skysight-inc/HackerNews huggingface dataset:
They know when it's displayed to you. Let's say that Bob follows Sally (and a bunch of other people)

* Sally makes a tweet at 8AM

* Bob doesn't check Twitter until noon

* Bob doesn't scroll down, the tweet at the bottom of the screen is timestamped 11:30AM

In this scenario Twitter never displays Sally's tweet in Bob's timeline. It is thus not an impression. If Bob had scrolled down to see tweets going back to 8AM Twitter would display Sally's tweet in Bob's timeline, this would count as an impression.

If you're asking if they know that you actually read, parsed, comprehended, or contemplated the text of the tweet then no of course not. Likewise somebody clicking on a link doesn't mean they actually read, parsed, comprehended, or contemplated that content.
Well, but (as the parent poster says) you don't compare tablets with books as they would be completely wrong for this purpose.

An e-ink reader is as compact as a smallish paperback and of the same weight (it's a bit more dense but much thinner), can be used in outdoors light, doesn't need power during the trip (my ages-old kindle goes for weeks w/o recharging) and not expensive.

A book may be preferrable to a reader, but as soon as you go into multiple books, then it's a different story - as the weight of the books grows significantly and makes them a burdern. Okay, books are cheaper - but if theft is a concern, then a 69$ reader is not my priority, my wallet or phone would be more valuable to any thief.
If you're behind a CDN then use whatever backend suits your deployment style the best. If you like working with git then GitHub pages and Heroku are both great.
Haha, Yes! Thanks. That post make me smile; well done Madam/Sir.
Amazon Route 53 Announces Domain Name Registration
> The standard library is not always your friend

I fully expected him to mention all the land mines of functions that don't check buffer sizes.

But he raised an important example of strcat being O(n).

And I feel like this is a lesson many people could apply to high level languages. For example, I can't count the number of times I've seen people not realize that their language's "remove this element from a vector" method is O(n) and they used it in a loop to get O(n^2). Then when asked about it if their background is high level languages they will have great difficulty reasoning about it, they will pull out BS justifications like I am sure the libraries or the compiler knows what to do here... A good programmer in any language should be able to look at a function signature and have a good intuition about what a reasonable implementation might be, and when to be skeptical about whether or not they would use it.

> To a large extent, the answer is: C is that way because reality is that way. C is a low-level language, which means that the way things are done in C is very similar to the way they're done by the computer itself.

This is probably the one thing I wish the C-haters understood better. Reality has a very anti-GC, pro-pointer bias. These are not arbitrary decisions. Some part of the system needs to work this way. And if we want to continue to have nice things, we need programmers who can competently reason about these layers. I can't imagine that changing anytime soon.
I think the truth is that science is an activity that chews people up and spits them out. When I got my physics PhD, the APS said only 2% of my class would get permanent jobs in the field.

Because people are concerned about attrition of women more than the attrition of men, any women who run the guantlet that far had some possibility of getting a tenure track job. The men just went to Goldman Sachs.
I've recently [experienced][1] the latter type of policeman here in Rome.

[1]: http://simongriffee.com/notebook/police-aggression-coercion-...
Common Lisp version with some extra goodies: https://github.com/tkych/cl-spark
The lithium batteries were typically rated for 10 years, and modern flash devices are also typically rated for 10 years. Or were you thinking of something else?

It's a heck of a lot easier to replace a lithium battery (even under power) than it is to replace most flash devices.
"I consider a NullPointerException for any reason to be a bug in a Java program."

Is there actually anyone who disagrees on that point?
I think they look different enough. It's an A with a loop, not wildly original.
What do you need the ram for? I can't see anything in the Android ecosystem using it.
This is where it gets weird on my system

sh-4.3$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.8.3
sh-4.3$ ghc -Wall -Werror test.hs
sh-4.3$

Arch Linux 64bit. It works as expected with runhaskell though

Edit: see answer below, thanks dilthomas!
...which is not a real improvement compared to null-values
Seems like an interesting (and obvious) move for Amazon to go into domain registration. Maybe they can up the standard a bit for this industry.
If the author reads this: 's/decent/descent'
I like the Ubuntu Linux distributions not just because of the "lock in" issues, but a lot of things "just work" with Ubuntu that are difficult with Red Hat.

For instance there is a Sun Java installer that "just works" with Ubuntu and will keep your Sun Java up to date when you do your system updates. If you need a Bit Torrent client you can just

apt-get install transmission

but it turns out to be quite an exercise to compile and install any Bit Torrent client for Red Hat Linux.

I remember how Solaris was the center of the open source world in 1991, but by 2001 it was starting to get hard to compile things on Solaris. Red Hat is also diverging from the open source mainstream and it is "just hard" to do things that "just work" with Ubuntu.
To the Burmese, the word "Myanmar" represents the oppressive and insane dictator who overthrew a democratic society to institute a communism that nobody wanted, keeping Burma in the dark ages for decades. One of the dictatorial general's feats as he rose to power was quashing civil unrest and rival communist movements among the minority tribes of Burma, and "Myanmar" is the name of the majority ethnicity. You can understand that people remain a little sore about the name change.

"Burma" is an English corruption of the Yangonese word for "Myanmar", but to the Burmese democratic movement--and the many minority tribes--the word represents an ethnicity-neutral name for the entire country.
Ask HN: Beginner programming project ideas and GSoC advice
My nephew is just starting college and is interested in learning to code doing some projects. He also wants to participate in Google Summer of Code next year.

He knows basic Python, some C and HTML/CSS.

I have a couple of questions -

* Can you please suggest some beginner project ideas that he can work to build his portfolio and figure out his interests?

* What are some of the things to keep in mind to apply for GSoC internship?

* Any other experiences and suggestion welcome.

Thank you.
Try touching test.hs (or add -fforce-recomp). By default, ghc won't rebuild if the object is newer than the source.
Location: Clemson, SC

Remote: Yes

Willing to relocate: Preferred. Will always consider exceptional opportunities but I am looking to leave the south east

Technologies: Primarily C#/.NET and automated testing, but also a little bit of Python/Django, C, C++, and Matlab. I am also doing some basic iOS development now as well.

Resume: https://drive.google.com/file/d/0BwrlsAM4YffXVjM3cllTenA1RnM...

Email: ima lexr oss [at] gmail.com, no spaces
This is something I started working on around a year ago to scratch a personal itch - none of the goal setting / task management tools I could find really felt like they were aimed at power users. It's been a big help for me in overcoming procrastination, and focusing myself towards the big things I want to achieve.

Would love some feedback, and happy to answer any questions.
Why not? Educate yourself.
A new set of Firefox Developer Tools features
Fixed OS option.
Price should be displayed in blue near "View on Amazon". Drive type/space is also displayed with every item when clicked on "Specifications". Hmm... I think I'll have to make that a bit more noticeable.
Ask HN: How to structure a startup with five founders?
We recently won a StartupWeekend event with a promising new idea. We're a team of five (3 devs, a business woman, and the idea man who is fairly versatile). Everyone is into the idea and happy to continue with it, but we don't know how to structure the company. Can someone with experience help?

The idea man proposed to incorporate the company and then give us shares as we build the project which seems unfair. On the other hand 20%-for-all split is bad too because we haven't done anything---most of the work is yet to come.

Can we somehow structure the company so that every member's share is proportional to their participation in the coming months? Are there standard solutions for this? I'm looking at Assembly[1] in another tab and it is very interesting. Anyone know of similar projects (ideally a self-hosted one)?

The other alternative would be for the idea man and the lead dev to go with the more traditional 40% + 40% + 20% employee pool, and the rest of us pull out, but this would break the team chemistry completely.

[1] https://assembly.com/helpful/partners
How are you gathering up comments and making sure that all issues are addressed, etc.?
What... against whom?

OK, I don't expect rationality from racists or anti racists (but then, in Sweden "anti racist" seems to be a code word for antisemite. No, sadly not joking.)

But... I can't off the top of my head name a culture that has never used spears and javelins.

Edit: First, spears is an universal farmer's weapon most everywhere. Second, thanks guard-of-terra: It is a shame -- considering all the English I have consumed for decades (both professionally and in literature etc) -- that I don't even seem to know the basic racist insults. :-)
This.
I used to use Blosxom in static-only mode (a bit of blog rendering software which consisted of a single 200 kilobyte Perl file). At some point I used it to build a seminar page for the department I was in, and it's still happily chugging along, long after updates for Blosxom stopped happening, with no worry for security. And since the blog entries are really just markdown files, it's super easy to port to another system should the desire arise.
What would folks recommend if my only goal is learning? I do some microcontroller development, so I'm aware of the need for an inexpensive board and (preferably) free tools. I'm OK with a free tool that has a limited program size, which I've never managed to fill up.

