News for hackers. Stuff that matters.

Alpi

Re:OpenCiv3 Dutch 2 now available on Saturday October 31, 2026 @03:25PM (#50319236)
Celebrating the 25th anniversary of the original Civilisation 3 - the community releases the new version of OpenCiv3. Now you can finally win the game :)
Re:Radio Astronomy Software Defined Radio (Rasdr) on Friday May 30, 2025 @06:33AM (#44134743)
Anybody has experience using rasdr4? What is it capable of?
Re:Wikipedia daily most viewed pages on Sunday December 31, 2023 @11:51AM (#38825371)
What’s up with Index in January 2023?
Re:Transactions Are Not Locks (2022) on Saturday October 21, 2023 @11:47PM (#37972668)
For update actually does block concurrent SELECT FOR UPDATES, so the article is correct
Re:Transactions Are Not Locks (2022) on Saturday October 21, 2023 @11:37PM (#37972620)
FOR UPDATE locks the row for other blocking transactions (including another select for update) The weaker form that only locks updates and deletes is called FOR SHARE. Transaction isolation levels do not make a difference here.

https://www.postgresql.org/docs/current/explicit-locking.htm...

So the article is correct that SELECT FOR UPDATE will ensure that another concurrent SELECT FOR UPDATE transaction never acquire the same row (it will block), though nothing prevents other non-blocking selects to query this row concurrently.

You can think of it as usual locks - only the threads that explicitly use the same lock have the mutual exclusion guarantees. If there’s another thread that does not acquire the lock and tries to access the critical section - it will be able to do so.

Re:Human microbiome myths and misconceptions on Saturday October 21, 2023 @11:11PM (#37972494)
Actually I can relate to those misconceptions as a person who enjoys popular science.

I like articles like this since they hopefully help me to fine tune my intuition.

After using several bank clients in different countries I can confidently say that some banks just have bad UI, and other banks are just good enough. I don't think human language is simpler than good simple interface, though it can shine as a guide or navigator.
Re:Introducing "Implement DNS in a Weekend" on Friday May 12, 2023 @11:05AM (#35917324)
I love all the series about writing your own X in 100 lines of code. It gives you the understanding of technology and removes a lot of unnecessary details.

The great examples of this are 'A from-scratch tour of Bitcoin in Python' https://karpathy.github.io/2021/06/21/blockchain/ and 'Let's build GPT: from scratch, in code, spelled out' https://youtu.be/kCc8FmEb1nY from Andrej Karpathy

I wonder if anybody tried to collect all such projects together and built his own 'Internet in just 100 lines of code'

Re:Ask HN: What are you predictions for 2023? on Sunday December 25, 2022 @07:04AM (#34126508)
I'm Santa, not Satan!
Re:Ask HN: What are you predictions for 2023? on Sunday December 25, 2022 @06:08AM (#34126196)
- Russian-Ukraine war loses its momentum on the eastern front, hot war continues. - Azerbaijan is launching full-scale invasion to Nagorno-Karabakh, taking it over in a Blitzkrieg with the support of Turkey. - Russia is forcing Armenia to join Russian Union State, massive protests in Yerevan. - Pro-Russian government is replacing Belorus president who is forced to resign, massibe protests in Minsk. - China is preparing for a full scale invasion to Taiwan in 2024. - Crypto industry crumbles into dust under heavy regulation. - Meta is stepping back from the Metaverse, moving this research to a separate entity. Meta stocks are all-time low. - First AI-generated celebrities.
Re:Building a website like it's 1999 in 2022 on Sunday December 25, 2022 @05:39AM (#34126005)
Ok you got me, I feel nostalgic. What strikes me most is that those people from 90th were putting their creativity into something only handful of people will ever see, they were effectively shouting to void.

I would love to be still able to discover low-ranging websites like this. I remember somebody shared some alternative search engine?

Re:Promotion of alternative social platforms policy on Sunday December 18, 2022 @01:23PM (#34040710)
Why? Is he trying to make the company profitable by keeping the traffic within it? But how many people will be freaked out instead?
Re:What’s the strangest thing you ever found in a book? on Wednesday August 03, 2022 @03:58PM (#32336079)
Oh I found a golden card from Magic the Gathering
Re:Magic on Sunday February 22, 2015 @05:41AM (#9088987)
cmikec, how many operators do you have by now? and how many customers?
Re:Why my book can be downloaded for free on Wednesday December 03, 2014 @11:51AM (#8694761)
Can't wait to see screen version!