Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aulin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
aulin
2y ago
Reminds me when I used to ace Ancient Greek translation tests (it's a thing in Italy) by looking up whole translated sentences listed as usage examples in the dictionary
92.
▲
by
aulin
2y ago
They were always on, used them as power monitors. One on my washing machine, one on the 3d printer, one on the tumble dryer. One on and off depending on the season, christmas tree and similar.. They all died the same way, at some point neve
93.
▲
by
aulin
2y ago
I had four tasmota preflashed athom plugs die on me in less than a year. As long as they worked they were perfect but they don't last... Hope they addressed the issue meanwhile
94.
▲
by
aulin
2y ago
I've worked in a place where reviews were obsessed with coding style. No one noticed serious bugs, but forget a space in the right place and you'd be doomed. And yet people still managed to rewrite stuff to their preferred style w
95.
▲
by
aulin
2y ago
Given the sad state of affairs with search engines these days I most often go straight to github for code related searches. And, as much as I hate websites profiling me, I discovered plenty of emacs packages I use every day from github sugg
96.
▲
by
aulin
2y ago
This, I am a terrible note taker. For years a huge part my knowledge and skills relied on "if I found that information once, I'll find it again". My brain compressed the information by memorizing the path to retrieve it again
97.
▲
by
aulin
2y ago
No idea what the term means and I used to gravitate around the IoT world. That usually means you're not the target audience for the press release content. For us the title already gives all the information we need.
98.
▲
by
aulin
3y ago
except no one does that return code check and worse they often use the return code to advance a pointer in concatenated strings
99.
▲
by
aulin
3y ago
now we want a GCC language server!
100.
▲
by
aulin
3y ago
I'd say you're contributing back . You don't ask anything in return because you live in a ecosystem built on the contributions of everyone, you're just doing your part.
101.
▲
by
aulin
3y ago
Same here and tickets most of the time come from bugs so the title and discussion (if any) there are about the problem. The commit message should be about the cause and the solution. Instead people just copy and paste bug title into the mes
102.
▲
by
aulin
3y ago
If I recall correctly there were some studies that actually showed endurance runners have higher type 2 diabetes risk. And the suspect cause was the diet, specifically the carb loading practice and the abuse of high sugar products during th
103.
▲
by
aulin
3y ago
That's not even remotely what happened. UX was bad because RSS was barely tolerated in the ad-driven web that was being established. No one had any interest in evolving the UI.
104.
▲
by
aulin
3y ago
Eglot philosophy is to hook into existing emacs features instead of reinventing the wheel, so you may find some of the lsp-mode/lsp-ui features in other packages. imenu-list for sideline navigation, breadcrumb, flymake has a way to dis
105.
▲
by
aulin
3y ago
I must say I quite like this article style with plenty of real links to cited sources. Loved the references to actual 2007 articles about netbooks and htpc.
106.
▲
by
aulin
3y ago
I've used tasmota pre-flashed Athom 16A smart plugs with discrete success. According to this video https://www.youtube.com/watch?app=desktop&v=FWQe4RFgY1s at least the relay is the proper one and wires seem beefy e
107.
▲
by
aulin
3y ago
I'd be more worried about the 2A solid state relay, seems way underspecced for a typical 10/16A plug.
108.
▲
by
aulin
3y ago
I believe he's saying exacty that, they'll render it to the target size instead of rendering 2x and scaling it down.
109.
▲
by
aulin
3y ago
There are several companies employing devs for this kind of free software work. If you think you could contribute you can apply for them. I guess you will probably find there are already brilliant and competent people working on this stuff
110.
▲
by
aulin
3y ago
Sorry, I wasn't really arguing against you. It's just that every time an article like this comes out everyone act likes it's a step towards abandoning meat. Unfortunately that's not so easy.
111.
▲
by
aulin
3y ago
Anyone who's ever interacted with any kind of animal knows how they are intelligent. The lack of science on this matter is not the reason we still consume meat and more science won't change anything. We've always found ways t
112.
▲
by
aulin
3y ago
Maybe I'm getting old and nostalgic, but in my times I really enjoyed reading Linux howtos. That's how you discovered stuff. Then man pages for the more uncommon options. Everything was preinstalled you just had to spend some time
113.
▲
by
aulin
3y ago
You can define your guard clauses as macros and have them always log a warning and still have your debug log before the final return. See e.g. g_return_if_fail/reached and g_return_val_if_fail/reached in glib/gmessages.h. Ea
114.
▲
by
aulin
3y ago
I believe that's exactly it. An exception to the single return rule to allow for guard clauses. Wording is maybe a little too obscure though.
115.
▲
by
aulin
3y ago
Notice I purposedly used "reasonable" and "in the middle of a function". I know where this rule comes from. It's how it evolved into a blind prescription that is a problem.
116.
▲
by
aulin
3y ago
Sure, there are ways, less readable and more error prone. But that's not what you see where this rule is enforced. You see nested ifs.
117.
▲
by
aulin
3y ago
Yep, it may come from that, or maybe as it often happens someone wrote a best practice in the coding style rules, something reasonable like "try to avoid returning from the middle of a function". People didn't understand that
118.
▲
by
aulin
3y ago
Definitely. Let's wait if some adept shows up. I met plenty IRL. One specific case I have in mind I think it came from the company mostly hiring fresh graduates and seniors indoctrinating them with their blind and badly aged structured
119.
▲
by
aulin
3y ago
Guard clauses, something so simple yet so underrated, you never know how much you love them until you meet people from the single return per function church. It still amazes me how they can believe that putting all the guards in tens of nes
120.
▲
by
aulin
3y ago
Sure, magit is in some sense "getting it with the ide". Not sure how advanced is blame in other editors, it's not just blame annotation, is being able to navigate the history of a line just jumping from one change to the prev
More ›