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

Lithium ion batteries existed in the 90s and were being explored for BEV use by Nissan in 1996. They were already fairly ubiquitous in consumer electronics, at least high end ones, at the time the EV-1 was killed.

GM just tapped out too early because despite the cars being incredibly popular, they didn't want the short-term hit to the books that a niche product full of brand new technology represents.


Because this website has been around for a long time and pictures didn't used to be so big

The 15 Pro was an especially poor model as the cooling wasn't up to snuff. She be a throttlin'.

My 14 Pro Max has been a champ (though I never upgraded to Liquid Ass, iOS 18 for life on this thing). I have almost zero real reason to upgrade, esp since it'll only cost me $100 or so to have the battery replaced in a few months (I'm at 84% and treating it poorly to get it to a point I can justify the expense).


If you're writing a zsh script and not worried about portability, you can also use the prompt expansion colors with "print".

    print_color () {
      print -P "%F{$1}$2%f"
    }
And then to use it

   print_color "green" "This is printed in green"

Here's something also useful that's portable

  declare GRN='\e[1;32m'
  declare RED='\e[1;31m'
  declare YLW='\e[1;33m'
  declare CYN='\e[1;36m'

  write_log() {
      echo -e "[$( date +'%c' )] : ${1}\e[0m" | tee -a ${logfile}
  }

  write_log "${RED}I'm an ERROR"

Nice. I put this in my .zshrc.

On macOS the feature is baked into the OS's APIs, the app developer just opts into using them. If they don't, quitting with unsaved work will prompt the user modally, and block the restart to the point where the OS will timeout the reboot process and give up. The only way to purposefully lose unsaved work in almsot every app I've ever used on macOS is to yank the power cable or hold the power button down.

Window locations and app state are written to plist files, again, using OS libraries and APIs for app resume. I can reboot my Mac and not even realize it happened sometimes it all comes back the way it was.


The blocking happens on Windows as well, except that the timeout logic is the reverse: it force-quits the applications then, because presumably the potential security update is more important.

That works until you get into a terminal and want to copy/paste/send signals without having to remember special keybinds that only apply when you're in the terminal.

X should have never copied the IBM/MS binds. What a tragic mistake


> That works until you get into a terminal and want to copy/paste/send signals without having to remember special keybinds that only apply when you're in the terminal.

I don't really understand what you mean by this. When a GUI app wants Ctrl, I hit Cmd. In a terminal emulator, I hit Ctrl for control sequences and Cmd for system shortcuts like copy and paste. This reflects how things work on a Mac. There's nothing special to remember.

> X should have never copied the IBM/MS binds. What a tragic mistake

Agreed!


And depression as well, you gotta just buck up and smile and try real hard to not jump off of a bridge.

Right, all mental health problems are a choice (or a call for attention).

Why is it better for it to be managed with diet vs this? Presumably if managing it via diet alone worked universally they wouldn't be doing research into drugs like this.

It's not just you, I didn't even open the link and know exactly which two examples you're talking about because I left this same comment on HN a while ago.

So much of modern design is fashion yet the designers pretend it isn't. Like it's some scientifically provable truth or axiom that faint lines between list items is "bad".


I would absolutely not agree it has a "simple GUI". It's "minimullizm" web slop trash that only appears simple because it hides all of its complexity behind a big dumb menu that lists everything alphabetically with a search box. It's one of the most dogshit user interfaces I've ever used.

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

Search: