skysight-inc/HackerNews huggingface dataset:
> There's a video game on steam you can buy with real dollars built in Haskell.

Link? Story?
I already said why it's dumb

> "the proposed legislation won't do anything meaningful toward those ends."
I'm still waiting to see if really does have all of the reported positive effects, but if holds up, then this suggests to me that the negative effects must have a common cause. There's some aspect of modern life that causes compulsive self-medicating behaviors, and we've stumbled on a treatment for it.
Yes quite right, I don't doubt it's the organizational behavioral paradigm at play, not necessarily an organized conspiracy. A key quality of an established bureaucracy is that it can arrange, design, deliver and entrench bad outcomes without being aware, certainly without actively conspiring. However, the personas that float to the top (or even the middle) of these things are pretty off-putting, and they're also aware regulators will be on them if they get too explicit, so I wouldn't like to place sustained, conscious, premediated decision making out of the realm of possibility.
Ahh, I thought he was talking about the actual fuel instead of the watts
Care to elaborate or link to your thoughts? Temporal has always been on my radar. I wanted to do a deeper dive, but the cost seems pretty high for the managed service.
That’s not how it works; you back the rent payment by a bank account. You technically could float it, but the Bilt app tries really really really hard to make sure you don’t.
Can these Zinc-Air cells be recycled? Could you take a "used" Zinc-Air cell and process it somehow, to create a brand new Zinc-Air cell?

If that works, then you could just equip cars with swappable Zinc-Air cells: you go to a "Zinc Air" station and in the time it takes to fill up a tank of gas, your car gets a new Zinc Air cell and you're good to go for 1500 miles(?).
If you pay via Apple Pay, they can’t do that
> The form shouldn't even submit an empty password,

But it does. And if you have someone malicious trying to access the machine that way, why not lock them out on the first attempt?

I can see the advantage in simplifying things by not submitting blank passwords also, although I also think it isn't necessary.

> not exactly going to resuilt in success on the 1 millionth attempt.

Not, but 2 or 3 attempts should lock the account. I don't see an issue in treating a blank password submission as an attempt, but I guess denying that is easier than trying to educate users.
I've been on teams where we've done this (very successfully in my opinion!) by creating helper code that automates creating a separate Postgres schema for each test, running all migrations, then running your test function before tearing it all down again. This all runs on CI/CD and developer machines, no credentials to any actual environments.

A major benefit of doing separate schemas for each test is that you can run them in parallel. In my experience, unless you have a metric ton of migrations to run for each test, the fact that your database tests can now run in parallel makes up (by a lot!) for the time you have to spend running the migrations for each test.

EDIT: usually we also make utilities to generate entities with random values, so that it's easy to make a test that e.g. tests that when you search for 5 entities among a set of 50, you only get the 5 that you know happen to match the search criteria.
Sei pays out $2M bug bounty
Output degrades at about ~1% a year. EOL for a solar panel is typically about 30 years. It will still generate power but if it is a commercial operation then it will likely be in consideration for replacement. I imagine there would be a large secondary market in the future for used but still functional solar panels as utilities and smaller solar farms replace the panels and possibly funneling into the residential market.
Never met a corporate SPA that didn't have abysmal performance.

That said, framework choice isn't the problem, frontend devs having no clue how to design and use API's is.
> This seems really cool. I've just been running into scenarios where this kind of durable execution is really helpful.

You might find Azure's Durable Functions right up your alley. With durable functions you can break away workflows into activities which are invoked from orchestrator functions or other activities like regular functions, but the runtime handles the orchestration and state machine updates.
Speed isn't everything, especially when more speed means more noise
Publix is expensive indeed. Aldi is usually a lot cheaper than Publix and Walmart.

That being said when I visited Seattle area, Fred Meyers was more expensive than publix for groceries, and Safeway was selling $50 Orchids.
> They found out that community college talent does not make good employees in the C-Suite

This is new to me, what is this referring to?
> If we bring competition between the hospitals with price transparency, the prices will fall dramatically.

How do you envision this working for say emergency care, where as a patient you may not be in a state to make an informed decision about which hospital to visit?
Would fragility really be a huge concern in more rigid flagship phones? Screens are already quite delicate It's not impossible to build a phone that doesn't flex meaningfully under normal conditions.
Rome has a 'Pause service' option https://www.starlink.com/service-plans

""Pause and un-pause service at any time. Billing is in one-month increments, allowing you to customize your service to your individual travel needs."
> heated feelings about fairness

Yep, fairness. People worried about "fairness" need to be taught life isn't fair.
Thank you for your patience. I looked at the Rodeheffer study which does indeed conclude that CO2 has no effect on cognitive function (among submariners). I have updated my beliefs accordingly.

The nature paper does suggest that it's concerning so I have not ruled out the option of high CO2 exposure negatively affecting humans. I'll have to look into this more at some point.

Your comments have suggested you are, so I'm assuming with low confidence you are biased towards these things being positive, or much less negative than the scientific community thinks.
>I have managed to drink less of the stuff. I only buy the mini cans now

If you're trying to save money, that's counterproductive. At least in my experience the mini cans are actually more expensive than the regular cans, even on a per can basis. This seems to be corroborated by others[1].

[1] "People seem to be happy to pay extra for the convenience of the mini can." https://www.npr.org/transcripts/1197959284
Does this release have head-support built in or still requires an extension? I thought 2.0 was going to release with head support...
> From a small in-group of well connected people.

You are free to run as a candidate, even if you are not a well-connected person. (But of course, the voters will choose to not vote for you.)

> Effectively this means you have no input except for maybe one or two issues you care most about.

You are free to vote for someone who fully represents your opinions (yourself). But noone else will vote for that person. Democracy is about making compromises; the government is an average of people's opinions.

> In practice you do not even get to do that as your representatives are not bound to what they promised to get you to elect them.

This is true. But if a candidate lies to you, you can vote for a different candidate in the next election. Repeatedly reelecting liars is a choice voters make voluntarily.

The reason for bad laws is not that democracy doesn't work. The reason is that democracy does work, and other people keep having the wrong opinions ;)
That’s… not true? No matter how you define your dependencies to inject, if you want to mock the dependencies you inject you have to mock them (it’s almost tautological), no matter if you use dependency inversion or not

Maybe you mean "less surface to mock", which is irrelevant if you generate your mocks automatically from the interface
Thank you for answering honestly and directly.

I ask this question because I also found myself to be unfit for 40 hours a week regular tech job. And, in India, practically they are 60 to 70 hours a week.

And yet, I cannot seem to find any creative energy if I am not engaged in something safe. So, currently I am thinking about jobs outside tech, with better work-life balance, and continue programming as a hobby.

And the pastures are much greener in the US than in India. Qualitatively and quantitatively, more opportunities exist. And the culture is much better. So, someone in your position can find something safe if this life doesn't suit you anymore.

I can't take any more of 10-hour days, office politics, abuse, MBA bosses, etc. But I love programming.

I have a Master's in CS, I am also considering academia.

Anyway, thanks for your input.
Of the affected models for CVE-2024-3080 and CVE-2024-3079, OpenWRT supports only the RT-AC68U.

None of the models affected by CVE-2024-3912 are supported by OpenWRT.
Ease of piloting is a huge differentiating factor and the entire reason why public drone regulation didn't exist until every tom, dick, and harry could reasonably keep something in the air long enough to bother someone else, despite hobby RC airplanes being around decades before drones.

Non-FPV drone flyers can drop 40mm grenades from 100ft and hit a CEP of like a couple feet, and that's with literally four drops of practice and unsophisticated munitions. Untrained RC plane pilots can NOT do that.
The first problem here is putting a UI widget in charge of fetching data. React was originally designed to be the V in MVC. Had we left it as the V in MVC we'd be loading data in controllers, like we do in every other framework. Having a React component be the model, view and controller is a mistake, and we can still reverse course.
Some examples off the top of my head:

- Many plastics contain known endocrine disrupters like BPA that have been shown to get into people's bodies and correlate with negative health impacts such as certain cancers, sex organ abnormalities and infertility

- Microplastics can damage cardiovascular tissue and correlate with heart attack, stroke and premature death.

- Microplastics correlate with infertility in men.

- Microplastics absorb heavy metals in the environment and can then transport them into the food chain. Heavy metals of course having many established negative health impacts.

These are just some examples, a quick search should get you many more (along with the sources on the above).
There's a pretty huge genetic jump from 'infecting caterpillars' to 'infecting humans'. It's not like a chemical poison where 'it kills that species, so it'll probably kill me'; those genes have to evolve to the specific host, and that takes time and a favorable environment. Lot's of things to worry about before that.
The value proposition of Vue to me is, “We looked hard at all tools out there, especially react, and iterated on it to make it nicer to use.”
>"Increasingly, developers are using reliable workflows to help build applications. Reliable workflows are programs that always run to completion–if they’re interrupted, they automatically resume from where they left off."

This "increasingly" has been in wide use for ages. Personally I was doing it in the 90s
No; this functionality is actually accomplished in a reasonable way, with a local database stored on the drone and checked by the drone's flight control software, and exemptions granted by uploading a signed payload to the drone detailing an unlock region and timeframe.

It's also worth noting that these restrictions aren't government imposed in countries besides China, and aren't government-linked besides a request-based "please make this location a no fly zone" process - DJI basically just exported a Chinese concept with hope of building goodwill internationally, and the no-fly zones were invented by DJI from public land use data. That's why other drones don't have no-fly zones but are still allowed for sale, there are frequent mismatches between DJI no-fly zones and real no-fly zones (both false positive and false negative), and why DJI disabled their own no-fly zone feature in much of Europe earlier this year (European mandated no-fly rules passed the responsibility to the consumer instead).
Drugmaker to testify on why weight-loss drugs cost 15x more in the US
100% agree. My daughter's school in Blackheath has special Faraday cage pouches for each student. Children deposit their phones in their pouches and upon crossing the school gate the pouches get magnetically sealed until the student leaves school for the day. Parents are loving it.
What about consumer apps in Local Data Mode?
It depends what part of DBOS you're looking at.
DBOS Transact is the framework (TypeScript) used to develop apps/workflows such as those in the benchamrk.

DBOS Cloud hosts and executes DBOS Transact apps/workflows a la (AWS Lambda+Step Functions). So it is apples:apples. Functionally, DBOS Cloud is like Lambda and Step Functions in one.
Too many damn choices. Too many shovel builders leading to a paradox of choice. So many different wallets, so many different coins. The larger community is so utterly totally fractured. Which is by design, if I don't like what you're doing, instead of working together, I can take my ball and go do my own thing. Decentralization is great, except it's not. And then there's whole cryptocurrency angle. In order to buy into this, you have to buy some cryptocurrency. Maybe with something that's actually useful people won't automatically tune you out when you say "crypto" these days, but that always seemed like an uphill battle to me.

Anyway, Phantom*, with Solana can do micropayments today, on mobile and desktop, it's just a small matter of coding and adoption. Transactions take 5 seconds, which isn't awesome, but is stomachable. Gas fees are fixed at 0.00015 SOL, which then varies with the exchange rate, but that's currently (Jun 2024) $0.02. This does mean it will go up as the price of SOL goes up, but, well, it's not 2016, so I don't know that anyone's expecting wild swings in the exchange rate. I am not a cryptocurrency economist though. (Nor a regular one, for that matter.)

