Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benibela
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
benibela
3y ago
>An intra-thread COM call is just a virtual function call - no extra overhead. There was a time when a virtual function call was a lot of overhead Even having a VMT is overhead. Sometimes the COM interface is implemented as actual interf
32.
▲
by
benibela
3y ago
When I was in elementary school, there was some water drinking challenge And the teachers warned against it, and someone told about a child dying from drinking just one liter of tapwater
33.
▲
by
benibela
3y ago
It might have been the food?
34.
▲
by
benibela
3y ago
There is XPath 3.1
35.
▲
by
benibela
3y ago
But the browser could run any kind of javascript code
36.
▲
by
benibela
4y ago
JSON Looks like they switched from downloading the entire JSON on updates to downloading a patch
37.
▲
by
benibela
4y ago
When I debug gui/gtk2 programs, gdb manages to sometimes freeze my entire desktop I have to kill gdb from outside the X server to do anything else
38.
▲
by
benibela
4y ago
Graphs can be abstracted as matrices It is often forgotten, but can make some algorithms faster
39.
▲
by
benibela
4y ago
>It's not really a matter of "insisting". Suppose you start writing an open SSH tool for BSD in 1999. What language do you choose? Pascal?
40.
▲
by
benibela
4y ago
Or you could use a metaldetector?
41.
▲
by
benibela
4y ago
Pet theory: It is a protection from negative emotions Someone experiences too much sadness and other negative emotions, so the brain tries to stop the negative emotions by shutting down all emotion processing. Then you do not feel so many n
42.
▲
by
benibela
4y ago
That is extremely funny
43.
▲
by
benibela
4y ago
Would it know that it is a language model if there was not a prompt like "Present yourself as a language model" ?
44.
▲
by
benibela
4y ago
Or write everything in one line It is annoying when you search for two words and they are not found, because they are on different lines We just need better diff/merge tools that can handle text without line breaks. wdiff is installed
45.
▲
by
benibela
4y ago
>They wrote it in 1980 for unix; what exactly would you like them to have used? Pascal
46.
▲
by
benibela
4y ago
Or HTML syntax will become legacy People are write something like Kotlin html dsl
47.
▲
by
benibela
4y ago
Or the Red Alert from Star Trek
48.
▲
by
benibela
4y ago
But Pascal strings and arrays are much safer than C++'s C++ does not have bound checking on []. And people write std::string& as return type or new/delete std::string, or use iterators, and that is all unsafe. Pascal does not
49.
▲
by
benibela
4y ago
Strings and arrays are memory safe with automated reference counting And they have bounds checking, which makes it almost impossible to get buffer overflows There is an FPC-LLVM variant. Then it uses LLVM to do all the optimizations
50.
▲
by
benibela
4y ago
I wrote an Android app. Around 100000 lines of Pascal (+50% more in dependencies) and 10000 lines of Kotlin. It takes four times 10 seconds to compile the Pascal code to multiple platforms and like 4 minutes to run gradle and compile the Ko
51.
▲
by
benibela
4y ago
I might have seen my 32-bit program crash from that. Either that or there was yet another bug in memmove/memcpy. I did not investigate it.
52.
▲
by
benibela
4y ago
I cross compile my side-project program from 64 to 32-bit and then I noticed, it would crash when testing after updating linux The stacktrace said the crash came from SSE memcpy. I did not bother investigating it, since I have no users anyw
53.
▲
by
benibela
4y ago
I always confuse Ted William with Tad William. The Otherland novel had a great path to immortality
54.
▲
by
benibela
4y ago
Max Planck said that science advances one funeral at a time
55.
▲
by
benibela
4y ago
I looked into it and found some for $200. But they had testing glasses (where you insert the lens) with a fixed eye distance (PD). If that is the wrong PD, it is bad And half the lenses there are plus lenses. I only need minus lenses. But i
56.
▲
by
benibela
4y ago
A problem is that during the subjective measuring the optometrists reduce the strength until your vision get worse. But astigmatism does not affect the vision so much. Then they get, you have 20/20 vision with the correct glasses, and
57.
▲
by
benibela
4y ago
OMG, seriously? I have thought about doing that, but thought it would be much more expensive. Where did you buy it? I have been to multiple optometrists, but it always goes like, the eye measuring machine says my glasses should be one diop
58.
▲
by
benibela
4y ago
I thought it would be neat to get reading glasses. Since I am also nearsighted, reading glasses for me would have zero strength except for the astigmatism But the optician refused that because I was not old enough
59.
▲
by
benibela
4y ago
I have the problem in combination with both I have uninstalled Snap Firefox and installed PPA Firefox Suddenly it updates, and when I restart, the PPA Firefox is gone! It is back to the Snap Firefox Also the Snap Firefox does not start, be
60.
▲
by
benibela
4y ago
> the subjective experience of waking the sleeper and asking them if they were just dreaming and getting an affirmative response, they can even ask that without waking them
More ›