skysight-inc/HackerNews huggingface dataset:
> It's normal C++

C++ is an ISO standard, you can use it _everywhere_, in space, in automotive, in aviation, in trains, in medical devices, _everywhere_.

OpenMP is not C++, it is a different programming language than C++.

OpenMP is not an ISO standard, you can't use it in _most_ domains that you can use C++.

Your example:

#pragma openmp parallel for
for(int i=0; i<1000000; i++)
C[i] = A[i] + B[i];

shows how bad OpenMP is.

It does not run in parallel on GPUs or on FPGAS (lacking target offload directives), and you can't use it on most domains in which you can use C++.

The following is ISO standard C++:

std::for_each_n(std::execution::par, std::ranges::iota(0).begin(), 1000000, [](int i) {
C[i] = A[i] + B[i];
});

it runs in _parallel_ EVERYWHERE: GPUs, CPUs, FPGAS, and it is certified for all domains for which C++ is (that is: all domains).

Show me how to sort an array in parallel on _ANY_ hardware (CPUs, GPUs, FPGAs) with OpenMP. With C++ is as simple as:

std::sort(std::execution::par, array.begin(), array.end());

If you have a GPU, this offloads to the GPU. If you have an FPGA, this offloads to the FPGA. If you have a CPU with 200 cores, this uses those 200 cores.

There is no need to turn your ISO C++ compliant program or libraries into OpenMP. That prevents them from being used by many domains on which C++ runs on. It also adds an external dependency for parallelism, for no good reason.

For any problem that OpenMP can solve, OpenMP is _always_ a worse solution than just using strictly ISO standard and compliant C++.

OpenMP has completely lost a reason to exist. It's not 1990 anymore.
Murphy’s law says whoever ends up trying to screen these out will not have read https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-... and thus will unwittingly screen out plenty of legitimate students as well.

