skysight-inc/HackerNews huggingface dataset:
I will agree that some TS libraries have insanely complicated types, and compared to other programming languages I have used (e.g. Clojure), it takes a longer time to understand library code.

But the example provided here doesn't seem too bad. Here is my attempt after skimming it twice.

Paths extends Record<string, Record<HttpMethod, {}>>

I assume the

Record<HttpMethod, {}>

is a hacky (but valid) way to have a map where the keys must be HttpMethod and the values contain arbitrary map-like data. e.g. maybe it describes path parameters or some other specific data for a route.

Moving on.

Method extends HttpMethod
Media extends MediaType

These seem self-explanatory. Moving on.

<Path extends PathsWithMethod<Paths, Method>, Init extends MaybeOptionalInit<Paths[Path], Method>>(
url: Path,
...init: InitParam<Init>
) => Promise<FetchResponse<Paths[Path][Method], Init, Media>>

Looks like we have two generic parameters: Path should be a type satisfying PathsWithMethod<Paths, Method>. That's probably just requiring a choice of path and associated HTTP method. As for Init, that looks like it's to extract certain route-specific data, probably for passing options or some payload to fetch.

Lastly,

Promise<FetchResponse<Paths[Path][Method], Init, Media>>

Taken everything I have just guessed, this represents an async HTTP response after fetching a known valid path -- with a known valid method for that path -- together with Init parameters passed to fetch and possibly Media uploaded as multi-part data.

I probably got some details wrong, but this is what I surmised in about 15 seconds of reading the type definition.
The end result of runaway debt will be one of:

1. the government repudiates the debt and the bonds become worthless (FDR did that partially with repudiating the gold bonds by forcibly replacing them with dollar bonds, and pocketing the difference in value).

