skysight-inc/HackerNews huggingface dataset:
You are totally correct. Maybe I'll fix this, as some people might play without sound enabled.
Current discussion: https://news.ycombinator.com/item?id=7693262 (150 points, 8 hours ago, 160 comments)
> C++ is impossible to parse!

Bold, claim, considering all the C++ parsers out there that work just fine... The fact that you need to code a parser by hand doesn't mean that the language is impossible to parse at all. And even for an easier to parse language, if you want to write a parser that spits error messages that make any sense to most users, and that may use some heuristics to guess the programmer's intend in order to give even better error messages, you will have to code it by hand anyway.
It's getting more and more common these days that whenever I talk to people about travel, the US is completely off their list.

As people in the United States wake up on a Sunday morning in their time zones, I guess it falls on me to say that this all depends on whom you talk to. I know lots of people who desire to visit the United States. The United States is still second only to France as the country most visited by tourists from other countries.[1] That's remarkable to me because France has land borders with several other countries, all countries with large populations, while the United States mostly has to be reached by transoceanic air travel.

The original post says, "I have heard that if I have been to some countries I might be refused to enter the US." What it does not say is, "I have checked the United States laws and have checked actual practice of what happens at the United States border, to see how that compares with border control in other countries." And then there are a couple of anecdotes in the few responses. This is basically not a high-quality submission for Hacker News, as it doesn't promote the thoughtful, informed discussion that should characterize our community here.

The typical set of Hacker News comments about the United States from people who have never been to the United States seems to mingle two points of view. On the one hand, the United States is criticized as an undesirable place that no one would want to live in or even visit, given a choice. On the other hand, the United States is criticized as an inhospitable place that doesn't give free, unrestricted entry to anyone who wants to work or visit or settle in the United States. (Criticisms of United States immigration policy on Hacker News mostly take the form of saying that the United States should let in more immigrants like, um, the people who participate on Hacker News.) A fable attributed to the Greek author Aesop[2] may explain how these seemingly contrary opinions of the United States can exist in the mind of the same person.

[1] http://www.smh.com.au/travel/travel-news/the-worlds-most-pop...

http://time.com/10296/most-popular-countries-to-visit-map/

https://en.wikipedia.org/wiki/World_Tourism_rankings

(Some sources disagree on the exact ranking, but every source I checked puts France first and puts the United States in the top five.)

[2] http://www.bartleby.com/17/1/31.html
unless the global maximum is much higher, how much can be
benefit from moving from the local max ?

in some way shape or form, I hear argument over and over - and from intelligent people.

We see this kind of risk-averse behavior in social situations where nobody wants to take the "hit" of moving from their current strategy.

or there many have been a time, when we identified the maximum and the entire landscape has changed around them, so the strategy is no longer optimal. this is another real situation.

also, "simulated annealing" seems to be a bit of a misnomer for this type of mixed strategy.
Up and Running with Espresso: Rapid web development in the browser
Also, you would not be "jailed or killed for no reason" in Saudi Arabia -- it's just that some of the reasons you would be jailed are a bit unusual (adultery, alcohol, proselytizing).

https://en.wikivoyage.org/wiki/Saudi_Arabia#Respect
Probably not, but who would have access to this kill switch/phone bricker?

The customer with a private key? (...with no way it could be activated by the phone manufacture/service provider/legally forced by governments.)

Probably not, because it's not user friendly enough, or some excuse. It's a problem that needs solving so we actually own and control our property.
A departure card like the type you're mentioning is pretty common, but isn't instead of a passport stamp.
Bloods and Crips? How are the Bloods and Crips a reason to avoid travel to the US?
Mmm. True of some of the neighborhoods I've been in.
Japan has been doing this for about half a decade. Hong Kong started this practice at the same time as Israel.

