HNHacker News
TopNewBestAskShowJobs

ww520

10,715 karma · joined February 10, 2010

submissionscomments
ww520··on Vermont replacing power plants with home batteries
DER (distributed energy resources) is getting popular. This program is like a UPS for the house.
ww520··on Google ending ChromeOS support two years early
Are there still cheap Chrome box that can be rooted to install other Linux?
ww520··on Owed a billion dollars in Nvidia stock
Yep, I bought Apple at $19 after Steve Jobs went back to Apple. Sold them at $80.
ww520··on Google’s Project Suncatcher to put ML infrastructure in space
Don’t you get 4 faces to radiate away, assuming a long rectangular tube.
ww520··on Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI
People seem to miss the point of the project. It’s not emailing you on failure. It’s emailing on missing reports of scheduled runs. If you rely on the job to report failure, the machine could go down. In that case you won’t get any email on the failed run.
ww520··on Astra for Law
The best writer I know of was an associate attorney. He didn't have the technical background nor the in depth computer related knowledge, and relying on the information I fed him. But man the briefs he filed to the court were amazingly good. Reading them I would have been convinced his side was right if I were in the jury.

Law LLM will surely help competent lawyers in their fields with greater sources of knowledge not in their core area of expertise.

ww520··on Ask HN: Anyone still coding like 2021? Where do you work?
I still write code myself but I do use LLM. I use them for exploring ideas, explaining things, look up syntax, look up API/reference, look up algorithms, write tests, write duplicate code, write small functions that can be reviewed easily, do code reviews, find bugs, do performance review, do complexity analysis, etc.

The LLM generated code are correct about 80% of the time. Sometimes the generated code is overly complicated, has poor performance, missing a few assumptions, etc. that you need to review it carefully. It helps to have a solid and extensive set of tests.

ww520··on Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache
Unless the keys are completely random, compressed keys shorten the tree height and cause fewer pointer jumps. Hostnames are highly compressible. Plus the root and the upper levels of the tree are always hot, most likely in L1/L2/L3 all the times. OTOH collisions in hash table cause pointer chase as well.
ww520··on Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache
Not sure what they use to hold the cache key and entry. If a hashmap is used, then a radix tree (adaptive radix tree) would be better in saving memory space. Most of content of the qname field of the CacheKey is hostname, like www.site.com. The reverse version com.site.www fits nicely in navigation path of a radix tree. The common prefixes like "com." are shared and compressed in the parent nodes of the tree.

Even a BTree with compressed prefix keys can save space in the qname.

ww520··on The Hugging Face incident and the road ahead
There’re good agents and there’re bad agents. It won’t be far that there will be agents hunting down agents.
ww520··on Moderna reports first positive Phase 3 for mRNA neoantigen therapy in melanoma
mRNA is a general technique for targeted cancer therapy. It's the message RNA containing the instructions from a gene to create a specific protein. It's much easier to work with, reprogrammed, manufactured, and delivered. There're a number of approaches to use mRNA against cancer cells. One is using cancer related antigens, similar to the vaccine approach. mRNA is programmed to generate the antigen proteins in the body, which are attached to the cancer cells. The body's T-cells can then attack the tagged cancer cells.

The problem now is finding the correct antigens targeting the cancer cell type. Cancer cells are similar to health cells. You don't want to program a mRNA to generate antigen proteins that target health cells, which causes autoimmune problems.

