skysight-inc/HackerNews huggingface dataset:
So overly complicated. The "state of the art" of FP now means heavy type systems and heavy machinery to deal with them. The 80/20 pareto of FP is just pure functions + composing those functions and it works in any language. Here is all of it in python:

from __future__ import print_function
import json

struct = json.loads(open('staff.json','r').read())
staff = struct['staff']
salaries = struct['salaries']

def visit_pets(staff, cond, visit):
for person in staff:
for pet in person["pets"]:
if (cond((person, pet))):
visit((person, pet))

# Find all cats owned by any of our employees
visit_pets(staff, lambda t: t[1]["type"] == "cat", lambda t: print(t[1]))

# Find each pet and their owner
visit_pets(staff, lambda t: True, lambda t: print("{} belongs to {}".format(t[1]["name"], t[0]["name"])))

# Give a $5 raise to anyone who owns a dog
dog_owners = set()
visit_pets(staff, lambda t: t[1]["type"] == "dog", lambda t: dog_owners.add(t[0]["id"]))
for staff_id,salary in salaries.items():
if staff_id in dog_owners:
salaries[staff_id] += 5

In my view it gets you 80% of the power of optics in exchange for zero machinery and can be understood by almost anyone. For doing these kinds of ops on a deeper structure, using Scala/Javascript or something with first-class support for HOFs, folds/filters/maps would work better.

I wish more people promoted this view of FP - just pure functions, higher order functions and referential transparency. It gives you the ability to reason locally and extend code well. The remaining type system and architecture astronomy buys very little in relation to what it costs.
The article claims they forged an FBI document, as far as I can see, not that they impersonated an FBI agent. I'm not quite sure that's the same thing and it's a civil case, whereas that appears to be criminal law.
Mirrors reverse front and back. If you imagine your face painted on a surface, like a mask, then look at it from behind, that is essentially what the mirror is doing.

I think this is the best intuition, among other things it gives the right intuition for how circularly polarized waves reflect.
That has nothing to do with 'preferring a popular first name', that is a part of how people are named according to lineage in islam.
Amazon is correctly removing your reviews, because neither of your examples are things that belong in product reviews.

Do not leave price related reviews. The prices change daily. You may leave a bad review because you think the price is too high. Tomorrow the mouse may cost $10, but your one star review is still there ten years later.

Shipping problems do not belong in product reviews. The listing is for a PRODUCT, shared by any number of amazon sellers. Amazon provides seller reviews to comment on seller's shipping problems. (If you are leaving these as seller reviews, then I apologize for assuming, and you are correct)
As a first heuristic for finding names in text I would imagine
It is a mixed bag. Early model S cars are only 8-9 years old right now. Still pretty young to determine true long term reliability. Tesla also kept the reputation decent early on by offering warranty repairs on pretty much everything. I've heard it is not uncommon when looking at an 2012 model S to have reports of 10+ door handle replacements. The real test will come at the EOL time for batteries. If it is similar to hybrids, that comes at ~15 years. I imagine in ~2027 virtually all original model S cars will be in junk yards/salvage auctions when they are totaled by a dead battery.
I love this, and best of luck to Nate and the Apple team. I wonder how many of the (awesome) algorithms on Ray Wenderlich's similar repo fit in: https://github.com/raywenderlich/swift-algorithm-club
There are 151 vaccine candidates in preclinical and 42 in clinical trials globally.

https://www.who.int/publications/m/item/draft-landscape-of-c...

There are thousands and thousands of people in the biomedical field all around the world working furiously behind the scenes at the moment on this problem.

Unfortunately, there is no single mouthpiece for this effort so people aren't aware of how many people are pulling out the stops, but despite how bleak things may look there are a lot of MDs and PhDs and MD/PhDs trucking away trying to find a way out of this thing.
"Just barely statistically significant" but the MLE is a 6x reduction in hospital visits. There's huge potential here, but our ability to know has been hampered by study size.
Out of curiosity, a Mercedes AMG... what? C? E? G? SL? S?
How Many Ways, an App Can Track You?
Setting quotas/goals doesn’t seem like the right approach though. We can try to correct for the biases you name without setting numerical targets. The thing is, there isn’t any correct number to aim for. For instance, some cultures emphasize STEM education/careers and it isn’t surprising or incorrect to see them represented in tech at numbers higher than their makeup of the general population. Setting targets like proportional demographic representation for blacks or any other racial group ultimately amounts to racist discrimination against those other races.
It certainly muzzles speech. It is likely to lessen the advantage of money in politics, but does not eliminate it entirely.

I don’t believe eliminating the influence of money from politics is a desirable or achievable goal. If you do think it is desirable and achievable, then a ban on FB ads makes sense, but you should also presumably advocate for a ban on TV ads, newspaper ads, paid campaign events, paid campaign staff, and so on.
These comments struck me as particularly damning:

> As people usually say, Rust has a steep learning curve, and it’s really hard to get productive with it in a short amount of time. This is reflected in the 2019 Rust language survey, and it’s also reflected in the student frustration in the first few weeks of our weekly survey responses

> While I think Rust would be poorly motivated in CS 107, I think it is extra poorly suited for CS 110.

I have essentially no experience with Rust, and I want to like it. But I get the feeling that it isn't very user-friendly and that I would enjoy it much less than other memory safe languages like Swift, Go or Java or even sharper-edged languages like C++ with smart pointers or Objective-C with ARC.

Also given the large body of legacy C/C++ code still in use and development, I'm disappointed that clang still doesn't seem to support a memory-safe mode/ABI, as it could eliminate a large class of errors.

Maybe Unix made a critical error by adopting and promoting unsafe C; its predecessor Multics, written in PL/I, had essentially zero buffer, heap, or stack overflows over its entire lifetime (though it probably still had race conditions and concurrency errors.) ;-)
Bwahahah. Well, at least this example of gatekeeping can't hold a candle to Porsche drivers.
The current system in the US is a virtuous cycle - companies like Purdue make tens of billions creating a huge population of addicts, and then the resulting crime justifies the expansion of heavily militarized police to wage war "on drugs", which then can funnel the losers of the battle into a for-profit prison system. Imagine the profit potential of a nation of 150 million junkies. Actually solving the problem costs money.
I'm not sure why you ask. But one example would be as follows:

-RULES OF FREEDOM OF EXPRESSION-

1. Any person may say anything
Well that's exactly what I meant. I said that something in the downstream equation is broken if the outcome doesn't reflect a similar proportion.
If you do that you have no soul. Why complicate it when you can just have generics that work from the get go
You mean... Like Singapore(7days), Lithuania(15days), Ireland(4 weeks), Netherlands and most other European countries - 90 day mandate.

My first work authorization in US was the simplest L1b internal company transfer. That took from mid October 2016 to issue of the visa on 21 Feb 2017. That's considerably longer for the simple document.

My blanket work authorization took 2.5 years... and 4 years for the LPR.
If you are recruiting at colleges you’re going to have a hard time getting many black candidates, since only 7% of STEM majors are black. Which is an under representation based on their proportion of al college students.

https://cew.georgetown.edu/cew-reports/african-american-majo...
Are equivalent exploits possible on commodity/business PC laptops? i.e. do normal laptops have an always-on SMC these days which could potentially be exploited into a keylogger? This is a terrifying concept.
The moment there is a vaccine everyone will fly
Carbon tax. Make plastic more expensive by accounting for (some of) it’s environmental impact. Adjust price of goods on import to account for countries of origin that don’t tax carbon.
Managers tend to take the three most highly qualified candidates and then, "all things being equal", hire the one most similar to them. It doesn't take a big brain to figure out how that has played out historically.
I have worked on projects where I needed to extract firstnames and lastnames and if you want to use this dataset to extract names, here are some caveats:
- firstnames can be lastnames as well
- common words can be names as well
- some stop words can be names
- the order can change, you can write firstname, lastname or lastname, firstname
- Some names are as short as one letter

Using ML can be useful if you can separate people by origin or in more homogeneous population.
> Suicide rates grow more slowly in states that increase their minimum wage, according to a U.S. study that suggests this might be one strategy for curbing deaths by suicide

It implies rate growth is common, but higher wage reduces that growth
Again, I’m describing a goal. You are describing the status quo. The existence of a bad status quo doesn’t negate what the goal should be.

In my view, the goal of FB should be to allow for free speech, especially in the context of politics.
We had a bad fish smell on glasses; it was due to food particles trapped in the pump housing behind the screen filter. Disassembly and a hose-down of the screen, plus a vinegar load, fixed the issue.

I suspect the offending food particles will tend to always be somewhere near the heating element, aka bacterial incubator.
I want a printed specification or datasheet in a tabulated form, written by engineers along with isometric and orthogonal views (side/top/back/bottom), preferably with dimensions. I am good after that. Perhaps on a nice card stock from Red River Paper company. Color is good, although black and white will do. Completely satiated and satistfied. Ready to buy the damn thing.
You have trillions of cells, each that contain billions of bases. Each cell can go wrong in its own way, and what you have to patch it back to is different for every person

All of these steps are currently not possible:

* establish a perfect sequence for an individual

* find mutations non-destructively (ie cell survives)

* send a specific edit to a specific cell in live animal

