@hgrsd@hachyderm.io avatar

hgrsd

@hgrsd@hachyderm.io

Dutchman in Ireland / Programmer / PhD on Crimes against Humanity.

I am interested in the humanities and software engineering -- especially where they overlap.

Also, talk to me about open source projects!

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

hgrsd, to opensource
@hgrsd@hachyderm.io avatar

I ask this relatively regularly because I want to keep an eye on the landscape.

I'm a software engineer with a PhD in international criminal law. I am on the lookout for (open source?) projects that are useful to human rights researchers/activists/defenders. I am hoping to contribute as a volunteer software engineer.

If you know of a project like this, please get in touch. If you don't, please boost if you'd like!

hgrsd, to random
@hgrsd@hachyderm.io avatar

You know you're getting older when the ads you get are about grave plots for sale...

hgrsd, to bluesky
@hgrsd@hachyderm.io avatar

I'm trying to get a sense of what Bluesky is like. Do I have any followers who are active there, too? Would love to connect.

I'm at @hgrsd.bsky.social :)

Not leaving here, just exploring the world of social media.

#bluesky

hgrsd, to random
@hgrsd@hachyderm.io avatar

Ok, fine, I heard you Rustaceans. I'll give Helix another shot.

hgrsd,
@hgrsd@hachyderm.io avatar

@kellogh what do you use in your day to day?

hgrsd,
@hgrsd@hachyderm.io avatar

@kellogh same, which these days mostly means IntelliJ given my work's stack

hgrsd, to rust
@hgrsd@hachyderm.io avatar

Which IDE do you use for Rust development?

I've been moving between neovim, helix (can't get over the slightly different mental model compared to vim), vscode, rustrover... Curious what others use.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar
hgrsd,
@hgrsd@hachyderm.io avatar

@khalidabuhakmeh It's almost like you don't care about EA needing more "meaningful drivers for growth". Which is cruel, given that they only made checks notes $1.27 billion in net income last year.

hgrsd, to ai
@hgrsd@hachyderm.io avatar

If you are using LLMs through API tokens, or running locally, which UI do you use? I'm in the market for recommendations. Have tried llm and LibreChat but neither really stuck for me.

hgrsd, to opensource
@hgrsd@hachyderm.io avatar

Going forward, each drivel release will have pre-built binaries and a shell-based installer.

See https://github.com/hgrsd/drivel -> releases.

Thanks to the awesome project at https://github.com/axodotdev/cargo-dist

hgrsd, to github
@hgrsd@hachyderm.io avatar

I've been trialling GitHub Copilot recently at work and, having been generally skeptical of the golden mountains promised by AI hype guys, I have to say that it gave me a modest efficiency gain in some scenarios. I would miss not having it, much like I would miss not having autocomplete.

I'll probably write up a blog for hgrsd.nl with a few thoughts of where it was helpful for me.

hgrsd, to rust
@hgrsd@hachyderm.io avatar

drivel (https://github.com/hgrsd/drivel) now supports inferring enums for the string type. That means that when producing synthetic data, random variants of the enum will be chosen.

Enum inference is based on a (user-provided) max ratio of unique values and a minimum sample size.

I've released this as v0.2.0. Hope it's useful for some people. :)

hgrsd,
@hgrsd@hachyderm.io avatar

@kellogh glad to hear it's useful to you. I'm actually ending up using it to describe data much more than produce it, too. And so are a few colleagues at my day job.

hgrsd, to rust
@hgrsd@hachyderm.io avatar

Have you ever had some large-ish JSON blob and wondered what shape its data has?

Have you ever had some example JSON data and wanted to generate a bunch of nonsensical test data that adheres to the same schema?

I built drivel (https://github.com/hgrsd/drivel) for exactly those two purposes. It's a fairly limited tool but it's useful for me and the work I'm doing -- perhaps it'll be useful for someone else too.

hgrsd,
@hgrsd@hachyderm.io avatar

@kellogh hope it works for you! it's pretty rudimentary but it serves some of the needs I've had. lmk how you get on :)

hgrsd,
@hgrsd@hachyderm.io avatar

@kellogh I forgot that sharing your work with others comes with more work ;-)

hgrsd, to rust
@hgrsd@hachyderm.io avatar

Is there any received wisdom on error handling best practices in libraries?

Should I be using Result types throughout and define my own error types for the Error case? Is there a de facto standard library that people use?

hgrsd,
@hgrsd@hachyderm.io avatar

@kellogh this is great, thank for sharing.

hgrsd, to Software
@hgrsd@hachyderm.io avatar

I am a full-stack engineer experienced in multiple languages (and willing to work in pretty much any language).

I want to spend a little bit of time each week either in the space or to help any sort of good causes that leverage technology. Think journalism, human rights, humanitarianism; thinks like that.

Could you use help? Do you know someone / a project that does? Please get in touch. Boosts appreciated :)

hgrsd, to random
@hgrsd@hachyderm.io avatar

Any hachyderm home cooks? What are your go-to easy dishes that can be shared by a baby? Would love to get some inspiration!

hgrsd, to random
@hgrsd@hachyderm.io avatar

I can't bear corporate speak anymore and I am so far away from retirement. Help.

hgrsd, to programming
@hgrsd@hachyderm.io avatar

I'd love to dip into some systems programming. Stuff like OS #programming, kernel modules, things like that. I have zero experience doing this -- would love to do it in #C or #Rust.

Does anyone have recommendations for books or tutorials on this subject that you enjoyed?

hgrsd, to random
@hgrsd@hachyderm.io avatar

Show of hands: do you wrap your calls to upstream services in circuit breakers in a distributed system?

I've not used the pattern before but I'm worried about the load I'm going to be placing on one of our dependencies. Sounds like a circuit breaker is what I need 🤔 What have your experiences been like? Ever been saved by one?

hgrsd,
@hgrsd@hachyderm.io avatar

@anderseknert Interesting. Would your suggestion be that the service mesh will no longer route service A's requests to service B if service B becomes overloaded (according to some definition of overloaded)?

I though the benefit of a circuit breaker in service A's application code would be that it allows me to specify the fallback behaviour when the circuit is open. E.g., no retries, serve some default / potentially stale data from a cache.

hgrsd,
@hgrsd@hachyderm.io avatar

@anderseknert I'm working in a place where we have lots of services but where the consistency on this is achieved through a shared "resilient" client library that wraps an HTTP client in a circuit breaker. I don't think I realistically have the option of a service mesh that does what I want ;-).

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