skysight-inc/HackerNews huggingface dataset:
Maybe you could get involved with an open source project? PeerLibrary [1] is full-stack JavaScript/CoffeeScript and is really well put together. If you email Mitar [2] he can help you get set up, he's a super nice guy.

Or, maybe you don't need guidance, you just need to dive in.

[1]: https://github.com/peerlibrary/peerlibrary

[2]: https://github.com/mitar
For your example, sure.

But it's not uncommon (in my opinion) to write stuff like

EnumMap<FooEnum, BarClass> map = new EnumMap<FooEnum, BarClass>(FooEnum.class);

which to me ought to read something like

var map = new EnumMap<FooEnum, BarClass>();

Of course, I don't do a lot of Java programming these days and perhaps my first example is simply broken due to ignorance.

When I wrote something very similiar to that last week, I failed to figure out how to avoid repeating the type signature, and was annoyed.
>average 15 points of IQ lower than the general population?

Growing up in poverty, which many minorities do in this country, has been linked with lower IQ. Criminal populations are 8 IQ points below the mean. Whether there's a connection here is beyond me, but I really hate how people play up the hysterical political correctness card to censor these types of discussions. In many countries, raising people out of poverty lowers crime. There's definitely a connection here and in the US we're so PC, that we can't discuss these things, thus our continued high crime rates in many urban areas.

Calling everyone who disagrees with you a "racist" doesn't add to the conversation and only helps to make sure that we cannot discuss race issues without unneeded emotional drama.

cites:

http://www.nature.com/neuro/journal/v18/n5/full/nn.3983.html

http://www.sciencedirect.com/science/article/pii/S1359178903...

Please read my primary sources before handing me more drive-by downvotes.
Are you willing to move?
Does your college have any classes on Node.js?
Georgia is not quite Europe though ;-)
Tell me everything about your video game idea
This makes me so mad and sad at the same time. For years, it would bring me immense pleasure to just browse projects on sourceforge to see what the world was up to. Now this is just another case of corporations ruining a good thing. I'm glad there are links to Filezilla and Gimp - two products I use frequently.
TaskUs Blog – We Raised $15M from Navegar
EYE FOR AN EYE Lenskart Gave the 3rd Gender a Platform to Celebrate SC's Verdict
When one has functions named "someFunc()", there are bigger problems than being afraid of type inference.

I know this is just an example, but if you actually came up with something more realistic, you would have seen that your issue is actually a non-issue.
Did you miss where the article says "In this way, unless exacerbated by physical causes — like sleep apnea or restless leg syndrome — insomnia is a condition of the mind that then infects the body. "
Poor Eevee. :(

I hope he finds happiness from his new path in life. Goodness knows he wasn't finding it in his previous one.
I've built a large list of artists that I follow in Spotify (so that I get notifications when they release new music), and an even larger list of albums saved to my library so that I can easily browse through music that I like. It seems like it would be a bit of a pain to switch to another provider, but I imagine it would still only take me an hour or two to setup all my follows and saves in another app.

I'm eager to try out Apple Music once it comes to Android.
10 things you should have in your car when driving with kids
Does it have to be an open system?

Can't the already-contaminated water be used for cooling in a mostly-closed system?

And if the expansion due to rainwater is significant, perhaps some kind of large tent arrangement?
New CoinDesk Report Reveals Who Really Uses Bitcoin
It's become so ridiculous that I'm really, seriously considering wether having a mobile phone on me for my convenience is worth the constant surveillance.
I'm not sure how discussing statistics is racist, particularly when later in the article he says:

"And that is actually a valuable hint about how to get beyond
racism. A black man with an IQ of 85 and a white man with an IQ of 85
are about equally likely to have the character traits of poor impulse
control and violent behavior associated with criminality — and
both are far more likely to have them than a white or black man with
an IQ of 110. If we could stop being afraid of IQ and face up to it,
that would give us an objective standard that would banish racism per
se. IQ matters so much more than skin color that if we started paying
serious attention to the former, we might be able to stop paying
attention to the latter."

Making discussing statistics "racist" is a disservice to disadvantaged communities.
Maybe a heretical opinion here, but I like writing loops much more than using higher order functions like map/fold/filter, even though I have quite a bit of experience with ML family languages by now. These are my reasons:

1) The automatic parallelization opportunities of HOFs don't happen in practice nearly as often as you'd expect. Sorry, but it's true. Haskell's "map" doesn't parallelize automatically.

