skysight-inc/HackerNews huggingface dataset:
I've always found myself to be most productive when listening to repetitive electronic music - it motivates but also doesn't distract you too much.

Check out http://www.youtube.com/watch?v=bUAAVUKk6Fc - it's rather seedy and excellent in it's own right. Two Lone Swordsmen is okay, too.

Another good one is soundtracks - personally I like futuristic stuff (Deus Ex: HR soundtrack, or Mass Effect, or Person of Interest), as they are designed not to detract from the point of focus.

Lastly, luvstep/liquid dubstep type things are quite vapid but listen-able.
As other posters have noted, there are some advance Scala features being used here. It's almost important to note that this talk was given at Scala Days, a conference for Scala programmers, so presumably the target audience is all ready expected to be familiar with Scala (and its syntax). Additionally, given that the speaker appears to be giving reasons why Scala can be a better choice than Ruby, his intended audience may be even smaller: Scala enthusiasts working at a Ruby shop who are trying to convince their coworkers/management to transition from Ruby to Scala... :P
Good spotting, it looks like I didn't read it thoroughly enough and misinterpreted it as a result. This does take away a bit of the power from this kind of licensing, but even so, playing co-op online with a single friend who hasnt bought the game is better than only being able to play with friends who have bought the game.
cycleM x = x `mplus` (cycleM x)

take 8 $ cycleM [1,2,3]

might be more generic?
Java does not allow using reflection to access private fields !? Dude, just use C#.
Isn't the issue of being able to transfer licenses more of a problem with the First Sale Doctrine? To that end, do you think consumers would have the right to transfer books, CDs, DVDs etc. if they were indestructible?

Perhaps we disagree, but I think this should be seen as an encouragement to change approaches rather than an opportunity to change a market because it doesn't suit the producer.
Encrypted VoIP data is usually not secure
I'm a professional ruby programmer and your comments opened my eyes. If you don't know what's going on, then that does look like really icky code.

First off, parenthesis in ruby are optional. So calling a method can be done without parenthesis. The following two lines are the same:

print()
print

As are these:

print(1, 2, 3)
print 1, 2, 3

Here's some bits that might explain better what stuff does:

:state

If you prefix a word with a colon that creates an object of type Symbol, with value "state", which is a bit like the string "state". The difference is that every mention of :state is a reference to the same object, while if you create a string "state", and a bit further do it again, those are two different objects. We use symbols because it runs faster for conditionals etc: to compare two symbols the interpreter only needs to check the reference, while to compare two strings, every character needs to be checked.

initial: :active

This creates a Hash with one key-value, with key :initial, and value :active, both symbols. This is equivalent to typing :initial => :active which you encounter a bit further up.

do |var1, var2| .... end

This creates a block, which is like a closure. The variable names between pipes are the arguments this block takes. Any code inside the block is only run when the block is called. In Ruby, every function can have a block passed by adding do ... end to it. Inside this function, the block can be called using the keyword yield, e.g. yield(1,2) to call the block with arguments 1 and 2. The find_each method will loop through every value of the Array it is called on, and run the block once for every value.

project.users.present?

The question mark is a valid character for a method name, there's nothing special happening here, present? is just the name of a method. This could easily have been called is_present, or just present.

a ? b : c

The ternary operator, the same in any language. It translates to "if a, return b, else return c".

->(arg1, arg2) { ... }

This creates a lambda, with arguments arg1 and arg2. A lambda is almost the same as a block, so this is almost the same as typing do |arg1, arg2| ... end
But PaaS is what sells it to me as developer who can show something cool to his management. Now you say that I should drop all PaaS benefits? Why not start with EC2 from the start?
I'm "relatively" new to the web. I started using it around 2004. To me, the only way to browse the web goes through Google. I don't think there's a single day I spent in front of the computer without me hitting Google at one point. I even use Google search when I'm specifically targeting Wikipedia or StackOverflow.

