hughcb boosted

Please sign the petition the *keep* LGBT issues in the relationships curriculum. It still has a lot of catching up to do against the nasty petition. petition.parliament.uk/petitio

hughcb boosted

Friday was my last day in my previous role, and while I'm having some very productive conversations already, I would be open to more introductions and chats about Developer/API experience, tools, open source, and other engineering-focused roles.

Aiven also announced layoffs (on the day I resigned, my timing is a classic), please keep an eye open for my brilliant former colleagues and let me know I can intro you to anyone?

Boosts are appreciated.

hughcb boosted

Good work on bus data from Tom Forth tomforth.co.uk/transportin2023 Tom has been looking at how far you could actually get on buses in Leeds compared to what the timetable data would suggest. Unsurprisingly, it is much less.

hughcb boosted

If you’re at the right place at the right time, with the right equipment, this is possible.

Last night, with guidance from transit-finder.com/, I positioned myself along the narrow line where the International #SpaceStation would pass between me and the nearly full moon.

I used a Fujifilm X-T4 shooting 4K video through a Celestron 8” SCT to capture the pass. Then, back at the computer this morning, put together these views with PIPP, Registax, and GIMP.

Quite pleased. My best yet.

hughcb boosted

More webhooks providers should offer the feature to route them locally for testing. Pleased to see GitHub offering it, because they kind of lead the way! github.blog/changelog/2022-11- #DevX #webhooks

hughcb boosted

Some days I look at the timeline and think about getting this tattooed on my back:

hughcb boosted
hughcb boosted

Someday, your favorite band, songs, or albums could just disappear from Spotify or Tidal or YouTube Music, or ALL the streaming platforms.

Buy their music. Physical or DRM-free digital.

The first book I’ve pre-ordered for quite a while. Looking forward to this.

I just stumbled upon a malapropism I’ve never seen before 😃

@calebccff @[email protected] When starting Rust, it took me a while to understand how slices worked. As someone who worked a bit with C and C++ before, seeing the data layout on cheats.rs/#references-pointers helped - a "regular slice reference" shown there is just a ptr and a len. And lower down the page in "Standard Library Types", a Vec is just a ptr, capacity and len. And it reveals how a slice can be got easily from a Vec just by taking the Vec's ptr and len, and passing them to another function.

@calebccff @[email protected] What gets passed to poll() is a "slice", which consists of a pointer to some memory where a number of elements are stored sequentially, and a count of how many elements are there, and that's all poll() needs to work with.

A slice isn't quite the same as an array, slices don't own memory, they refer to memory "elsewhere" (in this case, memory owned by the Vec). IME arrays aren't used very much in Rust, due to the size-known-at-compile thing. Vec and slices are used instead.

@calebccff @[email protected] If referring to docs.rs/nix/0.23.0/nix/poll/fn looks like this does take a slice of PollFds, so it should be possible to have a Vec<PollFd> and pass a slice of it by e.g. `poll(&mut my_vec, my_timeout)`. Here's a similar example: play.rust-lang.org/?version=st

hughcb boosted

I can't help reading this internally with Mark from Peep Show's voice.

hughcb boosted
Actually pretty good comment about HN mod efforts to thwart the vast array of evil shill forces gathered against them. Turns out a lot of the people you find on the internet aren't shills, but just the kind of people you find on the internet.

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

hughcb boosted

i am so in awe of everybody who keeps maintaining the FLOSS code I rely on every day. Sometimes I just read their changelogs and marvel

Show older
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!