skysight-inc/HackerNews huggingface dataset:
I have a pretty decent trackpad experience on linux. grated it has been a little glitchy but not as much anymore..

in any case I blame propietary vendors for preventing better open source support.
This really got me thinking... of course, what Amazon is doing is bad, I don't want to deny that - OTOH, for a tech company, they are an easy target - for example, Google doesn't have as many low-paid workers, so we don't know if they would treat them more fairly. How about the contractors hired by Facebook to weed out the worst posts by extremists, terrorists and other lunatics so our sensitive eyeballs aren't confronted with them? Is that better because they aren't directly employed by Facebook? Maybe Amazon should divest its warehouses so they're not so much in the public eye anymore? If you start to think about these things, where do you stop? Tax evasion? I guess every tech company is guilty of that, because shareholders expect them to find and exploit every possible loophole. In the end, probably the only companies you can morally work for are non-profits like Mozilla et al. - which is probably easier to do after raking in half a million per year for some years at a less morally sound company...
There is a stark difference between being perfect and putting in a modicum of effort to not work for garbage and in turn create garbage.
Terrible hierarchy of elements on sourcehut, I don't know how to read this website efficiently
For those using Atom, I've had some success using this Atom editor plugin: https://atom.io/packages/sb-atom-sonic-pi
I'm sorry if you took this as an attack. That is not my intention or point. I'm not being a "Good German". I'm not saying we can't fight all evil so don't fight any.

I'm merely discussing that we too often we make a stand against one "evil" and not against others that are even easier. For a lot of people the line is what becomes inconvenient. People are posting comments that Amazon should treat people better while they spin up a new instance and order next day toilet paper. This is important stuff to talk about. I doubt that most people who agree with your actions and are posting support are also divesting the same way you are. We can all do more and take more action against what is wrong. I applaud your actions. The hard part is taking actions by a few and turning it into a movement that causes rippling change.
I ended up using PHP while I worked in a design shop, as it was extremely easy to both implement designs in and easy for low-tech clients to run.

It wasn’t bad. Good docs, reasonably easy to run & deploy (except Wordpress). I don’t think I’ll ever use it again more due to career reasons, temperamentally I prefer the backend, but given the same circumstances I’d use it again.
I read and listen to Oyez a lot. From my persona experience, laymen might not get the things they are talking when they cite previous cases, some legal words might not easy to catch, and the judges most likely is questioning the briefs which won’t be available. Live audio might open interests to public when working from home, but nothing beats oyez’s synced transcript with audio. It will be interesting to listen to whether judges will change their way to question cases. Or more interestingly, when Thomas will say something
Ah, okay. Searched a bit, and it apparently requires you to find your own with dns client lookup library, avoid dlopen(), set GCONV_PATH, and so on.
In a previous post, the author mentions a few benchmarks comparing Mac vs Linux trackpad performance: https://archive.is/s7SZM

1. Linux touchpad scores on par with Macbook touchpad per mouseaccuracy.com testing. As of today, I can consistently score twice as high on macOS (average score 250 with “Hard” + “Small” options) vs Linux (average score ~100).

2. Visual or terminal-based means to configure rudimentary touchpad settings. The fewest options I could imagine supporting for v1 would be: scroll speed/acceleration, scroll speed, natural scrolling toggle, hopefully support for gestures.

3. First-class palm and thumb detection/ignoring
> ableton has a synth basics online class/demo kind of thing

This course is really good and fun! It made me appreciate the synth.
I'm not the GP but I fully agree with what he said, so here is how I would answer your question:

I HATE cleaning up people's messy code. It's 10x easier to do it right the first time. Messy code to me is most messy because it's unclear what is being done. It often comes with insufficient tests, which makes refactoring dangerous.

To me it's a lot like walking into a messy house vs. a clean house. If the house has clutter everywhere, or has a smell from being dirty, then it's not comfortable to be in. If I have to work in it, or clean it, I'd much rather start with a well-organized clean house.

