Better HN
topnewbestaskshowjobs
Log inSign up

kortex

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

Submissions

comment 3y ago · link · parent

As far as I understand as a non-member, but as someone who has talked to one, they are really hurting for new members. I'm pretty sure if you just find a local lodge and email them they'd be happy to give an invite.

comment 3y ago · link · parent

I agree, it really grinds my gears when people use it as an objection to any attempt at improving a standard. People stopped taking it as what it is (a joke) and using it as an actual argument.

comment 3y ago · link · parent

Of course it's necessary and desirable. The "categorization system" in question already exists, whether it ought to or not. Bipoc have a more difficult socioeconomic situation, because of their skin color. Should "LGBTQ+" as a category not exist, because they are people just like straight people?

It is useful and meaningful to talk about the plight and state of, and advocate for, "Group XYZ that has been marginalized and experienced systemic violence throughout history, specifically because they are XYZ"

comment 3y ago · link · parent

Well, the Associated Press style guide squarely disagrees with you.

Not having a label for something makes it really difficult to talk about issues around that subject. How am I supposed to advocate for a group of people who have it rough, specifically for their skin color, if I can't use the term for their skin color?

https://blackvoicenews.com/2020/06/17/black-with-a-capital-b...

comment 3y ago · link · parent

It's complex but the reductionist explanation is that it is in part due to the euphemism treadmill, and in part etymological origin. "Colored" comes from the era of segregation, while "people of color" comes after.

But don't get too comfortable, as "people of color" will probably phase out soon as well. My money is first on "BIPOC" (as an initialism, usually sounding out the letters), giving way to "bipoc" (as an acronym, lower case, pronounced /baı-pok/). But I'm too white to make that call, just a guess based on linguistics patterns.

Even "BIPOC" is not without controversy. But afaik, no one has proffered an adequate word to describe "folks that have too much melanin to be considered white".

https://slate.com/human-interest/2016/08/colored-person-vers...

https://www.npr.org/2020/09/29/918418825/is-it-time-to-say-r...

comment 3y ago · link · parent

> A cached POST response can be reused to satisfy a later GET or HEAD request. In contrast, a POST request cannot be satisfied by a cached POST response because POST is potentially unsafe; see Section 4 of [CACHING].

So if you are using POST to query, you can't cache the response. You have to resort to POST/GET. With QUERY, you have idempotent requests with cacheable responses you can directly return.

comment 3y ago · link · parent

Yep. This is valid

    QUERY /graphql
    Content-Type: text/graphql
    {too lazy to write valid gql}
so is this

    QUERY /elasticsearch
    Content-Type: application/json
    {"name": "alice"}
Even this

    QUERY /my-ai-image-gen
    Content-Type: text/plain
    Draw me a picture of a cat
It's entirely up to the software to decide how to handle the request.

comment 3y ago · link · parent

It's absolutely awesome for implementing any kind of faceted search inside of a web application. Generating reports, finding resources, and of course social media do this sort of operation all the time. Gql makes it way cleaner and more efficient than GET this, parse it, POST a query, GET more things.

If you aren't in those spaces it probably seems unnecessary.

comment 3y ago · link · parent

It's agnostic, the QUERY verb has nothing to do with the actual implementation, or the content encoding. You can use any content encoding for your query body, and you can resolve it any way you see fit.

In mine, I was just caching raw sql queries, so it was literally just text/sql encoding, the query in the body, some metadata in headers, and a sqlalchemy engine to execute the query.

It's basically a way to get around the non-idempotency of POST and URI limitations of GET.

comment 3y ago · link · parent

It's definitely not a "tremendous" amount of work. At the bare minimum, you copy your POST code and change the verb, that's it. There's no need to cache, so you actually can handle it basically as idempotent POST.

> You can just handle your POST request idempotently

You actually can't though, and you don't usually have to look far to run into a case where this gives the wrong behavior. Better to just have a separate verb.

comment 3y ago · link · parent

I can't wait until this becomes a spec. I wrote a small middleware to cache sql and graphql queries and I implemented QUERY and Cache-Control. Worked great and saved a ton of bandwidth for developing and running reports, as I didn't have to worry about caching progress. I just reran the whole job. It was like <50 lines of python to pull it off.

comment 3y ago · link · parent

So? Just deal with it however one would deal with unruly POST requests, slow-walked multi-part, and other protocol abuse. No matter what, you need protection against bad actors trying to get the servers to do bad things.

comment 3y ago · link · parent

