skysight-inc/HackerNews huggingface dataset:
I read some of your other comments and you strike me as a sort of absolute relativist where everything is relative and all models are equally good.

Nothing I know about reason and science makes me think this is the right approach.
I'm not making any predictions, but I think we'll have a much better idea of the long-term prospects of AI in late 2024 - mid 2025. Claude Opus 3.5 is supposed to be released later this year, and GPT-5 is expected sometime in 2025 IIRC.

I'm still amazed by the quality of Sonnet 3.5's outputs and OpenAI's realtime voice model. I expected the skepticism from this site's userbase but not to this degree. Anyone who has used Sonnet 3.5 and still thinks generative AI is just a "party trick" is either not thinking hard about AI's potential impact or simply in denial, imo.
This is a persistent meme that has no basis in reality. A TypeScript engine is a JavaScript engine, since everything that can be done in JS can be done in TS. It's plausible, maybe, that there could be some additional optimisations on TS code where the engine is sufficiently happy with all types in a subset of the program. But that would be on top of all existing JS engine features, unless you want your engine's performance to suddenly degrade if you stray outside the fully-statically-verifiabe-TS happy path.
I believe you and several of your child comments might be confusing "types as comments" with "types in comments".
Back during the Wild West of Group B rally, some teams (I forget which), ran their cars with cardboard tubes in place of roll cages! Perhaps an apocryphal story but those times were nuts.
This is the first time I'm hearing such a claim.

In C# you can't work with optional generics because an optional reference type is different from an optional value type.

C#s poor type-inference often requires you to type out types thrice. You can't declare constants or class members with type-inferrence.

The only way to define sum-types (A | B | C) is through intefaces and I'm pretty sure they can't be sealed. Defining product-types (A & B & C) is impossible.
The study shows an association, and does not demonstrate a causal link. I think people are likely to misinterpret the warning label.
> One of the people to unwittingly install it was a Disney software development manager, who also had the company’s Slack channels active on the same computer.

The issue here is the IT department allowing employees to install personal software or games on work computers, or access work-related materials on personal machines directly, without a VPN or similar security measures.
YES. It was such a joy to be able to ditch Jest completely and run tests natively.
Great, so the economic {dis|in}centives are keeping a bunch of people fed but doing useless study of a dead end and even kept you from pointing out the emperor has no clothes (assuming your epiphany is valid). Is social conformity holding back science?
Is Bun's bundler on par with webpack for features? You can't escape webpack* if you're targeting frontend.

*Or vite, or whatever equivalent.
> Designers who can code spend more time sketching and less time in Figma.

Well, that’s because they can code.

For the rest of designers, or designers working in a team. Figma will remain where it is
Credit Card business is such a weird one. Especially cashbacks is a thing that just baffles me.

Perhaps it shouldn't be legal to push costs to merchants in such a shady way.
> Are these people better than those in Gaza? Sure but their life is still insanely hard.

They are better off than 95-99%% of the world's population. Put this into perspective. I've seen incredible poverty in this world. Our people are largely ungrateful and have lost the point entirely.

> You said you lived this way for the first 18 years of your life, then ask your parents how much sacrifices they made so you can feel this comfortable

You don't know my situation. There were little sacrifices to be had. I also never said it was always comfortable. But it was dignified and we had everything we needed. There was not a single day where we had to skip meals, and I remember filling out the forms for school trips myself. To live always comfortable is not the point of welfare.

> I've personally given benefits to these people, and I can assure you that you live in a fiction built for you by propaganda on TV.

Seeing as you're swatting away my opinions and personal experience as propaganda, I don't think there is any way to get a fruitful discussion out of this. I don't think we should lower welfare benefits. I just think we're being nationally out of touch with reality.
In my experience unsoundness is almost never a problem in practice, see here for details:

https://effectivetypescript.com/2021/05/06/unsoundness/
The struggle to unplug: why Kiwis find it hard to disconnect from the internet
I've been using TypeScript professionally for 6+ years and have only ever run into issues at the border between TypeScript and other systems (usually network, sometimes libraries that don't come with types). There are a few edge cases that I'm aware of, but they don't really come up in practice.
End-to-End Encryption – What It Is and How It Works
I really enjoy typescript and have been yearning for a typescript runtime but I can't help but laugh that I left java all those years ago to finally seek something a lot closer to java.

I guess we all just wanted java with JIT, more feature rich type system and gradual typing. Also for all the shortcomings of npm ecosystem, it is a lot less daunting and more fun to be using libraries in this ecosystem.

And surprisingly even though rust is on a different end of the language spectrum but yet it offers a similar feel.