Refactoring is also not fun at all for me. I also LOVE pushing features fast. I don't obsess over "perfect code" but I do obsess over following best practices and stopping for a few minutes to think through a design.

My workflow is:

1. Get it working, minimal effort, PoC

2. Get tests written and passing.

3. Refactor to good code. Perfect is the enemy of good, but it doesn't get committed until it's readable, maintainable, tested, documented.

Sometimes I probably am a little slower than I otherwise could be, but people are often blown away at my ability to iterate and add features quickly. This is because my code is well organized, modular, DRY, and well tested. It takes a little longer the first release, but it more than pays for itself speed-wise as tech debt stays minimum and hackability is high. With over 10 years experience now with this method I'm convinced that it's the only sane way to do things. Anything else is sabotaging your own future.

If I really don't have time to do it right the first time, I know it will be hard to iterate on, it will have bugs in prod, and it will never be pleasant to work in. It takes 10x longer to refactor an existing app to be good code than it does to do it during development when it's all fresh in mind. The best hope is that it has a good spec so it can be re-written from scratch.
Indeed, and even the ones where "replacing them may take some time" are only a very small percentage.
You "ask to understand" their perspective & motivations because the alternative is for you to assume you know their perspective which is always worse. Imagine an employee does X, which is explicitly against company policy and causes a major headache for you. You assume the employee just doesn't care about the policy or worse, is disgruntled and violated the policy on purpose. Either of these motivations warrants a pretty serious reprimand.

Instead, you ask the employee why they did that thing when it goes against company policy. "What policy?" Oops, it turns out you forgot to go over this during onboarding and there was no negligence or ill intent on the employee's part, they simply did not know about the policy and are sorry and embarrassed for inadvertently violating it.

Aren't you glad you asked them about this before coming down on them with a reprimand, blindsiding and angering them and ultimately making yourself look stupid for blaming them for your mistake?

If it turns out the employee did in fact have a grudge or was negligent, there is still time to reprimand them after hearing "their side of the story." But if you never ask you will miss explanations and needlessly escalate conflicts.
well, I wrote my comment on the wrong thread. I don't know what happened. I meant to comment that on a thread about failures. Sorry.
FOSS Responders – Sustaining the Future of FOSS Together
Posting about design on hackernews is going to be tough haha. I think some sort of merge between stripe and gov.uk is the ideal design experience generally, and then flavor depending on the intent of the product
I don't know why many praise sourcehut's design, to me it lacks clarity and everything looks like it was smashed together. A little more CSS and structure can make it go a long way.
Python has an Elasticsearch API available as a package, which is probably why it's not packaged in with Django.
Haters gonna hate. Node.js programmers are looked down upon too by go programmers. C programmers are an anachronism, haskell is for academic navel gazing etc. Small minds think their favorite language is the best because they can't see outside their own problem domain.

Languages are tools that suit different needs. Use the best tool for the job, pay attention to industry trends so you don't become a Cobol dinosaur with no job prospects. Switching to node is a good career move but it won't be your last. Node has incredible momentum and developer mindshare. You can accomplish a lot with it but node projects are difficult to maintain.

Never stop learning or growing.
From this comment https://news.ycombinator.com/item?id=23075667 it sounds like they're required to leave it down for 10 days.
You might be less sensitive to the lag. I've seen annoyingly slow responsiveness on most recent dell laptops running windows or linux.
I think maybe you misunderstood what I was saying / I wasn't being clear.

I agree with you actually... what I'm suggesting is that the current situation with online teaching isn't really generalizable to long-term experiences of it, or the situation where something is planned with online teaching in mind.

I know things will vary by institution for sure, but for a lot of schools going forward they're going to try to avoid the problems you're mentioning.

