Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
filmor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
filmor
7y ago
Wind turbines are trivial to downregulate. The foreign market just allows you to shift the strike price for downregulation, making the generation in total more cost-efficient.
182.
▲
by
filmor
7y ago
Just a little nit-pick: The NaNs always compare false, so this property only holds for values up to +inf (0x7f800000).
183.
▲
by
filmor
7y ago
The explicitness of Erlang is exactly what Elixir is lacking. A /lot/ is done via macros. This makes it really easy to build domain-specific language extensions, but it also means that you'll have to learn what they are doing
184.
▲
by
filmor
7y ago
Rightly so. Children can't (as reliable as you) decide how safe it is in a given situation to cross.
185.
▲
by
filmor
7y ago
This doesn't trigger a segfault for me in Python 3.7, just an exception that `print_exception` expects an `Exception`. Someone commented below the gist with this one-liner: (i for i in []).throw(type('E', (BaseException
186.
▲
by
filmor
7y ago
Check https://en.wikipedia.org/wiki/Pythagorean_comma .
187.
▲
by
filmor
7y ago
The compiler and most of the standard library are written in Erlang, the VM and key components of the standard library are written in C. The first versions were written in Prolog.
188.
▲
by
filmor
7y ago
It's not that simple, I guess this refers to things like "Mongolei", "Spielerei" etc. where -ei will also never be a syllable on its own. You'll have to put a lot more context in for a rule like this.
189.
▲
by
filmor
7y ago
They always count from 00 onwards with a leading 0, though (x.01, ... x.09, x.10 etc.). The equivalent in the more common versioning scheme would be 2.8.0 which would then also be called 2.8.
190.
▲
by
filmor
7y ago
Just to be clear, this comment was just a clarification on what goatinaboat might have been getting at, I was in no way suggesting that the snappy claim > While I agree that everything should be ASCII the Python community believes everyt
191.
▲
by
filmor
7y ago
One thing I remember vividly was an off-by-one error off a colleague in a nested loop. Since we were using periodic boundary conditions, the result looked almost right, but of course the very last read would be garbage. Depending on the lat
192.
▲
by
filmor
7y ago
When I was working in LQCD (lattice quantum chromodynamics), people were fighting quite a bit with corrupted memory, which only resulted in a crash in the best of all cases, usually it led to very or (worse) slightly weird results.
193.
▲
by
filmor
7y ago
Python 3 also allows for non-ASCII identifiers.
194.
▲
by
filmor
7y ago
ALSA required you to configure dmix for cheap audio hardware to even have multiple sources ...
195.
▲
by
filmor
7y ago
JACK and pulseaudio are designed for entirely different use-cases. I have both installed on my system and switch as needed.
196.
▲
by
filmor
7y ago
Unless you happen to have scratched your CD really deeply to actually damage the data layer (which requires grooves of 1mm in depth), it's fixable though, a scratch in a vinyl is not. Also, the last few albums that I bought did not com
197.
▲
by
filmor
7y ago
The OSI has a clear definition for what they deem "Open Source" that hasn't changed since it was written down '98, based on the Debian project's Free Software guidelines. This was all long before cloud vendors could
198.
▲
by
filmor
7y ago
Oh, that's not really an issue, he shows very similar levels of incompetence in both areas.
199.
▲
by
filmor
7y ago
The internal structure of leptons being? :)
200.
▲
by
filmor
7y ago
That's not how it's written in the post though. If you just swap out the "inertial mass" at the end and the "rest energy" somewhere in the middle it makes more sense: > because photons have rest energy (=>
201.
▲
by
filmor
7y ago
While I was still using my Raspberry Pi as a "media center", I wrote a small server using tornado that did this via a URL: https://github.com/filmor/rpi-media/tree/master/ytdld I had a small ja
202.
▲
by
filmor
7y ago
> > On Windows you have this issue much more often if you are trying to use an older device, in particular if it's one that came out before Vista, > I think that's a bit of a difference though. Vista came out nearly ~13 y
203.
▲
by
filmor
7y ago
Version compatibility is not an issue for in-kernel drivers, only for the few remaining external ones. On Windows you have this issue much more often if you are trying to use an older device, in particular if it's one that came out bef
204.
▲
by
filmor
7y ago
2.6 was released in 2008, 11 years ago, and since then the gegl backend, single window mode, layer groups, color management, and lots of additional features were introduced. Check out https://en.wikipedia.org/wiki/GIMP_
205.
▲
by
filmor
7y ago
This is a great video, thanks. The mentioned catenary shape is a cosh (Cosinus Hyperbolicus, i.e. 1/2(exp(x) + exp(-x)) or cos(ix)) and decidedly not a parabola. Wikipedia contains a derivation: https://en.m.wikipedia.org&#x
206.
▲
by
filmor
7y ago
This depends highly on what you are storing. Letting a process reuse "old" state after a crash can easily cause a restart loop.
207.
▲
by
filmor
7y ago
It kind of does. And there is also no need to argue about this, the code is available and very straight forward: https://github.com/erlang/otp/blob/fe2b1323a3866ed0a9712e9d1...
208.
▲
by
filmor
7y ago
Clifford algebras are used whenever you use Gamma matrices, I think their a well established.
209.
▲
by
filmor
7y ago
In Erlang that makes a lot of sense since most of your calls into other processes are done with a timeout of (by default) 5s, so breaking for longer time puts the system in a very non-standard state, which doesn't help in finding error
210.
▲
by
filmor
8y ago
> From a legal perspective, the time written on the policy doc is inclusive - we can't just decide that we want it to be exclusive because it suits our purposes. Well, apparently it's not if it's understood that it covers
More ›