skysight-inc/HackerNews huggingface dataset:
Hum. If that's a positive spin on Java, you can count me unimpressed.

I have a side project I'm maintaining (all in) Java that I spent a weekend on about two months ago. Frankly, it was ridiculously easy to splat out code with Eclipse (and not get anything done, but that's mostly my fault).

Several fundamental issues showed up:

- lack of first-class functions

- lack of extensibility on extant classes

- grossly mutating state

- Loads and loads of code that obscured what the logic of the program was

Project Lombok is a heinous hack to try to get around these issues (somewhat). So is, afaict, AOP.

I think for the right project - and with ruthlessly non-generic design - Java is the right tool. Otherwise you wind up with reams of wasted paper and mental overhead grappling with the sheaf of low-entropy code you've got.
It mostly is language specific though isn't it? Take python: IOError is a global, one main way to print, you don't have to worry about the output buffer.
"What are you? A RAM salesman?"
Some of the things you mentioned I would categorize as non-essential, but putting Lucene and Hadoop into the same category seems unreasonable to me. These tools do solve real world problems and they are absolutely non-superficial. If anything such lists show how versatile is the JVM.
> The advocates of freedom need to reject this tactic and push this issue to the Supreme court where it belongs.

You see what's going on, but reason a bit further. The Supreme Court is part of the same government that's in the process of establishing a full police state / tyranny. Do you think they're not part of the problem?

Can a police state's Supreme Court be independent, objective, and intent on preserving freedom? -I wouldn't bet on it.

Get out while you can?
How to create todo list app in rails part one
May I introduce you to dircombine? Take multiple directories full of dotfiles and symlink them all into another directory.

http://git.kitenet.net/?p=joey/home.git;a=blob_plain;f=bin/d...
Ask HN: Moving off of Google products
TL;DR: what are good replacements for various google products? I don't place a high value on integration, and I'm willing to use a service of lesser quality in my rebellion against Big G.

Ever since I had to add a public Google+ profile to my work Google Apps account (which we pay for) just to use Google Hangouts with more than one person, I have found it increasingly hard to remain a user of Google products. I should have seen it coming from the forced YouTube/Google+ upgrade, but for me the last straw was when Chrome installed a Desktop Notification menu bar icon in OS X without asking me, with no way to remove it, and no way to disable notifications for Google products. The very aggressive way that Google is shoving its ecosystem down my throat is no longer palatable, and I no longer want to participate or give them my data.

I've switched off of Chrome to Firefox/Safari, and although they're buggy or act in ways that are confusing (open 30 tabs in Safari and figure out the rightmost tab's behavior), they're fine as my daily browser.

Harder for me was to make the switch to DuckDuckGo as my search engine of choice, but except for Google Images or some trending news topic I'm mostly fine with DDG, especially now that I'm discovering lots of neat tips and tricks.

Tonight I'm having trouble switching off of Gmail to FastMail because Google is flagging FastMail's IMAP migration login attempts as "suspicious activity," but I already think I'll be fine with using FastMail as my new personal email provider (I don't use my personal email that much).

But there are other services that I'm not sure how to replace. Google Image search, YouTube, and Google Docs are harder for me to go off of, mostly because all-the-things are already in there and nowhere else. Any recommendations? What about replacements for other Google products?
I think it's the next generation in responsive web design. Responsive to what the content of the post is trying to convey or perhaps the innermost feelings of the author as they were writing this post.

/s
PHP: Why you need to use Xdebug
Kim Dotcom Seeks N.Z. IPO as U.S. Extradition Looms
Reminds me of the old joke:
Knock knock.
"Who's there?"
......(pause)......... "Java"
Just curious if you have any actual proof that Haskell or OCaml or Scala would really be more correct or easier to maintain than the other languages you mentioned? It feels like the kind of statement that really does need hard proof and not just hand waving. For Haskell in particular, if you change assumptions in your type system you are going to have a lot of work cut out for you which seems to go against 'easier to maintain'. Not that I've ever seen any real numbers which is a big problem when making statements like that.
The primeval atom
I've been pondering a phone that is just smart enough that it did:

1) 4G+Tethering
2) Contacts Sync
3) Maps/Nav
4) Email/SMS

It could even have a small screen and physical keypad. I don't think any such phone exists, but it would be an interesting exercise to chop down android to those elements.

If we're moving towards wearables, I imagine that many narrow use cases might move towards watches, etc, that seem like tethered devices anyways.
Working 2400 billable hours probably means closer to 3000 actual hours right?
2048 in sed
Looks like you're attacking a straw man. I am not quite sure how you get from companies advertising jobs and accepting employees (but not calling them while they are at work at another company) to salaries being depressed.

Can you elaborate on a specific case? Say Jane is happy at company X, but wants to see if she can get a higher salary. She goes outside or surfs online and bam, company Y is hiring. She INQUIRES and APPLIES and says she wants a higher salary. She is offered this salary by company Y. She quits and gets a higher salary.

Are you saying salaries are depressed from being EVEN HIGHER from companies actively calling employees of other companies so they can disrupt their projects midstream and lure away those employees?

If men actively tried to seduce each other's wives every chance they got, would that improve the deal of the wives?
Watching videos of Petr Mitrichev, who is arguable the best sport programmer, I feel that Java does allow you implement that logic in your brain, fast enough. I feel this is enough attention a mere tool should be given to, given that the main goal is actually solving the problem.
It's illegal if a court says it's illegal. Whether a particular person can think of a good reason for something to be illegal doesn't factor into the picture.
Terrifying win event.
So, my first follow up would be: why are you bothering to read in to a byte array, and why a 256 byte array?

And to be clear... the correct answer is that in Java it basically buys you nothing but some extra overhead initializing an array and in Python it merely saves you trips through the repl loop. Either way the choice of 256 bytes is arbitrary.
I am so sick of the Three's, 1024, 2048 posts on Hacker News, but I upvoted this because of sed :P
You presented my argument in argumentative manner as something different. None of this has nothing to do with NIST's reputation for evaluating crypto systems and guiding standards. So please give up trying to say how great their weighs and standards are, because again, a Nobel in physics has nothing to do with crypto.
Thanks, bet you were expecting some extravagant effect of flowing cards.
Woow! great news! I've seen that Atom Editor is coming?
Misrepresenting what happened in order to strawman it, and then self-posting it to HN.

Fantastic way to get hits, I guess.
This problem can be easily solved by finding the correct the following:

1. Correct standing height (i.e. bicep & forearm creates a 90% angle)
2. Forearm, wrist, & back of your hand is straight as possible when typing.
1 on 1 interview with Devin Hunt, YC alum, London 14th of Apri
Be great to see you all there. Should be a fascinating chat.
Wrong.
1) It also applies to former employees.
2) Like monopolies, corruption and price-fixing its bad for the free market.

Steve Jobs knew it was illegal and wrong.
> It's well known that government incentives tip the scale in favor of some more marriages. It's the reason the incentives were created in the first place, obviously!

It is? First off, the fact that a policy has been put in place is no evidence that it actually works (see also "trickle down economics" and "abstinence-based sex programs"). Secondly, it's difficult to argue about the purpose of the incentives outside of a historical context. The best I've been able to find is regarding the tax part of the incentives: http://www.ncpa.org/pub/bg145?pg=2
It does not appear to be part of a nefarious plot to get more people married.

> you're welcome to read papers that are tangentially related and prove the the point of how strongly influenced by economics/finances marriages are

After skimming the papers, my understanding is that they demonstrate that for a number of women, the social condition of their prospective husband is a huge motivational factor. That is fine and well, but what does it have to do with the state? I'm sure you could find the same studies regarding unmarried couples. I haven't found any mention of government incentives in them, but I may have overlooked something.

> Also, you're ignoring most of the argument - it's not just about the tax incentive - it's about all of the incentives that government licensed marriage creates. Re-read my prior comments throughout this whole discussion if you don't know what I mean.

You are correct that I focused on the tax incentives, as I see that as the most visible of the government-provided incentives. Let's look at the other benefits you list:

> (taxes, pensions, medical benefits) and implicit (encouraging a social construct through government enforcement of licenses and contracts)

I'm not aware of any pension-related advantage of married couples where I live, and there is certainly no medical benefits in a land of socialized healthcare. Is this a US thing? As for the implicit benefits, I'm not entirely clear on what you mean. Are you objecting to the existence of a legal framework formalizing the rights of each party?
No, my comment stands as it is.
Know someone at apple.
Only part of the business of a university is to teach. For most universities far more time is allocated to research than teaching. At my university, professors split time between teaching, research, and service (where service is things like department chair or serving on a committee). Depending on your position, the breakdown of these varies. So, department chairs do less teaching (or possibly none) because their time is needed for service instead.

As others have pointed out, a wiki for any material is kind of a non-starter as it would depend on the IP rights at the university. At mine, all IP is owned by the creator (with the university having non-exclusive rights to use it), with a few exceptions.

Most professors I know don't assign their own books. In my department, I only know of one (or two depending on how you count it). The one is a grad course and is really one of the few on the topic (and is actually written by ten different authors, not just the professor). My supervisor assigns his advanced dynamics text for his course, but they're sold through the copy centre (at the standard copy rate) as they're bound photocopies. I think they were under $30 which is far less than alternatives.

My university requires that all Master's and Ph.D. theses (not thesii) be made available electronically (as PDFs) as has since 2002. So, they don't just sit on a shelf. So, both my Master's and my Ph.D. thesis are on the web for anyone to download (and I have them linked from my LinkedIn page).

Many universities require graduate theses be made available electronically, so I don't see where your issue is with that. I can't see a wiki being any better than a simple search engine for theses. For example, one could have material that fits all over a wiki in one thesis. My Master's research is still being cited by two very disparate disciplines. Both theses of mine are easily found using Google Scholar with appropriate search terms (i.e., ones applicable to the content). My Master's even has two citations just last year.

How is one supposed to put links on a CV for pages edited by many authors?

I know of no professors who are wined and dined by textbook publishers. I know that publishers send review copies and they do meet with professors, but all the meetings I know of have happened in professors offices or a meeting room.
advice pulled out of from where the sun does not shine... really, give talks at open source conferences, that would raise value how much? or library for brainfuck?
If you don't work there anymore its not poaching. It applied to former employees as well.
Ask HN: Was everyone's first web development experience extremely difficult?
I started reading Hacker News about two years ago (freshman year in college), and I was instantly motivated to start coding. I decided to major in EE, and I've done well in my C/C++ programming classes. I also picked up Python and R for some work on personal projects.

However, almost all of my coding has been limited to the command line. Although its been fun, I've been interested in designing a web-app for a while. Some of the posts on Hacker News make the process sound so easy, so I finally built up the motivation to start.

I decided to use Python as a backend, since I know that language best. I chose Flask as my web framework because it's supposed to be one of the simplest frameworks for Python. Unfortunately, I'm struggling to understand proper file structure and basic features such as blueprints, forms, models, and controllers. Most Flask tutorials go over these terms too quickly for me to properly understand them.

I wanted to manage users on the web-app, so I needed a database. I picked SQLite. Just like with the frameworks, I had to pick a solution without even understanding what the solution was doing. Fortunately, SQLite and databases haven’t been as difficult to pick up as Flask.

To control my web-app’s appearance, I picked up HTML and CSS. The tutorials on w3schools were nice, but I couldn't imagine building an entire app manually. And then I came across Bootstrap! It's an extremely helpful framework, but again, it's another tool I've had to learn.

One feature I wanted was interactive graphs, so I went to JavaScript. Codecademy helped me with the syntax, and I eventually found the Highcharts library. This has been the easiest tool to learn due to their comprehensive documentation.

Learning these tools individually is tough. Making them work together is even tougher. The posts on Hacker News make the web development process seem so easy. Was everyone's first experience this rough?
I don't think you should actually replace all the products, just make sure you're not signed in with any of the google's products and you'll be fine.
Sorry, I didn't think I was telling you something which you didn't already know. I just saw a hole in the pedantry and felt a strange need to point it out. Now that I've typed that, I realize what a horrible person I am.

As to why you'd want to use a catch, I think it's kind of sloppy to let the user see an uncaught exception. You might as well just do

public static void main(String args[]){
try {
...
} catch (Exception e) {
System.out.println("This is horrible software, and you shouldn't use it.");
}
}

... as that's what many users already see when exception goes uncaught.
man, this is former USSR. Everybody understands the point of choice between 2 alternatives like:

"Yes, i want to be in Russia"

and

"No, i want to be in Russia"

and that point is that it doesn't matter. You come to the polls, you don't come to the polls - it wouldn't change anything, including the poll results to the 7th digit after the point :) (i'm not saying that this referendum results was cheating - it just happened that no need to cheat here, though Putin wouldn't have any issue with cheating if it was needed - again it just doesn't matter, 90% or whatever would be in any case) It just makes an overall gray routine just a little bit fun.
You would also need to know the # of options outstanding. You can't really calculate the value of options without knowing the complete cap table, and details of different share classes (particular liquidation preferences).

I don't know whether it's common for small companies to share all of this information outside the senior team or potential hires for that team.
Inmarsat is a "bent pipe" system, meaning that the satellite just amplifies and sends down to the base station everything that it receives. So the operator's RF fanciness is limited only by the noise factor in the satellite's amplifiers.
Is it me, or has HN quality really dropped in the last couple months?
I agree - in particular, for advanced Scala libraries it can be hard to understand the source, which can make them hard to use without thorough documentation which is often lacking.
So what are you saying is the problem then? That writing to the BufferedOutputStream for each character is CPU-inefficient and he should be doing this?

public static void main(String[] args) throws IOException {
byte[] buffer = new byte[1 << 12];
for (;;) {
int nRead = System.in.read(buffer);
if (nRead == -1) return;
System.out.write(buffer, 0, nRead);
}
}

