skysight-inc/HackerNews huggingface dataset:
I'm afraid that if you're focusing on the technical merits of prototypal inheritance vs classes, you've missed my point completely.

The parent comment seems to be arguing that a library or tool should be perfect in its very first release - that the designers should have anticipated every possible use case, target audience, and piece of API design.

My point was that _everything_ in technology evolves over time, and Redux is no exception.

The Redux core _is_ exceptionally well designed, especially given that Dan and Andrew really only worked on it for a two-month stretch. During that time, they iterated on multiple ideas, particularly the transition from "stores" to "stateless stores" to "reducers", and coming up with the middleware API as a way to allow pluggable side effects logic. Similarly, the design discussion for what became `connect` [0] shows from the very first comment exactly what design constraints were relevant, and while it took some time to nail down the specifics, Dan clearly had the key criteria in mind.

At the same time, many of their early ideas about how Redux would be used turned out to be wrong. Dan assumed that people would likely only connect top-level components, and it turns out that connecting many components across the tree is better for performance. Andrew came up with the "Flux Standard Actions" standard, but his idea of having `{error: true, payload: new Error()}` and reusing the same action type for errors and successes has been completely ignored by the ecosystem - it's a lot easier to have separate action types for success and failure. They both thought that thunks were a stopgap that would quickly be replaced by something else, and neither of them could have anticipated the creation of Immer.

So, in the real world, no tool is ever designed perfectly from day 1. Requirements change and usage patterns patterns change. That's why libraries and tools publish new versions - to respond to those changing situations.

That's why we created and designed Redux Toolkit - to respond to the changes in how people want to use Redux, and the pain points they've experienced using it.

[0] https://github.com/reduxjs/react-redux/issues/1
Ask HN: Where do you find thought-provoking articles on the internet?
Recently I've been finding it difficult to find high-quality interesting articles and discussion on the internet.

Over the years reddit has become less and less thought-provoking and more of an echo chamber. Digg and Slashdot and Metafilter are mostly dead, and HN one of the rare platforms left for genuine, intelligent conversation.

Is there anything left of the old web, a platform where people discussed interesting topics with curiosity and friendliness?
Boycott, Divestment, and Sanctions. https://en.m.wikipedia.org/wiki/Boycott,_Divestment_and_Sanc...
Clojure is really great this way. My fumbling about with argument order aside, I only had a couple complexity problems when I was writing it:

1. Holy hell, I always have to look up examples for the ns macro and imports.
2. Protocols, records, and reifying... there's a flowchart out there for this but it frustrated me that I didn't Just Know. Scala has a similar thing for this where sometimes Eta expansion happens and sometimes it doesn't, and you just need to know where you can use sugar.
There's a nice feature list on their home page: https://sourcehut.org/

The one that made me go "oooh!" is this:

Powerful continuous integration
- Runs fully virtualised builds on various Linux distros and BSDs
- Submit ad-hoc jobs without pushing to your repository
- Post-build triggers for email, webhooks, etc
- Log in with SSH after build failures to investigate further

Submitting jobs without pushing and logging in after failed builds are two features that I didn't know I wanted. But now that I see them, I really want them.
You realize you're mentioning a 2600 right? Which will place a tremendous limit on 1440p gaming?

My suggestion over the included build is spending $10 more on the build and getting a 10600K.

Silicon Lottery has found 100% of 10600ks will do 4.7 Ghz sustained all core.

Even at that number it will easily out perform a 3600 in a meaningful way. Over 70% of them do 4.9 Ghz which where it starts to reach i9 levels of performance in gaming by the way...

-

And the cherry on top over the 3600 is you can actually buy the i5 outside of Microcenter. Microcenter is the only place carrying the 3600 for $180... but they also have 10600k on perma-sale for $250.

Meanwhile outside of Microcenter the 3600 is rarer than hen's teeth while the 10600k is widely available at $270. I happen to have 5 microcenters within an hour or so of me, but most people don't have that luxury.
Scaling horizontally is not cheap. A faster language needs fewer replicas.
Something that I wish more people did when they don't have the time to do a bunch of debugging for an issue they don't experience is dropping a pointer for others. If the response was "I don't have time to work on fixing this. If you wanted to fix this I think it would be in $package and maybe $file. You can create unit tests for this in $place". Or even better "I've added a unit test into master as ignored that is failing right now, if someone can step through and debug this I'd merge it".

It takes a lot of energy but it's a great way to create a community.
There was a time that I thought that Twitter should do what Parler is doing; let the original author approve replies before making them visible. Now that I've seen Parler demonstrate it, I think that Twitter would never have become as popular as it is if they had done so from the begining. The feature that allows for the wide conversation that Twitter is famous for is also responsible for it's abusability.
I use Insteon dimmers and switches in my house. These replace the wall switch but look basically like a normal wall switch. They use a combination of power line networking and RF mesh networking for automation. This is the second house I've had entirely outfitted with them and I love it.