This kind of stuff makes me totally understand why they formally changed their name to Türkiye.

comment 3y ago · link · parent

> "ulcers aren't caused by stress, they're caused by bacteria" to "no actually ulcers might really be mainly caused by stress."

Por que no los dos? H. pylori needs to artificially buffer its micro-environment in order to survive. Anything which disrupts the production of stomach acid or digestive proteins could give it an edge.

Anecdata of 1, but I had a bout of bad chronic heartburn after eating at some sketchy food joint. I was popping omeprazole like crazy. Somehow in researching this, the topic of hydrogen forming bacteria came up. I somehow hypothesized that PPIs were actually exacerbating the problem, because the higher pH was allowing the bacteria to survive. I put myself on a high prebiotic/probiotic diet, stopped the PPIs and antacids, and it resolved completely by a few weeks later. I could easily see a similar thing happening with heliobacter.

comment 3y ago · link · parent

I actually did great for the first few months after switching to WFH, until other stressors overrode any benefit and messed me up in other ways.

comment 3y ago · link · parent

"Render unto Caesar" has grown well beyond the bible and is firmly embedded into cultural consciousness.

comment 3y ago · link · parent

And cars have multiple cameras simultaneously in 360° overlapping coverage. Plus you have motion parallax.

comment 3y ago · link · parent

I think largely because the prerogative is on the code author to reveal as little or as much about themselves, and the prerogative of library users is to sufficiently vet a package. If folks want to publish code pseudonymously, and folks want to use that code, as long as it's not abusive, what's to stop them? You can achieve basically the same effect with github, gitlab, or even plain self-hosted HTTP packages (pip just uses a convention for listing packages in a dir, any HTTP file host can be a package server), without PyPI.

I actually think the larger problem is Python's reliance on imperative code that executes at install time. Yeah you can use pip --download and extract it yourself, but folks rarely do that.

comment 3y ago · link · parent

Actually, hygiene hypothesis primarily applies to parasites and benign bacteria. Exposure to a wide variety of those reduces type II hypersensitivity (allergies and asthma) and digestive disorders. Data point of 1, I massively improved my allergies with helminth therapy.

Viruses and systemic bacteria kind of just fuck you up for the most part. Long COVID, Mono (EBV), Chickenpox/shingles, HSV 1 and 2, HPV, those all just wreck your body in difficult-to-repair ways, increase your risk of things like cancer and MS (and possibly dementia). Lyme, syphilis, and other nasties that hide from the body's defenses can cause lifelong inflammation, rewire your immune system to cause allergies and autoimmune disorders.

comment 3y ago · link · parent

There's nothing stopping you from adding to go.mod though, you just have to update the sumfile, no different than using pyproject.toml directly vs adding with CLI.

comment 3y ago · link · parent

Reminds me of Aksak rhythms in Middle Eastern / Mediterranean traditions. If you try to translate it to Western schemas, it is roughly 9/8. But that's not really correct, as that would imply 9 evenly spaced notes, with an emphasis on every 3 notes, or maybe a 4+5, or something like that. It's closer if you break it down like 2+2+2+3 (baka baka baka bakata), but that's also not quite right if you actually feel the flow. It's also not exactly the same duration eights. It really feels like a free flowing pulse (at whatever the 4/4 tempo would be), with a hiccup, almost like 4.333/4.

Master of Puppets has the same sort of feel going on. Chugging on 4/4, and then a lurchy measure of truncated 3/4 (like 2.5/4 and change). It doesn't feel "5/8-y" to me at all. It's fundamentally not on the meter - it's a groove. Much like non-Western tone systems don't map squarely onto 12 equal tones (or even 24). It's just a different schema.

I don't know if it was a conscious or subconscious choice, or if it just "sounds sick, man", but I feel like the solid 4/4 pulse that gets you headbanging, and then a measure which just gets yanked out from under, really invokes the feeling of someone who doesn't have control, who is having their strings pulled.

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

comment 3y ago · link · parent

I see $GOPATH is no longer strictly needed, which is nice. But what's the deal with $GOROOT? I seem to always need it set but I don't know if that's just my workflow or force of habit.

comment 3y ago · link · parent

What's "most modern languages"? Go is better than Python's native tooling (only Poetry and other similar 3rd party tools compare). Javascript I find unruly and fragmented. "Modern" C++ is still a nightmare.

Java I haven't touched but I don't exactly hear rave reviews or angry rants about, so I expect it's middling.

