News for hackers. Stuff that matters.

drdude

Re:Explaining how a touchscreen works with a sausage [video] on Monday October 20, 2025 @03:17AM (#45640808)
not sure if male Koreans need that...
thank you! you freed me from typing it :D
Re:Wars and Casualties of the 20th and 21st Centuries on Saturday June 14, 2025 @04:45AM (#44275126)
would make it much better to understand and compare different times
Now, this is genius, and it has been a long time since I saw something very cool like this. The simplicity and how effective the idea and implementation is is very impressive.

Kudos, I forked it already haha.

Re:Reasons to ignore computer science degrees on Tuesday May 13, 2025 @08:24PM (#43979407)
most of the takes in this articles are flat out wrong... seems like a clickbaity one to me... "Mathematical models take us down the wrong path"... quiet the opposite... I gave a few masters students some distributed systems algorithms to code, they did and they thought it was working great (only took few months for them to achieve that too).... until, I created a mathematical model, followed by a framework to put these implementations into a controlled schedulers exploration. Guess what happened? even though I had 7 years of experience working with systems in different setups, even I got them wrong at first till the model (based on the mathematical model aka operational semantics) showed me where it went wrong, then I fixed things till all these implementations work correctly. Even unintended bugs by the exploration algorithms got caught by this scheduler!

This is not to mention many (if not all) of the other headings are wrong too. Not even going to waste time reading this.

No one can deny there are things that need to be brought to a better standards in academia, but denying the usefulness and depth of these degrees based on outlier super achievers is zealous, to say the least all while claiming "arrogance" on academia.

Re:I bought a Mac on Wednesday April 16, 2025 @02:52PM (#43709006)
I still have my PowerMac G5 (Dual 2.0 GHz with 8 GB RAM)... still works but it is stashed with my other electronics "heritage" beside a 21 inches CRT Dell flatron monitor! and the 23" Apple Cinema Display I bought with the PowerMac. Such a well built machine. I wish Apple still made such an expandable chassis but with more compatible parts like it was with the Intel based Mac Pro. I believe the one I have still has Mac OSX Snow Leopard installed, the original Mac OSX that came with it was Panther, my favorite is Tiger though.

I ran Yellowdog linux on it, and Fedora 4 back in the days when I didn't want to upgrade to a newer OS right away and I liked it.

Re:Stoicism's Appeal to the Rich and Powerful (2019) on Saturday March 15, 2025 @04:21PM (#43374916)
I strongly agree!

I'd rather say something truthful and of support, backed by real action and history if actual support instead of saying something trivial. I remember a friend told me such thing when I was grieving (something along the lines of "you have to pray" or something) and I blurted "oh really? so I wasn't praying. so it was my fault? so I needed YOU to remind me at my worst times? what happened to reason?"... he stopped talking to me for few months, we are still friends... but if he hugged me and kept quiet just the looks of their face feeling sad for me would have been the perfect support I needed. Sometimes silence is way better than telling a religious lie to "comfort me".

Re:TeX Live 2025 Released on Monday March 10, 2025 @02:32PM (#43324035)
I do the same but no containers just freezing (not updating) the package (on Arch by ingoring texlive-installer for example)
Re:Learn Arabic on Sunday March 09, 2025 @07:17PM (#43314956)
Iraqi and Saudi arabic are the closest to standard and all ppl understand them... src: I am arab.

edit: and Syrian too

Re:The subtle art of designing physical controls for cars on Wednesday February 12, 2025 @10:26AM (#43026303)
I gave up on cars in the US for few years now... I just bought a hyper electric escooter and use it to travel 60+/- miles per charge... no gas, no insurance, no maintenance (only the rare flats and brake pad changes), and no plate and safety/emission... etc etc.

Buy once, use till the battery dies... rinse and repeat... gear is inconvenient though but can put up with it.

Re:Scala 3 Migration: Report from the Field on Friday February 07, 2025 @01:55PM (#42976128)
True, I never implied otherwise. When I commented, I was referring to things he said in his article: https://degoes.net/articles/splendid-scala-journey
Re:Scala 3 Migration: Report from the Field on Friday February 07, 2025 @01:54PM (#42976119)
True, but his article (https://degoes.net/articles/splendid-scala-journey) states it is also for Scala new syntax breaking a lot of things (if I remember correctly, been a a while since I read it) and for other reasons. I also thought it was for political reasons before until I read that article back in time.
Re:Scala 3 Migration: Report from the Field on Thursday February 06, 2025 @06:28PM (#42967545)
I thought I was reading my own story! same here... 10 years of Scala 2.xx till it was Scala 3 that caused my withdrawal, and that infinite waiting for scala-native... killed my interest. Now, and for the foreseeable future, it is Rust.

I had a look at Mojo, love it, but I am no longer interested in OO (used OO for 20+ years and I figured I am no more interested).

EDIT: even John DeGoes (the ZIO guy) left Scala for similar reasons, now I just remembered, and prefers Rust over it... I love what they are doing with their Golem Cloud.

Re:Ask HN: Who wants to be hired? (February 2025) on Tuesday February 04, 2025 @01:46AM (#42928917)
Location: Saudi Arabia. Remote: Yes. Willing to relocate: yes, to the US only. Technologies: Python (tensorflow, pandas), Rust (everything else) Résumé/CV: https://drive.google.com/file/d/1W4kW0fQJx7MFbdMpkghu-p0hxFk... Email: mohammed(dot)mahfoudh(at)gmail(dot)com
Re:I've been advocating for RSS support, and you should too on Saturday January 18, 2025 @04:35PM (#42751607)
I am using an RSS reader to read latest hackernews and other stuff... the more RSS support the merrier
Re:Why are tech people suddenly so into homeschooling? on Thursday January 16, 2025 @06:00PM (#42732007)
Yah, this paragraph can't be taught at home right? or would taking a few English courses not achieve that, selectively?!
Re:Why are tech people suddenly so into homeschooling? on Wednesday January 15, 2025 @10:22AM (#42711865)
I agree with you. This is coming from Saudi.

I don't have any friend from my school times. Bullying was the norm back in late 80's and the 90's till I am in college on '99.

The real friends? the real education? started at college. School was a 12 years full of non sense useless stuff to someone's practical life and improvement (to me and many of people around me. The most I remember of these days were math and science lessons that were beneficial and my father alone was more than capable teaching me that... other than language lessons, religious teaching that were just a formality for us (we learn religion the best from home, our extended family) etc etc. At the end? We lost most of 12 years that are the best for internalizing more engineering and professional education. Yes we are capable of that at that age, I and my younger brother at the least built some robots and actual cars with suspension and steering etc although using old Lego collections (since we grew poor we couldn't afford actual tools) and that was ALL on our own at home and we didn't have internet or anything. We modified RC cars to go faster by soldering capacitors to give that boost to the motor (at the expense of battery life and potentially burning the motor) when we were in middle school.

Programming you say? my love for computers and computer games? all at home too, with some help from my older cousin (that I will visit in 30 minutes, he is 67 years old now and without him I wouldn't even dream of getting a PhD in CS, and of course my professors who I revere and respect).

Nearly all my useful skills, other than math and science as I mentioned), I and my brother learned on our own... at home. It all started at home. The school? was torture and a formality we had to go through or no one will hire us.

I am for minimal formal schooling with specialization starting from day 1, each one can choose a MUCH shorter path and more focused on what they want to do... switching between specializations and/or profession shouldn't be like collapsing a sky scraper we have built with hay (like it is now the case). wasting people's lives, causing them trauma for whatever miss function (e.g. students being beaten for silly missed homeworks etc). This system is age old and not effective, and there are more effective ways. Most of those who changed the world were school drop outs for a reason... they focused on what really matters and connected it to reality.

Re:AI Engineer Reading List on Tuesday January 14, 2025 @03:40AM (#42695086)
I thought the same too...

I read Deep Learning by Goodfellow and Deep Learning with TensorFlow 2 and Keras for practical stuff. I am still thinking if I should do the D2L for additional practice in my free time, though.

Re:The Illustrated Guide to a PhD on Sunday January 12, 2025 @11:59AM (#42674903)
Matt thanks for the encouraging words... enjoyed your compiler class and sad that you didn't end up in my PhD committee... done 3 years now but stuck lol.
Re:I am rich and have no idea what to do on Friday January 03, 2025 @03:51PM (#42589351)
I am drowning in debt since I graduated from my PhD, all I get is rejections for my job applications... I want to learn how to be rich because that is the only way I can get back to the US and live with my kids and provide for them (US born, living with their mom).

Thanks in anticipation.

Neat! thanks for sharing. Few times I needed that but I had to go hunting down the full path.
Re:Perhaps Rust Needs "Defer" on Thursday November 07, 2024 @07:06AM (#42075934)
Thank you!
Re:Perhaps Rust Needs "Defer" on Wednesday November 06, 2024 @05:50AM (#42059801)
This is a great advice, thank you. I am learning Rust and this definitely gives me good pointers (no pun) how I should idiomatically handle them.

EDIT: can this be done/automated using macros?

Re:Why Learn Compilers on Tuesday May 30, 2023 @09:21PM (#36133386)
During my 2015 Compilers class, it was indeed the worst step and hardest to get right. We spent (my and my team mate) about 60%+ of the time making that parser actually parse. The lexing, tokenizing, etc is nothing compared to it. In another project, I used Antlr to avoid the headaches, but there are definitely better alternatives out there (some one mentioned Sly in the comments).

Right now, if I want to mess with some transformation passes for an existing language, I would just look for LLVM and Clang for C for example (readily made front end, and backend with hackable middle end).

P.S. I am a hobbyist at this stage and you can consider me knowing nothing about LLVM. My advice is based on my friends' (same colleague) who works for nVidia for their CUDA compiler using LLVM.

Another reason for me to be interested in LLVM is that I used JVM languages (Scala, Java) for the past 20+ years and with GraalVM and its polyglot support for LLVM based languages; whose support was added using LLVM.

my rusty two cents (Rust is awesome too ;)).

Re:Loneliness Reshapes the Brain on Wednesday March 01, 2023 @05:06AM (#34980632)
I attest to this, all true and still is.

I grew up in Saudi Arabia, lived in US for over 13 years, and now back in Saudi.

I am in Saudi Arabia. Tor and anything commercial VPN doesn't work here. They blocked it completely and they have a REALLY strong and comprehensive filter list. All traffic go through a a huge filter... I had to go to Linode.com, create my openvpn container/vm in Newark/NJ and connect to it.

Not everyone is literate enough to come up with their solutions.

the quote from the article: " The vulnerabilities can be exploited to achieve arbitrary code execution in the early phases of the platform boot, possibly allowing the attackers to hijack the OS execution flow and disable some important security features. 2/6 — ESET research (@ESETresearch) July 13, 2022"
I second this one.

Scala borrows a lot from Haskell and Python too. Definitely a JVM and integrates with Java well.

I coded in Java since 2002, now in Scala since 2013, and I am learning Haskell as well.

I strongly agree. I only mentioned "but it is texual" because it looked like that the author likes GUI-based one.
PlantUML is my favorite... but it is all texual. There is a great support for it on VSCode and Emacs for previews. I prefer VSCode to create my UML diagrams and Gantts (even though I am mainly Emacs)

Older »