frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Sid Meier's System for Real-Time Music Composition and Synthesis

https://patents.google.com/patent/US5496962A/en
1•GaryBluto•2m ago•1 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
2•keepamovin•3m ago•1 comments

Show HN: Empusa – Visual debugger to catch and resume AI agent retry loops

https://github.com/justin55afdfdsf5ds45f4ds5f45ds4/EmpusaAI
1•justinlord•5m ago•0 comments

Show HN: Bitcoin wallet on NXP SE050 secure element, Tor-only open source

https://github.com/0xdeadbeefnetwork/sigil-web
2•sickthecat•7m ago•0 comments

White House Explores Opening Antitrust Probe on Homebuilders

https://www.bloomberg.com/news/articles/2026-02-06/white-house-explores-opening-antitrust-probe-i...
1•petethomas•8m ago•0 comments

Show HN: MindDraft – AI task app with smart actions and auto expense tracking

https://minddraft.ai
2•imthepk•13m ago•0 comments

How do you estimate AI app development costs accurately?

1•insights123•14m ago•0 comments

Going Through Snowden Documents, Part 5

https://libroot.org/posts/going-through-snowden-documents-part-5/
1•goto1•14m ago•0 comments

Show HN: MCP Server for TradeStation

https://github.com/theelderwand/tradestation-mcp
1•theelderwand•17m ago•0 comments

Canada unveils auto industry plan in latest pivot away from US

https://www.bbc.com/news/articles/cvgd2j80klmo
2•breve•18m ago•1 comments

The essential Reinhold Niebuhr: selected essays and addresses

https://archive.org/details/essentialreinhol0000nieb
1•baxtr•21m ago•0 comments

Rentahuman.ai Turns Humans into On-Demand Labor for AI Agents

https://www.forbes.com/sites/ronschmelzer/2026/02/05/when-ai-agents-start-hiring-humans-rentahuma...
1•tempodox•22m ago•0 comments

StovexGlobal – Compliance Gaps to Note

1•ReviewShield•25m ago•1 comments

Show HN: Afelyon – Turns Jira tickets into production-ready PRs (multi-repo)

https://afelyon.com/
1•AbduNebu•26m ago•0 comments

Trump says America should move on from Epstein – it may not be that easy

https://www.bbc.com/news/articles/cy4gj71z0m0o
5•tempodox•27m ago•2 comments

Tiny Clippy – A native Office Assistant built in Rust and egui

https://github.com/salva-imm/tiny-clippy
1•salvadorda656•31m ago•0 comments

LegalArgumentException: From Courtrooms to Clojure – Sen [video]

https://www.youtube.com/watch?v=cmMQbsOTX-o
1•adityaathalye•34m ago•0 comments

US moves to deport 5-year-old detained in Minnesota

https://www.reuters.com/legal/government/us-moves-deport-5-year-old-detained-minnesota-2026-02-06/
6•petethomas•37m ago•2 comments

If you lose your passport in Austria, head for McDonald's Golden Arches

https://www.cbsnews.com/news/us-embassy-mcdonalds-restaurants-austria-hotline-americans-consular-...
1•thunderbong•42m ago•0 comments

Show HN: Mermaid Formatter – CLI and library to auto-format Mermaid diagrams

https://github.com/chenyanchen/mermaid-formatter
1•astm•58m ago•0 comments

RFCs vs. READMEs: The Evolution of Protocols

https://h3manth.com/scribe/rfcs-vs-readmes/
3•init0•1h ago•1 comments

Kanchipuram Saris and Thinking Machines

https://altermag.com/articles/kanchipuram-saris-and-thinking-machines
1•trojanalert•1h ago•0 comments

Chinese chemical supplier causes global baby formula recall

https://www.reuters.com/business/healthcare-pharmaceuticals/nestle-widens-french-infant-formula-r...
2•fkdk•1h ago•0 comments

I've used AI to write 100% of my code for a year as an engineer

https://old.reddit.com/r/ClaudeCode/comments/1qxvobt/ive_used_ai_to_write_100_of_my_code_for_1_ye...
2•ukuina•1h ago•1 comments