2. simply print money to pay them off (aka Yellen's trillion dollar coin)

Of course, there would be major consequences from these banana republic measures.

I don't invest in T-bills because of these risks.
It probably could be automated to a point where there's no human even in the loop here: I wonder if books about mushroom identification are trending in Amazon UK sales lately, or something like that.

No excuse, obviously. But it could explain how whoever's running the scam could have run it off this cliff - probably others, too.

It's been a couple years since I bought even paper books off Amazon. Used should theoretically be closer to OK, but eBay sellers are cheaper and much more trustworthy.
I can't listen to that much alliteration. I had to stop pretty early on.
Interesting concept, but also a great way to obtain zero browsing history on the topics you research.
Never trust anything built by Google/Chrome when it comes to listing web features.

Same here: "web platform status" lists multiple Chrome-only non-standard features claiming they are "limited availability"
I still think 1731 is a long time ago, I can't quite appreciate how long ago 731 is.
The bottom line:
When you flush the toilet, there is an invisible aerosolized plume that spews any pathogen residing in the bowl into the air. While it is theoretically possible to become infected, more so when someone with a highly contagious disease has previously used the toilet, it is unlikely in most cases.

https://www.msn.com/en-us/health/medical/can-you-get-sick-fr...
I really have no opinion here at all. I just wanted to point out that the fact that it’s no morel season in the UK is no evidence in either direction since the post doesn’t claim that the poisoning was due to morels.

I saw a comparable post the other day about an LLM proposing to mix garlic and oil in a way that would have produced a poisonous fluid, which the author recognized before trying. I found that story, and I find this one, at least plausible.
Sure yes. Just like caniuse https://caniuse.com/flexbox
Update - just released a 7 days free trial
99% of all such "advice" subs on reddit are creative writing. I'm gonna hold off on the outrage till there's actual proof that this happened.
To some extent - an "on call roster" or "comp time" help a bit so it's not just a 24/7 job... but even "comp time" is the kind of thing they'll not explicitly say no to (as you found), but also its not something they'd be doing as a norm, and it would make anyone asking for it seem like less of a "team player", a good candidate for the bottom of the promotion / top of the layoff list.

It just seems like a real double standard / unspoken rule of software at BigCo that it's very difficult to contain to 9-5 M-F like the other jobs, since it's salaried or exempt and they're not tracking hours. To some extent the relatively high salaries compensate for it, but it comes at a real toll over the long term compared to a true 9-5.
Most people don't read the articles anyway.

But it looks like pro-military agi-prop, standard spec-ops worship stuff.
30 under 30 is going to inherently attract the wrong sort of people because the people actually worthy of it don't care about it. It basically acts as social proof, which the most successful people already have from their own work. Similar to Mensa in that the majority of the smartest people aren't going to feel the need to be validated by taking the time to join
For the invalid example in 3.2, I think the last line intends to say "sidebar" not "header". As it is, it's both discontiguous and missing an area.
Here's a more credible article about the general phenomenon (more so than an anonymous anecdote in "legal advice" Reddit, which is, by reputation, a place for amateur writers to hone their craft in a low-stakes environment).

https://www.washingtonpost.com/technology/2024/03/18/ai-mush... ("Using AI to spot edible mushrooms could kill you")

- "Like past mushroom identification apps, the accuracy is poor, Claypool found in a new report for Public Citizen, a nonprofit consumer advocacy organization. But AI companies and app stores are offering these apps anyway, often without clear disclosures about how often the tools are wrong."

- "Apple, Google, OpenAI and Microsoft didn’t respond to requests for comment."
The first mass-produced DRAM of the Soviet Union
I imagine that has more to do with penicillin being the peak of medical technology at the time.

Presumably you don't credit government interference with boosting life expectancy by 15 years.
NXP would probably want to steer you away from mifare classic in the first place, wouldn't they?
My buddy who did surplus got a load of these once, someone had invested an immense amount of money into packaging the things and not managed to sell them; so my guy had tons of them and was selling cartons of them for like $10.

I didn't buy any; they seem slightly dangerous to me. just the thing for puppies or toddlers to scarf. plain paper towels are superior in all uses as far as i can see.
It's worth noting that AMD had worked with Microsoft on Zen-specific optimizations in the past, too. Ahead of the Zen 2 launch, they touted improvements of up to 15% from Windows scheduler changes for CPU topology awareness [1]. And with Zen 5 having higher cross-CCD communication latency than the previous generations [2], it probably gets an even harsher penalty from poor scheduling.

While the less-than-stellar reviews for the 9950X are already out, AMD's recent strategy of staggering releases for desktop parts (first the regular, then the X3D SKUs) can improve this generation's perception, assuming there are meaningful performance gains they can reach in software for Zen 5 prior to the X3D release.

[1] https://borncity.com/win/2019/06/30/windows-10-v1903-optimiz...

[2] https://chipsandcheese.com/2024/08/14/amds-ryzen-9950x-zen-5...
What's great about knowledge graphs and property graphs in general is once you really get it (and it's not too difficult, especially if you come from a CS background) you start to see graphs all over the place. It's a really nice way to work with data for certain classes of problems. Once you get "enough" data in and "enough" of a variety of things connected, you start to see remarkable relationships emerge.
Their hypothesis is a good one:

- A form of reasoning is to connect cause and effect via probability of necessity (PN) and the probability of sufficiency (PS).

- You can identify when the natural language inputs can support PN and PS inference based on LLM modeling

That would mean you can engineer in more causal reasoning based on data input and model architecture.

They define causal functions, project accuracy measures (false positives/negatives) onto factual and counter-factual assertion tests, and measure LLM performance wrt this accuracy. They establish surprisingly low tolerance for counterfactual error rate, and suggest it might indicate an upper limit for reasoning based on current LLM architectures.

Their findings are limited by how constrained their approach is (short simple boolean chains). It's hard to see how this approach could be extended to more complex reasoning. Conversely, if/since LLM's can't get this right, it's hard to see them progressing at the rates hoped, unless this approach somehow misses a dynamic of a larger model.

