skysight-inc/HackerNews huggingface dataset:
Yeah in TS' own playground example they don't create a Symbol, they just intersect it inline: https://www.typescriptlang.org/play#example/nominal-typing
Congrats, folks.
It looks like a type of beta pdf distribution curve to me. Interesting!
Snapdragon X Plus
>Gilligan gains the ability to read minds after being hit on the head with a coconut.

Partial credit. The title is right, but the explanation is a hallucination. It isn't a coconut but special sunflower seeds that give Gilligan (and eventually the other characters) mind-reading powers.
That playground is cool. I wonder if there are any 2-way playgrounds where the right side is also editable using a Word / Google Docs style interface (and the changes are reflected in the code-style interface on the left). I've always wanted something like that for teaching non-technical people the basics of Markdown. Bonus points if it's collaborative.
Around me, most people who drank the AI kool-aid are "ideas guys" who have never wrote a single line of code, or junior-level coders who believe I paste code from StackOverflow all day long.

In a 8 hours day of work, I must write code at most for 2 or 3 hours, and any AI would certainly not help me unless it can understand the meaning and intention of weird C++ code. We're relatively safe for the moment.
Absolutely, I'm in the same camp as you it seems. It's important to study these things and make sure we can get psychedelics rescheduled. I'm also happy that people that aren't as weird as me can have therapeutic settings to help with lifelong issues they might otherwise completely avoid. Even if I might laugh and cringe a little inside when I see the yuppie corporate branding for things people have been taking for thousands of years and (for me) seem like no big deal at all. Or rather, a big deal that's not so much of a big deal.
That's putting words in my mouth.

All social media with attention management may be weaponized and has generally proven to be unhealthy for society. TikTok happens to be actively worse for a number of reasons, one of them being that it is designed to be so.
And do we know how ice skates work?

https://xkcd.com/1867/
I wonder why co-ops are so comparatively rare in the US, even though everybody seems to like them (customers and employees).

It could just be tradition and the effects of history. But then why did US history create more shareholder corps while European history created more co-ops?

It could be that US investors are less willing to invest in co-ops. But then, why? Is there something about them that makes them less competitive? Why are they ostensibly worse in the US than in Europe?
You don't even need the symbol. If you want the simplest thing that will work:

type Velocity = number & { BRAND: "Velocity" }
type Distance = number & { BRAND: "Distance" }

var x = 100 as Distance
OK, that makes some sense.

> In this case it would be pretty easy for the LLM to reason about how often t appeared in the sentence.

I’m not sure that follows though; is it true that LLMs already find it easy to ‘reason’ about how often (token) appears in some given text? I don’t think so.
I'm not seeing any issue with those voices finding a space elsewhere say on X/Twitter - believe me, I see enough of the slop over from it.

The level of direct control the US Government has over US Social Media platforms pales in comparison to the control China has over TikTok.
Multiple people here have told you that your understanding is incorrect. Now you've resorted to straw man so... I think deep down we all know who is talking out of their behind.
I guess that argument might make some sense with “victimless crimes” like drugs where it’s possible that people in other neighborhoods are doing drugs and the amount and level of police makes it appear certain people are commiting more crimes.

However, I’m not convinced that things like shootings and murder is something that’s being enforced less in other areas of the city as you are probably going to end up in a hospital or discovered either way. You might think it would be more likely to be reported in other areas where the community generally supports the police or has more access to healthcare. So I think it’s totally logical and reasonable to install these tools where the most murders and shootings occur and to have a higher police presence there to try and reduce them.
AI models for... spam bots? There are way better sources for human writing. Is this a reasoning Melon Husk gave for closing off the so-called "town square"? Pretty poor reason, if so.
that's the idea, but challenging a patent in court is extremely expensive and not at all a slam dunk even for garbage patents
> The difference is that when the servers are in China the US government can't get that kind of access/cooperation.

