skysight-inc/HackerNews huggingface dataset:
I see you chopping the first two words off that quote. ;)

In this specific case, that single instance of a single pattern is such a throw-away that it doesn't deserve a name, but the pattern itself is easy enough to name. So I'd skip the single-purpose function and create a combinator.

def do_each(*args):
def helper(x):
for fn in args:
fn(x)
return helper

and then, when I need to do both foo and bar, I don't even need a lambda.

map(do_each(foo, bar), some_sequence)

That's a fairly specific case, though. Moving back to the general, I would say that a function that does more than one thing, but can't easily be named, is a code smell.

Of course, every general rule has its exceptions. But I'm not so keen on the idea of optimizing one's coding style for the exceptional cases. Going back to PEP 20, "Special cases aren't special enough to break the rules."

(I realize mapping a function that returns nothing is terrible, but I'm feeling too lazy to think of a better example.)
Stainless steel can be clear coated to prevent rust. It looks good, too. I saw it pulled off on an episode of Car Masters: Rust to Riches on Netflix.
Moderating the platform seems like a more tractable problem than changing what are effectively hard-wired aspects of human neurology. It’s not about blame, it’s about engineering a cost efficient solution.
I can't see Google following through, but just imagine... Australia forced to use Bing!
Thanks for sharing! The project is certainly fun and the visuals complement that well
Company Settles FTC Allegations It Deceived Consumers Re Facial Recognition
“Acting out of self interest” doesn’t make you the bad guy. In fact, it makes you the good guy because you chose to align your own interests with something that is good. This is why Apple is the “good guy” when it comes to privacy and Google is the “bad guy” (relative to each other at least). Sure, Apple is acting in their own interest when they advertise how privacy focused they are. But they chose to make that a selling point for themselves, while Google did not.
C++ Anti-Patterns
"Centrist" is just a euphemism for right wing.
The premise of Back to the Future III was that the vehicle still had electrical power from the Mr. Fusion, but couldn't get up to 88 MPH due to problems with the gasoline engine.

So this solution has been staring us in the face. Really they should've just dropped in a motor as part of the hover conversion.
Reduce your first move from “A+” to “B”
Stanford alums loop DNA testing and mental healthcare w $99/month Prairie Health
1. “Enclosure” is the defining act of modernization, so it doesn’t really say anything about feudal times.

2. I’m not arguing that feudalism was good. I’m arguing that homelessness is a historically embedded phenomenon, and was essentially non-existent in pre-modern times and then it became markedly more prevalent in the last 40 years. I’m not sure about all the causes of or solutions to homelessness, but I do think if it were the priority, homelessness could be resolved at the price of imposing some other trade off problems (which might be worse on net).
Elastic's Cloud offering runs in the major cloud providers [0].

https://www.elastic.co/subscriptions/cloud
I see it as “there are a variety of licenses from which to choose, depending on your goals”. BSD, Apache, and MIT all represent different points in space, as do GPL and AGPL.

When I choose Apache or MIT, I do so for a reason and if you or Amazon use code in compliance with that license, I’m happy and you’re not “exploiting a gap” but rather “complying with the terms I offered”.
> It would be a neat conversation piece to have one, for sure. As an EV it could be made wickedly performant. I think it would still feel like riding in a low-slung box that you are just peeking out over the top of, though.

Hell yeah! That was one of the issues with the original DeLorean: the body screamed "super fast," but the engine couldn't really keep up with the expectation.
we could also just use duckduckgo
According to Stallman at least, the principles of "Open Source" are much less deep that the principals of "free software". His opinion says the "Open Source" philosophy is based off watering down "free software" principles.

"The terms “free software” and “open source” stand for almost the same range of programs. However, they say deeply different things about those programs, based on different values. The free software movement campaigns for freedom for the users of computing; it is a movement for freedom and justice. By contrast, the open source idea values mainly practical advantage and does not campaign for principles. This is why we do not agree with open source, and do not use that term."

https://www.gnu.org/philosophy/open-source-misses-the-point....

I guess you and Stallman agree there, and that permissive open source licenses are totally up-to-date with modern cloud computing businesses and business practices and that Elastic and their choice of Apache2 are getting exactly what they signed up for. And that "free software" licences especially the viral ones exemplified by GPL/AGPL are also still relevant in 2021, and having chosen one of those would have given Elastic.co what they claim to be demanding... (I think I agree there too.)
Post-Pandemic Silicon Valley Isn’t a Place
Amazon did not give Parler time to remedy the issue, which was in the contract. And is now trying to blur the line between a suspension and termination.

Robert Barnes, on the Parler lawsuit
https://youtu.be/pAFZw7fGY4A

Viva Frey, a lawyer did a breakdown on the lawsuit.
https://www.youtube.com/watch?v=HFp5E7akgy8

Robert Barnes, On section 230, and the tech lawsuits
https://youtu.be/rD-Zb0nTJw0

Their take on it is that the tech companies have gone too far, and are too arrogant. And now the political climate has shifted. So they will start losing some of these section 230 related cases.
What do you think about a MOOC approach?
I'm always skeptical of these "health 2.0" companies as so many of them start up with much fanfare then go nowhere, however this sounds promising, just based off the # of threads I've seen on reddit lately for people who can't find access to mental health providers. Wish them luck!
Thank you for these!
At risk of being pedantic, technically it's device-mapper/dm-crypt that's doing the heavy lifting here... but I guess LUKS has become the popular name for the whole pile due to its visibility.
How does deposition of lithium on the anode actually occur?
> "It sort of made me laugh a little bit," she said. "Has Amazon read the rest of the Internet? Ninety-eight pieces of content or whatever is not that many. I mean, has Amazon read Amazon?"

Has Facebook read Facebook? Has Twitter read Twitter?
Same, that's what I use, and it was super easy to do.
Taft-Hartley banned the "closed shop," where you must join a union to work at a business, in 1947. You will never be forced to join a union anywhere in the US to work at any given employer.
Not according to Navalny himself [0] - he claims the poison was put in his underwear in the hotel.

[0]: https://www.theguardian.com/world/2020/dec/21/navalny-russia...
Imagine trying to sue Amazon. Good luck with that.
Facebook's Oversight Board to rule on Trump ban
> But you think it's unfair to call this a "gap" that ES is now trying to close?

Yes, because ES didn't use any GPL license even when they had every option to; they used the Apache license which is explicitly incredibly permissive.
You're quite right, and I stand corrected. Although it's not the datapoint I suggested previously, I suppose there is another datapoint to be gathered: for someone in his position, perhaps nuking the world (physical and virtual) is the only way forward when dealing with such a threat.

He basically had to quit his job and career as a psychiatrist as well as delete SSC in a way, in order to continue with his online no-longer-pseudo-identity.
>I believe that's only true for New York state residents now. Others have to pay. [1] Basically, I guess more and more people stopped paying.

That may well be true. But as long as it's true for NYS residents, that means kids today can do what I did back in the day. And that's a very good thing.

I wish the American Museum of Natural History had been that way too (it never was) or I would have gone there more often too. It's not art focused, but it's a wonderful experience.
I downvoted this at first, but I've undone that and am going to respond.

If you have family, extremely close friends (as adults, life-long friends), these can be options. Consider keeping your 'binder' in a safe deposit box and setting up access via your bank.

If not, an attorney or even CPA may be able to keep this information for you.
Bringing atoms to a standstill: Researchers miniaturize laser cooling
Plaid S is due this year to take back the crown. Curious if it adds a gear or just bigger motors.
This is really clearly a case of Elastic wanting to have its cake and eat it too but also of the existential challenge that faces the open source community -- how do developers of open source software pay to keep the lights on?

There's a bit of a myth that OSS is lots and lots of volunteers spending their free-time to contribute bits of code here and there. But the reality is that most of the current major open source projects are all basically corporately sponsored. It's not the Cathedral and the Bazaar, it's the Cathedral and the anchor tenants at the local mall. And they're all contributing funds to build the Christmas display and Take-pictures-with-Santa spot near the fountains. It's open to the public, but the moment somebody starts busing in hundres of tourists they get upset.
> 1. You should be able to set a default username or email to automatically use when creating a new account.

It's not a bad idea but you could also set up an identity, perhaps call it "New sign up", and it'll fill out the email address for you with two clicks - one to open Bitwarden, one to auto-fill.
All of these people can and do make outsize contributions to the company if you let them, because people don't only do their jobs. (They can also do outsize harm if you let them, I suppose.)
Elastic made the mistake of building a whole business on open source software by relying on the poor experience and artificial overhead to launching that software independently and in a production ready fashion. It's no surprise then that people in the community identify that this value is somewhat artificial. If you bridge that gap (either cloud providers providing it or someone contributes containerized/terraformed single deployment scripts), the value of having someone navigate the artificial complexity for you vanishes, and thus the value to the customer.

You have to question what value Elastic is offering its customers on top of the opensource project. Why is it that people complain about AWS devaluing the commercial services of Elastic but none of you complain about opensource devaluing the development of code in general. I can't for the life of me find a job that pays to write a new framework or some piece of interesting software because opensource completely devalues code. I think the proliferation of opensource is probably worse than some of you imagine. I'm not writing any opensource that isn't sponsored because I refuse to spend my time devaluing software development. The vast majority of the profits from opensource all end up in the hands of massive tech companies anyway. If we could skew the commercial advantages to the developer our industry would be a lot more pleasant.
If society wasn't ok they wouldn't be the most downloaded app.

This is like saying that society wasn't ok with Trump when almost half voted for him.

Trying to rewrite history because there's a Ideological and political control of tech companies doesn't mean you're right.

The same goes for law. Just because something is legal or you don't win a case, it doesn't mean it's right or fair.
XCMetrics: Spotify's all-in-one tool for tracking Xcode build metrics
Agree, Searchkick is brilliant
What makes you think this is a "gap in Open Source licensing"? Is it not more easily explained as Elastic's business plan having a gaping hole instead? Don't put the cart before the horse.

They built on top of a license that gave the user a set of freedoms they don't want the user to have. End of story.
Now they've patched this hole, but they want to keep the goodwill that comes from Open Source licensing instead of owning up to their decision and decide to blame AWS as a scapegoat, all the while acting as if their license does not violate one of the core values on Open Source Definition where you cannot set restrictions on specific fields of endeavor (in this case, the same field the product belongs to).

Now that's not okay.
I thought the main issue with nouveau at this point was that Nvidia is locking the open drivers out switching the GPU into the performance power states? No amount of optimization is going to be able to get around that.
If you judge distances well you can still pop your foot. The deceleration curve is optimized to be smooth (minimize jerk?).
Articles of Impeachment Filed Against Biden
The True-Life Horror That Inspired Moby-Dick
Ask HN: Fun Tech Book Recommendations?
Always looking for books that build full projects, or that integrate the foundations of many disciplines into a single project book.

Game Engine Black Book: Wolfenstein 3D http://fabiensanglard.net/gebbwolf3d/

Other examples would be things like building Machine Learning Powered Applications,
Modern Full-Stack Development,Black Hat Python etc.

This was asked last year, and I came into some very interesting reads. I figured it would be worth asking again!
New Patagonian dinosaur may be largest yet
Unethical companies have to pay top-tier compensation. You don't have to pay Google/FB bucks if you don't have sex scandals and employee retaliations in the news every day, or if the students you're recruiting don't think you're brainwashing their grandparents.
It's more of a philosophical conversation, but any social media app is really just an extension of its users. If you only have horrible users posting horrible content, then you have a horrible app. It's easy for us, knowing the tech, to argue the opposite, but in practice, there's no separating the two.
Cargo cult management.
The reason I'm happy with Capitalism is because Elastic backstabbed the community and in a manner of weeks we'll have community-driven Apache 2.0 forks. So I think the market is responding as it should and am happy to see it.

> This good outcome could have been so much better, had there been regulations on breaking up large companies so they can't bully small ones

Well, I disagree with the (I think?) implication that Amazon is doing any bullying here, and I disagree that companies should be broken up purely for their size. But since we're getting into anti-trust authority, perhaps I can convince you to throw the ring into Mordor:

While anti-trust could theoretically fight monopolies, those laws exist within a system in which special interests will co-opt those powers to essentially defend their own monopolies. So, big company X kicks over the right amount of lobbying dollars and magically the politicians want to bring an anti-trust suit against competitor Y, etc.

Now the blue-pilled response is to say, "hey that's just another failure of capitalism, and that's why we need to get money out of politics!". In my unashamedly biased opinion, the red-pilled answer is to realize that these power structures will always be co-opted and the best solution is decentralization and therefore not having a state that can hand out bailouts, force small businesses to close up shop, discriminate against low-skilled workers with minimum wage regulations, exert arbitrary power through anti-trust legislation, etc.

Sorry, I kind of got down a philosophical rabbithole.
Ahh! I see it now.
The companion arduino product released alongside this has WiFi/BLE [1].

Anyway, RPi as a brand carries a lot of weight. I can be sure this is a well-polished product that'll be both easy to learn and easy to go from prototype to final product. My experience with ESP had more rough edges. Maybe those have been paved over in the 5 years since I had a go at the ESP8266, but that's still an unknown to me, whereas if I go with the Pi I have no doubts.

[1] https://blog.arduino.cc/2021/01/20/welcome-raspberry-pi-to-t...
I'm saying the innodb buffer pool mutex doesn't scale over 100 contenders and you are saying that I can tune mysql so there's never more than that, which it seems to me like we're in agreement.
I'd hate to be a carrier pilot and the helmet fails on blue water ops, you can't land, only option is to go for a swim. And single engine too over water... hmmmm no thanks.
No backup instrumentation either.
That's actually a pretty compelling use case. Instead of the US Government being able to routinely compel Apple, Google, FB, Amazon, etc to to hand over data they just say "we don't have the keys". The fact that any of these entities could find a way to get the data if they wanted (yes, even Apple, even with E2E could have an insider attack where a rogue spy employee implanted some code in the OS to intercept data)

Allowing the service providers to say "we don't have it", makes widespread government attack less scalable, because instead of focusing on one entity, suddenly they've got to chase down thousands of individuals and compel them. And the individuals usually have a lot less to lose if they don't obey than a tech company with billions on the line.
You won't be able to get someone to fix your car for $45/hr.
Have you seen The Social Dilemma? Shit's terrifying.
PP's thesis was that many people on soundcloud are as good and original as Billie Eilish (or more so).

Presumably many musicians on soundclound are persistent and hard-working as well as insanely talented and original.

Marketing isn't the dominant factor for a new artist winning the pop music lottery. Luck is.

There's a lot of great music out there that will never be a hit song, and it's nice that we can still listen to it.
I understand that to be true if you are studying/researching the item but is that true for any old member of the public?
Same, download manager used to be a must-have app in the early internet days.
There's a good quote on that thread which captures what AWS is doing with products like ElasticSearch:

"My argument is that AWS is eating seed grain, on its supply side, and doesn't know it."
Sidebar: Good on Krebs for nurturing his own comments section.
Thanks for the feedback. We will move away from calling it VR in the future and more about "spatial reality" or "spatial video" most likely
Let us try some napkin math. How thick does a cable need to be to move that much energy in that amount of time without overheating or being too heavy for a user to carry and plug into their car. Let's say 100KWh battery, to be charged at 99% efficiency via a 99% efficient DC-DC converter in 10 minutes. That is a rate of 600 KW. Current HV chargers use 600volts, so that is 1000A current. 0000 gauge wire is rated for 302 amps, so we'll use four such wires for VCC and four for GND, thus 8 total. That is eight wires, 0.46 inches diameter each. Must be heavy and unbendable, but let's persevere. Copper's density is 8.96 g/cm^3. This cable assembly will thus weigh 11.7 kilograms (and that is without insulation) Given copper's resistance (0.046 ohms per 1000 feel of length) at 0000 gauge, our cable assembly will be shedding ~24W of heat simply conducting this power. Toasty for user hands... I cannot even fathom the kind of connector required to allow for this current AND specced for thousands of insertion/removals. Contact areas in connectors are a constant issue, and here it will be even more so.

You'll also need to bend 8 half-inch-thick copper wires to plug/unplug this... I am not sure many people are ready for the force that will require. Also copper tends to break if you bend it a lot, so you'll need some other kind of conductor that bends, which means it will conduct less well, which means it will be thicker and heavier...

The alternative is a lighter cable with active cooling and higher losses. This has issues too (failure of cooling can snowball into a fire quite fast, coolant leaks are no fun, etc)

Now, back to our 99% efficient DC-DC converter. It will be shedding 6KW of heat, good luck cooling this, the battery charging at 99% efficiency will also be shedding 6KW of heat...same issue...

Basically, i am sure a small such battery can indeed charge in 10 minutes in the lab (~a 6C charge rate), and that is VERY cool, but moving 100KHw safely in ten minutes from anywhere to anywhere near live humans is a nontrivial engineering difficulty.

EDIT:
why not higher voltage? arcing, insulation material limits, cracking, rain, costs
I just checked: there are thousands of tweets with the #notmypresident hashtag. Not sure why you're not seeing them. Care to elaborate?
$500/hr is usually reserved for work done for lawyers ;)
How is then this most toxic gas safer than other basic toxic ones you can brew even at home?! It's been hours from the time of his poisoning at the hotel to when he got to Germany and he was safe and sound like nothing's happened! Again, tens of thousands get into ICU and hundreds die from a simple acetaminophen overdose each year in the US alone [0]! Why would Putin use something, which such a poor track record of killing his enemies? Why can't they just use a sniper and get this over with?! Why use something, which even the brain-dead know will be linked to Russia?

