HNHacker News
TopNewBestAskShowJobs

jhallenworld

4,964 karma · joined October 31, 2013

submissionscomments
jhallenworld··on Claude Skills are awesome, maybe a bigger deal than MCP
Try maxima, it's open source:

https://maxima.sourceforge.io/

I used it when it was called Macsyma running on TOPS-20 (and a PDP-10 / Decsystem-20).

Text interface will require a little learning, but not much.

jhallenworld··on The Rapper 50 Cent, Adjusted for Inflation
They don't say that the currencies are pegged, but I'm pretty sure they're defacto pegged. Same deal with the Euro.
jhallenworld··on New England's last coal plant has stopped operating, according to its owners
Or it gets built, but NextEra convinces the dear leader to tariff energy imports. Or Canada just cuts us off for being jerks.
jhallenworld··on New England's last coal plant has stopped operating, according to its owners
Yup, I've been watching the NECEC story unfold over the years. Boston's giant natural gas Mystic Generating Station was closed in anticipation of the power being replaced by NECEC.

There is an interesting podcast about Quebec hydropower, it's quite an accomplishment, not without controversy.

https://outsideinradio.org/powerline

jhallenworld··on New England's last coal plant has stopped operating, according to its owners
Its does, but you should see the machines they use for coal mining these days, particularly in Wyoming. A giant strip mine seems to require like 20 workers, but with giant trucks and excavators.

Even for underground mines, check out the massive longwall mining machines they use- it's kind of astonishing. They pretty much take all the coal.

I think this is lost in the political talk about protecting mining jobs- the main original competition is more efficient mining operations.

Anyway, it really says something that natural gas and solar are cheaper than coal given this context.

jhallenworld··on Environment variables are a legacy mess: Let's dive deep into them
Yes, I'm just highlighting that it's just as convenient to change them as command line parameters on a per-invocation basis. If there is a proposal for something else, it should retain this capability. Config files and something like the windows registry are much less convenient.
jhallenworld··on Environment variables are a legacy mess: Let's dive deep into them
Eh, they are just more command line arguments, ones that go on the left side of the command instead of the right. I guess an alternative is something the Windows registry, but I'm not seeing that as a great improvement since it's less direct.
jhallenworld··on AI Is Too Big to Fail
It's what E-Trade lists for dividend yield or SEC yield. I have no idea if it's before or after exchange to USD. The total return is from totalrealreturns.com, it accounts for USD inflation and includes yield (at least I think), but probably didn't include the Oct 10 drop itself.
jhallenworld··on AI Is Too Big to Fail
On the Oct 10 drop, I made a list of a bunch country specific ETFs to see who is and who isn't so correlated with the US.

                         oct 10 drop    yield           ytd total return
    mchi    china       -5.73           2.19            28.48  
    ewh     hong kong   -4.22           3.54            23.05  
    qqq     nasdaq 100  -3.47           0.46            12.4  
    argt    argentina   -3.34           1.39           -16.04 currency problems
    ech     chile       -3.2            2.18            24.8  
    ewz     brazil      -2.98           5.42            26.49  
    spy USA: s&p 500    -2.69           1.08             9.15  
    epu     peru        -2.62           3.5             52.16 metals
    norw    norway      -2.44           4.06            22.77  
    ews     singapore   -2.38           3.59            28.19  
    ewn     netherlands -2.31           1.91            25.28  
    ewx s&p emerging    -2.08           2.81             8.58  
    ewa     australia   -1.75           3.02             9.26  
    enzl    new zealand -1.65           2.25            -0.59  
    eww     mexico      -1.65           4.07            35.96  
    ewi     italy       -1.6            2.7             38.21  
    tur     turkey      -1.59           1.83            -9.71 currency problems
    ewq     france      -1.44           2.79            19.85  
    ewc     canada      -1.32           1.69            20.96  
    divo    usa cc      -1.07           4.58             8.43  
    ewp     spain       -0.68           2.68            52.85  
    ewd     sweden      -0.59           4.28            24.82  
    eden    denmark     -0.52           1.83             1.93  
    ewl     switzerland -0.275          3.63            20.78  
    efnl    finland     -0.21           3.97            31.54  
    pin     india        0              2.09            -4.03  
