anais_pf: (Default)
[personal profile] anais_pf posting in [community profile] thefridayfive
These questions were originally suggested by [livejournal.com profile] wownelwow.

1. What is your favourite fruit?

2. What is the last book you read?

3. Do you like any of your school photos?

4. Do you ever blowdry your armpits to get the deodorant to dry quicker?

5. What was the last film you watched?

Copy and paste to your own journal, then reply to this post with a link to your answers. If your journal is private or friends-only, you can post your full answers in the comments below.

If you'd like to suggest questions for a future Friday Five, then do so on DreamWidth or LiveJournal. Old sets that were used have been deleted, so we encourage you to suggest some more!

Running

Sep. 11th, 2025 10:45 am
squirmelia: (Default)
[personal profile] squirmelia
I ran to the abandoned swings, underneath the moon. In the playing field were a few crows and the blue sky was becoming mottled with clouds. I continued to the river, the River Ravensbourne, and stood on the bridge and peered into the river. The river was shallow and dark in the distance underneath the trees.

I ran back to the pebbly hill and it was then that I saw a young fox on the adjoining road.

first-class merges and cover letters

Sep. 11th, 2025 02:38 am
fanf: (Default)
[personal profile] fanf

https://dotat.at/@/2025-09-11-cover-letter.html

Although it looks really good, I have not yet tried the Jujutsu (jj) version control system, mainly because it's not yet clearly superior to Magit. But I have been following jj discussions with great interest.

One of the things that jj has not yet tackled is how to do better than git refs / branches / tags. As I underestand it, jj currently has something like Mercurial bookmarks, which are more like raw git ref plumbing than a high-level porcelain feature. In particular, jj lacks signed or annotated tags, and it doesn't have branch names that always automatically refer to the tip.

This is clearly a temporary state of affairs because jj is still incomplete and under development and these gaps are going to be filled. But the discussions have led me to think about how git's branches are unsatisfactory, and what could be done to improve them.

branch

One of the huge improvements in git compared to Subversion was git's support for merges. Subversion proudly advertised its support for lightweight branches, but a branch is not very useful if you can't merge it: an un-mergeable branch is not a tool you can use to help with work-in-progress development.

The point of this anecdote is to illustrate that rather than trying to make branches better, we should try to make merges better and branches will get better as a consequence.

Let's consider a few common workflows and how git makes them all unsatisfactory in various ways. Skip to cover letters and previous branch below where I eventually get to the point.

merge

A basic merge workflow is,

  • create a feature branch
  • hack, hack, review, hack, approve
  • merge back to the trunk

The main problem is when it comes to the merge, there may be conflicts due to concurrent work on the trunk.

Git encourages you to resolve conflicts while creating the merge commit, which tends to bypass the normal review process. Git also gives you an ugly useless canned commit message for merges, that hides what you did to resolve the conflicts.

If the feature branch is a linear record of the work then it can be cluttered with commits to address comments from reviewers and to fix mistakes. Some people like an accurate record of the history, but others prefer the repository to contain clean logical changes that will make sense in years to come, keeping the clutter in the code review system.

rebase

A rebase-oriented workflow deals with the problems of the merge workflow but introduces new problems.

Primarily, rebasing is intended to produce a tidy logical commit history. And when a feature branch is rebased onto the trunk before it is merged, a simple fast-forward check makes it trivial to verify that the merge will be clean (whether it uses separate merge commit or directly fast-forwards the trunk).

However, it's hard to compare the state of the feature branch before and after the rebase. The current and previous tips of the branch (amongst other clutter) are recorded in the reflog of the person who did the rebase, but they can't share their reflog. A force-push erases the previous branch from the server.

Git forges sometimes make it possible to compare a branch before and after a rebase, but it's usually very inconvenient, which makes it hard to see if review comments have been addressed. And a reviewer can't fetch past versions of the branch from the server to review them locally.