Probably the same technology provider doing a global roll out based on country size.
Search here:
http://www.golangprojects.com/
You're shaking it too hard.
You want to give it percussive maintenance, not kick it down a flight of stairs.
Why do dead whales explode?
That is certainly something worth considering. We could validate PGP signatures.
Many people see them sitting in a similar space, but all things considered Rust's goal is safety, well Nimrod is more interested in metaprogramming and other features that take precedence over safety.

All in all, I have looked into Nimrod a few times. It is very, very cool. One guy is even using the Obj-C bridge to run a core of an iOS app on it. You could theoretically now write a web API, an Android app core (not the GUI), and an iOS app core (not the GUI), and have them running all off the same logic written in Nimrod.

I highly recommend checking out the forum and see the caliber of stuff these guys are putting out. Very impressive stuff.

http://forum.nimrod-lang.org/
I use a different method for this: I get a dialog that asks me Allow/Deny every time the key is being used. All it requires is two shell scripts. It is a modification of a method I found on GitHub. Perhaps I should put these scripts out there and share them with HN next week when I am back at the office. That way the tutorial is about 4 times shorter and all the components are open source.
Liar Liar African bird uses elaborate ruse to steal food
Kids To Get the Best CS Teachers $15/Hr Can Buy
The Nimrod forum (http://forum.nimrod-lang.org) uses Jester in production and so far its working very well.
I don't like it. I like control, and this hides stuff from me.

It's basically telling you: "You don't need to see this, kid. We got it".
Can you explain What was your solution/hack?
So, did you read the article through to the end, because the solution is pretty elegant? Incidentally, the way plants get distributed is somewhat different from the way they distribute parts of themselves.
> I wonder if they weed out duplicate copies of, say, jQuery.

Linguist tries to filter out things like that:

https://github.com/github/linguist/blob/master/lib/linguist/...
May Day – How America tries to tame its history
Rust focuses very much on low/no-overhead memory safety (especially memory safety without a GC), while Nimrod seems to be more focused at more convenient low-level programming, but without quite such a strong push for memory safety and reliable very high performance (e.g. GC is compulsory for safety).

That's not to say that Rust isn't convenient, but the quest for strong memory safety & performance guarantees doesn't come for free: satisfying the borrow checker can get a little tricky at times.

An example of this: Rust's type system is designed to allow things like building a safe shared memory abstraction[1], that is, a shared memory type that enforces non-thread-safe data can't be shared without being inside a mutex. My reading of the Nimrod FAQ[2] ("An unsafe shared memory heap is also provided") implies this isn't (as easily) possible in Nimrod.

(Disclaimer: I know a lot of Rust, but very little Nimrod.)

[1]: http://static.rust-lang.org/doc/master/sync/struct.Arc.html

[2]: http://nimrod-lang.org/question.html
Seeing less comments. It appears people are quickly running out of good ideas.
People who lost their passport due to Israel or Arab country concerns are idiots. The warnings from travelers, both from the past and probably traveling with you or you would bump into are numerous. Israel is very well aware of this, and they give you the opportunity to attach your visa to a piece of paper that you can remove after you departure from Israel. We would have the Egyptians specifically stamp this paper, and then you could throw it away.

Source: Me, traveled to Iran and Israel on the same passport, along with Egypt, Lebanon, and Jordan
The biggest problem with find my Mac is that it has to be connected to the internet to work. I'm guessing people selling on the black market are smart enough to make sure that doesn't happen.

I think a better solution is something like Tile is doing. http://www.thetileapp.com. Install a low powered Bluetooth beacon on every device and use the power crowd source in order to find that device. The two biggest things that would have to happen for it to work would be
1. A major manufacturer like apple would have to install it on every device in order build up a big enough user base to make it feasible
2. The ability to find the lost device would have to require no user input. Basically the person that lost the device would mark it as lost and then every iPhone would now know that and in the background would look for that Bluetooth device and if found would automatically send that location back to the user who lost their device.

It has some privacy concerns but I think this would be an effective way to find lost devices.
Google Glass’s Individual Parts Only Cost Around $80
I think it depends what you mean by "solved" and your perspective on AI in general. If you think that human brains operate on the same rules as everything else in the universe, then it is theoretically "solved" in that we know the path to get there but just haven't been able to practically do it (yet).
Does anyone have any interesting Bitcoin ideas? I have a good Bitcoin domain but I'm not sure what to do with it.
Chinese Number Websites
The recommendations are utter horseshit. Again, empiricism and anecdotes don't always line up, but I have visited many of the countries of the Arab world, lived in one and currently live in another, visited Israel, visited Iran (not the Middle East, no matter what you think), and the latter two on the same passport.

Hint, I am not European. Every time I landed in the US, I expected a shit storm, and the Iran stamp was a whole page on the last page of my passport. Never have I been asked more than one question by an ICE officer.

I also married into an A-rab family, and no one has ever given any of us trouble. I know bias is subjective, but the numbers of Americans, specifically US servicemen and contractors, is so large no one will question an American who has visited these countries.
I sort of treat ability and propensity to work hard and persistence to be skills. Ones I almost completely lack.
cycling through 1936 - 1945 (year by year) is pretty interesting.
Ignorance.

Ignorance of how they work and how unlikely they are to affect your life. (I'm sure many Americans are similarly ignorant about some "dangerous" group in another geographic location which is in fact dangerous but unlikely to be encountered.)
Calculating the length of an Internet year
I remember Fred from http://11.rupy.eu/, he was talking about... Programmer Anarchy.

It sounded to me fresh and liberating, but I kind of suspected that it was more a honeypot for hackers than something that was really used.

And as at the after-party Fred was surrounded by a lot of people asking all kinds of questions not related to the topic of his speech, I didn't really manage to figure out what was the deal.

And frankly I didn't check it afterwards. Until now.
According to on one the engineers I shared an office with at Dar Al Handasha (a huge arab consulting engineering partner ship) is what you do if you travel widely in the middle east.
This. I've sold a lot of second hand thinkpads over the years and no one ever asks where I got them from (usually stock auctions - who can pass up 20x T400s for £20 each with a market value of £140+.
So there's no problem with writing everything in shell script?
I proposed a similar thing but it got buried in the comments below. Here it is:

Devices like Tile, Trackr are available in the market but they are easily recognizable and thieves will detach them. If they can't be inbuilt due to any reason, there are two alternatives to make it work:

1) A paper thin version of above mentioned devices that can be pasted on laptop OR -
2) Replacing a keyboard key with any of the above devices

The hardware will do two things: 1) It will tell the location of the device and 2) It will 'factory reset' the device so that the data doesn't fall into wrong hands.

What do you think?
I need an option to disable this feature (for web developers), or show me the path after the host:port at least.
I would not mention this ever on forums. You could at most have two passports at the same time from the US for reasons you describe, and the paperwork is very specific about surrendering the second the moment you are done with it.

So it is quite likely you were bending the rules, and I would not go around mentioning that. I mean you are talking about identity fraud at the fed level. The paperwork would have reminded you penalties for that are not so fun. I filled out some myself once.

I tried to get the second, not for Yemen but somewhere else not too far away. I told the US Embassy, and they told me to just use the one and it was not worth the subsequent hassle to apply for a second (or third in your case if that is truly possible). The stigma of where I was going was bad, but not enough they said to waste my time with an additional password.
https://github.com/topdownburglar/globalu/blob/master/README...
It is interesting that the fact of labor day is not recognized by the u.s government. Even countries like Mexico, do have it.
The idea of a kill switch is great if it can only be controlled by the owner of the device. (The person that purchased it to use.) But we have not solved that problem yet.

We are still using short passwords instead of strong private keys; we give unencrypted access of our data to cloud providers to make things easier for us.
How can ultimate authority/access of our property be made user friendly enough for joe user/sixpack?
A mentor can be helpful to give you direction on where to focus your auto-didactic abilities.

I switched careers into software development several years ago thanks to the mentoring of several individuals.

