skysight-inc/HackerNews huggingface dataset:
This library is almost a copy of fp-ts library (TypeScript).

You are forced to handle errors. The result is almost certainly an Either[Error, Result].

fp-ts in TypeScript is not syntactically nice but it feels simple enough that after a week you can be pretty comfortable with it. Although, TypeScript compiler might be much better at inferring types than Go. My experience with fp-ts is that most of the time I do not have to write any type annotations except the top level ones.

The API looks fine, you will find similar type annotations in fp-ts and in Haskell, that's just how handling variadics works in most languages and for useful abstractions like traverse/map/chain you need to have the variadic ones available to avoid having to deal with arrays of anonymous functions (that might all need to have the same type).

When you spend a significant time writing fp-ts you barely look at the types. The experience of writing the code is smooth. Code written still has similar pitfalls as regular imperative programming, pyramids of doom, readability, most of the functions "annotated" with async but they are pure or can be pure if you order the data better etc.

I would say there is friction in the beginning, but as time passes, the brain learns how to parse the code. The effect felt very similar to me when I shifted from colored syntax to just plain black on white. After some point brain does its magic.
Hands on with Apple Vision Pro in the Wild
I’ve often said this but at the 10M mark but I’ve not based that on anything. Is there a reason why you say 100M?
If the money came from stock sales, it didn't come out of the company's funding. It isn't that money that's funding this income. This income came from people who want to own a piece of the company's future success.

Now, I guess those people are anticipating maybe future profits to be made from NIH funds... but that's sort of the point of government grants to private enterprise. In return for putting their capital up to fund labs and equipment and research, investors expect to be compensated... and some of that compensation comes in the form of government contracts to produce lifesaving vaccines.
That's a bit of a cop-out though, because computers and the internet have existed for long enough that we could have had something before 2014 :P
>There's something I find deeply disturbing in the modern world about the concept of jobs. When people say "no one wants to work [hard] anymore" I actually do think they're on to something.

You might be right or it might have always been this way. It might have always been this way but it might be more today. Some thoughts

- Covid made people realize how delicate/short life can be.
- There isn't really a concept of holiday in the US. From what I understand a month a year is typical in Europe.
- Min-maxing profit has taken most fulfillment out of most jobs.
- Spending your 20s until your 60s, 70s, or 80s grinding away at a job isn't attractive to people today.
- Government regulations typically benefit corporations over workers, so may people feel the game is rigged from top to bottom.
- Employees rarely get any type of incentive to work hard other than the threat of getting fired. (see Office Space).
- Work culture is so transparently phony and that turns people off.
First, you should let people know, that if they need anything, they can ask.

Then, there are levels. If it's just on the edge of being colder than I'd like, I might not say anything because the effort isn't worth it. It's 65 instead of 70, I'll live. But if you ask me tomorrow how was it, I'll tell you, "Slightly cooler than I'm used to, but no problem". And people will make a fuss and say "Well, why didn't you aaaassssk" Because, like I also said, it wasn't a problem.
$7,200 for Every Student: Arizona’s Ultimate Experiment in School Choice
you are certainly correct. But there is a sentence that stood out to me, one where he said that devs needed to wait up to a minute to see their changes. I’ve personally felt the slog of writing code that takes easily 2 minutes to see changes, compile, flash unit, connect via bluetooth see if change shows what’s expected in some blackbox app. It’s maddening, and slows things way down, trying to keep the thought of what you were trying to do for that long is difficult and leads to lots of wasted tests. I largely suspect it’s an exponential function and the longer the feedback the exponentially longer the code takes to write.

1 minute is a long time, and I could see if you could get that loop under 10 seconds you could shave off months of dev time. Hell, I just recently changed a test timeout I was working with from 2 seconds to 1 second, and my morale improved in ways that surprised me even knowing all this.
But you also have Archer's testimony of Joe being on a number of their business conference calls. Do you invite your dad to your business meetings?

Whether he talked business or not is completely immaterial because _his mere presence_ is influence peddling.
Good. They made a world saving product just in time!
I think it's relative to our own experiences. If you drive on a perfect road, even a small bump is noticeable. But I don't think that means people's perception of problems is not legitimate. There's always someone worse off, especially if you compare now to historical times.

If there's a sure-fire way to create a mental health problem, it's to tell yourself you don't deserve to have a problem because other people have worse problems.
Mind adding your Internet details to the site?
> best practices and recommendations of good architecture pushed by these very cloud providers

