Thursday, September 24, 2015

Rails related - 'locals'

From http://stackoverflow.com/questions/5255874/rendering-partial-with-locals-in-haml

You would use the :locals option if you're calling render from a controller. When calling render from a view, you would simply do this:
= render 'meeting_info', :info => @info

Monday, September 14, 2015

HTML5 Form Validation related

Form Inputs Browser Support Issue

Form Inputs Browser Support Issue
http://www.smashingmagazine.com/2015/05/form-inputs-browser-support-issue/

It's hard to believe that this is the state of the web in 2015. I cannot but think that Google, Apple, Microsoft are deliberately trying to make web application difficult w.r.t mobile. 

Google owns Android & Chrome browser.
Apple owns iOS and Safari browser.
Microsoft owns Windows Phone (now Windows Mobile) & IE (and Edge).

Clearly they have a conflict of interest here. Each of them wants to push their own mobile-app infrastructure and have more mobile apps when compared to mobile web sites. Creating problems with Form Inputs is a simple way of discouraging web application development for mobile. 

Firefox is opensource and does not have the above constraint, but Chrome, IE, Safari seem to make the disadvantages subtle enough so that they are not really visible to the user (on mobile), but are a big deal for web developers.


Weekly reading list related to Web Development - smashingmagazine.com

If you don’t want all your images be loaded directly on page load, this simple technique by Christian Heilmann might be for you: By wrapping images with a
Video - http://christianheilmann.com/2015/09/08/quick-trick-using-template-to-delay-loading-of-images/

Found the above at - smashingmagazine.com ; They are publishing a weekly reading list of 'what's happening in our industry' here - http://www.smashingmagazine.com/tag/web-development-reading-list/

Friday, September 11, 2015

"If You Haven't Done It Before, All Bets Are Off", Side Projects Benefits

http://prog21.dadgum.com/209.html

Above is the reason why I cannot give an answer, most of the times, to the question - how much time will it take?

Excerpt:
Except when it comes to figuring out how much work it's going to take. In that case, without having done it before, all bets are off.
This gives us another reason for doing those side-projects that never seem to take off. If we work on a side-project, then, when we encounter a similar problem at our day-job, we will be better positioned to give an estimate about the work. And for sure, we would be on that team that is going to do the project. So, this is how, you slide into the projects you want to work on. Hmm.. hopefully, I will act on this realization unlike all the previous instances of enlightenment..

F# related

http://tomasp.net/blog/2015/typed-revisited/

FunScript website -  http://funscript.info/samples/worldbank/
FunScript is a lightweight F# library that lets you rapidly develop single-page applications.
F# Data Library - http://fsharp.github.io/FSharp.Data/

F# and Data Science - http://www.tryfsharp.org/Learn/data-science

Monday, September 7, 2015

Friday, September 4, 2015

Improving performance in Ruby/Rails code

http://blog.skylight.io/fixing-the-mysterious-slow-request/?utm_content=buffer21003&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer

Talks mostly about object allocations and how we can improve (reduce) them;
Read through quickly once;
Has some links within it which seem interesting (but i haven't read yet);
Has good simple examples

Stamplay & Build a Food Ordering app like JustEat

Stamplay - https://stamplay.com/ - The modular backend platform for web developers

Example:
https://blog.stamplay.com/create-a-food-ordering-app-like-justeat-with-angularjs/?utm_medium=social&utm_source=twitter&utm_campaign=tutorials&utm_content=justeat

Pricing:
Core Plan - Free
100K API calls / 100GB hosting transfer / 1GB hosting storage /stamplayapp.com subdomain

Followers

Blog Archive