skysight-inc/HackerNews huggingface dataset:
Haskell has the advantage that what you've proposed is an exact conversion of the "flatMap" code, meaning that anything else that you can do with flatMap can be used with do notation, which is a lot of things beyond just tying two bits of IO code together.

But in this specific case of just tying two bit of execution together, I'd observe that Erlang is

One(),
Two()

and Go would be

One()
Two()

and that's all regardless of whether One and Two have 0 accesses to IO or do IO dozens of times, and One and Two may also freely call other functions that do arbitrary IO with no further ceremony. The "solution" Erlang and Go offer to callback hell is simply not to have it, and pretty much no matter how you slice it, not having the problem in the first place beats any solution the JS community may or may not settle on.
This code displays forward slash and backslash randomly over the entire screen. This may look a bit like a maze, but it is not. Title should read "How to display random garbage to the screen as slashes in 13 bytes". Still impressed?
Three Months at MyBuilder
Yes, the client will store the User ID (eg. John-CPE4E38J) on local hard disk. The server will store the modified User ID (ie. John) in the database.
Syntax vs. Semantics, or Career Advice for Aspiring Programmers
Part of the problem of running an exit node is that it's unclear how "safe" it actually is, and as a result there is a lot of rumor and paranoia. Every country has different laws that affect the legal status of an exit node operator.

For example, an Austrian man was arrested in 2011 for running an exit node and charged with being an accomplice to crimes that were carried out over Tor using his exit node. He was ultimately found not guilty, but a law was passed as a result that effectively makes it illegal to run a Tor exit in Austria. [0]

Meanwhile, in the US no one has ever been arrested simply for running a Tor exit node (at least to my knowledge). Anecdotal information suggests that the most difficult thing is finding someone to host the node (many cloud VPS providers, for example, will not) if you don't host it yourself. A Reddit commentator and operator of Tor exits suggests that running Tor exits is protected under U.S. law, although I'm not sure if this has been tested in court [1].

I think Mozilla should take the (relatively small, due to their presence in the U.S.) risk of running Tor exit nodes. They could even turn it into a project of its own, to explore the common problems and develop some best practices for running Tor exits. I could imagine this being a fruitful collaboration with the EFF, for example!

[0] https://www.techdirt.com/articles/20140701/18013327753/tor-n...
[1] http://www.reddit.com/r/IAmA/comments/20243q/iaman_operator_...
Unencrypted data passing through an exit node can be read by the operator of the node. Deploy x amount of nodes, analyze traffic and perform some basic statistical analysis?

Granted your data will be biased towards unencrypted traffic, but you should get a small picture of whats going on. Plain jane http and ftp traffic should be sniffable.
Pretty sure a 10mhz z80 with 64kb ram can handle a small forth or scheme dialect just fine (You'll have to program those interpreters in asm or c though!) :)

It won't be useful/"pragmatic" but I don't think that's what we're after here anyway.
Women and Sex Toys [infographic]
A quick mention of the first comment; true, we Americans can't expect to be able to break the law overseas and get away with it...but, as anybody who's spent time in a Muslim world, etc, or perhaps has a ton of family from that tradition - it's easier to see why Je Suis Charlie could give Facebook a headache.

I can't sue a journalist overseas for slander that occured about three years ago and still exists; for the most part, I only recall it as an example of how the "international justice," issue cuts both ways. We have the United Nations for a good reason and in both Costa Rica and another country, some of my best friends worked there.

If another country, not the USA, wishes to use an invention of my people (the internet) to crap on me, well, they should also either suffer the consequences of American justice...OR, even better, we should all realize that living in one place doesn't and should never subject one to another place's definition of right and wrong.
Pretty sure ag searches on-the-fly, whereas Hound builds an index.

Edit: Yup, from previous discussion: https://news.ycombinator.com/item?id=8957565
That's actually worse than his "Kiss a girl" gaffe. Hard to believe anyone thinks this person should be in charge of anything. They seem to lack both professionalism and maturity. Plus they jump to all kinds of wild (frankly bonkers) conclusion just as the result of someone thinking it should be "he" and "she" rather than "they" or "it."

> To me, that insistence can only come from one place: that gender—specifically, masculinity—is inextricably linked to software, and that's not an attitude that Joyent tolerates.

... I don't even... I hope he never discovers popular fiction, he might have some kind of mental breakdown with all the "gendered pronouns" (assuming his current state isn't already the result of some kind of mental breakdown).
It probably correlates really well with random research projects that are tracking those hidden services...
vs. using a real language?