My guess is even when students return, there will be things like substituting large lectures with online material, etc. Colleagues of mine at other institutions are being told that going forward training and skills in online instruction is being expected of everyone. This sounds obvious but what it means in practice is that the university probably won't find what happened this past semester acceptable.

There's a lot of issues for sure, but I don't think that the long-term experiences of online instructions can be generalized from this past semester.
Will Covid recovery packages accelerate or retard progress on climate change? [pdf]
That's a really good point. Nothing is perfect, and frameworks are no different, so after awhile the friction points come to the fore.

Also, I have a theory that with the more common languages, you obviously find a much broader user base of beginner-level programmers, or, worse, programmers who just don't care about quality, which translates to more dysfunctional code in the community in general. My coworker at one company did not have good things to say about PHP, but when he had to take over a PHP project of mine when I left the company, he said it was some of the most well-written PHP he's ever seen -- organized, easy to follow and modify, etc. He didn't even realize PHP could be written in an eloquent fashion. (Not to brag, I've written plenty of bad code too.) Point being that if all you see in a certain language is jumbled spaghetti code, it's easy to think of it as a bad language.

A good programmer should be able to create eloquent code in any language.

Edit: Realized after posting I may have sounded like I thought you were not a good programmer -- that's not what I was saying at all! You can write eloquent code and still be frustrated with what the framework or community forces upon you.
Jesus Christ, why is something as simple as deleting data so complicated now? Unless you're Google, stick your data in a database. Then DROP when you need to. But I guess that doesn't get you any blog posts or résumé line items.
Closing The Collapse Gap: The USSR was better prepared than the US (2006)
Most of the interesting things I’ve worked on would fall down if you couldn’t cache some stuff across requests, like database connections. If every request requires a new TCP connection, even if to something lightweight and fast like a local pgbouncer instance, requests are going to be a lot slower (and the time spent context switching from userspace to kernelspace and back a lot higher) than if you could reuse one from an in-memory pool.

I love stateless stuff and have started moving a lot of things to Lambdas where appropriate, but I wouldn’t use a completely stateless setup for handling large numbers of requests per unit time.
2666 is not the fastest ECC memory. Here's 3200 for example: https://www.newegg.com/crucial-32gb-288-pin-ddr4-sdram/p/N82...
How does it compare to csound?
Hahaha, that's so true. I've heard of multiple people placing bounties on making this a reality
LiFePO4 chemistry is also dramatically safer and is available today. Downside is it's less energy capacity, but for wearable applications it's a lot safer.

https://www.batteryspace.com/LiFePO4/LiFeMnPO4-Batteries.asp...

https://en.wikipedia.org/wiki/Lithium_iron_phosphate_battery...
Not true. Something like that is why gas giants are hotter than you'd naively expect, though.
Could someone ELI5, why it is so difficult to make it right? And I do not mean exclusively to Linux, because Windows has been horrible for years now too.

If the issue is hardware, then we'd blame OEMs.

If it's software, then we'd blame, say, Microsoft.

If it was a combination of these two, then we could say that Apple is the only one that controls both... if it wasn't for the Surface series which still has atrocious touchpad experience.
Duplicate of https://news.ycombinator.com/item?id=23039515, although the author apparently changed the title of the blog post.
I think sourcehut's site looks like a cluttered, ugly mess. I'm glad that your opinion is in the minority, because I like that the web has moved far beyond late 90s-early 2000s design.
I keep remembering computational kindness idea from the marvelous book Algorithms to Live By:

Try not to pass the cognitive load to others. Make them do as little work as possible -- be computationally kind.
I always assumed that that’s done for portability reasons, since libc deals with a lot of os specific details.
SaltStack has a long history of home brew protocols, internally written encryption, security issues, and bugs. I'm not surprised they would end up being used as a vector for attacks.
If R2 returns before R1 that is still a race condition, but it might not be a bug.
>> This is why unions exist: to enable collective action by workers.

> Yes, in part. But it's almost always enabling collective action that benefits the (current) workers (and the union officials).

