HNHacker News
TopNewBestAskShowJobs

mikewhy

1,296 karma · joined January 4, 2011

The year is 2022, Hacker News is largely American Centrists, erring towards supporting big corporations, with a touch of Nazi sympathizing. I'm out
submissionscomments
mikewhy··on Moving a macOS window by clicking anywhere on it
I love three-finger-drag. You can also just flick one of your fingers after starting a drag and it has momentum, great for sliders/dials.

Sadly, it's supported less and less in Apple's own apps:

- if you use the gesture in Finder, it can get confused and mess up all mouse clicks

- it doesn't work at all with the sliders in the new control center menu

mikewhy··on GoldWave Open Source Goal
Growing up, my friends and I all used GoldWave. This was in Newfoundland, we had no idea the software was also made there.
mikewhy··on Home lab beginners guide (2021)
They mentioned one aspect of their setup and you're the one assuming that's all they have.

Not to mention even if it was just a Plex server, that still meets your criteria.

mikewhy··on Python’s “type hints” are a bit of a disappointment to me
noImplicitAny is different than what's being discussed (I think). Returning something typed as `any` in a function that has a different return type is totally fine: it's not implicit (you've cast it to any), and it passes (you're saying the type is literally anything after all).

There are lint rules to avoid typing as `any`.

mikewhy··on Ubuntu 22.04 LTS Released
Aye, homebrew is pretty slow, but I don't actually interact with it much outside of initial bootstrapping.

Surely you can search for any package manager and find lots of people having issues with it.

I should really check out nix-shell.

mikewhy··on Ubuntu 22.04 LTS Released
I just use homebrew on Linux. Things are relatively up to date, there's better support for installing multiple versions of something compared to apt/pacman/what have you, and development tools are separated from system packages.
mikewhy··on Scrolling with a third-party mouse looks horrible on macOS
Doesn't Edge implement smooth scrolling?
mikewhy··on Neovim 0.7 Released
> and many other tie-ins like completion, snippets, formatting, and things like auto-pairs

This is usually where I check out when I get the urge to redo my vim setup. The fact that completion, auto pairs, snippets, and something like endwise are all at odds with each other isn't something I want to deal with.

mikewhy··on React v18.0
> no more separate types package

woo! and a module to augment!

mikewhy··on Dum: An NPM scripts runner written in Rust
Glad to never have really used scripts in package.json, just bash scripts directly calling `./node_modules/.bin/whatever`
mikewhy··on Delightful React file/directory structure
CRA doesn't enforce any structure, outside of "code lives in arc/ and public files go in public/"

The default templates are just a single folder, with tests located adjacent to their source files.

CRA configures jest to look for test files in arc/, but let's users override that.

https://github.com/facebook/create-react-app/tree/main/packa...

https://github.com/facebook/create-react-app/tree/main/packa...

mikewhy··on Ask HN: What is your Git commit/push flow?
I used tig for a bit because it was the nicest way I could find to do line-level staging in a terminal. But was really impressed with gitui https://github.com/extrawurst/gitui so I've switched to that
mikewhy··on What is: Linux keyring, gnome-keyring, Secret Service, and D-Bus (2019)
Support is coming to kwallet: https://invent.kde.org/frameworks/kwallet/-/merge_requests/1...
mikewhy··on Is Elden Ring that hard? Well, it depends what you mean by “hard”
I love that all the usual replies are missing the fact that the GP said "They're asking for a content conveyor belt with no player agency".

Like, you people replying know there's a difference between accessibility options and "a content conveyor belt with no player agency", right?

It's one thing to discuss whether From games need accessibility options, it's another thing entirely to say anyone asking for them wants to remove player agency.

mikewhy··on My lizard brain is no match for infinite scroll
> > modals and other horrible UI features

> and most users on HN have at least a rudimentary understanding, often an expert understanding, of how a browser works under the hood

Y'all, with your expert knowledge, know there's a dialog element in HTML, right?

