skysight-inc/HackerNews huggingface dataset:
i think i wrote that page originally 22 years ago, before the switch from usemodwiki to mediawiki; while i've often been referred to wikipedia to correct my errors, i think this is the first time i've been referred to a wikipedia page that i wrote in the first place :)

it's true that, if your data is exactly sorted, or has a small number of items that are far too early (e.g., 43 3 4 5 6 7 8 9 10), you can modify bubble sort to notice this and exit early, at the expense of making it more complicated and even slower in the average case

however, this doesn't help if instead you have a small number of items that are far too late (e.g., 4 5 6 7 8 9 10 43 3), in which case bubble sort takes the same number of passes as it normally would, while insertion sort takes linear time. of course you can complicate bubble sort further into "shaker sort" to handle this, which makes it even more complicated but at least doesn't slow it down any further

but all of this is sort of futile because it's still half as fast as insertion sort in the case of unsorted input, and even without the tweaks, no simpler
> Shut-in stays indoors to avoid the Edinburgh Festival crowds under the pretext of fearing covid. August 2023 mind you.

Avoiding crowds is one of the best ways to avoid COVID-19. I don't understand what you're getting at.

> Craves human contact and camaraderie, sends out cry for help by vaguely connecting random pop culture tropes to white supremacy -- as is now tradition -- to attract others of his ilk to his comment section.

As is now tradition? I don't follow this either - can you list a few examples of what you're referring to?
Yeah, but your mindstream is stuck in samsara I think. I'm just a beginner, but there are whole talks about this topic that Buddha gave.
I mean, with large enough resources it can bounce off the moon: https://www.satelliteevolution.com/post/world-record-europea...
after i posted the below comment to say 'oh yeah, you're right, thanks' someonefromca, perhaps inadvertently, edited the parent to say something completely different from what i was agreeing with. it previously said that there was a bug in the insertion sort code because it would swap things repeatedly, which is true and is a bug. my reply to their original comment is below

oh yeah, you're right, thanks, it does do useless extra work if there are equal values in the list

it should say

if (tmp >= a[j-1]) break;

however, this doesn't make it fail to terminate, which is a possible reading of your bug report
A good description

Another amusing one is Mark Twain's plan:

A Plan for the Improvement of English Spelling by Mark Twain

For example, in Year 1 that useless letter “c” would be dropped to be replased either by “k” or “s”, and likewise “x” would no longer be part of the alphabet. The only kase in which “c” would be retained would be the “ch” formation, which will be dealt with later. Year 2 might reform “w” spelling, so that “which” and “one” would take the same konsonant, wile Year 3 might well abolish “y” replasing it with “i” and Iear 4 might fiks the “g/j” anomali wonse and for all. Jenerally, then, the improvement would kontinue iear bai iear with Iear 5 doing awai with useless double konsonants, and Iears 6-12 or so modifaiing vowlz and the rimeining voist and unvoist konsonants. Bai Iear 15 or sou, it wud fainali bi posibl tu meik ius ov thi ridandant letez “c”, “y” and “x” — bai now jast a memori in the maindz ov ould doderez — tu riplais “ch”, “sh”, and “th” rispektivli. Fainali, xen, aafte sam 20 iers ov orxogrefkl riform, wi wud hev a lojikl, kohirnt speling in ius xrewawt xe Ingliy-spiking werld*
When I started Zen I met a western man who had a Japanese wife. She wasn’t interested in Zen because she was raised with Pureland and didn’t believe in Amitabha so was skeptical of all Buddhism.

I think most westerners are similar: we mostly think of Buddhism as the Dalai Lama with lots of different Buddhas and complex cosmology. The irony is that the complexity mostly represents the pre-buddhist parts.
A language taking over usage has little to do with its qualities, but rather with the cultural domination practiced by its native speakers.

