242 karma · joined Mar 2, 2013 (13y ago) · 104 submissions
comment 1y ago · link · parent
Unless you really need to scale for a ton of users, you don't have to go crazy to get decent performances out of rails/ruby. How many requests/sec are we even talking about here?
comment 1y ago · link · parent
In theory the language is slow, in practice it doesn't really matter because the db is much slower unless you're github or twitter and you really need to scale.
When you choose ruby, you trade faster dev time for slower runtime. I am OK with this trade-off 99% of the time. My dev time costs way more than a couple ms lost on my production server.
comment 1y ago · link · parent
The Kernel module is included in the Object class, which means its methods are available to every Ruby object and can be accessed from virtually any scope, including the top-level (global) context where self is an instance of Object called "main."
comment 2y ago · link · parent
Even though he's a hard worker, he has a normal 9-5 job and his income is pretty standard for a salaried worker. Knowing him, I'm sure he didn't come up with the idea himself, so I bet this is a relatively common thing to do for mid to high income baby-boomers.
I could be totally off base here, but I can see that if most people have the leverage to own 10 houses in Canada through some financial instruments with the banks this could lead to a housing bubble.
8.
Ask HN: How does Oracle db licensing work for developers?
1 points · by jfabre · 3y ago · 1 comment
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
A long time ago, I had a tendency to write comments to explain code that could be simplified. Refactoring it usually made the comments redundant.
Comments are still very useful when the why is unclear.
comment 4y ago · link · parent
comment 4y ago · link · parent
Invest in yourself however you can, that means doing some sport you love and/or go see a therapist. What I'm realizing is that I have a lot of power over how I feel, way more than I previously believed. Make a conscious effort to let go of negative thoughts when they arise.
Make sure your house is in order, it's an extension of yourself. Do whatever you need to feel satisfied, it's your life. It is a mistake not to live it the way you want to. Be kind and patient with yourself.
Good luck.
comment 4y ago · link · parent
Get good enough to be proficient and become a broad generalist. This is a much better route imo.
comment 4y ago · link · parent
1- Here's a video explaining his rationale: https://www.youtube.com/watch?v=CU5TIKTZzk4
2- Yeah, no. Elon has accomplished more than all of us and it will surely stay that way until we die. So I'm not going to tolerate you calling him a hype person, a narcissist and a terrible leader when he has a track record of immense success. He's aiming high with ambitious ideas, who cares if Hyperloop didn't work after all. Try to make a business successful and see how difficult it is.
3- You seem again, to rely on opinion hit pieces to forge your ideas.
comment 4y ago · link · parent
Peter Thiel: His contrarian views enlightened me many many times, for example his views that higher education is not a temple of knowledge anymore, but a big elitist economic bubble. I also suggest you read his book Zero to One, I liked it a lot.
Elon Musk: One could argue he's not really a thinker, since he's working so much on his businesses. Even so, it's evident that he thinks a lot and very deeply. He's willing to figure out the big picture of what's good for humanity and go all-in on it.
Rand: Her philosophy and her system of values which is in a deep contrast with what is preached everywhere else. This would be a start: https://www.youtube.com/watch?v=mQVrMzWtqgU
comment 4y ago · link · parent
I'm literally investing 40+ hours a week of my life into your company for at least the next 2 years and you think I won't vet you before accepting your offer?
You need a reality check.