skysight-inc/HackerNews huggingface dataset:
Re: "This is terrifying. A handful of mainstream publications and a bunch of basically unknown facebook folks are now the censors."

It's not much different than when the TV news was controlled by 3 networks.
There was a time you could... Now? no way, at least not without some Flappy Golf type of viral hit.
The success of Jio in great part is down to the government retroactively converting their spectrum licenses to GSM.
One of the things I've always wondered about when Arab countries run out of oil, and now with cheap oil, will it, at a macro level, result in lower Islamic terrorism or higher?

Argument for Lower : State sponsors, and rich individual sponsors will have fewer funds. There may be local revolutions resulting in more democratic governments.

Higher: There will be instability due to rising poverty with many people turning to radicalization and in many cases terrorism becoming the only way for poor people to support their families.
“(…) will that change in the next 10 years?”

As someone living in Europe, I hope so! But I wouldn’t bet on it. Silicon Valley/USA is way ahead of us when it comes to tech/startups.
I will make the snarky observation that if there is one good thing about the Norwegians and their petro fund, it's that they seem to have a national culture of being a bit ashamed of having come into so much money, and are willing to have it hoarded away for them for some future while they live relatively "modestly". It takes some self-discipline to not pressure your government to give handouts left and right when you're rich.
Robust Win32 IO
At a guess, it makes the language simpler. The main function is just that -- a function. It uses tools the language already has to deal with arguments and exit codes.

Arguably it also keeps things like libraries simpler. For example, what would it mean for me to have top-level expressions in a dynamic shared library? Does it execute as soon as I dlopen() it? Does it create an implicit "init" function that I need to call?
> the developer relations folks have more purple hair and technical skills.

I've never heard the term "purple hair" before. Is that literally meaning like... more alternative?
Problem solving guide for acing FAANG coding interviews [video]
It applies just as much because it is a fundamentally technically illiterate argument. It already ignores that the whole point of the algorithim is to prioritize. In this case just as much means "none" for both because it is asking for an outright contradiction to - provide prioritization without any bias. Or bias without bias. Nonsensical stupidity. The mobster with a cudgel making vague threats rhetoric is just another form of the stupid and wrong meme of service and platform being mutually excluse.

I personally try to do my part by stomping on this dumb sentiment like a cockroach whenever it pops up.
There's also a risk that someone less experienced hits themselves in the thumb with a hammer, and then hits themselves between the eyes with the claw, and then drops the hammer on their foot.
Are we ready to recycle the “rare earths” behind an energy revolution?
Again, I was only pointing out the differences in freedom, not making a judgement about which one is better... different people have different opinions on this one, after all.
I spent a month in Antibes (next to Cannes) visiting new in-laws. The French Riviera is a playground for the hundreds (thousands?) of saudi princes. I've never seen so many mega yachts, Rolls Royces, and Lambos in one place. To be honest, it was (briefly) kinda cool to see ultra-wealth on display, despite the consequences to millions of poor who suffer for it.
BigQuery and the Middleware Play
My company uses this! And they provide some matching on donations, so it felt worth it to go in and find a worthy charity.
MediaWiki is certainly future proof and has lots of inertia, including a large API surface area, a large ecosystem, and the backing of a deep-pocketed benefactor. An extremely underrated/largely unknown project is Miraheze[0] which is a non-profit that provides free MediaWiki instances to people.

I wish proper wikis hadn't gone by the wayside. (I think it has a lot to do with MediaWiki's default skin being out of style, and people not realizing they can change it.) Most of all, I wish open source projects would stop dumping a bunch of Markdown in a repo somewhere and calling it a "wiki". They're not even close to comparable.

My two biggest complaints about MediawWiki are 1. PHP, and 2. no well-supported way to opt-in to a different syntax like Markdown or AsciiDoc or pretty much anything that isn't MediaWiki-flavored wikitext.

0. https://miraheze.org/
I mean, onSuccess could change. And as you suggested, creating the extra callback is redundant.

