skysight-inc/HackerNews huggingface dataset:
(Edited because I transposed "mutex" and "semaphore" in my mind.)

A mutex is a lock -- if multiple users attempt to access a resource simultaneously, they each attempt to acquire the lock serially, and those not first are excluded (blocked) until the current holder releases the lock.

Mutexes are typically implemented with semaphores:

First a more developer-oriented explanation (because I imagine that's what you really want):

A semaphore locks a shared resource by implementing two operations, "up" and "down". First, the semaphore is initialized to some positive integer, which represents how many concurrent "users" (typically threads) can use that resource. Then, each time a user wants to take advantage of that resource, it "down"s the semaphore , which atomically subtracts one from the current value -- but the key is that the semaphore's value can _never_ be negative, so if the value is currently zero, "down"ing a semaphore implies blocking until it's non-zero again. "Up"ing is just what you'd imagine: atomically increment the semaphore value, and unblock someone waiting, if necessary.

Semaphores are generally seen as a fundamental primitive (one reason being that locks/mutexes can be implemented trivially as a semaphore initialized to one), but they also have broad use as a general synchronization mechanism between threads.

For a true ELI5 of semaphores (I enjoy writing these):

Imagine everyone in class needs to write something, but there are only three pencils available, so you devise a system (a system of mutual exclusion, per se) for everyone to follow while the pencils are used: First, you note how many pencils are available -- three. Then, each time someone asks you for one, (which we call "down"ing the semaphore) you subtract one from the number in your head and give them a pencil. But if that number is zero, you don't have any pencils left, so you ask the person to wait. When someone returns and is done with their pencil, you hand it off to someone waiting, or, if nobody is waiting, you add one to that number in your head and take the pencil back ("up"ing the semaphore). It's important that you decide to only handle one request at a time (atomicity) -- if you tried to do too many things at once, you might lose track of your pencil count and accidentally promise more pencils than you have.
Churches are not for profit and don't partake in the economy. At least the established European ones that have no membership dues and such.
Just separate yourself from the idea of failure.

What you did was a failure, but who you are is not.

There's no need to burden yourself with this idea of failure. Stay light and keep moving forward. Moving forward is the essence of success, you can't lose if you put forth an honest effort in everything you do.
Sailing is one slip away from diving.
Let me just say that I'm glad people like you and Frost1x are here, fighting the good fight. Ten years ago, I still though the "make an app on the web" thing was a fad that would go away soon, and the pendulum would swing back to native apps. That hasn't happened, and if anything, the practice of just putting it on the web has become the default, which is a little scary.

The web site looks great, and I sincerely appreciate the courage and vulnerability it takes to throw one's project to the "Show HN wolves," but I have to agree that this needs to be a native application (that I can demonstrably run with the network plug disconnected) for me to touch it with real financial information. It also needs to be "better than old-school desktop Quicken" for its use case, in order to un-sticky me from that application and migrate my 20+ years of data from it.
I've never once experienced input lag on Slack- on mobile or desktop (or laptop). The only thing I notice is a slow initial load and slowness to load conversations when I click between them.

Again, I'm not exactly using ancient computers, but that's been my anecdotal experience. I was working from a MacBook Pro that was 3-4 years old at one point, for what that's worth. Not maxed out, though I'll admit it was probably still not a slouch.
Only my photo editor Filmulator does that, to my knowledge.
So what? That’s why is meaningful. It exposes falsehood that we are too distracted to see and understand.
I for one appreciate having my mind blown once in a while and my dogmas questioned.
And those thoughts are conveyed through content, no?
Yes, but a totally anonymous singleton group... with a unique ID.
Eigen, although often criticized for its long build times, is still the only linear algebra library that can lazy-evaluate and optimize expressions in compile-time, thanks to C++’s template metaprogramming.

In overall Rust’s current type system isn’t good enough to match what C++ has for numeric computations, although there have been some recent improvements such as the min-const-generics feature. I’ll probably try the language again once const generics are finished.
I love how the majority of modern science articles are people basically proving common sense.
Cheatsheet for Founders Learning Sales
Does it apply in tech space? I've seen so many hires barely speaking any English. Ultimately what gets the deal is how cheap one can sell themselves, then the managers don't care about the rest.
All they need is to get a few large companies on board, and then to convince Web developers that it's no longer necessary to think at all about front-end performance. The rest of us will be forced to follow suit when a critical mass of Web sites require beefier hardware than we can afford to buy ourselves, and faster connections than we can even get access to due to Comcast and Time Warner not giving a shit about speed.
I think it's exceedingly rare that there is a false accusation. Not only would the accuser face libel and slander laws, typically the supporters of the accused will put immense pressure on the accuser and also ruin their reputation.

> the only moral thing to do is to support the accuser.

I fully agree.
The methane from the cattle that didn't exist would go away.

I guess I didn't try to spell the whole thought out, but I wasn't trying to claim that beef consumption is an island, I was thinking about how CAFO style animal husbandry supports a lot more animals than pure grazing would.
You forget that we probably wouldn't have had Android, maybe not even iPhones. And for all the flaws of Googles management of Android I think there's a fair chance MS could have botched it even more. I mean, just one of the old MS guys was enough to more or less sink telecom giant Nokia ;-)

