Better HN
topnewbestaskshowjobs
Log inSign up

programd

2,559 karma · joined Dec 16, 2010 (15y ago) · 507 submissions

I consult on designing and developing modern, performant API servers running in Kubernetes/Docker or virtual machine environments. Mostly Go, but PHP, C/C++, and Rust also. Contact me at programd@nulladmin.com if you have a project you need help with.
Submissions

271.

Interactive Multi-Robot Painting Through Colored Motion Trails(frontiersin.org ↗)

1 points · by programd · 6y ago · discuss

272.

California wildfires bring internet outages(sfchronicle.com ↗)

1 points · by programd · 6y ago · discuss

comment 6y ago · link · parent

THe Kiva video is not state-of-the-art I think. Check out this automated grocery warehouse, something right out of Factorio:

https://www.youtube.com/watch?v=4DKrcpa8Z_E

Humans would just get in the way and get mangled.

274.

Search historic newspaper photos using Newspaper Navigator(news-navigator.labs.loc.gov ↗)

41 points · by programd · 6y ago · 10 comments

275.

Large-Scale Abuse of Contact Discovery in Mobile Messengers [pdf](encrypto.de ↗)

1 points · by programd · 6y ago · discuss

comment 6y ago · link · parent

For some reason the entire article reminds me of the artwork descriptions in Rimworld. For example:

https://imgur.com/gallery/byYi9

comment 6y ago · link · parent

There are a number of such tools out there. Here's a short list. I'd be interested in any experiences people have had with them in largish production environments.

https://www.kubeval.com/

https://github.com/zegl/kube-score

https://stelligent.github.io/config-lint/#/

https://github.com/cloud66-oss/copper

https://www.conftest.dev/

https://github.com/FairwindsOps/polaris#cli

comment 6y ago · link · parent

Why bother connecting the solar arrays to the habitat? Just hook them up to microwave transmitters and beam the power to the cylinders. That way you can have the solar arrays anywhere it's convenient, maybe even in position to shade the entire colony so that the heat disposal problem is less of an issue.

comment 6y ago · link · parent

My impression is that nobody bothers with the Go flags package and most people use the POSIX compatible pflag [1] library for argument parsing, usually via the awsome cobra [2] cli framework.

Or they just use viper [3] for both command line and general configuration handling. No point reinventing the wheel or trying to remember some weird non-standard quirks.

[1] https://github.com/spf13/pflag

[2] https://github.com/spf13/cobra

[3] https://github.com/spf13/viper

280.

NASA's Lunar Loo Challenge seeks new designs for a Moon toilet(herox.com ↗)

2 points · by programd · 6y ago · discuss

281.

Running Go in the Browser with Web Assembly (WASM)(qvault.io ↗)

1 points · by programd · 6y ago · discuss

comment 6y ago · link · parent

And here is the paper [1] about how they procedurally generate the histories in Caves of Qud. Very interesting both from a storytelling theoretical point of view, and from a practical programming point of view (state machines and replacement grammers)

[1] http://www.freeholdgames.com/papers/Generation_of_Mythic_Bio...

Makes you wonder what you could do applying something like the GPT-3 AI text model to this kind of problem (history generation).

comment 6y ago · link · parent

Reminds me of Genghis [1], the granddaddy of walking insect-bots made by Rodnay Brooks back in 1989. Brooks' robot had a vary cool approach to learning to walk where he "removed all cognition processors from Genghis and left only the sensors and the code/hardware to allow it to walk"

[1] https://en.wikipedia.org/wiki/Genghis_(robot)

comment 6y ago · link · parent

For the global economy, the Baltic Dry Index. It's a benchmark for the price of moving major raw materials by sea. Surprisingly, it's at about the same value as last year at this time - so not horrible - and seems to have bottomed out last month. Good news overall.

https://tradingeconomics.com/commodity/baltic

comment 6y ago · link · parent

This Lemur Pro is an amazing deal. An i7/40G/1TB $1700 Linux laptop that weighs about as much as the now discontinued Macbook. That's just a dream travel machine.

I've been waffling around thinking about getting an old refurb Macbook (not Pro, plain Macbook) just for carrying around town and to client locations, but this is obviously way, way better for not much more money.

