They are trolling, it doesn’t matter at all.
- 0 Posts
- 39 Comments
Thorry@feddit.orgto Selfhosted@lemmy.world•Update on my Home-Lab now featuring a fully custom built 10" Aluminumm rackEnglish3·4 days agoA table saw is for lengthwise cuts, for cutting long things like these you need a cut-off saw.
Fun fact, you don’t really need to tap soft aluminium like this. You can just drive the bolt straight in with an impact driver. I thought it was sketch at first, having always tapped them beforehand. But my buddy said it’s a waste of time, just drive the bolts in right away. So I tried it and he was right, it works perfectly every time. They form perfect threads so you can easily remove and re-add the bolt just like when it was tapped beforehand.
That’s Intel Cedarview, fully 64-bit capable.
Yeah that can’t be right. The last 32-bit Intel notebook CPU was the Pentium M Dothan, which was last sold about 20 years ago. Or maybe an early Intel Core Duo based on Yonah? Still very old.
@zloubida@sh.itjust.works Are you sure it’s 32-bit? What CPU is it?
Thorry@feddit.orgto Programming@programming.dev•Discussion between John Ousterhout and Robert Martin ("Uncle Bob") on "A Philosophy of Software Design" and "Clean Code"3·11 days agowe end up with lost history
Oof, I felt this in my soul
Thorry@feddit.orgto Programming@programming.dev•Discussion between John Ousterhout and Robert Martin ("Uncle Bob") on "A Philosophy of Software Design" and "Clean Code"3·11 days agoThere are a couple of things I do agree with in regards to the comments in code. They aren’t meant as a replacement for documentation. Documentation is still required to explain more abstract overview kind of stuff, known limitations etc. If your class has 3 pages of text in comments at the top, that would probably be better off in the documentation. When working with large teams there are often people who need to understand what the code can and can’t do, how edge cases are handled etc. but can’t read actual code. By writing proper documentation, a lot of questions can be avoided and often help coders as well with a better understanding of the system. Writing doc blocks in a matter that can be extracted into a documentation helps a lot as well, but I feel that does provide an easy way out to not write actual documentation. Of course depending on the situation this might not matter or one might not care, it’s something that comes up more when working in large teams.
Just like writing code, writing proper comments is a bit of an art. I’ve very often seen developers be way too verbose, commenting almost every line with the literal thing the next line does. Anyone who can read the code can see what it does. What we can’t see is why it does this or why it doesn’t do it in some other obvious way. This is something you see a lot with AI generated code, probably because a lot of their training was done on tutorials where every line was explained so people learning can follow along.
This also ties in with keeping comments updated and accurate when changing code. If the comment and the code doesn’t match with each other, which one is true? I’ve in the past worked on legacy codebases where the comments were almost always traps. The code didn’t match the comments at all, sometimes obviously so, most times only very subtle. We were always guessing was the implementation meant to be the comment and the difference just a mistake? The codebase was riddled with bugs, so it’s likely. Or was the code changed at a later point on purpose and the comments neglected?
Luckily these days we have good tools in regards to source control, with things like feature branches, pull requests with tools that allow for discussion and annotation. That way at least usually the origin of a change is traceable. And code review can be applied before the change is merged, so mistakes like neglecting comments can be caught.
Now I don’t agree with the principle of no comments at all. Just because a tool has some issues and limitations doesn’t mean it gets banned from our toolbox. But writing actual useful comments is very hard and can be just as hard as writing good code. Comments also aren’t a cheat card for writing bad code, the code needs to stand on its own and be enhanced by the comments.
It’s one of those things we’ve been arguing about over my entire 40 year career. I don’t think there is a right way. Whatever is best depends on the person, the team, the system etc. And like with many things, there are people who are good and people who suck. That’s just the way the cookie crumbles.
Thorry@feddit.orgto Fuck AI@lemmy.world•Jeff Bezos says AI is in an industrial bubble but society will get 'gigantic' benefits from the tech15·11 days ago“Sure sure it’s a bubble, but this one is a good bubble tho!”
STFU Jeffrey
Thorry@feddit.orgto Technology@lemmy.zip•Microsoft Is Abandoning Windows 10. Hackers Are Celebrating.English55·12 days agoWhich would be the reason the hackers are celebrating
All of the recommendations YouTube ever makes for me are terrible. If I watch 4 videos in a row, without fail the first recommendation will be to watch one of the videos I just watched again. Yes YouTube, this video is perfect for me, THAT’S WHY I FUCKING WATCHED IT ALREADY!
Can’t we just talk to the humans
A little understanding could make things better?
Can’t we talk to the humans and work together now?
Would have been funny if it was original. Just randomly wasting peoples time with copy-pasta is not cool.
Thorry@feddit.orgto Showerthoughts@lemmy.world•The problem with overeating is that it feels really good6·16 days agoYes there’s also a mechanism in our brains that if a food is high enough in nutrients like calories, fat, etc. we don’t feel full and just keep eating. In the past such sources were few and far between, so when one came upon them, we needed to eat as much as physically possible. The issue is, these days we have a lot of food like that. Our brains can’t handle it, so we overeat very easily.
Thorry@feddit.orgto science@lemmy.world•The current war on science, and who’s behind itEnglish11·12 days agoI have issues with calling it the war on science. It’s way too close to the war on xmas, which only exists in the minds of delusional right wingers.
Edit: I also found out it’s the title of a book written by a washed up “scientist” and Epstein friend, filled with right wing propaganda. We should never ever use this term.
Thorry@feddit.orgto Selfhosted@lemmy.world•Video and screen sharing server suggestionsEnglish2·18 days agoHow does this work, if one person is sharing their screen, does the client get to see? Because it seems more like remote gaming kind of thing? Where the client controls the game/app running on the server?
Thorry@feddit.orgto Showerthoughts@lemmy.world•A broken clock is right twice a day, but a wrong clock is just wrong.5·21 days agoIt would depend on how fast it runs. The faster it runs the more times it’s right. So if we extrapolate, once you get a clock running backwards fast enough, it will be right all of the time.
Uhm AKSHUALLY it’s a cloak and not a dress. Jeez don’t lie about my waifu like that!
Thorry@feddit.orgto Technology@lemmy.world•Intel says Arc GPUs will live on after Nvidia dealEnglish27·26 days agoIntel actually bought AMD Radeon GPUs for their Hades Canyon (Kaby Lake G) platform. It was a NUC mainboard with a full Intel platform, combined with an AMD Radeon GPU. The Intel CPU and the GPU (including HBM2 memory for the GPU) was all on one package soldered to the mainboard.
I think they did a couple of follow ups on that as well, because it worked very well.
Inserting relevant XKCD as is required by internet law: https://xkcd.com/538/