skysight-inc/HackerNews huggingface dataset:
Is apple.com hacked?
I received an email this morning, the email address seems correct, but the content of the email has links to porn websites, so obviously it is a spam.

The Email address is:
from:	Apple <appleid@id.apple.com>
reply-to:	appleid_cnzh@email.apple.com

I got emails from apple support before when resetting password, the information is:
from:	Apple <appleid@id.apple.com>
reply-to:	do_not_reply@apple.com

Anyone got the same situation?
There's an Orbiter plugin[1] that simulates the rest of the spacecraft. IIRC it can interface with this simulator to get an accurate simulation of the computer.

[1] http://nassp.sourceforge.net/wiki/Main_Page
Is there a list somewhere of all of the basic particle interactions we know of, represented as Feynmann diagrams? My understanding is that there is a small, finite number of them; it would be neat to see them enumerated.
I hate Go for exactly that reason.
Nope, blackmail is when you demand money or other things in return for not divulging information about someone, whereas extortion is obtaining something, especially money, through force or threats, which is what is described here.
Although this specific program is about literally purging stuff it could maybe lead to some thought exercise: Do I really need all these specialized tools? Why? Is there a simpler solution? Why not? Can I create a simpler solution? Can it be scaled? Would the world benefit from it? Etc.
With $1B from a breakup it seems the dominant strategy for Mozilla could be to develop it's own search engine.
This is great, it would have saved us (GitLab) a lot of driving around. It is one of those idea's that are very obvious in hindsight but for sure I didn't think of it.
Thanks for finding that bug!

In a way, Serde itself is all about extracting the metadata of a type and handling validation issues. However this is metadata is currently not exposed to end users. It's something I've thought about doing, but I haven't had a driving use case to help come up with a proper API for it. I don't think it'd be that hard to implement once we actually have a clear idea on what we want.

The code Serde generates though typically optimizes down into nearly the same code as a hand written serializer and deserializer. On my laptop, serde_json [1] serializes a particular micro-benchmark [2] that serializes as fast as a hand rolled serializer (416MB/s vs 414MB/s). In comparison, rapidjson serializes the same structure in 432MB/s. I didn't write a hand written deserializer, but serde_json is comparable to rapidjson (193MB/s vs 182MB/s).

So it may be fast enough that you might be able to just implement whatever you want by just using Serde directly without having to generate parsers.

[1]: https://github.com/serde-rs/json

[2]: https://github.com/serde-rs/json/blob/master/json_tests/benc...

[3]: https://github.com/erickt/rust-serialization-benchmarks/tree...
What are you using? I'm using NoScript, but had to allow reddit.com and redditstatic.com, otherwise "reply" and "edit" buttons do not work. HN works just fine without JS. I find it odd that before allowing redditstatic, NoScript offers to block googleanalytics.com, but after allowing there isn't that option anymore, as if it was somehow being loaded.
Not showing up for a few weeks without telling anyone, after collecting your rather large cheque while your "cofounders" bust their ass is likely to up the sodium content, yes.

https://www.reddit.com/r/todayilearned/comments/d2njs/til_th...

https://plus.google.com/u/0/+AlexisOhanian/posts/HJz9Vd58Wtb
The foremost issue with abstract code generation systems based on DSLs (domain specific languages) often seems to be finding programmers (and project managers) who are willing to invest the time learning the syntax and (often obtuse/opaque) tooling. In this case, aside from the security benefits (6.3/p13), the performance graphs at the end of this paper (NailDNS vs. Bind9; 6.4/p14) should be a great motivator.

That said, relevant quotes affirm this type of approach aligns well with established wisdom:

The benefit of using [a formal specification language] is that it teaches you to think rigorously, to think precisely, and the important point is the precise thinking. So what you need to avoid at all costs is any language that's all syntax and no semantics. - Leslie Lamport

One person's data is another person's program. - Guy L. Steele, Jr.

Representation: Fold knowledge into data so program logic can be stupid and robust. - Eric S. Raymond, The Art of Unix Programming (2003)

Data Design > Code Design

