Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skywal_l
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
631.
▲
by
skywal_l
5y ago
The guy you are responding to IS the creator of the language.
632.
▲
by
skywal_l
5y ago
Zig is a very interesting language. You are able to do thing that would require wizard level skills in C with simple plain language construct. Like serializing/deserializing an enum variants over the wire for example in the most effici
633.
▲
by
skywal_l
5y ago
"The most important thing in life is honesty. If you can fake it, you've got it made."
634.
▲
by
skywal_l
5y ago
It's a billionaire's world. You just happen to live in it.
635.
▲
by
skywal_l
5y ago
Yes because processes are not mapped 1-to-1 to their executable file format. Have a look at this video[0] which explains the structure of an ELF file (the binary format used for executable files in many OSes). The ELF structure basically de
636.
▲
by
skywal_l
5y ago
/tmp$ mkdir test /tmp$ cd test /tmp/test$ curl -sOL https://github.com/denoland/deno/releases/download/v1.13.1/deno-x86_64-unknown-linux-gnu.zip /tmp/t
637.
▲
by
skywal_l
5y ago
It's standalone in a sense you end up with a single executable, but deno is embedded with your code. A `hello world` example is more than 50MB stripped. The command to do that is called `compile` but its a bit of misnomer, it does not
638.
▲
by
skywal_l
5y ago
So is this finally the inflation that we were promised for so long? I guess all that money created during covid had to go somewhere. Too bad it's not going into education or healthcare...
639.
▲
by
skywal_l
5y ago
Zig doesn't have a package manager like rust does. They are competing "non-official" implementations that are not compatible with each other. Zig is in the same state as C++ right now with vcpkg, build 2, conan, etc... But th
640.
▲
by
skywal_l
5y ago
I encourage anyone to look at the code. It's clean C++, you can get into it pretty easily. The author encourage code clarity and the fact that the whole OS (kernel, libraries, userland) is all in the same repo makes it easy to navigate
641.
▲
by
skywal_l
5y ago
I Should have RTFM: "The MADV_FREE operation can be applied only to private anonymous pages (see mmap(2)). In Linux before version 4.12, when freeing pages on a swapless system, the pages in the given range are freed instantly, regard
642.
▲
by
skywal_l
5y ago
But this is for mapped (or shared) memory. Not reserved memory I think. No suitable to the OP's purpose: have reserved "optional" memory you could use for caching.
643.
▲
by
skywal_l
5y ago
It can also display images using sixel [0]. [0] https://en.wikipedia.org/wiki/Sixel
644.
▲
by
skywal_l
5y ago
Him again!
645.
▲
by
skywal_l
5y ago
Would they be programmers? Shouldn't we call them no-programmers?
646.
▲
by
skywal_l
5y ago
It can also be annoying. Sometimes you want the guests to wander on interesting subjects. 'On our time' could benefit from being a podcast and not a radio show limited by time. They actually have, at the end of each podcasts, an a
647.
▲
by
skywal_l
5y ago
If you are in a country where pensions are managed by the state, your contributions are considered taxes. If you are in a country with a private pension system, your contributions are in the GDP! The GDP is not a scientific measure. It is a
648.
▲
by
skywal_l
5y ago
As the formula depends on pi, it means you can estimate pi by droping needles on the floor. That's called monte-carlo.
649.
▲
by
skywal_l
5y ago
Glory to Arstotzka !
650.
▲
by
skywal_l
5y ago
It's a strawman argument. I don't think people are against space exploration. When a dude alone can finance a space program it creates two moral issues: 1. How come a guy who make people pee in bottles have enough money for this?
651.
▲
by
skywal_l
5y ago
If I remember the plot correctly, the EU needed the oil. The russians just took advantage of the situation to move in.
652.
▲
by
skywal_l
5y ago
For me the only interesting bit is: "Made from weather data collected over the past 10 years"
653.
▲
by
skywal_l
5y ago
Schopenhauer became disillusioned early in life. He quickly came to think that people, in general, are not rational and appeals to their rationality is a mistake, if you are looking to convince them. His book is more a passive aggressive de
654.
▲
by
skywal_l
5y ago
Depends on the language I guess. For me this is easier to read (and reason with) in JS: const y = (i <== 1 && i < a.length()) ? a[i] : -Huge(i); than: let y; // What do I initialize this too. if (i
655.
▲
by
skywal_l
5y ago
It's not really clear to me what the problem is. Doesn't the Open Database License applies everywhere, brexit or not? I never thought that where an "open source" project is physically located as any impact on the license
656.
▲
by
skywal_l
5y ago
What if you produce exactly the same sneakers than Nike? That does not protect the customer and protects the producers too. But somehow, nobody compains about that. I don't see why brands should be more protected that countries or regi
657.
▲
by
skywal_l
5y ago
I am not defending any system here. And the common law system has also many shortcomings, especially when judges are basically political appointees.
658.
▲
by
skywal_l
5y ago
There are precedents in civil law too. It's just that judges have less leeway in "creating" law than in the common law systems and thus precedents are not as binding because the law is supposed to be already laid our precisel
659.
▲
by
skywal_l
5y ago
A lot of comments on twitter are like: "That's how you write emails", "how to stay on point", "what a pro", bla bla... Completely oblivious.
660.
▲
by
skywal_l
5y ago
Ahah, I was about to. No soup for you !
More ›