HNHacker News
TopNewBestAskShowJobs

PrivateButts

252 karma · joined September 10, 2021

I make dumb things

https://privatebutts.dev

submissionscomments
PrivateButts··on Codespaces but open-source, client-only, and unopinionated
That's the dream, but in my experience there are some thorns, and some things that just suck. Mostly these come from Windows, like a dev station using the wrong line endings, filesystem watchers not working if the project isn't on WSL storage, file permissions getting mucked up, etc. However, what is a pain in the butt is adding dependencies. Do you attach a shell and run npm in the container or try to do it on the host system. Do it in the container, and you'll have to make sure those changes make it's way back out, and that you rebuild the container the next time you launch it. Do it on the host, and you could run into cross platform issues if a package isn't supported on Windows, and you'll have to rebuild the container.

However, once you're aware of this, honestly it's not that big of a deal. Docker rebuilds are pretty fast nowadays, and you can use tools like just to make the DX a little easier by adding macros to run stuff in a container.

End of the day though, folks are all gonna have their own way of working, and I think dev containers could have an advantage for peeps doing remote development. It would be nice to have a system where our developers could dial in to a container with everything they need from anywhere they want to work.

PrivateButts··on Trapped Under Trucks
Not a trucker, but I believe it's because trailers with lower ground clearance will bottom out if you aren't careful with your route planning. Things like rail crossing with aggressive approach and departure angles would be pretty risky with a low to the ground trailer.
PrivateButts··on Python GUIs
PyInstaller always seems to tick off our org's MalwareBytes, causing it to break in new and interesting ways but only after a good amount of development hours have been sunk into the project. Recently I've been using Nuitka to package python apps. It would be nice if PSF would adopt/develop an official way to do this.
PrivateButts··on Django 4.2 Released
For fancier, SPA style applications we utilize Strawberry to add GraphQL support into Django. It's pretty enjoyable to work with, but I would love for GraphQL to get more love from Django officially.

Subscriptions are still a bit thorny, but have come a long way now that ASGI and channels are a focus for the Django team.

PrivateButts··on Heroku Status – Dashboard/API Offline
grumble grumble just when I needed to get some stuff done. I guess I'll just go outside for a bit.
PrivateButts··on Ford Files a Patent for System to Reposses Cars Remotely
The one that stands out to me is disabling the AC. Hope there's no kid or dog in there when they do it while the parent is in the store or whatever. I don't like any kind of built-in backdoor in any product, but apparently we don't get a say in that anymore.
PrivateButts··on Poor sleep drove me insane, and my long path to recovery
Sleep Apnea has f'd up the last ten years of my life. Like many, it happened so gradually that I didn't notice until I was stuck in a vicious depressive loop that wrecked my health. If I hadn't had heard of sleep apnea through a podcast of all things I probably wouldn't have ever figured it out. I was apparently the worst case they've seen in a young patient at that office. It's taken two years for me to recover, and I'm still left with a lot of the damage I did to myself.

So if you're tired all the time, or you're a 'heavy snorer', or you're falling asleep during your morning routine, or wake up feeling like your drunk, get tested! They have at home test for it, it's not that bad.

PrivateButts··on Thoughts on the Python packaging ecosystem
Pipenv left a bitter taste in many mouths, but honestly for the last two years it's been fine.

What I want is for the Pipfile to get merged into the pyproject.toml at this point, so that we can speed up the move to pyproject.toml for everything.