Get your data structures correct first, and the rest of the program will write itself. - David Jones

For 80 percent of all data sets, 95 percent of the information can be seen in a good graph. - William S. Cleveland, Bell Labs

Less than 10 percent of the code has to do with the ostensible purpose of the system; the rest deals with input-output, data validation, data structure maintenance, and other housekeeping. - Mary Shaw, Carnegie-Mellon University

Pike's 4th Rule: Fancy algorithms are buggier than simple ones, and they're much harder to implement. Use simple algorithms as well as simple data structures. - Rob Pike, Notes on C Programming (1989)

Pike's 5th Rule: Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming. - Rob Pike, Notes on C Programming (1989)

... from my fortune clone (|grep data) @ https://github.com/globalcitizen/taoup ; I spoke at Code Generation 2010 (Cambridge, UK) but somewhat controversially for that environment do not support UML.
Safari basically ties with Edge when it comes to HTML5 feature support [0]

Safari (iOS): 65%
Edge: 72%
Safari (macOS): 76%
Chrome (Android): 79%
Firefox: 84%
Chrome (desktop): 87%

Those numbers become much worse when you factor in how long it takes to get rid of old versions of Safari.

[0] (scroll to bottom): http://caniuse.com/#cats=HTML5&compare=ios_saf+9.3
I didn't say that it is okay to discriminate by race for anything, I'm against that.

What I'm saying is that people should be treated fairly instead of using some kind of affirmative action.

If you did a proper verification of income, assets, liabilities and education, you'd likely find that some groups would have to receive worse credit conditions than others.

This doesn't mean that the system is or would be racist, it would strictly evaluate on socio-economic background, not based on race.

What I reject is to handicap one group to make up for the losses that another group generates for a bank by artificially lowering standards for certain groups.

Although this is made with best intentions, it is inherently racist (it presumes that some races are inferior to others - hence the introduction of lower standards), whereas evaluating the way I described would not be racist.

Btw: I'm myself a second-generation minority. If I'd have had the option to navigate through life with some social security autopilot and affirmative action provided by society I would have never made it to the upper strata of society.

You have to understand that expectations for life from where I and many others started were much lower than for most others, so people from this level are much more willing to accept a lower living standard provided for free than working hard for the chance to a higher standard.

From the perspective of upper middle class people these kinds of affirmative action and social benefits might seem like genuinely helping people whereas from my perspective it seems like poison that could have had inhibited my will to work on myself and fight to move upwards in society.
Ask HN: Multiple computers same ssh keys?
If you are using git from two different computers often, do you setup each machine with the SAME ssh key or make two different ones and add the other key to gitlab/hub?
No, but that reaction time to me suggests insulin suppressing the histamine released due to the allergy. Or it could be the concoction provides a mild euphoric effect and it's adrenaline that's offsetting histamine reaction. Either way the short term effect is probably related to sugar and would happen with any sugar in this concentration, the long term effect probably is about the locally sourced honey and pollen desensitizing the reaction to air pollens, where if you used non-local bee products the efficacy would probably be less.
Ah I see. There's two things here: first off, I'm using it in an OSdev context, so I don't expect any allocation to exist, since I haven't actually implemented that yet. And second, I took your comment to mean the language itself, which doesn't lose anything with no_std, but you mean the convenience of the libraries, which makes sense.

By the way, you _can_ reintroduce just those things if you want to. no_std means "don't include std", but you can then require them:

#![feature(alloc)]
#![feature(collections)]
#![no_std]

extern crate alloc;
extern crate collections;

use alloc::boxed::Box;
use alloc::rc::Rc;
use collections::vec::Vec;

pub fn foo() -> Box<i32> {
Box::new(5)
}

pub fn bar() -> Rc<i32> {
Rc::new(5)
}

pub fn baz() -> Vec<i32> {
let mut v = Vec::new();

v.push(5);

v
}

Of course, as you can see, the facade crates are largely not stable, so doing this on _stable_ rust isn't quite there yet, which is a thing that matters, as you originally pointed out. I expect as Rust grows for this stuff to stabilize, after all, the std versions are re-exported, so this example is de-facto stable, other than maybe the 'use' lines, which is an easy fix in the future.

