Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
munch117
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
271.
▲
by
munch117
5y ago
https://www.ordlig.se/
272.
▲
by
munch117
5y ago
You may be right on the main point, but I have a quarrel with one of your arguments. > Put that in a non-proportional font, and the asterisks on the first line probably won't line up with the rest. So lose the redundant asterisks.
273.
▲
by
munch117
5y ago
The CS answer: bottom, bottom and bottom. The static typing answer: type error, type error and type error. The dynamic typing answer: exception, exception and exception. The philosophy answer: category error, category error and category err
274.
▲
by
munch117
5y ago
Sure. Fossil fuels are valuable to society. They made the industrial revolution possible. If they were to disappear tomorrow, much hardship would ensue. They are, however, overused, because the negative externalities are not properly acc
275.
▲
by
munch117
5y ago
The 'positive externalities' of fossil fuels are already accounted for in our economic system: When mining for raw materials, the price that the miner is paid in the first sale is payment for that. And ditto in every subsequent s
276.
▲
by
munch117
5y ago
You mean deca, not deci.
277.
▲
The Keys to the Kingdom
(queue.acm.org)
2 points
by
munch117
5y ago
|
0 comments
278.
▲
by
munch117
5y ago
I suggest you talk it over with your doctor first.
279.
▲
by
munch117
5y ago
Also Mark Twain: "I never write metropolis for seven cents because I can get the same price for city."
280.
▲
by
munch117
5y ago
If you ignore the compiler warning. This is trivial for the compiler to detect.
281.
▲
by
munch117
5y ago
> cpp -I. src/foo.cc | grep '^# ' | sed 's/^[^"]"//;s/"[^"]$//' | sort | uniq | grep -v \< So how would you change that incantation to accommodate C++
282.
▲
by
munch117
5y ago
It would be nice to see something like that standardised so you could use it in portable code. It doesn't solve the problem though. You still need to write some code for what to do if there's an overflow, and you need separate han
283.
▲
by
munch117
5y ago
You're right, that wasn't well phrased. What I meant is that make doesn't have special code to handle "gcc -MD" output. gcc is adapted to the needs of make, not the other way around.
284.
▲
by
munch117
5y ago
The reason I've always preferred unsigned is that it's easier to write code that is correct for the full input domain. Consider for example: extern void g(int); void f(int x, int y) { g(x - y); } The function f
285.
▲
by
munch117
5y ago
Make doesn't understand gcc -MD output. Make has stayed basically the same for half a century. There's nothing language-specific in make. For example, when C++ was invented, nothing needed to be added to make, because the gener
286.
▲
by
munch117
5y ago
If the compiler and the build system is an integrated product, then right, this shouldn't be too hard. But that's not usually the case. If they're not, what's the interface for the initial build step? Is it still somet
287.
▲
by
munch117
5y ago
That is very easily solved by not using modules for those things that cause issues, or by using a module facade over traditional C++. For your example, you could make a 'foo' module that pulls in an implementation from a traditio
288.
▲
by
munch117
5y ago
It doesn't have a CPU emulation layer, but that doesn't mean it's not a emulator. The name always stood for "WINE Is Not an Emulator", I'm with you on that. Self-referential acronyms were extremely fashionab
289.
▲
by
munch117
5y ago
> It's not; the ship has sailed (to the moon!). May I ask you how you know that? Language is very much dependent on context; social groups, fashion etc. Your experience might not be as universal as you think. Note that I'm n
290.
▲
by
munch117
5y ago
The "crypto" part of the word "cryptocurrency" is short for "cryptography". If instead "crypto" is short for "cryptocurrency", then it would follow that "cryptocurrency" is short f
291.
▲
by
munch117
5y ago
The type of carbs matters. I wonder how much of the carb demonization here is really code for high-glycemic stuff like cereals and bread, in particular sugary American bread. If the carbs you eat in the morning are slow carbs, then there&#
292.
▲
by
munch117
5y ago
Your idea doesn't solve the problem. By the time the lock acquirer is pre-empted and the kernel has a chance to do something clever, a significant fraction of a timeslice has already been wasted.
293.
▲
by
munch117
5y ago
s/tty/repl/g
294.
▲
by
munch117
5y ago
It's not the same algorithm: That code completes all 200 iterations unconditionally. For some parts of the input domain, the numpy speed-up is enough to compensate and make it faster anyway, but for other parts it will be slower.
295.
▲
by
munch117
5y ago
Much of the difference is due to rewriting complex numbers into pairs of floating-point variables. Probably because Lua doesn't have complex numbers? The same rewrite in Python would not speed things up, it would slow things down. It&
296.
▲
by
munch117
5y ago
Means and ends. If your means are complex, but the ends you are achieving are simple, then you're not getting good value for money. If I am to abide complex syntax then I'd better get sophisticated, powerful semantics in return. H
297.
▲
by
munch117
5y ago
I don't understand how you can say that. Markdown is massively more complicated than the equivalent HTML. HTML syntax is simple: Every gizmo is expressed as a <tag> and optionally an end </tag>, there are escapes for
298.
▲
by
munch117
5y ago
This is why I only ever run PyLint with the -E option, which makes it focus on diagnosing actual bugs. I am concerned about the trend in Python open-source projects to consider any deviation from their machine-checked coding style a bug. T
299.
▲
by
munch117
5y ago
Pfizer-BioNTech has been approved in the EU since December 2020. Fully approved that is, not experimental, not emergency use. That it's still on emergency use in the US is puzzling. But as anyone who's been through a formal appr