Except that TikTok’s data, or the main copy of it at least, resides in the US, so the evil US govt theoretically already has access to it. That’s not the motivation for this bill.
Also, IIRC, the CEO of Freshworks (company behind FreshDesk) was heading product management at Zoho earlier.
They should not, but then they also should not call the model truly open. It is the equivalent of freeware not open source.
Octopus are a tricky case. We just don't know. On the other hand we can confidently say clams don't believe in conspiracy theories. Neither do jellyfish.
My Dinner with [Marc] Andreessen
First thing I clicked on was Safe Space. LOL!!!!! I love it!
Exactly. In terms of design, something like tailwind is a great example of the 'templatization' of design and communication, where ease of authoring and maintainability is valued over producing artefacts that are appropriate.

I don't know if this is even remotely true, but I would guess Tailwind, and things like it, are more popular in agencies (sweatshops) that are pumping out projects where junior staff are the ones writing the majority of frontend code.

For the type of thing I do, "hand-authored" doesn't mean "unmaintainable".
This whole vector (serving malicious updates via MiTM) has been well known for the longest time, with even frameworks such as Evilgrade for exploiting them.

Such an oversight from a “security” company is frankly unforgivable.
I guess? I would attribute this to poor regulation of the market as opposed to the market itself being bad
Vine had no where near as good of a recommendation algorithm as TikTok. Reddit for over a decade relied on self-curation and upvoting to determine what to show you.

TikTok curated content without the need for a user to do anything else than scroll. You can have a remarkably well personalized TikTok experience without liking, following, or saving any content.
You only send 1 application per month? I've read it's normal to send over 60 applications before you get a job. Are you sure there are no more websites you can use to look for more job ads? I also read that more than 70% of job hires happen on LinkedIn.
There were media controls during WW2, free speech is not absolute, especially when at war
Great Western Railway locomotives had automatic stop long before the end of steam. Why would having to have that automated put an end to high speed steam service?
I think the hand running through the wheat (?) is pretty good, object permanence is pretty reasonable especially considering the GAN architecture. GANs are good at grounded generation--this is why the original GigaGAN paper is still in use by a number of top image labs. Inferring object permanence and object dynamics is pretty impressive for this structure.

Plus, a rather small data set: REDS and Vimeo-90k aren't massive in comparison to what people speculate Sora was trained on.
Question for Stainless folks: For Node.js/JavaScript SDKs, did you consider using Proxy instances in lieu of classes for each resource, to reduce the amount of actual code generated?
I believe it's Douyin
They're probably above the median on the scale of actually useful human activities; there's a lot of stuff carbon tax would eat first.
people criticize "rent seeking" all the time, but the avg person is a rent seeker. Everybody wants stable income/job security, including (especially?) librarians. I'm not calling it particularly nefarious, rather I'm pointing out its nefarity is in keeping with ordinary human nature.
Bluefield can also run regular Linux distros and it can run standalone without a host (but you have to power it somehow). https://www.servethehome.com/zfs-without-a-server-using-the-...

All other DPUs seem to be NDA-encrusted.
Fiber optics made in space may be the future of photonics
True for this isolated example, but careful with this practice because that requires `<a />` to be the immediate descendant of `.link-list`, where className is more flexible.

Consider a simple HTML change like wrapping links in a list item, or occasionally using a <button /> to handle click events, it would break the styles if you used child selectors:

<ul class="link-list>
<li><a href="#" /></li>
</ul>

^ even with this tiny change, your styles are gone. Would have to change it to:

.link-list > li > a {}

And would have to repeat that for anything else you'd want to support later:

.link-list > li > a,
.link-list > li > button {}

etc. Where with a normal className it would just work in all those cases without having to touch CSS again:

<div class="link-list>
<a class="transition-link" href="#" />
<span><a class="transition-link" href="#" /></span>
<button class="transition-link" />
<ul class="flyout-menu">
<li>
<ul class="sub-menu">
<li><a class="transition-link" href="#" /></li>
</ul>
</li>
</ul>
</div>

