News for hackers. Stuff that matters.

throwaway2037

Next time there are other available units in your building on different sides or floors, ask an agent to show you the apt. You check if the sound is present in other units.
The AT&T Long Lines building[1] where this event occurred makes for an interesting read.

[1] https://en.wikipedia.org/wiki/33_Thomas_Street

Re:Electrification Could Cut Global Energy Use in Half on Sunday November 01, 2026 @07:35AM (#50325038)
I agree with a lot of what you say, except the bit about "cargo ships can all be electrified". It is more likely that they will use ammonia or hydrogen that are fully produced using only electricity (and some air/water).
Re:Electrification Could Cut Global Energy Use in Half on Sunday November 01, 2026 @07:24AM (#50324955)
I don't think it is such a big deal to ship old batteries from rich countries to low income countries for recycling. As long as those low income countries are (long term) friendly with the rich countries. Example: The US could ship old batteries to numerous countries in Central America that would probably be happy to have a factory with good jobs. Also: Vietnam, Bangladesh, India, etc. To be clear: I am not suggesting that rich countries use low income countries to "export their pollution". Rather, I say low income countries because the ROI for battery recycling will probably be low.
Re:Electrification Could Cut Global Energy Use in Half on Sunday November 01, 2026 @07:17AM (#50324917)

    > 100 meter borehole into the ground
I have heard from a couple of different Swedes talking about when this was installed in their childhood/high school years. It must be reasonably common at this point in Sweden. Are there special machines that pull up to your home and bore a deep hole? That seems like very specialised work for the average contractor! Also, does the gov't offer subsidies from this (presumably) expensive home improvement?
Re:Electrification Could Cut Global Energy Use in Half on Sunday November 01, 2026 @07:15AM (#50324904)
Cool post. I would like to learn more details!

Real question: As I understand, good insulation in your home helps two ways: Keep the heat inside in the winter, and keep the cold inside in the summer. Do I have that right? If yes, I understand there are lots of places in Australia with very light winters (or none at all), so they are mostly focused on cooling with A/C. Are you saying that installing significantly better insulation is not economically efficient for many Australia homes?

Re:Japan's trains are great. Why is booking one so hard? on Sunday November 01, 2026 @05:54AM (#50324436)
You raise an interesting point here. To use digital Suica/PASMO/whatever in Japan, your mobile phone needs to have NFC hardware called (Sony) "FeliCa (Osaifu-Keitai)". Few Android phones sold outside of Japan have this hardware. However, Apple is a bit special -- I think all modern iPhones sold globally support it. (Please correct me if wrong.)

Google also tells me:

    > Samsung confirmed it's working with JR East to bring Suica and FeliCa support to Galaxy phones sold outside Japan starting in 2027.
Re:Japan's trains are great. Why is booking one so hard? on Sunday November 01, 2026 @05:49AM (#50324399)

    > Google Maps doesn't have all the operators
Can you give an example?

Regarding booking train tickets, I normally recommend that people use a major, domestic tourist agency, such as JTB. The majors will have English language support. For a small fee, they can print the tickets and mail them to you, or you can pickup at an office upon arrival in Japan. For obvious reasons, they can also accept foreign credit cards.

The researcher is based in Hongkong, where Anthropic is geo-blocked.
100% agree. That makes this commented code so incredibly impressive to me!
Re:Surviving "The Graduate" on Sunday November 01, 2026 @02:55AM (#50323505)
How would that work for hit detection algorithms in the code?
Wow, the source 6502 assembly with comments is incredible: https://github.com/vermiceli/nes-contra-us/blob/main/src/ban...

The whole thing (all banks) is more than 10,000 lines of assembly code. When I wrote assembly code for a university computer science course, it was hard to manage even 200 lines. I cannot imagine writing and managing 10,000 lines!

Re:StackOverflow now gets fewer than 1000 questions a month on Saturday October 31, 2026 @09:47PM (#50322030)
I can reliably say that Wiki has had the digital fiefdom issue for more than 10 years. It is not recent.
Re:StackOverflow now gets fewer than 1000 questions a month on Saturday October 31, 2026 @09:42PM (#50322001)
I was also a heavy user of SO for many years. At the end, I noticed things started to get really weird. I would ask a carefully researched question, get multiple answers, and get zero upvotes on the question. The Win32 community got so weird that people would only post comments under your question, but zero answers would be posted.

Maybe we will look back at mid-life SO (its golden period) as something like bulletin boards in the 1990s. Once the Internet arrived, BBSes were wiped out.

The author's homepage: https://jiahao-shao1.github.io/

... says:

    > My research aims to build a general-purpose agent that can understand, reason, and act in the physical world — at the intersection of multimodal learning, generative modeling, and embodied AI.
His tweet says:

    > got tagged for "training a competitor,"
I don't get it. To me, it sounds like he is training a competitor. Do I misunderstand? Is there a Chinese equivalent LLM that he can use instead?

Also, give the national security sensitivity around AI/LLMs, I can understand why Anthropic wants to be especially cautious with mainland Chinese researchers, including those from blocked regions (Hongkong, in this case).

Re:Much Ado About None: Sentinel Values in Python on Saturday October 31, 2026 @07:18PM (#50321201)
Here is the sample code from the article:

    > MISSING = sentinel("MISSING")

    > def update_email(user_id: int, email: str | None | MISSING = MISSING) -> None:
    >     if email is MISSING:
    >         return  # nothing to update
    >     elif email is None:
    >         db.delete_email(user_id)
    >     else:
    >         db.set_email(user_id, email.lower())  # narrowed to str
I see this style frequently from long time Python programmers. The language is so dynamic that people begin to think this is a good way to program. Hot take: It is not. Why not two different functions called delete_email() and set_email()? That would be more clear.
Re:The $6.3B Binance Hack Was Pulled Off in Just 20 Minutes on Saturday October 31, 2026 @12:46PM (#50317743)
Jesus, what do they spend 12B USD per year on expenses?
Re:I Returned My iPhone Duo on Friday October 30, 2026 @07:18AM (#50302427)
More likely Apple factors this used return rate into the pricing. They must have lots of data when new products are released, including with radical changes.
Re:I Returned My iPhone Duo on Friday October 30, 2026 @07:15AM (#50302401)
I think Samsung is on their eighth generation of foldable phone. That would quite a corporate vanity project if unprofitable!
Re:I Returned My iPhone Duo on Friday October 30, 2026 @07:11AM (#50302379)

    > to using the larger screen instead of Mac
I wonder if the Apple product development team considered this canabalisation risk.
Re:I Returned My iPhone Duo on Friday October 30, 2026 @07:10AM (#50302371)

    > Screen ratios make reels-like addictive content less appealing which is great for me
This is interesting feedback! Can share more? Is it not possible to rotate the double screen vertically?
Re:I Returned My iPhone Duo on Friday October 30, 2026 @07:06AM (#50302342)
I think this interpretation is needlessly judgemental/negative. The author probably intended it is a post-purchase review. This is very common for non-professional tech reviews.
Re:I Returned My iPhone Duo on Friday October 30, 2026 @06:28AM (#50302031)
I agree. I have never once done it my life. This behavior is wasteful.
Re:I Returned My iPhone Duo on Friday October 30, 2026 @06:26AM (#50302013)
What a weird post. No Face ID would be a pre-purchase "no go" for many people.

What happens to these returned phones?

Thanks for the helpful reply!

    > lots of tools ship their own CA bundle.
Can you give an example for Homebrew? And did the package maintainer explain why?

With the exception of Java, on a modern enterprise Linux box, all packages use the same CA cert pack.

Re:Iterating Backwards in C on Friday October 30, 2026 @02:00AM (#50300347)
His final solution is so tricky. I needed to re-read it a few times to understand the trick of using post decrement in the for loop condition. Personally, I would never write code like that. I would always find a way to use ssize_t.

This part was an interesting requirement:

    > ssize_t is a POSIX thing so you'd have to define it yourself on windows.
That seems like a lot of mental gymnastics to avoid this very simple macro:

    > #if defined(_WIN32) && !defined(ssize_t)
    > #define ssize_t SSIZE_T
    > #endif
Read about the Win32 macro SSIZE_T here: https://learn.microsoft.com/en-us/windows/win32/winprog/wind...

To me, this solution is more readable and maintainable:

    > for (ssize_t i = count - 1; i >= 0; i--)
    > {
    >     if (haystack[i] == needle)
    >     {
    >         *where = i;
    >         return 1;
    >     }
    > }
    > return 0;
Alternatively, you can use a while loop where the condition appears at the end of the loop:

    > size_t i = count - 1;
    > while (1)  // true
    > {
    >     if (haystack[i] == needle)
    >     {
    >         *where = i;
    >         return 1;
    >     }
    >     if (0 == i)
    >     {
    >         return 0;
    >     }
    >     --i;
    > }
Re:CNC Stone Carving on Wednesday October 28, 2026 @01:29PM (#50277382)
Nerd Catnip Alert! Can you share the X.com account that "specializes in CNC sculpting of Renaissance quality marble statues"?
Re:CNC Stone Carving on Wednesday October 28, 2026 @01:28PM (#50277345)
I would to love to learn more about the metals used in their drill bits. I think about oil/gas drilling and tunnel boring machines. They are facing some of the harshest conditions possible. (Imagine a tunnel boring machine trying to carve through granite rock in Manhattan or Swiss Alps. It is tough!) These CNC machines are doing similar on a "micro-scale". How often do they need to sharpen or replace these drill bits? And what is the cost?

Older »