For the people who got introduced to the web before me, how was "web browsing" done in the earlier decade of the Web? I'm assuming Google is not the first search engine available, but I'm pretty sure search engines were not the only way to go around.

I understand the concept behind the web, "a globe spanning network of computers linked by hyperlinks pointing to useful information". But was it as simple as that? You only had access to addresses you knew or links available on these pages? Where did you go to find interesting websites or how would you look for specific information (like, for instance, how would you research the working internals of a car engine for a school project?)
Yes, mozilla mentioned this in a blog post when someone here on HN pointed that they should move persona out of the U.S. Being a U.S. company they have to follow the U.S. law regardless of their servers' location.
It Just Gives You All The Data: Storytelling and a Start Up
Thanks, misread that
Dude, there's crap-tons of trucks crossing that border 24/7. I'm sure it's possible to get in.
This is a nice description of the hell of modern WWW.

But things are worse than that! With few exceptions (Stack Exchange and Wikipedia are notable) most searches will return sites that have been SEOd.

My Google search for [spectacles cases] returns these two sites on the first page:

(http://www.spectaclecases.co.uk/)

(http://www.aglassescase.co.uk/)

> Welcome to SpectacleCases.co.uk. You will find a wide selection of Glasses Cases / Spectacle Cases / Sunglass Cases.

> Made from leather, fabric, metal or plastic finished to a very high quality. Hard and soft cases for spectacles, glasses and sunglasses. We also have a good selection of cheap glasses cases which offer great protection for your glasses.

> Welcome to AGlassesCase.co.uk. The one stop shop for Glasses Cases, Spectacle Cases and Sunglass Cases. We also sell a number of Glasses Cloths

> Made from a range of quality materials including leather, fabric, metal and plastic all finished to a very high standard. We sell hard and soft cases for spectacles, glasses and sunglasses. We also have a good selection of cheap glasses cases which offer great protection for your glasses.

These two different sites are the same company.

Maybe they're a great place to buy spectacles cases from, but it's vaguely upsetting that Google can create freakin' awesome stuff (A self driving car! It is actually wonderful and futuristic) yet can't fix this stuff. Obviously, Google are not to blame, and really the problem is with sleazy SEO and odd behaviours by vendors.
why you should support the node security project
That's what my FB front page looks like today. Have I missed something?
This works great for me if not used too frequently:
http://www.youtube.com/watch?v=C0EgzJ0KGxg

Wish there was a 8 hour version!
Traitor: 23% ± 4.4%. Patriot: 31% ± 4.4%. Hmm.
There are plenty of those as well. But I'm referring specifically to people wanted for crimes in their home countries.

The hippies tend not to stay in the mountains through the winter.
oo. I'd forgotten about fix.

cycleM = fix . mplus

gives a nice generic version that works on Lists & Sequences but falls afoul of the monomorphism restriction, so it needs a type:

cycleM :: (MonadPlus m) => m a -> m a
cycleM = fix . mplus
> Or was all the low-hanging fruit quickly picked in the early days of the computer age, and only hard problems remain on which little progress has been made?

Yes, most of the ground breaking theories were researched and documented decades ago. And some of that stuff has yet to make itself to mainstream programming languages (e.g. type inference).

> Haven't any new ideas been introduced by the innovations of modern languages like Python, Lisp, Haskell and Ruby? Or even C++, Java and JavaScript?

Apart from Lisp and Haskell, the "modern" languages you mention are rather boring when it comes to programming language design and there isn't too much research behind them. There has been a lot of practical work and research in garbage collection, run time systems, compiler back ends, just in time compilation and virtual machines. But when it comes to language design, the mainstream programming languages are really conservative.
He forgot the "fr" before that "agility".
Hi devicenull,

I am Thibault, Pysa's lead developer.

I will follow this discussion and I'm happy to answer to your remarks/questions.

First point, we think that this kind of tools can makes you win a lot of time writing your own manifests. In a second hand, it could help for migrations of non-production services and even analyse towards your configuration (and provide an usable output). There will be other usages, still under development, that we will be happy to present you when it will be done ;)

Second point, this is true, Pysa and Blueprint are similar in the idea, as it is said in the documentation. However, it doesn't provide the same result (and doesn't have the same goals). A quick comparison has been written in the documentation (https://pypi.python.org/pypi/Pysa#notes).

Don't hesitate to post any other remark, question or requirement.

Regards, Thibault.
How NSA-style data mining can single out key conspirators
Interesting to see how big is house is. I wonder how much money Dotcom made off MegaUpload.
Because its not the US and not a specific foreign state.

I know Americans hate the UN, to socialist and dares to criticise the US, but for non Americans it's the closest thing to an authority that they can at least try to believe in as independent. We all trust the UN weapons inspectors, yes? Well, not GW Bush on a war path, true, but the rest of us?

So how about UN Data Inspectors?

Do Americans really believe the rest of the planet even slightly trusts the US government? No. So the UN would be the best bet. Unless the US is prepared to be audited by, say, the French.

B5 fans will understand that the US is nicely represented to many by Mr Morden. Nice hair, nice suit, winning smile, all the right words.... surrounded by shadows.
To each his/her own music needed to concentrate.
The ambient sounds help me to get stuff done in the mornings, as a wake up :)
During long coding-nights I'd rather go for Tech-house livesets that can be found all over soundcloud: https://soundcloud.com/tags/tech-house
I somehow find techno and trans music to be quite distracting, this playlist however is an absolute godsend.
"http://8tracks.com/tachedroof/the-only-study-mix-you-will-ev...

