News for hackers. Stuff that matters.

vhost-

Re:How do you cool a 100F city? on Thursday June 13, 2024 @12:09PM (#40671422)
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.
It’s rumoredly.
Re:CircleCI Outage on Tuesday July 18, 2023 @01:09PM (#36775848)
Terraform's registry is showing the same thing: https://registry.terraform.io/
Re:Diablo II: Resurrected on Saturday February 20, 2021 @02:09PM (#26206865)
Try dying in Rust on one of the main servers
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.
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
And they gotta let everyone know they REALLY don’t like it when you put dog poop bags in their trash cans.
Re:If You Can't Buy the Keyboard You Want, Build It Instead on Sunday December 15, 2019 @02:33PM (#21798395)
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

Re:Thundering Herds and Promises on Wednesday April 17, 2019 @10:26PM (#19688251)
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.
Re:K3s – Lightweight Kubernetes on Wednesday February 27, 2019 @11:49AM (#19264465)
K8s doesn’t support swap, you have to disable swap to even run kubelet.
I really hate the use of "unplugging" lately because it implies that Facebook IS the internet.
Re:Evaluation of five password managers on Friday December 21, 2018 @03:12PM (#18736201)
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.
Re:Go Modules in 2019 on Wednesday December 19, 2018 @01:30PM (#18718006)
care to explain why? I've been using it across all my projects just fine.
Re:Backdoor in event-stream library dependency on Monday November 26, 2018 @02:23PM (#18536041)
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.

Re:Why Standing Desks Are Overrated on Monday November 19, 2018 @12:45PM (#18488131)
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.

Re:Helm: Personal Email Server on Wednesday October 17, 2018 @02:00PM (#18241694)
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.
Re:Upgrading GitHub from Rails 3.2 to 5.2 on Friday September 28, 2018 @09:46PM (#18098273)
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...

Re:Remote Code Execution on a Facebook server on Friday August 24, 2018 @06:30PM (#17838279)
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.
Re:Electronic Circuit Simulator in the Browser on Wednesday July 25, 2018 @05:11PM (#17612847)
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.

Re:Pratham OS: Linux distro based on Debian Sid on Friday July 06, 2018 @02:12AM (#17469317)
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.
Glad I snipped that in the bud
Re:Fuck You Startup World (2016) on Saturday May 05, 2018 @02:29PM (#17003079)
Plenty of people are judged for this shit when they have reading disabilities and learning disabilities. Fuck that advice.
Re:Background checks pay for Checkr, which just raised $100M on Thursday April 12, 2018 @02:36PM (#16823669)
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.

More like commander at the dive bar.
Re:Why Can't Hollywood Make a Good Video Game Movie? on Wednesday April 11, 2018 @05:06PM (#16815633)
Metal Gear Solid.

Edit: also overwatch has a HUGE lore behind it.

Or Magic: The Gathering. Let me just look at my hand just a few more times. Surely there's a response to this!
Re:Subscribers are the new, new thing in business on Wednesday April 11, 2018 @03:46AM (#16808905)
There's a bright red bar on the bottom with buttons to subscribe to the economist for 12 weeks :-D
Re:Do not use NPM 5.7 on Thursday February 22, 2018 @02:07PM (#16440396)
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.

Older »