skysight-inc/HackerNews huggingface dataset:
does your team do usability tests on the apis before launching them?

if you got 3-5 developers to try and use one of the sdks to build something, i bet you'd see common trends.

e.g. we recently had to update an assistant with new data everyday and get 1 response, and this is what the engineer came up with. probably it could be improved, but this is really ugly

```
const file = await openai.files.create({
file: fs.createReadStream(fileName),
purpose: 'assistants',
})
await openai.beta.assistants.update(assistantId, {
file_ids: [file.id],
})

const { id: threadId } = await openai.beta.threads.create({
messages: [
{
role: 'user',
content:
'Create PostSuggestions from the file. Remember to keep the style fun and engaging, not just regurgitating the headlines. Read the WHOLE article.',
},
],
})
const getSuggestions = async (runIdArg: string) => {
return new Promise<PostSuggestions>(resolve => {
const checkStatus = async () => {
const { status, last_error, required_action } = await openai.beta.threads.runs.retrieve(threadId, runIdArg)

console.log({ status })
if (status === 'requires_action') {
if (required_action?.type === 'submit_tool_outputs') {
required_action?.submit_tool_outputs?.tool_calls?.forEach(async toolOutput => {
const parsed = PostSuggestions.safeParse(JSON.parse(toolOutput.function.arguments))
if (parsed.success) {
await openai.beta.threads.runs.cancel(threadId, runIdArg)
resolve(parsed.data)
} else {
console.error(`failed to parse args from openai to my type (errors=${parsed.error.errors}`)
}
})
} else {
console.error(`requires_action, but not submit_tool_outputs (type=${required_action?.type})`)
}
} else if (status === 'completed') {
throw new Error(`status is completed, but no data. supposed to go to requires_action`)
} else if (status === 'failed') {
throw new Error(`message=${last_error?.message}, code=${last_error?.code}`)
} else {
setTimeout(checkStatus, 500)
}
}

checkStatus()
})
}
const { id: runId } = await openai.beta.threads.runs.create(threadId, {
assistant_id: assistantId,
})
console.time('openai create thread')
const newsSuggestions = await getSuggestions(runId)
console.timeEnd('openai create thread')

```
Hating/liking this project is going to fall on age lines more than racial ones, the age demo of hacker news is likely to almost universally LOVE this project.
It isn't a binary choice between fossil fuel development and no development. There's a third option, where developed countries subsidize sustainable energy for developing countries on the condition they use zero additional fossil fuels.
I don't think that's what you intended, but I initially read that as equity for the company previously known as Twitter. Yeah, that over 4 years is definitely very different than over one…
> You probably know more about your health, lifestyle, and family history than the average person your age, so you might have a different life expectancy.

That's an interesting thought - just by virtue of the fact that you clicked on that link and read the notes probably indicates that you know and care more about your health than average, and will likely live a bit longer, statistically.
This looks neat!

What's the performance like? I thought about trying to build something similar but I figured performance would be awful if it was based on naive string appending. I presumed GC would dominate the runtime from allocating a thousand copies of half an HTML doc.

Does this do any kind of memo-ization/caching? That's where I ultimately wanted to end up. I wanted the Page to use generics to pick a struct for the parameters used in building the HTML, and then maintain a cache mapping hashed inputs to already-built output. I never decided whether it was better to memo-ize the whole page as a template or memo-ize just the components so it could do partial re-renders. It's ideologically very similar to React
> I don't want to be governed by progressive

This is why the world is ending.
Why is foreign ownership of the media a bad thing. Put a different way: why should I only get filtered media from my geographic location?

Or is the worry our media will look more and more like propaganda?
A free one on github.
The bill clearly defines an independent service provider and an owner as different entities.
I'm super excited about Sunlight. The CT ecosystem is really fragile right now, with current log implemetations being expensive to operate and very difficult to operate correctly, as evidenced by the recent failures of multiple logs[1][2]. And if too many logs fall over, it becomes infeasible to include the requisite number of SCTs in certificates, or worse, already-issued certificates can become effectively untrusted.

If Sunlight reduces costs by a couple orders or magnitude and significantly reduces deployment complexity -- both of which it seems to do successfully -- it will be a huge boon to the whole ecosystem. I really hope browsers accept sunlight logs as trusted in the near future.

[1]: https://groups.google.com/a/chromium.org/g/ct-policy/c/6mvSo...
[2]: https://groups.google.com/a/chromium.org/g/ct-policy/c/_dhkS...
I'm not forcing anything on them. They have done a small bit of scripting to get things to happen in Minecraft and elsewhere. As they move to adulthood, I'll offer programming and repair of electronics, etc.. (outside of the college system) as a possible career path to route around their disability. I've done quite a few things, and an apprenticeship/mentoring approach seems to be the best choice for transferring those skills to the next generation.

They do horribly in traditional education, but tend to test well in spite of it.
From a safety perspective, how does that work?

This is obviously a test, and safe to say the vehicle was out of control and not entirely predictable. I realize they wouldn't fly into the actual predicted landing area, but just being close must be a risk.

Would the flight crew on that plane literally be scanning the sky above them to make sure they're not in the direct path of whatever comes down at whatever speed?
If I run a company and need a developer for a specific position, I am fully legally allowed to simply offer it to someone that I want to hire. Without ever posting a job description.
I'm not American and I wasn't thinking of the US exclusively. I think it's a problem of democratic western academia, but there's no data outside the US as far as I know. If academic institutions of rich reputation champion, for example, denial of the Cambodian genocide, is the harm undone if another institution admits it happened?

https://en.m.wikipedia.org/wiki/Cambodian_genocide_denial#:~....

>Things are more complicated: some people get more fame and more founding that their work would normally require because they present themselves as cancelled. There are even "anti-leftist-dogma university" initiatives coming out, which means that right-wing academic will have an easy position available there while left-wing academics don't have any such advantage

I think the worst of the deplatformed people enjoy this fame, which is not great. I'm a lot less concerned about Milo's exclusion than I am of Xi Van Fleet's. Drawing the ~line of acceptability~ at human rights is fine but academia is drawing it at leftist interest.
I don't know...

People will have to do their own research, I guess...

You know, "Follow the Science..."...

:-) <g> :-)
> The drugs also scare me... The idea of giving something like that to a child profoundly scares me.

