skysight-inc/HackerNews huggingface dataset:
I just ran speedtest.net on a $5/mo 512MB DigitalOcean droplet in the San Francisco (SFO1) datacenter.

~ speedtest-cli
Retrieving speedtest.net configuration...
Testing from DigitalOcean (192.241.229.48)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Monkey Brains (San Francisco, CA) [5.93 km]: 2.132 ms
Testing download
Download: 921.09 Mbit/s
Testing upload
Upload: 705.31 Mbit/s

Can anybody run speedtest-cli[1] on a 512MB LightSail instance to compare network throughput?

[1] https://github.com/sivel/speedtest-cli
Ask HN: What's a decent time tracking app for Web and iOS?
Looking to track time on various projects. Asking for a friend.
You can also use gdb to debug more than just C code.

I used to know a DBA that had symbols installed on the production database server so he could attach a debugger to the running Postgres backend process, and use the backtrace to tell you what the query was doing and why it was running slowly.

Also, note that running strace on a production process can change its observed behavior. http://man7.org/linux/man-pages/man2/ptrace.2.html
> Ah yes because the mainstream media censored Trump so much.

I'm not even american, but even I noticed how major media companies such as CNN or NBC insisted in dedicating major time slots just to defame and harass Trump.

I mean, in CNN we even had Fareed Zakaria dedicating all his show just to quite blatantly state that Trump was all kinds of awful and incompetent and unfit for president.

Whether Trump was or wasn't a good candidate is immaterial. The truth is that the bulk of the US mass media was gunning for Trump, some were subtle but others were going at it harder than attack ads.
Even end-to-end encryption is of no use as soon as one has a single backdoor into your system.

Again, technology alone is never the whole answer. The legal framework must be sane as well.
Firefox on Linux.

I use uBlock Origin, Ghostery and Disconnect, and Flash Control. peppercarrot.com is all zeroes for all three blockers, meaning nothing is blocked because there's nothing noticed that needs to be blocked. There are no Flash Control icons, meaning no video or audio noticed and blocked. Thanks for caring. :)

On the front page of theguardian.com, logged in as me, there's a V icon at the top, meaning that Flash Control has blocked video, probably for some gratuitous menu feature. I have zero trouble using and reading the site.

When I first opened theguardian a few minutes ago, uBlock was blocking 13 requests. It's steadily climbed in those minutes to 32 blocked requests. Ghostery is noticing/blocking 0 trackers. Disconnect is blocking two: nielsen and comscore. Disconnect is also blocking 1 from Facebook and 3 from Google. All three tools may be seeing and blocking some of the same things.

Without these four tools, except for low/no-commercial technical sites and public service sites like wikipedia my web is all but unusable. With them my web is fine.

I very rarely have any problems using any site. I had to enable my bank in uBlock to use their popup bill pay feature. I think I had trouble viewing a cartoon at The New Yorker; I forget what I did to view it. Youtube and Flash Control seem to be in a perpetual arms race, as was the case with Flashblock. Youtube is my main motivation for using Flash Control, to prevent automatic video playing.

And yep, I get that sites pay the bills with ads. I $ubscribe to three news sites, and I also get that that doesn't pay the whole bill. The web is either going to have to block me for using a blocker (I've been seeing that very rarely recently, or at least "Unblock us please") or figure out a less dangerous, intrusive and loadsome way to serve ads. (And yep, I just made up the word "loadsome." I can do anything!)

EDIT: I whitelist duckduckgo.com in uBlock.

https://duck.co/help/company/advertising-and-affiliates

https://duckduckgo.com/privacy
You care about Chinese government’s censorship, but you don’t care about privacy from multinational corporations and governments?
No mention of overhead, and finishes with an strace -c and "This option is very useful when trying to find out why a program is running slow." Well, it will run slow if you run "strace -c", because you're running "strace -c".

Because of the overheads, I wouldn't trust the high resolution timestamps also included in the blog post.

