skysight-inc/HackerNews huggingface dataset:
If countries like China, India, Malaysia, Nigeria etc. start to have per-capita energy use close to that of the United States, global energy consumption could easily double or triple even without any increase in population.

I said "if", but I really should say "when", because this is what's expected to happen as these countries modernize and start getting things like air conditioning on the same scale as US households. 79 TW of capacity will become a necessity sooner than you think.
It works well, and has most of the features we need from a paging solution. Not sure what you were missing.
Don’t take for granted that their biggest competitor was just purchased by Atlassian as well.
OP here. This algo is a reasonable alternative to quicksort in a large variety of use cases.

Explanation: http://www.skylinesort.com/skylinesort.pdf

C code: http://www.skylinesort.com/skylinesort.c.txt
Some small subset of pool servers run an HTTP server that redirects you to www. Not all of them. You just got lucky.
That was my initial thought too. It’s not the responsibility of US corporations to influence or change the behavior of foreign governments, but rather to follow the laws of the countries in which the operate. They can choose to operate in those countries or not, but if they do they have to follow the law there.

Changing foreign govt policies is the responsibility of the US govt, which in recent years has tended to punt on it when convenient to wealthy constituents (China, Saudi Arabia, etc). Calling out these CEOs for not doing what is the US Govt’s responsibility isn’t a good look for the Senators.
Yes, a big part of the reason is that 3G/4G/5G frequencies were auctioned off by the state, and the bids reached absurd heights. To recoup that initial investment, each new generation of mobile broadband starts out at a huge premium compared to similar markets, and then those premium prices become the norm.
How much does Twitter spend on AWS?
http://www.example.com

https://www.example.com

http://example.com

https://example.com

do not have to be the same website
and there are cases where it isn't the same site!

Which site you visit does matter and not just for internet banking.
If it becomes that easy if we hide things maybe we should hide the half of the traffic lights as well.
I disagree. These businesses are run by an AI, but one with many faces, which makes the consequences of their decisions very similar if not identical to that of a "faceless AI".

It's not run by an electronic AI by any means, but it is as if each and every employee is an instance of the "Chinese room" [0]. Each individual in the system is focused on a set of local objectives, may or may not have their own individual biases, and have varying capacities when it comes to predicting the future and reflecting on the past. The leadership have de jure full granular control, but not de facto full granular control and can only really make big changes or none at all. The net result of these interactions are what the users see on the outside.

[0] https://en.wikipedia.org/wiki/Chinese_room
Does it support python multiprocessing?

Basically nothing out there does that I've found, and it's a really major pain-point for me.
The big problem I've noticed when reading unit tests in various projects is that they frequently test the implementation rather than the outcome:

https://softwareengineering.stackexchange.com/a/304910/24932
Ask HN: What is the best way to promote your abilities as a developer?
I am a web developer and I have been working in this area for 4 years. But I have not really built something that could really show my abilities. And I have been wondering if I should be a good stackoverflow member, write articles, work in open sources projects, put my side projects online ?
I am not looking for a job right now, but I want to have something valuable that could help me find a great one if I need to.
Quoted from a comment in the linked site:

> How will you distinguish http://www.pool.ntp.org vs http://pool.ntp.org ?

> One takes you to the website about the project, the other goes to a random ntp server.
They definitely do not for me (ios).
I wonder if there is any research or evidence that users actually find “www.” confusing enough to go through the trouble of removing it.
Many thanks for building and releasing this. It's ridiculously easy to install (especially in virtualenvs) and very powerful. When I push '3' or '4', I get informative, stable output.

Minor feature request: an explicit 'pause' button would make it easier to copy file paths from the output. Ctrl-S is a reasonable alternative, but it's a little hacky.

Also, it would be nice to somehow eliminate time spent in poll() from the results. I'm profiling a server process and 99.9% of the time is spent in a poll function. Perhaps there could be an option to disregard time spent in system calls rather than user code. Most of the time I'm interested in profiling only user code.