You can mitigate these problems by adding commits in --autosquash format, and delay rebasing until just before merge. However that reintroduces the problem of merge conflicts: if the autosquash doesn't apply cleanly the branch should have another round of review to make sure the conflicts were resolved OK.

squash

When the trunk consists of a sequence of merge commits, the --first-parent log is very uninformative.

A common way to make the history of the trunk more informative, and deal with the problems of cluttered feature branches and poor rebase support, is to squash the feature branch into a single commit on the trunk instead of mergeing.

This encourages merge requests to be roughly the size of one commit, which is arguably a good thing. However, it can be uncomfortably confining for larger features, or cause extra busy-work co-ordinating changes across multiple merge requests.

And squashed feature branches have the same merge conflict problem as rebase --autosquash.

fork

Feature branches can't always be short-lived. In the past I have maintained local hacks that were used in production but were not (not yet?) suitable to submit upstream.

I have tried keeping a stack of these local patches on a git branch that gets rebased onto each upstream release. With this setup the problem of reviewing successive versions of a merge request becomes the bigger problem of keeping track of how the stack of patches evolved over longer periods of time.

cover letters

Cover letters are common in the email patch workflow that predates git, and they are supported by git format-patch. Github and other forges have a webby version of the cover letter: the message that starts off a pull request or merge request.

In git, cover letters are second-class citizens: they aren't stored in the repository. But many of the problems I outlined above have neat solutions if cover letters become first-class citizens, with a Jujutsu twist.

  • A first-class cover letter starts off as a prototype for a merge request, and becomes the eventual merge commit.

    Instead of unhelpful auto-generated merge commits, you get helpful and informative messages. No extra work is needed since we're already writing cover letters.

    Good merge commit messages make good --first-parent logs.

  • The cover letter subject line works as a branch name. No more need to invent filename-compatible branch names!

    Jujutsu doesn't make you name branches, giving them random names instead. It shows the subject line of the topmost commit as a reminder of what the branch is for. If there's an explicit cover letter the subject line will be a better summary of the branch as a whole.

    I often find the last commit on a branch is some post-feature cleanup, and that kind of commit has a subject line that is never a good summary of its feature branch.

  • As a prototype for the merge commit, the cover letter can contain the resolution of all the merge conflicts in a way that can be shared and reviewed.

    In Jujutsu, where conflicts are first class, the cover letter commit can contain unresolved conflicts: you don't have to clean them up when creating the merge, you can leave that job until later.

    If you can share a prototype of your merge commit, then it becomes possible for your collaborators to review any merge conflicts and how you resolved them.

To distinguish a cover letter from a merge commit object, a cover letter object has a "target" header which is a special kind of parent header. A cover letter also has a normal parent commit header that refers to earlier commits in the feature branch. The target is what will become the first parent of the eventual merge commit.

previous branch

The other ingredient is to add a "previous branch" header, another special kind of parent commit header. The previous branch header refers to an older version of the cover letter and, transitively, an older version of the whole feature branch.

Typically the previous branch header will match the last shared version of the branch, i.e. the commit hash of the server's copy of the feature branch.

The previous branch header isn't changed during normal work on the feature branch. As the branch is revised and rebased, the commit hash of the cover letter will change fairly frequently. These changes are recorded in git's reflog or jj's oplog, but not in the "previous branch" chain.

You can use the previous branch chain to examine diffs between versions of the feature branch as a whole. If commits have Gerrit-style or jj-style change-IDs then it's fairly easy to find and compare previous versions of an individual commit.

The previous branch header supports interdiff code review, or allows you to retain past iterations of a patch series.

workflow

Here are some sketchy notes on how these features might work in practice.

