skysight-inc/HackerNews huggingface dataset:
> Complicated SQL queries are a piece of cake with Django's built-in ORM.

I disagree here or maybe "complicated SQL query" means something entirely different to me. I've found the ORM to be great for straightforward to reasonably involved queries. However the moment you start trying to improve the database performance, you need to drop to SQL. It's another story that SQL is a lot more difficult to maintain and not very DRY across modules.
Implementing this right is surprisingly hard, as the Debian SSL fiasco and the Java/Android's so called SecureRandom RNG have shown. Maybe they were using a defective RNG for the keys as well, so in total there is a very limited number of keys out there, making collisions probable?
> That is awesome. I live in Nebraska, and I finally spotted a Tesla last night! Excited to see it become a successful company, and I've only heard great things about the vehicles and the customer service.

Yes! Absolutely love Tesla because of what they're doing. I'm a shareholder, but that doesn't really help them, but buying/leasing a car from them does.

I'm by no means wealthy, but I plan on leasing it for 3 years and then financing the remainder when the lease is up (effectively creating a 7-10 year financing model). My wife and I share a vehicle, so I'm not paying a terribly high premium for the car after maintenance and gas savings.

I was paying $600 a month for an Infiniti. That was stupid on my part.
Fair enough. "Anything that gratifies one's intellectual curiosity" is vague enough that it can defend almost anything, though. On the other hand, I suppose lack of up votes will filter out articles targeting too small of a niche audience. Unflagged!
> t seems equally valid to consider that an error on the previous lines

No, because people usually write it top-down.

So, if I have to do something like:

a1 = 5 * b1 + 1;
a2 = 5 * b2 + 1;

for multiple items, I'm going to copy one of the lines written manually then paste it at the end (because the first ones are right)