Thanks for elaborating :)
I'm not an expert in this by any means, but it is patently obvious with a little fact checking which of the "experts" on each side of the debate were legitimate. So to answer your first question, you recognise an expert by checking some of the things they come up with, and dismissing them as experts when they fail to hold water. This is a skill that many people don't have though, and I'm arguing that if you don't have this skill you probably shouldn't vote on issues you don't understand yourself. Now, are you self aware enough to know you don't have this skill? That's another question.

>Also, who's to decide the importance or magnitude of an issue?

This is a pointless hyperbolic question. The magnitude of the issue we are discussing is not really in question. When you get into the grey area of whether it is a "big issue" you also get into the grey area of whether it even matters.

>Doesn't this mean that the ability to muddy the waters is the power to restrict votes?

Again, if you're someone who is easily confused by the calibre of smoke-screens we've seen, you probably shouldn't be voting. Sophisticated deception does happen, but it didn't in this case. It was all pretty blatant.

> If we, the great unwashed don't understand the EU, or it's importance, how did our democratic country get into it in the first place?

You might as well ask the question of how did we become the UK in the first place. It is entirely irrelevant to what we decide to do next.
Really amazing work. It's also a handy demonstration simultaneously of how far we've come in biomimesis and how far we have to go.

Many disciplines and a ton of research and expertise came together to create something that mechanically reproduces the locomotion of one of the simpler animals. Think of how much it took to do this, and how many orders of magnitude more complex (and in how many ways) simulating or recreating the nervous, circulatory, and other systems would be.

It's exciting that we've done so much, but IMO it's even more exciting that it provides some perspective on how much more there is to discover and build in this area.
iShares by Blackrock has a huge variety of country-specific and regional index funds available as ETFs (exhange-traded-funds):

https://www.ishares.com/us/products/etf-product-list#!type=i...
Tabbed Editor Support in Visual Studio Code
Top web performance killers
The buyer gives them more money.

"Here's a payment and an increase in share worth $1.3B. If that's not acceptable, we'll publicly announce this afternoon that we're not renewing our deal."
Awesome drifting
They may be exceptions. I can't imagine engineers at Yahoo are pulling in $400k+. Only engineers who got in through acquisitions have packages comparable to what engineers at Google and Facebook make. Majority of Yahoo engineers make 30-50% less than people of comparable levels at Goog/Fb. Check http://h1bdata.info/
Data to ink here is too low...
NoSQL, Big Data Analytics, and the Loss of Knowledge and Reason
That's not what this case is about. This is about who painted a work of art that could potentially be worth many millions of dollars. Peter Doig was living a pretty nomadic life at the time, and a lot of public records haven't been digitized due to time and cost. So at the moment, this is a he said/she said game, and a lawsuit like this is one of the only ways to be able to file the proper requests to search through the boxes and boxes of old records to get documentation one way or another as to who painted it.
They aren't rare edge cases.

Assumptions about identity tend to fail. Perversely. Badly.
"spare" : Choose a company that is undervalued that you think will be more valuable in a medium to long period of time. (You know, like Facebook or Tesla.)

"my savings" : A few index funds.
That's a pitiful sentiment, that intense press coverage of thuggish police should be considered "conspiracy theory" of some sort. It's consumerism, in the way the first world people expect their food not to be contaminated, or our cars not to catch fire.
Maybe you will find this article interesting:

Don Eyles Walks Us Through the Lunar Module Source Code

http://hackaday.com/2016/07/05/don-eyles-walks-us-through-th...
Depends on how you calculate it. CEO's want to minimize taxed income so they play a lot of accounting games. The ever popular 1$ salary is often very expensive on net.
They did:

> Michelle Young, who lives in The Moors, Kidlington, says they did try to solve the mystery.

> "A neighbour did try to ask them where they were from but they didn't speak any English and we didn't get very far," she said.

