skysight-inc/HackerNews huggingface dataset:
Hi everyone! I'm excited to share a tool I've been working on – an OpenAPI editor enhanced with AI assistance! This tool is designed to make your life easier by speeding up the process of creating and refining your OpenAPI schemas.

Key Features:

AI Assistance: Get help with improving descriptions, generating examples, and more.

Efficiency: Create schemas faster and with less hassle.

User-Friendly: Designed with ease of use in mind.It's completely free to use, and I've put together some demos to show you what it can do. Check them out here: https://www.youtube.com/@reapi_com

The product link: https://reapi.com

I'd love to get your feedback and suggestions. Whether you're a seasoned API developer or just starting out, I believe this tool can make a significant difference in your workflow. Give it a try and let me know what you think!
..and suddenly, it all makes sense.
Huh? I mean bush was still reelected 2 twice. You are comparing a war that started 2 years ago to one that that lasted twenty years, obviously they'd get more eyes on the problem. At this same stage during the Iraq war (2 years in), bush was very popular, his Congress support was as strong as it ever was and he got reelected.

In both cases, the war had massive support in its domestic population, patriotism clichés were used to drum up support etc. It doesn't matter if there is a better separation of power in theory in this case, since it didn't prevent half a million to a million people from dying due to the Iraq war. It only matters for Americans so that they can feel better about their institutions
Show HN: I built a GH Action to add missing alts to images defined in markdown
This is like... eval? I thought eval was bad?
minimum acceptable labor practices enshrined in law have a long term effect of reducing tragic outcomes for individuals, and the costs associated with that.. combine that with whatever ethical or moral system you may consider, and that starts to say why "anything goes" is an undesirable situation over decades.

that said, there are no other countries like Japan, so what works there has limited applications elsewhere, even for casual conversation.
The most common usecase is probably “I have `rm` in the scripts section of package.json, and it doesn’t work on windows.”
Node.js Single Standalone Executable
In D, we use `int` for 32 bits, `long` for 64 bits, and `size_t` for a pointer index. All the craziness just melts away. You can port the code back and forth between 32 and 64 bit patterns, and it just works. All those `int32_t` types are out back in the bin along with the whiteout.
The larger the framework, and the more abstractions it attempts to cover, the more likely you will hit a wall where the framework makes it difficult or even impossible to solve the task at hand. The further I have gone into my career, the more I prefer a minimal framework + internal libraries which solve the needs of the company/team/project etc.
After following a reference to an older book, College Algebra (1901) by Henry Burchard Fine, I discovered the problem in the new book was presented as a solution in the latter.

That discouraged me a lot, being stuck on something that would have been handheld in an older work. From then on, I thought it would be better to seek out the aged books, so concepts would (possibly) be simplified, if only by the lack of a larger sphere of implicit prerequisites.

It's not always true, of course. Maybe it was just that one time or the teaching style. Math does not age, but explanations can always be modernized.

I would like to regularly peruse Math Overflow for exactly that.
I work on Bun - happy to answer any questions/feedback
But why did they make it Undefined Behavior instead of Implementation Defined?

I love the C language, but there are now so many UBs in the language, it is painful to use.
Obsidian all the way, markdown means it can be edited anywhere by any text editor, even online, e.g. Github.
dx can be a differential form, but in (elementary) calculus books it's exposited this way: Suppose you have a function y = f(x) taking real numbers to real numbers, so x is an independent variable, y is the dependent variable. You define an independent variable Δx and define dx = Δx. Also define dependent variables dy and Δy by

Δy = f(x + Δx) - f(x) and dy = f'(x) dx.

Then f'(x) = dy/dx. This may look like a stupid hack to make the last formula work, but actually it's a little more. If you use nonstandard analysis, you define the derivative of a function f from reals to reals by

f'(a) = st( (f(a + Δx) - f(a)) / Δx )

where st takes the standard part of a hyperreal number and Δx is a nonzero infinitesimal. This is like the usual limit definition, without limits. Then you can use the formulas above and "dy" and "dx" are numbers, albeit hyperreal numbers.

(The "dx as a differential form" vs. "dx as a number" is probably coming from the fact that the tangent space to the reals at a real number is isomorphic to the reals, so the dual space [where dx lives] is too.)

(Calculus via infinitesimals is pretty cool; a good resource for this is H. Jerome Keisler's "Elementary Calculus" and "Foundations of Infinitesimal Calculus", both available for free: https://people.math.wisc.edu/~hkeisler/)

I second the recommendation for Barrett O'Neill's book - I used it in my differential geometry class at MIT.
Humans can be aweful at times.
A lot of game engines do this, avoiding the cost of a malloc lookup by just allocating everything as a stack
It's really an impossible calculation. There's no way to appraise the consequences to assign a value. If it were possible to say, that a future mutation was necessary to save humanity (ie. we are doomed without entering that future) well then perhaps we'd be willing to sacrifice a lot of us now.

It's all academic of course, we'll never make such a decision, and never know what could have been. It's just another reminder that we don't really know the future or the best course of action in these situations -- we're just taking our best guess (even the experts).
Show HN: AI-powered data analysis for scientific research
If you read what Yann writes you'll pretty quickly see that he's rather ignorant about AI. His opinion is probably worse on average than the typical technical generalist's
System Initiative ( https://www.systeminit.com/ )
https://news.ycombinator.com/item?id=39073961
I don't know if asking permission of every copyright holder of every image on the Internet is as simple as you're implying.
The "children" (i.e. working adults) have to go well out of their way to work on games and anime and know how much it pays. The mines (for real) in developed countries actually pay really well and are sometimes unionized.
>The first Intel 4 processors actually launched in December 2024

I think you meant December 2023
It would be equally appropriate/wrong to say that mksh, the MirBSD Korn shell, is Android's system shell.

The manual page for mksh also mentions Android in the introduction for those who do not understand the role.
This is cool! Definitely will give a try!
It's custom firmware and a daemon that controls it. I haven't spent the time to get it configured properly
If you're saying the rest of the aarch64 VM got slower after enabling Rosetta 2, that's unfortunately expected. Under Linux, TSO is enabled for everything, even aarch64 processes when Rosetta is active. On macOS, TSO is selectively enabled only for the x64 processes and leaves everything else alone.
Paragliding in Murren / Gimmelwald.
If you go up to the plateau near the Eiger make absolutely certain you don’t miss the last train down (don’t ask)

Via Farrata is popular in the area if you’re into it.

Lucerne might be a bit far but the Swiss Museum of Transport was one of my favorite museums anywhere if you’re into civil engineering.
The rules of Go are not exactly "programmed in" to AlphaGo; they are only provided so the model knows what the valid moves and win conditions are as it self-trains. The latest versions of the model can be quickly adapted to play other games[0] and MuZero can "master games without knowing their rules"[1]. Also, some of DeepMind's earliest work was a deep reinforcement learning model that could play seven different Atari games with no adjustments needed to switch games[2].

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

[1] https://en.wikipedia.org/wiki/MuZero

[2] https://arxiv.org/abs/1312.5602
Not API agnostic, but pix can debug dx12 shaders, and renderdoc can debug Vulkan shaders (I've used renderdoc debugger's jump to NaN to fix a few broken shader edge cases), and both are vendor agnostic.
> it seems that cars that are exposed to these conditions need a whole host of ways to deal with it, special fluids, block heaters and systems to automatically start the car if it falls below certain temperatures

- They don't need "a whole host of ways to deal with it".

- They don't need "special fluids", just normal ones any other car needs, properly selected for the climate.

- They don't need block heaters

- They don't need systems to automatically start the car if it falls below -39 degrees.

Given that, I don't think if there was -40 degree weather, a great many brand-new in-spec ICE cars would fail to start. After all, some places reach that weather, and the cars don't.

Yes, you can turn the key and go, in -40 degree weather. You will be cold while the car heats up, but it will turn over, at least within 2 or 3 tries. The requirements are the ones you have for maintaining an ICE car in any weather: proper oil, proper coolant mixture, and proper battery maintenance. You can admittedly get away with failing at these, in less extreme climate. For example, in the south, it can be hot enough that you can use water, with no antifreeze at all, as coolant.

As for your reddit thread, I wouldn't trust it as an accurate measure of anything, but that's neither here nor there. I'm not interested in a contest between the two, so I'll remain on the topic of whether a properly-maintained ICE car would just work in -40 degree weather (it would).
People have free will; market rate is driven by supply, demand and economics of production and revenue. It's similar to people in the US willing to forfeit their financial future to see taylor swift live and the reseller market understanding and exploiting the market dynamics. Are the resellers the problem? or is it inevitable when people value the financial security of the rest of their lives less than seeing taylor for one night?
...except it was not the source code. Apparently right there in the application in cleartext. If what the investigator intended didn't matter, then what the vendor intended doesn't matter, either.

He literally opened the application binary in a text editor to look for clues (despite the fact that there are common tools like `strings` for this) and saw the credentials, and since he'd been specifically hired to fix a problem with the database, he used those credentials to connect to the database. `SHOW DATABASES` would be a perfectly normal thing to type at this point, and apparently once he saw that these credentials granted access to everything he immediately stopped and logged out.

If his lawyers had been better this would have never made it to court. Liability should have fallen on the contract customer, but for certain the design of Modern Solution's software and application were nothing short of wildy irresponsible. If they really face no risk for this, it's time for all German companies to start contracting firms in other countries where idiots aren't allowed to leave thousands of customers data exposed to the first schlub who happens to notice them.
Yes, because platform is not specified, so you really do not know. Or you really don't know until you know what the platform is.
Seems like now that we have multimodal LLMs and a virtually infinite supply of digitized video, we could get it to prompt itself about what might happen in the video and then tie rewards to what actually happens later in the video.
Probably at least 80% of sitdown restaurants in my suburban town in the US seem to have those portable card readers. Now I can’t even think of the last restaurant I ate at that didn’t do that.
Indeed. Everyone would do well to remember that kind of thing in the US, but only some people actually do. That's why these discussions almost always quickly devolve into irrelevant things like "What? I pay $0.05 per kWh! It says so right on my bill under 'Price to compare'!"

And then the discourse diverges into yet-another discussion about how billing works, and power deregulation, and other things.

But the only number that matters is the total cost per kWh -- including delivery, distribution, generation, taxes, fees, grift, and whatever else might be included in the bill total.

And that's easy to figure out: Total dollars billed divided by total power consumed, for any given billing period.

The result is a number, in US dollars (or whatever local currency), that neatly and inclusively expresses what a person was actually-charged, per kWh, for electricity in their home for that period.

---

So, for example: My most recent electric bill was, in total, $176.26.

I used 1,111kWh during that period.

$176.26 ÷ 1,111kWh = a cost of $0.158 per kWh, plus or minus a rounding error, for the power I used last month.

---

Only now can I extrapolate that if that my total cost per kWh remains static over time (it will not, but it is likely to be close), then: A 10 Watt difference in 24/7 power consumption is equivalent to ~$13.85 per year, for me.

I can now also evaluate that cost in more practical terms, wherein: I can see that using an extra 10 Watts on a 24/7 application costs me less than one decent beer per month, or one twelve-pack per year. And I'm pretty far from wealthy, but I can see that drinking one fewer beer per month isn't going to make me wealthier in any practical sense of the word. A 10-Watt difference in power consumption thus won't weigh heavily on my decision to use one system or another -- as long as it is just one such system.
Yeah let’s get rid of minimum wage while we’re at it.
Lol imagine thinking confluence is any better
There's all kinds of gait recognition software in the public domain as open source, and further advanced things available for small amounts of money. Like with botnets, AI, surveillance et al, the capabilities of the average schmoe are becoming quite alarming.
This is called bump or arena allocation, depending on how you want to define it.
' ' is 0x20 or 32.
A helicopter running Linux no less.

https://www.theverge.com/2021/2/19/22291324/linux-perseveran...
Asahi Linux performs far better on Apple Silicon hardware compared to macOS for server-related tasks (https://jasoneckert.github.io/myblog/ultimate-linux-arm64-wo...)
Language is not necessarily best modelled by predicting the next token in sentence, just like Go is not best modelled by predicting the next move.

It makes perfect sense that predicting the next token can be improved by going back every so often to reevaluate if the sequence of tokens makes any sense as a whole.

If we're conjecturing anyway I reckon the next major step won't come from changes that merely improve training or predicting, but one that fundamentally makes the model capable of learning. Removing the distinction between 'conversing' and 'learning'. This is similar to what you call 'interacting', but I reckon that mere interaction won't be enough if the distinction between letting the model predict and training the model doesn't disappear.
Leibniz and the product/quotient rules: "Although at the outset Leibniz was uncertain about his method and hesitated as to whether or not d(x y) is the same as dx dy and whether d(x/y) is equal to dx/dy, he in the end answered these questions correctly, determining that d(x y) = x dy + y dx and d(x/y) = (y dx - x dy)/y^2. These values he found by allowing x and y to become x + dx and y + dy respectively. Upon subtracting the original value of the function from the new one and observing that dx dy is infinitely small in comparison with the terms x dy and y dx, the results are obtained." [1]

Newton's algebraic vs. geometric approaches to calculus: Boyer [1] notes that in Principia (1687) "Newton presented them [his propositions] in the form of synthetic geometrical demonstrations with an almost complete lack of analytical calculations" - hence the geometrical approach you point out. But he actually wrote up accounts of his calculus in three papers (De analysi ... (1669), Methodus fluxionum ... (1671), De quadratura ... (1676)), all of which were published after 1700. In those earlier papers, his approach is algebraic, often using the binomial theorem. In one incredible result from De analysi, he shows that the area under y = a x^(m/n) is given by z = (m/(m + n)) a x^((m + n)/n). To do this, he increments z and x:

z + o y = (m/(m + n)) a (x + o)^((m + n)/n)

Expand the right side using the binomial theorem, subtract the z-expression from both sides, divide both sides by o, then drop any terms on the right containing o ... and you get y = a x^(m/n). That's pretty algebraic, right?

But the incredible thing is that he's basically showing that (roughly) "the rate of change of the area under the y-curve is y", which is the Fundamental Theorem of Calculus! He's figured out that derivatives (rates of change) and integrals (areas under curves) are somehow inverses (at least in this case). Newton was pretty amazing!

[1] Carl Boyer, "The History of the Calculus and Its Conceptual Development". Dover Publications, 1949.
I assume they would test the missiles before attesting to its range
I remember all of those except the Arctec Gemini.

There were also some noteworthy lower-end toy robots, like:

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

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

Less-known were electronics parts mail-order catalogs with sections of assemble-it-yourself small robot kits (not much more than a PCB, components to solder, and some motors), like: light-seeking robots, line-following robots, Logo-style turtle graphics pen robots.

And occasionally a magazine would have an article a homebrew robot that some teen had built. To kids with access to scrap wood, garage sale appliances to strip for parts, and the occasional Radio Shack or mail-order component purchase, these homebrew robots seemed more accessible than ones costing hundreds or thousands of dollars.
Does Japan have a labor movement? I would expect not a strong one.
To me, it’s not “should I use Spring” but why not? Most frameworks of the same class crudely ape the format. Then the open-source ecosystem of most languages is a ghetto compared to that of Java.

I hate not using it at work but rather Node all the while watching Typescript libraries reinvent the Spring wheel.
100% would agree.
Beyond Budgeting: A Guide to More Adaptive and Human Organizations
I don't know for sure how accurate this is, but I'm guessing it's the first entry in this Wiktionary definition: https://en.wiktionary.org/wiki/L#Chinese.
How do you ensure cross platform compatibility under the hood?
relevant xkcd https://xkcd.com/1172/
So is this akin to Powershell Core but having JS as a language!
It is a promising idea, but it falls prey to the same tautology as in the game-playing agent days. In order for simulation to be useful, you need a really robust model of the world, but if you had a really robust model of the world, you wouldn't need the simulator. Simulation is really really good for one thing: learning a policy that can find a particular corner of the search space as fast as possible (such as a wining state in a Go game). But simulation is not good at actually generating the space. It's going to extrapolate mistakes really badly.

Also, while humans are better at judging (look at that fake thing!) than generating (drawing a realistic photo), I think you may find that — despite our abilities — detection is actually quite a bit harder. As an example:

"John Doe is dead."

This was very easy for me to create, but it's quite difficult for you to judge whether or not it is true due to a variety of factors (which John Doe, am I being honest, when was the last time you saw John Doe, do you know anyone who knows John doe and could check, perhaps John Doe had a twin who died, etc.)
When the alternative is starving, they do. The problem isn't children being allowed to work in mines. The problem is the lack of superior alternatives available to them.
Related:

Why I Quit Google to Work for Myself - https://news.ycombinator.com/item?id=16483241 - Feb 2018 (751 comments)
Yes, it should. That would be amazing.
Hm, so for that, I think find the "process loop." That is, the equivalent of the edit-compile-test cycle for Magic.

For example, first choose your domain scope: a thematic deck, super-crunchy probabilities, or studying a pro former deck?

And then create a deck. That's the edit step.

From here, try shuffling and drawing different initial hands. This could also be done in a program, so it could be a good chance to code something.

Finally, some way to test the deck by playing online.

Iterate by repeating the cycle, refining the steps, and so on.
I'm not sure what the gloves add to this scenario. The point of haptic gloves is to give the sensation of virtual objects. It sounds like this idea would work much better by simply pointing an Ultraleap camera at a human doing the task. You want hand tracking data from a human doing a real thing. Haptic feedback isn't helpful here.

Besides, I don't think that training a neural network on hand motions is actually that useful. What you're talking about is a kinematics problem that is totally tangential. You'd want the robot to understand how to manipulate objects, not hands, and not a human body. Watching how a human moves doesn't tell you how a robot moves. The neural network would need to learn how to manipulate arbitrary objects with a robot body. Capturing human motion doesn't help much.
Tagged templates are really cool. They are a reasonably simple extension of template strings, which allow constructing strings very easily by allowing arbitrary code to be put inside a ${} block inside of template strings (ones that begin and end with backticks ` instead of single or double quotes).

So if you think about it template strings are like a tagged template who's function just calls .toString() and concatenates each argument it is given. There are some really nice safe sql libraries that use this for constructing queries. They are useful basically anywhere you might want string interpolation and a bit of type safety, or special handling of different types.

Lit Element is also a very clever usage of tagged templates.
I might be missing some context due to your curt response.

Are you implying that mines were once considered a high-class "cool" job to have, like working at Google, Uber, SpaceX, or Twitter was a decade+ ago (and still is today for many?)?

What is the connection here, exactly?
> Huge market for snake oil here.

This tool is free, and as far as I can tell it runs locally. If you're not selling anything, and there's no profit motive, then I don't think you can reasonably call it "snake oil".

At worst, it's a waste of time. But nobody's being deceived into purchasing it.
Nitpick: for maximum source compatibility, use this instead:

#define free(_) ((void)0)
Maybe you were away long enough to realise the taste isn't good.
"How dare these other countries respond to my aggression by forming a defensive pact to defend against my aggression! I'll aggress them for that!"

Russia is the one pointing the gun is this scenario, but they sure do love to pretend otherwise.