@rogerlipscombe@hachyderm.io
@rogerlipscombe@hachyderm.io avatar

rogerlipscombe

@rogerlipscombe@hachyderm.io

Senior Software Engineer at Happening (the tech powering Superbet). Formerly Tech Lead at Twilio IoT. He/Him.

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

joelanman, to webdev
@joelanman@hachyderm.io avatar

Got a Playwright question - in my tests I'm clicking a button which in the backend sends an email. I tried to use Jest to mock that function in the backend so it doesn't send an email, but that doesn't seem to work. Should it?

I could check for NODE_ENV in the backend and not send an email, but I'd like access to the email contents in my playwright test, but without actually sending an email.

Am I thinking about this all wrong?

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@joelanman I've done that in the past, yeah.

kellogh, to ai
@kellogh@hachyderm.io avatar

iTerm2 developer caves to the bullies and moves the feature to a plugin

https://news.ycombinator.com/item?id=40458135

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@kellogh good. It was a stupid idea in the first place.

rogerlipscombe, to random
@rogerlipscombe@hachyderm.io avatar

It seems to me that one of the problems with Mastodon is that if someone links to a post from a user on another instance, it's a multi-step process to follow that other author.

Note that this is when using the default web UI.

When using (e.g.) Tusky on Android, it smoothes over a lot of that for you.

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@jimfl maybe, but it's not great for new users who are trying to build up their feed.

Also this: following the link drops you on the other instance's web UI, and you're presented with login/sign-up buttons, which is confusing.

So a newbie ends up signed up for multiple instances before they figure out what's going on (if they ever do figure it out).

cstross, to random
@cstross@wandering.shop avatar

UK government planning nuclear site in Scotland

https://www.bbc.co.uk/news/articles/c9eze1dzy5no

This is pointless: Scotland is already self-sufficient on renewables. What we need is a new grid interconnect between Scotland and England so we can export our surplus energy to the south!

It's all about the lobbyists, of course:

"Its ambitions for up to a quarter of all electricity to come from nuclear power by 2050 are being led by government-backed body Great British Nuclear." (Who?)

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@http_error_418 @cstross

It's probably true that the desire for Plutonium fast breeder reactors for nuclear weapons material has led us to the Uranium-based nuclear power plants we have now.

If we'd not been obsessed with getting weapons-grade Pu, we might have tried some other, potentially safer, options.

thomasfuchs, (edited ) to retrocomputing
@thomasfuchs@hachyderm.io avatar

What's your favorite mobile form factor?

Reply has an example for each category.

(Please reply why!)

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@thomasfuchs first laptop I ever used (borrowed it from school for the summer break) was this one: https://www.computinghistory.org.uk/det/40698/RM-Nimbus-NB300/

cstross, to random
@cstross@wandering.shop avatar

