Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
max_k
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
max_k
12d ago
Difficult compared to what? Mutating a std::vector is much more difficult because you need a coarse lock and serialize every access with it - there's no other option. Linked lists, on the other hand, can be made thread-safe with a sing
2.
▲
by
max_k
12d ago
Every day, all day. It is a myth that linked lists fell out of fashion. Of course, "it depends". There are things that better live in tightly-packed arrays (large lists of free-standing objects), but there are things that are almo
3.
▲
by
max_k
4mo ago
Funny idea, refreshingly simple HTML design - but why does it require JavaScript? Blank page with nojs.
4.
▲
by
max_k
5mo ago
Thanks, but I feel we're all just feeding this one troll. Don't bother replying anymore, it's pointless.
5.
▲
by
max_k
5mo ago
> imply that HTTP and FastCGI are interchangeable and they are not. But they are interchangeable! FastCGI and HTTP/1.1 are indeed on the same level. Both are transport protocols for HTTP requests. It would be technically possible to
6.
▲
by
max_k
5mo ago
FastCGI has "parameters" and HTTP headers are special parameters starting with "HTTP_" (mimicking CGI's environment variables). All parameters not starting with "HTTP_" can be trusted because only the web
7.
▲
by
max_k
5mo ago
I agree with the article, FastCGI is better than HTTP for these things. Though I'd like to make another protocol known: Web Application Socket (WAS). I designed it 16 years ago at my dayjob because I thought FastCGI still wasn't g
8.
▲
by
max_k
10mo ago
Oh, there's another stgit user! ^5 Coming from darcs, I couldn't use git until stgit came along, and today, it's one of those few tools I can't imagine working without. Nothing else matches my way of code hacking. So oft
9.
▲
by
max_k
1y ago
Yes, "it’s just the linter being noisy".
10.
▲
by
max_k
2y ago
> Otherwise, the very first commit should be removing all the personally identifiable information and other telemetry sent back to Matt's personal website This is one of the things I removed in our WordPress fork. I found it horrify
11.
▲
by
max_k
2y ago
Related: do only what is necessary. This works on so many levels and is my magic trick to make software faster. It's a pity computers are so fast and have so much memory that people can get away with not caring about minimalism.
12.
▲
by
max_k
2y ago
Me too! I've been using it for 20 or so years, and it's one of those pieces I didn't know it was still developed or what features were added, because the feature set from 20 years ago is still enough for me. IOW: maybe it doe
13.
▲
by
max_k
2y ago
Why does the Android app require access to my location? I wouldn't expect open source apps to spy on me.
14.
▲
by
max_k
3y ago
> that's not the point of the article. Of course not. The post you're replying to explicitly said the discussion was off-topic. That means it's not discussing the point of the article. > In an actual UI, you will have l
15.
▲
by
max_k
3y ago
I agree with that; animations can be OK, but when I have a configuration setting, I usually disable them because input latency drives me crazy. My post replied to "checkboxes vs UI toggles", and replying to that aspect was my main
16.
▲
by
max_k
3y ago
Back in the days, you had a UI toolkit, and everybody would use those native controls; they looked and felt the same in all application, and you had a central place where you could customize the look. Now every application/website has
17.
▲
by
max_k
3y ago
> I just don't like the visual polish more than I like the clarity and responsiveness of the old UI elements. Agree, that sums my opinion well. And much software doesn't even look like they preferred eye candy over clarity; it
18.
▲
by
max_k
3y ago
Me too, agree with you and GP. And I can't keep wondering why this opinion is so unpopular. Today's UIs are bloated with unnecessary animations (which adds latency). But worse than animations is that UIs are horribly inconsistent;
19.
▲
by
max_k
3y ago
> The UNIX model won over object approaches. That's funny interpretation, because what is this mysterious "UNIX model" and what does it have to do with implementation language? Also, C++ used to be "C with classes&quo
20.
▲
by
max_k
3y ago
Maybe I could say something good about some aspects of their coding style, but that would only distract from my main point that I find it pointless to imitate a C++ API in C, when that API is modeled carefully to take advantage of C++ featu
21.
▲
by
max_k
3y ago
The author contacted me via email yesterday (because they saw I'm writing a lot of C++ code on GH) and asked me for a review. This was my somewhat-grumpy somewhat-trollish reply: Your library demonstrates that C++ is the superior langu
22.
▲
by
max_k
3y ago
For my argument, MMIX is not an improvement because it's still a low-level assembly language. True, you can simply skip over the MIX/MMIX source code, but that doesn't help me to like TAOCP. For me, (abstract) source code is
23.
▲
by
max_k
3y ago
This is certainly a matter of taste. I saw many prominent people everywhere praising TAOCP, but I was disappointed when I finally read the first three books some 10+ years ago. So much disappointed that I regret taking all the time to read
24.
▲
by
max_k
3y ago
If you like Lua coroutines and C++20 coroutines, I have written a piece of code that allows to combine both: https://github.com/CM4all/libcommon/blob/master/src/lua/CoAw... It's used for e
25.
▲
by
max_k
3y ago
That wouldn't solve the hard problems I meant. Rust portability is an easy problem - it's clear how to port Rust to more architectures, just nobody has done it. But doing interop between Rust and C in both directions, with complic
26.
▲
by
max_k
3y ago
> to always use smart pointers for reference counting Agree - and the Linux kernel is extremely fragile because it is full of ad-hoc manual code like that. Unfortunately, Rust won't be the rescue, because (in the foreseeable future)
27.
▲
by
max_k
4y ago
Oh, bike helmets. I missed that thread, and I don't want to start yet another endless internet discussion about helmets, but let me point out one thing: the helmet I did wear likely wouldn't have saved my life, had the fork breaka
28.
▲
by
max_k
4y ago
... yes, that's what they say about titanium, why I decided to pay the price, but turns out it's not true.
29.
▲
by
max_k
4y ago
No. I got a full refund, though. Most importantly, I'm so extremely happy I'm still alive, I don't care about anything else.
30.
▲
by
max_k
4y ago
A year ago, my titanium fork broke (while driving rather slowly on good tarmac, photo here https://twitter.com/dothebart/status/1486765955254530051 ), and the titanium frame got a few cracks as well. My motto "
More ›