Edit: JIT was not the right terminology to use. I lazily wrote JIT. Apologies. What I meant to convey was the difference in startup times and run time between running something in JVM and V8. Java feels heavy but in javascript ecosystem it feels so nimble.
Was there a knowledge engine of some sort in the past? I could ask it some questions like “what color is a light red flower” and I would get back “a pink flower is pink.” Asking what color a purple cat was would get back purple… but asking what color a blue bird was would get back “a blue bird is blue, red, and brown.”

“Who has birthdays today?” And I would get a list of famous people with birthdays today. I could also ask if Alice and Bob (two names in the list) had the same birthday and I would get an answer (one time I think I got back some internal query language for it instead… but that’s lost in old bug reports).

Now any interesting question starts its answer with “according to an Alexa answers contributor…”
Working Remotely? Ever missed a meeting?
Hi All,

I am trying to gauge interest in a problem I'd like to solve.

Basically, my coworkers and I have missed so many meetings and been late to many meetings because of:

1. Wasn't paying attention to the calendar (I'm in "flow" and I forget to check the calendar)
2. The Meeting ran over

I think Google Calendar, and Outlook Calendar are not helpful in making sure attendance and sharing awareness about time.

So I want to figure out if this is a problem that others were having. Feel free to comment below and if you can, could you fill out a quick survey: https://forms.gle/ykMS3fXcfA9RELwm7

Thanks!
> So GitHub might just choose to ignore the notice for React, get sued, and win, all without losing the safe harbor.

It wouldn't be React getting the notice. It would be say, someone forking React, then adding a pull request with some clearly DMCA-violating material.

Then, if downstream B DMCA shutdown doesn't affect upstream A's availability, there's still the question of A normally still having access to B's non-merged commits even in the case of B's deletion. So, A should still be access the DMCA-violating material.

And, if A's access to B's non-merged, DMCA-violating commit is truly revoked without affecting A otherwise... why can't we have a "Strong Delete" button on GitHub? Would seem they'd have to have "Strong Delete" functionality to comply with downstream B hitting DMCA.

Basically, I'm feeling either a violation of principle of least astonishment, or a violation of "strong-DMCA".

Unless this is to support a feature in Git/GitHub that I am too noob to understand. :shrug:
tailwind is pretty close IMO.

text-sm md:text-base lg:text-lg

Mobile: font-size: 0.875rem; /* 14px /
line-height: 1.25rem; / 20px /

Tablet: font-size: 1rem; / 16px /
line-height: 1.5rem; / 24px /

Desktop: font-size: 1.125rem; / 18px /
line-height: 1.75rem; / 28px */
I think you're confusing the language and the perception of language, the "rules of C" vs. the "brand of C".

What Pnut shows us is that the language itself is a very thin construct. C could be as low-level as you want, but it can also... compile to shell. Pnut shows that C is only a set of grammatical rules, and the source code in C doesn't necessary reflect the binary program, it's only a script for the C compiler. A compiler then decides how to interpret the source and what to do with it.

Now back to builds. The difference between:

set(SOME_VARIABLE "SOME VALUE")

and

set(SOME_VARIABLE, "SOME VALUE");

is purely grammatical. The underlying functionality is the same. When I'm saying, CMake could be a C library, I'm not saying we should ditch CMake and everything it brings to the table and start writing build scripts in pure C. I'm saying we can use both C language and CMake functionality with very little, skin deep, adjustments.

The only thing that keeps us down is the perception of C as a low-level language for low-level applications. C is for drivers and shell is for moving files around. And that's when Pnut comes up and tells us: "hold on, are they?"
Closure was also interesting because it integrated type checking and minification, which made minification significantly more useful.

With normal Javascript and typescript, you can't minify property names, so `foo.bar.doSomethingVeryComplicated()` can only be turned into `a.bar.doSomethingVeryComplicated()`, not `a.b.c()`, like with Closure. This is because objects can be indexed by strings. Something like `foo.bar[function]()` is perfectly valid JS, where the value of `function` might come from the user.

A minifier can't guarantee that such expressions won't be used, so it cannot optimize property accesses. Because Closure was a type checker and a minifier at the same time, it could minify the properties declared as private, while leaving the public ones intact.
> You could easily have useful stretches of rail working around the north of England by now, proving out the technology and adding and upgrading stations much later.

Upgrading stations in-place is extremely expensive, far more so than building them in the first place. (In theory opening the railway without the station and then closing it for months to add the station might be better all round, but in practice passengers throw a fit if you try to do that).

> for example with crossrail you could have aimed to open Liverpool Street to Whitechapel, then add in Tottenham Court Road, etc. etc.

So you'd have to build a bunch of extra turnback facilities, resignal everything repeatedly, use those expensive TBMs for longer, and to what benefit?

They did build one station early to prove things out and understand any problems (Canary Wharf). Not a lot of value in doing more than that.

> As much as I love the Elizabeth line I’m pretty sure it is crazy over specified, the stations and tunnels are all gargantuan and they probably could have made everything 20% smaller IMO which would have saved them quite bit.

No it wouldn't, that's exactly the sort of backwards shortsighted thinking that messed up HS2 (if we make the charitable assumption that Sunak wasn't just deliberately wrecking it). The most expensive part of building the Elizabeth line was demolishing and digging up a bunch of buildings in central London. Rebuilding an existing underground railway in London to be bigger is literally impossible to do economically, the size they built it was the size it will be forever, and even if building it to tube size had been a good idea (it isn't) it would have been illegal under accessibility regulations. Making the stations 20% smaller would have been penny-wise and pound-foolish in the extreme.

> I often think the politicians egos are the biggest pitfall for most infrastructure projects.

Well, yes, but the way that manifests is politicians thinking they can tell the people building it to just do x y and z and that will save money, rather than accepting that actually the experts know what they're doing. The same thinking as your comment, in other words.
Combine this with an eslint config that nudges you about explicit any, and the typescript compiler option to disallow implicit any, and you're well taken care of.
It might have worked, if Amazon policed their sellers. However, there are so many poor or scammy sellers, so many counterfeit products, that you really have to scrutinize every order.

Aside from books, Amazon has become my last choice as a place to order.
What happened to all the stuff about relentless custom focus?
What store doesn't list prices? Isn't that illegal in most places? In my country even the tiniest ancient village stores I've been to have prices listed on items (sometimes simple labels attached to the items, such as "10", but still there).
Oh I get it. I actually think there’s a huge opportunity in online retail to gate off categories and brands that are already in, say, Walmart. Then do the Amazon algorithmic model for everything else.

I think you’re missing how crucial Amazon’s algorithmic model has been as a way to connect shoppers with 2 day delivery for an unimaginably long tail of products. We sell a technical product that would be at home on McMaster. On the 2nd largest retailer in the US. It’s incomprehensible that our products would ever be in Target or Walmart stores. Yet we have access to the same customer base at the same place where they can buy Tide. Amazon’s purely algorithmic approach is what allows companies like us to do product/market discovery for them (and their customers).
> I wonder what was different in the 20s?

I genuinely don't know. I have a history degree, but have mostly read European early-modern, not American or 20th c. history. I think you're right about manual / un-trained labor jobs being more prevalent / available. The 20s were a decade of full employment, too, so that had to have had an effect. To your list I'll add a few speculative ideas:

1) Housing was easier to come by. Not nice housing, mind you, but there were boarding houses and "SRO" accommodation, at achievable prices, more available than there are today. There were also (this goes to your social support suggestion) nation-wide organizations, like the YMCA and the Salvation Army, who were committed to sheltering people living on the margins of society. They were more successful, and more economical, than localized "homeless shelters" seem to be today. Many people start using substances because they're on the street, and I'd guess that many of them wouldn't if they were in more comfortable circumstances. You'd know more about this than I: what do you think?

2) Along the same lines: drugs, as we have them now certainly weren't the same thing - no fentanyl, no crack; marginal weed, opium, cocaine; all of them relatively more expensive than they are today. People can, however, just as surely ruin their lives just with alcohol. Maybe the fact that booze was illegal during the 20s made it enough harder to get fucked up that that had a marginal effect?

3) The surveillance state wasn't a thing. If you didn't choose to disclose it there was no way for a prospective employer to know that you were a felon and disqualify you for a job on that basis. Heck, if you wanted to change your name and move somewhere else to start an entirely new life there were many fewer obstacles to that than there are today.

4) Mental hospitals. For all of their much-publicized abuses, they kept obviously unstable people off the streets and out of the penal system. I don't know what to think about them overall, but there's nothing like that anymore.

But, we should be wary of overstating our case. The US in the 1920s was a much poorer country, and in general its penal system was harsher than it is today. We shouldn't be eager bring back chain gangs, or early 20th c. execution rates. They did, however, have an enthusiastic constituency for reform, and at least local successes, like the system with which my relative was involved. I don't see either today, when even "Progressives" seem to propose only modest, marginal reforms.
Tangent but this makes me feel sad at the customer service I lost when first republic went tits up. Ugh. They were just like this and the best customer service I've ever had with a bank
One quick way to improve results greatly is to ask questions with 2/3 chunks & in the lookup for these chunks mention the IDs of the other chunks, qdrant allows for easy metadata addition. So just generate a synthetic question bank & then do vSearch against the same instead of hoping for the chunks to match up with user questions.
If you run a DELETE FROM in any modern sql engine, which is the absolute best you could expect when asking for a delete in the UI^, the data is nowhere near gone. It’s still in all the backups, all the WALs, all the transactions that started before yours, etc. It’s marked for eventual removal, and that’s it. Just as the definition of delete I provided says.

^ (more likely they’ll just update the table to set a deleted flag)
I'm baffled why everything I consume from Britain is damn pessimistic.

