skysight-inc/HackerNews huggingface dataset:
It is not composable. I.e. you cannot use one "redux-application" within another one.

Some ideas of redux are great, but the execution could have been much better. I think lack of experience (maybe also related to Javascript) is the reason.
To clarify, I had nothing to do with the making of this service. Discovered it last night, loved it, and decided to share.
hopefully this will bubble up to higher-level C-esque languages such as PHP, for which asynchronicity is still a pain
having frends that have done pretty much everything you can abuse/order off dnms and having done my share of most of that shit.. its only really worth it with friends. the novelty gets old quick. “drugs make staring at a blank wall fun” “drugs are so great theyll kill you” pretty much sum it up
One factor that doesn’t seem to be considered is cost of labor. American technical labors aren’t cheap.
it's a bit like a pun, because by doing that they make a business (and a profit) out of sticking their noses where they shouldn't
I wonder if the author will release their source data under a free license.
And what is so different from in-person school? For every kid who is stressed and unhappy that they arent in a classroom full of kids there is probably one who doesnt miss the physical bullying and general humiliation that is so much a norm of modern schooling. The parents are certainly unhappy that the kids are home all day, but i bet the kids are rather neutral about it on average.
Yes. That is why they fire all the developers. No one ever thought about adjusting fur those who don’t use Microsoft products.
I've got to ask - why weren't you able to use the key in the driver's door?
Standard layout for dutch macs is ISO. Although English-US with ANSI is available
Other day my boss asked for me to ensure I'm accepting or declining meetings. As a PM with 20+ mtgs a week I default attend without accepting as constant rescheduling and re-accepting is not productive. I've done this for 2 yrs without issue... Now it's an issue.

I also write most of my docs in Pages and export to Word. Guess I'm not getting my full potential productivity score for not using MSFT.
Your example isn’t even what the articles attempt to suggest, and indeed, it’s not even possible, since there’s no way to ensure that the program passes non empty lists at compile.

For example the grandparent article compares these

validateNonEmpty :: [a] -> IO ()
validateNonEmpty (_:_) = pure ()
validateNonEmpty [] = throwIO $ userError "list cannot be empty"

parseNonEmpty :: [a] -> IO (NonEmpty a)
parseNonEmpty (x:xs) = pure (x:|xs)
parseNonEmpty [] = throwIO $ userError "list cannot be empty"

He then states

“Both of these functions check the same thing, but parseNonEmpty gives the caller access to the information it learned, while validateNonEmpty just throws it away.”

But the caller still needs to deal with the empty type. It’s just moved it up higher in the code. Which makes checking easier. He’s referring to this as “parsing”

“parseNonEmpty is a perfectly cromulent parser: it parses lists into non-empty lists, signaling failure by terminating the program with an error message”

The parent article however seems to want to take this further, but again, to make use of this as suggested by actually parsing still would require unit tests.

A compiler can’t solve the problem of preventing the class of bug you’re talking about, hence why there always needs to be some code that handles cases like empty files or lists etc.

To understand why check out the halting problem:

https://cs.stackexchange.com/questions/72014/what-cannot-be-...

https://en.m.wikipedia.org/wiki/Halting_problem
> There is no upside.

Iunno not having to learn Chinese/Mexican to order a sandwich seems like a pretty big upside.
Holy Cow! Tell us more.
The occurrence of images of Pokémon and Spongebob do sound out of character for the station -- is it plausible that someone with a very strong transmitter is toying with the operators?
There is also a semi-classical genre evolved from musical dramas. Sadly it is not mainstream anymore.

https://en.wikipedia.org/wiki/Sangeet_Natak

https://www.youtube.com/watch?v=kdlLqzs9LKk

There is an interesting form of performance called Jugalbandi where different artists perform duet (mostly without rehearsal).

https://en.wikipedia.org/wiki/Jugalbandi

Another rare video - https://www.youtube.com/watch?v=lk60ObnbIOk
Unfortunately Outlook has a pretty big market share in corporate world and if you're serious about your emails, you still have to support it.

It's worse than IE6. And to help your sanity, use mjml.
you can opt our at the employee level, at least at my company which ive done
So they selected phone screeners with the same bias as the on-site screeners? Shouldn't the aim be to reduce correlation in order to increase the signal? Doing the same interview 5 times would make hiring even cheaper, but that isn't really the most important metric you should optimize for.
What does Vulkan brings to the table apart form so called cross platform compatibility? Which is a bit like Cross Platform Apps, they are just never as good as Native Apps.

It is not in any ways better than Metal. And when you design your own Hardware, it makes much sense to own your API design for maximum performance.
Most of the time these days MS news is "cool." Open this, Linux that, check out our cool terminal. Nice to see a reminder they are still definitely not cool.
I'm aware, I'm a full-time Windows developer.
> In this case, it is namely Dutch,

