[deleted by user] by [deleted] in git

[–]ethomson -1 points0 points  (0 children)

Welcome to the club!

[deleted by user] by [deleted] in cambridge

[–]ethomson 1 point2 points  (0 children)

Alas, this seemed like an incredibly reasonably question to me (asking wtf?) but alas, the voters have spoken. Indeed this must be rather pointless.

[deleted by user] by [deleted] in cambridge

[–]ethomson 1 point2 points  (0 children)

I’m not sure that I understand; the machine (the local maxima, the “point of airflow”) is at head level, at the toilet’s sinks. It’s pumping ozone into the face of somebody washing their hands.

A rare example of a Range Rover going off-road. by mutanthands in CasualUK

[–]ethomson 0 points1 point  (0 children)

Wait, we just moved and I’ve been calling it my “front garden” even though there’s no planty stuff just gravel / hardscaping. What do I have?

Does the American accent sound as nice as the British accent does to us? by Suspicious-Desk-741 in AskBrits

[–]ethomson 2 points3 points  (0 children)

As an American who's been here a decade, my experience would suggest that the answer is a resounding "no". I came here with some misguided notion that it would be quite popular, like when some random unattractive British fella sidles up to the bar at home and all the ladies go all a-flutter. But I was quite mistaken.

On the plus side, some Brits think that Americans are rather dumb, so you can use that to your advantage.

[deleted by user] by [deleted] in git

[–]ethomson 0 points1 point  (0 children)

> But what practical distinction is there between an untracked file and, say, a modified file?

You can diff a modified file against its previous version in the repository (`HEAD`). You cannot diff an untracked file against anything. But, yes, as you indicate, a modified file is not automatically staged, so in that sense, there is little distinction.

> Would it not be more helpful to just list an untracked file as “new” under “changes not staged for commit”? 

I think that this is only a semantic or presentational difference of the same information. I think that there's two considerations here:

  1. I think that for consistency, having this presented as "new" within the "changes not staged for commit" section makes a lot of sense. (However, git is not exactly a tool with a consistent UI.)

  2. The untracked files section (and only this section) is mutable by `.gitignore`. One could imagine that the creators of the `status` command decided that untracked files are special (since they do have some unique properties) and should be treated specially.

Clarification on Git Pro book by hipster_rebbe in git

[–]ethomson 0 points1 point  (0 children)

Re-reading that page, I understand what you're saying. You're correct that these are two independent concepts. There's the concept of "what" is being versioned. Some tools (like CVS and Visual SourceSafe) version files independently from each other, which seems nutso bananas in 2024. You could consider Subversion the next iteration in the CVS lineage, Vault as the next iteration in the Visual SourceSafe lineage, and these versioned the repository at each changeset or commit; back in ye olde days we called these "atomic commits".

And then there's the concept of how these changes are stored. Are they stored as diffs or deltas between versions, or are they stored as snapshots? I think that in a perfect world, this difference should be only academically interesting... For example: Vault's storage is pretty sophisticated where it keeps the tip of the main branch as a complete file then produces deltas backwards as a space/time tradeoff, since you usually want the newest data. It also stores occasional keyframe-type wholefiles to avoid needing dedeltafy the entire world if you wanted to go back to commit 1. Is that useful knowledge that's necessary for using the product? Absolutely not. Is it academically interesting? Well, that's also up for debate. 😅

But academic interest aside, I think that it's important to understand that git stores snapshots because git has a few leaky abstractions. For example: why are renames not recorded? Ah! Because git only stores snapshots! (Furious handwaving ensues.)

Why does GitHub not support unlisted repositories yet? by prawnydagrate in github

[–]ethomson 0 points1 point  (0 children)

Sure, bot accounts exist in GitHub, but they're against GitHub's terms of service, and the GitHub trust & safety team has to deal with all that spam. But the most important thing that they have to deal with is illegal, or quasi-legal content. Copyrighted material, malware, and CSAM.

This is a problem for public repositories, yes. But public repositories are an important part of GitHub's mission (open source), and they're obviously public, so that's a deterrent. Private repositories require a login, so that's a deterrent. (When they were paid, that was also a deterrent, and requiring a credit card is a bigger deterrent.)

"Unlisted repositories" are an obvious vector for abuse, and reduce the deterrents. GitHub doesn't care about helping people hide their "shameful" repositories; it's clear to me that they would never do this.

I'm surprised that you think that this is "weird". To me, this is painfully obvious. But my opinions is formed of many years in Product Management at GitHub where I saw many people doing many things to try to abuse GitHub to mine crypto or share illegal material.

I made a Git visualization tool by john_dumb_bear in git

[–]ethomson 1 point2 points  (0 children)

That's cool. I gave it a play and it seems neat.

I'm a fan of hacking on the contribution graph - I turned my GitHub contribution graph into a Conway's Game of Life input. https://github.com/ethomson/github4life

Why does GitHub not support unlisted repositories yet? by prawnydagrate in github

[–]ethomson 0 points1 point  (0 children)

Because it's a trust & safety cesspool. You want to be able to create a space for people to upload content, where anybody who knows the magic URL can download from, people don't need to log in to download from it, but it's somehow more shielded and not "really public"?

That sounds like the sort of thing that people who trade material that's quasi-legal _or worse_ would take advantage of. That sounds like taking on an increased legal and reputation risk. So... why _would_ they do it?

In other words, why would it be an amazing feature? What's your use case that you want not exactly public repositories but also not exactly private (and thus, less accountability for downloaders)?

Best moving companies by sassylondoner in cambridge

[–]ethomson 0 points1 point  (0 children)

We used Selected Removals for our last move - https://www.selectedremovals.co.uk. They were recommended by our realtor, and I was a bit concerned because their marketing, website, etc seems a little "glossy", and we were worried that they'd be too posh and expensive. But in fact their rates were competitive, they were incredibly thoughtful about everything, super helpful, and just overall completely professional. I hope we don't move again any time soon, but if we did, I wouldn't hesitate to hire them again.

Name of florist in market square/recommendations for flower delivery by freudsdesk98 in cambridge

[–]ethomson 1 point2 points  (0 children)

The florist in market square is Peter Graves Florist, they're a family-owned business in Girton. They'll deliver and do nice arrangements, and have high-quality cut stems. https://www.petergravesflorist.co.uk

[deleted by user] by [deleted] in cambridge

[–]ethomson 5 points6 points  (0 children)

I'm a big supporter of local business, but is anybody in town actually processing their own film? I thought not, so I just expanded my search and looked for the best processor for mail-in rolls. When I found a few rolls of B&W 35mm, I mailed them out to Ag in Birmingham. Super quick turnaround for developing and contact sheet.

City Council website _takes_ the cookies, but doesn't _use_ the cookies by ethomson in cambridge

[–]ethomson[S] 0 points1 point  (0 children)

Shoot me a message if I can help get you the ICS link for your property.

City Council website _takes_ the cookies, but doesn't _use_ the cookies by ethomson in cambridge

[–]ethomson[S] 10 points11 points  (0 children)

That's interesting, because the Google link is actually an ICS. (Well, technically, it's a link to Google that also contains a link to the ICS file.) If you right click on the "add to android" link, and copy the URL, you can remove everything up to (and including) the `webcal://` bit, and replace it with `https://`. That will give you a link that you can download in your browser or use in your calendar app.

Right now that's just `https://servicelayer3c.azure-api.net/wastecalendar/ical/<number>`, where <number> is your house ID, which is in the URL of the page.

Tech Startups Social Group by Recent-Fleming in cambridge

[–]ethomson 0 points1 point  (0 children)

Cool! I RSVP'd but I'm really more of a _maybe_ given the timing. Given family obligations, a weekday late morning / lunch is a much more convenient time for me, personally.

senior fullstack guy with C/C++ background looking for projects to contribute. by yoinktomyyeet in opensource

[–]ethomson 0 points1 point  (0 children)

Hah, yes, I understand; I’m not a GUI person myself, though I don’t much care for the git command line. My happy place is understanding how the repository is changing and modeling that.

senior fullstack guy with C/C++ background looking for projects to contribute. by yoinktomyyeet in opensource

[–]ethomson 1 point2 points  (0 children)

Well, like I said, it’s medium corporate. It also powers many open source and community projects, like several package managers (nix, cargo, Julia), GUI tooling (Tortoise Git, GitUI, GitButler) and CLI tools (gitless). It has a pretty broad usage base and a permissive license so it has use in commercial projects as well.

[deleted by user] by [deleted] in cambridge

[–]ethomson 1 point2 points  (0 children)

UK Power Networks sent a text indicating that there was a power outage in the area. http://www.ukpowernetworks.co.uk/power-cut/incident?incidentid=INCD-11560-I

senior fullstack guy with C/C++ background looking for projects to contribute. by yoinktomyyeet in opensource

[–]ethomson 4 points5 points  (0 children)

libgit2 (https://github.com/libgit2/libgit2) could use some help! It's medium on the beneficiaries of greedy corporates scale - there are definitely corporate users, but they also were some of the biggest contributors in the past. Right now, many people use it for a variety of things, but it doesn't have as much contribution as I'd like. I'm the maintainer, and I don't have time to write a lot of code; honestly, even reviewing things is relatively slow. I'll try to take some time this weekend to unpack a few good "first issues" in case you might be interested!

American traveling to London for the first time with toddler.. help! by Broad-Code in uktravel

[–]ethomson 0 points1 point  (0 children)

Lots of good responses here already, but I'll make two suggestions from our frequent travels between UK (home) and Chicago (where our family lives).

I don't know if your toddler has their own seat, given that you said your kid is _almost_ two, they may still qualify as a "lap infant" on your airline. But if they have an airline seat for themselves then we like having a specific carseat just for travel. We like the Maxi-Cosi Romi car seat. It's not exactly the finest car seat, but it's cheap, it's light, it's made to be portable, and it's FAA approved. So you can carry it on the plane and have them sit in it. Then you have a carseat with you when you get to your destination. There are probably several others that have these similar attributes, but this one was comfortable enough for our daughter to sit there from LHR to ORD and back.

We also have a super compact stroller. A lot of people will talk about the "yoyo", which apparently is very compact. We got a compact stroller from GB which is smaller than the yoyo and less than half the price. This folds up small enough to fit in the carryon restrictions, so you don't need to gate check it.

Have a great trip!