Webbies seriously have Stockholm syndrome with this language.
As a supporting anecdote, I'd like to share the story of how my non-technical cofounder found/"grew" me (or rather, grew the relationship), and why I think it worked.

Last year I was in my final year of university. The school I graduated from, BYU, has a strong business program and a culture of entrepreneurship. A number of my friends and acquaintances contacted me with ideas for tech-empowered businesses they wanted to form, but I had the sense to stay away from anything that sounded like "I had this great idea for a business last week, why don't you build it for me and we'll see what happens."

When my now-cofounder Sam approached me, it was a very different experience. It was obvious that he had put months of work into developing his idea on his own time, with mockups and tons of user testing of various ideas, and literally had gone as far as he could without actually building the product. Even after we decided to start working together, we spent several months contracting together for a 3rd party, before we finally decided to strike out on our own. When we eventually did form a startup, we split the equity 50-50 and we've both been working 110% since day 1.

In retrospect, I didn't end up joining with Sam because the idea was much better than the other ones I'd heard about, or because he had access to connections or capital that I couldn't easily find myself. It was because he demonstrated clearly that he didn't consider the idea alone to be 80% of the value, respected what I brought to the table, and worked hard enough to bring his half to the table too.

I guess my best advice to the non-technical looking for a cofounder (beyond learning as much as you can about the tech side of the business on your own) would be to try to find ways to demonstrate, through your actions, that you have what it takes to push a new company forward. The actions Sam took on his own, and when we first started working together, demonstrated that to my satisfaction, which is why I was more than happy to sign on as a cofounder.
Last week. I spent 11 days backpacking throughout Dominican Republic. My phone was off, except a few times when I connected to wifi to check for urgent emails or issues.

It was amazing... It was the first time in a year that I was able to pull away from daily minutiae and think about things from a much higher level (such as career goals and big plans for this year).

I came back full of energy and motivation that I hope to carry through the end of the year... or until my next trip.
Can LSD make you a billionaire?
My first real job interview in 1999 worked exactly like this. A pool of candidates came in and were given the same 2 day coding assignment. We were paid for our time and worked on site. It was a great experience, but I tend to like working on interesting problems (which I guess is a valuable trait in itself).

It especially made sense at this company because they were using an obscure coding platform and needed to train everybody from scratch. So you were actually learning the language a bit while performing the test. Mentors went around and asked you your thought process as you worked an gave some helpful nudges.

I did get the job and to this day it was the best office environment of my life. I wish all tech companies were as well run as that one.
Spiritually Bankrupt: How I Went Broke Trying to Teach Yoga
consult a labour lawyer
Eventjoy’s New App for Event Goers Adds Real-Time Chat,Live Announcements and More
C# has the 'await' keyword, which is pretty clean.
I'm not sure what you mean by referencing trickle-down economics. I mean, what's the alternative, that Apple distibute that money to shareholders? I don't think stock buy-backs and dividends are what people mean when they say trickle-down economics.

Anyway, Apple does not have a giant vault filled with $160 billion just sitting there. That "cash" hoard is actually invested somewhere (probably numerous places) where it is doing some kind of work to provide a return, at a minimum to keep up with inflation.

If you'd like to wade into political waters, let's talk about the U.S. corporate tax system, which currently provides incentives for companies to keep international profits offshore. I would bet a significant portion of that $160 billion is outside the U.S.
There are two different ways to do this in Firefox with no addons or weird configs:

Open Preferences->Search->One-click Search Engines, make sure google is checked, double-click "google" in the keyword column, change it to just "g".

If you want to keep the old "google" term or outright disable Google as a built-in search engine you can still add "g" as a keyword search. Go to Google, right click the search box, select "Add a Keyword for this Search..." and select "g" as your keyword. This works for search forms on most sites that aren't doing insane stuff with javascript or mandating a security token and it generally remembers other form settings as well.
All due respect, I think "explains that" would be more accurate than "explains how" here
Why I Will Always Try and Find a Ready-Built Library
The Right Way to Practice Empathy
Indeed same here. It just works for the kids.
This is so stupid and uniformed, it's actually infuriating.

It's true that machines can't do those things now (and, in fact, they actually can do some of them).

Musk isn't warning us about today's machines. He's warning us about machines that do things people think are impossible.

Human science does "impossible" things all the time. Until they were actually invented, most of the world thought heavier-than-air flying machines were impossible.

Saying "[X] will never happen" is always junk science. The scientific method is inductive, and that literally means "never say never".
This is literally less then no content article.

>Machines cannot be creative: They can't do art or aesthetics.

This is false, procedurally generated music has existed for years. Its not great, but then its not a heavily funded field.