The supported golden happy path for this is anybody who can buy Solana, which would include a US person with a Coinbase account, who's willing to install their Chrome extension. The problem is mobile. The platform I'd like to support is Safari on iOS with a Safari extension, so it's seamless, but that's not there yet. What's there is to install a new app and use that app to browse, which I guess isn't the worst thing.

That's all technical implementation details though, the real barrier to adoption is getting writers/authors to use this. You'd have to setup a medium/substack clone, get a bunch of content producers on it, and then get readers will appear. But once you're there, then anyone else can setup a clone and cut you out of the picture. In fact, that's the whole point, that in using Solana as the base currency, people aren't tied into your platform. So then what's the incentive for setting up the medium/substack clone if the whole point of your clone is that people don't need it. So there's no VC-level funding to build this thing because there's no VC-level payout, but you're out there competing with well funded firms for talent to build this thing.

* https://phantom.app/ (non-affiliated)
Thanks for all your hard work; htmx is a breath of fresh air and an escape from the morass of needless complexity.

My only question: how can I get a set of those sweet sweet floppy disks?
Not quite how it works, even in your analogy. The miners are using capital to buy tools, not profits. They or may not make a profit but there is no way they will ever make a profit without first buying shovels. Buying shovels is not optional. Eventually something changes, yes - and eventually can be a very long time in finance. Often much longer than your useful investing outlook or patience.
I don't buy ebooks with drm anymore, and when I buy movies on Amazon I treat them as a long term rental.
The firmware updates fixing these vulnerabilities all look to have shipped in March or April, so the disclosure seems reasonable.
"almost made the internet slower"... uh, pretty sure it's been making things slower since inception when it replaced html + a few ajax requests. I know, I know, I'm old. Get off my lawn.
>I don't think they're explicitly a CCP data-collection front

In China you cannot not be explicitly a CCP data-collection front.

China doesn't bring evidence to a judge in order to get a subpoena for data. They just go to DJI an get it. DJI has zero legal recourse if the CCP wants access to all DJI's stored data. Doesn't matter where that data is stored. Same thing for tiktok and why legislators are killing that too. You're a Chinese company? You ultimately work for the state. No discussion.

China is not the US. People need to stop fitting the way things work in the US to the way things work in China.

Edit: For the whataboutists: Yes, everyone is aware that american three letter agencies have backdoor access to every computer, broken RSA and AES, and control the USA's puppet government. Thanks.
stares at TFA

Not really sure what to say, here.
Is this some kind of sarcastic joke? Anti-China legislation is popular with both parties. So who do you vote for in a two-party system?
The topic is what you would learn from a pure functional language.

A) You can learn and enforce full purity in other languages. B) You could also learn and adapt just the idea of clean inputs and outputs to those other languages.

Both of those are valid answers! It's very hard to be completely pure if you're not currently using Haskell.

The way they worded things, I wasn't sure which one they meant. They were describing option B, but I didn't know if that was on purpose or not.

So I responded talking about both. Complete purity and just the idea of clean inputs and outputs.

