skysight-inc/HackerNews huggingface dataset:
That high-level idea is viable in many languages. I particularly like Zig's comptime as a clean way to implement it.

You often don't want that sort of specialization. Code like deep neural nets is a pain to handle (unless each layer is identical, which is admittedly moderately common) even with variadic generics and especially without, and it's hard for the compiler to generate the right specializations for (and the right number of specializations; anecdotally, you can expect enough code bloat that it causes problems).

Using branded types you can get a weak form of dependent typing and use that to get features like Tensor<f64, Dim<16>, Dim<MultipleOf<8>>, Dim<SensorChannel>>, where you're allowed to pass in concrete numbers, comptime-known constraints on runtime-known values, or even just weak information like that there's a particular brand (SensorChannel) on the type which allows you to match fully runtime-known values at compile-time and let the type-checker handle it (think of functions like matmul(Mat(A,B), Mat(B,C)), where the B has to be the same for both, but you very well might want to know it at runtime). It's still the library writer's job, unfortunately, to use `inline` and other such keywords appropriately to guide the compiler to the right number of specializations, but the API presented to people using that tensor library can be reasonably nice.

Incidentally, Zig _also_ makes that second thing (branded types) easy to write. I hacked a demo together [0] if you'd like to play around with the concept, but a dedicated tensor library should eventually offer something less verbose IMO.

If you're doing this with ML, my preferred strategy is to go the other way. Only write specializations that are easy for the chip to execute (e.g., appropriately aligned and length-aligned large powers of 2), and build code on top of that. If the computational kernel has to do padding or shifting or other garbage, even at the head/tail of a vector, then something in your model is horribly wrong anyway; just make that unrepresentable.

[0] https://github.com/hmusgrave/pdv
I think this is right on.

I usually give it a definitive question and provide some relevant context around it.

It’s been immensely helpful!

‘’’
I am receiving the following TyperScript error for the piece of code I’ve included below: [Error Message]

What would be the best way to fix this? For context, here is the relevant method below.

[Code]
‘’’

I’ve legitimately learned things from this. It’s wild. And I don’t have to deal with patronizing Stack Overflow comments.

I definitely review the code, almost as if a new colleague were writing it. But damn, I’m impressed!
That doesn’t work outside of mass market products.
Locality is underrated
And... not buying a gold chain today will reanimate how many fallen Aztec warriors?

(I'd never question your own choice to not buy it on those grounds, but proselytizing it seems to imply there are some stakes here that make it worth encouraging "everybody" to take up the same cause, and I just don't see how it matters.)
Actually I found that she has impressive concentration...playing games and explaining such a deep subject at the same time. You can think of it more of showing off her mental capacity. Nevertheless, I grow fond of her channel and don't mind of "shtick"-ism. If you can't concentrate just set to audio mode like podcast (assuming you use libretube or vanced/revanced) or just let the audio run while uou shwitch to another tab (probably have the UB refresh the filters to block the ads). I do patron these days and heavy UB.
you assume practicality in higher mathematics? thats like ancient Babylonians complaining about the impracticality of "calculus"
Not to mention that if they think they’re getting “high-quality internet content”, it means they haven’t yet understood the limitations involved. Not only “hallucinations”, but also parroting of false claims. Which I suppose is “internet content” but when stripped of sources, it becomes more difficult to assess its credibility.
But Snipping Tool has a message saying they're removing Snipping Tool from Windows and to stop using it...
And thanks to 1/e being 0.367, in Pokemon Go when I catch 1000 Pokemon and each of them has a 1 in 1000 chance of being shiny, I have a 36.7% chance of having zero shinies among them, or approximately a 63% chance of the reciprocate, AKA having at least 1 shiny among them.

1000 is arbitrary of course, but the bigger the number the closer to 1/e.

