skysight-inc/HackerNews huggingface dataset:
Right; see my other comment about recent experiences with a long drive in a Tesla Model S.

nothing beats the distance over time you can get with a gas vehicle, given also how quickly you can add range.

Many years ago, we used to drive from the midwest to California every year, which was two 800 mile days. We covered that 800 miles in about 13 hours, which is an average of 60 miles per hour.

A few weeks ago, we drove 800 miles in our Tesla, and did it in 16.5 hours, which is a little less than 50 miles per hour.

Which is quite respectable actually.
There shouldn't be a debate at all since both sides are technically correct. Here's the definition from Google:

> dec·i·mate
/ˈdesəˌmāt/
verb
1.
kill, destroy, or remove a large percentage or part of.
"the project would decimate the fragile wetland wilderness"
2.
HISTORICAL
kill one in every ten of (a group of soldiers or others) as a
punishment for the whole group.

There are many words and phrases that have changed in meaning over time through popular (mis)use.
Something eventually is going to give here. Night after night there's thousands of people.

It's convenient for the local governments that the focus of the protest has shifted entirely away from local and state government organizations to a federal building.

Cynically, I can't help but feeling that the current behind everything right now is the 2020 elections.
Show HN: Discover and pre-pull Docker images on Kubernetes nodes
"Schools will give away the product but not the certification, because that is the biggest part of what people have been paying for all long."
They did indeed. In Sweden we had Spotify from the summer / fall of 2008.
You took this thread into a huge, predictable, and off topic flamewar about China. That's exactly what the site guidelines ask you not to do. Please stick to the rules when posting here.

https://news.ycombinator.com/newsguidelines.html
I agree with your post in general but consider that accuracy and being correct is hard and takes time and consideration. This is something almost no people value when speaking in normal conversations or the equivalent online venues (Twitter, Facebook, reddit, HN, etc.). Take your post, for example, with its incorrect use of "heliocentricity". It means an astronomical model in which the Earth and planets orbit the Sun at the center of the Solar System. It is the accepted theory of planetary motion for centuries and has many different ways to be independently verified :). Not the best example of something incorrect that might be promoted with astroturfing.
This article really complicates a simple concept: EVERY program needs a main(). Period. Whether it is called "main()" or ".ORG", or it is just an address given to a linker map, or simply a hex address in a BIOS boot sequence. There is no avoiding it: one instruction must come first.

Python, Perl, Ruby, Bash and every other scripted interpreted language IMPLICITLY wraps "main" around your program based on the context, otherwise it wouldn't know where to start.

I find this article obfuscating a simple point.

EDIT: When I say .ORG, I'm referring to the standard assembly language designation for "execute this instruction first", and not ICANN. ;)
As far as they care about anything on the website. Do they care about it looking pretty?

If the CPU load is high enough to impact scrolling, it will hinder people trying to get information from that page.
After the drivetrain is perfected, will they become chemists and work on tire compounds?
So long as there are other sources of information, the risk of one source having a Ministry of Truth is irrelevant.

In a vibrant marketplace of ideas, a "Ministry of Truth" is just "quality standards."
In the X13 only the SSD is replaceable. I _think_ it has a slot for cellular too, but I'm unclear if you can use it for anything. Lenovo says that if you want cellular you have to specify at build because of antennas in the display.

The T14S has soldered memory and I think even the T14 does too now.
It's important to remember that those posts are only relevant now because of hindsight bias. If the web had moved in a different direction, we would be looking back on posts with different predictions with the same hindsight bias.
Communicate what it is about your work that gives you pleasure. Tell what it is that is different (from others you know) about how you approach the job, and why that works well for you. Your intern might identify with your approach -- or maybe he or she will identify with someone else you talk about. Tell lots of stories that communicate how people in your line of work think.

Talk about the people at your workplace who really add value to the organization. In each case, what are they bringing to the team that makes them so valuable?

"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton, Jr

"Do not try to satisfy your vanity by teaching a great many things. Awaken people's curiosity. It is enough to open minds; do not overload them. Put there just a spark. If there is some good inflammable stuff, it will catch fire." - Anatole France

"Morale is increased by the accomplishment of difficult tasks." - Erwin Rommel

"Anything will give up its secrets if you love it enough." - George Washington Carver

"He who can take no interest in what is small will take false interest in what is great." - John Ruskin

"Few things help an individual more than to place responsibility upon him and to let him know that you trust him." Booker T. Washington

"The work will teach you how to do it." - Estonian proverb
Your average gas pump seems to pump about 38l/min [0]. Using a rather inefficient car with an usage of 10l/100km, you get an added range of 22800 km/h, or 14250 miles/h. So, still a factor 14 to go.

