skysight-inc/HackerNews huggingface dataset:
what are the tradeoffs here? I assume there is a reason why it isn't default or even in the main repo?
People keep mentioning lifecycle methods, but I very rarely found myself using them. Those, too, were a code smell to me, especially if they caused side-effects in application state. I don't see them as an integral part of the class-component paradigm at all.
Jeff Bezos to parents: 30% chance Amazon would succeed
Do they have metrics on how many free tier accounts actually use the CI/CD feature and of those how many exhaust the former 2000 minute quota?

I am asking because my use is definitely in the minority of the user base which is just slapping projects into a managed git repo that is not owned by Microsoft.

This was before github decided to allow private repos for free.
Those forms of pollution are concentrated in areas where people aren't living in large amounts.

This form is right next to every house and apartment complex and much worse in cities where large amounts of people live.
> Yeah like for example the moon landing videos that NASA deleted by accident. Had they been freely available in hires digitized copies we would still have them.

The moon landing videos were made in 1969, and are believed to have been erased in the early 1980s. There was no technology at the time to digitize those videos, nor any compact data formats to store them in, nor users with spare storage for that data.
I don't buy the "Nvidia to swipe “the microprocessor crown from Intel”" thing it just doesn't add up.

ARM sells licenses for instruction sets and IP cores for processor layouts but not finished processors.

Companies like Apple might have started by buying IP cores but have moved from there to just licensing the ISA and parts of the IP cores but making their own processors (Which is why saying Apple runs a ARM processor is wrong, they run a Apple processors with ARM ISA and some ARM invented components in them).

Furthermore companies like Apple have likely long running binding license contracts where Nvidia has little power to mess with them.

OpenPower, MIPS and RISC-V are also still a thing which have each their own potential to "eat up" ARM if ARM gets "burned" (well OpenPower is more a concurrent to the server/pc space then the tablet/phone or the embedded space).

The ARM ecosystem is fundamentally different to the classical PC ecosystem due to how Android/iOs differ from Windows/Linux and due to a good amount of it being embedded. Which makes it generally easier to switch away from it for new products as no one expects to "carry over binaries" or similar.

So if Nvidia tries to burn ARM I think it would due to all kind of reasons (existing contracts, chips etc.) take long enough so that affected parties can "move on" without to much fallout.

But then Nvidia has good reasons not to burn ARM but keep it like it is and then slowly sprinkle their thinks in.

I mean Nvidia totally lost out on the mobile (phone/tablet) but with controlling ARM they can use that to get back into that marked (i.e. Android phones and tablets with Nvidia graphics) they already shipped chips which are viable for tablets (e.g. the one in the switch) and had some major improvements from what I heard in their coming generations which should allow them to ship pretty good low power GPUs.

But not only do they missed out on Mobile they also are trying to get into "AI at the edge" thinks like self-driving cars and Robots all based on Nvidia chips combined with ARM CPUs. By controlling ARM not only will it be easier for them to do so, but by keeping ARM open they can slowly nudge people to consider/use Nvidia GPUs/Tensor Cores.

So a lot of benefits for Nvidia to buy ARM and keep it open for now.

Through yes on the long run they might slowly close ARM up so that there aren't ARM chips with non Nvidia GPU and similar. But to prevent legal and image problems they should take many years to get there everything else would hurt them on the long term I think.

Which also means there is enough time to switch to alternatives.

But will you switch if ARM keeps being good and now ships with powerful reasonable priced GPUs or TensorCores just because it a bit more vendor lock in which you are likely used to anyway from other HW thinks?? Which is I think what Nvidia is out for.
Does any other programming language use “Ada case” identifiers (mixing uppercase and underscores like "XML_HTTP_Request") instead of camel case ("XMLHTTPRequest" or "XMLHTTPRequest") or snake case ("xml_http_request")? Ada case avoids the ambiguity of lowercasing acronyms or smooshing together of words.

