Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cesarb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
691.
▲
by
cesarb
3y ago
> We must stop using upstream configure and other "binary" scripts. Delete them all and run "autoreconf -fi" to recreate them. I would go further than that: all files which are in a distributed tarball, but not on the
692.
▲
by
cesarb
3y ago
> However, I don't like it much and I think software should be compiled for the target machine in the first place. That means you either have to compile software locally on each machine, or you have a combinatorial explosion of poss
693.
▲
by
cesarb
3y ago
> If you could just send the money, the barrier to pay would be 100x lower. We can already do that here in Brazil: the web site displays a QR code (plus its contents in text form), the user scans the QR code (or copies the text) into the
694.
▲
by
cesarb
3y ago
> Do you call it prsphi? (prs for parse, ph for phone number and i for international) Or do you call it parse_international_phone_number? That's a false dichotomy; you could call it for instance parse_int_phonenum, abbreviating &quo
695.
▲
by
cesarb
3y ago
The reason is readability, not disk space or typing speed. When your screen resolution is 24 lines of 80 characters (a common screen resolution back when C became popular), having longer variable names means statements often have to be spli
696.
▲
by
cesarb
3y ago
> Also, comments were relatively terse because people were working on small screens The standard screen size was 24 lines of 80 columns, and you couldn't expect a reader of your code to have a terminal with higher resolution than th
697.
▲
by
cesarb
3y ago
> I'm not sure if I would expect any bridge to survive being struck by an enormous container ship. Not a container ship, but an abandoned bulk carrier ship: https://g1.globo.com/rj/rio-de-janeiro/noticia&#x
698.
▲
by
cesarb
3y ago
> Whatever the app or the device, accessing a register is always going to be faster than random places in RAM, which is always going to be faster than fetching something on disk and even moreso if we talk about fetching stuff over the ne
699.
▲
by
cesarb
3y ago
> It doesn’t make much sense to compare the average outputs of wind vs nuclear unless you budget for a bunch of storage too. It depends. If you're adding wind or nuclear to an already existing grid (which is usually the case), the a
700.
▲
by
cesarb
3y ago
> The fact that nuclear (or any base load provider) works all the time It doesn't; for instance, the nuclear reactors near where I live have to power down for a whole month once every year, for refueling and maintenance. That's
701.
▲
by
cesarb
3y ago
> That is sooo much hassle just to install a plain update. At what point does it become enough of a distraction for people to abandon windows? Or, alternatively, at what point does it become enough of a distraction for people to abandon
702.
▲
by
cesarb
3y ago
> How about "user programmable computers," whereas phones are "terminals". My install of Termux from F-Droid on my Android phone disagrees with that. While more limited than a PC, most smartphones can still be conside
703.
▲
by
cesarb
3y ago
> Most locked doors can be bypassed even faster in some other way than unlocking them. A rock through the window... This is a bit harder when said window is only reachable from the outside, and is 78m above ground level (and all the wall
704.
▲
by
cesarb
3y ago
> Note that while the article says "soldering" the pictures show "welding", In some languages, these are the same word (this is the case at least for my native Portuguese), so this could just be a translation issue.
705.
▲
by
cesarb
3y ago
> deleting files will not free any space. Does a rebalance fix it? I have once (and only once, back when it was new) hit a "out of disk space" situation with btrfs, and IIRC rebalancing was enough to fix it. > for a common u
706.
▲
by
cesarb
3y ago
> Updates on shutdown make sense in some of my machines but are awful in the laptop I use to teach classes. It's also a bad idea when the power has gone out and the UPS battery will last for only a few more minutes. Or when you have
707.
▲
by
cesarb
3y ago
> But your neighbour plugged into a life-support machine at the local hospital does, because your machine could be used as a staging point for further attacks. Unless your machine is in a particularly privileged position (for instance, i
708.
▲
by
cesarb
3y ago
> > I'm painfully aware how much is developed by people with no access to or interest in MacOS. [...] Sometimes you can tell by the simple fact that the git repo contains files in one directory that conflict in naming. Linux has
709.
▲
by
cesarb
3y ago
> [...] on i686 bringing it to 6+BP (not 4+BP) meanwhile x86_64 has 14+BP (not 16+BP). That is, on i686 you have 7 GPRs without frame pointers, while on x86_64 you have 14 GPRs even with frame pointers. Copying a comment of mine from an
710.
▲
by
cesarb
3y ago
I disagree with this sentence of the article: "I could say that times have changed and now the original 2004 reasons for omitting frame pointers are no longer valid in 2024." The original 2004 reason for omitting frame pointers is
711.
▲
by
cesarb
3y ago
> Let's make software more inefficient Isn't the whole point of enabling frame pointers everywhere to make it easier to profile software so that it can be made more efficient ?
712.
▲
by
cesarb
3y ago
> Considering we are talking about Megabytes in the age of Terabytes HDDs, Most distributions still use a "Live CD" format, actually a "Live DVD" nowadays (with a few hacks to make it also work as a USB pen drive imag
713.
▲
by
cesarb
3y ago
> I don't see a difference between GC languages and others, so your secret is in a rust heap then what? The problem with a copying GC is that, even if you clear the memory which had for instance a secret key, it might have been co
714.
▲
by
cesarb
3y ago
> I just don't get it. Why bother? The "mask on the chin" allows one to quickly pull up the mask to cover the face, at the cost of potentially contaminating the inside of the mask (which then touches the face). The "m
715.
▲
by
cesarb
3y ago
> (and there's leakage around the sides too.) A properly fitted mask shouldn't leak around the sides. The PFF2 (my country's equivalent of N95) mask I use doesn't leak anywhere when properly adjusted. (Like the siblin
716.
▲
by
cesarb
3y ago
> The 737 MAX planes that crashed only had one AoA sensor. IIRC, it had two, but each of the computers only used the sensor on its side; which was OK for the original (pre-MAX) design because of they way these sensors were originally use
717.
▲
by
cesarb
3y ago
I agree; while changing it into a compiler error could be considered "breaking" (it no longer compiles), it's not a silent break and forces the developer to fix the code. (I would only worry about developers doing the "o
718.
▲
by
cesarb
3y ago
> That's why the author only suggests non-breaking changes in this article. One of the proposals in the article is to change the meaning of things like "if (a != b > c)" and "if (0 <= index < max)". That
719.
▲
by
cesarb
3y ago
> Did food standards desync between the UK and EU considerably since Brexit? It doesn't matter. When people see "not for EU" in a label, what they understand is "not for EU because it doesn't meet the EU require
720.
▲
by
cesarb
3y ago
> Microsoft does provide the tools to keep data storage compliant with EU data rules. It doesn't matter; the CLOUD Act ( https://en.wikipedia.org/wiki/CLOUD_Act ) means that, even if Microsoft (or any other USA c
More ›