Also paste more lines than needed (because it's an estimate) is a common bug, and you'll end up with a redundant line at the end.
Yeah, I was suspicious of the claim that only one mortgage banker went to jail, and for 12 months only. In fact, Lee Farkas is serving a 30 year sentence for mortgage fraud, effectively a life sentence at his age.
MIT Invention Turns Salt Water into Drinking Water Using Solar Power
90% of everything is crap. And there's no guarantee that the other 10% isn't crap as well. I get it, we need the social dialogue, so that people know how and why it's crap, but really the only way forward that doesn't result in eternal loss of control of your efforts to sociopaths with no interest in your happiness or society's well-being is to blaze your own path forward.

Academia is crap. Most jobs are crap. Most people do not make any dents in the universe. Most relationships end.

One should learn to recognize situations where irrationality is the norm. The easy one to spot is music. Way more people want to be musicians than the market for their output can bear. These market realities will dominate your life if you decide to become a musician. Doesn't mean you can't make it, just means that if you want a semblance of control over whether you'll make it or not, you have to create that control yourself and you'll have nobody to help you that can really help you because they have to deal with the market realities too. Even if you do make it you'll be similarly powerless to change the realities.

Once you understand the dynamic you will immediately see the pattern everywhere. Film. Academia. Comedy. The Apple App Store. The dating market for very attractive women. People who want me to work on their websites or otherwise hire me. Silicon Valley. You have to deal with all the other assholes in the world who want the same thing you want, and there's only so much of it to go around. The ones that succeed learn how to increase the demand for the services they want to provide. The ones that don't bitch about how unfair everything is.
This comment could be shorten to

Why not say, "Men are penis-havers in a way women can never be."

but even then, it baffles me.
The ransomware developers could use public-key cryptography by generating a local session key to encrypt the victim's files, and then encrypting a copy of that key with the developers' public key. The paid ransomware service would then consist of decrypting that particular session key on request.

Perhaps the ransomware developers don't understand this or thought it was too much work, or perhaps they want to provide a better user experience by sending a unilateral unlock code rather than requiring the victim to send any data to the attacker.

Congratulations to the people behind this collaboration for making progress on helping the victims.
A third possibility is simply that there is no political benefit to prosecuting mortgage brokers and the home buyers who colluded with them to get banks to issue risky loans. Think about it - you are a prosecutor in a county with tens of mortgage brokers, thousands of home buyers and 0 banks. What political benefit do you gain from it?
Have you been driving recently, with all these idiots (excuse my French) on the streets? Of course I would want all of us a self-driving car. We would be so much safer.
A great point. Perhaps because if "competitive behavior" means striving to win in a competition, and "anti-competitive behavior" means breaking the rules of the competition, hoping to win unfairly, then the former will tend to transform into the latter?
How Legit are online Earning sites?
Yahoo implements biometric authentication on smartphones using ear detection
> Erlang needs a killer framework.

Have you looked at Chicago Boss yet?
What Changed at Y Combinator After 7 Years
Pretty sure all sessions were recorded. But I think since it was a non-keynote talk it will be part of their video package they are selling. Link for notification when it becomes available: http://fluentconf.com/javascript-html-2015/public/sv/q/677
Yep.

And you can apply the same logic to the grandparent comment.
Run Your Own Membership Site That Spits Out $47 Month Instant PaypalCommissions
Using the docker command to root the host (totally not a security issue)
Just got to Balln.

"We Are Balln.
Balln is a professional ball service that makes it easy to turn your balls into cash."

http://tiffzhang.com/startup/index.html?s=245220439925
Right, but that still leaves Foucault as part of that system. It's a biased system, not to be taken at face value or as objectively committed to truth as it appears or claims to be. But that applies to Foucault and his thought and teaching as much as it does to the rest of what the universities teach.
> What happens after you spend a year implementing and executing a bad idea?

Choose to get hired at a VC, turn to Page 42.

Continue executing on your same bad idea, turn to Page 56.

Travel to SE Asia, learn the cuisine, come back and start a Food Truck, turn to Page 94.

//Page 94

During the grand opening, several customers get food borne illnesses, resulting in massive lawsuits.

You're ruined.

The End.
http://tiffzhang.com/startup/?s=765998801449

"Death" - "The Evolution of Death"
1 Year in #Stripe
I love the way the "as seen on" logos link to other invented startups.
Author here. The Pirate/Navy title is a metaphor to say Django is rigid and Flask is flexible. You have to do things the Django way. With Flask, you can customize it easily.

P.S. My cofounder Priyanka said the Pirate Navy line thing when reading the post, and I thought it was an awesome title :)
For unmanaged resources using provides almost the same thing, the only downside I can see is it means yet more nesting.
"With Death you never know what you might find." How philosophical.
Hi Craig!

Please feel free to respond to me at your leisure, but are you * sure * we will never enter a post-cloud world?

Not to say that there will be no cloud infrastructure, per se, just as mainframes still exist today.

On the other hand, I imagine someday we will have "datacenter in your pocket" type devices. The challenge will be who has the data -- obviously Google has already identified this as a key strategic advantage. The challenge will * not * be who has enough resources to compute it.

These pocket devices seem natural as a way to place strong AI at your fingertips, Siri-like agents, autonomous robots, etc. The first ones, which we have now, either use a data connection or are optimized to have small data sets, but the need for larger data sets is obvious. Once it becomes the primary limiter, I think it will only be a matter of time before "big data" is decoupled from the cloud and personal computing retakes its dominant position. Some will use laptops, some will use phones, but the effect will be the same.

There are also the privacy benefits from managing large datasets on your own device -- solutions are already available for things like how to back up your data, how to sync large sets of common data among a network of untrusted peers, and how to curate that data.
"Say goodbye to spreadsheets forever"

Spreadsheets, among other things...
Yup. I switched to Flask mostly because I always ended up ripping Django apart:

- Jinja instead of Django templates.

- Custom (and sane) class-based views instead of Django's disgusting defaults.

- Custom class-based settings.

- There's no way to define app-only middleware in Django. Flask blueprints make it trivial.

However, 10 years later and no framework has come close to Django's true strength: built-in admin.
China has started using similar techniques, I believe.
Comcast will reportedly abandon Time Warner Cable acquisition
ARC is (almost) purely automatic. You write your code however, and then a code analyzer goes through it to figure out where to put the memory management calls. (Also I'm pretty sure ARC still just does reference counting).
It's a tough case to make but you can say loan officers were pressured by their managers to falsify info. Managers were pressured by their higher ups. Eventually it comes back to Wall Street firms who were lusting over subprime mortgages so they could make more commissions.
In a tax case, the legality of the conduct can be proven almost entirely on the papers. Everything relevant to the prosecution is in a formal financial document somewhere.

In a financial fraud case, the evidentiary problem is much harder. The difference between a legal transaction and an illegal one is often what was in the person's head, not just things you can deduce from a paper record. Sometimes you have emails or the like to fill in the blanks, but often you don't.
Then you want everyone else in a self-driving car, but you may not want one...
We have a saying in the mountain climbing world: The finish line is at the bottom, not the top. It's important to consider this when climbing both up and down.
Upvote for every single startup.

"ChildhoodStrike is revolutionizing the way people think about childhoods." hahahahahaha...
It's important to note that there are significant overlaps here, especially in daily life habits. What this boils down to is income inequality and the different lifestyles that result.
Twitter unveils 'Highlights' to help users catch up
How does this differ from Karl Popper's Critical Rationalism (or the later variants of Pan Critical Rationalism)? Seems to me that the idea that there are no unquestionable authorities or axioms that can be used to justify truth and everything can be held up to critique is a much saner, and clearer version than some of the gobble-dy-gook in post modernism.
Thanks, couldn't find it :)
The other downside is you aren't as cleanly encapsulating the resource management logic.
Goat attack
Step 1: Loan officers pressured by their managers.

Step 2: Managers pressured by their higher ups.

Step 3: ???

Step 4: Profit (for Wall Street firms lusting over subprime mortgages).

In a nutshell why this has been so difficult to prosecute.
I've worked (as a freelancer) on a number of apps recently using Rails for the "front back-end" and either Erlang or Go for the "back back-end" and it's been working great.

Rails works great for things like authentication, creating a nice and maintainable UI, handling billing code, sending emails, managing the database schema, and all the web related stuff.

Erlang and Go work nicely for all the "heavy work", think sending tens of million of push notifications quickly, crunching data etc.

They can communicate using a shared, Rails-maintained database, and things like Redis to trigger updates or orders.

You can even do Erlang-backend processing of Sidekiq payloads, pushed from the Rails side etc.

All in all: use each tool for its own strengths.
Why not just require key use confirmation? ssh-add -c
It's that easy.
If your interested, Jamie Winsor of Undead Labs did a talk at Erlang Factory on how they use Elixir for their backend: https://www.youtube.com/watch?v=_i6n-eWiVn4

Also theres a good writeup on how Erlang was used for some of Call of Duty's infrastructure.
http://www.erlang-factory.com/upload/presentations/395/Erlan...

Sounds like you're already committed to Go, but just wanted to make the case. Concurrent, fault-tolerant, highly scalable systems is Elixir's sweet spot.

[edit] One more, great talk from the Elixir Conf on how Martin Shurrer used Erlang to build a multiplayer card game. This one is particularly good because it deals with scaling, game states, and is very practical:
http://confreaks.tv/videos/elixirconf2014-otp-in-production-...
Background white noise generator for boosting productivity: Android
Also, speaking of Perl, check out this (old) interview with Larry Wall:

http://jugad2.blogspot.in/2015/04/interview-linux-journal-wi...
FWIW, and this is a very common misconception, nonparametic tests in general do make assumptions about the distribution of data. Sometimes quite strong ones.
What I look for the most in a backup solution for something as precious as my personal / family photos is the stability of the company. Will it be there in 5/10/20 years?

Regardless of the solution, redundant backup is an absolute must for me. I will never depend on 1 solution for any of this no matter what the price.

My current solution is this:

* all photos go to Dropbox about once a month or if there is a large batch (birthdays etc)

* redundant backup to a RAID server in my house (3 TB drives) right now about 50% full

* I also compress really important photos and send them to an FTP server on a VPS with limited web access (no httpd)
Better use gin or negroni, since martini is slow due to reflections
I assume it's a low percentage of people that would take advantage of this, so they probably don't really care. They care about the big percentages, the low hanging fruit.
Hehe, yes I remember saying it. Wasn't meant to be literal :-)
"It's a tie! Read about Django vs Flask to make your own choice."

Thanks, this really helps a lot! LOL
One Template to rule them all…
You know who never goes to jail? Regulators.

Madoff, for instance, moved from Wall Street into a cell where he belongs, refuting the above headline. His regulators, however, weren't even charged with anything AFAIK. That despite their inaction for many years being either criminal negligence or the result of being bribed.

(From http://www.bloombergview.com/articles/2014-01-07/jpmorgan-pa... - "The government regulators, led by the Securities and Exchange Commission, also didn't catch Bernie Madoff, even though they were his regulators and that was literally their job. And while yes JPMorgan ignored some red flags, so did the SEC. Like, the many many credible letters they got to the effect of "Bernie Madoff is a big ol' Ponzi scheme." Should the SEC be paying an even bigger penalty than $1.7 billion?")
Why Physics Needs Philosophy
I thought about something similar, but more like a "monastery-style research institute" where people, with some amount of provable expertise, regardless of credentials or previous publications, would be able to check-in for pre-determined period of time and just do "open ended research" (the kind of things no sane university or corporation would ever pay for...) and have living expenses plus other basic needs provided, and spared from having to waste energy in the meaningless and draining "dance" we call "social life", for with the sole condition that their research is "open source" and that they are actually staying there working, not just using it as a free/cheap rent.

The "monastery" could also be run as a business, having a for-profit section developing products based on the ideas produced inside. Something like the members of the monastery signing an agreement that they are ok with their results being published with one year delay, time that would give an edge to the monastery over any competitors that would also want to develop products based on them - think of it like a "research monastery self-financed by coupling with a sort of startup incubator" (with some really intransigent and incorruptible people working to keep the two camps of people apart and to stop the "business idea developers" from exploiting the "monks").

And for research fields that require some expensive equipment, like bio-medical research, the "monastery" may make the "monks" sign contracts giving the patents and other right to their discoveries to the monastery, in exchange for having access to a lab where they can work on anything they want. It's not that utopic since you can a pretty usable top notch molecular biology lab plus an animal experiments facility for under $1M (probably not in the US because you have too many regulations and stuff...) if you find alternative channels of buying equipment of user other "hacks" that regular research institutes can't use...

But it's the kind of idea that it's hard to convince other people it would make sense... so for now I'll keep it on my list of to-dos for after I get filthy rich so I can finance this myself.
I too had a personal revelation with the same conclusion. Coming out of college last year I was 215 lb, up 65 lbs from my freshman year. I decided to cut all carbs and sugars from my diet now that I have a consistent work/life schedule. I lost 50 lbs after about 3 months with no increase in exercise. Turns out fat and protein is great for sustainable energy.
They don't seem any different from any other deformed baby pics.
Exactly. I think that's why Flask needs more experienced devs for larger sites. This also means it's easier to hire Django devs.
I would also like to see a serious Go-based alternative for forums. Simple Machines is truly excellent, but it's still in PHP. Go would be a far better alternative to build upon from the standpoint of security.
Intellectual diversity is the founding principle of HN:

https://news.ycombinator.com/hackernews.html

Not everything on the front page excites everyone's curiosity, but it doesn't need to. Avoiding monoculture is the main thing. This is good for technical work too.
Hm... should I propose my Evolve talk? I wasn't able to get it acknowledged for Pycon:

https://www.youtube.com/watch?v=4OlDm3akbqg

Evolve is a great idea, but it's not git. I'd be happy if spreading the Evolve idea got it implemented it in git. Just imagine: completely safe, undoable, effortless `git push --force`. No more I-told-you-so's.

I can't tell what CodeConf is about exactly, but it seems broad enough for me to try to get my talk heard.
How would you do it in many of those cases? For instance:

ax[i] = bx[i]
ay[i] = by[i]
az[i] = bz[i]

Can the languages used write this in a better way?

I do agree that having inner functions and making them easy to define is better, but it's not always possible. In F# I could write:

let assign i (a,b) = a[i] <- b[i]
[ax,bx; ay,by; az,bz] |> Seq.iter (assign i)

But that's allocating a list (and if I closed over i, it'd allocate a closure too). Really good macro support would fix this, though. And it's only marginally better in this case. (For more elaborate cases it might be easier to scan.)
Teachers, Garbage men... The DA and judges in Atlanta love to throw low level employees in jail for doing their jobs. Maybe they are too dumb to realise that these employees more or less do what they are told.

No one below the district level should have been on trial for this.

I agree with you to hold the actual loan officer liable is dumb. They were following directions.

[1] http://fox17online.com/2015/03/09/garbage-man-to-spend-30-da...
Is the Kindle Making Us Stupid?
As a Dutch person, I was confused about the Dutch police logo there (Politie is Police in Dutch). Scrolled to the bottom to find affiliation or anything... turns out it's right there in the first line.

I'm very pleasantly surprised to see our police doing something good! It's the first time I've heard the Dutch digital police actually achieving anything, and that is not exaggerated. Last time we provided an IP address involved in a hack (the IP was from the same town as the company that got hacked, so it wasn't masked), we never heard anything back, even though we know they have the CIOT database with all Dutch IP addresses mapping to names and addresses. But that was 2 years ago and there have been a lot of activities in training policemen for digital investigations.

