skysight-inc/HackerNews huggingface dataset:
I made a curated list of Kernels on Kaggle that I use to study Data Science.
A really valuable starting point for this question of organizing is to talk to someone who is a labor expert. They can share strategies, ramifications, safety protocols, etc. and can think with you about how this applies to your situation. Organizations like Tech Workers Coalition (TWC), Boston Tech Workers for Justice (BTWJ) and the Campaign to Organize Digital Employees (CODE-CWA) can all be valuable groups to reach out to for this support.
Is there any upside to industrialized livestock farming? E.g. the enormous number of animals that get to live?
> I'd agree that this is a more effective path than attempting to regulate Uber, but also do not think it's mutually exclusive with the view that Uber has exploitative labor practices, even if they are not directly coercing drivers to work for them.

Right, but my point is that it shows where the priorities are, that it's not about actually helping people.

> This only seems like a relevant argument if the sole purpose of UBI is to create some kind of deregulated libertarian society. I don't view deregulation and UBI as being intrinsically linked -- indeed I would prefer to see UBI and more regulation.

That's exactly my point: some people just have a strong desire to have a say in everything. It's perfectly natural thing for human to wish for, the power to control everything. What we actually want as a society from our superiors who rule us though is to control things for our benefit, not to allow them to satisfy their power urge.

When you say you want "more regulation", you most likely mean "more beneficial regulation", because I'm quite sure you can imagine all kinds of detrimental regulation that could be introduced (and if you're having trouble, just think of what kind of regulation your political opponents would introduce). To circle back to the Uber question, when you regulate the its relationship with its drivers, you need to ask yourself: who's benefiting? Who's losing? Is the regulation bringing surplus for everyone, or does it actually result in deadweight loss? If, for example, you require Uber drivers to be paid at least $200/hour, everybody loses, because hardly anybody is going to take the cab anymore, and we're all worse off.

If you don't do this analysis, then the regulation becomes pure exercise of power, of the ability to control the world as you please. That's not what the society signs up for in representative democracy, and I don't think you really want more of that.
yep, I do not see those ads as I have Priv Badger and uBlock, but they are clicking at 15 & 21 requests blocked, respectively.
Why are human skulls shown next to the cows and chickens? When cows or chickens are killed they leave behind cow skulls and chicken skulls not human skulls.
- Only correct for things where the benefit of the correction outweighs the reduction in motivation that often comes with being corrected (e.g. if it's a critical correction, do it! but if it's a non-important benefit, consider skipping it)
Applying social distancing to passenger transport
To put some numbers on that, AirBNB compensation is no joke. They're paying senior engineers 200k+ base and nearly 200k stock. https://www.levels.fyi/SE/Airbnb

I have (regrettably) not found many companies in other countries which pay that well, except maybe Google Zurich, which is hard to get in I hear.
Desirable areas have lots of demand for both regular apartments and places for tourists to stay.
I think this is a great question because it tends to come up a lot.

What do you call the following common operations?

- 1 + 0
- 1 * 1
- "string" ++ ""
- [1, 2, 3] ++ []

As far as I know there is no term for this grouping of operations outside of functional programming languages which use category theory.

We call it a "monoid" based on the following precise definition:

> In abstract algebra, a branch of mathematics, a monoid is an algebraic structure with a single associative binary operation and an identity element[1].

I used the "identity element" specifically in my examples above since they tend to be a good way to grasp what is going on.

It turns out a "functor" has more properties than just being "mappable", which is why we like using the more precise term in our literature. However, it's still a decent intuition if you aren't familiar with the concept.

For example, in the parent comment the 'f' in the second line of code shows that it is some kind of structure that adheres to a Functor, and also infers that this structure can also be mapped over. This is a nice property because without caring about the implementation, we can still do functor-specific operations over abstract structures.

[1] https://en.wikipedia.org/wiki/Monoid
The crazyness of the best country in the world. "I rolled the dice!". This looks insane to any non-American.
But let's say hypothetically, if we stopped our people from eating meat entirely, doesn't that collapse the involved industries? Both foreign and domestic. What does that mean for impoverished countries who rely on exporting meat to other countries?
"Might makes right!"
So, here's what I wonder about this. I think most people who think about it can agree that a lot of factory farming conditions are terrible. Cramped quarters, lack of outdoor time, space, exercise, poor food, etc. So working toward eliminating those problems seems incontrovertibly good to me.

