Hacker Newsnew | past | comments | ask | show | jobs | submit | arccy's commentslogin

as an operator you don't even get the real validator / node binary directly, nor can you control which version to run.

all you can do is run their visor, and they push out whatever proprietary blob they produce and restart "your" nodes at their command.


note that bookmarks don't float, unlike git branches, so if your pattern is to produce a lot of commits, you'll want something to keep your jj bookmarks pointing to the top of your pile of commits.

this is less of a problem if you're more into the 1 change == 1 commit workflow.


There's a very common alias `jj tug` for this case:

  tug = ["bookmark", "move", "--from", "heads(::@- & bookmarks())", "--to", "@-"]
It moves the nearest bookmark to the commit before the current one (which should be your working commit).

This looks like any other git arcane incantation. If this is a common pattern and jj aims to make things easier, should probably be part of the core commands, no?

It's something that makes a specific workflow easier, a lot of folks that use jj don't necessarily use that workflow.

That doesn't mean it couldn't be a core command someday, but given that the alias works well for people, there's not a ton of reason to make a whole new command. You configure the alias and you're off to the races.


Thanks, I replaced my Frankenstein's monster of a parsing pipeline with this, very useful!

There's an experimental-advance-branches feature which helps with that!

There's also https://github.com/google/codesearch for local only search

But it has a web frontend also. So not only local.

I use https://codesearch.debian.net/ a lot, and it's based on that according to https://codesearch.debian.net/about

isn't break more normal

The point is that the use of exceptions is built into the language, so, for example, if you write "for something in somegeneratorfunction():" then somegeneratorfunction will signal to the for loop that it is finished by raising this exception.

I’d say it’s more common for iterator-based loops to run to completion than to hit a `break` statement. The `StopIteration` exception is how the iterator signals that completion.

like why did the program even choose to open this file? a stack trace is useless if your code is even a little bit generic

kate's

Seriously? What if you have a Kate in your team?

Then she ends up taking the blame for causing lots of headaches from people that can’t parse context

It's sometimes Kate, Jason, or Yamal.

But it's always Dennis.


The automated system rejects their CV when applying obviously

Why is that even a good goal in the first place? Must children grow up in a sterile environment coddled by a nanny state?

I don't know if you are a parent, but this is a ridiculous question. The unrestricted Internet is a cesspool. For the same reason you wouldn't allow a child to go play in an open sewer, you cannot allow them access to the unrestricted Internet.

How old are you? Most millennials grew up with unfettered access to the internet, including porn, because our non-digital-native parents were easily outsmarted. We were fine. This seems like the same helicopter parenting fallacy that has already destroyed kids' in-person lives.

My kids are millenials. They are fine too, but that is only because my wife and I worked really hard to regulate their access. We caught our 7 year old son searching for some offensive stuff on the internet and when asked, his answer was "my friends are looking for it".

In his teen years, we started hearing some stuff you'd typically associate with the toxic manosphere. A number of discussions later it turned out he was picking this off the internet.

Parents who talk about the difficulty of dealing with all this are labelled as hysterical, emotional, helicopter parents...the list goes on. My only response to that is what I tell most people - don't judge parents too harshly until you've had the opportunity to be one.


> For the same reason you wouldn't allow a child to go play in an open sewer, you cannot allow them access to the unrestricted Internet.

fair enough, but legislate this? why cant you just stop your own kid going on the internet? Id argue youre overblowing it but you cant ever remove the emotional/hysterical aspect when dealing with a parent


> why cant you just stop your own kid going on the internet?

May I ask if you are a parent? Because every parent knows that kids will try to cross any boundary set (which is how they learn, not a problem). If there is additional friction at each step before they access something which is harmful for them, chances are they would have matured well enough to prepare them before they are exposed to harmful content.


you probably wouldn't use it for work anyway, codeberg is for OSS only

this Corporate Americanism is of only positivity and fake smiles is exactly how we end up with enshittified products, because no one is ever called out for it. If the feedback is too soft, it just gets swept under the rug.

we need less self censorship, not more.


No, the edits are better. The original message made unwarranted assumptions, and used intentionally inaccurate language. That's objectively bad communication.

It's not a binary choice between insults (escalates conflict, destabilizes rational decision making) vs hiding your opinions. That's what the word tact is for. It's simply, quite literally, a skill issue if someone can't find a middle ground between those two failure modes.


Fully agreed. I can't upvote yet (nto enough Karma) but corpospeak is IMO never the solution unless your in court or something.

there's certainly a higher rejection rate for github PRs

That seems unsurprising given that it’s the easiest way for most people to do it. Almost any kind of obstacle will filter out the bottom X% of low effort sludge.

correlation, not causation.

Lowest common denominator way will always get worst quality


sure it's correlation, but the signal-to-noise ratio is low enough that if you send it in via github PR, there's a solid chance of it being ignored for months / years before someone decides to take a look.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: