Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wasmperson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
wasmperson
9mo ago
Muratori followers tend to beat around the bush to avoid saying it directly, but the implication here is that anyone who sees value in Rust is simply a bad programmer and will either stay a bad programmer or eventually stop using the langua
92.
▲
by
wasmperson
1y ago
I interpreted your question as "do I now no longer need to escape user-generated data in the HTML sent by the server in response to requests by HTMX?" The short answer is no, you still need to escape it: - HTMX adds extra signifi
93.
▲
by
wasmperson
1y ago
> There are several ways to solve this problem. One way is to avoid using direct references to the particular class of objects at all. Instead, allocate a big array of objects, and refer to them with integer indexes into that array. Ther
94.
▲
by
wasmperson
1y ago
Yup, dpkg-deb is all you need, but I could never find it looking through online documentation. The thing that finally helped me figure out how to make .deb files was an internet outage, believe it or not. While bored I started looking at
95.
▲
by
wasmperson
1y ago
A custom engine is never _needed_ technically speaking since COTS engines are often customizable to the point where you can do anything you want with them. That doesn't mean that they don't influence the design of games, though.
96.
▲
by
wasmperson
1y ago
To be fair to your coworkers, coding a windows service and setting up logging for it is surprisingly complicated. I'm the only person at my place of work that can do it, and even then only if I can use a compile-to-native language or
97.
▲
by
wasmperson
1y ago
I'm not usually in the "defending C++" camp, but when I see this: pub const File = struct { pub fn writer(self: *File, buffer: []u8) Writer{ return .{ .file = self, .interface = std.Io.Writer{
98.
▲
by
wasmperson
1y ago
> The main benefit of having async (or Go-style M:N scheduling) is that you can afford to launch as many tasks/fibers/goroutines/... as you want Some have argued that the real solution to this problem is to "just"
99.
▲
by
wasmperson
1y ago
An example for anyone who hasn't seen this before: https://subdomain.preloaded-hsts.badssl.com/
100.
▲
by
wasmperson
1y ago
> Obviously, the sample code above unwraps to high heaven, and that’s nothing something I would condone in actual production code—please do use proper error handling. Everywhere the author used `unwrap` is a place where I would expect th