1,107 karma · joined Mar 22, 2019 (7y ago) · 450 submissions
comment 3y ago · link · parent
But I think that focusing on nils is a wrong analysis. The problem is the default zero-values dogma, and that is not going to change anytime soon.
Sometimes you also need a legitimate empty string or 0 integer, but the language cannot distinguish it from the absence of value.
In my codebase, I was able to improve the readability of those cases a lot by using mo.Option, but that has a readability cost and does not offer the same guarantees than a compiler would. The positive side is that I get a panic and clear stack trace whenever I try to read an absent value, which is better than nothing, but still not as good as having those cases at compile time.
No amount of lint checkers (however smart) will workaround the fact that the language cannot currently express those constraints. And I don't see it evolving past it's current dogmas unfortunately, unless someone forks it or create something like typescript for go.
comment 3y ago · link · parent
With YouTube I have zero confidence that the authors get a fair share, and the last thing I want is to give money to the parasites randomly claiming copyright (and stealing the money) over other people's work.
comment 3y ago · link · parent
The round trip was about 1000€, but the one way trip about 5000€, which is just bullshit.
I would bet that as for skiplaggers, many people just get the round trip and never show up for the return one. Rather than a morally dubious choice, I ended up finding a one way ticket with Aeroflot for 700€, where I had a terrible experience that I'd rather not try again.
As a customer, I hated to be forced into this choice, especially for obviously complete nonsense like this.
comment 3y ago · link · parent
comment 3y ago · link · parent
It is obvious that the author is ignorant of the topic (psychotherapy).
It sounds like a hardware engineer dismissing software engineers and strongly affirming that all bugs can be solved with hardware solutions.
Some problems are indeed due to psychic issues and not physiological ones. Yes, you can probably workaround symptoms with drugs, but that does not really solve the problem.
If you have mental blocks and a shitty life that makes you depressed, and alleviate the depression with drugs, you still have mental blocks and a shitty life.
I wish that both disciplines were not as independent from each other as it is today. Having experts at both subjects could probably do wonders to help people and make proper progress.
comment 3y ago · link · parent
As for hygiene, I learned about that late (thanks to a boss who had the courage to speak to me about it), and now I just strictly follow the same daily routine. No more being complacent with showering, and I always wash my clothes every day regardless.
It worked well so far. But when it comes to changing the bed sheets or cleaning the toilet, I tend to let my wife handle it. Because smells does not mean anything, so for me as long as it is white and without stains, it is clean.
That said, I noticed lately that I sometimes actually smell things, but it is very random and episodic, like a few seconds every few weeks or so. So now I am wondering what is actually going on and if that may be curable in my case.
comment 3y ago · link · parent
Mostly the only thing I noticed that I lack are spices. I have no idea what these are for, so I just blindly follow the recipes, hoping not to mess it too badly.
That said, I never had it to begin with, so I may be missing on something I don't know...
comment 3y ago · link · parent
- More specifically, the blocks takes ages to display after scrolling on mobile
- There is a horizontal scrollbar on mobile, which is annoying (Kiwi Browser)
- You should drop the fancy JS and make plain HTML pages, or it's going to hurt the performance and SEO.
- After quickly reading the webpage, I do not understand what this it about. How can a third party product make my hand crafted 10-endpoints REST API faster? Is it some kind of CDN? Or analysis tool to help navigate big APIs? (in the second case, you should clearly sell it as such, because it does not actually make anything faster by itself)
169.
Indexing and colliding 10M of tiles efficiently and in real time(mastodon.gamedev.place ↗)
1 points · by Seb-C · 3y ago · discuss
comment 3y ago · link · parent
Doing harmful jokes as well as dismissing, making fun and looking down at those that don't follow some abstract definition of "being normal" are deeply ingrained in the French culture (and also a source of pride - along with the whole french culture). Few are the people that understands and recognize this.
They sincerely see that as just humor and jokes, without realizing that it hurts. And I guess that being a foreigner there makes it worse, since you're even more unaware of it and different than their "norm" (whatever that is).
As a french, it took me an emigration to realize that this was - in fact - not normal, but actually a harmful and toxic behaviour that is not acceptable elsewhere.
176.
Can consciousness continue after death? A Neuroscientific Perspective(interaliamag.org ↗)
6 points · by Seb-C · 3y ago · discuss
comment 3y ago · link · parent
Whether you have to move your head/eyes or press a key to switch between the documentation and the IDE does not make much difference in term of efficiency.
I actually find it more comfortable, ergonomic and fast to have a single screen and switch the workspace. That also means that my (physical) setup is minimal and easy to manage, and that I do not get unnecessary distractions or things moving (notifications, messages, ads, animations...) in my peripheral vision.
comment 3y ago · link · parent
EDIT: The second link provides more insights: https://rinzewind.org/blog-en/2021/percentage-of-hacker-news...
Most likely, there is just nothing to see, we are still in the process of being back to normal from the pandemic bubble.
This chart paints a very dishonest picture.
comment 3y ago · link · parent
Only from there it becomes possible to have the broad view, reorganize and (re-)factorize the code again properly.
So if I had to choose between both, I'd take the 5000 lines function any time, since it makes my job easier.