Going to meetups in your area is one of the first places to look, and taking online or in-person courses are also helpful to find other like-minded people.

One thing to consider is that there need not be a formal "mentor-protege" relationship; you can get a lot of great one-off type advice from all kinds of people you come across.
Does it worth investing time to study Quantitative Finance?
It's instead of the passport stamp in Israel [0]. Otherwise you'd have problems getting into Jordan for example. (Other countries according to wikipedia: Iran, Kuwait, Lebanon, Libya, Saudi Arabia, Sudan, Syria and Yemen).

Source: My own experience

[0] https://www.lonelyplanet.com/thorntree/forums/middle-east/to...
I would really like a specific account to post one of these threads once per month.

I am surprised that people post them themselves, and don't appear to be checking for other threads posted the same day.
2010-2011 appears to be the "year of the great inflection point"
This is a duplicate thread.
1500 Year Old Bible Claims Jesus Christ Was Not Crucified
Unfortunately Amazon is the only cloud provider out there with a robust ACL system.

Is there an open industry standard for implementing ACL policies flexibly like the one Amazon has?
https://chrome.google.com/webstore/detail/hacker-news-enhanc...

It does the job (and some more nice features) pretty well.
Not sure why you got down voted for that. I did this not when stuff was stolen but when expensive stuff packed in. I now tend to use budget devices (Moto G and old thinkpad).

If you can't afford to replace it, you probably shouldn't have bought it.
I hold a non-immigrant visa for the US, and I've wondered many times if visiting Cuba was a good idea or if it could lead to losing the visa. It doesn't seem to be mentioned in the list. Does anyone have any experience?
I think the biggest problem is getting the user base. The location of the device is an afterthought to me. It needs to be a standard in the tech world in order for the crowd sourcing idea to work.
Embedded in there is this link:

http://www.huffingtonpost.com/niels-gerson-lohman/us-border-...

That's quite a read. What a terrible story.
32x32 pixels Flappy Bird game
Or even if it'd only output the translate command line. Like a better apropos. A nice idea for sure.
Is it generic enough for blockchain usage? I've got a blockchain idea, but it's not specific to bitcoin.
- a reality show with gay men and one straight man.
- for april fool's day, HN karma arrows are inverted.
- frozen food with QR code of recipe (how long to microwave at what level), and microwaves that can read those and automatically cook.
- google gives you a badge for searching a term for the first time.
- social sharing aspect of cool searches you do. badges and levels.
- online search master consultancy that searches you stuff.
- Ask HN, Show HN, .. etc get different CSS color, font.
- news site where everything is paid. but you can earn their virtual currency by joining, visiting, watching ads... etc.
- mongodb-esque json crap db with joins and relationships and graph search.
- edge side include for json elements.
- can make a voice note on longitude and latitude so when others are around, they can hear the note.
- jot melody online or in a mobile app.
- jot lyrics.
- $1 online service where professional musicians or computers play your jotted melody (10 second max, probably with a good arrangement). melody rendering service.
- personal wayback machine. click a bookmarklet, the page is captured and saved for your personal index, search, retrieval. of course you can modify/annotate the retrieved page and possibly republish.
- http://www.json-generator.com/ but contents come from crawling actual web content (maybe from google).
- gravatar but using short video (gfycat, vine...).
- responsive book format (technical books with code listing actually render well on kindle..).
- responsive content web site. given where you are, when it is, who you are, what are capabilities of your device... etc provides you different contents. for example, at nights, gives you more adult pics. during work hours, gives you more work-related contents.
- dating web site where you publish dates afterwards, including location, time, budget.... tells you who gets the most expensive free meal. who spends the most money...
- search engine that only indexes disallowed resources.
- "RESTful" api with millions of verbs (not only GET, POST, ...). makes linguistic analysis of the verbs and the requested resources. does some magic.
- FedEx store right at security checkpoint. Toothpastes are returned to your home via trustworthy FedEx.
- mentorship service / travel mate site where you can find other mentors , entreprenuers to share ideas, pair coding brogrammers... etc on plane.
- submarine-spaceship that is actually a sumbarine and then it files all the way into the mars. a travel package that includes underwater, outer space,... etc.
- a web page that when requested by google bot, submits itself to google for crawl.
I'll assert that a majority of C programmers do not understand unsigned types and misuse them.