IMHO it's critical to maintain control at the wall switch - if I am walking into the kitchen and want to turn the lights on, I just hit the switch like any other house. But when I'm in bed and ready to go to sleep I can press one button in the app and all the lights turn off.

Anyone with basic electrical skills can replace a switch in about 15 minutes. I did them all myself in my first house over the course of a few months, and when I moved I hired an electrician for a few hours to just do them all.

The switches and dimmers are about $50 each, but they are highly reliable. I've had one failure out of about 40 total installed over the course of the 12 years I've been using it.
Plasma Mobile is the desktop and related components (open to correction). There are apparently different distributions (based on Arch, Ubuntu and others [1]).

My question is what the Plasma Mobile PinePhone ships with and if it maintained by the Plasma Mobile team themselves. The Plasma Mobile says that the Ubuntu Neon based one is "official" with confusing double quotes. The blog [2] says that image has been rebased on Ubuntu 20.04. Is this what the KDE PinePhone ships with? If so, what kernel does it use and are the patches I linked to previously included?

[1] https://www.plasma-mobile.org/get/
[2] https://www.plasma-mobile.org/2020/11/12/plasma-mobile-updat...
The hardware security features are currently preventing that from happening.

I would also like to see that work, but I’m starting to think that we need to regard Apple on Arm as a lift for the technology overall but not necessarily a win for the community
Call Your Friends helps you build authentic connections.

https://www.callyourfriends.io
There’s a decent VS Code plug-in as well
The microwave I used as a kid in the '80's did this. Dead simple, just a rocker switch riding on the motor shaft, triggered by the split pin that attached the turntable base, which controlled power to the motor in parallel with the microwave controller. When the time was up the table would continue turning until the switch tripped. Stopped in the same place, every time.
One possible take is that there's a fundamental difference between banning opinions and banning presentation. You could ban spam, impersonations, doxxing, all harassment and insults, posting fecal matter, porn, racial and other epithets, and so forth, but still be able to discuss the related crazy ideas (holocaust denial, child porn legalization, etc). I think this preserves the most important part of free speech.
I can read and my point stands: of course ai is biased, because people are. But on the long term it will make society better.
I am not a good programmer. Every time I try to learn a language I end up down rabbit holes and always end up yak shaving.

Whenever I take the plunge I am always reassured; Ruby and Rails does make me happy.
We also have attempts to reinvent ML, more recently!
A Case for Properties: Programming Language Design
I just like the fact that there is mercurial support
That's very true. European countries "go green" by exporting their mining pollution to China. They can then blame China for all the pollution problems.

Brilliant really. Get political points for "lowering emissions", then double dip getting more points for "being hard on China" while at the same time not hugely affecting the economy, jobs, or ticking off industrialists.
The shitty bubble keys covering on our otherwise perfectly good General Electric oven has worn through the most used buttons. I suppose this design eliminated a thread in the supply chain and resulted in manufacturing savings of a couple dollars per unit.

Low on my priority queue is researching the maker community to figure out how to print out a new one of these covering sheets. It is one piece of some kind of plastic. With the right knowledge and access to tools it must be easy.

Long live mechanical keys.
> the other side

The other side has outright banned questioning important tribal narratives. (That I happen to agree with those tribal narratives is besides the point)
> There is a chance you could do here what powerline adapters do, and use the ground wire to communicate. But they are notoriously inconsistent and there's any number of reasons it wouldn't work

This is exactly how Insteon works in conjunction with a wireless mesh. I'm extremely happy with my Insteon setup -- it's just a matter of replacing light switches and outlets with a bit of re-wiring on 3-wire switches (no new wires to run, just bypassing one of the switches so only one controls the light). The Insteon-branded hub is fine for a few light switches, but if you're doing a whole house and need something that can handle more complex configuration I would go for an ISY994 controller (don't know if anything newer exists but it's been rock solid for the last 5 years).

All that said, it was expensive and probably not worth it. I spent $4k on a somewhat large house and I was able to justify it as a learning experience for in-home IoT device use cases -- but I'm not sure there's much benefit to doing a whole house with it over just a couple rooms.
I haven't used plasma-mobile yet but in UBPorts you can sync your photos with your Nextcloud instance. Another option is Syncthing.
IMO x86(_64) machines running a standard Linux distro with ath9k/ath10k cards is the way to go. Embedded access points are crappy, and loading OpenWRT on them just makes them crappy in different ways. I'm sure enterprise gear is better than the consumer stuff on average, but it's still painting myself into a corner.

