Better HN
topnewbestaskshowjobs
Log inSign up

linux2647

859 karma · joined Feb 3, 2017 (9y ago) · 239 submissions

Stephen H.

Staff Software/Platform Engineer

hn@infinitecanvas.net

---

meet.hn/city/us-Fresno

Socials: - github.com/linux2647 - linkedin.com/in/infinitecanvas

---

Submissions

comment 2y ago · link · parent

Magnesium glycinate not very effective for being a laxative. Magnesium citrate is probably what you want.

comment 2y ago · link · parent

It’s kind of like an idempotency key assigned either by the request or generated at the beginning of processing that request

comment 2y ago · link · parent

Human languages. There are more than 7000 and I highly doubt I’ll ever have more than a few hundred devices in my lifetime.

comment 2y ago · link · parent

That’s what I get too

comment 2y ago · link · parent

Though a fan is recommended for the 4 and 5 models

comment 2y ago · link · parent

Or hacked it all together in Perl: https://xkcd.com/224/

comment 2y ago · link · parent

(2013)

comment 2y ago · link · parent

For those who’d never heard of that before, ToastyTech has a screenshot: http://toastytech.com/guis/auxcmdo-ls.png

(via http://toastytech.com/guis/aux3.html)

comment 2y ago · link · parent

Holy crap. MacOS emulation has gotten really good. I’m amazed how easily I was able to navigate the desktop from my phone. What’s powering this?

comment 3y ago · link · parent

Is there a minimum version of Postgres needed to use this? I’m having trouble finding that information in the docs

comment 3y ago · link · parent

But that’s part of the value proposition of Go: that it’s a small(-ish) language. I like that it lacks magic found in many other languages. Though I concede that the “simplicity” sometimes comes at the expense of developer ergonomics

comment 3y ago · link · parent

The demo at the top of the homepage (https://reflect.net/) is a lot of fun. While I was watching, every time the puzzle got completed, people would shake their cursor in excitement, like saying, "yay we did it!!"

comment 3y ago · link · parent

A bit OT: but TIL you can schedule a test 911 call.

comment 3y ago · link · parent

And written using Mac APIs, not Electron

comment 3y ago · link · parent

Everyone being descended from Adam and Eve

comment 3y ago · link · parent

> The envp argument contains another null-terminated list of environment variables used as context for the application. They’re… conventionally KEY=VALUE pairs. Conventionally.

TIL! It seems a lot of (newer) programming languages make this assumption.

> …I love computers.

Me too, kid. Me too.

comment 3y ago · link · parent

Followed by a string of “+1”s

comment 3y ago · link · parent

IIRC, part of the language proposal to make errors wrappable in Go’s stdlib included a stack trace. And indeed github.com/pkg/errors includes that. But it never made it into the stdlib implementation

comment 3y ago · link · parent

I’m not sure the pin/pen merger is a thing in the California San Joaquin Valley. I’ve only lived here for a few years and not heard the merger, and my wife–born and raised here–says them differently

comment 3y ago · link · parent

Their Fleet IDE is exactly that. It’s in development right now, but a public beta is available: https://www.jetbrains.com/fleet/

Edit: I just realized you meant the opposite, where the IDE is just a language server. Fleet is an IDE that uses language servers

comment 3y ago · link · parent

Case in point: TFA was submitted five days ago[0] and barely got any upvotes. Now this second submission has over 100 upvotes and made the front page

[0]: https://hn.algolia.com/?q=https%3A%2F%2Frandomshit.dev%2Fpos...

comment 3y ago · link · parent

FDWs still requires an instance of Postgres to be running. With implementing the Postgres wire protocol, you could theoretically use any Postgres driver to talk to a SQLite database with no client changes and no instance of Postgres

comment 3y ago · link · parent

Ah yeah that’s what I figured. In some of the repos at work, I’ve noticed that some intermediate error messages are identical, which makes it hard to know which error has actually been used.

comment 3y ago · link · parent

Is that a real stack trace, or just a trace of error message wrapping? I haven’t figured out how to extract a real error message using Go stdlib

comment 3y ago · link · parent

TIL the `until` shell syntax: https://github.com/patte/fly-tailscale-exit/blob/main/start....

comment 3y ago · link · parent

MacOS traditionally used `\r` for line endings. Unix (and thus macOS 10+) uses `\n` and Windows `\r\n`. Github isn't properly recognizing the files have classic MacOS line endings

57.

Big Dairy Is Trying to Get Gen-Z to Drink More Milk(nytimes.com ↗)

3 points · by linux2647 · 3y ago · discuss

comment 3y ago · link · parent

> Wrong links: http://blog.plover.com./prog/lib.html

That’s technically not incorrect. Host names, as far as DNS is concerned, always have a trailing “.” And my browser resolves the URL just fine

comment 3y ago · link · parent

Example: you don’t need AWS keys to write to SQS because the EC2 instance has an identity (“principal”) applied to it, and SQS has been configured trust requests from said identity for some set of queues. It’s typically cloud-specific in the implementation and the resources being requested
12345
8