It seems like this would be a very useful starting point for LLM quality engineering, at least for simple inference.
I think it's more likely those NXP/Infineon parts are counterfeits. Look at A.12, there are early cards that don't NACK $F000 but claim to be NXP or Infineon, behavior counter to legit parts. It looks like the Chinese copies started to chameleon that behavior later as well.
I mean I'd rather CCTV footage stays local to the location it's in (a secured security room with a limited data retention policy), but I get why it's networked, because that way it can scale up better. More cameras etc.

And while CCTV is for solving crime or at the very least proving to the insurance company that something did in fact happen, at the same time they're a known deterrent, hence fake cameras. There's plenty of shops that have a screen when you come in to show you that you're being recorded, which again works as a deterrent.
Why loosen the types on the API, when the type system is fully capable of encoding higher-level restrictions? That then locks you into that API as a contract. If you instead lock the API down to the strict set, you are free to expand it over time.
Naturally I reject your characterization of integration as "evil".

Male propensity for sexual assault is not immutable — ensuring that there are actual consequences will move the needle. For that, we need officers who will take enforcement seriously — and although male indifference to enforcing sexual assault isn't immutable either, right now that means that more female officers.
Totally agree. I understand his point but can’t do much unless I implement some very complex stuff specifically for mobile (and I’m not even sure it would work safely)
It would be interesting to see this tech used on films. I’ve always found it funny that in Eastern Europe it's still common to have monotone voiceovers on movies instead of dubbed character voices eg https://www.youtube.com/watch?v=XhWY-Pgneqc
'Age?' It's three months old.
You can think about data structures in a fully dynamic language like JS or python. But you have to write software in a way, which utilizes these types and acknowledges that they exist.

Thinking about what your data structures are is important in any language. Strict typing helps you in pinning them down and communicating them, but the approach is not exclusive to strict typing.

Once your software is about passing anything objects around, you have already lost and proper thinking about data structures becomes impossible. I agree that stricter typing helps you to avoid that trap.
So they need more data from healthy patients when they're healthy in order to determine what's anomalous?

SIEM tools do anomaly detection with lots of textual log data and sensor data.

What would a Cost-effectiveness analysis say about collecting data from healthy patients:
https://en.wikipedia.org/wiki/Cost-effectiveness_analysis

TIL the ROC curve applies to medical tests.
PiKVM – Open and Inexpensive DIY IP-KVM on Raspberry Pi
I heard that there was this ninja who was eating at a diner. And when some dude dropped a spoon the ninja killed the whole town.
Aggregating cross-chain DEX data
Hey HN,

I've been tinkering the past few months with the idea of aggregating and conveniently exposing DEX data at scale for Ethereum & most layer-2s. As the setup grew I decided to write down a short overview of the system.
side note: don’t have much experience with TS, but the overuse of extend is also common in “enterprise” Java/C# apps
Children absolutely can solve those “farmer crossing the river” type problems with high reliability. Once they learn how to solve it once, changing up the animals will not fool a typical child. You could even create fictional animals with made-up names and they could solve it as long as you tell them which animal was the carnivore and which one was the herbivore.

The fact that a child can do this an LLM cannot proves that the LLM lacks some general reasoning process which the child possesses.
Yes.. like... Tiktok?? :D
In 7th grade we had a project to collect, euthanize with alcohol and pin insects for classification and study. Every kid in that class, had to collect 50-100 insects with zero training and most were quite successful. I'm not sure this means anything, but I was amazed at the diversity of the species collected by my classmates.
Complicated algorithm over an array vs simple algorithm over trees and tables and sets and records.
Well the morale is: don't eat wild mushrooms no matter the source (pick them yourself or picked by an "expert"). At least that's my rule. There's a ton of cultivated mushrooms and a ton of other tasty safe foods to choose from, I don't give a fuck how exotic the wild mushrooms flavor would be.

I'm not curios. Because curiosity killed the cat.
at this point the DOJ should just look at what the EU's done with Apple and copy it
America is sabotaging itself in the global battle for talent
https://archive.is/zcAkj
Yea, ancients had a certain taste for decorations.

For example in Assyria, to get an audience with their king Ashurbanipal, I believe, one had to go through a corridor full of heads of king's defeated enemies.

