skysight-inc/HackerNews huggingface dataset:
Show HN: Responsive HTML Email Templates for Developers
This question is a little vague. My assumption is you mean a REST API.

This is a must watch and encapsulates good design and theory:
https://www.youtube.com/watch?v=hdSrT4yjS1g

Good API design, if you are trying to learn from zero, comes from learning from good examples.

These are some of my favorites APIs by design

+ Stripe

+ Twilio

+ Slack

+ Stormpath (fd: I work here)

There is a lot of work that goes around the API design to make it a great API (examples, documentation, live samples, etc)
This doesn't seem very convenient. You scribble a PIN on your wrist or you pull your phone out of your pocket to use touchID?
> I've lived in NYC all my life. I've never been yelled at by a homeless person.

Do you, like, commute by luxury Towncar?

I've "only" been in NYC for seventeen years, and I have not been quite so lucky as you.
PRIVACY SCANDAL HAUNTS POKEMON GO’S CEO
Pure anecdote, but off the top of my head I could name at least ten women's Olympics gymnasts from the past twenty years and not a single swimmer other than Phellps and Lochte. The Bela Karolyi era was very, very good for US gymnasts and TV coverage followed. It seems to be the summer games analogue to figure skating in the winter games, Americans are consistently competitive and attention/coverage follows, particularly given the perceived demographics of Olympics viewers vis a vis other sporting events.
Brazil Senate Votes for Rousseff Impeachment Trial
Mobile Payment Apps in the US: 80% Internet Users Unlikely to Use [STUDY]
1. Java platform is excellent. Also, Scala.js is now Scala for JS platform, and scala-native is coming soon.

2. Have you seen languages like APL or J? Now that's operator overloading. '+' is just a symbol, meaning a lot of different things even in mathematics. All meaning is a product of convention.

3. In modern Scala, implicit _conversions_ are discouraged unless you know what are you doing. Besides, Scala IDEs are excellent in showing applied implicits anywhere in the code (you do use an IDE, right?)
Email is hard. Responsive email is even harder. Developers and startups often need the same set of templates to send out with their service so I put these together.
Their "analysis" isn't particularly insightful, but I wanted to submit it anyway, given that such a large number of accounts were affected.

The database also isn't included at [1] at the time of submission.

[1] https://haveibeenpwned.com/
Ability to swap underlying ip address is orthogonal to using alphanumerics in DNS. Numeric sequences could also be used as CNAME for the ip address. But we don't because of human brain.
Just use firefox with noscript!

I never have any issue with any auto-play videos at all.

The performance on the good old FF 30 is N*10 times better than latest chrome browser.
Good catch! Not to mention that the calorie consumption of someone driving a car is likely significantly more than someone idly daydreaming, both from the physical activity of steering, braking, shifting etc and possibly also from the focus required.
> Anybody has a reasonable theory for why this took so long, despite users asking for it for years?

Well, initially, their investment in more runtimes was covering additional languages, not covering more versions of languages they already had. (IIRC, AE started with Python 2, added Java first, and then later Go and PHP.)

As that was happening, they gradually shifted focus from building out the old, fairly limited model of App Engine to building out other parts of the cloud platform, including (particularly relevant to future App Engine work) Compute Engine, to have a more robust cloud offering covering more use cases.

Then, they went back and returned to improving App Engine -- leveraging the now-broader cloud platform, and particularly Compute Engine -- shifting from the old model for new runtimes to the Flexible Environment (originally called "Managed VMs") model (built on Compute Engine, and which, in addition to including some additional Google-provided runtimes, means people can package up their own runtimes for App Engine).

Since doing so, they've released official Google runtimes for Python 3, Ruby (which people have been asking for longer than Python 3), and Node built on the Flexible Environment.
Your Xaddress will work even if we remove the word from the available list, you can try encoding or decoding by hand to understand how it works https://github.com/roberdam/Xaddress/tree/master/by_hand
Looks interesting. Unfortunately they are not currently accepting applications.
Cassini finds flooded canyons on Titan
Isn't Google Wallet ded?
You can use Postgres and Redis. :) I'm working on writing new tutorials for both of those, but in the meantime:

You can host your own Postgres on Compute Engine [1] or use a hosted provider like ElephantSQL [2]. You can use whatever client library you want to connect to postgres in App Engine flexible.

Same story for redis - you can host it on Compute Engine [3] or use something like redislabs.

[1] https://cloud.google.com/solutions/set-up-postgres

[2] https://www.elephantsql.com/

[3] https://cloud.google.com/launcher/?q=redis

[4] https://redislabs.com/

Note: I'm in Developer Relations for Google Cloud Platform
I'm working on extending this ([1]) to contravariant functors while making the whole thing polytypic and typesafe (so I can abstract over type products and coproducts, among other things). My stuff will be open-sourced next year sometime at the latest. I think it's a combination of feature interactions and frequent refactoring during development that is a source for a lot of stuff that is not nice to the compiler.

edit: The extension to [1] is actually pretty benign and the compiler does well with it. The part that puts a big load on the compiler is that it is used as an interpreter for a popular, yet complicated, visualization DSL. The compiler, especially the typechecker, has to do a huge amount of work.

[1] https://github.com/jdegoes/scalaworld-2015/tree/master/src/m...
The objection is preposterous but it is hardly a "random public building". It is in fact one of the prime targets of evil-doers who would be trying to effect mass casualties in Manhattan.
While I get the delay on refreshes, it seems like Apple should be able to push out some speed bumps on more frequent basis. I still think the MacBook Pro should have an RJ-45 port instead of having to buy a dongle. Use that extra space to put a bigger battery in the thing. HDMI is not going anywhere and think dropping that port is a mistake. Or is there a new AV port that is going to take over our TVs?
Classical music: http://www.kusc.org/

No traditional commercials, just the occasional pledge drives advertisement.

Always mentions the ensemble and composer - sometimes the director. Sometimes a bit of chat between each piece but not too much. May not be quite what you are looking for, but it sounds like you wanted something easy listening and calming. :) With the exception of the Russian war-marches, much of it is easy-listening.
in what way? do primary voters not support Hillary Clinton more than they support Sanders? Was it not up to them to decide ? were they in any way prevented from deciding ?
No it is a company-specific hack. The relevant thing would be to have the profile data to begin with. Then you can work that into whatever annotation scheme your IDE offers.
Witchcraft Compiler Collection (Defcon Tool Release)
The Witchcraft Compiler Collection is on github !!

--[ url : https://github.com/endrazine/wcc

--[ repo : https://github.com/endrazine/wcc.git

--[ slides: http://tinyurl.com/jkxsg2u

--[ All DEF CON demos : http://tinyurl.com/zaokau3

Open Source : MIT License

Featuring :
* Transforming ET_EXEC ELF executables into shared libraries

* Unlinking ELF binaries into relocatable object files

* Running OpenBSD binaries natively on linux

* Using ET_DYN executables as shared libraries

* Prototyping exploits from symbolic execution partial traces

* In memory JIT translation from ARM to Intel x86_64 + debugging
Have a look at Facebook's Graph API: https://developers.facebook.com/docs/graph-api
Given the vibes in this thread, this is an appropriate comment.
twoodfin is correct in saying that it is explicitly undefined behavior: "If a converted pointer is used to call a function whose type is not compatible with the pointed-to type, the behavior is undefined." See http://stackoverflow.com/questions/188839/function-pointer-c...

Your response would make sense if twoodfin claimed it was implicitly undefined behavior. But that's not the case. The standard clearly addresses this case.
Constructing Methamphetamine in VR
which begs the question: where are all the "essential squirrel facts" that were promised?
All chipmunks are squirrels.
I did this too, repeatedly, until I was smiling a very big smile.
> Isn't a secure boot policy that can be bypassed with physical access more secure than none?

Of course it isn't. Impossibility of bypassing is the only reason for secure boot technologies to exist. They are invented so that you are NOT automatically screwed if an attacker has physical access to your device. Secure boot technology is fine in principle, it's just stupid position the manufacturers hold. They ignore recent history. At their own peril, I'd say. https://en.wikipedia.org/wiki/Clipper_chip

And I'm not even sure physical access factor is strictly necessary for adversarial bypassing.

(I'm not a security expert, too.)
> as an application security person I will probably never be out of work

How many security flaws are the result of malformed HTML?
Scala.js is magic under magic sauce with magical cherry on top of it. Thank you and everyone else involved!

Compiling _entire Scala_ to JavaScript? Without runtime?! To the point of compatibility that Scalaz can be compiled, with all its horrors?!! Wow.
MS' own advisory says you don't need physical access (only admin rights).
Terrain map. HITS (highway in the sky) based on current fuel, aircraft flight characteristics, weather.

On an iPad.

http://xavion.com/
A parser could always just ignore tags it does not recognize, no need to try to make sense of any random collection of tags.
Pardon my ignorance, but what does that matter?

There's an important note in that the HTML is not at the true start of the JPEG file, it's slightly after. You can even view some of the JPEG format bytes if you view source of the HTML.

So if the browser ignores some of the JPEG file, why not most of the PNG file? Perhaps you run the risk of some random byte screwing up the HTML though.. not sure.
>I'm a software developer who focuses on operational automation, and this brings almost nothing to the table which I could want. Especially replacing the function keys with a touchpad; why would I want to replace dedicated keys with muscle memory attached to them with soft keys that can change on whim?

For several reasons which are obvious to me.

1) You can of course leave the soft keys as the current function keys are -- and retain the "muscle memory", with losing nothing at all.

2) You can tune them to a specific app (e.g. Logic, Cubase, Premiere, Photoshop) and get a second (or third, etc) app-specific set of muscle memory for its shortcuts. People pay $50 or even $200 for custom app-related controllers for such apps, with buttons mapped to "transport controls" etc.

I guess you don't suddenly lose your muscle memory when you press "SHIFT" and the number row becomes a different row (e.g. 3=>#, 4=>$ etc). So you shouldn't lose it with 2 or even 3 or more sets of soft keys to change depending on context.

3) You can even get behaviours that aren't possible with actual keys -- e.g. have the soft panel display a volume bar you drag on.

4) You can show information that's not related to keys -- e.g. the current cpu temp, new emails, notifications, "batch jobs completed" etc. Which could far more useful that "change brightness" that one does how often? Twice a day at most?

>Here's what I want in a MBP refresh: More power. Enough battery life to allow me on a hangout all day long; or at least enough battery life that I can have Chrome running and still be able to code all day long. A strong enough graphics card to smoothly drive a pair of 4k monitors in addition to the internal monitor. No loss of existing ports. More CPU power for compiling code. A touch screen.

Except the loss of ports, the others are not doable without ending up with a hotter and bigger machine, and some work against each other (better cpu + graphics VS better battery life). If they used a more powerful Intel CPU it would eat into the battery life, and same for graphics card -- especially when it would be driving "a pair of 4K + the internal monitor".

In other words you want a desktop class workstation -- which would translate to something like a 4kg "laptop" -- and then you (or others) will complain that it's weighty, it gets too hot, etc (and nobody will buy it, except the kind of people who want the latest nvidia power card + pair of 4K monitors, that is, outliers).

Lastly, even the touch screen doesn't make much sense without a detachable screen for ergonomic reasons. 5 minutes with your hand raised and it's off to the doctor for some painkillers. If they'd ever do it, they'd need something like the Surface Book's turnaround scheme, which would probably sacrifice sturdiness.
<xmp> is great when you absolutely, positively, do not want any entities rendered under any circumstances. It's unfortunate that it's being deprecated, since it has its uses.
Oops, thanks for spotting the broken paper link - fixed now!
Given that the literal reading of my question is absurd for the reasons you cite, the obvious interpretation is that my use of "comprehensive" was shorthand for "as comprehensive as possible".
The Future of Autonomous Vehicles
Do you have any real world data regarding working conditions in "normal" airlines?
I was going to reference the Hundred Flowers Campaign, but it looks like a lot of people got there before me.
OP described the tool as this: "It's an editor for those JSON file formats which shows contextual help as you edit the files."

Is that what it's supposed to be?

Because what I was saying was lacking was any contextual help that tells you what you could add, vs what's already there.

If I were shown http://package.json.is as "contextual help" to help me author my package.json file, I would have no idea that I could add "author" or "contributor" fields. This only gives documentation for the stuff that is already there.

You could add every property to the original document, but that fails if you have mutually-exclusive properties, because the original document would not be valid.

You could try to add every possible property to the top-level comment, but then the top-level comment needs to be practically as long as the original documentation.

Documentation that is incomplete, and doesn't seem to have a reasonable way to make it complete, doesn't seem useful to me -- and in many ways seems worse than not having it, because the incompletion means I would never even realize I was missing useful documentation. I'd have to have the real documentation open on another page anyway, to make sure I'm not missing stuff.

But again, maybe I'm missing the use-case.
Please don't assume it is much better outside the US. If you watch the winter games while visiting Japan you would think that the entire Olympics was just a few minor events that served as bookends for the ski jumping competition. In the UK I get good options from the BBC but event then for major sports the coverage focuses on the athletes that the audience cares about, which is basically team GB plus any major names in the sport or expected winners. It is better for the lesser-known sports where you just about everyone is unknown; at least I did get to see all of the rowing and fencing qualifications and medal rounds (no joke, my daughters are into both events and so we spent a lot of time watching.)

If it really bothers you I think that a decent proxy and the BBC iPlayer can get you good all-around event coverage...or so people have told me...
I'd take someone being completely honest with me 100% of time over someone who thinks one thing of me and tells me something else. The thing is, people act based on their beliefs the vast majority of the time. So to borrow your example, say the friend doesn't complain about his buddy playing Overwatch all the time. Do you think that he'll just wait around to see if he'll stop playing or do you think he'll start to ignore his friend and go find other friends whom he shares the same interests with? Without honesty, the friend playing overwatch too much will have no external cues that his behavior is damaging his friendships.
An amazing tutorial for using R (against Twitter datasets)
AeroMobil – Flying Car
Great article. I'm not a particularly sophisticated Scala user but I love using Scala.js for all the reasons described in this piece. Thanks for all your work on it!
You can reduce any action to being selfish and manipulative to some end. This doesn't mean it's a useful thing to point out.
Interesting. Thanks for the info. Is no recent rails experience an issue? I have django experience (years worth) but anything recent with rails (nothing after rails 2).
Granted, but it still makes for a salient point when comparing RDS to GCE.
I don't think the assumption is justified that enforcing well-formed HTML documents would have been a significant barrier. To me it actually seems easier to have a few simple and strictly enforced rules than having a more or less random assortment of exception to save a handful of key strokes.
I've backed the current iteration of my career on Scala and like the idea and some of the practicalities of Scalajs but it is destined to be limited to fun projects. The unavoidable problem is by committing to Scalajs you are accepting that you can no longer go out and get one of any number of JavaScript contractors or staffers to come on board and develop / maintain you client code and have to always have a Scala developer for that job as well which is a magnitude of time and expense different.

The underlying notion of Scala to X ie Scala Native has lots of potential but Scalajs is more of a segue.
My feminism will be capitalist, appropriative and bullshit merchandise
PatientBank (YC S16) Is Creating a Unified Medical Record System
Funny because i saw this today. https://news.ycombinator.com/item?id=12260512

I don't work for amazon but yeah i work in one of the so called top 4 companies.I got lucky to get into a good project. But talk with some google employees and you will be surprised to see how many engineers work on some pretty mundane stuff inside of google.

Still i can't process the thought that the OP is not solving real world problems right now as a contractor and would be doing some sort of a dream job after he gets through the google interview process.

What exactly is a real world problem?
I'm actually a bit worried about this. Function keys had better be "functional". :D
5 Easy Marketing Strategies for Businesses
Agreed, and I'm not sure why you're getting downvoted either. You speak the truth.

I was mugged about two months ago in a pretty busy intersection and raised the issue when the investigation was 'suspended'. Even though the city's low on budget and such, it sounds incredibly unreasonable for an investigation to simply.. stop. So, a FOIA request for the camera data that received a "We have no responsive records for your request" response. I complained to the investigator, who seemed to be legally obligated to work with me. He told me that the investigation was never suspended since they were waiting for a response from me (not true) and that when they called, I didn't pick up (which makes perfect sense, since my phone was stolen - which is mentioned in the police report).

When I started to ask the guy if he could help add an extra camera to that intersection, he absolutely refused to and basically called it a waste of time - even though it would help him and many others in the future.

To get me off the call, he asked me if I had anything to drink that night, which I (naively) said "One drink four hours before the mugging." He then told me that because of that one drink, it would be impossible for me to verify anybody in a line up, closed the investigation, and ended the call 30 seconds later.

It shouldn't be this way.
Talk about paranoid. I would have politely reminded that person this is America, and I'll take a picture of whatever I want. Have a nice day!
Making email safer with new security warnings in Gmail
If by fine you mean a centralized search engine is a good solution for a decentralized network, then yeah.
Dark matter hopes dwindle with X-ray signal
Some of the comments on that page are just sad. I didn't realise Flash still had so many fans.
No, quite the opposite. I grew up in the Bronx in the 80's and 90's and went to school and worked in Manhattan and Brooklyn. I've seen some stuff, but never been personally yelled at by a homeless person. It probably will happen to me at some point, but I won't use it to frame future interactions other New Yorkers.
Geez, that's what I am exactly working on off-work, slowly but the idea is nearly 100% identical.
Most of the questions asked in these threads on HN are answered in an update article they posted this morning about 14 nanometer, the Neon framework's future and such. Also, looks like everyone who broke the news did got the acquisition amount wrong. http://www.nextplatform.com/2016/08/10/nervana-ceo-intel-acq...
There's some irony with Google blaming Flash for being spammy

You're being a little kind; this is not so much irony as outright hypocrisy.

Apple did something similar with iOS, refusing to support the plugins arguing that they were insecure and so on, and then promptly using one of their own for HTML5 media elements that broke all kinds of functionality, as well as ignoring the related Web standards whenever it suited them, and then locking up their ecosystem so no-one else could offer an alternative browser that handled these issues better.

The problem with modern browser developers is that they seem to have decided their job isn't just to present the content of the Web but to try to influence and curate it on behalf of their user bases. Google gets extra demerits because it is also trying to do the same through its control of the dominant search engine. I don't think this amount of concentrated power is even remotely a healthy trend for the future of the Web.
'+' is just a symbol, meaning a lot of different things even in mathematics. All meaning is a product of convention.

As always: cost/benefit! There is a price for the "context switch" out of one set of conventions into another. Sometimes, the benefit far outweighs the cost. For example, there are certain environments where you can jump out of the programming language and simply write a method in SQL. Not embed SQL in code in a string, you can simply write prepared statements as a method. For certain applications, this can be beneficial.

The problem I have with operator overloading, is that it allows the average programmer to switch conventions using some of the the most commonly used conventions with barely a sign that something special is going on. It's too easy to use. It's too easy to miss. It's too easy to get a moment of confusion from it when debugging. (What, I'm in a method? Oh, operator overloading!) And it doesn't produce a great benefit all that often. Yet it has a "nifty" factor that encourages in experienced programmers to make use of it -- precisely the people who probably shouldn't be making that decision.