News for hackers. Stuff that matters.

sm_sohan

I think you're lucky with your son. The meds and interventions are essential for some. End even then the progress isn't always visible. Speaking from a different experience than yours.
Re:Do we need a web API? on Thursday November 28, 2019 @05:36PM (#21660623)
Many years ago I remember using a similar shim on ASP.NET where you'd simply decorate a server-side C# method and you could call it from JS like any other method. Not quite the way done here, but it had similar goals to blend server and client. So far, these things don't work in practice because of the so many things that differ between a browser and server environment.

https://docs.microsoft.com/en-us/dotnet/api/system.web.scrip...

Re:Explanation of OAuth Tokens Using Transit Ticket Analogy on Thursday March 21, 2019 @10:49PM (#19459249)
I’ve seen videos and read lengthy articles about the internals of OAuth a few times. Mo has done an exceptionally good job to keep it bare minimal and used a simple analogy to explain a complex topic. Definitely recommend spending a few minutes if you feel wtf about OAuth.

Request for participation: REST API client developer productivity

I'm running a study on the Impact of Usage Examples on REST API Documentation. Any software engineer with 1+ years of REST API experience and no prior experience with WordPress REST API willing to lend me some of your time to carry out a study on API documentation? This is for an academic project and your help would be appreciated. The study involves using a REST API documentation to perform...

( Read More... | no comments | 3 points | on HN )

Apple Serving debug JavaScript code full of bugs

Visit https://supportpayment.apple.com/app and open your developer window on the browser. You'll have a rare opportunity to see all the debug code and a bunch of petty errors on your console.This is AngularJS code in production. If you're wondering how it actually works in prod, this could be a reference, either in a good or a bad way.The errors I'm seeing are looking like a lot of string...

( Read More... | no comments | on HN )
Re:Ask HN: What's the best way to write an API spec? on Monday January 19, 2015 @03:10PM (#8913772)
May I say, look at SpyREST (SpyREST.com) if you consider developing the API first and then produce the documentation automatically simply by exercising the API? This is an open-source tool, feel free to take a look.

I'm developing SpyREST and will be happy to discuss if you want to learn more.

Re:Your code may be elegant, but mine works on Wednesday February 05, 2014 @01:51PM (#7185865)
"Your code may be elegant, but mine works" - of course it works today, who cares about tomorrow?
Re:MongoDB Is Abusing JSON on Thursday January 17, 2013 @08:01PM (#5076393)
This doesn't have to be this way. The underlying machine friendly API can be hidden under a human friendly API abstraction.
Re:MongoDB Is Abusing JSON on Thursday January 17, 2013 @07:59PM (#5076380)
Totally agree with you.
Re:MongoDB Is Abusing JSON on Thursday January 17, 2013 @07:54PM (#5076361)
I am not sure of its origin. But these days you'll find good ORMs that would craft the query for you. My point is, the Mongo API seems to be more of a machine readable API with the $ keys used somewhat in a hacky way.