skysight-inc/HackerNews huggingface dataset:
If you've ever dealt with graphics file manipulation code chances are you've suffered the pain of changing the endian-ness of an image file. I never understood why some of these operations are not implemented as machine instructions that can run in one instruction cycle flat. There's nothing to them, I've done exactly that on FPGA's. Yes, they can be a little resource/routing intensive but not that bad.
Facebook Nears IPO Price After Investors Embrace Its New Mobile Gaming Push
Reasonable use shouldn't make a distinction between incoming and outgoing. If I'm making 10 req/sec to a server in the cloud, how is that any different than someone making 10 req/sec to a server in my living room?
Creator of screenFetch here. sF is not associated with /g/ in any way. I created the script before I even started browsing /g/ regularly.
Not picking you out specifically, just this post caught my eye.

We have (essentially) cured certain types of cancer. Testicular for men, skin melanoma in general, Hodgkin's lymphoma in young people. We are making tons of progress in cancer research, and we are making tons of difference in both quality of life, length of life, and survivability. Heck, my mother died of cancer, one with bad statistics, but it was almost entirely painless, and the treatment was by and large not horrible. That wouldn't have been true just a few decades ago.
Instacart launches Searchkick - Bootstrap for Search
I consider both to be partially responsible for his death. Not legally, but morally.
>Adobe has never produced an easy way for developers to work with the format.

That's not entirely fair. Adobe has openly released a comprehensive description of the format which is, as far as I know, accurate. The problem is that the format itself is a heap of features piled on year after year with apparently no regard for doing things consistently.
For what it's worth, MIT says it told the prosecutors otherwise:

MIT’s counsel stated that, while the government might believe that jail time was
appropriate in this case, the government should not be under the impression that
MIT wanted a jail sentence for Aaron Swartz. The prosecutor responded that the
government believed that some custody was appropriate. He said the government
had to consider not only the views of the immediate victims, but also general
deterrence of others.
Leaving aside technical arguments against doing this, I don't think it would solve the problem anyway. Users would inevitably decide that they want a real "remove" operation (because yours is now wasting their disk space, etc.), and teach themselves to call their new fancy "really_rm" alias. And then just accidentally delete files with that instead of "rm".

(Anyone ever gotten too used to shift-Delete in Windows? Yeah...)

Instead, automate backups or file system snapshots.
Oyster - The Mac Regex Tool
I seem to remember lots of people talking about the exciting potential Google Fiber would create for internet startups and small businesses. Too bad Google doesn't feel the same way.
The problem is they don't spell out what reasonable use is, or mention "enterprise-level". They simply have a blanket ban on an entire class of applications; anything that listens for and accepts connections is a server.
I think by now most people have learned never to trust Google (or Oracle or Microsoft, etc). This certainly doesn't come as a surprise to me, and I fully expect them to pull as many anti competitive stunts on Chrome and Android in the future as they possibly can.

The question is: what can we do to mitigate this? And no, choosing not to use Google products is about as useful as choosing not to use MS Windows was 10 years ago. We need to try and find solutions now before this becomes a serious problem.
I've recently really come to appreciate marionette's application and module containers too, and I have really come to rely on all the event bus stuff that comes from backbone.wreqr.

Basically, marionette gets better.
"Unless you have a written agreement with Google Fiber permitting you do so, you should not host any type of server using your Google Fiber connection, use your Google Fiber account to provide a large number of people with Internet access, or use your Google Fiber account to provide commercial services to third parties (including, but not limited to, selling Internet access to third parties)."

That is an "or" so no servers at all without written permission. This text is referenced from the TOS as examples of what you shouldn't do but the wording isn't actually in the TOS.
Computer simulations reveal buried waters regulate protein conformational state
What if I am hosting a Quake match with 10 simultaneous requests, is that outside of reasonable use?
Just curious: what objects do you report? Even during those times in my life when I drove a bunch, I can't recall ever seeing that many road hazards.
Whenever someone asks me about learning and using AngularJS I link them to this helpful diagram:

http://www.bennadel.com/blog/2439-My-Experience-With-Angular...

I've been using AngularJS for more than three months now and feel like I finally reached a tipping point where the months of agony are starting to pay off. Before switching to AngularJS I used Backbone.js extensively and tried out Ember.js.

The biggest thing to realize with AngularJS, I think, is that your entire front-end "stack" needs to be re-evaluated. Having been using CoffeeScript for a long time, I actually ended up taking it out of all my environments so that it would be easier to debug and understand my JS code as it is "interpreted" by AngularJS. I also had to force myself to stop thinking in jQuery and learn to live with jqLite (which naturally pressures you to exercise restraint with by-hand DOM manipulation, angular.element, etc.,.). While it felt unnatural to me at first, writing directives became second nature after I understood how to properly use them and how powerful they really are. When evaluating JS libraries to include in my code, I now find myself asking whether they can be easily integrated in the "AngularJS" way (making D3.js work with AngularJS was great practice).

Secondly, we all need to face and accept that the current AngularJS documentation is crap and it doesn't look like it's going to get better anytime soon. In addition to that, I sometimes stumble upon a lot of poorly written (or outdated) AngularJS example code on blogs, videos and SO. I only began to understand what really goes on under the hood when I started stepped into AngularJS's function calls while debugging my code. I also found that much of the functionality is not yet documented or is documented poorly and lot of insights can be found in the code comments left by the Google folks.

Was it painful to learn and to use for a long time? Oh yes. Does it still sometimes cause me to tear my hair out? Absolutely. Do I think that it is worth it? Without a doubt.
While I do think the the title is a bit sensationalist, events where someone leaks routes that aren't theirs is commonly referred to as a BGP hijack.
Reductio ad absurdum, a perfectly legitimate form of proof, begs to differ with Mr. Godwin

Godwin's law isn't about legitimate forms of proof, it's about the level and quality of discourse. It's not saying you're wrong it's saying that your point would be stronger without Nazi references.

Look at it as help, not refutation :)
Really? Ever seen a business purposely try to make itself go out of business?
If they had said only 256 or 128 mb/sec of your 1024 mb/sec is allowed for home server traffic, I'd be ok with that. Yeah, it's a residential connection, so the TOS would surely be different. But as it stands, I now have no compelling reason to choose them over the competition (who will also be offering fast transfer speeds once Google Fiber comes to Austin)
I'm working on a system based on Bret Victor's "Programming in Principle" talk. I believe to achieve such a system, you need to find a way to add semantics to code, as well as the utilization of proofs in order to have enough constraints that your environment is seamlessly self-aware while at the same time extensible.

I'm curious what you mean by data though. Is it data in the "big data" sense? What I mean is, are we talking about gathering a lot of data on coding? My approach is based on that, anyway: lots of data on code with a number of different analyzers (static and dynamic) that allows for extraction of common idioms and constraints, while allowing for the system to more easily help the user.

Of course, there's no magic and a lot of times I reach dead-ends, and while I'm eager to have enough to show the world, progress has been kinda slow lately.

Looking forward for your talk, be sure to link here on HN.
Oh you don't know? Fear is great for selling away rights and responsibilities.
>So, will there be writing .PSD files as well?

Writing PSD files is considerably easier than reading them. To write, you need only support the features you actually use. To read, you must support everything. For example, Photoshop always saves its layers RLE compressed (or it did when I last wrote code to write PSD files, which was about five years ago), but the format supports uncompressed layer data just fine. So if you're just trying to get basic interoperation with Photoshop, you don't have to worry about RLE at all.

>Imagine: upload a .PSD and get back a clean HTML layout + bootstrap_overrides.css

Why would that require writing .PSD files?
Sergey Brin’s Younger Brother Co-Founds A Startup Of His Own
I work in a biochemistry research laboratory at a large, well funded university. It's interesting to observe the software/hardware usage around the lab.

The boring majority of software in the lab is just the latest iteration of a 'Microsoft-whatever' suite stuffed into a standard enterprise Dell box.

It's the exceptions that are interesting.

For example, a few weeks ago the lab's last PC that ran Windows 95 died. That really sucked for a few people because a piece of proprietary software that ran an important microscope camera only ran on Windows 95. (Only ran on Win95 if you didn't want to pay big time for an upgrade to a modern OS.)

Intriguingly, a PI I am working with is planning on using his old Silicon Graphics machine very soon. He told me there are still certain features lacking in modern software that can be found on software written for some older SG machines.

Finally, we are in the process of restoring an old machine that is frequently used for pulling apart very thin pieces of glass for electrophysiology experiments. Granted, all the software inside is embedded. But the software and the hardware still exceed 13 years of age by a wide margin.

It's really neat to see older programs and hardware chugging along. And it's strangely reassuring to see that while encountering the latest Javascript framework debate on Hacker News.
Unless he had the worlds worst lawyer, he would have known that those terms are theoretical maximums which always get trotted out in the news and in press releases. This keeps getting ignored for some reason in this case.

Also there are thousands of people every year sentenced to possibly long term jail time who don't kill themselves, therefore I put the blame more on Aaron himself than MIT.
That was only mentioned AFTER he died

Maybe to outsiders, but Aaron and Aaron's lawyers both knew the six-month plea deal was on the table.

The DOJ publicly said "up to 35 years," and they deserve what they get for saying that --

-- but Aaron's lawyers didn't just fall off the turnip truck. They knew federal sentencing guidelines. Even if guilty on all counts, there were good odds that Aaron would face 0 days in jail, being a first-time non-violent offender. There was a 0.00% chance of Aaron going to jail for 35 years.
Back to Blogging
To get parity with his PHP & Java snippets, you probably want one of several variants below -

scala> def test1 = println ("hello world")
scala> def test2(f: =>Unit) = println ("hello world")
scala> def test3(f:Unit) = println ("hello world")
scala> test1
hello world
scala> test2()
hello world
scala> test3()
hello world
scala> val t = test2 _
scala> t apply Unit
hello world
scala> t()
hello world
scala> t(())
hello world

I will leave it as an exercise to the reader to distinguish between these thunks :)
If everybody maxes out a 1 Gbps line, no one will get a 1 Gbps line.

The implication is that the broad terminology will prohibit computers doing common consumer things in addition to servers. Except that hasn't happened.

The complaint was filed by a potential customer, not someone who ran in to the restriction. In fact, it sounds as though Google Fiber keeps making exceptions for even less consumer-like things (Gaming servers in this case).
Same article: "Google wants to ban the use of servers because it plans to offer a business class offering in the future."
As a Clojure guy currently learning Haskell since I'm curious about working with a good static type system, I'm interested in why you're using Scala instead of sticking with Haskell?
Why assume his sentence would have been 2-3 years? The prosecutors clearly wanted to make an example of him. He could have wound up with a 10 year sentence, or even the full 35 years. There is also no guarantee that he would be let out early for good behavior.

It's not just the sentence itself. Defending his case was ruining his finances. Once out of prison he would have faced numerous hurdles, which would become more severe if his sentence were longer.

This is not to say that suicide was the right choice. Rather it is to point out that we are not talking about a slap on the wrists; the prosecutor was going for his throat. Any rational person would be scared in that situation.
I love the use of "should" in "you should not host any type of server using your Google Fiber connection".

For a legal document, that's a pretty muddy word. It could be just a suggestion or it could be interpreted as "shall", basically making it a demand.
I think it is pretty clear that the military and the involved politicians have the blood of dead solders on their hands. Whether they eventually succumb to PTSD, or died after contact with dioxin contaminated agent orange doesn't make much difference to me. The existence of veterans who have not died does not somehow absolve those who share responsibility for the death of others. The possibility that some may have committed suicide anyway does not absolve them. There is a lot of blame to be spread around.
IMHO, this headline & article is sensational and almost a straw-man argument. I'm not sure anyone should expect to be able to run a substantial business off their home internet connection without buying a business-class connection - nor does this decision by Google somehow imply they've "flip-flopped" on net-neutrality. I run a little game-server from my RaspberryPi at home. Technically, I'm not allowed to do this. While my Comcast IP is supposedly dynamic, it only changes once every 18 months or so. But I really think the law is there for people who go overboard sending terabytes-per-hour with some crazy successful business. At its peak, my site only gets only about 5,000+ hits per month or so(because it reports real-time data and people hit refresh all the time).
Like Comcast, even if Google says no, just go ahead and do it anyway. They'll probably not bother you unless you're rolling your own Netflix-clone or something, in which case you really should upgrade to business-class or get on those cloud providers.
The Triumph of (American) Football, as Told by TV Ratings
Applying Programming Concepts to Everyday Life
Computer scientists develop mathematical jigsaw puzzles to encrypt software
We're using backbone and marionette, because we re-use a lot of code on the front-end and the backend, including the ability to render the initial page on the server.

Angular is interesting, but it's kind of staked out a position on the client side that is rather spectacularly orthogonal to my needs.
Safegit: Wraps git to detect sensitive data before commits.
https://news.ycombinator.com/item?id=6129181
As a network operator on a large ASN, you don't have to look back to 97 to find another example of this. This has happened twice within the last year with networks we peer with.
Hell if it weren't for max prefix limits, TATA would leak a full routing table every other week. But that's just incompetence.
The file spec released by Adobe (http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/) is actually outdated, wrong in some places, and can be incredibly vague at times.
Out of curiosity, how effective was that move at stopping spammers? It seems really easy to program a bot to create an account on the submission page, for example.

Are spambots really that automated (and un-targeted) that a change so simple stops them?
I'm an Aussie living in Phoenix. I try not to get too opinionated about whether a tipping culture is better or worse.

I see comments here from Americans who say that when they eat out in other countries they're amazed at the poor service and figure this must be because of no tipping. Back home in Australia if a restaurant doesn't deliver good service they'll go broke. So most places I ever ate at back home had (what I would call) good to great service. This isn't to say I didn't receive some very rare bad service.

Here in the US I've had about a similar experience. Mostly good to great service, and some rare bad service.

