skysight-inc/HackerNews huggingface dataset:
Here is an interesting news article I saw recently about chronic pain, in case it is useful. It seemed like it could be a balanced look at the field of managing it, now, for what it may be worth: https://www.cnn.com/2022/06/27/health/haider-warraich-chroni...

I became disabled due to chronic fatigue syndrome, and as I progressed until gradually unable to keep a job, I also went through what you are of being denied disability benefits, but a good doctor (specialist) helped me w/ an attorney referral, which along with letters from former coworkers. HR and family as to my condition, some careful record-keeping (hard and draining), and being able to stay with family until things stabilized more, were a big help when I went to the administrative law judge finally about it. My security is church and family, family and church (and given the government's track record, that is where it will stay--maybe states could do better, but I don't think the US fed ever could--long set of experiences there).

So I can sympathize: even though our conditions are different, I think there is some overlap. For my situation at least, graded exercise therapy or the belief it is all in one's head, are very unhelpful ideas (much could be said).

But now things have stabilized, I believe I will get better eventually, and there is hope for me, and there is hope for you. Don't ever give up.

Here is another recent article (related to overcoming depression with a multi-pronged approach, not trying to do everything at once but in thoughtful steps), which I thought was very good (has some religious aspects, which are actually relevant):
https://www.churchofjesuschrist.org/study/liahona/2022/07/07...

Again, don't give up. It can really get to where things are OK.
These jobs are generally considered full time and may even have anti moonlighting clauses. They just don’t have much pressure associated to them as long as you are moderately competent and can reasonably deal with crushing beuracracy.

The way to find these is to really just look for a job which emphasizes enterprise, a tech you know, and the main focus being upgrade from version X to version Y. Bonus points if this is in a large firm with minimal competition in its sector.

These companies largely need someone to be there in case they might need some job done, but generally they need people to pretend to be busy. With remote work, they probably don’t need you to try particularly hard at that.
Agreed. Just looking at that picture on their site if I was considering a job would end it for me.
"presumably" is doing a LOT of work in that comment
Merkel said after 2008 that ALL countries in the EU must have surpluses. It was like saying all teams in the NBA must win.
Because it is a debug feature, that environment variable affects far more than the file chooser.

The actual problem is that it is not part of the FileChooserNative API to use the XDG Portal API outside of Flatpak. I just opened an issue for this specific usecase: https://gitlab.gnome.org/GNOME/gtk/-/issues/5026
Have another kid within 2-3 years. Over the next 16 years you as parents will have hours to yourself every day while the kids keep each other company. Single children spend many more hours a week lonely and the parents have to be their sole family play mates at the expense of their own pursuits, relationship & energy. Adults will never be as fun or engaging a playmate as another kid.

If you keep the gap within 2-4 years then the kids can both enjoy broadly the same activities and schedules. If you let the gap become wider than that, then their needs are too divergent to meet with the same activities. So each day, week & season ends up being more work & complexity.

In the weekends we have to wake up at 6am no matter what because that’s when our 4 yo wakes up. Meanwhile our friends with 2 kids: “sleep in until the kids start arguing“
We f’d it up, it seems so obvious, and we’ve only just realized. No one talked to us about this.
Thank you for bringing this up, it was the parallel story that first popped into my mind as well, as this was a national tragedy of rare proportions.

To me the amount of people streaming from everywhere in the entire country (!) to help fix up a region that has been struck with disaster moved me to tears more than once now.

And the happier I am about this circumstance, the angrier I get at politicians and some media.
No, no, the key is not a constant. See, they already changed it once! /s

(Honestly, that was the biggest red flag for me. They had to change the key and that STILL didn't give them the hint that hardcoding it is not a sane option.)

Any company that was involved in this disaster and either implemented or gave their seal of approval to hardcoded crypto keys needs to be permanently excluded from government contracts.
I think what you're referring more concretely is the difference between Balance of trade vs. Balance of payments, the latter being the addition of tertiary/financial sector.

For an export driven economy like Japan, Germany or China - balance of trade could be bad. How big is the German software & banking industry to offset some of this default in the long haul?
> When attacked from outside, they’ll close ranks.

"The Left got a little too PC so I changed all of my opinions about the economy, social issues, systemic racism, health care, and history."

If someone criticizing you for being racist makes you act out in a racist way, then you're not really proving to anyone how not racist you are.

You're instead proving that the criticisms were valid.

Replace racist with gun-obsessed, conspiracy-minded, uneducated, psychotic, or whatever other associations you want to build with "deplorable".

Also.

> Folks were nicer to me there than in NYC or DC.

Rural areas are more friendly and cordial than urban areas. They have more time to do so. This isn't news.

The real question is not whether they'll be nice to you at a checkout register, or let you borrow their car.

The real question is how would they feel if you were actually Muslim and started discussing your respective religions - or lack thereof if you were atheist.

Ask them how they would feel about you marrying their daughter, then tell me if they are still nice.
Of much greater importance--why would media from NYC become absolutely obsessed with a trivial event in, say, Ferguson, Missouri? Why not concern themselves with the incredible violence of places like...NYC? Why not look deep into the actual statistics around violence, rather than amplifying particular incidents from irrelevant places? Bad faith question, of course. They do it because they have to travel far and wide to find things that match the narrative. Outside their window, in the streets which their own politicians control, the narrative is a little different.

To answer your own question for the sake of contrast, it's not strange that provincials would know about the events in NYC. It is a large, important city.
Suboptimal?
Coming from a country with a huge alcoholism problem, I welcome any trend that shows decrease in alcohol consumption.

Now living in England, I'm amazed how people just take their cars to a pub and drive back home like it's nothing. And considering how busy my local pub is, some do it on a daily basis.
Cmux: Serve different services on the same port
Terra/Luna made a 40 million dollar deal (cash up front) for 5 years of advertising with the Washington Nationals this February. The Nationals played 23 home games before they imploded.
Two of the most interesting things that trickled down during the design of Spark2014:

1- contracts are written in the same language as the code to be checked/proved. This made important to add expressive features to the language (for all / for some: quantifiers! expression functions, if- and case-statements and more recently the new delta-aggregates notation): these additions make the language far more expressive without too much loss of readability.

2- executable contracts: most contracts can be checked at runtime or proved. And the escape hatch (code only present for proof) is 'ghost' code which is also a nice addition.

Lots of little nifty additions to the language, from just 'thinking in contracts' or 'designing for probability'.
The point is that you've chosen a questionable benchmark that is only correct if you adopt a very spwsific point of view.
Right, not an expert either. But you moved the goalpost a little.

Carpal tunnel is a medical condition. You can take an xray and see inflamation and rule it.

You can't really do that with pain or brainfog. There is no test "how real is this persons pain".
A one-per-generation visionary game!
Flip the situation around so you can emphasize more easily.

Let's say your employee walks up and they tell you that "my life situation is uncertain going forward, my ability to deliver on my end of this bargain may be limited and outside of my control."

On the other hand you have the resume of someone you can hire, they are willing to agree to a contract where they will deliver more productivity than the previous employee, problem is you can only employ one of them.

If feeding your family depended on the productivity of the person in that role, who do you go with?
The Pico's PIO peripheral is actually a really innovative feature in a microcontroller. It plugs the gap where you need some sort of fast custom I/O but you don't want to go to the complexity and cost of an FPGA. I'd love to see more mainstream vendors offer something similar.
I think it's going to be my life's work to get people to stop making these comparisons. The difference in the size of city limits makes them meaningless. Chicago is geographically huge and includes a large swath of suburbs. Other city limits are much smaller and include all of the bad areas without the suburbs to dilute the per capita numbers.
The article is explaining those reasons, which the author feels are obvious but he spells out nonetheless. The gist of his argument is that because UI is not a pure function of a little pile of centrally defined state, React has to come up with lots of new concepts and mechanisms to wallpaper over the conceptual gap. Hence his table which by the end is boiling down to "OOP toolkits don't need this" alongside explanations of very complex FP approaches.
Sarno's work comes up periodically on HN, and I always have to chime in to say that it cured my RSI. Everything is still completely, 100% cured at 15+ years. As a developer, I have no idea what I would have done without it, my career would have been over. Here are my previous comments:

From 2016: https://news.ycombinator.com/item?id=12990976

From 2021: https://news.ycombinator.com/item?id=26120633
Your life will be destroyed and you will become a slave to a helpless human. There is a significant chance that your relationship with the mother will be end within a few years.

You can build a new life with your partner and the helpless human but it will be very hard work, especially if your child arrives with health issues.

Existing parents don't talk about all of this to those who are not yet parents. It's a big, secret, suffering club.

Hopefully it'll all be worth it for you because you already bought membership of the club!

P.S. Read Brain Rules For Baby. I bought it based on a recommendation on HN a few years ago. It explains the early years using science. I recommend it to everyone.
What’s more important, your job or your family?

Family? Quit/Pause your job. At least for half a year. You’re trying to rush a relationship, that’s just not possible. Go traveling, stay at least two weeks in one place. If you like it stay longer. Meet people in parks, bars, at the beach.

This was how I met my wife. We would have almost nothing in common if we wrote a dating profile but when we talk to each other and are close to each other none of this matters. And it’s difficult because we’re from different countries, speaking different languages, have a vastly different culture. We fought A LOT about language, it’s still difficult to have a more in depth conversation but none of that matters.

Kids: any. If we cannot get our own, we’ll adopt. Who cares if the kid is your own?

Apparently you’ve been in a LTR and let it slip because you need your kids to be based on your DNA. That’s your decision, for us this fact is basically irrelevant.
I'm also curious if anyone knows of a Rust equivalent.
If you go off Wikipedia's definition, it's more about user generated content and HN is definitely that. Might not meet your definition of web 2.0, but it meets this one:

>A Web 2.0 website allows users to interact and collaborate with each other through social media dialogue as creators of user-generated content in a virtual community. This contrasts the first generation of Web 1.0-era websites where people were limited to viewing content in a passive manner.

https://en.wikipedia.org/wiki/Web_2.0
that's actually really funny.
> Worse than that, you get multiple often conflicting minute updates on on-goings

And, strangely enough, that multiplier is usually exactly 2.

There should be serious scientific studies done as to why the magic American news constant is always 2. Then again, I'm sure people would claim those studies are biased and then complain about their funding.
Is this what you mean?

let f = makeMap x y
in map someFunc . filter other . map f $ userList

I suspect not as it certainly doesn't seem to improve the situation. Perhaps you could elaborate?

Edit to add: I was focused on the "write out the callback given to map using a let block" part and not the meaningful name part, but that's perhaps what's confusing about this to me, as (makeMap x y) seems like the most clear name possible here, what else could you do? This?

let mapOfXy = makeMap x y
in map someFunc . filter other . map mapOfXy $ userList

It only obscures things.
I don’t think so. I feel like you may be in a bubble. I travel a lot for work (within the US) and that seems to be the vast majority.
When shortcuts were first released I immediately tried to implement delayed messaging too. In the end I wasn’t able to get it working and gave up. Great job finding this workaround!
I would love that feature for cooking! It's such a no-brainer.

Edit: it seems there exists an app for that[1]. Gonna try it tomorrow.

[1]: <https://apps.apple.com/us/app/easy-cooking-timer/id492224774>
In the US, a 20-piece Chicken Nuggets (320g) from McDonald's is around $7.25. Not a big difference.
Work though at 3am? Sounds like a really unhealthy relationship with work. Not surprised author is from states.
Because it reflects the costs involved in keeping an app up to date on an ongoing basis
could you share your videos?
Just ignore the haters. As a fellow Missourian, I appreciated the additional context.

Your comment was relevant and on-topic.
This, so much...
Ask HN: What Happened to Competition in Travel?
Recently I was looking to book a rental car for a family trip. I was looking for a larger vehicle (6+ passengers) so we could take one car. Minivans are completely unavailable and even with high gas prices SUVs are running $200+/day. I searched the usual travel aggregator sites (Expedia, Kayak, Priceline) and prices were identical. The only interesting alternative that came up was Turo.

Does anyone have any suggestions for finding rental cars?
We hooked up my fisheye lens to the projector and pointed it back at the projection from inside a blown glass plasma lamp. Good times.
I explored a little what it would mean to use pure functions to generate state for a game that has a little physics: https://github.com/celwell/wordsmith/blob/master/src/cljs/wo...
Anything smaller than T3 is just asking for trouble, though. I guess they can be seen as tamper evident :)
> The nationalization of news and politics in a country of 330 million people is toxic.

The "nightly news" used to be a much more common experience that people shared:
"Twenty-seven million to 29 million viewers, on average, tuned in every night to hear Walter Cronkite on the CBS Evening News. Today, though, the viewership of evening news programs on CBS, NBC and ABC combined is smaller than CBS' when Cronkite sat in the anchor's chair."

Today the most popular news channel is Republican propaganda. I don't use that term to be dramatic. I do not think there is a more accurate description.
What is a unit?

What does it mean to join together units?

What is a context?

What is a single input function? A function with a single parameter?

Does multi input mean multiple parameters?
Why do I read these hoping to find novel insights or a different way to see things:

> [...] There are two ways to look at this issue. Some researchers think that the kind of intelligence found in biological agents is cut from a fundamentally different cloth than the kind of statistical pattern-matching large models excel at. For these skeptics, scaling up existing approaches is but a fool’s errand [...]

> Others would argue that large pre-trained models are already making strides toward acquiring proto-intelligent abilities. [...] One could see these capacities as very preliminary ingredients of intelligence [...] and there are compelling reasons to doubt that simply training larger models on more data, without further innovation, will ever be enough to replicate human-like intelligence.

> Regardless of how we answer these questions, we need to tread carefully when deploying large pre-trained models in the real world; not because they threaten to become sentient or superintelligent overnight, but because they emulate us, warts and all.
The thing here is, you can have OOP toolkits that make writing custom components easy. And then you have encapsulation and composition, without needing the React machinery. It is the case though, that the most well known OOP UI toolkits see creating custom components as a somewhat advanced use case and don't optimize for it, whereas in ReactJS/JetPack Compose, it's fundamental and you do it all the time.
If anything, the crypto craziness ensured that most governments create some secure non-discriminating money transfer system. I just hope more people getting scammed isn't necessary for those systems to get integrated internationally.
> 2 year chart

