skysight-inc/HackerNews huggingface dataset:
Well, it can be done simpler. The D compiler can infer those annotations for template functions such as this. So with an implementation you can write:

T identity(T)(T me) { return me; }
Emily Short (of interactive fiction fame) did a really good review of it a few days ago:

https://emshort.wordpress.com/2015/06/18/sunset-tale-of-tale...
I really enjoyed Land of Lisp
http://landoflisp.com
Type checkers are an automated solution for having a human brain.
this was a BRILLIANT pr orchestration.

blogs, articles, etc all over the globe were written about apple music, for free. would have been far more expensive to buy all that airtime than this little scandal.

so taylor swift gets more publicity, apple music is now an established brand name, everyone and their dog knows about their pricing model - holy shit. hats off to the apple team, playing the outrage-piano like no other.
Just like hand-washing is for doctors who aren't cleanly people.
What are the top universities in the world? That's the pros.
I find diplomacy a highly important skill as a developer as well. Strangely I feel I've become worse at it as the years go on.
> Human trafficking is, essentially, modern slavery.

Almost all "human trafficking" is willing migrants paying someone to help them cross a border (into US, EU, etc).
He's still soul searching.
In the uk there are reports of kids from public schools going to a good state 6th form for the last two years of school to help game the admissions process.
> use of monadic IO in a purely functional language will force you to

have `unsafePerformIO` in the language.
How about no.... Driving a tractor through a predetermined path in a predictable pattern is no where near the same as driving on our roads with human error and the like. Also I'm not about to get behind a company that won't let you service your own machinery.
I've been very excited by many approaches before, then Haskell, and now I'm past it. While pure functional language will force you to cleanly separate computation and IO, with an app big enough you'll find yourself one day in a situation where independent data from 3 different places comes together in a way that the only reasonable way to proceed is to log a warning, tweak the value, and continue the computation. And that's what you'll do in any unpure language. In a pure one, you'll start to think how to redesign the computation to allow this... It's not wrong, but in many cases it's pointless.
I totally agree "Whatsapp for X" implies that Whatsapp proper created an application for X while "X for Whatsapp" doesn't have the same implication.
The rise of creativity propels open data forward
She posed as a prostitute sometimes, not only risky, but also subjected her to sexual harassment by the very male colleagues whose help she sought when going undercover. Check out this 10min video if you want to know how she did it http://www.vice.com/video/i-posed-as-a-prostitute-in-a-turki...
App developers who are as big in application consumption as Taylor Swift is in music would get the same treatment.
Or they could just promote the up-and-comers more aggressively. Instead of a redistribution of wealth (which would be talent agnostic) go for a redistribution of coverage.

Also, if revenue was diverted completely from top artists to everyone else, what reason would there be for any of those top artists to be there? (Other than as a loss-leader for live shows and a "giving back to the community" sort of charitable thing)

Either way I doubt Apple Music would take off if they told the top artists that they were going to full Robin Hood on them.
I've found Music for Programming's mixes to be pretty good.

http://musicforprogramming.net/

Dream Chimney's mixes on soundcloud also.

https://soundcloud.com/the-dream-chimney

In general, something classical, ambient, or minimal techno fits the bill.
Apple Gets:

Credit for throwing artists a bone. / Extended publicity for their new music service. / Credit for pleasing TS who has a lot of fans who would also be good customers for Apple

TS Gets:

Publicity / Sales for her new album / Credit for sticking up for artists

Seems like a win-win for both parties. I doubt the revenue lost would have been significant. Anyone have numbers?
Kanji facts
Design Patterns: Elements of Reusable Object-Oriented Software http://www.amazon.com/Design-Patterns-Elements-Reusable-Obje...

Practical Object-Oriented Design in Ruby by Sandi Metz. http://www.poodr.com/
The problem is the overhead in adding typing. The time taken to learn the type system is a one-off but static typing has running costs in slowing down development, discouraging exploratory programming, extra cognitive load in reasoning about the type system, and "false positives" in disallowing otherwise correct programs. It does nearly eliminate a class of bugs - this is wonderful, but the bugs it does eliminate tend to be ones that are fairly obvious to find.
Windows+10:+Here’s+what+Microsoft+should+have+done+instead+|+ExtremeTech
Create a REST API in Minutes with Pyramid and Ramses
A friend of mine who just left amazon said that the average tenure was only 18 months. He had been there 2.5 years at the time which is way longer than the rest of the folks he worked with.

Which sounds insane to me.
A lot of people say that gaming is really the only thing keeping them from making a permanent jump over to their favorite distro. Were slowly moving in the direction of not only multi-platform gaming, but a lot of regular desktop apps too as development becomes easier and easier to deploy out to multiple OSes.
I'm betting on the "we told all are IT workers to solve it" explanation, but their phrasing could still be true literally.

Imagine that software depends on complex hardware, but it's not manufactured anymore, or the gov can not legally buy it anymore (contract expired). If it fails, it must be ported ASAP, what can take that kind of work.

I've never seen something like this happen, but I've seen enough instances of it being possible to imagine it would happen once in a while.
Just because that worked out for one pair of kids does not make it a good idea.
I agree that it is an important skill in engineering to recognize when the complexity got too high - At that point you need to take a step back (or several steps back) and find a different path to the solution - Sometimes that means throwing away large amounts of code. It's about acknowledging (and correcting) small mistakes to make sure that they don't pile up into a giant, disastrous one.

Another thing I learned is that dumb, explicit code is highly desirable - It's better to have 10 dumb components to handle 10 different use cases than 1 clever component that can handle all 10 cases.

I think the most important skill is being able to break down problems into their essential parts and then addressing each part individually but without losing track of the big picture.
One of the hosts of .NetRocks does a lot of "Geek Outs" where he researches a topic then presents his research on the episode. He's done two or more on this topic. He did one specifically on this release (and other information)
http://www.dotnetrocks.com/default.aspx?showNum=1145
But I'd suggest you watch the first one he did on this topic.

http://www.dotnetrocks.com/default.aspx?showNum=1013

http://www.dotnetrocks.com/default.aspx?showNum=1022

http://www.dotnetrocks.com/default.aspx?showNum=1037

Also if you are a C# developer you should probably be listening to this show on a regular basis anyway. Because it rocks. And they do cover a pretty wide range outside the .Net stack.

Note: I have no affiliation with the show, I just really like it.

Edit: I think it's a great idea to create a site to centralize all this information. If you do, you might find contacting Richard to be helpful to aggregate data. Sorry that was the point of me posting, but I got rushed and forgot.
No part of a system is the most important part, from a car to a huge organization, all parts are equally required to interact and hence make such system 'work'.

Having a clear functional organization at the start (and respect it throughout development) is very important, but after that is equally important to code clean and efficient code, to test, to debug, etc. Then, going up and dow on the solution stack is important to make the right decision on hardware, OS, server, services, etc.
This. Organization is in the eye of the beholder. I've seen my code bases taken over and completely reversed, and frankly I have done the same. If only there was a better way to communicate exactly what you were trying to do.
Its how they market them selves to parents
So what? It's Turing-complete so it can simulate any non-Von Neumann machine that can compute. And in fact it does so very well, see Forth, Lisp, and other languages from different paradigms for which there are dedicated processors.

If you use an abstraction (your job as a programmer) the innards of the processor should approach inconsequential.
You're thinking from the perspective of a government operative (or another human) snooping through your data, in which case messages are more important. But most of our privacy is destroyed by computers sifting through the mountain of data that companies collect on us.

Your cellphone constantly broadcasts your location to your carrier and to Facebook and other apps, if you have them installed. If you analyse this data, it is possible to make out where you work, where your home is, where you like to hang out (and with who), and where you take vacations. Further, it is possible to identify a person uniquely from just 4 points of location data if you have a database of everyone's location data. As former NSA general counsel Stewart Baker said, “Metadata absolutely tells you everything about somebody’s life. If you have enough meta data you don’t really need content.”