(Actually, I've been looking for a reason to play with Rust code. Maybe I'll try to add these features myself!)
That would mean they believe if you "wrote it correctly the first time" you wouldn't need to refactor. Therefore you would have productivity to produce new features.

This is obviously shortsighted for reasons most developers already understand.
And club of rome published the meadows report in 72. Odd.
I would be surprised if there existed a person whom you cannot get any dirt on.
You can't possibly say that with any confidence. I literally just finished reproducing a memory leak caused by an insane combination of circumstances. This was not something valgrind or any similar tool would find. It was not something that any rational human being would have thought to write tests for.

Once code is no longer synchronous, and tasks are being juggled around and swapped between, it becomes virtually impossible to predict what might cause this sort of bug.
It's the same type of risk, but the degree of risk varies.

Laptops run operating systems written by and supported by software companies. Because software is one of their core competencies, they are more likely to understand vulnerabilities and release updates to patch them in a timely manner. And they are more likely to continue releasing updates for years.

IoT devices (security cameras, etc.) are usually made by companies whose core competency is hardware. They tend to think in terms of making money by selling hardware, and the software may be viewed as overhead and of secondary importance. You are lucky to get any updates at all, and updates tend to cease long before the hardware stops working.
Its @malwaretech/malwaretechblog, not malwarebytes.

https://twitter.com/MalwareTechBlog
Extractive Adversarial Networks: Explanations for Attacks in Social Media
> During the probiotics phase participants consumed Supherb Bio-25 bi-daily, which is described by the manufacturer to contain at least 25 billion active bacteria of the following strains: B. bifidum, L. rhamnosus, L. lactis, L. casei, B. breve, S. thermophilus, B. longum sbsp. longum, L. paracasei, L. plantarum and B. longum sbsp. infantis. According to the manufacturer, the pills underwent double coating to ensure their survival under stomach acidity and their proliferation in the intestines. Validation of the aforementioned strains quantity and viability was performed as part of the study.

https://www.cell.com/cell/fulltext/S0092-8674(18)31102-4?_re...
not op but it lacks a proper, modern ui. Recently, I needed to remove myself from a schedule and a team, took me 10 minutes.
It's possible that the article I was looking at was a non-AMP link. At least, it didn't have the lightning bolt symbol next to it.
I embarrassingly have read the main and about page a couple times and still do not really get it. What are events? Like a critical failure on your server?
1L of water is 1000g, then you need additional 2261 joules per gram to evaporate. So 1E9j will evaporate 384 liters of water, so 0.384 cubic meters (unless I lost a degree of magnitude here or there myself :)).
It’s not that technical, though, to people urls are just strings. Why would people care if they can see the www or not? If anything, this is likely to introduce more confusion.
We have genes that help regulate the use of water in our system. These genes can turn on and off depending on our environment and the availability of water. If you feel the urge to drink over a gallon of water, more power to you, but most of us really don't need that much water. Also, if your pee is consistently clear, you're probably drinking way more water than your system needs.

You may also need to consume more salt and glucose so your body retains more of the water you're consuming. Due to osmotic pressure, your cells can't actually absorb water without the correct salt and glucose to help act as a transport.

https://www.ncbi.nlm.nih.gov/pubmed/11193601
Seems like a pointless study if you're only sampling people who are already healthy. "Probiotics don't do anything if you already have a healthy gut." Yeah, no shit, Sherlock.
Do you happen to know what added latency one can expect from using one of those? (Apologies if my brief googling was off-point and this is a well answered question)
It takes more than 2 days to flesh out those deals.
What if the user sees "Wik1pedia.org/wiki/Canada"? Or "аррӏе.com"?

Hiding random parts of the address isn't going to make browsing the web better. The main purpose of URLs is for hyperlinks, not as a highly intuitive user interface. Users who don't know how URLs work don't care what is up there. They only care that what they are looking at is what they expect, and a way to get to where they want to go. And that's a complicated problem.

The URL bar hiding thing isn't for users, it's for Google to push Google search. That's why they attempted to remove the URL bar entirely four years ago and replace it with a search bar.
I am still faithful to my Emacs, but Visual Studio Code is this beautiful thing I can't take my eyes off.

As an editor, VSCode is still inferior (but improving at lightspeed). As an out-of-the-box experience, it blows almost everything else out of the water. Against my customized Spacemacs, it's still struggling.

But that renderer is gorgeous!
Let them eat (royal) cake
Which drives me crazy, because my users send me screenshots in support requests. Now I have to spend even more time explaining to them how to click/copy/paste the URL. It was a terrible UX choice when Safari did it, and it's a terrible UX choice now that Chrome has done it.
Not really. I've heard they're getting ready to release some updates soon that will address it in part, but who knows.
Modern solution to these issues is having SRV record on appropriate protocol sub-domain which AFAIK (and somewhat surprisingly) is honored by most modern browsers.
> Shows how big the market is...

I think the huge valuation has more to do with how absurd startup valuations really are[1], and less to do with showing how big the market for a niche product is.

[1] Behind the gloss of absurdly high startup valuations https://42floors.com/blog/startups/absurdly-high-valuations

Discussed here => https://news.ycombinator.com/item?id=6874838
Thanks,

Cracks in the concrete usually mean bad concrete. In the sites I worked on we didn't use much concrete, but the few times we did, we had to do a onsite slump test and send cylinders off to the lab to testing after curing. If the mix is wrong it effects the strength significantly.

One of the things about Civil Engineering as a field is the huge responsibility in designing things that when they work nobody notices.
How do you verify the authority owns the content? For instance: AMP urls serve content from a different authority than the one that produces the content.
Any tips for a developer who would like to move into Enterprise tech sales?
You can go a long way toward avoiding the security issue by making good use of the GIT_DIR and GIT_WORK_TREE environment variables.
Because knowing that you're competing against large, well funded organizations on a regular basis makes people suddenly start to realize (to a small degree) how statistics work.

If you assume that everyone else has the same basic odds of winning that you do (1 in a Million for example) you might play. But if you find out that you have a 1:1,000,000 chance and another well funded group has a 1:10 chance, you're going to quickly realize you're just throwing away money.

If an unfair game is equally unfair for everyone, it's fair. If it's only unfair for some/most people to a greater degree than some other people, then it's unfair.
Are you sure you're not just running out of heap space? That problem appeared really quickly when we migrated our devs to IntelliJ, and slowed it down to a crawl. The default 750MB are just not enough for projects with 5000+ Classes.
> domains with different suffixes are controlled by different people while foo.com and www.foo.com are controlled by the same people.

This happen fairly often in universities and some other organizations that can have convoluted structure.
Right, what I meant is that you aren't taking the "eh, this is too controversial to make a decisive health decision" route when you're still going out of your way to consume things you otherwise wouldn't.

The parent post seemed to dismiss things as controversial, so I suggest that you can indeed take action on controversy: avoid buying those supplements.
No idea. May be.
Have a GitHub account and share code you've written.
"I've decided I'm done with all the advice out there. I'm just going to [insert my own advice]."
I appreciated this article because I so infrequently get to hear from people that hold this view of testing, which I do not share.

To me, the importance of tests are a function of the consequence of failure and the likelihood that failure will happen. It's a question of hazard and risk.

One thing to realize is that code that lasts longer is more likely to fail because the people and libraries that support it are prone to change and assumptions can break. So risk goes up over time.

The other thing to realize is that code that's part of a growing product is going to impact more people if it fails. There might be only 400 users today, but 40k three years from now. So hazard goes up over time.

When I heard the technical debt arguments I try to triage them into "grows with the company" vs "doesn't grow with the company" so I can figure out what to accept as debt and what to pay. A complex deploy infrastructure doesn't scale. Just SSHing into a box and doing the deploy manually is just as fine for 100 users as it is for 1000. But tests do. So I write lots of tests; especially for ACL and I punt on the infrastructure stuff until I absolutely need to.

Note that this leaves aside the entire argument over whether tests slow stuff down. I think that on average they make refactors easier and features slower, so for the projects I'm on it's a wash. But even if I grant the point my conclusion wouldn't change. Tests are good.
What Makes ‘The Living Dead’ My Film of 1968
Either way, www.example.com and example.com can differ in terms of IP address, underlying hardware, actual website content, and probably other things I don’t know. They are different URLs. It seems problematic to assume they are the same.
That moral seems related to a meme floating around that Mean Time To Recovery is more important than Mean Time Between Failures. I think it came from, or through, John Allspaw:

https://www.kitchensoap.com/2010/11/07/mttr-mtbf-for-most-ty...

It's popular with a lot of people i know, because it's one of those ideas that's counterintuitive but believable, and so makes you feel really smart for knowing it.
True. The www. subdomain has been irrelevant for a very long time now and a great source of confusion for both users and developers who never know how to set their domains.
great write-up, well written and relatively easy to follow.
m. is where you often receive a feature degraded, app-walled, or sign-in walled website that isn't present on the full-featured website.

I want to know that I'm receiving a degraded version of a website and that maybe dropping the m. will restore it.
Outrageously unprofessional as it may be, they probably ended up laughing on their way to the bank when they got purchased by match.com.
How are the Xiaomi clones compared to Roombas? Any recommendations?
It breaks how the web is supposed to function. There is no consensus on the utilization of subdomains and which ones are considered to be trivial. I could write an app which maps usernames to subdomains and Chrome would break this if a user had a username which was in the trivial list. I think Tumblr is a site which does this. It really isn't about technical or non-technical, it is about what subdomains can be used for.

Edit: well I was right, this breaks in the new Chrome, http://m.tumblr.com/ , tumblr usernames on the 'trivial' list are broken.
>What I am assuming is the golden rule: treat others as you would want to be treated. Don't you think the general population understands that? When people ignore it, we generally call that bad. When people don't understand that, we generally call them psychopaths. Is this really controversial?

No, but it doesn't settle much.

For one, it's not always about how people are treated, but also about stopping things you think are bad from happening.

If you think e.g. that forests are good, you'd want to punish people who burn them, even if they did nothing wrong to you.

Similarly, if you are an ancient citizen and think people engaging in gay sex weakens your society (e.g. because these people don't have kids and your community will have less people to continue it, and fight and protect it) you'll try to stop people from doing that.

>I personally believe that the democracy, liberty and prosperity that exists in the world today would not have been possible without America, its founders, and others who argued for this kind of liberty

And I believe that its influence has been overplayed and is insignificant (if not negative). Starting from the genocide of the native Americans, to slavery of blacks, way after Europe had put an end to it, to treatment of chinese and other immigrants up to early 20th century, to inheriting old European colonialism after WWII and extending it with neo-colonialism, to promoting puritanism, neoliberal policies, the "war on drugs", global interventions and befriending and establishing dictatorships and banana republics, promoting crappy mass culture, unhealthy food culture, and total consumerism without regard for the environment, and so on.). Plus the unbearable exceptionalism and nationalism.
"Does Photoshop have a good UI?"

No, Photoshop has never had a good UI (neither has Illustrator).

The problem is that people who use Photoshop on a regular basis have memorised the keyboard shortcuts and steps needed to complete tasks. The Photoshop way of doing things, no matter how clunky or unintuitive, is now the natural way of doing things for them (and their frame of reference when trying out another app).

It's no different to a lot of other software e.g. the programmer who won't consider any other editor unless it has the same task flow and keyboard shortcuts they've spent so long committing to memory.

This puts rival apps in a difficult position. Should they copy the same clunky, unintuitive way of doing things to attract users? Or forge a different path? In the case of Photoshop, copying the UI and task flow means users can also take advantage of the gargantuan volume of existing Photoshop books, tutorials and training available.
Because there is a huge difference between those two:

https://en.wikipedia.org/wiki/Canada
https://fr.wikipedia.org/wiki/Canada
I can't Sublime in any way - and I say that having tried TextMate on OSX a decade or so back. Sublime just isn't VIM in so many different ways, it hurts. Neither is VSCode - but the varying tradeoffs are solidly worth it (IMHO).

I've also JetBeans'd (2001-2003) with varying success, and have been trying PyCharm on and off since 2014, just due to the promise. They're not there - or at least not enough.

JetBeans constant need to move my profiles around (literally they change per version) has made my strategy of having revision control sync things throughout a nightmare. Also, due to some files being binary - I just couldn't.

VSCode - and especially now that I have the global tasks plugin has simply blown my mind. Every (python django) repository I have has a wrapper script, as part of my tooling - I simply have vscode call that. Now, I have several commands I used to jump to a terminal for, run within code, in a collapsed terminal. It's great. My #1 use for that is a profiler and runserver. In dev, I always, always want them running.

It's much the same for other languages - and my environment.
with X server
Not me.

http://www.pool.ntp.org/ redirects me to https://www.ntppool.org/en/.

http://pool.ntp.org/ takes me to an "It works!" default Apache 2 page for an Ubuntu installation. As the comment in the issue describes, http://pool.ntp.org/ takes you to a random ntp server.

If you want another example, try google.com using Google's own DNS:

PS U:\> nslookup - 8.8.8.8
Default Server: google-public-dns-a.google.com
Address: 8.8.8.8

> google.com
Server: google-public-dns-a.google.com
Address: 8.8.8.8

Non-authoritative answer:
Name: google.com
Addresses: 2607:f8b0:4009:810::200e
172.217.8.206

> www.google.com
Server: google-public-dns-a.google.com
Address: 8.8.8.8

Non-authoritative answer:
Name: forcesafesearch.google.com
Addresses: 216.239.38.120
216.239.38.120
Aliases: www.google.com

Even if you ultimately end up at the same site through redirects, you're clearly not going to the same site initially.
I think the downvotes here are uncalled-for. This is correct. Google is leveraging a dominant market position to make seemingly frivolous changes that will ultimately benefit them commercially.

Come on, you know where this is going:
They are going to hide amp subdomain, so you don't know if you're looking at AMP or the actual destination. And then suddenly the whole world funnels through AMP.
Sure, "I'm feeling lucky!" should suffice /s
Yeah, it’s basically a handler for nagios/sensu/etc which will open/close issues in its DB and assign them to whomever is on-call for that day.

It can then phone/text them when it gets an alert, and escalate to the next person in the list of it doesn’t get an answer.

It’s not super-hard to replace with some twilio scripts/etc but it’s cheap and usually works as expected.

It’s nice to pay them to run alerting scripts, so they don’t run on the same infrastructure as production code.
are you that Comodo guy?
Many orgs do this.

For example, with Active Directory, the DNS A record for your foo.com domain must resolve to your domain controllers. Your www.foo.com will resolve to a separate non-domain controller web server.

I think a lot of the commenters here are thinking solely in terms of commercial web services such as twitter.com and such, but there's so much more to the wider landscape.
There are lots of airbag clothes for motorcyclists now. Apparently they work quite well.
A Quick Guide to the Complex: Ecto.Multi
Does it hide AMP subdomain? If so, I think we all know what this is about, and it's dirty and should be stopped.
Events are whatever you send them. So we have some internal monitoring tools and SignalFX set to trigger pager duty when certain metric thresholds are tripped
Removing jQuery from GitHub.com front end
I have some code that automatically builds virtualenvs for me - in directories (it overrides cd). With vscode, I can change the python interpreter, simply by giving it knowledge of where I store my venvs... with one variable!

I can't even tell you how hard that was with VIM.
Is Erik Voorhees a Two-Faced Villain – Or Just the Fallen Hero We Need?