Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OskarS
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
661.
▲
by
OskarS
6y ago
I don't know man, if I have to do another std::chrono::duration_cast, i might chuck my computer out of a window.
662.
▲
by
OskarS
6y ago
<random> and <chrono> have really been in a death match of "C++ standard libraries that are super-annoyingly C++", but they've both been absolutely destroyed by <range>, i think.
663.
▲
by
OskarS
6y ago
I think the utility is more with experimenting with distributed computing technologies in a relatively affordable way, with hardware that is familiar and simple to set up.
664.
▲
by
OskarS
6y ago
I always kinda enjoyed the english translation of the tribe chief being Vitalstatistix.
665.
▲
by
OskarS
6y ago
Most importantly, Sony takes a cut on every game sold for the system.
666.
▲
by
OskarS
6y ago
The reason you use CSV is that you want to use it with software that ISN'T Excel. Otherwise you'd just use .xlsx. No other software uses this convention, and it's not correct CSV.
667.
▲
by
OskarS
6y ago
You're missing the point. Apple makes money by people buying their products, and Apple sells more products when people trust them. Therefore, they have a strong financial incentive to be trustworthy and at least appear to care about us
668.
▲
by
OskarS
6y ago
If you want the wrapping behaviour (like with an LCG), you can prepend the operator with an ampersand(i.e &+ instead of +).
669.
▲
by
OskarS
6y ago
Yeah, fair enough, that's a reasonable scenario.
670.
▲
by
OskarS
6y ago
I don't know man, the top answer is clever, but it's also a pretty straight-forward UNIX way of doing it, and pretty easy to understand. Going around messing with trying to convert to filesystem blocks and obscure syscalls that on
671.
▲
by
OskarS
6y ago
How often do you use gzip verbose? I don't think I've ever used it. What's it good for?
672.
▲
by
OskarS
6y ago
string.find is implemented in C, not Lua. As far as Lua is concerned, that call is a single instruction.
673.
▲
by
OskarS
6y ago
npm, really? What’s going there?
674.
▲
by
OskarS
6y ago
> I kind of respect that dedication, even with the mind-boggling frustration it comes with. I dunno. I get the "respect the dedication" thing, but at some point this person is so afraid of change that they'd rather becom
675.
▲
by
OskarS
6y ago
I don't think you'd want to. One of the primary usages of this kind of thing would be like when you need to pass in some massive struct of options to some dumb API function (you know the ones!), and then you'd absolutely want
676.
▲
by
OskarS
6y ago
Another example is Abelian groups, which should just be called commutative groups. Though that example brings up a decent counterargument to the thesis: ”groups”, ”rings” and ”fields” all have descriptive names, but that doesn’t help a bit,
677.
▲
by
OskarS
6y ago
That's nothing to do with HN, that's just how the internet works.
678.
▲
by
OskarS
6y ago
Ranger is fantastic, if you're used to vim keys you should definitely check it out. It do all those things you mentioned, but honestly my favorite use of it is as a replacement for `cd`. If you run it with `. ranger` (which I have alia
679.
▲
by
OskarS
6y ago
HN is not the worst place, honestly.
680.
▲
by
OskarS
6y ago
> Good luck embedding Servo! You know, it doesn't really seem that hard to embed Servo in a Rust application [0]. It's a pretty interesting read. Anyone know how stable Servo is for this kind of thing? It's not uninteresti
681.
▲
The Mystery of the Mullet
(slate.com)
2 points
by
OskarS
6y ago
|
0 comments
682.
▲
by
OskarS
6y ago
Yeah, I don't usually include "this" when calling methods on the same object, but it's not like it enrages me or anything. I totally get why you would, and it's fine. I generally agree with "consistency is good
683.
▲
by
OskarS
6y ago
The way I was taught was that back in the olden days, "group" always referred to groups of permutations (and the operation was always composition), and it was Cayley that introduced the much more general and abstract notion of gro
684.
▲
by
OskarS
6y ago
Nobody here thinks that the law is a good idea or will do anything to protect any content industries. The fact is that despite being enormously stupid, it is still the law.
685.
▲
by
OskarS
6y ago
Yes, it's very different: if you split some error coded thing across several files, each individual file is going to give you some chunk of the data. It's not secret in any way, it's just that you've only got, like, 1&#x
686.
▲
by
OskarS
6y ago
I created an Emacs minor mode to make the ö/ä keys type square/curly brackets, but it’s not ideal.
687.
▲
by
OskarS
6y ago
No, you have to be more specific than "recursive functions", many recursive functions will see no such benefit. A simple example is factorial function: adding @lru_cache to that will only slow it down. This technique ("memoiz
688.
▲
by
OskarS
6y ago
It does not! It fails very early (I tested it once in Python, and it failed on something like F(70) or something) and should not ever be used for practical calculation of Fibonacci numbers. For small values, the iterative version works just
689.
▲
by
OskarS
6y ago
A good example is moving the camera: lets say you have a camera set to follow a particular character (in some fancy way), but you only update it in FixedUpdate(). If your framerate is faster than the physics update, FixedUpdate() will not b
690.
▲
by
OskarS
6y ago
Yes, exactly, all of this. I remember learning Java when I was beginning programming and told that it was "pass by reference except for primitive types which are copied", when that's a total lie! It's not pass by referen
More ›