For more uncomfortable and scary revelations like this, I recommend checking out Data and Goliath by Bruce Schneier.
Why is that obvious? It seems quite insulting to presume that people don't speak for themselves.
I wrote a small article on how I made it possible using Sketch and marvel: https://medium.com/@Bissenmann/how-my-portfolio-came-to-life...
> and I really really don't need or want an IO monad to be returned from f2 if it happens to need to log some warnings. It would be completely counterproductive.

Are you sure you don't? This means that anything calling your function now produces log entries, but it's not obvious without reading its code.

Allowing side-effects saves you time now, but you might hate yourself later when trying to figure out why code in one part of your codebase is magically affecting code in another part.
Oh I agree with you there, if Taylor herself is solely responsible for this note. The weird thing is, although we use "she" to describe Taylor Swift, Taylor Swift is a coordinated business. This memo is really just a correspondence between two large businesses.

Could be a bit of a stretch, and this note wouldn't be made public if she didn't sign off on it, but I think this is more measured than an artist just pushing for revenue.
I live in the UK, so I have some experience of rain and using umbrellas. I like the idea of arriving home and not getting the floor soaking wet. However, most of the problems it describes are not problems I experience. My umbrella problems:

* Walking in the wind - when it's blustery, I get blown all over the place. Even if the umbrella is strong enough to withstand the wind, it's difficult to walk with one.

* I frequently lose my umbrella, which is why I wouldn't pay more than £5 for one. I often leave it on public transport or at someone's house. At work, people also have a tendency to 'borrow' my umbrella permanently.

* If I'm walking anything more than a mile, holding an umbrella the whole way can be annoying, but I don't want to be an uber-nerd with an umbrella attached to my head. I want something that does the job of an umbrella for the price of an umbrella but looks like a hat or coat.

Failing that, I'll stick with a £5 umbrella from the supermarket.
Somehow doubt this is the case, Crytek said they are following CDPR's footsteps and they are reforging their core business strategy to become an online publisher.

GOG at this point seems to be an actual threat to Valve's Steam, they got the right business model at this point to pull it off. If they'll still would've been as Good if they were in Valve's shoes i don't know.

But no DRM on any game, and an offset for regional pricing which means It's finally makes sense to me to buy games in GBP with a very good customer support policy makes me wish i could transfer my giant Steam library to GOG.
This gem is too often left out:

How to Design Programs - An Introduction to Programming and Computing

http://www.htdp.org/
I know in our Computer Architecture class we designed a MIPS-like processor. I don't remember what software we used, but we ran it in simulation and imaged it on to an FPGA board at the end of class. We learned how to build all the components from smaller (maybe slightly higher than transistor level logic) parts. It was a great learning experience.
The big difference is that Apple has a monopoly on distributing iOS apps. In music, Apple has to complete with other music streaming services and other channels, so they have to be competitive to get artists to sign up for Apple Music.
Nothing new here : http://mining.sandvik.com/en/products/equipment/mine-automat...
Interesting question: How many companies who use open offices style floorplans have executives who still have their own offices?

Maybe this is just another permutation of the out of touch boss problem. Nothing makes it harder to understand the downfalls of an open office than not working in one yourself.
This smacks of "Apple didn't invent tablets, Microsoft did!!" kind of thinking.

Who cares who invented it, especially if they were incapable of bringing the technology to the mass market themselves? The real heroes are those who make it useful for the mass market, not those who keep it on the 8th shelf in their "R&D Lab" or even those who manage to sell 10,000 units a year globally.