Linux adoption on the desktop is small but rapidly rising now. If Microsoft had gotten their way back then I doubt that could have happened.

Your argument seems to take for granted that Microsoft wouldn't have come up with the same or maybe even sleazier tactics. I wouldn't take that for granted.
Maybe they helped at night when their parents were sleeping?
It's supposed to be about education, of course, but there is also a massively practical element of keeping young and impulsive people busy and contained during the day.
Schools are (in my experience) not getting much better regarding student rights. They regularly confiscate devices, gloat about how the SRO can "take any phone and take all of your secrets, so we can analyze it all" (verbatim) in regards to social media problems (which shouldn't even apply outside of school), etc. Some sort of Cellebrite device that some middle-of-nowhere school has for some reason? I guess they had a deal with the local PD...

As an example, we were told in middle school that "from the moment you step outside of your house in the morning to the moment you step back into it, you are our responsibility". Because someone had sent some mildly offensive texts while waiting at the bus stop (and subsequently confiscated the phones of everyone said to be involved). I wanted to ask whether that means they would pay my medical bills or take responsibility for anything that happens as soon as I stepped out of my house. But naturally they wanted just the control, not the responsibility.

As another example, I remember being threatened with police action after I slapped my friend's neck. Imagine a grown man screaming at a 7th grader that he's going to juvie if my friend decided to "press charges". Prior to that, no offenses, model A student, but because I was playing around in gym class, I was a "criminal" and "my future was ruined". Naturally after scaring me I heard nothing more of the incident (it isn't even on my record), which is perhaps more infuriating.
What's missing is a way to pin web apps so that you always get the previous version (and can opt in to subsequent versions after checking their hash from a trusted source).

There is a clever way of doing this, using a bookmarklet, a dataURI, and SRI, but the UX isn't great.[0] If something like Hashlinks[1] were supported by browsers, though, this could work quite nicely.

[0] https://news.ycombinator.com/item?id=17776456

[1] https://w3c-ccg.github.io/hashlink/
My wife and I maintain that fixed bed times are still one of the best parenting decisions we ever made. They're getting a little later as our kids get older, but we can definitely tell when the kids haven't gotten enough sleep. They get squirrely and overly giddy, and their ability to focus on anything goes way down.
It's up to today's parents to provide a better environment for their children, regardless of popular sentiment.
If you take state income tax into account, it's possible to hit a marginal rate of about 50% if you live in, say, California.
A small word of advice. If you are a consultant and the company currently contracting you hires some folks from Accenture to help with a project, assume your life is going to be hell. Accenture is not a team player and is out to get all the business. You are just another pot of money that they need to add to their hoard.
There is a reason why virtually 100% of Congress are lawyers. (Not sure where to look up the stats on that, though.)

Edit: I was wrong. It's "only" ~50% of Congress, assuming the numbers are roughly the same since 2016. source: https://www.vox.com/polyarchy/2016/6/30/12068490/too-many-la... That's still a huge number, compared to the % of general population who are lawyers. In the US there are 1.4M lawyers; if the pop is 350M then they are 0.4% of the population - and a much smaller fraction of the adult working population (roughly .02%).
"We have a problem"

"Let's hire a consultancy firm to solve it!"

A bit later:

"Now we have ten problems, all sitting at desks we are paying for and are being charged ridiculous fees for a bunch of witless MBAs just out of college."
Writing clearly leads to fewer citations
Damn bankrupt by 38
Git-xargs: an open source tool to update multiple GitHub repos
If you care more about the dollar than Amazon:

https://www.mathsisfun.com/puzzles/where-did-the-dollar-go--...

>When the Waiter returns 3 dollars, the 3 friends had paid $25 to the Cashier and $2 to the Waiter. $25+$2 = $27 = 3 x $9.
It is not rational to avoid a covid vaccine, but nice try.
You can doubt it all you want, but this is where Xilinx Alveo is coming into play.

This isn't my space as I operate on low-latency networking side.

> A more traditional "many 'fixed function' processor" a la GPU will beat it for any algorithm which at least semi-successfully maps to the provided operations. And most math is matrix multiplication anyway, if you squint your eyes and hold your tongue at the right angle ;)

I don't think it is as simple as this. Certainly not for low-latency scenarios or for HPC efficiency where the gains are done my moving as much computation as possible onto accelerator cards and off the CPU.

The cost of moving things back and forth from the CPU can be expensive (data especially). We are already seeing dedicated solutions from Google, Graphcore that beats the pants off the traditional GPU/CPU approach.
No no, that's not what I meant at all. I meant print debugging can't replace the debugger.

Of course a debugger can't replace the need for logs entirely!
Any thoughts on the comments under the Frost1x post? (e.g. Electron app version, and/or import/export or local storage options for web premium users). Certainly local storage is very doable -- I didn't anticipate how hotly requested that might be. I'll also note that all calculations are actually already client-side.
Starvation is always a big deal under Communism.
It’s fine as long as you putting them to bed early too.

Sleeping 8pm to 6:30am is enough. But you have to put them to bed by then.
Show HN: Open-source tool to see stock price movements around earnings
I am too, instinctively... though I consciously try to push through it.

OTOH, I think architect-speak is the actual glue between art philosophy and wider movements. Why is "postmodernism" (or modernism, etc.) an epistemology, political ideology, artistic sense and architectural school? They don't seem obviously related Why did Ayn Rand write about an architect to demonstrate her thoughts?

Logical or not, these "movements" are connected somehow and they to ebb and flow together.

There are a lot of lessons here for tech nerds. You could easily describe "agile vs waterfall" in modernist vs postmodernist terms. Apple & Google's product aesthetic does reflect typically modernist ideas... form from function or whatnot.

A couple of years ago I went deep into talking to literal flat earthers (friends, whom I love). I learned (and still processing) a lot. Anti-intellectualism plays a fundamental role, but the key parts are a level or two deeper to that. You need to realize that psychologists, political "think tankers," dieticians or economists actually do present themselves as equally authoritative to physicists. They're wrong all the time, and many of their loudest talking points turn out to be fads in retrospect. EG Monetarism seems to be dying ATM, despite having been unchallengeable for 40 years. That happens in physics too, but relativity didn't make Newtonian mechanics seem like pseudoscience in retrospect. To a MOP though, there isn't an obviously discernible difference between Newtonian mechanics and the food pyramid. Both are intellectualism, claiming the authority of science. All they see is suits, academic titles, and positions of authority who get to be the authority.

Anyway... because architect/artists speak can be bullshit, is often very clumsy, and we can't discern BS from insight, we assume it's all bullshit or a way to get away with bullshit. Often, its our own ignorance.

I credit PG with bridging these worlds for me.
Mainly a Gen Z thing I believe (speaking as a member of said generation). Many people my age see their phone numbers as being more private information that should be given to those you trust, so may not want to give out to someone you just met at a bar for example. Instagram can be used as a sort of barrier. Also, each party gets more insight into the others lives by checking out their Instagram account which is usually interesting information if you're establishing some sort of relationship with another
I'm curious, why do you say it is terrible?
The subpoena is dated 29 march. That puts it before the celebrite blog. Hence, it cannot be a response to that blog.
It's a great way for management to cover their asses.
A project like this is purely for fun anyway. Maybe the author thought an Electron version would be a fun side project?

Edit: interestingly, it looks like he also has a Windows95 emulator in Electron.

https://github.com/felixrieseberg/windows95
I don't think calling Chrome a closed source browser is accurate unless you have a citation showing that Chromium is missing this code

Microsoft Edge is a closed source browser, for comparison
Since when is that the only purpose of taxes?

I have no idea how efficiently the Korean govt distributes capital, but there are other reasons inheritance taxes are a good thing. Primarily because they limit the concentration of generational wealth in the 0.1%.
Both? I am not sure what your suggestion is for a 7 year old when both parents start work at 8am
However the variability of physical forces on the blades as they rotate means the materials have to have properties that make them less brittle or prone to fatigue due to these conditions. Those materials I think are mor expensive than those on traditional blades.
I commented under another reply, but I've never once experienced actual UI jank/input lag on Slack or Discord. Not once. I don't know what I'm doing differently.

Here's one theory: the web makes it super easy to add lots of little animations to apps. Discord in particular takes lots of advantage of this. Is it possible all the little animations are making things feel slightly less "instant", and being mistaken for input lag? That wouldn't impact typing, but
They screw up, and ask for more funding... how do they keep good enough relationships to keep getting new work?
Accenture and similar consulting companies are like the Kardashians of the business world.

Where the Kardashians are famous for being famous, the consulting industrial complex makes money by making money. There's no "there" there, except a little arbitrage under a thin and pretty powerpoint facade. Mix in some former sorority girls and call them "consultants" [1], and, hey, you got a $100 billion dollar business.

Side note - I really dig the Retool business blogs. The have one on Salesforce and SaaS which I found interesting.[2]

[1] As a former frat "bro", I dated a couple

[2] https://retool.com/blog/salesforce-for-engineers/
So it is both available and consistent (but perhaps only in read your own writes way?). What is then with resilence to network partitions, referring to CAP theorm? Did they build super reliable global network, so this is never a real issue?
As I am told very often on HN, security is expensive. It is expensive to use an off the shelves password hashing algorithm, or to use parameterized SQL queries...
Thanks for the free service, email getting leaked is the least of my concerns. Can't get mad, thank you Dan. HN should have this natively
This is a good thing IMO. Accenture and the other body shops are a giant wealth redistribution machine. Its selfish to think that only FAANG employees should hold all the wealth. Let it trickle down to other less equal humans too.
And at the same time, many employers motivate an early start of the workday with accommodating for parents
This is a drop in the bucket compared to their national budget, which is 493 billion this year. Billions are peanuts at the scale of a national government.
It becomes terribly low-res. The MMS media limit means each video, if longer than a few seconds, has its bitrate crippled to fit in the limit. Photos too have their resolution lowered, less so than videos but if you send a bunch at once it gets worse.
Depends on how you look at min-maxing. My approach to min-maxing Stardew is minimal effort, maximum value on the farm. I don't want to spend most of my day every day on the farm feeding animals and watering plants.

So I try to plant the stuff that produces the most value and get sprinklers and stuff early on. That way I have more time to do the stuff I enjoy more in the game, adventuring in the mines and fishing.

If you're trying to wring every possible dollar out of every minute of game time, I don't view that as min-maxing. It's just plain maxing.

But I suppose that's really just quibbling over definitions.
Explaining irony is so meta.
Is the 10K years or so that we have been farming enough to change our prior patterns of need?
As far as I can tell, for the same reason that all consulting firms exist: so key decision makers have a scapegoat.

When someone needs to justify a decision or identify a strategy, they can pass the work off to a consulting firm. In doing so, they get the best of both worlds. If they take the advice of the consulting firm, and all goes well, they're praised for bringing in the extra help. If they don't take the advice of the consulting firm, and all goes well, then they stuck to their guns and can take all the credit. If they take the advice of the consulting firm, and things go sour, then it was just "bad advice", they can pick another consultant and wipe their hands clean. And in the many instances where they don't take the advice, and things still go sour, it was the consultants fault for not providing the advice needed.

What they actually say is far less important than their position as a stakeholder in the decision making process. In fact, as another commenter has already pointed out, the insight that a consulting firm will always provide is that you need more consultants. Few people truly love working with consultants, the advice is often dished out by overworked 20-somethings with little to no domain expertise, and yet, here we are.

Source: I work for a similar firm targeting a specific niche, and many of my best friends are in similar roles, including at Accenture, Deloitte, PwC, and EY.
Neandertals don’t deserve their bad, dim-witted reputation
Having worked with them in the past - long time ago, like 25 years ago - their business model goes like this:

1. Great insurance policy for the upper management: "Project failed ? Not my fault for sure: I hired the best and spent a huge amount of money... I am looking at you, middle management"

2. We need to make some major adjustment in our company and I do not have the guts to make them: Let Accenture make a great presentation recommending the actions I already know.

3. Accenture is up or out: If you are out, the partners will make sure you get a great position in some customer. In the future, you will contract with them of course.
It's HW made by private corporation with their own SW and they can insist rules to make sure HW and SW systems are not abused so that most of the users get better user experience.
They (Apple) are doing this to protect their users. If you don't agree with it don't buy their HW.

Can you install applications from third party providers on other app bases HW? such as
Gaming (XBox, Playstation, Nintendo)
Cars (Tesla, Benz, Nissan)

Or in non SW/HW world can you force stores such as Walmart, HomeDepot, Macys, Nordstorm to sell goods from third party seller? And, even these stores charge fees for selling items made by other manufacturers.

If you don't like ecosystems made by Google and Apple don't buy their HW/SW.
I think it's asinine.

Fragmentation: If Apple competes well there won't be any because their app store will be the best on merit not at gunpoint.

Safety: Don't sideload or install unsigned apps. Keep your phone up to date. This doesn't change much except possibly give you the option to be unsafe.

Payment processing: We already see integration with Cash app, Google wallet, Apple pay, Stripe, PayPal, etc. This is not an issue.
I think you might enjoy Debt: The First 5000 Years. Lots of great info on the history of money and how it’s used today.
WaitOnAddress and co. But that one was added with Windows 8, so it can't take you back 20 years :)
They are amazing at convincing naïve/incompetent governments to part with large sums of money for very little work.

E.g. here in Austria last year they made a website that was supposed to turbocharge Austrian businesses online sales.

It was basically the equivalent of a wordpress blog of some shops and a very broken search facility that got reamed by the public. It cost €1.3m

https://www.derstandard.at/story/2000124141852/kaufhaus-oest...
why they dont provide the sample how the fonts looks?

Even every link on page didn't have preview of fonts.
This is the comment that lost me. I'm sorry, how should more of the pie go to Spotify here using that argument?

Apple 'made their money' on the hardware, therefore Spotify is entitled to a larger ratio on the software? Is that the correct interpretation?

Edit: I'll take your downvote as being it was the correct interpretation. It's okay, I didn't expect a reply.
Just 15 percent of psychology studies are strongly rooted in theory