Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jononomo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
361.
▲
by
jononomo
3y ago
Why not just do it better with functional programming, though?
362.
▲
by
jononomo
3y ago
They both have one space. This forum eliminates double spaces after periods that end a sentence, thereby degrading readability.
363.
▲
by
jononomo
3y ago
When you hold on to someone's money for an extremely long time, do you earn any interest on that money?
364.
▲
by
jononomo
3y ago
Why would a million objects be any better?
365.
▲
by
jononomo
3y ago
Once I got the hang of Elixir/Erlang it was just such a weight off my shoulders, honestly. Programming without entire classes of bugs is so much nicer.
366.
▲
by
jononomo
3y ago
> Um, no. Almost all real programs have mutable state, and the state has to live somewhere. The state lives in the process and you can have millions of processes if you'd like. If you want to get some bit of state then just send a
367.
▲
by
jononomo
3y ago
Python libraries make use of modules (i.e., Python files) all the time.
368.
▲
by
jononomo
3y ago
In my experience, people who really like object-oriented programming just haven't yet gotten the hang of functional programming.
369.
▲
by
jononomo
3y ago
You don't have to use __init__.py -- you can just create any python file and it will be a module. And I'm not sure why you think that's unergonomic. If you want a bunch of functions to share the same namespace, just put them
370.
▲
by
jononomo
3y ago
This is the truth. The entire OOP paradigm is just a profound misunderstanding of how the world works.
371.
▲
by
jononomo
3y ago
Python uses modules to namespace functions.
372.
▲
by
jononomo
3y ago
In my opinion you're not really doing object-oriented programming unless each object is also a separate process. This is why the best object-oriented programming uses functional programming languages and the actor model (i.e., Erlang)
373.
▲
by
jononomo
3y ago
Dan Ariely is another person in this space who has been spouting BS (he is mentioned in this article). I remember when Ariely used to make the news on a regular basis and I'm glad that he's dropped off the face of the Earth.
374.
▲
by
jononomo
3y ago
Sheesh, these kind of environmental pollution problems can have a detrimental effect on entire populations of hundreds of millions of people. It doesn't seem like a fine is the correct category of punishment here. Doesn't it seem
375.
▲
by
jononomo
3y ago
I had not heard of him either.
376.
▲
by
jononomo
3y ago
If you like ruthless simplicity you should try functional programming.
377.
▲
by
jononomo
3y ago
Django is so boring, stable, and well-understood, and there are so many solid code examples, that ChatGPT is basically a super-powered coding assistant when you're working in Django.
378.
▲
by
jononomo
3y ago
My point is that they started with vanilla PHP and then had the most successful scaling story of all time -- so if someone else wants to follow in their footsteps then they should go with what is tried and true.
379.
▲
by
jononomo
3y ago
Python is the fastest language in the world if you count in human brain cycles. You should only worry about CPU cycles after you've made your second million.
380.
▲
by
jononomo
3y ago
Honestly, the only kind of re-writes I respect are when someone decides to rewrite something written in the hot new tech and uses 2005-era PHP instead. I recommend solid tools that have been proven to scale to billions of users.
381.
▲
by
jononomo
3y ago
I remember when I used to rewrite stuff before fully understanding the drawbacks of what I was rewriting it in.
382.
▲
by
jononomo
3y ago
You're telling me that they chose to build with PHP and had the most successful scaling story of all time?
383.
▲
by
jononomo
3y ago
While you're technically correct that they aren't running vanilla PHP, the main takeaway here is that if you want to ultimately want to scale to billions of users then you should probably use vanilla PHP, or maybe Python.
384.
▲
by
jononomo
3y ago
Sheesh, relax, dude. Python is a perfectly good language.
385.
▲
by
jononomo
3y ago
There is a reasonable explanation for the origin of life: a creative God. As for Zeus vs Allah, etc, I'm just not interested. Everyone knows God has ten thousand times ten thousand names and is in any case beyond our comprehension. O
386.
▲
by
jononomo
3y ago
Thank you. The fact that it cannot be true that "life exists and no god exists" sums up the situation perfectly. We can determine the truth of this statement empirically due to our understanding of information science, entropy, c
387.
▲
by
jononomo
3y ago
Apparently there are records of a loud noise being heard as far away as Timbuktu in the 12th century.
388.
▲
by
jononomo
3y ago
Airports are not much nicer than they were before -- at least not in the US. Also, the fact that friends and family cannot go through security basically outweighs any number of luxury goods stores dotting the terminals.
389.
▲
by
jononomo
3y ago
The existence of life is a straightforward and definitive proof for the existence of God.
390.
▲
by
jononomo
3y ago
Yes, the "money talks, bullshit walks" perspective is what is kicking atheism out the door. The existence of life is absolutely overwhelming proof of the existence of a creative God. I suggest you read the book "The Stairway
More ›