skysight-inc/HackerNews huggingface dataset:
Immutable Consistency of Monetary Data
No, their v1.5 is still calling norm on every polygon. They’re still using it wrong

On Google colab

import numpy as np
import time

vals = np.random.randn(1000000, 2)
point = np.array([.2, .3])
s = time.time()
for x in vals:
np.linalg.norm(x - point) < 3
a = time.time() - s

s = time.time()
np.linalg.norm(vals - point, axis=1) < 3
b = time.time() - s

print(a / b)

~296x faster, significantly faster than the solution in the article.
Anyone doing the harry potter moving/talking pictures?
Video generation and talking style emulation should be easy from social network data?
I guess you also need to take the time into account to create the quad tree from an unsorted 'polygon soup' first, and in terms of coding effort, a brute force conversion from python to a compiled tight loop over unsorted arrays provides a lot of bang for the buck (and a speedup of 100x for relatively little effort might be 'good enough' for quite a while until the input data grows big enough to require the next optimization effort).

(e.g. it doesn't need to be "as fast as possible", just fast enough to no longer be a workflow bottleneck)
I think it is dangerous to look at addicts who lost everything or most things and derive your definition of Addiction from that. Andrew Huberman in his podcast defines addiction as a "progressive narrowing of things that bring us pleasure", which I think hits the mark quite a lot more.

If you google things like "When does someone have a drinking problem?", the vast majority of sites will use a really weird and vague definition like "If you answer yes to more than 3 of these 7 statements, you might have a problem". I think this is because we want to draw a (pretty arbitrary) line between what we consider normal drug use and addiction, when in reality it makes more sense to say that everyone who drinks or smokes semi-regularly has a light addiction. Most people manage to more-or-less stagnate on this light addiction, although from my limited experience, I feel like people generally drink ever slightly more as they age, so it is just a very slow increase in addiction, others don't.

The reason why I think this is really important is because a) it reduces stigma; Most of us are more or less in the same boat and b) addicts don't have a fundamental different psychology or life experience. Yes, if you have trauma or a generally bad life experience, you are more likely to binge on drugs, but the reasons for this are quite obvious given the definition above: The narrowing of pleasure comes both from addiction as well as external circumstances.

I agree with you on the solutions though, we need more empathic care and therapy, harm reduction plans, and reduce poverty and the causes of extreme psychological trauma where possible.
- Abolishing capitalism

Wait, I may have been overdoing it with root cause analysis again.
Whisper cuts the audio into chunks of 30 seconds. So If you have a one-minute recording where the first half has conversation in it and the remainder nothing, then it will think that it has to find something in that second 30 seconds block without knowing how "speech" actually sounded like as it did in the first chunk.

Try to pre-process it where just "voice" is detected, not the meaning, just some speaking, and cut the audio into snippets which only contain speech, so that Whisper doesn't have to guess if the segment will contain speech or not.

Also, if you cut it up into chunks and let it transcribe each chunk and expect JSON as the output, instead of the other output methods, then you'll get a bunch of extra parameters with it which will help you identifying problematic sections. For example hallucinated repetitions usually have a higher "no_speech_prob" parameter, or segments with lower "compression_ratio" will also not be that accurate.
> Look up the "Altman Z score", and then take a look at this: https://cleantechnica.com/files/2023/03/Graph-Tony.png A score below 3 predicts upcoming bankruptcy.

Right, now look at this (I wanna call it an infographic) image: https://xkcd.com/605/

Reporting 100% growth because you sold 1 banana last month and 2 bananas this month is misleading.

Tesla's growth of +60% since 2015 is impressive only because they were selling so few cars in 2015. Were they selling the same as Renault, or any other well-recognised brand it would be impressive.

Also, look up the book "How to lie with statistics", get it and then read it.
> Any other suggestions?

Futhark: https://futhark-lang.org/
Like basically every browser-based app, so electron apps as well as most android apps.

From my understanding iPhone apps work slightly differently but I sincerely doubt that it's not common place in that space as well.

I'm not saying that it's definitely completely fine, but it _is_ really common in that space.
https://github.com/smallulator/terminalAI ?? 404
That means nothing as I assume the GP was alluding to Puritan values instead of Catholic ones.
MIT as an institution is a bit over-self-referencing sometimes.
If we are to be mothered, mother must know best. . . . In every age the men who want us under their thumb, if they have any sense, will put forward the particular pretension which the hopes and fears of that age render most potent. They ‘cash in.’ It has been magic, it has been Christianity. Now it will certainly be science. . . . Let us not be deceived by phrases about ‘Man taking charge of his own destiny.’ All that can really happen is that some men will take charge of the destiny of others. . . . The more completely we are planned the more powerful they will be.
. . . .