[0]: https://pubmed.ncbi.nlm.nih.gov/15239078/
The AGPL is nearly 2 decades old, and its tradeoffs are well known among people working in open source. If Elastic had wanted its protections (and restrictions) they easily could have chosen it.
A high-speed computer vision pipeline for the universal LEGO sorting machine
Speaking as a reviewer, reviews do take an immense amount of time, especially just in trying to figure out what was done and how. Code would actually speed things up a lot.
How to implement a tooltip positioning engine in JavaScript
Ask HN: Product to eliminate background noise during Zoom calls?
A big problem with Zoom calls is that people with any background noise put their mics on mute. Then when when you ask them a question there's a 2-second pause while they figure out how to unmute before answering. Or worse, they start talking without realising they are on mute.

Suppose that a user has two microphones - a headset microphone and a microphone built into their laptop. Is there a software product that would do noise-cancellation of background noise by taking the headset mic signal and subtracting the in-built mic signal? That would allow the user to leave their mic on without adding background noise to the Zoom call
EV bubble top. Stick a pin in it.
> but you're forced to be in a union (and pay dues) against your will...

If it's a "closed" union shop, then I'd consider the union-dues as simply part of the job-offer and treat it the same as employee-side health plan copayments: a minor unpleasantry but nothing worth raising a fuss about - assuming the union dues were in the typical range of $300-800/yr - obviously the more they cost the more I'd be inclined to ensure they're being spent responsibly and that I felt like I was being represented well.

Though I want to say the sentiment (or mental-connotation) you're expressing with language like "against one's will" w.r.t. union membership hints of a reductionist Ayn Randian influence on your opinion. That statement is not an incorrect assessment, but it's overstating the problem - it reminds me of sayings like "taxation is theft".

Sincere question: what do high-quality surveys of union membership (across all industry sectors in the US) suggest about opinions held by closed-shop employees of their unions - and their employers? I feel there's too much reliance online on anecdotes about the excesses of certain named unions when it comes to forming opinions about them, so I'd prefer to see some "big data" about union membership.
Or they are doing an amazing job.