However, let's say hypothetically we're only talking about farms run with a focus on animal welfare. (And not just giving animals 10 square feet of 'pasture' so they can say they're free range, but really.) So the issues of poor living conditions are removed, and we're just talking about killing animals for meat. If people stopped eating meat altogether, most farm animals simply wouldn't be born in the first place. Farmers aren't going to raise animals if they can't eventually earn money from them, obviously, and most of these animals wouldn't exist in large numbers in the wild. So what I'm wondering is, for a farm animal is it not possible that a decent life followed by being slaughtered for food might be superior to no life at all?

Obviously if we think in terms of humans, that would be horrific; we consider killing humans unnecessarily an absolute moral wrong. If someone decided they would have a child, but only if they could murder them after some period of time, that's obviously monstrous. I'm just not sure that that analogy applies to farm animals who certainly are living creatures who feel pain, but don't have the same understanding of the world and their place in it that humans do. To me that's the rational reason why the the idea of killing humans could be considered differently from killing other animals. That said, I expect the real reason we instinctively feel that killing humans is wrong is more an evolutionary drive to protect our own species.

I do grant that it's uncomfortable to think about when the analogy to humans is drawn. For some I'm sure it's uncomfortable even without consciously making that connection. I can absolutely understand why someone would therefore conclude it's morally wrong to use animals for food. I'm just not sure I agree.
Wow. This is my comment most downvoted in history, and I would really appreciate an explanation why from someone who understands why (no hard feelings, I don't care about internet/brownie points, but the reason I'm here on HN is to learn and downvotes only help me figure out that someone thinks I'm wrong, not why).

If you think this is factually wrong, please point out why. If you think it's stupid (even though it is not factually wrong), I would also appreciate an explanation why.
I agree that there is a general backlash against AirBnb in certain locales but this was a risk before COVID too. I don't see how COVID would compel cities to move FASTER to ban short-term rentals. During a time like this, aggressively cutting down a good business (for property owners) seems like a bad move in general.

The conversion of short-term -> long-term is a side effect of reduce demand. Once demand picks back up, supply will return.
I guess the answer is simply: just study funcional programming. 30 minutes into any basic haskell course (e.g. the wikibook, or real world haskell) and you would know what a type constructor is. I don't know, you can't expect to magically know things without studying them first? :) What you mean when you say "functional programming speak" is just common technical terms with a specific technical meaning. You wouldn't complain you don't understand the meaning of "Minkowsky metric" before learning relativity :p
That also means they have no expectation for the market to come back for at least 2 years.
Timers and JS get throttled for inactive tabs and windows.
But the pandemic ends eventually, one way or another. The question is what happens at that point: bacchanal or hermitage.
10 things I wish I knew when I started professionally
It was way more common to simply not attempt to organize projects in this way "BITD" - it complicates your build system because now it has to manage paths, which entangles it with the OS file system. Not every file system even has subdirectories and not every tool acknowledges or agrees upon how to use them, so depending on how antiquated their dev environment was, it may have been totally impractical.
Reminds me of:

https://xkcd.com/1338/
Strikes me as a great way to harden opposition.

Meat eaters are going to want the nasty images taken off of packaging, and the cheaper option is to lobby to remove them, not pay substantially more for an idyllic, pasture-raised, humane future.

Congratulations, you now have a pro-factory-farming lobbying group with actual grassroots support.

Might also have more people on your side; might not. Worth considering the adversary in any move of this nature.
I"m assuming you're being sarcastic, but I would love a similar style page showing how many trees are burned and how many fish are harvested vs. how many fish are repopulated.

Thinking about memes as living organisms (infomorphic beings?) would be an interesting way to frame cultural decay.
Ask HN: What lightweight JS libraries do you use to keep codes short and clean?
Probably because cow and chicken skulls are less immediately recognizable. Also there are likely not emojis for "chicken skull" or "cow skull", and it seems that's what this displays.
There is a different between taking a loss to fund growth and taking a loss because a market segment is fundamentally unprofitable.

Uber uses the tech startup strategy of funding aggressive growth with VC. This means operating at a loss as long as revenue and the customer base grows.

California is a very mature market for uber. There is little to no growth potential left there, and the government is about to increase the operating cost dramatically. It would make good business sense to pull out of that market.

What complicates matters is that Uber is based in San Fransisco. What kind of power does the state of CA have over companies based in CA but that don't operate in CA?
I don't think the core of what I said is about _fulfilling_ said promises -- they're obviously nonsense -- so much as Trump's deliberate marketing to the working class.

He's selling one thing, but delivering another. His first public appearance as president elect was to walk into a $$$ steak restaurant in Manhattan where he walked around letting every wealthy person in there know he was "going to lower your taxes." A couple weeks after running basically anti-semitic ads attacking the global elite and wealthy bankers and George Soros and what not.
Where is that? Many countries are already taking seasonal workers with 14 day quarantine.
Ask HN: Are there any fully programmable smart speakers?
i.e. a speaker with a microphone built in.

Amazon and Google smart speakers are closed.

There don't seem to be any others I can see that are open to programming.
It’s not that thick, especially if you have a big screen and a busy website in the browser window
It depends who you are. I would pick a chicken over the current President.
Unless your entirely Kubernetes (and even then there are some sticky points), using a cloud of any kind already has you "locked in" with some of the most basic things like IAM. If you are going into a cloud you may as well reap the benefits of the premium you're paying.
> while never forcing a populace to do something against its interests or will

Except for the westerners who disagree with this. They can be subjugated.
Digital ‘virus’ helps researchers map potential spread
From the methods (the first link, 4th para under "Methodological Details"):

The overall adult sample is weighted using a raking procedure to match the demographic
makeup of the population by sex, region, age, education, race/ethnicity, marital
status, and population density according to Census Bureau estimates.
I'm in agreement. I personally really like https://pinboard.in
> The hardcore “sound types” crowd believes that anybody using dynamic types is doomed.

What they believe is that "dynamic types" is a misnomer, and if you think your program is checking dynamic types, it is in fact doing runtime pattern matching over a variant record. There's nothing wrong with pattern matching and variant records; but conflating them with types is just nutty, and using them pervasively as part of the ordinary flow of code is no different than programming in old-style VB.
https://support.mozilla.org/en-US/kb/canary-domain-use-appli...

If your smart tv checks to see if it should disable DOH then it would work.

I wouldn’t bank on it doing so though. Best to block all iot devices.
> for up to 39 months

You spelled weeks wrong.
"Mostly" is a useless metric when they're eating as much meat as they can afford, and that just happens to be not much.

The only exception I'm aware of is India and since that's religious it seems difficult to scale. Islam has animal slaughter as one of its few obligate rituals.
> Is there also a risk with FP too that people fall a little too much in love with “elegant” code only to find out later that maybe simpler is better

I know some functional programmers who write complex code because they want to use the latest features of the type system. They get additional type safety, or better code factorization, but it results in code that is very hard to read and maintain, especially for people not as skilled as the initial programmer.
I think you have it backwards.

[edit] For clarity: I generally understand employee rights and protections, at least where I live, and I consider it part of my responsibility to communicate about them in concrete, factual ways, and to try to ensure that they are upheld.
I wonder what kind of system you can create without having any specific country dependency at all.

Certainly the breakdown in influence for say your standard PC will be hard to avoid any USA input, no matter the OS due to code submissions/contributions and then that's presuming honest location actors. Let alone binary blobs for drivers.

So hardware and OS, you will be pushed to avoid any USA influence.

After all USB, Intel did that, clearly USA influence, as are many standards, so I dare say that unless you build your own CPU and everything, you will be having some USA influence upon your system, one way or another. Let alone many other countries.

Heck even all those 6502/Z80 systems - USA companies invented those, so not even the humble Sinclair ZX81 would still have USA in there.

Though I'm sure that Russia and China do have computers without any USA in them. But then, you start to see how that works.

Gets down to trust, which for some can be a choice of sandwiches they don't like but they need to eat. Most like the sandwiches, some like all three flavours and some make their own flavours, but using ingredients from all three. Some will bake their own bread and use the standard ingredients. Very few will make their own flour, bread, ingredients all by themselve. Coz they still use an over and knife made by somebody else.
See, the efforts to exclude any potential influence is so deep that to completely remove them all is beyond the scope of many. So gets down to a balance, a trade off of trust.
Thanks these explanations were all really helpful. Cheers.
I am content with a research which already nearly doubles the energy density of Li-ion batteries (0.9 to 1.76).
I also think the idea of using carbon instead of lithium is a step forward.

Now, how to squeeze it into an iPhone 14!
> Sounds like a very American centric view to me and not even sure it applies in the US. In most countries personal ride services are consumed by upper-middle-class professionals at the expense of public transportation and road congestion.

Usages definitely rise with income, but that's true for most goods...

Consumers of ridesharing are anywhere from white collar workers with college degrees, to working parents that use Lyft/UberX to get to the airport, etc. But a $10 increase in fare means literally nothing to a millionaire / billionaire, but means a lot to a new grad, or even a median white collar worker. It's still regressive.

And also, this argument applies to any form of wage floor, not just ridesharing. We as a society try to guarantee a minimum standard of living (which is a good thing), and we can do that either by employing wage floors, or through raw welfare — we collectively pay for it in one way or another. The moment you institute a wage floor, for any kind of wage: food worker, transportation worker, etc — we collectively pay for it through price increases, which means nothing to a billionaire. Instead, having a robust social welfare system ensures the same standard of living, except the new grad worker pays less into it than the billionaire.
I guess in your hypothetical alternative reality where Amazon had signed such an agreement, that would be a relevant question. In this one however, it is not.
They're probably about the same in my mind, but I have nothing other than my gut instinct to back this up.

Family-owned restaurants can be clean or dirty, and a corporate chain can be clean or dirty too.
This link should answer your questions and give the backstory.

https://news.ycombinator.com/item?id=19828317
Wenger 16999 Swiss Army Knife
IPFS does this. It doesn't have blockchain incentives though. Hosting is based on good will, like with torrents.
I am not sure if veganism and vegetarianism as preached by some religions can be practiced everywhere on the earth. Places which are very cold during the winters cannot grow trees and vegetables, and the people there need to depend on meat from the animals for their survival. What are your thoughts on that.
>Indifference was more common, but, is that really a good outcome?

Indifference among people already using Firefox is a good outcome if it is viewed favorably by people new to Firefox, which is who I would guess these kinds of changes are aimed at.
HD app has in-store GPS for finding stuff so it seems to be working.
Biological to Artificial and Back: How a Core AI Algorithm May Work in the Brain
> The UK, France, Spain, and Italy are all countries that have temporary morgues because of covid-19.

Aside due to the fact that there were high number of cases and the skewed death rate towards the elderly, couldn't also this be due to the fact that (at least in Italy) tests are done only if a patient is hospitalized?

I mean, the evidence is so far scant and anecdotal, but the timeline for treatment (I'm aware only remedisivir has been proven to be effective, but protocols also use other drugs, even if the efficacy is unknown) suggests that the earlier the treatment, the more effective it will be.

If only admitted patients are tested, that usually means a lag from symptom onset, which may ultimately be detrimental.
I was working for a small non-profit focused on youth voting. I was working out of the Americorps/CityYear office in Philly that morning. My dad was the Director of IT for a major University.

It was pretty early in the morning when it hit. And it hit fast. I received I Love You emails, but knew something was up. Called my dad and shit was hitting the fan there and he gave me a heads up what was happening. While I was on the phone with him, the office I was in started having alot of commotion as it started going through their inboxes.

I don't remember there being much actual damage, but it was stunning how fast and widespread it was. It's one of those days you look back on and remember as a day the internet changed.
I took a Haskell class in college for that

It did not help much.
because the test binaries they used were not really close enough to reality to test finding real vulnerabilities. and BAP can, which, if you want to learn static binary analysis, seems useful
>If you really want systemd to add this then I'm sure they will look at your feature request or PR.

The less systems touches the better.

>I would urge you to actually check with your system instead of blindly dismissing me as wrong just because your bash script happened to work without error.

Who said this was bash? The script from all those years ago worked perfectly without race conditions.

>They don't have the problem because they use special syscalls for this. But SysV-based systems have historically used procfs to implement ps.

Makes no difference, procfs works fine for this.

>Try unmounting proc and running ps or kill and see what happens.

You're effectively never unmounting procfs. Also, if you managed to, systemd would crash!

>If you can't do it then your system suffers from the problem, which is that you can't safely send a signal to the process after reading it because there is no guarantee that the actual PID will persist in between calls to read() and kill().

There's maybe 10 lines of code to ensure that logic. Again, middling sysadmin work.

>POSIX says nothing about this because it doesn't specify procfs, or how pkill should actually be implemented. This is all fair game as far as compatibility is concerned.

POSIX does say something about this; read about signals. You stop the process before killing it, and ensure that the start time is the same for the stopped process before the kill. That completely eliminates the race condition, using basic POSIX signals.

>There is also the other more obvious race condition in your bash script which can also be pre-empted in between the calls to ps and kill.

That race condition is eliminated with the logic above. That eliminates the PID reuse race condition, even if it's very rare.

>reuse has been a known problem for decades and Linux finally got a solution to it a couple years ago with pidfd_send_signal.

That functionality is where it belongs now, so instead of coding a logic every time you have to ensure PIDs, it's now handled for you.

>There is also the matter of cgroups but I am not going to get into that because I doubt you will want to hear about it.

Correct, I don't want to hear it from someone who doesn't understand POSIX and basic/intermediate sysadmin work.
Fossil fuel-free jet propulsion with air plasmas – EurekAlert Science News
Excellent book that one. I'm working through it right now. It's dense, but good and approachable.