skysight-inc/HackerNews huggingface dataset:
There's a big benefit to Python's convention

if __name__ == "__main__":
...

especially in contrast with c and other languages that shoehorn you into defining a main function. Namely, you can put a "main" into a module, and import that into another module without causing trouble.

I use this a lot during a development cycle (not so much in prod). Say I'm trying to replace a function foo with a new implementation foo_new in a large package. I write some rudimentary tests and benchmarks in "main" which compare the two methods (including a late-import of the top-level package), and directly execute that file until I'm satisfied. At that point, I'll switch (foo, foo_new) -> (foo_old, foo) and start running unit tests. Once those unit tests pass, I remove "main" (usually, promoting some fragments of it to new unit tests) and foo_old.
I recently found out about Jam Handy Organization and their documentaries for Chevrolet (how the differential steering works.

Documentaries at the Internet archive site
https://archive.org/search.php?query=creator%3A%22Handy+%28J...
This sounds like a blog-form re-write of Geoffrey Moore's "Crossing the Chasm", a book from 1991.

There seems to be a rash of people blogging up with 'new' ideas and theories that have existed for a long time.
Not in a fact-checker-visible sense it isn't, though. We know who the actors were and what they did and how they wrote about it. The US civil war is one of, if not the, best-attested conflicts of its century. What is there to fact check? Like I said, I'm curious and suspect the real issue is a little deeper.
> a huge chunk of their "green" energy labeled as biomass is actually just burning down trees.

Nearly all it comes from some variety of grass. Be it corn, sugar cane or some foraging grass. Trees are way too inefficient to be practical.
You can set headers with .htaccess.
Even with those languages, I find a main method is a good idea just for local-scoping of variables compared to the top level variables being 'global' by default.
U.S. Accuses Pair of Trying to Steal Virus Vaccine Data for China
Peter Thiel Is Spending $850k to Bring ‘Muslim Registry’ Architect to Senate
Oxford vaccine is supposed to be done by September...
Imported Inputs into a GDP will always be SPOF...

Wont they?

Like you need to have serious incentives to import all your inputs.

Else, you are a leeching economy regardless of the value of your goods (Apple)
I 100% agree with you. Their latest flagship is named "1 II" (that's Xperia one, mark two. Someone should be fired for this).

Anyway, I was thinking of the original mini line not the later compact line. The first mini, "x10 mini", was too small to run the standard Android launcher so I would prefer the newer slightly larger "mini":

https://www.phonearena.com/phones/size/Apple-iPhone-SE-2020,...
Can you point to some independent comparisons that provide support for the "superb quality" statement for RTX GPUs vs x264?

The reason I'm asking is that's not what I expect from my experience. The main issue here is the CPU necessary to get equivalent quality x264 encoding? I would expect x264 medium profile to be better quality than any (consumer) hardware solution and I can do x264 1080@30 medium encoding in real time using ~70% of my old 5820k CPU. A modern Ryzen (3600 or higher) would use even less CPU so really not an issue, for a single stream (but it seems Nvidia has artificial limits to the number of concurrent streams anyway).
You only need the __main__ magic if you want a python file to be both a module and an executable script. This is a moderately advanced requirement. Beginners will tend to write scripts OR importable modules.
Yeah, I think educating the population is the right approach. Of course, mistakes like the food pyramid is very hard to overcome since at the time you did have scientists advocating for the food pyramid, you have lobbyists influencing the government, and various other corruption problems. Removing government corruption is just something that has to be overcome in general.

But sin taxes are just a bad idea since you end up punishing people who are doing the sin, can make the poorest people poorer which can potentially spiral. Sure, the non-sinners get to feel good since they are punishing the sinners, they can get money from the sinners to do good things with it. They just feel a great sense of righteousness from it. For what? For making things more expensive for poor people. Instead of reaching out to people and educating them about why it's bad, etc.
for simple and fast monitoring solutions, i always opted for collected + graphite + grafana. In a containerized environment, it's so easy to deploy (0 configuration by default) and monitor a set of 50-100 nodes. Beyond that, disk tuning and downsampling (pre-aggregation) rules become important.
0.0002% of a very large number like 7 Billion is still a large number and worth worrying about. Also the number is per month.

per capita numbers are useful context but sometimes the total number is also important context that is worth worrying about. In this case a tiny percentage of a very large number results in a large enough number to cause concern.
So you're saying that not every US search warrant received enough scrutiny?

What kind of warrant does the CCP have to get before they surveil someone? Since you think their system is equivalent, please explain why you think CCP warrants receive an equivalent amount of scrutiny.
A lot, actually. Tesla batteries are capable of 1500A @ 350V (and much more on a temporary basis, ie Ludicrous mode), which is already 535kW ≈ 717 HP.
Why is that only possible in Pharo? The concepts seem pretty language agnostic. Maybe I've mis-understood what it does but I can imagine a devtools plugin for Chrome/Firefox that basically does effectively

if (x instanceof foo) ShowUIForFoo
else if (x isnstanceof bar) ShowUIForBar
...

And then let you register your object UIs so they show up in the debugger.
If I want to write

<div id="mydiv"></div>

I write

<d[tab][leftarrow][space][i][tab]mydiv

My text editor can't do that guess work if the existence of the quotes depends on what I'm going to name my div id.
> Something fundamentally changed about Stripe's support a few years ago, and it seemed like almost overnight they went from routinely having knowledgeable people replying with helpful suggestions to having people who can't even be bothered to read your message before hitting whatever button sends boilerplate reply #74 with platitudes #27 and #53 at the start and end.

I've found that their email support is far better than their live chat support (and I assume phone support too). The last time I used their live chat support I had a confusing back and forth until being told to just use email support.
Fifty Days of Protest in Portland
I think it might be useful to take a sneak peak at one of the past videos [0].

I did it. I found Prof. Malan to be very, very engaging. I wish one day everyone in the world will have access to this level of education for free, and not just for CS50. For everything.

[0]: https://youtu.be/jjqgP9dpD1k
I recall that quote.

Sadly, while prescient that quote is - he still is (has?) done nothing to mitigate its reality?
To support a large disk array you just need a few things.
- Lots of drive connectors.
- That can be an 8 port SATA motherboard.
- A SATA HBA card. I've seen some with up to 24 ports, or some of these support port expanders which you would generally plug one cable into a hot-swap box of 2 to 4 drives.
- A SAS HBA card. More expensive but you can use SAS drives with enterprise features. If you're okay with used drives you can sometimes find deals on 10 drives at a time at 25% of the new drive cost.
- Lots of power connectors and a good PSU. If you have 8 SATA drives you need 8 SATA drive power connectors. Or you use hot-swap boxes and plug each one into one power connector, but watch the totals and remember drive spin-up can use 4-5 times as much power than normal. Numbers I've seen are 8W per active drive and 35W (maximum) for drive startup.

But at any rate for large disk arrays the CPU can be ignored because almost anything will work. Hard disks are slow enough that you need like, 20 of them before the CPU speed starts to matter. With SSDs you can max out the controllers and PCIe lanes and even RAM bandwidth all too easily.
"The point here is that sub $40 oil is becoming the new norm"

Crude is currently $41.74 as of 1:10PM EDT.
A study a while back showed that ceiling height can affect the way we think. It's an interesting read, but I doubt any house developers are familiar with it.

https://www.sciencedaily.com/releases/2007/04/070424155539.h...
Funny how there's so much emotional processing here from the open-source community.

What started as a techno-utopian non-profit project has transformed into a well-branded very much for profit corporation, right under their noses!

I say good for them. Look forward to seeing how the tech plays out.
It seems like the Middle East is going to get a double whammy from climate change.

1. Their economies will be affected as the world moves to non-oil based energy.

2. Their land will become more uninhabitable as time goes on. Higher temperatures, less water, more sandstorms, etc. I've seen studies that say the Middle East will be completely uninhabitable by the end of the century so we should expect mass migration from there to other places.

They will need money to combat number 2, but they will have less of that because of number 1.
Gasoline has more than 10x the energy density of Li-ion batteries, with relative efficiency taken into account. I don't expect to see BEV exceeding ICE in range anytime soon.

Long haul trucks can do 2000 miles no problem, and extending the range is just a matter of adding more tanks. For now, there is no real competition over range in ICE cars, but if that becomes a thing, you can't win with batteries.

The only batteries that could compete would be lithium-air, and they are still in research phase, with no large scale commercial use in sight yet.
Get better theory.
I'm surprised. LinkedIn has to be one of the major sites whose traffic has gone up in recent months, with so many people looking for work and stuck in front of a computer.
Linkedin wasn't on Azure until MS bought them. Now the TCO has gone up. GitHub has also shown signs of the Azure infrastructure.
Worst Flooding in Decades Raises Concerns over China’s Three Gorges Dam
That's a good point. I've done some more reading, prompted by your comment, and it looks like

Other coronaviruses typically do have reinfection about a year after first infection: https://www.medrxiv.org/content/10.1101/2020.05.11.20086439v... - with antibody reduction occurring after about six months.

I know there have been a few people who appeared to clear the virus but subsequently tested positive again - I don't know enough about the details here. Vox article with more links: https://www.vox.com/2020/7/12/21321653/getting-covid-19-twic...

I hope that reinfection with this virus is less likely, but I don't think we yet have any data to suggest that it is much different than existing coronaviruses.
If you really want you can get the T14s and swap the panel, but it's expensive and a pain, especially on a brand new machine.
Reality Winner tests positive for coronavirus
There is no four Internets, only three: US Internets, China Internet and the other.
Many remote roles are direct apply/hire from job boards with leetcode tests that act as a filter. Recruiters are being used less.
Not OP but I can imagine an example might look something like this: (Please note below is not my view, but a hypothetical)

Professor of history/analytical view of history may label Robert E. Lee a skilled tactician.

Someone on facebook posts a Robert E Lee post saying he was a skilled tactician.

'Skilled tactician' seeming to be positive stance on Robert E Lee running counter to the viewpoint that, as a confederate general, he was pure evil with no positive qualities, the story then gets flagged as false despite the historians assertions that he was a skilled tactician.
Actually it is tax neutral, not carbon neutral. The kicker here is (i cant find the source anymore) at least in Germany agriculture is energy intensive. It seems one energy unit of crop need one energie unit of (tax excempted) fossil fuel (for the machineries).

So basically you are pumping fuel into a black box, and out comes bioful (which has tax breaks as well, if I remember correctly)

It is a left picket right pocket game.
Norway used to be a relatively poor country by Western European standards but had a functional economy before oil. Homogeneity, a staunchly hard-working and independent population, being surrounded by lutheran economies, and "bondevett", is why Norway turned out well.
The real hillariously devious move is the devil does not really exist as a literal thing. Yet he causes people to carry out the agenda by not only scapegoating it for their selfish desires but from countereffective attempts to fight the devil. If he was real it would be easier to learn and recognize an actual bad actor and their mechanisms. That can't be done when it is fake. Attempts to fight are always a wild goose chase when building something good is the only actual way.

"The secret to my success is that I do not really exist."
Sounds like LinkedIn only found a way to exploit your pathologically broken budgeting system.
Worth appreciating the economic dynamic the article is based on: https://en.wikipedia.org/wiki/Resource_curse

Basic issue is that when a government can fund itself using resource extraction, it does not need the consent of a nation of people who would otherwise make up a tax base, so they pay the army and police out of oil money to keep them in power, and the average citizen is reduced to a subject. Trouble is, if all you need for power is control of the resources, it's not like you need to spend on winning hearts and minds when you can seize the resources with a relatively small rebel group. Given the high stakes of oil/resource billions and the very low bar to entry for cheap rebellions to seize them, these incentives are a recipe for the political shit shows we tend to associate with some resource cursed economies.

The predictable effect of oil price collapse is that leaders can no longer guarantee those payouts to the people who keep them in power, and as a result, those people will replace them with someone who can keep paying them. This is described in the DeMesquita-based idea of the "Rules for Rulers" video (https://youtu.be/rStL7niR7gs), which is related to the article's closing line about leaders getting their peoples consent.

The "Arab World," is a diverse place with a variety of multilateral interests so there are more dimensions to the outcomes than this, but the most obvious risk is that China will prop up whoever they can control in exchange for oil, and the mid-east will become the field for an China/US proxy war. The next risk is that unfortunately, if Arab leaders are reduced to winning hearts and minds to stay in power, they may do it with appeals to religious radicalism instead of democracy, which will bring about another era of state sponsored terrorism, that again, invites war.

Nice that we're using less oil which is good for the planet, but there is the small matter in the interim of what is good for humanity. The people who lose in these conflicts are never the participants, but the ones caught between them. These people will form new waves of refugees from the conflicts that can bring additional instability.

The precise knock-on effects of an oil price collapse can't be predicted, but you can anticipate the change in downstream volatility, and find a way to become indispensable in volatile times.
Tracking Covid-19 in the United States
it still makes a difference, i struggle to use my current phone one-handed. reaching the other edge with my thumb is always a pain. i welcome a smaller but thicker phone.
>You cannot talk about these things at cocktail parties, though, because people will slowly shuffle away from you -- whereas you can talk about deep learning, which is odd.

It's really not odd at all. The average person has some familiarity with ML/AI, so you don't have to expend the energy to introduce them to the topic in a way that is understandable and also engaging to them. They already have a baseline, and are likely already aware of some interesting use cases. By contrast, they might not even know what "operations research" is, so you have to be both willing and able to expend the energy to explain the field in a way that is comprehensible and interesting. I'm sure it's possible, but the cross-section of people with the knowledge, the interest, and the social graces to do it is probably small.

To me it seems that a large swath of the science community dislikes buzzwordification and pop science more than they like proliferation of knowledge, based on how negative responses seem to be to things like normie interest in AI here. I would be fascinated to read any peer reviewed studies on the negative impacts of pop science on long term scientific advancement, so that I could understand this bias (and debunk my own bias that more interest in science is better in the long term).
> Oil is basically what made the middle east a violent and reactionary place.

So, the Arab conquest after the 600s was not violent and reactionary?
The heavy trucks used in the mining industry are almost entirely electric. If a truck is going underground, much better for it to not be spitting fumes that will kill your workers, and if the mine is at the top of a hill, the regenerative braking from a loaded truck going downhill will charge the batteries so much that the trucks rarely, if ever, have to be manually charged.

Some of the trucks in question: https://www.komatsuamerica.com/equipment/trucks/electric
5 Open-Source Blockchain Technologies That Linux Users Need to Know About
It appears that half of the memory is soldered to the board. That was also the case on my laptop mentioned above. It came with 4GB soldered, and 4GB in a slot. Why? I don't know. I was able to swap the 4GB with an 8GB and somehow it's still running in Dual Channel mode per CPU-Z so I guess it's no big deal, but I also find it odd.
Show HN: CI/CD Made Easy
A little extra cocaine wouldn't impact Coke though.
It’s awesome investigation and well written!
True, but since policies are directed to regulate social media, the question of relevance to the general population is entirely skipped.
They didn't say anything about whether it merits 10k people, they were curious what all those 10k people are doing. I'm curious about that as well - clearly LinkedIn is doing much more than I was aware of.
>
And then the EV has to stop and charge for a couple hours.

600 mi at 10mi/hr is 10 hours, so probably ready for a break.
And you can perfectly well compile them and keep that same behavior.

C's entry point is in the runtime too, it's not your main function (but yeah, the optimizer will probably inline your main). At the end of the day, there's no real difference between compiled and interpreted languages, all the difference is on the toolset.
Sessions for Analysis, the Eternal Fiction
Looked up to see who owns Volvo, just out of interest. Ford purchased in 1999 and sold to a Chinese firm in 2010.
Huh. Which editor? I might consider filing a bug report.
Dubai, as far as I've heard, has no oil left. It's tourism, finance and other industries unrelated. So in that sense haven't they?
This is nice, thanks for taking the time to explain and write it all out. I like UI testing because I dislike maintaining mocks and stubs all over the place (and haven't found a way to write lower-level tests that don't rely on them heavily), but this approach definitely seems interesting. I like that it also forces your views to stay simple and just call simple functions. A problem resulting from not calling a handler or calling the wrong one would be immediately obvious, the tests really deal with checking what happens when that handler is called.. this seems like a great way to isolate that and test it without the pain of selenium et al! Cool pattern, thanks for sharing.
Third party recruiters specifically.

I've seen so many jobs that send leetcode tests instead as the initial filter and use job boards to find candidates.
Google Forms PDF Builder
It would be wonderful if you included limitations as well, to help people make the right decisions for their tech stack. I've been playing around with Prometheus lately for environmental monitoring, and long-term retention is particularly important to me.

During proof-of-concept testing, some historical data on disk perhaps wasn't lost per se, but definitely failed to load on restart. I haven't worked hard to replicate this but there are some similar unsolved tickets out there.

Additional traps for new players include customizing
--storage.tsdb.retention.time and related parameters.
Job Search Strategies in Tech
So, yes, "you're pretty special and living in an unusual place"
Why is every reply getting flagged? Can I have some answers - Why is a response that refers to the SPLC getting flagged? SPLC is a very well respected organization. Who is flagging this and how are my comments outrageous or flamebait? Who is even tracking and following up on this thread? Why so much investment here!
GPT-3 can generate a React app from natural language description
Every news source is biased, don't rely on Facebook for news. It seems absurd that anyone would actually suggest otherwise.
listening to audio should not drain your battery. i get an hour of audio even if my battery is down to 10%. it hardly takes more energy than what the phone consumes when idle.

if audio drains the battery then there is a serious design flaw
I've wondered whether the term directly evolved from this sort of joke list that was popular to pass around on the early internet: http://www.personal.psu.edu/sxt104/program1.html
Technically, that would be a great case to strengthen anonymity.
Delivering the part of LinkedIn which provides value to end users is relatively trivial. A small number of engineers (20-30) could do that. The problem is ironically how much profit they make.

Look at ad-blocking for example. You as the user won't see how this affects LinkIn, but they likely devote dozens (hundreds?) of employees to fighting ad-blockers and optimizing the site so people don't notice how their anti-ad-blocker solution completely destroys performance. But as a company that kind of investment in staff is profitable because the cost of those engineers is vastly lower than the cost of losing 1% of their advertising revenue.

Likewise, ad fraud, and a dozen other issues which might impact LinkedIn's revenue flows. When you hire your 4000th developer, they aren't providing as much value to the company as engineer #50, but they are providing enough value to cover the cost of employing them (at least net, it's likely 50% of them at that point are dead weight but hard to identify).

Multiply this kind of decision making over 500 other decisions and engineering "Bloat" makes a lot more sense.

And that's before you start adding in things like sales, HR, marketing, etc. Remember, each additional person doesn't need to provide as much value as the first 50, they just need to provide $100-500k worth of value.
What do you call it when people in an unmarked van stop you on the street and force you to go with them without telling you who they are or why?

If that happened to someone you were walking with and they left you there, wouldn't you call police and report that your friend was abducted?

Also, the government officials have claimed the people weren't arrested, and my understanding (which could easily be wrong) is being detained by law enforcement means you're not permitted to leave, not that you must go with them, so I'm out of words.
Ah, you're correct, I misremembered that. It's only invalid with XML, but it's been a long time since valid html was valid XML I guess.

Fwiw, at least chrome autocorrected it before rendering... Though that might be out of date as well? Idk