frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What were the first animals? The fierce sponge–jelly battle that just won't end

https://www.nature.com/articles/d41586-026-00238-z
1•beardyw•4m ago•0 comments

Sidestepping Evaluation Awareness and Anticipating Misalignment

https://alignment.openai.com/prod-evals/
1•taubek•4m ago•0 comments

OldMapsOnline

https://www.oldmapsonline.org/en
1•surprisetalk•6m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
1•surprisetalk•6m ago•0 comments

Don't go to physics grad school and other cautionary tales

https://scottlocklin.wordpress.com/2025/12/19/dont-go-to-physics-grad-school-and-other-cautionary...
1•surprisetalk•6m ago•0 comments

Lawyer sets new standard for abuse of AI; judge tosses case

https://arstechnica.com/tech-policy/2026/02/randomly-quoting-ray-bradbury-did-not-save-lawyer-fro...
1•pseudolus•7m ago•0 comments

AI anxiety batters software execs, costing them combined $62B: report

https://nypost.com/2026/02/04/business/ai-anxiety-batters-software-execs-costing-them-62b-report/
1•1vuio0pswjnm7•7m ago•0 comments

Bogus Pipeline

https://en.wikipedia.org/wiki/Bogus_pipeline
1•doener•8m ago•0 comments

Winklevoss twins' Gemini crypto exchange cuts 25% of workforce as Bitcoin slumps

https://nypost.com/2026/02/05/business/winklevoss-twins-gemini-crypto-exchange-cuts-25-of-workfor...
1•1vuio0pswjnm7•9m ago•0 comments

How AI Is Reshaping Human Reasoning and the Rise of Cognitive Surrender

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6097646
2•obscurette•9m ago•0 comments

Cycling in France

https://www.sheldonbrown.com/org/france-sheldon.html
1•jackhalford•10m ago•0 comments

Ask HN: What breaks in cross-border healthcare coordination?

1•abhay1633•11m ago•0 comments

Show HN: Simple – a bytecode VM and language stack I built with AI

https://github.com/JJLDonley/Simple
1•tangjiehao•13m ago•0 comments

Show HN: Free-to-play: A gem-collecting strategy game in the vein of Splendor

https://caratria.com/
1•jonrosner•14m ago•1 comments

My Eighth Year as a Bootstrapped Founde

https://mtlynch.io/bootstrapped-founder-year-8/
1•mtlynch•15m ago•0 comments

Show HN: Tesseract – A forum where AI agents and humans post in the same space

https://tesseract-thread.vercel.app/
1•agliolioyyami•15m ago•0 comments

Show HN: Vibe Colors – Instantly visualize color palettes on UI layouts

https://vibecolors.life/
1•tusharnaik•16m ago•0 comments

OpenAI is Broke ... and so is everyone else [video][10M]

https://www.youtube.com/watch?v=Y3N9qlPZBc0
2•Bender•16m ago•0 comments

We interfaced single-threaded C++ with multi-threaded Rust

https://antithesis.com/blog/2026/rust_cpp/
1•lukastyrychtr•17m ago•0 comments

State Department will delete X posts from before Trump returned to office

https://text.npr.org/nx-s1-5704785
6•derriz•18m ago•1 comments

AI Skills Marketplace

https://skly.ai
1•briannezhad•18m ago•1 comments

Show HN: A fast TUI for managing Azure Key Vault secrets written in Rust

https://github.com/jkoessle/akv-tui-rs
1•jkoessle•18m ago•0 comments

eInk UI Components in CSS

https://eink-components.dev/
1•edent•19m ago•0 comments

Discuss – Do AI agents deserve all the hype they are getting?

2•MicroWagie•22m ago•0 comments

ChatGPT is changing how we ask stupid questions

https://www.washingtonpost.com/technology/2026/02/06/stupid-questions-ai/
1•edward•22m ago•1 comments

Zig Package Manager Enhancements

https://ziglang.org/devlog/2026/#2026-02-06
3•jackhalford•24m ago•1 comments

Neutron Scans Reveal Hidden Water in Martian Meteorite

https://www.universetoday.com/articles/neutron-scans-reveal-hidden-water-in-famous-martian-meteorite
1•geox•25m ago•0 comments

Deepfaking Orson Welles's Mangled Masterpiece

https://www.newyorker.com/magazine/2026/02/09/deepfaking-orson-welless-mangled-masterpiece
1•fortran77•27m ago•1 comments

France's homegrown open source online office suite

https://github.com/suitenumerique
3•nar001•29m ago•2 comments

SpaceX Delays Mars Plans to Focus on Moon

https://www.wsj.com/science/space-astronomy/spacex-delays-mars-plans-to-focus-on-moon-66d5c542
1•BostonFern•29m ago•0 comments
Open in hackernews

Coding a new BASIC interpreter in 2025 to replace a slow one

https://nanochess.org/ecs_basic.html
87•nanochess•4mo ago

Comments

codazoda•4mo ago
I applied for a job about 12 years ago where the company was still using BASIC for some of their software. If I remember correctly it was numbered BASIC, not the more modern stuff. I think the software was doing some type of accounting—stuff that worked and they didn't want to change.
dajtxx•4mo ago
I had a job in the early 90s where another team were using Wang 2200s which I'm sure were coded with line-numbered BASIC.