In a similar vein, it pains me to hear people complain about SD issues with Raspberry Pis. My Kodi terminal will die occasionally due to SD card issues, and the only local disk usage it does is booting and the occasional dist-upgrade. The things are meant to be cheap and accessible, not reliable. If you're setting up a server in which you will be investing your time, an RPi is the wrong tool for the job.
Why did they try to leave, again?

Hint: Most of the secession declarations include language like this:

> But an increasing hostility on the part of the non-slaveholding States to the institution of slavery, has led to a disregard of their obligations, and the laws of the General Government have ceased to effect the objects of the Constitution.
TSMC announced that they're raising salaries by 20% across the board, so that should improve things a bit:
https://www.youtube.com/watch?v=T6DaxXukog4
I'm tempted to make an anti-stale bot that comments on every open Terraform issue to force a human to deal with them. I find new bugs in Terraform providers at least once a week, and invariably they're bot-closed with no resolution. There's no justification for it at all.
I think he’s the first to do so on the scale of thousands of such statements.
> I think that it's possible to minimize tribalism by enabling civil discussion that shares many perspectives, with all hostility removed (and perhaps minimal emotions), and most importantly, let the audience form their own opinions.

It is unsurprising that HN commentators think that the best discussion forum would be one without any emotion or hostility.

I think it is important, however, to guard against the hubris of porting your own model (whether it is American-style democracy or HN-style discussion forums) to every corner of the globe.

It might be apparent to us why this model is better, but it might be equally apparent to other, more combative internet commentators, why their model is better. When very smart people on both sides think that a different approach is best, it might be worth treading carefully.
> So what did the existence of a third player with identical approach bring?

Like I said, competition with Android. Not just for consumers, but for manufacturers too.
It draws attention to the inflammatory premise of the original comment, that Google ought to be thankful France isn't taking "a practical approach". A king murdering the leaders of an organization that got in his way is not a positive example of regulatory power!
The important technical question is how good a Redis replacement can be built with 250 lines of Python "glue code".

If performance is good enough, where are robustness and features? How large are the effort gap and the quality gap compared to the original Redis?
Not necessarily for discussion type, but Brain Pickings [1] has gotten me to read books I wouldn’t have read otherwise.

[1] https://www.brainpickings.org/
This is a cool idea. It's like stock options for a startup
Hi, thanks for your work on Plasma Mobile.

Android has an Hardware Abstraction Layer (Android HAL) that acts as a unique central clean definition of what the hardware provides and how to access it. It makes it easier for Android to remain HW agnostic and for HW vendor to be compatible with Android.

Is there a similar effort on Linux ?
It’s more like you have one Lambda instance that is always running (sure think of it like one server) that can serve the first page instantly while the other ten thousands Lambdas take half a second to warm up. That first Lambda responds instantly so it hides the half second response for the rest of the application.

It really makes sense if you have traffic that spikes at certain times per day (think like fantasy football). There’s going to be times when no one is using your application but when they do, there are going to be dozens or hundreds of people suddenly using it. So the first person that logs on hits the provisioned Lambda instantly and then AWS warms up the rest of the Lambdas as more traffic comes in.
Link to the cheat sheet and coffee mug?
To add to others' comments, another nice detail is that you can simply push to a non-existing repository to create it, rather than having to first create it through the web ui.
I really like the page design, very clear and non-flashy. Looks like time was well spent delivering features and good performance instead of building a "beautiful" page.
I know some Rails shops that are switching to Stimulus Reflex for some UI-heavy things, it works like Phoenix LiveViews, you can briefly see how CodeFund uses it for their interfaces here (40 seconds in): https://www.youtube.com/watch?v=F5hA79vKE_E&feature=youtu.be...
I agree that it's bad. But not because the maintainer is an asshole. It's because the maintainer doesn't understand the real leverage he has when doing open source. So it's actually more sad than bad. Bad for him, in fact.

When you write something to solve your problem (which he correctly states), then publishing it "for free" just because the mere act of doing so comes at almost no cost and even consider it as some kind of philanthropy ("You are welcome, by the way"), that's all really missing the point. Of course you are free to do that, but you are really missing out on the big lever the open source approach hands you.

And that lever is that other people come and help the maintainer _for f*ing free_. They encounter a bug and report it -- that's free labor right there! They help him make his software better by pointing out a problem that he likely overlooked. And they help him document problems for other users to be aware of. And often times they help him by providing a patch or a suggestion. They do all of this for free. That's the whole point of open source. Not providing some piece of software for free. That was there already with "Freeware". But the real power comes from the lever. Put it out in the open and have the whole world help you.

Linus Torvalds understood that all too well, and still does. He's not a philanthropist. He's pretty rude and selfish (he admits that about himself), and that's exactly why the open source approach worked so well for him.
I have seen several times that the author of Calibre is bashed here on hacker news when he said he won't switch the codebase from python2 to python3 (later he did this).
Is there a good way to turn your rails app into a mobile app these days? I remember seeing something from turbolinks showing a way to make hybrid mobile apps using turbolinks.
I can read

