Advertisement · 728 × 90

Posts by Ian Duncan

This “-maxxing” and “-mogging” stuff comes from an ugly place and has never been particularly funny. But what about if *I* adopt it, but ironically,

14 hours ago 3289 313 92 52
Starting point (Hackage v0.3.0.4):
    lookup:     17 ns
    attach:    139 ns
    update:    109 ns
    full cycle: 248 ns
  Final (v0.4.x, Apr 13):
    lookup:                          2 ns   (8.5x)
    attach:                         13 ns  (10.7x)
    update (updateRaw):              5 ns  (21.8x)
    lookupRaw + 2x updateRaw:      13 ns  (19x)
    lookup + 2x update (high-level): 15-27 ns (9-16x)
  Full read+write cycle: 248 ns → 13 ns (~19x faster)

Starting point (Hackage v0.3.0.4): lookup: 17 ns attach: 139 ns update: 109 ns full cycle: 248 ns Final (v0.4.x, Apr 13): lookup: 2 ns (8.5x) attach: 13 ns (10.7x) update (updateRaw): 5 ns (21.8x) lookupRaw + 2x updateRaw: 13 ns (19x) lookup + 2x update (high-level): 15-27 ns (9-16x) Full read+write cycle: 248 ns → 13 ns (~19x faster)

Just released thread-utils-context-0.4.1.0 to Hackage. It's used under the hood by my hs-opentelemetry suite, and managed to get some significant speedups. A full read-write cycle over values in thread-local-storage have been sped up from ~248 ns to ~13 ns on my machine. 19x faster!

1 day ago 7 1 0 0

It’s profoundly ignorant to suggest that the Pope should be fighting crime on behalf of the Catholic Church. Anyone who was remotely familiar with Roman Catholicism would know that that’s what Daredevil is for

3 days ago 13262 3351 132 83
Exclusive | Trump Promises Mass Pardons to Staff Before Leaving Office In a recent meeting, the president said he would pardon those within 200 feet of the Oval Office, according to people familiar with the remarks.

Whoa no way, can't believe it.

5 days ago 2283 434 64 177

how much money does the marine corps lose

5 days ago 10702 2454 66 0

Melania: I naver had a relationshep weeth Jaffrey Apstein

*pulls off mask*

Melania: Because I arm Jaffrey Arpstein

5 days ago 971 92 28 7
Preview
Iran Join Rick as he explores the most surprising and fascinating land he's ever visited: Iran. In a one-hour, ground-breaking travel special on public television, you'll discover the splendid monuments of...

My one-hour special “Rick Steves Iran: Yesterday and Today,” which helps humanize 90 million Iranian people, is streaming free and ad-free at www.ricksteves.com/watch-iran.

1 week ago 2885 1175 39 44
Post image

The U.S. consulate in Amsterdam is effectively closed due to the Iran war, and they haven't posted anything on their homepage about it. Instead it's an ego piece for the ambassador. Wasted my whole morning going to Amsterdam just to get turned away at the door. This fucking administration.

5 days ago 0 0 0 0

It's been nearly five hours since the president of the United States posted a graphic snuff video of a man beating a woman to death with a hammer and there's no mention of it on the New York Times, Washington Post or CNN websites.

5 days ago 5077 1882 250 175
Mayor Mamdani tours the new Outposted Therapeutic Housing Unit at Bellevue Hospital with DOC Commissioner Stanley Richards and SVP of Correctional Health Patsy Yang.

Mayor Mamdani tours the new Outposted Therapeutic Housing Unit at Bellevue Hospital with DOC Commissioner Stanley Richards and SVP of Correctional Health Patsy Yang.

Promises won't close Rikers Island. Action will.

We're announcing the opening of NYC’s first Outposted Therapeutic Housing Unit at Bellevue Hospital for people in custody with complex medical needs, including critically vulnerable Rikers Island detainees.

The journey to close Rikers has begun.

1 week ago 7640 946 92 71
Advertisement

something strange and horrible and somehow fitting that we should have a very real threat of madman civilizational destruction at the very moment when we also have humans on the dark side of the moon taking pictures that show how small, precious, and beautiful our world and existence is