That code snippet is not some kind of absurd argument or strawman, it's there to demonstrate how the description they gave was not a description of purity. It's not aimed at the original question.
Why choose this approach over a traditional centralized database?
I hate spiders (yes, I know the value they provide, I can't get over how much they creep me out) but I loved the Children of Time series and also I just re-read A Deepness in the Sky (Vernor Vinge) which is also a favorite of mine. I'm not sure I could handle a movie of either but the books are great since I can forget they are "spiders".
"What to do instead of Mocking"

should be more like

"Enhance your use of Mocks with better unit tests and integration tests".

The listed complaints sound more like problems with sloppy/lazy coding practices than actual problems with mocks.
Some testing frameworks (thinking of my experience with Flutter) insist on mocking

From memory the HTTP client 404s every request in testing mode
I believe he makes some good arguments that we really still need both, but HTML could be more powerful and allow for less JS.

This is a good essay on the topic: https://htmx.org/essays/when-to-use-hypermedia/

Definitely one place htmx can be abused is oob-swap: https://htmx.org/attributes/hx-swap-oob/, which allows any given HTMX request to replace any part of the page. It sort of destroys the concept of locality of concern that HTMX pushes for.
Show HN: Weather Report curl-based CLI
The world is much less black and white than you’d like to see it.

Functions in Haskell including Prelude can throw exceptions which is not reflected in the type signature of the function. That is an effect that makes seemingly pure functions impure.

You can’t judge a language from a list of buzzwords. You need to look at how it is used in practice.
> After that, the only people needing the address would be the state to have on file to send correspondence regarding the business. At that point, so many businesses have an address in another state/country to yet again make that address meaningless. Not really sure what your point in thinking a physical address is meaningful.

It is one of the best ways to validate valid business from scam sites.

There is a point for human person location, usually which can be verified.
If the location is real, you are unlikely to scam someone, as there is certain way to reach them.

Anyway, in EU it is mandated that company has registered physical address.
What is your opinion on https://github.com/unpoly/unpoly as a competitor ?
I'm not a fan of protectionism either, but that particular example is not true at all.

Lumber prices rose because at the start of the pandemic, the industry predicted a housing crash and took drastic steps to downsize and then the exact opposite happened. And we were left with a garden-variety supply vs demand situation.

If it was just protectionism, prices in Canada would not have had sharply increased lumber prices at the exact same time: https://www.cbc.ca/news/business/lumber-prices-covid-19-cost...
If you really think the performance of the framework is something you need to optimize but want to keep the react ecosystem, you could also use react (or preact) with preact signals which I think should make react perform more like newer frameworks like solidjs in terms of not rerendering entire trees of components unnecessarily.

I'm not sure this is really the first thing that needs to be optimized for most people though, despite there being a lot of frameworks whose sole reason for existence seems to be fixing this aspect of react's performance.
> The correlation does not mean the microplastics are the thing causing IBS. It probably means they are exasperating it for various reasons.

As mentioned in the abstract, it could also be that IBD exacerbates the retention of MPs.
HN should have a like button for comments
And we are always being reminded that human is well within evolutionary paradigm, are we not?

I think there's very much underestimation that the so called modern world is more civilized and successful in their worldly endeavours compared to the earlier generations. It's probable that for Eleanor of Aquitaine, Alexander the Great and/or Aristotle are the ancestors. Comparing George Washington against Alexander and Aristotle, I'd say there is no contest for the former.
Any way to tell if these issues affect the community-developed, third-party "Merlin" firmwares?

1: https://www.asuswrt-merlin.net
Raw popularity is not the only parameter.

Toolchain weight, integration cost, ease of building DSLs, error message quality ... All those things matter when choosing a language to be embedded as a DSL into another system.
I wonder if these systems are in operation at Canary Wharf too, because you are not allowed to wear face masks there already.
I assume some, like myself, don't want to spend time on that

I do glance at my statements every few months though
I’m not going to comment on the second part because I don’t live in the US and I have no idea what the situation is in your corner of the world on that front.

As for the first part, you said you don’t agree about the state having a say in your health but the original problem was related to selling all sorts of drugs openly.

Do we both agree that at some point some limitation has to be put in place otherwise some people would just abuse such a system? Or do you think we should just let people do whatever and then the role of a society is to help those who end up abusing those drugs?

Because it’s happening already, people are already abusing all sorts of drugs even with some restrictions in place.

And mind you, I’m not arguing for criminalization. I’m just arguing for adding at least some regulation like requiring a prescription. I see that as a good middle ground.

But maybe it’s just me being raised here that makes me see things differently than you, that’s always a possibility.
Play-by-mail analog exploration MMO
Really? Me and my wife did her immigration paperwork a few years ago with Apple Preview (I think?) to edit the forms.

I'd be curious to hear what Preview messed up?