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

dracos, to random
@dracos@mastodon.social avatar

For anyone coming to @emf this coming weekend who may already have downloaded a schedule (@Edent, I know you did) – my Post Office Inquiry talk has moved (and perhaps others), I’m now at 3.20pm on the Saturday, Stage C, perhaps see you there :)

dracos,
@dracos@mastodon.social avatar

@Edent Sorry! (And aww :) ) I’ve been moved three times now, hopefully this is the last.

joelanman, to webdev
@joelanman@hachyderm.io avatar

not sure about loading=lazy in html, I'm sure it makes the initial page load quicker but the pop in of images is distracting

dracos,
@dracos@mastodon.social avatar

@joelanman @mac Near doesn’t have to mean in-view though, the browser can start trying to load them before they come into view if it likes. And if you’ve predefined the dimensions it should pop in smoothly. It saves our users a lot of bandwidth on https://www.theyworkforyou.com/mps/https://x.com/hdjirdeh/status/1161883719986139136

dracos, to random
@dracos@mastodon.social avatar

Given the surprise announcement, pleased that we’ve already managed to get some election-based information up and running on https://www.theyworkforyou.com, with thanks to
@DemocracyClub for candidate data.
The last UK boundary changes were in 2010, when we ran something a bit similar (but back then think we were the only ones :) ).

dracos,
@dracos@mastodon.social avatar

@frabcus @DemocracyClub I don’t think its model of constituencies is concrete enough. Nor that it’d have that much useful on it, besides a list. The localintelligencehub link has good “used to be part of” and “will become” sections, so perhaps someone could look to do something if they wanted to.

Edent, to random
@Edent@mastodon.social avatar

Writing up my talk for .

If you'd like to get the inside story of how the UK's contact tracing app was open sourced, please come along.

https://www.emfcamp.org/schedule/2024/16-lessons-learned-open-sourcing-the-uks-covid-tracing-app

dracos,
@dracos@mastodon.social avatar

@Edent Whereas I want to go to two talks on at the same time as me (same ones as you, looks like!), at least that makes that decision slightly easier :)

joelanman, to random
@joelanman@hachyderm.io avatar

Getting back into Postgres again after a while, I can see why things like Mongo were popular for a while. It's so hard shifting your thinking between json (nested data) and sql (flat arrays)

dracos,
@dracos@mastodon.social avatar

@joelanman That’s why you use a jsonb column for all your per-row extraneous data :)

dracos, to random
@dracos@mastodon.social avatar

Got a couple of bug reports that https://split.traintimes.org.uk/ was erroring. The error log showed the stop data wasn’t present, and I then realised they also weren’t showing on https://traintimes.org.uk/. Due to National Rail’s new system, I’m passing some timestamps in the URI, and now it’s BST... the timezone plus was becoming a space 😱 Should be fixed now.

Edent, to random
@Edent@mastodon.social avatar

I'm playing around with my blog's CSS again (what else are weekends for!?)

Do you prefer <blockquote>s with or without a solid black border?

Which do you think is more readable / attractive?

Block quote with a solid black border.

dracos,
@dracos@mastodon.social avatar

@Edent I think it’s better without, although with your side borders on the main content, it might be more consistent. But overall, still without.

sil, to random
@sil@mastodon.social avatar

Can a web server credibly guess whether an incoming connection comes from a mobile phone on the mobile network, or from something else? Client-side there’s the network information API in JS but it’s not well supported; is there something like GeoIP that knows about mobile networks? Or is that not how it works?

dracos,
@dracos@mastodon.social avatar

@sil maxmind do a (presumably paid) isp database which does that.

joelanman, to webdev
@joelanman@hachyderm.io avatar

wow Playwright's visual debugging UI is amazing! You can step through your tests and see how it looks in the browser

dracos,
@dracos@mastodon.social avatar

@joelanman Can you open dev console at any step? Yes, this can be very handy in some tricksy situations, we’ve had it in FixMyStreet for a while, with Cypress: https://github.com/mysociety/fixmystreet/pull/2020

zachleat, to random
@zachleat@zachleat.com avatar

📮 New post:

The Good, The Bad, The Web Components

https://www.zachleat.com/web/good-bad-web-components/

A full crash course on the state of web components, where they fit in JavaScript frameworks landscape, and how to make use of them moving forward!

dracos,
@dracos@mastodon.social avatar

@zachleat Sorry if this doesn't make sense. I've read, and think I understood, your comprehensive blogpost, thanks. I run e.g. https://fixmystreet.com/ which uses a server-side framework, with added JS (though the slippy map still works without!). Could/should I add web components to this? Where would I start? When you say e.g. "Multiple instances of the same component need to repeat the same nested content" I'm like, yeah, that's fine, I have a server-side language to do that ;-)

frabcus, to random
@frabcus@mastodon.social avatar

Remix does look really good - has server side elements of Next.js, but can reload a server-rendered component tree at any nested depth.

And apparently uses web standards more (progressive enhancement etc) than most React stuff.

Anyone used it in earnest?

https://remix.run/

dracos,
@dracos@mastodon.social avatar

@frabcus Afraid not, another I’ve heard about is https://markojs.com . Still too much JS everywhere.

Edent, to random
@Edent@mastodon.social avatar

Here's an unpleasant and uncharitable thought.

Some of the people convicted in the Horizon scandal probably were legitimately guilty of fraud & theft.

Does the proposed bill to quash convictions operate purely on Blackstone's Ratio? Does it differentiate between cases where Horizon data was only a small part of the evidence?

https://en.wikipedia.org/wiki/Blackstone's_ratio