1 week ago 2959 691 35 31

4 day Easter weekend means big new hs-opentelemetry release is in the wings. Have to make breaking api changes this time, so it’ll be a big bang release of lots of things at once. Metrics incoming!

1 week ago 2 0 0 0
Phil Stewart @phildstewart
X.com
MORE -
(Reuters) - U.S. federal agents have arrested the niece and grand-niece of late Iranian military commander
Qassem Soleimani after Secretary of State Marco Rubio revoked their lawful permanent resident status, the State Department said on Saturday.
"Hamideh Soleimani Afshar and her daughter are now in the custody of U.S.
Immigration and Customs
Enforcement," the State Department said in a statement after Rubio revoked their green cards.

Phil Stewart @phildstewart X.com MORE - (Reuters) - U.S. federal agents have arrested the niece and grand-niece of late Iranian military commander Qassem Soleimani after Secretary of State Marco Rubio revoked their lawful permanent resident status, the State Department said on Saturday. "Hamideh Soleimani Afshar and her daughter are now in the custody of U.S. Immigration and Customs Enforcement," the State Department said in a statement after Rubio revoked their green cards.

Apparently the US is taking Iranians in this country hostage now:

1 week ago 1921 789 79 106

Did Dora the Explorer write this

1 week ago 1 0 0 0

Basquiat is a punk-ass bitch

1 week ago 3 0 0 0

The Excavation of Hob’s Barrow comes to mind

1 week ago 2 0 0 0

/Walking away from an overflowing toilet without looking back and putting on sunglasses like a cool action movie guy.

2 weeks ago 1494 188 33 6
Post image

If any other president had pardoned - pardoned! - a man like this, they would have probably been impeached by now.

Trump gets away with this kind of gross shit, day after day:

www.nbcnews.com/politics/jus...

2 weeks ago 3545 1345 178 92
Preview
A Couple Million Lines of Haskell: Production Engineering at Mercury | The Haskell Programming Language's blog What it takes to run 2 million lines of Haskell in production at a fintech company serving 300,000 businesses.

With "Haskellers from the trenches", the #Haskell blog lets experienced engineers talk about their subjects of expertise, best practices, and production tales.

We start with @iankduncan.com's "A Couple Million Lines of Haskell: Production Engineering at Mercury"

blog.haskell.org/a-couple-mil...

2 weeks ago 26 10 1 0
Advertisement
Post image
2 weeks ago 32 2 1 1

I don't think trans people should be imprisoned for 5 years because they have to pee

2 weeks ago 5836 1402 46 1

I’ve never seen a picture of a chicken go harder than this

2 weeks ago 4979 1023 66 14

I have a couple of implementations, one optimized for latency, one for throughput, currently using 40% less memory and 45% less CPU compared to the copying GC collector.

3 weeks ago 6 0 0 0

Coworker nerdsniped me about GC overhead for mutable data in GHC, and now I'm trying to beat existing GC algorithms into a fine paste.

3 weeks ago 12 2 1 0

Truly cannot fathom what it's like to enjoy podcasts. However, I also don't have to commute, so maybe that's part of it?

3 weeks ago 2 0 0 0
Preview
Judge ends asylum claims for Liam Conejo Ramos and his family, orders family's removal The family’s lawyers plan to appeal the judge’s decision to deport the family to Ecuador.

Outrageous.

Stripping Liam Conejo Ramos and his family of asylum is beyond cruel and indefensible.

This decision must be overturned. Shame.

4 weeks ago 8269 2840 190 158

Better than being haunted by not giving it a fair shake, I think. My father-in-law was a pretty good musician and went into court reporting instead. Every time we visit, he expresses his regret at least once about not taking that path. Would hate to be haunted by regret caused by fear of failure.

4 weeks ago 2 1 0 0
Post image

inspiration can come from anywhere, nobody can stop you.
there's a project logo i designed a decade ago that was basically a trace of this meme

4 weeks ago 12 2 0 0
Advertisement
Preview
Kat.

I wrote about Kat.

4 weeks ago 9585 1318 431 363
Video

“Someone on LinkedIn viewed your profile”

<deletes account>

1 month ago 3406 1163 41 79