Better HN
topnewbestaskshowjobs
Log inSign up

kortex

8,487 karma · joined Feb 1, 2017 (9y ago) · 2,549 submissions

Submissions

comment 5y ago · link · parent

I can't confirm it, but I've studied language and etymology a ton, and I think there is a hidden etymology between "man" (referring to humanity as a whole) and the mama/mom/mammary cluster. Hear me out.

"Ma" is virtually always the first sound a baby makes, and is also reminiscent of breastfeeding, with the lips pursing together. It's widely hypothesized that because of this, the word for "mother" in nearly every language on the planet is some variant of "ma(m)".

"Da" and "pa" are the next-easiest sounds to make. Hence, "dada/papa" for father (originally pH₂tér in PIE, where h2 is the "a-colored laryngeal).

Anyway, we have the word "man", related to the Latin "homo", which is suspiciously close to "mama". Nowadays, "man" (and the Italian "uomo") has mostly masculine connotation. But it strikes me as really weird how close it is to such a feminine phoneme. My headcannon is that "mam" is the root of words referring to both "mother" (the first human a baby experiences) and "humanity" as a whole.

It's hard to tease apart the influence of "guma"/dhghem, the PIE for earth. Also related to "Adam" (as in "Adam and Eve") who was famously made from Earth...yes Genesis is essentially based around a giant pun in Hebrew.

Mama/dada/adamah/humana - they all swirl around the same phonetic space, and I don't think this is a coincidence.

https://www.etymonline.com/word/*dhghem-?ref=etymonline_cros...

https://en.m.wikipedia.org/wiki/Adamah

comment 5y ago · link · parent

You start to notice a lot of roots by applying a "toki pona" style phonetic rule: collapse all voiced and unvoiced consonants. Reverse Grimm's law. Th -> t. And then apply Arabic vowels: a, i, u. This is pretty much reversing the most common sound shifts over time.

f=v=b=p, g=k, d=t, y=o=u, e=i.

Cybernetics -> kupirnitics

Government -> kupirnit

It's probably also related to "operatus" (Latin for "work", things like cooperate and opera come from it) but I can't find sources. (co)operatus -> (k)upiratus

Another example is the famous "father" etymology:

Father/vader/pater -> patir (PIE *pH₂tér)

comment 5y ago · link · parent

I wouldn't be so confident 100% ("steering-wheel-less") L5 self-driving is possible. Long tail is a thing. There will for a long time be a need for manual override, for things like tricky parking or slow-speed maneuvering, bad weather, weird lightning conditions, etc.

That rules out de facto driving ban. That leaves driving ban by fiat. Also never gonna happen in this century, unless it carves out an exception for "classic cars."

As far as hazard ratios go, cigarette smoking is orders of magnitude more dangerous than driving. Not a good comparison.

comment 5y ago · link · parent

Throw the first one away. Especially when starting a run, plan on throwing away the starter base.

I learned this trick watching AntiElitz speedruns. He'll build a manual bootstrap "factory" (really just mines and smelting) to get plates, then build a very-polished-through-iteration bootstrap base which builds all the development essentials - circuits, arms, belts, ammo, etc. That's used to build the real base.

comment 5y ago · link · parent

Sounds a lot like clustorio.

https://mods.factorio.com/mods/Danielv123/clusterio

comment 5y ago · link · parent

That is an oft-echoed sentiment. I've experienced it a little bit myself, but the main reason I've fallen out of it (after a few fiercely addicted bouts) was it felt like I was exacerbating some RSI, especially with my mousing hand.

But yeah once you start thinking about on-demand rail delivery using signals as RPC...it's pretty work-like. :D The async nature of the inventory system means long-range signal transmission handling ends up feeling exactly like bit-banging on a microcontroller, which is sufficiently out of my current work scope that it's fun and interesting. Oh no, this makes me want to attempt the Ben Eater computer in factorio...

comment 5y ago · link · parent

I've heard this stated as "practice makes permanent ", especially in the context of physical arts, and also safety culture.

Once you start getting sloppy, it's time to context switch.

comment 5y ago · link · parent

Reminds me of the theory that reasoning is a mechanism for persuasion and social cohesion, not truth discovery.

The twitter mob isn't trying to anneal to some maximally accurate Goodreads rating of the book. It's "trying to do" (in the anthropogenic agency sense, like how evolution "wants") something else. Something more social and tribal in nature. But the system starts to go highly nonlinear once the crowd gets bigger than some size, and when the crowd is anonymous/pseudonymous handles, not members of your Dunbar's-number-sized-tribe, where reacting hyperbolically has real social consequences.

https://www.nytimes.com/2011/06/15/arts/people-argue-just-to...

comment 5y ago · link · parent

Ah, so like you have some process which generates your YAML/HCL, which is your "IR/assembly" layer, not meant for regular human consumption/editing, which is fed to Terraform. But it's readable/auditable, VCS-trackable, and diff-able.

I do that a lot as well and in fact I'm kinda leaning towards taking that approach from the get-go. Right now I start with the YAML, but then something makes inevitably leads me to templating it using make + jinja/gomplate, which eventually leads me to wanting to use python scripts, and then invoke (python package, it's like gulp or make).

