skysight-inc/HackerNews huggingface dataset:
Bitcoin isn't in direct competition with the financial industry in any meaningful way. It's basically just another currency like all the others in the world. The financial industry doesn't suffer from servicing new currencies. Bitcoin is more in competition to fiat money, since it is not issued by any government and is extremely hard to control or track.

But even if it's not in competition,the ideas behind Bitcoin are very useful for making banking more efficient and cost effective.
Even so, don't you find it weird to equate a city with a country?
Your right-apologies The "wake up delusion" comment was not necessary. Does this forum have an edit function?
(1) Cloudflare does do BGP-based protection (rerouting of a packet) on their enterprise tier.

(2) They really aren't adding functionality into the network. If I put a cluster of Nginx servers in front of my web server, or if I have Cloudflare do it for me, I don't see how that fundamentally changes anything.

(3) The Cloudflare approach of an application layer proxy is feasible for any protocol which can be proxied. I've worked on SMTP proxies which do to SMTP what Cloudflare does to HTTP. Cloudflare also has a DNS proxy. Proxying is a perfectly valid and often incredibly useful technique.
Excel is a fantastic tool, and widely used in bioinformatics — but to use any tool properly, you have to learn it. I'm really thankful that it was tought first in my bioinformatics class, before any specific tools or programming languages, so we wouldn't commit stupid errors as this one.
I took half a year off and went travelling around Central and South America with a backpack, no laptop and no cellphone. I met loads of great people (other backpackers and locals), learnt some Spanish, visited old friends and new ones, saw the sights.

Best thing I ever did. It tweaked my brain somehow. I don't know how to describe it, but I certainly came back a different person.

I booked a ticket into Mexico City and another ticket home from Buenos Aires, and let my travels take me where it took me. I hooked up with people I got on with and we travelled together until our journeys went in different directions. It was surprisingly easy to just go wherever my whims took me.

10/10 would recommend to anyone.
FBI investigating Russian hack of New York Times reporters, others
just to chime in on this, modern PHP is nothing like what people remember from the pre ROR days, i still use it to this day and the major frameworks and libs are really well written to the point i feel some are even over engineered and almost looking like Java (just take a look at the latest Guzzle PHP Library)
> The biggest factor is that we have recurring costs: the sync server and the licensing fees for Ideal Sans, Vesper’s typeface. We’re losing money every month.

The costs of running the server I can understand, but if the app had value then surely changing the font to a similar but free alternative would not have made customers stop using it?
HRM Dissertation Performance Appraisal and Employee Motivation
Professional PC productivity software sells just fine

Console games sell just fine

It's only web and mobile where this becomes a problem, so why is that? The web I understand because it started out free, the App Store certainly didn't though.
In vast majority of real use cases, it certainly is. Microsoft has one of the greatest usability labs in the world; but they also have the broadest user base.
In the U.S,VW Owners Get $20,000.In Europe,They Get Plastic Tubes
I guess this will be a movement in the years to come:
1) Air gapping computers
2) Electromagnetic shielding of computers

Just to be far away from hackers who stole three-letter-agency spying tools...
Apparently one of my hobbies is "Abstraction." I guess that is true...
Maybe all your C#/.NET/Java devs can't access HN because their big enterprise businesses have security policies which have blacklisted it? Hah.
> Typical users aren't usually in the habit of mashing F5, especially not for robotically long periods of time. It's basically the difference between a theoretical activity and an actual activity.

Just like every university site ever is completely down during signup days because everyone is mashing F5.

Link me your site, I’ll treat it like a college student waiting to be able to sign up for their classes.
Mobirise Bootstap Site Maker v3.05.1 is out
Apache Spark grows in popularity as Hadoop-based data lakes fill up
None of these numbers add up.

If 30 million hours were watched with an average bandwidth of 2Mbps, the total data volume should be 25,749TB (or close to 26PB) and not 400TB.

Also, if the peak bandwidth was 600Gpbs, that peak could not have lasted very long. With that much bandwidth the claimed 400TB of total transferred data would be used up in roughly 90 minutes.

So either the total data transferred or the number of hours watched figure is off by a factor of at least 60x.