Looking for 4 Autistic Co-Founders for AI Startup (Equity-Based)

1•au-ai-aisl•1h ago•1 comments

AI-native capabilities, a new API Catalog, and updated plans and pricing

https://blog.postman.com/new-capabilities-march-2026/
1•thunderbong•1h ago•0 comments

What changed in tech from 2010 to 2020?

https://www.tedsanders.com/what-changed-in-tech-from-2010-to-2020/
3•endorphine•1h ago•0 comments

From Human Ergonomics to Agent Ergonomics

https://wesmckinney.com/blog/agent-ergonomics/
1•Anon84•1h ago•0 comments

Advanced Inertial Reference Sphere

https://en.wikipedia.org/wiki/Advanced_Inertial_Reference_Sphere
1•cyanf•1h ago•0 comments

Toyota Developing a Console-Grade, Open-Source Game Engine with Flutter and Dart

https://www.phoronix.com/news/Fluorite-Toyota-Game-Engine
2•computer23•1h ago•0 comments
Open in hackernews

Webbol: A minimal static web server written in COBOL

https://github.com/jmsdnns/webbol
134•simonpure•4mo ago

Comments

pantulis•4mo ago
Now we are one step closer to fully realize the vision of Cobol on Cogs

http://www.coboloncogs.org/INDEX.HTM

nonethewiser•4mo ago
It's interesting to see just about every line in the code commented. Makes you re-examine the assumptions made when people say "the code should be self documenting."

Namely, that the code will be read by someone who knows the language. And arguably that the code should be capable of being "self-documenting." Although perhaps people well-versed in COBOL would argue COBOL can be, and I just don't know it.

wrs•4mo ago
See commit d9a5e3e, “Added comments to the code to help curious folks understand what each line is doing”.
jmsdnns•4mo ago
yep. the comments are for folks who have never tried to read cobol before, which is probably 99% of people looking at the project. this way they can understand a familiar idea expressed in a language that is probably wildly different from what theyre used to.

for example IT IS YELLING AT US THE WHOLE TIME

pmarreck•4mo ago
I seem to understand most of it except for this data typing stuff:

    PIC 9(9)V99
and the like. What is PIC?
zoom6628•4mo ago
IIRC is means a pictorial definition of a value so the above is a float printable using 12 positions which for maximum value would be as 999999999.99 While a PIC X(10) Means character string length 10. It was defined in era of fixed width fonts and band printers so the max printing width was 132 and one had to know exactly where each character would print. Report writing in COBOL is easy.
ochrist•4mo ago
Almost correct. However, this is not a float but a fixed decimal value with two decimals. The V is not stored but just used to indicate where the decimal sign should be. Source: I've written a lot of COBOL years ago.
tuatoru•4mo ago
PIC is short for PICTURE, which was the original form of the keyword. Picture the number printed this way.

Edit: the numbers in parentheses are repeats. PIC 9(9) means up to 9 digits in the printed representation of the value stored in the variable that has this PIC.

samus•4mo ago
I heard people at a bank claim that COBOL code is basically natural language and thus self-documenting. I almost laughed out at that.
RaftPeople•4mo ago
Bank teller: "And how can I help you?"

Customer: "PERFORM 500-DEDUCT-ACCOUNT-BALANCE"

Bank teller: "Ok, great, and how much?"

Customer:

"01 TRANSACTION RECORD

  05 TRANSACTION-AMOUNT PIC 9(9)V99
MOVE 100.00 TO TRANSACTION-AMOUNT"
tuatoru•4mo ago
A future we didn't quite make it into.
CaptainOfCoit•4mo ago
"Namely, that the code will be read by someone who knows the language. " Most of the time I think it depends on the context. If you're writing code as a learning exercise, either for yourself or for others, it makes sense to use comments to expand on what lines actually do.

If you're in the context of a professional environment, where you chose the team, it makes sense to be more dogmatic about it to enforce a better overall architecture, and you can safely assume that the next reader at least knows the language already.

jrmg•4mo ago
I know this is a ‘joke’, but it sparked in me actual questions that I am sure some folks here will know the answers to:

What are the security guarantees with writing in COBOL? Like, does COBOL allow out-of-bounds memory access? How does it compare to C or Rust as far as allowing ‘accidental’ security lapses?

leakycap•4mo ago
> Like, does COBOL allow out-of-bounds memory access?

Modern COBOL compilers will catch this with an error; if you do manage to compile and run, you'll get a runtime error or immediate crash.

> How does it compare to C or Rust as far as allowing ‘accidental’ security lapses?

COBOL has reference modification that can easily be purposefully used to reference memory outside the bound of the original data you target. It isn't memory safe, it's just very restrictive so many errors/misuses get weeded out during compiling.

evnu•4mo ago
I wondered about that as well while looking into the http handler. I think a missing space between method and path overruns the buffer (haven't tried running it though).
pelagicAustral•4mo ago
See also:

Cobol on Cogs: http://www.coboloncogs.org/HOME.HTM

Cobol on Wheelchair: https://github.com/azac/cobol-on-wheelchair

tuveson•4mo ago
People say “pick the best tool for the job” and then refuse to pick COBOL for their COmmon Business Oriented probLems
dardeaup•4mo ago
They don't refuse to pick COBOL, they refuse to consider COBOL.
pmontra•4mo ago
They even forget that COBOL could run on their computers and servers.
graemep•4mo ago
Why and when is the the "best tool for the job"?
lazerman•4mo ago
Whoosh
ternaryoperator•4mo ago
It's an ideal language for creating business reports, which is what it was originally designed to do. It has built-in commands for reading randomly or sequentially from a database and it has extensive report-formatting options. It has other application capabilities, of course, but business reporting (especially complex reports) are its sweet spot.
_ea1k•4mo ago
That is true for MUMPS too. People overlook what an epic decision they could be making.
slongfield•4mo ago
The big problem with MUMPS is that as the "Massachusetts General Hospital Utility Multi-Programming System", it does not work well for development in other states. There's been some experimentation with using it in Wisconson, but a W is not an M.
john-tells-all•4mo ago
I thought I could program in any language. But: that Cobol project makes Assembly language look clean and elegant.

I applaud Jms Dnns! This project really makes you think.

jmsdnns•4mo ago
thank you!
zoom6628•4mo ago
First job out of school was manufacturing systems support in COBOL and finance systems support in Assembler. As someone who has dealt with 40cm deep line flow stacks of source code for both the COBOL is way easier to hold in my brain. YMMV.
neoeno•4mo ago
Love to see fixed format mode in use :)

For those who are unaware — you can use COBOL in two modes: free mode and fixed format mode.

Fixed format mode is (afaik) the original, based on punch card affordances, and specifies specific columns for specific purposes:

* The first 6 columns for line numbers