[0] https://www.quora.com/What-is-the-flow-rate-of-gasoline-stat...
The article is factually wrong about DNS over TLS. The article states: "DoT adds TLS encryption on top of the user datagram protocol (UDP)...".

In fact, it uses TCP which is also an acceptable protocol for DNS queries. It encapsulates the traffic in a TLS session, just like SSL or HTTPS encapsulate TCP connections. When UDP packets are sent in a TCP tunnel, they are properly termed "tunneled".

This is demonstrable to the average web programmer in the fact that e.g. nginx can be used to front TCP connections to a DNS server and provide DoT.

When DNS requests/responses are sent over TCP they are prepended by a length field. Here is a working Python asyncio TCP-only forwarder which supports plain TCP as well as DoT: https://github.com/m3047/tcp_only_forwarder
Norway proves it's possible. However, without a second clear example it's difficult to prove exactly what it is about Norway that makes it possible. Is it culture? Wealth? The timing? Sheer good luck in governance? A combination? It's hard to tell.

The far right frequently claim it's something to do with a lack of colored immigrants, for instance.
I'm not randomly choosing it, that definition is used throughout the article and the links provided.

Providing a minor improvement to common tasks is nothing like the boost to overall general intelligence and academic ability that people say activities like music or chess cause. Aggressive parents don't force their kids to play an instrument to improve their sense of time.
Trailing slashes are valid on empty tags, such as <img> <input> <link> <base> <meta>. They are not valid on block tags.
The databases you mention started development years ago when Rust wasn't as mature as it is now. We're starting to see Rust databases and I think we'll see more in the future: https://materialize.io/
I imagine it's not hard to track down whomever makes the phone on Alibaba and pay them a few extra dollars to put in a few better chips. Then use Kickstarter magic to advertise it, and pocket the difference.

What's the actual evidence that they designed and made it, a screenshot of the CAD file in the video? They never actually claim they created it themselves and tested iterations etc like actual phone manufacturers do. Somehow they're more secretive than Apple?

Considering they already have "protypes" that are being reviewed, I think it lends credence to this possibility.
Malware found in Chinese tax software
The real cause of Dutch disease is not economical, but political. Political forces formed from the exploration of oil (and other resources, like banana-producing land in central America) will not allow for the formation of a diversified industry where they will have less ability to control the host country. These political forces are a combination of both external (developed nations) and small minorities that benefit from the maintenance of the status quo.
SA is actually the ISO-3166 abbreviation for Saudi Arabia, South Africa is "ZA". Perhaps not the widely used abbreviation for South Africa, but using "SA" for Saudi Arabia probably isn't incorrect.
There is definitely a main function in the CPython source code.
Yeah, this was a funny thing for me to read because my first language was BASIC. When I encountered C, it was the surprising and unique one because it required all code to be inside a function body.

I suppose one of the advantages is that it makes separate compilation easier. Take several .c files, compile each one separately into a .o file, and what happens when you try to link them together? Where should you start executing?

Defining a function with a well-known name is a simple, easy solution to that.

Python doesn't need to solve this problem because you give it a file to start interpreting, and that file is the entry point. You either pass the file name as an argument or you use #! and that determines it.
Um, DLLs have it.

I used it to inject my own code in foreign executables.
Good on Apple! All companies should strive for some levels of sustainability. Upfront it might cost them but it will save them money down the road.
Doesn't matter. You know what would be awesome? Repairable and upgradable products. Being stylish and environmentally friendly aren't competing concerns unless you make them.
There are some wood gates at the place where my grandparents used to live, that are some 60-70 years old now and are still fine. And they've seen quite a bit of rain (though probably not quite as much as in PNW).

The wood itself matters a lot too. Black locust wood has an enzyme in its grain that makes it extremely rot resistant. I've heard of black locust poles used as fence poles in the ground lasting for decades.
In this case, they make a disproportionate amount of their revenue on jobs postings and selling recruiters the right to spam us. With less jobs their revenue goes away. They don’t need as many salespeople and internal recruiters.

Microsoft has historically been pretty ruthless about annual culls. It used to be in the GE mode of cutting the bottom 5-10% each year. More recently it’s more quiet.

I don’t begrudge companies this. They need to move resources where they’re most needed.
You can't legislate away ignorance.

In fact, if your argument is "most people are ignorant" it's an argument in favor of not letting their primary source of news be dominated by wealth and network effects instead of grounding in at least some objective reality (imperfect though it may be).

People who want "the real truth" have few impediments to seeking it out on the modern Internet. People who don't want to do their own fact-checking are better served by somebody doing it (and then we can keep a close eye on the watchmen).
Numbers are portable, switching networks is as easy as getting a new Sim in the local market, many phones support two Sims at a time, and much of India is dense enough to support several mobile carriers - these factors keep the mobile market in India highly competitive.
The common mistake is to try to compare Bitcoin to a predefined experience of money.