Although it's not entirely clear what exactly their involvement was, this is nice!
Im curious about the name change. What do they stand to gain from losing all of the history of atom shell search results?
> Some services use up/down votes strictly for 'like it'/'didn't like it'

Yeah, this is what I really hope HN can avoid, which is why I brought the topic up. Such a trend can only lead to an echo chamber effect and a community that refuses to be challenged.
http://python-eve.org/
Folks, you're welcome to try Capstan - http://osv.io/capstan/
Capstan to OSv is what docker is to containers
Looking at this, I find it amazing that I have very, very little code that is so repetitive as examples shown in the article.
Folks, you're welcomed to try Capstsan - http://osv.io/capstan/

Capstan to OSv is what Docker is to containers
Smartphone tracking crackdown leaves consumers in the dark
Well that would usually be the teachers unions but they are not going to go on a suicide mission to defend these teachers.
But some of those ideas are good! Seriously, though:

> First, go and find out about Github. Figure out what it is they do, how they attract users, and how they make money. Github is already operating well in the Programming space, but perhaps the same basic ideas can be applied in the Photography space. That's where you come in.
i think it's because electron is being used to build more than just atom.

having it be that deeply associated with the other brand reduces the visibility of the project?
This needs an "Request a prospectus" button. Get an email, send a prospectus, if they want to fund it figure out what the hell you just got funded! :)
I think whether reassembling more coarse grained changes is realistic depends quite heavily on the schema and the existing usage. There's enough schemas, even pretty normalized ones, where that's pretty simple for the frequently changing objects. In others it's pretty complicated and an approach like you describe, where the stream is just used to trigger a request to retrieve a resource, is more realistic. Especially if a somewhat efficient API to get data from the database already exists.

In other cases infrastructure for transforming data from the normalized to denormalized data already exists. E.g. as part of the process of transforming the OLTP data into a data warehouse. In those cases it's not necessarily hard to add different transformations.