It works differently in people with the disorder. I took Adderall as a child and as an adult for adhd. It didn't get me wired nor did I have withdrawal symptoms, I simply felt more centered and capable of starting tasks. I know that we can only draw on our own experiences to judge things, but understand that people with this disorder experience the drug completely differently than you did.
Even if true, the problem is those who don't but think they do.

I suspect you might also have parents who kinda like the idea that there child's behaviour can be explained by ADHD. My sister's kid often gets in trouble at school for example, and whenever this happens she will try to excuse it by saying she has ADHD. I'm not at all convinced given that imo it's far easier to explain the misbehaviour with bad parenting.
You don't have to be a "content creator" to have a website
I have no idea, but the alcohol content of different wines varies by quite a bit, and probably also changed over time?
not attractive per se. the OKcupid reports found that men are willing to message a very wide variety of women, even ones they don't rank highly in appearance, while women tend to rank most men as unattractive and do not interact with them.

put more bluntly, dudes will try to bang 3's but hope for 9's.
Door handles
Former Treasury Secretary Mnuchin putting together investor group to buy TikTok
The lord of the rings is a good one, especially if you skip the songs. Then it’s simply an adventure story.

The Sword in the Stone is pretty good in this regard. Apart from that first book (which is published as a standalone book) the entire Once and Future King is too complex for a child, I think (instead it would come off as boring and obscure).

But in general almost any book a kid wants to try to read will be fine.

Also: back in the day when small towns had a single cinema screen, movies would travel around as physical media and play for a week or two. So they had to be appropriate for anyone in town else the cinema owner wouldn’t take them.

