HNHacker News
TopNewBestAskShowJobs

zbuttram

251 karma · joined December 14, 2015

submissionscomments
zbuttram··on Show HN: Vanilla JavaScript refinery simulator built to explain job to my kids
Great to see a spiritual successor to SimRefinery[1] after all these years!

[1] https://en.wikipedia.org/wiki/SimRefinery

zbuttram··on UniFi 5G
> Apple is actually the opposite of Ubiquiti -- they don't want you to be able to configure anything or have any visibility into anything.

True, however before I was running a UniFi household I did quite enjoy Apple's Airport equipment. Back in the day it felt like they were the first time I had consumer networking equipment that I wasn't forced to reboot regularly to resolve issues.

zbuttram··on Framework Sponsors CachyOS
Not a fan of either but I feel obligated to point out they don't appear to be sponsoring Omarchy, they just posted about it on their social media account(s). Hyprland they actually did do a small sponsorship for.
zbuttram··on Uncloud - Tool for deploying containerised apps across servers without k8s
Very cool! I think I'll have some opportunity soon to give it a shot, I have just the set of projects that have been needing a tool like this. One thing I think I'm missing after perusing the docs however is, how does one onboard other engineers to the cluster after it has been set up? And similarly, how does deployment from a CI/CD runner work? I don't see anything about how to connect to an existing cluster from a new machine, or at least not that I'm recognizing.
zbuttram··on Cache
I almost used this recently to gain more control over the HTTP cache behavior in our app at work, but eventually realized what I wanted could be achieved by combining plain old cache headers with some more intelligent cache busting query strings. I would definitely like to see some more real-life examples where this API provides unique benefits over traditional cache handling.
zbuttram··on A proposal to restrict sites from accessing a users’ local network
With the proposal in the OP, I would think so yes. But the MacOS setting mentioned directly above is blanket per-app at the OS level.
zbuttram··on A MySQL compatible database engine written in pure Go
The readme mentions at least one interesting use which presumably is the impetus for its creation: https://github.com/dolthub/dolt
zbuttram··on Cities Skylines 2 runs with 20fps on an Nvidia RTX4090
The issues in question here surface even with an empty city, at higher populations the CPU will almost certainly become the issue but right now most of the complaints are unrelated to sim performance and it even seems like for most people the sim performs quite well even at higher populations.
zbuttram··on Cities Skylines 2 runs with 20fps on an Nvidia RTX4090
Seems like this was likely from before the hotfix that was released this morning which has improvements for some of the more egregious issues mentioned like DOF, LOD, and global illumination: https://store.steampowered.com/news/app/949230/view/37093367...

Still far from ideal but glad to see movement so quickly from the dev team and as has been mentioned the game is certainly playable albeit with some setting tweaks.

zbuttram··on Windows 11: Just say no
So the last "good" Windows was what then, 3.1? Modern lock screens are essentially just glorified login prompts and we had that in 3.11 I believe.
zbuttram··on Show HN: PSX Party – Online Multiplayer Playstation 1 Emulator Using WebRTC
I've been noticing some of the same with The X-Files. There are seemingly random shots with lower quality, and any shot with heavy VFX looks original, but most of it now looks quite sharp.
zbuttram··on List of Twitter mute words for your timeline
My assumption is that is only for the particular ad or company and that they will just show you ads from other places instead. More of a way to nudge the system into showing you more "relevant" promoted tweets than actually removing them.
zbuttram··on "Google Stadia is not a product that exists because people want it"
There will almost certainly be some tie-in with Microsoft's impending xCloud-based streaming service. Given that they will be starting from a position where people already own games on their platform plus the addition of Xbox Game Pass, I expect that service to really eat into any potential Stadia users.
zbuttram··on James Mickens’ Tenure Announcement
I will absolutely take this opportunity as others have to praise James Mickens. I'd encourage anyone to simply go type his name into YouTube and watch some talks if you haven't.
zbuttram··on Postmortem: Every Frame a Painting (2017)
I follow a decent amount of video essay channels on YouTube, some better than others, here are a few that I think operate around the same level of quality as Every Frame a Painting:

Lessons from the Screenplay - Similar to EFaP but for screenplays (obviously)

Wendover Productions - Many topics but generally focuses on Logistics, Aviation, Economics, Geography, and their intersections

Ahoy - Video games, firearms, and their intersection

NoClip - Video games; Their format is more traditional documentary as opposed to video essay, but I feel compelled to mention them here due to their quality work (disclaimer: I donate to them via Patreon)

zbuttram··on Frustrations with React Hooks
There are no "non-js things" going on. I'll grant that they're doing some out of the ordinary things in order to support hooks and suspense, but it's still just JavaScript.

Edit: If you want to see how hooks are implemented without needing to understand the React codebase, Kyle Simpson has a project that provides hooks for non-React functions, the implementation is all in one file: https://github.com/getify/TNG-Hooks/blob/master/src/tng-hook...

zbuttram··on Understanding Kafka with Factorio
My solution to this is just a mod for being able to interact with anything on the screen, and another for being able to move through all the gaps in structures you can't normally squeeze through. I think they are "Long Reach" and "Squeak Through", respectively. You still end up having to move around, but its much closer to what you're looking for, especially once you start getting player speed upgrades.
zbuttram··on People Wearing AirPods Are Making Things Awkward for Everyone Else
I tend to stick to one AirPod at a time unless I'm listening to something where I really want both audio channels which also has the added benefit of allowing you to have a backup AirPod at full charge. I assumed a lot of people were also doing this but maybe not?
zbuttram··on Simple script to analyse your PostgreSQL database config, give tuning advice
Also the Dockerfile seems to be in the repo. Looks like it just installs some apt packages and adds the script file: https://github.com/jfcoz/postgresqltuner/blob/master/Dockerf...
zbuttram··on Ask HN: Current and former FB employees, what's the other side to the story?
This may be true but its very easy to argue that an organization with the global influence of Facebook deserves that kind of scrutiny. The average Joe may look like an asshole under the same lens, but I would also say the potential effects of his assholery are generally far more limited by comparison.
zbuttram··on AirPods get stuck in low-quality 16 kHz audio mode when starting a VM
I have Toothfairy and it is amazing as a quicker way to connect my AirPods to my Mac, but I've tried that option for disabling input and it didn't seem to work for me unfortunately. Still absolutely worth the $3 for the other features though.
zbuttram··on AirPods get stuck in low-quality 16 kHz audio mode when starting a VM
All of my iOS devices are rather new, perhaps it depends on which one. I've used Siri, made calls, and spoke in channels on Discord without having it happen on my iPhones 7 and XS, and 2018 iPad. In comparison, my Macs are a 2013 Macbook Pro (running Mojave) and a Hackintosh desktop (still on High Sierra).
zbuttram··on AirPods get stuck in low-quality 16 kHz audio mode when starting a VM
I do have trouble switching between devices occasionally, but none of the other symptoms.
zbuttram··on AirPods get stuck in low-quality 16 kHz audio mode when starting a VM
Doesn't happen on iOS though, which leads me to think it must be a limitation of the Bluetooth hardware in Macs but not in iPhones and iPads?
zbuttram··on AirPods get stuck in low-quality 16 kHz audio mode when starting a VM
Yep, happens any time the AirPods mic is activated on MacOS, has been that way since launch as far as I know. Doesn't happen on iOS. I can only assume it has something to do with the Bluetooth hardware or they would have fixed it by now.
zbuttram··on Epic Games banked a $3B profit in 2018
The situation for Fortnite as it was may have been dire, but as a company I imagine UE4 licensing would have kept them in business at the very least.
zbuttram··on Amazon driver arrested after taking GPS 'bait' package off Washington Co. porch
Being from the US, I'm actually surprised to learn it isn't the same everywhere. How do people get their packages if they work during delivery time every day? Does everyone just drive down to the shipping warehouse?

Also, I'm not sure how it works outside the US, but here frequently packages with higher value items will require a signature and therefore wouldn't be left on a porch.

zbuttram··on The Rise of Microsoft Visual Studio Code
I tend to agree except for languages where the plugin ecosystem on VSC is still lacking. Ruby, for example. RubyMine is still much nicer by comparison, especially when working with Rails.
zbuttram··on The Baseline Costs of JavaScript Frameworks
For React forms and validation the combo of Formik and Yup is quite nice. Formik takes a schema prop specifically for integration with Yup, it's covered in the docs.

https://github.com/jaredpalmer/formik

https://github.com/jquense/yup

zbuttram··on Programming Paradigms for Dummies: What Every Programmer Should Know (2009) [pdf]
Just wanted to point out that JS has TCO coming, just a question of if/when engines have it implemented. Looks like Safari/JSCore is pretty much the only one so far though: https://kangax.github.io/compat-table/es6/#test-proper_tail_...
Page 1 of 3Next →