All those would be styled correctly without having to explicitly list descendant structures in CSS. So it's more flexible just using className and I would only use > for specific situations.
Ah, you are saying they were bad because they let foreign nationals know that the NSA was doing its normal mission. But I don't think that part would surprise anyone.
The FTC Comes for Noncompetes
As Steve Goodman sang:

And I saw the boss come a-walkin' down along that factory line

He said, "We all have to tighten up our belts."

But he didn't look any thinner than he did a year ago

And I wonder just how hungry that man felt

But he knows it ain't too hard to get along with somebody else's troubles

And they don't make you lose any sleep at night

Just as long as fate is out there bustin' somebody' else's bubbles

Everything is gonna be alright
Ah, I had the wrong kind of unsafe in mind.
American flag sort is essentially an in-place version of counting sort.

That's talking about the single-pass American flag sort. If you use American flag sort to sort strings, you do multiple passes: on the first pass, you sort all strings by their first character, then for each starting character, you sort the strings with that starting character (which are now in a contiguous subarray) by their second character, and so on.

@chowells calls it a “top-down radix sort” below, which is a great description. It also explains the strengths and weaknesses of the two algorithms: radix sort works great for small strings of fixed length (e.g. IPv4 addresses, which can be thought of as 4-byte sequences) while American flag sort works great for variable-length strings like actual textual strings, especially if they don't share common prefixes (e.g. dictionary words, usernames, etc.)

@hinkley pointed out that the recursive version is just a bucket sort, but in-place. Which is also true!

tl;dr:

Single-pass American flag sort = in-place counting sort

Recursive American flag sort = in-place bucket sort
Retaining Database Goodput Under Stress with Per-Partition Query Rate Limiting
Surely I'm not the only one who finds tailwind insanely easy to use, but I see so many people bashing it every day it baffles me.

Who cares if a div has 15 classes? When writing React, I spend pretty minimal effort creating, debugging, or modifying TW classes, especially when using `classNames` so I can break them into logical chunks. The hardest part is... oh, I get it.

The hardest part is when other people do a shit job of organizing their classes and I have to dig through them. But an LLM isn't going to solve that problem, only an actual, intelligent algorithm to standardize class arrangement would help, like prettier for tailwind classes.
> I don't see that information on that link.

I may have been overzealous is removing what I thought were tracking parameters. If you click on "about us" in the footer and scroll all the way to the bottom or click on 1996 - you'll find the text about AdventNet, which I suppose is the source for Wikipedia

https://www.zoho.com/aboutus.html?ireft=nhome&src=ourstory-f...
he's so much better as "billionaire sports team owner & rabid fan" than "tech company executive"
The analogy (being only an analogy) doesn't explain what negligent engineering flaws you're referring to, you simply imply they exist and expect everyone else to nod along.

Are the security flaws in Windows notably worse than the patches that any other major OS needs? Or are there simply more of them that are discovered because a Windows vulnerability is a much juicier target?
Try reading it instead of insulting people for daring to use words. Not like it's that long.
Show HN: I build Website for Students in Tech
I made a website for students looking for tech opportunities like student programs, fellowships, and more!
AsciiDoc is much nicer, but has the unfortunate flaw of having basically one implementation and it's in Ruby (the JS one is just transpiled, the Java one runs on JRuby, not sure about Go and Haskell).

They don't even have a Python library, which basically guarantees that AsciiDoc won't be taught in colleges.

I like AsciiDoc, but not nearly enough to mess around with installing Ruby and Gems and then having to do the same for anyone else at work that needs to build the docs for whatever reason.

Ruby is basically a non-starter for me in general. Dependency management and interpreter versioning is a pain in the ass for interpreted languages, so I'd rather have as few as possible on my system. I've already got Perl and Python installed by default, I'd rather not add a third.
Does mass surveillance make you feel isolated?
I think most people would say no because they don't know anything about mass serveillance but I think it will be interesting to hear opinions from members here in HN who are likely to know much more than the average person.

