Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pdpi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
571.
▲
by
pdpi
2y ago
When people come out of prison, they need a bed to sleep on and food in their stomachs, and they will find those things one way or another. Absent the means to achieve those goals legally, the only alternative is returning to a life of crim
572.
▲
by
pdpi
2y ago
If this were, say, Adobe, I’d agree with you. HN as a community doesn’t have much clout in the design or video space. This is Mozilla we’re talking about, though. HN is exactly the sort of audience they need on their side. That bunch of ner
573.
▲
by
pdpi
2y ago
Sure, in the exact same way that C can handle unicode just fine too. The problem is, as always, C strings.
574.
▲
by
pdpi
2y ago
By that metric, C can't represent ASCII correctly either, because there's no particular reason you couldn't have a NUL character somewhere inside a string.
575.
▲
by
pdpi
2y ago
For a few reasons. One, because actually building the lexer and parser from scratch is a useful exercise in a learning context, which is what this is. Two, because the book wants to teach Pratt parsers, rather than LALR parsers. There’s a l
576.
▲
by
pdpi
2y ago
Context is important here. Reda was elected to the European Parliament as a member of the German Pirate Party, so his position here isn't "big businesses are entitled to your code", and more "this sort of wholesale expro
577.
▲
by
pdpi
2y ago
I expect that this is part of the plea deal, though: the company pleads guilty, on the condition that key people get immunity.
578.
▲
by
pdpi
2y ago
"due to the terrain the accelerator may or may not disengage when the brake is depressed" There might've been some amount of driver error involved, sure, but that statement sends shivers down my spine. Either of "the acc
579.
▲
by
pdpi
2y ago
There's Unity and Unreal games on the steamdb listing, but there's also several other proprietary engines, both big (Source, RED) and small (all sorts of small indie games)
580.
▲
by
pdpi
2y ago
Nope! It's entirely unremarkable on Linux (in a good way: you wouldn't notice that it's not its "native" platform), and it's surprisingly pleasant to use (and probably the easiest way to get a good C compiler)
581.
▲
by
pdpi
2y ago
Honestly, now that I've seen this, I'm a little bit mad that I've never seen one of these for products I've worked on myself. I'd argue this presentation should be mandatory reading for product people everywhere.
582.
▲
by
pdpi
2y ago
That promise made my ears perk up. If it actually stands up to scrutiny, it's pretty damn cool.
583.
▲
by
pdpi
2y ago
Last I tried it, iCloud for Windows didn't integrate with Firefox, though.
584.
▲
by
pdpi
2y ago
Yes, of course, they can't work around OFAC sanctions, but donating the bounty to a charity would probably have been 100% fine, and a show of good will. It's not the first time we've seen Apple not playing nice with their bug
585.
▲
by
pdpi
2y ago
There’s a 600ft climb involved too. It’s not an enormous difference, but lifting that extra 1200lbs still adds up to about 0.3 kWh.
586.
▲
by
pdpi
2y ago
I don’t justify to 80 columns, but I do reword/rephrase to keep to the 70-80 range, as close to 80 as practical. My justification (hah!) is that, if I put in the effort to write a large comment, I might as well put in the effort to mak
587.
▲
by
pdpi
2y ago
There were no relevant code changes. The important diff here was 40% worse input data vs pre-40% worse input data.
588.
▲
by
pdpi
2y ago
The problem with optimisation is that you first need to decide what you’re trying to optimise for. Latency? Throughput? Overhead? Correctness? Time to market? Ease of ramping up new hires?
589.
▲
by
pdpi
2y ago
Put differently: you can’t run a windows/linux exploit on a Linux/windows machine just because they can both connect to the Internet.
590.
▲
by
pdpi
2y ago
Validation. You can think of it as shaped like Either [Error] Value, but the implementation is different. Consider this example: pure . Config <$> validate option1 <*> validate option2 <*> validate
591.
▲
by
pdpi
2y ago
> I think the lesson is that tricky concepts have to be taught by example. The bigger insight, for me, is that they also have to be taught by counter-example. E.g. it's easy to find Functors that are neither Applicatives nor Monads
592.
▲
by
pdpi
2y ago
For a long while now, I've been trying to write a monad tutorial I'm actually happy to give people as an entry point, and that point is precisely why I haven't put anything out there yet. It's also the reason I keep tryi
593.
▲
by
pdpi
2y ago
Somebody I don’t often see cited as this sort of aspirational role model is Gil Grissom from the original CSI show. He’s the archetypical nerd — quiet introvert who’s enthusiastic about his little niche to the point even his also-pretty-ner
594.
▲
by
pdpi
2y ago
> Plus, I'd love to be proven wrong, but I could bet that most people will fix the issue by simply adding the "all-on" switch to the command line instead of carefully evaluating which annotation processors are really neede
595.
▲
by
pdpi
2y ago
Yeah, it’s very much a case of “the map is not the territory”. Modelling such processes as normally distributed is objectively wrong, but it’s also not wrong enough to matter. We could, and arguably should, model such processes as truncated
596.
▲
by
pdpi
2y ago
It's not a nothingburger. This is a particularly amusing example of one of several known failure modes for this sort of models. Pointing at another model and saying "this didn't fail on that particular input" doesn'
597.
▲
by
pdpi
2y ago
Is there anything Linux-specific about ELF? I was under the impression it's a pretty common format for executables, used by a whole bunch of systems. It certainly predates Linux, as it was (according to Wikipedia) introduced in 1988 wi
598.
▲
by
pdpi
2y ago
It's a superzoom, regular tourism is exactly the use case for these things (and, by the look of it, something this lens does really well at!) When I'm shooting wildlife, I'll almost always use my 100-400, maybe with a 1.4x te
599.
▲
by
pdpi
2y ago
You don't "uncheck the OpenAI checkbox". You check the box if you want to use it, and you provide an API key. Hooking genAI up to your terminal is sort of one of the obvious use cases for this tech, and they're just prov
600.
▲
by
pdpi
2y ago
Bug bounties are a social solution to a social problem. In many ways, the actual money is less important than being seen to earnestly engage with the programme. Being hard-nosed about refusing to pay a bounty on a privilege escalation bug i
More ›