We often forget how violent past was. It was extremely hard to live to adulthood without killing anyone.
> Lastly, debt only matters in comparison to rates. If you're borrowing lower than growth of GDP, then that borrowing is generally considered a net positive. Artificially deflating rates in the late 2010s and the rapid increase in rates post-COVID is not going to do well for government debt because we can't shift our budgets quickly enough to adjust. Of course that also assumes a functioning congress, which we certainly don't have.

The USA's debt-to-GDP ratio has been increasing for a very long time. Every once in a while, GDP growth starts to overtake debt growth for a few years and then the debt load ratchets up further. So if the plan is to outgrow the debt, that doesn't appear to really be working so far.
But you want a MMF that is the sweep. Like Vanguard, but not Schwab.
Nzyme (WiFi, Ethernet IDs) v2.0.0-alpha.14 has been released
The Hundred Years War on Palestine [pdf]
Or, for example, F-Droid (more relevant for mobile apps).
But why did the US lose their AAA rating? It has nothing to do with how much debt we have. It has far more to do with a non-functioning congress that simply decided it wasn't going to pay it. As has been said several times in this thread, it's political, not about the numbers themselves.
Or like Pulumi?
It will work only if it's paid from upper managements paycheck.

They must have signed off this as their acceptance during risk assessment, if not they should take this as lesson to do more evaluation in the future.
I worked in fully typed Java for 8 years before jumping to fully untyped Ruby.

Having leaned hard on the Java type system for many years, I was terrified of the type anarchy.

But it turned out to not be a problem at al. For me at least, being ambitious with writing tests made not miss types at all. In practice, a good test suite catches pretty much any problems typing handles, and then some!

This is only my experience. I'm not saying everyone should or could work that way, or that I'm better than you etc.
Someone I worked with very closely for many years really wanted to be Forbes 30 under 30. They never got it, but got plenty of other random awards that didn’t matter. I never really understood it, because it was so clearly BS; it didn’t help with marketing or PR past like a week, and we had plenty of that from news stories and actual, real PR. And it wasn’t a real award; it’s not like there was something to be proud of there.

I eventually figured it out - it was a notch in their belt that they wanted so that they could point to it as proof of worth. They sought out those various “pay us $2000 and we’ll put you on the cover of our magazine” nonsense things too, even getting them framed and putting them up on the wall, due to what turned out to be feelings of inferiority and a need to feel like they were making progress, even if it wasn’t the right kind of progress.

Needless to say, those didn’t help us at all and were a waste of time and money. Focusing on customers and PR that got in front of them worked much better.
Heard that! I made this proof of concept in just a few hours last night, so there's still quite a bit of work to be done. I've already created an issue to add browsing history https://github.com/steezeburger/wikipedia-browser/issues/1
>While the less-than-stellar reviews

Isent it as good or better than the top Intel CPU but at like half the power consumption?
All gen AI is unattributed plagiarism, but not all unattributed plagiarism is gen AI.
> anemic objects

I have yet to come across a compelling reason why this is such a taboo. Most DDD functions I have seen also are just verbose getters and setters. Just because a domain entity can contain all the logic doesn't mean it should. For example, if I need to verify if a username exists already, then how do I go about doing that within a domain entity that "cannot" depend on the data access layer? People commonly recommend things like "domain services," which I find antithetical to DDD because now business logic is being spread into multiple areas.

I quite enjoy DDD as a philosophy, but I have the utmost disdain for "Tactical DDD" patterns. I think too many people think Domain-Driven Design == Domain-Driven Implementation. I try to build rich domains where appropriate, which is not in all projects, but I try not to get mired up in the lingo. Is "Name" type a value object or an aggregate root? I couldn't care less. I am more concerned about the bounded contexts than anything else. I will also admit that DDD can sometimes increase the complexity of an application while providing little gains. I wouldn't ever dare say it's a silver-bullet.