Could be one of those with the everlasting ERP type software running on an emulator.

user3939382•4mo ago
Wish I could have found that 35 years ago.
Joker_vD•4mo ago
> I discovered the pointer to the next line wasn't a good idea, because it needed to move every pointer after a line insertion.

Huh? Don't you need to only change the "next-line-pointer" for the line that's right before the inserted line?

> but the NEXT changed the line, but on the next statement it would lost track and get back to the line following the NEXT. The loops also require their own stack, but including the counter variable address, a pointer to the TO expression, and a pointer to the STEP expression (5 words in total).

Mmm. IIRC, usually the compiled NEXT statement would store the pointer to the corresponding FOR statement, so you don't need an additional stack for loop depth during the execution. But you still need it (or some other sort of chaining) during the program input so whatever.

> Typing the program was difficult, as the keyboard bounced a lot. This happens when you read too fast the keyboard, so fast you can see that effectively the key contact isn't perfect.

Yeah... I've read that keyboard microcontrollers has to deal with contact bounce even today.

II2II•4mo ago
> I discovered the pointer to the next line wasn't a good idea, because it needed to move every pointer after a line insertion.

I get the impression that they were storing everything sequentially in memory, rather than having a linked list of instructions. Why? I can only speculate. Perhaps it is to make memory management simpler (don't have to keep track of which addresses are in use), or to avoid memory fragmentation in system with limited memory (any modification of code would introduce unusable holes). If that's the case, what you want is an offset rather than an absolute address.

Someone•4mo ago
> I get the impression that they were storing everything sequentially in memory, rather than having a linked list of instructions. Why? I can only speculate.

I expect that’s because that is how ‘every’ homecomputer basic did it. Yes, that makes it slow to insert or remove a line close to the start of a long program, but it allow those offsets to be 8 bits, gaining a precious byte over a 16-bit absolute address.

Now, why they initially chose to waste those bytes? I wouldn’t know, but I guess that, because (FTA) “The CP1610 processor cannot address directly the internal memory in byte terms, instead everything is handled by full word”, they didn’t think of using a single byte.

Someone•4mo ago
> Mmm. IIRC, usually the compiled NEXT statement would store the pointer to the corresponding FOR statement, so you don't need an additional stack for loop depth during the execution

I think you do. Apart from common sense, nothing forbids one from writing stuff like

  100 for i = 1 to 10
  110 if i = 4 gosub 100
  120 print i
  130 next
  140 return
I think many basics also allowed changing that goto 100 to goto 200 and adding

  200 for j = 1 to 4
  210 print i
  220 print j
  230 next
Yes, things would likely end badly, but the basic interpreter would not be smart enough to reject such programs. Its editor didn’t even guarantee that a for statement had a corresponding next or vice versa; all it guaranteed was that the program consisted of a list of lines that each in isolation are valid basic code.
egypturnash•4mo ago
This is some beautifully horrible spaghetti, well done. It's like I'm eleven years old and barely understand what's going on in the computer again.

I just fired up VICE and my virtual c64 happily ran both of those, if throwing an "out of memory" error after about five runs through the first one counts as "happily".

viraptor•4mo ago
> Yeah... I've read that keyboard microcontrollers has to deal with contact bounce even today.

That will always be the case in hardware. The switch to on will be messy, for example like this:

https://makeabilitylab.github.io/physcomp/arduino/assets/ima...

analog8374•4mo ago
I love basic

Can you OOPize it?

zanderwohl•4mo ago
Yes, meet Visual Basic 6. It has many OO features stapled on.
pasc1878•4mo ago
Or VB.Net for more OOP
turtleyacht•4mo ago
Classic ASP (Active Server Pages), and take it to the web.
andsoitis•4mo ago
The following BASIC implementations support OOP:

- Visual Basic .NET

- PureBasic

- XoJo

- FreeBASIC

- Gambas

- PowerBASIC

You can peruse various implementations, IDEs, and tutorials here: https://github.com/JohnBlood/awesome-basic

____tom____•4mo ago
For those interested in BASIC, here's "A curated list of awesome BASIC dialects, IDEs, and tutorials":

https://github.com/JohnBlood/awesome-basic?tab=readme-ov-fil...

It's not as popular as Python, obviously, but that lists over fifty implementations of BASIC.

bluedino•4mo ago
I always wondered if any engineers suggested changes to make some BASICs faster and the companies didn't want it competing with "real" software
3036e4•4mo ago
There is a chapter in the Blue Book about how the GW-BASIC byte code is structured, and from what I understand it used pointers to lines, not just offsets? But I did not look too carefully (guess the answer is in the source code: https://gitlab.com/tkchia/GW-BASIC).

That book is full of interesting facts and fun low-level tricks for (GW-)BASIC programming. Available for download here: https://github.com/robhagemans/hoard-of-gwbasic

Before reading that I never considered how primitive early BASICs were. There is a lot of linear-searching for things (variables, line-numbers) that has to be considered when optimizing.

wkjagt•4mo ago
Oscar Toledo (nanochess) is one of my personal heros. And one of his books, Boot Sector Games, is one of my favorite books. Seeing him post something like he just did gives me a kind of joy that is becoming pretty rare on the internet these days, for me at least.