German (specifically derived from the Palatine German dialect), not Dutch (the Germanic language of the Netherlands.)
> the other doesn’t show up the the 1 page of a search.

It merged with PayTrust, which was acquired by Metavante, who then sold the customers to Intuit. All this happened in the early 2000s. More recently it seems that Intuit sold Paytrust back to Metavante. It's still operating a service at Paytrust.com.
The trick with taxes is to put every specific interest into its own business entity that just does that

That business entity picks from a catalogue of alternate tax codes

The entity type doesnt matter, so even if profits flow directly to you personally in a disregarded entity or partnership, the money and actions pass through an entity level force field that changes their tax treatment

“The people” will never get this, its fine
You can use a traditional smartcard to store your GPG keys. That should meet your requirements?
It’s impossible for any politician to express this sentiment publicly, but I don’t think society has really recognized the extreme price that was paid to keep a relatively small handful of (largely) old people alive for maybe another couple of years.

The economic destruction will impact us and our ability to solve bigger world problems for many years.

The lives lost through suicides, drug overdoses, and other problems won’t be fully understood for years.

The damage to a young generation’s education and mental health might not ever be fully understood, but it could be massive.
Curious to hear what folks here think about Goodhart's law playing out when a company does something like this.

https://en.wikipedia.org/wiki/Goodhart%27s_law
Intuitively I don’t understand how annihilating your serotonin supply on a monthly basis can be without negative side effects.

The rat studies, while imperfect, point to neurotoxicity [1]. The longitudinal studies also show negative long term effects [2]. Even Shulgin, the man that "discovered" MDMA, advises against using more than 4 times a year [3].

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1705495/

[2] https://www.ncbi.nlm.nih.gov/books/NBK56825/

[3] PIHKAL, Shulgin
My old dumb tv is failing. After looking online, it seems the only dumb TVs left are in the US (Spectre and very little else) and not available in Germany. At least the spying is removed by not connecting it to the internet, though I still get the great full OS experience :/
Ask HN: What is the most assured way to become financially independent?
I am currently a computer science student in a third-world country. It's my personal objetive become financially independent (get rich, but not filthy rich. Just enough to live comfortably) as it would solve most of my problems and allow me to enjoy life in peace.

Here are some of the options I considered:

* FAANG: Graduate, get a job at FAANG and start saving/investing. Probably the safest but not the easiest for someone without a visa. I already tried to get an internship but got stuck on the team matching at Google and didn't get called on the others.

* Software outsourcing: Leverage the fact that I live in a third-world country and build a software outsourcing business, start as a freelancer until I can hire people and delegate the work. Probably the easiest one to start but hard to scale well (finding enterprise grade work is hard). This year I started freelancing for a few months and made around 10k, which is decent for the amount of work I put in but I found it very hard to scale it.

* Product startup: A lot riskier than the other options but with a bigger yield (if it happens). They are also more interesting.

I would like to completely focus on one option so I can work towards my goal. However I can't decide which one would give me a better yield/probability, I appreciate any new input.
Buahahahaha. I need to read that book again.
Crystal supports named arguments.
One ought not to tell people what they ought to want.
Visa Wants to Buy Plaid, and with It, Transaction Data for Millions of People
I do not. You should do a straw poll in a separate ask HN. I'm curious about this too.
OS choice has become pretty homogenous, even specialty OSs are generally derivatives/subsets of Linux.

I worry that detailed knowledge that results from everyday use of an OS for things like VMS, mainframe OSes, OS/2, Beos, NeXT, Plan9, etc will begin to die off, and UNIX monoculture will consign all other OS ideas to the scrap heap of history.

We'll be left with the big three (iOS/OSX, Windows, Android/Linux) which barely have done anything beyond deck chair shuffling and keeping up with hardware compatibility in the last 20 years. And OSX is a unix, and windows is evolving towards unix for cloud compatibility.

And yet I remember a Plan9 designer casually drop 10 or 12 bullet points of critique on Linux/UNIX that made me think "oh yeah".

Fundamentally, I'd like an OS that could make the task of tracking programs running on multiple machines (and architectures/OSs) more seamless. I would like something that would enable me to seamlessly run something on a raspberry Pi or raspberry VM, or a windows box, or OSX box, or a linux box. If my access key and username match.

More simply, I'd like a JSON output option for every unix command. The fact you STILL can't parse ls -la is a crime.
I've done the same for 40 years. The data is just not as exciting.
Something this wonderful story doesn't touch on (and rightfully So, it doesn't fit the tone) is when people break his trust.

I think it's relatively easy to be trusting. I think it's harder to remain trusting when it gets broken on occasion. That's the secret I want to learn about.
There's repeated references throughout the piece to children missing physical activities and favorite foods or favorite places to eat:

Her eyes begin burning around then, too. She takes every one of the “stretch breaks” her school offers, but what she would really like to do is run out to the playground for a game of tag.

Piper misses her soccer team. Creedence misses the doughnut shop across the street, which recently shut down because of a lack of customers.

She would head for the monkey bars, where she would race Sofia, just like before.

If Luke could just go play football with his best friend after school, the way he used to, that might make him feel better.

The above get framed like what they are missing is the social aspect, but lack of exercise and not eating right can cause somatopsychic side effects. I wonder how much of an unrecognized role that being more sedentary and experiencing significant dietary changes is playing here.
Yes, and there is even a great FLOSS hub software Home Assistant [0] (though to be fair, it requires some tinkering compared to the proprietary systems) and if you run it on a PI or small server, you might as well get a conbee II which is a USB stick that adds Zigbee support directly :)

[0]: https://www.home-assistant.io/
Probably they are not interested in this bad humor and selling hoodies. Also not everything in life is counted in dollars, selling a hoodie with a rapey joke? You think they need that.
Maybe I’m weird but none of this really bothers me. If a company is shitty and micromanages and bases promotions off this crap then they’re a shitty company. And they’d be a shitty company whether tools give them extra data or not.

On the other hand it might be good if a company doesn’t suck and they use use this data to assess whether remote work is causing a decrease a work/life balance or causing people to spend too much time in too many meetings.

Data is just data. If a company is using data for nefarious purposes then they’re probably just a bad company to work for.
AWS EBS gp2 is far from an NVMe drive.

Everyone architects for AWS these days. So the limitations of EBS still dominate I/O: limited IOPS, limited bandwidth.

Yes there are ephemerals. Which are basically little more than ramdisks/caches to actual AWS design.
I doubt this product has a future. I imagine a typical psylocibin user to be anti-GMO.
This is the kind of thing that is used to stop unionisation and in most cases to check if there's a serious productivity bottleneck, it is probably more valuable to microsoft than sales in the long run.
I don’t know if I will ever understand how someone can write out a comment clearly indicating a massive pain in the ass (20 lightbulbs failing and requiring calls to tech support, RMA, etc), and not be using it to talk about how this whole industry is a nightmare.
Translation: "Our Town Name's Light Beer"

Hell is the German word for light.

https://news.ycombinator.com/item?id=25225292
> Using my data, I can confirm I’ve taken ecstasy 81 times in my life, MDMA 74 times

Wait, I thought ecstasy/XTC and MDMA are the same thing?
Non-technical blog posts are fine in HN as long as it appeals to a technical audience.

That said, this is definitely an ad where the only possible solution for the problems explained is the company product, flagged.
Fireside Friday, November 27, 2020
Ask HN: Best Curated Newsletters?
This question was asked 5 years ago and I got from there few good newsletters:

https://news.ycombinator.com/item?id=11046053

So lets see what kind of new newsletters are you enjoying this year?
They famously do opensource abysmally. They just throw code over the wall, largely for pre-existing licensing reasons. The projects they “own” have mostly floundered once they reached a level Apple deemed good enough (CUPS).
Don't Ikea products use ZigBee? Does that count as niche?
If you think about it, the triumph of "good enough in the right place at the right time" describes most of history of computing. Unix was that, as well, compared to many of its contemporary OSes. C was several steps back from the state of the art in PLs. Java, JavaScript, PHP... the list goes on and on.
Soon someone will write graffiti under the current signpost:

"Sometime in the past, we were actually Fucking"
BogoMIPS: Nops per second estimate by Linux kernel
Is there anyway to route what alexa’s microphones pick up to another system (say a raspi) so I am certain it is not listening in when I don’t say the word Alexa. There could be primitive voice recognition on the raspi that would then pass on the full command to Alexa and then on to Amazon for normal processing if it recognizes the command starts with “Alexa”. Is this in the realm of possibility?
Why would that matter? This is for developers, not English majors.
MacBook Pro 16-inch M1X chip just leaked – and it's game over for Intel
A few years ago I went to a random meetup after I moved location to meet friends, and there were these two old English ladies in their 60s telling me how they went to burning man last year and did XTC.

So, you know ... never too late if you really want to see what it's all about.

That being said, personally, I think drugs are pretty boring, so you may end up being disappointed.
Closest thing I can find is from Joel Spolsky:

I first heard about this from one of the developers of the hit game SimCity, who told me that there was a critical bug in his application: it used memory right after freeing it, a major no-no that happened to work OK on DOS but would not work under Windows where memory that is freed is likely to be snatched up by another running application right away. The testers on the Windows team were going through various popular applications, testing them to make sure they worked OK, but SimCity kept crashing. They reported this to the Windows developers, who disassembled SimCity, stepped through it in a debugger, found the bug, and added special code that checked if SimCity was running, and if it did, ran the memory allocator in a special mode in which you could still use memory after freeing it.