(Yes, I know the actual capitalization of my example identifier in JavaScript is "XMLHTTPRequest". That’s what makes it such a good example. :)
Stripe users are also anyone who wants to run a website on Wix or Squarespace or WordPress/WooCommerce and want to sell things. I have personally seen people that can’t spell “HTML” successfully set up basic eCommerce sites and make money off them. There is zero reason to pigeonhole Stripe as being for developers only any more than Square, etc.
I would like to see some data that proves they can track someone to their doorstep. I would think that a hacker that was trying to cover their tracks would have enough OpSec sense to evade some location data collected on a phone.
This is a real blow. I've been reading his stuff for years. Here's a link [1] to his stuff in The Baffler from 2012 to 2016, but there's much more available - I've .pdfs of his writings that I saved from many sources. I'll update this later if I can find the original, live links.

[1} https://thebaffler.com/authors/david-graeber

Edited to add: Actually, Wikipedia has a pretty good linked list of his articles, and a quick title check with mine seems to suggest that it is comprehensive.

https://en.wikipedia.org/wiki/David_Graeber#Articles

Further edited to add: A short (180-page) book by Graeber, The Utopia of Rules, is a lovely example of his thoughtful writing style. It's nicely summed up in Wikipedia [1].

It is available to buy from many good book stores, and it is also at Amazon. However, you can download it as a .pdf here [2].

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

[2] https://b-ok.cc/dl/2643480/a4be9e

@dang - please delete this comment if it breaks any HN rules.
As others pointed out, this is for future-proof high-dpi monitors. A smarter approach would be to ask for it in a vector format with hints for specific resolutions.
ETF shares are created and destroyed all the, bringing their value inline with the underlying. So for a S&P 500 ETF, HFT firms are creating shares when the price of the ETF is too low and destroying them when they are too high.

It doesn't have to do with how ETFs rebalance, rather how shares are created and destroyed.
Hey if worked for you, it worked for you. Thanks for laying it out there regardless of what I think of some of these techniques.
What does that have to do with being a junior or senior?
Probably a lifetime :) Just kidding.

Either they went the cheap route and stuck it on some price efficient EC2 instances, or they went the vogue-but-expensive route of lambdas for "rapid processing and ease of development"
There are other drugs now that both work and have a large effect (20%). Hydroxychloroquine possible 5% increase in survival rate pales in comparsion. Given it's also poisonous I don't see why you would want to use it.
Not to tax havens but to regulatory bodies as well.
This one had a 15-second unskippable ad.
Progress Studies: The Hard Question
Microsoft Language Server is a protocol. It's up to each language to have own , blessed implementation like clangd, solargraph, or gopls. The beauty of ale plugin is that it supports almost anything from scratch and as I work on a multi language projects all the time it rocks everywhere. Do you have prettier installed? Boom all your JS files are checked. Do you have gopls, gofmt, goimports? Then yeah, you can use all of those from your editor. And so on. I am usually surprised how many linters it supports. Recently I got hints when editing protobuf file. Did not expected it.

It is possible that coc.vim can do better. But I can't imagine how much better it should have be.
Not person you're replying to but I'll bite.

I think Go has some pretty good thoughts behind it's design. That is not to say that it is perfect by a long shot. Lack of generics is the main reason I've not actually tried to write any.

But I've looked at some, and even helped debug a tiny bit.

And that was the -nice- thing about it; the patterns are simple enough that you can learn it quickly.

The drawback is that you have to write a LOT of code (or Interface hackery) to make complex things.

And, on one hand, the syntax is still the same. On the other hand it's still more code to write.

I think about C# a lot when I think about Go's simplicity; I'd argue there's a sweet-spot in C# where you COULD write code that is expressive and easy to understand but still more flexible. However, at this point there are 3.5 different ways I can think of off the top of my head to go through an Array/List in the language.

In Go there's usually not too many ways to do the needful. That's an advantage for newcomers, but the proverbial ceiling isn't glass; it's hard iron, and you can't go above it.
Someone mentioned that being middle class now means being able to work remotely. I think that's true in a way. Financially my life has basically not changed at all. Yet relative to the average (which includes people laid off) I guess that puts me "ahead" in a way.

