HNHacker News
TopNewBestAskShowJobs

dc-programmer

784 karma · joined August 10, 2021

submissionscomments
dc-programmer··on SIMD accelerated sorting in Java – how it works and why it was 3x faster
Looks like it’s complicated. It preallocates memory on the heap, but on Linux this would be virtual memory whose pages have to loaded later. Also more memory will have be requested if the initial amount is insufficient. And this doesn’t include any stack or swap resources the JVM might use.
dc-programmer··on SIMD accelerated sorting in Java – how it works and why it was 3x faster
I’m curious how the JVM efficiently allocates many small objects. How does it avoid memory fragmentation? Or does it request a large block of memory from the OS at the start? (last q is probably easily googled)
dc-programmer··on Reselling Software: Don’t Start a SaaS – White Label Someone Else’s Instead
Someone should create a startup that offers SaaS attribute entity resolution in Log4j
dc-programmer··on Stuxnet is embarrassing, not amazing (2011)
That’s a heuristic I would buy.

The charitable interpretation is that she wanted to write “The Book” on Stuxnet. But it seems like a weird thing for a journalist to attempt. It’s like if Carreyrou spent 100 pages describing micro-fluid physics in Bad Blood.

dc-programmer··on Reselling Software: Don’t Start a SaaS – White Label Someone Else’s Instead
I’ll concede that the E, the T, and the L are the only operations I see in this model
dc-programmer··on Reselling Software: Don’t Start a SaaS – White Label Someone Else’s Instead
I was exposed to the idea of reverse ETL recently. The essence of the paradigm is to have a workflow that retrieves data from your SaaS APIs, transforms and enriches it, and then ingests this data into other SaaS providers in order to automate various backend workflows.

In a way it’s similar to a gateway in that you are composing different backend targets. Although it might just be a marketing neologism describing middleware.

dc-programmer··on Stuxnet is embarrassing, not amazing (2011)
That part of the book stuck with me because she said the NSA (and friends?) gave the most important tasks to the A team and the rest to the B team just like a software company would. Ever since I’ve been conscious about what “team” I am assigned to at my own private sector job.

I didn’t know there was a movie, but I found the book mostly boring too. She dived deep(ish) technically in three areas: malware, nuclear centrifuges, and policy.

Who exactly is that for? I enjoyed the long description of the program itself but I doubt most non-tech people would. The scientific background on centrifuges was painfully dry to me. By far the best part of the book was the human interest stories about the security researchers who found and reverse-engineered Stuxnet.

dc-programmer··on Ask HN: What are the best short tech/engineering books you have read?
Probably not the best but I liked the Phoenix Project. It’s novel because it’s literally a novel. The story makes a case for the practice of devops through the medium of long form fiction.

I probably liked it because at the end the protagonist’s company starts making progress on clearing their ops backlog which was cathartic for me to fantasize about.

As for actual best, Tenebaum’s Distributed Systems was a key read for me starting my career as a first year developer working on large backend systems. I’ve probably forgotten 95% of the content, but it helped me develop intuition for the reasons and tradeoffs of system decision decisions.

It’s 96 pages over your limit, but a lot of the end chapters of the book’s parts can be skipped. Also Designing Data-Intensive applications covers some of the same content with slightly less rigor so that is a good substitute.

dc-programmer··on Surprising things about HTTP
The spec allows you to add the domain in the request line like

GET website/path HTTP/1.1 Host: website2

Some servers, like NGINX, will key on the request line domain (website) to find the logical server block rather than the host header (website2).

This can lead to interesting outcomes

dc-programmer··on I quit the tech industry (2015)
I have a theory that if a team reaches a critical mass of FIRE people the culture begins to suffer. Mostly due to what you are describing: they are hustling all of the time instead of approaching thing in a more sustainable way, setting unrealistic expectations.

But teams also benefit from having at least a few people innately interested in tech (too much “passion” is probably bad too). If lots of people consciously take the mercenary position, it can damage the whole team’s morale because unsurprisingly the necessary but unglamorous work gets de-emphasized more than usual. This eventually drags down everyone’s performance and increases the likelihood of stressful events like outages.

dc-programmer··on Musk SEC Filing
He self-publishes his SEC defying schemes and polemics on Twitter all the time. He also reacts to these media stories you mention in ghastly ways. Truly an awful person.
dc-programmer··on Ancient DNA may reveal origin of the Philistines
I’m not sure. I can’t think of other instances like this in the Bible off the top of my head though. The significance of its inclusion is to show that Saul was not chosen by God to lead Israel, but rather David. By Occam’s razor, this explains its inclusion not any adjacency to a Mycenaeanesque Greek civilization.

It’s a cool theory though, and the circumstantial evidence is there. Which is why I shared