My kid loved those Fred Astaire musicals. I do too. For him they were just fun. To me, many of them were quite racy and quite explicit! But all that just went over his head.
But couldn't we do better? As a parent of young children, I've been kind of fixating on this, as I try to teach them how to wash their hands. Couldn't we make a cheap, foolproof, patent-free, no-power-required hand-washing device that would eliminate >99% of human error? Like, "fill with water, dispense 3ml soap, reach both hands in and grab the handles at the bottom, do <whatever, some motion to swap the handle things>, remove hands, turn the thing upside down to drain, rinse hands, done" (or something).

Or is it just, as I've sometimes suspected (especially since watching captures of that infamous FOX News segment), that the "improper handwashing" is just "totally didn't wash their fucking hands at all"?
> Those quotes are completely made up.

I wouldn't say they are completely made up, you could probably meet some people with such views but I'd say they're a small majority. But yeah, you don't tell your girlfriend she had an affair with her boss unless you're total jerk, so I'd say the author of the article used these figurative examples trying to demonstrate different outlooks without caring for realism that much.
Lol, I thought my question was pretty straightforward. Sorry
The Original Sin of Cloud Infrastructure
Doesn't work in LibreOffice. Doesn't work with web Excel(too big).
the rates are different because most women don't "chase", and often have to actively push away potential suiters
If you read the bill, they clearly differentiate between a service provider and an owner. The bill does not require an owner to be certified to purchase parts, manuals, tools or make repairs. It does require the manufacture to make those things available to both.
How is this done for all other social media sites? Is there anyone doing consolidated reporting of these “top lists”?

I see meta just confirmed removal of tooling that makes such reporting even more difficult. How is that overcome?
If you want to end the problems you brought up, the two causes I mentioned are what you’ll be working to overcome. “Income tax exists” is not the reason we do it poorly.
Sure skyscrapers are an indigenous lifestyle. They build them, invest in them, live in them. Do you think indigenous people in 2024 are going to all go fish for salmon and live in teepee’s?

I remember on TV once this older indigenous guy promoting natural resource development he thought would create indigenous jobs going on about “Back in the old times, my people hunted the buffalo. Now my people hunt a new buffalo, called the loonie”
Not "like it used to", but it's hiring, for sure. And it's not "rehiring" mostly - it's hiring in different places than the ones from which they lay off.
Definitely agree. My first few gigs were in consultancy and after seeing how the sausage is made I don't feel much like calling out these kinds of old systems anymore. The budgets and deadlines are tight, the people working on them are often inexperienced and underpaid and have little time to sit down and think things through, and when they have to work on an old system to add some features they have little time and incentives to improve the overall state of things.
thank you for bringing it up! i wasn't even aware of this potential problem, and I use bs= count= and skip= seek= (sk"i"p means "input") through pipes across the net aaaallll the time for decades.

it pretty much seems iflag=fullblock is a requirement if you want the counts to work, even though the failure times might be rare
Apple behaviour has invoked the "pause button" on my purchasing of new hardware from them.

Nobody wants to build on your platform if you're a tyrant.
Lots of teams get thrashed trying to fix or bring down the count of CVEs so they can ship, so chainguard provide images with a guarantee of 0 CVEs. It saves folks a lot of time patching to bring down the count. However its a novel situation as most of the time these vulnerabilities are not even reachable in the first place, they are just noise. So its a solution more appeaseing to security theatre, than a real world threat. Once in a while a nasty thing comes along like log4shell, heartbleed, but most of its just noise. They do cut down image size significantly though, which is something I personally like and has value for saving ingress costs. Think Alpine.
That's quite the history lesson, thx for the info.

