News for hackers. Stuff that matters.

fools

Re:Things I wished more developers knew about databases on Wednesday April 22, 2020 @04:49PM (#22950034)
Yes, I write fairly boring applications. But the point is that C is mostly cross-platform for those boring applications, whereas the the "cross-platformness" of CSS and SQL fall apart for even the simplest of tasks.
Rust has compile-time warnings for when you don't use the result of a function whose return type is marked as #[must_use].

You can easily silence such a warning by writing `let _ = f(...)`, though, but I don't think that's a bad thing.

Re:Things I wished more developers knew about databases on Wednesday April 22, 2020 @04:30PM (#22949838)
If I write a C program, especially with the appropriate compiler warnings enabled, or some filesystem code, there is a high chance that it will work across platforms with no further coding necessary. Anecdotally, the same cannot be said for CSS or SQL.

It doesn't matter much for SQL, because I always know what database I'm using, but for CSS, it's a massive pain.

Re:Patreon lays off 13% of workforce on Wednesday April 22, 2020 @02:42PM (#22948808)
You say "merely", but minimizing fraud from buyers and sellers is a very difficult problem.
Re:Matheminecraft: Where math and Minecraft meet on Tuesday April 21, 2020 @05:37PM (#22939585)
I'm guessing you can get pretty far by compiling the chunks into meshes at multiple levels of detail (2x2, 4x4, 8x8, etc.), each with the same (or similar) number of vertices.

https://en.m.wikipedia.org/wiki/Draw_distance