* perform just that modification (see https://en.m.wikipedia.org/wiki/Off-target_genome_editing)
> marginalized races have to tell their children [...] "You will have to work harder because of the color of your skin, and it might not matter at all."

Exactly my point - this is basically word-for-word what Asian children are told.

> outside of trying to elevate people who don't quite deserve on merit alone over others perhaps more fit for the job.

And in doing this you condemn others simply because of their race. Ironically, in setting out to solve institutional racism, you merely reinforce it.

> I don't know how to change the fallout of centuries of race-based slavery and the immediate drop into generational poverty,

Provide learning opportunities to the economically underprivileged before important events like college admissions.

> If you don't value diversity, maybe just say so,

I value diversity. I abhor achieving diversity via methods that shift the burden of society’s mistakes onto races that people have decided do not matter.
Ignoring pushed ad data ia very different from never requesting those ads as far as available bandwidth and data metering are concerned.
Yes, read my comment as it seems that nobody is fully reading it. I'm saying that if the final proportion doesn't reflect the demographics proportion then there's a bottleneck somewhere down the line that produces less black professionals.
The Spanish RCT was for hospitalized patients. What study shows that it's not helpful for severe cases?
If discriminating on the basis of race is morally incorrect then discriminating (collages) on the basis of race is also morally incorrect.
You have the freedom to defend yourself, you do not have the freedom to kill the president - they both involve guns and people
Their headquarters is in America.
Thanks, I ask because currently I'm using Tridactyl on Firefox but Vimium on Chrome, and it's interesting to compare the two approaches to the same problems.
> But it's still good for a step, no?

No. The site here is advocating a non-standard method of parsing and understanding Japanese sentences. In the long run, that will be counter-productive because the method is counter to standard grammatical parsing used by virtually every other textbook and dictionary.

The author also mixes up the standard grammatical terms for two types of adjectives, 形容詞 and 形容動詞, which suggests the author doesn't understand standard Japanese grammar very well.
If twitter didn't stand up for their dishonest users, a whole lot of the outrage bait they depend on to keep people glued to their twitter feeds might disappear.
When I was backpacking in Europe, on a budget, Venice felt expensive (I had gone there for Biennale; also the city was nothing like I'd imagined from those films). Anyway, for me and my home currency everywhere was expansive in Europe, so what I mean is Venice felt particularly expansive.

Then, tumbling around, one day I ended up in Switzerland. You've got to use up that rail pass after all. I left Switzerland within a a day. It felt too artificial and out of reach (maybe that's why too artificial) for me. Maybe I didn't go to the right places or with the right budget. Left Switzerland aside for when I will be filthy rich.
So Twitter can turn over the information and allow investigators to determine whom or where the user was from.
Calling it exhaustive is a bit much. It doesn't have many names of my friends.

Here in India you get very long/sometimes weird lastnames. Many are not there on the list.
The practice they're using today is discriminatory and uses race as a factor (see: "disparate impact.") ... how do you suggest they proceed?
Yes it is definitely discrimination, but not all such discrimination is illegal or morally wrong.
It could just as well be a strong indicator that his initial viral exposure was small, and/or that being detected early, treated quickly and exceptionally well by a dedicated team matters.
Something I watched and read about last year was that injection molding of plastic can be done only when one third or less of the pellets are recycled. If there is too much recycled material in the mix it doesn't flow into the mold correctly and one third is the most you could possibly use and then that product can not be recycled again. The polymers that make up the plastic simply aren't capable of reforming over and over.

Given that plastic at best gets 1.3 uses, the initial one and then a third of that material can go into a recycled container. That is it. When you compare that to the thousands of reuses of glass bottles we used to do for milk it is really apparent how awful the plastic process is, its barely better than just throw away. This also ignores the fact that huge amounts of the plastic used isn't actually recyclable at all.

The triple whammy to all this is that all over the planet people have been cleaning their plastics with hot water, drying and then separating it into different rubbish bags with separate collections and additional bins etc. All for a giant lie about recycling that was never true. We have wasted substantial energy and time on something that never worked and helped destroy the environment even more because of it.
That's good, and addresses the problem that actually needs addressing (carbon emissions). It won't lead to more recycling though; if anything, turning oil into plastic that then gets buried in a landfill is a good thing from a carbon-emissions perspective.
>pressure will mount to define overland supersonic corridors

yes, that definitely need to happen. I wonder whether the sonic boom public scare is just based on the fact that the majority of the public has never experienced it. I grew up on a Navy base in USSR, and we regularly had fighters booming at the altitudes much lower than the altitude normal for the commercial supersonic travel. It was just fun for us children. May be you'd not want the boom echoing/bouncing through the Manhattan concrete mazes, yet at 20km altitude over rural areas there should be no issues.

Also there are large swaths of less populated lands in other countries who may be open to having such corridors over these areas. And back in Concorde times, there weren't such a big rich markets like China who has different approach to clearing of permitting/regulation issues for example when it comes to public transportation infrastructure.
> The point is that whether some speech is prosecutable under US law is not a deciding factor of whether it should be protected under the principles of freedom of expression.

You're arguing that whether a particular form of speech is illegal or not should have no weight on deciding whether or not to protect that form of speech? Are you really arguing that laws don't matter here? So straight up, do you believe that the government is infringing on people's rights by banning child porn, yes or no?
PPP Scammers Made Fintech Companies Their Lenders of Choice
Is it really faster? I'm thinking if you have blocked the ads, that will be significantly faster. Google's benchmarks of course would not include how much faster HTTP3 is for pages with blocked ad content.
You, sir, have fully understood why a real p2p browser shouldn't have a gateway to offload state mutations.

What I do not like about all "decentralization" claims in the crypto space is that they are actually centralized due to their (money costing) gateway infrastructures that bloat the originating state mutation up with metadata it doesn't really need.

We've seen p2p before. It was based on seeders and leechers and worked fine. Granted, trackers were bad, but mostly due to underlying missing encryption for transport.

We just need to fix p2p transport encryption with keys that are not made for identification but rather just for the sake of transport of states - in order to guarantee privacy.

If keys - or wallets - can be uniquely identified, people could've just used google chrome instead, because they actually gained nothing.
New York City thinks up to half of restaurants will close permanently [pdf]
> I'm doing some C# and I'd really, really like one so as not to have to reproduce loadsa boilerplate.

If it's repetitive boilerplate, you could probably use T4 to generate it for you.
5G is substantially cheaper. Your carrier can send you femtocells for free and you can populate your surroundings with these femto cells and get really good connection everywhere. Think of it like WiFi service provided by your carrier. Of course this would also mean your ISP and carriers will now merge
It seems like we were pretty much paying China to throw away our garbage and had to confront the myth when they stopped accepting it.
People have to reuse and resell and buy used. Dispel any notion that you may be a “cheap” person for buying used by the fact that it is infinitely better for the environment.

Often time people will say that it is not worth the time to resell something less than $10 (time to meet a buyer/shop an item), but that’s because the actual costs of trashing it are externalized. Even if you don't throw it away and just store it in a closet, you're creating demand for the manufacturing of new product that will all eventually be trashed. The longer you hoard it the lower the value—and thus re-usability—it holds.

There should also be laws that guarantee the right to transfer warranties so that manufacturers cannot disincentivize the second hand market.
I use professional monitors in color critical environments and we've tested the apple monitor and it absolutely is not appropriate for professional usage despite their claims to the contrary. We're using Sony, Flan fees Scientific, and Dolby and the Apple isn't even close.
While I’m all in favor of fixing externalities in capitalism it’s tough to see how to offset this carbon tax without hurting the poor. This is part of why even conservative think tanks (the folks supporting carbon taxes anyway) are coming around to UBI to offset it instead of some awkward carbon tax credit with some means testing bureaucracy that would be gamed.
yes, I think this is a prime example of the "early results are promising but more testing is needed" platitude
The Rejection Book: Good luck, bad luck, who knows?
The show The Expanse has some interesting scenes involving loose items inside ships as well as junk/ballistics ripping through ships that this reminded me of. Interesting to see that fiction was inspired by the reality.
I wonder if, when we finally run out of oil a couple hundred years in the future, all those landfills will turn into gold mines.
What are 2 or 3 “right approaches” for improving diversity in tech? Unless, the view is that practices until now have been right?

Cultural support for STEM comes through parents who themselves are capable of sitting at the dinner table to help kids with their math and science homework. Parents who encourage careers such as mechanical engineering, not just being a car mechanic because that feels most familiar to people they already know.

So what are some “right approaches” for achieving more diverse workforces?
While I agree with OP that you need to listen to a lot of source content, a reasonable amount grammatical understanding can definitely speed up your comprehension. This is a lot of what gives adult learners an advantage to learn quickly over infants.
That is my usual practice. However, the pandemic has increased the prices of used/refurbished notebooks so much that it's no longer worth the risk to buy used.
It's confusing, because right before that the same ruling says "Biggs and Zimmerman never explicitly mention the name of the account or exactly what and who they are talking about."
I cannot imagine how you’d think that telling an Asian kid that they are held to a much higher bar for the same opportunities in any way exemplifies “equality.”
I think you are getting confused between the piano in general, which existed already, and the piano in its contemporary form, which was developed later.

Bach had a side job that consisted in selling pianos to rich people.

> Even more damning against the “Bach hated pianos” claim is the fact that Bach went on to become an agent for Silbermann, selling his pianos in Leipzig. There’s even a receipt signed by Bach on May 9, 1749, selling a “Piano et Forte” to a Polish count, Jan Casimir von Branitzky.

Source https://notanothermusichistorycliche.blogspot.com/2016/07/di...