If so, fair enough, but it's reasonable to go with the simpler solution if you're not given any particular performance requirements.
I could see a try/catch with a System.exit(-1) maybe, but arguably the default handler does the right thing (returns an error code and writes diagnostics to stderr).
Or that because it comes from NIST I should trust it because some unrelated persons have won awards. Let's not forget a likely backdoor that was either consented to, or worse, permitted with extreme incompetence. [0]

Do you work for NIST or NSA? Just curious.

[0] http://blog.0xbadc0de.be/archives/155
That's not entirely corect. Microsoft wants you to stop using Windows XP...and start using Windows SomethingElse (8.1, is it now?). What is more likely to happen: Android tablets, iPads, no switch at all (approximately in this order of likelihood). Either way, MS loses this battle.
>>It's pretty simple. It's illegal for corporations to get together and decide the price of things. <<

Is this not how LIBOR or the Fed rate is determined?
I had always noticed that I never came up with any good ideas during a brainstorm session. I also worried that this made me seem unintelligent to my peers so I would spend a lot of time before or after the session creating and refining my ideas to compensate.

I'm glad to know I've been going about it effectively.
** is thought to have tracked down.

They still haven't actually found the plane, they've just got a very well reasoned assumption of the area the plane should be in.
I have been waiting for servlet 3.0 on App Engine since 2010

https://code.google.com/p/googleappengine/issues/detail?id=3...

The funny thing is that google's own GWT requires it now.
Don't waste your time trying to understand the rantings of this lunatic. Like many of the uber rich he made his money from being lucky and political connections not from actually learning anything new. His incoherent theories (e.g. reflexivity) are simply cover for whatever scheme he is currently perusing to gain even more weath and power.
Oh no. Python has lots of ways to print. You can actually pretty easily hose that part up in Python, and Python doesn't require the flush because it automatically closes/flushes the stream. In general (as in, if you didn't know you were using sys.in and sys.out) in Python you'd want to use a "with" statement to ensure that really happens.

So, for example, if you are in Python3, sys.in and sys.out are by default in text mode, which is not going to end well for anyone.
Is the data on the black boxes dependent on continual power? That seems strange.
Is github a nightmare too?

The paragon of wondrous design that is the Huffington Post has a bit over 4k rules, spread over 5 stylesheets.

msnbc.com also has a bit over 4k rules, spread over 5 stylesheets.

It's pretty easy to find sites with 2-4k rules (Outlook Web Access, BBC front page, CNN front page, twitter, Google docs, whitehouse.gov, the Facebook login page, officedepot.com, washingtonpost.com, youtube, I'm sure I could find plenty more).

All of which is to say, your typical website has more CSS than most people think.
This used to be the right way to create dynamic proxies. Why one would do this is another discussion. For completeness here's a link to the usage in Spring: https://github.com/spring-projects/spring-framework/search?q...
I just read the bit in your profile about wanting to get to zero karma in 2014. It never occurred to me I was an unwitting conspirator in your race to the bottom. Had I known this I never would have "presented [your] argument in argumentative manner."
> Just curious if you have any actual proof that Haskell or OCaml or Scala would really be more correct or easier to maintain than the other languages you mentioned? It feels like the kind of statement that really does need hard proof and not just hand waving.

While I don't have actual proof of anything (and I doubt parent has either), removing classes of issues is a big win. Not to say that any of the three languages you list is a silver bullet, they all come with a long list of drawbacks. You just have to pick which drawbacks you dislike the least.

> For Haskell in particular, if you change assumptions in your type system you are going to have a lot of work cut out for you which seems to go against 'easier to maintain'.

What do you mean by this? If your types are fine-grained enough (which you can absolutely do in Java, at the cost of a lot more code), and you change your specification, you will need to change your types. But if you did not have fine-grained types (in any language), you're going to be fixing errors at runtime instead. If you're not going to leverage the type system, you may as well work with Python, you'll get the same effect with a lot less code.
My daily mantra is: Wallet, Keys, Cellphone, Check.
I have grown as a programmer since I started working from home with real autonomy. The software created has, by far, been my best. I'm also productively creating features, architecting the system, etc. It feels great!

I'm healthier. I eat better. I exercise regularly. I'm able to take naps when I need one. I can meditate or zone out as needed. I feel focused.

There's less need to appease peers on a day to day basis. I can have streams of thought without having to communicate them. I can then reflect on these thoughts & communicate a coherent story when I am ready.
The economic illiteracy of the people in HN is blowing my mind. I've seen multiple users suggesting that there was no ill will, that it's just a ploy to keep the team together so that the project could get done.

I really hope this story doesn't die out too quickly, since it should be a crash course for most.