One way to use cover letters is jj-style, where it's convenient to edit commits that aren't at the tip of a branch, and easy to reshuffle commits so that a branch has a deliberate narrative.

  • When you create a new feature branch, it starts off as an empty cover letter with both target and parent pointing at the same commit.

  • Alternatively, you might start a branch ad hoc, and later cap it with a cover letter.

  • If this is a small change and rebase + fast-forward is allowed, you can edit the "cover letter" to contain the whole change.

  • Otherwise, you can hack on the branch any which way. Shuffle the commits that should be part of the merge request so that they occur before the cover letter, and edit the cover letter to summarize the preceding commits.

  • When you first push the branch, there's (still) no need to give it a name: the server can see that this is (probably) going to be a new merge request because the top commit has a target branch and its change-ID doesn't match an existing merge request.

  • Also when you push, your client automatically creates a new instance of your cover letter, adding a "previous branch" header to indicate that the old version was shared. The commits on the branch that were pushed are now immutable; rebases and edits affect the new version of the branch.

  • During review there will typically be multiple iterations of the branch to address feedback. The chain of previous branch headers allows reviewers to see how commits were changed to address feedback, interdiff style.

  • The branch can be merged when the target header matches the current trunk and there are no conflicts left to resolve.

When the time comes to merge the branch, there are several options:

  • For a merge workflow, the cover letter is used to make a new commit on the trunk, changing the target header into the first parent commit, and dropping the previous branch header.

  • Or, if you like to preserve more history, the previous branch chain can be retained.

  • Or you can drop the cover letter and fast foward the branch on to the trunk.

  • Or you can squash the branch on to the trunk, using the cover letter as the commit message.

questions

This is a fairly rough idea: I'm sure that some of the details won't work in practice without a lot of careful work on compatibility and deployability.

  • Do the new commit headers ("target" and "previous branch") need to be headers?

  • What are the compatibility issues with adding new headers that refer to other commits?

  • How would a server handle a push of an unnamed branch? How could someone else pull a copy of it?

  • How feasible is it to use cover letter subject lines instead of branch names?

  • The previous branch header is doing a similar job to a remote tracking branch. Is there an opportunity to simplify how we keep a local cache of the server state?

Despite all that, I think something along these lines could make branches / reviews / reworks / merges less awkward. How you merge should me a matter of your project's preferred style, without interference from technical limitations that force you to trade off one annoyance against another.

There remains a non-technical limitation: I have assumed that contributors are comfortable enough with version control to use a history-editing workflow effectively. I've lost all perspective on how hard this is for a newbie to learn; I expect (or hope?) jj makes it much easier than git rebase.

dancefloorlandmine: (Gigs)
[personal profile] dancefloorlandmine
With my weekend plans having changed with about a week's notice, I was reminded (by Jim Bob on the album playthrough on Bandcamp) that there were still a few tickets left for the second album launch on the Saturday. Second album? Yep. Jim was releasing two albums at the same time 'Stick' and 'Automatic'. This isn't a double album, but two completely separate albums. 'Stick' is the punkier number, while 'Automatic' is more of a full-band thing. 'Stick' was launched at the sweaty punkpit that is the Fighting Cocks in Kingston, while 'Automatic' was being launched at Rough Trade East off Brick Lane.

Up to London, some loitering outside chatting to other folks about shared histories of seeing 1990s bands, and then, by way of collecting my copy of the album on the way in, to the space that had been cleared of music racks in front of Rough Trade East's small stage - and then to continue the chatting for most of an hour until the clock ticked around and the band strolled onto the stage. Jim Bob was carrying an electric guitar, backed by a band of electric guitar, bass, drums, and two keyboard players.

And then they set off, playing through the album tracks in order. A couple of tracks featured a slight stumble, as this was the first time these tracks had all been run through live, but it was a good-humoured gig and audience. The songs on the album are the usual Jim Bob mix of whimsy, observation, and biting lyrics. Once the album play-through was completed, there was just enough time for an extra song, with the band managing to play through Carter's Lean On Me, I Won't Fall Over¹ and finish with seconds to spare before the curfew.

And then to join the queue to leave by way of Jim's signing table, with an extended comparing of notes regarding disappeared venues with the guy behind me in the queue, who turned out to have lived in Croydon in the late 80s and early 90s.



A full photo album is here.