I agree that H2 is defacto better than H1, and easier to implement when compared to H3. However, I'll call out the 2 biggest time sinks of the RFC: stream prioritisation and server push. Both of which had narrow application, and incomplete/inefficient specification. H3 seems to have ditched both. My question is, how did this ever end up in the final RFC? As both seem like the kind of thing that could have been easily disproved in SPDY deployments, as well as just asking people doing HTTP for a living.
Mine has rolling codes and a "learn button" on the head end to accept a new remote.
While I agree with most of the comments that font-size for body text should ideally be 1rem (and certainly clamped), what about headings? When I think about different font sizes I think about headings, where it absolutely makes sense to have a much larger size on wide (/"desktop") screens.
Yeah, at this point for a lot of the more "number heavy" things I do, my first version is generally in Google Sheets to get a rough prototype and to make sure my math is basically correct, and then a port to Julia.

The hyper-interactive nature of spreadsheets makes them kind of genuinely fun to tinker with. You can see results immediately, and you have enough logic (even in just the vanilla cells, not even counting JS or VBA) to implement a lot of algo stuff.
Starship is huge and heavy and made of steel, it will not burn up on reentry, if it falls on a populated area it will kill people. They will not be allowed orbital trajectories until they demonstrate they can control the deorbit burn.
That’s why it is so rare for people to drag vending machines somewhere to do it in peace.

They are big and bulky and heavy and all that work for, what, $80? Junkies aren’t usually that coordinated to pull this off.
Illegal fishing by Chinese fleets is now commonplace in Africa, in Argentina, etc [0], so given how much they've expanded operations over the years it's only a matter of time before you see them there too, if it hasn't happened already.

[0] https://www.nytimes.com/interactive/2022/09/26/world/asia/ch...
Interesting, because a Windows kernel hacker told it differently [0]:

These junior developers also have a tendency to make improvements to the system by implementing brand-new features instead of improving old ones. Look at recent Microsoft releases: we don't fix old features, but accrete new ones. New features help much more at review time than improvements to old ones.

(That's literally the explanation for PowerShell. Many of us wanted to improve cmd.exe, but couldn't.)

[0] https://blog.zorinaq.com/i-contribute-to-the-windows-kernel-...
The key demonstration is “relight in a vacuum”, which was the test that was skipped late in the stream. If you can do this then deorbiting is possible. Relight of the booster doesn’t demonstrate this, unfortunately.
All quirky fun and games until you realize you can't do high-paying jobs that requires consistent focus. Which is not really a problem unless you want a family or to live in nice parts of cities.
- INDEX/MATCH. For all given purposes, the last parameter in MATCH() is always 0 unless you want to find the nearest match

- understanding that formulas can return arrays, not just single elements (easier in more recent versions of Excel which have made this more consistent for every formula), so you can e.g. AVERAGE(IF(A1:A100>100,A1:A100,FALSE)) get the average of the values between A1:A100 which are greater than 100. the FALSE parameter can be omitted there but I left it in for clarity. Interestingly this means AVERAGEIF() is just syntactic sugar, so I prefer to avoid it. it makes it easier to, say, change to MEDIAN(IF(...)) later, since MEDIANIF() doesn't exist

- if you combine the first two bullets above, you'll enter the fifth dimension

- don't ever hardcode a value if you can refer to it somewhere else. want to use INDEX(MATCH()) and AVERAGE to, say, take some average value over some time period? put the start and end dates into their own separate cells with no formulas, and then refer to those cells in your formula. if you later need to change the time period, you won't have to modify all your formulas, just those values

- LET() is strange at first but super powerful. most people still don't use it

- Separate data from presentation. This point can't be stressed enough. I care about it so much I'm literally building an Excel competitor to enforce this. If possible, separate raw data, data transformation and data presentation.

