Better HN
topnewbestaskshowjobs
Log inSign up

enapupe

15 karma · joined Feb 20, 2012 (14y ago) · 16 submissions

Submissions

comment 3y ago · link · parent

your comment is sort of selfish because you don't seem to understand a good portion of the JS ecosystem is based on top of the libraries the author has touched. welcome to the real world

comment 4y ago · link · parent

Exactly, why did it failed yesterday then? If supposedly just us-west-2 was down :(

comment 4y ago · link · parent

Could any of you clarify to me why do we have "Edge" domain rather than a specific region?

comment 4y ago · link · parent

Did I say 15 minutes? Actually, it depends.

comment 4y ago · link · parent

People, I've just started setting up API GW and deploying my code to another region. Rest assured the outage will normalize itself before I finish migrating. ETA: 15min-ish

comment 5y ago · link · parent

shouts to whoever is out there rotating keys since the announcement of this incident.

7.

Don't marry your little dependencies(medium.com ↗)

1 points · by enapupe · 8y ago · discuss

comment 8y ago · link · parent

This video contains content from [Merlin] Beggars, who has blocked it on copyright grounds.

comment 10y ago · link · parent

React + ES6 imports = wow + peace I got my first bucks as a developer more than 10 years ago. Only recently I felt like I have an actual good code structure. Having components and managing dependencies with es6 imports is truly awesome.

comment 12y ago · link · parent

../

comment 12y ago · link · parent

../../

comment 12y ago · link · parent

Considering the first released apps I don't agree the gap thing:

Duolingo - a fun and free way to learn a new language before your next trip Evernote - write, collect and find what matters to you, with a full-size keyboard and touchscreen Sight Words - a delightful way for you to help improve your child's reading skills Vine - create short, beautiful, looping videos in a simple and fun way

comment 14y ago · link · parent

Live demo: http://jsfiddle.net/NXqe5/

comment 14y ago · link · parent

Did this (using jquery):

var loadingLayer = { step: 0, add: function(){ this.step += 1; //didn't know how to call checkState() automatically after any other call this.checkState(); }, remove: function(){ this.step -= 1; this.step < 0 && (this.step=0); this.checkState(); }, clear: function(){ this.step = 0; this.checkState(); }, checkState: function(){ if (this.step === 0){ $("body").removeClass("loading"); } else { $("body").addClass("loading"); } } }; $(document).ajaxStart( function(){ loadingLayer.add(); }); $(document).ajaxComplete(function(){ loadingLayer.remove(); });

I know the JS is uggly but i'm not an js expert (it works).