skysight-inc/HackerNews huggingface dataset:
> I would not change sum but just filter out every other element and feed that new list to the sum function.

Of course, and I would do the same in my imperative program. A dumb example like I said.

> Then the caller can use higher order function like fold and filter to do whatever it needs.

Right but then at some point you have a chain of ten of these calls, and you have it _all over_, and so you figure hmm lets make a separate function out of that, code duplication is bad after all.

And then you find your new function has a bug and you need to change it... Will all the users of this new function be OK with that bugfix?

If you don't wrap up these chains into new functions, how do find all the places you need to change once you need to make that bugfix?

> having easy to understand composable functions can help avoid bugs

Sure this I get, which is why my imperative code also contains lots of "do one thing" methods that is used as Lego bricks. And I use a fair bit of functional-ish code, ala LINQ, where it makes sense.

I wish I had discovered functional programming at an earlier stage, where I had more time to experiment. I think it would be very informative to make two non-trivial feature-equal programs in either style so I could compare.
If by "this effect" you mean particles fluctuating so that every field has at least some role to play in every interaction, it also applies to empty space, which has a nonzero energy density due to its own fluctuations. In fact, empty space has an enormous energy density due to this stuff. It is so enormous that it's implausible, and that's considered to be one of the major unsolved problems in physics.

If by "this effect" you mean radiation occasionally interacting to produce particles, that actually doesn't change the amount of gravity in the universe when it happens, because energy is what gravitates and it's conserved in particle interactions.

https://en.wikipedia.org/wiki/Cosmological_constant_problem
Ask HN: What is a small(ish) RFC to implement for learning purposes?
I recently setup my own CalDAV and CardDAV server (using Radicale https://radicale.org/3.0.html), and I wondered how I can send and receive objects from this server (implementation). This journey let me read the CardDAV RFC (https://tools.ietf.org/rfcmarkup?doc=6352).

Now I want to practice implementing RFCs, since I hav e never done that before. It looks like the CardDAV one is quite big (?) for the first try.

So I wondered: Do you recommend or know a RFC which is easy/small to implement so I can get my feet wet?
> Why are young girls so awful to each other?. I don't think it's unreasonable to suspect that it has to do with "hormones"

I don't see why this is relevant (if it's even true). The article barely talks about bullying or girls being awful to each other. It more broadly talks about people spending hours in their feeds comparing themselves to what they see and feeling bad about it, which seems like a very different problem.
Some features take a long time when you have millions of users and billions of loc. Goetz recently did a State of Valhalla interview here: https://www.youtube.com/watch?v=x1_DBqJrykM
To advance your point, the ability to bear children is kind of the definitional distinction from which all of these biological distinctions derive as well as tons of social distinctions. Race has no such analogue.
Is it? How is it any different from something like Privacy.com?
Which studies are your claims based on?
Sorry, I agree my grudge comment came off hard. No offence I hope?
In college, I suppose I must have looked especially naive, because this gal-pal of mine sat me down and explained in a rather grave tone: "at_a_remove, there are two things you should understand about women. First, everything we do is about men. Second, women hate other women."

I scoffed. I scoffed for a long time. But there is an uncomfortable kernel to her statement that I have seen again and again, long before social media, in young women and their constant status hierarchy struggles, and Mean Girls wasn't even the first time it was made too evident. I would point to Heathers and Carrie as even earlier examples. Teenage girls are vicious with one another's emotions and friendships, trusts and secrets, in a way that boys and men rarely get a glimpse of.
You talk as if psychological or sociological research held any value at all
It is upsetting to me that you appear to believe vaccines replace the role of your immune system.
It's a weak point.

You can also pull API keys from most apps and get them banned from advertising networks.

You can hire people to review bomb.

Hire people to make fake news about a competitor go viral.

