News for hackers. Stuff that matters.

nepsilon

Re:Ask HN: How do you version your data? on Monday February 20, 2017 @03:17AM (#13685428)
If you can predict when you're going to get new content, just use an HTTP header to tell until when the content can be seen as fresh. Then the client will know when to call the API again.

If not, ask the client to provide an HTTP callback endpoint, and ping it to notify of new fresh data on your side. Using WebSocket is also an option.

Re:Django SQL Explorer on Monday October 31, 2016 @03:12AM (#12834781)
So this has nothing to do with Django, other than being built with it? It took me a while to realize that.
Re:Ask HN: Best curated newsletters? on Sunday February 07, 2016 @05:19AM (#11052415)
I'm curating Fullweb Weekly[1], a newsletter for Fullstack developers.

The format is the top 5 links of the week + 1 mini article. About 1100 subscribers now, I also welcome contributions!

1: https://fullweb.io/

Thanks. I added these as issues on github[1]. Feel free to watch/star the project to be notified of their implementation.

1: https://github.com/nepsilon/hn-comments

These are 2 valid concerns. Using localStorage to cache the URL already looked up would help for the pages you visit the most (gmail.com, twitter, etc). Having a whitelist/blacklist of site {not,} to lookup might also help. Let me know if you think these 2 features would actually help. I could implement them.

Thanks for your comment!

I've about 7 years experience coding various software in Python (data intensive, web apps, network app, etc). Today when coding in Python I mostly go to the official Python and Django doc directly, that I have installed locally. I open it about 2 to 8 times a day (4-6 hours span) depending on how well I'm familiar with the library I'm dealing with.

For more general questions not covered in the doc I Google about twice to 4 times a day in average. I usually go to stackoverflow.com directly to search.

When coding HTML/CSS/Javascript I clearly lookup caniuse.com about 20 times a day to ensure consistent browser support and learn about corner cases.

For quick prototyping I always use:

- CouchDB (DB with RESTful endpoint)

- Spine.js for logic and rendering (with jade for the templating and stylus as CSS pre-processor, with Foundation 4 as CSS lib). Spine.app can generate new projects the same way django-admin.py does.

I code nearly everything in CoffeeScript. This whole workflow/stack has always me started in no time.

Re:Show HN: The home automation system with an API on Saturday December 29, 2012 @01:28AM (#4981336)
At the bottom it still reads "First batch ships January 2012". I guess there too you mean 2013.

On the other hand, your copyright year is already in 2013.