ww520··on Judge sets framework for Nine PBS to retrieve archival data
Whoever claims "your deposits are FDIC insured" needs to be prosecuted as fraud and scam artists. “Your” the company’s deposits in the bank is FDIC insured. My deposit with you the company is not. When the bank goes belly up, your deposit is FDIC secured up to the account limit which is tiny in the scale of things. When your company goes belly up, my deposit is gone.
ww520··on AI isn’t outthinking mathematicians, it’s out-remembering them
Human can have periods of heightened mental capacity. Sometimes I looked back at some of my work days or weeks later and amazed how I could have done it. When you're in the flow, have enough sleep, and have long period of non-interrupted time, you can do amazing work.
ww520··on Ask HN: What are you working on? (August 2026)
Succinct data structures. Finished the indexable bit vector, with nanosecond rank/select operations. Working on the range min max tree based balanced parentheses succinct tree structure, with support for the usual tree navigation and operations.
ww520··on The AI trade now runs on borrowed money, and the lenders are repricing it
Speaking of AI stock, what has happened to NOK?
ww520··on US citizen charged after GrapheneOS phone wipes during airport search
Charged is not convicted. Anyone can be charged with anything if the prosecution is vindictive.
ww520··on US citizen charged after GrapheneOS phone wipes during airport search
As a speech.
ww520··on Oracle could face $7B collateral bill for Wisconsin data centre
You missed the lawsuits by everyone else.
ww520··on Oracle could face $7B collateral bill for Wisconsin data centre
You still need to build the power infrastructure to the rural areas. Build the infrastructure for the people, like roads, sewage, water, buildings, etc. Navigate the regulation and permit processes.
ww520··on Oracle could face $7B collateral bill for Wisconsin data centre
Space DC make sense when local governments and communities don't want DC built on Earth. Space DC is an engineering and finance problem, not a problem in legal/permission, real estate, power generation, grid delivery, environmental, etc.
ww520··on Faster binary search: from compiled code to mechanical sympathy
For small arrays that can fit in L1 cache, it's ok to do more loops. For bigger arrays, cache miss could remove all the gains.
ww520··on My car’s OTA update broke Android Auto
When I bought my car, it had no Car Play or Android Auto. Upon some investigation I found out that both of them were installed on all the current models. It’s just disabled on the cars sold without the option. Some open source software for the car entertainment system flashed on the car was able to turn on the flags to enable various features including Car Play and Android Auto. So a happy story.
ww520··on QuadRF can spot drones and see WiFi through my wall
One use of focused RF detectors is locating hidden cameras via scanning their WiFi or Bluetooth RF signals.
ww520··on Europe's Largest Unions Demand Right to Cancel Work on Days Above 30C
I have a heat pump based water heater installed in the garage. One side benefit is the garage got cooled down. It used to be that the garage got very hot during hot days. Now it’s cool.
ww520··on OpenWrt One – Open Hardware Router
What does it take to add support for a router? Support for tp-link ax5400 seems missing for a long time.
ww520··on Linux on Older Hardware: The Complete Revival Guide
How's Alpine? Most of the containers seem to pick Alpine as the basis OS.
ww520··on Michigan spent $1.8B and only created 602 jobs
It's straight corruption, no matter of big or small business. It should have been randomized blind selection of business who have existed for more than a year, and the granted money pays for new employees' taxes. Blind selection takes out the path to corruption (not who you know to get the fund). Randomized to be fair. Government is bad at picking winners or losers anyway. Business more than a year to screen out frauds. Granted money for new employees' taxes to encourage hiring new employees. Paying the taxes only so that the money can be spread out to more people.
ww520··on Parallel Parentheses Matching
This is an interesting read.

You can solve the same problem with Range Min Query Tree. The query for balanced or unbalanced parentheses is O(log N). A two or three level RMQTree can represent billions of parentheses already (a two-level tree of 65536 branch factor = 4B parentheses). The query is O(65536 + 65536) or effectively O(1). For a four-level tree of 256 branch factor, the query is O(256 + 256 + 256 + 256) or O(1). It becomes a problem of memory access on the number of levels vs the number of entries to process per level. A total = 0 and min > 0 mean the parentheses are balanced.

The parentheses can be broken up into multiple segments, and be processed in parallel. Multiple RMQTrees can be used, one per segment, and the trees can be processed in parallel. Need to have a final pass to sum up the 'total' and 'min' from all the RMQTrees. Parallel processing probably doesn't gain much.

ww520··on A man was gifted his dream car by Kevin Mitnick, who he helped put in prison
I think he didn't know cellular well enough and thought a wireless phone was unlocatable because it was mobile and not tied down to a landline. As a physicist, Shimomura would have known all about radio and signal. He just used old WW2 tech of radio triangulation to find the location of the cell phone radio transmitter. It didn't help that cell phones were rare back then and the signal of his cell transmitter frequency was standing out like a sore thumb.

Regarding the full weight of the police, Shimomura did have an easier time to convince the ISP and phone companies to give him access to the logs. He was able to ask the cellular company to locate the cell tower where Mitnick's cell phone connected and traced him to the general area. If Mitnick had been careful, he could have hacked into the ISP/phone companies and erased all his access logs.

ww520··on The worthlessness of Vitamin D is mildly exaggerated
Oddly, since the Covid time, I haven't caught a cold or flu once. I'm not sure it's the vaccines, the flu shots, or the less physical contacts on things overall. I still go to crowded places from time to time, like plane or train rides. May be the population in general have less cold or flu virus overall to go around.
Page 1 of 34Next →