>Machines cannot learn from random "life" experience.

This has been the AI goal for a long time. This is what most people who are afraid of AI fear will happen.
New Way to Watch Facebook Videos While Scrolling Through Facebook Feed
> It is plenty safe to run exit nodes

... in someone else's data center.

Never, ever in your own home. If you are raided ALL your computers and ancillaries will be seized.
F# is weak at designing full stack apps because it lacks tooling because it is weak at designing full stack apps.

This is just something that takes time and commitment from the community. It's only ~7 years old at this point, and if everyone just sits back and whines about the lack of tooling without, y'know, building & releasing something themselves, it'll be an ongoing problem. It's the "take take take" mentality - often disguised as being an open source advocate - of most software devs where they want everything for free (guilty as charged, myself).

That said, WebSharper is out there, which is a pretty solid framework for a lot of tasks. I've been thinking about ways to creatively encourage/solve the tooling problem though, starting with exhorting all of us in the F# community to reduce the whining and redirect the energy into creating solutions. Tooling is only a self-fulfilling prophecy if we continue to act as-if the outcome is out of our hands.
What would be great is if a foundation came along that offered people a way to sponsor a Tor node without having to own or operate it themselves.
I was a little confused by the title because thoughtbot has an open sourced tool also named Hound [1].

1: https://houndci.com
Appreciate your advice. I'm going to continue to noodle on this for a bit.
According to their report, they haven't received any data requests from Saudi Arabia, Syria or Burma, but they did hand over data to the governments of 57 countries in the first half of 2014 alone [1].

It appears content was also censored at the request of the Saudi government.

[1] https://govtrequests.facebook.com/
AI will not kill us, says Microsoft Research chief
Sure but I don't consider Coca-Cola to be part of that industry.
Oh no, I didn't get that at all. It did sound like you were saying that only people with severe issues need CBT though. I think that every single person would greatly benefit from CBT training, just as I feel that they'd benefit from meditation, a healthy diet and a consistent workout routine.
I've asked on social media, and got some shallow boilerplate responses, but nothing truly revealing. I'd love to know more as well.

Either they're not very transparent, or they're not valuing this component of the business enough...
Once you've accepted the conceit that Facebook will say and do whatever has the best return, it's hardly incongruous for Facebook to hitch a ride on a free, positive PR train.

The only incongruity is on the part of people who believed Zuck when they have plenty of data that they shouldn't.
The benefit he's describing is completely negated by having a long TTL, which is an important security measure.

If your TTL is long, you can't change your DNS records quickly. So whenever the outage is shorter than your TTL, you see no benefit.
This is pretty meaningless in context, when you visit pinterest the site is login gated. Sure that might look good on paper but it's a short term strategy.
try this, Netflix: if I've rated it, don't ever recommend it to be outside of "watch it again"
PC games on Mac with Windows 10, free until April
CMU Privacy Day
Isn't the main issue with Mars not it's atmosphere or landscape but rather the fact that it has no magnetic field to speak of? That poses an issue for electronics as well as any living beings that aren't tardigrades.

Edit: the only solution to this that I can think of would be to have any and all housing underground, since I don't think it will be possible to restore Mars' magnetosphere.
Would you be fine with being imprisoned/executed for refusing to comply while residing in said backwater?

It's not that complying with the law would be noble or right, but it's not really reasonable to expect everyone in a country to be a martyr.
Content could be more centric towards one goal.
how fb gonna ban pictures that nobody could verify it is him? every person who use his name? or just picture with m* string on it?

this is absolutely crazy and very uncommon sense.

so the image is him because people claim it is him, but in reality the truth is, it is not him, just bunch of ... perceive it is him.
Nobody Knows What an iPad Is Good for Anymore
that would be funny, alas the only issue we have these days is "This call is not supported from a rotary dial phone"

In all my years I have only had 1 customer still using a rotary
Can we please stop calling 35k pageviews in one day as "viral"? that's pretty low traffic by any reasonable standard.
I think it's more likely to be used on the commonplace to avoid areas with police -- either for the traffic ticket dodger, or for mugger's, home invader's, etc...
TL;DR: Facebook prevents images of Muhammad to be seen in Turkey.
Quite, although there I'd be more forgiving, as people react to driving instructions from navigator's voice on a short notice. But to go out to the sea without proper navigation and other equipment is something that one only does after a conscious decision.

An example is a group of men who tried to get 1000 Facebook likes for a project of building a raft and crossing the Gulf of Finland, some 50 nautical miles, in order to buy cheap booze in Tallinn. They didn't get that many likes but decided to go anyway, and ended up in news.