Naturally I say my only goal is learning, but... I wouldn't mind finding a development board that's small and cheap enough that it could be pushed into small run production as a component in a pinch.
As a Pythoneer with a vague knowledge of Haskell, that's odd.

None is not an int. Or a float. Or a string. It's None. Python is nothing like C, where a string is a pointer that might point to null ... it just can't happen.

Variables are untyped (so you can, in theory, return an open file when the function usually returns a float), but generally that's not how things work.

I'd think Python programmers would get more upset about when stuff gets computed. "So ... it computes that next?". "Um, that's up to the compiler". "The what?"
What the country’s top engineering schools have in common with Hogwarts
Considering all the media coverage listed at the end, I'd say the copper foam was an effective marketing gimmick, enough to have actually funded the project were they not frozen. After that they could have run with the money or tried to implement it. If they had tried to implement it they would have eventually fallen back to reference boards or commodity parts in a slightly larger size, and probably just had the hardware clock down when overheated due to the badly designed heat sink, so I think they could have delivered. There are successful companies out there that rely on marketing gimmicks, like Bose.
But it doesn't break because of the "Non-exhaustive patterns in case" that causes the runtime failure? These things look like they can be fixed without touching the case statement.
Isn't government (even in a representative system) supposed to listen to the people? So why complain when they do (by adopting opposition policies that the people want)? [leaving aside the "within the constraints of respecting their rights" part] Why is it bad, per se, that a single party has been in charge without change?

Regarding libel, I'd much rather libel cases, than gag orders (e.g. Australia recently). From the limited amount of time I've looked into the issue, I don't see cases of blantent abuse of libel laws. Of course, the person getting sued and eventually bankrupted will have a major axe to grind (as per the Wikileaks link you link to), but are they a fair third party to take your opinion of the situation from? If 40% of the people disagree with PAP, why don't they help finance the defendant, instead of letting him go bankrupt?

Regarding a press strangehold, today, fewer and fewer people are reading physical papers. Plenty of sites - including Singapore Dissident, linked elsewhere - are available just fine on my home connection (maybe the government classified us as "ang moh" so we get better access?).

I'm not defending PAP for the sake of defending PAP. I'm just finding it hard to reconcile my observations with the criticisms of the country I hear over and over again.
I really really like the simplicity and speed of http://nitrous.io. May not look as pretty as the other ones but it's the fastest and extremely functional.
In my country people do never buy apps either from Apple Store or Google, this isn't because we are not in the buyers list, but because we (the majority) don't have International Credit/Debit card, those cards can be used only in locally.
At least, banks her start to offer International Cards, but you need to request them first.
Corea and Korea

http://chronicle.nytlabs.com/?keyword=korea.corea.korean.cor...

Some history: "Corea" was more common in the English speaking world for the territory we call Korea today. At some point during the Japanese colonial period, as Japan solidified its ownership of the territory, the preferred spelling in English speaking countries became "Korea". ("Corea" is still used in many other languages and neither the Koreans nor the Japanese use Korea or Corea when talking about the peninsula).

There's a conspiracy theory that one of the cultural suppression activities the Japanese colonial government took part in (along with forcible language conversion and various geomanctic engineering efforts like driving thousands of iron poles into the ground at traditional seats of Korean power and moving entrance gates to palaces to break the flow of Chi) was broadcasting out to the world that "Korea" was the preferred spelling since it put Korea after Japan in alphabetized lists of countries in English speaking territories.

More pragmatically, both spellings were used up until the 20th century. But Korea was relatively unknown in the West outside of mild curiosity. The actual popularization of one spelling over the other seems to be the result of writings on Korea by the U.S. missionary and later consul general at the time, Horace Newton Allen, who exclusively used "Korea" when writing about the country.

This spelling was picked up and at the World's Columbian Exhibition in Chicago in 1893, the exhibit listed both spellings as correct, but people were generally told that "Korea" was the preferred spelling. Allen was heavily involved in the planning of the exhibit.

On the graph here, you can see that Korea wasn't a topic at all in the NYTs reporting until directly after the exhibition, which seems to have been successful in bringing attention to the country. But the more familiar "Corea" was used until 1897, when it was pretty much dropped in favor or "Korea".

Interest stayed low until the Korean war after which the amount of reporting on the country steadily increased.
Non-convergence can be fairly serious in epidemiological modeling, and crop up somewhat unexpectedly. Beyond that, it's really easy to produce the trace plots to check it.
> Paying for the products you used was the dominant way of doing business for the last 5000 - 15 years of human history.

