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

I use easy-move-resize [1] to resize windows from anywhere inside the area of the window, using a modifier key. In my case I like using cmd + middle mouse button + drag.

This is standard in Gnome and a must for me back when I switch to MacOS for work.

[1] https://github.com/dmarcotte/easy-move-resize


I use https://rectangleapp.com which has been a lifesaver. I only use the following three shortcuts and disable the rest:

cmd+option+f = maximize to fill entire screen

cmd+option+ctrl+left/right = move window to other monitor on left/right

I occasionally use cmd+option+left/right if I need to have two windows side-by-side on the same monitor.

MacOS window sizes have always felt weird to me - no easy way to maximize without making it go into full screen mode.

As I was writing this, I just realized that hovering on the green traffic light shows a menu to choose some window placement options.... not sure how I never realized this before, but even the "maximize" option there doesn't go all the way to the edges - weird.


The doco mentions "left" and "right" mouse. I have the ctrl-click already mapped to right mouse on my trackpad. Before I take the plunge, how well does this work with a trackpad on a MB Air?

Just tried this. Pretty cool. Kinda strange how the mouse cursor doesn't move with the window, but still might be worth using.

I came here to say something similar. Ever since I found out about alt + left click drag anywhere in window to move, and alt + right click drag practically anywhere on any side to resize, anything else feels user-hostile.

I rarely use windows anymore, but just like you installed a tool to get this behavior.

This UI feature saves approx 3 seconds on average for resizing windows. Plus, more importantly it more predictably works, and is an easier target to hit than a 2-10 wide pixel line or square region.


This is hilarious!

Which also changes the background color to yellow for some reason. And then the "night mode" is.. what is that, a lantern? Jeez.

You can, it's just a bit of a tight fit.


Indeed. Not very.. radiant.


They is the way


I've literally had someone get upset that I used "they", you can't win with some people.


You can probably win with that person though. Just not by using "they".


Perhaps because they is plural. Plural is reserved for the royal family in some cultures.


'They' is also used when gender is unknown and has been for a long, long time.

Person_1: I found this great blogger whose writing I think you'd love.

Person_2: Oh, really?! What do they write about?


Only in English.


It's an English fucking word.


Hey, just so you know, newer lockfiles are meant to fully replace old ones, you shouldn't bother with solving merge conflicts on these files, just accept all the new changes always.

What you SHOULD solve are conflicts in the packages/project file. Once solved, just create a new lockfile and replace the old one.

This applies to lockfiles on any project python or non-python.


Thank you for the tip. I don't run into them these days. The projects have matured and my area of work has shrinked, so changes to the dependencies are rare and my involvement in them is even rarer. But I will keep this mind for future.


Doesn't work for me on MacOS:

I get "mapfile: command not found"


After installing bash via MacPorts, it works for me. All except #3 cutesaver, which gives an infinite loop of:

  cutesaver.sh: line 55: shuf: command not found


shuf has been a part of coreutils since 2006.


I encountered this in another project. This should hopefully fix it:

zmodload zsh/mapfile


IIRC macOS is at least one major version behind in bash.


something something licensing something something

new installs default to bash not being the default terminal. someone else mentioned macports, but there's a new version available via brew as well


So far I have resisted the change. All the people I know who think zsh is great have a fairly large number of addons to get it that way.


This first time I used a mac where zsh was the default, I was confused for quite a bit of time when it would not run something I was used to doing. I kept looking up errors on the internet until I came across someone's post with a reply asking if they were using Terminal on a new OS X. Sure enough, this was a new mac as well. Now I know one of the first steps for me with a new Mac is change default shell. I'm way too old and set in my ways to care to learn a new shell. Choosing a shell, IDE, font, etc are games for youth.


I learned to consistently use shebangs at the top of scripts while working with the first zsh user I knew. Or might have been fish. No i think he started in zsh and moved to fish. Every time I forgot, his environment was busted. And he sat a cubicle and a half away from me, so I got fast feedback.


Just last week I found myself trying to explain shebang to someone that knows nothing of coding, command line interfaces, or what shells are. At one point, I was wondering where it was I should have stopped talking, but it was definitely well before I finished.


Same here


Bash Screensavers v0.0.27 (Mystic Shine)

./screensaver.sh: line 79: mapfile: command not found 1 .

(Press ^C to exit)

Choose your screensaver: 1 404 Screensaver Not Found:

Oh no! Screensaver had trouble! Error code: 1


Get a Bash that's not ancient. mapfile is there since version 4.0 from 2009.


Seems to be a old version of bash installed and used by default on macos


Even after updating still getting the same error

checked active bash version:

echo $BASH_VERSION

5.3.3(1)-release


What's relevant is whether "/usr/bin/env bash" runs the correct one.


I used "brew install bash && brew info bash" to get the path, then ran that shell (zsh doesn't work), then inside that new bash, ran the screensaver app.

I found the 4k fullscreen perf in iTerm2 to be not-great, so I did it again in the kitty (GPU powered) terminal macos app, and it was good.


I used to play around with my dad's already old by then Palm (can't remember the model) in the early 2000's.

This game reminded me of Space War

https://palmdb.net/app/space-war


Space War was great! Briefly in high school a few of my friends and I all had Palm OS devices.

I taught myself to crack palm apps and games, and with Space War I modified the strength of my ship. The IR multiplayer had no validation of parameters so I pranked my friends in an IR multiplayer match by one-shotting them all and zooming across the whole map in one turn! Great times.


I think I mentioned it in an earlier blog post, Space War was actually the big inspiration to make this game hex-tile based. Happy to see I'm not the only one that remembers that game! (found it: https://quarters.captaintouch.com/blog/posts/2025-05-06-2025...)


I wonder where the term started?

Android itself calls it "install" when you open an APK file, there's not mention of "sideload" in Android at all as far as I can tell.


There is, actually, but in a different context. The `adb sideload` command allows you to boot a device from an image without flashing it.


This command is also used to install 3rd-party ROMs.

There is an option in the TWRP recovery tool to sideload any capable .ZIP file.


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

Search: