HNHacker News
TopNewBestAskShowJobs

pankajdoharey

359 karma · joined August 18, 2011

Don't fix something that isn't broken!
submissionscomments
pankajdoharey··on A definition of AGI
Exactly. It sure is around the corner, because they are talking about AGI (Actually Getting Investments).
pankajdoharey··on A definition of AGI
People are specialists not generalists, creating a AI that is generalist and claiming it to have cognitive abilities the same as an "well-educated" adult is an oxymoron. And if such system could ever be made My guess is it wont be more than a few (under 5) Billion Parameter model that is very good at looking up stuff online, forgetting stuff when not in use , planning and creating or expanding the knowledge in its nodes. Much like a human adult would. It will be highly sa mple efficient, It wont know 30 languages (although it has been seen that models generalize better with more languages), it wont know entire wikipedia by heart , it even wont remember minor details of programming languages and stuff. Now that is my definition of an AGI.
pankajdoharey··on Jank is C++
Yup this is the way.
pankajdoharey··on Translate Fortran to C++ with AI and RAG
So you are arguing that renting Mainframe is cheaper than datacenter hardware?
pankajdoharey··on Translate Fortran to C++ with AI and RAG
You're absolutely right that switching languages alone doesn't solve the problem. The real issue isn't COBOL itself but the deep entanglement of business logic with the mainframe ecosystem, things like CICS, IMS, and even the way data is stored and processed. But I still think there's a path forward, and I’ll share a thought experiment based on my experience working alongside colleagues who’ve spent years maintaining these systems.

I’ve seen firsthand how much frustration COBOL can cause. Many of my colleagues didn’t enjoy writing it, they stuck with it because it paid well, not because they loved the work. The language itself isn’t the hard part; it’s the decades of accumulated technical debt and the sheer complexity of the environment. Over time, these systems become so intertwined with business processes that untangling them feels impossible. But what if we approached it incrementally?

Imagine taking an existing COBOL codebase, say, for a large insurance system and identifying the core business logic buried within it. These are the rules and conditions that power critical operations, like calculating premiums or processing claims. Now, instead of trying to rewrite everything at once, you build a parallel backend in a modern language like Java or Go. You don’t aim for a literal translation of the COBOL code, you focus on replicating the functionality in a way that makes sense in a modern context. For example, replace hardcoded file operations with database calls, or screen based interactions with REST APIs.

Most mainframe customers already use middleware like MuleSoft or IBM Z/OS Connect to route requests to both systems simultaneously. For every write operation, you update both the mainframe’s DB2 database and a modern relational database like Postgres. For every read operation, you compare the results from both systems. If there’s a discrepancy, you flag it for investigation. Over time, as you handle more and more business scenarios, you’d start covering all the edge cases. This dual system approach lets you validate the new backend without risking critical operations.

Of course, this process isn’t without its struggles. Testing is a huge challenge because mainframe systems often rely on implicit behaviors that aren’t documented anywhere. My colleagues used to joke that the only way to understand some parts of the system was to run it and see what happened. That’s why rigorous testing and monitoring are essential you need to catch discrepancies early before they cause problems. There’s also the cultural side of things. People get attached to their mainframes, especially when they’ve been running reliably for decades. Convincing stakeholders to invest in a multi year migration effort requires strong leadership and a clear case for ROI.

But I think the effort is worth it. Moving off the mainframe isn’t just about saving money though that’s a big part of it. It’s about future proofing your organization. Mainframes are great at what they do, but they’re also a bottleneck when it comes to innovation. Want to integrate with a third party service? Good luck. Need to hire new developers? Most of them have never touched COBOL. By transitioning to a modern platform, you open up opportunities to innovate faster, integrate with other systems more easily, and attract talent who can actually work on your codebase.

In the end, this isn’t a quick fix it’s a long term strategy. But I believe it’s achievable if you take it step by step. Start small, validate constantly, and gradually build up to a full replacement. What do others think? Are there better ways to tackle this problem, or am I missing something obvious?

pankajdoharey··on Translate Fortran to C++ with AI and RAG
Resilience == redundancy, it has been successfully replicated by almost every organisation without mainframes. M-MANGA (Meta, Microsoft, Apple, Netflix, Google, Amazon) Infrastructure is quite resilient.
pankajdoharey··on Translate Fortran to C++ with AI and RAG
Which is why i think cross compiling to other dependencies and porting to other languages is a better solution. Many of these dependencies could be hardware specific. As long as core business solutions could be ported would be a win for everyone stuck in decades of vendor lockin.
pankajdoharey··on Translate Fortran to C++ with AI and RAG
LLM as translators for Cobol code to Java or Go should be attempted. And Shut down the IBM mainframe rent seek business for good permanently.
pankajdoharey··on Crystal 1.16.0
My guess is LLVM. Crystal Uses LLVM for code generation while Go has their own compiler backend.
pankajdoharey··on That's a Lot of YAML
All I see is Lisp:

#Operator: - Operand 1 - Operand 2