its impossible to talk on a personal level with anyone. Even if you can convince them to get signal, they have to pretty much get grapheneos as well because Android and IOS spy on you and NSA builds backdoors into them. They can't use signal on their computer because they probably use windows/mac and even if they use linux i dont thiink they know enough about hardening and security. You also can't just talk to them in person because they will have their phone with them.

You have to go to such great lengths just to be able to have a nice conversation with someone in private without anyone recording or logging our conversation. It's basically impossible.

This means we can't ever be ourselves. How can we ever actually get to know someone else? Not just superficially. Maybe some coworker wants to hang out after work but you have to say no because you know it will be boring knowing everything is being recorded and logged. Or maybe you want to go on a date with someone you met but you know it will never work out because you can't really get to know each other when you have to keep everything superficial.

And this is also exactly what our corrupt and unconstitutional governments want. They want us to become isolated and their plan is working. Their path towards totalitarianism is working out and we're getting constantly closer to pure hell.

These secure communication apps are great for criminals though, they can go to these lengths and make sure their partners in crime do as well. But for normal innocent citizens, it helps but it doesnt help enough. Mass surveillance doesn't stop criminals, it only causes innocent citizens to become isolated.

And what does isolation cause? depression. What does depression cause? Suicide. So in a way, our governments are murdering innocent citizens in masses with their unconstitutional mass surveillance.

If you try to use freedom of speech to vent your complaints about our corrupt governemnts and their mass surveillance you just end up on even more of their lists of suspects, persons of interest, extremists, dissidents and become a target for even more surveillance and censorship.
One of the modelers working on Arctic. We have done no alignment training whatsoever.
Given the energy range of protons from the sun, it seems that the only way they can reach sea level is if much of the atmosphere were already swept away by some huge event.
2 hours, plus time to check in, security, getting to and from the airport etc.

Two hours flight time from Amsterdam is Italy or beyond, that's quite different.
El Salvador's Bitcoin Wallet Suffers Leak of Source Code and VPN Access
No, it’s what I discovered was being used in the company at the time.

They ended up moving (by hand) everything to Bitwarden. It’s an improvement but not a major one IMO. It doesn’t solve the rotation problem at all (you still need to rotate all of the passwords that somebody could have taken with them), nor accountability (you can’t easily determine who was using the account at any specific time). I guess you can somehow export logs from Bitwarden to determine exactly which credentials were viewed by a specific user, but in this case, it would have nearly always been “all of them” for a few dozen employees.
> when an embedded video loads for me, youtube still knows that it's me

If/when third party cookie blocking is fully deployed, this won't be true. Your browser won't send YouTube's session cookie to YouTube when it's loaded in an iframe on an unrelated site, so YouTube won't know you're a premium user.
Yeah, I was being deliberately obtuse.

But to be honest, just a few these lists result in sending way more markup than I would be regular old CSS. And we haven't even applied any responsive classes.

Ultimately I think this is a subjective aesthetic judgement... the kind of UI code the tailwind results is ugly and hard to read (for me), and I much prefer using CSS modules.
This is quite a naive take with regard to US global hedgemony. They don't have 11 aircraft carrier groups for nothing.
Doesn't that depend on how profitable the company usually is? I know plenty of people in the finance world who, if paid only their salary, would be searching for a different job.
By the way, this case can be tracked at Court Listener:

https://www.courtlistener.com/docket/68157923/oclc-online-co...
@dang, Am I imagining things or did something unusual happen with the ranking of this submission? Shot up and then dropped despite votes and comments.
I've only used small local LLMs, which definitely have issues counting and doing math. From what I've seen other commenters do in other HN threads though, it seems like GPT-4 level LLMs do a reasonably good job counting.
With Vue, I add an element to a list.

With vanilla JS, I would have to add the item to the list, then get the parent element, then create a div containing a bunch of hardcoded stuff, give it an id, keep track of that id, insert the item, then when I remove the item I would have to remove the item from the list.

That could double the amount of cod e needed in most stuff I do.
> FileMaker was not really relational, right?

Not until v3 (1995) or v7 (2004), depending on how low your bar is.
To configure Linux to do software switching, you need bridge interfaces and NICs to be made part of the bridge with the appropriate `ip` commands (or `brctl` if you're still using that).

This is common with small home routers - the WLAN and wired LAN ports (all typically appearing as one NIC) will be made part of a bridge `br0`. The four LAN ports aren't typically exposed as separate NICs so there is hardware switching going on there (some devices do let you split them out because they are VLANed internally though).

If `ip link show type bridges` doesn't show any bridges then you aren't software switching unless your drivers are lying to you.
DynamoAI vs RAGAS Comparison
I am expecting Groq acquisition or merger at some point. I just makes sense. Especially considering the financial position of Nvidia right now.
We need to input UFO vids into this ASAP to get a better guess as what some of those could be.
This is very accurate, in particular when the output type of something depends on the input type.

Data validation, typed database access, or functional programming libraries are good examples. Particularly the modern, leading libraries of such areas, if you look into their code you'll generally see very intricate typing. For FP libraries it's particularly tough. I like to use Remeda which emphasizes being very type-safe, but that means it's inherently more limited in what functions it can offer compare to other libraries which choose to compromise their type-safety. These kinds of techniques mean that libraries can offer greater functionality while remaining type-safe.
They didn’t eliminate the possibility of a yellow coloring from the sun
The infernal desire machines of Dr Seuss
The premise in both cases is that a) there is at least some demand for the thing and b) customers are paying attention to him.

If a) isn't true then it isn't possible to lose sales because there aren't any. This is the "any publicity is good publicity" scenario because your baseline sales are zero. If a) is true then it's about saying things your target customers approve, and then we're back to "target customers for trucks are typically not environmentally conscious libs, and like to see them criticized."

Which was the other problem with your analogy: If he's selling some steampunk thing then he'd be criticizing whatever the opposite of that is, not its expected customers. Then the risk is alienating some other customers for some other product, but in a politically polarized environment the only way to please everybody is to say nothing. And then nobody is paying attention to you and that doesn't drive sales either.
Battery Recycling Shatters the Myth of EV Battery Waste
Article points to PNA$, but the paper is also at arxiv

https://arxiv.org/abs/2310.19832
> You’ve got the wrong color unless you think right leaning Americans are even worse than this description.

I think in many cases right leaning Americans are even worse in that regard. (E.g. tatted up Trump supporters and anti-vaxxers.) Orderly traditional conservatives are a minority on the right today.
The following could be completely wrong...

Bamboo is a grass, it doesn't layer bark. It's one and done. The internode distance is pretty much fixed once it hardens. The bamboo cells inflate and harden. So the graphs make a reasonable amount of sense.

The wall thickness is a function of time to harden, and time to add extra stuff to the wall. Segments close to the ground have simply longer time, and likely hardening begets hardening.

The internode distance is interesting in that there is a natural point at which the bamboo stops elongating and begins to start shortening (again in a negative exponential). My understanding is that bamboo does start to keep "leaves" that sprout from the nodes, to gather light and energy. I wonder if that is the point that the leaves start, and hence it is a mixture of both time (less time = shorter) and investment in energy (effort to grow sun-catching leaves).

Some interesting followups would be in the natural habitat, where does the typical canopy start?
I tried this on ChatGLM, a frontier foundation model developed by Zhipu.ai and Tsinghua University, and it gave the correct answer:
https://chatglm.cn/share/FoZBJ
Show HN: iOS App to chat with Llama 3 on Groq for free