English has some notably easy parts and some notably difficult parts. It's a language with remarkably simple grammar, but the orthography is notorious (see OP) as well as the very large vocabulary makes it difficult to master (although of course a high ceiling in a language isn't too much of a problem if you want your language to spread easily, as long as the floor is low).
I doubt this is an absolute requirement. Would I choose the faster booting dishwasher among a set of otherwise identical ones? Sure. Would I pay more for it to boot faster? It depends. €10? Sure. 100? Nah.

Plus, as the sibling poster says, you usually don't know this before you first start to use it, which means it's already been delivered, connected, and everything.
Can't think of any examples now though I'm afraid.

Dodged a meta-bullet there...
Another way to phrase of your point:

If you consider it possible they might have told you "I have two children and (at least) one of them is a girl" instead of the statement about a boy (were they to have both a boy and a girl), the reasoning given in the article is wrong.
Lift hard but do let life get in a way.
They are probably mixing up the different kinds of state-organized social support (one being the unemployment insurance) with "real" insurance business like car accidents or legal responsibility or yeah also health.
IBM study: 40% of workforce needs to reskill in coming years as a result of AI
I can't find anything indicating it's part of a series. The entire novel itself, however, is 3 stories broken into 3 parts each:

From the Wikipedia entry[0]:

"The book is a collection of nine short stories telling the tale of three generations of a family before, during, and after a technological singularity. It was originally written as a series of novelettes and novellas, all published in Asimov's Science Fiction magazine in the period 2001 to 2004."

[0]: https://en.wikipedia.org/wiki/Accelerando
there are products like that but all of them (that I known) are designed for specific devices, either a Surface or an iPad (Brydge, Doqo)

Let me know if you find something on the market that may work with this specific tablet.
I always felt like Gaelic spelling was the result of someone hearing about the written language, thinking it was a fantastic idea, and then rushing off to write down all the words without waiting to get all the details about how writing was supposed to work.
> English is still using Shakespeare's spelling, I think.

The UK uses a form of written English based on Samuel Johnson's dictionary. The US uses a form of written English based on Webster's dictionary. Both Johnson's and Webster's spelling reforms post-date Shakespeare.

For example, Shakespeare's grave contains the inscription:

GOOD FREND FOR JESUS SAKE FORBEARE,
TO DIGG THE DUST ENCLOASED HEARE:
BLESTE BE Ye [the] MAN Yt [that] SPARES THES STONES,
AND CURST BE HE Yt [that] MOVES MY BONES.

(The "Y" is a form of the thorn symbol "þ", which Early Modern English used to represent the "Th" sound. The terms in [brackets] show the modern form.)

You can see we are not using English spelling from Shakespeare's time.
Budhha rejected Vedas. "He repudiated their thesis that the Vedas are infallible and their authority could never be questioned" - When you reject Vedas and question them, there is nothing left to salvage.

http://www.columbia.edu/itc/mealac/pritchett/00ambedkar/ambe...
> I dunno why there are both explicit ordering (the sort keys) and implicit ordering (the stability requirement), perhaps cperciva can chime in.

In the event Colin is looking at this sub-thread now I'm intrigued too.
I was referring to the term "Boxing", not the concept.

No mainstream language that I am aware of uses the term "Box", while they almost all have something similar in concept, if not identical.
I think I might be mistaken about the timing, but anyhow it was much later than I expected. :)
New large scale C++ projects are started every single day. There are more than 5 million C++ programmers out there. Compared with that Rust is but a drop in the ocean.
Beijing Is Coming for the Metaverse
Sure, but it depends also on the kind of drilling and of the terrain that is drilled, drilling mud is used also when drilling with buckets large holes, in those cases the use is only that of avoiding the collapse of the walls of the bore.

The generic idea behind these supposedly high efficiency reservoirs is to have something that is at the same time liquid enough and much heavier than water, most probably the actual formulation will be a compromise.
> I think there are really two types of programming languages, "idea" languages and "practical" languages.

