Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
YSFEJ4SWJUVU6
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
YSFEJ4SWJUVU6
7y ago
The engine actually only made 150hp, but luckily there were 2 of them. Yes, they were certainly less efficient than modern engines. However, ICE engines have always had trade-offs between power output per size, mechanical efficiency and rel
2.
▲
by
YSFEJ4SWJUVU6
7y ago
That fwrite writes the contents of output to stdout . output probably contains all the output that doesn't depend on input (which this program doesn't have).
3.
▲
by
YSFEJ4SWJUVU6
7y ago
>since UTF-8 doesn’t have a “magic number” to identify itself, the convention is to use the BOM codepoint Neither does any other of the hundreds of existing text encodings. It's debatable how much of a magic number it's suppose
4.
▲
by
YSFEJ4SWJUVU6
7y ago
BOM is only a problem with strict syntaxes, which robots.txt is not an example of. If the "consumer" simply ignores invalid or meaningless lines, you can avoid issues from invisible characters by not having anything meaningful on
5.
▲
by
YSFEJ4SWJUVU6
7y ago
>A motorbike will generally [...] brake faster than a car in a straight line (mostly because it's light) That's generally not true. At best you'd roughly match an average car when balancing your weight perfectly; but typic
6.
▲
by
YSFEJ4SWJUVU6
7y ago
Yes and no. Technically that results in UB with many inputs with platforms that use a signed char type.
7.
▲
by
YSFEJ4SWJUVU6
7y ago
>Higher accuracy isn't the only reason, you'll get chronic wrist pain within a couple of months if the mouse movement comes from your wrist. Or you could just move the mouse with your fingers. Other positives include requiring
8.
▲
by
YSFEJ4SWJUVU6
7y ago
> to avoid things exploding because a zero length variable might exist is a stupid and ugly hack. That has less to do with POSIX compliance, as opposed to working around quirks with less-compliant historical implementations. Also, I thin
9.
▲
by
YSFEJ4SWJUVU6
7y ago
>10 years later, copy-paste is still a horrible user experience. Different apps use different clipboards :scream: Even for copying these commands from Firefox to the terminal with keyboard shortcuts (CTRL INSERT, SHIFT INSERT, as CTRL C
10.
▲
by
YSFEJ4SWJUVU6
7y ago
>I have to disagree about implicit functions not being a part of C anymore. I've yet to see one generate an error; This is not really a debatable matter. There's an international standard for what is, and what is not a part of
11.
▲
by
YSFEJ4SWJUVU6
7y ago
>yes some compilers don't give warnings by default for implicit functions Broken or ancient compilers. That's as much C's fault as it's Intel's fault that Windows 10 doesn't run on Pentium MMX. Implicit func
12.
▲
by
YSFEJ4SWJUVU6
7y ago
See https://git.io/JeEjB
13.
▲
by
YSFEJ4SWJUVU6
7y ago
>It might still turn out to be, if you see if you can get a faster C version of wc. You definitely can, at least if you allow manually vectorized code. On my system, with a 1.661GB file (256 times big.txt from the original Haskell post)
14.
▲
by
YSFEJ4SWJUVU6
8y ago
>We don't allow unlimited free speech, but we don't view that as censorship. Speak for yourself. I certainly think blasphemy laws are certainly way past their due date, and more extreme restrictions (e.g. like in Germany, but n
15.
▲
by
YSFEJ4SWJUVU6
8y ago
Talking about disruptive things... to provide an unconditional monetary equivalent of the benefits any unemployed people are currently entitled to (rent, minimum income, supplementary welfare) to everyone, or even every adult would by itsel
16.
▲
by
YSFEJ4SWJUVU6
8y ago
In Finland, all unemployed are guaranteed “free money” even if they choose not to seek employment. The difference from UBI is that this final security net, so to speak, only guarantees a minimum level of income – any earned wages (or existi
17.
▲
by
YSFEJ4SWJUVU6
8y ago
You can watch uBlock's logger when using the web player to see what it does. AFAIK the blocking rules are imported from EasyList. However, as far as user experience goes, I don't share your experiences at all – the web player is a
18.
▲
by
YSFEJ4SWJUVU6
8y ago
That's very unlikely to happen, ever. (Too many "int var;" out there.)
19.
▲
by
YSFEJ4SWJUVU6
8y ago
Oh, I'm certainly under no impression that nicotine might not have any health benefits, but with various inconclusive research it's hard to assess the complete picture and net effect. I think it's partly this way because nico
20.
▲
by
YSFEJ4SWJUVU6
8y ago
I don't think it's quite that clear – however, I think it is considered clear that nicotine is nowhere near as harmful as tobacco smoke.
21.
▲
by
YSFEJ4SWJUVU6
8y ago
>Trains are perfectly capable for bringing me from A to B while I am sleeping for years now. For a very limited subset of points A and B, though...
22.
▲
by
YSFEJ4SWJUVU6
8y ago
Why would you ever half-indent a block? For alignment you should of course use spaces (for whole alignment, not just the end, to be very clear).
23.
▲
by
YSFEJ4SWJUVU6
8y ago
Well, he shouldn't have, considering it's the other way around.. :-)
24.
▲
by
YSFEJ4SWJUVU6
8y ago
A dictatorship like China raising the issue over Tibet is the equivalent of (an alternative universe) powerful Nazi Germany getting someone fired in the U.S. over liking a tweet about Jewish rights issue.
25.
▲
by
YSFEJ4SWJUVU6
8y ago
First of all, I don't think we are. Also, I live in a modestly sized European city of about 650k citizens (excl. metro), and even we do have some sections of road with 4 lanes in each direction, and in intersections, even more. I'
26.
▲
by
YSFEJ4SWJUVU6
8y ago
I love how every time there's a discussion about car operating costs here, at least someone mentions oil changes as if they were a substantial part. Many European cars with a long-life oil change program have oil changes as far as 18,0
27.
▲
by
YSFEJ4SWJUVU6
8y ago
You've never seen a median-divided road that has two lanes going to each direction? Have you actually ever been to Europe?
28.
▲
by
YSFEJ4SWJUVU6
9y ago
How often? How often you'd manage to go through the intersection before the lights change, and gain even more? (edit: just to be clear, I'm not in support of speeding, however I do value good logic.)
29.
▲
by
YSFEJ4SWJUVU6
9y ago
The page breaks back button.
30.
▲
by
YSFEJ4SWJUVU6
9y ago
>Why don't they have a mortality rate affected by skin or other cancers? Do you have a source for that? A source that compares people from further North living in the Mediterranean region compared to further North for skin cancer?
More ›