HNHacker News
TopNewBestAskShowJobs

rewgs

1,121 karma · joined July 5, 2017

rewgs@protonmail.com
submissionscomments
rewgs··on Can autoimmune diseases be cured? Scientists see hope at last
> Mast cells, histamines, allergies, and sensitivities are autoimmune areas

They quite literally are not. Autoimmune diseases are, by definition, when the immune system targets the body. Allergies are when your body flags things that are not your body.

rewgs··on Can autoimmune diseases be cured? Scientists see hope at last
Is Wyndly targeting food allergies, or just environmental/etc?
rewgs··on How virtualisation came to Apple Silicon Macs
Give Orbstack a shot. VM installation is a total breeze, and its x86_64 Linux performance has been awesome for me.
rewgs··on Got fed up with 36 hours of weekly meetings. Built something to fix it
> Presumably their role is not to sit in meetings all week

It is if they’re being entirely booked with meetings.

If I were OP, I’d absolutely bring this up to my manager, but I wouldn’t simply just acquiesce and work nights/weekends just to keep up. Time management is only on me if I’m given a chance to complete my tasks in the allotted time —- if I’m not given the time, that’s the company’s fault, not mine.

rewgs··on 9 years of Apple text editor solo dev
> Swift is for the new rubes, bootcamp graduates and so on.

That was a bit rude and unnecessary.

rewgs··on DeskHop – Fast Desktop Switching
> I want to share keyboard, mouse and monitor between a PC and a MacBook. A KVM with DP+USB on one side and Thunderbolt on the other doesn’t seem to exist.

It does if you use the built-in KVM in a recent Dell Ultrasharp display, and change Thunderbolt to USB-C.

My setup is a MacBook Air plugged into the USB-C port, a Windows PC plugged into the Displayport/USB port. Mouse and keyboard are plugged into the display.

I switch inputs via a StreamDeck. The StreamDeck just sends a key command; on macOS, BetterDisplay handles input switching, and on Windows, the Dell Display Manager app does the job.

Switching is a touch slower than I'd like, but beyond that, it's flawless.

rewgs··on Ask HN: What's your "it's not stupid if it works" story?
I absolutely love this.
rewgs··on To be great, be good, repeatably (2019)
Obviously he's an unpopular guy nowadays, but I often think about Louis CK's version of this:

I'm paraphrasing, but he essentially said he didn't try to make his best performances better, he tried to make his worst performances better.

That idea has been hugely impactful for me -- it's resulted in far less anxiety and self-flagellation in the pursuit of excellence, while still probably resulting in about the same overall improvement.

rewgs··on I Love Ruby
Probably Go, yeah. I'm a big fan of Python and have really enjoyed learning Go.
rewgs··on I Love Ruby
> I wonder if there is a generally accepted quantifiable definition of programming language expressiveness.

I doubt it, considering "expressive" tends to only ever describe something that's subjective.

rewgs··on Apple partly halts Beeper's iMessage app again, suggesting a long fight ahead
Speaking for myself, I think iMessage is a good product, and it's one of the (many) reasons I use Apple devices as daily drivers.

You make it sound like people only use iMessage because of the network effect/lock-in, and clearly aren't considering that perhaps said network effect exists at least in part because iMessage is just...good.

rewgs··on Beeper Mini is back
Man, what an absolute waste of engineering talent.

I don't understand those in this thread celebrating the "hacker spirit." The real "hacker spirit" would be something like, I don't know, building a better alternative to iMessage. This is just a game of whack-a-mole, destined to lose.

rewgs··on Methane under the seabed is thawing as oceans warm
Perhaps it's not a rhetorical trick or framing device, and is instead simply...the truth?

For decades the primary point of discussion with regards to climate change is "the right way to talk about it." And as far as I can tell, that's only ever shot us in the foot. Too optimistic, and people don't act because they think it's not that bad or that someone else will deal with it; too pessimistic, and everyone will apparently just shut down and not do anything about it because why bother.

Call me crazy but perhaps we should stop thinking about it this way and simply deal with the science and the facts as head-on as possible, and that includes not calling out accurate representations of where we're at and where we're going as "counterproductive."

rewgs··on Chrome's next weapon in the War on Ad Blockers: Slower extension updates
Lots of people here disagreeing with you that Firefox is worse, but I'm with you. I'm on an M1 MacBook Air, been a Chrome user forever, but when they started getting aggressive with adblocking on YouTube, I switched over to Firefox, both on macOS and iOS.

Boy, it is...worse. I really gave it the old college try. Brought over all my extensions, dove into the really good ones (some of which really are incredible), even customized the Firefox interface, etc. I went hard.

