Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Tainnor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
301.
▲
by
Tainnor
2y ago
> The Arab spring was a populist uprising. It's not clear that there were actually positive outcomes Tunisia is now arguably better off, but even beyond that: the longterm effects of such things aren't always immediately appare
302.
▲
by
Tainnor
2y ago
Thanks for your help, I didn't mean to attack you.
303.
▲
by
Tainnor
2y ago
Ok what was the point of that? It just needlessly degrades an otherwise informative post.
304.
▲
by
Tainnor
2y ago
> Rahzrengr gur havba nf sbyybjf: svefg vgrz bs svefg frg; frpbaq vgrz bs svefg frg, svefg vgrz bs frpbaq frg; guveq vgrz bs svefg frg, frpbaq vgrz bs frpbaq frg, svefg vgrz bs guveq frg; rgp. Vg’f snveyl boivbhf gung guvf jbexf, ohg vs
305.
▲
by
Tainnor
2y ago
I can't agree more, I was dying this death a thousand times over at my last job.
306.
▲
by
Tainnor
2y ago
> These would be just as traceable in your IDE/debugger. A debugger can trace a single execution of your program at runtime. It can't statically verify properties of your program. If you pass state to your functions explicitl
307.
▲
by
Tainnor
2y ago
> What most people want from concurrency (like computing the response to independent HTTP requests) can be done by separate processes OS processes are way too heavyweight for many use cases.
308.
▲
by
Tainnor
2y ago
> Except, due to the takeover of workplaces by the best practices cult, instead of reasoning about tradeoffs on a case by case basis (which is the core of coding and software engineering), we ascribe a sort of morality to programming con
309.
▲
by
Tainnor
2y ago
> Surely if you can mutate a state object and pass it, its state can get mutated equally deep within the codebase no different than a global, no? Yes, that's one reason why shared mutable state should IMHO be kept to a minimum and i
310.
▲
by
Tainnor
2y ago
If the discussion here is meant to be solely about JavaScript, then I'll happily consider all my comments in this thread to be obsolete, since I don't have particularly strong opinions about that language since I don't use it
311.
▲
by
Tainnor
2y ago
These methods existed. The problem was that when you added some code somewhere deep down in layers of layers of business code, you never knew whether the code you'd call would need to access that information or whether it had already p
312.
▲
by
Tainnor
2y ago
I got into this argument with my former coworkers. Huge legacy codebase. Important information (such as the current tenant of our multi-tenant app) was hidden away in thread-local vars. This made code really hard to understand for newcome
313.
▲
by
Tainnor
2y ago
And do you always know beyond any reasonable doubt that your code will be single-threaded for all time? Because the moment this changes, you're in for a world of pain.
314.
▲
by
Tainnor
2y ago
> If you run the code you'll see 1 2 3 4 3 printed instead of 5. I'm really confused, as this behaviour appears to be completely obvious to me.
315.
▲
by
Tainnor
2y ago
There's a driving school called "Autoescuela Super Mario" on Lanzarote (Canary Islands). They're using a lot of Nintendo's branding (fonts, etc.). Somehow I can't imagine that Nintendo agreed to that though.
316.
▲
by
Tainnor
2y ago
Very few people use HM type systems even today, though. I think it really is worth considering that Java effectively didn't have sum types until, I think, version 17, and nowadays, many modern and popular statically typed languages hav
317.
▲
by
Tainnor
2y ago
They're picking the US as an example because the person who started this discussion was saying that the European model is in their view unsustainable. It's possible that that person wants to change Europe into Singapore or somethi
318.
▲
by
Tainnor
2y ago
The system that Bismarck established in the 19th century "only works for a single generation" - sure.
319.
▲
by
Tainnor
2y ago
It's not just a "negative view on overtime", there are also very strict laws around the amount of overtime, how much rest you need between workdays and compensation.
320.
▲
by
Tainnor
2y ago
Slovakia under its current government is literally the second-most anti-EU country of the EU (after Hungary - though maybe Austria will soon follow suit), so I'm not sure if that illustrates your point well.
321.
▲
by
Tainnor
2y ago
> A typical Hacker News denizen is someone within the US IT industry. You'd be surprised. I never said that the EU isn't in need of a reform, just that I wouldn't trade the American problems (opiod crisis, mostly non-walka
322.
▲
by
Tainnor
2y ago
Or by Europeans that don't care for the 1000th clichéd "EU bad, America good" debate which invariably attracts low-quality comment as is immediately evident. The comment starts with "let's face it", as if what
323.
▲
by
Tainnor
2y ago
> But for a typical Hacker News denizen, moving anywhere to the high-taxation domiciles of Europe would mean a major loss of income and worsening of many services. What's a "typical Hacker News denizen"? Not everyone is dr
324.
▲
by
Tainnor
2y ago
If that were true, then I hope the laid-off people kept a paper trail because there's actual laws protecting them in such a case.
325.
▲
by
Tainnor
2y ago
It's not "exactly the way it is" everywhere, though. I've worked at companies that, whenever they laid someone off, they were honest and upfront about it without playing any psychological tricks. Not every company has to
326.
▲
by
Tainnor
2y ago
At no point does the law force a company to fire a high performer. The company can literally just fire one fewer person - if the employee really is 10x and if the company has its shit together, that's what would happen.
327.
▲
by
Tainnor
2y ago
I was working for a German startup that had been acquired by a big American company. The relationship between my team and the big corp was strained from the start - we felt that they simply didn't understand what we did and didn't
328.
▲
by
Tainnor
2y ago
Spanish has definite and indefinite articles like English, so at least the concept is not unknown. However, even then, the correct usage is sometimes really arbitrary and varies across languages, e.g. why is it typically "mankind"
329.
▲
by
Tainnor
2y ago
Poles, Czechs etc. also do this and IMHO, their accent sounds quite different from the Russian one.
330.
▲
by
Tainnor
2y ago
I don't know Rust well, is this what's known as a query builder in Rust? That's weird to me, because in other typed languages that I know, query builders are typically typesafe and don't just concatenate strings (see e.g
More ›