The one big difference I've noticed is that here in the US (and I believe this is because of the tipping culture) I've had to "suffer" through "overly attentive" service. When the server constantly asks if everything is satisfactory, constantly topping up / refilling drinks and (I gather) thinking that they're giving us excellent service....... But in reality they're just infringing on our enjoyment of a night out.
6. file pickers are frequently modal, so you can't do anything in other tabs while trying to find a file.
Not surprised, it's a business and like every other business it is trying to protect its interests. The good news is now we know Google's stance, so it's upto you if you still want to get to Fiber.
I was thinking the same thing, or even running a Minecraft server. They need to publish examples. Gaming servers like this would probably be considered OK. They're most likely targeting examples such as someone starting up their own mail server, even if just for personal use.
That falls short of telling the government that they should not seek jail time. It is simply informing them that MIT itself was not asking for jail time, not that MIT felt jail time was going too far. At what point did MIT protest the prosecutor's actions in any way whatsoever? MIT was complicit, handing over to the government whatever they asked for without being forced to do so (compare with JSTOR).
Death is not an act, it's a consequence. So even if we accept that a person cannot bear any responsibility for someone else's actions, they can still bear responsibility for the consequences. The premise that a person bears sole responsibility for the consequences of their actions is untenable as no consequence has a single cause.
Same in Australia. This is actually where the US system backfires. Because the servers aren't actually "waiting" for these subtle ques from the customers I've at times had trouble getting their attention.
I just think that dual goal is messy and not really a good goal. Can anyone comment on how possible it is to just ignore any OO stuff in Scala and just treat it like a normal statically typed functional language that happens to be on the JVM?
Why does it make the prosecutors look worse? Aaron killed himself, and if he was convinced he was innocent, he should've stuck it out.
We would like to run on bear metal eventually.

Targeting virtualized hardware keeps our testing matrix small right now and makes it easy for people to try it out.
How about Alan Turing?
Even out here in the rural hinterlands, 911 operators and police dispatchers are different groups. The cops can call the tow truck however the hell they want. The 911 operators still shouldn't care about the dogcatcher.
The thing that concerns me the most if how unresponsive Google has proven to be when someone files a complaint about being wrongly chosen for having their account suspended. Just look to the recent example of Gary Bernhardt trying to get his email turned back on. https://twitter.com/garybernhardt‎

What's going to happen when someone's kid starts up a Minecraft server to play with his friends and Google suspends their Fiber account due to it. Most likely - they won't respond. I hate to see them turn into the next Comcast.
> I think by now most people have learned never to trust Google (or Oracle or Microsoft, etc).

I haven't, and I think you're wrong to make that conclusion.

It's a business, and I trust it to act like a business. It operates in multiple countries, and I trust it to follow the laws it has to. I use their services, and I trust them to act as professionally with my data as I'd expect any of my best friends to do, if they were running Google.

I've been disappointed with some of Google's decisions, but that's a completely different animal from revoking my TRUST in them.
I had a friend who committed suicide in his early sixties after three years of not being able to land a decent position. He was amazingly qualified to do a ton of things. Age discrimination was at play here.

He actually went back to school and kept a positive attitude through all of it. He'd come over to my office and we'd have long chats. I'd get him involved in what I was doing and did my best to keep him motivated. I even paid for a two week Solidworks course hoping to help open new doors for him. I would give him access to my machine shop and shoved him into the world of modern mechanical design and manufacturing.

In the end he could not cope with no longer being "useful" and took his own life before finishing the course. I had no idea and saw no sign of what was going on in his mind.

I still can't believe the loss.
Interesting. What's the purpose of reversing the bits in a byte?
Why is this?

- Making Angry Birds is a whole lot easier than curing cancer, which is not even a single disease.

- People need to eat, want to enjoy themselves, all that stuff. To do this, you need money. What's the easier way to do so? Making Angry Birds.

- People want raised status. You'd get a lot more from curing cancer(s), but it would take so much longer, and you're not guaranteed it'll really work. Making Angry Birds is the much better option.

- You need piles of money to do research to cure cancers. You also need time. Short-termism (caused by the other side of accountability, transparency, and demands for ROI) means you may not get either of these. So where does the money come from, and is what you're getting enough? If it is, do you have time (and enough of the right type of skilled researchers) to do so? Modern medicine and research is not an individual endeavor; it requires teams, sometimes large ones.

Along these lines, if you believe a government's number one job is to protect people from harm (and you're inclined towards positive liberty), why is there virtually no government support for anti-aging research (in the first world, disesases of age of edged out many other killers), or life extension/immortality research? "Natural causes"/"dying is part of the natural cycle"/other excuse based on cultural beliefs/ideology are so ingrained our cultures/ideologies as just being something we have to put up with, that we haven't even gotten off the ground with this stuff.

Maybe the short version here is "we don't collectively care enough about things that kill us in a way tha matters or are even actively opposed to fixing them" to do anything about it. Change the culture, change the world.
This does an 18 bit word, right?