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

“Except the Terminal”…

Of course in the Mac you have the same shortcut in every app because you use cmd+c/v

It really bugged me that by default you use ctrl+shift+c/v on Linux but only in the terminal.

Found a lovely feature in kitty term that does the right thing for ctrl+c depending on if you have text selection or not. Works great for me.


Actually, on macOS you have the same shortcuts as gnu readline in any text editing field.

You have these same shortcuts in bash, zsh, the python repl, html form fields, etc. And anything that doesn't use gnu readline can be wrapped in rlwrap.

Note that copying and pasting is an exception. Otherwise, navigating words with shortcuts seems to fairly universally use these shortcuts.


They're really emacs keybindings that readline adopted if I may be allowed a small amount of pedantry.


Appreciate the clarity here; I always wondered which "came first"


My experience on MacOS is that every program has different shortcuts regarding text editing. Home/End/PgUp/PgDn on my external keyboard just not working, and if added to system settings, they still don't work in some apps, Ctrl+Left sometimes working sometimes not, etc.

And what Ctrl/CMD/Shift keys do together looks very random, no logic in it. Like, Ctrl+Left in Zsh scrolls the entire log to top, rather than move the cursor to the start of the line.

I use zsh, slack, Chromium, SublimeText and Zed on Mac.


Yep, which is really handy. I was specifically talking about copy and paste shortcuts being the same even in the terminal though.


Unless you are not using X, selected text us also automatically available for copy using the middle mouse button


I'm assuming since the Steam Deck push it's all changed. Either way, I don't tend to play AAA, but I've been able to play all the games I've wanted to without issue in Steam.


I seem to remember one of the points was the way GNOMEs plugin system was implemented plugins have no isolation so one bad plugin can cause all sorts of problems.

They were also limited in things they wanted to do with the default window tiling ui.

Sorry bit vague it was ages ago I listened to the talk - probably this one: https://youtu.be/ioswlaxdhSA?si=DlVQ-jDu5G3A3Iru


Been a while since I used a MacBook but can't you do Shift+Opt (or just Opt?) Brightness+/- for an incremental change still? Works with volume too.


I love apple devices, but man, these undocumented things make me question whose team their UI people are on. It doesn't feel like they're on my team.


The lack of discoverability isn't just limited to Apple. It's endemic. And I've heard multiple UX people claim that it's not a bad thing.

I disagree with that opinion, though. I think it's one of the worst aspects of modern UI design.


I used to feel this way, but since learning that much of the advanced functionality is unlocked by Opt/Shift/Ctrl or some combo of them + click, I find myself digging that consistency more and more. At this point if I don’t see the option I need, I know 9/10 it’ll show up when I opt+click.


90% of MacOS shortcuts I know are because I accidentally pressed them once


Even the dimmest fractional setting isn't dim enough for a pitch-black room imo


I never knew this. Thank you for the tip.


RE 1. Just to be precise (as I thought this until recently):

* liveness check will cause pod restarts.

* Readiness check causes the pod to be removed from the round-robin of new traffic requests so it has time to recover/finish processing what it's working on.


You are correct, readiness removes it from any service objects it would be an endpoint to.

My point was more 'the pod doesn't go away'. I've seen some people do stuff with the HPA that could cause it to scale down to minimum replicas if its in a broken state, depending on what stats you are using to scale, but that's more of a 'kubernetes doing what you told it to do' problem.


I see a lot of people go for Monday or Friday when going down to 4 days a week. There's definitely some advantages to that, however as an alternative suggestion I prefer Wednesdays off.

I find even in the best jobs, there's a general level of stress that builds up at work over consecutive days. There's a great feeling being a bit stressed on Tuesday and thinking "ah it's ok I've got tomorrow off". It's like that "Friday Feeling" twice a week.


I opted for monday off when i worked 4 days a week, i tried wednesdays a few times but didn't like it as much

I preferred the large block of time off, I found that I enjoyed Friday-Sunday more knowing I had a bonus day on Monday to relax - I could really pack in stuff over the weekend without worrying about being exhausted back at work. And I found the Wednesday off just felt... wasted. Nobody else was free, nobody really wants to do things on Wednesday, and I wasn't tired enough to want a day of doing nothing.


