tallship, to foss

As a longtime provider of services in one form or another since the late 80's and early 90's, I felt the pain of having to write out the following blog post/update.

Drew is an opinionated perfectionist with an attention to detail and his perspective that chafes some, endears others, and deservedly, receives the respect earned when someone strives toward par excellence for those for whom they provide services for.

I have some differing set of conclusions from my understanding of what he laments as the ordeal he's been through in the past year, like, "why would anyone consider a carrier besides DHL for international overseas shipments?" Also, I fail to see the logic in moving his entire infra from the U.S. (where there are many affordable top-tier carrier hotels - aka datacenters) to Amsterdam, which also has fine facilities and maybe it is because of privacy concerns which depending on what those are, may indeed be quite valid from my perspective.

But not having IPv6 fully deployed (as a result of datacenter choice?) is puzzling, although almost inconsequential operationally, in production, ... Almost.

Considering I've always looked directly at the carriers themselves, used my own delegated IP infrastructure for core operations, I tend to look at a datacenter as three things:

  • Electricity
  • Fail-over electricity (Generators)
  • Air conditioning

Most folks rent a rack that comes with transit, I ask how much the XC is - I can find, mix, and pick my transit providers. I just wanna know that my shit is secure in a suite or cage behind locked cabinets that I personally have 24/7 access to at anytime (even though I'll rarely do so) and have 24/7 remote hands to swap drives, hot-pluggable power supplies and plug cables into the designated ports I specify, etc. Those things typically come w/zero cost.

For DDoS'ing, I do like to outsource this as part of a package, and I'm open to any offers of included transit/XC and want to know how much each additional 20A of electricity cost me each month in addition to the rack fees. Putting the onerous of protecting my customers from a good DDoS'ing on someone else like my upstream takes a lot of worry away.

Shipping machinery though, that's a bit distinct too, I've been burned a few times domestically, although always recovered my *tangible costs - time? well, I've lost a couple of customers because their infra was lost or damaged in transit, but insurance is important - Drew had that. What I'm really wondering though, is who besides DHL would you even trust to ship servers over the Atlantic Ocean?

That's a cost I would not consider skimping on - A girl I almost married worked for DHL for over 20 years and they'll cut a check at the drop of a hat, which might have worked out well for Drew considering these were old boxes ready for retirement anyway and the replacement cost (new stuffs) is what you insure for.

Anyway, I've really admired much of what Drew has done over the years, was cheerleading for him as he migrated from full time paycheck person to finally being able to announce that he "thinks" he can make enough money for a living by devoting himself full time to FOSS with his fledgling SourceHut.

Yah, sometimes his head swelled up pretty big, making it hard to fit through doorways, and I've butted heads with him here and there on technical matters only, but have always respected him, and in truth, he was never not correct even if his way was the wrong way, or there was simply a better way - usually those were matters of opinion coz there's more than six ways to Sunday to skin a cat.

Anyway, he's been kicked in the balls really hard, which if you know much of him, must have been really hard to lay all of that out in some manner of detail (He's almost always brutally transparent). For that, and moreover for getting right back up after being knocked down (maybe by da man?), I applaud his candidness. His devotion to those of you reading this that may have free repos at SourceHut, and I'm also encouraging everyone to kick in at least a few bucks - fuck that dumb app that you don't need, let alone pay $2.95 for the exclusive right to be tracked - I urge you with all FOSSiness in mind... Give it a read, and send him whatev, ... I guarantee it will come back to you tenfold.

Drew is a consummate FOSS warrior, do it for yourself, please - Five bucks, fifty bucks, heck, whatever isn't going to cut into your budget for porterhouse steak this weekend would be nice.

And it will make you feel good too.

Full disclosure: I'm not getting shit from this article. Drew and I only converse occasionally and usually it is to disagree - some folks are just good coz of what's in their heart, their commitment to the community, and whether you're a fan or not doing this for him really is doing this for yourself and everyone else in the FOSS world.

Here's the link to the article/update.

.

salcode, to random
@salcode@phpc.social avatar

I'm a huge fan of "git log --oneline --graph" but I've noticed merge commits are indented, which doesn't seem correct to me.

In the attached screenshots, I've highlighted the extra spaces I don't think should be there in the first and in the second I've modified the indenting to what I expect to see.

Am I just thinking about this the wrong way? 🤔

#git

'git log --oneline --graph' output with the two space indentation before a merge commit removed

bmispelon, to random
@bmispelon@mastodon.social avatar

I published a new article on my blog: How to do search and replace with #git https://blog.bmispelon.rocks/articles/2024/2024-06-03-git-search-and-replace.html

e11bits,
@e11bits@fosstodon.org avatar

@holgerschurig What package are you using with rg in #emacs?

holgerschurig,

@e11bits I use consult, it has a consult-ripgrep subcommand.

dannotdaniel, to github
@dannotdaniel@mastodon.social avatar

interesting to hear somewhere that GitHub is working to integrate ActivityPub in some form or fashion... Sounds very cool. Both excel at being distributed, etc etc.

Of course, searching for "github activitypub" just brings me to every ActivityPub project page and not what I was actually looking for 😂

#github #activitypub #git

