@bmcgee84@fosstodon.org
@bmcgee84@fosstodon.org avatar

bmcgee84

@bmcgee84@fosstodon.org

writer of software • lover of craft beer

This profile is from a federated server and may be incomplete. Browse more on the original instance.

zmitchell, to random
@zmitchell@hachyderm.io avatar

If you don't use threads on Slack you're wrong

bmcgee84,
@bmcgee84@fosstodon.org avatar

@ljrk
obligatory "way better than matrix threads for damn sure"
@zmitchell

bmcgee84, to NixOS
@bmcgee84@fosstodon.org avatar

My thoughts on the situation

bmcgee84, to random
@bmcgee84@fosstodon.org avatar

"No, you tell her it's bed time and she's going in the crate..."

mkennedy, (edited ) to random
@mkennedy@fosstodon.org avatar

Read today (on Kagi.com - great search engine), something that seems unbelievable to me.

The average Google user searches three or four times per day or about 100 times per month.
According to DuckDuckGo's data, their monthly average is about 30 searches per person, or one per day on average.

How many searches a day would you guess you do? Personally, I’m at 38 searches and it’s only 10:30am.

bmcgee84,
@bmcgee84@fosstodon.org avatar

@mkennedy
as a software dev search engines are the index for my brain's L2 cache...

bmcgee84, to NixOS
@bmcgee84@fosstodon.org avatar

I try to write posts about what I've been working on. It's easier to just capture things rather than come up with contrived examples.

In that vein, today's blog post is a short one about a problem I hit this week using binary caches in

https://bmcgee.ie/posts/2023/12/til-how-to-optimise-substitutions-in-nix/

steely_glint, to Java
@steely_glint@chaos.social avatar

I want to write a very simple web socket service that just passes json messages between connections (think chat but not).

My fave language is - but j2ee is just too much cruft config and layers.

I can't face using python ever again...

So it may have to be .

Background - I need > 100k connections, client certificates for auth and the messages are stateless.

No cloud - I can't afford it.

Recommendations ?

bmcgee84,
@bmcgee84@fosstodon.org avatar

@steely_glint have a look at https://nats.io/, I think it meets all your needs already. It's written in Go and very easy to work with in Go. You can embed it in-process if you prefer.

bmcgee84,
@bmcgee84@fosstodon.org avatar

@steely_glint Nats supports a lot of different use cases, but you aren't forced into any one particular pattern and can mix and match them as needed. If all you want is purely ephemeral message passing you don't have to enable JetStream, their persistence layer, for example.

bmcgee84, to mechanicalkeyboards
@bmcgee84@fosstodon.org avatar
bmcgee84, to random
@bmcgee84@fosstodon.org avatar

PSA: if you're getting the Airliner from Frankfurt to Darmstadt make sure you have cash to buy the ticket.

bmcgee84,
@bmcgee84@fosstodon.org avatar

@sandro
Yeah I'm learning quickly cash is king

bmcgee84, to neovim
@bmcgee84@fosstodon.org avatar

Dipping my toes back into (Neo)Vim for about the 10th time.

Any recommended plugins/configs would be greatly appreciated.

I'm writing mostly Go and Nix these days, with a bit of Rust and dropping back into JVM land as needed.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • megavids
  • InstantRegret
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines