skysight-inc/HackerNews huggingface dataset:
I really respect Coda Hale for the work he has done on Dropwizard, and shares his views on Java vs. scala.

As for the java-hate - in my 10 years of java-programming it has always been there. They used to complain about it not being portable enough, not performant enough, GC-pauses, start-up times, and lately that it's to verbose and non-functional. But java has persisted, and only improved over the years. I'm happy I've been able to (mainly) program in the same language for so many years. It makes me realize just how long it takes to truly master a programming language (or perhaps programming in general). I guess that's why they say "..it takes 2 weeks to learn a programming language, and 10 years to master it". It's an art, and the language is your tool.
I am no Python expert, but there must be modules (easyinstall etc) for inversion of control etc in Python too, as there should be in all scripting languages. (Is it really in the std lib of Java?! Ah, maybe I'm not that surprised...)

(I am from a Perl environment which have a bit emphasis on tools/libraries and language extensions, because it is easy to do with automatical tests on most every platform/Perl version.)
You're right, because MVCC works on immutable rows. The structure can be broken up to accommodate large values[1], which saves updating parts that don't change, but json data is a single column and updates need to copy the entire document.

[1] http://www.postgresql.org/docs/devel/static/storage-toast.ht...
I would look at Modern Perl before Perl Best Practices. While Perl::Critic bases much of its criticism on PBP, quite a bit of it turned out to be not so useful.
Coder girl
I last used it 7 years ago. It was nice, but extremely slow, and required more tweaking than originally seemed. I don't know if either thing improved in the last 7 years.
Unless it's multi-part MIME which is usually the encapsulation mode for RTF based email. In that case, there's usually a plain text copy attached to the body as well which doesn't need to be read by the parser or any of the rich text stuff.

Confirmed:

Content-Type: multipart/alternative;
boundary="_000_1B81DC42240AEE4B96F487A2683E7EEB0A6AE7505BTHHS2E12BE2Xh_"
MIME-Version: 1.0
--_000_1B81DC42240AEE4B96F487A2683E7EEB0A6AE7505BTHHS2E12BE2Xh_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

RTF test

From outlook 2013 in RTF mode...

And I use mutt for my personal email...
But I know how to write a for loop in 15 different languages, and all of those other solutions work differently! If I have a problem that I can solve with a for loop, I should probably just use a for loop and move on to bigger problems, rather than remind myself exactly how iterators work in $LANGUAGE.
I'm in my 40s - so I've spent most of my life using "normal" maps.

For me - they suck. I have a lousy sense of direction. Despite actively trying to improve it for decades I regularly got lost. Not lost in the fun-exploring-new-places sort of way - but lost in the fuck-me-going-to-miss-the-last-train-home sort of way. I used to regularly schedule in hours of extra time for "just in case" scenarios. I used to avoid unfamiliar locations and over-plan trips to extreme degrees. I never wandered off the beaten track in the middle of the day - coz I could easily spend hours finding my way back.

I now go to strange places with almost zero planning. I can just pick a random direction for a walk and be confident that I can come back again. They have saved me probably weeks of prep time and contingency time at this point, and have let me go to many places that I would have otherwise never have visited. They have lifted a huge weight of worry from my shoulders every time I had to get from A to B.

So for me google maps et al have freed me from the learned helplessness of traditional maps.
"In a speech in January, President Obama said he wanted to get the N.S.A. out of the business of collecting call records in bulk while preserving the program’s abilities. He acknowledged, however, that there was no easy way to do so, and had instructed Justice Department and intelligence officials to come up with a plan by March 28 — Friday — when the current court order authorizing the program expires."

I don't see how you can maintain the programs abilities without giving it massive amounts of data - seems like someone is lying.
Ember vs Angular
> to make your point you have to show that it's better for women when men actively try to seduce each other's wives at every opportunity

Not really. The point actually should read "men making an agreement not to flirt with married women would be worse for married women as a whole".

Note this differs from your version in two important ways:

A1. The group that is benefited is not women, but married women

A2. "Every opportunity" is replaced with "where the man in question believes it is a good idea"

And the version with those modifications is clearly true.

High level argument:

B1. the cost to happily married women isn't particularly high (they stay in their relationship, feel flattered, have a fun conversation, etc)

B2. the cost to unhappily married women would be particularly high (since they have less knowledge about potential alternatives / may stay in a bad situation longer due to lack of information)

I'm not sure what the exact population sizes are for those two groups, but by using the divorce rate as a quick proxy we can see it's a high enough ratio to be net positive. Hence it would be better.

(If you are thinking about talking about obnoxious flirting, I will point you to A2 above)

FWIW "Please explain why women get remarried" is just a shorter version of the above argument -- the reason men not flirting with married women is bad for married women as a whole is because some would get remarried.

> If we take this logic even further, perhaps ever-more-clever ways of men sabotaging the others' relationships with their wives would have even BETTER results for the wives, because they are more "competitive"? Doesn't this have diminishing returns?

You talk about straw men in other threads. Do you really not see the straw man in your last two replies to me? No one is arguing that Apple should seek to harm the way that Google's employees feel about Google except in true ways ("Google is paying you 20% less than market" is good if true in much the same way as "Greg is cheating on you" is good if true. Both are of course bad if false)
To be fair, it probably wouldn't be too hard to write a parser/translator to turn into into a more readable language. Unlike something like Perl of C++, where you'd pretty much have to be superhuman to write a parser single-handedly.
Seriously Clever for A 10 year old book on perl basics is probably pushing it.

No disrespect to the guy though I'm sure he is and general respect for publishing a book like that.

I guess just limited exposure to Java
Have someone made Emacs version? Isn't it more easy to write it in elisp compared to sed.
Actually, it does, and Adam Smith pointed this out over 200 years ago (he also noted the collusion that was typical among employers to suppress the wages of labor), noting the expense, trust, and risk assumed by would-be lawyers in determining their pay:

Education in the ingenious arts, and in the liberal professions, is still more tedious and expensive. The pecuniary recompence, therefore, of painters and sculptors, of lawyers and physicians, ought to be much more liberal; and it is so accordingly.... We trust our health to the physician, our fortune, and sometimes our life and reputation, to the lawyer and attorney.... Fifthly, the wages of labour in different employments vary according to the probability or improbability of success in them. The probability that any particular person shall ever be qualified for the employments to which he is educated, is very different in different occupations. In the greatest part of mechanic trades success is almost certain; but very uncertain in the liberal professions. Put your son apprentice to a shoemaker, there is little doubt of his learning to make a pair of shoes; but send him to study the law, it as at least twenty to one if he ever makes such proficiency as will enable him to live by the business.

http://www.gutenberg.org/files/3300/3300-h/3300-h.htm#link2H...
It's all called "competing for talent". So instead of "poaching" you can say "loosing/challenging in/to the competition for talent".
You can use Grunt and gulp for any sort of projects, not just ones involving JS.
I do not read Soros' prose on a daily basis. From the interview it seems he dreams of some financial Europe fitting his dreams and needs. It is unlikely that a majority of Europeans would share his values. So he is no enemy, but his comments are aggressive and dismissive of Europeans.
Are you saying people did just as well when the only option was paper-based maps?

As someone who spent the majority of their life with only that option available, I very strongly doubt that.
Hacking for Jesus: Top projects from 'Code for the Kingdom'
We use m of n locked contracts on our site, so you dont need to trust the exchange with bitcoin https://www.cointures.com
And Scala! don't forget Scala.
Out-of-band SSH fingerprint verification
Agreed. However, I really miss that I can not navigate with any keys, mouse only...
Premake is pretty nice. Much better than CMake with its weird homegrown macro language.
I want to see fewer markets. Markets create complex work for people.
The fact that it was in Facebook's interest to do the right thing doesn't change the fact that when it came to it, they did the right thing and Google, for all their "don't be evil" talk, did the wrong thing. That's what really matters in the end.

And I don't particularly like having to say this, because I've been a Google fan ever since I switched to their search engine from AltaVista, whereas I think the world would be a better place if Facebook shut down their servers and deleted their database tomorrow. But yes, damn it, Facebook does deserve credit here.
I store my music beneath a common prefix, and try to file it neatly:

/srv/music/
/srv/music/$Artist/$album1/
/srv/music/$Artist/$album2/

That allows me to quickly find things, although it doesn't work well for classical music, and I found that I tend to create subgroups for soundtracks which throws things off too:

/srv/music/Soundtracks/$film1
/srv/music/Soundtracks/$film2

For playing I use mpd as a music-server, and sonata to play it back. I also run the logitech media deamon thing to present the music to a squeezebox inside the flat.
someone ahead of Google
This marks the decline of hn. Experiment over I guess. Now where do I go for news?
The Impact of Losing of Steve Jobs
> You did it! You are a CSS God.

Very good, thank you! :)
You cannot use that randomness for private key or private data generation, true. But there are less common usage scenarios that need unpredictable randomness that is guaranteed to be generated only after a certain point in time. For two party protocols you can exchange nonces to prove that both parties are participating in this exact moment, but those don't scale to thousands of mutually distrustful parties. An example for that is the proposed Bitcoin protocol change that is already cited by swordswinger12 which prevents attackers from hoarding Bitcoin blocks.
Thanks for the update. Really Love to read it.
> Amazing that those people in ancient times--of what, 5-7 years ago?--could survive without smartphones and Google Maps.

Actually 10 years ago I got lost all the time, would ask my way to people with very vague memory and not much of a talent to give direction, in the worst cases I would pay a taxi after a while to bring me back to a known point, and got taxed huge amounts when the taxi guy would also get lost because the address wasn't correct.

Some people (i.e me) are really bad at orienting and reading maps. Before Google Maps I had a "dumbphone" with a GPS app, and it changed my life (even when going new places I could go back in a predictable amount of time. Imagine the impact).
"java.lang.UnsupportedClassVersionError: Test : Unsupported major.minor version 51.0"

(yeah, shouldn't happen in the best of all possible worlds, but may still happen anyway)
"foo".equals(bar) is definitely clear and shorter. However it is "clever" in the sense that it circumvents NPE with some sort of trick. Those who are new to Java don't get why and how it avoids NPE. To make matters worse they may even reverse the arguments for better readability, bar.equals("foo") which is a ticking NPE time bomb!

StringUtils.equals(a, b) on the other hand clearly states in its interface document that it is null safe and there's no NPE trap.

There, I said it :). That was my lengthy argument for using StringUtils.equals!
Who are these providers that just delete client data? I run a small datacenter for our niche of clients and when the contract terminates or the project is finished I box up all their data and fire it off to S3.

Storage is so cheap these days there is no excuse not to keep client data for at least a month.
Some of the projects, I quote from the article, included "apps to fight human trafficking, streamline the process of connecting homeless people to social services, organize volunteer efforts and better meet the specific needs of non-profit medical teams".

It sounds like a very noble set of causes but I am disappointed by the need to invoke magic sky man to get this stuff done. I'm glad some good came of this, but really really hope that the participants weren't simply doing it in hope of some reward in heaven? D:
"A journey of a thousand miles begins with a single step"

It looks like you're starting out too big. If you want to get started with web development, I really would advise against using a backend MVC framework, a front end framework like Bootstrap AND interactive graphs with Highcharts/Javascript for your first app. I guarantee you will be put off by using them because you won't know what it is they do. Frameworks and libraries are great for increasing productivity, but horrible for actually learning. You don't start learning Chinese by reading Sun Tzu in Chinese, you start by learning to say 'hello', right? This goes for frameworks too. Eventually you'll need them, but now is not the time.

If you want to be a decent web developer, it's essential that you learn how things work from the beginning. Frameworks don't teach you that. I really suggest you try to build a simple app from the ground up. Nothing fancy, just a simple time tracking app, personal page or something. Or start with just a static HTML/CSS page. Add a database/server side later when you get the hang of HTML/CSS. Done? Begin sprinkling some jQuery in it. By this time you can begin thinking about frameworks.

It's a long road, sure. But if you begin small there's a much, much better chance of mastering web development. Just make sure to steer clear of W3Schools. They don't have nice tutorials, okay? It's like saying 'I went to McDonalds and they had this really great gourmet meal...'

The web is littered with tutorials about web development. Some free, some paid, some old, some new. Pick your poison, see which one works for you. If you need some guidance and extra motivation to push through (because you're paying for it!) I can recommend Treehouse (www.teamtreehouse.com). Well worth the $25 a month.
Good luck!
So? Using a calculator probably degrades your ability to do sums in your head, yet a calculator allows many people to do sums they wouldn't be able to do just in their heads.
'Opportunistic technology' has applications in the classroom.

I have an old OS Blackberry Bold and I use the camera in class to photo student work and email it to a webmail account in-lesson then pop it on projector. I also use music player with 3.5mm lead to play podcasts &c. Fairly quick to use. Students encouraged to photo screens/whiteboards and email them in &c.

As a more mature (cough) person, I make limited personal use of social media and tend not to have very high traffic. The 'smartish' aspect is all data collection.
Retro Fun at Akihabara, Tokyo
Any data format that is read by an unsafe language (i.e. C/C++ here most likely) is prone to remote execution. They are pretty much like wandering around with a machine gun with the safety off. This is perfectly fine if you're trained for years to do this (Queens guard for example) but some drunk redneck (which is most of us, me included) will inevitably kill people.

Typical example of a buffer overflow that leads to execution specific to this case, although I'm sure this has been posted a million times here:

1. RTF parser allocates char[15] on the stack for storing the font family from {\fonttbl\...

2. Joe hacker shifts out a font definition of 15 chars plus a return address to some arbitrary code and the code itself.

3. The parser reads until the end of the fonttbl definition ;} which is longer than the buffer specified.

4. This blindly overwrites the return address by writing beyond the end of the buffer and pokes some arbitrary code on the end. If you're lucky this won't cause a bus error / MMU trap

5. The function returns and the malicious return address is jumped to executing Joe Hackers code.

Ultimately anyone can make this mistake when programming in C/C++ and they frequently do. It takes considerable skill to not blow your toes off like this.

There are certain mitigation method which prevent this but they aren't universally enabled or available or 100% effective.

I've pretty much given up on C these days but I spent a lot of time making sure stuff like this was impossible and most importantly avoided parsing anything myself when nice tools like lex/yaxx are around that have all this stuff safely wrapped up. I didn't win every time.
> Note for OS X users: The version of sed installed has different options than the Linux one. Notably, it does not have the extended-regex option -r. I recommend building the latest version from here: http://sed.sourceforge.net/

The option is there, just different: -E (the same as grep)
Mainly I use spotify. Music I have bought are sorted by genre/year/[month/]album. This works for electronic music singles/EPs well. E.g.

music/drumandbass/2014/03/missing_persons_ep
If NCAA Basketball Players What They're Really Worth, This Is What They'd Earn
> Many newer or more fashionable languages enable some very elegant programming styles, but this comes with a concern about the elegance of one's code, which can easily result in the programmer spending more time thinking about elegance than about functionality.

That's a common anti-intellectual fallacy about why people code in higher level languages. High level languages are attractive because they let you write code faster and make your code easier to maintain, and not because they're "fashionable".

>There's actually something quite liberating about languages that deny you any clever solutions

To me, "deny[ing] clever solutions" translates to "this code is going to be a pain in the ass to write because I'm going to waste time fighting the language to get what I want." Programmers learn to avoid unnecessarily complicated code as they gain more experience. Mature programmers should have the freedom to exercise their judgement about what kind of code is appropriate.
Coach Outlet,Coach Outlet Store
Why SSD Drives Destroy Court Evidence, The State of the art in SSD forensics
Having to sign in to view a single product flies in the face of everything Ive read about successful ecom sites.
the second biggest issue with the data is that it will have written over some of the information that would have occurred at the time the flight deviated from the assigned course.

It used to be that voice recorders with 30 minute loops, I am not sure if that is still the case.
MacX Video Converter Pro v5.0.3 MacOS X
PostgreSQL: CLUSTER table USING index;
"I am reminded of Dijkstra's remark that the teaching of BASIC should be rated as a criminal offense. Seeing the hapless candidate get bowled over by a question that should be a mere formality makes me wonder if the same might be said of Java."

Well, actually it has been said by Dijkstra again.
www.cs.utexas.edu/users/EWD/OtherDocs/To%20the%20Budget%20Council%20concerning%20Haskell.pdf
This breaks down when your lie goes a full circle around the feedback loop and now someone above you is making the decision to pursue further a solution that was based on a lie.
Should I read a new book, or go on the computer?

I use my smartphone to read books. I use it to listen to audiobooks. I download educational videos (coursera courses and the like) and watch them on my smartphone during my bus commute. There are many other ways I could use it other than mindlessly browsing the web.

I believe it's not the device to blame, but the person making use (or misuse) of it.

To avoid distractions, I find it useful to place it into "flight mode".
Why not? Best IDE and best core => win.
Either that's some damn good food and shelter, or there's a heck of a lot of "etc.".
I think this a bad advice. Trying to ignore Soros is a bit like trying to ignore an earthquake.
This post is nerdbait. Not hn material.
Ultrabay as secondary battery. I had two batteries in the machine always. One 9-cell in the machine, one 9-cell in my bag and a 3-cell in the ultra bay. I could get 9 hours out of that without too much trouble and both the 9-cell packs were knackered.

Now you can get 22 hours apparently on a X220 with battery base and a 9 cell!

I use my ThinkPad as a charger too. You have to turn it on in the BIOS but it charges literally anything.
No - my statement is pretty clear. Someone who likes Perl is not going to be appreciative of 'one way to do something' and 'readable code'. Those properties are the basis for modern language design and they are properties that most people want in a language. Taking his opinion means also taking his assumption that the properties of Perl ('interesting code') is a good property for a language to have. Hence my advice to take any opinion from a Perl guy as coming from a Perl guy - don't disregard it, but make sure you don't inadvertently put Perl in your language design. Because Perl in your language design is going to give you unreadable code.

If you're going to argue that Perl is readable code then I'm going to have to disagree with you extremely after having been in a position to maintain some Perl code before.
Too bad I'm the only person who upvoted this. Looks like a great project!
Giveaway: Win a copy of MacX Video Converter Pro | MacNN
MacNN has teamed up with Digiarty to give away ten copies of MacX Video Converter Pro, which carries a retail value of $60. Read on to learn more about this software and how to enter.
Squirrel-foundation provides a lightweight and easy use state machine
Japan’s Artistic Manhole Covers
In order to be hired (by a top-tier firm) you'll likely need that top-tier law degree.

Though there are successful independent lawyers. And an awful lot of unsuccessful ones.
Pluggable data administration UI library for Java web applications
If what you want is an A/B test based on rendering different views, it's quite simple to do with the gem Split [1]:

render ab_test("my_experiment", 'view_a', 'view_b')

[1] https://github.com/andrew/split
Visualising Thoughtworks Go pipline with Cradiator, a build monitor