It's not code, like business logic code, but it's too verbose and repetitive for human manual editing.

comment 5y ago · link · parent

You can reduce a little bit of the repetition in YAML with anchors.

There are tools that convert JSON/YAML into HCL.

https://learnxinyminutes.com/docs/yaml/#:~:text=yaml%20also%...

comment 5y ago · link · parent

Doesn't sound like it. Your only complaint is not enjoying videos games as much, and have a valid reason for it. That could just be maturity.

Burnout tends to have the opposite effect - you get sucked into mindless hedonistic things because your brain is overloaded on stress.

Your SO is going to be the best barometer on whether you are overworking. Ask them.

comment 5y ago · link · parent

That's my read on it. It's kinda obvious when you frame it that way. Use a substrate which limits the ion size and apply an electric field.

comment 5y ago · link · parent

>>> good developers solve problems, not languages or tools

>> At 25 years I have come to really appreciate some tools ability to help.

I've come to find there is a bidirectional connection between good developers and their tools. Good devs recognize and gravitate towards systems that help them thrive, and away from painful ones. Good tools draw in good devs, and the community gets stronger as a result.

IMHO, One hallmark of less-than-stellar devs is a tendency to stick with tools they are familiar with, because "it works." Great devs could get by with a magnetized needle and a steady hand, but they know there is better out there.

comment 5y ago · link · parent

Yeah this is exactly the kind of thing I mean. I worked at the company that makes CMake and I'd go to coworkers with questions like that...I forget exactly what I asked but it was something involving RVO and copy elision of a lambda/ anonymous function, and they had to ask around until we found a greybeard who knew the correct application of && and some other stuff. This wasn't even some heavy deep stuff, it was like a pubsub callback in ROS.

I had some really mission critical camera driver stuff I was working on and just never felt secure that there was a massive bug lurking, despite code review, Valgrind and testing. But on that same project, I had enough confidence to write a small daemon in Rust, with like...maybe 60h total experience in the language. Huge peace of mind knowing the code does what I expect it to do.

comment 5y ago · link · parent

> There is a sub-tribe within C++ that wants a simpler "subset of the superset". They believe C++ could be made into a healthy modern language which is practical to teach as a first language to students and still has excellent performance and hardware compatibility.

Yes. There is a "c++" which is simple, consistent, and fairly easy to use, but it's buried in the cruft of decades.

The biggest complaint about Rust's "hardness" is ownership and move/borrow mechanics. Modern C++ has std::move, ownership, and lifetime considerations.

Add to that smart pointers, initialization, a bloatastic std lib, an even more bloatastic pseudo-std lib that you need if you have to interop with anything older than 14 (boost), umpteen different build systems, compilers, toolchains, and all that on top of almost-not-quite-C-superset, and you have a massive surface area.

On another HN thread, someone commented that developers took 3x longer to get to speed in a Rust codebase than C++. I say no way, Jose. I was committing PRs in Rust within a few months. I still don't feel comfortable in C++ of any serious complexity. That's with 2 years of C experience, 1 yr of intensive C++, and like, a few months of rust.

comment 5y ago · link · parent

That'll be a fun one to throw at my kooky aunt, who insists that pasta in America gives her problems, but the stuff in Italy does not. She thinks it's GMO. I told her "GMO wheat" isn't even a thing.

> As of 2020, no GM wheat is grown commercially, although many field tests have been conducted, with one wheat variety, Bioceres HB4, obtaining regulatory approval from the Argentinian government.

> https://en.wikipedia.org/wiki/Genetically_modified_wheat

https://grainstorm.com/blogs/blog/is-wheat-genetically-modif....

comment 5y ago · link · parent

    * in rats