mikewhy··on Cyberpunk 2077 Update 1.5
Great list of mods. I also had a lot of fun with Geoengineering: https://www.nexusmods.com/cyberpunk2077/mods/2195?tab=images
mikewhy··on All you should know about Flutter development
I still can't believe Google wanted Dart to replace JavaScript, and still you can't express an object's interface in it.

https://github.com/dart-lang/language/issues/783

mikewhy··on Vue 3 as the New Default
> the way we write apps with React has drastically changed multiple times with the only real constant being JSX

I don't really agree with this. Sure, we went through createClass -> class -> functions + hooks, but the core is still props, state, and lifecycle.

mikewhy··on Nintendo Switch game cartridges taste offensively bad (2017)
> A company like Nintendo doesn’t seem like it has an American equivalent

I find they're similar to pre giant-media-conglomerate Disney. Their products target families, and are very child friendly. Ridiculous limits on when you can buy things (Disney Vault, Mario 35). Both are incredibly litigious.

Although I can't think of any comparisons to Nintendo's lack of decent online services.

mikewhy··on iPhone camera app replaces person’s head with a leaf in photo
> the Rittenhouse trial and the big to do about the video being enhanced when zoomed

I keep thinking about this, and was already when the case was going on. If linear interpolated zoom isn't allowed, no iPhone photo after a certain time should be.

mikewhy··on Is It Time for the JavaScript Temporal API?
https://stackoverflow.com/a/41992352
mikewhy··on Show HN: Two uBlock Origin rules to improve your Twitch experience
Looking back at my adblock rules[1], FB used to use `aria-label=Sponsored`. Seems they stopped doing that, most likely because it was crazy simple to target and remove.

[1]: https://github.com/mikew/adblock-rules/blob/ed8f0b0511d66c44...

mikewhy··on I Have No Mouth And I Must Scream is free on GOG today
I don't even bother hunting for checkboxes to turn off when making accounts anymore. Any email they send I just instinctively mark as spam.
mikewhy··on Show HN: Two uBlock Origin rules to improve your Twitch experience
> Twitch generates random class names, possibly to prevent your blocking some elements, so I tried to find the topmost classes.

I don't use Twitch, so I'm not sure what these rules are blocking, but if there's any bit of consistent text in the elements these are targeting, you can do something like

    twitch.tv##div:has-text(Text To Block):xpath(../..)
There may be ways around this, ie here's the lengths Facebook go to write the word "Sponsored":

    <a
      aria-label="label"
      class="oajrlxb2 g5ia77u1 qu0x051f esr5mh6w e9989ue4 r7d6kgcz rq0escxv nhd2j8a9 nc684nl6 p7hjln8o kvgmc6g5 cxmmr5t8 oygrvhab hcukyx3x jb3vyjys rz4wbd8a qt6c0cv9 a8nywdso i1ao9s8h esuyzwwr f1sip0of lzcic4wl gmql0nx0 gpro0wi8 b1v8xokw"
      href="/ads/about/?__cft__[0]=AZXrXEHuX_dD86iokjfchbSBrQ_82Tl3Un_9I6DwUiWYhK3t_v9M6fjRm2c2e3Ca45tcXk-oTF0IPtcCqR0T6NLHXlbRXN7QxfDwF_Xydka_MzBz8Y9MNk4b7FPb7qbFiALU6PjCE-RKXIbAwAU1uJXL3QLmPMUXDvIXi97x445-5WceUPJAKY7xekY5wDjA-TQacU37LvU3P5vATZyixPQBikeTOkPq_7EI410wzlGsoZlC1yMhE9L1lFuiwuWMK4VxsXB2zIvFjJqX0JjBHAP9ea1t9QmGKlff9cu1hO6crg&amp;__tn__=%2CP-R"
      role="link"
      tabindex="0"
    >
      <span>
        <span class="j1lvzwm4 stjgntxs ni8dbmo4 q9uorilb gpro0wi8">
          <b class="t5a262vz nc684nl6 ihxqhq3m l94mrbxd aenfhxwr l9j0dhe7 sdhka5h4">
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b class="nc684nl6 l94mrbxd l9j0dhe7 sdhka5h4">S</b>
            <b
              class="t5a262vz nc684nl6 ihxqhq3m l94mrbxd aenfhxwr l9j0dhe7 sdhka5h4"
            >
              p
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b class="myohyog2 l9j0dhe7 sdhka5h4">o</b>
            <b class="b6zbclly l9j0dhe7 sdhka5h4">n</b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b class="nc684nl6 l94mrbxd l9j0dhe7 sdhka5h4">s</b>
            <b class="myohyog2 l9j0dhe7 sdhka5h4">o</b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b class="t5a262vz l94mrbxd myohyog2 l9j0dhe7 sdhka5h4">r</b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4">e</b>
            <b class="ihxqhq3m myohyog2 l9j0dhe7 sdhka5h4">d</b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
            <b
              class="l94mrbxd aenfhxwr myohyog2 b6zbclly l9j0dhe7 sdhka5h4 ww7X6RO"
              style="display: none"
            >
              -
            </b>
          </b>
        </span>
      </span>
    </a>
