Better HN
topnewbestaskshowjobs
Log inSign up

asimpson

47 karma · joined Aug 3, 2012 (14y ago) · 29 submissions

Submissions

comment 4mo ago · link · parent

> 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.

comment 4mo ago · link · parent

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

comment 7mo ago · link · parent

…you have bigger problems

comment 12mo ago · link · parent

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.

comment 1y ago · link · parent

I wonder if there would be a perf increase on the Mac minis if they ran OrbStack instead of Docker?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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.

comment 4y ago · link · parent

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.

10.

New Evidence on the Impacts of Birth Order (2017)(nber.org ↗)

2 points · by asimpson · 4y ago · discuss

comment 4y ago · link · parent

Fly.io is really good.

comment 4y ago · link · parent

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 :)

comment 8y ago · link · parent

you forgot this: /s

comment 8y ago · link · parent

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?".

comment 9y ago · link · parent

This is why I made a service to serve up RSS feeds for Youtube channels, ytrss.co.

Love live RSS! :)

comment 9y ago · link · parent

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.

17.

Node web scraper cookbook(github.com ↗)

2 points · by asimpson · 10y ago · discuss

18.

App.net to Twitter Cross-poster(github.com ↗)

1 points · by asimpson · 13y ago · discuss

19.

Three Handy IFTTT Recipes(adamsimpson.net ↗)

1 points · by asimpson · 13y ago · discuss

20.

Huffduffer - your own podcast feed(huffduffer.com ↗)

1 points · by asimpson · 13y ago · discuss

21.

ImageOptim CLI(github.com ↗)

3 points · by asimpson · 13y ago · discuss

22.

Slanted Elements with CSS3(seesparkbox.com ↗)

1 points · by asimpson · 13y ago · discuss

23.

A Fluid Userscript that adds a Read it Later Button to Twitter(adamsimpson.net ↗)

1 points · by asimpson · 13y ago · discuss

24.

Rename Utility for OS X(adamsimpson.net ↗)

3 points · by asimpson · 13y ago · discuss

25.

Alfred Extension to display IP in large type(adamsimpson.net ↗)

4 points · by asimpson · 13y ago · discuss

26.

Bash function to copy IP to clipboard(adamsimpson.net ↗)

6 points · by asimpson · 13y ago · 2 comments

27.

A few Bash Tips(adamsimpson.net ↗)

2 points · by asimpson · 14y ago · discuss

28.

Blogs, Data, and Social Networks(adamsimpson.net ↗)

1 points · by asimpson · 14y ago · discuss