skysight-inc/HackerNews huggingface dataset:
Yes?

I get the feeling you're being rhetorical, but if I remove the tone in my head then: yes, clearly.

> out of control with everyone poaching each other's customers blatantly

Corporations shouldn't own customers... Like, the way you poach one is by offering a better deal (more features, better price, better service, etc). I think the way an economist would see the situation you are describing there is a "functioning market" -- the way that an economy improves customers life.

If AMD releases a new processor and "steals" a ton of Intel customers that's a good thing. The customers get better processors which they use in their own economic contributions. If Intel steals them back by releasing an even better processor, that's also fantastic. If that process repeats it's not "out of control" -- it's the world becoming better.

This dynamic (competition) is the reason why capitalistic societies have done so well in the last two centuries. It's the reason why the quality of the goods you use continues to increase while the price drops.

When corporations make an agreement to stop competing on any dimension, that dimension suffers. Maybe you're saying you don't care about this particular dimension. If that was true in general (ie no consumers care about the dimension), then the agreement wouldn't be necessary since competing on that basis would have no effect.
> But I really believe the future of software is affected more by having better programmers rather than having better languages.

Better programmers will likely make better languages. Undoubtedly a good programmer can learn to program in any language, because its the same process, but languages do certainly have their limitations.
The data is persistent, but the beacons only transmit for 30 days or so.
In my experience, Ruby on Rails is the fastest and most efficient and intuitive way to develop web applications. Give it a try!
You are absolutely right about the technology fetish, I think most of us here have been guilty of it. On the other hand, you do have languages which help with writing more correct programs, and others which hinder you (I'm looking at you, PHP and Javascript).
There's a necessary distinction to be made between non-solicitation pacts between companies - a definite antitrust concern - and the non-solicitation clauses in company-to-individual employment/separation agreements.

The company-to-company pacts are suspect enough, as some of the messages in these cases show, that executives feared creating a paper trail.

The company-to-employee agreements are different. Those clauses typically limit an individual from recruiting coworkers to a new employer, for a limited time. As far as I know, these are legal in most places, apparently even in California, and aren't done surreptitiously at all: they're clearly spelled out in employment-related contracts.

(Some of the Pando reporting, in trying to cast some Google documents in the worst possible light, seems confused on this matter. They call a passage that's clearly referring to such employee contractual obligations to former employers as a "a rather cryptic warning suggesting that all across industries, illegal non-solicitation agreements were common everywhere" and "a stunning example of… flagrantly illegal practices". No, that's just referring to a common and legal non-solicitation clause of many employment agreements. See, for example, http://www.pepperlaw.com/publications_update.aspx?ArticleKey... )
Relatively minor? They claimed that the companies were allowing the US government to read anybody's email and view anybody's Skype videos without a court order. That seems like a pretty major mistake to me. Worse, Spencer Ackerman made that same error reporting for The Guardian just last week. Their reporting has been astonishingly bad.
No, I'm saying you are already using a BufferedInputStream and a BufferedOutputStream. That is the problem: you aren't guaranteeing your output matches your input.

Try doing this:

dd if=/dev/random of=test_file bs=4000 count=100
java YourClass < test_file > test_output
diff test_file test_output
C++ does include hash functions. Of course, most will just use std::unordered_map.

http://www.cplusplus.com/reference/functional/hash/
Two quick questions:
* does payouts also work for european bank accounts? The linked blog post specifically mentions 'anyone with a us bank account'
* If I only want to do payout via stripe, how would I get money in? Just bill myself?
Thank you! That is what I needed to hear. The 7 day transfer delay needed to go bye bye. Do we have an eta on that? Also want to say I would love to pre-pay into the balance to avoid overages as well.
Typical ESL Java programmer
During elementry school, did you ever have to do math using blocks?[0]

Sure, it's a fine way to do math, and you get all the same answers, and it's not really much slower. But I didn't like doing it then and I wouldn't like doing it now.

Programming in Java feels like doing math with blocks. I have all this code that needs to be there, and I understand why it's there, but I still find its inclusion frustrating. Java is a fine tool, and can be used to build great stuff, but it's not to my taste.

[0] http://i.imgur.com/PSd5k7q.jpg
Very few smartphones offer USB Host support other than mass storage. And when they do, device support is fraught. It is a truth.
Any language right? Here's classic C++.

#include <iostream>

int main ()
{
std::cout << std::cin.rdbuf();
return 0;
}
They were specifically agreeing not to engage in normal competitive practices against one another. They were agreeing not to compete with one another for engineers.

Jane might be free to offer her services to other companies, but what if she hadn't gone looking? She might not even know it was likely that she could get a better salary, or she might not have spotted a job posting particularly suited to her.

The companies suppressed a form of competition to further their own interests, with the inevitable effect that salaries were also suppressed, because the market was not as competitive as it would otherwise have been. That is illegal, and has been for more than a century.
The latest pattern I've been following is to treat the marketing portion of your business as a separate entity from your application. I use an amazon s3 bucket set to static web hosting. Not only is this incredibly cheap but it reduces the load on your application and scales.

I usually use some combination of Rails for the application and I think its a great pattern to keep non-customer load off of app resources. By keeping it as a separate project, your uneasiness surround committing to your app repo marketing changes is alleviated.
It's shit like this, HN. Why you guys make this nonsense end up on the frontpage is honestly beyond me.

So this guy re-implemented the most useful grunt tasks in his own language. Grats. You've wasted time instead of using Grunt. Saving time and not re-implementing things was the point all along.
Very few people want to write "small programs" to chain together build tasks. They should be readily available, just work, be continously updated, and work cross platform. I don't want to go look into the intricacies of compiling Handlebars templates just to do that shit.

Also, a make file syntactically looks like garble compared to a well honed Gulp / Broccoli file.
Counter example: http://www.slashfilm.com/trivia-cafe-pixar-bugs-life-monster...
Things like Monte Carlo simulations can, and have used public random numbers over the years -- the Rand Corporation's book of one million random digits [1] was used for this purpose. A public entropy source means that in verifying something, you can demonstrate that there was nothing up your sleeve when you used the points you did.

[1] http://www.rand.org/pubs/monograph_reports/MR1418.html
I don't think so, but having the beacon on will make finding the black box easier.
The only non-discriminatory view is to
get government out of the whole business
of marriage

Ah, we have some common ground. I agree completely with this. I think that the government shouldn't grant marriage licenses to anyone, but instead—perhaps—domestic partnership licenses, but with the whole range of rights, responsibilities, and legal precedent that the institution of marriage carries today.

I think that marriage, despite its fraught history in the context of the Christian church, should be explicitly removed from government and handed over to other parties who may partake of it if they feel so inclined. I would much rather skip the whole marriage thing given the option.
Temporarily laying off the entire NSA staff because they are doing something you don't like is a terrible idea. It would do more harm than good.
> Perhaps the scariest thing is their plan to collect and store all data on all of your activities, then retroactively mine it

I would even go to say that the NSA already has files on all major politicians in the US and therefore can threaten anyone (including the president) to release something the public would not like (extra-marital affairs, pretty common among politicians, but could be many other things too) and therefore easily coerce the politicians to avoid any significant reform of their mandate.
HgLab 1.4 Released: 5x speed improvements for clones with LAN Optimizations
Meetic keeps your passwords in plain text
"computer tech is only 30 year old"
>Sending in unmarked troops and then playing dumb about where they got the Russian uniforms was a move less befitting a statesman than a cartoon villain. Not that he cares what I think of him :)

exactly. He plays for internal market. And internal audience eats him. 25 years ago, back in USSR, we laughed watching a criminal asking Arnold in Red Heat "Kakie vashi dokazatelstva?" (what are your evidences?) Western mentality is so logical, evidences-shmevidences :) Such an easy target for a showman in Russia performing for Russian audience...
What are the 4-5 top apps that you use on your smartphone and what % of time usage does that make?