2) Loops are a single construct you learn once and apply everywhere, while HOFs are a huge and bewildering zoo.

3) Loops can do many things that HOFs cannot. You can do break/continue/return in the loop body. You can iterate over two collections at once, skipping elements of one collection depending on what you see in the other. And so on.

4) Loops scale to from simple use cases to complicated ones gradually and continuously. With HOFs, when your use case changes slightly (e.g. you add a counter), you often need to go all the way up and use a different HOF.

5) Loops make the time and space complexity much more obvious. With HOFs, you often get nasty surprises. For example, see the tail-recursive vs non-tail-recursive implementations of "map" in OCaml, or the foldr vs foldl vs foldl' situation in Haskell.

6) Loops are much easier to understand from a machine point of view. For HOFs, you need a language with closures, and in some cases GC as well. Loops, on the other hand, can be done in C.

In a nutshell, loops are easier to learn, easier to read, easier to write, and easier to execute.
It's a bike, and a desk
Apple's Phil Schiller explains why it still makes 16G iPhones
I've been in it 43 years! Still as fun as when I started.
That was my first thought aswell. One of the main takeaways from this is that Kaspersky Labs was probably compromised. Or at least there was an attempt. And the attacker is related to Stuxnet in some way. At least according to Kaspersky Lab.
I wouldn't be surprised if many of them threw IDs away, so they can claim they are coming from war regions and seek asylum, instead of being just another part of economic migration (like many people from north Africa/middle east actively try).

I don't blame them, if I would be so desperate, this would be a logical step. The big moral question that opinions differ so much on is: should we in Europe try to help all of them at all costs, even if millions will come?

Personally, I wouldn't mind sharing my resources, if the person I share it with will respect rules I set and learn to speak the language I speak. If not, goodbye.
Congrats! How do you do the data entry? How do you plan on scaling the data entry? Do you have real estate experience?
If that's the sacrifice for a successful marriage I'm not sure it could be worth it...
Would be more like

BlockingQueue<Work> q = new ArrayBlockingQueue<>(10)

right? You'd use the interface type that you'd want to be working on, so you could replace the ArrayBlockingQueue if needed and be sure you're not using any specific functions.

Still seems better than having a 'val' in there, since it signals exactly what aspect of the object you're using. Plus now the compiler will complain if you change ArrayBlockingQueue to something that isn't a queue.

I just don't really see the benefit - so what if it saves a couple keystrokes? I don't think I've ever run out of keystrokes before... Meanwhile if it saves a single logic error or helps the compiler detect a mistake, then it's saved a lot of real effort.
I agree with you but on the existential side of things not having that mortgage payment hanging over you every month is quite liberating.
Experience Virtual Reality in a Simple,Fun, and Affordable Way W/Google Cardboard
Will it rain next weekend?
Some days I dream about this and going out on my own, or pursuing that startup idea that's been itching the back of my head for so long. I couldn't leave the tech industry per se, but at least changing what I'm doing in it.

But then I realize I've been doing the day-to-day for so long that I have accumulated the trappings thereof: mortgage on a house, two cars, a "comfortable" lifestyle.

To leave puts it at risk. I fear not being able to make it solo. The startup idea will take too long or fail if I bootstrap it. We'll have to move. Downsize. Change our lifestyle. Affect the kids. And a downward spiral of thoughts like that.