Someone willing to do illegal things can always hire other people to do illegal things for them "anonymously"
There's one species of humans still around. Race is a non-scientific category that got made up a few centuries ago, and has continually changed over that time. Ethnicity is the regional and cultural group of usually related people that everyone prior to western colonization understood as separate groups. Often you could assimilate into a different ethnicity.

So Romans would have understand themselves to be different from Greeks, Persians, Egyptians and Jews.
In that case, I think a Java Agent is better suited to your needs. We have one we wrote that will intercept a class load and hot-patches the byte code.

This allows us to fix bugs in 3rd party software or the JDK itself until fixes can be released upstream and we don't wish to release an internal version of an artifact. Not something we use exclusively for obvious reasons, but it's a handy tool to have in the toolbox when we're forced up against a wall.
Its called the Kessler syndrome. Small fast moving debris crashing into larger fast moving debris destroying it creating even more smaller fast moving debris that keeps crashing into more debris etc etc etc.
Every country that funds social programs with an income tax has mandatory employee contributions, differing only in the visibility of the cost to the employee (up-front taxes vs. a line-item in the pay stub vs. a "employer portion" which isn't reported to the employee but directly impacts the employee's wages).
Implying that Facebook/Instagram isn't our culture.

It's one and the same.
SF Tech Happy Hour on the 30th
Hey HackerNews --

Imagine being able to meet up with others in the area in tech. We’re aiming to put together a tech happy hour.

We think this would be a great way to meet other engineers. I’m an engineer at Netflix. YC founders, bankers, and engineering friends are in too.

We’d like to see if we can do this once a month.

RSVP: https://www.eventbrite.com/e/sf-tech-happy-hour-tickets-170239096721

LOCATION: Spark Social in Mission Bay, San Francisco

TIME: After work (6PM) - Thursday, 9/24
It's jammed packed full of nonsense meme accounts giving snake oil pop "psychology", which is extremely dangerous.
> -20 degrees Fahrenheit to 110 degrees Fahrenheit — a 130-degree range. On the Celsius scale, that range is from -28.8 degrees to 43.3 degrees — a 72.1-degree range

So, since in Celsius we (including the author) use a single decimal place we are comparing accuracy of 1 in 130 with 1 in 721! Maybe the author was a bit short on arguments.
If it's after tax profit they were talking about then you can claim an annual investment allowance of £1 million.

https://www.gov.uk/capital-allowances/annual-investment-allo...
> my experience.

> For me and my past teams

> piles of boilerplate verbiage like this

I'd love to have a look at your code because this isn't my experience at all. What's your background ? What's your team background ? Are you writing go code with the mindset of a java/cpp/whatever dev ?

Have a look at the source code of the top 10 go github repos, you won't find any of what the blog post talks about, because it simply isn't the way it's done
Canadian a&w is a totally different beast from the American franchise, related in name only, and my favorite fast food by a long way.
Agreed. SOME may behave this way, but without more info who are we to say that they "are predisposed" in general. Teenage years are very hard for tons of reasons mentioned above and the way people handle those stresses comes down to tons of factors, support systems, upbringing, context, culture, etc.

Facebook is immorally exploiting that stress.
Hence they can no longer afford to do the market segmentation.
Or just better distribution. It’s not hard for an Apple picker to pick a few dollars worth of apples per minute at harvest time, but that’s the supermarket price, not what the farmer can sell them off for per bushel.

I know picking isn’t the only cost, but it seems like the cost of picking doubling or trebling should have minute effect on profitability.

Farmers need to get better at capturing the price that consumers are willing to pay.

Somehow, farmers markets have become the place to pay premium prices instead of lower prices.

Or convince consumers that a bit of scab on an apple is fine to eat and doesn’t need to be destined to make sauce or juice.
> Specifically the forced proximity with people who may bully you, or encourage damaging or anti-social behavior, as well as the environment where social status, and the avenues available to gain it as a high school student, is the end-all of your existence.

...

