Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
snatchpiesinger
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
snatchpiesinger
2y ago
I assume that firing was a bit more selective in who they wanted to keep.
2.
▲
by
snatchpiesinger
2y ago
> Actually it was a bit unexpected that it would have known to do that; it must have used its complete IMU data to even know it was rolled, as plain accelerometer would have been pointing "down" as usual. That actually feels li
3.
▲
by
snatchpiesinger
2y ago
It's fine as long as you catch all exceptions, and only produce ones that you document. Your users aren't supposed to know that you used `requests` at all.
4.
▲
by
snatchpiesinger
2y ago
Python dlopens binary wheels with RTLD_LOCAL on Linux, and I assume it does the equivalent on Windows. There were issues relatively recently with -ffast-math binary wheels in Python packages, as some versions of gcc generates a global const
5.
▲
by
snatchpiesinger
2y ago
You can have private and public dependencies. Private dependencies are the ones that don't show up on your interface at all. That is you don't return it, you don't throw it or catch it (other than passing through), you don&#x
6.
▲
by
snatchpiesinger
2y ago
The actual video title is "Lorenzetti Electric Shower Head", the HN submission title is edited to include the nickname "suicide shower head". I think the best would be is to just use the actual video title here. FWIW it&
7.
▲
by
snatchpiesinger
2y ago
> Aliasing in sound is usually painfully untolerable. It does not seem to be like that in graphics. It's tolerable in graphics in many cases, but becomes painfully obvious when the spatial frequency of some model approaches the pixe
8.
▲
by
snatchpiesinger
2y ago
There are two paths: 1. Fork and cherry-pick from upstream, don't accept contributions from outside. They need minimal changes. 2. Fork and maintain their fork independently, try to get community contributors too.
9.
▲
by
snatchpiesinger
2y ago
git log --first-parent
10.
▲
by
snatchpiesinger
2y ago
I wonder what the fallout of this will be. If this results in a successful fork of wordpress with a registry independent from Wordpress.org that would be quite ironic.
11.
▲
by
snatchpiesinger
2y ago
We also did it in uni, it was very exhausting. And after a full day of measurements noone ever had enough data to see the quantization of the charge of electrons.
12.
▲
by
snatchpiesinger
2y ago
> Cyclists rarely leave the bike lane for pleasure, it's usually either because a car is parked on the bike lane, pedestrians are walking on it, or because there's litter or a bad surface (bikes are much more sensitive to uneve
13.
▲
by
snatchpiesinger
2y ago
It can get minified/optimized by a tool. The "source code" is what you immediately edit, but you might not distribute that version, only a "binary" derived from it.
14.
▲
by
snatchpiesinger
2y ago
I use DejaVu Sans Mono for programming, it places a dot inside 0.
15.
▲
by
snatchpiesinger
2y ago
Cool! My personal preference is Knuth-style line-breaks on binary operators and pipes, which means breaking before the operator/pipe symbol. foo -a -b \ | bar -c -d -e \ | baz -e -f instead of foo -a -b | \ bar -c -d -
16.
▲
by
snatchpiesinger
2y ago
At the same time if you suggest "maybe we shouldn't use X, Y and Z analytics then" then you get laughed out of the room. So is there really a choice?
17.
▲
by
snatchpiesinger
2y ago
I would appreciate if it didn't send notifications about me having unread notifications. And no, I can't turn this notification off separately.
18.
▲
by
snatchpiesinger
2y ago
It's a bit cumbersome, and I think only recently you can make longer dependency chains. It's certainly not automated away with just git commands, but maybe there there is a Gitlab API way. The only way I know is to "edit"
19.
▲
by
snatchpiesinger
2y ago
It's fine to break commit atomicity on feature branches. You can use git bisect --first-parent on you development/master branch.
20.
▲
by
snatchpiesinger
2y ago
Another way to look at this that this is 3 linearly dependent PRs masquerading as one. Make each a distinct PR and the problem goes away, especially if you can mark the PR to depend on another one (on Gitlab you can, not sure about Github).
21.
▲
by
snatchpiesinger
2y ago
"Commit pending writes" and "discard file handle" should ideally be separate operations, with the former potentially returning errors and the latter being infallible. "Discard file handle" should be called from