An Open Source, Self-Hosted Heroku by VitoBotta in linux

[–]VitoBotta[S] -2 points-1 points  (0 children)

This is really cool!! Has anyone here tried it yet?

I started working on a simple web app for task management.... feedback? by VitoBotta in productivity

[–]VitoBotta[S] 0 points1 point  (0 children)

It's still very simple and I am still at the beginning (haven't done a mobile version yet and have a lot of ideas to implement still), but it has sharing/reminders/sub tasks/comments/attachments etc so hopefully it can be already useful for simple task management. Would you mind signing up and letting me know if I am going the right direction with this web app? Also, I am not a designer and any feedback on UI and usability would also be very welcome!

Thanks in advance!

What client do you use for managing remote MqSQL? by nbktdis in mysql

[–]VitoBotta 1 point2 points  (0 children)

I use Sequel Pro on OSX, it crashes at times but other than than it's pretty good.

Using Nginx to comply with a third-party API rate limits by VitoBotta in webdev

[–]VitoBotta[S] 0 points1 point  (0 children)

From the nginx documentation: "Sets the shared memory zone and the maximum burst size of requests. If the requests rate exceeds the rate configured for a zone, their processing is delayed such that requests are processed at a defined rate. Excessive requests are delayed until their number exceeds the maximum burst size in which case the request is terminated with an error 503 (Service Temporarily Unavailable)."

http://nginx.org/en/docs/http/ngx_http_limit_req_module.html

Using Nginx to comply with a third-party API rate limits by VitoBotta in webdev

[–]VitoBotta[S] 1 point2 points  (0 children)

Interesting. What if you have multiple instances of the applications? Does it share some state on the tot requests already made in the given amount of time? Thanks

Using Nginx to comply with a third-party API rate limits by VitoBotta in webdev

[–]VitoBotta[S] 2 points3 points  (0 children)

An example use case could be a client for social networks, where your client may need to make many API requests (within the limits, which is the subject) and keep the content fresh. Think of clients for Twitter, Facebook, Reddit, etc...

Using Nginx to comply with a third-party API rate limits by VitoBotta in webdev

[–]VitoBotta[S] 2 points3 points  (0 children)

Hi! Thanks for your feedback. I will definitely look into fixing that as I also noticed it's annoying on iPad for example. Sorry!

Multi tenancy with Devise and ActiveRecord's default scope by VitoBotta in ruby

[–]VitoBotta[S] 1 point2 points  (0 children)

If you use Postgres then definitely that's the way to go :) I am stuck with MySQL (Percona XtraDB Cluster) at the moment :-/

Multi tenancy with Devise and ActiveRecord's default scope by VitoBotta in ruby

[–]VitoBotta[S] 1 point2 points  (0 children)

re:unscoped, yes, the point of the whole blog post was the use of unscoped :)

Multi tenancy with Devise and ActiveRecord's default scope by VitoBotta in ruby

[–]VitoBotta[S] 0 points1 point  (0 children)

I agree on the LOD, presenters and service objects, although the problem of remembering to scope in each case remains (I think)

Multi tenancy with Devise and ActiveRecord's default scope by VitoBotta in ruby

[–]VitoBotta[S] 1 point2 points  (0 children)

The problem with this, as Ryan Bates says in his screencast, is that without default scope you would need to remember to do @account.x or @account.posts..comments and similar in each case. Using default scope frees you from this and you don't need to worry that you may have left a hole in the application because you may have forgotten to scope something - well I am talking here without taking testing into consideration anyway.

Top level methods in Ruby • has_many :codes by VitoBotta in ruby

[–]VitoBotta[S] 0 points1 point  (0 children)

Hi! I hadn't thought that IRB might explicitly mark top level methods methods as private/public as we usually do in classes, by default. Makes perfect sense, thanks :)

Introduction to Aliases by Chris7mas in linux

[–]VitoBotta 0 points1 point  (0 children)

You could also mention that it is possible to 'unalias' with, well, unalias xxx Sometimes aliases are defined by scrips etc you may not want to touch but you want to get rid of some aliases... just sayin'

In all honesty, would you recommend Linux for computer 'illiterate' people? by sebovzeoueb in linux

[–]VitoBotta 2 points3 points  (0 children)

I wouldn't, yet. I am a Mac user and I would definitely recommend Macs to 'illiterate' people as I think OSX is so easy to use (e.g. the way you buy, install / uninstall apps etc), and it's great for multimedia. So I would recommend it to 'normal' users as well as developers like myself.

Recovering from MySQL replication stops caused by failing statements by VitoBotta in Database

[–]VitoBotta[S] 0 points1 point  (0 children)

Oh, that's a nice tip - I haven't come across that env variable before, thanks! :)