¹ One of my favourite Carter songs.
squirmelia: (Default)
[personal profile] squirmelia
A sign on the gate at Gabriel’s Wharf warned that the foreshore was unsafe and to keep away, but I'd read elsewhere these weren't official signs and no-one knew what was more unsafe than usual about it.

I walked through the gate anyway and headed onwards, waiting for the tide low enough to get to the patch of foreshore outside the National Theatre.

While I was waiting I found what I thought was a coin, but things are deceptive on the foreshore and when I got it home, it had transformed into something else, although I don't know what.

A pair of tourists sat on the steps by the locked gate, chatting loudly.

In front of me on the waves were seagulls bobbing and I could hear the clink clink sound of boats, and the clatter of the waves against the pebbles. I felt happy to be there, by this river.

I found some large pieces of what were once pots of some kind. One with the letters, “ING” which was probably another Maling marmalade jar. One with “London” and some other indecipherable words, and one which probably once said “pottery” and “Derby”. That may have been for ink.

I found a lot with letters on! Numbers also: a thing that has “55 14” on it. A letter ‘T’, on a piece that was reddish with a cross. An ‘E. Letters that probably once spelt ‘England’.

These are all in the first picture:

Mudlarking finds - 42.1

In the second picture:

A cat bread sticker, looking particularly strange.

A wooden thing. Is it something carved and used by humans or just a bit of tree root that ended up in the Thames?

A domino. But where are the rest of the dominoes?

A blue pottery sherd with what looks like ‘TS’ on it.

A pottery sherd that looks like it says "fex" on it, but that seems unlikely.

The metal brown circle.

A tip of a pipe, and a decent bit of pipe and bowl.

Mudlarking finds - 42.2

In the third picture:

An Aynsley China sherd.

A little button.

Some nice colourful pieces of glass.

A shard of glass that says “Pepsi” on it.

Mudlarking finds - 42.3

The sun was getting low in the sky and the light was fading as I walked back across to the beach by Gabriel’s Wharf, before the tide came back in.

(You need a permit to mudlark or search on the Thames foreshore.)

Today's Adventures

Sep. 5th, 2025 09:34 pm
ysabetwordsmith: Cartoon of me in Wordsmith persona (Default)
[personal profile] ysabetwordsmith posting in [community profile] flaneurs
Today we went to the Broomcorn Festival in Arcola, Illinois. This is a big harvest festival, well worth catching, and it runs the whole weekend if you want to check it out. The weather was beautiful, cloudy and mild, couldn't ask for better weather.

Arcola is a nice town with several favorite shops that we like to visit. The old buildings are colorful with beautiful architecture. Most of the streets along the festival are still brick. There are benches along the sidewalks. Several places had picnic tables set up for the event, too.

Read more... )

The Friday Five for 5 September 2025

Sep. 4th, 2025 03:38 pm
anais_pf: (Default)
[personal profile] anais_pf posting in [community profile] thefridayfive
These questions were originally suggested by [livejournal.com profile] rawee1.

1. When did you "lose your innocence"?

2. Would you say you have an accent?

3. Do you hope to be married (married again if divorced)?

4. If you could take one technology to a desert island (the obvious satellite phone excluded), what would it be?

5. What is the last activity you bought a ticket for?

Copy and paste to your own journal, then reply to this post with a link to your answers. If your journal is private or friends-only, you can post your full answers in the comments below.

If you'd like to suggest questions for a future Friday Five, then do so on DreamWidth or LiveJournal. Old sets that were used have been deleted, so we encourage you to suggest some more!

**Remember that we rely on you, our members, to help keep the community going. Also, please remember to play nice. We are all here to answer the questions and have fun each week. We repost the questions exactly as the original posters submitted them and request that all questions be checked for spelling and grammatical errors before they're submitted. Comments re: the spelling and grammatical nature of the questions are not necessary. Honestly, any hostile, rude, petty, or unnecessary comments need not be posted, either.**

Mudlarking - 41- More marmalade