PrivateButts··on N.Y. Gov. Hochul proposes ban on new gas hookups, to fight climate change
That's the plan, on paper at least. By 2030 they want Upstate to be almost entirely Hydro and Nuclear. Downstate will follow by 2040.
PrivateButts··on Vimeo Reduces Staff by 11%
As much as I hate Vimeo the company, it's sad to see people lose their jobs. I hope that those who did get taken care of. I hope that there's a management shake up, as they were some of the most incompetent folk I've dealt with.
PrivateButts··on Saying “sup” with `net send`
When our school started to provide network shares to students, they were pretty lax on security. I figured out that everyone's share was publicly read/writable, and the network path was pretty easy to guess. Whenever someone would annoy me I would replace a project file they were working on with some matter of nuisance program, like a zip bomb or a script that just kept opening word until the system ran out of ram. I'm surprised I never got caught, because I was too much of an idiot to properly cover my tracks.
PrivateButts··on Nvidia ends Gamestream on all Shield devices. Suggests switching to Steam Link
:( My wife and I use Gamestream to play heavier games in our living room. Steam Link is great but some games don't play nice with Steam Link and others don't like Gamestream. I also have noticed that Gamestream runs much better on my shield then link. I hope the protocol sticks around, I don't see why they would if that's how their GFN service works.
PrivateButts··on Netflix: 30% bitrate saving using Film Grain Synthesis
IMO grain and artifacts are a tool, like any other part of the post processing pipeline. Those tools can be abused, but they aren't valueless. I'd think that most people reach for these tools for two reasons, adding detail to bland sets, or adding authenticity to your setting. Our brains are weird and sometimes seeing less of the scene allows your mind to fill in the gaps better than the budget allows a texture artist or a set designer to do. The lack of post processing in general is what gives bad games that Unity Engine look that people hate.

As for the other reason, it's sort of like how we perceive people as older due to the clothing they wear and their hair style, our cultural reference for how old a piece of media is can be tricked by the mimicking the imperfections of the filming techniques of the time. Take a photo of old brick building with a Polaroid camera and ask folks when that was shot, I would bet that most folks would say 80s or 90s more than the 2020s.

PrivateButts··on jQuery 3.6.2
jQuery is like, comfort food for me? Used to use jQuery for everything and now the world's moved on. I wouldn't want to do a large project today in jQuery, but I kinda miss the simpler projects that I used to do all the time with a smaller toolbox.
PrivateButts··on Valve Introduces Proton Next
My wife loves the Steam Deck, mainly because I've been playing more games in the living room at night, instead of playing games in my office. Being in the same room as one another, even if we're doing different things, works pretty good for us.

It's also gotten them back into PC games, as they have more access to games through family sharing and the Deck does a great job of taking care of most of the fiddly bits of playing on PC.

I fully expected the deck to be the typical valve hardware experience for me. Something that was well built, and very neat, but would be gathering dust in a month or two. However, I think we've got more usage out of my Deck in 6 months then we've gotten out of my Index, Vive, Steam Controller, and Steam Link combined.

PrivateButts··on I finally found a use case for my Raspberry Pi Model B+
My beloved B+ is living out it's retirement as my backup local DNS server. It's not the fastest but it's cheap insurance for when the primary one goes offline for some reason.
PrivateButts··on Why do all these 20-somethings have closed captions turned on?
We often have to turn them on because media mastered for different sound systems tend to get mixed up on our basic tv setup.

Also if we're watching something with loud ads (Hulu), we'd rather have the show be quiet and have CC on then have to constantly adjust the volume.

PrivateButts··on Is bin-opening in cockatoos leading to an innovation arms race with humans?
99 Percent Invisible put out an episode about a similar problem Toronto has facing with their raccoons:

https://99percentinvisible.org/episode/raccoon-resistance/

PrivateButts··on Show HN: Quick Rewire – I made web tool to rewire your brain
Had some issues with my cursor just disappearing during trials, lead me to get a slower score by the end!
PrivateButts··on Ask HN: Venv, virtualwrapper, pipenv, poetry, pdm, oh my
We've been using pipenv + pyenv at work for years, and it's fine to be honest. On Linux, I don't really have a problem with either tool anymore, on Windows it's still a bit buggy. Most of it comes from the pipenv pyenv integration not working automatically. I'd try a couple and find what works best for your workflow.

Not saying python package management couldn't be better, but I think that a lot of pipenv's hate comes from earlier versions, and is a bit overblown.

PrivateButts··on I Finally Found a Solid Debian Tablet: The Surface Go 2
I've been messing around with Linux on some old Surfaces I pulled from the recycling cart at work. Linux on the laptop is fine, but boy howdy has it been a bad time on a tablet device. Wayland seems to have really thrown a wrench in the works. I tested:

- Ubuntu 22.04 LTS - Login screen showed the on screen keyboard (OSK) after enabling it in the accessibility menu, but had annoyances like shift staying on after hitting a key - Gnome was okay as a tablet interface, but OSK didn't work in non GTK apps, including Firefox - Autorotate worked once, but then never worked again - After waking up from sleep, the device would go back to sleep after 1 minute, regardless of what I was doing. - Kubuntu 22.04 LTS was like using a desktop OS with only a mouse. No autorotate or OSK - Fedora ran so poorly I gave up on it before testing it thoroughly - Manjaro had a working OSK throughout the OS, but autorotate was busted. It had the same sleep issue after Ubuntu.

In addition, the camera didn't work in every OS I tried. I eventually just put W10 back on them.

PrivateButts··on Vimeo: “We are a B2B solution, not the indie version of YouTube.”
At my job we used Vimeo's OTT solution and it's been a pretty bad experience. We were promised features that didn't exist, and working with them has been like pulling teeth.
PrivateButts··on Ask HN: Tell about your work from home setup
For context, I'm a coder and game as a hobby

What room do you use in the house? A spare bedroom that I've claimed for my office. I'm a messy desk person so it makes it easy to hide it when friends come over, and it's nice to have a quiet space.

Do you have a special desk? The biggest L shaped desk that was reasonably affordable and didn't look like crap. Having worked on tiny improvised desks most of my career it's nice to spread out a bit.

What monitors do you have? -A 27" 16:9 2k@144hz is my center monitor, the higher res and refresh rate is pleasant even when not gaming. -A 24" 16:10 dell monster that I stole from an old job and you will have to pry from my dead hands. I have some extra video cables hooked up for it to double as a lab monitor. -A 17" 1080@144hz recycled panel from a gaming laptop that died. Good for background listening or meetings that you're half focusing on.

Keyboard? Mouse? Currently have a steel series keyboard and mouse. The keyboard is meh for typing and I've purchased one better suited for my typing habits. The mouse has like 13 macro buttons that are quite useful for hotkeys and turbo/toggle bindings.

Do you work from a laptop? I have a work issued laptop that lives downstairs. Typically use it for about a hour or so every workday. It provides a bit of a break in the day, and I often use it to attend meetings while lounging on the couch (no cam, of course)

Do you move around the house? Yep, it's critical to walk away from problems every now and then, gives you space to think. Often when I switch between my laptop or desktop I work on different tasks to fully get my brain to switch.

What other equipment? Microphone? Webcam? We don't use cameras in meetings often (very lucky). However, I fully endorse getting a good wireless headset for your PC with range to spare. It lets me pace or grab things from the kitchen while not missing anything.

PrivateButts··on I couldn't debug the code because of my name
Similar to this, Node and NPM get very temperamental when you have a User folder with a space in it. I gave up on the community workarounds and just created a new account and copied my files over to fix it.
PrivateButts··on What it's like to spend 40-50 hours in VR every week
The Vive Deluxe Audio Strap is the way to go. You can 3d print or purchase the adapter off of Amazon. I also strapped a usb battery pack to the back of the headstrap to counterbalance the HMD. The DAS is very comfy and solves the audio problem with the quest 2 as well.
PrivateButts··on Intuit to Acquire Mailchimp for $12B
My first IT job revolved around supporting Intuit products in a small office environment. It sucked, and I have a pretty poor opinion of Intuit. I hope that doesn't infect Mailchimp.
PrivateButts··on Our fridge just emailed us to say we opened its door too many times
I was told about the cellular connection by my respiratory therapist. Mine even has an app that has achievements for proper and continuous usage. It also goes into pretty good detail about what you're screwing up if you aren't getting good mask seal. Even got a call from my therapist after two weeks following up with me about the data he received.

AFAIK this is what home medical equipment seems to be moving too. My dad's external pacemaker had a base station that phoned home over cellular as well.

If I wasn't wholly depended on the device I'd be very interested in poking around inside of it. I'd be very interested in learning what it's collecting, and maybe someone living in a area with laws allowing users to request their data should follow up with them.

← PreviousPage 4 of 4