See "Bernoulli trials"
Going forward, it would seem like a good idea for the UK government to stop treating the removal of items from garbage bins as a crime. I'm no lawyer, but a quick web search suggests that nowhere in the US is "dumpster diving" considered illegal.
My theory is that a lot of the moderation happens privately and in a civil manner, with dang and others politely reaching out to first time offenders, explaining the nature of the forum and asking them to voluntarily edit their comments. This leads to three things:

1) Well-intentioned violators are more likely to respond positively (since the audience effect is not present) and modify their behaviour.

2) For new visitors, all members of the forum appear to be mature and self-regulating (since the moderation is invisible), and they tend to hold themselves to that high standard.

3) It is easy to detect bad-faith violators -- they are the ones who respond negatively to private moderator messages or continue to offend.
I had no idea that MessageBox let you copy the text to the clipboard! When was this added to Windows?
Sick. Hope someone does it.
I find it very odd that wikipedia exists up to and including 11, but then does not exist at 12. Any reason for this?
The diamond industry has a terrible problem. They promoted diamonds as "perfection". The most valuable diamond is supposed to be a crystal with no flaws.
Then they ran into the semiconductor materials industry. Wafer fabs want every atom where it is supposed to be.
So semiconductor materials manufacturers are very good at making crystals with few or no flaws.

So, now the synthetic diamond market looks like this.[1]