Also, as you say, there's a big difference between "self-driving farm vehicles" and self-driving road cars, just like there' a big difference between an unusable 2h battery life and $2000 XP "tablet" from the 2000 compared to the 2010 iPad. In other words, there was been a lot more "invention" added to the iPad since the Microsoft tablets appeared as well.
Yesterday, I made the comment that there has to be a negative value of this PR and the infrastructure to combat it. IF the value to just capitulating and paying these artists earns them more goodwill, more artists, and in turn more subscribers/profit it is an easy trade. I am sure some actuary /ies must have run the numbers and figured this out.
I wish here was a good way to include context with a bare link. In this case, I just learned the rat in The Abyss was actually submerged in breathing fluid, a substance I thought was fictitious. This blew my mind, so I shared.
Its not just information age companies, it seems to me that many people in general are ignorant of the concept that a distraction-free work environment is important. I'm at a company that has been around for 50 years, and they still stuff their engineers two at a time into small "offices" (without doors, with concrete floors). I can hear everything.
Ask HN: Why am I unable to delete my submissions after a period of time?
Does anyone know the reasoning behind this?
Guidelines for a Successful Test Strategy
My intention wasn't to make something Chrome specific but, I did mess up by not testing in other browsers. Sorry about that.

Turns out that you can't set circle radius in CSS in both Safari and Firefox. For some reason Chrome supports it. Not sure what the correct spec is. In any case it's fixed now.
That's kind of like saying that McDonalds provides a healthy meal because they have salads on the menu. The truth is that most people still eat the burgers and fries.

Although higher level languages provide some features for organization, you still must have the discipline and know what you're doing to use them properly.
One of the problems with proprietary databases is that licensing issues are another barrier to creating proper clusters (and to have equal environments on development, testing and production).
WFH + Open plans are great and should generally be encouraged. The open plan facilitates communications and general discussion. I encourage my team to spend at least 3 days a week at work during our 'core' time (12-5pm/MWF). It gets a bit noisy and productivity drops a bit, but team morale is good and there is a lot of cross pollination of ideas and knowledge. The only difficulty I've had is nearby teams haven't adopted this approach (they don't WFH) so we have to be careful about our volume level when we're in the office.
Ah I see ty
I wear earplugs on a regular basis and they are great for drowning out excessive noise. I do remove them off and on, especially if I'm in a meeting with someone or if I have to hop on a call.

If I don't wear them, I tend to get distracted and irritated by various sounds. Now, you can still hear things, but they are dampened which is soothing for me at least.
Oh, absolutely. This is freebie PR for everyone involved.

What I meant to imply is that the PR is only valuable because it is a musician with the brand value (and public presence) of Taylor Swift.

And, what I mean by that is that if smaller brand musicians complained (as I think would have been inevitable) nothing would change until a larger brand also complained (which would also have been inevitable).
Fortran/ClearWin+ simple and to the point

http://www.silverfrost.com/manuals/clearwin.pdf
GHC has `unsafePerformIO` in order to implement pure abstractions. It's an implementation detail, Haskell proper does not support it, and you wouldn't use it in your code.
Isn't that apples to oranges? I would think it goes like this:

I want to have pictures taken of me during a performance. But I cannot take pictures of myself while performing. So I pay a photographer to take those pictures for me. They are my pictures. I don't care that you took them, I don't care WHO took them. They are mine because I paid you to take them for me.

Just like when an app developer makes an app on their own, they get to reap the rewards. If someone pays you to create an app for them, don't complain when it takes off and you don't get paid royalties on top of that. You also don't get to sell that app again on the side.
Sadly, I can't think of any developer that ubiquitous other than John Carmack...and he isn't even close to being active in this context.
That's an awesome explanation! I wasn't even aware of "simplex". Guess I'm going to have to add it to my list of things to obsess about.
The Netherlands have some of the biggest harbors in Europe. So all kinds of goods go through here, including drugs.
The part about increasing the revenue cut is unfounded, but I assume the seconds part of that line is in regard to Apple News[1].

[1] https://www.mikeash.com/pyblog/i-do-not-agree-to-your-terms....
Online Platform for Raising Early-Stage Investments Beta Testing
Hathrup.com is an International platform for raising early-stage investments. Hathrup, through its FundMeNowTM program enables entrepreneurs to raise capital to fund prototypes, concepts, and ideas that require a funding range of $500 to $25,000.
In order to make sure our platform is functioning at its best when we go live, we're reaching out to people to offer the opportunity to beta-test it and provide feedback. The site will launch publicly shortly thereafter. The benefits of joining Hathrup during our beta testing stage are:
• Connect entrepreneurs with investors, family, and friends.
• There is NO cost to be a part of this beta-test, nor when the site goes live it will always be FREE.
• Post and upload your business plan, concept, and vision for your company to share with potential investors.
• Share ideas, insights, and content in real-time with your network.
• Your business will receive additional exposure to many potential investors once the site goes live for free.
Registering to be a part of our pilot program means you will be instrumental to our growth as a company and difference maker in the lives of entrepreneurs around the world.
If you're interested, please visit the following site: http://hathrup.com/register/
Once there please sign up. Be sure to give us your feedback as it is highly valuable.
Network security monitoring in 5 minutes
Eloquent JavaScript by Written by Marijn Haverbeke
They're not formalizing the games, they're just making names for categories of games. And they're not assigning games to play with specific rules. I never played sock wrestling growing up, but it is pretty popular.
For some background here is the way DHS is organized:
http://www.dhs.gov/components-directorates-and-offices
Condidering that

1) mostly imperative programming has worked wonders for ages with a huge body of work to show for (almost every basic infrastrcuture, all major OSes, almost all popular programs etc are writen in one of C/C++/Pascal/Obj-C/Fortran/Ada/Java). Might have its security and stability warts, but it has shown pragmatic results.

