skysight-inc/HackerNews huggingface dataset:
When I call "wait" on a process, what do I know about it? I know that all fds have closed, all sockets have closed, etc. etc. A hell of a lot more than the thread example.

When I call pthread_join() on a thread, what do I know about it? Nothing. You have to assume it cleaned itself up correctly.

That's all I'm trying to point out. There's literally no assurances on pthread_join() or pthread terminations or pthread cancellations. None at all.

----------

Whether or not you wish to take advantage of this or not is your choice. If you want to just presume that pthreads always clean themselves up without any issues or subtle threading bugs to the other threads... sure. Or that we're perfect programmers who never make such mistakes...

But I have learned time and time again: if its not me who makes such a mistake, then maybe a coworker who is touching the codebase. Having 100% assurances (like the fd closures) on processes is something I can absolutely build code around without assuming the internal state or "correctness" of other people's code (including my own).

> And I'm perfectly fine with standard C++ RAII classes.

Then you should be comfortable with process cleanups and how to code around it to form strong guarantees of correctness. Enforced by Linux (even stronger than the compiler).

kill and pthread_cancel may prevent C++ destructors from running. But even kill -9 will correctly clean up processes (including the SIGCHLD signals and other such details).

Is it perfect? Of course not. But its one more assurance you lose when you go for threads instead of processes.
> There is no indication that Microsoft would do that.

They immediately did so for any upcoming Bethesda/zenimax games that did not have a prior agreement with Sony.
You might like to read about the Writers Guild in Hollywood. Highly organized, high salaries far surpassing even that of tech, with graduates in the top percentiles coming into 500k/yr salaries fresh out of graduation, all union.
It’s beautiful when that happens.
Yeah epoll is what libuv calls on Linux. And agreed I think it's very valuable to try and use epoll or equivalent yourself at least once to understand what's happening.
This is a powerful way of looking at things. It explains a lot, even airport security. For example: the optimal number of evildoers to let through airport security is not zero, yet we've gone to extreme lengths to try to make it so. If you sum up the total human lifetimes spent in airport security lines, it almost certainly multiples of the lifetimes lost in attacks.

We often strive for perfection when we're well-past optimal and far into the region of diminishing returns.
Waking Up Podcast #311: Did SARS-CoV-2 escape from a lab?
I thought that gap was closed and was really just relevant to non-x86 architectures... I'm not betting any money on it :) but if you did happen to have a link I'd appreciate it
i think this is a very insightful take which i totally agree with. Although I have also seen many high functioning teams who could have reached self-organizing/self-whatever, but they arent allowed to raise to that next level because the scrum orthodoxy is mandated/unquestionable. Its frustrating.
TIL!

I have noticed some people sharing their porn and erotica on Tumblr again, but I thought they were just playing cat and mouse with the content filter

I really missed that Verizon got rid of it and its now in saner hands.

This checkmark parody is hilarious and apparently Verizon didn't delete my erotica feed, just hid it and now I can appeal all of those decisions to restore them! wow
https://www.google.com/amp/s/blog.google/products/search/ove...
I dunno, what do you want them to say? It’s like Wikipedia billing itself as the encyclopedia anybody can edit. The 0.3% of people who try to contribute content discover there are rules pretty quickly. The 99.7% who consume get the info they want.
like sibling, I'd be interested in the specs. Thanks!
Sounds lovely, but not something I would be able to do for reasons that I won't go into here. I would love to hear how you do it, though I'd understand if you can't or won't share.
Okay, wow so HR 1.8 literally does mean that fasters are nearly twice as likely to die over a given period as non-faster. But the death rate for fasters and nonfasters can still be pretty low, for example 2% a year vs 1% a year.