Bitcoin's value is multifaceted. From a very simplistic perspective, it can be compared to gold. Things get more interesting when you value aspects such as it being:

- Fully digital

- Verifiable by the common individual

- Sent and received with no interference from third parties

- Free from supply emission increases or control

Each of these is especially hard to come across in any other form of money. Combining them is unprecedented.
Did I not hear that some of those high numbers either have to do with corruption or over-reliance of public services on socialized oil industry profits?

Last time this came up someone was trying to make the argument that the reason some countries need 50% higher oil prices has less to do with the costs of extracting and shipping the oil and more to do with the cost of doing business in that country.

If so, you may see some pressure to change the equation, for better or worse.
The tradeoffs of building deep search
And then, assuming you can get people to agree on the accuracy of the observation and on the causation, people can still argue about the best course of action to address a problem. Assuming people don't agree on causation, you might never get enough trials of solutions to learn anything about what a best solution might look like.
Parsing HTML is anything but a minefield. It’s far and away the best format in this regard that I’ve ever encountered, because its parser is defined exhaustively, and all the tools people use obey.¹ Few other things boast that, and even fewer are consistently implemented correctly (which is to say: I don’t know of any examples, though I haven’t hunted).

(I’m speaking specifically of parsing HTML. Other tasks that you may perform on documents are a good deal less robust.)

—

¹ OK, so developers often still use bad HTML parsers in their own apps. But browsers and all good HTML tooling gets it right.
Considering they last posted about moving to Azure in 2019, I doubt they've moved everything to azure in <12 months.
These plans are more long-term than the next handful of months, so I don't think that's a consideration.
The ICE vs Electric cannonball run records show this very clearly.
I'm sorry to hear about people losing their jobs. It sucks, especially now when there is so much uncertainty.

LinkedIn makes a lot of money through recruitment ads - five years ago it was at least $300/month for professional positions in hot markets. If companies stop posting ads or switch to cheaper alternatives (some companies still use Craigslist) the impact will be significant for LinkedIn and its employees.
How much of Jio's dominance is just dumping? It seems unfair to cross-subsidize an industry like this. It's good for users in the short term, but if competition dwindles, it'll be bad for Indians long-term.
Thanks! I just looked up the T14 on the Crucial site [1] and it looks like there's a single DIMM on that machine as well as replaceable SSD. So nice to have options ...

[1] https://www.crucial.com/compatible-upgrade-for/lenovo/thinkp...
> Certainly you can't mean by posters, because you know posters make the DSM.

I was specifically talking about the commenters and society, not psychiatrists!

> Yes because a high fever is a biologically normal human state

It is when you're sick! Just like being too depressed to get out of bed is "biologically normal" after being dumped. You are completely misunderstanding my point, which would be much less irritating if you weren't so dismissive and arrogant.

As for your last point: this is very subtle and not really a good thing for an HN comment. However, the biggest logical problem you have is that you are separating "Big Pharma" and the "NIMH" from "society," which is transparently ridiculous. The human rights problems in psychopharmacology are not induced by a cabal of independent pharma executives and corrupt psychiatrists: it is a symptom of the same societal problems that, on one hand, makes people with severe schizophrenia sleep on the street; and, on the other hand, markets serious medical interventions (benzos, SSRIs, etc) as "self-improvement" (or blatant recreational drugs) for the upper-middle-class.
This does seem like one of those deeply bikeshedded philosophical arguments.
The best way I can see this play out is with development. At the start you might have an intuition but there could be several good contenders for direction. Instead of talk/paper analyze them all pick one, any one and move forward as if you'd picked the right one. Along the way look for signs that perhaps this isn't the best or even second best choice. Keep going anyway until you have a clear idea as to what's wrong, at which point you should know which direction is better and what to change to go that way.

It closely follows ship early ship often. These are not hard things to do just takes some practice and being honest. Just don't tie any personal stakes to the initial direction.
> That's 0.8% of their line electric.

And that's probably what they expect to sell. Producing 5.9M electric cars is one thing (and that's not easy on its own), but selling them is the problem.
"if name == “__main__” isn't magic, it serves a purpose. Sometimes name == “__main__” and sometimes it doesn't, and I want to specify different behavior in different cases.

Here, name is the name of the module. When the module is run by itself, this is the same as __main__, in which case I want the things specified by the if to run right away. This could be calling a main function, but a lot of times it's just is some tests or examples.

When the module is imported into another file, it's name is not the same as __main__. In this case I usually only want things in it to do stuff when they are called by the other file.

This doesn't have anything to do with a function literally called "main" though.

if __name__ == "__main__":
main()

Is a common idiom, but there's no connection between the two uses of the word main.
Ternio – A global fintech platform built on blockchain
Why do these journalists ignore the violence from the protesters? A simple Twitter search will yield countless footage of violence from the Portland protesters.
> 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.

