skysight-inc/HackerNews huggingface dataset:
It's not that simple, the id returned for a post should allow to like/unlike the post according to documentation.

Liking works, but unliking does not in cases where the post_id returned has the profile_id prefixed. So you have to remove the profile_id from the post_id to unlike.

The reason why developers have to reverse engineer is that the Facebook platform doesn't and did never work the way it is documented.

Here's a bugreport for that problem which hasn't been solved since last February! (The top comment here with a workaround for that issue was created by myself: https://developers.facebook.com/bugs/539328566085833?browse=...)
YDN blog has a new homw
This is a very welcome addition to my Haskell bookshelf. I bought the pdf version and it looks perfect on my ipad. I'm really glad to have the clickable version to have in a browser window as well. That seems a bit more convenient for finding stuff while coding.
From the page I can conclude the hardware is non-existent (although possible). For now it is purely a wishlist of what they 'want' to offer. Hardware is actually also a large part of the development time of a phone and software, like drivers need to be optimized for the experience. Even if they have used development boards or reference designs for the current bring-up, it would still need hardware verification and a lengthy quality assurance process. Especially related to a phone device, this means certification. I wish them a lot of luck... but it would not amaze me if it results in a vaporware project.
It's comparable to what local universities charge, and they have no problem attracting students - the quality of education might not be great but you need a degree for most government jobs, and other employers place a lot of weight on that piece of paper that says you're educated. The government also provides a lot of scholarships and loans.
Iodized Salt Increased IQ in the United States
Impromptu Speech - Speak clearly with just a short preparation
Great design and usability, and from briefly scanning through it, excellent advice to boot.
I would love to have this in a nice hardcover edition!
3D Printing Technology and Industry Set to Boom
Haskell doesn't use the libc standard number generator. The implementation is here:

http://hackage.haskell.org/packages/archive/random/1.0.1.1/d...

Go's implementation is here and doesn't use the libc generator either:

http://golang.org/src/pkg/math/rand/rng.go

Walter Bright has already commented on D.

it's mostly a test of random number generation and presumably all of those languages use libc's random number generator

In fact, that would be better than benchmarking different PRNG methods, as it's done now ;).

Anyway, I think the benchmark is still fair, since the programs use whatever the default implementation for a PRNG is in the language's standard library. Sure, the Haskell program will be faster if you'd usea MWC or MT implementation from Hackage. But you'd expect a standard library to come with a sensible default ;).
Khidkee
NSA holds emergency hearing to fight off anti-surveillance amendment in Congress
Try grounding Air Force One by denying travel over Europe half way through a flight and then holding the US president for twelve hours against his will on the basis that you want to search his plane for a suspect and see how far you get under international law by claiming that it is fine because your airspace is sovereign territory. Part of international law is that sovereignty has to respect sovereignty.
A log scanner that does some analytics, a intra-company web service, ported a few Python programs to evaluate the performance, etc.

Copy pasting data structure code to fix for different types feels (and is) bad. Anything involving non DRY code I consider a failure. (Oh, and working with numeric types).
The problem when people talk about code beauty is that beauty doesn't always equate to readability. I find Go is very much one of those languages that doesn't look particularly pretty but it's a joy to read when compared to many other languages of the same ilk.
> For those who haven’t been following Rust, there are around seven different kinds of pointers: @ (garbage collected heap allocation), ~ (uniquely owned heap allocation), & (borrowed pointer to heap/stack allocation), * (raw C pointer, only useable in unsafe code), and mutable versions of the first three of those (actually, I’m not sure if there’s a mut & pointer, so maybe just six pointers in total).

I am not sure I like the sound of that. I guess having the unsafe stuff available is very useful for certain things, but it all sounds a bit messy, too.
MIT placed lots of courses online long before MOOC boom.

Nowadays Coursera is the dominant MOOC platform with some very decent courses, at least on CS/AI/Neuroscience subjects.

Yale is another source of high quality materials, while Berkeley sucks after rewriting its site and removing bunch of old courses, including classic Scheme based CS 61A and courses on Buddhism studies.
I feel like this is more of a gateway for applying for asylum in some embassies, as required by some countries, rather than an opportunity to stay in Russia indefinitely, or at least for an year until the next renewal.
Https://www.Google.iq/dady
Try incorporating proprietary code into your product without abiding by the conditions the copyright holder imposes, and see how well that's received.
It's classic generation gap bullshit, just like always.

Oh man, the kids these days!

I'm generation X myself and I well remember all the crap our generation got growing up. How we were dumber than the last generation, less ambitious, lacked principles and morals, etc. And yet if you look at reality you see that gen-x has caused a revolution in business with an explosion in startups, freelancing, independent projects, innovation, etc. (just look at kickstarter, for example). And they've been far more pragmatic and humane about issues such as gay marriage, LGBT acceptance, race relations, and drug use (e.g. ending the war on drugs) than even the baby boomers and far more than the "greatest generation".

Additionally, through my friend group and volunteering I have a lot of interaction with "millenials" and as far as I can tell the hype about them is vastly overwrought. Sure there are some who are demanding, but that's true of all cross-sections of humanity, whether by age or any other metric. There are just as many who are hard working, ambitious, generous, and so forth.

Also, I'd like to point out how much of a raw deal a lot of millenials are getting. When I went to college in the mid to late '90s it was possible for my middle class parents to pay tuition to a very good state University out of pocket without incurring any significant economic hardship. Today that's almost impossible, acquiring a college degree is not only much more necessary these days it's also far more expensive, and very difficult for most folks to do so without going into significant debt. Add on to that the horrific state of the job market today, especially for people just entering it without experience. And it's not a whole lot better at the high end either. It used to be that in the tech world you could ride a rising company's growth as a fairly late employee and working for only maybe a decade or so would net you enough savings just from stock and stock options to allow you to retire fairly rich. Now the market is very different and employee compensation is different and that sort of thing just isn't the norm any longer. You can make a damned good living, but you don't have the life and career options that were possible in the past. Which means that a lot of the most talented folks are forced to take on a lot more risk in order to acquire the same sorts of rewards. Which is good and bad but it's certainly not easier.
Matthew Butterick is a pretty interesting guy, with an interesting background: http://typographyforlawyers.com/about.html

This looks great, I'm anxious to give it a thorough going-through in the next couple days. There are some good tips outside of just type as well, including this bit from the resume sample:

"Avoid dense text by us­ing a sec­ond page. [...] Students, this ad­vice doesn’t ap­ply to you. You’ve only got one page of ma­te­r­i­al. Really."
Maybe those were fake profiles generating confidence among potential 'investors' / marks?
How To Start Your Internet Business Blog Today
I think we're proposing these Mars missions too soon. We need to concentrate on producing propulsion systems and shielding systems that get us there and back fast and safely first.

I'm not talking about some starship enterprise, but something a little meatier than a glorified coke can.
I like the Android app called Fynch.

The official description says "Fynch enhances your Twitter experience by automatically analyzing your timeline for interesting patterns of activity. It is intended to be a tool that decomposes your timeline into smaller sets of tweets that are easier to consume. Fynch is great for identifying extremely high rates of activity, trending topic mentions, and the tweets of less active users in your following list."

https://play.google.com/store/apps/details?id=com.rn.fynch&h...
Blackwhitecupid's uploaded images - Imgur
Sort of. It could be considered a violation of the Universal Declaration of Human Rights, which states that "Everyone has the right to seek and to enjoy in other countries asylum from persecution."
Infusionsoft Tutorial: Marketing Campaign for Consultants and Agencies
They Valley is so much better now. There's no comparison. The fun stuff is just starting now.
And the bitcointalk thread: https://bitcointalk.org/index.php?topic=108282.0
#1 Black White Dating site - BlackWhiteCupid.com
#1 Black White Dating site For Black Women White men and White women Black Men Dating - BlackWhiteCupid.com
Join this Cupid filled Black White Dating Site. Black White Cupid has over 5 million Black White Singles.
If you scroll right to the end, you'll find a great example of a site who thought they were being smart by being shady, and instead annoyed their users enough that people just went elsewhere (experts exchange), even though the measures were easily worked around.

If, as you acknowledge, these are user-hostile patterns, using them is going to lose the trust of your users, and in the end you will flounder, even if in the short term they provide economic benefits. That's the premise of the article, and yes the companies are silly for employing these dark patterns because they're trading long-term trust in their brand (and thus long-term profits) for short-term economic advantage.
The Wrong Way to Think About Competition in Entrepreneurship
Rust has XorShift (http://en.wikipedia.org/wiki/Xorshift) as a "secondary" RNG in the standard library, for what it's worth.
Firefox Developer Tools progress, now on Twitter
I really liked your old theme... this one is kind of boring. Just saying.

I agree with the article though, but the thing people tend to forget is that the phone can actually be a desktop computer too... which maybe makes it worth it.
He made Ruby.

https://en.wikipedia.org/wiki/Yukihiro_Matsumoto
The original comment I replied to was suggesting that the date picker was a bad thing. My point is that it's better than any other method, since parsing a date correctly for all people in all situations in the way implied in that post is not possible. There will always be ambiguity over the date if the user chooses to use 'dd/mm/yyyy' or 'mm/dd/yyyy'. Chaking location, or locale isn't much use - we brits go to America on occasion, and they come over here. If you mark it as [dd/mm/yyyy] then you've just limited the usefulness of 'a free-form date that gets parsed smartly'.
Pocket Guide to Email Marketing
I see a lot of untapped technological potential in Pakistan. In the past decade they have set records for some of the youngest tech wiz kids in the world, with the youngest nearly 9 years old with a Microsoft certification! http://en.wikipedia.org/wiki/Arfa_Karim
or MtGox
Ah, my mistake. I could have sworn I had read something about Bill Gates developing for MacPaint. I think it was to do with editing text that had been placed on an image.
Both of those are solved problems, and actually have been for quite a while.

You should check out the Mars Direct plan proposed by Robert Zubrin. https://en.wikipedia.org/wiki/Mars_Direct
I work almost full-time on C++ optimization and I find most type of such benchmarks moot, and _not_ because of methodology flaws.

We need to stop just looking at numbers and investigate what these compilers allow in terms of productivity, optimization opportunities and explicit control of generated code.

If you look at x264 numbers you'll see that there is up to a x10 gap between hand-optimized assembly and native C, and I believe that this gap exist in most fast programs because optimizing backends are too much black-boxes that consistently produce quite good, even sometimes amazing results, but with little control or feedback.

The nature of highly optimized code is detailed, explicit control of what should happen. I will take a poorly optimizing compiler any day if it allows me complete control of the backend optimizations it chooses, if I can give him register hints that actually matter, if it stop compiling and ask for the annotations he need to optimize better. C++ compilers are good at this game but this could be taken further.

Also it's unfair to never look at language productivity at the same time as speed, since the ability to produce fast programs will be notably affected by the speed at which we can achieve that anyway.
Hell no. GDP per capita is under 700 dollars.
>>It is usually recommended to keep the text per slide at a minimum

The point is, slides are teaching and not information recording/storing tools.

Most people forget this plain simple fact.

First principle of giving a presentation, ensure people focus on what you say and not on your slides.
> My question is: Why should a company make it easy for people to do exactly what it doesn't want them to do?

The problem isn't when a company makes it hard for people to do exactly what it doesn't want them to do. Apple probably doesn't want its users to electrocute themselves, so they make sure the charger is properly isolated and all that.

The problem is when a company makes it hard for people to do what they want to do. That sucks, because it's usually why people are paying money for.

In this case, some people will want to make sure they aren't tracked (the other people don't care about it, so the option's placement is irrelevant to them). Hiding that option so well is simply useless: it achieves nothing for the people who don't care about it, and annoys those who do care about it (who tend to be tech-savvy enough that they'll find it no matter how well it's hidden). It's simply a defect in design: a misfeature that was grafted there for the glorification of someone who needed a contract signed. It provides zero advantages for the contracting parties, and huge disadvantages for the users.
I'm a little confused. Is there any ability to comment? I can see the comment toggle on the top right but nothing in the page. I've seen commenting in other O'Reilly books [1, 2] but not sure how it works with this one.

[1] http://book.realworldhaskell.org/read/

[2] https://realworldocaml.org (also in beta)

EDIT: Found this http://chimera.labs.oreilly.com/about and also realised I was getting the toggle the wrong way around. "Comments on" means they're on, not 'click to turn them on'. Then you click on a block of text to bring up a comment box.
Anyone know if the Emacs source code still is a "good read"? …or has it grown too much
I hope the desktop capability is a big seller too, but so far Microsoft has been unable to sell the "all-in-one" experience at a highly successful level with its phone, and they're much better known and more accessible for most users than Ubuntu.
If We Share Data, Will Anyone Use Them?
You can probably get the same education if you put in sufficient effort, but going to top level universities is also about the contacts you forge with likeminded people, often in specific social strata, as well as being able to interact in person with top people in the field.

Of course you can get the contacts elsewhere if you make the effort, but the university system is extremely well placed to bring people together for extended periods of time and put them in situations that encourages bonding, and that provides a lot of value.

Frankly, not taking better advantage of that is what I miss the most about cutting my studies short (I left university to co-found my first company; I went back and completed a MSc via correspondence courses, and it served the purpose of documenting my skills, but it wasn't the same without that daily social interaction with people working on the same things).

MOOCs can probably lift the low end, and make the basic education a commodity, but universities will still serve a lot of other purposes. I could even see "universities" pop up for people to attend to take MOOCs from suppliers with top teachers for the main teaching and "just" offering support services and networking/bonding opportunities around that. E.g. universities have long used books from outside their own university, so it just makes sense for them to make use of other resources, including whole courses, when there are ones available elsewhere where they can't compete on the lectures themselves and focus on their strong points.
First Porn Film Shot With Google Glass
They don't have to hit 32M., it's not kickstarter.

They receive everything even it the goal hasn't reached ;)
HTTP server that runs commands when pinged
CSS preprocessors, the attribute selector and code bloat.
This bit also strikes me as double counting:

"And that is without any growth at all. But you need to grow enough to keep up with cancellations at minimum, so that consumes the last notion of profitability."

Growth to keep up with cancellations is covered by the $1.5R acquisition cost.

Although to disagree with you slightly I would say that Admin at least would be partially proportional to the number of staff (which is likely to be related to the number of customers) although improving the system so that less support was required (better documentation, easier to use software) should have a knock on effect here. Some parts would be fixed costs though.
"This campaign will only receive funds if at least $32,000,000 is raised by Wed 21 Aug 11:59PM PT."
3D Printing A Solution To Cervical Cancer
7 Universal Conversion Optimization Principles (Free Ebook)
Tested and proven optimization principles you can apply to your online marketing funnel and increase conversions. Based on 4 years of research and over 350 real-life A/B tests - get the book for free!
> Shavers raised at least 700,000 Bitcoin in BTCST investments, which amounted to more than $4.5 million based on the average price of Bitcoin in 2011 and 2012 when the investments were offered and sold. Today the value of 700,000 Bitcoin exceeds $60 million.

> [...] Shavers used Bitcoin from new investors to make purported interest payments and cover investor withdrawals on outstanding BTCST investments. Shavers also diverted investors’ Bitcoin for day trading in his account on a Bitcoin currency exchange, and exchanged investors’ Bitcoin for U.S. dollars to pay his personal expenses.

> He transferred at least 150,649 Bitcoin to his personal account at an online Bitcoin currency exchange. Shavers suffered a net loss from his day trading,

> Shavers transferred $147,102 from his personal account at the online Bitcoin currency exchange to accounts he controlled at an online payment processor as well as his personal checking account. He used this money to pay his rent, utilities, and car-related expenses as well as for food and retail purchases and gambling.
Thanks and as usual, canned by Obama.

Perhaps the private sector can take this one on?
As a Lisp implementation Emacs Lisp was pretty primitive then:

* primitive GC
* only dynamic binding (Stallman sold that as a feature)
* no nested functions
* no threads
* no object system
* no namespaces for symbols
* implementation not independent from the editor
* no TCO
* slow

On the positive side it already had a simple byte code interpreter with a compiler for it and it was fast enough for some editing. Also, dedicated Emacs Lisp users managed to write some amazing code - given the restrictions.

The 'eight megabytes and constantly swapping' thing now is also of less importance. ;-)
Cyber-Sabotage Is Easy. So why aren't hackers crashing the grid?
Open University in the UK offers distance learning, but all exams are taken in person - the have long offered exam centres all over the world.

They do also offer e-mail and phone contact with advisors for many courses, and for most courses grades also partially depend on assessment of mandatory assignments 2-4 times during the course.

Of course this comes at a substantially higher cost than these MOOCs seems to do. Presumably there'll be space for some "in between" variations that offers monitoring of just the exams for example.
Depends on the country, I think it is up to all member states to implement and manage the laws internally.

My former employer did the following "trick" to boost the amount of newsletter subscriptions (and angry customers):

In Denmark you are allowed to create a competition where you write "By participating in this competition you will be subscribed to our newsletter".

And then they write in the legal text under the form that you agree to them (and their mother-company) contacting you on phone, email and SMS.

And you also agree that two separate companies owned by the same company is allowed to contact you.

You are also allowed to leave the following checkbox checked as default, making it opt-out:

[x] Subscribe me to the newsletter.
I've jut spent 20 minutes or so flicking through this and I felt I've learnt a lot already. Will definitely be giving this my full attention.
GCC most likely.
I found this statement confusing at first too, but perhaps the way to look at it is that most customers do treat their relationship with brands by analogy to human relationships, whether they should or not.

We get mad at brands, vow we'll never use them again, break up with them, come back to them, expect them to behave coherently, criticise the behaviour of one representative as if it were the firm as a whole, demonstrate our loyalty to them in the hope of reward, and generally treat them as human counterparties in a relationship. Of course none of this is realistic or justified, but if you're running a company it's not something you can ignore.

If you're a user/consumer/customer of course, it makes sense to step back and realise that your loyalty means nothing to a corporation, they are not a person but composed of people, that they have their own internal goals, and they are rewarded by shareholders for some behaviour we'd call sociopathic in a person.
Points 1-20 are either aphoristic, or sound true but don't work out in practice. A lot of the points after that are more interesting.

e.g.
> Earn the right to address people by their first name. First names are powerful and should be used carefully; build rapport before auto-programming them into a mass email.

And yet most data show that including 'Dear Firstname' at the top of a newsletter increases open rates and clickthrough rates. Continuously.

> #4. Predictability kills.

Typically, the benefit of email marketing comes from predictability. Sending an email every Thursday at 4pm builds confidence in your ability to deliver. It strengthens branding, and when somebody is ready to convert, your name will be top of mind.