What's the problem with that? Corporations almost always enable collective action to primarily benefit (current) shareholders (and executive management).
Being unpopular is one of the strengths of php. They rarely break stuff to make it look cool. Your 10 or 20 year old project can keep running, keep making money, allowing you to "learn the shiny stuff you ll never use"
I don't think we're disagreeing on that point. All I'm saying is that the nature of the hash as being derived from the movie file is irrelevant. If people organized movie torrenting by assigning version 4 UUIDs to movie files, then Popcorn Time would infringe just as much by publishing those UUIDs as it does by publishing hashes. There's no "derivative work" argument being made on either side. If there was, the pro-Popcorn-Time side would win.
Perhaps it is, tangentially, if you don't get any sun from your chair, and the vitamin D link turns out to be true.
You might be voting, but you might not be voting for it.
Thanks for making me aware of this- I missed the Deep Glacier announcement last year it seems. Glacier is already cost effective as is, but this will make it even cheaper!

I use this as an offsite backup- that as long as disaster does not strike, I will never use, and even if does, I can be patient about restoring.
> But the response in New York (with mobile morgues) wasn't reported anywhere else.

The UK, France, Spain, and Italy are all countries that have temporary morgues because of covid-19.

> On April 6th Vox reported the entire USA was running out of sedatives needed for ventilation:

They link to this document. Are you saying this document is incorrect? How do you know it's wrong?

https://www.ashp.org/Drug-Shortages/Current-Shortages/Drug-S...
I think that would actually fit very well alongside eg Apple's "You've had 30 minutes of screen time today" messages
Top 10 car washing & maintenance theme

Hi, If you are getting so much panic to select the best car washing & maintenance theme, then I have a good article here for you to release your stress, to pick the best car washing & maintenance theme.

https://www.electronthemes.com/car-washing-maintenance-theme...
well, I was testing something on s a clone version of a game and end up publishing that version to the app store. When I uploaded the game on my phone, my progress ware gone, all my saves. the colone version created a new database (thank God without deleting the old one). my game only had like 1k installations, and I found out my mess quick enough. just published a new update with the original database name and was lost.
> Thinkpads

There is a much better option than the trackpad mac or otherwise built in ;-)
> instead of what’s actually written

Isn't the whole problem determining what is "actually written"? It seems kinda silly to me to argue "well obviously they meant X" when there's clearly debate on the subject.
Looks like they got shutdown on Twitter as well:

https://twitter.com/popcorntimetv
I've been trying desperately to avoid working for big corporations because they are against my personal beliefs. So far I have mostly succeeded. I only worked for corporations for 1 year out of 12 in total in my career. It's been really tough to avoid and getting tougher.

I think if I'm faced with the prospect of not being able to retire, I will have to join one. I will have to knowingly participate in making the world a worse place but at least I will have tried.
Also that privacy policy says nothing, and seem to just be copy pasted from the Internet.

If this is the company's approach on handling very private user data (ie. the contents of a number of websites they visit, including facebook, airbnb, office365, all of google.com), then this is a hard pass from me, and a huge red flag.

EDIT: here's a list of all sites the extension accesses: https://paste.q3k.org/paste/uj-GbID4#g7IYwrXiF6zXlnlxQYguMlr...

EDIT2: looking at the source code of the extension (extracted from the source map), it at least tracks and sends off any tab hostname (or URL?) you've visited: https://paste.q3k.org/paste/gxklokkF#055mmZ9Qu-zeiAwXGpWqSpw... , for any of the URLs in the allowed URLs list (which in turn has some websites whitelisted that you really might not want others to know you have visited)

EDIT3: if I read the code correctly, they actually send off the entire URL, not just the hostname. But someone would have to check this in practice to be sure.
System76 and Purism know something to work on improving now...
You realize that alcohol related deaths top 80,000 per year in the US? And that doesn't even include secondary deaths e.g. traffic accidents?
You realize you can buy this stuff in almost every store that carries a bottle of water? And that it's taxed?