Comprised of classical music scores from some of the best movies, it creates the perfect ambience for coding, which stays out of your way, yet soothes and calms you while enhancing your productivity. Can't get enough of this mix.
The relationships between theoretical innovations and practical innovations is particularly indistinct in Computer Science.

A language like JavaScript might be interesting because it is simple and ubiquitous and embedded in a powerful application platform - but that does not mean it is of much interest from a theoretical CS perspective.
Reading the case I am trying to understand why he needs them? The prosecutor is attempting, with the help of the FBI, to put these guys in the area of the robbery with cell phone records.

They don't have his records, hence they must be operating only on the testimony of the person they have already jailed which should be suspect regardless.

So why should the prosecution get a free pass, if they are using cell phone records to prosecute the the other men but don't have any to tie Brown to the area they should be able to just assume his guilt. Its not like Brown lost the records. Apparently he is being prosecuted for not having a phone they could trace.
Thank you for posting this. This was how I guessed that "family" would work when I made my original post.
You might be able to do it if you replace the SecurityManager or something.

We may laugh now, but it actually seemed like a good idea at the time.

Remember, a big part of Java's early use case was running untrusted remote code ("Applets") in the browesr without prompting the user (a niche now filled by JavaScript [1] and a declining Flash). Which means you really don't want that code to be able to bypass all your security by using the reflection API to read and write things it's not supposed to.

Applets never really caught on, but now the language features are constrained by backward compatibility.

Also, C# isn't supported on Android AFAIK.

[1] Mostly unrelated to Java despite its name; see http://en.wikipedia.org/wiki/Javascript#JavaScript_and_Java
"Those companies" referring to google and MS.
Twitter must disclose authors of anti-Semitic tweets, French appeals court rules
What Google seems to ultimately be doing with its Pandas and other attempts at stopping search spam is TEACHING businesses that the only safe way forward is great content and white hat practices. Sure, you might temporarily get some advantages with search spam but come next Panda and you might be totally screwed. Better play it safe and play nice with Google.
Things were a bit more varied. Netscape Navigator came with a default home page that included a number of different search engines which varied in different and sometimes interesting ways.

Because these search engines were not as powerful or accurate as Google at mining content from the web, you would tend to follow links more, relying on the overall navigational structure of the WWW rather than everything being the two step "Google terms -> Go to website in results page" process it typically is today.

Many people posted fragments called "web rings" on their web pages: these would be a linked "ring" of similar, related sites, grouped by a common interest in the subject matter. It was a useful (though very random and sometimes temperamental) way to discover similar sites and content.

Other sites had "guest books" where people could comment on the site and include a link to their own. There's little functional difference between guest books and today's blog commenting systems, except back then there was less traffic, so site owners tended to actually read the comments, respond to them often, and follow the links of the commenters back to their own sites.

Then SEO spam came along, and eventually most people realised 90% of the links in comments were probably not worth following. Then Google added nofollow, so the chances were the only person who would ever find your site through comments were the owner of the site you posted on - if you were very lucky and it wasn't buried in a sea of spam or one-shot snarks.
I do think there's a different between opinion of a manager who's been working for ten years and a new-grad who's just had his first job for eight months.
Blowing the Whistle on Spying, Lying & Illegalities in the Digital Era (video)
It is precisely as you say: Simple as that. You knew of some sites, and you had links from those sites to others. Beyond that, you could take some big names and guess if they had a site. As for your "working internals of a car engine" example, in 1995 I would have instead cracked open a physical encyclopedia at a library. It really was the rise of search engines that helped grant the internet that "Learn/find anything about anything" aura.

All I remember interacting with until about 1997 was a handful of consumer brand's websites, the brands for which I already knew of and could easily guess their domain name.
Creative UI Button Styles
IOS 7 design elements side-by-side with other platforms
Obama's statement, strictly read, was very narrowly tailored: "Nobody is listening to your telephone calls."

This doesn't mean they're not being collected, recorded, analyzed, transcripted, read, or cross-corrolated.

Just that there isn't a listener assigned to each and every person in the United States to listen to their phone calls.

As someone who's largely a supporter of Obama, I was instantly left cold by his statement. It assured me of absolutely nothing.
Ask HN: Accused of plagiarism because I used HTML5-Boilerplate for a project
Our class was assigned a project to make a website for an already existing company. I built mine using html5-boilerplate, and now the teacher is accusing me of plagiarism. They said it's a template and templates aren't allowed. I've built the entire website by myself. I created the layout by myself even though they accuse me of stealing existing elements because the stylesheet was already filled with css, and the entire interactive slideshow I built was without even consulting tutorials on the internet or using Javascript snippets from somewhere else.

Now, one of the teachers previously told me that using Bootstrap was allowed, so once they confirm that he actually said that, then there's no more discussion left.

However, I'm bothered by this and I'm genuinely curious whether using html5-boilerplate for this class assignment can be viewed as plagiarism. This assignment was to demonstrate that we're capable of building a website, and I think I'm more than capable of doing that. What does HN think?
If physical disks/books were as easy to transfer as digital licenses we'd have seen efforts to kill the used market long before now.

I'd be amazed if Microsoft would happily let used sales kill their highly profitable market in such a way.

In the case of Sony they seem to be using the physical disks themselves as the license, actually storing the data on the disk is simply a convenience. In theory the disk could only contain ~1mb of metadata that triggers a digital download.

Will be interesting to see if they keep with that model, I can see having to go out and buy a physical disk or waiting for it to arrive in the mail seeming very antiquated in 5 years.
Front-end classics: page content before sub navigation
Another vote for SAW (and SAW Vol 2) as great ambient productivity music.

Also I'm a big fan of M83 Digital Shades Vol 1 for this purpose.
"why do you need Windows on client"

I was only addressing why people want Window Server - clients are something else entirely. In my experience, in large enterprises almost all "business" applications (except for Office) are served over Citrix or RDP.
But according to Obama, everybody in Congress already knew everything
Some of us run Linux as the host.
I think Stack Exchange and Wikipedia are examples of SEO'd sites too. For example: Stack Exchange had problems with indexing before they added a sitemap [1]. Wikipedia takes a lot of care to create machine-indexable pages with quality content, that link back to their sources [2] and are linked to internally. Both follow SEO best practices as described in the Google Quality Guidelines [3]

