skysight-inc/HackerNews huggingface dataset:
> I think the project could be defined as 'the civilizing of Afghanistan". Reduce the chance of it nurturing terrorism, helping calm relations between neighbors, reducing the rates of violence.

Awesome! Sounds like a full-fleshed plan to me.
Oh indeed. Manage to kill off your graphics driver and be unlucky enough that Windows reverts to VESA.

Or, alternately, have some stupid game change to other color depths (I'm looking at you UT), switch via Alt-Tab and kaboom.
no need for passport for domestic flights.
Nest, being owned by Google, probably have the best chance of running a secure infrastructure.

The other companies involved in home automation? Not so much. The kit will probably be about as secure as most SCADA systems - and that's going to have some serious consequences one day.
Thanks!

A blow-me-down tutorial (or better yet, video with updating live REPL) is definitely on the cards.
But you do need the Nest service for the "home automation" part, such as changing the temperature. (i.e. They're worried that if Nest gets shut down by Google, then it will stop working since the API isn't self-hosted by the thermostat itself.)
So in conclusion, it's not a systems programming language.

I think we got that.

So to break it down, and this is how I understand it as a user, it's a collection of algorithms, Lego bricks of math and a library of data sources glued together with a functional REPL that is semantically represented as a notebook.

Can you stick that on the web site somewhere without the millions of bullet points, marketoid spew and weaseling.
How Aaron Levie and his childhood friends built a $2 billion business
He was found a year later not decades later.

To be clear though: I was talking commercial operations which generally operate above the radar plane. I'm not even sure how/if Fosset's plane would appear on radar as he had no ADS and he didn't file a flight plan which means he was in class G or possibly E airspace on a VFR mission (very low altitude).
Try this instead, for just one place to start from concerning the question of why it might be a good idea to spread democracy.

https://en.wikipedia.org/wiki/Democratic_peace_theory
$37k is just an expression of interest, and does not constitute anticipated future payments.
"Snowden, whom he described as lacking the credentials to authoritatively speak on issues pertaining to "privacy, surveillance, and online monitoring.""

.... wow. I can't believe the gall of him to seriously say that. Of all the people on this planet, Snowden fits that criteria best.

The congressman clearly isn't in Kansas any more on this one.
But do they really need to "operate" under these harsh conditions? They need to preserve the recorded data (which AFAIK with a suitable magnetic storage requires no processing power and no energy, just ability to stay mechanically together) and to do something to be found - like send GPS coordinates out on exceptional event and/or a loud radio ping that can be located by search teams after the crash. That shouldn't be that hard to do? Or am I missing something here?
"The Programming Cloud is specifically focused around workflows and features that programmers are likely to want and need." - that sounds like an awful marketing speak to me. What do you actually MEAN?
Did Newsweek Uncover the Wrong Bitcoin Founder?
South Korea, Japan, France, Germany - all occupied by American Imperialism and slaving away under its exploitative boot heel to this day!

Truly there has been no crueler empire in history.
You can simply click 'Sample' en 'Run' the sample script
More examples will be added
Ask HN: why are you staying up so late?
What makes you staying up so late? Hacking on cool side project? Reading random tech news? I am curious what makes hackers (or you) staying up so late.
We all know that's not your Facebook profile. Now turn off the computer and go outside before you do yourself any harm.
yeah,like Afghan soldiers are going to attack USA at its borders with tanks and fighter aircrafts... they did not give a f. about America until USA came to invade them.
KitKat giving you battery drain problems? Uninstall Skype, says Google
I'm really happy when I see bigger fonts promoted. I zoom in on most pages no matter if I'm on my big monitor on my phone.
> I have never seen the US even try define how victory over al-Qaeda would look like.

"In accordance to the principles of Doublethink, it does not matter if the war is not real, or when it is, that victory is not possible. The war is not meant to be won. It is meant to be continuous."
Wello – Health tracker in an iPhone case
It is secure against man in the middle attacks, but still if the password database is leaked, then the pain text passwords are most likely also leaked and you have to tell your users to change their password everywhere where they have used the same or a similar password.
extended regexes with comments (aka /x) should be the default and enforced behaviour in all newly designed languages.

Sadly, the only one that does is perl6.
If you actually read the link you mentioned, Internet connectivity to Nest (Google) service _is_ required to make any changes (control) remotely. Why would people buy a $250 to use as a regular thermostat?

I'm not opposed to Internet connectivity per se but the external (Nest/Firebase/Google) services requirement for remotely controlling and/or automation of the devices.

The only appeal of Nest to a hacker is its industrial design, IMO. Apparently its UX is not that great (humidity display fail) either, while an $80 z-wave thermostat is much more usable/flexible.
> To put it simply, the information that, say, your spouse or mother would know should not be enough to get credit in your name, bill expensive services to you or gain access to your accounts.

Agreed. I hear too many stories of ex-wifes opening up credit cards in their husbands' name when going through divorce proceedings. Second to that, I hear quite a few stories of deadbeat parents opening credit cards in their children's name (once they turn 18) and racking up massive debt without even telling them about it.
Afghanistan,Iraq,Lybia, clearly successfull democracies !
See previous discussion at https://news.ycombinator.com/item?id=7359519 (pointing to a 7 March copy of this article which was un-published).
Los 3 secretos de un corredor de apuestas
That sentence is still present in today's published version of this article, http://www.theguardian.com/cities/2014/mar/10/slow-death-of-... .
No, cruelty is reserved for unwilling countries (Irak, Afghanistan ...).

The good, obedient states are rewarded and shown as examples as you do in your comment (I'm French btw).

edit : maybe it's not apparent in my comments, but I have nothing against Americans (or any other people for that matter). I criticize the elites, not the "normal" people.
How it is possible that the most voted comment has not read the article, or if it did, it didn't understand a single word?

The article is actually about philosophy of science: not against scientific understanding, but making questions one step forward, trying to understand the relationship between science and reality.
But what if 2.jpg doesn't exist? Or is a trivially small file?

The advantage of the querystring-method is that you can just find one suitable (i.e. huge) file and force Google to pull it down many times.
Helicopter Landing On Ship In Rough Sea
Ask HN: Has InterviewStreet worked for anyone here?
I just found out about InterviewStreet, and they claim that successful completion of programming challenges earns you an interview at a few companies (including Facebook). Has this actually worked out for anyone? What stops someone from solving the questions ahead of time on a separate account to bypass the timer and put honest candidates at a disadvantage?
You're asking the user to cut and paste a URL... it's still too hard.

The one we use, when we need to, is this: http://supportdetails.com/

All they have to do is put a recipient email address in the top, and hit "send details", and we receive an email letting us know what they're using.

You can even pre-populate the form:

http://supportdetails.com/?recipient=your@email.com

http://supportdetails.com/?sender_name=Jessica&sender=email@...

Making it a single click function.

Although I agree with other comments in this thread, that this is something your app should log, there are scenarios in which this type of tool is really useful. Namely: Registration/Sign-in errors, in which it's going to be extremely difficult to identify from log files which tuple relates to the user having issues.
"Pompeo, R-Kan., said he was "deeply troubled" by the scheduled video appearance of Snowden" - yeah I'm sure he can't sleep at night.

Besides, don't US politicians at some point vow to protect freedom of speech?
I had a very early moth (before they put foils on them) which was still statically unstable. Inland waters with unpredictable winds meant you could go from strong wind to nothing almost instantly and with very little indication it was going to happen.

I remember spending a lot of time in the water...
Stupid me, I thought they were going in to liberate. All this time they were a-conquerin'
Or a molten core: one idea I was messing around with for a boxel game I never found the time to make.
No. I want to keep the existing systems and add another system that's sufficiently cheap that it it can have a 95% failure rate and still be economical.

I mean, here we are after 3 days and none of the surface vessels can find the possibly-debris stuff seen from the air earlier today. I don't have a design for a foolproof system and am under no illusions that the existing 'black boxes' could be easily replaced, but the existence of commodity-cheap sensors, processing, and communications technology mean we can afford massive redundancy.
probably wiping their asses with it as we speak.
No. This is like if I witnessed the police commissioner bludgeoning someone to death with a diamond-encrusted poker, took the bloodied murder weapon as evidence to show to media, and was then accused of being a jewel thief who should face his crime.
Nest is reinventing home automation badly, IMO.

You can already do all that and more with plethora of Z-Wave devices with Vera* without any external services.
This is an interesting discussion, but no one has mentioned the physical aspect of trading card games.

When you purchase a pack of cards, you now own them; you can hold them in your hands, arrange them in binders, sell them on to someone else, etc.

With free to play games, you buy some gems or coins and then spend them in the game and they are gone! You can't sell them on, you cannot take them out again later and look at them. It feels more like burning money than buying something.
This is not as clear cut as you would like it to be. Remember "Plame affair"? Compare motivation behind actions of leakers, measurable damage to identifiable people, importance of leak in the eyes of public, political significance of leak. And next compare what has happened to Libby to what can happen to Snowden. And tell once again that Snowden is not persecuted because he is an enemy.
Speaking as a Haskell user:

Maybe chaining is just sequencing functions against results with bind.

Lifting is a general concept that is applicable to functors, applicatives, monads, etc.

--> signifies the result of the computation

fmap (+1) [0, 1, 2] --> [1, 2, 3]
map (+1) [0, 1, 2] --> [1, 2, 3]
fmap (+1) (Just 2) --> Just 3

In the above examples, fmap (from the Functor typeclass, polymorphic) and map (monomorphic function for mapping functions over lists) are lifting the functions they are passed.

There's a little bit of regrettable redundancy in Haskell's typeclasses, fmap, liftA, and liftM (functor, applicative, monad) all the same thing.

But liftM, while relevant to monads, isn't >>=, which is bind. bind being what's relevant to Maybe chaining (just using >>= against Maybe values).
Yep, this is the kind of thing I want too. A few scenarios (assuming that one person is living in a particular place):

I want the thermostat (with knowledge of outside temperature and winds) to know that my HVAC can increase the temperature by, say, 1C every 30 minutes.

Based on what it knows about my location and biometrics, it can drop to the minimum to prevent the pipes from freezing or other problems when I'm gone, and know when my classes/work ends and commute time to turn on the system at just the right time to be pleasant for my arrival. Maybe detect/realize that I'm in a, or will be in a, traffic jam, and hold off accordingly.

Integrate it with my alarm clock to cool the bedroom by a few C overnight, but warm the place up so I'm not chilled when I get out from under the blankets.

Detect that I've gotten out of bed in the middle of the night, and start blasting heat into the bathroom.
Fantastic little app :)
You can block the user agent, I believe "Feedfetcher-google" should work.
What I find really interesting is how boxel games immediately get a lot of attention: it effectively comes down to a lot of a lot of solid material you get to dig through (and place). Crafting etc. is honestly flavor because Minecraft's creative mode does as well as its survival mode. Combine that with the notion of wide expanses of nothing (space) and people really start paying attention. Add a treadmill (RPG) to that and you get even more attention.

I wonder what psychology is behind the seemingly guaranteed success of these games - even if it's only initial (pre-order) success; people seem to naturally want to play around with this type of stuff.
Ask HN: Are there any modern alternatives to VIM and Emacs
Hi folks,

I would like to know are there any good and modern alternatives to the most popular terminal-based editors such as VIM and Emacs?

Thing that I'm looking for is something like Sublime Text. So keybindings should be more or less familiar for the Windows/Mac users(i.e. copypaste through the cmd+c/cmd-v), but I want to run it in terminal/unix environment. This is very important for me.

I know about Nano, but set of code manipulation features is too poor. I want a rich set of "advanced" features like we have in Vim/Emacs.

Any suggestions?
They can and they do. Here are some ways:

1. Management makes a share issuance, diluting all existing shareholders by X%. Management then turns around and distributes shares amongst themselves. Something like this can happen if management have majority control and can get approval from their VCs/preferred shareholders (who have reserved matters that can block share issuances). Often, the VC can work with management to get something like this done.

(A more complicated version of this happened with the Zuckerberg/Saverin saga).

2. An option pool--say 10%--is issued as part of an investment round. This dilutes all shareholders by 10%. The Board then distributes the option pool to key management. There's nothing a minority shareholder can do.
They should have killed the Snowden interview anyway because of all the stuff going on with Russia and Ukraine right now. Snowden's voluntary exile to Russia looks even worse to the general public and will overshadow anything he actually says during the interview.
I worked at Wolfram about twenty years ago, where I met a guy named Dan who was (at the time) quietly hacking on a side project to put Mathematica on the web. Eventually this project became "The Integrator" (and surprisingly, seems to live on as integrals.com).

At first, The Integrator only returned results in mma syntax. If you entered the expression `Cos[x]`, it would return - literally - `Sin[x]`. This was neat and all, but once you had a result with exponentiation or division or what not, you'd want a prettier result. For example, if you asked for the integral of `Sin[x^2]`, it would spit out `Sqrt[Pi/2]FresnelS[Sqrt[2/Pi]x]`, which, you know, ew.

Twenty years ago, of course, there was no MathML - there wasn't even a working group. So in order to provide a prettier result, he returned a GIF with the Math-rendered output. Because this was back when we were still using client-side imagemaps and some browsers still didn't support inline jpegs. So this quick hack was totally reasonable.

Since The Integrator's compute backend was actually on his desk, he put a caching layer in front of the Mathematica instance. It was a trivial one, so if you asked for the integral of Sin[x], it would just look for Sin[x].gif in the cache directory and if that existed, it wouldn't send the query of to the Mathematica backend.

Unsurprisingly, this led to us kids just stuffing a bunch of crazy GIFs into the cache directory. Dan started it - if you tried to integrate his initials, it would return a picture of him. After that, though, we piled on and eventually you could integrate all our names, as well as a bunch of internal jokes.

I worked on The Integrator after Dan left, and of course I kept the easter eggs, but at some point it was handed off to another team who tried to create some more general web front-end to Mathematica. This team sadly lacked both Dan's cleverness and his sense of humor, so not only was the software slow and clunky, but it also lacked the easter eggs.

I'm always surprised that Wolfram Alpha - twenty years later - still renders its results and returns a GIF. You'd think that we could do a little bit better by now. I just hope that somewhere, one of the people working way too many hours to keep that site online has slid some easter eggs in.
Thanks! (In my naive ways, I would have guessed that perhaps speaking rights were restricted, but that everyone was allowed to read and listen.)

The ANSI/ISO way seems like the opposite of what you'd want in a (open) programming language, doesn't it?
Kenya: KNH Doctors in Cervical Cancer Cure Breakthrough
That, and length extension attacks (https://en.wikipedia.org/wiki/Length_extension_attack).
That's far too invasive.

- I could be allergic to certain smells.

- With traditional ads, I can cover my ears/eyes or turn away the channel, turn down the volume. All that's not easy with the nose.

- The smell persists beyond your control.

- Last but not the least, I don't think anyone would want ads for metamucil or norit...
My God, the keyboard courage runs thick on this thread.
Design for touch
I read mostly as a struggle against government imposed censorship. If government doesn't want to talk about something it should be talked about (very narrow NS exceptions allowed)
So ... what is it you find lacking in Emacs or Vim? Perhaps if you tell us that we might be able to help.
but then the terrorists would have won, etc, etc.

also in the end it all boils down to someone taking money from the spy, and as far as i know every country already has some IRS keeping tab on the entire population...
Sounds interesting. Hopefully they will release more technical information about what makes it "archival" quality. Seems like a normal Blu-ray at first glance.
You seem to believe that a person who believes robbing is okay in general, and a person who believes that they themselves should perform a particular robbery have no differences in opinion.
no.

really, just tested the latest batch of editors. none came even close to replace vim.

just learn to use shortcuts customization.
Sonneries mobiles de qualité en téléchargement sur m.Mplay3  
Une grande variété de sonneries mobiles est actuellement disponible en téléchargement légal sur m.Mplay3. Faites-vous plaisir et bonne découverte.
Rendering large terrains
convenient. just removed the entrenched competitor app for one of their services.
The entirety of C++ initialization rules has become a byzantine mess of epic proportions and any change is bound to add another level of combinatorial explosion. There's just no way out of it.

I can tell you how C++ will die. It will die because all C++ programmers will soon be dead for one simple reason: Our brains are incapable of knowing C++ well enough to write safe C++ code and knowing something else at the same time.

Knowing all the rules and exceptions to those rules in C++ will overwhelm the neocortex of C++ programmers and start to usurp older parts of the brain to the point where heart rate and body temperature get out of control and they/we all die an agonizing death.

As a C++ programmer I am struggling right now trying to leave this path to seemingly inevitable doom. But the insane complexity of C++ has this addictive allure of making me feel so incredibly competent and important, a bearer of secret knowledge that underpins the world's most important systems.
I actually didn't work with Emacs, and I tried Vim a little. The major reason why I gave up is learning curve. Keybindings(especially in Emacs) are too unfimiliar for windows/mac user like me. And I don't think this is a good idea to remap all shortcuts(I'm not a big fan of customization).
What Are Your GCC Flags?
POliticians don't only say things for money. There are plenty of voters out there who like to be pandered to, and with a sense of crisis in the air over Ukraine this is an easy way for a Republican politician to appear tough in contrast to the President.
Guido can release python 7, and still minority will use it, since many libs (https://python3wos.appspot.com/) are not ported to python 3.
Sanitizing input with regex considered harmful
Lovely. Armies A1 and A2 destroying each other with confirmation messages.
The focus of a lot of the coverage of this recent string of high-profile ID thefts has been the security of the companies in question, but I think the real fundamental problem of our system is that in order to prove your identity to someone you have to give them enough information that they can impersonate you to a third party. Information like SSN, address, mother's maiden name, driver's license number, etc. is simultaneously proof of identity and "private".

Credit card numbers and checking accounts have basically the same flaw. All a merchant needs to pull money out of your account is the account number and some pretty basic additional information. If you write someone a check for a penny, you've given them enough info to drain the account.

What we really need is a complete overhaul of how we prove identity. Identities should be linked to public-key/private-key pairs so you can prove you are who you say you are by signing a nonce, and thus others won't be able to impersonate you just by hacking a third party. Similarly, monetary transactions should be signed by both the sender and the recipient and include amount, date, memo, etc.. (Seriously, who initially thought that recipient-initiated transactions with no sender involvement wasn't going to be abused?)
Thank you for such detailed and well written material, pheelicks! I had been looking it for a long time. Bookmarked.
Oh dear. Scott Meyers calls himself "just a grunt on the ground". I think we're all doomed.
That relation ties together entropy, a previously macroscopic quantity, and discrete, countable energy states, first introduced via quantum mechanics.
(To clarify, Scott is one of my heroes from my days following the ever-evolving C++ standard. Anything that leaves him feeling like a "grunt" is, to a fair approximation, hairier than Chewbacca.)
mind boggles

A word is a word is a word - you can make it your pet peeve to redefine common terms to mean something that better fits your ideology, that still doesn't make it relevant to us here living in the real world. Whatever you call it, people impersonating themselves as other people are a real and tangible threat to those being impersonated.

You can go blame others and make grandiose accusations of 'incompetence', 'the system' ('holding us down' too, presumably rollseyes ), 'harassment', 'extortion', 'tortious interference' - that just shows you have no idea of the law, sociology, history or the realities of emerging behavior in human relations.

What is your point, exactly? Are you saying the problem will go away if only everybody except the criminals doing the identify theft would... I don't know, what exactly?