...are deliberately designed to mix several actual best pracices and a lot of marketing so that it's difficult to discern what is what.
The same ones they used to? They can surface up videos from channels you’re subbed to that you haven’t watched. They could show you videos you started to watch like netflix does. They could show next up for playlists. Lots of options if they actually cared about their product and not just getting you into an algorithm loop
Sargassum is a disaster for the economy of caribbean countries because many rely on tourism (read white sand beaches), so it may be a good idea to take advantage of it, but how can we be sure that enough sargassum will wash up on the shore for the next 6 months ?
Wether we view sargassum as a disaster or sargassum as a raw material, the problem is that we can't control its flow.
How were they harmed by this? And why shouldn't people be free to voluntarily share a scan of their iris with other people?
> Ruminant animals are very efficient at converting plants into high quality protein

https://ourworldindata.org/land-use-diets

"The land use of livestock is so large because it takes around 100 times as much land to produce a kilocalorie of beef or lamb versus plant-based alternatives. The same is also true for protein – it takes almost 100 times as much land to produce a gram of protein from beef or lamb, versus peas or tofu."

"Beef has an energy efficiency of about 2%. This means that for every 100 kilocalories you feed a cow, you only get 2 kilocalories of beef back."

> Getting the optimal mix of essential amino acids is crucial for health

Animals have nothing that we couldn't obtain from plants.

It is the position of the American Dietetic Association that appropriately planned vegetarian diets, including total vegetarian or vegan diets, are healthful, nutritionally adequate, and may provide health benefits in the prevention and treatment of certain diseases. Well-planned vegetarian diets are appropriate for individuals during all stages of the life cycle, including pregnancy, lactation, infancy, childhood, and adolescence, and for athletes.

- American Dietetic Association

A vegetarian or vegan diet can be suitable for everyone, regardless of their age.

- NHS UK

It is possible to follow a well-planned, plant-based, vegan friendly diet that supports healthy living in people of all ages, and during pregnancy and breastfeeding.

- British Dietetic Association

For adults, protein from two or more plant groups daily is like to be adequate.

- World Health Organisation
This is giving me flash backs to RxJava. Don't force these things into languages that aren't designed around it.
I plan on putting MX Linux on an old Surface Pro tablet, probably in a couple weeks when I have some time. Any gotchas you encountered that I should be aware of?
My main guess is that it uses a separate data pipeline to make those suggestions, and that that data pipeline is not cost effective.

Thus, they simplified it down to one recommendation tool, that uses history in it
Nail on the head.

Too many devs care way too much about having a pretty solution instead of a cost-efficient one. The solutions space usually has a middle ground somewhere (affectionately called 'horrible hack' every once in a while). It's what makes a difference between a software engineer and a programmer.

To paraphrase, anyone can build good software, but it takes an engineer to build good software quickly.
I have worked on several but can't go into much detail. One was a big industrial machine with a control software with 7-8 digits lines of code written in assembly language, some FORTRAN, some Ada, distributed over several processors. Problem was that the manufacturer started in the 70s and never made any attempt to document, rewrite, reengineer the system. Another project with similar characteristics suffered because they were switching tools so fast that they didn't trust them and ended up hoarding all information in the code and never deleted anything.

Both projects swallowed millions, had subcontractors that went bankrupt and are still going because without those products the respective companies would go out of business.

If you want to make an argument against duct-taping, I'd try to focus on the immediate effects, argue cost/benefit, because in my experience the demise of a project/product can be long of painful (sunken cost fallacy)
You don't even need to do this much, you can just invoke the function and let the return type be inferred.

const inferred = (() => "Hello")() // Inferred as "string"

If you really don't want to use an IIFE because you don't like the "()" at the end, you can just:

const myFn = () => { switch(...) }
const inferred = myFn()
quite interesting. i thought it was going to be a yawner so i was pleasantly surprised.
Try watching any movie involving either space or computers...
Show HN: AI chatbot to reduce support costs by 80%
Hey, HN!

We have developed a bot for technical support.
The task was set to reach the next level of chatbots. The thing is that nowadays bots too often redirect customers to support staff when a question was not found in the bot's presets database or the customer requires some kind of interaction with the company (for example, wants to buy a product). We have succeeded in reducing the percentage of situations where the bot transfers the customer to the operator. At the same time, it can still ask for help from a real person if the case requires it.

1. the bot is capable of answering complex questions that require analyzing the company's knowledge base (especially the technical part).
2. the possibility to leave a request for some action was introduced. For example, a customer can leave a request for connection to a tariff plan . An example of such a bot for the fictitious company BananaCom is given on the site, you can test it. After the request is made, the company receives the necessary information.

Of course, if the client really wants to talk to an employee, he will be transferred to the employee. When to transfer to employees is a matter to be discussed with the individual company, so now a bot on the site will try to answer all your questions.

We did a lot of work before the product was ready, we can't reveal all the secrets, but for connoisseurs we'll give you a hint: https://imgur.com/FetZSfZ
No reason why not. Not only is there almost certainly a market for it in general, the more specific offer of "Wonder what your own rump steak tastes like? Wonder no more!" seems inevitable to me.
But lots of people absolutely do still work hard. They go to the gym. Many people still want kids someday. They dream of living off grid on 40 acres.