https://www.joelonsoftware.com/2004/06/13/how-microsoft-lost...
I do not understand why any company would put that on their website. It's absolutely meaningless in a vacuum.

To me, it tells me "do not apply, we care about meaningless metrics"
> but I found it very hard to scale it.

What were your exact issues (so we can help)?

My suggestion to scale is to find people to work for or with you. Essentially create an agency for yourself. If you want to create a formal business fine or if for now you want to sell "your" services and have trusted friends do your overflow work that is fine too.

Hire people to find customers for you (via e-mail, etc) but then you are the one who shows up for the face to face (your employee pretends to be you for initial outreach).

Hire a general purpose assistant to do things.

Upwork, Fiverr, FlexJobs, Freelancer etc.

Tip: assuming you're legit charge MORE money than your competition.

re: product startup well do you have an idea? lol
Or maybe this might enable some empathy?
Same.

All the lights in my house are the philips hue that I bought back in 2013. So far I have replaced 2 only. The last one was coming back on by itself... wierd to replace a lightbulb because it doesn’t want to be turn off...
There is a school of thought that selfish actions are the most honest. I don't agree, but it's often said to me, and I see evidence others believe what they want, by definition is for the best interest of the team.
It's all true, and yet most webservers were like that 20 years ago - and they still managed to run even fairly high-traffic websites on hardware much less powerful than what we have today. I would argue that >90% of the web doesn't really need the extra throughput that async gives you at the cost of extra complexity.
I can just hear the MS PM juicing these features now.
Tell HN: Thank You Dang
Since it’s Thanksgiving here in the US, I thought it would be nice to say a big thank you to dang for his tireless work moderating HN.

Thank you dang. You keep this community vibrant and interesting, yet civil.
IMO you're better off integrating excel into your workflow. You can use excel to just share the results as a report and view them as a report. Then when you want to do something with the data, just import it into your dataframe. Sometimes people are not ready to learn, sometimes organizations cannot be convinced to move forward because the cost of training an employee might end up more than the existing costs right now.
You're letting other people's actions dictate whether or not you're happy.

Using other people's experiences to judge yourself is not a good starting point. Adding mood-altering drugs on top of that, doesn't seem wise.

If you can imagine if drugs didn't exist, would you be happy with your life? If so, there's no reason to let the knowledge of something you don't have affect you negatively that way.
Well, the previous poster said the Philips ones work much better, so clearly it's not "the whole industry".
Will never happen if you just have multi availability zones and pay for them.
It is already integrated with asio. Third-party, of course, because that's the whole point: io_uring does not need to know anything about asio, nor does asio need to know anything about io_uring, to get optimal performance.

It's all on github, with accompanying CppCon talk. Asio, by the way, will be C++23's network layer.
> how frequently they send emails

Nice, I guess instead of talking to the person next to me and sorting something out in 2 minutes, we can use email, and do it in 30.

Also, let's see everyone just adding: 'oh, thanks' or whatever to group chats, just to increase the message count
You’re not seeing the bigger picture. Once everyone starts doing this there will be no where else for you to go.
Honestly, I've been looking into starting projects on it because it's mature and I can have some confidence that a jar I compile today will work in ten years.
> Thunderbird renders untrusted HTML content and therefore is subject to a steady stream of CVEs and must stay absolutely up-to-date with Gecko

Thunderbird will prompt the user to decide whether they want to render remote content. I'm not sure if that's the default setting, but that's how it's worked for me for many years over multiple installations.
My speculation is that there’s a bug in Microsoft Excel that is responsible for our inability to unify QM and relativity.
Probably faster to copy via finder since it’s not actually copying every byte, but only the utilized bytes.

It might be faster to have multiple rsync operations (via xargs or the like), but if the disk is relatively empty I can see this being faster. Finding the right level of parallelism isn’t something I can help you with, probably needs some experimentation.
This makes a ton of sense. For all of us, things that hold us back the most are ones we refuse to see in ourselves. Meanwhile they are obvious to other people - who assume they must be as obvious to us and thus don't say anything.

What makes the quick and frequent feedback valuable is that it's easy and undramatic to give but can form patterns of irrefutable evidence about ourselves.

If I hear once from one person that I did X and caused Y, I can dismiss it. If I hear something similar from lots of different in many situations - at some point I have to admit there's something to it and investigate.

If that sounds weird, just think about this: if you literally stank, would you want to know? Would you want to hear it casually from 3 people in the morning so you can figure out that you had stepped into shit on the way to the office? Or would you want people to politely not say anything all day, sparing your feelings while every one of them thinks you smell like shit?