Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
memefrog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
121.
▲
by
memefrog
3y ago
> There's no concept in American society of a universal ethical standard at even the most fundamental level When I grew up, which was not long ago, we viewed America as that curiously Christian country of the West. Everyone else wa
122.
▲
by
memefrog
3y ago
That's meaningless. 'Rights' are a legal concept. They exist in law, nowhere else. You cannot just assert that they 'exist'. Where do they exist? Where are they enumerated? Who decides what is and isn't a
123.
▲
by
memefrog
3y ago
If you have a higher chance of getting a disease, why wouldn't life insurance be more expensive? Life insurance will also be cheaper if you don't have that chance. The point of insurance is to spread random risk around. Nobody
124.
▲
by
memefrog
3y ago
There has been a similar - but different - effect on games that were traditionally server-based like FPS games. Games where once you would join the same little deathmatch server, which had its own community and culture? Now you discuss th
125.
▲
by
memefrog
3y ago
No, I am saying open source code is open source. Open source has had an established, fixed definition for decades. It was coined for a specific purpose to represent a particular category of software licence. You are doing a disservice to
126.
▲
by
memefrog
3y ago
Bear in mind that my ultimate perspective is that you shouldn't use smart pointers (or C++) at all. But even if you think they have some value, it isn't a flaw in a language if it's not immediately obvious how to write code i
127.
▲
by
memefrog
3y ago
How is that any different from any other program on any system failing because of a daemon not running? Inter-process communication exists on every operating system. IPC means your program's behaviour can be different depending on wh
128.
▲
by
memefrog
3y ago
I have to edit my vimrc maybe once a year.
129.
▲
by
memefrog
3y ago
Computing is broader than the web.
130.
▲
by
memefrog
3y ago
You can run binaries from decades ago on Linux too. This is about a DOS binary. Well, a command line program that just uses system calls is fine too.
131.
▲
by
memefrog
3y ago
What? The total opposite is true! 'async/await' is callback hell. It's the barest syntactic sugar over it, but it's definitely callback hell. You write code sequentially if you use threads (whether they'r
132.
▲
by
memefrog
3y ago
You can use a "threading model" with readiness-based or completion-based non-blocking IO. There are (userspace-)threaded runtimes based on epoll/etc. and also those based on io_uring/IOCP/etc.
133.
▲
by
memefrog
3y ago
Of course inline assembly is C. Most languages don't let you do inline assembly. That isn't because they don't like it, but because the way those languages get translated to machine code is highly variable. C is the only l
134.
▲
by
memefrog
3y ago
It is more true in good code than it is in bad code. If you use atomic reference counting everywhere or you're constantly allocating memory and freeing it all over the place, like a lot of "modern" code, you do tend to get q
135.
▲
by
memefrog
3y ago
If they mean the same thing, why was it changed? Hint: they don't mean the same thing. At all.
136.
▲
by
memefrog
3y ago
Yes a library author can spend a lot of time refining and optimising their generic data structure, but can never escape that it is generic. No amount of optimisation will make a hash table designed for items to be removed competitive with
137.
▲
by
memefrog
3y ago
What does that have to do with writing an application?
138.
▲
by
memefrog
3y ago
You don't spend "complexity budget" on manual memory management. Manual memory management is much simpler and easier than trying to manage complex arrangements where things are being allocated and deallocated all over the pl
139.
▲
by
memefrog
3y ago
Every language makes it easy to do things that you probably shouldn't be doing. I don't know how many times I've seen naive accidentally-quadratic string handling code in high level languages, for example. Your answer is jus
140.
▲
by
memefrog
3y ago
It's quite clear to me that C is appropriate for applications work. Most applications I use on a daily basis are written in C (and were written after the 90s), and most of the rest are written in C++. What makes you think you can
141.
▲
by
memefrog
3y ago
I see comments like yours more than I see anyone suggesting actually using shared_ptr widely. In my experience, most people (that use smart pointers - many do not) prefer to use unique_ptr where they can.
142.
▲
by
memefrog
3y ago
There is a technical report for C (from the C standards committee) called 'Embedded C' which extends C with 'named address space' storage qualifiers. So you can do 'float _Gpu myarray[1<<14];' As far as
143.
▲
by
memefrog
3y ago
>I mmaped a `/dev/uio` from Python this morning. You might want to go and have a look at the implementation of 'mmap' in CPython. Here's a clue: it's in the name 'CPython'.
144.
▲
by
memefrog
3y ago
'Open source' and 'free (as in speech)' are, in the software context, synonyms. It is incoherent to say 'open source but non-commercial'.
145.
▲
by
memefrog
3y ago
OSRS players have not been "stuck with low quality graphics". The appeal of that version of the game is as a whole. It was not just "the version without the one later change that wasn't liked". It was the versi
146.
▲
by
memefrog
3y ago
That's an interesting theory, actually. Maybe part of the reason that our current economic system has been so successful is that it manages, mostly by chance, to avoid this kind of compensation. People are largely compensated in mone
147.
▲
by
memefrog
3y ago
Everything that people say about StackOverflow and its "deletion culture" is doubly true of Wikipedia. Wikipedia today is rigidly controlled by a relatively small group of power users. It's completely unusable for any "
148.
▲
by
memefrog
3y ago
You're demonstrating just the problem. "Nazi-adjacent conspiracy theories". Can you elaborate on what that means? Because this is the sort of language that is used all the time by people to tar anything right of Chairman M
149.
▲
by
memefrog
3y ago
You've rather misunderstood the issue. The issue is not that "there aren't enough instances for people who believe what [I] believe". The problem is that people defederate in order to block A not because A has any &quo
150.
▲
by
memefrog
3y ago
They aren't making people feel bad on purpose. Their purpose is to study the brains. It happens that to do that, a side effect is someone gets hurt feelings.
More ›