HNHacker News
TopNewBestAskShowJobs

vhost-

851 karma · joined August 17, 2012

https://github.com/kyleterry

[ my public key: https://keybase.io/xvx; my proof: https://keybase.io/xvx/sigs/5UC6RpBsbDaBe9xckngQBoYQbvT4-uziKKr7o-saUdU ]

submissionscomments
vhost-··on The American West is figuring out how to keep cool
I live in Portland, a place covered in trees and there’s definitely plenty of water for them. When I travel through parts of East Portland, it’s very noticeably hotter and there’s a noticeable lack of trees. The problem seems to be part political, part budget and part passing the buck (BUT WHOS GONNA TAKE CARE OF THEM??). It’s very frustrating.
vhost-··on Microsoft Reportedly Readies $16B Bid to Acquire Valve / Steam
It’s rumoredly.
vhost-··on CircleCI Outage
Terraform's registry is showing the same thing: https://registry.terraform.io/
vhost-··on Diablo II: Resurrected
Try dying in Rust on one of the main servers
vhost-··on Dyson air purifier outperformed by cheap DIY box fan filter in Marketplace test
If Dyson had to choose one product to keep making, but discontinue all others, it should be the V11 vacuum. Runs forever and cleans very well. All their other shit can kick rocks.
vhost-··on Website allows you to experience what it is like to live with dyslexia (2016)
I’m dyslexic and for me, it’s hard to explain what happens exactly, but basically a lot of words are improperly understood to be what they are by my brain. This leads me to think they are different words and then the context of the thing I’m reading is not right. So I re-read paragraphs a number of times, very slowly. Because of this, I read at 50ish wpm with around 40% comprehension. I usually use a text to speech or screen reader to get long reading done, but people never take dyslexics into account when they design things so that can be a pretty miserable experience
vhost-··on Coyotes are being seen on the empty streets of San Francisco
And they gotta let everyone know they REALLY don’t like it when you put dog poop bags in their trash cans.
vhost-··on If You Can't Buy the Keyboard You Want, Build It Instead
I do this and it’s my favorite thing to show people to induce a mindfuck. I hold for control and tap for escape. Then I hold out for a day or two and make them go crazy before pasting them a link to the qmk docs page for the feature.

Edit: I won't hold out that long here. Here's the link to the feature to make this possible for anyone interested: https://docs.qmk.fm/#/feature_advanced_keycodes?id=mod-tap

vhost-··on Thundering Herds and Promises
Because then your caller will need to implement something that understands what a promise is instead of just getting a data object it already has to understand. Not only this, but the caller will need to also implement a polling mechanism to keep trying. Put into code:

  func get_value(key):
    value = backend.get(key)
    return value
Is way better than something along these lines:

  func get_value(key):
    while true:
      response = backend.get(key)
      if response.type == "promise":
        sleep duration
        continue
      return response.value
 
If your service looks like the former, then suddenly your unit tests can use a postgres database, a sqlite database, a rest client... that all implement the same backend.get(key) interface.
vhost-··on K3s – Lightweight Kubernetes
K8s doesn’t support swap, you have to disable swap to even run kubelet.
vhost-··on This is Your Brain Off Facebook - study offers glimpse of unplugging
I really hate the use of "unplugging" lately because it implies that Facebook IS the internet.
vhost-··on Evaluation of five password managers
It really doesn't. I'm a full time linux user and I can tell you the support from both lastpass and 1password is abysmal. I have to copy and paste my passwords from both of those platforms using their half-baked browser plugins that rarely work with linux clipboards.
vhost-··on Go Modules in 2019
care to explain why? I've been using it across all my projects just fine.
vhost-··on Backdoor in event-stream library dependency
Might be unpopular, but I'm super okay with maintainers just disappearing and ignoring their projects. Stop putting so much weight on the original package namespace. I know it's a lot of work, but in my experience, when maintainers disappear, the community creates a fork that's better maintained and people migrate to that version.

I think if you want to stop working on a project, and it's on github, just leave a note in the README, archive it and move on with your life. Don't give the keys to someone on the internet.

vhost-··on Why Standing Desks Are Overrated
Claims of the health benefits of standing desks are not about weight loss. I don't think I've seen that claimed at all. Claims I've seen most often are back related, blood pooling related, and cardiovascular/blood circulation.

The jury is still out, but subjectively, switching to a standing desk at least a few times a week really helped my posture and back.

vhost-··on Helm: Personal Email Server
Came here to say this. Aside from some customer support issues, I've had a very great experience with CenturyLink fiber. I have multiple static IPs and run a plethora of externally available services. I actually moved everything from Linode and digital ocean to my house and bought a APC battery backup and outside me unplugging my stuff to move it around, I've had no downtime at all.
vhost-··on Upgrading GitHub from Rails 3.2 to 5.2
here is some code from various Go codebases I work on. I had to anonymize some stuff because it's work related and the indentation is all borked, but this is the gist. I tend to wrap things like this up in closures. I almost completely use the go stdlib. In case you were curious.

https://gist.github.com/kyleterry/55468cb4ff9ce2e9f0156491c4...

vhost-··on Remote Code Execution on a Facebook server
I also don't understand why frameworks insist on returning debug data as part of the response. If you are working on something in a development cycle and need debug information, surely you have access to the server that's running in your console. I've always printed debug information there and then send the response. That prevents these kinds of leaks if the server is deployed with debug turned on.
vhost-··on Electronic Circuit Simulator in the Browser
I built a simple keyboard matrix with a "scanner": http://tinyurl.com/yanykyws

That LED represents a something (probably firmware on the keyboard) reacting to the switch being pressed by a user.

Edit: I used a decade counter with a 5 col matrix for simplicity. I was using a 4 bit binary counter, but the browser started really bogging down with a bunch of components.

vhost-··on Pratham OS: Linux distro based on Debian Sid
I have no idea what it is because that landing page, or any other page on the website for that matter, doesn't tell me anything.
vhost-··on Sleeping in on the weekends might prevent an early death
Glad I snipped that in the bud
vhost-··on Fuck You Startup World (2016)
Plenty of people are judged for this shit when they have reading disabilities and learning disabilities. Fuck that advice.
vhost-··on Background checks pay for Checkr, which just raised $100M
I got served a court summons for someone who shares my name that was being sued for not paying 100k in medical debt to MY WORK. it was super embarrassing and they walked in and threw papers at me.

It took me months to get it figured out because the people responsible for serving me just ignored me. They refused to believe they made a pretty massive research mistake. We had different middle names and birth dates.

vhost-··on Theranos’ Letter to Shareholders Shows the Company Is on Its Deathbed
More like commander at the dive bar.
vhost-··on Why Can't Hollywood Make a Good Video Game Movie?
Metal Gear Solid.

Edit: also overwatch has a HUGE lore behind it.

vhost-··on Theranos’ Letter to Shareholders Shows the Company Is on Its Deathbed
Or Magic: The Gathering. Let me just look at my hand just a few more times. Surely there's a response to this!
vhost-··on Subscribers are the new, new thing in business
There's a bright red bar on the bottom with buttons to subscribe to the economist for 12 weeks :-D
vhost-··on Do not use NPM 5.7
This is actually why I like working with C and Go. The compilers are on the build server and I just publish the resulting binary on a barebones production server after the build passes. In the past, working with Django, people always gave me shit for vendoring python package as part of the build, but it's to avoid having needlessly complex production environments and to remove the need for package managers.
vhost-··on The outdoor community made water filtration a must for a reason
Years ago my friends and I took a trip to the Wallowas in Oregon near the Idaho border. We were mostly camping backcountry with a few nights at campgrounds. I filtered my water at the campgrounds, but when we went backcountry, I was about to just put my bottle in the stream and one of my friends stopped me and told me to filter it and to never just drink out of a stream regardless of where you are in the US.

He was from that area and told me that ranchers will let their cattle graze where ever they want, even on protected federal land, polluting pretty much every water source and everything downstream. They were very right. We saw cattle feces everywhere. It was very unsettling.

Edit: I also got giardia at Smith Rock one time and it wasn't fucking pleasant.

vhost-··on Slack is down
Slack has shared channels: https://get.slack.help/hc/en-us/articles/115004151203-Create...
Page 1 of 9Next →