I thought the same, but tried it for a month and it didn't work for me. Just as you get two Fridays a week (Tuesday and Friday) it also felt like I had two Mondays (Monday and Thursday). I just ended up hating Thursdays as much or more than Mondays, maybe because I was the only one doing it.

Also, sometimes I need a few days momentum to get something over the line and two days is often not enough. Anyway, just my 2p, more to the point I would totally jump at the chance to have a 4 day week permanently.


Shops in the UK used to have a half day on Wednesdays.


Traditionally so did many schools (sports fixtures were then usually on a Weds afternoon). A few still do this.


I know some GP practices that still do this (quite astounding given the current issues in the NHS).


I actually think it's quite astounding that they haven't been forced to give this up, and I hope they never have to.

Specifically, when I go to my GP, the staff are always busy, don't appear to get much of a break at all. I doubt a half day on a Wednesday makes up for extra hours put into their job just to get through the week.


I mean to me it makes sense that they would be less busy if they worked a full week like everyone else. When we have a shortage of GP's and it's impacting people across the country (and having a knock on effect on hospital A&E usage) disallowing 4.5 day weeks would probably help. There are obviously much bigger issues at play (e.g. recruiting GP's) but that doesn't mean we should ignore things that could impact immediately in a smaller way.


The odd thing is that you have about as many GPs per capita as Norway yet GPs in Norway don't seem to be anything like as busy and they are also much easier to get appointments with. I do realize this is anecdotal evidence though.


I think it would likely increase the exodus of GPs and exacerbate the problem rather than ease it.


When I did a three day week I worked M, Tue and W and took Thursdays and Fridays off. This gave me a long contiguous block, and meant that I was contactable on Mondays, when various start-the-week activities were scheduled.

The downside of the two day (Th and F) block when I wasn't around was that it was hard to contribute to projects that needed high levels of ad-hoc customer interaction. This actually meant I had to walk away from a couple of projects that were technically appealing, but I was at the point in my career (hence three-day week) where life-work balance was a higher priority, so this wasn't a hard decision.

Part of my decision on the timing was also influenced by discussion with women in the company who came back to a three day week after maternity leave. They pointed out the pros and cons of the various options and made it easier for me to pick the right option from the outset.


A short exploration of that concept: https://www.youtube.com/watch?v=ALaTm6VzTBw


FYI some games my son has enjoyed that had reasonable difficulty and/or co-op so we can play together:

* Super Mario Odyssey

* Sackboy: A Big Adventure

* Captain Toad: Treasure Tracker

* Paw Patrol Games (gameplay maybe a bit too simple though)

* Overcooked 1 & 2

* Untitled Goose Game

* Ultimate Chicken Horse

* Astro's Playroom


Captain Toad is on my radar. Overcooked is nice for like... the first hour, then my brain goes mushy because it's too repetitive and my daughter goes into panic mode because it gets too fast, lol.

Super Mario Odyssey was good early on, but now she gets bored because it's too easy to play as the hat. If she plays as mario, it's too boring for myself, but playing by herself is still too challenging.

The other ones, I will try! Paw Patrol is indeed too easy, she played harder games with me (we played together Sundered, which is metroidvania coop, quite hard for myself too) and I was keeping an eye on it and determined she would learn anything new from it.

It's particularly challenging to find for kids "hard but not frustrating" because their frustration meter is quite lower than that of an adult.


Yeah I know what you mean there’s surprisingly few games that hit the sweet spot. The latest sackboy is probably the best one I’ve played in that you both get to play a full character (ie no boring cappy), it drops extra lives like a sieve if someone isn’t doing very well, so the adult can usually get you both through a tough level and there’s plentiful checkpoints. It does get hard towards the end game but there’s a lot of content before then.

I originally thought super mario would be good but the older ones are surprisingly hard for younger players. Although that reminds me Super Mario 3D World / Bowsers Fury is pretty good for co-op too if you’ve not tried it yet.

I’ll also mention its worth playing any game with a builder, my son loves building his own tracks in track mania turbo for instance.


Thank you, this is really good input. I evaluated the builder but haven't found anything that would hook my daughter, she gets caught in the "full freedom" thing and regresses to "I'll just go around" mode.

SUper Mario 3D world looked good, but I was afraid after the Odyssey experience, I'll put that on my wishlist.

I'll check sackboy, never heard that game!

EDIT: I see, it's playstation only, I'm cut out of that. PC or Switch in this home, and it was a big sacrifice bringing a Switch in (I'm against consoles in their current form and try to vote with my wallet against them. Steam Deck is a good compromise)


Super Mario 3D World is more like Sackboy so you’ll probably enjoy that, 3D world is more typical Mario levels, then Browsers Fury is more free form/open world platforming - both have you in control of full characters though.

RE Sackboy - keep an eye out Sony seem to have relented and are releasing their games on PC now so it’ll probably appear at some point.


I am indeed keeping an eye out (I have a wishlist that spans any platform). Especially Sackboy and Returnal seems like good candidate.

Returnal for myself, obviously ;)


I understand the frustration, especially if your first impression of Apple is a MacBook Pro is in the 2016-2019 era - you've probably seen the worst MacBooks available and not the best of Apple.

There were some good things, the displays were excellent, the touchpad is still the best in class, and the size/weight were excellent.

But usb-c only was step too far, the Touch Bar wasn't the right move for a Pro audience (i), there wasn't enough room for cooling the intel chips and the keyboard situation was farcical - it's the primary interface to a Mac (can you imagine the outcry if iPhones had touch displays randomly not working, doing extra touches etc?!).

I think Apple gets a lot of leeway because the 2008-2015 MacBook Pros were probably the best laptops you could buy.

Having owned a 2009 MacBook Pro which in my opinion was the best laptop I'd ever owned and never made me question the amount of money I spent on it. The 2016 MacBook Pro was the exact opposite (mainly due to the keyboard being so bad).

I'm glad Apple have come to their senses and course corrected. I do wonder though for people that have only seen the 2016-2019 era if they will bother to try Apple again...

(i) I understand it probably would've made it too expensive to produce but I think the Touch Bar would've gone down well on a MacBook Air where I would imagine there's a lot more hunt-and-peck typists that'd appreciate and notice what's being displayed on the Touch Bar. As a touch typist I never looked down to see the Touch Bar so it was a mostly wasted on me.


> I'm glad Apple have come to their senses and course corrected. I do wonder though for people that have only seen the 2016-2019 era if they will bother to try Apple again...

I'm one of those angry bastards, and I even own an M1 Macbook Air. The hardware is impressive, no doubt, but MacOS frustrates me so much these days that I cannot daily-drive it for my workflow. Plus, once you make the switch to Linux it's really hard to see Apple products as an upgrade anymore. You're giving away your freedom, and condemning yourself to paying $8 to manage your windows properly or $10 just to hide some statusbar icons. And when all is said-and-done, I can't move that statusbar to the left side of my screen... God it frustrates me endlessly. When I saw how Big Sur redesigned everything, I just gave up on the OS altogether. The thousand papercuts I feel on MacOS are reduced to a couple hundred on Linux, the majority of which I can automate away without worrying about some bigger company pulling the rug out from under me.

I really wanted Apple Silicon to be a barnburner for me, and I was hoping beyond hope that they would take the extra space savings to add an M.2 drive or an easier to repair chassis. At this point though, I think I'm contented to just stop caring. Apple courageously headed in a direction I'm not ready to follow in, so I cut them loose in exchange for all my sweet creature comforts. And how comforting it is.


I sympathize with many of your takes, but have you looked into Framework[1] laptops?

They're currently only Intel based, but there's a marketplace where you can buy or sell just the mainboards once the AMD, RISC V, or ARM64 models become available.

[1] https://frame.work/


Framework looks great! I actually have no real need to upgrade my hardware right now though, as all my devices still run fine. I'd be very interested in picking up a RISC-V model once it hits manufacturing though, they seem very promising.


Was just playing around locally and found one of the undescribed Irb improvements is a drop-down with autocompletion suggestions nice!


I haven't had a chance to try yet, but I'm hoping some of the irb regressions that began around 2.7 are fixed. Try pasting an array or hash with 1000 or so elements. In 2.6.x it's instantaneous, in 2.7.x it can take minutes--


Yeah, should be invocation, there's a nice example on the feature request (https://bugs.ruby-lang.org/issues/14579):

  def login(username: ENV["USER"], password:)
    p(username:, password:)
  end

  login(password: "xxx") #=> {:username=>"shugo", :password=>"xxx"}


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

Search: