skysight-inc/HackerNews huggingface dataset:
> What's the point of adding regression tests to spaghetti code? All you're doing is making it an even bigger pain in the ass to refactor

Refactoring is changing the code to make it more understandable while keeping the functionality the same. That is the perfect time to add tests. Adding tests before refactoring will help someone understand the code first and will also let you know if you've broken something.
I saw that someone else provided links to good info. As an anecdotal piece of evidence, I know that big box home improvement places like Home Depot have a dark sky category in their outdoor lighting department. I was flabbergasted the first time I saw that. I would love to see the affect of all homeowners replacing light fixtures with these types of lights. As an example, in the last video I linked earlier today, there are small lights on the horizon that shine very brightly in the video clips. There's one light source in particular that is a single lamp on a pole located on a ranch that is several miles away. If you multiply that by the output of every lamp in a city, it doesn't take a lot of imagination to quickly understand why we can't see the sky at night.
For their main devices, sure, but what about Apple TV? I know far more people with Amazon and Google boxes than Apple ones. And stats seem to agree: http://variety.com/2017/digital/news/roku-apple-tv-chromecas...

In the "connected appliance" market, I believe openness is key.
> it is appealling to hosts as they don't have to register with tax

Fascinating to realise people will go to jail for upgrading a civil dispute (e.g. short-stay and subletting restriction violations) to felony money laundering and tax fraud.
Potentially interesting to anyone with an oven, if you can capture 1% of that market you'll be rich!

I'd suggest raising a few million in seed funding and renting an office in downtown SF. If it doesn't pan out you can pivot into math-related silicone ice cube trays.
Khronos is to blame by having OpenCL be a C only game, while CUDA was C, C++ and Fortran with PTX for anyone else that wanted to write a compiler fronted for CUDA.

It took them being beaten by NVidia to actually care to add SPIR and C++ support to OpenCL.

Even now, while CUDA brings C++ compiler out of the box with their SDK, for OpenCL one needs to go to Codeplay and download their ComputeCpp Community edition compiler for SYSCL support, that might or not, support a given card. Hardly any better.
The parent company is, but Boeing Commercial Airplanes, the subsidiary that does commercial jets, is headquartered in Washington. Their ginormous production warehouse is also outside of Seattle.
Was there ever a DOS binary? That would be worth firing up a VM for.
> "Python has been used by hundreds of happy users"

Hundreds!

> "Please don't ask me to mail it to you -- at 1.76 Megabytes it is
unwieldy at least..."

I can not even figure out if this means email or snail mail.
[Review] Cisdem DataRecovery: Recover Deleted Files from Any Device
If adding expensive complex components is your thing, sure.

The more popular option is to use regular wheels. Cars go forwards a lot and other directions very much less.
The most successful language in the last twenty years.
I'm curious to know whether it will be possible to use a pair of these with a TV. I stream video from a computer to my TV and would love to use HomePods as the audio via AirPlay. I know HomePod pairs aren't supported at launch, but I wonder if there will be audio/video sync issues when this eventually is an option.
The article references someone worrying about the problem of marking future radioactive waste dumps, but doesn't mention how real ones are marked. Here's a real one.[1]

That's the marker at the SL-1 reactor burial site in Idaho, from 1962. It's a stone slab, etched with a "no pedestrians" road sign symbol, a radiation trefoil, and a bottle with a skull and crossbones. Already it looks dated.

[1] https://upload.wikimedia.org/wikipedia/commons/9/96/SL-1Buri...
Traditional crypto mining burns real energy that costs real money and has a real carbon footprint, and the owners of the rigs have real pride that create a floor of how much Bitcoin will be worth, so long as it's technically sound.
I do this, it's useful. It helps during meetings as well. I figured on what's being said and can retain the key ideas long enough to jot down afterwards.
I've always thought the concern of future generations finding a radioactive waste disposal site is overblown

The most likely problem is someone building or farming on top of a low-level radiation site. High-level sites are more deeply buried, and are only a risk to miners that have serious digging equipment but no radiation meters.
How did you make that date picker?
Why don't you recommend it?
This was posted already