DeBeers has been frantically trying to stop the growth of the synthetic gemstone industry.
(They lost on industrial diamonds decades ago; that's all synthetic and cheap.)
DeBeers has an R&D program to develop test instruments. It is just barely possible at present to distinguish synthetic CVD (controlled vapor deposition) diamonds from real ones.[2] From that paper, it looks like some process improvement by the synthetic diamond makers could fix that. Detection involves exposing the diamond to a UV flash lamp, which makes diamonds fluoresce blue briefly, and examining the spectrum that comes back. Natural diamonds have a peak at 425nm, and some CVD synthetics have a peak at 435nm, at least for the ones tested.

There's a PR program for "natural diamonds". But there's also a PR program for synthetic diamonds.[3] The synthetics industry is gaining.

As an investment, diamonds are awful. They are really hard to sell.

[1] https://www.alibaba.com/showroom/cvd-diamond.html

[2] https://onlinelibrary.wiley.com/doi/10.1002/pssa.201800292

[3] https://www.cnn.com/style/lab-grown-diamonds-popularity-2023...
In my humble opinion, sapphires are a great choice, and they also come in a range of beautiful colors. We went with a pinkish-orangish one.
Has Ridley Scott's new film captured the real Napoleon?
There is a bigger and much broader crisis in science right now that academics refuse to face head on. From physics to social sciences to economics famous academics have promoted totally bumpkis theories as facts in order to justify PR and publication. Academics are more and more regularly taking data or exaggerating results and the public is starting to catch on.

It’s eroding rational sciences as a whole.
So it didn't have any direct relevance?
I would strongly object that both putting the other person first is a surefire way for happiness.

Putting the other person first at your own detriment can easily lead to destruction.
Surely addition is more foundational than multiplication? Multiplication is just repeated addition.
Out of curiosity, how does it compare to YouTube’s own generated transcripts?
This one is a germ.
Because you (making the decision) do not speak for the generations that will follow. In making that decision you are (arrogantly) assuming that you know the minds of all those that will follow and that they will agree with your assessment that "there's nothing to see here".

Perhaps you meant in the sense of a deliberate memory hole (in the Orwellian sense), in other words eliminating that which you don't want others to discover.
This isn’t some random person off the street, this is someone you’re hopefully spending the majority of your life with.

It’s ok to be picky.
more like: just because a church is an organization, it doesn't mean that every christian believer is a member of that organization. like there is no requirement to be a member of a church to practice christianity, there is no requirement to be a member of any EA organization to practice EA.
That place always confused me. I was like, "So what's this stuff made of? Uh huh, okay, and why exactly are these tchotchkes and brooches and stuff worth this much?"
idk man, it makes me feel taken advantage of. I prefer take homes to be on the side of trivial and ephemeral. I have even declined challenges where they state that they will use my code if it meets the reqs and even pay me to do so. The whole proposition seems scummy to me.
In my experience this definitely also applies to non-reddit communities such as phpBB-style forums.
xfce4-screenshooter, the default on Xubuntu, has the ability to open it with a program. So download any OCR program in Linux,say tesseract.

Make a script
tesseract $1 | xclip -sel c
save it as scrocr

And choose this program in xfce4-screenshooter, it'll remember it for next time, keeping the drop-down menu short.

This one copies to clipboard, if you want to view it first, then pipe it to `zenity` or `yad` instead of xclip, one of which im pretty sure is pre-installed in ubuntu. And you can copy it out of there normally after checking it.

If you use gnome etc and not xfce, check comparable options in gnome screenshot tool
> isn't it just as plausible that this median would increase?

Every sixth number will have a factors 2 and 3. (so 3 is the second prime for 16.666% of numbers)

Every 10th number will have factors 2 and 5.

Every 15th number will have factors 3 and 5.

Of course then you have to subtract out every 30th number which contains a 2, 3 and 5.

They ignored duplicates and it would have been nice if they had defined "first" and "second" properly. Also note that a prime counts the 2nd factor as "infinite", adding one to the "above 37" bucket.

Anyhow, you add those up and it's easy to at least see that in any range of numbers it very quickly approaches 50%. Keep going to write out the Venn diagram and it happens to come out at 37. It's low enough, I assume it could even be done by hand.
It is not really failed. It is more like a mathematical tools being forced to be the physic law. Think of it like Newton law without knowing relativity. You probably keep modifying to match the relativistic result. Instead of finding Einstein GR, that modified Newtonian equations grew into incredibly complex to match reality. Then declared it is so because it looks so nice and symmetrical instead of having actual physical result supporting it. Currently ST is so complex nothing in it can be proven and yet supporters declare it can "explain" all other theories/result. And each time it cant, they just up the dimension to show the math now corrected to match the physical result. It is no longer science at this point...and it is pity so many bright minds wasted their lives enhancing this branch of physics (or at this point more correct to say mathematics).
because I definitely want to spend the rest of my life with someone who's hypnotized by multi-generational marketing campaigns into wearing industrial abrasives as a status symbol. who wouldn't?
Also, you need to use wl-copy instead of xclip on wayland
I didn't realise the water table at higher elevations could be above the ground level of nearby lower elevation land, so I had the same issue. When I first read the article I thought a qanat was a type of stepwell[0].

[0] https://en.wikipedia.org/wiki/Stepwell
Amen, brother. You hit the nail on the head with this one. Going to get all the charges against me dismissed by the prosecutor tomorrow, but took ten years of being in jail, waiting for trial, before they came to that decision. The system is broken :(
"if" does a lot of heavy lifting here. The open source part is irrelevant for most of us.
Make Invoicing Magic with ChatGPT SMB Invoice Wizard
Step-by-Step invoice creation that can saves time and hassle. Perfect for small businesses!

User-friendly guidance
Microsoft DOCX format
Just realized: A big fat diamond is a literal Proof of Work.
Permaculture is a piece of the puzzle but I'm not convinced it is cheap enough to be affordable for the poor globally, nor have I seen it work at scale for staple cereals.
I’m 2 hours in and it’s riveting, thank you.
Google Search: A timeline of the 25 biggest moments
Copper has superior mechanical properties for its applications than gold would. Gold is plated on contacts not just for its conductivity but bc it won’t oxidize.

Mica is easier to work with than diamond as well as being cheaper.

Both gold and diamond have exotic uses. Diamond is common as an abrasive but no need for clear ones for that application.
Spending money on something expensive but valueless to appease someone is starting what is supposed to be a lifelong partnership on the wrong foot. I'm happy to get my fiancé something expensive, as long as it's valuable. I want her to have something valuable if I fail as a husband, it's more meaningful, it's a real commitment rather than a demonstration of willingness to appease. A woman that can't see that distinction is, to me, a woman that isn't interested in building a future.
Yes, I don't have the exact design in mind, but I think it is very likely that LLM could bring a new era of advertisement. AI who knows the product that is being advertized and the user and their current state of mind really well to have order of magnitudes of probability of action that the advertiser want. AI could also maintain better ad quality and provide better experience to user, as now people are finally getting fully desensitized to all the scammy ads with full screen banner.

This could really be the next big thing from AI which I believe is solvable using current generation of LLM. And this will be the next trillion dollar company.
I don’t understand. The page can’t access these things, only dev tools, so any action to expose it would still have to be mediated by user action; and even then, what’s so bad about exposing this? Everything in it is scoped to the document, and if it can expose things you don’t want exposed, then so can getEventListeners(), right? Yet getEventListeners returns an actual value. What’s the actual security problem of being able to list all objects on the JS heap?
How to find the best 2023 holiday deals on Google
This is an amazing resource! Thanks for sharing
I'd argue that the steelman position might be: "Understand the treatment dynamics". Treating a linear-response in the vitamin deficiency case with a binary threshold, and treating the bifurcation point in exponential battles (infection, cancer) as linear are the same class of error (just in opposite directions).

Still as another response noted, almost all of the examples are success stories of medical science, so I don't know if there is a wider point of "medical science/practice is slow to notice these nuances" or if it is just a collection of cool examples of "hey: sometimes doing a single treatment MOAR/multiple treatments simultaneously has a counter-intuative result, isn't that neat."
I know this. I’ll dig up the reference in the am.
It’s diode rom graphics.
Atari GranTrak 10 used it for graphics, but the then new rom chips for code/data.

https://edfries.wordpress.com/2017/06/14/fixing-gran-trak-10/
This would probably be a good thing on net, but how would plugins for Rust work?

I use <https://github.com/NiklasPor/prettier-plugin-go-template> a bit and I'm not sure what one would have to do to make a plugin for a Rust binary.
No, no, I mean uniformly refusing all service to everyone for no reason.

The two points at which you are not discriminating at all are uniformly providing and uniformly withholding services. Otherwise you are discriminating based on something, which may be fine or terrible depending on a whole bunch of details.
Finance? Mining/oil? Everything engineering with lots of money is bound to drive researchers to the private sector
> The failure in communication is usually "you're just the nerd pushing the nerd buttons, you don't have valid opinions on product design" which is a cause of so, so many problems in our industry.

But are they that wrong? We compute to, well, do things with our lives. To find out how to go places, to pay bills, to talk with friends, to meet with people, to learn about things. A view that computation should come with technical (e.g. tech bloat) limitations in mind feels important only to technical people and not to actual computing.
> Compare that to 100-200ms of latency between a faraway server

A complex booking engine like an airline or Stubhub needs constant, almost real-time connectivity with a database, otherwise you risk selling product at a stale price, double-selling, selling to an unauthenticated person, getting taxes and fees wrong, missing custom post-sale add-on opportunities, and lots of other potential problems. The client has to make a lot of network calls, so you're going to deal with latency, there's no client-side solution that avoids it without risking the issues above.
Sounds like a protocol error. They did not have a conversation first about the stones for the engagement ring?
Reading about virtualization and old IBM systems gave me massive respect for what our predecessors achieved. I wonder what other treasures are out there lurking in the literature.
I'm going to let this link to a simple XHTML document speak for itself. I've configured it to work on lighttpd via the `mime-types.conf` file, and even have a commented-out meta tag you can use to fake it in cases where you can't manipulate a server.

https://zlg.space/misc/example.xhtml

Let me know how your browser sees it.
>I wouldn't say Apple is any better than anyone else - aging iPhone batteries and butterfly keyboards both had a class action lawsuit settlement, it wasn't out of good PR that these got addressed. I suppose you are right that everyone will know about them, though, given that those were from memory.

That's the point. If 5% of PSUs failed inside a Dell computer just outside of warranty, no one would care except those affected. If the same thing happened on a Mac, you'd get a media storm and a class-action lawsuit and Apple will eventually settle by giving out repairs - even if the failure happened outside of warranty.

I did get a free battery replacement for my iPhone 6S.
I agree, that Gore did the right thing. But talking about how Bush stole the election didn't go out of style until Bush left the White House.

Then came Obama vs Romney. Obama won by a landslide, so people who opposed him said, "not my president".

When Trump won, his opposers did the same. People acted like foreign interference in elections was something new.

I'm not comparing as mucha as pointing out the logical escalation in rhetoric. How people communicate and act sets a precedent for future communications and action.

It would be good if the next election was as clean as Bush vs Clinton.
Meaning, we should focus on our desires and what products or services satisfy them better. Money is an automation of what desires need to be produced more in the future, so as to be offered in bigger quantities and/or cheaper.

Edit: Nvidia by receiving higher evaluations of money lately, tries to expand production and increase the volume of GPUs produced. So now they are tackling the problem of lithography [1], which is a long standing problem many chip companies tried to solve in the past and failed. It is an expensive problem, but as soon as an abundance of our money is given to Nvidia, they try to solve the hardest problem imaginable.

i.e (Money given -> Production increased) , in an automated way using money. Money is an automation.

[1]https://www.youtube.com/watch?v=HxyM2Chu9Vc
This also happened on Reddit before it decided to IPO thus enshittify to the gills. Maybe it still happens, but I stopped going there.
It's funny because retail-boxed Intel CPUs used to overclock better, at least in the Celeron 300A days.
It can be safe if the language provides a mechanism to tell the compiler that borrow_field1() and borrow_field2() will never mutably borrow the same fields. This would be part of the public API of those functions, and compilation would fail if the implementations were changed to borrow the same fields.
What is this abomination?
"hoja" means also leaf and blade.
Re [1], if the pressure is constant for about a second the software assumes that you aren't touching it and what remains is error in the hardware. It then compensates for the error by introducing a constant offset which exactly counteracts your motion. The only way to fix it is to let go until the software recalibrates to the actual error with zero pressure. Since learning this I've mostly avoided it without consciously changing my behaviour.
Definition of Gambling according to Gamblers Anonymous:

"GAMBLING, for the compulsive gambler is defined as follows: Any betting or wagering, for self or others, whether for money or not, no matter how slight or insignificant, where the outcome is uncertain or depends upon chance or 'skill' constitutes gambling."

http://www.gamblersanonymous.org/ga/content/questions-answer...
Apple has had an Enterprise private App Store solution for years.

How is this any different?
LansingInstitute: We cannot say that 'Putin's dead', likely removed from power
Cool, I know Scylla but it is an OLTP db isn't it?
if you are making an impact on your local community then you are being effective. research on heart disease is most likely effective too, like any research that actually advances our knowledge.
Which part was the joke?

Isn't their hack how the CIA folks within China went down?
Is that science though? I would consider it nuclear engineering.
There is also the opposite effect, where a beneficial substance becomes harmful above a certain threshold (hormesis):

https://en.wikipedia.org/wiki/Hormesis

For example, a very small amount (0.5-1 mg) of melatonin helps you sleep, but a large amount can keep you up.

Probably not what the author had in mind, but there's a funny thing where sometimes having bigger and bigger problems (or physical pain) makes the previous problems go away. At least temporarily.
Whisper is generally better than the one in youtube.
There's no ponzi scheme: the people advertising are the same people who were advertising in the past. They've simply moved from paying newspapers, local TV channels, the Yellow Pages, etc. to show their ads, to paying Google/Apple/Amazon/other adtech companies.