I will continue to use DDD going forward, but I can't help but shake this feeling that DDD is just an attempt at conveying, "See? OOP isn't so bad after all, right?" Of which, I am not sure it accomplishes that goal.
I think this is a subtle and important point. Types are a potential useful tool to restrain and and specify the schema of data structures. But concern for types is very different then concern for the data structures.
They might be novices who got the book as the start of their search, right? Since it could have any type of AI hallucinated mushroom with any type of AI hallucinated description. Are there really no non-deadly mushrooms in the UK in the late July?

They don’t necessarily have to be plausible or near misses or anything, right?
I generally distrust Reddit threads, but it's entirely plausible to me. I was once gifted a cookbook on Amazon that was full of pre-LLM "sludge" of suspect internet-collected recipes along with a stock photo of an author with fake credentials (her author page is still up, although her books have been pulled and apparently she's a man now https://www.amazon.com/stores/author/B0716Q2Y4Z/about)

When I left a negative review pointing out that the author was a stock photo (entire content: "The author of this book is a fraud. There is no Tina B. Baker, she is a stock photo."), Amazon pulled the review saying it violated their guidelines.
This is how I think about most of my coding, so it must be true.
OpenArtifacts: Single HTML file clone of Claude Artifacts
Think about it like owning a machine gun.

People have been murdering since the beginning of time, but machine guns make it easy to murder a lot of people very fast. So we don’t just have laws against murder, but we have laws restricting access to machine guns.

AI tools make it possible to spread misinformation and disinformation much faster, because you can produce a high quantity of it really quickly. Just like how a machine gun shoots a lot of bullets really quickly. It’s not a fundamentally different type of thing, just a new scale / speed.
Probably fire safety laws
The cost of medical interventions that the government doesn't pay for has declined over the years - like Lasik eye surgery.
> Where is that in your example?

It's the math behind “Adding salaries to wikipedia's number drops from 8 million visits per $20 per month, to 400,000 visits per $20 per month.”

Put another way, it costs 20x for the employees. The budget actually goes 20x the 2.4M to 48M, or 45M after the hosting is paid.

> Buying reporters is not the same as buying reliability.

Just like hiring workers is not the same as buying completed work. This is true of all paid effort.
> While knowledge graphs are useful in many ways, personally I wouldn't use Neo4J to build a knowledge graph as it doesn't really play to any of their strengths.

I'd strongly disagree. The built-in Graph Data Science package has a lot of nice graph algos that are easy to reach for when you need things like community detection.

The ability to "land and expand" efficiently (my term for how I think about KG's in Neo4j) is quite nice with Cypher. Retrieval performance with "land and expand" is, however, highly dependent on your initial processing to build the graph and how well you've teased out the relationships in the dataset.

> I would rather stab myself with a fork than try to use Cypher to query a concept graph when better standards-based options are available.

Cypher is a variant of the GQL standard that was born from Cypher itself and subsequently the working group of openCypher: https://opencypher.org/

More info:

https://neo4j.com/blog/gql-international-standard/

https://neo4j.com/blog/cypher-gql-world/
And that's just a result of growth. There are more humans than ever, communication technologies are improving a lot every decade, writing tools are also improving a lot, and now there are LLMs that can aid with writing. The more accessible it becomes, the more stuff we'll have out there, and most of this stuff is going to be not so great (we'll still have gems, of course). So, it was bound to happen.

The issue you're seeing ($platform spamwrite) is not really an "AI" problem (though, of course, any tech improvement is a sort of an enabler) - its root cause is modern advertising being not aligned with your interests. Incentives there are purely economical (driving sales is the only thing that matters there), and they don't have anything to do with the quality or consumer satisfaction, at least not directly. So, no surprise, when all that matters is consumers' attention (and not the quality of the work), people try to make buck by making the least necessary amount of effort and spamming hard, hoping for an "engagement".
> December 2, 2020 / 5:33 PM CST / CBS Chicago

Add (2020) to title
And the problem is that most legal systems have completely dropped the ball on scam enforcement, and large companies have since taken note and now partake in the practice of facilitating or outright committing scams themselves.

This isn’t an AI issue, it’s a basic scam/fraud issue.