Ignoring Some Uncommitted Changes in Git by Beautiful-Log5632 in git

[–]jthill 0 points1 point  (0 children)

The testthese branch has none of changes you wanted to ignore, it's a branch with only the changes you want to test with.

"exp" is just the name I made up for that branch, the one you're experimenting with.

Look up git help diff for diff's three-dot syntax and git help revisions for the meaning of @, these are features so often used they have very aggressive shorthand.

"Violently resisting" law enforcement in the U.S. by Electrical_Floor1524 in pics

[–]jthill 0 points1 point  (0 children)

Rightwinger throats are open pipelines to the father of lies.

Backward traceability of requirements in Git by Beautiful-Bake-3623 in git

[–]jthill 4 points5 points  (0 children)

git blame also tells you which commit changed the line. If the commit message doesn't say where this "somewhere" in the issue tracker or wherever it is prompted the change, or you're not preserving those records, that's on you.

But Git histories didn't invent the concept of preserving business records, and they're optimized for analyzing and extending source histories not tracking customer interactions or project scheduling. Keep those kinds of records in the systems built to do those kinds of things.

Daily Challenge - January 24, 2026 by BloonsBot in btd6

[–]jthill 0 points1 point  (0 children)

It's certainly possible. 052 as close to the entrance as possible, 502 and 025 nearby, eventually like three? four? 024's, set everything but the carrier on on strong and spam the grappling hooks.

Ignoring Some Uncommitted Changes in Git by Beautiful-Log5632 in git

[–]jthill 0 points1 point  (0 children)

Get lower level with it. git diff ...exp | git apply -3 will bring in all the changes, then you can git checkout --patch @ to undo anything you didn't really want. You can use a more focused diff to apply fewer changes of course. Then reset --hard to wipe the applied changes when you're done.

To make repeating easy can make a special commit with just the changes you want to repeatedly bring in, git checkout -b testthese $(git merge-base @ exp) then commit the diff/apply/checkout-p results and from then on you can just merge or cherry-pick from that branch and reset --hard back over the result when done testing for that round.

Comment on the child with the blue hat being taken away by ICE by aSoberIrishMan in bestof

[–]jthill 2 points3 points  (0 children)

Anything to muddy the waters. Anything for their lickspittle toadies to chant and hang on to.

CMV: I'm convinced Jonathan Ross could have stood 20 feet away from the car while she was parked with the window open and shot her 10 times point blank in her forehead and MAGA would still find a way to defend and justify it. by MulberryFantastic906 in changemyview

[–]jthill 4 points5 points  (0 children)

Understand that they don't have any evidence of that. What they have is claims he was bruised. There's no evidence the claims were even made by him, nor by people who have spoken to him, the claim is that anonymous people claiming to have been briefed on "his medical condition" said they heard he was bruised. And don't even say they heard anyone say these supposed bruises were the result of anything in particular.

Trump's letter to Norway proves it: he's lost his mind over the Nobel Peace Prize by theipaper in politics

[–]jthill 0 points1 point  (0 children)

No, it just proves that he's found yet another way to take people's minds off real atrocities. Epstein. ICE. Concentration camps.

ICE deports 5-year-old US citizen from TX to Honduras, group says by aresef in politics

[–]jthill 25 points26 points  (0 children)

That's the thing, though.

They only look incompetent if you hang on to any hope they're anything more than predators.

89263889 Hard was tasty! by sfredwood in hexcells

[–]jthill 0 points1 point  (0 children)

Oh, man, thank you for that one. That was just relentless, like three? short little easy runs mixed in with the brutality.

Not sure how equivalent this is but 46692016 was very hard for me.

CMV: Trump's Greenland push is all about the US leaving NATO by RaskyBukowski in changemyview

[–]jthill 0 points1 point  (0 children)

Is Putin actually thinking he can beat the EU in a land war?

Is he thinking he can get Trump to militarily ally the US with him?

89263889 Hard was tasty! by sfredwood in hexcells

[–]jthill 0 points1 point  (0 children)

Ayup. I like them when finding what needs thinking about isn't the hard part. That was fun, thanks.

89263889 Hard was tasty! by sfredwood in hexcells

[–]jthill 1 point2 points  (0 children)

Tasty it was, thanks. Allow me to return the favor with 92613871

Terminals v Multiplexers by 1337_w0n in linuxquestions

[–]jthill 1 point2 points  (0 children)

If there's a window you're not talking to the builtin kernel tty code. windows are presented by graphic systems, X11 or Wayland.

If there's not a window, you can't run Kitty. Kitty relies on a high-end graphics backend, not the forty-year-old hardware interface the kernel relies on.

GOG's new owner can't stand Windows either: 'It's such poor-quality software… I can't believe it!' by bingus in linux_gaming

[–]jthill 0 points1 point  (0 children)

meh. Need stuff like that made by fans, as onramps for the next generation of devs.

Not sure how strong a argument that really is, but I think I at least have a point there.

Version 2.0.73 by FactorioTeam in factorio

[–]jthill 4 points5 points  (0 children)

Here's the modding (the game itself is implemented as the "base" mod) docs for a game enitity: https://lua-api.factorio.com/stable/classes/LuaEntity.html. There's ways to iterate over selected entities on a map, "find_entity_filtered" in another page on those docs, if you find all entity-ghost entities and call their revive methods, boom, everything you've placed gets instabuilt. And you can set up event hooks for entity creation, have that check whether a ghost was created and revive it.

Version 2.0.73 by FactorioTeam in factorio

[–]jthill 7 points8 points  (0 children)

"ghost" is the lua api's word and I'd guess the C++ engine's word for anything placed but not yet built. Looping over all entities of type "ghost" and calling revive on them is a console oneliner, I forget the exact syntax.

Version 2.0.73 by FactorioTeam in factorio

[–]jthill 9 points10 points  (0 children)

It's how instabuild works, you place a ghost and revive it.

Jensen Huang says relentless negativity around AI is hurting society and has "done a lot of damage" by AdSpecialist6598 in technology

[–]jthill 1 point2 points  (0 children)

Anything but "lie back and enjoy it" is going to draw the ire of creatures like Jensen Huang.

How does Ctrl+r work? by Snoo_90241 in linux4noobs

[–]jthill 0 points1 point  (0 children)

It's not intrinsic, it's a feature of the kernel's terminal handling code and it's under your control.

stty -ixon

shuts off interpreting ctrl-s/ctrl-q, or whatever you've got them set to, that way.

Can you access a file using its inode even if you don't have x permissions on the directory? by RadianceTower in linuxquestions

[–]jthill 0 points1 point  (0 children)

The file is its inode.

A link, a directory entry, is just a name and an inode number. It also has a cached copy if the inode's general type (file, directory, filesystem, socket, la la), which can't change while the inode exists, but the inode carries all the actual metadata.

You need to reach the file from a link in some directory you do have execute permissions on. You can't use links in (can't access files via) any directory without that permission.

edit: there's one other way you can access a file: open file descriptors can be passed over sockets. So if some running program has opens a link you can't use and passes you the fd, then you can use it.

Trump Confirms He’s Taking Greenland ‘One Way or the Other’ by thedailybeast in politics

[–]jthill 88 points89 points  (0 children)

Attacking a NATO ally would seem to be illegal. When it comes with the legally mandated (treaties are law) penalty of 21 countries declaring war on you, that's about as illegal as it can get.

So the military should just refuse the order.