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

Does anyone have any ahk file(s) they would like to share? I have (to me) a basic setup but I’ve never gone very deep on it, but I’d like to. As a new-to-windows user I REALLY miss some of the Linux key commands I’ve set up in i3.


I've been a daily i3 user for 6+ years. My initial exposure to tiling window managers was through Ion 2 (https://en.wikipedia.org/wiki/Ion_(window_manager) maybe ~15y ago. Back then I was still using Windows on my primary computer for various reasons, but after playing around with Ion 2 it started to feel cumbersome.

I had been using AutoHotkey for some simple macros before and after reading the documentation with more thought, I set out to mimic some aspects of the tiling WM experience. The outcome was this script https://gist.github.com/ristomatti/f075020025cf870aaf8f73a93.... It looks like a quick hack now (as it was) but I remember confirming it still worked on at least Windows 10 (it was written at the time of Windows 2000 IIRC).

The script is badly documented and I barely remember writing it but what it should support is:

- focusing adjacent windows directionally using win+arrows

- win+left click to move a window around based on a 3x3 grid (click top left moves to top left)

- win+right click to resize a window to grow in the direction of the clicked region of the window

- win+middle click to select a specific window, then win+middle click on an empty space on the desktop to move and resize the window to fill in the gap

- support multiple monitors


Anyone interested in having some of the window/screenArea manipulations à la i3 should have a look at Microsoft’s PowerToys, and especially its functionality « FancyZones ». That’s truly VERY nice !

https://youtu.be/ld-vmpbngDE

https://learn.microsoft.com/en-us/windows/powertoys/fancyzon...


Not a helpful contribution to your first question but I agree with the i3 comparison. Trying to get my volume buttons working on i3 reminded me of using AHK to reconfigure the numpad with numlock off to media control on one of my old windows desktops


I just recently set up my 2nd Dell XPS. The last one I switched between Arch, Gentoo, Ubuntu, and Windows as my itch to tinker kicked in from time to time.

I had minimal issues with any distro I tinkered with. Ultimately, the ol’ girl had some failing hardware components so I upgraded to the newest XPS model and will continue to do so until their quality declines. I absolutely love the machine.


Is that what Adventure Mode is? I’ve been playing DF off-and-on since 2013(ish), but I’ve never tried adventure mode.


Adventure mode is more like a 'standard' RPG-style adventure, similar to nethack but entirely generated. https://dwarffortresswiki.org/index.php/DF2014:Adventurer_mo...

It doesn't have as much polish as Fortress mode, but it can be quite fun if you like the nethack style of "die early, die awesome, die often".


Thanks!


Oh that’s great! Thank you.


Interesting. Are you considered a “full time employee” or “contractor”?


full time employee


Is there a better image format available?



Thank you!


Personally, I prefer Aurora and Distant Worlds: Universe. Paradox games are fantastic but these are Dwarf Fortress-level detail (if you’re into that sort of thing).


> I prefer Aurora

Is this that VB game that got eventually rebooted(?) in C#, that's full of annoying little glitches[0] that would be trivial to fix if the author wasn't aggressively against any and all kinds of modding?

I'm definitely looking for a 4X equivalent of Dwarf Fortress. Stellaris ain't it - I like it, but it gets too repetitive after first longer game, because the mechanics is just rock-paper-scissors with a hundred thousand numerical modifiers that have little qualitative impact on gameplay.

--

Like some number handling within the game being locale-dependent, so that unless you set your system locale to en_GB, it might behave unpredictably.


Ooh, interesting. I see Distant Worlds 2 is slated for release this year. I'll try it when it's out! Thanks.


Can't possibly be as good. We know how this goes.


AoE2 was better than AOE though. Same goes for Civ 5 vs Civ 4.


> The most active author wrote 896,337 words, twice the length of the Lord of the Rings trilogy

This can’t be a “normal” person, right? This has to be a paid actor.


I really like this breakdown, and I’ve employed it (to some extent) with various people. In my experience, however, it’s not so much that it worked with them; rather, they found the discussion frustrating and became despondent only within the conversation between myself and them. In other words, I didn’t so much change their mind as help them decide to not engage me on whatever particular topic.

I find that incredibly frustrating. Maybe I’ve rubber-ducked myself into realizing I’m not doing something right.


In my experience, it works if people accept the two conditions as reasonable before the discussion starts. At the outset, the conditions are fairly reasonable. Yes, it's a trap, but a reasonable trap.

BTW, I'm not claiming this changes their mind in the long run. It does provide for a good conversation in the moment, though.


I adore this site. I’ve taken some time off from Math and have been using this as a refresher for some Linear Algebra stuff I’ve forgotten.

What a treasure.


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

Search: