News for hackers. Stuff that matters.

asimpson

Re:The US Government Is Now a Shareholder in 26 Companies on Thursday July 02, 2026 @02:16PM (#48765365)
> The gov can use it's buying power to sway things towards Intel, for example, over AMD

Pretty sure that's the goal: the government wants a competent cutting edge chip maker on US soil.

Re:The US Government Is Now a Shareholder in 26 Companies on Thursday July 02, 2026 @02:08PM (#48765271)
The investments listed here in the article make this seem like an effort to shore up or incentivize industries or companies that are integral to national defense. One example, in the ongoing US-China trade war one of the strongest moves China did was put [export controls on rare earth minerals][1] which are essential components across technology, defense, and healthcare to name a few. The government investing in these companies isn't ideal from a free enterprise perspective but seems rational from a national security perspective.

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

Re: on Thursday April 09, 2026 @07:35PM (#47711694)
…you have bigger problems
I've used a HP EliteDesk 800 G4 SFF (with an i5-8500) as a NAS/home server for several years now. It's quiet, power efficient, has space for 2 HDDs plus additional nvme slots and regular PCI-e slots. These type of machines are cheap to get on eBay, I highly recommend getting one.
Re:Cheap mini PCs have gotten good on Sunday May 18, 2025 @09:40PM (#44025839)
I wonder if there would be a perf increase on the Mac minis if they ran OrbStack instead of Docker?
Re:DeskPad – A virtual monitor for screen sharing on Friday October 11, 2024 @11:49AM (#41810549)
You can achieve something similar using vlc + slop on Linux, here's the script I usually use (I run i3 typically).

    selection=$(slop -f %w,%h,%x,%y)
    width=$(echo "${selection}" | cut -d , -f 1)
    height=$(echo "${selection}" | cut -d , -f 2)
    top=$(echo "${selection}" | cut -d , -f 4)
    left=$(echo "${selection}" | cut -d , -f 3)

    cvlc --no-video-deco --no-embedded-video --screen-fps=20 --screen-top=$top --screen-left=$left --screen-width=$width --screen-height=$height screen:// &
Then "just" share the VLC window instead of your desktop.
Re:Docker Performance Evaluation Across Operating Systems on Tuesday August 27, 2024 @03:47PM (#41372116)
Important caveat: "Apple MacBook Pro with Intel chip was used in tests that met all requirements specified in this section". What I really want to see is performance evaluations between current generation x86 Linux, x86 Windows, and ARM macOS.
My experience as well. While I’d love a proper go to source approach, chatGPT nails most of the issues I run into with SwiftUI.
Ah yes, this footgun. Sometime last year I discovered our QA databases had all been locked with a ransom demand, how were they exposed? We had `ufw` blocking the db port?! Ah yes, Docker -p. smh.
Re:Ask HN: Where to deploy a Docker container easily? on Wednesday April 20, 2022 @07:12PM (#31104258)
Fly.io is really good.
Re:Play audio only on YouTube and save bandwidth on Friday February 04, 2022 @09:53AM (#30207459)
I've been working on a small Go program to do this specifically for the lofi hip hop beats youtube stream (file here: https://git.sr.ht/~asimpson/lofibar/tree/exec-ffmpeg/item/ma...). You can pretty easily parse the Youtube page to get the HLS stream and pass that to ffmpeg. No need to even have the overhead of another browser tab then.

P.S. also if anyone knows how to statically compile ffmpeg or libvlc into go I'd love to know :)

you forgot this: /s
Re:Learning Rust on Friday March 16, 2018 @01:21PM (#16602238)
100% agree with this! I used Advent of Code this year to explore Common Lisp. If you have any programming experience it becomes a fun hunt of "ok, I need to loop over an array. How do I do that in X lang?".
Re:RSS: there's nothing better on Friday November 17, 2017 @01:12PM (#15724437)
This is why I made a service to serve up RSS feeds for Youtube channels, ytrss.co.

Love live RSS! :)

Re:Ask HN: What tasks do you automate? on Friday July 21, 2017 @11:20AM (#14821224)
I love scraping websites, it's a stupid hobby at times, but I dig it (https://github.com/asimpson/nodejs-web-scraper-cookbook).

A couple successful scraper projects: 1. I automated buying an iPhone 6 when it came out at the time with a scraper + Twilio for SMS notifications. 2. I setup a scraper to alert me when certain blue-ray titles were available to reserve at the library. 3. I found a site that posted full NBA replays the day after a game. I set up a scraper to on their RSS feed for a couple teams and uploaded the videos to S3.

I've also automated notifications for when my sump pump gets flipped off. My sump pump is connected to a ground fault outlet which can rarely get flipped. I plugged in a spare raspberry pi to the same outlet and have my synology ping the IP periodically. If the synology can't find the pi it sends me a sms via twilio.