HNHacker News
TopNewBestAskShowJobs

lwouis

428 karma · joined October 14, 2019

submissionscomments
lwouis··on macOS has checked app signatures online for over 2 years
Politics is about where we go. Tech is about how we arrive there. If you disagree on the direction we are headed, discussing different ways to arrive there seems pointless.

You may agree with the status-quo politics, but other people don't. For them it's not about the tech, it's about the overall direction. For those people the important discussion to have is political.

For instance, I personally am against the current direction macOS and Windows are headed. I have no problem with these kind of security measures as long as there is a button to opt out. Currently, Apple decides for everyone, and doesn't provide ways to opt out for power users. I dislike this, and I feel like discussing better cryptography, security protocols, etc, doesn't address my priorities.

lwouis··on A 20-year-old CRT monitor can be better than a 4K LCD (2019)
I recently got to experience a 240hz IPS monitor. Colors and viewing angles are way better than the 120hz TN monitor i had in the past.

That said, even at 240hz, motion is still blurry. If i move a window and try to read text in it in motion it's still not smooth like real life.

I wish i could experience a Trinitron CRT to compare the motion resolution! On Digital Foundry they make it sounds as you do: amazing. I wish i could judge for myself

lwouis··on A 20-year-old CRT monitor can be better than a 4K LCD (2019)
Drag a window around on your monitor. Can you read its title when it's moving?

This is what it's about: clarity in motion. You assume that average modern monitors are in the 95 percentile and suffering from diminishing returns from better refreshing technology. I disagree with that. Moving things on a modern display is far from being smooth. Look at VR. This field is heavily impacted by this fact. Look at the tablets and phones migrating to >60hz in the past 2 years.

Resolution in motion is an issue.

In terms of analogy, it is not about scraping nanoseconds in high-frequence trading for example, but more like moving your pen on your iPad and have the line not lag behind in a disturbing way.

lwouis··on Kindle collects a surprisingly large amount of data
Most of the world-famous libre software is built without their developers study of massively collected usage data ("telemetry").

