Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
comex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
601.
▲
by
comex
3y ago
JSON is text, but most code that works with JSON sticks with the "syntax tree" (i.e. some native object representation) and only handles decoding/encoding the actual JSON format at communication boundaries. The problem with H
602.
▲
by
comex
3y ago
Content aside, I just wanted to take a moment to admire the visual design of the presentation. The icons on the top left of each slide; the two-line slide titles and the page numbers; the black, white, and red of the “some papers are lit u
603.
▲
by
comex
3y ago
On the other hand, with either tape or hard drives, you can leave it on a shelf for 10 years and the data has a decent chance of still being intact. Proper procedure would dictate more frequent maintenance, but if for whatever reason it ge
604.
▲
by
comex
3y ago
Yes, it would be more accurate to say “computers being able to pass tests designed for humans by humans ”, as opposed to CAPTCHAs which are automatically generated tests.
605.
▲
by
comex
3y ago
But it's mostly replacing Objective-C code which was already not particularly fast – as opposed to the C++ or C code used more often in performance- or memory-sensitive areas. My experience with Swift is somewhat limited, because every
606.
▲
by
comex
3y ago
Isn't it the opposite? cgo calls always have to switch to a larger stack (because there's no way to know in advance how much stack a function will use, and C functions don't support dynamic stack switching like Go functions
607.
▲
by
comex
3y ago
The explainshell output is actually largely wrong here. For historical reasons, GNU ps has two completely different sets of flags depending on whether you use a dash (ps -abcd) or not (ps abcd). The man page documents both sets, but expla
608.
▲
by
comex
3y ago
Note that article says the overnight processing is done by the device, not by Apple itself.
609.
▲
by
comex
3y ago
Well, the difference is that compared to a baseline where GPUs typically get faster RAM than CPUs, Apple is providing fast RAM to both, whereas Intel provided slow RAM to both. Of course, that’s hardly Intel’s fault given that their integr
610.
▲
by
comex
3y ago
Nitpick: In general, the graphical tools don’t literally invoke the command-line tools. Rather, both the graphical tool and the command-line tool use the same C or Objective-C API (usually private and undocumented) provided by some system
611.
▲
by
comex
3y ago
> The NYT also has a narrative department that explicitly crafts all articles towards a target narrative for example and rejects articles or phrases that doesn't go towards the current target narrative. Citation needed.
612.
▲
by
comex
3y ago
Note that there’s at least one TypeScript type checker being developed in Rust by a third party: https://github.com/dudykr/stc
613.
▲
by
comex
3y ago
And .sh (shell script or Saint Helena), and .rs (Rust source file or Republic of Serbia). The latter in particular is quite popular for Rust-related websites.
614.
▲
by
comex
3y ago
It’s true that the variant of the issue involving explicit references seems pretty unique to Go. But there are plenty of languages that have the variant of the issue where a closure implicitly captures a local variable by reference. Java
615.
▲
by
comex
3y ago
Well, it’s sort of redundant. According to [1], the raw bit error rate of the flash memory inside today’s SSDs is already in the 0.1%-1% range. And so the controllers inside the SSDs already do forward error correction, more efficiently t
616.
▲
by
comex
3y ago
We’ll see. As far as I know, the biggest blocker to using Rust outside of drivers is the fact that LLVM lacks support for some architectures Linux supports. And rustc_codegen_gcc seems on track to fix that eventually; even if it takes yea
617.
▲
by
comex
3y ago
One of the parts of Rust’s safety story is to always use smart pointers for reference counting rather than the type of ad-hoc manual reference count management seen in the code you quoted. Combined with lifetime checking, it makes it impos
618.
▲
by
comex
3y ago
I’d say that peak “can’t we just” comes with an assumption that we could just, which is quite different from this comment which comes off to me as hoping to learn why we can’t just.
619.
▲
by
comex
3y ago
I know one person who has done security work for Nintendo after previously working on homebrew. They called me once, in 2015, asking if we could collaborate on Wii U security in some way. I was flattered but decided it would be against my
620.
▲
by
comex
3y ago
What you're missing is that despite the high-profile nature of Nintendo's takedowns, they're only a drop in the bucket compared to the amount of Nintendo-related stuff being developed and published in the open. The takedowns
621.
▲
by
comex
3y ago
Another tip: You can pipe text through shell commands with :! followed by the command. For example, I always used to use :!sort, until I accidentally dropped the ! once and noticed that it still worked. Most useful text-processing commands
622.
▲
by
comex
3y ago
AirTags encrypt the location data end-to-end between the finding device and the Find My app on the owner’s devices. There’s no mass surveillance, unless you count masses of individual users surveilling their own AirTags.
623.
▲
by
comex
3y ago
In all seriousness, emacs is a good example of an environment where "apps" are less siloed and rigid than they are in a typical graphical OS environment. Another is the Unix shell. The idea of creating an environment that achiev
624.
▲
by
comex
3y ago
I’m surprised by the amount of negativity. Personally I eat meat but feel guilty about doing so because of animal cruelty. If someone is actually able to produce lab-grown meat that tastes the same and has the same nutritional value, I’ll
625.
▲
by
comex
3y ago
> And, in fact, that's what the overwhelming majority of sudo vulnerabilities are; they're not generally memory safety bugs. Only if you count all vulnerabilities as equal. There have been lots of sudo vulnerabilities over the
626.
▲
by
comex
3y ago
Personally, I sometimes have my phone in my hand already. If I don't, then I can usually use my Apple Watch. If not, then yes, Apple Pay with Face ID is a bit inconvenient, but not as inconvenient as carrying around a wallet everywhe
627.
▲
by
comex
3y ago
> Incremental compilation is trivial due to each mapping having a single input and output, with the output file name being known before it is generated. If the build system only knows about a single input (the .c file), how do you deal w
628.
▲
by
comex
4y ago
CoD itself can download some high-resolution textures during gameplay : https://www.charlieintel.com/warzone-on-demand-texture-strea... I've never tested how much bandwidth it uses. It seems a little crazy but also n
629.
▲
by
comex
4y ago
This link from the Twitter thread is reasonably persuasive (though I disagree with many parts): https://www.alignmentforum.org/posts/pRkFkzwKZ2zfa3R6H/witho... Personally, I'm encouraged by the emergence of c
630.
▲
by
comex
4y ago
If the site is both static and busy enough, then the majority of users never need to do a roundtrip to the original server. If the site isn’t busy enough… well, I think more CDNs ought to support pre-caching. Supposedly Vercel does?
More ›