Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wasmperson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
wasmperson
5mo ago
Rust's memory safety is as much a social convention as it is a language feature. The language has something better described as "mutation safety," and it's the job of library developers to use that to design UB-free API
62.
▲
by
wasmperson
5mo ago
> C folks still think is a portable Assembly > C [community] wants to still code > many still don't know to distinguish > the culture that... despite easy proof that isn't the case > devs wrongly assume > self in
63.
▲
by
wasmperson
5mo ago
Specifically addressing the "almost no ceremony" claim and not the "totally worth it" claim: JS: let person_1 = { }; let person_2 = { parent: person_1 }; person_1.child = person_2; Rust: use std::cell::Cel
64.
▲
by
wasmperson
5mo ago
> WHY javascript code is even allowed to see all these actions of the user? scrolling: used by games, maps, image viewers link navigation: used for client-side routing (youtube/twitch, any website with a chat window) text selection
65.
▲
by
wasmperson
5mo ago
Ludum Dare 59 just wrapped up last week, and both first and second place were won by developers using "Agentic" coding tools, something the community there is still discussing: https://ldjam.com/events/ludum-d
66.
▲
by
wasmperson
5mo ago
Bots are usually very stupid and will bail on any captcha system they don't recognize, so anything you make that's custom and requires javascript will cull 99% of them. This may change at some point with LLMs but for now my websi
67.
▲
by
wasmperson
5mo ago
Most "web fork" ideas try to either ditch the web as a sandboxed application distribution platform or to ditch the web as a hypertext-based front-end for networked systems. IMO a good from-first-principles solution wouldn't
68.
▲
by
wasmperson
7mo ago
It's been a while but from what I remember the easiest way to block this was by disallowing outbound network requests from search/the start menu in the firewall settings. It worked across all versions of Windows I tried it on.
69.
▲
by
wasmperson
8mo ago
> I mean 99.9% of the problems can be averted by just not installing some random new aur package with 0 votes or popularity. Piracy websites use a similar system. It's not nothing, but it's not enough for me to install pirated
70.
▲
by
wasmperson
8mo ago
> How is that an unacceptable threat model for a repo of packages that are optional and user-made? One that clearly says, "DISCLAIMER: AUR packages are user produced content. Any use of the provided files is at your own risk."
71.
▲
by
wasmperson
8mo ago
"End-users need to read and understand shell scripts to make sure they're safe" is a completely unacceptable threat model. The way I see it installing software from the AUR is about as safe as installing software from the pi
72.
▲
by
wasmperson
8mo ago
> I think the biggest problem is that the DOM was built for documents, not apps. The world wide web was invented in 1989, Javascript was released in 1995, and the term "web application" was coined in 1999. In other words: the
73.
▲
by
wasmperson
8mo ago
> Instead of slow React renders (50ms?), every interaction is a client-server round trip. This is true only if you use zero javascript, which isn't what the article is advocating for (and even with zero javascript there's qui
74.
▲
by
wasmperson
8mo ago
The idea that it does nothing is a persistent myth. Both GCC and Clang heed it although neither treats it as a mandate: https://tartanllama.xyz/posts/inline-hints/ This library seems to have the annotation on ev
75.
▲
Juggling Information Service
(juggling.org)
1 points
by
wasmperson
8mo ago
|
1 comments
76.
▲
by
wasmperson
8mo ago
I was reminded of this website by the recent slinging.org discussion: https://news.ycombinator.com/item?id=46951430
77.
▲
by
wasmperson
8mo ago
My understanding of API standards that need to be implemented by multiple vendors is that there's a tradeoff between having something that's easy for the programmer to use and something that's easy for vendors to implement. A
78.
▲
by
wasmperson
8mo ago
Another great example of "structural" blue that can be created artificially by heating steel: https://www.youtube.com/watch?v=NhjiIPohUyw
79.
▲
by
wasmperson
8mo ago
For every person who says on the internet that you can just use a C++ subset, there's another who insists that C is the bad C++ subset. So compiling C code with a C++ compiler promotes your code from "good C code" to "
80.
▲
by
wasmperson
8mo ago
I think I get what you're trying to say, but you may have picked a bad example, here: #define foo(a) a = 12
81.
▲
by
wasmperson
9mo ago
You appear to be making assumptions about immediate mode UI limitations based on some implementations you've worked with and not based on what's actually dictated by the interface itself. You touch on this somewhat by claiming th
82.
▲
by
wasmperson
9mo ago
I don't think most of the recent essays we're seeing defending C are coming from experienced C veterans, but instead from much younger programmers who were introduced to "The C Way" of doing things by Handmade Hero. It&#
83.
▲
by
wasmperson
9mo ago
Immediate mode UI doesn't require a powerful CPU and was invented in 2002, so about 24 years ago. I think the belief that it necessarily sacrifices performance is somewhat of a misconception. Compare a hypothetical "Immediate Mod
84.
▲
by
wasmperson
9mo ago
I think it's best to avoid this kind of "re-inventing OOP in C" thing, even though it can be tempting when coming from other languages. Regardless, some notes: - It's UB to alias one struct pointer with that of a differ
85.
▲
by
wasmperson
9mo ago
I was never a fan of the "Dark Mode"/"Light Mode" trend. "We've added support to our website/application for a whole TWO themes!" Meanwhile: - One of the two themes is always worse, but which on
86.
▲
by
wasmperson
9mo ago
> It's not possible to make a competitively priced product that way. What are you going to do, sell artisanal circuit boards on Etsy? 10 years ago in the US I met someone who owned a company of about 5 people that he largely built o
87.
▲
by
wasmperson
9mo ago
Since the program opens a window I wanted to see what the dependencies were, but neither readelf nor objdump can display the contents of the dynamic section despite ld.so correctly finding and parsing it. readelf spits out the error that y
88.
▲
by
wasmperson
9mo ago
I extracted the linux executable and was surprised to find that both readelf and objdump choke on it despite it loading and running correctly. Some investigation reveals that the name of the dynamic linker was shoved into the "unused&
89.
▲
by
wasmperson
9mo ago
There's a sneaky jab at ProtonMail at the end, so I feel the need to defend them a bit: > How are secret keys managed? Stored on proton's server, encrypted with a passphrase known only to the account holder. I believe they all
90.
▲
by
wasmperson
9mo ago
I don't think Casey has ever claimed to be the developer of Bink 2. He usually brings it up when explaining the kind of work that was performed at Rad Game Tools, then explicitly states that his work was largely on Granny 3d in partic
More ›