So, you can't invest in HS2 because money and debt. But anytime you try to save money it also doesn't work.

So best do nothing and start drinking I guess???

> We're a hardy nation, we've dealt with worse and we'll get through this

Well the people wont all just move. And UK wont collapse. But the question is, will it be as a nation as rich as Nordics or more like Italy.

> but the reality is Starmer doesn't have a lot of cash to splash around.

Many nations have higher debt then Britain.

HS2 and BritishRail can turn Britain from a subpar train country into one of the best. Its just a matter of actually doing it. If that not worth investing in, then nothing is.
Ukraine thrown into war's bleak future as drones open new battlefront
LOL, makes me think of something more like putting in an order on a stock exchange:

Alexa, what's the current price of a small box of Tide Pods?

A box of 10 Tide Pods costs $5

Alexa, place a limit order for a box of 10 Tide Pods at $5 to expire at the end of the day if not filled, and notify me when it is filled.

If I can order you a box of 10 Tide Pods for $5 or less today, I will do so and notify you.

...time passes...

I have filled your order for a box of 10 Tide Pods for $5; they are expected to be delivered within the next two days

Not that this would necessarily be a good thing, but it seems to me like it would generally beat having to pull out my phone or fire up my browser and do it that way...

[Edit: formatting]
The Unpredictability of Life
"Why academic outcomes resist machine learning."
the url imports is one the things I don't want.
> It means you eliminate the abuse and criminal behaviours of drugs.

> Obviously it's impossible to eliminate every single instance

Exactly. So when does it end? What target needs to be reached for the war on drugs to stop?

> it's quite easy to eliminate virtually all negatives to society.

Then why has nobody done it?
The government can not "screw the business and the end user" because tax rates are public. VAT changes don't just happen in secret. Tax changes to specific product categories (such as extra taxes for alcohol in some countries) are publically debated. And if you want lower taxes you try to vote in a more economically right-wing government. The framing of your statement makes it clear you just don't trust/like governments. That's fine, I guess, but it's an incredibly strong bias in your arguments
Same thing happened with Falcon on Debian before. Later they admitted that they didn't test some platforms they were releasing. Never heard of Docker?

How can you keep on with such a Q&R manager? He'll cost them billions
If by "these companies" you mean the third party suppliers, then sure, but Amazon obviously loses business when a customer can't trust the branded microphone cylinder they bought to place the desired order for them and make the program profitable. This is especially evident in the failure of Amazon's bid over the past decade to replace the big box supermarkets and grocers: clearly customers aren't pleased enough with the service quality to select it over physically picking their "essential goods" themselves, even when their probable prime subscription partially went to setting the system up. What good does Amazon get in hamstringing its own ability to acquire new markets in exchange for enriching someone else? The argument that they've arrived here out of some rational, intentional economic calculation that they can but choose not to change is clearly penny wise but pound foolish.
Based on the comments, many have known since 2018. GitHub has made multiple statements about it.

It's been written about multiple times, and now truffle is reposting old content with a name like IDOR to try to invent a new vuln class that doesn't exist.

The title of the post is misleading, a specific set of repos leak data under specific circumstances - not every repo. The first two sentences of the post immediately downscope the claim made by the title.

Im guessing you didn't bother to check out thier YouTube.

This post is the only thing the OP has ever posted in 8 months, probably because it's truffle themselves. I stand by my statement, it's clickbait.
Ask HN: Why do so many B2B tech companies sponsor formula 1?
This seems like such a solvable problem. It only requires some profile setup.

Take the most commonly re-ordered items on Amazon (paper towels, toothbrushes, etc) and have the user select a preferred product, brand, and fallback for each one, as well as a maximum price. Some of that is already implemented for Subscribe & Save and Whole Foods delivery/pickup orders. They could even leverage that existing system.

For less common items, first check the user’s purchase history for something similar and announce if the price has increased more than few percentage points or is not in a normal range for the product category.

That will cover a lot of cases. For the rest, refer the user to do some research on the computer.
Related rest of this discussion & outrage:

Google is the only search engine that works on Reddit now, thanks to AI deal

https://news.ycombinator.com/item?id=41057033
That is the literal definition of cynicism.
> You’ve completely missed the most dangerous thing mentioned, namely that private forks are not private.

What do you mean "missed"? They described the situation where data is leaked from a private fork, which is when you make the original repo public.

There's no other time when data leaks. A public repo can't have ongoing private forks.
People have a need, or hope, for improvement; of themselves, their station in life, their freedoms and affordances, etc.

It doesn't need to be actual growth, as in population, mountains of 'goods' (which are getting less and less good these days), profits, etc.
FTC launches probe into surveillance pricing
Ah I've got it. Async is a monad and the function is just polymorphic over Monad m. In the sync case m is Identity. Can you point me in the direction of some libraries which offer functions like these?