News for hackers. Stuff that matters.

matthias509

Why? Lots of sentient animals kill sentient animals of a different species. Why should humans be different?
One reason carjacking is rare is because people don't foolishly stop for obvious carjackings. If an autonomous car has trouble telling the difference between a carjacker and a construction worker, then it will be much more likely to get carjacked.
Re:Why Twitter didn’t go down: From a real Twitter SRE on Tuesday November 22, 2022 @12:17PM (#33708188)
I think it’s more like removing captain from a giant ocean going freighter. Everything will be fine till one day it runs aground or hits an iceberg.
Re:The case against CS master’s degrees on Friday July 15, 2022 @07:40PM (#32113903)
My personal experience is that I was paid by my university to get my master's degree in the late 90's. Since I was a teaching assistant for an entry level programming class (in Java at the time). I got a tuition waiver and a stipend which was enough to cover my living expenses.

One surprising benefit was that re-learning the intro stuff well enough so I could teach it crystalized my understanding of some fundamental concepts like the difference between the stack and the heap which I kinda glossed over my first time through.

At the other end of the continuum, I was able to gain a level of skill in parallel and distributed programming and network programming much deeper than undergrad.

Was it worth it? For the price of $0 and 2 years, yes. If I was paying full price, not sure.

And do those who say the degree erodes, fundamental concepts endure. A race condition is still a race condition and a socket is still a socket even all these years later.

Re:The computers are fast, but you don't know it on Friday June 17, 2022 @09:03AM (#31777503)
I’m guessing you are thinking of cache lines where CPUs will read/write data in 64 byte chunks from memory to/from cache.

As you said, being aware of this lets you optimize away cache misses by controlling the memory access pattern.

Re:Apple Could Kill CAPTCHAs with Private Access Tokens on Wednesday June 15, 2022 @09:39AM (#31752712)
It is not true that Apple will know what web sites were visited. The article states “the device manufacturer or attester only knows the minimum amount of device data required for attestation. It doesn't know the destination URL or the user's IP address.”
Re:Google Will Eat Itself (2005) on Sunday June 12, 2022 @10:50PM (#31720489)
You can try HERE WeGo. Add free and you can download maps for use offline.

Disclaimer: I work for HERE Technologies.

Also, choking people get bruises to the abdomen when someone performs the Heimlich maneuver on them, and people with cancer get pumped full of chemicals which just about kill them. That treatments also cause harm is pretty normal in medicine.
So your solution is what? Don't donate blood or plasma? Have only humans who aren't exposed to PFAS done blood or plasma (which don't exist anyway)?
High salaries for tech workers are not a new phenomenon. So if programming were truly a skill a large number of people could just “pick up”, it would have happened already.
Re:The Future of Kubernetes on Sunday March 13, 2022 @03:09PM (#30664677)
We use Ephemeral Inline Volumes backed by LVMs on a local ssd. TopoLVM can make this trick possible.
Re:Frawk: A fast, JITted, statically-typed AWK written in Rust on Tuesday February 15, 2022 @09:47AM (#30347104)
> I'm talking about the proliferation of DSLs like Awk in the world of Unix

I get that there is a learning curve for Unix. However, a complaint about a "proliferation" in the context of a tool which is decades old seems a bit off. The response here of "just install Python" doesn't work for $random_unix for a variety of reasons. Such reasons include lack of root access or business rules which prevent modification (such as for a production system where you do have root access).

> Python can be substituted with another Turing-complete language. Why not just use libraries and abbreviate them for command line use?

This suggests that we take a tool such as awk which is decades old, stable and efficient and replace it with an equivalent implementation based on an interpreted language. This process would take years to complete and then would end up with a tool which consumes more resources and is slower than the original. I don't see the payoff here.

Re:Dllicious – shared object usage analysis on Linux on Sunday February 06, 2022 @10:37AM (#30233420)
Imagine the other extreme where every single executable on the system statically linked libc. Assuming libc calls are pretty common(which I think is safe) I would expect the cache to get trashed.
Re:Dllicious – shared object usage analysis on Linux on Saturday February 05, 2022 @10:44PM (#30229184)
Saving disk space isn’t nearly as exciting as saving CPU cache space which is much more precious. That means that something like libc will almost always be in cache from something calling it.
Re:Farming Co. Says John Deere Is Monopolizing Repair Market on Tuesday January 18, 2022 @01:34PM (#29983606)
All the implements which farmers use, planters cultivators, etc have gotten larger over the years as the scale of farms have grown. A 40 year old tractor likely isn’t going to have the horsepower to work with these new implements. Also, the old tractor is likely to lack a cab which could mean no climate control for you.

Both of these would be serious issues for operating a modern, large scale farming operation.

Re:Order your rapid tests from the USPS (US only) on Tuesday January 18, 2022 @01:14PM (#29983279)
There are a few news stories out there indicating that because Omicron grows better in the throat that also swabbing the throat helps reduce false negatives. Though the official word would be to not do this since the tests were officially only developed tested with nasal swabbing.
Re:John Deere unveils fully autonomous 8R tractor on Sunday January 09, 2022 @10:02AM (#29863784)
Case International Harvester https://www.caseih.com is also a big player.
Re:John Deere unveils fully autonomous 8R tractor on Sunday January 09, 2022 @10:00AM (#29863760)
Not a farmer but worked on one growing up and my in-laws farm several thousand acres. The existence of a competitor to JD is one thing, the distance from farm to dealer is another. If the competitor dealership is 75 miles away and JD is 20 miles away that can be a major factor.

Being able to get service in the field quickly is critical during planting or harvest. During these times downtime can be exceedingly expensive if the farmer is trying to beat some change in weather.

And sure you could try and get someone other than the dealer to work on it, if you can find them. But trying to find this person when your equipment is broken and you are burning money isn’t a great option and the dealer will probably favor servicing clients who bought equipment from them.

I’m still rocking my aluminum hardtail Trek I bought in college 25 years ago with the (gasp) three front derailleurs and the Rockshox Judy front fork. I had no idea that the tech had changed that much since I don’t ride seriously any more.
Re:Reporter may be prosecuted for using “view source” on Thursday December 30, 2021 @02:47PM (#29740639)
This is saying that someone is hacking if they read text in a pdf which was “redacted” by changing the style of the text to be black text on a black background.
Re:How Python List Works on Sunday November 14, 2021 @12:54PM (#29218967)
One point which I think bears mentioning with respect to performance is that even with O(1) access, the performance in the real world of a list implemented by a list of pointers vs a contiguous block of memory will be very different. This is because programs often iterate over lists and a list implemented by a contiguous block of ram will have MUCH better cache locality.

AFAIK, this unfortunately wouldn’t be possible to implement in Python though because I don’t think there would be any way to know how much space to allocate for each item in the list.

Re:Ask HN: How to learn proper systems programming? on Monday June 21, 2021 @01:09PM (#27581153)
Another interesting rabbit hole to explore is the compiler. Back in the day I wrote a toy compiler for a college course and used this text book: "Compilers: Principles, Techniques, and Tools". a.ka. "The Dragon book", but I would look at some of the other books here like "Modern Operating Systems" before this.
Re:My thoughts about the Principal role on Saturday May 22, 2021 @04:51PM (#27250158)
This. If I’m not helping junior devs get their work done, I am failing as a PE.
Re:My thoughts about the Principal role on Saturday May 22, 2021 @04:49PM (#27250137)
So don’t let yourself get removed completely from the deliverables. Keep in there. Take some tickets off the queue and work them so your skills stay sharp. If you are worth your salt, this contribution will be noticed by other ICs on the team and your boss. Just realize that the IC role isn’t primary for you. Provide useful feedback in reviews to keep dumb stuff from happening. Make sure your team is working on the right things.

And yes, the PE contribution is harder to measure and the risk is there that others won’t see it. If you aren’t comfortable with that risk, then don’t go for the PE role.

Which is OK! It doesn’t have to be “up or out”. For me PE is as high as I want to go. I have no desire to deal with the stress and risk of moving up past PE.

I’ve also intentionally moved from a PE at my precious job back to being 100% IC in my current company and then a few years later back to PE where I am now. I did that to build up a slightly different, more marketable skill set.

Re:The problem with ‘follow your dream’ on Saturday May 22, 2021 @12:57PM (#27248294)
> Most children aren't data-driven.

Most people aren’t data-driven.

Parents, teachers, guidance counselors etc are also part of the problem.

Re:My thoughts about the Principal role on Saturday May 22, 2021 @12:49PM (#27248222)
This is a fine line for me as a PE. It is good to help the team grow. However, I like to do the PoC sometimes so that I can keep my skills sharp and my opinions grounded in reality.

If I just sit in my ivory tower dishing out advice, the advice will eventually become useless.

Re:My thoughts about the Principal role on Saturday May 22, 2021 @12:46PM (#27248194)
I am in a PE role right now and I 100% agree that the PE is the hub. I like that. I see my role as being a catalyst. I make things move along faster and more efficiently. I like seeing growth in others on the team.

Also, it’s ok if you don’t like that. If you would rather just be in there getting your hands dirty solving that one hard problem with no interruptions, then I think you should do that. You’ll be happier. Probably the increase in happiness is worth it even if you have to “pay” for it with a slightly reduced salary.

Re:Reading in the Age of Constant Distraction (2019) on Thursday April 08, 2021 @02:03PM (#26741838)
One of the things I’ve done with my children to help them develop interests not based on immediate internet gratification is to not give them cell phones till high school.

I view cell phones as just too addictive for young children. This has given them the opportunity to cultivate all sorts of interests like books, legos, playing outside, etc. I’m not saying that cultivating these interests is impossible in the world of tech, but it’s even harder for children to resist tech than it is for adults.

So high tech crypto is the solution to making trading with the developing world easier? Aren’t these the same sorts of places which struggle to have reliable electricity, let alone internet access?

Older »