const fetchData = () => {
setLoading(true);
callApi()
.then((fetchedData) => {
setData(fetchedData);
onSuccess();
})
.catch((err) => setError(err))
.finally(() => setLoading(false));
};
useEffect(() => {
fetchData();
}, []);

becomes

useEffect(() => {
setLoading(true);
callApi()
.then((fetchedData) => {
setData(fetchedData);
onSuccess();
})
.catch((err) => setError(err))
.finally(() => setLoading(false));
}, [onSuccess]);
I feel like every Stratechery piece on Europe is just plain bashing because Ben Thompson is allergic to regulation. Somehow extrapolating from one Indian company, Jio, to some sort of global vision of an internet while completely disregarding the European continent (which in pure market value obviously still is large) just seems like bad faith.

Every time I read one of these pieces about growth, growth and growth I'm reminded of Russ Ackoff.

"“Science, technology, and economics focus on efficiency, but not effectiveness. The difference between efficiency and effectiveness is important to an understanding of transformational leadership. Efficiency is a measure of how well resources are used to achieve ends; it is value-free. Effectiveness is efficiency weighted by the values of the ends achieved; it is value-full[...]

Put another way: efficiency is a matter of doing things right; effectiveness is a matter of doing the right things. For example, the more efficient our automobiles have become, the more of them are on city streets. The more of them on city streets, the more congestion there is. The efficiency of an act can be determined without reference to those affected by it. Not so for effectiveness. It is necessarily personal. The value of an act may be, and usually is, quite different for different individuals. The difference between efficiency and effectiveness is also reflected in the difference between growth and development, and development is of greater concern to a transformational leader than growth.”

We don't need more internet companies for the sake of more internet companies, and more growth for the sake of growth. We need an internet that works for its citizens and members, and on that front I have still more trust in the old continent than I have even if China and the US keep producing a million more companies. If human rights and privacy isn't a vision I don't know what is.
You replace that with aftermarket upgrades. Nobody is going to care that a Leaf "R-type" isn't stock.
" too busy feasting off of the intermittent boom cycle to prepare their people constructively for the bust that comes later."

It's much worse than merely 'feasting and fasting' - the problems are very deep, another way of putting it, there was 'not much at all' in these places at all, then they had oil, and the absence of other parts of the economy isn't quite so much an artefact of dysfunction, rather, it never existed in the first place.

Many of these places had 3% literacy 2 generations ago, and much of the civic institutional infrastructure (I mean like 'laws' and 'Judiciary' and 'Governance' etc.) is as new as many of those shiny buildings.

Let alone the absence wide networks of useful artisanal know-how spread from generation to generation, or at least, such information that can be used to found industry.