(Edit: here are a few more)

    btc     bitcoin     -3.72                           19.71
    aaau    gold         0.97                           48.3
    dxy     dollar      -0.69                           -2.91
    ashr    CSI-300     -4.0            .95             22  (domestic China)
    fltw    taiwan       -4.8           1.34            23
They are all correlated- even if the countries are different, it's the same set of investors. But if you have to pick one... Finland? Switzerland, Sweden and Norway have low debt / gdp.
jhallenworld··on AI Is Too Big to Fail
For inference they already face competition: that deal OpenAI announced with AMD .. at a certain point it will be worth broadening away from CUDA.
jhallenworld··on AI Is Too Big to Fail
Maybe the better algorithm will be able to run on GPUs.
jhallenworld··on AI Is Too Big to Fail
>~75–80% of S&P 500 gains

Dot com bust was 50% of S&P / 80% on Nasdaq... we survived it..

For Nvidia: all it will take is for one smart grad student to find a better training algorithm to destroy 75% of their value.

Why I think a better algorithm is out there:

Total installed GPU Tflops = 4 billion. Tflops of human brain = 1 million

jhallenworld··on Qualcomm to acquire Arduino
I like https://www.makerfabs.com/maduino

It uses Simcomm modules...

jhallenworld··on Qualcomm to acquire Arduino
Here's how I like to think about it. Tech salesmen (especially enterprise software salesmen) are just like car salesmen. Now which commission would you like to receive: mattel matchbox car or BMW? This makes sense, because it's often the same sales effort per-sale for each possibility.
jhallenworld··on Alibaba cloud FPGA: the $200 Kintex UltraScale+
Hmm, well the last time I did this was to get information for designing Intel Atom into an embedded system- this was ~2019 (I work for a small design firm). I remember you had to sign up for a premier account, sign a CNDA, then ask them to add the specific chipset documentation to your account. Maybe they were forgiving because these were low-end embedded chips.

Anyway, the information for the PCIe registers is in documents like this:

https://theretroweb.com/misc/documentation/324642-003-67f43c...

jhallenworld··on You can't parse XML with regex. Let's do it anyways
>What Wikipedia doesn't immediately convey is that XML is horribly complex

So for example, namespaces can be declared after they are used. They apply to the entire tag they are declared in, so you must buffer the tag. Tags can be any length...

jhallenworld··on Alibaba cloud FPGA: the $200 Kintex UltraScale+
I just used the Raspberry-PI V to bring up the PCIe interface on a Lattice Certus-Pro NX "Versa" board, it's very convenient.

What's cool is that the Raspberry-PI V is just fast enough to run modern desktop software, including (ack!) Microsoft Teams. I was able to give a live demo of my FPGA design by sharing the desktop during a conference call.

My only complaint is, of course, lack of SoC documentation from Broadcom.

Say what you will about Intel, but they do provide full chip documentation if you go through their NDA process. With it, I made a very nice FPGA PCIe environment on Xeon Ivy Bridge: it let me save all of the PCI config registers, then reconfigure the FPGA, then reprogram them and have the chip show up on the bus without having to reboot the server or re-enumerate. The trick is to temporarily set the root complex bit to disable PCIe error detection during the reconfiguration process.

(Was using Altera Stratix-IIgx at the time).

There is possibly another way to this, but haven't tried it:

https://stackoverflow.com/questions/32334870/how-to-do-a-tru...

But even aside from that, with the documentation you have access to a lot of error reporting which is extremely useful during PCIe bring-up.

jhallenworld··on Anti-aging breakthrough: Stem cells reverse signs of aging in monkeys
No that won't do. You need someone else to prepare the body: you know... rigorous workouts for strength and physique. Ideally the person is an excellent cage fighter and has the reflexes of a top-tier video gamer.
jhallenworld··on Mamdani says he would phase out NYC gifted program for early grades
Around here there is a company called the "Russian School of Math", I always threaten to send my kids there.
jhallenworld··on Mamdani says he would phase out NYC gifted program for early grades
This seems to refer to separate advanced schools vs. advanced classes that most in the US would be familiar with.

One analog in my area (Boston) is perhaps METCO, where ambitious students in impoverished districts can be bussed to wealthier suburban schools. It's fairly benign compared with the infamous forced bussing of the 1970s- a judge forced lower class black and white parts of the city to bus students to each other's schools in order to eliminate segregation- it caused riots. Sure there was racism, but the main complaint was that rich suburban towns were not included.

