skysight-inc/HackerNews huggingface dataset:
It's a storm in reality, not just on the Internet.
Windows XP had 45 Millions lines of code, the Linux kernel has 20 Millions lines of code.

So it's pretty small.
http://www.wikiwand.com/en/Source_lines_of_code#/Example
I wonder if ReactOS could target the same APIs as the upcoming Nano Server [1] in Windows Server 2016. They'd have to make it entirely 64-bit and implement some closed Microsoft protocols like WMI and DISM, but it could be a pretty cool drop-in replacement for any server apps that people decide to target to Nano Server.

[1] https://blogs.technet.microsoft.com/windowsserver/2015/04/08...
forget about history.. could you provide me answer to my question..
A far more erudite take on the situation

http://programmingisterrible.com/post/50421878989/come-here-...
I'm getting furstrated by code generation. I have a big project with has 3 files with (only) generated code. It's essentially repeating the same 15 lines about 50 times with slightly different types.

And yet I far prefer all of them over an interface{} solution. Works so much better. But the files are just so ugly, and changing them is rather hard.

Worst of it all, I've been thinking about generating other pieces of the code. For instance, I hate the http handlers and structure surrounding them being the same thing all the time.

Http handlers = decode and basic argument validation, then authentication and CSRF protection, and then conversion (to be done ad-hoc because no types in http parameters), some using strconv, some using json encoding, all with "error handling" (essentially if error then bailout 502), followed by calling the actual method. All of them are the same (save for small bugs due to me not paying attention).

I'm thinking of replacing it with generated code.
The velocity-time relationship is explained by Special Relativity (SR).

The Sun example is a bit more complicated, because there's the velocity-time effect due to SR, but also the fact that you're deep in a big gravity well, which has effects on your measured time due to General Relativity (GR).

SR says that "moving clocks run slow", but deep in the Sun's gravity well, we should also be running slow relative to the Earth. Not sure what the relative size of the two effects is.

EDIT> I assume the SR effect is larger than the GR effect, simply because SR was obvious before GR.
Just playing devil's advocate here (and I'm in no way full bottle on U.S. law) but from other posts here, one of the most contentious points about national security letters is the very strict gag order that is usually attached to them.

Yes, there's a publicly available court order. How would you know there isn't also an NSL?
You missed the point: the city is necessary for finding a partner, not a job. Remote working, at a bare minimum, lets you be employed anywhere. You need a critical mass to have any chance of dating (unless you're extraordinarily desirable, or already have one when making the choice of where to live, like the comment I responded to.)
Does that matter? Those users aren't paying. Yahoo could very well kick 9/10ths of Tumblr's userbase off the site while retooling to make a profit from the other 10%, and it wouldn't change a single thing about their financials.

To put it another way: right now, Tumblr is making no money for Yahoo. Destroying the site and its reputation to make it into something profitable is actually the sensible move, compared to just leaving it alone. If they just wanted to leave it alone... why did they acquire it?

To go even further, though, I don't think they need any of Tumblr's current userbase. When I said that "Yahoo has a social network: Tumblr", I wasn't referring to the userbase, but to the codebase and the built-up staffing with social-network-running expertise. They could throw out Tumblr-the-website, and transfer all the people working on it to a new, fresh-from-scratch social network project (maybe built on Tumblr-the-backend), and it'd still be a more sensible strategy than leaving it alone.
Does anyone have concrete evidence that Tumblr didn't get axed? I don't think the article said anything about it, unless that falls under "lifestyle".
I also tend to see more homeless around universities in big cities than in other parts, must be the veal
I am from the Netherlands; what shops and where?
I've been on so many sides of this issue it really almost sounds like bullshit.

You see, I was addicted to heroin, and basically homeless, for three years living in Vegas after my mom passed and I divorced.

My beautiful co-junkie girlfriend ODed and died, literally in my arms, in a room at the MGM Grand the first time she ever shot up. I thought she was doing meth like she always did. She was such an amazing soul and I still cry when I think of her and that horrible night.

I allowed a bunch of homeless "friends" to stay with me as I was blowing through my money. I fed them all the time; gave them money for dope sometimes.

Several of them ended up robbing me for money, clothes, computers etc etc. I ended up in the Tunnels for about 6 months before I could finally get out of town.

I finally kicked cold-turkey on the floor of a county jail medical cell back here in Florida as I had missed court dates and had warrants. This was 5 years ago and I have worked hard to pull my life back together.

Before this, my 5yo daughter was physically grabbed by a homeless person in the streets of downtown Chicago, off Michigan Ave., and to this day she still talks of the fear she felt that day.

Who knows what could have happened if I wasn't 6'3" and prison-hardened from the 22 months I did for selling MDMA in 2001?

So I feel I see all sides of this situation from real experience. It's hard writing this because I try not to remember all that garbage and pain.

I think this guy has the right to express himself and his fears without being knee-jerk dogpiled by the offense mobs, but that's just me.

[edits]
Would you, by chance, be able to link or share that error lib? I'd love to see more solutions for error handling to get a better grasp.
how to restore the deleted photos on your iPhone
Professional ethics of software engineering is definitely something we're going to have to grapple with more and more. Another aspect is being asked to use Dark Patterns in a UI or build a skinner box into a game or app. There's evidence that these things do harm to people and having a professional organization that could help stand up to such things could be part of a solution.
'05 Annual Performance Review: Albert Einstein
NSA’s director says Paris attacks “would not have happened” without crypto
I think is a myth than Flask is lighter than Django, in my experience I had a Django app and a Flask app we started with Flask because we believed that myth, in the end we had an application like 10 times bigger in code, we refactored in less than a week and the performance was even better for Django than Flask app. I know this is not a Flask vs Django post, but I woudln't use something than is almost 3 years ago from the last release and they're promising a new release from almost a year.
The onus of a living wage is always on the consumer. Even if instacart were paying a living wage to the people who perform deliveries, they would need to reflect at least those wages and other expenses in whatever they charge the consumer (unless deliveries are subsidized by VC's or other interested parties).
Is it better than the old LEAP tracking?

I want to like the LEAP, but it's been consistently mildly disappointing.
It depends on the type of idea. FB and Uber are not eureka-type of ideas: they are timely innovations resting on top of existing similar products/services but probably better due to technology, timing, business model, etc. I'd say that for such ideas skill is not required but rather the ability to spot innovation opportunities.

Then there's the eureka-type idea like the blockchain or 5D storage disks. I'd say that for these ideas you need to have a strong knowledge on a given field in order to be able to come up with such breakthrough.
If you oppose this, please let President Obama know. The FBI is part of the executive branch of the government, and as such, directly reports to the president. In other words, if he tells them to stop, they must comply. Please register your complaint here:

https://www.whitehouse.gov/contact

Here is my letter to them:

Dear President Obama,

I've voted for you in both elections, and have been a firm supporter on all your causes (affordable care act, and more). However, your FBI has clearly overstepped it's authority by demanding that Apple spend engineering resources building a software product that can break the encryption of a terrorist's iPhone.

Seriously, you need to stop this. You are the head of the executive branch of the government, of which the FBI is directly underneath your jurisdiction. Director James Comey is directly within your chain of command.

What the FBI is asking for is a master key to be created that can decrypt any iPhone. This makes all Americans with Apple devices insecure in the face of threats to our personal security and privacy. I hope you can understand that this is clearly unacceptable, and needs to be stopped.

I want to register my complete opposition to the FBI in this circumstance. Please stop this.

Thanks,
xxxx
A distinction in phrase only.
That's exactly right, it's personal preference. There are people who like some things already thought out for them, and there are people who always build up a mental model of what they want first and for whom it's a burden to then have to map that model to whatever an opinionated framework wants. I think you're more the person who builds the Lego pirate ship with the instructions and then mods stuff to make it more awesome, while I'm rather the person who builds the pirate ship, then gets bored, takes it apart completely and builds something else from the ground up ;-). There's advantages and disadvantages to both modes of doing things.
http://www.glide.org/feedthehungry
Honestly this is how all development should be done. Treat the web server as yet another interface into your application to keep it as slim as possible. Need to change web servers, support thrift, avro, etc? Just write another interface that hooks into your application. Easy!

There are plenty of examples in every language where a web framework turns into a web service + caching + session management + ORM + whatever else you can think of then you use all of those features and now you're inflexible, can't easily add new interfaces without seriously rewriting the old and good luck if you need to move away from that web framework for whatever reason.
To retract or not to retract scientific papers
I got pretty excited to read about this unified endeavor, and hungrily clicked the CTA to Get 5.0 Alpha.

> Don't see a button? You may have to disable your ad blocker.

What a shitty experience. You're pitching a product that you're clearly intending to sell commercially (which is both fine and dandy), and your first interaction of this brave new World Stack is to tell me I'm browsing wrong! And that's immediately after I click the previous "Get 5.0 Alpha" Call To Action (which was a button that appeared just fine, mind you) and I'm faced with the bitter realization that it's not Get, it's Get In Our CRM.

This kind of thing rubs me the wrong way, hard. I live in the B2B world, I totally get the pitch and the signup, but don't mislead me on the call to action, and don't make me distrust your intentions (or web development skills, for that matter) by telling me I need to open my privacy and performance preserving ad blocking gate and let you come over to my yard just to fill out a damn signup form on your fancy clipboard.

It's inauthentic, and I don't think I'm the only one who feels that way.
No offense, but the author has a first world problem. The notebook should be functional - powerful, lightweight, long lasting, not necessarily pretty. It is not an exhibit, it's a tool. Why does he need a good web page to buy it???

That said, he can grab a Chromebook and install a full-blown Linux distro on it.
Dear Elastic:

For the love of internet-god, please stop your constant moving of stuff around. Now we have new logos.

Last year's fun, I was using logstash-shipper to ship logs. Early on, the package got pulled completely - sucks to be you if it's in your deployment script or in your documentation. Then it had a name change. Then it moved to one domain. Then it moved to another domain. Then it got switched out for Beats.

Not everyone finds setting up and maintaining an ELK stack so fascinating that they want to keep up to date with exactly where everything is this month. While you can do other things with ELK, the primary use-case is logging. Logging is supposed to be reliable and 'just work'. Every time I see the elastic website, something else has changed, and everyone is pushing the new stuff.

ELK is cool and all, but it's frustrating to follow when you just poke your nose in every few months.

Love,

- Vacri
Then you'll love these quotes from the article:

> “But as of now, you know, I like to think that as
> scientists we trust what the data tell us.......
> “That’s the beauty of archaeology,
> is that it’s always changing.”
These people should be totally ashamed for the tool they have given. It is just nodejs wrapped inside a desktop app. They could have very well made it open sourced and offered to community.
> Many of the 'homeless' really enjoy their lifestyle- it never gets that cold, they can hang out all day and do drugs, and have lots of social services available to them if anything ever gets too bad.

I don't see too much wrong with that. If someone's living on the streets because they like it, more power to 'em. As far as services go, it's almost a logical consequence of having them that a certain few are going to abuse them. I'd rather accept that than have people who truly need and want help not get it.
I'm defining "social network" pretty broadly, including websites that have a strong social component, like HN, reddit and imgur. These kinds of online communities tend to make people happy, and they let them form friendships and exchange ideas. If a new one emerges then it's probably making some critical mass of people happy.

I would guess that Yahoo's audience might not have a ton of exposure to all the different social networks out there on these days, and they might appreciate a stronger community aspect to Yahoo. A Facebook clone wouldn't make sense, but something that gave it more of the flavor of imgur or HN might. Though I suspect that would be really hard to pull off.

It wouldn't be the bet thing for Yahoo to focus on, but it wouldn't be the worst.
Or you could hope your marriage lasts. The reason we gloss over the variables is that if we tried to account for every possible variable in life, we would never get around to doing anything, and there would still be uncertainty. At some point you have to make an actual decision and move on.
Have you looked at http://goa.design/ which kinda describes what you are talking about a bit (for REST apis).
I don't exactly understand what you are suggesting. Ofcourse, I care about error and want them to be handled. Problem often is that method I am in doesn't know how to handle the error and have to bubble it up to a place where there is knowledge about how to handle it.

Here is Erik Meijer talking about golang exception handling

https://www.youtube.com/watch?v=a2ihmMmSfwk&t=577

The golang guy doesn't answer the question properly and repeats "exceptions are not for control flow". Really disappointing answer and cringeworthy interview.
I completely agree. That's why we founders, who are much better at using simple language, should ideate a way to pivot our unicorns to disrupt this space. These executives will discover they're not a culture fit in this paradigm shift where sweat equity is properly valued.

(Can I get some help working in 'gamification', 'bootstrapping', and 'dogfooding'?)
Was it really necessary to drop an F bomb to ask this question?
Why doesn't Pandas have anything to save the entire workspace to disk (like .RData).
There are all these cool file formats like Castra, HDF5, even the vanilla pickle - but I don't see anything with a one shot save of the workspace (something like Dill)

Is this an antipattern for Pandas?
Anonymous-linked hacker rescued at sea and then arrested
I was wondering why the headline refers specifically to "tech worker".

It seems like the motivation for the article is to call attention to a stereotypical "tech bro". Is "tech bro" in common usage?

I guess I didn't realize that appending "bro" to create a pejorative term has become so common.
Fuck off green account patheticly frightened little child. You should be ashamed of yourself and the “culture” you so feebily defend. Chickenshit.
‘Eternal 5D’ data storage could reliably record the history of humankind
>American feminists also marched for such goals in the 1970s, but the Big Boys, busy with their own White House intrigues, initiated a war on women that set the country back and still rages today in brutal attacks on women’s basic civil rights, health care, and reproductive freedom.

It's not really necessary to read past this point. Aside from being patently false, this is just background support for Hillary Clinton's campaign themes.
tl;dr =

There are little spearheads all over the island. An expert in spear-heads looked at them and said they aren't very practical as spearheads, and thy are probably not weapons at all.

The authors attribute deforestation to the arrival of rats, not to weird cult rituals.
And yet they can somehow get through a telephone screening interview.
Why aren't you doing something about housing tyranny?
An academic paper recently gave some real credibility to the urgence of the following issue.

So basically, landlords collude with local governments all over US (I don't know how it is in other countries) to prevent the real estate rents/prices going down by making politicians restrict building more housing wider, and building more housing higher.

The economic impact on the economy is staggering. GDP reduced by $1.6 trillion a year. That's $1.6 trillion in lost economic activity, money people could have used to build up their lives, happiness, hope for the future, and one of the reasons millenials struggle to launch their lives.

Americans now spend the highest percentage ever of their income on housing. This is money that could have been available in the economy for general consumption.

Links to the academic study:

http://faculty.chicagobooth.edu/chang-tai.hsieh/research/growth.pdf

https://www.nber.org/papers/w21154

Press coverage:

http://www.citylab.com/housing/2015/05/the-urban-housing-crunch-costs-the-us-economy-about-16-trillion-a-year/393515/

http://laborcenter.berkeley.edu/the-high-public-cost-of-low-wages/

http://sfist.com/2015/05/13/study_ny_and_sf_rents_are_dragging.php

Another press article highlighting the issue:

http://europe.newsweek.com/affordable-housing-rent-burden-census-income-inequality-333350?rm=eu

What you can do:

Anything. Start a website or a movement demanding high level government action on the issue. Tell your friends. Silicon Valley tech industry or a wealthy individual could bring awareness to this issue in a major way.

The desired end result is a congress or presidential level action on this issue that could boost GDP immensely, improve the quality of lives of millions and give the American dream some real wings again.
Doing something about the problem isn't even as hard as running for office. Donate time or money to a local agency that actually tries to help some of these people.
"just building an API" does not mean you need something more lightweight. It means you have different requirements from a standard full stack web application. You are not dealing with cookies, forms or template rendering but you are still dealing with lots of other problems including authentication, authorization, headers, etc. Pyramid is the ONLY framework I've ever seen that comes with builtin support for dispatching to a view function based on more than just a request method (GET vs POST). In Pyramid GET vs POST is equivalent to any other request property including accept headers, cookies, query strings, etc. Any of these can dictate a different callable. See http://blog.delaguardia.com.mx/pyramid-view-configuration-le... for some examples.
Unfortunately you practically have to use reflection for certain things if you work in Go, although the language authors have tried to discourage it by making the APIs absolutely awful.
And people like this wonder why people are flocking to Bernie Sanders and blocking Google buses..

> I am telling you, there is going to be a revolution.

There is, and this parasite will be one of the first ones up against the wall.
When my parents came to visit me shortly after I moved to SF, as we walked to dinner, I told them how safe the city was and how I felt comfortable walking around my neighborhood even at night. Then as we rounded a corner a few blocks from my apartment, we saw about 8 squad cars blocking the road with crime scene tape blocking the sidewalk.

Mom asked the cop what was going on and he said "You can't go this way, we're investigating a multiple homicide".

Oops. Mom still brings that up nearly 2 decades later.
> did the large banks really attack risk systemically? Or did they just line up their bets all in the same direction?

Again they're banks so they don't really line up their bets at all. Like you said, they are mostly making connections. I'm like 75% sure that I'm using the term right if I call them "market makers" when they do their job of making connections. And as market makers, they make money by brokering transactions, even in the abstract sense of the word.

So they can make good markets or stupid inflated markets. A good market is loaning to businesses that want a little boost in growth and packaging that risk for investors. A bad market is lending huge amounts to people while using the house that they are paying off as collateral (sub-prime) and then packaging those assets in a hundred ways and telling your salesmen to push it, making the whole system so complicated that no one knows whats really going on. Most banking actions live in the middle of that.

begin_rant{
Speaking of global risk again. I need to look into it more but the biggest banks play a huge role in making the market in foreign investment especially the relatively new area of "emerging markets". I really think this ends up fucking over small developing economies on so many fronts. * The American/European money crowds out domestic investment, but then at the end of the day when the small country's currency starts inflating (it always does), the debtors owe their debt in dollars which is a terrible situation.
* American/Euro money might suddenly disappear when there is an American market scare. Small countries are so small that a blip on the American market can rock them into a crisis. That's why things that only temporarily shocked large companies and banks in the US changed entire political regimes in Argentina and Indonesia in 2001. Can you imagine an entire country (big ones!) more vulnerable to the market than a single US corporation thats actually being publicly traded?
* Politicians are humans. What inevitably happens is one political party in a country gets tons of under-the-table (with 21st century nuance of course) money by opening their country up to US investment. Monsanto and Rio Tinto and Starbucks move in and no local companies will ever compete again. History has not been written yet but I have a bad feeling this is what Mauricio Macri wants to do all over again with Argentina. Argentina will become a more favored subject nation to the global powers while the Macri family gets rich. He will deal with a few short-term economic problems while sacrificing the future of the nation to exist without the tyranny of globalization.
}
end_rant (excuse me)
Because a gag order would have to be absolutely legally watertight, which is likely impossible in this case.