pankajdoharey··on Crystal 1.16.0
I used it in production for a client last yr and i compared that with a go implementation. The concurrency support of crystal on a 40 Core machine beast the socks off golang. Crystal both maxes out all the cores to a high degree, on file io and overall speed of execution. The time taken to do the same task Crystal; beats go by a significant margin while being so easy to write. And go is a easy language to write but Crystal is so much more easy to read because of Ruby syntax inheritance.
pankajdoharey··on Microsoft unveils Majorana 1 quantum processor
Based on what i read it seems a lot of algorithmic work is required to even make them useful. New algorithms have to be discovered and still they will only solve only a special class of problems. They cant do classical computing so your NVIDIA GPU probably may never be replaced by a Quantum GPU.
pankajdoharey··on Microsoft unveils Majorana 1 quantum processor
So you are saying its official fake news from Redmond ?
pankajdoharey··on Q2DOS – Quake 2 backported to MS-DOS
Allegro thats a name i have not heard since 2002 i think. Kids these days would know SDL, DirectX , LOVR or Raylib.
pankajdoharey··on Q2DOS – Quake 2 backported to MS-DOS
How do these Nintendo handhelds work? i thought they use some kind of framebuffer for such great performance for the substandard quality hardware they use. Every generation of Nintendo chip is way behind Apple and Android systems yet they achieve remarkable performance.
pankajdoharey··on Q2DOS – Quake 2 backported to MS-DOS
What realmode in DOS offered was a boon for beginner programmers, i wonder has anyone done something similar in linux framebuffer without using X server. Perhaps a game in /dev/fb0 ?
pankajdoharey··on SiFive's P550 Microarchitecture
Even if i try to avoid the hyperbole by saying by the time SiFive nodes will reach maturity with the current cortex, GPT-30 will be out etc ...

The fact is that the node difference (7nm vs. 10nm) is critical here, SiFive’s area/power efficiency gains aren’t purely architectural but partly process-driven. Even with that advantage, matching a 2018 A75 (designed for mobile thermal/power limits) in 2024 feels like catching up to ARM’s rearview mirror. ARM’s A720 today benefits from years of iterative refinement (cache hierarchies, branch predictors, memory subsystems) that aren’t easily replicated overnight.

Scaling beyond cores is another hurdle, interconnects, memory controllers, and accelerators matter just as much as raw IPC. RISC-V’s ecosystem (tools, firmware, software optimization) also lags ARM’s, which could limit adoption even if the P550 were competitive.

SiFive’s claims highlight RISC-V’s potential, but until they benchmark against modern cores on the same node and demonstrate system-level competitiveness (not just microarchitecture wins), the gap will persist. That said, disruption takes time—ARM wasn’t born polished either. The real test is whether SiFive can close the maturity deficit before ARM’s roadmap (and AI-driven heterogeneity) leaves them behind. I doubt it, the GAP in GPU cores alone between Cortex and M Series is so huge, and then there are accelerators like NPU cores, which SiFive havent even started working on yet.

Even Cortex NPU's are behind Apple M Series, and if a large companies liek Samsung, Qualcomm, Mediatek lag behind Apple is Quality ARM chips with Decent GPU, NPU on Board memory, what hope does SiFive Have? At Worse Burn Investor money and die. At Best supply chips for your remote control, washing machine etc ... competing with mainstream applications would not be wise by any standards.

pankajdoharey··on AI models collapse when trained on recursively generated data
This is a similar problem to what was observed in Diffusion models going "MAD" when trained on synthetic data. https://arxiv.org/abs/2307.01850 . Therefore, going forward AI companies will find it increasingly difficult to get their data by scraping the. web, because web will be full of synthetically generated data.
pankajdoharey··on Show HN: Pomoglorbo, a TUI Pomodoro timer for your terminal
Mine uses Bash:

https://github.com/metacritical/pomodorino

pankajdoharey··on So you want to build a browser engine
The underlying baked assumption is chromium as a rendering engine is better than Safari. How is chromium rendering engine better than safari ? Quality wise they both are same Safari actually consumes way less memory.
pankajdoharey··on Nalanda: The university that changed the world (2023)
Evidence of this claim? Any inscription , Manuscript anything of Brahman Religion ?
pankajdoharey··on Nalanda: The university that changed the world (2023)
Lingam is not a representation it is indeed the phallus or penis that was severed by Indra. According to Brahminical stories. Please educate yourself. Multiple jyotirling apparently are the various fallen pieces of the penis of Shiva according to the Brahman.
pankajdoharey··on Nalanda: The university that changed the world (2023)
As you may know the story Shivas Phallus was cut by Indra, and now Hindus Worship the fallen penis of their deity from puranas being cut by another deity of the vedas. What kind of person would write such stories and then go ahead and worship the fallen penis of its god? No respect for its own deity? Because its not their deity. Brahman exist purely for the donations to temples. If people stop giving donations Brahman will occupy something else for donations.

Buddhist caves with votive stupa: https://www.bandhavgarh-national-park.com/blog/buddhist-cave...