Your policy is still ill-defined, though. Do you mean ALL female nipples, or just human ones? Does the ban extend to babies? Who’s going to police that, and how?

Radiolab did an episode on all kinds of Facebook rules, covering the nipple conundrum as part of it. There’s very little that is straightforward about implementing any of them.

https://www.wnycstudios.org/podcasts/radiolab/articles/post-...
> most human beings do not use Facebook?

Facebook has literally billions of monthly active users [0], close to two billion daily active users [1] and very likely a number of total accounts that's 10+ billion [2]. Instagram has another billion mau, and half a billion dau [3].

I struggle to think of any other private entity with that much global reach into so many peoples lives, the only other example that comes to mind is Google, the two of them combined have direct influence over 70%+ of internet traffic [4].

Staying clear of their impact is active work because even if you don't use their services, chances are many and often even most people around you still do.

[0] https://www.statista.com/statistics/264810/number-of-monthly...

[1] https://www.statista.com/statistics/346167/facebook-global-d...

[2] https://youtu.be/nmXACRrzLMA

[3] https://www.omnicoreagency.com/instagram-statistics/

[4] https://staltz.com/the-web-began-dying-in-2014-heres-how.htm...
"The system maintains backwards compatibility. We cannot ask billions of websites to rewrite their code."

I don't understand this requirement. Very few sites use SharedArrayBuffer, those few that do probably had to rewrite code to deal with it being disabled.

I also don't understand how cross-origin has anything to do with it either. Either your sandbox works, in that case cross-origin isolation shouldn't matter, or it doesn't work, in which case cross-origin isolation is not a real protection.

Am I missing something here?

Firefox is only maybe 5% of users and it has other performance problems, if SharedArrayBuffer doesn't "just work" then I'm inclined to have them take that performance hit or use a different browser.
I don't think it's about demand. If oil price were regulated as a honest market, it would cost much lower. Oil price is regulated by OPEC cartel. They could make it $200 if they want. I think that they're manipulating price low enough to slow development of non-oil energetics as much as possible and high enough to stay profitable. Also they're interested to put a pressure on Russia and some other countries, because Russia spends much more to get oil from the earth, so their margins are much tighter.
Sounds like we agree.

> My guess is there are really good abstractions that can be built on top of elisp that let people configure emacs to be a powerful tool that fits their workflow like a glove

Yes, when think about this I get a bit hung up on the UI. Maybe those abstractions are going to have to ship a new one.
Reducing a military force by 90% might not exactly improve its effectiveness...
I don't like it when people here downvote things they don't agree with.

For one, it makes it hard to find the counterarguments, which are often where the best parts of the discussion are.

I think the point about the cure for low oil prices is low oil prices stands on its own, but not as a virtue (not that I think you were implying that).

It's a warning. Low oil prices cause complacency, which means the next minor emergency we have to go crawling back to them whether we want to or not. Low oil prices are the anesthetic in the mosquito's saliva.
Pretty much the whole world was violent and reactionary before 1890.
A city should last for centuries, at least, but it's hard to say if international tourism (as we know it) will recover within the next handful of months.
How to track ezoic ads impressions with Google Tag Manager
Non-paywall version: https://www.reuters.com/article/us-china-floods-threegorges/...
Deep Learning for Signal Processing: What You Need to Know
> seemingly no consequence

This is the same fallacious statement in reverse. You couldn't build LinkedIn in a weekend because they do a lot of things you don't see. Also, when they fire a bunch of people, it will affect a lot of things you also don't see.

Could someone compare today's and yesterday's Wayback Machine results for your company's website and demonstrate the value everyone at your company generated today?
Amazon has teams with global and local impact, with the work somewhat on par with their US counterparts.

Google generally has a bit of the shittier work in general (the permanent curse of India offices of US companies - local managers/directors having to beg and dig for work/charters). It's changing since Google Pay is run from India and other India specific teams are also coming to India. Google used to have the GSuite team in India that I think was shut down 3 years ago.

Apple I think has a maps and small App Store/itunes team. (They are the exception since they don't seem to be seeking FANG like talent at least in India in terms of pay and candidate backgrounds)

FB and Netflix don't have tech teams in India.

All of FAANG have ops/business/sales team in India.
Autocorrected XML? I don’t think any browsers have ever been willing to render invalid XML or XHTML that was invalid XML, though I wouldn’t write an affidavit to that effect. I can speak confidently that Firefox would always complain of any XML invalidity in your XML or XHTML document, rather than rendering it.
What's going to stop me from using bitcoin for everything, and then exchanging some into dollars at the last second to pay my taxes?
Facebook moderation and education reform are not mutually exclusive.
Looks pretty similar to csx scripts