How is that different than an office?
This is also disingenuous, since they could've gotten the tree cut down without the nuke and so the nuke has no "exclusive" positive value. Social networks have some positive value that is exclusive to them, like the ability for people to connect with friends as well as diverse groups of strangers - both things that would otherwise be much harder if not impossible for many.
You get null for free.
Having everyone have a common cold whole year round (we would have to get infected with new strains every few days) seems like 10x worse then just ignoring the pandemic and letting everyone get covid
This looks like the API I was looking for to compute the best screen brightness in the absence of a light sensor in Lunar [0]

I would probably do a request per day for each user of this feature, which would amount to about 300-400 requests/day. Would that fit in the non-commercial use tier?

I would be happy to start paying like $5/month if I'll find a way to improve the brightness calculation logic with your API. If you don't yet have a payment processor integrated, maybe we can work it out through something simpler like Patreon or Buy me a coffee recurring payments.

What I'm not sure about is what data would best fit my needs. I was thinking of using Cloud Cover first but I don't know which one would affect the daylight perceived brightness:

cloudcover
cloudcover_low
cloudcover_mid
cloudcover_high

There's also the (new to me) sun radiation data which seems even more fitting to what I need, but again, not sure which one to use:

shortwave_radiation
direct_radiation
diffuse_radiation

I would guess that direct_radiation is what I need but I thought I should ask first in case you have more insight into what data would most fit my use case.

[0] https://lunar.fyi/#location
How the demographics of your neighborhood changed
Maybe I wasn't clear. I meant, why have the ML algorithm disable the account automatically if human review happens nearly 100% of the time, rather than simply have ML flag the account for human review, and let them decide whether to disable the account.
Yeah, and I think it's important to note that there's NOT much incentive for big companies to help us get this right; there's just so much opportunity for them to insert their own little whatever in the middle; so they'll happily partly solve the problem for us, but usually involving phoning home in a way that we don't need.
fwiw, the US has been increasing its vaxxed % by about 3-4 points per month. Not great, but still improving.
I never really changed my mind about Bitcoin.

I always thought that Bitcoin is an interesting and novel technology, and risky speculative asset.

I’ve also always thought that most of the crypto ecosystem is fraudulent schemes designed to separate people from their dollars, and that this unforgiving nature and lack of institutional and state control will likely preclude mass adoption as an actual currency.

So no, not much has changed, though the second point has gotten much, much worse.
How often certain outlets report about the wars in the middle east fluctuates massively on the actual wars, though.
Huge amounts of institutional investment, and disproportionate control by the very wealthy makes BTC markets unattractive as they start to resemble the traditional markets BTC was supposed to free us from.
I don't think crypto would solve this particular issue. Stripe needs the ability to back out of moving money, so there's several settlement periods for different parts of the transaction and ways to appeal transfers retroactively.

I suspect fraudster's are able to wait out this period without detection so they can cash out. If this is the case, then even time locking smart contracts won't help, as the fraudsters just wait out the time period. At that point Stripe would have even less recourse to recover money, as retroactive transfers are not possible at that point.

I could see services such as their debit card offering being abusable too.

They also likely have to worry about things such as predatory recurring payments as those will result in chargebacks which could ultimately fall on Stripe to foot.
Yes, this cannot be overstated. You can be pro or anti nuclear power, that is actually not the important part. The Green Party was (at most) the smaller partner in the governing coalition, but only for a short time (8y) in the last.. 40 years and as patall wrote, solar and wind has been completely sabotaged by the leading parties since then and reading the news you get a feeling that indeed the automotive lobby is one of the key drivers (pun not intended) of our environmental plans.
It's just not a grammar book, it's a language book in the sense that it teaches how the language is used rather than "constructed".

I always recommend people learn the use of a language before the grammar at the beginning, and then transition into much more intensive grammar study later, likely exactly at the point when you got frustrated is when introducing grammar would be perfect. This is especially true when the written grammar of a language can look very different than the sound of a language (especially if written differences are hidden by identical sounds in the language, like in French).
Dig up the fruit trees and sell the land for housing?
Some other news in relation to the release:

- (Proposal) Moving JDK LTS versions to a two year cadence [1]. Java 21 will be next LTS instead of Java 23.

- Oracle JDK is now free for commercial and production use [2].

- A new Java developer site [3].

[1] https://mreinhold.org/blog/forward-even-faster

[2] https://blogs.oracle.com/java/post/free-java-license

[3] https://dev.java/
> If you have a vaccine, then your risk of death is far below that of the flu (statistically).

That seems worth checking.

US flu deaths per year over the last 10 years ranged from 12000 to 61000, averaging 35900 [1]. That's 3.7 to 18.6 per 100k, averaging 10.9 per 100k.

Weekly COVID deaths among vaccinated people is 0.1 per 100k [2].

The flu season is typically about 8 months. A weekly death rate of 0.1 per 100k over 8 months would be 3.5 per 100k.

So...about 1/3 the risk of dying from from flu in an average flu year which arguably is indeed "far below".

[1] https://en.wikipedia.org/wiki/United_States_influenza_statis...

[2] https://www.cdc.gov/mmwr/volumes/70/wr/mm7037e1.htm
Replace "stupid drones" with "thrown in jail, families abused, disappeared" and you have an accurate, non-sarcastic assessment.

Look to our friends in Hong Kong.
The last time I was in an A&W was most of a decade ago. All I wanted was a root beer.

They were out.

Of A&W root beer.

I haven’t been back.
I've developed a healthier way to use IG for myself. I follow only a small number of artists in the particular fields of art in which I'm interested and I keep my accounts private. As a result, I'm limited in what's available for scrolling and the 10 or so people who like and comment on my art I know are actually interested and very likely not bots.
Ocean Regime Shift Is Driving Collapse of the N. Atlantic Right Whale Population
Russia's Vladimir Putin is quarantining after Covid-19 cases in his entourage
UK

UKpol is not far off nowadays either, that one didn't used to be so terrible.

Never really read AskUK but I don't doubt it's similar. The only way forward is to keep it casual.
Not the person you're replying to, just a similarly perplexed Canadian. They're the only fast food joint I go to here in Canada when I'm not traveling (and, really, other than traveling that's maybe 5 to 10 times a year) but their quality here is quite high for the category and price.
> If you teach your kids not to consume drugs, why Instagram should be any different?

Imagine if all the other kids at school used drugs on a daily basis, that there was advertising plastered everywhere telling you that drugs are cool, that successful people use drugs and that your worth in this world can be directly tied to successful use of drugs.

I don't mean to sound mean here, but are you a parent? If not I suspect you're not really aware of the realities of parenting, particularly once a child becomes teenage. You can only do so much. And you certainly can't win against a multi-billion dollar enterprise determined to make your rebellion-inclined teenager do something.
Meanwhile the only real android competitor is manufactured by one company who doesn't allow even the end user to install apps not directly approved by Apple.
Instagram is jammed packed with meme accounts spreading dangerous pseudo-pop "psychology". This is a wild fire, and extremely dangerous. Facebook is corrosion.
I should still pre-emptively trash some valuable Sun-Synchronous orbits before anyone else launches. Incentive is still there!
No offence, I understood from where you came.
I am actually all for YouTube becoming less of the behemoth in the market. One way of accomplishing that would be to enforce human moderation instead of machine moderation. Because nothing at the scale of YouTube can (sustainably) use mostly-human moderation and I suspect even "machine-assisted human moderation" would simply require too many people.

If we take "you need about 3x the time of a video to make a considered moderation decision" as a baseline, and trust the numbers from https://merchdope.com/youtube-stats/ as valid, we would need....

300 hours per minute * 1440 minutes per day * 3 moderator hours per day. Let's round that up to 1.3 million hours of daily reviewer time. Let us also assume we have super-human reviewers that can squeeze out 8 hours of solid reviewing a day. That means we need 160k - 170k reviewers. And then we need to account for illness and hols, so make that about a quarter of a million people, to keep up with the incoming and maybe make some inroads on what's been uploaded in the past.