I look at VLC as a great example to follow. Their stats show 3.4 billion downloads (https://www.videolan.org/vlc/stats/downloads.html), yet they do no telemetry at all. The product works great. It could be improved of course, but Outlook could also greatly be improved, and they have high-salary staff and a boatload of data they extract from users. Yet it's slow as hell and has lots of UX I disagree with.

I'm myself the author of a replacement of Windows "alt-tab" on macOS (https://alt-tab-macos.netlify.app/) which doesn't do any telemetry. I can lead the roadmap, with the help of the community, without spying on how users set their preferences and use the app.

As a matter of fact, it can be argued that acting that way can be negative value as it's reinforcing popular usage; or from the power-users perspective, dumbing down the software. By definition, advanced features will have low usage. It doesn't mean it should be removed.

Lastly, think about non-software businesses. Many amazing products have simply no way to gather data when the products are in the users homes. They rely on gathering data by talking to customers at the points of purchase, customer care, are in various forums with enthusiast users. This model has shown great results, so it is in no way clearly to be avoided in favor of telemetry-everything.

lwouis··on macOS Security and Privacy Guide
I know, i'm doing it. I was saying I would love for a list of tweaks of that nature. Things I don't know about that I could do to improve performance
lwouis··on Can't you just right click?
I'm the main contributor of an app that emulates Windows's alt-tab feature on macOS (https://github.com/lwouis/alt-tab-macos). I researched this topic extensively, and eventually decided that I would bite the bullet and pay from my own pocket, so that users get a good UX when launching the app.

It is displeasing to see Apple not having an open-source program in-which they give free certificates for popular open-source projects after a review. They are a large beneficiary of OSS after all.

Furthermore, smaller companies do it frequently these days: Jetbrains gave me free IDE licenses, poeditor gave me a free account, github hosts the project code, ticketing system, and is the distribution channel for first downloads and updates, appcenter hosts crash reports for free, travis does the CI for free, etc.

lwouis··on macOS Security and Privacy Guide
Does anyone knows of a similar collection of tweaks, but for getting performance out of macOS?

Things like disabling Spotlight so it's not indexing node_modules and other folders, or adding tools to the Developer Tools to disable network checks with apple servers when you want to run a binary

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
Indeed I tried and even though I can get a switch without any frame of UI showing, it is very hard to press and release fast enough. It's not a delay like I implemented, but most likely the UI being terminated before the next frame, so nothing shows.

In any case, adding a preference to change/remove the delay will satisfy people who want the UI to show faster (https://github.com/lwouis/alt-tab-macos/issues/8)

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
Could you possibly open a ticket for this performance issue? If you attach OS version, hardware specs, system load, it may be possible to reproduce and get to the bottom of this. Another strategy would be for you to try HyperSwitch (https://bahoom.com/hyperswitch) and see if that one is also slow (you can change the activation delay to 200ms to match, and play with thumbnail quality and see if that impacts perf).

I worked a lot on the thumbnail generation which was making the app slow on my setup. I thought the perf is good enough, but it looks like not enough

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
When I was on Linux I always used i3, so I'm not familiar with KDE. Could you please elaborate on these extra features and how the UX is better?
lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
You can change this line: https://github.com/lwouis/alt-tab-macos/blob/6b5e426e05d47c2...

from 0.2 to whichever delay you want in seconds (0 is valid)

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
I've spent years on windows, mac, linux. I remember in my youth adding a dock with the fisheye effect on hover on Windows XP. What a blast that was :p

Nowadays i'm into workflow optimization and this alt-tab window-switching is what i found best in my personal study

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
No worries, I appreciate your enthusiasm! I think all your feedback is addressed within this ticket: https://github.com/lwouis/alt-tab-macos/issues/8

Subscribe to it to follow its implementation ;)

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
Unfortunately Mission Control is not keyboard-accessible :/
lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
For the slowness, could you please check my reply here: https://news.ycombinator.com/item?id=21256353

For the active monitor issue, I have never tested on multi-monitors (I personally switched back to single-monitor after years of multi). Could you please open a ticket? It may be an easy update

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
> The alt-tab feature in HS also has a flaw: if you switch to an app via the dock icon (or possibly by clicking on one of its windows), all windows of that app become ‘recently used’ in the alt-tab menu. I'm guessing this might be a behavior of MacOS, and that you might run into the same problem

I'll test this, thanks for the heads up! Windows recently used order comes from the OS in my current implementation (I'm not spying on the whole system and keeping track; the OS is giving me a list of most-recent first windows). That may indeed affect my app too

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
> it's pretty sluggish for me

Did you take into account the 200ms that's purposefully added? The behavior of alt-tab on windows is also: if you press fast (within 200ms) you don't get a UI but the switch will happen. After holding alt for > 200ms, the UI is displayed. Taking that into account, does the UI display after a delay significantly longer than 200ms? Please open a ticket if it does, with your hardware specs.

> It also doesn't seem to support any form of drag-n-drop

That's a great idea! Please open a ticket

> Nor does it seem to support command-H/Q, or play well with Spaces.

There are 2 tickets opened currently for these 2 things. Hopefully they get implemented soon

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
* alt-tab on Windows is for finding a window within all apps. This is the one I cloned for macOS

* alt-` on macOS or ctrl-tab on Windows is to cycle between tabs/windows of the current app

* command-tab on macOS is to cycle between apps (the app will then elect which window to present the user)

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
For many of the things you list, you may want to have a look at https://github.com/koekeishiya/chunkwm
lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
Author here.

I drew inspiration from HyperSwitch. Unfortunately, it is no longer maintained and is not free or OSS software, so I couldn't take over.

Specifically, I wanted to improve on some points:

* visual clarity * size of the thumbnails * size of the app icons

It's a shame it's not on github because the customization available through the preferences is great, and the product is great overall. It's one of those projects where I'm guessing the author is making no money and could release the code without any loss. He just probably forgot about it, unfortunately

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
Author here.

I'm familiar with this. I have rebinded these, but basically I use them everyday for tab switching, for example within 1 chrome window, of within 1 terminal window.

The reason I made this window-switcher is that sometimes I have something I know I opened a while ago, but I don't want to think about which app holds it, then use the macOS app-switcher (command-tab) to switch to that app, then select the tab/window (with the mouse, or by cycling alt-`).

I want a big mosaic with my windows, and instantly identify and focus on that window I remember the visual traits of.

macOS offers exposé for that purpose, but it is unfortunately not keyboard operable. Also I prefer the Windows approach of having a the thumbnails on a timeline so my eyes have some references instead of scanning the whole screen every time with exposé.

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
> I wonder if there's a way to replace command tab with it instead of control tab

Check out my reply in another comment: https://news.ycombinator.com/item?id=21254933

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
I considered using something like this, but as I explained in another comment (https://news.ycombinator.com/item?id=21254984), I think visual matching beats other approaches. I think the few seconds it takes to think about which app owns the window, or what text could match the window, will be longer that directly looking and visually recognizing your window. Again, this opinion is not supported by research. You may want to experiment on yourself. It is also not only about speed but the comfort of each work-flow may differ for different people.
lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
Doing command-tab, then selected an app icon, then pressing down; this UX is a drill-down approach where you already know the window belongs to a particular app, and you drill-down from there.

I personally prefer the Windows approach where I'm shown all windows at once, in chronological fashion, and can use my performant human vision system to quickly identify the window I'm looking for. I believe that visual pattern matching beats other approaches such as thinking about which app is involved, typing first letters, etc.

To clarify, I think that if your flow if very static, then hotkeys for you apps (e.g. command+1 -> chrome, command+2 -> terminal) is pretty optimal. I would even buy one of those dedicated keypad like a supermarket/fast-food cashier would use. Direct access is best there.

But if your flow is more dymamic/organic; let's say you open a PDF, then work on something else, then want to focus on that PDF again; then I believe visual matching is best.

My opinion is not based on scientific studies though, it's just my own observation, so take it with a grain of salt.

lwouis··on Show HN: Alt-tab-macos – Windows-style alt-tab on macOS
Author here.

> replace command-tab instead of adding control-tab

Currently there is no UI to customize hotkeys. I have a ticket to frame work that can be done here: https://github.com/lwouis/alt-tab-macos/issues/8

However, you can switch keys in the code and get this working today. In `Application.swift` at line 16, replace

  let metaKey = 0x3B
  let metaModifierFlag: NSEvent.ModifierFlags = .control
with

  let metaKey = 55
  let metaModifierFlag: NSEvent.ModifierFlags = .command

I tested, and it overrides the default macOS app-switcher, so no need to use something like Karabineer Elements which is what I use to disable the default app-switcher in addition to add the new control-tab hotkey shortcut.

> I do prefer the command-tab, hold command, hit Q or M or H, continue holding command and hitting tab again

You can already hit control-tab then hold, and cycle with tab or shift-tab. What's missing is the option to hit Q/M/H.

I have a ticket to frame work that can be done here, inspired by the creative UI of another app called WindowSwitcher: https://github.com/lwouis/alt-tab-macos/issues/9

← PreviousPage 4 of 4