Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
efaref
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
efaref
4y ago
Automatic triggering seems like a recipe for disaster. My car has a version of this that shows the current speed limit on the display. It is frequently wrong. A road near me shows up as 20mph despite being 30 or 40 in different parts. Other
32.
▲
by
efaref
4y ago
Tabs are implementation defined control characters. I don't want to say you can't use them, but if you do, then I get to use BEL. ;)
33.
▲
by
efaref
4y ago
Why is that weird? Procedural macros are compiler plugins. They get compiled for the platform you're building on , not the one you're building for , and so they need to be a separate compilation unit. In Rust, the crate is th
34.
▲
by
efaref
4y ago
It's not necessarily a "re-"throw. It could just be a throw of a newly detected error, like: try { if bad_thing { do yeet Error::new(...); } carry_on() } Just plain "thro
35.
▲
by
efaref
5y ago
> Alas, counting in macro by example is possible, but not trivial. It's not stabilized yet, but RFC3086[1] introduces macro metavariable expressions, which make counting trivial! The example macro becomes: macro_rules! define_
36.
▲
by
efaref
5y ago
Most countries have key disclosure laws[1] which require you to provide keys or passwords to law enforcement. Not being able to remember the password is not a defense unless you can somehow prove it (which is impossible), and people can an
37.
▲
by
efaref
5y ago
What a wonderful use of licence fee money. /s
38.
▲
by
efaref
5y ago
Land. Billionaires own thousands of empty luxury apartments in city centres, while the poor people who clean them travel in from the outskirts. And billionaires do effectively hoard things like rice. That's what the futures market they
39.
▲
by
efaref
5y ago
On Chrome on Android (whatever is latest on the Play store) in portrait mode, the bottom letters are off the bottom of the screen. If I rotate everything is small but I can see it.
40.
▲
by
efaref
5y ago
Internet connections cost poor people nothing in 1970 because they weren't necessary and could happily live their lives without one. The real item we're looking at here is *communication*, which was cheap: the stamp you needed to
41.
▲
by
efaref
5y ago
In most countries doctors and other health professionals are registered and licensed, and must submit to strict examinations. Mistakes can also be career-ending and potentially result in criminal prosecution. It's way harder to get hir
42.
▲
by
efaref
5y ago
> Could they *advertise* an upcoming festival Yeah, that's an ad. It's even in the sentence.
43.
▲
by
efaref
5y ago
Coming soon: TVs with 5G cellular access (sold as a feature) so don't even need to input your wifi. ( https://www.tvtechnology.com/opinions/five-ways-5g-will-chan... )
44.
▲
by
efaref
5y ago
The goal is to track the relative price of goods consumed (the "Consumer Prices Index"). But if the way you're doing that basically ends up as "everyone is spending all of their wages", then your numerical value deg
45.
▲
by
efaref
5y ago
The key part is in "obtain a basket of goods". The ONS (UK statistics) are quite open about how they do this: https://www.ons.gov.uk/economy/inflationandpriceindices/arti... Specifically: > For exampl
46.
▲
by
efaref
5y ago
Avoiding jmp in assembly is a sensible thing to do. jmp may stall the pipeline if the branch predictor is wrong. Better to use cmov when you can. And if we're being silly, you only really need mov[1]. [1]: https://github
47.
▲
by
efaref
5y ago
In the UK, pretty much anywhere that uses electric heating will be resistive: either night-time storage heaters or just straight-up electric radiators. Heat pumps are still exceedingly rare.
48.
▲
by
efaref
5y ago
That's the idea. In practice you need to be careful as a failure mode of introducing UBI is it being used as an excuse to cut benefits without an adequate replacement. For example, a reasonable stepping stone would be for people to ge
49.
▲
by
efaref
5y ago
I think we can always manage to let people starve.
50.
▲
by
efaref
5y ago
Functionally they're equivalent. In a UBI/negative-income-tax schenariom things like food stamps also shouldn't be cut off at a simple threshold, but instead factored in at your marginal rate. If your marginal rate is alwa
51.
▲
by
efaref
5y ago
cut usually doesn't do what you want it to do. Most of the time you want to split on sequences of whitespace (which may or may not be tabs, it's not easy to tell from the output of the program). cut doesn't let you do this,
52.
▲
by
efaref
5y ago
For an article about communicating clearly, it was pretty poor at communicating clearly.
53.
▲
by
efaref
5y ago
IntelliJ with "Build in background" enabled? https://www.jetbrains.com/help/idea/executing-build-file-in-...
54.
▲
by
efaref
5y ago
You're not just viewing it. You're opening it in an IDE which compiles it behind the scenes for you. Many IDEs also do this for other languages (e.g. by running make), and the same problem applies.
55.
▲
by
efaref
5y ago
I never understood why people ever put memory upside down on diagrams. In fact, I think the only time I see diagrams with F at the top and 0 at the bottom is in explanations of the stack, or in explanations of how "the stack is so weir
56.
▲
by
efaref
5y ago
Exactly. People say they want freedom of speech, but really they want the ability to say whatever they want while also having the ability to punish others for saying things they don't like. Similarly, people say that some countr
57.
▲
by
efaref
5y ago
In the UK we have limited freedom of expression (under S10 of the Human Rights Act 1998), which is much more narrowly defined, and even then subject to many restrictions and limitations (libel, court privilege, hate speech, and more).
58.
▲
by
efaref
5y ago
So "freedom of speech" is where you can say what you want, except that if you say the wrong thing to the wrong person, then there are potentially serious repercussions, up to and including imprisonment. I'm curious to know wh
59.
▲
by
efaref
5y ago
If freedom of speech is so limited, does it even exist as a freedom anymore? You could say I have the "freedom to take anything I want" except I mustn't take anything that belongs to somebody else. Do I really have any freedo
60.
▲
by
efaref
5y ago
You can call my fears "horse manure" if you like, but that doesn't really change the fact that I have them. Based on how I've seen some of my (now ex-)colleagues treated when they have spoken up, I don't think they
More ›