I guess in a way it's the same syndrome as rich getting richer (despite me not being rich by most western definitions)
Mentorship Helped Shape My Career
My GMail account (that I don't really use for anything apart for having a Google account) apparently shares its name with a Brazilian game store chain. I have received a number of complaints (in Portuguese) that were apparently about games not running properly. Someone also tried to send some money to it via PayPal, and it was clearly not directed at me. Luckily a quick call to PayPal resolved this issue.

Edit: Apparently some guy found it funny to sign up using that GMail address on a Brazilian dating website. And no, the address itself isn't a Portuguese term or anything.
That was very explicitly the point. We now have top Nixon advisors explaining that they couldn't make hippies or black people illegal, but they could do it by proxy with "the war on drugs" [1].

[1] https://www.businessinsider.com/nixon-adviser-ehrlichman-ant...
The biggest con that we’ve bought as a society is the push towards personal responsibility in carbon emissions rather than addressing the bigger sources in large ships, energy production, materials manufacturing, etc.
https://news.ycombinator.com/item?id=24366735
Then why introduce two unknown variables into the study?
> But this building block of modern civilization may eventually suck some of that carbon dioxide (CO2) back up—enough to cancel nearly a quarter of the gases released making cement, according to a new study.

If you click into the article, it actually contradicts the title. Another click-bait example.
In combo with other observational studies correlating Vitamin-D-deficiencies with the worst Covid-19 outcomes, the case is growing.

Vitamin-D in moderate amounts is pretty safe, so for those not already getting adequate sun exposure, it's a low-risk, high-potential-reward supplement.
Why not tax each mode of transportation proportionately to their true cost, and let the market decide?
> Apple has continued to pay it's contract employees who aren't able to work under current conditions.

So have Google, Facebook, Twitter:

https://www.cnbc.com/2020/03/06/coronavirus-google-facebook-...

Of course I still understand the frustration with the some thousand people who were denied jobs after they made it all the way through the funnel, but it's still not the same thing.
Trolling is not allowed here, take your stuff and go to reddit.
"The Pasco Sheriff’s Office won a $95,000 federal grant to upgrade its computer systems and hired a small team of civilian analysts. "

I joke, but somehow I think this means a Google Maps license and 3 analysts to copy/paste reports.
Due to the lack of externalities being reflected in the cost of fossil fuels, I don’t think that is true.

Environmental impact due to fossil fuels is proportional to energy consumed, which is probably roughly proportional to mass times distance traveled.

I’m sure there’s lots of different types of environmental impact not priced in such as excess heat caused by paved surfaces, air pollution caused by particulates from tires and brakes and fuel exhaust, water table pollution caused by waste seeping down through the earth, etc.
Now if P2P could only go back in time and get the original Beach Boy's Smile or MBV's Loveless followup finished and released.
DeFi in full mania
We Threat Model
I've solved the IP exposure issue with CNAME records and a local DNS server. So if I want to run a Plex server at example.com, I'll set plex.example.com to be a CNAME for plex.internal and just have the local DNS server resolve what IP address plex.internal is at. Easy way to get HTTPS addresses for internal IP addresses without having the IP address listed publicly.
The free mins definitely got me started. and later I just had to attach my k8s cluster with gitlab and allow worker pods for my project builds.
They know that the bad PR won't affect their bottom line much, if at all, unless it turns into some kind of Draconian regulation/penalties, which it won't.
I like Alpaca. No fees and comes with a Python library called pylivetrader that is easy to use.
It makes you wonder. Why isn't commute included? At the very least, shouldn't it be compensated 50% since it is activity done partly for work while not work itself?
Buying ARM + their manufacturer improvements with Samsung might give Nvidia another real chance to enter the mobile marked!

Thats if they keep ARM alive and mostly like it is for now at least.
How very sad. So much knowledge. Thanks for posting that.
Presumably they're the same machines as before, so anyone affected already knows the translation.
>I'd also like to point out that road wear is approximately proportional to the cube (^3) of the weight per axle on a vehicle, so cars are probably responsible for a minority of this pollution.

This is a very, very, large over-simplification and contains some large assumptions about road material, the road base, the ground pressure of the axles and the local climate (which affects the road construction techniques).

This is a rule of thumb to help city planners come up with a ballpark number that's within an order of magnitude. Don't present it as though it's a hard and fast rule.
Call for Code Spot Challenge Beirut Registration, Multiple Dates – Eventbrite
"same tune, wildly different lyrics" is as old as rocks, too.

some trivial examples involve roughly every hymn, "god bless the queen"/"my country 'tis of thee", "john brown's body"/"battle hymn of the republic", "to anacreon in heav'n"/"the star spangled banner" ....

The other big case are missals: same words, vastly different settings. You know the lyrics are the Mass, but how they're sung is where you show off.
The problem I had with Optimizely when it was the go-to solution, was that it had a truly problematic impact on front-end performance due to the blocking way its script was loaded and page variants introduced. In some cases page loads were blocked by up around 5 seconds.

For obvious reasons it was tricky to run an A/B test just for testing the impact of Optimizely's script itself. But the key issue is that all the similar tools at the time (Optimizely not being the only culprit here) were determined to not required developer effort, which led to poor overall performance.

Then React et al came along and took ownership of the DOM, which meant adding tools which also manipulated the DOM became even more problematic.

Fortunately tools like Launch Darkly and Split solve this problem in a better way (high performance full-stack feature flags), even if it does mean developer effort to add tests. Optimizely did eventually launch their own version of this, but never really won back the developer mindshare.

Ultimately, it seems Optimizely enjoyed a few years of success, but a combination of developers getting more concerned with performance and the front-end world moving on to different architectures, seemed to lead to its decline.
It isn't just the asphalt that is recycled but many other products are recycled into it as well, shingles, tires, and even glass, can all end up into it.

what they take off the road can be ground and used on site for a layer but mostly its carted off and ground to the same size as the original aggregate and combined into new. since the binding material is still present it reduces the need for more oil byproducts
Does this work with Apple Health?? Is there an easy way to get data out of Apple Health?
It's a complicated function that behaves like different powers at different depths.

But superficial wear (this study) should have a higher power than deep wear (your link). Civil engineers normally used the 3rd power for deep wear...

Maybe the people on your link got a table from something different than what they though it was.
Even our most powerful political leaders are actually afraid of intelligence services as Senator Schumer once explained.

> Schumer: “Let me tell you. You take on the intelligence community. They have six ways from Sunday at getting back at ya.”

https://www.youtube.com/watch?v=2rH0EBAyhnA
There is an interesting video about this on practical engineering:

https://www.youtube.com/watch?v=XKFaC5RYbEM
Much worse in certain cities which have huge road networks, high car dependence, and no cobblestone to speak of. LA comes to mind. Rome does not. (to pick two extremes)
This was the topic (in part) and title of a Practical Engineering video just last month.[0]

[0]: https://youtu.be/XKFaC5RYbEM
millions of people take HCQ on a daily basis for their lupus. Ask any rheumatologist, the danger of Torsades de Points is only a concern for HCQ if the patient already has a serious heart condition, or if the patient has been taking HCQ for years.

Millions more take HCQ as a malaria treatment. It is generally recognized as safe, if you do not have a heart condition (and even then a short course is unlikely to yield adverse outcomes).
Yeah and also what psychoanalysts have said for the last 100+ years. All Kaczynski offers is a normative stance.
I'm not very positive about this either. Great skills in one position don't necessarily translate well to leadership skills. It's even worse outside the area of expertise. If the dev team has been rocking it but sales can't deliver, would you promote one of the devs to Head of Sales in the hope that this would turn the ship around?

In any case, asking to be given the lead only works if you have sufficient levels above you that leadership can be taken away from the people currently in charge. If those are (for example) the founders of the company, good luck.
angular.js -- 2010 - 2016

angular -- 2016

That's an example where, when you jumped on the bandwagon at the height of the hype, you were thrown into a backwards incompatible rewrite pretty quickly.

And while npm has been around for quite some time, my outsider impression is that was, for some time, basically discouraged from use, because yarn was so much better.

Compare that to Ruby on Rails -- 2004, Catalyst (Perl) -- 2005, Django (Python) 2003.

Time moves slower in enterprises, with upgrade cycles more on the scale of 3 to 10 years.
Yeah I disagree that you can effect real change on a national level without first proving the ideas on a smaller scale. Local governments can be progressive as well as oppressive. I don't pretend to know what people halfway across the country know. I don't want specific input into their lives.
I'm sure it goes through some cleaning but generally just heating it up makes it pliable again.
hmm i'll take that one
UpGrade [1] is an open-source A/B testing platform for education software. We want to make it easy for education software companies to pilot new materials and measure efficacy. We hope this can help optimize student outcomes and help advance the science of learning. Would love any feedback -- we just launched!

[1] https://upgrade-platform.org/
I've been taking Vitamin D3 5000 IU and Vitamin K2 MK-7 100 mcg daily since February to boost my immune system, and I've noticed a radical difference in my colds.

I used to get a major cold every 2-3 month and they were really bad lasting two weeks with fever, fatigue, coughs, colds, really stuffy nose, etc. Now? The two colds I've had were over in a week and the symptoms were so incredibly mild - mostly a light runny nose - that I'm legit grateful when I get a cold.

Regardless of vitamin D's effect on covid-19, the supplement has already paid off big time as far as I'm concerned. I've started to take 1g of vitamin C for the same reason, i.e. to boost my immune system. I should add that I live in a Nordic country with long dark winters and that I can't/don't go outside as much as I should.
What would be the most immediately understandable way to present that? Suppose they added new, faster servers in the future; what unit would make the most sense to offer that won't change in the future?
#14: "Understand how teens communicate — Figure out where teenagers are spending their time to see what the communication products of the next decade may be. Teens are unencumbered and very creative, so seek to understand the motivations instead of judge."

This sounds like a nightmare.
Surgical Implant that Grows with a Child (2017)
I am mostly a spectator in this argument, since I'm holding out as long as possible on committing to hooks, but the impression I got from the React Hooks FAQ is that hooks are supposed to be a silver bullet:

> Should I use Hooks, classes, or a mix of both? [0]

> When you’re ready, we’d encourage you to start trying Hooks in new components you write. [snip]

> Do Hooks cover all use cases for classes? [1]

> Our goal is for Hooks to cover all use cases for classes as soon as possible. [snip]

The answer about higher-order components is a little more nuanced but does say hooks should replace most of them:

> Do Hooks replace render props and higher-order components? [2]

> Often, render props and higher-order components render only a single child. We think Hooks are a simpler way to serve this use case. There is still a place for both patterns (for example, a virtual scroller component might have a renderItem prop, or a visual container component might have its own DOM structure). But in most cases, Hooks will be sufficient and can help reduce nesting in your tree.

Learning enough about the React lifecycle to make simple apps was a big task, but it felt like a bounded one for my purposes. Learnings hooks seems... strangely open-ended. There's a small set of built-in hooks that do certain things, and if I need more I'm supposed to build new hooks out of the old ones, and that's supposed to be it. Except that it isn't, because if that's all there was to it, people wouldn't be having difficulty. I just wish the rest of the story was sketched out and bounded for me in some way so I could know what I was getting into.

[0] https://reactjs.org/docs/hooks-faq.html#should-i-use-hooks-classes-or-a-mix-of-both
[1] https://reactjs.org/docs/hooks-faq.html#do-hooks-cover-all-use-cases-for-classes
[2] https://reactjs.org/docs/hooks-faq.html#do-hooks-replace-render-props-and-higher-order-components
> Heating the air drys it out...

I'm not sure that's true. Hot air can hold a lot of moisture, the extreme example being steam.