> Baz Daniels, who has lived in Kidlington for more than 20 years, said he had been in touch with a friend in China to try to get to the bottom of the tourist influx to his village.

> "Kidlington is apparently being marketed by Chinese tourist agencies as a beautiful English village on the way to Bicester Village shopping centre," he said.

> "Many of the visitors live in cities, and love to see things like the hanging baskets and little flowers in people's gardens.

> "Visitors are now actively asking to add Kidlington to their tour itineraries," he added.

It sounds like the real mystery is how it got started and why it hasn't stopped.
Apple Makes iPhone 7 $100 Cheaper?
https://crates.io/crates/mioco

https://crates.io/crates/coroutine

I don't know much about the details, as I haven't used them myself, I just know they exist.

http://ruby-doc.org/core-2.2.0/Thread.html

http://ruby-doc.org/core-2.2.0/Fiber.html
Since this is YC, "many angel investors, a few seed investors, and very few series A investors" are the target audience.
There are business reasons why we have so many different protocols and apps. Everyone wants a piece of the pie and letting "your" users talk on someone else's network is seen as a risk. Your competitor might not want you on their network, either.

In the case of Apple, I'm pretty sure they aggressively ban anything that doesn't look like a real iDevice. I've heard the same of WhatsApp but I've successfully tested a couple of third party protocol implementations.

XMPP isn't great for mobile (bandwidth/battery usage) but I don't know enough to comment on that.

Have a browse back through some HN threads on chat and IM - these kinds of points come up every time. We've lost the war. One of my friends just asked me to install LINE and I'd be up to 6 different apps if I didn't just give up and go back to SMS.
IMHO, you should use term "Planet Earth Propaganda", because more than half of our planet is against NK. ;-)
No need to disqualify the answer. The point of my question was of course to learn about aspects of Javascript-the-language that make it intrinsically easier to build a fast implementation for than building one for python.

If there are just more difficult-to-implement features that is interesting as well (although it would be nice to know which ones).
I've never had a wild Canadian goose that I know of, but roasted gooose is quite tasty, used to have it every Christmas as a kid.
I'll admit my Nexus 6P has been endlessly frustrating, but it is possible to "close" apps by swiping sideways on their tiles after pushing the square button.
Two keys. You don't want to be involved in the mess when one of the keys gets
in your opinion compromised.
Mark Zuckerberg and Facebook are "too big to fail".

So all that anyone seems to be able to do now is watch from the sidelines, as this social experiment that they impose on humanity wreck havoc.
NetTraveler APT Targets Russian, European Interests
This has been around for a while...just lock the keychain, or change the autolock timeout. Nothing to see here, but the user preferences of someone leaning towards convenience instead of security...

http://stackoverflow.com/questions/717095/is-there-a-quick-a...
What “Safety Check” Reveals About Facebook's Changing Role
It would be a lot harder. This case pretty much only exists because neither party has the documentation need to prove or disprove that Pete(r) Doig(e) was or was not incarcerated during the timespan the painting was made. Nowadays, asking the prison and/or asking former employers is pretty much a triviality.
I hear Mossberg's message loud and clear, agree with virtually all of it, and hate the present world. He's got the journalistic and tech cred to be heard, and I very much hope he is.

A unified, centralised, USER-CENTRIC message-and-notifications-control interface would be wonderful. Android absolutely isn't it. iOS, from comments here, might have some advantages.

I've hurled my phone and carry a WiFi-only tablet. Mostly I've the luxury of not requiring to be in instant and continuous contact, and it's a godsend.

Looking over Mossberg's data, I'm impressed by his 350 emails/day stat. It's quite close to what Stephen Wolfram reported in his quantified self reveal, and hints strongly at an upper-bound to the number of interruptions and notifications people can tolerate. If Mossberg devotes 2 hours daily to email, he's dealing with three a minute -- one every 20 seconds. If he's devoting 4 minutes to each message, he's spending 23 hours 20 minutes of every day processing email. Clearly, at that volume, there are limits to either how many messages can be processed, how much processing can be given each, or both.