Or your definition of "SEO'd" is leaning more to manipulative/sleazy.

In your example about the spectacle cases, would the other site being an affiliate make a (huge) difference? If Google punishes companies that have more than one website, people would shift to affiliates or try to hide they own the websites in other ways. In a way I feel multiple McDonalds in one city is perfectly possible. However, there needs to be a balance between the "best" websites (be they from the same owner or not) and diversity of the results (a query deserves diversity).

[1] http://www.codinghorror.com/blog/2008/10/the-importance-of-s... "We knew from the outset that Google would be a big part of our traffic, and I wanted us to rank highly in Google"

[2] http://www.mattcutts.com/blog/pagerank-sculpting/
"In the same way that Google trusts sites less when they link to spammy sites or bad neighborhoods, parts of our system encourage links to good sites."

[3] http://support.google.com/webmasters/bin/answer.py?hl=en&ans...
Former Justice prosecutor seeks $23 billion in damages for NSA surveillance
Well, you're more likely to have a reliable internet connection in your home than you are when you are out and about.
Nah, happens quite a lot after some time of play.
Can we all just ignore this attention-seeking thug, please?

His marketing team does its job well, but surely, HN users are smarter than to fall for this rhetoric.
> how would you look for specific information (like, for instance, how would you research the working internals of a car engine for a school project?)

Maybe I'm just an old fart (I'm 26 btw :P ) but I went to the library.
Waze's 100 employees to split an average of $1.2 million each
This is enough to make me suspicious of the poll numbers. This has a very partisan slant. The Democrats are, to a small extent, rallying around a Democratic president, while Republican respondents are doing the opposite. The numbers would likely be flipped around, had this NSA scandal been exposed during the previous (Republican) president's administration.
You mean: http://8tracks.com/tachedroof/the-only-study-mix-you-will-ev...

The quote got included in your link
IOS 7: I See Now
Yeah, if I had to manually fiddle around with the SBT build process and manually adding dependencies instead of letting Intellij handle it all, I would be less motivated to want to switch away from Java on Android for sure :).

Excessive configuration to get a new project up in a running is a major demotivator sometimes when you have a new idea and want to just start coding right away.
A Git riddle, for the patient reader
I don't know what's the opinion of everyone on that, but to me it's just as bad as a paywall.
>The link I referenced before also mentions that on your Xbox, any user can play any game:
>Your friends and family, your guests and acquaintances get unlimited access to all of your games. Anyone can play your games on your console--regardless of whether you are logged in or their relationship to you.

That would be really something if that wasn't possible :).
But a big difference with the traditional media is that I can borrow a game from a friend and play it on MY console at my home.

Would be really cool situation dough. A family member in your household would like to play a game you bought and by ways of kinect it would disallow it because he/she wasn't the one who bought it :)

Another thing is that at the moment XBOX Live network is dog slow I once had to D/L a game for 24 hours and I have a 60MBit connection... Also most new games are more expensive on the Live network than in a shop. So for me that was a one time thing. I did like the episode experiment with Fable would love to buy games that way.
Why not sign your own certificate[1]? Is there any reason to trust StartSSL? How do we trust any SSL company? They may well be giving private keys to the NSA, especially if the certificate is free.

[1] To clarify I mean for personal use like securing your own servers for your own use.
Python 3 support! Now I can make the switch. Congratulations to Armin and all contributors, and a big thank you!
The vast majority get their news from local news broadcasts.

http://www.mpopost.com/most-americans-rely-on-television-for...
Almost a clone of the Windows Azure functionality, but not as good.
http://www.glassdoor.com/Bonuses/Booz-Allen-Hamilton-Bonuses...
Louis Vuitton Men Bags Outlet Online Cheap For Sale