* Column 7 for the indicator character (notably: * for comments as you can see here https://github.com/jmsdnns/webbol/blob/main/file-structs.cpy )

* Column 8-11 for special division markers, though they can extend beyond (visible in this file: https://github.com/jmsdnns/webbol/blob/main/webserver.cbl)

* Columns 12-72 for ordinary COBOL statements

* Columns 73-80 for programmer comments or whatever notes you like

All the columns are undoubtedly a bit taxing to the modern developer and their tools, so 'free mode' which discards all the above is the suggested default.

But, I think fixed mode is very charming, and if you're going to write COBOL in 2025, you may as well try to get the most authentic experience!

rdimartino•4mo ago
I liked this too, but interesting that the Makefile uses the `-free` flag for cobc
bombcar•4mo ago
I assume fixed is a subset of free? So perhaps a few lines somewhere aren’t perfect.
jmsdnns•4mo ago
the code is similar to fixed format, but the location of the comments gives away that it is actually in free format.

* comments use *> at start of line, though I'm not sure i'll keep that

* indentation is flexible, but i prefer how fixed looks

* no column restrictions

wrs•4mo ago
Cols 73-80 were sometimes used for sequence numbers so when you spilled your cards on the floor you could run them through the sorting machine.

This may help you get the feel (pick the COBOL card at the top). [0]

For an even more authentic experience, write the program on a coding form first, then give it to an assistant for keypunching. [1]

[0] https://www.masswerk.at/keypunch/

[1] https://www.mainframestechhelp.com/tutorials/cobol/coding-sh...

gmueckl•4mo ago
Early versions of Fortran also had a fixed column layout, although the columns were different. The only commonality thst I can find right now is ignoring columns 73 to 80 to make space for card sequence numbers.

I never wrote a program on punch cards, but I'd definitely drop card stacks accidentally or get them into a jumble somehow. Having numbered cards and a card sorting machine (radix sort in hardware!) would be extremely helpful then.

pklausler•4mo ago
Old-timer tip: take a marker and draw a diagonal line across the top of your card deck, from the column 1 left side edge of the first card to the column 80 right side edge of the last card. When you drop the deck, just reassemble the line.
dmoy•4mo ago
Which sorting algorithm do you use when reassembling? Does it work well with "eyeball it and stick it near correct-ish spot and then fiddle with it later"?
sgarland•4mo ago
Depends how much bleed your paper has with your marker, but in general it’s quite accurate to eyeball it. I’ve never used it on punch cards, but I have for large documents.
rdimartino•4mo ago
I'd love to learn more about what `CALL "socket"` is doing. CALL is for running subprograms, but it's not clear to me where "socket" is?

I've thought about a COBOL webserver before, but didn't get beyond reading the GnuCOBOL FAQ that mentions it's possible with CGI https://gnucobol.sourceforge.io/faq/gcfaq.html#id1126

I'm definitely going to dig into this project more later. This is very neat!

samus•4mo ago
Could simply be the `socket` system call.
jmsdnns•4mo ago
yep, it calls the external c function. same with setsockopt, bind, and listen further down.
andrewshadura•4mo ago
IDENTIFICATION DIVISION. PROGRAM-ID. WEBSERVER.
ethin•4mo ago
I've always wanted to learn Cobol. So, I of course did what I sometimes do and bought the standard. Of course, it then turned out that the standard used inaccessible diagrams instead of any kind of decently modern syntax notation like EBNF, so I could at most only get scraps from the syntax parts and nothing actually useful. I wasn't entirely sure if even learning it would be worthwhile or be something I would be able to do, but I thought eh, why not give it a go?
tangus•4mo ago
In the late 90's I had a girlfriend who worked for a shop that made web pages in COBOL. I thought those were COBOL's death throes, but apparently I was mistaken...
z3ratul163071•4mo ago
that's it. you get the reward for the weirdest gf ever.
ape4•4mo ago
Some things are COBOL aren't too bad - eg:

    MOVE SPACES TO REQUEST-BUFFER
beny23•4mo ago
Love this!!! Any tips for learning cobol?
throwaway-18•4mo ago
My employer has been around 40 nearly 50 years. We still run COBOL for 90% of our business operations. Day-to-day employees work in bluescreens built in RM/COBOL and RM/PANELS.

As recently as the 2010s, we used to emit HTML out of COBOL, but fell short of it directly responding to HTTP requests. Instead, we licensed an RPC layer that sits behind Apache and translates HTTP calls through CGI to a listener on the COBOL side that then invokes COBOL programs. Those programs send back HTML strings through the CGIRPC interface and, well, out comes a webpage in your browser.

We're still using it to serve XML and have turned it into a makeshift web service that helps power a traditional web application.

But, honestly, this is way cooler.

GartzenDeHaes•4mo ago
COBOL used to drive some government and business web sites. You could tell because the HTML was output in 100 column fixed width format.
andsoitis•4mo ago
what are you liking about the language?
brightball•4mo ago
Saw a great talk on COBOL this summer at the Carolina Code Conference

https://youtu.be/RM7Q7u0pZyQ

pmarreck•4mo ago
I showed my toddler parts of the original TRON not long ago, and for some reason, reading this reminds me of that lol
yawpitch•4mo ago
This was posted a few days ago with a headline that indicated it was vibecoded.

https://github.com/jmsdnns/webbol