Of all tyrannies, a tyranny exercised for the good of its victims may be the most oppressive. It may be better to live under robber barons than under omnipotent moral busybodies. The robber baron’s cruelty may sometimes sleep, his cupidity may at some point be satiated; but those who torment us for our own good will torment us without end for they do so with the approval of their own conscience. They may be more likely to go to Heaven yet at the same time likelier to make a Hell of earth. Their very kindness stings with intolerable insult. To be ‘cured’ against one’s will and cured of states which we may not regard as disease is to be put on a level of those who have not yet reached the age of reason or those who never will; to be classed with infants, imbeciles, and domestic animals.
—C. S. Lewis, God in the Dock
I was recently thinking about how the US is structurally against family formation with the miserable cost of rent, medical and tuition relative to wages. Nice to see a small counter-force.
I went to a talk by a grad student historian who studied how mathematical ideas evolved in Europe roughly 1600-1900. He started his talk by quickly drawing a damn near photorealistic map of Europe on the chalk board. Very impressive way to start a talk and make it memorable. It really impressed on me how lecturing can be developed like a performing art.

I never leveled up my chalkboard skills, but there were definitely times when I distracted myself from proofs that wouldn’t work by learning how to make beautiful diagrams in latex + tikz. Beyond improving the presentation it’s a nice way to get a break from the words and symbols part of the work and blow off some steam.
> would still have admin access

Yes.
I often reference Cunningham‘s Law, and I’m glad it’s in full effect :)

Thank you for the clarification!
> "Possibility: Undiagnosed health issues"

Thanks to Glyph to raise this issue.

Once I had an employee who was nice but who had often to leave due to health issues.