Sep. 3rd, 2025 08:47 pm
squirmelia: (Default)
[personal profile] squirmelia
It was sunny when I got to the foreshore and I took my raincoat off and stuffed it in my bag. Of course then it poured with rain and I got drenched. I hid underneath the jetty for shelter for a while, along with a few others.

Before that, I found part of a Victorian marmalade jar, made by Maling, who were based in Newcastle. This is the second one of these I’ve found, but this was a larger chunk. The Thames must eat a lot of marmalade.

I also found a good sized piece of combware, a green bobbly bit of glass and what looks like a piece of a beard from a Bartmann jug

Mudlarking finds - 41

(You need a permit to search or mudlark on the Thames foreshore.)

1SE for August 2025

Sep. 2nd, 2025 02:42 pm
nanila: me (Default)
[personal profile] nanila


Despite all the Welsh holiday footage, Astro managed to sneak in here quite a lot. Meeting the talkative long-eared owl was one of the highlights. She had many and varied opinions.
squirmelia: (Default)
[personal profile] squirmelia
I started off at Blackfriars and then just continued walking towards Waterloo Bridge as the tide was out. The beach I finished at was full of large bits of pottery. At low tide it seems accessible from Ernie’s beach, where sand sculptures were being made. I saw people climbing over the gate at the top of the stairs, as it was locked, outside the National Theatre.

Other people on the foreshore included a group with knee pads digging at the end of the beach at Blackfriars and a group outside the National Theatre litter picking.

My most amusing find is a pottery sherd that says “GPO” on it. I concluded it would have been from the refreshments club at GPO West.. which it turns out was on the same site where the BT Centre was later built, the office where I used to work!

Another fun find was a strange looking doll’s bottle from the 1940s. I had no idea that it was a doll’s bottle, but had noticed it had a trademark and said “Mormit” on it. I found a picture of the doll and the bottle on eBay: https://www.ebay.co.uk/itm/146731521183

There's also a pottery sherd with BCM on it - British Commercial Monomarks. I can see it says “Ware” so was probably Nelson Ware who used this mark. Nelson Ware was made by Elijah Cotton and the company was in operation from 1880 - 1981.

The piece of glass looks like it might have L and P on it - Lea and Perrins? Or maybe it's a 7 and not an L.

I came across the most wondrous rock, which wasn't really a rock, more just bits of blue slag and bits of shiny rainbow glass all clumped together, but it seemed almost magical.

Mudlarking finds - 40

GPO West sherd

(You need a permit to search or mudlark on the Thames foreshore.)

Mudlarking - 39 - Little bottles

Sep. 1st, 2025 08:33 pm
squirmelia: (Default)
[personal profile] squirmelia
A lunchtime mudlarking, opposite what looked like a cruise ship. A few tourists were on the foreshore taking selfies.

I found two small glass bottles - the first was probably used for ink, but it now sadly has a hole in it. The second, perhaps an apothecary bottle of some kind or for essence. It has R 13 on the bottom so might be from Ravenhead.

Both bottles are probably from the early 1900s and are the most intact things I've found so far!

The rusty thing is some kind of hook.

Mudlarking finds - 39.1

Mudlarking finds - 39.3

Mudlarking finds - 39.2

(You need a permit to search or mudlark on the Thames foreshore.)

Mudlarking 38 - Crowds

Sep. 1st, 2025 08:29 pm
squirmelia: (Default)
[personal profile] squirmelia
The opposite of the previous time, the foreshore was too busy for me.

I started off at Cousin Lane Stairs but there were already 4 people at the edge of the river when I got down there, and it felt like there wasn't space for me there too, so I stood there for a few seconds, then left.

I next tried Trig Lane Stairs. There were a few people towards Queenhithe but that looked busy and I'm still not entirely sure where the boundary is of the Ancient Scheduled Monument so I don't want to risk it. There were a few other people on the foreshore too, but I had a few minutes where I mostly just picked up pieces of glass, with the thought that if I collect enough glass, surely one piece would glow under UV? I then concluded maybe I should study pictures of uranium glass first. Time to join another niche Facebook group.

