Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ninkendo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
691.
▲
by
ninkendo
2y ago
I mean sure, you’d definitely use a scoped address to talk to the next hop, but it still doesn’t solve how the router/switch knows which port to send the packet to for its next destination. Say I have a global unicast address on my des
692.
▲
by
ninkendo
2y ago
A really interesting article covering this: “The world in which IPv6 was a good design” https://apenwarr.ca/log/20170810 It talks about how when IPv6 was being designed, they wanted to do exactly that: drop most of t
693.
▲
by
ninkendo
2y ago
Agreed that sucks. But man, looking at the competition… I tried using Edge on windows for a while, and every. Single. Time I install any windows update whatsoever, it resets my search engine to Bing. It says something like “your search en
694.
▲
by
ninkendo
2y ago
Alternative reply: while :; do echo ?; done Is only 24 bytes.
695.
▲
by
ninkendo
2y ago
Clearly it grew a lot in size since 1929. It doesn’t waste nearly that much space on my timex sinclair. (To explain and thus ruin the joke, https://www.gnu.org/fun/jokes/ed-msg.html )
696.
▲
by
ninkendo
2y ago
-rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed -rwxr-xr-t 4 root 1310720 Jan 1 1970 /usr/ucb/vi -rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs
697.
▲
by
ninkendo
2y ago
I mean, the guy who is broadly considered the "inventor" of the null reference straight-up admits he gave it no thought: https://en.wikipedia.org/wiki/Tony_Hoare > At that time, I was designing the first c
698.
▲
by
ninkendo
2y ago
The amount of time spent every compilation on this is negligible: a nullable type is just another type like any other. I don’t buy your argument at all. It’s a clear no-brainer at this point: null references were a mistake, and any language
699.
▲
by
ninkendo
2y ago
You know what's better than having to remember to write the proper checks before the call? Having the compiler do the checks for you. Code that results in a nil dereference should not be compilable, period. Any programming language tha
700.
▲
by
ninkendo
2y ago
As Sean Parker's character in The Social Network's line reads: "You want to buy a Tower Records, Eduardo?" https://www.youtube.com/watch?v=pLgpUEpaUVs
701.
▲
by
ninkendo
2y ago
Not OP but Hatchet was an assigned book when I was in 5th grade (American Midwest school), it’s pretty common for early school age kids to read. It’s got some slightly intense scenes in it, but nothing that 5th grade me was too scarred by (
702.
▲
by
ninkendo
2y ago
Related: I use a 15 Pro with no case and this thing is an absolute beast. I've dropped it on concrete many times, no shattering. The newer glass they use seems to be doing the job. (This from someone who's shattered the front an
703.
▲
by
ninkendo
2y ago
Maybe we'll get lucky and they'll occasionally re-introduce a mini phone like McDonald's does with the McRib. Somewhere there's gotta be numbers that show "there are people who buy minis, but they only buy a phone e
704.
▲
by
ninkendo
2y ago
> I just looked it up. It is Swift's version of async/await. Since you “just looked it up”, maybe don’t make blind assertions about something you clearly don’t know very much about? It’s a lot more than async/await. It i
705.
▲
by
ninkendo
2y ago
> As of Swift 5 there is zero data race protection and the process model (DispatchQueues if memory serves) is woefully. No advantage over fork and much more convoluted Swift Concurrency is the replacement for Dispatch and has been around
706.
▲
by
ninkendo
2y ago
Because this setup works fine, and I haven’t bothered getting to that level of automation with my external DNS provider.
707.
▲
by
ninkendo
2y ago
There’s similar discussions about this in other threads, but I’ve taken to just using a real domain name (lan.<my-vanity-domain>.me) even for my house stuff, but otherwise doing something like you say above. The advantage is that I ca
708.
▲
by
ninkendo
2y ago
> symlinks are good enough They really aren’t though. Anyone reading from a symlink needs access to the path it points to. If I have a network share with hard links pointing to common storage that’s outside the share’s root, clients are
709.
▲
by
ninkendo
2y ago
The arrogance comes from the fact that it came without any explanation whatsoever, but instead just acted as if it is the only possible position one could have. The quoted sentence didn’t have any elaboration as follow up, it was just the e
710.
▲
by
ninkendo
2y ago
> Plan 9 lives on as the filesystem network interface that allows Windows and Windows Subsystem for Linux cross-platform access to your C drive. Same with other hypervisors, virtualbox etc do the same. If you have docker installed on mac
711.
▲
by
ninkendo
2y ago
“Good” in this context didn’t mean “this is a good situation”, but rather “if you’re using ruby, it would be very bad if you didn’t write tests”, and “bad if you don’t” can be roughly reworded as “good if you do”, at least if we’re presuppo
712.
▲
by
ninkendo
2y ago
I’d add to this that there’s a good reason the testing culture is so strong in ruby: you absolutely need to write tests for every last little 2-line method to make sure you did it right. With no compilation or type checking step, there’s no
713.
▲
by
ninkendo
2y ago
I think this is debatable, but I understand where you’re coming from. Personally I think it would be a better world if software were held to the same standards as other engineering disciplines, and we didn’t treat it as somehow less importa
714.
▲
by
ninkendo
2y ago
The late 70s was way too late for this… null terminated strings were already adopted by C and UNIX by then, and the rest is history.
715.
▲
by
ninkendo
2y ago
I’m not convinced Reddit wants web traffic at all . Every single time I have the misfortune of trying a Reddit link on mobile, I have to fight prompt after prompt after prompt telling me, no begging me , to use the app. It’s like they hat
716.
▲
by
ninkendo
2y ago
> Wikipedia has well documented and explored issues related to vandalism, bias, and misinformation. Last I read about this, the error rate in Wikipedia was actually lower than in the Encyclopedia Britannica, by a measurable amount. This
717.
▲
by
ninkendo
2y ago
> No one is defining consciousness. You are simply referred to what is expected to be a common shared experience. Our shared experience is a real thing, yes. But it’s worthless to ask whether something that’s not a human has our shared e
718.
▲
by
ninkendo
2y ago
> There is no requirement for definition. Sure there is. If the subject of discussion is “is X a kind of Y?”, you can’t proceed without defining Y. Saying “duh, you know what Y is” doesn’t change this. I could have a very different defin
719.
▲
by
ninkendo
2y ago
Tangent: I wish more projects/build systems had a distinction between modes of “I'm the developer” vs “I’m just a poor soul trying to compile this”. -Werror is appropriate for the former but not the latter. It sucks when some rand
720.
▲
by
ninkendo
2y ago
Touché!
More ›