dc-programmer··on Ancient DNA may reveal origin of the Philistines
I’ll admit I was socially primed to make a lukewarm commit due to the greying of your comment. After reading your response, I fully agree with what you are saying.

There was a recent post sharing an article trying to add nuance to popular understandings of the Viking age. The response was pretty negative. It’s sad so many people only see history as a cultural centripetal force to reinforce in-group ties.

dc-programmer··on Ancient DNA may reveal origin of the Philistines
I’m hoping it’s (c) because that’s the most metal choice
dc-programmer··on Ancient DNA may reveal origin of the Philistines
That’s a good point, and actually was wondering about the timeline of events after I posted. A post Alexander authorship (or enhancements) makes more logical sense.

I think the argument in favor of a more contemporaneous date would that the Hebrews would have to remember the Greek connection hundreds of years later, long after the Philistines became Canaanized. Also I think I remember Judges and Samuel (referenced in article) are among the oldest books in the Bible (don’t know Jewish name for these set of books).

dc-programmer··on Ancient DNA may reveal origin of the Philistines
Your comment piqued my interest and I found this JBL (not sure what their reputation is) article making a case for a surprisingly amount of Biblical intertextuality with Homer. I was familiar with the influence of the Hellenistic culture in the area but had no idea that Homer could have had reach pre-Alexander.

https://jbqnew.jewishbible.org/jbq-past-issues/2016/443-july...

I will have to buy Why Homer matters.

dc-programmer··on Ancient DNA may reveal origin of the Philistines
I think your sentiment is both right and wrong. There is scientific benefit to tracing the origins because it can help solve mysteries such as identifying which language family their tongue fell under. Also evidence of this type of cultural migration helps explain similarities in the material culture of the Greeks and Philistines.

But yes, many countries hype up the historical peoples that lived within their modern-day borders or who spoke a similar language. Now, it definitely seems like countries in the Balkans, Near East, and Caucus region are keen to jump on any genetic or archaeological result that supports their nation building project.

dc-programmer··on Ancient DNA may reveal origin of the Philistines
The Goliath Wikipedia section “Goliath and the Greeks” adds color to this theory. If the Philistines had Greek cultural origins it explains why the David story involved one on one combat (a motif in Greek myths). And a Greek etymology of the name Goliath explains its apparent non-Semitic origins.
dc-programmer··on “I think the vast majority of developers still debug using print() statements”
Now that I think about it I bet you could attach pdb to a process running the python interpreter and find your way to the right level of abstraction. Does not sound practical though
dc-programmer··on “I think the vast majority of developers still debug using print() statements”
That’s a good question and would be interested if anyone knows the answer. I used do this a lot with gdb and C++ server code
dc-programmer··on “I think the vast majority of developers still debug using print() statements”
I’ll check it out. In my current environment I optimize for simplicity and ease of setup, so that means vim + pdb. But that could change in future.
dc-programmer··on How is GNU `yes` so fast? (2017)
Got it, thanks for the explanation and context
dc-programmer··on How is GNU `yes` so fast? (2017)
Is this for legal or product reasons or both? It’s hard to tell from the link.
dc-programmer··on “I think the vast majority of developers still debug using print() statements”
Nice recs, I’ll have to check pdb++ out. Another tip is to add —-pdb to pytest so that it starts the debugger on each test failure.
dc-programmer··on “I think the vast majority of developers still debug using print() statements”
Dropping in a import pdb; pdb.set_trace() in my pytests and running them from the terminal has helped me squash some pretty difficult bugs. It’s dead simple (same with Ruby pry)
dc-programmer··on Has the ‘great resignation’ hit academia?
Really appreciate the detailed answer. Hope the new gig is working out
dc-programmer··on Has the ‘great resignation’ hit academia?
Are non-PE’s treated as first class citizens? Also is there room for developers to grow in an engineering firm. It sounds interesting in a concrete way (pun intended), but it seems similar to working for a research university in that you are viewed as more of a laborer as mentioned in a recent post
dc-programmer··on What good cash-strapped hiring looks like
Definitely not a hypothetical scenario. I’ve seen this play out poorly before where work work takes a cognitive and priority backseat to outside work.

I do think passion in a more abstract sense is a strong signal thorough. Such as passion for learning new things, solving complex problems, investment in collective outcomes, etc

dc-programmer··on Modern football through the lens of René Girard
I do not feel obligated to argue with you. If you hold someone in esteem who questioned female suffrage due to its detrimental effects to libertarianism we will never see eye to eye.
dc-programmer··on Modern football through the lens of René Girard
https://www.vanityfair.com/news/2022/04/inside-the-new-right...
← PreviousPage 6 of 11Next →