It's quite common to end up needing to use both signed and unsigned types in the same expression and to end up invoking undefined behaviour trying to protect yourself. C overflow semantics (i.e. undefined) in particular.

Signed types should be the default, and overflow should be defined as wrapping two's complement. There's very good reasons why C# and Java chose these defaults.

The places where unsigned numbers are justified are incredibly rare: bitwise operations, and working with >2GB heap sizes on 32-bit machines. That's about it. In almost every other circumstance, using a signed type (the next size up if the range is inadequate) is better.

Especially pernicious is using something like size_t for things like container entry counts. It's very common to add and subtract with container counts, and very easy to end up inadvertently wrapping or mixing with signed types in common container algorithms.

PS: my experience was deeply coloured while working on the Delphi RTL, making it overflow safe. It was not trivial.

PPS: it was revealing that the comments on the article arguing in favour of unsigned types repeatedly made programming errors and invoked undefined behaviour. That's because unsigned types are misunderstood and misused.
Try not having a job for a year, see what kills you then.
Khan Academy Is Not The Progressive Model You Are Looking For (2011)
The US remains a very popular tourist destination and I'm guessing that many European countries will also look suspiciously at your passport if you've recently travelled to countries embroiled in conflict such as Syria, Iraq or Afghanistan.

I'd like to visit the US, but I don't like the idea of having my fingerprints taken and stored for 75 years by US authorities. Of course, it's completely within the right of US authorities to decide the rules for entry into their country and I suspect it deters a very small number of people. Fingerprints are also taken by EU countries that issue biometric passports: http://euobserver.com/news/121816
An existing solution that solves some of the issues, like searching cases, you raised: Indian Kanoon [1]

[1] http://indiankanoon.org/
Do you have a contact email address? You don't have one listed in your profile information. (Please contact me by my email address, in my profile, if you want to keep yours off HN).
Something like https://crypto.cat/ ?

Supports multiparty OTR, etc.

Server doesn't see message contents. Ephemeral key exchange via OTR (hence supports perfect forward secrecy), though of course there's always the problem of trusting the fingerprint, i.e. someone (e.g. the server) can just MitM the whole thing.

So ideally, one should verify the OTR fingerprints of the other parties via some secondary channel.

You can also run the server on your own infrastructure.

P.S.

> key exchange can be done with RSA

any particular reason for RSA, and not ECDH key exchange?
The difference now vs then is that if you were a kid who had heard of HP and wrote a letter because you were that interested in computers, there's an extremely high chance that you would be a good employee in some capacity. Today for every single kid with natural curiosity and potential for working in a tech country there are probably more than 100 that want to work at Facebook just because everyone uses it and it sounds like a good job or career stepping stone.
paysto.ru, but seems it Russia only =/
As the article states, this is likely good for the non-tech-savvy people, but what it needs is a button to copy the URL as easily.

If the problem is misleading subdomains, would some kind of a detection and a warning be a better solution to the problem?
U-2 spy plane caused widespread shutdown of U.S. flights
I was studying in the US 2 years ago and during the summer break I went to India to visit my gf who is studying there. During re-entry to the US, I was detained/interrogated for couple of hours.

I believe it is probably due to I am a Muslim and I have Indian immigration stamp in my passport. I even have my I-20 endorsed prior to travelling. Even with I-20 proof, I had to convince the officer that I came to the US for education. I also have friends who are also Muslim, randomly searched/detained at the airport and all of them are students too.

Besides that, I enjoyed my stay in the US. Just the immigration part is PITA.
The design behind Chadder, John McAfee’s new chat app