Rust, scala, and haskell are definitely better experiences, but they are definitely in the minority in terms of industry usage.

Go is not "quite bad", in fact far from it. I'd say it's better than average.

comment 3y ago · link · parent

Fluency in Ithkuil is probably impossible practically speaking. John Quijada himself doesn't consider himself fluent.

I actually think LLMs trained on conlangs is a super cool idea, but you'd need a huge corpus to do that. Kind of a bootstrapping problem.

comment 3y ago · link · parent

If a concept can be expressed as a sequence of tokens, then bam, we're done.

If a concept can't be expressed as a sequence of tokens, then it doesn't really matter, because no language can, since some concepts exist which are not computable, and all languages have the same drawback.

Either way, "English is the linguistic equivalent of Turing complete" is valid, since it is at the top of the hierarchy, and as powerful as any other language (eg everything Ithkuil can express, so can English).

comment 3y ago · link · parent

I fucking love ithkuil, in the same way I love marble machines and Rube Goldberg devices. Like as a concept, in practice, how it sounds actually spoken, the writing system. Every thing about it is just so extra. It has its goals and design criteria, and it just goes full send on them, fuck everything else, like ease of pronunciation, and I respect that.

comment 3y ago · link · parent

Precisely. Languages have more or less information density ("bits per symbol"), but when you look at information rate per unit time, it all works out to pretty similar.

Kind of like how QAM256 can convey more bits per symbol than QAM16, but it needs a lower baud for a given noise level, channel bandwidth, and error rate. You can squeeze out efficiency of a channel, but you can't overcome the noisy channel coding theorem max rate.

https://seantrott.github.io/information/

comment 3y ago · link · parent

English (or any human language with the possible exception of Pirahã) is not a formal grammar, but if it was, it would behave like a recursively enumerable one, at the top of the Chomsky hierarchy. Given enough time and enough text, you can express anything computable.

Think about it this way, I give you instructions in english, and you have to follow them:

    You are acting as a turing machine. Your symbols are s1, s2, ..., sn. Here are your processing rules: ... Here is your tape: ... Begin!
You could follow that process to the letter, given enough time, focus, and tape (insert xkcd reference about rocks in the desert).

comment 3y ago · link · parent

As someone who tinkers with conlangs as a hobby and has been working on a similarly highly-engineered language not unlike ithkuil in features, this is one of the main things I struggle with.

Actual natural language is very fluid. Spelling, pronunciation, grammar, all shift around, and for all manner of reasons. But the main one is efficiency. Humans are always subconsciously trying to cram as much information into as little time as possible, while preserving enough intent. This means extra redundant information whittles away, but there has to be enough redundancy for error correction.

With these highly compressed languages, the problem becomes that a slight mispronounciation or misspelling can totally mess with the meaning in ways which lead to confusion. There are just too many phonemic sounds (a given sound difference is phonemic if the distinction matters, eg in English, p and p' (aspiration) is non-phonemic, but in Korean it is)

When you actually analyze languages for their "baud rate" so to speak, languages with more symbol diversity (English) have less phonemes per unit time, while languages with less symbol diversity (Italian) have more phonemes, but the overall entropy per unit time works out pretty much the same. (I can't find my exact source right now, but if you poke around keywords like spoken language entropy rate, there's quite a bunch).

Basically when you have machine code as a language, you pretty much need machine brain to process it.

Edit: here's a start of some sources:

https://seantrott.github.io/information/

Which mostly cites https://www.science.org/doi/10.1126/sciadv.aaw2594

Also: re why no conlangs have taken over, momentum is a huge thing. We still have big iron running COBOL. Now imagine you hear COBOL from the moment you are born, for hours a day, you start babbling in COBOL, basically everyone around you converses in COBOL. It would be thoroughly entrenched.

There's a reason "English follows other languages down dark alleys, beats them up and rifles through their pockets for vocabulary". It is the lingua franca. It's incredibly flexible and extensible, and combined with superpower hegemony, it dominates. Any dominant language is bound to acrete vocab and eject dead weight (though why we still have dental fricatives is really weird).

comment 3y ago · link · parent

Even if towns had the infra money and political will (they usually don't), where's all this hypothetical infrastructure gonna go? Where I live, there's a main drag which is the ideal location for pedestrian infra, has all the shops, near the one (1) bus route we have. No sidewalks. No room to even put one in, without some massive eminent domain. Literally there are buildings in the way which would prevent any expansion.
1
151617
85