So I'm back at my cubicle today. Wishing I was working from home to watch the new baby grow while I code.
With Sydney's cup of coffee price of 4 dollars your pricing IS a bit low :)
Completely agree on maps, current version can cause a lot of frustration with options appearing and disappearing depending on if I've done a search. Who would possibly want to turn on traffic after searching for something? Nobody at google maps apparently as that is one of the options that disappears in search mode. Certainly maps is a special case and maybe you could make a case for having all the UI controls the maximum possible distance from each other, but it causes me frustration visually to do a "where's waldo" search every time I want to change something.

I've seen a number of philosophy of design videos about material, is there such a thing explaining the design choices of maps? Some icons have background, some don't. Different options available depending on the mode. Novel, but frustrating for me, shadow menu under the search box. Is there some vision that I'm just not getting or I would understand better if I just looked at it right? I remember being really frustrated with unix command line interface until I understood the philosophy and then I loved it, would be great to have the same moment of clarity for maps.
Could be. The Google Cloud admin page is way nicer than Rackspace's or both of the Microsoft Azure pages. Maybe Material is just going through their internal hype cycle until it matures.
Oops, cut off my last sentence there and didn't spot it in time to edit.

I meant to say, mocks (+ dependency injection) don't require more or less work than using "effect values"; certainly for applications written with that approach in mind.

Yes, mocks use reflection to do meta-programming. "Effect values" also allow meta-programming; but we don't need reflection since our "programs" (eg. lists of side-effecting actions) are already first-class citizens. We can use any built-in or off-the-shelf list library to manipulate such "effect values"; which I would consider just as "automatic" as using a built-in or off-the-shelf reflection library.

Taking an existing application and refactoring it to use one of these approaches would vary from project to project regarding which would take more effort.

I think many people dismiss functional approaches like these "effect values" by thinking of them at too low a level, and imagining that they must involve an awful lot of work to use. That would be like dismissing linked lists as involving too much work, since we have to keep pushing and popping values in and out of the lists; so why not just use individual variables?

Of course, in reality the whole point of lists is that we can ignore their contents and manipulate them as whole entities; mapping, slicing, merging, sorting, etc. The same applies to "effect values"; we don't just declare an enum and throw a load of switch statements everywhere. We can ignore the particular effects in a value and instead manipulate them as whole entities; mapping, slicing, merging, sorting, etc.
Related report from Symantec:

http://www.symantec.com/connect/blogs/duqu-20-reemergence-ag...

Eugene Kaspersky: "Why Hacking Us Was A Silly Thing To Do"

http://www.forbes.com/sites/eugenekaspersky/2015/06/10/why-h...
Then you go home, open you laptop and communicate with people over the internet. What's the difference.
For my own projects, I prefer to use a "money back guarantee" rather than a trial period.
I have to agree. I am very concerned by both what's happening in Europe and by concerns being dismissed as racism or xenophobia. I am glad there are others who have a level headed view of this. It's really hard to talk about this topic, because so much of the associated vocabulary has been taken over by actual racists in the past and sets off all kinds of alarm bells.
Yes the work can be rewarding but I'm really addressing the author's misguided point that all our modern work is to solve non-existent problems. In reality, it's to make our lives easier and more comfortable.

The flipside of a completely agrarian society is very little safety net. Crop disease? Drought? Animal sickness? Broke your leg? Life just got a lot tougher. Like, life or death tougher.
Added a note... thanks!
He has actually done one of the best things that he can do in that situation: eliminate expenses.

When I tried bootstrapping my startup years ago with periodic contract work the albatross around my neck wasn't anything to do with the company, it was the mortgage and other home expenses that continually made it harder and harder to go without a steady income.

People always focus on income without looking at expenses as much, but the closer you can get those expenses to zero the wealthier you really are since you NEED so much less cash flow. It's a huge multiplier.

If I had the ability to pay off all my debt overnight, using my time the way I want to would be a whole lot easier. I absolutely sympathize with the author here. There are several things that I want to build but I have a full time job, a wife and 2 kids. At some point I had to decide that being a good father and husband is more important than pursuing those entrepreneurial dreams. There's only so much time in a day.

I'm lucky in that I have a great job with a company who's mission I fully support and ownership that treats their employees better than any company I've ever seen. It makes it significantly easier to put the company over personal ambitions.

Time and a place for everything.
Advice on starting a business in college
I think he means that the name dropping is used by someone (e.g. Glenn Beck) who wants to bypass your bullshit detector by attaching an authority figure to the bullshit they're trying to pass off as important, relevant, or supportive of their view. Whether or not the authority figure attributed is the actual author is irrelevant, it's the intention behind the use of this appeal to authority.

To grossly paraphrase George Carlin (who was referring to racial epithets[0]): There's nothing wrong with the mis-attribution of a quote, it's the fraudulent use of a famous authority figure by a trickster you ought to be concerned about.

[0] from Parental Advisory: Explicit Lyrics, "They're Only Words" (track 14)
I'm doing the opposite of censoring them: I'm bringing them up for discussion, and making sure we DO discuss race issues.

Eric Raymond is on the record as having said a hell of a lot of other racist stuff. Remember his full throated defense (employing the dog-whistle term "thug") of Russ Nelson's infamous "Blacks are Lazy" essay that was such an embarrassment to the open source software community? https://en.wikipedia.org/wiki/Talk:Russ_Nelson#Blacks_are_la...

Eric S. Raymond wrote: “The people who knew Russ as a Quaker, a pacifist and a gentleman, and no racist, but nevertheless pressured OSI to do the responsible thing and fire him in order to avoid political damage should be equally ashamed,” Raymond said. “Abetting somebody elses witch hunt is no less disgusting than starting your own.”

“Personally, I wanted to fight this on principle,” Raymond said. “Russ resigned the presidency rather than get OSI into that fight, and the board quite properly respected his wishes in the matter. That sacrifice makes me angrier at the fools and thugs who pulled him down.”
CBT isn't "positive thinking" or "relaxing".

What was the cause of your insomnia?
If you want new language constructs, why bother writing 90% of your Java code in pure Java to begin with anyway? Use something that compiles to bytecode like Groovy. Profile your app, and write whatever is performance critical in pure Java.
No offense, but I always thought the UK is surveillance state #1 in the world and the US follows a close second. Why? There is no country in the world with more public surveillance cameras, and they were always playing ball with the US when it came to mass collection of citizens data.
Our poor sleeping habits could be filling our brains with neurotoxins
You do realize that everything in these pictures is thoroughly and carefully pre-selected and even engineered for display purposes, right?

(I was born in the Soviet Union. It is mostly unknown for Western people how much propaganda matters in totalitarian countries, and how little it has to do with reality).
10 Java Interview Sample Coding Questions on Arrays
Ask HN: How would you change our landing page?
We create personalised meal plans in a fashion similar to how Spotify creates personalised playlists.

We have tried many different landing pages including infomercial style pages with explanations, testimonials etc. and a few variations of FB/Linkedin/Pinterest style very terse pages simply asking people to sign up.

The variant that performs best for us is a preview of the actual application where prospective users can provide some information and see how that affects their meal plan in real time. When they want to open a recipe we ask them to sign up. This converts ~10% of our visitors.

I have never seen a landing page like this before so would love your thoughts on it or references that discuss this.

Landing page: https://eatbetter.io
It certainly has no bubbles in it!
"Do you have any internal libraries or systems or platforms at your company? Do you think no one else has ever had the same idea and built the same thing?"

Isn't this one of the reasons behind the FOSS movement? That we as programmers are often repeating the same uninteresting tasks, so perhaps we should just freely share what we've done so that we can all work on something more interesting.

