HN user

goodthink

37 karma

Newspeak is the pinnacle! https://newspeaklanguage.org

Posts1
Comments46
View on HN

I learned this reading Life Extensions by Dirk Pearson and Sandy Shaw 1981.

L-Cysteine is available from raw eggs. Ever heard the saying "Here's egg in your beer"? Trouble is the egg does not float in beer, you have to guzzle the entire thing to get to the egg.

If you want to avoid a hangover consume some raw eggs and orange juice BEFORE drinking. Vitamin C is another component needed to manufacture Acetaldehyde-dehydrogenase.

Life Extensions is a great compendium of anti-aging focused biological studies. Much of it regarding antioxidants. 50 years ago.

I rewrote Chucks [American] Football Pool in Newspeak!

Having a hard deadline of Sept 1st, I wasn't sure three months would be enough time. In Newspeak, it took all of three WEEKs to get it to it's current state.

One of the best features is the fact that it's local ONLY. It uses IndexedDB (Newspeak library written by yours truly) to persist the data, meaning zero backend headaches. It also makes it usable by the masses where the Seaside version had many problems in this regard.

Chrome only. No Clod.

https://chalculator.com/primordialsoup.html?snapshot=ChucksF...

[NO-AI] [https://newspeaklanguage.org]

1) Using Chrome's Isolated Web App technology and the afforded TCPSockets in the browser, I am resurrecting an ancient, windows desktop only, TCP protocol for connecting to * from web applications. All Newspeak, all the time.

2) Re-writing my friends football pool in Newspeak. The Squeak/Seaside version has served him well for more than a decade but I've grown tired of the setup. My VPS server got hacked recently affording the impetus to try another iteration. Storing all the data locally in IndexedDB, using my own Newspeak library for that API.

* While I have no problem being "left behind", I refuse to actively assist others in "getting ahead".

US Government contractors have a requirement for average hours worked, by salaried workers, to be no more than ~40 hours / week (might be < 50). And they get audited for this (and other requirements) annually. Twenty years working for one such entity has made me grateful for it. Interesting enough work, low stress; lots of bureaucratic type stuff to deal with.

But I go home at 5pm every day.

I bought $5 worth of Claude API tokens the other day because Newspeak [0] is implementing an API interface in the IDE.

I work with Newspeak every night building all kinds of crazy stuff, from the raycasting tutorial to an IndexedDB interface. Currently, I have the IDE running as an Isolated Web App for access to TCPSockets [1][2][3].

I'm implementing ancient TCP protocols bringing them to the web.

[0] https://newspeaklanguage.org

[1] https://developer.chrome.com/docs/iwa

[2] https://developer.chrome.com/docs/iwa/direct-sockets

[3] https://github.com/GoogleChromeLabs/telnet-client (example IWA)

Reading this book brought me a better understanding of "the expression problem" and the use of the visitor pattern as its solution. This led me to (finally) grok the use of Class _Heirarchy_ Inheritance[0] as a solution not requiring visitors. In Newspeak[1], classes can contain nested classes, so when you subclass a class, you inherit the nested classes as well. This blog post discusses the same feature affording Free Object Algebras [2].

[0] https://blog.bracha.org/primordialsoup.html?snapshot=Amplefo... [1]https://newspeaklanguage.org [2]https://blog.bracha.org/primordialsoup.html?snapshot=Amplefo...

Feed the bots 9 months ago

I have yet to see any bots figure out how to get past the Basic Auth protecting all links on my (zero traffic) website. Of course, any user following a link will be stopped by the same login dialog (I display the credentials on the home page). The solution is to make the secrets public. ALL websites could implement the same User/Pass credentials: User: nobots Pass: nobots Can bot writers overcome this if they know the credentials?

My advice to little sites: Basic Auth stops bots dead in their tracks. The credentials have to be discoverable of course, which makes it useless for most sites, but it's not that inconvenient. Once entered, browsers offer to use the same creds on subsequent visits. I have several apps that use 3D assets that are large enough for it to become worrisome when hundreds of bots are requesting them day and night. Not any more, lol.