Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
simias
5y ago
That's a cool idea. I have a similar, but less elegant setup: I just append every single command that I type to a global (synchronized between machines) history file, one file per month, then I use fzf to search through these when I ne
182.
▲
by
simias
5y ago
I concur. I somehow skipped PHPBB and VBulletin (I was more of a newsgroup/IRC kinda guy) and always found them super clunky and a step backwards compared to newsgroups, if only because of the lack of proper threading. Discourse is com
183.
▲
by
simias
5y ago
Do the parens in `int * (*) []` do anything? When I saw them I immediately assumed that function pointers would be involved, but it doesn't seem to be the case and now I'm confused. EDIT: Uh, apparently you can add parens to casts
184.
▲
by
simias
5y ago
In my early 20's I got the appeal of that I think. I wrote a lot of C++, learned all the (then) new features and design patterns. I had a bunch of C++ books covering various advanced topics. I felt like a rockstar implementing ultra-so
185.
▲
by
simias
5y ago
I didn't read any "fear of repercussions" in the article, just mostly personal ethical concerns. You're building a strawman here. >Just so you know, I got the new iPhone but I spent a few hours in prayer and penance t
186.
▲
by
simias
5y ago
Honestly I don't find it that overpriced considering that it's a niche product, I expected something closer to $1000. I agree that they're light on the technical data though. I don't really have a use for this particular
187.
▲
by
simias
5y ago
I learned about `command -v` just now reading this article. I only knew of `which` and `type` (as well as the very convenient `=executable` syntax that expands to the path of the binary, but I think that's a zsh-ism). What makes `comma
188.
▲
by
simias
5y ago
I did do that, I feel ashamed.
189.
▲
by
simias
5y ago
I can see the frustration coming from Lisp, but it's just business as usual in compiled, strongly typed system languages. Languages like Rust and C++ add insult to injury by having rather long compile times. It's definitely a diff
190.
▲
by
simias
5y ago
If it were some other open source project I could see where you're coming from, but if there's one community I do not expect to kowtow to language hype and zealotry it's the kernel devs. You know, the people who still coordin
191.
▲
by
simias
5y ago
I was talking generally, not for this particular feature. But it would still be sort of arcane knowledge for me since when I last actively used C++ `=delete` either didn't exist or was not in common use, so if I encountered it in some
192.
▲
by
simias
5y ago
I must say that I'm always a bit in awe when I read modern C++ and I realize that I barely understand what's going on even though ~10 years ago I considered that it was the language I knew best. And even back then it was already a
193.
▲
by
simias
5y ago
And the housing market at large, since they also buy flats to turn them into short term rentals.
194.
▲
by
simias
5y ago
`char` is not guaranteed to be 8 bits and in some more exotic environments (DSPs for instance) may not be. IIRC POSIX guarantees that char is 8 bits though (but I still think that the sign is implementation-dependent). But as I said in a pa
195.
▲
by
simias
5y ago
I don't understand, if you're trying to work around aliasing restrictions why would you use `uint8_t*` in the first place? By definition `sizeof(char) == 1`, so that's almost always what you want when messing with types in C
196.
▲
by
simias
5y ago
It's definitely rife with footguns but you can very much write aliasing-safe systems code (or even kernel code, for that matter). Or at the very least you should strive to contain the alias-infringing code in well delimited sections of
197.
▲
by
simias
5y ago
I need to write a blog post "in defence of boring, reliable tech". It baffles me that significant portions of the web crowd seem not to have learned this lesson yet. Who enjoys learning a new framework every 6 months? Tools are no
198.
▲
by
simias
5y ago
The difference is that this breakage would be immediately visible. All code that mishandles these hash would immediately break. With collisions it can remain undetected for a long time, and potentially until somebody smart and with bad inte
199.
▲
by
simias
5y ago
Is hashing a significant bottleneck in any git deployment? I'd expect that the diffing would be vastly more expensive for instance. Besides don't many modern CPU supports things like SHA-256 in hardware?
200.
▲
by
simias
5y ago
Honestly I find these rationalizations around the use of SHA-1 annoying and counter-productive. The rule is simple: don't use SHA-1. If you already use SHA-1 migrate away from it. You know that plenty of software out there that interfa
201.
▲
by
simias
5y ago
I didn't know Magic Leap was still a thing, I'm somewhat impressed. I definitely understand the negativity in the comments but at the same time with their experience with the v1 maybe they'll manage to deliver something usefu
202.
▲
by
simias
5y ago
Glad you liked it, I also enjoy the cover of this song by William Shatner that's surprisingly good IMO: https://www.youtube.com/watch?v=ainyK6fXku0
203.
▲
by
simias
5y ago
> Sing along with the common people > Sing along and it might just get you through > Laugh along with the common people > Laugh along, even though they're, they're laughing at you > And the stupid things that you do
204.
▲
by
simias
5y ago
>one them is constantly harassed by recruiters and swimming in potential jobs, the other hardly ever comes across a job they'd want. Both can be true at the same time, and in my experience often are.
205.
▲
by
simias
5y ago
I don't know how WhatsApp works but e2e doesn't mean that messages can't be cached/stored in their encrypted form. Actually they almost certainly are since otherwise messages couldn't be delivered to recipients whil
206.
▲
by
simias
5y ago
I'm not voicing an opinion, I'm just trying to explain the trend, personally I also prefer the original version. Clearly for the right holders and broadcasters the cropping is perfectly justifiable and actually preferred.
207.
▲
by
simias
5y ago
I think that it's much better for marketing it to a newer generation. I suspect that for somebody in their early 20s starting to watch Seinfield these days a 4:3 ratio would immediately make the show look dated. I mean surely they ran
208.
▲
by
simias
5y ago
That's normally what kernel abstractions are for, but unfortunately for various historical reasons graphics API often bypass the kernel in part or in full. There's also the problem that graphics are often very performance-sensitiv
209.
▲
by
simias
5y ago
It's visually a lot less interesting than the million dollar home page though.
210.
▲
by
simias
5y ago
That's part of his arguments, that some corners of quantum physics that still elude us (quantum gravity and all that) may be undecidable. He then goes on to explain how he thinks these phenomena could have an influence on cognition. I
More ›