I also picked up a piece of pipe with initials.

A tour group appeared but fortunately I'd already decided to leave even though there was still plenty of time before low tide.

In future I will go to quieter spots.

When I got home, I shone the UV torch at all the pieces, but none glowed, but I also pointed the torch at the piece from before and that did!

Mudlarking finds - 38

(You need a permit to search or mudlark on the Thames foreshore.)

Code deploy happening shortly

Aug. 31st, 2025 07:37 pm
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
[staff profile] mark posting in [site community profile] dw_maintenance

Per the [site community profile] dw_news post regarding the MS/TN blocks, we are doing a small code push shortly in order to get the code live. As per usual, please let us know if you see anything wonky.

There is some code cleanup we've been doing that is going out with this push but I don't think there is any new/reworked functionality, so it should be pretty invisible if all goes well.

denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
[staff profile] denise posting in [site community profile] dw_news

A reminder to everyone that starting tomorrow, we are being forced to block access to any IP address that geolocates to the state of Mississippi for legal reasons while we and Netchoice continue fighting the law in court. People whose IP addresses geolocate to Mississippi will only be able to access a page that explains the issue and lets them know that we'll be back to offer them service as soon as the legal risk to us is less existential.

The block page will include the apology but I'll repeat it here: we don't do geolocation ourselves, so we're limited to the geolocation ability of our network provider. Our anti-spam geolocation blocks have shown us that their geolocation database has a number of mistakes in it. If one of your friends who doesn't live in Mississippi gets the block message, there is nothing we can do on our end to adjust the block, because we don't control it. The only way to fix a mistaken block is to change your IP address to one that doesn't register as being in Mississippi, either by disconnecting your internet connection and reconnecting it (if you don't have a static IP address) or using a VPN.

In related news, the judge in our challenge to Tennessee's social media age verification, parental consent, and parental surveillance law (which we are also part of the fight against!) ruled last month that we had not met the threshold for a temporary injunction preventing the state from enforcing the law while the court case proceeds.

The Tennesee law is less onerous than the Mississippi law and the fines for violating it are slightly less ruinous (slightly), but it's still a risk to us. While the fight goes on, we've decided to prevent any new account signups from anyone under 18 in Tennessee to protect ourselves against risk. We do not need to block access from the whole state: this only applies to new account creation.

Because we don't do any geolocation on our users and our network provider's geolocation services only apply to blocking access to the site entirely, the way we're implementing this is a new mandatory question on the account creation form asking if you live in Tennessee. If you do, you'll be unable to register an account if you're under 18, not just the under 13 restriction mandated by COPPA. Like the restrictions on the state of Mississippi, we absolutely hate having to do this, we're sorry, and we hope we'll be able to undo it as soon as possible.

Finally, I'd like to thank every one of you who's commented with a message of support for this fight or who's bought paid time to help keep us running. The fact we're entirely user-supported and you all genuinely understand why this fight is so important for everyone is a huge part of why we can continue to do this work. I've also sent a lot of your comments to the lawyers who are fighting the actual battles in court, and they find your wholehearted support just as encouraging and motivating as I do. Thank you all once again for being the best users any social media site could ever hope for. You make me proud and even more determined to yell at state attorneys general on your behalf.

Today's Adventures

Aug. 30th, 2025 11:38 pm
ysabetwordsmith: Cartoon of me in Wordsmith persona (Default)
[personal profile] ysabetwordsmith posting in [community profile] flaneurs
Today we went to the Tuscola Family Fun Day and the Arthur Amish Country Cheese Festival.

Amusingly, I'm wearing a goldenrod-yellow T-shirt with a corncob and the caption "This is my crop top." (It's full length.) I got at least half a dozen compliments on it. :D I bought it earlier this year at another event, definitely a good choice for fall festivals.

Read more... )

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 13th, 2025 01:28 pm
Powered by Dreamwidth Studios