Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wizofaus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
751.
▲
by
wizofaus
4y ago
Written by programmers who live in their parents' unheated/non-airconditioned basements?
752.
▲
by
wizofaus
4y ago
Why is almost every reply to this from a new HN poster? (I'm genuinely baffled...)
753.
▲
by
wizofaus
4y ago
"Deep down we all know it's bad" Really? I have never felt that way about social media (esp. Fb), it's only the studies demonstrating the harmful effects that have convinced me that, at least in their current incarnation
754.
▲
by
wizofaus
4y ago
Except Facebook has since been observed as having deleterious effects on mental health even before it was available to the public, and you'd be hard pressed to describe the Facebook of that period as a malicious company hijacking our e
755.
▲
by
wizofaus
4y ago
Yes I gathered, but in reality there's not an infinite number all produced in equal quantities. I'm curious how much it might change how many meals you'd need to buy if it was a limited production run, and even whether the t
756.
▲
by
wizofaus
4y ago
Doesn't it depend on the #/ distribution of coupons printed/toys manufactured though? To take an extreme example if there are 4 different toys and only 10 of each are manufactured, then the probability of getting 4 all the sa
757.
▲
by
wizofaus
4y ago
They may eventually. And no, it's not a long term global solution, but it buys enough time to avoid the worst impacts in a real demographic crunch. You are right though that, for instance, the outflux of healthcare works from countrie
758.
▲
by
wizofaus
4y ago
Even if India's per capita GDP has largely caught up, there'd still be a substantial underclass of young workers who are likely to be attracted by higher incomes they could get in China, given the differences in income distributio
759.
▲
by
wizofaus
4y ago
I'd imagine China will indeed start to pull out all stops to attract younger migrants at some point, and I'd guess many may even come from India, and certainly from large countries with high fertility like Nigeria. But sure, it ca
760.
▲
by
wizofaus
4y ago
> for almost all human history working all a day was the norm. References for that? Didn't they do studies showing that e.g. hunter-gather type tribes such as Kalahari bushmen had about the same amount of downtime as modern Westerne
761.
▲
by
wizofaus
4y ago
There's very few countries in the world with tax systems like that - even Estonia I believe has some tax free threshold, such that the first $x of your income is not taxed (then a flat rate of 20%). Sure, if your income was massively a
762.
▲
by
wizofaus
4y ago
Sure, I was including the language barriers and the challenges of getting job offers and maintaining stable employment. I wouldn't consider Australia a country it's particularly easy to get a PR Visa for but if you have any experi
763.
▲
by
wizofaus
4y ago
By deliberately preventing or de-prioritising access, perhaps not. But at some point if you have more grandmothers needing hip replacements than they are health care workers able to perform the procedure and provide post-operative care, so
764.
▲
by
wizofaus
4y ago
Perhaps but by any objective ranking it's much harder to get a permanent Visa to work in Japan that your average developed nation. I assume south Korea's similar. I don't see either nation has any choice but to accept more m
765.
▲
by
wizofaus
4y ago
Bringing in younger migrants from countries still growing in population to help look after our elderly is probably the only realistic one (we already do that pretty heavily in Australia despite population growth). At least there's not
766.
▲
by
wizofaus
4y ago
Why would anti-immigrant voices gain power with a falling population?
767.
▲
by
wizofaus
4y ago
Your last sentence was that "there are fewer things you need to worry about in C". Which doesn't follow from c++ being a more complex/powerful language.
768.
▲
by
wizofaus
4y ago
Surely in that case x[0] is the object "behind" the pointer (assuming adding 1 puts you ahead!). But using the orginally intended meaning of "behind" here, logically there is no object at all...
769.
▲
by
wizofaus
4y ago
Almost any C library function that deals with strings is going to be more complex to use due to the lack of automatic memory handling, necessary for any use case where the max. size isn't sufficiently well-known at compile time for it
770.
▲
by
wizofaus
4y ago
I don't doubt that can be true - but there are plenty of common operations like concatenating strings or converting between strings/numbers that are a good deal simpler to write and understand in C++ than they are in C. In partic
771.
▲
by
wizofaus
4y ago
The last sentence doesn't really follow from the previous one. C++, like other higher level languages, has complexity built in because it takes care of things that in C you have to take care of yourself. I can't imagine any serio
772.
▲
by
wizofaus
4y ago
"Some non-zero multiple of sizeof(double)", surely?
773.
▲
by
wizofaus
4y ago
That anyone would think 2 years is a long time for a part not to need adjustment is a symptom of 21st century thinking surely. I'd also suspect you're not riding 100s of km of hilly terrain every week (I do, and have definitely n
774.
▲
by
wizofaus
4y ago
"Duh-rail-yer" is the only pronunciation I've heard, which is presumably some sort of half-hearted attempt to keep it sounding "foreign" without using phonemes that most English speakers would struggle with (particu
775.
▲
by
wizofaus
4y ago
I'd even say ANY 5000-line function can always be improved by breaking it up into 1000 5-line functions, but it would be rare that would be the ideal way to rewrite it either.
776.
▲
by
wizofaus
4y ago
If by "arbitrarily" you mean "at east 4/5 line boundary", perhaps, but in that case it's virtually impossible to give the smaller functions meaningful names. Personally I wouldn't tick a PR with functions
777.
▲
by
wizofaus
4y ago
Spinach is one of the most consumed veggies globally (#8 or #9) and has no emoji. And WhatsApp at least has no emoji results for "chili"/"chilli" - you have to search for "pepper". But there's no emoj
778.
▲
by
wizofaus
4y ago
Have you worked with 5000 line functions? Just trying to set breakpoints in them at meaningful points is a nightmare. Give me 1000 5-line functions any day - providing of course they have sensible names (and ideally don't cause unexp
779.
▲
by
wizofaus
4y ago
Everything you describe is exactly why I would never care to live in a city designed for cars over people, of whom some will use cars from time to time.
780.
▲
by
wizofaus
4y ago
If you're somebody who's happy to stay based in a low density suburban area for all your daily needs (i.e. no regular travel to a downtown/ inner urban area) then I'd agree, it's pretty hard to see the advantages of
More ›