smallcircles,
@smallcircles@social.coop avatar

@dannotdaniel nice! Do you have more information on where you learned about this? I'd like to try help find where that work is done.

I know about https://forgeflux.org by @realaravinth

slackline,
@slackline@mastodon.social avatar

@dannotdaniel Interesting hand't heard of that yet.

I do know that @forgejo is aiming to leverage ActivityPub to make self-hosted instances work together (in much the same way Mastodon does I guess).

edgren, to opensource

Is it just me or do @Codeberg have a lot of issues these days? I can't reach their website at the moment and this is far from the only time I can't reach codeberg.org.

fabian,
@fabian@floss.social avatar

@edgren Unfortunately, yes, it seems a bit underpowered (hardware and staff?).

jani, to random
@jani@fosstodon.org avatar

Git pathspec glob pattern starting with **/ should match in all directories. However, it does not appear to match in the top level directory, only subdirectories.

For example, 'git ls-files **/Makefile' does not find root Makefile.

So, to find all Makefiles, possibly with suffixes, you'd have to use 'git ls-files Makefile* */Makefile', which is a bit tedious.

Am I missing some magic syntax to achieve what I want?

(Ping @b0rk the resident git wizard.)

https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-glob

#git

jani,
@jani@fosstodon.org avatar

@kernellogger @b0rk That seems to do the trick, thank you!

Quoting seems necessary, but a single leading start is enough: "Makefile".

It just makes me wonder what the value of separately documenting "**/" prefix but failing to mention "*" matches /'s is.

kernellogger,
@kernellogger@fosstodon.org avatar

@jani @b0rk

+1

Wondering if "Makefile" will find fooMakefile, while "*Makefile" might not.

ids1024, to random
@ids1024@fosstodon.org avatar

Is there a #git feature I can enable to hit me on the head with a Looney Tunes-style mallet if I run git checkout -b and it doesn't successful create and and switch branch?

So I don't ignore the error and accidentally commit to master.

matt,

@ids1024 I just finished handling an incident that was caused by a coworker somehow committing a file with unresolved merge conflicts. So yeah, maybe we could use a feature like that for that case as well.

matt,

@ids1024 (No, that wasn't in my Wayland a11y work, but an unrelated project.)

vwbusguy, to opensource
@vwbusguy@mastodon.online avatar

If you're wondering what #git forge to host your #opensource code project on, the right answer is probably going to be #forgejo. If the right answer was anything else, you probably wouldn't be wondering about it.

https://forgejo.org/

Don't want to host it yourself? Then #Codeberg is what you're looking for.

@forgejo @Codeberg

ThatBlairGuy, to random
@ThatBlairGuy@mstdn.social avatar

Hat tip to @b0rk . I wish I'd known about this #git cheat sheet a few years ago.

https://wizardzines.com/git-cheat-sheet.pdf

b0rk,
@b0rk@jvns.ca avatar

@ThatBlairGuy i just released it the other day so you’re right on time :)

leanpub, to ComputerScience
@leanpub@mastodon.social avatar

Git y GitHub desde cero by Brais Moure is free with a Leanpub Reader membership! Or you can buy it for $9.99! http://leanpub.com/git-github #ComputerProgramming #ComputerScience #Software #VersionControl #Git #SoftwareEngineering

leftpaddotpy, to random
@leftpaddotpy@hachyderm.io avatar

cursed feature of the day: git-archive can substitute things in tarballs, which can be used to include the commit hash or even tag (!) inside a file in a source tarball.

see export-subst in gitattributes(5)

Doomed_Daniel,
@Doomed_Daniel@mastodon.gamedev.place avatar

@leftpaddotpy
sounds pretty useful TBH

boilingsteam, to linux
@boilingsteam@mastodon.cloud avatar
tosbourn, to random
@tosbourn@masto.ai avatar

Quick git tip. If you want to remove any local branches that have since been merged you can run this.

git branch --merged | egrep -v "(^\*|dev|main)" | xargs git branch -d  

I have it as a TextExpander shortcut, but you could also add an alias

It looks for any branch that isn't dev or main (add any you always want to keep around) that has been merged in and deletes them.

This is helpful if you rely on tab-to-autocomplete a lot

levitte,
@levitte@mastodon.nu avatar

@tosbourn
Oh cool, I had no clue about that git branch option! Thank you!

tosbourn,
@tosbourn@masto.ai avatar

@levitte you're welcome!

maegul, to random
@maegul@hachyderm.io avatar

Talking to someone about git's UI, and they compared it to vim and GUI IDEs.

When replying with how vi was basically a GUI of its time over more CLI editing with ed/ex ...

it struck me that it is perhaps glaring that we don't have a "vgit": A more visual/TUI tool that supplanted and erased git from memory apart from the "git compatibility mode" still available in "vgit".

I may be off here, but is this emblematic of the cultish worship of unix tooling in the "linux" era?

#git #cli #unix

leanpub, to ComputerScience
@leanpub@mastodon.social avatar

Git y GitHub desde cero by Brais Moure is free with a Leanpub Reader membership! Or you can buy it for $9.99! http://leanpub.com/git-github #ComputerProgramming #ComputerScience #Software #VersionControl #Git #SoftwareEngineering

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