What they don't do is work hard for society, or actually at all. They work to prove or better themselves, IMHO largely because in modern culture, "based" is the new "cool", and society is not seen as based enough.

People would rather be able to bench 220lbs, totally unpaid, with a huge amount of effort, than invent something that reduces data center energy consumption by a few percent and get a $20k bonus.
User facing in what way? There seem to still be a ton of new RoR or Django projects without react/ or angular out there.
I pretty sure you can buy any vehicle you want you just are going to have serious roadblocks getting it registered and legal in the US for driving on government roads.
Um, I don't think the HN title is contrary... Quoting:

> What this study adds

> The results of an updated study of nuclear workers in France, the UK, and the US suggest a linear increase in the relative rate of cancer with increasing exposure to radiation

> Some evidence suggested a steeper slope for the dose-response association at lower doses than over the full dose range

> The risk per unit of radiation dose for solid cancer was larger in analyses restricted to the low dose range (0-100 mGy) and to workers hired in the more recent years of operations
Wikipedia is totally overfunded [edit: this was true in previous years but maybe now the bloat is finally winning] and couldn't spend all their money if they wanted to. I guess giving some away is more interesting than letting the money accumulate.
That's a reading of brutalism I haven't encountered before. It's not one with which I find myself at all favorably impressed, not least because a phrase like "the blandness and safeness of our modern cushioned existence" suggests a level of engagement with history that, speaking charitably, could stand to be much further developed. But maybe there's a more detailed treatment of this analysis that you could point me to.
Cold northern climates are cold because they get less sunlight which then translates into lower temperatures. Simply increasing temperature wouldn’t provide more sunlight in the spring and fall which means the growing seasons don’t actually expand nearly as much as you might think.

Also, we can grow stuff as far north as Canada while the equator runs though South America. People used to Mercator projections get a wildly incorrect view of what earth’s surface looks like, but in reality the loss of farmland wildly outweighs any possible gains.
I recommend the ones where you can text/speak with real natives. Tandem, HelloTalk, Speaky.
The problem I always find with these "career decision frameworks" is that they vastly underestimate the randomness of life. Also they always seem to come from people whose problems were "should I work for high flying startup or start a new company with my Ivy league buddies?", with massive survivorship biases.

Point in case: in 2019 I had to make the decision of whether to relocate to the US or stay in the UK. My wife had just gotten a job after a long unemployment period. We ran all kind of alternative scenarios and "simulations" in our mind, calculating the pros, cons, and probabilities of each outcome. We finally decided to stay in the UK one year longer, in order to give her some working experience and confindence.

Then in 2020 we got Covid and all of my plans ended in the gutter.

All of this advice is great, so long as you accept that you are only slightly reducing the chaos and randomness of real life.
What a load of bullsh*t.

https://news.ycombinator.com/item?id=37179863
This is total bullshit. Stolen sessions are being actively sold on Darknet in bulk. If nothing else the best thing that can happen is that they have expired before someone have the time to exploit them.
yes, we all would have perished if it was not for the mRNA Covid vaccines. China is over now because they didn't use them.
You can conjure many insane possibilities in a future unknown.

DNA could be tested for traits that are "more likely to cause criminality". People with those traits can be more heavily scrutinized and surveiled. Or have their employment opportunities limited.

DNA could be multiplied and planted as evidence.

DNA could be cloned, or used in scientific testing without consent.

DNA could be used for targeted biological warfare.

People leave traces of DNA everywhere they go. Who knows what type of detection mechanisms will exist in the future?

There's also the very likely scenario that a central database like this becomes a prime target and leaks. It's borderline guaranteed.
a fully functioning unix-like kernel is more like 0.03 megabytes

remember the pdp-11 was a 16-bit machine, and there's also c64 lunix, etc.
So at worst you were out just under a years worth equity pay. That seriously sucks, but it is possible to build that into expected value. Expected stock value * (1 - likelihood you get laid off).
yeah, generally when it rains I prefer to have a roof over my head... moreso when I type.

you should try it :D
People died of Pellagra for political and racism reasons. See: https://www.theelephant.info/op-eds/2021/09/03/hunger-in-the...
It was a lot better than that. The last time we had high marginal rates, they were 91% above $400k in 1963 dollars, which is ~$4 million 2023 dollars. Before Reagan we still had 70% marginal rate above what in 2023 dollars was about $725k.
Agree with all that. I disagree only that demand for labor has decreased, and near-full employment is my evidence for that. Many jobs are shitty, but someone is demanding the labor.
Check out a great sci-fi movie named Gattaca.

Remember that you shed cells everywhere you go, so soon the tech will be advanced enough where we can do nearly real-time DNA matching. If you sneeze, a sniffer could pick that up and figure out who you are.