Also not mentioned: "strace -e" to select a single syscall doesn't reduce overhead -- you pay the tax for tracing all syscalls anyway.

Because of strace's behavior, there's also been situations in past kernels where it can hang processes and need a kill -9. Your application is now paused while you're madly typing at the command line -- if I did that on one of my instances at work (although I believe that bug has been fixed a long time ago), request timeouts may have the instance fail over before I could finish hitting enter. That's not so bad, but in your environment it could be much worse. You may get such timeouts just from the overheads of strace.

It's one thing to write a post that has errors. It's another to write a post that's dangerous.

This is why I wrote http://www.brendangregg.com/blog/2014-05-11/strace-wow-much-...
I know a ton of IT firms which moved from Germany to UK because of less job protection there and less hassle to work 24/7. I wonder how they will react now for the upcoming price increases everywhere and probably UK leaving the EU.
"Our source said that Fitbit is now paying between $34 and $40 million for the company and is 'barely covering their debts.'"

After paying debt and preferred shareholders, I won't be surprised if the founders and employees see absolutely nothing (as in, absolutely $0), although employees will probably receive retention payouts.
Good brief intro article.

At some point I tried to get deeper and understand ptrace(2) syscall, the technology behind strace command line tool. I wrote this piece:

https://idea.popcount.org/2012-12-11-linux-process-states/

The ptrace() articles were never finished, but oh well. I guess ptrace() is doomed to be undocumented and barely understood. Recently I found this gem in 1983 4.2BSD operating system man page :

> Ptrace is unique and arcane; it should be replaced with a special file which can be opened and read and written. The control functions could then be implemented with ioctl(2) calls on this file. This would be simpler to understand and have much higher performance.

http://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/man/man...
blogspam of

https://www.sciencedaily.com/releases/2016/11/161130154310.h...
Then NTP has already failed. Most systems are already incapable of agreeing on whether it is 23:59:59 or 23:59:60 on days with leap seconds. There is simply not an API that will let you distinguish the two.

It is better to be deliberately wrong in a controlled fashion than to be accidentally wrong because you never expected your clock to be non-monotonic. You seem to be arguing for the status quo, are you aware of just how deeply broken the status quo is?
> The reason why so much of it was negative is because the majority of things he said were flat out lies or smearing other people.

What if your beloved media companies dedicated themselves to spin everything Trump said to cast it at a bad light, and bent themselves backwards to filter in only the unpopular stuff?

There was no impartial coverage of Trump. In fact, the US coverage did its best to focus only on two candidates, and invested heavily in gunning down one of those candiates. This, in spite of their pet candidate being involved in multiple criminal investigations and suffering from debilitating health problems.
Say someone bought Bitcoins from Coinbase and transferred them to their own wallet outside of Coinbase. They haven't sold them, so there's no taxes to pay and nothing to report to the IRS, right?

How is the IRS going to know the difference between that situation, where they have done nothing wrong, and someone who sold them outside of Coinbase and didn't pay taxes on it?

