Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
enriquto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
enriquto
1y ago
> The requirement of verification to side-load any app is fascist control. Even the language we are using to describe the situation is problematic. Why do we say "side-load an app"? It should be just "run a program"
62.
▲
by
enriquto
1y ago
> you fail to represent yourself as a basic human You sound exactly like the people who condemned Socrates to death 24 centuries ago.
63.
▲
by
enriquto
1y ago
it's more like taking notes with pen and pencil, while other patrons of the coffee shop use an electron-based note-taking "app" on their macbooks that uploads each keypress to the cloud, helpfully adding a half-second lag
64.
▲
by
enriquto
1y ago
The very name "permissive" licenses is problematic, because it steers the discussion towards the point of view of software middlemen, not of users. From the point of view of a user, a copylefted software allows the user to do mor
65.
▲
by
enriquto
1y ago
> I quickly jump to python instead of using Bash even for the simplest of scripts You don't seem to respect the old, venerable, well-tested adage: "once your shell script becomes too complex, switch to a real programming langua
66.
▲
by
enriquto
1y ago
the problem is that there's no reasonable thing to do when the height of the terminal in pixels is not an integer multiple of the height of the font in pixels. Whatever "it" does, will be wrong. (And when it's an inte
67.
▲
by
enriquto
1y ago
> The scale factor can be something quirky like your 1.785, and the GUI code will generally make sure that things nevertheless snap to the pixel grid to avoid blurry results This is horrifying! It implies that, for some scaling factors
68.
▲
by
enriquto
1y ago
> keep going after you reach 2048. This game had to remove that option to achieve a 64bit state. Since 15^16 < 2^64, you can still use a 64 bit state to reach 2^15=32768, which does not seem to be reachable in practice (the previous s
69.
▲
by
enriquto
1y ago
Total number of states = 11^16, assuming you don't reach 2048, just like you don't actually kill the king in chess. Now log_2(11^16)=55.34, thus 56 bits are sufficient. That's tight !
70.
▲
by
enriquto
1y ago
why do the units matter here? Under this theory, will a body at absolute zero have no observable mass? No attractive field around it, no inertia if you try to move it.
71.
▲
by
enriquto
1y ago
Sounds fun! Would this imply that cold objects have weaker gravity?
72.
▲
by
enriquto
1y ago
> You might want to place the glyph at any position on the screen, not necessarily aligned with the pixel grid No. I don't. This is a horrifying concept. It implies that the same character may look different every time is printed
73.
▲
by
enriquto
1y ago
of course it is legitimized. I just meant that the selling point of binfmtc is that the same .c file can either be compiled by any C compiler, or executed directly.
74.
▲
by
enriquto
1y ago
This is a neat hack, but the whole file is not a valid C program.
75.
▲
by
enriquto
1y ago
was surprised that "sudo apt install binfmtc" works out of the box on my box (linux mint) and i can do the magic just as described here
76.
▲
by
enriquto
1y ago
The comparison to LaTeX is a bit unfair... the latex code is much larger than it needs to, and does things that the quarkdown doesn't (like floating the figure in the page). Once you remove that, both versions look essentially equivale
77.
▲
by
enriquto
1y ago
True. And that's why linus showing the finger to nvidia was an exhilarating relief to so many people. The gpu driver shenanigans are horrific to contour, but they are completely unnecessary on technical grounds. All the difficulties
78.
▲
by
enriquto
1y ago
it's the same list of authors, written in different formats the first one is SURNAME, NAME separated by "and" the second one is NAME SURNAME separated by commas The second one is easier to read by humans, but the first one ma
79.
▲
by
enriquto
1y ago
What happened to this man? A few years ago he wrote a glorious Rosetta stone of second-order functions in several programmng languages. Now he's spewing tired tropes about journalistic-style writing.
80.
▲
by
enriquto
1y ago
this is horrifying, and contrary to the very notion of what a "driver" should be
81.
▲
by
enriquto
1y ago
Just did it! I had to add "-static" to LDFLAGS and "-lxcb -lXau -lXdmcp" to LDLIBS, for an increase in binary size from 1MB to 3MB. It's a plain X program, i guess if you use fancy toolkits it may be harder.
82.
▲
by
enriquto
1y ago
> How is this easy, in your experience? add -static to your link flags? Sometimes you need to fiddle a bit with the order of the libraries, but that's it. In the ideal case, for maximum portability, i'd like to use the αpε for
83.
▲
by
enriquto
1y ago
Never understood the point of flatpak, snap and the like. Can't you just distribute static binaries? They are not that hard to compile. (I mean, from the distributing point of view. The sandboxing and resource management is a OS-t
84.
▲
by
enriquto
1y ago
maybe. But that would be so sad! (as it is with Linus)
85.
▲
by
enriquto
1y ago
Interestingly, the site stopped growing at about the same time when the "fun killers" [0] took hand of it. Notably, when they deleted the all-time highest voting question "New programming jargon you coined?". This b
86.
▲
by
enriquto
1y ago
As a matter of principle, i prefer to use really stable software that does not change wantonly, and whose authors took the care to put it into debian. My 20 year-old .tex documents still compile today. Will the same happen with quarto? (or
87.
▲
by
enriquto
1y ago
$ sudo apt install quarto E: Unable to locate package quarto yeah, hard pass
88.
▲
by
enriquto
1y ago
take b and c with opposite signs
89.
▲
by
enriquto
1y ago
> floating point operations like addition are not commutative maybe you meant associative? Floating point addition is commutative: a+b is always equal to b+a for any values of a and b. It is not associative, though: a+(b+c) is in gener
90.
▲
by
enriquto
1y ago
There is this beautiful single-header library to write simple graphical programs in C, portably to standard unixes, macos, and windows: https://github.com/ColleagueRiley/RGFW.git It was discussed recently around here:
More ›