Rats are pretty good models for humans, but they are a leaky abstraction like all models. Obviously no one is arguing junk food is good for you, but rats have rather different dietary and metabolic needs than humans. Both Homo sapiens and Rattus norvegicus are garbage disposals of the animal kingdom, but believe it or not humans are actually a little better equipped to handle extreme diets vs rats. Feeding lab rats ultra-high fat diets is pretty much guaranteed to result in obesity, insulin resistance, and all the problems that come with it, but Inuits and other groups have survived thousands of years with exactly such a diet for large parts of the year.

Also, rats are wicked smart and even the "human" conditions for lab rats are likely insufficiently stimulating physically and mentally.

comment 5y ago · link · parent

Relevant: the list of integers you can convert to float, invert twice, and don't get the same number back.

https://oeis.org/A275419

comment 5y ago · link · parent

Uhhh I'm a person and I use YYYY/MM/DD and DD Mon YYYY (1 Jun 2021). I worked in a chemical lab for a while with a fairly international group of chemists, and those were the two preferred timestamp formats.

comment 5y ago · link · parent

Tons. This is great to slap in temperature controllers, actuators, control loop things and the like. I would probably use this in lieu of the Pi Automation Hat for things like my greenhouse controller, if I didn't already have the parts for it.

It would also be great for making into RS232 driven GPIO boards using a simple protocol.

Actually I'd love to see someone develop a daisy-chainable automation IO board using these. Auto-sense the neighbors, assign registers to I/O pins, and make a protocol based on Msgpack or a subset.

comment 5y ago · link · parent

Just solder pins to it and plug it in to a breadboard.

It is kind of a bummer that it seems to be 0.1" wider than a DIP socket.

comment 5y ago · link · parent

I can think of many application with no need for wireless backhaul, or where wireless becomes a liability. It boils down to cost, power, noise, security, frequency used, and complexity. LoRa or similar is probably better than Wifi for many applications. I like that it isn't opinionated about the wireless stack.

I'm guessing that lots of Picos will see use as enhanced GPIOs for Pi "motherships," which provide backhaul to multiple wired-in Picos.

In fact I have a project which could use a decidedly non-wireless USB GPIO, for use on an airplane imaging system.

comment 5y ago · link · parent

No jest at all. Depot and McMaster I'm quite happy with. Pardon the pun, McMaster-Carr is a masterclass in UX. I've always been amazed at how well their search works, how responsive and un-glitchy the site is. How you can have a cart while not logged in, then log in without a redirect or even a refresh or rerender. Exact same state, you're just now in a logged-in state. I don't know of many ecommerce sites that do that as seamlessly.

It's also been this way for years. They were ahead of the game even back then.

comment 5y ago · link · parent

Right. Maybe it's paranoid, but it seems like a bearer token has potential avenues for forgery (CSRF or others), replay attacks, add-on jacking, etc. Also harder to coordinate with distributed apps. I think the Captain Tightpants approach would be to initialize some client-side private key/cert, use that to sign each request and verify based on that cert.

That should also make it easier to, say, verify and unwrap the request at the gateway to the server, before sending it to the rest of the application-proper.

comment 5y ago · link · parent

UUIDv4 has performance implications. But I agree, if you are already coupled to the DB (due to the check loop), generally you might as well use sequential.

Seems too easy to screw up.

comment 5y ago · link · parent

Should you ever use a plain token (where you just check if it exists in some authed_users table) vs, I dunno, some sort of signed/HMAC type thing, where you have to call some function on it? I genuinely don't know but I know enough to generally leave authentication up to those that do know.

Maybe I'm just thinking of OAuth where there are multiple hops involved?

comment 5y ago · link · parent

6. Corner-cutting. I consider that distinct from blunders or bad contractors. See: the Pal-Kal construction method.

I consider that not part of the safety factor because IIRC it was basically fudged or outright ignored, often times with building inspectors paid off.

https://en.m.wikipedia.org/wiki/Versailles_wedding_hall_disa...

comment 5y ago · link · parent

Their whole online / app experience is a bit baffling, given the amount of revenue flowing through it. Search is terrible, inventory management is worse. Several times I've scanned a barcode of a pallet of things for a price check, only to get "No inventory in stock." Can't even get a hypothetical in-stock or online price. Other janky stuff I forget.

Lowes' website is a trainwreck, just Inspect Page it... for starters there's "todo" comments.

Home depot's experience is fantastic.

But if you wanna see the reigning champ of "online thing," www.mcmaster.com

comment 5y ago · link · parent

I've started adding to my reviews "I purchased the N-pack of color frobbing widget with feature ..." for exactly this reason. It's gotten really bad. Recently saw one which was a water filter assembly that was formerly a totally different kind of plumbing fitting (single part, nothing to screw up).
1
565758
85