Think of all the Kube clusters and Docker containers you could be running on it. The mind boggles!

286.

Cross-Platform Apt Espionage Attacks Targeting Linux, Windows and Android [pdf](blackberry.com ↗)

2 points · by programd · 6y ago · discuss

287.

Bringing Destiny 2 to Stadia: A Postmortem(stadia.dev ↗)

1 points · by programd · 6y ago · discuss

comment 6y ago · link · parent

Learn to write. This is a widely applicable skill, not just for engineers of course. You'll be writing all sorts of technical documentation, code comments, bug reports, proposals, post-mortems, blog articles, architecture descriptions, random emails, etc, etc. This should really be a skill you learn in school, but I don't think it's stressed enough in engineering schools.

Fortunately it's not hard to get good at this. Mostly find some good examples and copy their general format. You'll go far if you just commit to writing good documentation for whatever project you're working on currently, then it just gets easier with practice. But you have to commit and never skimp on the docs - even if you don't enjoy it. It ain't done until the documentation is done.

Oh, and learn to touch type.

And vi. You'll be able to use vi for the rest of your life on every computing machine ever built :)

comment 6y ago · link · parent

Compare and contrast the NYT article to the sublime beauty of a classic in the genre:

https://www.youtube.com/watch?v=-s4nVg_W_6Y

290.

SuperBIT Balloon-Borne Imaging Telescope(sites.physics.utoronto.ca ↗)

1 points · by programd · 6y ago · discuss

comment 6y ago · link · parent

Here's the link to the original "What Colour are your bits?" blog post by Ansuz - very much worth reading

https://ansuz.sooke.bc.ca/entry/23

292.

Generative Design Is Doomed to Fail(danieldavis.com ↗)

2 points · by programd · 6y ago · 1 comment

293.

15MW reference wind turbine design Git repository(github.com ↗)

2 points · by programd · 6y ago · discuss

comment 6y ago · link · parent

Also worth noting is the section where they point out the gaps in Bluetooth specifications regarding error handling, failures of vendors to adhere to the existing specs, and terrible state of Bluetooth certification which allowed these stacks to pass muster. Read it and weep.

295.

A Bayesian machine scientist to aid in the solution of scientific problems(advances.sciencemag.org ↗)

1 points · by programd · 6y ago · discuss

comment 6y ago · link · parent

Worth noting that Multipass does not support launching VMs with bridged networking. See this issue for details:

https://github.com/canonical/multipass/issues/118

This means that your VMs won't be able to get IP addresses on your LAN via DHCP. Kind of a fundamental omission for this kind of product I would think. Curious that it's not a high priority issue for them.

Also, what's the IPv6 story here? I didn't see anything in the docs addressing that, unless I'm missing something.

comment 6y ago · link · parent

Try Kanboard https://kanboard.org/

Minimalistic UI that gets out of your way, easy to run in Docker, fast, lightweight. I think it hits all your requirements.

comment 6y ago · link · parent

Big caveat: multipass does not support bridged networking so you can't configure your VM as just another server on a local network. See this issue:

https://github.com/CanonicalLtd/multipass/issues/118

299.

Mountain Gravity Energy Storage[pdf](pure.iiasa.ac.at ↗)

1 points · by programd · 7y ago · discuss

comment 7y ago · link · parent

I've actually been looking at those vs the Intel NUC. The DeskMini looks great on paper, but ASRock seems to have some quality issues with those boards. That includes the Intel version of the box. More then 25% bad reviews on Newegg/Amazon last I looked.

On the other hand, they're so cheap you can just buy two. That way you have another one on hand when the first one craps out in six months.

My impression is that the NUC has better quality these days - if you can find one. The i5 and i7 models seem to have virtually disappeared from store shelves within the last month and nobody knows when they're getting more. Otherwise the NUC is amazing bang for the buck if you want a small form factor. The power of a Mac Mini for roughly half the price. And apparently you can Hackintosh it fairly easily.

If you don't care about size, you can build a high quality 8/16 core Mini-ITX based AMD server with a mid-range video card for ML applications at less then $800.

1
91011
17