[ I figured "400Tb" was supposed to mean 400 terrabytes. If it's actually 400 terrabits, the numbers are off by one magnitude more ]
India investigates damage caused by French submarine data leak
> I just don't see how an operation like Oscar fits into the US healthcare landscape.

> There's no way out of this problem except

The fact that operations like Oscar currently don't fit well is not very high on the list of problems that need to be fixed.

> if ... how can you not be screwed?

Well you can limit your enrollment and allow your reserves to grow so that haha that's not how you get in the unicorn club.
To quote a commenter on /r/singapore:

[–]erisestarrs 38 points 3 hours ago

The "no Internet" thing really just means, our Internet access will be on a separate PC from where we usually do our work, not that we have no Internet access at all. People constantly joke that they don't know how we're going to do our work without Internet, and it gets tiresome after a while.

– https://www.reddit.com/r/singapore/comments/4zb4iv/govt_empl...
Curious what you mean about nested loops? Do you specifically mean nested list comprehensions? If nested they can sometime be less readable than explicit for loops so my advice to a struggling newbie would be "if it hurts stop doing it"

Or did you mean something else?
Those are the unsexy, but get-shit-done languages. I would hazard a guess that most people are familiar with them, and either are currently, or have in the past, used them for their day jobs. But they are on the plateau of productivity, rather than the peak of inflated expectations or trough of disillusionment, to use the Gartner model.
Collection library has:

deque

defaultdict

Counter

After many years I often write DefaultDict myself.

Edit: formatting
I wouldn't draw the distinction at 'hardcode' or some alternative. Rather the question is which language expresses the business rules well enough (or even best).

If your application language also does a decent job of expressing the business logic, that's great.
Isn't this how Apple Notes worked until recently?
Present online from your smartphone
8. Global Interpreter Lock in CPython
You can run a Ruby kernel in Jupyter - https://github.com/SciRuby/iruby
The Hidden Lives of Works of Art
The unicorn hedge
Are they A/B testing this or is acceptance IP-based? I reinstalled recently and I didn't see it. Firefox in private navigation mode also lets me use it without forcing me to agree with anything.
Why cyclists should be able to roll through stop signs, ride through red lights
Actually, the US does have one.

The World Copyright Treaty of the WIPO, which the US also signed, enforces in Article 5 that every member country has to have a database law of this kind.

________________________

> Article 5: Compilations of Data (Databases)

> Compilations of data or other material, in any form, which by reason of the selection or arrangement of their contents constitute intellectual creations, are protected as such. This protection does not extend to the data or the material itself and is without prejudice to any copyright subsisting in the data or material contained in the compilation.

http://www.wipo.int/wipolex/en/treaties/text.jsp?file_id=295...

> United States of America

> Signature:	April 12, 1997

> Ratification: September 14, 1999

> In Force:	March 6, 2002

________________________

In fact, this fucking treaty is the only reason so many countries even have that at all – the EU didn’t have any Database Law before it was created, and the US threatened (as always) to boycott any country not signing.
Lesbian sex: Γιατί οι γυναίκες επιλέγουν τον λεσβιακό έρωτα; -
Ask HN: Should I build a tool that helps founders showcase their team?
No matter how we hire, candidates today research the company before talking/applying. What they find is not too helpful. Many startups have good-looking careers pages, but they don't answers questions like "what engg. problems do you solve at XYZ" [1], "What is the interview process at XYZ" [2] etc. These give a much better window into the team than opaque career pages or job descriptions.

(This is also why engineering blogs are a powerful hiring tool. Unfortunately, most such blogs languish or die slowly.)

Do you think there is value in helping startups create a better picture of themselves?

[1] https://www.quora.com/What-engineering-problems-and-challenges-is-Stripe-solving
[2] https://www.quora.com/What-is-the-engineering-interview-process-like-at-Stripe
This project always felt to me like him wanting to prove that the App Store was still a place for the classic sort of high quality artisanal app you associate with the Jaguar to Leopard era of OS X (or the first 12 months or so of the App Store before it started the race to the bottom).

Think it's time for even die hard Apple fans to accept that the App Store is now the same low quality garbage dump of low income crapware that for many years they claimed the Android ecosystem was.
That looks interesting, I've also tried out pip-tools[0] which is really nice. However nice these tools are it seems to a bit at odds with the Zen of Python. Ideally there should be just one single good way to deal with packages. Ironically this is the case for Ruby, but not at all for Python. Ultimately you can always use some alternative method that solves it better, but you then have to take on the burden of convincing your co-contributors that it is a better idea than using pip and you also have to explain it to anyone that joins your project.

0: https://github.com/nvie/pip-tools
Thousands of strange blue lakes are appearing in Antarctica, and it’s bad news
Indeed what i was thinking. A big refactoring is often structural, and changes the program in a bigger way. In Java you can actually easly move classes around by drag-n-drop and they code will refactor. In python this is impossible.
It wouldn't be an issue if existing customers were grandfathered into staying in the original free plan, and only new customers had to pay.
PDF Expert for Mac Now Edits PDFs
Except that while said cow is absurd at the face of it, economics 101 is passed off as gospel.
You didn't have to call me incompetent. Nor was I trolling. I'm really offended by this.
Heh, fwiw, there is another one, shrink-wrap agreements, where you can't read the agreement until you've removed the shrink-wrap but doing so means you've agreed.
> Half the stories here are about Node.js.

I think that might be a slight exaggeration. At present, zero of the stories on the HN front page appear to be about Node.js.
Secure, Private IoT: Using Only Your Own Computers
Red Hat CEO Tells LinuxCon Crowd What Makes Linux Stand Out
I feel this is backwards, the oil is sold in dollars because most stuff international stuff is traded in dollars and because the dollar is the global reserve currency
The hope is the take advantage of his blogger presence to sell the idea of a well designed, trendy, premium to his audience.

I'd say a $20 desktop note taking app is an easier sell than a $10 iOS note taking app.
I'm pretty sure it's possible to configure fish, but I don't feel any need to. That's the good part - works out of box.

However I don't like their new shell syntax, especially env vars handling. Doubt it's configurable.
Unless of course you're in Belgium where all junctions are by default preference from the right (so like a mini-roundabout but with no markings), which are opposite preference from roundabouts here which are preference from the left. But some junctions are labelled, some aren't depending on whether the local council could be bothered, some people will forcefully use their preference and risk a crash but 90% will ignore it.

Driving in Belgium - the scripting equivalent of batch files
10010 10202 11020 11002 10121 11020 11111 01020 00101
Although to be fair it was just a visual refresh they honestly didn't have to redesign anything. They could have built the sync system then redesigned.

Rather than shipping then starting a rewrite just days later.
Commentary: What investors can learn from Uber’s bumpy ride in China
There is nothing I look forward to more than the end of loading a webpage and within 1 second having an interstitial hit me asking to sign up for their newsletter. Normally I just insta-close the site and try to remember never to go back, the content will appear elsewhere eventually.

I know content authors do this "because it works" but man is it annoying!
Speaking for Portugal, but just this month I'm battling with our provider since they are saying a condition that started 6 months ago didn't. Their doctors, without seeing my kid are saying the problem is more than 2 years old and thus a pre-existing condition. We are fighting this but they are (for now) refusing to pay for the surgery.
I'm reminded of the US currency situation prior to 1863, when any bank could print its own money and you needed to figure exchange rates on every transaction.

The status of 'unlimited legal tender' which the USD enjoys today is a major factor in the growth of the US economy.
Is this necessarily a bad thing entire? House wizard can be a fairly comfortable position.
Embrace Procrastination to Triumph in Life
Mac apps, even without any updates usually run on the OS 8 years+ later

Same can't be said for iOS apps. It's just a much better investment.
هزة أرضية في ولاية تيمسلت الجزائرية قدرت ب: 3.7 درجات
Hazelcast releases 3.7: cloud-enabled, 30% faster
What about glassdoor reviews?
His audience is almost entirely Mac/iOS users.
FSFE summit 2016 Imagine a EU that builds its IT infrastructure on Free Software
My initial progression of languages was: QBasic, Visual Basic, C++, Java (1.5), Python. Python was leaps and bounds more fun and productive than flailing away with any of those.

But today, I'm less excited about it. I've gotten spoiled by C#, that has static typing, and consequently, better tooling, as well as a good measure of the flexibility of Python, through dynamics, lambdas, LINQ.

It seems Python is finally getting over the 2.X -> 3.X schism, but that kind of threw a wrench into things for a number of years, as well.
It sounds very ad-hoc? (And Julia's benchmarking has not been reputable in the past, FWIW).

> without the drawbacks (loss of interactivity, or inability to escape the type system when it's appropriate).

One can absolutely have interactivity in a statically typed language, and virtually all statically typed languages support casting when you absolutely need to.
So is Python. I've worked on code bases in several languages, and the greatest horrors I've seen are in Python and C++, in that order.

Python is a strange case. The CPython code base seems to be quite well organized and well written, and about 10% of packages on GitHub or PyPI are extremely solid.

The problem is the staggering amount of packages (public or in-house) that have 100000+ LOC and use the worst features of OO, functional, and procedural programming at the same time.

The result is not spaghetti code, but ravioli code where there's zero control flow and "everything happens somewhere else". Add to that the "consenting adult" philosophy, and you have the modern equivalent of goto mixed with self-modifying code.

I'm sure Perl has all that, but it's far from the only language.
Apple Releases iOS 10 Beta 6 &amp; Public Beta 5
The new beta version 6 of iOS 10 is available on developer account and it can be installed as an OTA (Over the Air) or download from Apple&#039;s developer site.
I was a long time Rubyist but switched over to Python because even though its characteristics and philosophy made me reflexively shirk it at first -- particularly significant whitespace, one-line-lambdas, and the clusterfuck of 2.x vs 3.x -- it seemed to me to be an obviously easier language to teach, nevermind its significantly stronger libraries for numerical work.

I'm glad I made that decision. The language was easy enough to pick up in my spare time. I hardly ever use pandas/numpy unless I'm doing some really serious statistical work; the core language and patterns in Python are now pleasant enough for me to use in day-to-day data wrangling and hacking. I'm now mixing in Ruby for a current project -- mostly because I like Rakefiles, and also, Ruby's static site generators like Middleman -- and it's been surprisingly painful to do things in Ruby. I used to hate how when doing a Google search for something in the Python stdlib would bring up 2.x before 3.x...but it almost seems even more problematic in Ruby, where 1.9.3 and 2.0.0 docs keep coming up, even though official maintenance of them has been dropped.

(2.0's maintenance ended in Feb. 2016 http://ruby-doc.org/core-2.0.0/Array.html)

If I didn't know better, I wouldn't even know what Ruby's official version was. For me, Google results show no other documentation for Ruby's Array, as the next results are from tutorialspoint and sitepoint.

And that's not even getting into the issue of how problematic the do-things-how-you-like freedom of Ruby is incredibly hard to discern as an outsider. To give one example I recently had: how do you iterate through a human-calendar-based time interval, such as a month (i.e. any interval that doesn't have a constant length in seconds)?

In Python, I remember how frustrating it was to figure out what the hell the difference was between datetime, time, calendar, the gmtime function, and then timedelta, and then the third-party libraries of pytz and python-dateutil. But once I understood them, which was largely a matter of realizing how naive I was about the nature of measuring time, doing something like iterating over calendar intervals is straightforward.

This is my first Google result for "python iterate month intervals" -- it's from 2008 and still works perfectly: http://stackoverflow.com/questions/153584/how-to-iterate-ove...

Now here's the result for Ruby; all of the answers, as far as I can tell, are not only not-very-Rubyish, but not reliable either: http://stackoverflow.com/questions/1724639/iterate-every-mon...

FWIW, I remember solving this problem by using the DateTimein ActiveSupport. Which is a credit to how much fun and joy it is to build things in Rails right out of the box. But that complexity catches up quick, and including ActiveSupport in day-to-day Ruby work can sometimes to unwanted monkeypatching.
> Well, neither can programmers, since SQL injection is still the most common security vulnerability in software, so I agree, SQL is probably a bad tool for the job :)

The problem isn't with SQL, it's with the idiotic idea of gluing SQL queries from strings. See also: template languages for web pages, i.e. gluing strings to build what is really a tree.

--

I think the hate against Excel is unfounded. Sure, it's not the perfectly suited software for the domain - in the same way like a dedicated fruit slicer is better than a knife at slicing fruits, a dedicated fruit peeler is better at peeling them, etc. but one knife can do all those jobs pretty well on its own, while also being able to do countless other things. Excel is a very versatile and powerful tool, and this power comes from its flexibility. The solutions often proposed, like a "proper" database-backed system, often involves a fixed workflow and having to call in IT support every time something doesn't fit that workflow (which is always).

So IMO - yes for people dealing with data using Excel. Yes for them learning a programming language, SQL and a generic database system. But strong no for forcing them to use domain-specific dedicated "tools" that impose a particular workflow on them.
How to Throw Epic Last Minute Party
Some similar failure cases are: 1) when I make a presentation using Keynote, it drops the leading spaces when it exports to PDF, so my students can't simply copy/paste my example code. 2) the interpretation of blank lines with no indentation on the repl means "end of current code", which is different than in a .py file. This means if I copy&paste from my in-development code to the repl, I can get syntax error unless I carefully ensure that all blank lines inside of indented code blocks are also indented.
Won't dipping her hand in water contaminate it? Seems like a meddler.
Reading the opinions of others gratifies my own intellectual curiosity, and as I am one of HN's readers, it fullfills the definition.

PS: editing your own post to reply is a weird way to do things when there's a "reply" link under each comment...
I'm learning python just to be able to use tensorflow. I wish there was an interface in Ruby
I switched to zsh a couple of months ago, with oh-my-zsh.

Just ignore the "i dont know" questions.
The defaults all work well.

The improvements of zsh over bash are all rather small. And a lot can be achieved by configuring bash heavily.
But they all add up to give a nice producivity boost.

What I like (some of those come from oh-my-zsh rather then zsh):

* way better autocompletion

* directory stacks (love em)

* way better behaviour for rm / rm -r (confirm prompts, etc)

* small but nice: if output of a program lacks a \n at the end, it is inserted (with a visual marker)

* ".." or "..." for going up the directory tree, without "cd"

* from oh-my: great aliases for git (git add - ga, git
Huh, suddenly those review questionnaires asking you to list some of your accomplishments in the past <timeframe> seem a lot less silly - even if they already know you've been killing it all year and have told you as much.
I used to work supporting Lotus 1-2-3 for DOS for Lotus in the UK. We quite often had to get people to load a "clean config" by commenting out most of their config.sys and autoexec.bat apart from a prompt command and emm386.exe. This was so we could fit the program in the first 600k and then load the rest into the main memory.
it's free real-estate
I agree that the code does document itself well. The biggest problem I have is the docstrings [1] which I find quite weird and find the Javadoc style comments much more readable.

[1]: https://www.python.org/dev/peps/pep-0257/
#2 is because it is more "pythonic" to ask for forgiveness than permission (EAFP).

For example, rather than checking if a dictionary has an element before accessing it, you just try to access it and handle the KeyError if it doesn't. The code reads easier and the normal flow would be faster in this case.

When used in EAFP context only, I think it is fine to use exceptions as part of logic in Python. They are relatively less costly compared to C.
Nevada's CO-OP also had this issue and ended service on 1/1/2016. We had a few months notice.
SQL injection isn't an SQL vulnerability, but one of code that naïvely constructs queries. Not a parallel case here.
xonsh is the only shell you need. It is far and away the best of all.
Right, linux never just ships as a kernel for others to consume.
New Experiment Finds Neutrino Oscillation Isn't 'Real'
I wonder if the simpler Boyer-Moore-Horspool might be even faster, since in practice BMH beats regular BM except in the pathological cases:

http://old.blog.phusion.nl/2010/12/06/efficient-substring-se...

Also, unrolling loops may actually slow things down in modern x86 CPUs since they will automatically decode and cache very small loops. Some interesting discussion on that here:

https://groups.google.com/d/topic/mechanical-sympathy/UFscif...