If Oil permanently crashed, it would be very bad and there would be no recovery. The Gulf States would be the poorest states in the Middle East. Saudi Arabia would be like Yemen or Algeria.
As they say in the oil industry: the cure for low oil prices is low oil prices. In any case, if the developing world is really to develop as much as hoped for and claimed they will need a lot of oil. Even if it is all renewables based (which is a fantasy) those renewables require large oil inputs to be manufactured (those 400 ton mining trucks won't be electrified anytime soon). So while I expect oil to be down over the next year or so, I think the long-term trend is upwards, for better or for worse.
Oil would only have been a thing maybe after 1890's or so.

It's been violent and reactionary for centuries.

The natural resource that drove the Romans and Greeks, and later Europe to colonize that region was: trade routes.

Frankly; Turkey, Persia, and Egypt have also been at each other's throats over regional dominance for centuries.
Cutting something with scissors, or in the case of thicker metal a press with a bit, doesn't remove material. Tearing something in two doesn't remove material. But you're right, any sawing type cut, as with a grinder, does remove material.

What I was really getting at though is that if you look at the definition of "cut" you'll see in most (all?) sources it defines it has being achieved through a sharp object or tool. I understand that's not often how it's used colloquially though.
What are the benefits of using one mathematical notation over another?
Yeah, the MNIST model seems to have issues. I can get it to make mistakes for all line widths and most digits. Maybe the issue with small digits is that there is no cropping happening and the model was trained on MNIST where all the digits are uniform size.

Actually this is probably a good demo for a ML visualization tool as we were pretty easily able to find these issues. If cropping is the issue, this is also something that a test set might not catch.
They should vertically integrate while they can. Produce exportable goods and materials with the oil.
An untrue claim in the New Yorker speaks volumes
React's documentation calls it a library but we don't have to. I think the reason people go back and forth on this is that there are a couple definitions of framework out there. A lot of people consider it to be a sort of continuum, where a library becomes framework-like as it adds more and more functionality. I understand that framework can sometimes connote bloat, which is probably why the React docs avoid the term. And I think it's perfectly reasonable to say that frameworks are a subset of libraries, so perhaps they're not strictly wrong to describe React as a library.

But, as others have pointed out in this thread, a much more useful distinction is where the library's code gets called in the stack. If your code is at the top of the call stack with library code below it, then it's a framework. If their code is at the top, then it's a library. In short, you call a library, a framework calls you (inversion of control). So in that sense React is most definitely a framework.

Also, I'm willing to be wrong on this one if somebody can give me a meaningful and objective reason that React should be considered a library but Angular should be considered a framework.
Apparently "decimate" is having a moment on HackerNews lately. It came up over the weekend as well [1], with the same disagreement between people on what it actually means.

[1] https://news.ycombinator.com/item?id=23878605
> If you want to read a linear function from the data in a two-dimensional coordinate system in math lessons, you can do it in five minutes - or quickly watch a video on YouTube.The situation is different for more complex tasks: Physicists, for example, have been trying to combine quantum theory and relativity theory for almost a hundred years. And if this succeeds, it could take generations to clarify the effects, says physicist Lee Smolin .

What on Earth does that paragraph mean? Parts of the article read to me like they were generated automatically, but other parts don't.
Zoho's Esignature App
Columbus is probably not the best character to use for analogies...

"If AI is like Columbus, computing power is Santa Maria"

and intractable physics problems are like... indigenous people?
>Decimation (Latin: decimatio; decem = "ten") was a form of Roman military discipline in which every tenth man in a group was executed by members of his cohort. [...] The word decimation is derived from Latin meaning "removal of a tenth".[
> lecture/lesson planning, coming up with curricula, etc.

For most of an undergrad program, I personally find that adapting a good text to my students and our program's succession of courses to be about the same time and effort as adapting to good videos (I like 3B1B, for instance, although I have not adapted Dr Malan's material).
LinkedIn to Lay Off About 6% of Its Workforce
Promtail is the official log shipper for Loki, but you can also use others. See https://github.com/grafana/loki/blob/master/docs/sources/cli...

As for storage, the default is BoltDB for indexes and local file system for the data, but you can also use popular cloud solutions like DynamoDB, etc. AFAIK BoltDB is automatically installed when you install Loki.

The only possible pain point I see for you is that Loki is tailored for Kubernetes. It is totally possible to use it without running a K8 cluster, but you lose some features.
Fantastic talk, covering the difference between “simple” and “easy”, and how (when you can’t have both) the former is preferable.

I find it interesting that Python, despite being widely described as a simple language, takes the opposite approach. The language isn’t simple at all [0], it prefers to make things easy. This preference even appears (in the contrapositive) in the “Zen of Python”: “Complex is better than complicated.”

As a specific example, Python 3.7 introduced dataclasses, making them dependent on type hints when they could have been completely orthogonal. The language design ignored this talk’s advice against “complecting” features.

[0] https://twitter.com/raymondh/status/1280946969116995584
> This is terrifying.

Ironically, this news is terrifying if you have a very inaccurate view of human behavior. The following posts about "mindless masses" is so dismissive that I have to question the voracity of the analysis. People who use facebook are constantly faced with the dissonance of things found on facebook that do not correlate with reality. Even if FB was your one source of truth (there are no people who "only use facebook" or FB+Google, etc) they cannot inherently trust everything they read from day to day contradiction with their own community realities.
How much are electric cars limited by raw torque and power? My impression is that a stock Tesla (pricy, but far from "supercar" prices) already has enough torque that it can turn the wheels past the point where they lose traction even up to quite high speeds. (Anyone know what speed?) If so, then the car's performance in that regime is limited not by engine power but presumably by things like the aerodynamics, sophisticated anti-slip electronics, and chassis movement.
Airbnb is cancer. Destroys communities, and now this. Not in any way defensible.
If these laid-off employees have an average fully-loaded cost of $400,000 (which probably isn't too far off), then linkedin will save about $460,000,000 annually by not keeping them on the payroll.

That is not small change, even for a company the size of Microsoft.

They may have been contributing more than that to the bottom line prior to the recession--hard to know--but the recession changes quite a bit of the calculus around long-term bets.
I found the analysis on winners and losers for the Indian model to be lacking in depth. Specifically, if the Jio Platform truly intends to be a platform (as described by the Bill Gates line[1]) then it's a huge win for Indian companies and startup ecosystem.

I wonder if FANGs will dramatically change their Indian operations and make their Indian subsidiaries the primary revenue engines with India first products and services.

On a tangential note, what do these FANG subsidiaries in India primarily focus on? Is it more sales and business operations? Or do they also do "real software engineering" as well? Asking for a friend :)
Thanks for the head's up! I checked the logs and it was just a case of an incorrect error message. Fixed now.
"Accountable", there is that weasel word again for "do what we want or else" without even defining it.
Maybe it goes back to assembly language. If you look at a block of assembly or machine language code, it's not immediately obvious where the entry point is. You could guess that it's at address 0, but I don't think that's the case for all machines.

I think more important than having a main() function is to clearly delineate the entry point. And in Python, the entry point is the first line of the program.

Now I've noticed, at least within the Arduino environment, that it uses setup() and loop() as entry points, but code is executed before these functions are called, if for instance a global variable definition invokes a class constructor. I don't know if that's how "regular" C works, but it creates ambiguity as to what runs first.

There are other languages where it seems hard to guess where the actual entry point is located unless you know where to look.
The 200k Tesla Roadster is expected to have 600 mile range. What ICE car exceeds that? Most ICE are at about ~450 mile range, Model S is at 400 now. There's going to be a lot of battery improvements over the next couple decades pushing EV range far past ICE.
This is an unintended consequence (?) of the US' increase in fracking, starting circa 2005 or so. With oil being so ubiquitous within the (ailing) economy, cheap fuel was a proxy for lowing interest rates; which were already rock bottom.

The benefit then was it hurt Russia, Venezuela, and Iran. The pamademic has taken it a step further. I guess the question is: can the USA bail out SA and associates? Does the US have the political will and the capital to do so? If not, then what?

p.s. Keep in mind the first foreign country the current POTUS visited was SA. It seemed like an odd choice. Maybe not?
Are you saying that writing code in a way that defends against future mistakes is a waste of time? It's hard to see the content of your comment through the sarcasm.
Different cultures may disagree on what the policy should be, but Zuckerberg has the ability to create nudity rules that are objective, whether you agree with them or not.

For example, FB can make a policy that says no exposed nipples for females. There may be different opinions on the value of such a policy, but not the execution/implementation.

This is much more difficult for a policy stating that content must not be "misleading". Fact checking is much more problematic, because there can be support for either interpretation, nuance, as well as scientific uncertainty.
That is why I recently said: Fact checking == Truth Factory.

Lets open a ministry for that, guess the name.
Some of the most successful projects I know started of as unsanctioned "skunkworks".
Tangentially related: meal timings are also super important if you're looking to bulk up. Muscles "grow" in a process called muscle protein synthesis (MPS), which is triggered (rather, increased significantly) after eating a protein-rich (30-50g) meal. But after triggering MPS and once the cycle is complete, MPS cannot be re-activated for a period of 3ish hours -- so it's a bad idea to chug a protein shake directly after your workout, then go home and eat a big meal an hour later. Further reading: https://fitstra.com/nutrition-fueling-for-fitness/#mtmiq
Maybe they are... I just thought they might want to do a different job.
This reminds me of the Dual in Linear Programming.

https://en.wikipedia.org/wiki/Dual_linear_program

https://web.stanford.edu/~ashishg/msande111/notes/chapter4.p...
Fair enough on all points.

Electrification is the longer term existential threat. Even if 20% of vehicles are electric, the impact on demand and oil prices will be profound.
> What makes dollars valuable is that the government wants them back.

Very common misconception. Dollars have value because there is demand for them (governments, other governments, other people and institutions). Bitcoin also has value because there is demand for it. As does your house, expensive art, etc.

Why does anything have value? Because someone else will pay your for it. I can say my pencil is worth $1 billion, but it doesn't really unless someone else will execute the trade.
Interactively Browse Large Lists of Output with FZF
Interestingly, the first thoughts that come to mind on how to mitigate this problem fit Saudi Arabia very well (as far as I know, I am no expert). Invest in a considerable security force, try really hard to ingratiate yourself with a few powerful foreign allies that have a vested interest in your stability, and then fund education like mad, especially sending children to foreign universities, to try to raise the capability level of the country before the wheels fall off.
Parts of the C runtime library need initialization and this initialization is done before main is called. Interpreters do this before you have a chance to run any user supplied code.
This isn't new by the way. Many people talked about it. Off the top of my head, Patrick Collison mentions the importance of reviewing and expanding your product-market fit on Tim Ferris's podcast.
People already retrofitting tesla motors inside of vintage Porsches, I’m sure as more EVs end up in junkyards more will make their way into speed junkies hands.

Personally if I could retrofit my 240z with an electric drivetrain I would, I just wanna smoke some Tesla’s off the line :)
That maybe true but what I was looking for is a more convincing way of showing that a neural network approximates a function better than other functions, such as say a b-spline. For example, you say that the neural network with many more parameters works better, but what if we had a b-spline with many more nodes.
Seen it. Most recently was trying to view a reddit on mobile. Said download the app or take a hike.
Circumvented by doing 'request web view' option (in mobile safari)
Biomass is over 40% of Europe's "renewable" energy.

