News for hackers. Stuff that matters.

ldrndll

Re:I See a Future in Jj on Friday October 24, 2025 @01:18PM (#45696836)
If I'm understanding you correctly, you can have both. If there are specific rebase types that you perform regularly, you can create aliases for them and give them whatever name is meaningful to you.

For example, I frequently use `jj up` to rebase the current branch on main. Likewise, `jj pop` rebases just the current commit (popping it from its current place). I even have a `jj ppop` - better name suggestions are welcome - which does this but for the parent commit.

I suspect that the once-off effort to write your own commands would take no longer than it would take to read the documentation if the commands already existed, but with the hopeful extra benefit of giving you a better understanding of how to use rebase for those once in six months weird requirements when they may arise.

But to be clear, I'm not suggesting you must or even should put in this effort if you have something that works for you. My reply is mostly so that anyone who comes across this discussion and sees Steve's mention of -A, -B, etc isn't scared off by them. Whilst they're always there for you, you can use the power it gives you but in the form of single function commands that don't require you to think.

---

For anyone wondering, the aliases I mentioned. These can be dropped in your jj config with `jj config edit --user`.

  [aliases]
  up = ["rebase", "--skip-emptied", "-d", "trunk()"]`
  pop = ["rebase", "-r", "@", "-d", "trunk()"]
  ppop = ["rebase", "-r", "@-", "-d", "trunk()"]
Re:Mercedes Gets Approval for Turquoise Automated Driving Lights on Saturday December 23, 2023 @09:16AM (#38744360)
Or perhaps people will understand that this is a car with an abundance of sensors, and all sorts of data about what it "sees" (including actual camera footage) will be stored and used in this sort of litigation. At which point you're taking on a multi-billion company with a hugely vested interest in winning any legal challenges.

I'd say it's a far more like buying a lottery ticket. Good luck!

In my experience few merchants limit Apple Pay to the contactless limit (Tesco being a notable exception) but many of the times I’ve used Apple Pay for larger purchases the person helping me has been surprised that it worked.
It’s worth mentioning here that as long as long as you have a few seconds notice you can force your Face ID enabled iPhone to require a passcode the next time it’s unlocked.

Just press and hold the power button and either volume button for a few seconds. See https://daringfireball.net/2022/06/require_a_passcode_to_unl... for a lengthier exposition

Re:Analysis of Apple Watch running data on Sunday September 25, 2022 @02:58PM (#32974755)
This is no longer true for Series 8 and Ultra watches. What I’ve not found out is whether this true of any Apple Watch running watchOS 9 or just the latest models.
Re:Charging cars at home at night is not the way to go: study on Saturday September 24, 2022 @02:05AM (#32960061)
This is different to optimized battery charging. As of iOS 16 (in an as yet unreleased point version) Apple plans to add support for clean energy charging, which will charge your iPhone when the grid has a cleaner mix of energy. I think this is US only to begin with.
Re:AMD passes Intel in market cap on Friday July 29, 2022 @06:49PM (#32282590)
Do you mind elaborating on what seeds you’re referring to. Or just some pointers on what to search for or something. I’m ignorant to the history here but would like to learn more.
Would it not make sense to upgrade to the newest node they can afford to a longer lifespan more life out of their next node? It feels like picking the next-oldest node leaves them having to solve this issue again in the near future...
Re:Apple removes Python 2.7 in macOS 12.3 beta on Friday January 28, 2022 @02:54PM (#30119522)
Thanks, I didn’t know about pipx. If it works as advertised that will be a huge improvement for me!
Re:DynamoDB 10 years later on Thursday January 20, 2022 @12:30PM (#30011908)
Just want to second this. All of the above sounds really interesting to me!
Re:Left Alive And Unchanged: The Heaven’s Gate Website on Sunday January 16, 2022 @08:54AM (#29955989)
Best be sleeping with one eye open then
When you say a "Mac" display, what are you referring to? Apple sells exactly one display - the XDR - and its pricing is such that no one casually buys because their $300 external display isn't working correctly. I very much doubt that is their motivation; it's likely just a (possibly misguided) effort to keep the UI simpler.
Re:Why are German numbers backwards? on Sunday November 28, 2021 @03:52PM (#29372895)
If it’s any consolation, I find English pronunciation very difficult, and I’m a native speaker. It surprises me that in my thirties I still regularly encounter situations where I want to use a word and realise I’ve never heard it spoken before, so have no idea if the pronunciation I use in my head when reading it is correct.

I also often hear others mispronounce words; friends, colleagues, even on TV.

I guess my point is that if you’re mispronouncing English words you’re speaking it like a native!

For what it's worth, I installed it with my zsh plugin manager without any issues. A simple case of adding it to the list:

  zinit light-mode for \
    zinit-zsh/z-a-as-monitor \
    zinit-zsh/z-a-patch-dl \
    reegnz/jq-zsh-plugin \
    larkery/zsh-histdb
Re:The Silicon Carbide Race Begins on Wednesday September 22, 2021 @04:42AM (#28614227)
For people (like me) who don't appreciate the advantages of 800v vs 400v, here's an article about why this is useful:

https://eandt.theiet.org/content/articles/2021/02/800v-syste...

> Such systems enable greatly reduced charging times, as long as they are using fast chargers capable of working at up to 270kW.

> It also allows for weight reduction, as less copper is needed in the electric system. Electric motors are much simpler than combustion engines in construction and at their core they have a rotor, which is driven by a changing magnetic field. To induce this field, electrical systems often use up to four times the amount of copper found in combustion engines; higher voltages reduces the need for large amounts of copper. This permits smaller motors, freeing space in the vehicle for batteries.

Agree completely, but I can tell you for many of them pirating a text book is beyond their means. To do so you need not only internet access, but the sophistication to find pirated text books, and THEN the means to print possibly hundreds of pages. There is a big difference between poverty in the West and in a place like South Africa. Just printing the text book would be prohibitively expensive.

Source: am South African.

Re:Ask HN: Favorite purchases of last two years? on Thursday May 20, 2021 @12:12PM (#27223034)
Just wanted to say well done on losing all that weight!
Re:US owners find greed doesn't play well in European soccer on Wednesday April 21, 2021 @01:23PM (#26892632)
As someone who grew up watching rugby and only got into football as an adult, I couldn't believe the amount of disrespect players show to officials. I think I spent the first two years constantly saying "in rugby this guy would have been sent off by now" on repeat...
Re:Apple can own I/O to own the universe on Tuesday April 06, 2021 @06:19AM (#26710148)
I absolutely loathe micro USB. I am constantly having to throw away cables that are a few months old because they no longer reliably charge my devices (PS4 controllers, Fire tablets, Bose headphones), and that's with me buying the most reliable cables I can find (Anker). Micro USB really is terrible...
Re:Why Wasn't Ruby 3 Faster? on Thursday February 11, 2021 @08:35AM (#26101298)
Can you say why you think this is the case? Matz has very much made performance a focus: they've continued to improve the Ruby VM and added JIT, for example. Likewise, many of the non-performance related improvements in recent Ruby version have immediately been useful to me as a Rubyist. I'm not sure what meaningless features you refer to, but I'd be interested in seeing them enumerated.
I'm South African, and married to a Brit. We moved to the UK some years ago, and I was really excited about not being angry about politics all the time...

...

Oh well

Re:WhatsApp loses millions of users after terms update on Monday January 25, 2021 @07:52AM (#25902557)
Yeah, I experienced this myself when - some years ago - I attempted to transition to Signal. In all the groups I was in, there was at least one person from group 3, who outright refused to move. It scuppered my efforts...
How do you deal with companies like Netflix, that became a publisher mostly organically? Require that they license their content to third parties?
Re:Donate to Signal on Thursday January 07, 2021 @12:35PM (#25674239)
Sure, but in this case it was a case of me not knowing one could check their Smile balance. GP posted their balance, prompting me to check mine, and the total was the same. That feels more akin to me going into a room and the first person I talk to having the same birthday as me than just finding 2 people in a room who happen to have the same birthday.
Re:Donate to Signal on Thursday January 07, 2021 @12:20PM (#25673952)
How strange. I just checked my Smile account and I've generated £6.01 for my charity (my childrens' school). What are the odds...
I’d love to know why this is being downvoted. As other people have observed, there exist right now multiple, highly effective vaccines. To advocate for letting it run through the population, knowing it will likely kill at least 1% of the population, cause long term health care problems for countless more, and likely devastate the economy... the best option here is that you are ignorant of these facts.
I think it’s appropriate to ask for stats for suggestions that run counter to accepted wisdom. That doesn’t put the onus on me to provide evidence of generally accepted facts. Suggesting that we should let the virus run wild through the population is contrary to guidance from the WHO, any number of national health organisations, etc. So no, I don’t feel the need to cite statistics for my position, as it’s not the novel one.

It is an axiom of healthcare that outcomes suffer in an overburdened healthcare system, and readily apparent why that is the case. That said, for those too lazy to look, here’s literally the top result for me when googling terms related to this: https://www.kabc.com/news/covid-19-mortality-rates-rise-as-h...

That isn’t the full statement though, you omitted the part about it being just like the flu. I think if you believe that it should be allowed to run its course understanding what it entails then you’re either woefully ignorant or something of a sociopath (but that’s addressed in other comments below). However, believing it should run its course because it’s no worse than the rule is not just an opinion, it clearly ignores all evidence to the contrary and is roughly equivalent to the others in terms of bring completely detached from fact or empirical evidence.
Care to cite any stats supporting your assertion that a maximum of 2% of the population would die? During periods where the healthcare system has been overloaded the mortality rates have been many multiples of that during times when healthcare is provided at an appropriate level.

What’s more, do you have any reasonable figures to suggest why letting a percentage or more of the population die unnecessarily, consigning even larger numbers to long-term health problems and so forth is somehow a good choice?

Let’s not let facts get in the way of some good old-fashioned racism shall we?

Older »