Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbolino
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
601.
▲
by
kbolino
2y ago
The referer is the site that sent the user to the redirect, not the redirect itself. You cannot detect 301s from the destination only.
602.
▲
by
kbolino
2y ago
I think newlib requires a discussion of its own, and more generally, the concept of a "full" libc outside of a formal operating system. To put it bluntly, newlib is an antisocial libc. It provides bare compileability of programs b
603.
▲
by
kbolino
2y ago
I don't think I'm confused, but let's recapitulate the thread history as I understand it: Context: The setenv function is not thread-safe even in Rust Question: Why doesn't Rust implement a standard library without
604.
▲
by
kbolino
2y ago
AFAIK Xfinity (Comcast) is not deploying FTTP anywhere. It's a cable network on DOCSIS. The fiber usually stops at the CMTS which is far away from the home; one CMTS serves multiple neighborhoods if not the entire town.
605.
▲
by
kbolino
2y ago
Sure, there's a broader concept here, which doesn't require any operating system. But any alternate string->string map you define won't answer to C code calling getenv, won't be passed to child processes created with
606.
▲
by
kbolino
2y ago
That's quite a trade-off
607.
▲
by
kbolino
2y ago
They did, it's called core. But it assumes no operating system at all, and environment variables require an operating system.
608.
▲
by
kbolino
2y ago
And, even when it is an X-Y problem, it may still be better to answer the question as asked, if only to then explain that maybe there is another problem that really needs to be solved. Looking at it from a pedagogical lens, it seems some le
609.
▲
by
kbolino
2y ago
My admittedly limited experience with being on the other side of this amounts to receiving a number of reports about email-related DNS records accompanied by bounty requests. I realize there are different kinds of people out there, and repo
610.
▲
by
kbolino
2y ago
You are half right. A context also carries a deadline. This is important for those APIs which don't allow asynchronous cancellation but which do support timeouts as long as they are set up in advance. Indeed, your ContextReader is not
611.
▲
by
kbolino
2y ago
Sorry, I only meant that the hardware was weak. As a product, the Switch was an overwhelming success, and I don't really think Nintendo made a mistake by choosing weaker hardware at the time. However, it's 9 years later and thin
612.
▲
by
kbolino
2y ago
Thanks to the success of The Witcher 3 , I wouldn't call CDPR an indie dev anymore. I'm sure porting that game wasn't easy, but it had a well resourced studio behind it. Not all games can even make the tradeoffs that were ne
613.
▲
by
kbolino
2y ago
The Switch was weak when it came out. Decent PCs from that same year can handle most of these games just fine. It's not really the developer's fault when the Switch is the only platform with issues, and they're usually not &q
614.
▲
by
kbolino
2y ago
They bought a lot of companies and are doing their level best at running them into the ground. Xbox is a dying platform. They may try some things that they've tried before (GFWL) but they're not going to succeed this time either.
615.
▲
by
kbolino
2y ago
Yeah, GFWL was a debacle that has thankfully been largely forgotten. If Microsoft couldn't pull it off back then, they're not going to today.
616.
▲
by
kbolino
2y ago
I think most of the heat and fuel will get wasted anyway. A nuclear-powered cargo ship is going to be closer to a nuclear-powered submarine than a nuclear-powered aircraft carrier, in terms of the number of people being supported and the ne
617.
▲
by
kbolino
2y ago
It is only Arc and not Mutex that allocates and thus has "extra" pointer indirection. A Mutex can live perfectly well on the stack, as long as it outlives the threads accessing it. Arc has to allocate, because it is meant to outli
618.
▲
by
kbolino
2y ago
Though it may never prove viable, hydrogen from electrolysis of water creates no emissions other than oxygen. While large ships may be able to use nuclear power directly, the risks of a tenfold increase in small floating nuclear reactors in
619.
▲
by
kbolino
2y ago
Batteries require specific minerals that are largely unique to them. The amount of lithium, for example, needed for all other purposes combined is dwarfed by the amount used to make batteries. Of course all industry and mining is dirty, the
620.
▲
by
kbolino
2y ago
The key adjective there is "small-scale". There are many more alternatives when size is not an issue. Flywheels are very useful but their energy density is too low to be the primary power source for a vehicle.
621.
▲
by
kbolino
2y ago
The problem with nil in Go is that there's no ergonomic way to deal with it. Neither the language nor the type system are amenable to anything better. The lack of the ternary operator or any other conditional value expressions means th
622.
▲
by
kbolino
2y ago
Looking into this a bit, it seems that nVidia was still making most of its money from "gaming" as recently as early 2022. I'd suspect that, if crypto mining could be separated out, the transition point actually happened a cou
623.
▲
by
kbolino
2y ago
They may feel that way, but that seems emotional rather than rational. The choices for small-scale energy sources are: batteries with all their dirty mining, biofuels taking away lots of arable land from food/textile/etc productio
624.
▲
by
kbolino
2y ago
ML was big before LLMs and nVidia was already making a killing from selling expensive GPUs that would never draw a single polygon ca 2015. They've been hobbling FP64 (double precision) support in cheaper "consumer" GPUs, to p
625.
▲
by
kbolino
2y ago
WiFi is a shared medium, but shared medium and circuit-switched are not the same thing. WiFi uses packets and conforming devices do not block other devices for any longer than the time to send a packet.
626.
▲
by
kbolino
2y ago
Ok, using your registrar to serve your DNS records for you is a choice on your part, and if so, then yes you would be subject to their limitations. But the vast majority of registrars, and this includes registro.br as far as I can tell acco
627.
▲
by
kbolino
2y ago
My inclination would be that it has less to do with the keys getting broken in that timeframe and more to do with moving to larger key sizes as soon as possible. As pointed out by others, RSA depends on the asymmetric difficulty of multip
628.
▲
by
kbolino
2y ago
Regarding the resource hijacking (security vulnerability) risk, one need not just imagine it anymore. It actually happened, a few years after your blog post was written: https://news.ycombinator.com/item?id=40791829
629.
▲
by
kbolino
2y ago
You're only halfway there. Also from RFC 1035: TXT-DATA One or more <character-string>s. Looking up what a character-string is: .... <character-string> is a single length octet followed by that number of
630.
▲
by
kbolino
2y ago
Ok, preimage resistance is still pretty strong, but it has been reduced enough that I wouldn't trust it remaining above practical attacks beyond the next decade.
More ›