Multiple cursors were the killer feature that got me to start using Sublime Text back in ~2010. Still an absolute staple of my text editing toolbox. Ctrl-D Ctrl-D Ctrl-D ...
This is already the case since parliamentary minutes are typically on the web as well. Unfortunately of course, this only includes the "official" discussions, not those taking part in corridors, offices, or lobbies... :)
> Exploring whether there's a business here — structured legislation API for legaltech/compliance, or just a useful open dataset. Curious what HN would build with this data.
Verrsioning+search is like feature zero of any law software. In many countries (such as next door Portugal) it's even part of the standard public website provided by the state. Not to diminish your effort but yeah, people have thought of that before x)
Rust has assert and debug_assert, which are self-explanatory. But it also has an assert_unchecked, which is what other languages incl C++ call an "assume" (meaning "this condition not holding is undefined behaviour"), with the added bonus that debug builds assert that the condition is true.
Notably, like most things with "unchecked" in their name `core::hint::assert_unchecked` is unsafe, however it's also constant, that is, we can do this at compile time, it's just promising that this condition will turn out to be true and so you should use it only as an optimisation.
Necessarily, in any language, you should not optimise until you have measured a performance problem. Do not write this because "I think it's faster". Either you measured, and you know it's crucial to your desired performance, or you didn't measure and you are wasting everybody's time. If you just scatter such hints in your code because "I think it's faster" and you're wrong about it being true the program has UB, if you're wrong about it being faster the program may be slower or just harder to maintain.
Evil is commiting atrocious acts for self-interest. This is a description of US foreign policy (not exclusively, of course). Killing 150 schoolchildren is unfortunately but a fraction of a drop in the bucket of atrocities committed by either the US or Israel.
That is the way of the internet unfortunately. Instead of simply appreciating something, it's important to find a criticism and voice it. That way you're 'adding' to the conversation.
I mean look back at HN classic posts like the initial Dropbox announcement and the classic: this is nothing more than a wrapper over rsync, etc.
reply