Another ongoing debate is over "charter schools"- where public funds are used for private schools that can be selective about their students. There are good arguments both for and against them. One against is that they can be for-profit even though they are not supposed to be. For example, they often pay rent to somebody- this never happens as far as I know for public schools.

jhallenworld··on How Israeli actions caused famine in Gaza, visualized
In other words it was like most governments of the world.
jhallenworld··on Anti-aging breakthrough: Stem cells reverse signs of aging in monkeys
Altered Carbon used alien magic, the way this works in the real world will be far worse: Brain transplants. First, many poor people will need to be used as guinea pigs (a la the Sun King's anal fistula). Then once it works.. well some strapping young man (or woman!) will have to "volunteer" their body to host Elon's brain.
jhallenworld··on How Israeli actions caused famine in Gaza, visualized
Speaking of the US invasion of Iraq.. Here is Netanyahu advising the US to do it:

https://www.c-span.org/clip/house-committee/user-clip-netany...

And more for Israel itself "Israeli intelligence officials had new evidence that Iraq was speeding up efforts to produce biological and chemical weapons"

https://www.theguardian.com/world/2002/aug/17/iraq.israel1

jhallenworld··on OpenAI's H1 2025: $4.3B in income, $13.5B in loss
Google didn't have inline ads until 2010, but they did have separate ads nearly from the beginning. I assume ads will be inline for OpenAI- I mean the only case they could be separate is in ChatGPT, but I doubt that will be their largest use case.
jhallenworld··on How big a solar battery do I need to store all my home's electricity?
Another way to look at this: how much solar do you need to synthesize 1 MWh of methanol ("e-methanol") from water, which is only ~54 gallons (200 liters)? Actually you need 135 gallons since the generator is likely 40% efficient (or less..). This is not much fuel, I used to have two 275 gallon oil tanks in my basement.

I think e-methanol synthesis is ~%50% efficient, so double the solar. Doesn't sound so bad.

Now if you could synthesize methane you could push it into the gas grid and run the meters backwards, thereby avoiding the need for storage... actually methane synthesis is even more efficient, >70%.

jhallenworld··on Toxic "forever chemicals" found in 95% of beers tested in the U.S.
Is it more or less dangerous than the alcohol?

Alcohol: mouth and throat, laryngeal, esophageal, female breast, colorectal, stomach, and liver cancer.

PFAS: testicular cancer...

Nope to PFAS!

jhallenworld··on U.S. added 911k fewer jobs in year through March than reported earlier
Well there is another issue: trust in the dollar is waning, so central banks have been buying gold. If Trump messes too much with the fed's independence, this can only get worse.. One source theorizes that his admin. is doing this not so much to lower interest rates, but to get the fed to reduce interest it pays to banks for money they keep at the fed (a thing that started after the GFC). The idea is that then the banks would buy treasuries instead, which might reduce the debt payment burden on the government.

Anyway... gold is all about wealth preservation, not growth, so I don't know what to tell you. But it is up 44% over the last year.

jhallenworld··on YouTube is a mysterious monopoly
The new thing that YouTube Premium includes is the one button press to skip over "commonly skipped parts of the video"- typically the in-video promotions. This just showed up last week on my nVidia shield connected to my TV. So finally there is a way to remove ads for real. It would be nice if it did it automatically.

The creator is getting paid more from my Premium subscription, so I definitely do not want to see their own ads.

jhallenworld··on I bought the cheapest EV, a used Nissan Leaf
So here's the thing that's coming for EVs, and I finally started to see it for the Leaf: driveway DIY battery replacement:

https://www.youtube.com/watch?v=SIQ-RROpls0

Yes, this involves lying on your back with a 700 lb battery held up by jacks just inches above your head. But heck, services are expensive these days so it's going to happen.

jhallenworld··on Action was the best 8-bit programming language
I never had Action!, but I did try Deep Blue C for the Atari 800. One issue was lack of brackets in the character set.. I think it used $( and $) instead.

https://www.atariarchives.org/APX/showdocs.php?cat=20166

There were some other weird 8-bit programming languages: PLM and MPL. These are PL/I clones for 8080 and 6800. I used MPL long ago and wrote an article about it:

https://github.com/jhallen/exorsim/tree/master/mpl

PLM was much more popular and better:

https://en.wikipedia.org/wiki/PL/M

← PreviousPage 4 of 34Next →