2) "fully functional" might have its security and stability assurances, but it has little of importance historically to show for all its boasting (the AI winter is not something to be really proud of).

I'd call BS, and say that "mostly functional" works fine, thank you very much, in that it takes (1) that already works (with some issues) and makes it even better with a touch of (2).
I use these with low volume ear buds underneath. Nothing gets through the combination and the music volume can be very low and still easily heard, so hearing ins't affected.
Although I am wearing a scifi hat, not reality, assuming they don't need to breathe in hibernation, the full fluid immersion is probably a good way to regulate internal body temperature.
> Sadly there's (seemingly) no way to interview people for this ability

In a recent interview, I spent 45 minutes pairing with a current employee. Our goal was to take a (contrived) piece of legacy code, clean it up, and add a new feature to it. I imagine it was a very telling experience for them, and I feel it was more useful than the whiteboarding we'd done before.

Hopefully we as an industry will keep iterating on this sort of interview.
> In a pure one, you'll start to think how to redesign the computation to allow this... It's not wrong, but in many cases it's pointless.

Are you sure it's pointless? Having to show I/O in the type signature means you can't end up with accidental side-effects.
Free+Online+Dating+at+FishMeetFish.com+-+Meet+Single+Women+or+Men
That's quite interesting. The reason I bought my laptop with a secondary NVidia card was because I heard AMD on linux should be aweful. Did that change or did I hear it wrong or something? Getting a secondary NVidia card working is a pain in the butt, at least from my experience.
There is another problem here. Most executives are extroverts, so for them being in the environment like that feels right and good. Does not really help with understanding in my experience.
"Damage" being a ton of publicity and PR about their new streaming service? I wish I could be so "damaged".
This is why I posted the link. I never realized the liquid was real and that the scene was shot using it. After watching the scene I thought, did they drown that rat? Effects were good, but not that good!
>what reason would there be for any of those top artists to be there?

That's why they should do it. To get rid of the facade that this is about helping smaller artists and show people what artists really care about art and which ones care about money.

I'm personally offended by Swifts letter. I don't think she really cares about smaller artists, she was just using them to manipulate Apple.

We all know that Taylor will now get millions of free downloads and be compensated, meanwhile struggling artists will probably get pennies. Shes not helping anyone but her self.
Care about your privacy? Don't use these apps and services