But eventually I ended up back on Chrome, purely due to performance. Firefox is simply very slow and choppy. It's not a good experience.

I'd love to go Safari full time, but I use so many Linux and Windows machines in addition to my Macs that I really need something cross-platform, and so Chrome has always been the best solution for me. It's a bummer but I think I'm on Chrome for the foreseeable future.

rewgs··on Yabai – A tiling window manager for macOS
I've tried Yabai multiple times but always bounced off. It's just a little too buggy, a little too opinionated. I've never found a window management system I've actually truly liked. On Linux, I've tried em all, and though in theory I love tiling window managers, but for me automatic tiling with the option to go floating on a per-window basis just ultimately ends up annoying me -- I prefer the reverse. On Windows, PowerToys/FancyZones is as close to my preferred method as possible, but then I'm, you know, using Windows.

This past week I've come up with what is I think my perfect, dream solution:

- Caps Lock is tapped for Escape, held for Cmd+Ctrl+Opt (i.e. "Hyper" or whatever). I'm a Neovim user, so Caps Lock has been mapped to Escape forever already.

- Tapping both Shift keys simultaneously engages Caps Lock for the rare times in which I actually need it.

- Window snapping is handled entirely with Hammerspoon. I have commands for absolute positions (e.g. half, one third, two thirds, quarters), but also can define grids and call them with key commands, and then use another command to snap all windows or just the focused window to the nearest grid box.

It's all defined with code, and thus lives with my dotfiles, and is just a `brew install` and symlink away from totally setting up on a brand new machine.

Also, I set my tmux prefix to Control+p, which I map to Command in my iTerm profile. So, opening up a new tmux "window" (i.e. tab) is Command+t. Navigating to the next "window"/tab is Control+Tab. And so on. Basically it just feels like a browser. This way, whether I switch terminals, or am ssh-ing into a machine, as long as I have my tmux config, those key commands are set.

It's an amazing setup, can't recommend it enough.

rewgs··on Berkeley Mono Typeface
I really like Berkeley, JetBrains Mono, etc, but at this point I simply can't move away from Fira Code. It's, like, what code looks like to me at this point.
rewgs··on Warner Bros shelves finished ‘Coyote vs. Acme’, takes $30M tax write-off
This just seems to obvious to me, even when doing the math:

Max costs an average of $12.99/month. $30 million / $12.99 = 2.3 million. Max has over 95 million monthly subscribers, and one has to imagine that ~2% of the subscribers would pay for a single month of Max in order to see this movie. After that one month, the movie's made its budget back without having to market it at all. Like, come on, it's the age of the internet -- if you really don't want to market the film at all, just Tweet out "Hey this movie is out now on Max, go watch it" and you're sure to reach a decent amount of people.

I'm sure there's an argument against what I just said that it creates the perception of their original content made for Max being low quality or something, but that can't be worse than the now extremely accurate perception that creatives can't trust that their work will be released by WD, and thus would prefer to work for other studios. I myself work in Hollywood and have absolutely zero desire to work on a WB project after Batgirl and now this.

rewgs··on Show HN: Inshellisense – IDE style shell autocomplete
First good name to ever come out of Microsoft. I'm sure it just barely succeeded over Visual Windows Subsystem for IntelliSense Core.
rewgs··on About half of Bandcamp employees have been laid off
It's worth noting, though, that Justin can afford to not take outside investments for Reaper because he already "sold out" by selling Nullsoft to AOL for ~$50 million. I say this not to throw shade or anything like that -- I really like and respect Justin and am literally developing an extension of the Reaper API and a product built off of it as we speak -- but in the context of this discussion, it's worth noting that often the financial freedom to do awesome stuff and not sell out is enabled by wealth made somewhere else first.
rewgs··on Ask HN: Has anyone gotten complete, permanent relief from tinnitus?
In your case, it might just be. Tinnitus due to TMJ, tight neck muscles, etc is very common, and in all those cases it is curable by treating the underlying mechanical issues.
rewgs··on Ask HN: Has anyone gotten complete, permanent relief from tinnitus?
Not yet. I have absolutely insane tinnitus -- crazy high pitched, can hear it over any sound, too many tones to count. Also have hyperacusis but that's another topic. In any case, historically I've paid a lot of attention to this space.

Perhaps the most notable attempt at a cure was Frequency Therapeutics, whose efforts were promising, but unfortunately didn't pan out.

There's a constant churn of biotech companies trying to solve this, as curing tinnitus (and/or hearing loss) would be a goldmine, but no one has really gotten anywhere yet.

If you want to stay on top of it, the /r/tinnitusresearch is a pretty good hub, and there are a few mailing lists out there.

