Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
stux
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
stux
17d ago
> Before any networking occurs, the client runs a breadth-first search using the local collision map to build a path from where you are to where you clicked, and then writes the packet for the server to read. [...] The packet contains th
2.
▲
by
stux
1y ago
These sqlc-style libraries are a great solution to the problem of “make running a query as easy as calling a function”, but I’ve always thought SQL’s lack of composability is a more interesting problem that I haven’t seen addressed (the pr
3.
▲
by
stux
1y ago
This is interesting! A field being nullable because it's legitimately optional in the domain model is one thing, but for new fields which shouldn't be nullable in the domain model, unless you can pick a reasonable identity value
4.
▲
by
stux
2y ago
Rails definitely seems optimized for creating code, but how is it at maintaining code? I've never used it, but it seems like Ruby's dynamic types would make it really challenging to do large refactors. What techniques do rails d
5.
▲
by
stux
2y ago
> with functions named by their normalized hash contents, and referred to anywhere by that, but I can't seem to remember what it's called right now. Something like "Universe" I think? Unison: https://www.un
6.
▲
by
stux
2y ago
> Flutter founder here. Given that the literal founder of Flutter is in this thread using this introduction multiple times, it’s kinda hard to give you the benefit of the doubt that you honestly just meant “a founder using Flutter”.
7.
▲
by
stux
2y ago
https://github.com/flutter/flutter/pulls?q=is%3Apr+author%3A... - 0 open PRs - 2 PRs merged, 1 PR closed in the past 4 years - All PRs reviewed by a member of the Flutter team within 24hrs - [“If I'm still su
8.
▲
by
stux
2y ago
> Anonymous enums/structs in parameters Can you share an example of this? It sounds really interesting but I couldn’t find any references. Do you mean the parameter “packs” features?
9.
▲
The Git repositories of XZ projects are available on GitHub again
(github.com)
100 points
by
stux
2y ago
|
16 comments
10.
▲
by
stux
2y ago
Edit: nvm, dupe of https://news.ycombinator.com/item?id=39984512
11.
▲
by
stux
3y ago
> Aggregate functions can now include an ORDER BY clause after their last parameter. Hopefully that means we'll soon get support for `DISTINCT` in `GROUP_CONCAT`. Atm you can do `group_concat(x, '|')` and `group_concat(dis
12.
▲
by
stux
3y ago
As the article notes, > Redundant conditions are nice because they require no changes to the database [...] This makes them useful for queries that are only sometimes run or where indexes can't be easily added to the main conditions
13.
▲
by
stux
4y ago
My two favourites at the moment that haven’t already been mentioned are: https://podcasts.apple.com/ca/podcast/algorithms-data-struct... https://podcasts.apple.com/us/podcast/software-uns
14.
▲
by
stux
4y ago
Reminds me of the principles brought up in this talk by Sean Parent: https://youtu.be/0WlJEz2wb8Y The temperature converter is a good example of an “implies” relationship, which Sean argues is difficult to model in UIs.
15.
▲
by
stux
5y ago
I think the tone of this page is frustration that this page needs to exist. I think if I had to constantly deal with stuff like this I'd be pretty frustrated too: > CVS-2019-19317 is an excellent example of a bogus CVE. This CVE des
16.
▲
by
stux
5y ago
I agree with your general point that "it's very hard to write safe C code", and > people keep finding use-after-free bugs in sqlite3 is true, but > that allow attackers to escalate the memory corruption into arbitrary c
17.
▲
by
stux
6y ago
Yeah this approach is definitely way nicer with some tooling support. For example https://github.com/cashapp/sqldelight for Kotlin integrates with IntelliJ to provide ctrl+click navigation (see gif in their readme), an
18.
▲
by
stux
6y ago
Dart’s FFI is still stabilizing, but there’s a small example here https://github.com/brickpop/flutter-rust-ffi