That's a horrible timeframe to look at because you're really just looking at the covid economy. The 20% drop in the S&P 500 is the meaningful number for the broader economy.
> I'm amazed how people just take their cars to a pub and drive back home like it's nothing

In England and Wales people often take their children to pubs. So not everyone's drinking alcohol - many are having food or just non-alcoholic drinks.

If you think someone going to a restaurant or café and driving home isn't madness, then neither is someone going to the pub in England or Wales.
330M is large, but not so large that national news stops making sense. Japan is roughly comparable - it has 126M people, and it was composed of competing (and sometimes warring) feudal lords until the Meiji Restoration (1868), a few years after the US civil war.

Yet go to Japan and suggest that it's toxic for people in Tokyo to care about what's happening in Fukuoka, and people will look at you as if you've grown another head.

I mean, what is a nation if not a group of people subscribing to the same central authority and sharing a rough idea of a society? On the face of it, saying that "nationalization of news and politics in a country is toxic" is so absurd that I'd like to see an argument for supporting that, instead of using it as a starting point of an argument.

If people in SF stop caring about what's happening in Atlanta (and vice versa), it won't bring peace. It will merely accelerate the disintegration of the USA as a single country.
It's not smug to observe that someone ported MVC to JavaScript. It's a lot of work to build.
BBC probably has a good reason for publishing this article as opposed to just another cancer spontaneous remission piece.
...as does KDE Plasma with Krunner: https://userbase.kde.org/Plasma/Krunner
TRC (tpu research cloud). Apply and you’ll almost certainly be accepted. Yes, you.
I’m right there with you. I thought I wasn’t creative. The magic insight was that you just start doing the thing and creativity comes as part of the process.