Wolfram's observation was that not responding immediately to email tended to be a win for him, as many problems self-resolved.

Another hacker trick has long been to download and process entire email spools. RMS does this, @kragen on HN does (or did) as well -- literally pulling an mbox file, and going through and responding to it, with a batch-send later. Marissa Meyer of Yahoo is reported to use Mutt to blast through hundreds of emails in a late-night, multi-hour session, something I've done (or did, when my email spool was still tractable).

http://quantifiedself.com/wolfram/
Oh, the crippling sense of irony that comes from reading this comment after reading the front page post about Azul and the JVM, with a lot of technical details about how HFT firms use Java.
You know the whole painting business is a scam when the name of the person who painted the painting matters way more than whether the painting is beautiful or not...

First world disputes. Not enough gold and diamonds in this world for people to spend their money on something futile. They need to create new "rare commodities", more tulips. Little to do with art.
I would recommend an Information Diet.

If you would permit me, here is my experience with the book

https://chadkohalyk.com/2012/09/04/the-information-diet/

and the results:

https://chadkohalyk.com/2012/09/30/breaking-fast/

(I am not to be self-promotiony or anything... the conservation of attention, time and _things_ are just topics that I spend a lot of time thinking and writing about. I am not trying to sell a book or anything. I don't even have ads on my site. Just trying to be helpful)
>There was no purposeful deceit here; it's simply another painting from another person who happens to have a similar name. It's coincidence.

I'm not sure why you so quickly cross that idea out when there are millions of dollars on the line. I'm sure if Doig's paintings were worthless this case wouldn't be seeing the light of day. There is a plausible reason for purposeful deceit in trying to pass Doige's painting off as Doig's painting so the owner could profit millions.

If the painting was completely worthless I'd be inclined to believe that there isn't a chance in hell of purposeful deceit going on because there wouldn't be motivation to do so.
What I do is, and I realize most people aren't interested in something like this, is I periodically delete 90% of my mp3s. I do this for a couple of reasons: the tedium of having a billion mp3s I don't listen to (and schlepping them around, navigating among them, etc), and the way it pushes me into discovering new music.

I do the same for photos. Really nice photos, I keep, and so I've got a nicely curated set of pictures from the last several years. Maybe a couple hundred. Thousands more, taken, gone!

Everything passes, of course. I just make it a little more intentional.
If the syntax is about the same, how is that easier?
> There's a difference economically, because the derivative of marginal utility with respect to income is (generally) negative. In other words, utility is concave with respect to the origin[0].

Sure.. many economic models make this simplifying assumption. But each man defines his own utility functions, by their very nature.
China:

~94% of 1.357b = 1.28 billion population.
~40% of 3.7 mill = 1.5 million square miles.
= ~0.85 billion people per million square miles.

India

1.252 billion people on
1.269 million mi
=~ 1 billion people per million square miles.

So, India is around 15% denser. Of course you can avoid the strait line cut and push China's density much higher, but the point is they are not that far off where people actually live.
If you want to skip ahead to the full content, you can read the paper :) I also don't think it's fair to say that this is content-free – it's setting up the setting and motivation. It's not immediately clear why someone would want to inject bugs (a common reaction I got when describing the problem to people was "that's evil" or "why would anyone want to do that?!").
I think everyone here is discussing total compensation.
Dendrites and Wrongs
It is optimal for the more scarce and selective group, whoever they happen to be in a given batch.
I don't see any reason why the court system should be used to resolve this kind of question. The value of a painting is entirely subjective, and if the person who painted it is used as a factor in the price, that is just a failing of the evaluator. If I priced a painting based on the weather in Guam in 1920, there shouldn't need to be a court ruling concerning attempts to figure out what the weather was like that year.
Ask HN: Are you happy with the existing products for your user community?
What product do you use to build a community around your business? Facebook page? Facebook messenger? Twitter? Wordpress? Subreddit? Yelp? Some place for your users to interact with you and each other?

Are you happy with the solution? Is there a need for a better solution? What will it look like? How much will you be willing to pay for a solution similar to facebook page but where you have the control over your community?