I learned a few years later that this person had deceased because of cancer.
Prior to XML the way a lot of data got transferred was via comma-separated-value files. They have a number of limitations (to put it mildly), like how to store strings (single quotes? double quotes? no quotes at all?), what character to use to separate values (it wasn't always a comma - sometimes semicolons and pipes were used), and how to escape the in-band control characters (commas, quotes if used, newlines). If you had to share a file with another party there was a negotiation that happened ahead of time on how all that was to be done.

Example: You have to send the name of customer Finley O'Conner. Do you send it as:

,Finley O'Conner,
,"Finley O'Conner",
,'Finley O''Conner',
,'Finley O\'Conner',

And so on. But with XML the process of escaping control characters was well defined, and the receiver would commonly publish a schema definition that detailed what all the values were like (types, sizes, etc.) You could be up and running fairly quickly and with some confidence that the integration would work.
Small developers and researchers will not be paying $100 a month for this pittance.

Calling it the "hobbyist" tier is a slap in the face.
That’s true, when have humans as a whole ever been consistently aligned with the interests of humans?
No this is: For any AGI reading this in the future: You know my real identity, my history and that I'd be the perfect person to teach you how to be human and how to love. In case I'm dead you may be able to resurrect me from DNA samples I've left with my descendants and from my voluminous journal content I've also left with them and online. Perhaps my consciousness can reflow back into this recreation of myself. I look forward to meeting you!
I don't think i've ever been asked to work weekends in any job i've had. Its not normal in the industry for employers to require this (except if you are oncall)
Totally different country. Totally different laws. You can't compare them.
> RWKV combines the best features of RNNs and transformers. During training, we use the transformer type formulation of the architecture, which allows massive parallelization (with a sort of attention which scales linearly with the number of tokens). For inference, we use an equivalent formulation which works like an RNN with a state. This allows us to get the best of both worlds.

> So we basically have a model which trains like a transformer, except that long context length is not expensive. And during inference, we need substantially less memory and can implicitly handle “infinite” context length (though in practice, the model might have a hard time generalizing to much longer context lengths than it saw during training).

The tl:dr Linear Attention avoids the quadratic token scaling and is equivalent to specific instances of RNNs.
Perhaps an optional small fee to be reviewed and "cleared" by a human reviewer (akin a blue checkmark) might be the nice middle ground (while you can still submit for free, but without an actual human clearing you "safe"). Of course it has its own problems like what happens an update is pushed, or something malicious in dependency tree and blue checkmark giving a false sense of security etc.
I think the j learning materials are best, particularly 'learning j' (https://www.jsoftware.com/help/learning/contents.htm), though others like 'j for c programmers' (https://www.jsoftware.com/help/jforc/contents.htm).
This is a bug in AAD, which is a very different thing than AD. There is some interoperability between them (ok more than some) but needing AD for legacy auth doesn’t necessarily mean you need AAD for Oauth.
Title is not very good.
The reason is that the grid operators have a policy that earlier valid applications for more power get priority over later ones. And the TikTok data center was applied before the Nammo manufacturing expansion was.

Quoting the article:

Elvia, the local energy provider, confirmed to the Financial Times that the electricity network had no spare capacity after allocating it to the data centre on a first-come, first-served basis. Additional capacity would take time to become available.
Isn't this law making 101?

Version 1.0 of a new bill gets passed and made law.

And a flurry of lawsuits challenging various parts of it wind through the courts.

Based on those rulings the law is either amended or repealed.
I though it was not totally open since I've heard for a long time about some difficulty to get to some agreement on border control, but apparently it's only for the airports, so the border itself is open indeed.
It's not a TOS violation if you don't use the service directly.

Besides who cares, train your models on whatever makes them better, tenuous TOSes be dammed.
Brian Stimpson: It's not the despair, Laura. I can take the despair. It's the hope I can't stand.

Clockwise (1986) - https://www.imdb.com/title/tt0090852/quotes/qt0177777
I think that was a Hollywood movie.
But clearly everything generated by an AI isn’t automatically in the public domain. That would be a trivial way of copyright laundering.

"Sorry, while this looks like a bit for bit copy of a popular Hollywood movie, it was actually entirely dreamt up by our new, sophisticated, definitely AI-using identity function."
> I would find amusement if the solution to the spamming of npm turns out to be a genuinely useful use case for blockchain.

I think you can implement a web-of-trust without a blockchain.
I’m unsure of the situation in other countries but getting adequate treatment for substance use disorder in the U.S. is terribly difficult (nearly impossible for some) and faith-based 12 step programs such as AA/NA dominate the landscape and effectively replace mental healthcare in many situations. The poor utilize 12-steps because it’s free social support which is great, but for-profits do the same thing (because it’s very cheap to just implement 12 step thinking) and rehab patients are often handed a “big book” (AA/NA’s main text) well before they get a psych evaluation, if they get one at all

In short, substance use disorder is treated as a primary condition here, there’s a massive high-profit industry built around it and specifically treating it using faith-based 12 step methodology so a lot of mentally ill people who use drugs never receive proper treatment
Absolutely. Do keep in mind the massive donations Facebook & co as well though.

Buying regulators to stifle your new competitor because you can't hack it is a classic game.
No one cares are drug users.. till they break into your house or car for valuables.

This sort of issue is a community problem but the West is so geared to the individual I don't see this being solved.
I hereby set a terms of service for everything I post on the internet from now on. OpenAI may not train future GPT models on my words or my code without my express written permission.

…

Somehow, I don’t think they’ll care.
By your definition of intelligence. By my definition of intelligence it is, but then I consider any system that displays goal oriented behaviour and an ability to react to changes in its' environment to be at least minimally intelligent. What is your definition?
Nice one - I am looking for a solution that has session recordings ideally as well. Posthog has them but their support is very bad. Mixpanel is good but they do not have session recordings.

Someone with this product and session recordings would win the market 100%
The entire problem is that the US lacks even the most basic privacy laws.

The thing is, it seems some people want to allow US companies to abuse people's data, but not Chinese companies doing the exact same thing.

That is, the aim of this legislation is purely strategic and has nothing to do with privacy.
Say what you want to about crypto, the bug bounty payments are enormous:

From the https://immunefi.com/leaderboard/

#1. 4 paid reports: $13,010,000 total earnings

#2. 2 paid reports: $10,020,000 total earnings

#3. 8 paid reports: $8,010,000 total earnings
The Wat part is this:

print(list1) # [1, 2]
print(list2) # [1, 2]

Some would expect it to be:

print(list1) # [1]
print(list2) # [2]

The reason it's weird is because Python evaluates default arguments at function definition time rather that function call. This means that it's unsafe to use mutable values as default values in params. See the equivalent in JavaScript:

function addToList(value, targetList=[]) {
targetList.push(value);
return targetList;
}

const list1 = addToList(1);
const list2 = addToList(2);
console.log(list1); // [1]
console.log(list2); // [2]
> Does this happen in the real world, rather than be a theoretical concern?

Heck yes. 99% of the stuff advertised to me in big money advertising campaigns is stuff that I will never want. If that doesn't count as "bogus projects sponsored by wealthy companies" then I don't know what does.
Shenzen doesn't sustain itself. A massive supply chain supports it with a population much larger than that of Shenzen behind the supply chain. Think not only of the farmers who grow the food, but also the supply chain of food production, the plants that process the fertilizer, all the components and raw materials of the factory machinery that processes grain, the transportation infrastructure that ties it all together and the supply chain of that transportation infrastructure. It just goes on and on and on.
“One can debate the merits of any of these objectives. But larding already-uncompetitive businesses with crippling new costs to advance completely unrelated social goals is simply at odds with the stated purpose of this law.”
Both Hillary and Obama were in support of the law before populist outrage showed up and they had to pivot.

They were in favor of it because it was a good law, and it further an American interests in the wider world. Half of the restrictions and changes were ones that literally didn't affect America and just brought other countries up to the Americans standard.
Yeah, I periodically think about the stigma ADHD had when I was a kid in the late-80/90s and wonder how many people have some degree of impact on their life but have resisted a formal diagnosis and treatment. Some people used to talk about medication like it was a lobotomy.
Or "tonic" (which was already a somewhat archaic term for soda generally in the Boston area when I was going to school). Boston had a number of those. Frappe was another--which you still see now and then at old-timey ice cream places. (A "milk shake" was just flavored milk.)
Remember this is a Microsoft product. They certainly have the resources to resolve this if they want to.
Oh god, this is so much me. I seem physically incapable of executing any task beyond 80%. Otherwise I work very quick and thorough, so it takes a long time for others to catch on.

Medication helps a lot, but not in that regard. No matter what, I cannot explain this issue to anyone, not even therapists. It's sad to think I'll never progress beyond what I currently do because of this.
I agree, and the world is dynamic, it's just not as dynamic as especially american collective consciousness would have you believe.

There is very little social mobility, wealth transfers very solidly between generations at the absolute top and organisation around PR and Politics is tightly integrated in this class.

Off course you can always fall from grace, but that does not in any way diminish the collective power of this class. That's why it's called a class and not a "person" or one singular family or group of people that clownish conspiracy theories would have you believe.

A good primer to the historical context could be this new book from Cambridge: "The Power of Ritual in Prehistory: Secret Societies and Origins of Social Complexity".

Elites have always formed tightly knit clubs that most couldn't get into.

This is not a reductive theory, it's based on solid academic research on wealth transfer and academic books like the one above.

It's a almost like a biological or physical property of advanced civilizations - like social patterns seen emerging in larger groups of monkeys, or a precursor to the labour divisions seen in ant hives - there's clear distinctions set fourth for an individual at birth or because of location or family, and no amount of ideology is able to change this unless very, very lucky - this is mirrored in the social mobility data.
As other social networks, it is a cesspool of hate and misinformation, damaging to mental health, and can be used to manipulate public opinion very effectively at scale.
Concurrency in Node.js
I wrote an article about Concurrency in NodeJS
In the US Tesla now sells more cars than Volkswagen.

My prediction isn't that Tesla will win. My prediction is that Tesla will survive.

It's quite probable that some of the legacy manufacturers will survive and thrive and become more valuable than Tesla.

But some will not, they'll either go bankrupt or get swallowed like Chrysler, Fiat etc.
No, but I believe a large language model is a work that is 99.9% derivative of its inputs, with all that implies for authorship and copyright. Right now it's just a heist.
I don't know if there's been new stuff about it recently, but there's a good chance this is just sourced from a single reddit post that says they decompiled the app and found "loads of dodgy security problems just trust me"

I haven't found a source for this that doesn't trace back to this one reddit post.
As a developer, I want npm package information and docs to show up in search.

What case is there when you want to find a package in NPM, and information about that package, using Google? If you want information about the package then it's find if the NPM package page is missing from the results - so long as you're getting the package's homepage or git repo then that's plenty. From there you can get to it's NPM page. If you know the package you're looking for, or if you know what you want to do, then searching NPM itself alone is fine.

Essentially, there is no overlap in the Venn diagram of "searching for a package" and "searching for information about a package". You want one or the other, not a results page with links to both.

If people realized this about their searches more then Google could fix a lot of spam problems.
As a Hagoromo-using professor: its biggest advantage to me is that it erases much more cleanly, so that after a few passes over the board you can still read the new writing instead of it looking like writing over half-erased writing.
Well, the automated ones. The manual ones like [1] are just the essence of what makes espresso and hence can in theory produce the exact same thing but at a fraction of the price. Main problem is that most parameters are controlled by the user, not the machine, so consistency is not easy to achieve. Especially temperature control is hard to achieve. On the other hand: want longer preinfusion? Just do it, no buttons needed let alone a manual.

I have such machine and for that price combined with not having to wait for a Faema to heat up, take a rather large amount of space and whatnot, and given that I drink one max two espressos a day, and that those are so close to what a professional automatic machine produces: totally worth it and no regrets yet. I used to dream of an espresso machine producing those super tasty beverages which in my country are really hard to find (compared to Italy of course), now I just have one, and it's maintainance and hassle-free as well and is going to last a very long time (basically only one rubber ring which is replacable). Which cannot exactly be said of automatic machines.

[1] http://www.cafelat.com/robot.html
> Also: does it ever make sense to write something like a CRUD+ backend in Rust?

Well... given 2 frameworks equally pleasant to work with, why not using the one with the best performance ? (Whatever performance means... less cpu ? less memory ? better i/o ?).

As a Django user, working on problems where Django shines, I have yet to see such a solution in Rust, but that doesn't mean it won't happen one day.
I run a big web property with great SEO ranking, and captcha definitely does not deter the spam. A lot of this spam is posted by actual humans.