dracos,
@dracos@mastodon.social avatar

@Edent I do not believe it will differentiate, and at this point I agree that it should not, given the systemic issues. One point is just how slow and pedantic the CCRC is, see their own blog post: https://ccrc.gov.uk/news/ccrc-post-office-referrals-long-read/
And then the Horizon Compensation Advisory Board papers – 10th meeting and the two papers under that, bottom of https://www.gov.uk/government/groups/horizon-compensation-advisory-board

gilest, to random
@gilest@mastodon.me.uk avatar

I think we need more self-hosted personal publishing tools that aren't Wordpress and don't require use of a terminal to set up. A bit of a rant: https://gilest.org/indie-easy.html

dracos,
@dracos@mastodon.social avatar

@gilest To meet your criteria (unzip/upload/visit in browser), PHP is really your only choice - and for whatever reason people don’t write many static site generators in it (and most of those that do still use command line, one that didn’t seems to be Yellow: https://datenstrom.se/yellow/ ). I wonder if there’s a different approach - it’s very possible to write GitHub actions that others can use, that can do the “command line” bits for you. It’s how GitHub Pages itself works. So…

dracos, to random
@dracos@mastodon.social avatar

The future UK Parliament Constituency boundaries are now in mySociety’s MapIt: https://mapit.mysociety.org/areas/WMCF.html
Including what will be my new, pretty silly-shapped, constituency of “Birmingham Selly Oak”

joelanman, to postgres
@joelanman@hachyderm.io avatar

question - are there any downsides to using uuids for joining tables instead of integers? The advantage of uuids is they don't expose any data, whereas integers tell people how many of something you have, and are easy to guess

dracos,
@dracos@mastodon.social avatar

@joelanman @rgarner Realise I don't have all the details, but I don't follow why it's an extra query? Why can't you do SELECT * FROM a JOIN b ON a.id=b.id WHERE a.uuid = &lt;uuid&gt;?

simon, to random
@simon@simonwillison.net avatar

I presented a ten minute segment at GitHub Universe on Wednesday: Financial sustainability for open source projects.

Here's the video, slides and annotated transcript: https://simonwillison.net/2023/Nov/10/universe/

dracos,
@dracos@mastodon.social avatar

@simon Nice to see you :-) FixMyStreet goes more for the Oxfam-bookshop model, open source and funded by the activity of https://www.societyworks.org/ . But I’m sure we’d also take money to speak to anyone about it ;-) Need to be better at listing its nifty features (map still works without JS ;) )

frabcus, to random
@frabcus@mastodon.social avatar

Two questions about YouTube in 2023

  1. Anyone else try to spam Google's ad blocker detection AI by falsely reporting it had a false positive detection?

  2. Anyone else just given up on YouTube and switched to Nebula? Which most of the good ones seem to be one.

My main worry about the latter is that new good YouTubers emerge only really on YouTube - but that's kinda up to Nebula to seek them out somehow too I guess?

Or I just wait for uBlock Origin to update and have a bath or read a book.

dracos,
@dracos@mastodon.social avatar

@frabcus Are you signed in to Google or something? I’m not getting any ad blocker messages, using uBlock Origin, no changes from the default.

dracos,
@dracos@mastodon.social avatar

@frabcus I dunno, I'm just not signed in, and I've never seen it.

Edent, (edited ) to random
@Edent@mastodon.social avatar

Well, I've farted around enough with my blog's layout and theme, I'd better get to writing.

But before I do. Should I add an optional "Dark Mode" CSS?

dracos,
@dracos@mastodon.social avatar

@Edent getItem and setItem, or object access for getting and setting, but why one of each? ;)

Edent, to random
@Edent@mastodon.social avatar

Just booked a holiday 😃
But it isn't until December 😐
I need to stock up on books to read 📚

If you have recently read a book which is UPLIFTING or ✨FUN✨ please let me know.

I don't mind if it is fiction or not. Modern or old. I want to read books which will make me feel happy and invigorated.

What have you got?

dracos,
@dracos@mastodon.social avatar

@Edent just finished the third Stranger Times book, and if you haven’t read any, would recommend the first, was fun. Urban fantasy set in Manchester.

dracos, to random
@dracos@mastodon.social avatar

Train to Penzance.
£190 off peak return, £399 anytime return. £90 advance available one way but only £188 advance coming back?!

Or…
£186 if you split at Cheltenham, anytime.
£160 if Cheltenham to Penzance off peak.
£140ish if most/all off peak.
£135 if you also split at other places.
That’s all with normal walk on tickets.

Or…
£106 if you buy off peak to Cheltenham (£31), singles to Bristol (2x £11), £23 Bristol to Penzance advance, £5 Penzance to Plymouth and £24 Plymouth to Bristol.

Ugh.

dracos,
@dracos@mastodon.social avatar

@danieldurrans @ianbetteridge I don’t own a car, and I hire or borrow one for some holidays. I think overall it has cost me a lot less (even if I didn’t split :) ). Each to their own.

Edent, to random
@Edent@mastodon.social avatar

I think I kind of hate lazy loading…

Yesterday I was on a train. I clicked on a link and the article loaded. Halfway through reading it, the train went into a tunnel and I lost signal.

So I couldn't see the images on the page for the rest of the journey.

I get the need to reduce bandwidth, and the associated battery savings. But I'm not sure it is worth it.

Anyone else feel that way?

dracos,
@dracos@mastodon.social avatar

@Edent I added lazy loading to https://www.theyworkforyou.com/mps/ and I think it was worth it there, made big difference to general download size. As ever, think it depends.

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