Worst downsizing I ever went through (short of "company is bankrupt, go home") was 10%, and that fucked our operational efficiency for a quarter. Spotify laid off 17% and are suffering. The C-suite were fools to assume there was 17% slack in the system, much less that middle management would choose the right 17% to fire (or that competent workers wouldn't see this coming and jump ship to better jobs, leaving time-servers behind).
https://toot.cafe/@baldur/112325661237678117

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@cstross yes, and it's not just the direct loss of the 10% that bites you. It's the trauma, and the fact that everyone starts keeping their head down on their own work, and no one feels like helping other people.

simontatham, to random
@simontatham@hachyderm.io avatar

Been reminded a couple of times recently that I seem to be the only person who refuses to say 'mouse cursor'. I call it the mouse pointer, to distinguish it from the 'cursor' which is the block or line or caret in your terminal or text-editing environment that shows where your next keyboard input will go.

If you think 'cursor' is the mouse pointer, what's the other thing called?

And if you say 'cursor' for both, what's your usual strategy when you need to clarify?

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@simontatham Windows, as I'm sure you know, calls the text cursor the "caret". I use "pointer" and "cursor" .

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar
rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@fasterthanlime

"future versions of the architecture can expand this without breaking properly written applications"

Good luck finding those mythical "properly written applications".

anderseknert, to random
@anderseknert@hachyderm.io avatar

Question: what's the max time that you'd find acceptable for your unit tests to run?

And I'm well aware that there's a bunch of considerations, no right answer, and so on. Just curious to learn what people think.

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@anderseknert it would be interesting to see variation by language/platform. I know that the C++ folks I used to work with were more tolerant of long-ish build/test cycles.

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@anderseknert in my Erlang projects, I'm happy with somewhere under 5 minutes for unit tests. For integration or end-to-end tests, maybe 20-25 minutes.

benjamineskola, to ai
@benjamineskola@hachyderm.io avatar

Increasingly finding that -generated images on a blog post lowers my opinion of the author — not (just) because of a principled anti-AI stance but also simply because it’s rubbish.

If you’re happy decorating your work with generated garbage I’m just going to assume your standards are that low for everything you do.

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@benjamineskola I occasionally wondered why a lot of blog website templates have a place for an image.

Even before GenAI, would you want an endless succession of bland stock photos, or - worse - my head shot, on the home page?

revk, (edited ) to random
@revk@toot.me.uk avatar

Grr, someone posted a cool plain text single character difference collision the other day, and buggered if I can find it now.

UPDATE: Found, thanks @rogerlipscombe

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar
sara, to random
@sara@hachyderm.io avatar

Ok I’m doin the thread I said I wanted to do last week. (feel free to mute unless you enjoy a little second-hand drama as a Monday morning treat)

Attn people! Are you job hunting? Does this pic of search results look familiar? Have you ever seen a bunch of job postings like this from Canonical and thought “gee I should apply to one of these”?

I’m here to tell you:

IT’S A TRAP! 🧵

rogerlipscombe,
@rogerlipscombe@hachyderm.io avatar

@gretared @jens @jonny @sara

Related: My response to a Facebook recruiter reads thus (in its entirety):

"Thanks for reaching out, but I'm not interested in working at a company as deeply unethical as Facebook."

That was almost 4 years ago. Haven't heard anything since.

jimfl, to elixir
@jimfl@hachyderm.io avatar

deleted_by_author

  • Loading...
  • rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar

    @jimfl I've had issues with Erlang on macOS where I've needed to explicitly listen on IPv4 and IPv6 separately otherwise things fail to connect. I wonder if this is a similar problem...?

    rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar

    @jimfl the DNS implementation on macOS has always been a bit flaky.

    Returning NXDOMAIN for "localhost"? Go home, macOS, you're drunk.

    fasterthanlime, (edited ) to random
    @fasterthanlime@hachyderm.io avatar

    I'm fairly sure I'm good but just checking: is there any reason to censor a Wireshark stream of what happens when plugging in my home computer?

    My reasoning is that anything that matters should be encrypted with TLS or other, that the LAN addresses are useless, and I'm even okay with my public IPv4/IPv6 addresses leaking.

    With that in mind.. can you think of anything else that shouldn't end up on the YouTubes?

    rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar

    @fasterthanlime I did a Wireshark mini-tutorial at work a few weeks ago.

    I considered doing the captures on a completely fresh computer/VM, just in case.

    simontatham, to random
    @simontatham@hachyderm.io avatar

    That phenomenon where you have a compile error, or a software bug, and when you fix it it turns out there was another one hiding behind it, and so on. And you don't find out what each failure is until you've fixed the previous one, so it's hard to tell in advance how many more problems you'll have to fix until it's working.

    It just struck me that a nice snappy description of the phenomenon is: "Error messages ride in single file, to hide their numbers."

    rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar

    @simontatham or the opposite, when you try to reproduce a bug, and several other bugs (that you've never seen before) jump in front of the one you're interested in.

    rogerlipscombe, to programming
    @rogerlipscombe@hachyderm.io avatar

    Do you know ? Do you wanna come work with me at Happening?

    https://www.happening.xyz/careers/4284185101

    fasterthanlime, (edited ) to random
    @fasterthanlime@hachyderm.io avatar

    datagrams?

    rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar
    rogerlipscombe, to random
    @rogerlipscombe@hachyderm.io avatar

    Once, a long time ago, I was sent to a conference about High-Frequency Trading. The buzz at the time was accurately measuring microsecond latencies.

    I was asked what we used. My reply was something like: "we deal in physical, delivered, commodities; a calendar is generally good enough".

    Reminded by https://devblogs.microsoft.com/oldnewthing/20240206-00/?p=109365.

    thomasfuchs, to random
    @thomasfuchs@hachyderm.io avatar

    Jesus monocycling Christ Mastodon, why can't I search my followers list, or at least see the whole thing unpaged

    rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar

    @thomasfuchs hot take: both paging and infinite scroll were a mistake.

    Obviously, there are some ... issues ... with my take. That's why it's hot.

    timbray, to random
    @timbray@cosocial.ca avatar

    Anybody know where I can download tables of sunrise/sunset times? Lots of websites will tell you what they are, and I found a one-month download, but I want to grab a year's worth…

    rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar
    rogerlipscombe, to random
    @rogerlipscombe@hachyderm.io avatar

    Currently blocked on this work project because I can't come up with a good name for it.

    jimfl, to elixir
    @jimfl@hachyderm.io avatar

    deleted_by_author

  • Loading...
  • rogerlipscombe,
    @rogerlipscombe@hachyderm.io avatar

    @jimfl @nicd this is basically what the different function clauses will compile down to, so they're equivalent.

    I suspect (but haven't checked) that the binary prefix matching would also be more performant than calls to String.starts_with?

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