Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kbolino
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
361.
▲
by
kbolino
1y ago
They were never good. They were always broken in these ways. For some sites, it wasn't a big deal, because the only link that ever mattered was the main link. But a lot of places that used frames were like the POSIX specs or Javadocs,
362.
▲
by
kbolino
1y ago
It's cool that they have that link. Most frame sites didn't. JS actually isn't necessary to make that work, they could have just interpolated the requested page server-side. But it only correctly points to one frame. It'
363.
▲
by
kbolino
1y ago
This has nothing to do with SPAs. Take the POSIX specs linked in a sibling comment. Or take the classic Javadocs. I am currently looking at the docs for java.util.ArrayList. Here's a link to it from my browser's URL bar: https:&#
364.
▲
by
kbolino
1y ago
An iframe is inherently subordinate. This solves one of the major issues with classic frames. Classic frames are simple. Too simple. Your link goes to the default state of that frameset. Can you link me any non-default state? Can I share
365.
▲
by
kbolino
1y ago
With a frameset page: History doesn't work right Bookmarks don't work right -- this applies to link sharing and incoming links too Back button doesn't work right The concept is good. The implementation is bad.
366.
▲
by
kbolino
1y ago
Classic frames were quite bad. Every frame on a page was a separate, independent, coequal instance of the browser engine. This is almost never what you actually want. The header/footer/sidebar frames are subordinate and should not
367.
▲
by
kbolino
1y ago
I definitely noticed when the Play Store switched to lossy icons. I can still notice it to this day, though they did at least make it harder to notice (it was especially apparent on low-DPI displays). Fortunately, the apps once installed st
368.
▲
by
kbolino
1y ago
Yes, the software firewall is one of the defense mechanisms of modern versions of Windows. I don't know what point you're driving at. "Regular users" don't care about any of these power-user arguments. The question
369.
▲
by
kbolino
1y ago
"Services open to the Internet" is more of a 2000s problem than a modern problem. Operating systems default to being a lot less trusting of local networks today, and nearly every place you'd connect to WiFi already has a rout
370.
▲
by
kbolino
1y ago
Not all malware is ransomware. "They" will absolutely push more locked down computers, indeed this has become the norm in many areas of computing already, like smartphones, tablets, and video game consoles. For that same regular u
371.
▲
by
kbolino
1y ago
If you own the computer, you can enroll your own keys and sign any operating system you want. The UEFI vendors don't necessarily make this easy to do, nor do they support it in a consistent way, but it's there. Of course, Microsof
372.
▲
by
kbolino
1y ago
Layers are COW so one container modifying a layer has no effect on other containers started from the same image. Of course, preexisting vulnerabilities will remain but they'd have to be separately exploited in each container.
373.
▲
by
kbolino
1y ago
I think this is just half true. When dealing with purely high-level code (including C without inline assembly), the compiler doesn't need a discrete assembler. This much is true, and most modern compilers will not spit out assembly unl
374.
▲
by
kbolino
1y ago
Unless you're making it possible to access memory on every instruction that takes an argument, or adding more addressing modes that are redundant with ALU operations, or making registers that can only be used for one purpose, etc., it&
375.
▲
by
kbolino
1y ago
If the threat model is BGP hijacking, is DNSSEC actually the answer? If you can hijack a leaf server, can't you hijack a root server? As far as I can tell, the root of DNSSEC trust starts with DNSKEY records for the "." zone
376.
▲
by
kbolino
1y ago
It seems that posits have a value called NaR ("not a real") which serves the purpose of all the special values (including both infinities) in IEEE floats. There are some key differences though: NaR (posits) NaN
377.
▲
by
kbolino
1y ago
They did a pretty poor job of managing the press around it though. The closest thing we ever got to a definitive statement was when they announced Windows 11.
378.
▲
by
kbolino
1y ago
bzip2 is still pretty good if you want to optimize for: - better compression ratio than gzip - faster compression than many better-than-gzip competitors - lower CPU/RAM usage for the same compression ratio/time This is
379.
▲
by
kbolino
1y ago
If your workspace domain has multiple users with non-overlapping responsibilities, that isn't very useful.
380.
▲
by
kbolino
1y ago
You can characterize it as you wish, but the optimal amount of piracy is not zero, it's whatever amount costs more to quash than you will gain in revenue from quashing it. For many endeavors, this is quite a large amount of piracy, per
381.
▲
by
kbolino
1y ago
The best protection from piracy has always been making the product available at a reasonable price in a convenient fashion. This is echoed by Gabe Newell, founder of Valve, the makers of Steam, who said: "piracy is almost always a serv
382.
▲
by
kbolino
1y ago
There is quite a bit of anecdotal evidence that many Denuvo-protected games run worse on the recommended hardware and O/S until the Denuvo protection is removed. The end result is a worse day-one experience for the people who pay the
383.
▲
by
kbolino
1y ago
I don't understand anything more now than I did at the start. It is clear we are talking past each other. The values of Day are {SUNDAY, ..., SATURDAY} not {0, ..., 6}. We can, of course, establish a 1:1 mapping between those two sets,
384.
▲
by
kbolino
1y ago
Setting aside the full enum API, as well as certain optimizations, this is a rough equivalent of the enum I gave: public class Day extends Enum<Day> { private int _ordinal; private Day(int ordinal) { this._ordina
385.
▲
by
kbolino
1y ago
The existence of the ordinal method reveals nothing except that the ordinal exists. It can be (and is) simply a field on each Day object, not an index into anything (though the Day objects are probably stored in an array, this is not requ
386.
▲
by
kbolino
1y ago
Java has true enums that are neither fancy integers nor discriminated unions. The following is not a list of integers: public enum Day { SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY } To use t
387.
▲
by
kbolino
1y ago
To bypass the filibuster. To pass a bill the normal way, you need 60% of the Senate to agree. But certain kinds of bills can be passed through "reconciliation" which only needs a simple majority. Such bills must be "budget ne
388.
▲
by
kbolino
1y ago
Better for whom? If you want a dead-simple time type, use time_t. There are plenty of improvements needed in the C time APIs, like sub-second precision, thread safety, and timezone awareness. What benefit is there to making the struct field
389.
▲
by
kbolino
1y ago
The struct is also used for date/time arithmetic and the standard library explicitly supports out-of-range values for this reason.
390.
▲
by
kbolino
1y ago
The way Zig addresses it also discards all of the runtime variability too. In Go, an error can say something like unmarshaling struct type Foo: in field Bar int: failed to parse value "abc" as integer Whereas in Zig, an e
More ›