https://news.ycombinator.com/item?id=16239253
Arguably, that would be Java, which was introduced in 1995. For whatever hey are worth, most language popularity indexes (TIOBE, LangPop) place Java above Python with quite a large margin.

Java may not get much exposure here or in startups, but if you go out in the real world of 'boring' business applications, Java is pretty much the defacto language (together with C#).
Everything is a microphone?
Is there a need when all the cryptos are yelling hodl.
Nothing better than paying a $20 transaction fee and waiting an hour. When will credit cards embrace the blockchain benefits?
I put a keyboard cover on the thing within the first five seconds after opening and almost never use the built-in keyboard anyway and never take the cover off.

No issues after a year.
PHP. Laravel is an absolute joy to work with. Everything is pretty much intuitive with a lot of sane defaults that allows a new guy go get running quickly with the codebase. And it integrates with pretty much everything.

When I really need to squeeze out performance, I simply switch to Phalcon. Granted it needs some time to configure up due to its nature and it has less community packages and integrations compared to Laravel but the performance gains are absolutely worth it.
The inventors of the television and of stereo sound both were of the Mormon faith.
HUBLOT Big Bang All Black Blue Limited Edition 310.PM.1180.RX
People really don't understand just how many miles ahead iPhone security is from Android. It's almost a joke, really.
I am deeply excited about Tesla's cars, technology, and vision, and as things stand today, I will not buy one. How they can roll out brand new, very expensive car in this state, and tell the customer "take it or leave it" is strongly indicative of where the customer is placed in terms of importance to Tesla. The photo's in the reddit post are shocking.
Blockchain Technology in Shipping: IBM and Maersk Form JV
Is there a list of Web extensions APIs that are also compatible with Chrome?
It would be a minor change in wording for a credit reporting agency to say “a person claiming to be x did not pay back a debt” v “person x did not pay back a debt” in the case of identity theft. This would still be useful to the creditor, and ‘true’ to get around your liable idea.
Just because you can put in on the blockchain, should you?
Not really a 'blockchain alternative' -- just a clone of Airbnb that lets you pay in cryptocurrencies. Kind of a shame when there are other actually decentralized home sharing platforms like Beetoken, Origin, etc.
EXTREME RACIAL DISCRIMINATION IN AMERICA
But where am I going to find a toddler at this hour? Perhaps I could fill the void by training a neural network instead.
How do you deal with disputes and harrassment? Do you offer escrow or support 3rd-party escrow and arbitration?
Sort of: I don't think it's meant to restrict time/space usage, just access to capabilities. If you don't give the ad-code access to the network, it'd have no way to access the blockchain, but it could still chew up your CPU cycles.
ERCO Ercoupe
For anyone who is having trouble with the installation, here's a tutorial to install TensorFlow 1.5.0 official pre-built pip package for both CPU and GPU version on Windows and ubuntu also there is tutorial to build tensorflow from source for cuda 9.1. http://www.python36.com
Wow, "everything is a speaker" really fails to convey how crazy this is. The implications for this in terms of surveillance seem to be massive!
an upcoming network of unpaid contributors, along the lines of the one D’Vorkin implemented at Forbes.

Exactly how HuffPost itself used, in other words.
So insurance skepticism means you do your best to understand policies before buying them? What's the alternative to that? Before witnessing sketchy practices, did you just buy whatever the salesperson recommended?
Every speaker is a microphone
"far worse is corruption in the form of use by an elected official of the powers of the government to advantage one side of the political divide (his or her own, of course) over the other".

The examples given: failure to prosecute "New Black Panther" voter intimidation; IRS enforcement against political organizations; accepting donations in return for failure to prosecute financial institutions.

My reaction: "...And there's a legal limit to the snow here
In Camelot."
It's kind of funny. I wonder what you thought would happen by responding "No" to an automated message.
You're probably right about having no internal sponsor, but I'm sure you could find some people that still find an email client sexy. Old boring tech seems to get some modern, trendy traction every once in awhile; Google Inbox, Sparrow, Airmail. For awhile Twitter clients were pushing the boundaries of UX and recently chat applications seem to have steam.
The sick part is Amazon is asking cities to fight over the privilege to kiss it's ass. So the bidding goes higher and higher as the people get robbed more and more.
Yes. Siri is Annie Pots in ghosbusters, but deaf.
DNA vaccine promises permanent, universal protection against the flu
”He said the high cost of sensors […] as well as the need to map cities with centimetre-precision, meant completely self-driving vehicles would take longer than many are predicting.”

That’s were I think they (and others such as Google) are making a mistake. A car shouldn’t need a map to drive safely, let alone one as accurate as that.

Any solution that needs this will run into trouble the second that map becomes inaccurate, say because of road works or possibly even doubly parked cars. Yes, you can connect the cars in an enormous network so that the first to meet such a thing will update the map and inform others, but if cars can detect this and update that map, why does it have to be stored? If not, how often will humans have to interfere? Will those humans be able to, if they are the first to encounter such a situation maybe once a year?
> In fact, he created a formula for learning

Citation needed. It's a good technique for your toolbox, but people like to stick Feynman's name on their own things: quotes, the "Feynman algorithm", a book titled The Feynman Processor...
NiftyNet: Open source CNN platform for medical image-guided therapy and analysis
This is pretty much the best laptop I have ever used. It has everything. Ports, RAM, Processor, Battery, sleek design and a gtx 1050 to boot. You cannot go wrong with it.
5 Best Coinbase Alternatives in 2018
Nearly 100 people in California have died from flu this season
Isn't this how those laser microphones work?
Interesting to read his description of the language, which sounds pretty much exactly like python is now. It’s a pretty good testament to why python gained and retained popularity. Though not without fault, python is certainly one of the best-designed languages ever created, in my opinion.
I am sorry but you cannot teach everything to a toddler. It needs years of learning to understand something. Feynman knew this, he knew science was hard, he would never say those things.
Good news! If you add these shortcuts to the override file in your home directory it will override the alt-special-character behavior.
The original research in 2014 is presented well. This article in 2018 butchers the terminology, using "speaker" instead of "microphone".
Silicon Valley's quest to beat ageing
Try building one yourself ;-) https://github.com/python/cpython/releases/tag/v1.0.1
The way I understood it, it was very likely that the girls would die before adulthood if not separated.
What is a super cycle
That number doesn't look to be within 2 orders of magnitude of a lowball estimate.
Python surpasses java according to github statistics

http://www.benfrederickson.com/ranking-programming-languages...
Finding Profitable Startup Ideas
Even if this was not happening, and GPS were supposed to be working, carrying old school maps, compass, paper & pen is always a good idea.
Yeah, much better you grind out another twitter or fb clone or be the 100th X of Y out in SV. I'm glad the cowards stay out.
Why firebase is the best as a Mobile Application back end?
http://legacy.python.org/download/other/:

”Python for MS-DOS

Python 2.4.2 for DOS/DPMI, built on the DJGPP platform, is also available”.

So, yes, there was one. The link (http://www.caddit.net/pythond) works, and seems to still have the binary. You will need a ”proper Long Filename Driver for your platform” to fully enjoy it.
Yes, but it shows the expected range impact of the test which is happening not so far from the old one.
"Attack" implies something that I don't think is going on here. They developed the system and have full control over it. This is like saying if Google were to stop serving a certain locale for a certain period of time that they were attacking their own service.
They do this all of the time.

I subscribed to the FAA alerts a couple of years ago after learning that the GPS interference tests were one of various causes of so-called “flyaways” (unexpectedly losing control of a GPS guided drone).

Anyway, since then I’ve gotten an alert about these tests almost every month or so for the last couple of years.

Not sure why a big deal is being made about this particular one...
It may not be the most efficient one out there, but it certainly is the most productive, atleast for me.

God I love the language. The only language, that allows my thoughts to flow alongside writing code that allows my thoughts to manifest.

I am well experienced with C# as well, but something about statically typed stuff (I worked with C# before the dynamic stuff wasn't added to it) breaks the flow of thoughts.

With python, it's like designing systems on paper. Friction-free.
hasn't fabric been abandonware on python 2 for years?
Aren't they saying in the beginning "I am freezing cold and my shoes'r off"? I hear lot of phrases and words, must be my brain tricking me.
Hospitals not named after saints are more often than not named after rich people who like to have things named after them, not the people who sacrifice in those hospitals serving people.
DOS was supported into the 2.x days. IIRC, 2.3 or whereabouts was the last supported version for DOS.
The Old Taxonomy of the Logical Fallacies
I've never had to worry about reverse-DNS, and I email thousands of fashion/media/tech companies around the world, big and small. Are there really servers that block based on reverse-DNS? I've never seen it.

It seems to be a flaw to have reverse-DNS block mail servers, since a single mail server might serve multiple domains. (My server serves email for multiple domains)
Datsun Redi GO AMT Launched in India at Rs 3.8 Lakh – Glocar Blogs
It's sometimes very frustrating the poor UX AWS forces on its customers. If you read the post, they have made the high-speed network available, but you can use it only if you use the AWS cli.

> Enhanced networking cannot be managed from the Amazon EC2 console. [1]

AWS (and other cloud providers) charge a huge premium compared to smaller dedicated and VPS providers and yet the customers need to suffer things like this and that too when the product has been available for around 11 years.

The complexity of AWS billings system is astounding. Setting the billing alarms is somewhat easy now (using the budgets features), but still needs some careful reading about the options available.

It seems like the ease of use is near to the bottom for AWS product managers.

[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced...
There's an extension called multi tab select by the author of tree style tabs that does this.
I don't get why Python can't replace Java in almost all domains. It's exceptionally well structured and fast enough for most use cases.
They frame it as a learning technique, but it's also a great problem-solving technique.

When I was a kid I made money by helping my dad with his programming. When he got stuck on problems he'd come out and find me, and offer me $20 to solve it. Then he'd explain what he was trying to do in the simplest way that he could, and explain what he'd already tried. About half the time he'd figure it out before he finished explaining it (and I'd get nothing).
FFFFFffffffffffffff!!!

Guess I have to move everything to my FreeBSD server now..
You were going to hike from 8pm-11pm this time of year?
The major issues with javascript are:

- Lack of native module support.
- Lack of standard libraries.
- Need to run in the most hostile environments AKA web browsers and in windows/linux/macOs as nodejs.

Web pack, minifiers, transpilers etc are working( although, not pretty) solutions to the afore mentioned problems.
Maybe I have just been unlucky, but I have worked with many people who have not pulled their weight. In most cases management eventually acted, but there was often quite a bit of time between when I first noticed and when they were fired.
Sample bias. I suspect the vast majority of binaries in the wild were compiled with little, if any, code hosted on GitHub.
When a GPS disciplined time server or server appliance encounters a condition where the GPS signal becomes unavailable or unreliable a local oscillator is used to keep time. The local oscillator is generally a TCXO, OCXO, or Rubidium standard. Such systems are able to deliver fairly accurate and precise time in the event of a short outage like this. A quality server with a local Rubidium oscillator should be able to keep accurate time within 10 μsec in the event of a five day outage.

GPS signals can become unavailable for numbers reasons that are far more mundane than being jammed such as someone disconnecting the antenna, lightning strike, a rat chewing through the cable, meth heads stealing the copper cable and/or antenna, etc.
Last time I considered moving to Europe and ran the numbers, it didn't come out "fairly close" in any major city, even Oslo and Zurich. Zurich was closest though.

Some cities were ridiculously out of wack, like London where the pay cut would be like 30-50%. When you can swing an after tax savings rate of near 30-50% on the west coast, it becomes really, really difficult to make the numbers work out.

But then again this is anecdotal for a specific level. Though when I did a more brief look for levels above me, the difference was even more stark (we got some serious income inequality for upper levels in the US).
This is rather old news re surveillance.
Would this be open market where Google keeps killing YouTube compatibility with Amazon kit?
To play devil's advocate it is a platform for building scalable systems, not everything is going to be point & click & their users are fine with it. Their business model is providing infrastructure, not UX. Even amazon.com the marketplace does not have great UX, and if you view source their code is messy, it just goes to show it doesn't matter.

Other cloud providers may have a 1-click UX to deploy a load balancer, but they lack features Amazon has, like logs... once your app needs to scale you don't care about 1-click UX, you care more about how easy it is to debug & scale your platform...
Minus, say, "how did we get here" or "how should we behave?"

Or another way to look at it, we could reduce almost all questions, in science or religion, to something like "what is the nature of this stuff around me?"

A subpart, "how can I interact with the stuff?" A subpart of that question, in turn, is "what are the consequences of those interactions?"

Sometimes the stuff around you is carbon. You can burn it or build things with it. If you breathe enough of it in certain forms, you might suffocate.

Sometimes the stuff around you is other people. You can help them or hurt them in a near endless variety of ways. The consequences are complex but it's generally better to not be a dick, for a variety of reasons.

Maybe the stuff around you is... all of reality? Which may or may not be controlled by a unimaginably powerful law giver. Maybe not, but if so, that would certainly affect the consequences of a lot of actions, so it would be worth trying to work out how that system worked if that was the deal.

To be clear, I'm not arguing for Pascal's wager here, I'm just needling the idea of non overlapping magisteria.

Isn't it all just, "How does reality work?"
The ICO is Monday. First 10,000 have an ERC20 address printed on the mold.
it's not even on the blockchain, it's just a different payment method. bubble hype cash-in.
Same here.

I've tried alternatives like Waterfox and Pale Moon, but Waterfox is incompatible with some sites, and Pale Moon is dog slow, so I reverted back to Firefox 56.

Not upgrading a browser is a scary situation to be in, but I just can't sacrifice the usability of Vimperator.
Interesting you should "mishear" that part; that entire phrase is actually the name of the song: "Prisencolinensinainciusol."
Welcome to the Baader-Meinhof Phenomenon [0].

[0]: https://www.damninteresting.com/the-baader-meinhof-phenomeno...
This is brilliant. It's like one of those visual machine learning tricks where they put slight patterns in something to fool the recognizer.
I think it's a matter of semantics. My current employer refers to it as PTO (as in "schedule your PTO and clear it with your manager") but we still have extra sick days.

The main difference is that PTO (or vacation days) accrue whereas sick days don't.
> I'm assuming there's more vulnerabilities to be found.

This also holds true for the alternatives.
The Bitcoin Hunter –reply all
I still full immersion is the best.

Basically, pick any subject and consume every form of media - podcasts, books, articles, videos, talk to people, Quora questions - and you’ll eventually get it on a very fundamental level.

Constantly ask questions and seek answers and rinse and repeat.

No tests too.
I'm saying in the last 35 years these have all become widespread.

Not any particular administration...

It's just a steady decline in civil rights.

The ACLU blogs about a ton of amazing issues all the time. Their blog should deff be a periodic read.

My current favorite is the scary election commission Trump tried to establish that kept all of its meetings secret..
Table of FPT (Fixed-Parameter Tractable) Races
Tangential related, didn't I see recently that IBM has a patent on patent trolling?
Isn't timing the primary signal you get from GPS? Including a correct time would defeat the point of jamming.
I wonder what text to speech would "hear" there. Should be similar interpretation as mine.
So Cal can deff run off desal plants. Esp L.A. and San diego. Phoenix and Vegas might not be a place you want to invest in real estate.
In Spain the minimum is 30 natural days or 22 work days.

Plus 14 national holidays
Maybe one day, when CPython guys start taking JIT seriously and finally get rid of GIL.
I'm pretty sure the Virtual PC product went on to become Hyper-V.
I have 3.5 yr old 6+. With old battery, it was throttled to 600MHz. Changed battery(just before prices dropped) and now runs at 1400MHz again.

It runs great. (Still on 10.3.3)
Rock solid.
I wonder if this could be applied to normal video and get results useful for any purposes. I realize it would be lower quality, but I feel like it might be possible to detect nearby gunshots on security camera footage that doesn't have audio. How cool would it be to see a murder trial enter audio recovered from footage of a house plant as evidence?
You see a similar debate in video games -- if you move a control stick up, which way should your view move?