That said, over time I found that ceasing to follow all the promises and inevitable disappointments helped me better achieve the only real "treatment" we have right now, which is accepting it and slowly learning to live with it.

When there's a real deal cure, you'll know about it. Until then, I suggest not paying attention to the churn and the extremely dubious "treatments" out there.

rewgs··on Ask HN: Has anyone gotten complete, permanent relief from tinnitus?
It works for people that have tinnitus due to tight neck muscles. Tinnitus due to damaged ears is a whole different beast.
rewgs··on My personal C coding style as of late 2023
I'm not a C developer, so I have to ask: why in the world would you not use const?
rewgs··on Google Podcasts, which is an actual thing, to shut down next year
Fucking Google, man. I’m on an iPhone and I actually use Google Podcasts over the native iOS app, as I find its UX much more intuitive.

They’re a joke. Can’t trust them to keep anything going.

rewgs··on Investigation: 78% of carbon offset projects globally are “likely junk“
Honestly I’m surprised it’s as low as 78%.
rewgs··on Textual Web: TUIs for the Web
> I guess someone out there has a use case where they need to run this over an SSH session?

Raises hand.

I write a lot of internal tools for musicians (primarily film composers), many of which are primarily local but will be web-based once I put together the rest of the pieces of the pipeline. Being able to run the same interface as a local desktop app, or as a web app, or over an SSH connection, is a huge selling point to me.

Plus, I just honestly love the look. It's clean and simple with high information density. Totally my cup of tea.

IMO Textual/Rich is one of the coolest projects to come out in recent years.

rewgs··on Microsoft is bringing Python to Excel
Completely agree. MS should just do Google Apps Script but better.
rewgs··on The first conformant M1 GPU driver
My strategy is to go all-in on Apple as my daily drivers, and then to tinker with Linux in my spare time. For example, my main phone is an iPhone, but I recently bought a used OnePlus 6 with the intention of installing NixOS on it. My laptop is an M1 MacBook Air, but I code in Linux VMs, and have a Linux NAS at home.

As many of my services as possible are self-hosted, and as many of my apps as possible are FOSS, but I access them with Apple hardware. And as my M-series Macs age, they'll become Asahi machines.

This is the best compromise I've found. The truth is, Apple stuff still does Just Work, and having an actual Unix base is nice too. Open standards and protocols can get you a long way away from the walled garden aspect of Apple to the point where really they're just nice computers that don't really infringe on my life in any way.

rewgs··on LK-99 isn’t a superconductor
People are "against" challenging climate science because a) it is extremely mature and the broad strokes as well as most of the fine strokes are overwhelmingly settled and have been for decades, and b) challenge implies a delay, which is not something we can afford; this tactic is often used by people engaging in bad faith, using the guise of "challenge" to discredit the science.

People are probably downvoting you because you're coming across as either contrarian at best or bad-faith at worst. Surely you realize this.

rewgs··on Can you use a class in C?
I'm a self-taught programmer, and I'm the lone programmer at a small non-tech company. I've mostly learned by building, and by reading documentation on language features, libraries, etc when I get stuck. I was pretty aware of "tutorial hell" pretty early on and thus avoided it, which by proxy meant I avoided most OOP dogma. I probably worked a lot harder than necessary and reinvented the wheel a few times early on, but at this point I think I write decent code, though I admit I'm somewhat siloed (e.g. I've never been subjected to a professional code review).

I recently watched a talk on just what precisely Functional Programming is, and the whole time I just thought "wait, doesn't everyone do this? Isn't this just the overwhelmingly obvious way to write code?" Around the same time, I found myself running into some very OO projects, and simply couldn't understand the actual reason for all of the ceremony and ridiculous amounts of encapsulation. And this wasn't in Java, which of course is infamous for its seemingly infinite amount of ceremony -- this was the documentation of a widely-used GUI library for Python.

Like, to my mind, classes are useful when you need to create objects whose values are unknown, i.e. the analogy where the class is a "cookie cutter" which creates the cookies. Classes are perfectly fine for that use-case but by no means should it be that which forms the backbone of your project; my (admittedly limited) view is that stand-alone functions are far and away the lowest-overhead and reliable device for composing parts of a system.

I really get the feeling that OOP is sort of like how synths were in the 80s -- everyone just kinda lost their minds for a second and used them everywhere, whether it made sense for the music or not. But from what I can tell, OOP just isn't really the right paradigm for a whole bunch of projects, and often the design of the code vs the design of the thing feels like ramming a square peg into a round hole.

Edit: all that said, if the above smacks of the Dunning-Krueger effect, I'd love to be made aware of that.

← PreviousPage 7 of 20Next →