Nigallakonda https://www.alamy.com/view-of-ruin-of-ancient-group-of-stupa...

Votive stupas with faces of make and female bodhisattvas: https://en.wikipedia.org/wiki/Lingam#/media/File:4_Buddha_an... https://upload.wikimedia.org/wikipedia/commons/a/a4/1_Buddha...

Why Buddhas face on this claimed shivalinga: https://www.nortonsimon.org/art/detail/F.1972.11.2.S

https://en.wikipedia.org/wiki/Mukhalinga#/media/File:Five_He... https://www.civilsdaily.com/wp-content/uploads/2016/12/macin... https://en.wikipedia.org/wiki/Mukhalinga#/media/File:Five_He... https://upload.wikimedia.org/wikipedia/commons/4/4e/025_Shiv...

Claimed as shivalinga, can you explain why the buddhas hand mudra: https://static.india.com/wp-content/uploads/2023/05/Nepal-1....

Who are these characters 2 males and one female? https://i.pinimg.com/736x/08/00/fc/0800fc34453462c46a78dc99f...

Is this shivas face on his own phallus? https://www.metmuseum.org/art/collection/search/38242

Broken votive stupa at the same Kapilvastu buddhist site : https://upload.wikimedia.org/wikipedia/commons/4/42/Shiva_Li...

Large Stupas , Dhamek Stupa

https://upload.wikimedia.org/wikipedia/commons/7/7d/Dhamekh_...

Stupas on teh Sanchi Hill: https://asearchformore.wordpress.com/2014/11/12/stupas-on-th...

Other votive stupas: https://framemark.vam.ac.uk/collections/2006AM4892/full/1400...

https://www.vajiramias.com/current-affairs/what-is-a-votive-...

https://www.istockphoto.com/photo/votive-stupas-in-bhaja-cav...

https://en.wikipedia.org/wiki/Lenyadri#/media/File:Lenyadri_...

https://www.istockphoto.com/photo/votive-stupas-in-bhaja-cav...

https://i.ytimg.com/vi/ypB5i7VGArQ/oar2.jpg

https://youtu.be/ypB5i7VGArQ

https://www.alamy.com/votive-stupa-with-four-buddhas-culture...

Votive stupas inside Ranpur Buddhist caves are being claimed as shivas phallus: https://youtu.be/3vzGBxjG9E8

Forced occupation of the cave by claiming a wall to be Ganesha: https://youtu.be/ypB5i7VGArQ

Bhadrakali Temple Itkhori stupa worshipped as shivalinga: https://youtu.be/O22bc_UIxt0

Tara devi converted to Hindu godess: https://youtu.be/6-FHiEA--x4

The list goes on and on because brahman Dharma (Hinduism) had no sculpture art, it is banned in it. India is full of buddhist art with votive stupas having multiple faces of either Buddha or Bodhisattvas. Brahminism doesnt have sculpture infact it is banned in many texts, nor do they have any description of their gods. Shiva doesnt even exist in Vedas. The character Rudra being claimed as Shiva in Vedas is the god of Thunder storms in vedas. Most of all if it is such an important god why cut write a story of its penis cut by another lowly god of the vedas? The sculpture speaks for itself.

pankajdoharey··on Nalanda: The university that changed the world (2023)
What is Hindu Buddhist? Why does Brahman seek evidence for its existence in Buddhist Evidence? This happens only when the other is the illegal occupier such as Hagia Sophia.
pankajdoharey··on Nalanda: The university that changed the world (2023)
Evidence of the word hindu or brahman and that the temple is built for the Brahman of Hindu ? Any inscription ? Claims arent facts.
pankajdoharey··on Nalanda: The university that changed the world (2023)
Evidence of schools universities and exietnce of the brahman and its language and literature at the time?
pankajdoharey··on Nalanda: The university that changed the world (2023)
Bogus article, if Guptas were so called hindu why were they not building any Brahmanical Temple or University? Why not a single Brahman University ever been found. There are several such gaps in Indian history, it needs to be relooked at with evidence.
pankajdoharey··on Nalanda: The university that changed the world (2023)
Over 100 Buddhist universities have been found across India Pakistan Bangladesh Afghanistan etc .. How many do you think they should cover? Also several Mahaviharas exist which are now serving as X-ishwara temples, where votive stupas are being worshipped as Shivas ling (phallus). The whole of India was a major buddhist educational hub. Nalanda was the most famous because several chinese travellers have studied in it, which makes it very important. As there notes is our source to determine Indias Buddhist past.
pankajdoharey··on Meta Llama 3
Always bet on Zuck!
pankajdoharey··on The AMD tinybox is on hold until we can build and run the firmware on our GPUs
Ohh definitely Elon is smart, he developed a space shooter game and published it in a computer magazine at an early age, so clearly he taught himself 6502 assembly, he developed zip2 city search, it had maps using the Navteq GIS database it was a time when google maps were not developed. All of this was written in Java by a single person at the time.
← PreviousPage 2 of 18Next →