Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gethly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
391.
▲
by
gethly
1y ago
A bit off topic but Why are you using MySQL and not MariaDB?
392.
▲
by
gethly
1y ago
365 days * 24 hours = (8760 - 14) / 8760 = 0,9984
393.
▲
by
gethly
1y ago
If you want to be pedantic, you can use https://github.com/puzpuzpuz/xsync which has generics and is faster than native sync.Map
394.
▲
by
gethly
1y ago
Semantics. Go at least does not restrict you to wrap every single panicky call. func Foo() { try { maybePanic() } catch (err any) { doSomething(err) } .. more code } vs func Foo() { defer func() { if err := recove
395.
▲
by
gethly
1y ago
> Go really rewards writing the dumbest code possible Simplicity is hard. You may see it as dumb, other see it as priceless attribute of the language.
396.
▲
by
gethly
1y ago
Annotations have been part of programming for ages. This is nothing new or out of the ordinary functionality.
397.
▲
by
gethly
1y ago
Mutating maps during iteration is a big red flag.
398.
▲
by
gethly
1y ago
Problem with this is that it requires the whole string to be iterated over, byte by byte, or rune by rune, whereas len() does no such thing as the length is stored in the underlying type.
399.
▲
by
gethly
1y ago
Yeah, having mutability optional would be great. It would also allow a lot of data to pass through the stack instead of heap due to pointers, which Go is riddled with for absolutely no reason(imo). On the other hand, now that we have iterat
400.
▲
by
gethly
1y ago
Use sync.Map or create simple wrapper to control access.
401.
▲
by
gethly
1y ago
Interface is just behavior. That is the main difference from other languages. Go is about "what", not "who". So when you are checking for nil, you are essentially asking whether the variable has any logic it can perform.
402.
▲
by
gethly
1y ago
I think Minio is the only Go client for S3 API and S3-compatible APIs. I cannot say I liked using it, but I had no choice. Nowadays I run my own file storage with my own API, so I no longer care. But if anyone wants to run their own file st
403.
▲
by
gethly
1y ago
After three days it is working again. Seriously, youtube engineering seems to be going the Amazon way.
404.
▲
by
gethly
1y ago
I figured it out. I must have gotten banned by youtube, despite me having no youtube channel, so i cannot like or comment videos. Hence I could have not "behaved badly" by any means. I opened the incognito mode, where videos work,
405.
▲
by
gethly
1y ago
That would completely change the situation, so yes. The thing is that diplomas matter only in very few sectors. Like medicine, law, physics and such. But in tech, realistically, the value of a diploma is 0. Again, focus on a popular languag
406.
▲
by
gethly
1y ago
Only the incognito mode works, nothing else. Makes no sense to me. It's the second day now. Not sure if I should be angry with Google(likely) or Firefox for this. The main problem seems to be that some googlevideo.com subdomains are re
407.
▲
by
gethly
1y ago
As the YAGNI says - you ain't going to needed it. Until you do, only then you act and fix that particular problem. It's that simple. So unless there is an actual problem, don't worry about it.
408.
▲
by
gethly
1y ago
There's an old saying - those who know, do. Those who don't, teach. In essence, you might have the knowledge, but you have no practice. That makes you mostly unemployable in tech. But good news is that many companies want to fill
409.
▲
by
gethly
1y ago
Figuring out logging and metrics is the hardest part of running online projects nowadays. I would say though, unpopularily, that 99% of work put into this is wasted. You are unlikely running a critical software that cannot go down, so I wou
410.
▲
by
gethly
1y ago
I signed out, flushed all data, disabled all extension but it did not help. Incognito mode works though.. Hmm.. in normal mode, I see that https://rr5---sn-t0a7ln7d.googlevideo.com is called but gets ns_error_unknown_host but in
411.
▲
by
gethly
1y ago
Phone is not a problem, desktop is.
412.
▲
Ask HN: New YouTube player not working in Firefox
3 points
by
gethly
1y ago
|
11 comments
413.
▲
by
gethly
1y ago
You say newsletter but you describe blog. So which one is it? Given you go on to mention Substack, I will assume you are talking about a blog, so no e-mail is involved. Well, I have created Gethly.com platform, which is what you are talking
414.
▲
by
gethly
1y ago
Why do thing easily when we can do them in the most horrific and wasteful way possible...
415.
▲
by
gethly
1y ago
OK Cupid was the best in its approach to match people based on how they answer various questions. The problem here is that every dating web/app always turns into Instagram anyway because digital "dating" is all about looks an
416.
▲
by
gethly
1y ago
Europa: The Last Battle (2017) https://www.imdb.com/title/tt7528992 I made it only three episodes in because it's too content-dense. But quite an eye opener. I knew Churchill was a massive POC but I had no clue he
417.
▲
by
gethly
1y ago
AI articles should not be making it to the front page.
418.
▲
by
gethly
1y ago
It is very weird list when dozens of countries reside on the same spot in the list. It would make more sense to have levels or ratings, instead of places.
419.
▲
by
gethly
1y ago
Getting the color scheme right is key. I tweaked mine over the years and and quite happy with it. I never found any of the preconfigured ones useful by any means.
420.
▲
by
gethly
1y ago
i'll be looking at fedora kde, cachy os, arch, maybe omarchy. either way i am definitely going for KDE. i always run ubuntu servers, but i tested few distros this year, i was mostly looking at fedora and suse, which are not rpm distros
More ›