News for hackers. Stuff that matters.

Narzerus

Ask HN: Where do you deploy to in 2018 and how?

I've been using Heroku for several years now, and as it happens to everyone eventually it becomes just too expensive.I'm curious to know what people here use to deploy, and where are you hosting your apps.Personally I'm looking for an experience as similar as possible to Heroku, any recommendations?

( Read More... | 83 comments | 77 points | on HN )
Re:Slack is offline on Tuesday October 31, 2017 @07:03PM (#15597412)
O.o god help us

Ask HN: Building an MVP without a designer in 2017?

For a developer building an MVP, what tools do you recommend to use for a project, without a designer? - App is not a throw-away project, can be incremented into a professional, beautiful app - No designer available as stated above - A designer WILL be hired in the futureThe only options I can think of: - Bootstrap / Semantic-ui (Can these be customized and used for years ahead or do they...

( Read More... | 8 comments | 19 points | on HN )
Environment variables should STILL be used in a production environment. This article helps manage development environments.

Ask HN: How can I monetize the chrome extension I made?

I created a Chrome extension called Facebook GIF Button, it alows people to easily post GIF replies in comments inside Facebook.Thanks to some luck it boomed pretty quickly reaching 10k users in about 4 days.I'd like to hear some suggestions on how to monetize my extension (I'm going through really hard times in terms of money).I want to do this in such a way I don't disrupt the experience my...

( Read More... | 3 comments | 2 points | on HN )
Re:Show HN: Yakuza – Scraping framework for Node.js on Friday March 13, 2015 @04:39AM (#9196153)
Thanks, looking forward to your feedback, Yakuza is still a baby but I think it can grow into a very useful tool if the right people come and boost it up <3
Re:Merry Christmas to HN on Saturday December 27, 2014 @03:18PM (#8803777)
Love this community, Merry Xmass <3
Author here:

Basically in angular-permission you define different validations the current session can pass or not. We are for now calling these 'roles' but im sure that's not the correct word to describe them.

To give you a better example, let's say we have a Session service which handles wether we are logged in or not, also stores information about the user currently logged in. We can define the following 'roles':

'anonymous' -> Session.currentUser is undefined 'admin' -> Session.currentUser.isAdmin is true 'user' -> Session.currentUser is defined

A common use-case would be not allowing the user to enter the signup and login view if we are already logged in. So to do that we would add in the login state a data.permissions object something like this:

permissions: { except: ['anonymous'] redirectTo: 'home' }

This is a fairly common use case of to what a library like this can be useful. Keep in mind it's still in early stage but we're currently using it in a fairly big project and it's saved us tons of lines of code.

Author here: Awesome, let me know how it works for you and what would you improve.
I think a custom tailored extension should offer a more consistent experience
Author here: I could make this open source if anyone wants to collaborate (would need to tidy up code first, I made this in my noob years and its messy as hell)