mikewhy··on GirlsDoPorn victims win rights to their videos
> admitting that as part of a premeditated scheme, Garcia recruited victims to appear in sex videos for the websites by promising them that these videos would never be posted online, that the videos would never be released in the United States, and that no one who knew the women would ever find out about the videos.

> Throughout the scheme, Garcia knew these representations were false

> Garcia and Pratt created Craigslist advertisements, along with fake websites and email addresses consistent with the websites to cause their victims to believe that they were applying to work asclothed models.

> When victims expressed hesitation, Garcia directed other young women to contact the victims and falsely reassure them that the videos would not be posted online and that none of the victims’ friends, families, colleagues or classmates would find out.

> Garcia knew that most of the young women they were recruiting would have never agreed to appear in a video if they knew that videos of their explicit sexual activity would be posted on the internet and marketed to their friends and family.

> If one of the victims agreed to act in the pornographic video, Garcia and his co-conspirators promptly booked flights to San Diego within a day or two to limit the chances that the victim would change her mind.

> After the victim arrived at the hotel or short-term rental unit, Garcia would continue to falsely assure them that the videos would not be posted online and that no one who knew the victims would see

> Garcia and others would at times coerce victims into completing the videos once they were underway. Garcia and other co-conspirators threatened to sue the victims, cancel flights home, and post the videos online, if the victims did not complete the sex videos.

> The sex for the video shoots was rough and caused many victims pain, and in some cases bleeding. Some victims asked to stop filming. In response, Garcia and others told the victims that they had to continue and finish the videos. Victims were also often paid significantly less than originally promised

So, after all that, do you really think GDP and OnlyFans are comparable?

mikewhy··on Apple added an orange dot that’s a showstopper for live visuals
> If I'm understanding you correctly, that means there's already a supported workaround for this if apps just use that API?

I don't think this API helps people that use display out, like a projector or screen.

mikewhy··on Apple added an orange dot that’s a showstopper for live visuals
Users of audio/visual software typically wait a bit after major OS updates.
mikewhy··on There's never been a better time to build websites
The advantages given in the CSS section are really around:

- utility classes

- theme system

Neither of which are unique to Tailwind (which is great in itself), yet the article paints it like it's the only thing out there solving for it.

mikewhy··on There's never been a better time to build websites
> > Static was a fun diversion, but we're back to what works.

> I won't be moving away from static website. It is perfect solution for a blog/CV type thing.

Yeah, I'm keeping an eye on these new "MPA"/"transitional" frameworks, but the thought of taking a static marketing page, which costs fractions of a cent to serve and is easy to put on a CDN, to now requiring a backend server which costs magnitudes more, seems foolish.

mikewhy··on Linux Touchpad Like MacBook Update: Touchpad Gestures Now Shipping
It may hurt accuracy, but there's a lot of times using a mouse where you don't need to be accurate. I've been using 3-finger-drag since it's introduction and can't go back.
← PreviousPage 3 of 26Next →