@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 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 , kernel modules, things like that. I have zero experience doing this -- would love to do it in #C or .

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 ;-).

hgrsd, to Kotlin
@hgrsd@hachyderm.io avatar

Have been writing for a good few months now and I'm still on the fence. Things I like: extension functions and the mix of functional and object oriented approaches. Things I hate: the lambda syntax, the magic it argument, and the fact that there are no good language servers available.

hgrsd,
@hgrsd@hachyderm.io avatar

@kerfuffle Yes, compared to Java explicit nullability is such a massive boon!

hgrsd, to tech
@hgrsd@hachyderm.io avatar

Are there any people on here who managed to move away from their full-time software engineering job to work less-than-full time? Say, 4 days a week?

I have seen very few examples of this and am wondering if it's somewhat of a taboo.

hgrsd, to random
@hgrsd@hachyderm.io avatar

Can't stop thinking about that LinkedIn post suggesting that we change the equation E=mc2 to E=mc2 + AI. To account for the fact that AI will transform our future.

Don't want to dunk specifically on the person who posted it but I think it's a pretty good exemplar of the collective madness.

hgrsd,
@hgrsd@hachyderm.io avatar

AI is no force of nature. LLMs are not a law.

It is something that we choose to integrate into our lives, over and over again. None of this is inevitable; apart perhaps from the fact that corporations will pursue any course of action that generates more revenue without much regard for its consequences.

The consequence I fear most isn't the longtermist's apocalypse; it's the continued hollowing-out of our culture and its replacement with heaps of vapid bullshit.

hgrsd, to random
@hgrsd@hachyderm.io avatar

Why is something like Midjourney classified as artificial intelligence? Is anything generative just referred to as AI now because it's what the bandwagon's banner says?

hgrsd,
@hgrsd@hachyderm.io avatar

@kellogh Perhaps it is a silly question. But especially with something like Midjourney, which generates images based on text, I don't really see how it even adheres to a pop culture version of AI. Not to say that it isn't impressive what it can do -- just that it seems unrelated to the notion of intelligence.

hgrsd, to tech
@hgrsd@hachyderm.io avatar

I'm a few weeks away from returning to work after paternity leave. I'm finding it hard to imagine that I'll care all too much about work upon my return to the world of SaaS companies.

How do other parents deal with this? Any motivational tips and tricks?

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