placeholder

The Nabataeans are Coming | History Today

Behind the Times The Nabataeans are Coming Pre-Islamic history was once taboo in the Kingdom of Saudi Arabia. Will the ‘rediscovery’ of an ancient people – the Nabataeans – encourage international tourism? Malise Ruthven | Published in History Today Volume 75 Issue 3 March 2025 The volte fac...

Click to view the original at historytoday.com

Hasnain says:

This had some fascinating history but I cannot help but laugh at this part unfortunately

“Yoga, al-Munajjid preaches, is a form of idolatry ‘based on lies and charlatanry’ that may appeal ‘to simple minded people who are weak in faith’. Some yoga postures imitating animals detract from human dignity including ‘adopting nakedness and resting on all fours’. He has also criticised the tendency of yoga practitioners to encourage a vegetarian diet ‘for which Allah has not revealed any authority’.”

Posted on 2025-03-04T07:44:09+0000

placeholder

Hallucinations in code are the least dangerous form of LLM mistakes

A surprisingly common complaint I see from developers who have tried using LLMs for code is that they encountered a hallucination—usually the LLM inventing a method or even a full …

Click to view the original at simonwillison.net

Hasnain says:

“I’ll finish this rant with a related observation: I keep seeing people say “if I have to review every line of code an LLM writes, it would have been faster to write it myself!”

Those people are loudly declaring that they have under-invested in the crucial skills of reading, understanding and reviewing code written by other people. I suggest getting some more practice in. Reviewing code written for you by LLMs is a great way to do that.”

Posted on 2025-03-02T07:42:39+0000

placeholder

Citigroup erroneously credited client account with $81tn in ‘near miss’

Incident comes as US bank seeks to assuage regulatory concerns over its risk management processes

Click to view the original at ft.com

Hasnain says:

I generally say I add negative value to any project if I am involved UI work but I like to think I’d still avoid this one somehow.

Posted on 2025-03-02T03:52:33+0000

placeholder

Hasnain says:

“That was another rathole, and the answer was also a thing to behold: I couldn't see it in the checked-in source code because it had been fixed. Some other engineer on a completely unrelated project had tripped over it, figured it out, and sent a fix to the team which owned that program. They had committed it, so the source code looked fine.

[ Another side note: this person who fixed a bug in some code that wasn't their actual "job" was the kind of excellent behavior that used to be lionized there - "nothing at FB is someone else's problem". That credo died a long time ago. ]”

Posted on 2025-02-24T07:26:10+0000

placeholder

Tokio + prctl = nasty bug

Recently I encountered a bug so cute that I immediately knew that I will want to share it on my blog. It was one of those bugs that even Rust can’t save you from. It occurred in HyperQueue (HQ), a distributed task scheduler written in Rust that I work on.

Click to view the original at kobzol.github.io

Hasnain says:

“In the end, it took me probably less than an hour to find, diagnose and fix this bug, so it wasn’t that bad, as far as bughunting stories go. But I found the bug to be sort of beautiful, so I wanted to share it anyway.

I hope that you found this bughunt case interesting, and that you perhaps also learnt something new along the way.”

Posted on 2025-02-24T06:18:52+0000

placeholder

Making any integer with four 2s - Eli Bendersky's website

Making any integer with four 2s February 22, 2025 at 14:53 Tags Math There's a cute math puzzle that can be interesting to folks on very different levels: Given exactly four instances of the digit 2 and some target natural number, use any mathematical operations to generate the target number with th...

Click to view the original at eli.thegreenplace.net

Hasnain says:

Coolest math fact I’ve learned in a while.

“One may claim this is cheating, but it seems to be in line with the rules of the puzzle! Note that the entity n doesn't actually appear anywhere - it's just a helper to count the number of repeated square roots.”

Posted on 2025-02-24T06:11:54+0000

Hasnain says:

“So why did I say getaddrinfo sucks? It's because it was designed for POSIX. Do one thing, and do it well. And in that sense it succeeded without a doubt. Could it be better, more flexible and more extensible? Sure. But if that were the case it would also probably be more buggy, and have a bunch more differences across platforms. But what of the other APIs we looked at today? Well, these are the results of each platform doing their own thing. Some had a common starting point - see res_query - but slowly diverged to accommodate the specific requirements of their users and platform. What we now have is a buffet of choices, each with their quirks and buggy implementations.”

Posted on 2025-02-24T01:23:30+0000

placeholder

How big tech's ad systems helped fund child abuse online

Some of the biggest tech companies in the world served ads on a website featuring images of child abuse, helping to fund its operations.

Click to view the original at bbc.com

Hasnain says:

“"We are not going to fix this problem without better regulation and actual, real, serious consequences for delivering ads that fund horrific companies and activities," Edelson says. "It's too profitable to just ignore this. It's going to be impossible to solve without changing those incentives."”

Posted on 2025-02-24T01:09:28+0000

placeholder

20 years working on the same software product

I released version 1 of my table seating planning software, PerfectTablePlan, in February 2005. 20 years ago this month. It was a different world. A world of Windows, shareware and CDs. A lot has c…

Click to view the original at successfulsoftware.net

Hasnain says:

20 years. Life goals.

“I financed PerfectTablePlan out of my own savings and it has been profitable every year since version 1 was launched. I could have taken on employees and grown the business, but I preferred to keep it as a lifestyle business. My wife does the accounts and proof reading and I do nearly everything else, with a bit of help from my accountant, web designers and a few other contractors. I don’t regret that decision. 20 years without meetings, ties or alarm clocks. My son was born 18 months after PerfectTablePlan was launched and it has been great to have the flexibility to be fully present as a Dad.”

Posted on 2025-02-24T00:58:45+0000

placeholder

Concurrency bugs in Lucene: How to fix optimistic concurrency failures - Elasticsearch Labs

Thanks to Fray, a deterministic concurrency testing framework from CMU’s PASTA Lab, we tracked down a tricky Lucene bug and squashed it

Click to view the original at elastic.co

Hasnain says:

Loved this one because deterministic thread scheduling for testing is vastly underrated

“Not all heroes wear capes

Yes, it's cliche – but it's true.

Concurrent program debugging is incredibly important. These tricky concurrency bugs take an inordinate amount of time to debug and work through. While new languages like Rust have built in mechanisms to help prevent race conditions like this, the majority of software in the world is already written, and written in something other than Rust. Java, even after all these years, is still one of the most used languages. Improving debugging on JVM based languages makes the software engineering world better. And given how some folks think that code will be written by Large Language Models, maybe our jobs as engineers will eventually just be debugging bad LLM code instead of just our own bad code. But, no matter the future of software engineering, concurrent program debugging will remain critical for maintaining and building software.

Thank you Ao Li and his colleagues from the PASTA Lab for making it that much better.”

Posted on 2025-02-23T20:11:45+0000