http://yle.fi/uutiset/homemade_raft_to_tallinn_experiment_di...

A happy ending, because when their engine died, they were still within the reach of GSM network and could call for help. They were fined a ridiculous 35 euros total for this.
Being There: Ambient Loops from Famous Sci-Fi TV and Movies
My hope with all of my blog posts on the development blog is to create value for my readers... All the time. I hope others can learn from my journey... And if it gets a lot of attention then great! Otherwise, the small community that I have will do.
Is "effort" the best metric to measure success with?
Center and Crop Images with Two Lines of CSS
A truly valuable sales leader is contributing to the product development, not by committing actual code, but by identifying what needs to be built to bring in revenue
(and more importantly, what doesn't need to be developed any time soon despite all those superficially positive feedback meetings, and which possible markets to develop into are a total waste of time)

And there's no shortage of B2B markets where the tech takes as long to sell into enterprise as to build.
What are you using for CNC? I really want to get one and have even thought about getting something small (like a desktop mill) but your machine looks amazing.
Its wonderful. I spend a week a year bicycling across my state (with 20,000 other people). Some maintain their phone addiction; you see them clustered around public outlets with their chargers and blank expressions.

But the rest of us leave that at home; laugh and talk and think for mile after mile and come away changed.
One big difference is the UI. Silver Searcher is used on the command line whereas Hound is used in a webpage.

Edit: A command line version is also on the way.
A month ago when my internet went down. Pretty irritated, nothing much to do apart from reading magazines in my free time.
Rude: A site that optimizes for speed to gain an SEO boost, does not deserve this SEO boost. A site like Pinterest should optimize for speed, regardless of what Google says.

If you turn back an experiment meant to enhance usability and engagement, you show that you care more for search engines than for search engine users. You are of course free to place your priorities so that your business survives, but then you can't make a claim to the woes of a whitehat SEO and you will drown in a turmoil of mystification and algo update-fears.

I do not understand why they even experiment with javascript rendering to increase the page-speed when they do not even currently defer loading of javascript to </body>. There are a lot of requests that could be combined into a single request and they could save over 50%(!) of the resource size by minifying html and lossless compression of the pinned images on pinimg.com. The mobile site gets a pagespeed score of 58 / 100. This could be 90+ / 100. It should be 90+ / 100 before you even think of javascript rendering. And if you go down that route, better study WAI-ARIA, before you make your site inaccessible to some. Good SEO follows from good design, good development, good content strategy, good UX, good accessibility. All of these things can be optimized in isolation and will benefit SEO.

If by javascript rendering they meant one of those fancy endless scrolls, then it is likely they did not implement this correctly. You can expect a lot from a bot that is able to parse javascript, but not that it spends 2 minutes scrolling down with the mouse till it reaches the end of a board and has seen all the content.
The statistic in question was in regards to requests to hidden services.
The issue is not that Facebook obeys local laws.

The issue is Zuckerberg shouting "I am Charlie" while simultaneously building the machinery of censorship.

https://www.facebook.com/zuck/posts/10101844454210771

If you think some censorship is better than an outright ban, fine. I don't agree, but I understand your rationale.

But don't build the tools of repression and ride the "I am Charlie" bandwagon at the same time. FB is blocking the same class of content that Charlie Hebdo gave their lives to publish.

Zuckerberg n'est définitivement pas Charlie.

C'est écœurant.
Canoed down the Wisconsin River for 3 days last summer. Spending time alone with nature was a great slowdown and reboot. It really helps put in perspective the hectic rush of American life and how little benefit worrying about small things at work brings me.
The last time was probably 8 years ago, before I had a smart phone. I went winter camping in a relatively remote area with some friends.

Edit: I should probably add, I don't see constant internet access as any more of a problem than books. If anything my kindle (which is always in airplane mode) is a worse impact on my productivity than the internet.
That depends on whether Facebook has significant operations in Turkey. It's not Facebook's job to deny residents of Turkey access to Facebook, or parts of Facebook. It's the Turkish government's job to balkanize the Internet, with all the bad side effects on the tech industry in Turkey, if that is their desire.
So much that. I watch a lot of movies. Now, most movies Netflix show me are movies I've watched. What's the point in that? Its infuriating.
These features have now been added.
I preordered in Oct 2012, but they made me pay in Oct 2013. Recently cancelled my order, as it never shipped...
A brain implant offers relief to an epilepsy patient
Musl libc has every function in a separate file, so if you statically link you just get what you use, modulo a number of functions that use each other. So building it yourself is not going to be much better.
12 Wonderful Photos of Enchanted Nature – Images Photo Gallery