That is actually less than what I expected, I thought the numbers would end up in the "low millions" (call it 3.14 million).
Correct or not, I would assume it's the reading everyone made. We all read in good faith and write in good faith, but if everyone misreads something you write, either everyone else has to try harder to decipher it or you can perhaps try to phrase it in a way that's less ambiguous.
You only learn how difficult it is by attempting it.

We breed zillions of animals without ever asking them for consent. In part because it's impossible. Those are some brand new goalposts.
“Only do shit that immediately improves my own life.”
> Can mammoths really reverse climate change?

It’s so obvious: we should sequester carbon inside of wooly mammoths.
I can just see that backfiring as well. "I paid for more meat and all I get is this tiny thing."
I'd advocate for scrapping council tax and business rates, replacing them with a land value tax payable by the freeholder rather than occupant.

I just don't see the current Tory party touching it with a barge pole.
I'd suggest looking at the Invariant mass page. What you are talking about isn't rest mass of a photon, rather the center of mass invariant mass[1]. This arises from the equivalence principle, the relation between mass and energy, not because a photon (a massless particle) has a rest mass (it doesn't).

It might be a pedantic argument on my part, but still, it is worth being clear on this point.

[1] https://en.wikipedia.org/wiki/Invariant_mass#Collider_experi...
Tomato has always been my favorite router firmware. It's a shame it hasn't been continuously maintained. I never donated to it but in retrospect I would pay for it. Last time I updated my router I used another fork called AdvancedTomato. It looks like that's dead now too.
> I meant that the vast majority of Britons (and of Westerns) believe that immigration has a negative effect on wages, which is a false credence.

Maybe they read Bank of England reports? [1]

> The static results suggest that the statistically significant negative effects of immigration on wages are concentrated among skilled production workers, and semi/unskilled service workers.

[1] https://www.cityam.com/bank-of-england-mass-migration-can-de...
How do you think a vaccine works?
I mean my local hospitals have been publishing icu bed usage since near the beginning of the pandemic and during every surge they run low on icu beds with the majority of the beds used by covid patients.
The tone of your comment is not helpful, but the factual claim you've made is definitely correct. This is something that I think seems reasonable, yes. But I am not a biologist, and no one (as far as I'm aware) has made any attempts to scientifically test my claim. At best, we have to call this a plausible idea. At worst, of course, it's not even that.
Facebook is the business that enables this problem on their platform. This problem could disappear overnight if Facebook decided to moderate their platform. Facebook chooses profitability over a safe platform for their users. This is where regulatory bodies should step in.

And yes we need regulatory help. Tens of millions in this country are experiencing mental health issues as a result of these platforms. When we understood that other industries were causing a health crisis we regulated them, the same needs to occur here.

Note. I don't know what the regulatory solution should be, but we should be having that discussion.
Our concept of race is way too course-grained to make it useful in this sense. And those clusters of features you mention would not correlate to what we consider a race.
I think this comment would also have worked without the "r" word.
The whole point of the original comment was that 1. someone with the vaccine and someone without both had an identical reaction to the virus and 2. just because everyone on the pro-vaccine side makes claims that this vaccine is safe, there are no long-term studies on it. So my point about my immune system was that yes I was willing to roll the dice and deal with the virus when/if it came to me. And I did. I will get downvoted for this on this particular site, because it is way more skewed to people that feel that the vaccine is a safe and effective measure. But, I didn't roll a 6 sided die while my friend rolled a 20 sided die.
It's cultural.
Great to see there is support for M1: https://openjdk.java.net/jeps/391
the median american is not paying california taxes, house prices, schools costs etc
This is very common across many industries. It doesn't cost much more to manufacture a sports car vs a sedan, but the price is very different.

No product is based on the price of manufacture, it's based on the price people are willing to pay.
Deception? It can confuse the target about the motives of the attack.