Was? It still is. The number of companies that rely solely or primarily on advertising to generate revenue is pretty small compared to those that charge their customers.
How South Korea Enslves Its Students
Like solar power roads for example.. (youtube thunderf00t's videos about solar roads for fun videos where he debunks the entire project)
Sad to see this item getting flagged, effectively out of existence. Now ranked at 242 and sinking.

I don't understand why people would flag this. It's clearly not spam - do people really think this is not appropriate for hackers?
Pump.io is a federated microblogging platform that can be used today. You can sign up for a free account on several servers, like Identi.ca or Microca.st.
First, its an entirely reasonable thing to model a disease under the assumptions of no interventions, as there's a great deal of value in knowing "Where is this headed if we don't do anything", and to find out whether or not the time and resources you're spending are actually having an impact.

Second, while the international response to this is good, putting in money doesn't have a linear return on reduction of disease. Consider HIV or Malaria.
Why Americans See Israel the Way They Do
Never say no: Oli Gardner, Cofounder of Unbounce
But not a member of the House of Lords, though he frequently claims otherwise - http://www.parliament.uk/documents/lords-information-office/...
> null is what allows us to state things like:

> Alice's birth date has not yet been entered in the database (alice.birth_date = null)

Better solved with Maybe (see other references in threads)

> No orders have yet been placed by this customer (customer.order_list = null)

Should be an empty list

> The operation succeeded without any errors (error = null)

The Either data type is a good solution here, because you can prevent accidentally operating on an invalid result if there was an error

> There is no more beer in the fridge (fridge.beer = null)

Should be 0 or an empty list
Man vs. Food
I wonder how much AirBnb gave them to help smooth that transition to a new logo.
Automation Anywhere appears to have posted it first: https://web.archive.org/web/20140625050118/http://www.automa...
For people who have one. What's the battery life been like?
Yeah, this was my thought, too. "Hey, you re-invented the derivative!" Of course, it's a discretized derivative, but whatev's.
Thousands of Mozilla Development Network credentials exposed
This comment left under the article, which is supposedly bullshit, says it all:

"Justin • 16 hours ago
I have played goalkeeper for almost 30 years, and this article makes no sense. We are not randomly guessing which way the kicker is going. For important matches, you're going to study the other team's kickers penalty history. Most players have a direction they feel more confident kicking to. You pick that direction if the info is available. If not, I always found that even if a kicker was trying to convince me of one direction, his eyes would always give away the true direction right before the kick. Most kickers need to do a visual check of their intended direction right before striking.

I'll tell you what never in 30 years influenced my decision: the direction of the previous kicker."
It is true that Git can be used in a fairly simple way, although it is still significantly more complex than RCS. RCS has the whopping total of nine commands, admittedly with various options and subcommands. $git --help yields a list of twenty-one commonly used commands out of the 148.

However, in practice, Git is being used in rather complex ways that are error prone and often lead to using other commands than the twenty-one "commonly used" Git commands such as git reflog, cherry-pick and others not in the "commonly used" list.

I have seen people combine a large number of changes into a single commit using Git's interactive rebase. The actual history remains in a local "private" branch on someone's computer. If it later turns out there was a bug introduced in this rebased mega-commit, it may be impossible to find the actual history and localize the actual change that caused the problem.

Even with access to the local repository, the actual changes may be found only in a feature or fix side branch with a cryptic name, one of hundreds generated using the lightweight branching in Git. There is no simple linear history of the changes with rebasing.

git reflog, in principle, gives a complete history but it is a confusing log of everything done and the information stored in it has an expiration time, which defaults to 90 days.

--expire=<time>

Entries older than this time are pruned. Without the option it is taken from configuration gc.reflogExpire, which in turn defaults to 90 days. --expire=all prunes entries regardless of their age; --expire=never turns off pruning of reachable entries (but see --expire-unreachable).

The obvious question from a usability perspective is: if twenty-one commands are all you really need, why confuse users with 148?

Actually, I got an astonishing 165 git commands using

$ git help -a

with Git version 1.7.9 on Cygwin

versus nine (9) RCS commands.

Bit by Git
User Test findings of Virgin redesign [pdf]
And its opposite, noobstories:
https://news.ycombinator.com/noobstories
Eh, not necessarily. I have an iOS 7 iPhone with a PIN and Find my iPhone; it has no resale value without my AppleID password, which is necessary to wipe the device. My credit card is a useless piece of plastic the moment I get to a phone and have it disabled. There is really no incentive to rob me on the street unless I'm carrying my laptop, but I'm pretty conservative about where/when I do that.

We can certainly lower the rewards for street robbery while keeping the risks high; Apple took a pretty major step already.
Jfxr: A browser tool to create sound effects for games
Solution to problems that occur in schools nationwide