- most people know you can name cell ranges and refer to them in your formulas. most people don't know you can also name formulas and refer to them elsewhere. your "average value over time" calc doesn't even need to be in a cell anywhere, it can just exist as a defined value in a named range. now named ranges are hard to see (only visible if you open the name manager), harder to debug (you basically get just a #VALUE error most of the time, forcing you to copy-and-paste the named range into a cell to debug it) and they get copied to other workbooks when you copy-and-paste across workbooks, which makes them super messy.... but for short formulas they can be pretty nifty

- LAMBDA() is even more recent than LET() and basically makes named ranges more useful. even fewer people use it
I plan on introducing them to programatic thinking before introducing them to code. Letting them play around with Scratch, for example. The nice thing about Scratch is that they would probably perceive it as a game, whereas writing code they would probably see it as work.
Top 1% is very high though, correlation up to top 1% is very good.
That depends on how well my apps sell....
i dont really struggle with it. Neither does my family. like comedy: its all in the delivery. plenty of fun and wonder out there, its just important to test for pattern matches
Linux 4.14's long-term support will live on after all, thanks to this alliance
On the other hand all my friends that have two hours lunch breaks hate it and would much rather go home an hour earlier.

I don't have a set time and if my colleagues aren't there or if I work from home I will eat in front of the computer in 5 min and finish earlier.
Shouldn't a country try to preserve their power?
There is Conservapedia for those who disagree with everything on Wikipedia.
I have to apologize though, listening to another podcast with Tadashi, it turns out his mathematical education was as far from traditional as possible:
https://www.youtube.com/watch?v=qrJCm10ajJw
It seems to have come to an end.

https://slate.com/news-and-politics/2014/07/france-allows-em...

But I doubt it's followed or at least I'd bet many ignore it.

My French relatives love to eat and sit down for at least two hours. There's even a word for the after dinner feeling where you chat with friends, but alas je ne sais quoi.
Check out the Wedge Game! Solve classic 2D geometry constructions by learning the 2D PGA operations!

https://enkimute.github.io/ganja.js/examples/example_game_we...

Doing these exercises a week ago helped me intuitively grasp the full 3d Projective GA poster today!
I don’t “highlight” strings by making them fluorescent green or something. I do put them in a couple of different, same-valued colors so it’s obvious when they aren’t lexing the way I expect (like the variable substitutions aren’t actually substitutions because I forgot to use ` or f”).

I do actually highlight some things; for example, method declarations to make them easier to scan for.
My older brother gave me Animal Farm to read as a child, I enjoyed it as a (somewhat depressing) story about animals taking over a farm.
It doesn't eliminate all toil, but it eliminates a lot. At least their customers think so.
> I just know more than a few people who bombed their first semester (most with SATs well above average), myself included, who ended up with decent academic performance once they got over the "shock" of being an adult away from home.

Individual students might underperform because they're not prepared for living outside the home, but that factor would cancel out when you're comparing two populations with thousands of students. Note that, according to the article, the 0.86 GPA point difference--which is huge, like the difference between top of the class and below median--was after adjusting for high school GPA. So the analysis should factor out differences resulting from some kids simply being more "put together" as freshman than other kids.
> What will be left? Where will we be? Just stranded without dignity or purpose, left to rot when we no longer produce value.

Look at the unemployment rate history. Look at poverty rate history. Your argument is completely nonsense.
Websites should be designed better, but it is 2024, that ship has sailed I think.

The Dark Reader addon for Firefox is somewhat poorly named, it seems to be a pretty solid overall website customization tool. It can, for example:

* force websites into light mode

* change backgrounds to plain white and text to plain black

* apply tints in general

* force font line width changes.

Might be worth a glance. I have pretty good vision but I just use it because the way the internet is supposed to work is: send me text, I’ll render it however I want. This lets me ignore more meddling by designers.
TikTok gets people's ideas in front of other people. That's a printing press.
Why Switch emulation is a bit unique
Cheddar cheese is about 25% protein by mass. Chicken is about 27%.
Wait really? Which spreadsheets? I want to play with this!
I think Dennis Ritchie and Linus Torvalds have had a roughly similar impact upon the world with the benefit that I also consider it a positive impact.
Dollar Tree to close nearly 1k Family Dollar stores
State University of New York used to famously use students' Social Security Numbers for their student ids up until around 2005. That student id was printed on your student id card and used for just about every system on campus.

They finally changed that system after lots of scams/fraud perpetrated against students brought the practice to media attention.

Wild.