Are they just going to audit everyone over some threshold, or are they going to use this information in existing investigations (or in conjunction with other red flags)
Lord of the Rings Map Kitchen Table
I did that, and it worked for a while, but then the issues were back something like a month later. Adding more padding causes the back panel not to close properly so that's not an option. I'm stuck with the display getting weird every once in a while now(replacement is not an option, the watch is almost 4 years old at this point).
Not sure about iOS but for macOS, RescueTime (https://www.rescuetime.com) does a decent job. It tracks all the websites I visit (unless I explicitly tell it not to).
Are Obama and Bush fascist too?

Is all those other Presidents that deports immigrants fascist too?

You keep using the word fascist, but you do not know what it means.
I don't disagree with your details, but you're arguing in a circle (here and in another similar comment).

Let's assume, based on the evidence at hand, that Amazon is rolling out Amazon Lightsail, and that as such, they're willing to do work (create business plans and write software) to court the $5/month market. In that case, it's a relevant comment for people to write "I can afford $5/month, or even $20, but I can't afford unlimited liability, even with what I know about AWS customer service, so I cannot use this product." It's relevant because it suggests that there's anxiety that is preventing uptake, which can be solved by a combination of writing software and internally committing themselves to eat the loss if the software is imperfect (as others have said, stopping service actually-on-time is actually harder than it sounds, but the provider can always just eat the loss, invisibly to the seller).

Your (probably-correct) observation that Amazon doesn't really care about the penny-ante user's money (in the short term) is beside the point.
Previous discussion [1]

Microsoft to raise some UK prices by up to 22 percent over Brexit (engadget.com)
10 points by benjyclay 37 days ago

[1] https://news.ycombinator.com/item?id=12777877
> If you're talking about mountains of money, on the other hand... expect rather less leniency

Well, according to Wikipedia, you can at least declare income from illegal activities, so that the feds can't jail you for tax evasion in addition to the crime itself. https://en.wikipedia.org/wiki/Taxation_of_illegal_income_in_...
Eww. You're disgusting. Get away from me.
How the Circle Line rogue train was caught with data, in Singapore
So the question is valid: what benefit does one get using Rush over Swift on developing for Mac? Rust may be a better language overall, while still be an inferior choice in this context of Mac OS X Native app development.
Why does pumping CO2 under water not sound as stable as having carbon locked in a petrochemical under the ground?
Vanderbilt does the same, and it works well, especially the whole Honor Council concept.
What sort of technologist thinks like you?

Are you sys admin?
The FAQs mention that the disks are EBS.
Best practice tips for using Varnish VCL programming language
They reached the $1mil stretch goal, so the SVG stuff is coming for the free version as well now.
Airbnb Agrees to Enforce Limit on Rentals for First Time
He was also on video calling for ban for only immigrants from nations with direct ties to terrorism.
So Samsung has an Market Cap of 500B and Asset of 529?
What are those asset? How many of them are cash? What is its P/E? This is like saying the largest insurance has trillion of asset and therefore they are all under valued.
In theory, maybe. But have you seen the corresponding code in the linux kernel when they try to probe a partially known component and at the same time go around all kinds of bugs and errors and differences in silicon revisions? All those magic numbers and timeouts and dependencies that no one really can explain?

Configurations pages are a thing of the past, nowadays they should at best be used for confirmation and sanity checks. Device trees are the future and have already improved and simplified hardware management a lot (specially on ARM).
Your best option is probably to read, understand, and use the configs at https://cipherli.st
A Million Ad Impressions for Trump – Case Study
For a major shift we don't need to see 0 consumption. If consumption for electricity production and transportation is lowered significantly, this would lower demand enough to allow production on low-cost, traditional wells. We could have oil at <$30 and still get at least half the output we get today. This would mean that at least half the countries that are currently producing would be out of business. That includes all production in North America (with some low volume exceptions) and Europe, many African countries and South American countries like Venezuela.

A shift in production like this would have major effects. For the order in many emerging countries and the state of the economy and labour markets in developed markets. That the EIA doesn't include a potential collapse of a big US industry sector in their forecast is somehow clear, still doesn't mean that it won't happen.

I don't think that they forecasted the decline of coal as drastically as it happened. Oil could be similar, just much bigger.
Crudely (haha) crunching some numbers, if we consider the oil spilled in the US in 2011 (incl. Deepwater Horizon) of 4.95e6 bbl compared to the total oil consumption in 2015 of 7.09e9 bbl, the oil spilled is less than 0.07% of the oil consumed. This, mind you, is considering a massive outlier year for spilled oil. In a more typical year it's an order of magnitude less.

Not to minimize the damage from spilled oil or suggest that it's no problem, but let's keep "spill a lot" in perspective.
> That perfect watch is impossible to build

Do not compare to the Apple watch; have you looked at Garmin's Fenix 3? It has an always-on screen, a compass that works EVERYWHERE including indoors, on airplanes, in underground car parks, etc., a super-accurate GPS, and all the other functions you would need. Its battery lasts over a week when not using GPS, or 24hrs with GPS.

It doesn't need a phone to operate, it's very sturdy and what's more, it's round (square watches are ugly, how do makers of other "smart" watches not see that???)

It's a bit thick but not too heavy. I've had it for a year and couldn't live without it.
Tagged Template Literals – The magic behind styled-components revealed
Try https://github.com/Synzvato/decentraleyes
Fabien Potencier creator of Symfony announces cloud offering with platform.sh
Mounts and shared volumes are fine, if you can guarantee that the container is going to be scheduled on this specific machine, where the given filesystem lives.

If you can't guarantee that, you are going into the world of NFS (which databases do not like much) or iSCSI, or, if you have distributed storage, into the world of glusterfs, ceph or something similar.

It's much simpler to just set up a database server (or cluster) and live with that.
Gain mobile speed and user exp with edge-side processing: Edgestash and parallel ESI
Please provide instructions on how to reproduce / verify the assertion that GCC doesn't generate stack / frame pointer setup. I want to see this for myself.
Cost of having principles? Well not that bad then.
Your tone greatly diminishes the value of your arguments (on which I agree, by the way). Could yo try being less personally aggressive, next time?
Varnish dynamic back ends in the cloud
The Digital Transition: How to Use YouTube to Promote Your Brand
Open source dependency management is a balancing act
There are a lot of people who like the system the way it is and they won't give it up because us idealists want a better world for their children

It really is an old argument. The arrogance of thinking that a small handful of elites should "run things" for the stupid commoners dates back at least as far as Plato's era and the idea of the "philosopher king".
That economic fiction requires an ideal rationale actor and a different time horizon.

1) Noble price researchers (Kahnemann & Tversky) showed that economic actors are not rationale.

2) Taking a long term view tends to require sufficient funding to allow to worry about the long term. People with lower level funds intensely worry about the short term and for them this is totally rationale.
Europe is leading the way in AI and machine learning
As pointed out in another comment, the use of oil for plastics, streets, etc is less than 5% of overall oil consumption in the US. You could get that kind of output with a tiny domestic industry. With modern refineries, you can get a good control over the output mix and only produce what is needed.I think Houston would be hugely affected by a decline in the oil industry. Even if they can create jobs in the production of renewables, the job profile is often different from working at wells and the huge shipping sector would be largely non-existant.

So even if we increase plastic consumption by 2x (don't really see where that should come from), it's still a potential decline in oil consumption of 90%. Enough to basically destroy several industries (refining, drilling, well maintenance, pipelines, shipping).

Another interesting question is regarding gas stations. You'll still need some stations on interstates to re-charge for long distance trips. But you could basically get rid of all of them in cities. They would continue to exist as convenience stores, but probably with half the number of employees. This would be another huge sector that often employess untrained people, many of whom will likely not be qualified enough to work in battery factories.

Link to EIA report: http://www.eia.gov/energyexplained/index.cfm?page=oil_use
That's not Google's policy, it's Linux. What you suggest would mean abandoning Linux as a kernel. I'd be all for it - the industry needs some more open source kernel competition.
I agree, Game Pass is a /great/ service.

And, their streaming technology is pretty standard (granted, woven through an odd maze of servers) and stable. Because of that, I and a few others were able to write an addon that lets subscribers access it from within Kodi. The lack of interface lock-in is nice.

With a few caveats, GamePass has done it the right way.

It's ironic that here in Germany I get better access to football content than I ever did in the US.

---Alex
Obviously. Manufacturing and construction jobs are the opposite of "bullshit jobs". You can point to something you built and feel satisfied. Anybody can understand it. Service jobs are demeaning because the service worker always has lower social status than the person they serve. Of course politicians care about the same jobs the voters care about.
The network would have one person, challenging the definition of network.
Android Wear may have improved, but in my year or so of wearing a Moto 360 v1 I experienced such various bugs as showing the wrong time on the watch face (yes!), boot loops which were completely unrecoverable without the use of the charging dock, missing notifications due to silly Android permission issues, failure to turn the screen on for notifications, "Unfortunately, Android Wear has stopped", and plenty of bluetooth disconnects. All that among various hardware issues such as general slow performance, touchscreen unreliability that requires you to stare at the watch to confirm the receipt of each swipe, and a heart rate sensor that might as well be replaced with a random number generator.

Switching to Pebble Time Round after that was a revelation.
As somebody who has no idea about chess I cannot believe that Carlsen calculated Bf8 after Rc8 under this time pressure and an easy Qg3 move. Kudos.
Love that approach. Any literature, message boards or similar places that you can recommend?
I would expect people to buy data centers and hardware by borrowing money. These loans should be denominated in British Pounds in Britain. So if anything, it seems like Microsoft should be getting a great deal since their debt is being inflated away.

No reason not to raise the prices if the market will bear it, but I wonder if Brexit is actually a great help to their short-term profit margin?
This makes me very sad. Pebble pretty much invented the smartwatch segment, yet didn't quite have the mass appeal or marketing muscle to make it really big.

Here's my personal account, nothing particularly interesting will follow so you may want to skip to the next post unless you're a fan like me:

Whilst I followed it closely, and was super intrigued by the concept, I wasn't able to get in on their first Kickstarter. However as soon as I saw that the Pebble Steel was announced I ordered it straight away in 2014.

I absolutely loved that watch. Being able receive notifications meant no more having to look at my phone every few minutes. There were some quality concerns - I had to get 2x Pebble Steel replacements, first due to the screen tearing issue, second due to non-functioning buttons - and then my 3rd one, was good until the day it sadly got stolen! (I was wondering, how are they making any money this way?)

I had switched to the Pebble Time Steel by then, as a Kickstarter backer, but still liked the OG Steel's somewhat more retro design. Unfortunately the Time Steel's contrast ratio was a bit of a downgrade, so as such I'm rather hopeful my Pebble Time 2 kickstarter will be delivered in the end.

Around this time, the Apple Watch got released. The display was off unless shaken / interacted with, didn't work with Android, and lasted less than a day (even with the display off most of the time). My Pebble Time Steel would do 10 days, before the fitness and sleep tracking update. After that it did 8-9, and still does.

Last month I received the Pebble 2, and am loving its display - it is even better than the Pebble Steel - and HRM. Seeing the announcement I'd like to get my wife a Pebble 2 as well, to upgrade her Pebble Time, before it's too late.

Lastly I'd like to give a huge kudos to the Pebble dev team for their constant updates. The past year has seen some fantastic developments; the Pebble OS just keeps on getting better. So, yes, that's quite a few Pebbles. I'm a fan, and I will greatly miss them.
It's been a month, haven't heard anything, and ended up having to accept a different offer, so everywhere has their own problems.
Magic 8 ball says: "Not likely"
Don't worry. This is not what is important folks. Reef schmeef. Fish! ha. who cares about millions of years of evolution. We can wait another million years to get it back!

What is important right now is making sure that people who can barely read who live in west Virginia can continue to count on burning coal so they can afford a big truck.
TLDR; There was a single train emitting both correct and erroneous signals. This caused trains in the vicinity to lose data link which triggered an emergency brake safety feature. The article doesn't make clear what medium the trains communicate on which was affected (e.g. rail, wireless, powerline). They have not yet determined what caused the faulty hardware (or software???) on the faulty train to enter this state.
Have you noticed any pick-up from the offshore wind industry? There's certainly some overlap between oil and wind industries, and Scotland is doing quite a lot of offshore wind development nowadays.
I think the idea is not to do something adventures but something monotone and boring.