Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gnull
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
gnull
4y ago
Is this a joke? Systems programming is a lot about accessing APIs, dealing with all sorts of intricacies like interrupts, different execution contexts, and managing memory as you said. If you write in C and your program is complex enough, y
122.
▲
by
gnull
4y ago
You mean, manipulating strings of bytes? Bytes don't have to be memory, you can just use bytestrings in Python or whatever. Raw memory access is something you normally need to create vulnerabilities, not to exploit them :)
123.
▲
by
gnull
4y ago
> Defenders of C/C++ frequently note that memory safety bugs aren't a significant percentage of the total bug count, and argue that this means it's not worth the hassle This says more about those C++ defenders.
124.
▲
by
gnull
4y ago
Alpine base rootfs is just a few megabytes, while Arch is like 100-200MB. I usually encounter Alpine in Docker containers when people want to wrap just one specific service and have save space on things that are not essential for it (it wou
125.
▲
by
gnull
4y ago
Thanks for the clarification!
126.
▲
by
gnull
4y ago
> The Barentsburg Pomor Museum presents Pomor culture, Arctic flora and fauna, and archaeological objects preserved in the permafrost. Wow, this is hardcore. Wikipedia says that Russian Pomors reached there around the same time vikings d
127.
▲
by
gnull
4y ago
> Browser not supported. Please use a chromium based browser instead. I see this in Firefox.
128.
▲
by
gnull
4y ago
Evolution is working fine with the setup I described, try it out if you need to do this again.
129.
▲
by
gnull
4y ago
It works fine, unless you want to use Google Calendar and a non-Gmail email together. Then it goes nuts and makes your Gmail send out calendar invites instead of the email you use.
130.
▲
by
gnull
4y ago
Don't governments allow it when it's done under supervision?
131.
▲
by
gnull
4y ago
Sorry, I indeed switched to a wrong browser tab and skimmed instead of reading when started this discussion. Please disregard the quicksort discussion. I still think that it's normal for programs to behave weird when the input paramete
132.
▲
by
gnull
4y ago
No, wait. The QuickSort from the article is O(n²), in fact. So that one specifically will take weeks, or even months to run — especially in Java. Feel free to test it and get back to me if you think I'm wrong.
133.
▲
by
gnull
4y ago
Ok, I looked at it closer and I admit that quicksort implemented in C won't take days on an input of 2³¹ elements. It will take less than 1-2 hours, I think. Something that is a bit worse than O(n log n) or has a 20× bigger constant hi
134.
▲
by
gnull
4y ago
> most binary search implementations don't claim they only work under some particular inputs They do implicitly. It's just common sense. When you read a recipe in a cookbook, it usually doesn't mention that you're exp
135.
▲
by
gnull
4y ago
Mastodon is "service", not "website". You can use dedicated client software.
136.
▲
by
gnull
4y ago
My main takeaway from this is that the seemingly contradictory notions like "mutual help" and "competition" are just too vaguely defined, and exist on a wrong level of abstractions, to have any formal discussion about th
137.
▲
by
gnull
4y ago
I took courses with focus on theory, performance and security of blockchains. I never cared much about the practical situation, and all those things Drew criticizes blockchain for. Blockchain is a cool thing from TCS perspective — end of st
138.
▲
by
gnull
4y ago
Can anyone elaborate on this? Cryptography course at my university covers blockchains and we were never made aware of this. And academic community in general seems to be unaware, not a single blockchain talk I attended drew attention to thi
139.
▲
by
gnull
4y ago
One of the reasons I moved from GitHub to SourceHut is the user-hostile political activism GitHub was throwing in my face. Like including the command to quietly rename any branch you're on to "main" in the instructions for up
140.
▲
by
gnull
4y ago
My friend is using an old Mac laptop what can't display webp on webpages. A Mac laptop!
141.
▲
by
gnull
4y ago
The original title says "4 twitter features", which is less confusing.
142.
▲
by
gnull
4y ago
Google search result do this weird trick. When you hover on a link the line at the bottom the your browser window shows the actual URL. But if you do "copy link URL" on it, you get a Google tracker URL in your clipboard. Couldn&#x
143.
▲
by
gnull
4y ago
Why would you use Chrome for that in 2022?
144.
▲
by
gnull
4y ago
I re-read it. Yes, they're not saying it's useless, but then what are they objecting to?
145.
▲
by
gnull
4y ago
"High" as in "higher than runtime speed, safety, abstractions, plugin system"? Where would you put it if you had to rank compilation speed with other criteria? And let's admit even though Rust compilation speed coul
146.
▲
by
gnull
4y ago
> Rust could have been designed for faster compilation without sacrificing runtime speed, safety, good abstractions, expressiveness Can you back this up? I'm not a programming language expert, so if there's some common knowledg
147.
▲
by
gnull
4y ago
You misread my comment. I didn't say it was useless, I said there are things with higher priority. And well… unlike Rust, C++ sucked at some of those things too, this I think makes them different. Rust offers a better trade-off between
148.
▲
by
gnull
4y ago
It's a fair remark, but your requirement is very niche. There's very few people who will value compilation time over runtime speed, safety, good abstractions, expressiveness.
149.
▲
by
gnull
4y ago
All the ways of encoding Reals that you mention in your comment are limited to Rationals. It seems like you just didn't know that one can encode Reals too, which puffoflogic assumed readers to know. Yes, they could have made their comm
150.
▲
by
gnull
4y ago
Your example has nothing to do with geometry, it's incomputable because of encoding you use for real numbers. There isn't anything special about diagonal line that makes it incomputable. I only skimmed the linked article very quic
More ›