Currently the only apps I use (99% of the time) on my smartphone are -
* Contacts,
* Camera,
* Email,
* Maps.
In that order.

Confession:

When smartphones had just hit the scene, I would stuff mine with new and shiny apps all night long, but in the long run, none of them stuck around.
According to documents Snowden leaked, this was used in a program to collect email headers, not their content, until Obama shut it down in 2011.
A decentralized anonymous marketplace
Ad hominem attacks and claims of moral superiority also have nothing to do with NIST allowing Dual EC DRBG to be backdoored and this entropy source being suspicious.
I am rabidly liberal, think that marriage between two people—regardless of their gender identity, sexual orientation, etc.—should be legal in all 50 states, and also think that the government should get out of the 'marriage' business altogether. For the foreseeable future, we're stuck with the whole marriage thing for better or worse (hah), so we have to make the best of it.
How does Stripe Connect prevent the fake store, stolen card numbers scam? I'm genuinely curious here.
Remember what Churchill said about the USA? Something like "The USA invariable does the right thing, after having exhausted any other alternative".
China debt(According to CIA): 31.7

US: 72.5

Japan: 214.3

Source: https://en.wikipedia.org/wiki/List_of_countries_by_public_de...
Right. 80% efficiency is about as high as you can get. It's a real grind.
public static void main(String[]args) throws IOException {

Scanner sc = new Scanner(System.in);

String line;

while((line=sc.readLine())!=null)

System.out.println(line);

}

What's so verbose about it?
Instead I think I'm going to be dreaming about HAL 9000.
I'm addicted to POVIO! my friends and I are having a ball using it. much better and more chill than snap chat in my opinion.
It's worth noting that Android 4.4 does support pretty much all JDK7 features (multicatch / try with resources / etc), finally. I've run into the occasional missing method from some of the newer class libraries, but nothing too serious.

Of course, if this is any indication it'll be several years before its safe to use even JDK7 features considering Android's update trends, let alone JDK8 ...
It seems to me that you are on a library / framework binge.
> I chose Flask as my web framework because it's supposed to be one of the simplest frameworks for Python.
> And then I came across Bootstrap
> I eventually found the Highcharts library

My take on this: You do not need frameworks and tools as a beginner. Start simple with a server side scripting language to perform the logic of reading and writing to the database. (I started with PHP). Once you have that figured out, each scripting language can talk to a database either using drivers or plugins or a module that can be found (Again, I began with MySQL). Write simple logic to read and persist data. And build from there. This could be any language or database solution, my choices were what happened by chance when I began part-time work as a web developer.

Without breaking down a large app into smaller pieces, you'll be overwhelmed. Once you learn one server side programming script/language and data store logic, you can explore frameworks. Again, there are many frameworks out there, so choose one based on your need - not because it is "cool" or the shiny new thing out there. StackOverflow is your friend.

Also, this:
> The tutorials on w3schools were nice

Personally, I would not recommend W3Schools -> http://www.w3fools.com/
> Java has become the language of "the noob." For a very large percentage of programmers, it's the first language that's presented to them.

Isn't that one of the design goals of the language? IMHO, the simplicity of Java and the small number of concepts is commendable, but I feel it could have provided identical features in a less verbose way. Take accessors. If Java had Python-like properties, the average size of a Java codebase would shrink by 50 % (though having public final fields everywhere as a convention would work equally well for non-API code - I probably changed a field getter into a computed property once, and it certainly wasn't in public-facing code). Same with qualified imports.

That said, if you have an IDE, you can fold a lot of cruft away. And the business logic part of the code is often very readable (as long as it has been written by decent programmers, obviously).

One thing that puzzled me about the article is the rant about HashMap not being special. There is no special syntax for writing maps, but there is no special syntax in Haskell either, and I haven't seen anybody up in arms about it. If you don't know when you should reach for HashMap, your lack of knowledge in basic data structures will not be fixed by having special syntax. The Java collections library (enhanced by Guava) is one of the best things about the standard library.
"Law school can require as much as $200k and 3 years of opportunity cost on top of whatever was spent on undergrad."

You seem to be missing the economic realities at play. The cost of law school does not matter. All that matters is the supply and demand for lawyers and programmers. And if you've been keeping your ear to the ground, you may be aware that there is a significant oversupply of law grads nowadays.

There is no economic law that says that lawyers should make more money than programmers because they choose to be ripped off in pursuit of their training. If in the future, the salary of the average lawyer were to drop below that of the average programmer, Adam Smith would not bat an eye.
I guess our disagreement is in the word "offering".

I can advertise an offer in many places, but just because I agree not to advertise an offer in a particular place (eg right outside a rival movie theater, and vice versa) doesn't mean I don't OFFER something. It may mean that we agree not to degrade the experience for one another's customers.

Are you saying that a world where people are hit with AMD ads as soon as they exit the Intel store is a better world? Well why don't companies go the other way then -- agree to tell each other every time you purchase something and share your purchase data without your consent. I hope you like to receive spam mail every time you buy something, from competitors.

Please explain why men seducing each other's wives at every opportunity would lead to better deals for wives.
"What's the value of trashing your talk"

It also causes your idea to evolve or die.
What about Prism? That's the most harmless program Snowden leaked by a country mile. It simply allows the NSA to search data that was collected by the FBI's internet communication wiretap system for users that the government presented a court order for.
Even without facebook, there would likely have been another mega-successful startup springing up and ruining the hiring collusion. As long as incumbents can't create a regulatory or legal moat (e.g. patents), I don't think these kinds of salary depressing tactics will work for more than a few years at a time.
So does this mean we're going to have QAM-X or QPSK codecs written in JavaScript soon?
If you want to play around with a maze then there are examples in many languages at Rosetta Code, the python one is nice
http://rosettacode.org/wiki/Maze_generation#Python
> and that a "search" hasn't taken place until some human actually tries to look through that data.

It's actually scarier than that; the term used was 'acquisition' rather than 'search'.

So they collect all the raw data, but don't 'acquire' intelligence until they search for specific information.

Since the legislation pertains to acquisition they are not, by their interpretation, bound by that legislation during collection.
Teaching and acting (or, why I won't sell recorded classes)
I have one too. It fell out of my pocket while biking last week, and then got run over by a Lexus SUV. Popped the battery back in and it was good as new.

The flashlight is handy too, major upgrade from my last dumb phone.
If you're adding in new information into the type system, you'd have to go through each part of the system that uses that type and update it to use the new information correctly. If it was something like javascript, you'd just add the new information somewhere and it would be passed through without changes to where you'd need it. Making a statement like 'Haskell is easier to maintain' doesn't seem to ring true in this case. If you have unit tests for both your Haskell and javascript code then they should both be equally correct after the change.

Now maybe Haskell really would be easier to maintain - but it's something that needs proof and hard evidence. To use a car analogy for the GP's post, "I could buy a Ford because it is safer and easier to repair, but sometimes I'd just buy a Chrysler because it's cheaper and easier to purchase". There's nothing wrong with this statement if you have real numbers on the two different cars - but making the statement based on some kind of assumptions on what you think the two languages will or won't do is pure folly.

If I start a project tomorrow in Haskell or Python, the GP's post is saying my Python project will be completed quicker but be less correct. He is also saying that the amount of time I spend maintaining my Python project over the next few years will be higher than time spent maintain a same-feature Haskell project. There is absolutely zero evidence I have seen anywhere that this is correct and from experience it depends far more on the project itself and where the strengths of the language (and libraries!) lie than the language itself.
Yes. Raw entropy values need to be first mixed in an entropy pool first in some way that's not easily predictable. Fortuna's entropy pool is a high-quality algorithm / system that happens to be part of a cryptographically secure psueorandom number generator (CSPRNG). The two can be seperated, just as AES-NI instructions have RdSeed and RdRand.

ASCII:

entropy sources -> entropy pool -> CSPRNG -> ...
This was already happening during the first dot.com boom. The time I studied CS. In Belgium banks would provide cars and a paycheck while you were still graduating in your last year.

This attracted a lot of people who weren't really passionated about programming.

Now years later I was hiring during the bank crisis and I interviewed CS students who got their degree but couldn't find a job. I couldn't understand that if you have your degree and are out of job in 2 years you haven't written a single line of code on a hobby project. But these people exist.

These people will be always there in any field.
Now Mark Jason Dominus is often wrong when it comes to his political opinions, but he's rarely wrong about programming, and your tone is just way too negative for seemingly no reason. Of course he's missing selection bias. That kind of goes with being MJD. So?
How would this work for apps that are multi-user, like email, social networking, or marketplaces? The Sandstorm data model doesn't really work when you're dealing with the data of many users besides yourself.
As someone who used Word, and especially Excel (for data analysis) pretty intensively — if I couldn't use these tools for work, I'd probably think very hard about finding another job. Excel is miles ahead not only of any competing software, even it's OSX version is very subpar to the Windows one: I used parallels just to run it on my Mac. The usability difference is so big, it's like comparing working with and without version control in terms of productivity.
It's very nice, but javascript alerts for wrong moves are very out of place.
> How does this have 91 points and is on the front page of HN?

Because HN is full of Java hate, where all cool guys would never touch the JVM.

Meanwhile the world moves along and JVM based products get deployed every day.
Try Pinboard for bookmarks
https://pinboard.in/
Over the years I've found Java to be too chatty and a pain in the ass to use directly. I mainly use Groovy now which also runs on the JVM.

Just yesterday I wrote some extensions for Solr, you can do it in Groovy (hell even Javascript).

There's very little point in writing things in pure Java these days. Especially if you're just using Java libraries and gluing pieces together, use some scripting language that compiles to bytecode.

Here's one cool thing about Java: The documentation is probably the best of any development ecosystem out there. APIs are wonderfully documented. For an extreme dose of hilarity, compare Javadocs to Nodejs documentation.
D&O Insurance Implications of the SEC’s New Admissions Wrongdoing Requirements
I'd phrase it in a nicer way in an interview, but on a forum: You're wrong. The explicit buffering afforded by read(byte[]) & write(byte[], off, len) vs. read() & write(int) saves demonstrable time as file size increases. 256 - yeah arbitrary :) tweak as necessary.

on my junky MBP running java 6 -

read(byte[]) & write(byte[], int, int):

real	0m6.588s
user	0m0.876s
sys	0m1.406s

vs. read() & write(int)

real	0m16.836s
user	0m10.624s
sys	0m4.245s

vs the mighty cat - < in > out:

real	0m4.609s
user	0m0.015s
sys	0m0.458s

For a 150 mb file.

I'd say read(byte[]) / write(byte[], int, int) performed pretty well.

Now some points.

System.in is an InputStream, System.out is a PrintStream. Assuming anything more about their buffering nature is wrong. AFIAK there is nothing in the java spec that spells out any other explicit behaviour. So if you want to ensure your code works properly, code against the interfaces you're given, not the implementations you expect are sitting behind them.

This question (and stdin/stdout/stderr questions in general) are heavily biased in favour of devs comfortable of working in a Unix-y environment. If you're fine with short changing people that use that other OS that's cool. But if you want a 'trivial' demonstration of programming skill - a FizzBuzz type of question is much less biased way of achieving that.
Agreed. His background is Perl after all, so the idea of 'one way to do something' and 'readable code' is extremely foreign to him. I'd take his advice on programming with a grain of salt.