Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ivanhoe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
109 ms
·
511.
▲
by
ivanhoe
7y ago
I've seen people over-engineering a piece of code in order to make it "flexible" enough to be able to reuse it in like 2-3 scenarios that are not really well aligned - all in the name of making their code super DRY. Sometimes
512.
▲
by
ivanhoe
7y ago
> I prefer to bring people in and have them pair with people on real things, that are really happening, that are entirely representative of the real work and the real team dynamics. That should be the most important test, but most of the
513.
▲
by
ivanhoe
7y ago
I've started more and more using help to find items in big menus quickly, it's actually pretty neat macOS feature...
514.
▲
by
ivanhoe
7y ago
> I think their "ribbon" UI has been a good step away from giant crazy menus. When you discuss UX you always have to be aware that you have two very distinctive populations with very different expectations: new users and old us
515.
▲
by
ivanhoe
7y ago
> naive developers (and experienced ones that should've know better) just moved onto mysqli_* or PDO and still used string concatenation with raw inputs, instead of learning how to parameterise their queries. True, I stand corrected
516.
▲
by
ivanhoe
7y ago
I thought that these type of arguments are stupid, like why would I need to hang out with people in an office, I've got my buddies for that after work. Later I moved to another country where I knew no one beside my wife, and then I rea
517.
▲
by
ivanhoe
7y ago
But that's not a thing for 15 years or more? PDO was added around 2005, and even before that anyone in their right mind used mysqli extension for prepared statements. Since 2012 you can't even use the mysql extension without getti
518.
▲
by
ivanhoe
7y ago
So Tailwind is basically a Bootstrap without the hard-coded default styles, and then you add the UI theme like this. Do you then just end up with a different looking Bootstrap, or it still has some other benefits?
519.
▲
by
ivanhoe
7y ago
Classic question is what happens if you decide to change all gray text with the blue one? Do you end up having the class named text-gray that is setting text to blue, or you search & replace class names...
520.
▲
by
ivanhoe
7y ago
I live by a "night owl" rhythm, but my feeling is that the real reason behind it is that my sleep cycle has just never been really adjusted to the 24 hours days. For me a perfect day would be somewhere between 28 and 32 hours, and
521.
▲
by
ivanhoe
7y ago
"prohibiting the illegal wildlife trade" This site is in bad need for a proofreader...
522.
▲
by
ivanhoe
7y ago
Unit testing is not just about catching errors while you build the code, it's (and much more) about being able to catch errors at any time. Now, tomorrow, in 2 weeks, by someone else trying to refactor something in 10 years from now. R
523.
▲
by
ivanhoe
7y ago
get an open top aquarium, it's much more rewarding and efficient way to increase the humidity of a room
524.
▲
by
ivanhoe
7y ago
What kills those products is not the bad code itself, it's the side-effects piling up: added dev expanses, lagging behind the competition in adding new features, performance problems as app grows, etc. Badly written code is simply more
525.
▲
by
ivanhoe
7y ago
Well engineers love to nitpick over stuff that we know will bite us in the ass in a few years. The most wonderfully architected set of business rules is of little help if it takes weeks to debug and it's impossible to refactor and add
526.
▲
by
ivanhoe
7y ago
I worked 4 days a week on one project that lasted 14 months. It's really great for motivation and productivity. I actually started to enjoy Mondays first time in my life, and I'd be coming to work full of inspiration. The downside
527.
▲
by
ivanhoe
7y ago
It's still widely perceived as "red" both by the general population and in media. The fact that it still has autocratic one-party system is seen as a proof of communism, while the truth is that they actually implement very fe
528.
▲
by
ivanhoe
7y ago
Another proof that China is now much more running a 19th century kind of exploitative capitalism, than communism.
529.
▲
by
ivanhoe
7y ago
What happens if you shut down the service, are there any guarantees on availability? How can I export my data and could I import it somewhere else reasonably easy?
530.
▲
by
ivanhoe
7y ago
Europe is a whole damn continent, so no, it's not true. It's not true even for the entire EU. I happen to live in Croatia which is in EU, and I know first hand that in Romania and Bulgaria health system situation is even worse, as
531.
▲
by
ivanhoe
7y ago
You can, but you need to think about it ahead. And no one expects the Spanish inquisition...
532.
▲
by
ivanhoe
7y ago
Problem is that sometimes you have to wait even for actually critical things - friend's mom waited almost 2 months for her cancer operation. In US if you've got money you're more or less covered, while in Europe the differenc
533.
▲
by
ivanhoe
7y ago
I agree with you, but I don't see that as "regulating the Internet" (which is the idea I don't like at all), because: 1) you're really just aiming to regulate the selective censorship (which is in a direct relation
534.
▲
by
ivanhoe
7y ago
> The only reason I'm posting here is because this is where your message can reach people Actually you're posting it here because this is where it can reach the niche group interested in the subject, and that you're also
535.
▲
by
ivanhoe
7y ago
Browsing randomly through the content I've noticed that you're discussing impedance, capacitive/inductive loads and transitional states in the DC section (and also fairly early in it). I think it'd be way easier to grasp
536.
▲
by
ivanhoe
7y ago
In my time this was basically a distinction between an engineer and a technician - technicians generally having a lot more practical experience, but lacking in the theory, while fresh out of Uni engineers knowing the theory well, but lackin
537.
▲
by
ivanhoe
7y ago
To me this sounds horrible, on the level of mandatory yoga classes or whatever is now popular HR move which eventually drives away all introverts in your company... Why not just slow the things down a bit? That's what I like to do with
538.
▲
by
ivanhoe
7y ago
These are all valid points, but IMHO these fall under fine-tuning for max. performance when you're already fairly efficient. For us struggling with basics one thing that helped me a lot was to shift the focus from micro-optimization of
539.
▲
by
ivanhoe
7y ago
It might not be significant to a baby, but it surely is significant for the mother (presuming dad helps her, and not just sits around the house), and less stressed-out mothers are in turn good for babies and the family in general.
540.
▲
by
ivanhoe
7y ago
It's not about communism but the centralized absolute power. When government is the one and only player in the game, it makes all the calls and can fully control all the aspects and plan every detail of peoples lives, construction, org
More ›