Imagine a camera that films not things that are visible, but people who were there, at that protest, in that store, in that hospital, boarding that plane. It's practically irrefutable (or currently legally is, even though it's inherently flawed.)

And you can never change that identifier. Once that data is out, it's out.

The last headline in that article, "Solving Crime Before It Happens" could have easily been entitled "Minority Report" (another great sci-fi movie that's not so fictitious anymore.)
I am thinking about this. I think our distinction between IO-bounded tasks v.s. compute-bounded tasks helped design in some ways. However, as time goes by, the code you are dealing with can bounce between these two modes, and that is where all the limitations seem good for you start to be bad.

That's what I suspect happening on the Python / scientific-computing community. They thought (and some people in this thread still think) that Python can be the driver to wait for compute-bounded task to finish (effectively, making the Python code to be IO-bounded / i.e. waiting for another language to finish). But over time, it changed. People write more code in the Python driver, and suddenly, the very optimized C code is no longer the bottleneck, the Python code is.

We've seen this bouncing pattern enough times and really need to think through whether we want to have two different design patterns to deal with IO-bounded problem v.s. compute-bounded problem.
It is not straight forward that in the counterfactual where we limited CEO pay with government grants in 2010 we would 100% still have a Moderna. I imagine CEOs would be a more hesitant to take government grants if we did. And if they didn't take the 1.7b maybe everything would be the same, or maybe the company would have died/rolled out the vaccine 2 years later.

How profitable do we want to make pandemic preparedness? I think we should make it wildly profitable.
The question is, is adhering to the HTML Standard (in other words, getting zero errors in the HTML validator) beneficial to websites? For example, does it make the job of web developers easier? Are there fewer user-reported issues in browsers?
That's my take too.

The mute feature still leaves open the possibility of reading posts from a user that has muted you. The net effect from the muting/blocking user's perspective is the same.

Besides, there are a ton of X users who openly have "alt" accounts in order to get around exactly this.
We live in a world where real time advertising auctions happen. If you think there’s something about that which can’t apply to organized crime you’re gonna be in for a rude awakening when your systems start to fail en masse.

I’ve had to replace a credit card twice for suspicious activity (once cost me my favorite domain name, which is still parked). There were no major charges in either case. One charge at a business I’ve never been to.

Some people get a card and use it. Some immediately sell it after proving it works. That means a clearing house. A food chain. That will get more automated, not less.
> and taking jobs that had enough flexibility to work around my school schedule.

Where? Most jobs I can think of offhand that offer that sort of flexibility pay a pittance, like barely enough to live, let alone pay for large education expenses on top of that. I suppose you can also find work at night, while doing schooling for the day, but I wonder how the sort of sleep schedule imposed by that will effect you work in both.
This looks great -- thank you for sharing!
A Novel OS Built Just for Databases [video]
Being sold to pharma and insurance companies is the one thing that Democrats and Republicans agree on.
So I already use a tiling wm (sway), and a tui editor (helix), and I have tmux installed but I never get around to diving in and figuring it out because most of this navigation and pane splitting stuff is just duplicating what my WM already does.

Besides being able to SSH into a session, what does tmux really have to offer me, from people who use it?
I didn't see where in there he showed how to get more than 4gb or 8gb of RAM in the configuration.
The HN title is "Low dose radiation cancer 2x worse than predicted" than LNT for some unspecified region of the curve... they do not claim LNT is wrong, they do not even present their more sophistocated fits and they do not quote the 2x figure. It is misleading. The paper presents an LNT fit

If you want to say "there is a bias above linear-no-threshold in the region less than 200mGy" you are correct, but also say that the bias has large error bars associated with it and that the data may or may not fit that trend.

Unless you have p-values to back up the 2x claim, it shouldn't be in the title.
Have Disney or Apple received billions from taxpayers?
>No second chances, ever.

I find this to be an unrealistic standard. We all have lapses given the right moment (attention, tiredness, distraction). The question is do people comprehend the problem and are willing to work on it/ adjust for it?

Differently put, the issue isnt just one of detecting problems but detecting those that cant be fixed/adjusted for. Which means putting resources into debugging how they appear for which reasons. Seeing as walking away is costly, that can often be a worth while investment.

This is less about trusting and more about valuing functioning team relationships. Benefit of the doubt is a good strategy for team building, at the very least for information gathering.
> I thought the point of nano was to be like notepad.

No, the point of nano was to be like pico.
Somewhat similarly, you can take a bicycle onto a UK train platform (and onto the train), but the lights have to be off, so a driver doesn't see your red light and slam on the brakes.
They can derive health data from your DNA. Say if we finally move to "single payer health care"... but this is america so you get a tax penalty for being more prone to illness.

Now imagine they have the wrong DNA on file for you!
OpenTF calls for an official response from HashiCorp