Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Steve Downey

@Sdowney@mastodon.social
mastodon 4.8.0-nightly.2026-10-06
  • Open on mastodon.social

Software engineer at Bloomberg LP

Views are my own

he/him

https://bsky.app/profile/sdowney.bsky.social

https://sdowney.org/

0 Followers
0 Following
29 Posts
Joined October 29, 2022
Open post
Steve Downey @Sdowney@mastodon.social
· 1mo ago
Boosted by @joe@f.duriansoftware.com

Should C++ generalize the ; operator to other monads?

1
0
1
0
Open post
Steve Downey @Sdowney@mastodon.social
· 7mo ago

TIL a trick I wish I knew ages ago.
You can add more than one Push url to a git remote. So you can have a remote named "all" that can push to all the places you mirror your pushes to.

For me, github and a local gitea instance named `mimir`.

9
2
2
0
Open post
Steve Downey @Sdowney@mastodon.social
· 4mo ago

A strange mix of fear and joy.

I just deliberately killed Chrome and when I restarted just closed the dialog box asking if I wanted to restore all my tabs.

4
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

In the midst of what I'm really working on for C++Now, I noticed I have a typelevel fixpoint combinator for 0 overhead recursive data types, because std::indirect is a good Box.

Expression evaluators for free now.

Compiler Explorer https://godbolt.org/z/T1G4zzd1o via @compiler_explorer@hachyderm.io

godbolt.org
4
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

We have C++26!

4
2
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 7mo ago
Replying to
@nixCraft@mastodon.social Collateralized Debt Obligations DotCom was the 2001 crash just before and after 9/11.
5
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

ITS A CROSS BETWEEN TWILIGHT IMPERIUM AND CONES OF DUNSHIRE, BUT IMPLEMENTED ENTIRELY IN CATEGORY THEORY.

EVERY CONE A MONAD, AND...

https://xkcd.com/3235/

Types of Board Game
xkcd

Types of Board Game

3
0
1
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

Note to self: laptop charges much faster when all the cables and bricks are plugged in.

3
1
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

Off to see the wizard ...

Wait, no, that's me ...

Off to The Shire?

Off to C++Now '26!

#cppnow26

mastodon.social
2
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 7mo ago

Algorithms for Trees -- Foldable, Applicative, Traversable accepted for C++Now 2026.

Fingertree as the motivating example, but the algorithms are adaptable to any tree with a handful of functions you define.

Looking forward to Aspen in May!

#CppNow @cppnow@mastodon.social

mastodon.social
3
0
0
1
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

Git linear history is a recommendation to disguise the real reasons for change for code, and to lie about the true history of the code.

All of the commits on `main` should be signed merges.

All commits on `main` are production code.

#HillToDieOn

mastodon.social
2
9
3
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

At the C++ Standard meeting in Croydon.
No live tooting permitted.
News to be reported next Saturday.

2
2
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 7mo ago

RIP Tony Hoare, March 5 2026, age 92

https://blog.computationalcomplexity.org/2026/03/tony-hoare-1934-2026.html?m=1

blog.computationalcomplexity.org
2
0
2
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago
Replying to
@JSAMcFarlane@mastodon.ie @fishidwardrobe@mastodon.me.uk @foonathan@fosstodon.org That all makes sense. It's explaining why the code is the way it is, so that it's clear later. Some times, especially when I'm leaving a placeholder for later, I'll commit the failing test. And then, if I remember, squash the fix, amending it. But if I don't remember, that's fine, it's not on main for someone to trip over.
1
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

My cat, Bunny, has opinions about my code:

1
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago
Replying to
@fishidwardrobe@mastodon.me.uk I rarely go to the effort of rewriting history with interactive rebase, but there's worse things than editing out the mistake that lasted a few commits before getting reverted. But commits, messages, and history all have multiple audiences even if they are all me at different times. I try to be nice to future me; even though he's yet to do anything for me. @foonathan@fosstodon.org
1
2
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

A small snippet of code to mark up source code for transclusion into a presentation, and an example project that builds a (micro-tiny) C++ library, tests it, and generates an html page with snippets of code using emacs.

May it be of some use.

https://github.com/steve-downey/surround

#emacs #orgmode

github.com
1
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago
Replying to
@DanielaKEngert For another 10 days. Week in London visiting my Group there, and now some personal time up near Edinburgh.
1
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

LAN Party in my hotel room!

1
5
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

A new idea *for me* that I'm working out about the new sender receiver model in C++26.
It's based on chaining function calls, and the call itself is an operational state, including the return value. By construction operational states are constructed exactly once (it's an object) and are completed exactly once in one of three ways, value, error, or by stopping when asked to cancel. Or one might never, because it infinite loops, I suppose.

1
1
1
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago
Replying to
@madduci not unusual for business meetings so that we can faff about and make mistakes intra week without the whole world (or the C++ subset) freaking out. ISO sets the policy, and has reminded us about it a few times. With a few hundred people we are very leaky. I think it's overkill, but also can see why it's more important for higher stakes standards. Like ISO 3103, the standard for brewing standard tea.
1
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

Duh.
If you want to be able to push a `git subtree` back upstream, you can't squash the pull into your repo.

Obvious, now.

Still better than `git submodule`.

0
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago

This morning's ridiculous new (very old) language feature:

`continue func(x, y, z);`

Transfer control to func, and return what func returns to the caller of this scope.

`return` only as a continuation and not a subroutine.

0
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 6mo ago
Replying to
@dhry Mobile office may be slightly overprovisioned. Still thinking about a mobile gitlab and NAS, though. Travel wifi router is such a simplification, just one thing to get on the Internet and then everything is. Can even run VPN on it.
0
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

I spent more than an hour because the string I was formatting is used by something else as format-spec, and it was HTML with lots of % and ".

Yay.

#emacs

mastodon.social

Mastodon

0
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

"A question starts with Who, What, Where, When, Why, or How and goes up at the end."
"If it's more of a comment, hold that for a moment."

0
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago

TFW each slide could be an entire talk, and there are a *lot* of slides.

F-algebras and type fixpoint in C++26 for recursive types like expression trees is almost a drive by example.

But, by Crom, I have Traversable, which is what Applicative is for. And open extension and retro-fit.

0
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago
Replying to

@foonathan@fosstodon.org Doesn't compile yet on the working branch is a weird place to commit. Tests fail a little less so?

New Test Case Test Passes Refactor working code Merge commit on feature branch Integrate main merge on feature branch Fix failing tests Merge commit on main

Is good history when you need to look at the history of some code.

0
0
0
0
Open post
Steve Downey @Sdowney@mastodon.social
· 5mo ago
Replying to
@fishidwardrobe@mastodon.me.uk That merge commit is what git uses to tell the difference between a series of commits and a rebase. Rebase is just replaying all of the accumulated diffs one by one as new commits and is the strange hack to land on an existing branch. It is useful, though, in deciding the default direction to merge your work. You should either merge the existing work, or pretend to start over on top of the existing work. @foonathan@fosstodon.org
0
4
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 22:37:44 UTC