So let's assume we top out at 160,000 covid19 deaths by Christmas. Let's compare the news coverage of those 80k alcohol deaths with those 160k covid19 deaths.
That would convince me to pay for this
I'd use whatever lightweight and secure I can find at a moment.

Simple file upload without any future expansion plan doesn't need hours of discussion.
For many people diet/sunlight is insufficient - there's a host of cofactors and things that probably play a role in this. I'm not too sure on just how effective supplements are but I've personally used them to raise my serum D levels with success.
Thanks! That really does seem to be the issue and I wouldn't have known about this, had I not asked. I will try this out and will update the blog post in ~8 hours time.
I feel the same. It almost seems like a meme to me by now.

I've used various different laptops (Macbooks, Windows machines, Linux-based ones, Chromebooks), and while the experience was certainly different, Macbooks never felt particularly superior. They seem to be configured (by default) to move cursors fairly slowly compared to the competition, but it's a lot about just getting used to it. There are of course some cheap, jumpy touchpads out there, but this doesn't apply to all non-Macbooks, by far.
I can, on my local server, change the code, hit it again, and have my changes reflected in what happens. Doing that with Python, Node.JS, Ruby, or Java requires extra configuration. That's the point.
It is mostly software, but it's not Microsoft's fault, because they do not make the hardware and are not expected to write the drivers for it.
Why would RoR bake payments support into the framework? RoR is there to tackle common web application tasks, payments is there for maybe 30% of web apps / services. There's an active debate on what popular libraries should be included in Rails, and all the features you listed can be found in libraries if they aren't in Rails already.
Actix-web is a web framework, but a rather lightweight one. It doesn't really compare to django/rails/laravel.
I talked about the dangers of value drift/cognitive dissonance upthread, and this is a prime example of what I'm talking about. It is very easy to say "I'll just work this job until I'm financially secure". But then you start hanging out with a bunch of highly paid people, and start to feel that you need "a few hundred thousand [dollars] in passive income" (which really means ~$7 million in assets, depending on what you mean by "few").

That is, from any objective viewpoint, absurd. Moreover, it's a recipe for talking yourself into an ever-extended stay in a situation that, fundamentally, doesn't comport with your values. I don't say this to attack the OP – I've seen the same process happen to good people, seen people feel "poor/underpaid" while making $200k.

Instead, my focus is on the other people. Pay attention to OP, and realize just how powerful an influence the right (wrong) "circle of friends and family" can be. Imo, you should think very carefully before spending your life around a circle that would cause you to think financial security requires $7 million.
Shame that's only iOS - is there something similar for Android?
Number 1 seems wildly subjective based on the person's level of dexterity and the hardware used. The only way I could see that being meaningful if you did it on the exact same laptop side by side with Mac and Linux and tweaked the acceleration profile, but it doesn't actually sound like the author is talking about installing Linux on a macbook.

Numbers 2 and 3 are already in libinput. I am still struggling to understand what it is the author feels they need to fork the project for; there is some additional software that needs to be provided to really get the mac-like desktop experience with gestures, but that is covered by the libinput-gestures project. https://github.com/bulletmark/libinput-gestures
I have a thinkpad X1 1gen and the trackpad in almost every distro is really bad. Single tap moves the mouse, making me fail almost every click on small things.
They can be, but the oral absorption pathways are complicated. You need to be sufficient in other vitamins, I can’t remember which, in order to absorb vitamin D from your food.

Generally it’s recommended that sun > supplements, for a few reasons. But if you can’t get some sunlight supplements are not a bad choice at all.
For those curious, Musl's malloc implementation is currently being re-written for higher performance and robustness, see https://github.com/richfelker/mallocng-draft
Python being python, can't you swap out the import machinery and change which compile function is called, alternatively call your own preprocessor before compiling?