HN user

srssays

337 karma
Posts0
Comments118
View on HN
No posts found.

The US hardly lacks collectivism, it is merely on an incomprehensibly grand scale. Pay your taxes and the state will help you, evade them and the state will punish you.

Certain African countries are strongly individualistic. The state is too weak to help or punish anybody. Infrastructure crumbles, crime and slavery abounds.

You seriously don't want to visit let alone live in a country that lacks collectivism.

Lispers 9 years ago

Linked lists are a very convenient and surprisingly universal data structure, but they really shine wherever you have a recursive algorithm. Which is, in the languages mentioned, almost all the time.

Linked lists were way ahead of their time. Nowadays everything is so fast that we can probably use them without guilt, but there is still a sense of disgust associated them.

!! is an extremely common idiom, across multiple different programming languages.

Code should be written so that it is understandable by other professional programmers, not people who started programming two weeks ago.

C++ is somewhat of a low bar, because of the state of the art in package management in C++ land is "download a header-only library". C++ does have sum types in the form of boost::variant, but boost is an abomination.

The danger to Rust is that for many projects it wins by default because the alternative languages are immature, rather than because its performance/security capabilities are actually worth the productivity trade-off compared to other languages.

Once Swift matures a bit, it will take a lot of the lustre from Rust.

People who change their religion are often disowned by their family, their spouse might divorce them, etc. It can in no way be considered a choice.

Software is written better.

In the past, computational complexity was lowered by arbitrary size limits. e.g. if you had a O(n^2) algorithm you might cap n at 10 and now you have a O(1) algorithm. Job done.

Now, computational complexity is lowered by aggressive use of indexing, so you might lower your O(n^2) algorithm by putting a hash table in somewhere, and now you have an O(n) algorithm. Job also done.

The practice of putting arbitrary size limits on everything has almost died out as a result.

Chilies are popular around the world for exactly this reason, that you can take cheap ingredients and, with some chilies, create an appetising meal.

Because Britain lacks a (good) cuisine of its own, we tend to eat exclusively the food of other countries, and those dishes are often spicy.

"good" and "bad" are comparisons, not quantifications. The correct question is something like: all else being equal, what is the difference in expected lifespan between a juice drinker and a juice abstainer?

I'm pretty sure that HN has consumed more of my lifespan than any diet could compensate for.

Societal collapse doesn't have to mean going back to the stone age, it could mean e.g. the Iranian revolution. Or for a contemporary example: the Syrian civil war.

Even Spain was a dictatorship until 1975. Everybody should consider the possibility that their society will collapse, even if they choose to do nothing about it.

How do you pay for tickets in Vienna then?

I kind of like the barriers, if you are on the station platform, then you have definitely paid. For me, the stations that don't have barriers are more stressful, as you run the risk of forgetting to tap your card (or the tap not registering) and incurring a maximum fare.

Laptops won over tablets. The whole post-PC era just isn't happening. That is Apple's problem, they're stuck in the year of 2010 and can't escape.

Nowadays, people want to have a phone and a laptop. Tablets are dumbed-down computing devices, for kids, the elderly, or as toys for the rich.

2017 Camera News 9 years ago

The physical resolution of the screen is 2880x1800.

The scaled resolution modes work by rendering at 2x then downsampling. So in the mode you quote it is actually rendering at 3840x2400 (!!) then downsampling, but there's still only 2880x1800 physical pixels.

You're ignoring the quality of the teacher. If you learn remotely, you can learn from good (or at least adequate) teachers, at a pace that is right for you.

I wish that resources such as Khan Academy existed when I was at school. I don't know about you, but many of my high school teachers barely understood the material they were teaching.

Programming sucked before HTTP+JSON became the lingua franca of machine communication. Being able to use any programming language with modern HTTP-based protocols is a real luxury.

Before, you could only use a programming language if had a production-ready implementation of the protocol you wanted to speak. Otherwise you would spend the next weeks or months tediously writing one.

This was so crippling that XML actually seemed like a good idea. Just imagine!

Electron is great for user experience. Compare to something like JetBrains' IDEs which are written in Java and are much less native feeling than Atom (and just as resource-hungry).

For a counterexample see Brexit. The FTSE 100 went up after Brexit, when other economic indicators were negative, because it primarily contains large multinationals which are insulated from the local economy.

So a stock market index is only correlated with the local economy if there are few multinationals.

Fast Python loops 9 years ago

According to archive.org this essay is from at most June 2006, which would put it at Python 2.4 or earlier. The specific performance characteristics of Python will have changed greatly in the intervening period.