Idea languages invent features (first order functions, closures, garbage collection, algebraic types, structural patterns matching, type inference, ...) and 10-20 years later these start to appear in practical languages, too.
#2 is not actually equivalent to "at least one child is a boy". It is rather equivalent to "the first child is a boy". The difference may seem trivial, but one implies the other without the converse being true. This changes the probabilities — it's not an issue with underspecification.

I think your example #1 makes it much clearer why the 1/3 arises, at least in a frequentist analysis.

I would like to offer a similar interpretation but from a Bayesian lens. The 1/3 as rises due to the artificiality of the knowledge condition. Given real-world constraints, we expect any information collected to cleave neatly between the two children in our imagined information gathering scenario. So we implicitly translate "at least one child is a boy" to "we've checked one child, it's a boy".

Consider the following related problem: I have two faucets next to each other, each has a 50% chance of dripping overnight. I leave one shared bucket under both of them. The next day, the bucket is wet. What's the odds that _both_ faucets dripped?

This setup makes the correlative nature of the information much clearer, and I think most people would be less likely to jump to 1/2 as an answer.
Then the requirements were terrible?
"Hindus for example believe Buddha to be the 9th Avatar of Lord Vishnu. "

So as to deny Buddhism is a separate religion, and co-opt Buddha among various Hindu avatars. This is how Buddhism was decimated by Brahminism in India, co-opting Budhha as their own.
And then we land into the realm of literature, and the heated discussions about the world views of authors like Lovecraft, Hamsun or Rowling...
I love projects like this. Personally i am beholden to Dungeon keeper (https://keeperfx.net/) and Red Alert (https://www.openra.net/) and Populous (https://www.popre.net/).
A retiring consultant’s advice on consultants
That's why I appreciate starting strength. It's a novice program and the gains come fairly quickly and easily. Rippetoe himself in Practical Programming makes the point that after the novice phase, you need to assess what your goals are and program accordingly. A football player will have different goals from a runner, who will have different goals from the general sedentary public.

I myself am pretty happy with where I'm at and don't plan on trying to squat 300KG. I appreciate there's a higher risk of injury pushing myself to my limits. And the amount of investment (time in the gym, getting a coach or learning enough to program for that level) is not worth it.

I'm not suggesting that everyone goes and tries to become a powerlifter. I'm just suggesting that for anyone who isn't strong and is looking to become strong quickly, Starting Strength is the best method in my opinion. And as others have pointed out, going from a 20KG to an 80KG squat will make a huge improvement to your life, and is very manageable for pretty much anyone.
Physiatrists and psychologists don't take the Hippocratic oath in most cases. I don't think it's even that common for doctors to take it - definitely not in it's original "do no harm" form.
I wonder why the windows broke. I assume something got installed out of order during assembly.

I wonder if any other cars have such backup systems to open the doors. That part about bypassing the rear doors' child lock could be quite useful on other vehicles.
I guess I have to speak up as every one made their mind and knows how the blue-blocking glasses are useless placebo gimick made up to take your precious 20$ from you.

I developed an eye pain condition around 14 years ago in university years, my eye sight was not really degrading but I get physical tension turning into pain in the eyes if I look at the screen for about 3-4 hours. I know that I still have this condition because sometimes I forget my glasses to the office and I have to take breaks much more often than otherwise. With the glasses I can work all day, then play video games, watch movies etc without feeling anything.

One thing I want to add is that there are seems to be different types of these glasses as I bought about 10 pairs and 2 of them also didn't work for me. So when I need a new pair I just take the one I know is good and ask optician if they have exactly the same type of filter.

So if the research says there isn't enough evidence it's fine, do more researches and find out exactly what happens here, but don't go around and tell how it's all made up and not helping anyone.
Show HN: Shell-AI, run shell commands with natural language
Hello HN! I know this project is a super simple wrapper around LangChain/OpenAI but I just found myself wanting this badly myself: a super simple `pip install` package that I can use to get command suggestions within the terminal as I'm being productive doing other things.

Example usage:

`shai git diff but without the big json blobs`

`shai 'copy everything in data/ via ssh to $SSH_HOST using scp'`

The implementation is literally one short glue of LangChain and InquirerPy for interactive CLI.

I'm curious which ideas you all have to make this smarter/better. MIT licensed, if you're keen on contributing please feel free to do so. It's a pure hobby project for me.

Some key objectives: never automatically run shell code, I want to see what I run before I run it, present me with some alternatives, a simple path to using local models in the future (Llama 2 Code soon?).

Will add I was inspired by the great https://github.com/gorilla-llm/gorilla-cli project, but didn't like that it sends the prompt to some IP based endpoint the author presumably runs.
This has gotta be the most bullshit justification for writing bad kernel code that will be reviewed and tested by 200 people before it reaches production. Literally anything written as low level as this has the potential to crash the system on a dime and needs to be thoroughly tested.
Yup. I was once invited to an US conference that was going to happen two weeks from my invitation. Even getting an appointment with the embassy within that timeline was impossible.

Later I went for a different reason and if I recall the time to actually getting a visa was around 2 months.
My sincere apologies to those who knew her: this is a question from someone who didn't, and in fact had not seen her name until stumbling on this thread. What is she so well-known for? Which communities was she a part of? I read this whole thread, followed some of the links, and still am mystified.
Immoral, but profitable:

- Put ads on the site

- Force people to give you their email to see results, then sell the mailing list

- Collect as much information about the user as you can, compile it with the photos of them that they've given you, and sell it

- Add amazon affiliate links to anti-balding products (least immoral of the lot)

Not immoral, but won't make you much money:

- Paywall

- Beg for donations
Which is better xml design for a pure data payload (not textual content)?

<foo>something</foo>

Or

<foo value="something"/>

When you get back with a coherent universal argument, we'll revisit the json vs xml question.
"Linux Kernel Fastboot On the Way", Linux Plumbers Conference 2019, https://www.linuxplumbersconf.org/event/4/contributions/281/... / https://www.youtube.com/watch?v=A7N_O8pnyTw
I wonder if they'll ever make it possible to ask the user what they want to do...
How is time measured on things like this? Surely processors have also become faster as well.
Yep, it does sound like astigmatism. I have it. It only got detected when i was around 30 but apparently I've had it since birth. My first pair of glasses basically eliminated any eye strain / fatigue for the first few years in spite of having more cylinder than dioptries.

However, my lenses were never more expensive than my wife's who doesn't have any (astigmatism. she does have dioptries). Only difference is they're never in stock and I have to wait a couple days.
In case someone's curious, it's not only Spanish, and it's certainly not unusual[0].

A way to see how a (more) phonemic orthography would look like in English is to have a look at BBC Pidgin[1], though the increased "phonemicity" isn't the only difference.

[0] https://en.wikipedia.org/wiki/Phonemic_orthography

[1] https://www.bbc.com/pidgin
Not to mention that physical activity itself can be a great, immediate remedy for anxiety. A daily run does a whole lot for calming my anxiety.
English took over the world, yes, but it's hard to really determine that it's due to ease of use.

The obvious reasons to me that English took over the world are because the British Empire forcibly killed other languages (often literally), and then the US's global financial and cultural influence aided it further.

I don't think it's due to English that Britain and the US had such vast linguistic influence, and just as easily if the British spoke a different language, that would be the lingua franca.

In short, there are too many factors in reality to really be able to say "so many people speak english, so obviously it's easy". No, rather, we can observe many people speak english, and perhaps that's because the internet and TV are dominated by english due to tech and hollywood, perhaps it's because the britsh rolled high on the "slavery and racism" stats a long time ago, and perhaps it's because it's easy to learn. My money's not on "easy to learn" being a leading reason there though.
http://www.i18nguy.com/chaos.html
If you had bothered to look at my other reply, you'd see it was because of the nutritional value.
An interesting thought is that the examples in your documentation don't necessarily need to be static and the same for everyone.

For example, if a user is logged in, you can autofill the appropriate accounts/domains/ids/etc to make the example work out of the box; and if some ID needs to be essentially random, then you can make it actually random when you generate the example.
>- Put ads on the site

I don't think this is immoral. Ads are a perfectly legitimate business model.
Fair enough, but we should be aware that the placebo effect is real and it could easily explain what you feel.

> So if the research says there isn't enough evidence it's fine, do more researches and find out exactly what happens here, but don't go around and tell how it's all made up and not helping anyone.

people aren't doing this though... Equating "not enough evidence" with "it's false" is a straw man argument. And starting with accepting the need for more research but then chastising them for expressing skepticism is bad. The emotional appeal is also bad, we aren't causing harm by voicing our skepticism.

skepticism != dismissal BTW
Here's just some of the things that become non-trivial in such a scenario:

* Validation - you either replicate the same rules on the generalized API/BFF/FE and risk inconsistencies or figure out a way to extract that validation to a shared package

* Making API calls inside the BFF - usually generalized APIs have a lot of features in individual endpoints, some of which aren't always documented so you'd need a really good documentation that gets constantly updated or some kind of a connector package that makes it easy to discover those features

* Testing - most of your endpoints are just calls to another API, all you can do is mock those calls in your tests based on what you expect the API to return but this gets hairy if you're just copy pasting the same 200 line JSON body across multiple tests so you'll need some helpers/a package for that too. It also requires that you always have a person on your team who's very familiar with how the API you're making calls to works so you don't make false assumptions

You either need someone who's aware of every little detail that goes on in both the generalized API and the BFF or you need all of these constant abstractions to be able to scale properly in any shape or form without introducing bugs with every new feature.
Thanks!

Actually, this project is born out of the chaining idea youre talking about. I've been dogfooding this with another app like google translate for language learners (https://languageread.com/ ugly and early for now). It requires a lot of chaining, and splitting text, and composing prompts.

So my first attempt for superfunctions focused on that chaining idea, my approach was prompts backed by AWS stepfunctions. I pretty quickly realized that it would help a lot to have a more primitive layer, so I switched focus to build a lower level layer that turns prompts into single units of execution.

Right now for that language learning app, I'm chaining everything on the client using bluebird promises (going to blog about this soon), this approach comes with a lot of pain points, so I'm still hoping add that composability/chaining functionality as a layer on top of superfunctions later.
Sure in some sense, and we can always be over pedantic in any topic. Maybe I felt in the trap here, though I still feel that the sentence is over selling the author point, which is not the end is the world either.

What I mean is, from what I get, the author point is that we shouldn't disregard people with permanent disabilities, as it's a faith we will all eventually reach.

While I agree with the ethical goal of not disregarding people with some disabilities, I wouldn't take the path of founding that on average human faith.

All the more the point is not how long will we agonize in an obviously near death situation, but how comfortably and socially integrated we can live once we have some disability, taking for granted that yes we will all necessary have the luxe of such a situation.
As someone in the field, i only agree with #5, the rest except your last paragraph ir two is bad advice.
I misread the title at first.

It should be "CCC Talk: All cops are broadcasting.\n Obtaining the secret TETRA primitives [video]"

I read it as though all the cops are broadcasting that they have obtained the TETRA primitives. As in, they're bragging about bypassing encryption.
It's not an 'abomination' at all, it's a phonetic transcription within the language. You could argue that writing "whisky" in a Spanish sentence would equally be an abomination.

The letter 'w' is not even a standard latin letter but was created much letter to transcribe Anglo-Saxon sounds in English.
I do not have access to the historic definition of bubble sort, but all the modern implentation i've seen so far, all have a check if there were no swaps. I absolutely cannot wrap my mind how exactly it would make it slower in the average case, I almost certain it won't, how exactly this would make code sgnificantly more complex to any meaningful extent.