And in the Libre sense of Free -- in the GNU sense (and perhaps I've interpreted it wrongly here) -- this is why GNU is not just "something to make our lives better". It is rather a moral responsibility towards your fellow users, which includes programmers who use your code, not just end users. Because if people don't share, you end up with people like the author of this article: burnt out on writing something that's been written before.

Of course how this meshes with the real world of capitalism is a whole other story. I'm not saying it's not viable: Stallman of course mentions selling support in the GNU Manifesto, and the article also mentions Patreon.

Note that I'm not saying GNU is the One True Way, but rather trying to stimulate a discussion about something I don't fully understand but have been thinking about lately and which I believe touches upon one of the core issues that prompted the author's action.
> This has only been tested in New York

That's a very important point. The effect (if it were to be proved) could be reversed in the southern hemisphere, and completely absent in non-city environments. I'm plucking those hypotheses out of thin air, but it seems obvious that the risk goes up because of some underlying reason.

Perhaps being born in New York in October increases the chance that you'll spend most of your first few months of life in a damp-infested flat without much natural light. Perhaps it's because of increased stressed levels at school associated with being one of the oldest in your peer group.

Without knowing the underlying causes, this is just an interesting tidbit.
Fair warning, this may cause a Kernel panic. I've contributed to the bug with my trace, but it's definitely something to keep in mind when checking it out.

I really want this to work, though. It would be a great replacement for VirtualBox.
You'll never see Google Play Music or Apple Music trying to raise money like this.
Ha!

The name TestLess was chosen to imply that without redundant tests, you will be testing less.

Unfortunately I did not become aware of the colloquial meaning until after naming the product.
Just to get a little more specific with this: the shift is in the accepted "main engine of computation" (to make up a mediocre term). We used to have something of an engineer's viewpoint, that the physical location of the electrical operation of the mathematics (i.e., the CPU) was this main engine. It's been a long road, but the new viewpoint is a bit more philosophical: the main engine is the human-computer nexus.

Of course, "human" in the above isn't strictly correct, since we know that computers talk to each other all the time, too. Indeed, when that happens the main engine of computation isn't really one or the other of the computers, but the link between them (i.e., the protocol).

So now "blocking" means requiring the main engine of computation to "sleep" and wait for "external input". For a human UI this means the classic sense of waiting on the wetware end, but it can just as easily mean waiting on the hardware end.

We strive to build responsive systems, so we wish for them to be "non-blocking" in every case. This means, if the human wants to communicate to the computer, it shouldn't be prevented to because the computer is currently working on a solitary operation. Ultimately it's the same principle we've already accepted from the reverse direction.
I cannot but wonder what would have been the response here if similar attack had occurred inside Google or Facebook.
Please make more meaningful contributions rather than simply feeling similarities with other users. That is what the upvoting feature is for.
All the founders have significant property investment experience. This was actually a "pain point" that we had ourselves. Despite looking for solutions - there were none that did what we needed, to the level of quality we wanted. So that is what lead to the idea.

We currently do the data entry with generally manual processes. However we are already adding steps that greatly reduce the time required.

As the business grows we have options on how to automate more and more of the data entry - but we need to validate the idea first and confirm we have product/market fit prior to investing in further technology.

Plus - as pg says - doing things that dont scale is a great place to start.

By doing it manually we've already uncovered interesting data trends, and processes that we never expected. So we plan on doing it manually for a bit longer to ensure we learn as much as possible before we continue to build our automation tools.
Java Micro Frameworks
I'd expect that this will happen for Metro apps first – those are all modern and since most of them are supposed to run on e.g. ARM anyway legacy code compatibility matters considerably less.

I'd be surprised if they changed the path separator but the device filenames and FAT-compatible short names seem worth doing for security alone.
Yes, assuming you also have a job. Having no job (and no desire to get a job) and little savings (the author says it almost all went to paying off the mortgage) is a little stressful, to say the least. In this situation having a big pile of cash and a mortgage would be preferable.