Don’t know how to start? Just start and the process automatically becomes breaking down the task into thousands of tiny parts that you then just do.
Someone needs to set up the infra. Do you, as a backender, let the frontend guys handle it?
They're disliked because they've been overused to the point of losing any practical meaning, and it's transparent that they're only used for point-scoring and intra-tribal signalling. There's just nothing there to get that annoyed about, really.

What I think the difference shows is that there is a fundamental part of the hierarchical/authoritarian mindset that objects to being labeled by someone in the out-group no matter the label, and that objecting to that labeling is itself an in-group marker.
> How many times to people have to be “almost” shot, but not actually shot, before we concede that maybe the gun has no bullets?

You say that like we have anything like good data. We have pretty much what Tesla's marketing team put together on their website, and _maybe_ what some cities or states have cobbled together.

And before we assume that Telsa wouldn't lie, let's remember that they call this "Full Self-Driving".
It's especially important in Germany, where many services can (at least in pre-corona times) be only cancelled by snail mail or fax.
https://www.dw.com/en/dutch-farmers-block-food-distribution-...

etc.

dutch farmers are spraying manure at the bureaucrats buildings
The effective altruist work ethic and the spirit of utilitarianism
Here's the more detail.

The overview & illustrative scenario of the R plan to implement minority rule. [0]

The SCOTUS conservative group has already indicated that this is next.

This is very far under the radar and not even close to hyperbole. Kind of like COVIT-19 in Dec-2019/Jan-2020 - the only people saying this was serious were treated like hyperbolic cranks. Same in Hungary before Orban took over - democracy is already dead there.

[0] https://www.rawstory.com/supreme-court-election/?utm_source=...
Could you explain why that output is cursed?

I get the same output using the following (I switched to the portable memcpy solution.)

#include <stdio.h>
#include <float.h>
#include <math.h>

int main() {
int a = 0x361dc5df; // 2.351e-6f
int b = 0x361e3e22; // 2.358e-6f;
float fa, fb;
memcpy(&fa, &a, 4);
memcpy(&fb, &b, 4);
printf("value-equals? %d\n", fa == fb);
printf("fabs-equals? %d\n", fabs(fa-fb)<FLT_EPSILON);
}

Since FLT_EPSILON is 1.19209290E-07F , I would expect a lot of small, close numbers to give the same output, even without touching subnormal values.
We don't have as many East Coasters as Los Angeles, but yes that's true.
You're stating that there is a non-negotiable right and wrong, and that cryptocurrency is in-defensively wrong (e.g. "Literally Hitler"). I ask you to justify your position then.
It has been a feature of many TI microcontrollers ( and CPUs ) for quite a while under the name “PRU”
I had 64MB and was very happy. I still have the machine, but it now has a whopping 80MB and I'm certainly trying this distro.
sure thing. share your solutions and why the are better?
Good short fun
This is a strange amplification, for sure. But so is every other success story.

I’ve had two successes that were only tangentially connected. The first was consulting, then building my own app, now I’m entering selling hardware.

I went from building industrial BLE sensor apps for $/hr, to selling licenses for a niche electron app (talking to hardware, label printers), and soon I’ll be selling physical hardware (label printers) bundled with my app.

Each success let me bootstrap the next. I’m still solo, and plan to grow to 7-figures over the next 18 months. Buckle up!

You can read a bit more about the label printing solution I’ve built at https://sourceforge.net/articles/qa-with-label-live-how-we-m...