Edit: see this for numbers: https://www.vox.com/science-and-health/2019/3/4/18216045/ren...
https://outline.com/VBSEgq
Audio from the Best MicroConf Talks Are Now on the MicroConf Podcast
"fighting the last war"
Usually the way it works for our company, they give you a 2/3 month grace period where you stay on the books and get a chance to interview externally or internally and you only get the severance (in addition to the 2/3 months no work period) if you move out of the company.
Now is the age of splinternets and digital sovereignty and social media populism. No mention of the Digital Iron Curtain?
Demystifying the Great Firewall of China
Reminds me of how an AI agent that tries to minimize the worst case scenario is almost always better than one that tries to maximize the best case scenario.

(admittedly that's a bit anecdotal, maybe someone with more knowledge can give better details on that statement)
What really limits electric vehicles for racing is weight and batteries. Weight is always bad, and batteries are heavy. And batteries can overheat, which means going into limp mode. The overheating seems to be getting solved relatively quickly, but the weight of batteries isn't going to come down drastically any time soon.

They're just different - electric is better in a lot of ways and gasoline is better in a lot of ways. I don't think you'll see electric cars doing endurance racing anytime soon.
So how will these headers work for shared hosting sites where you normally cannot modify the hosting provider's HTTP server?
"My grandfather rode a camel, my father rode a camel, I drive a Mercedes, my son drives a Land Rover, his son will drive a Land Rover, but his son will ride a camel"

Rashid bin Saeed Al Maktoum, Emir of Dubai
https://outline.com/VBSEgq

Read without annoying app/account wall