From the cases described in the article: Some people actually do have a given name as their family name and some even have the same name for both (I know a Peter Peter). Also some people only have a single name (consider the famous IBM Fellow Mohan, who types “C Mohan” when some system can’t deal with that case.

Straightening this out will be tedious and costly. I feel bad for the actual students who were unable to register.
Agreed. I was responding to the question of whether the cook ever realizes the mistake. Of course he doesn't - particularly if it's a new cook or someone who thinks geese are fungible.
The measures were certainly very effective under the metric of limiting deaths.

British Columbia and New Zealand have about the same population, both are rich jurisdictions. BC was relatively open (compared to other Canadian provinces) while NZ was more locked down. BC has dramatically more deaths than NZ.

And then if you compare BC, which was more locked down than various US states, BC had less deaths than them.

It seems pretty clear to me that the "lock downs" worked.

(putting "lockdowns" in scare quotes here because really the only thing BCians were prevented from doing was going to restaurants and bars. You could still go to the grocery store and home depot etc with a mask on)

If you have some other metric well I dunno, but I don't think there's any better metric than deaths avoided.
I was victim of fraud on e-bay. Someone opened up an account and pretended to be me. They opened yet another count as a fake seller.

They used my credit card information on the fake buyer account and paid the fake seller account.

The fake seller found a real tracking number to my city and marked it as shipped.

I filed a chargeback. E-bay would not let me file for a 'return' or claim because the account was not 'mine.' When e-bay received the chargeback they appealed that the account was actually mine and the tracking number was evidenced they received it. The e-mail given? Something like "arrrghpirate@hotmail.com" -- they taunted me.

Ebay shut down the fraudulent seller but fought tooth and nail against the chargeback. They overwhelmed me and my bank with paperwork until my bank gave up and threw up their hands. Ultimately my bank told me to go fuck myself and that ebay wins, even though the tracking number given was for an entirely different person and before even the date of the invoice.

Fuck e-bay.
Who doesn't know this? The problem isn't that there's no safety net, the problem is that navigating it is a maze and there's tons of cracks for people to fall through. Many, many people don't get the help they need because of that.

Take rent vouchers: only some people who "qualify" actually receive vouchers because there is a cap on the total number the government gives out. Or the EITC: to get the full benefit your income has to land in a narrow band. Or SNAP: all sorts of weird restrictions, and tons of people who are eligible but who don't know to sign up
"A topical and obvious example is that the current Roe vs. Wade controversy just couldn't happen in the EU - as it's unrelated to trade or competition"

The US Federal government has been very crafty in associating just about anything to "interstate commerce"[1] and thereby expanding its power enormously.

I'm sure the same thing could happen in the EU given some creative lawyering and a judiciary willing to swallow their arguments.

It's the appointment/election of particular judges and their willingness to craft or go along with certain arguments and interpret laws in certain ways that is really at the crux of how nations are governed.

Like the old saying goes: It's not votes that count, but those who count the votes. Likewise, it's not the laws that matter, but those who interpret the laws.

[1] - https://en.wikipedia.org/wiki/Commerce_Clause
Even weirder: A lot of companies who are obsessed with big-O and algorithm complexity don't ask candidates even basic questions that require them to think across many orders of magnitude, in terms of time and storage. I'd argue that being flexible enough and able to visualize things across, say, ten orders of magnitude, is a more critical programming skill than knowing big-O.

Even basic questions: Answer with either the word nanoseconds, microseconds, or milliseconds: What's the order-of-magnitude latency of CPU cache lookup? Reading 1MB from spinning disk? Reading 1MB from memory? A round trip packet to a server 1km away? A GPU clearing a 4K screen? A mutex lock? Answer with kilobytes, megabytes, or gigabytes: What's the order-of-magnitude size of a digitized photo? A song? A movie? A graphics frame buffer? Wikipedia? Google's homepage? A typical bootloader? A Windows app executable file? A typical CPU L1 cache? L2 cache?

Too many junior developers can only answer a few of these, even with the answers having three orders of magnitude granularity! But we constantly ask them to belt out the best and worst case big-O complexity of a binary tree.
Come on of course it is.

Offices have hierarchy, promotions, payscales, politics. Socializing in the office is a PC minefield.

My current direct manager is about my age, with kids about my kids age, he is an overall great guy. If we weren't working together I am sure we would have beers together, but in the current context I would hate to blur the work/leisure line.
The one I think of immediately is CHANGE: A Homeless Survival Experience. Saw it in Games for Change Awards nominees and it has stuck with me to this day. 2D side scroller. Well worth your time. https://www.delveinteractive.com/change
Definitely a topic which could really benefit from further exploration through games!
I found this quite hard.

If you really wanna hit all edge cases with TypeScript, things can get out of hand quickly.

It's easier to start with TypeScript, because it prevents you from doing crazy stuff in the first place.
It has a convoluted mess of programs, often mutually exclusive, that each have separate requirements and "churn" people off their benefits regularly with complicated and recurring bureaucratic burdens.

It's not actually "large" in the sense of total spending relative to other counties.
What browser and version are you using?
Cheap stuff goes out of stock first. Your solution of switching to a substitute is the correct move. Businesses that can’t as easily switch away due to integration into a larger product are stuck paying scalper prices.

New chip fabs come online in 2024-2025.
It's easily forgotten now, but in the 95 and 98 eras Microsoft actually bundled a utility called Quick View [1] that added a quick preview to the context menu. It got lost in the XP transition and I have to wonder if they thought that the changes that came along with the IE-ified version of explorer.exe (image thumbnails, document previews in the sidebar) replicated enough of the functionality that it wasn't necessary anymore (they didn't).

[1]: https://en.wikipedia.org/wiki/Quick_View
> Ah yes, the good ol' "time in market beats timing the market".

In the context of this article, buying the dip is a form of timing the market.

Consider instead the effect of time in market via the standard 401k model: You buy $250 of QQQ at the opening price on the 5th trading day of every single month, and you start in April of 2000 - the first month after that QQQ high mentioned in the article.

By January of 2004, you have a positive total return (which sucks). Your total return stays at less than ~20% all the way until 2006 (which sucks). You would get hit hard again in 2008, but by mid-2009 you are back to being positive. You hit a 100% return in 2013 (that took a really long time!). The next doubling is 2017 and the next is in 2020. In November 2021,you are sitting at very close to a 600% total return, but as of right now it is back down to ~450%.

Your $250 per month totals ~$66k and has a present value of ~$360k. That really isn’t so bad for being the worst case scenario the author could find ;)

PS - this does not consider dividend reinvestment, but QQQ doesn’t pay much in the way of dividends.
This looks amazing. Thanks for sharing.
Industrial society didn’t end, it just moved to Asia, particularly Southeast Asia.

Someone is manufacturing all these “post-industrial” radio transceivers, screens and datacenters, after all. Still others are mining and drilling the required natural resources.

Bretton Woods and the Dollar as world reserve currency effected this shift from West to East.
macOS has Services, which I think are meant to serve much the same function.

https://developer.apple.com/design/human-interface-guideline...

(EDIT: I was "posting too fast". In the meantime, I think that jasomills has pointed this out (https://news.ycombinator.com/item?id=31305652).)
The leaked opinion specifically states that, despite nullifying the legal arguments that prevent bans on consensual sex acts, gay marriage, civil rights and privacy, this ruling is not rolling those rights back yet.
These are great, but with some of them I cannot help but wonder why MSFT would choose not to include them in the OS by default. They seem fairly unobtrusive and like they wouldn't add too much complexity to the product in return for what you get in terms of better usability and/or additional functionality.

Of course you could argue that you always have to be very careful not to overload and bloat your software product, especially if it's an OS — but windows contains two different consoles, about three versions of the system preferences management, ..., it just doesn't seem like MSFT to be that picky about what they'll put into their product.
Mostly proximity to eastern europe compared to NYC.
California would like a word.

(Read that literally or politically, however you choose, but I don’t relish a “it’s completely out of control; all we can do is pray for rain or the winds to shift and hope it burns itself out while sparing 90% of the people...” scenario on a world scale, whether in politics or wild-fires.)
> I figured any geek would grok it.

I did. I simply don't understand how such scores can be evaluated in real life.
$30 is surprising for a game about homelessness.
I think one of the great things about HN is that it discourages back-and-forth arguments and usually favors people making some point and then letting others chime in with more. I think this is intentional, and it really provides a better alternative to the "debate" style you often see on forums. Granted as you say that sometimes it does this at the expense of legitimate clarification or going deeper, but imo that's worth it.

I anecdotally see a lot of replies that look like they are asking a question to explicitly try and draw someone into a debate, and this gets cut off much more easily here than e.g. reddit.

To some extent, I also think people that are familiar with the nature of the conversations make points that can stand, regardless of what's posted in reply. They are not trying to start a conversation but to add a point to the discussion.

All that to say, don't necessarily try and focus on starting back and forth discussions, focus on making good points that spur further posts
Most important to keep in mind the caution from Pulp's "Common People", which isn't even about the sort of poverty you're describing but just the ordinary lives of people who wouldn't consider themselves "poor" at all.

But still you'll never get it right /
'Cause when you're laid in bed at night /
Watching roaches climb the wall /
If you called your dad he could stop it all

The thing we can't simulate about poverty is that it isn't just a game, that when you're sick and tired of it and feel you've learned what it has to teach you, you can't just exit and not be poor any more.
> Vendors should include only the bare essentials, then let users who want more add their own extras.

This used to be appealing to me, back when the open-source model seemed to be viable even on macOS and Windows. Now any look at the app store will show you apps performing the most basic, should-be (and often is!) bundled, functionality that cost $5 apiece. No slight against developers, who have a right to make a living, but if I just dropped thousands of dollars on a computer and then had to pay $5 for each small convenience feature I wanted, it would definitely be a significant downgrade in experience. I don't live in the Windows ecosystem any more, but the macOS freeware ecosystem has significantly degraded (and it's not just a matter of “I have to use something old”—due to architecture changes, most of the old stuff doesn't work any more, and, understandably, even if the original maintainer is still keeping it up, they now often charge for the product).
Lessons from taking a gap year (2021)
Mostly Asia. I stopped for exactly the reason in the previous comment.. I realized that what initially seemed like a fun and academic idea about the people I was meeting absolutely did develop into a fundamental life choice, after the umpteenth drink shared with someone who might have initially seemed eccentric and interesting, but had very little depth and purpose almost immediately below the surface.

The choice was to either seize the endless excitement of travel permanently, and further develop my own eccentricities at extraordinary risk of accomplishing little material, or swallowing my pride and acknowledging the dream of travel may have been a substantially emptier experience than originally promised.

This is not to say I did not "develop" - I met numerous people, swap emails, send Christmas gifts, had amazing experiences, and so on, but the question is what permanence these actions and relationships have, and at what cost those experiences are gained. I still itch - regularly - to jump on a plane to a country I have never been before. It is so easy to indulge in that sense of adventure. But I notice this comes most often during times of stress, and nowadays I always weigh that adventure against the actual costs of what I am leaving behind. Due to this, adventure holds very little of the appeal it once did, and I often wonder how many of those life-loving expats I met who did not admit to running from their old lives were still on the run from something, perhaps while living with complete delusion that they were only having fun.

On the other hand I did meet people who had found a real sense of belonging and purpose in their life through the foreign communities they interacted with, but even if I were one of those, over a long time horizon, I don't imagine the outcome to be so much different on every occasion. There are only so many children to educate and schools to build before the satisfaction gives way to the wariness of ones own ephemeral relationship to their environment, the only answer to which is yet more adventure, or the cold reality of going home and discovering what was missed in the meantime.

As another reply suggested - travelling with purpose makes a lot of sense. Some of the most interesting people I met were NGO or higher education placements there temporarily to accomplish a specific task.
I’m not talking about rubbing the country like a household, still there are considerable reasons to do some accounting.

1. Even the most spend willing economists agree there is some limit to debt that is sustainable. It’s just way higher than what most are comfortable with.

2. There is also political/popular will. If this is not there it doesn’t matter what makes economical sense. In the U.S. we are firmly against that.

3. About that inflation …
Losing while playing Monopoly

Other than that, nothing really comes to mind, and honestly nothing could replace the constant stress of not being able to pay rent, food and utilities at the end of the month, knowing you can't and still be unable to do anything to fix it other than taking a payday loan which you also know won't be able to pay, bonus stress points if you have got kids
Making the benefits universal would increase everyone's personal budgets to compensate.
> Ultimately my bank told me to go fuck myself and that ebay wins

The next step is to take it to small claims court, where the court doesn't really care what the bank wants and says "no, this is their money, and here's a nice hefty fine to convince you not to try this person again"
Traffic and as speeding tickets almost work the same way
Keypirahna

https://keypirinha.com/
The problem wasn’t the real world part it was the internet. I was there at the time, it was clear there was some value in all the delivery services and so on the issue was that it was so painful and tedious to dial in with a modem and wait for photos to download and navigate the catalog on a 56k (or 128c or whatever) connection, often losing your cart and having to start over.

And that was for those of us that were literary in digital stuff and comfortable with the internet. A lot of people just hadn’t gotten around to using it much yet.

It just wasn’t time yet. And there wasn’t any massive network effect or lock-in to capture like there was with something like a social network.

Being too early is the same thing as being wrong.
I suspect it's chaotic and non-linear along many dimensions if it can be quantified at all.
AFAIK, the filesystem is encrypted on any modern device. An attacker would have to first break into the device and then break into the password database. And if they can break into the device it is game over already.

Also, the attacker would have to be really motivated to brute force into it, and if it happened that my phone got stolen and I was worried about your scenario, I'd be just rotating all the high-value passwords I have, which is something that I think can be done quickly.
Remap any key to any other two keys on Windows
There's a lot of social problems that you have to cope with, like low food, low healthcare, forcing workers to shovel coal at gunpoint or else the whole outpost freezes to death. It's brutal.
> Unfortunately, many companies have no idea (at least their upper management), about what makes a "good office".

Lol. Of course they know what makes a good office. The execs all have nice offices.
The thing preventing equality is the people who horde everything. Blaming the people asking for not asking right is a joke.
> It also forced all people, great and small, rich and poor, free and slave, to receive a mark on their right hands or on their foreheads, 17 so that they could not buy or sell unless they had the mark, which is the name of the beast or the number of its name.

If it practically excludes people from transacting it kind of plays into the prophecy. That's how people go off on bank accounts and debit and credit cards as being the mark of the beast.
In a small amount of fairness, Windows only comes with one console. On Windows 10, you have to install Windows Terminal separately, and on Windows 11, Windows Terminal is the only one.
Anyone have a good “Push to Talk” utility for windows?

This PowerTools has something close but not exactly what I’m looking for.

I’ve gotten used to PTT in apps like Ventrilo / Discord and hate having to constantly unmute / remute in Teams.
Yes you're correct.

Sadly This happened one week before a cross country move to a half of the country where there is no representation of this bank. It would have cost me as much in hotal and travel fees to fly back for the court dates as I would have recouped in the claim if I prevailed.
I also thought of the GTA gameplay.

With the focus of the game on poverty, there could be opportunities for small theft that has an "odds of being caught" attached. And of course with that comes the odds of having to pay a fine, which significantly cuts into your savings (if you have any). And with some odds of being jailed, that's a number of months with no income to pay rent at all, which probably means game over, if your goal is to avoid ending up on the streets or in a shelter.

The incentives are similar to real life.
In macOS at least you can remap any key as well as keyboard shortcut (both globally and per-app) from the built in OS keyboard preferences. The only thing it requires is that the thing you want to change has a "menu item" (so a named thing in the top menu bar in any of the submenus). Hotkey mapping works by simply mapping to any of the texts in those (sub) menus, however deep you want to go. The great thing about it is the developer of the app doesn't need to do anything to allows that, and it essentially only gets broken if an app goes out of its way to be as non-native as possible (i.e. if it doesn't even use the standard libraries that ship with the OS).
Doesn’t it though, necessarily?

If you have three people, one who has almost everything, one who has almost nothing and another who has nothing. How can you make things more equal without harming the relative standing of the person who has almost everything?

It could be positive sum in the long run but if you consider life to be a series of snapshots I’m not convinced that equalizing measures don’t hurt those who are, fairly or unfairly, advantaged at least momentarily.
It’s a great feature. It doesn’t always work 100% stable though. Would love to see it put further into the OS somehow. Macos key / modifier remaps are much more stable than powertoys’.
It's a long time since I played it but Real Lives (https://en.m.wikipedia.org/wiki/Real_Lives) might meet your criteria. You start as a child with some random traits somewhere in the world and try to advance your life. Some starts are a lot harder than others.
The difference is that a single-payer system doesn’t have the people deciding what to pay making more money if they pay out less.
You can’t simply declare a zero-sum situation to not be, and then expect your study participants to believe you.

That’s what this study did:

> In studies 1 to 5, participants read various equality-enhancing policies that would provide additional resources (e.g., salary and jobs) to a disadvantaged group (e.g., Latino Americans, people with a disability, women, and ex-felons) without changing the resources provided to the advantaged ingroup (e.g., white Americans, people without a disability, men, and non-felons).

Where, exactly, does the money to pay for their additional salary and jobs come from?