Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
OtomotO
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
301.
▲
by
OtomotO
2y ago
If postgres were worse than the alternatives I wouldn't use it. And React is worse than the alternatives. All it has going for it is the huge ecosystem.
302.
▲
by
OtomotO
2y ago
No bootcamp, university, albeit only a BSc, because I didn't feel like academia afterwards with a full time job and now I've moved on. 9 years of professional experience. Having worked and paid to do so with Java, Scala, Kotlin, P
303.
▲
by
OtomotO
2y ago
My tip: you start by avoiding React altogether. It sounds bad, but if you can, do oldschool SSR with HTMX or the like. It's sooooo much better. I was paid to develop frontends in React for 4 years, I wrote my first website in 2005... I
304.
▲
by
OtomotO
2y ago
> Developers may spend more mental energy wrestling with the compiler to satisfy memory safety constraints, leaving them with less bandwidth to focus on the actual problem their program is meant to solve. Then maybe Rust was the wrong la
305.
▲
by
OtomotO
2y ago
> Developers who become over-reliant on the compiler’s safety checks may inadvertently write poorly architected or buggy code, believing that the language’s safety features will catch more than they actually do. First off: the type syste
306.
▲
Satellite space junk might wreak havoc on the stratosphere
(sciencenews.org)
16 points
by
OtomotO
2y ago
|
5 comments
307.
▲
by
OtomotO
2y ago
Htmx works on all browsers I want to support. I don't use any prefixed CSS and haven't for many years. Last time I did knowingly and voluntarily was about a decade ago.
308.
▲
by
OtomotO
2y ago
It's just the hype moving on. Every generation has to make similar mistakes again and again. I am sure if we had the opportunity and the hype was there we would've used k8s in 2005 as well. The same thing is true for e.g. JavaScri
309.
▲
by
OtomotO
2y ago
Right. Depending on my client's needs we do it oldschool and just rent a beefy server. Using your brain to actually assess a situation and decide without any emotional or monetary attachment to a specific solution actually works like a
310.
▲
by
OtomotO
2y ago
That's why in sane countries there is jurisdiction to deal with that. If you leave capitalism unchecked it will fuck you as hard as any other system.
311.
▲
by
OtomotO
2y ago
No! I mean, yes, but not an official one. The stdlib is where good ideas go to die. Waiting for "pub struct RDBMSInferfaceV17ThisTimeWeGotItRightForSure"
312.
▲
by
OtomotO
2y ago
Always depends on which level it happens
313.
▲
by
OtomotO
2y ago
Subjectively, not baked by any science, the Linking step is the worst, even with mold.
314.
▲
by
OtomotO
2y ago
About my only gripe with the language. But it's getting better.
315.
▲
by
OtomotO
2y ago
in the stdlib, yes. In 3rd party crates? Depends!
316.
▲
by
OtomotO
2y ago
Totally agreed, but as the previous poster wrote: an exception is meant for EXCEPTIONAL behavior. So it may be that the file access throws an exception but generally, I wouldn't agree.
317.
▲
by
OtomotO
2y ago
As said, I don't like the wrapping of about everything with try/catch Sure, you can only do it way up the stack, but that's not enough quite often. If you can only do it all the way up, I find it ergonomic. Maybe I should exp
318.
▲
by
OtomotO
2y ago
Bah, no, I hated that you had to wrap basically every code block in a try/catch in Java, because the underlying lib could change and suddenly throw a Runtime-Exception. At the same time Checked Exceptions were a nightmare as well, beca
319.
▲
by
OtomotO
2y ago
Abort on the other hand is used WAY to liberally in Rust. How I hate it, that every second function call can break my program when it's clearly not a "halt the world, it's totally unrecoverable that the user sent us nonsense&
320.
▲
by
OtomotO
2y ago
But with Exceptions you can easily implement multiple return types in e.g. Java ;) I shocked my Professor at university with that statement. After I started laughing, he asked me more questions... still went away with a straight A ;D
321.
▲
by
OtomotO
2y ago
Here, you've found me. I don't LIKE it, but it's acceptable. I have been working with Rust since 2015 (albeit not professionally, but a lot of side projects) and love it. But I also dabbled into go the last couple of months a
322.
▲
by
OtomotO
2y ago
Exemplum docet
323.
▲
by
OtomotO
2y ago
It simply depends on what you need. I am gladly writing my own left-pad. I am gladly using something like three.js if I need it. The problem are the extreme stances. Don't add any dependency is as stupid as pulling in dependencies for
324.
▲
by
OtomotO
2y ago
No, we have caused AT LEAST 1.5°C long-term global warming.
325.
▲
by
OtomotO
2y ago
I decide on a case by case basis. I've been bitten by both decisions in the past. Prematurely abstracting and "what's 4 copies gonna do, that's totally manageable" until it cost quite some time to fix bugs (multiple
326.
▲
by
OtomotO
2y ago
Because of I/O. Without any kind of async (this includes green threads) you run out of (OS) threads very fast. This is not a black/white decision whether Async makes sense for every API all the time or never. It's a solution
327.
▲
by
OtomotO
2y ago
I trust the government in a democracy more than I trust a corporation, yes. Do I absolutely trust each government in every democracy to make the right decisions for any problem? Of course not! But I still trust them way more than corporatio
328.
▲
by
OtomotO
2y ago
I would've gone home, every day. And then I would've read, after I played hours of World of Warcraft ;-) Oh wait, that's what actually happened! But I agree and I don't want to bd young these days anymore.
329.
▲
by
OtomotO
2y ago
I am sorry, but your comment is propaganda too :)
330.
▲
by
OtomotO
2y ago
I am not using Nvidia since 2011. Last nvidia device was bought in 2007. Back then I migrated to Archlinux and in all these years I only had problems with nvidia. Since then they are dead to me :)
More ›