Since the risk is low already, an individual might be indifferent to a 1% or 2% death rate - from an individual perspective the two are even statistically indistinguishable (they can't exactly die more than once!)

Okay, I'm a little less freaked out by the seeming /doubling/ of death rate, however, it's still 2x increase in death rate. Still chilling!

Now I suppose that if we assume the death rate is constant for everyone at all times - or use a more realistic actuarial curve - then we can even transform the HR factor into an average effect on lifespan for fasters vs nonfaster.

Then we could say "ah, nonfasters will die on average 4 years sooner than nonfasters". I think that would help contextualize the numbers even better than relative death rates (which are hard for individuals to reason about).

Are you familiar with how we might convert death HR into an expected lifespan delta for the average person? Would that analysis actually hold any meaningful truth?
India.

Was laid off in August while working for a US-based company. My first layoff in a 10-year career. Still looking for a job. I'm broke. As in "can't pay my bills next month" broke. People are hiring but remote jobs are hard to find. (I have family responsibilities and cannot relocate)

I did find jobs. People who took 7 rounds of interviews then never released an offer letter. AFTER verbally confirming that I'd gotten the job. This has happened thrice now. I started with asking for $5000/mo (last drawn). But now, I'm willing to work for anything that pays the bills.

I'm in dire need and at my wit's end.
I didn't dive past the links you dropped, but reading the doc comment makes it seem like the call is using `poll` (as an alternative to `select` for FD size reasons.) It's well recognized that the polling model of `select` and `poll` are slow and it was specifically this problem that led to the framing of the C10K problem. The solution is to use an async style of programming which is what libuv and other wrappers offer (piggybacking off `epoll` on Linux.)
Capital One is still doing agile, they just fired the people that have that as their whole job. The managers and engineers now are in-charge of doing agile duties.
> most UK companies participating are not returning to the five-day standard, and a third are ready to make that change permanent

This is a confusing sentence.
This is not true for most. Imagine going to a contractor to get a house built and they tell you that they can’t tell you what it will cost or when it will be done.
This is a false assertion.
I have gone through sample birth certificates of multiple states in India, I did not find any of them mentioning caste.
Caste certificate is a separate document, issued only upon application, which can then be used as proof for applying for reservation benefits.

Ref
https://www.nriway.com/nri-service/nri-birth-certificate
https://www.indiafilings.com/learn/caste-certificate-in-indi...
> Proof that the things you say on the internet — even anonymously — could come back to haunt you, even years later. Assume that it will, and be prepared for the consequences. Or, you know, abstain from discussing how you have commissioned your crimes.

Because what other people say on internet can't be falsely attributed to you. Right? Or what you say on internet is a sworn statement and you can't lie, to for example get clout in community? People on internet only tell truth!
Hiding scrollbars has been obviously bad UX since day one and this has only become more obvious over time. It doesn't matter whether you're doing it in a web browser or not, whataboutism isn't an appropriate response
Never heard of RIFE2, but I do appreciate a very well written readme and tutorial. Definitely giving this a spin.
that... is just wild. stunning tech
> Meet for 1hr every week as a team, and go over what everyone is working on and see how we’re progressing, and forecast where you should be by the next week.

So you're spending longer and getting less accurate results?

> The moment a developer feels they may not be able to deliver what was expected by next week’s status meeting, they share that with the team in whatever asynchronous communication tool your team uses, whether it’s chat, email, etc.

What prods them to think about that though? Often there's no clear threshold, and if you're supposed to keep it on your mind continuously then that's taking away from your capacity to think about what you're building. Having that daily sync point to take stock is very useful.

> It doesn’t matter how small the daily standup is. It could be 5 minutes. But it’s a daily context switching exercise. I think it’s far better to have a single weekly, but longer meeting, so there’s only 1 context switch in the entire week.

I mean hopefully you're switching out of work context when you go home or go to lunch. It's a tradeoff, but a few minutes a day isn't so intrusive IME.

Weekly isn't terrible, but I'd look at it from the other side: how long is it ok to be blocked for before you want to make sure you remember to raise things? A day works best IME. Maybe even twice daily would be better.
The javascript and CSS community on Stack Overflow has always been toxic, interesting to see that its overflowed to being useless now.

Other programming languages on the main Stack Overflow are much more collaborative. But if you ever get into a new niche, you never know what will happen.
So at the end of 2022, Google apparently had 190,000 FTEs. The 2022 FY income statement lists revenue of $238B and cost of revenue of $126B. Those costs aren't really broken down so we have to guess.

According to [1] the median employee compensation in 2021 was $296k. Now that's not a mean and it also isn't speific about what's included (eg perks, health insurance, retirement savings, food, etc). Once you factor in office space an average of $350k/employee as a baseline cost probably isn't too far off the mark.

At 190,000 employees times $350,000 that's a cost of $66.5B/year, which is more than half of the cost of revenue.

Labor is the biggest expense.

It also echoes "investor" concerns about how the cost of revenue is rising faster than revenue is increasing (ie lower profit margins).

Or what are you arguing is a bigger cost?

[1]: https://www.spglobal.com/marketintelligence/en/news-insights...
https://www.inc.com/jessica-stillman/for-95-percent-of-human...
RSUs cost the issuing company nothing from a cash perspective too. They simply create the stock out of thin air, diluting existing shareholders, e.g. stock based compensation expense.

While no affect on cash on hand, it does negatively impact GAAP earnings.
What fines?
> To reliably hit dates, scope of effort must be well understood and it cannot change once a commitment is given.

this works, but it’s not the only. You can use a mix of buffers and scope flexibility to hit dates too.
1. Thats no longer a standup but a planning meet

2. Those participants are not good employees then and should be told to pay attention or face further action. Meetings are for everyone to get on the same page, I’ve had too many engineers who think they have better things to do then implement things wrong or ask questions we covered in the meeting. Not something I’ll deal with anymore.
> it is likely delivering some value to someone who is willing to pay for it.

I'm suddenly curious whether / how many of McKinsey's actual customers have a child in an MBA program that McKinsey recruits from. Get your company to spend money for a particular consulting firm, and then use that relationship with a particular consulting firm to get a leg-up for your kid?

Are there processes in place at the large consulting firms to prevent this sort of quid pro quo?
The problem with "excessive X causes harm" is that it is tautologically true. The real question is the quantitative level where it starts doing more harm than good. Nobody knows, but it's easy to say after the fact that something is "excessive".
Still more than $4b in annual revenue!
In this context what does temperature mean?
> The chain of humans who've been responsible for developing and testing Chrome Extension functionality and security has been asleep at the wheel this whole time, for something like 15 years.

As the first in this chain of humans, I can tell you that (a) we obviously considered this in the first version of extensions and did not allow permissions "below" the fold, (b) Chrome's extension model dramatically improved on the previous state of the art which was Firefox's "every extension can do everything, extensions can't be uninstalled completely, and there's no review" [1], and (c) the install dialog is just one part in a bigger system which includes the review process.

I encourage the author to try and get this onto the store and get meaningful usage, then we can complain about how well the entire system works end to end. Examining just the install dialog alone is missing the point. I'm not even certain that an extension that requests more than 5 permissions would be approved in the first place.

I also encourage readers to remember that generally speaking, you all _want_ extensions. When Chrome didn't have them, they were the top feature request in the bug tracker. Real security is hard. If you don't solve user needs, users solve them themselves with solutions that are even worse (ie native code). Managing the browser extension system is a thankless painful job of delicately balancing incentives. Extensions need to work well enough that developers don't reach for more powerful and dangerous tools, but have enough controls that the majority of malware can be controlled. It sucks. Trust me you really don't want this job. Please spare a bit of empathy for the "chain of humans" that have had it.

[1] https://static.googleusercontent.com/media/research.google.c...
Until your model isn't good enough to generate good code from the best specs you can get.

Gonna be really fun when the first financial companies start trying to generate billing software from specs and end up blowing up entire people's bank accounts irrevocably because of lax regulation and greedy shareholders. Not to mention that any resources you trim from the developer side of things you'll have to at least quintuple in QA.
> nearly unbelievable oversight on Google's part

You're giving Google way too much credit here. Do you not think they use some of these techniques here? Or that they're an endpoint for other people's usage of these techniques?

> security has been asleep at the wheel this whole time, for something like 15 years

All is as intended.
Oslo, Norway as well
https://www.oslo.kommune.no/natur-kultur-og-fritid/trar-i-os...

Here you can choose which type of tree.
FEEDBACK

Cool. Conclusion is that I need to get better at writing queries:

I wanted an overview of Python APIs to choose from to play sound files, and importantly, I wanted to know how / if each API offered a non-blocking parameter. In my use-case I am playing sounds, after detecting some elements during video processing, and I find it blocks my realtime video stream UI.

My experience refining my query - I started with one query, and settled on an increased redundancy of my query:

[NOTE: I typo'd asynchronously as "asynchonously", unintentionally]

FIRST = how do i asynchonously play sounds in python (https://phind.com/search?q=how+do+i+asynchonously+play+sound...)

Result from PHIND for FIRST was promising enough for me to refine my query. I felt like the beginning portion of the answer it provided was useful. And I felt like the subsequent portion was not. It listed various Python API for playing sounds. And only for the first did it supply concurrency details.

SECOND TRY = how do i asynchonously play sounds in python, and what are the parameters for synchronous or blocking playback (https://phind.com/search?q=how+do+i+asynchonously+play+sound...)

Result for the SECOND was more loquacious, however it supplied more detail, and satisfyingly more concurrency configuration instructions for e.g. the "playsound" Python API.

So overall, kudos! And, I will use this product in the future.
> Reddit has their IP addresses, which have been used plenty of times in the past to convict people for internet piracy.

Many things in the past were used to convict people, for example dreams other people had about them, lie detectors, blood splatters...
Maybe.

On one hand, yes controlling altitude will provide better results. One quirk of balloons is that winds can move at dramatically different directions/speeds at different altitudes.

On the other hand, this seems to be a solo developer working on something for the pure challenge of it. Adding different altitudes would have dramatically increased both the work and money required to build/display this.

In other words, adding features might make it more useful if you’re purely interested in accurately forecasting balloon flight. But prematurely adding features might mean that we wouldn’t have gotten to play with it now. Would that really be an improvement? Who knows?

If you want to accurately forecast balloon flight, there are already built resources for you. But this is hacker news, let’s leave those concerns for another time and celebrate hacking.

OP, I dig balloons. This simulation isn’t perfect but you have done some really good work. Keep at it!!
> Pretty much all of them except Mac.

iOS is way more prevalent and has hidden scroll bars unless scrolling. Thanks Apple.
No I don't know the technical reasons why it is not feasible to get it running in a Jupyter Notebook.

But my best assumption is that it isn't a Python library. You cannot import Apache Superset from a Python program.
Eh, if you're given a well-separated API to deal with, the code can be pretty terrible without being hard to replace. What makes it hard to replace is when someone puts a lot of thought into it and doesn't want you to rewrite it.
I mean you can do nearly free nearly instant cross-border wires with no bank fuckery. Definitely nice if you have to do this a lot.
Oh yes. The people crying about 'bad agile' haven't accepted most people just don't care about captital-A Agile at all.

They just want to clear their Jira tickets and go home.

Modern agile processes are designed for those people.
93 and 94
That's the COT-CAUGHT merger. Probably for most Americans at this point it rhymes
The model the OP mentions is exactly how openstreetmap functions. A lot of big teddy companies hire people specifically to improve it. Only Google doesn't.

It's not unthinkable for a browser project to work the same way.
> Sure, but what is UDP bringing to the party then?

Interoperability. It's been how many years since SCTP was published? How's that going?
Maybe worth asking why so many highly qualified people with Chinese last names decide to work for US-based companies when Chinese AI companies have been hiring like crazy for the last six years?

"China can draw on a talent pool of 1.3 billion people, but the United States can draw on a talent pool of 7 billion and recombine them in a diverse culture that enhances creativity in a way that ethnic Han nationalism cannot." - Lee Kuan Yew
I don't know about the US but in Germany this is already the case. You get a rough estimate but nothing is set in stone.

Overshooting deadlines and increasing costs due to materials not being available or them suddenly costing twice as much is normal.

Also coordination between all the various contractors is always getting messed up because the person putting up the scaffolding didn't show up, so the plumber cannot work and cannot come back for 3 weeks, which messes up the plan for the drywall, which gets pushed back, and so on.
I don't like the ambiguity whether "increased 125%" represents that their revenue has increased 25%, or whether their revenue is now 225% compared to previously. After skimming through the article, I still have no definitive idea. It is probably the former, since they mention

> given the slight bump in revenue

This manner of presenting multiples I've noticed most prominently in Apple marketing copy, and is terribly abhorrent, in my opinion, due to its ambiguity (notice the relative clarity when I say "their revenue has increased 25%"). The article also uses the latter sense when they say

> Sensor Tower says the in-app purchase revenue on iOS is up 19%
Kind of. Poster asked if you can prune only deps and exclude dev deps. That's currently unsupported: https://github.com/vercel/turbo/issues/1100
Go take a look at the publication lists for any major AI conference and peep how many of the papers come from Google. For any year in the last 15.
What are hybrid algorithms supposed to be anyways? Half algorithm & half dictionary?

Half algorithm & half user manual?

Half algorithm & half class?
Czechoslovakia didn't have actual communism. It was oppressed by a stalinist Soviet Union. Lenin was nothing like Stalin.

People mistake oppression and basically incompetence of the soviet union as proof that communism will never work, but it wasn't communism. During the Lenin era, industrial output actually far outpaced western countries, millions were lifted out of poverty. Same in China, Mao's madness with the great leap forward plunged the country into famine. These weren't communism.

There has not been a real communist society in human history. It'll require the population to change its mindset first from greed, ignorance and blind faith, towards critical thinking, socialism (care for others). These are pre-requisites for any ideals, even democracy.

The falacy of the neoliberal order is to think greed, excess consumption and the paramount right of the individual will magically bring a prosperous society, where in fact it sets up an exploitative system where the vast majority toils for the tiny minority and stays poor and stupid.
Thanks for the feedback! We just shipped an update a few minutes ago that should give more useful examples all while splitting up long chunks of text into more readable paragraphs.
You can't make Ikea-style furniture out of high-quality wood: particle board is FAR higher quality than real wood. Quality is a synonym for consistency (not luxury), and particle board is far more consistent than real wood. Most importantly, particle board is dimensionally stable. This is why even high-end furniture uses a lot of plywood. Real wood has horrible dimensional stability: it warps as humidity levels change. That would never work with Ikea-style furniture.

If you wanted to make Ikea-style furniture with higher-end materials than particle-board, you'd use Baltic Birch plywood, and certainly not solid Walnut.
> Why would I wait until a meeting the next morning to reach out to relevant people for help?

It's hard to notice you're stuck when you're stuck. For a lot of programming problems putting your head down and ploughing through is the right approach - but you do need to come up for air occasionally. And if you need help then it can be hard to ask without feeling like you're interrupting someone else's work, so having a regular point where everyone's already not going to be in the middle of deep work is useful.
NHK didn’t give that data an open license

Piracy is rampant. Whether lifting and reusing/redistributing copyrighted dictionaries or other stud materials, or pirating ebook/cdrom type content. That’s nice, but as a legit service provider it’s less accessible without just giving users their own ability to side load in materials
i'm sure it's happened somewhere...I'm not sure but from what I've seen, incredibly hard to game recruitment. Even if you do, the kid won't survive long -- it's up or out every ~2 years.

Seems like a lot of work for not much payoff.

What is encouraged is treating everyone leaving whether regrettable/non-regrettable with a great deal of love and care -- placement services are pretty good. There is a good chance those ex-McK folk are future clients.