what I doubt are your abilities to actually comprehend.
I feel like I am one of the few who is actually loving the WFH, and am feeling better than ever. Most of my coworkers complain about feeling isolated and looking forward to returning to the office, and I don't feel like I can tell them that I much prefer the current situation.

With WFH, I now have enough flexibility to work whenever I want to, which allows me to indulge my night owl instincts without it affecting my work, and also allows me to nap whenever I need during the day.

I am already a major homebody, so staying home almost every day fits me very well. I don't have a great need to meet people face-to-face, so the fact that most meetings are voice only works very well for me as well. Social interactions at work always stresses me out a bit, as I feel like I have to put on a performance whenever it happens.

I am not looking forward to when COVID-19 is under control and the office opens, as my employer has made it clear that we are all expected to return to the office once it is safe. Not only do I have to put on a performance all day long, I lose the commute time and flexibility of work hours.
A person needs a will to live, so to speak, a purpose. While a higher purpose might be achievable through helping others or religion or whatever, you can also distract yourself and have a really cool time by doing cool shit. And that's motorcycles. It's feeling the breeze and the road changing and the temperature go down as you go into a forest, it's smelling the sea and feeling the breeze in your face, it's the speed and the bit of danger and the fact that you're part of that curve, you're not just steering a wheel, you're committed to it. And it's camping at the end of a long day riding, and riding with your buddies, discovering new roads just because they're twisty. And it's working on your motorcycle or being part of a club, or a group of weekend rider friends. It's a hobby, and it's a cool one at that.

And for as long as I've had one, not one bad weekend can't be fixed by a short ride.
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the #unreasonable man" --George Bernard Shaw (b. 1856)
I work at McKinsey, straight out of a master program. I find this article obtuse. Does McKinsey feel prestigious to me? Sure. That has nothing to do with James McKinsey inventing managerial accounting (in fact, internally, James McKinsey is rarely mentioned in discussions of company history). It's because as a 20-something guy I can have discussions with fortune 100 CEOs about what I think they need to do. I think that's pretty cool. A smaller boutique firm probably wouldn't allow that. It's not a huge deal at the end of the day though. Prestige is a loaded word that sounds snobby. If there's any reason to seek prestige, its because having a prestigious experience tends to qualify you for more lucrative opportunities down the line via automatic respect and helpful connections.

Reasons why I think I made a good choice:

* Comp was pretty good. Consulting isn't like ridiculous $200k+ salaries for new grads like FAANG, but its more than I need.

* Growth is very fast. In most companies, you need someone above you to leave or a new need to open up to get promoted. Consulting, as well as rapidly growing companies, don't have this. You can advance as quickly as you are capable. I don't know if that holds for finance (I think not?), but it probably holds for a decent while for big tech.

* The company has a vested interest in you doing well long term. When one wants to leave, they get a few weeks of paid time to do no work and find a new job, often with the help and support of senior colleagues with good connections. That is a wonderful benefit. If I want to leave, I have far more options available to me than if I had worked at most other orgs.

* I don't do any work I perceive to be unethical, and am encouraged to decline serving clients I don't want to serve without needing to justify it or fill out a form.

I'm happy with my job. I really don't need people applying values judgments over why I would have made these choices. Job culture, especially in America IMO, is generally unhealthy. If you can legit say you're happy with your job and it pays your bills, just stop the dialogue there, you've won, that's great; pay no heed to those competing possible pasts that may have been better.
Also, pencils, paper, telephones ...

The whole noosphere thing civilization has started into is quite a problem right now & FB is in my humble opinion a shit warden of all too much but I am still ultra-warry of blaming the tools.

The people problem needs far more attention & a will to address it. We have too few means at our disposal to handle uncivil folks, to collectivized our own defenses. I'd far prefer organic & civil-minded defense than I would insisting that FB arbitrate & police.
The first open-source ventilator tested on human patients
Really? Our frontend servers handle 50 rps and cost $20 each and are nowhere near peak utilization. If anything ever needs scaling its the database. What level of traffic are you talking about?
Okay, how is my argument changed if I answer yes or no? Is what you're talking about a data sci's responsibility or not? If collecting, analyzing and deploying data in reports or db is too difficult for you, data sci isn't for you. I'm not telling them HOW to do their job. I'm clarifying that you have to DO the job if you signed up for it. Dont like it? Get out. We all screwed up by taking jobs we didnt like. Nothing wrong with that. Get out of the kitchen if you dont like the heat or the smell.
That is completely true. Although I don't think at the beginning Big Social Media realized how it would play out. They seem to be now committed to the we are moderating as fast as we can approach/excuse.