Thursday, December 22, 2016
Saturday, December 17, 2016
Friday, December 9, 2016
Thursday, December 8, 2016
Monday, December 5, 2016
Vue.js in GitLab
- This is a good talk to watch for info regarding Why Gitlab chose Vue, How they are using Vue etc.
- Gitlab is using Rails, so it should have important/useful lessons for Vibe
- Gitlab is using Rails, so it should have important/useful lessons for Vibe
Labels:
javascript,
vue.js,
web applications
Wednesday, November 30, 2016
Sunday, November 27, 2016
Turbolinks related
https://changelog.com/posts/why-we-chose-turbolinks
This is the 2nd blog-post i noticed that mentions using Turbolinks with Phoenix. And they also chose Turbolinks over current JS frameworks like React, Angular.
The previous one - http://psjp-learn.blogspot.in/2016/07/phoenix-turbolinks-as-replacement-for.html
This is the 2nd blog-post i noticed that mentions using Turbolinks with Phoenix. And they also chose Turbolinks over current JS frameworks like React, Angular.
The previous one - http://psjp-learn.blogspot.in/2016/07/phoenix-turbolinks-as-replacement-for.html
Labels:
design,
elixir,
javascript,
phoenix,
web applications
Microservices Migration: Lessons Learned
https://medium.com/technology-learning/microservices-migration-lessons-learned-f84166ec7eb0#.spcg7hoj8
Apart from the content of the blogpost, it has useful links to other articles.
Apart from the content of the blogpost, it has useful links to other articles.
Saturday, November 26, 2016
Monday, November 14, 2016
Wednesday, November 9, 2016
Monday, November 7, 2016
.Net related - Jason Robert - Microsoft MVP and Author's Blog
http://dontcodetired.com/blog
- this seems to be a blog to follow
- this seems to be a blog to follow
Sunday, November 6, 2016
The Difference Between Throttling and Debouncing
https://css-tricks.com/the-difference-between-throttling-and-debouncing/
Above link shows a nice demo of how many Scroll Events are generated when using Nothing vs Throttling vs Debouncing
Above link shows a nice demo of how many Scroll Events are generated when using Nothing vs Throttling vs Debouncing
Labels:
design,
javascript,
web applications
Friday, November 4, 2016
Thursday, November 3, 2016
Monday, October 31, 2016
Sunday, October 23, 2016
Multi-Processing, Multi-Threading, Synchronization
Multi-Processing, Multi-Threading, Synchronization
https://techtake.info/2016/10/13/symmetric-multi-processing-multi-threading-and-synchronisation-explained/
https://techtake.info/2016/10/13/symmetric-multi-processing-multi-threading-and-synchronisation-explained/
Saturday, October 22, 2016
Revealing Module Pattern in JS
Revealing Module Pattern in JS
https://toddmotto.com/mastering-the-module-pattern/#revealing-module-pattern
https://toddmotto.com/mastering-the-module-pattern/#revealing-module-pattern
Unidirectional UI Architectures
Overview of the past, present and future of UI flow and structure
http://staltz.com/unidirectional-user-interface-architectures.html
http://staltz.com/unidirectional-user-interface-architectures.html
Labels:
design,
frontend,
javascript,
UI
Wednesday, October 12, 2016
Sunday, October 9, 2016
Elm + Crystal example - Building a realtime Chat application with Crystal and Kemal
Building a realtime Chat application with Crystal and Kemal
https://medium.com/@zenitram.oiram/a-beginners-guide-to-websockets-in-elm-and-crystal-8f510c28eb61#.qmk4d29gkWednesday, October 5, 2016
Tuesday, September 27, 2016
.Net Standard Library
From https://blogs.msdn.microsoft.com/dotnet/2016/09/26/introducing-net-standard/
Right now:
With .Net Standard Library:
Right now:
With .Net Standard Library:
Monday, September 19, 2016
Sunday, September 18, 2016
Filtering while viewing log files
cat logfile.txt | grep -v "IgnoreThis\|IgnoreThat" | less
http://stackoverflow.com/questions/2338812/how-can-i-view-log-files-in-linux-and-apply-custom-filters-while-viewing
Saturday, September 17, 2016
Process & People, Minimum & Maximum
Below is a thought about Process vs People.
A company has People and Processes.
A Process can only ensure a Minimum.
However, reaching the Maximum, probably depends on how talented the People are, and other such X factors.
So, i think that it is very important to remember that efforts spent in improving our Processes will only move our Minimum higher. Not that that is bad, but it might not be enough.
If our goal is to achieve a great quality product, we have to invest in great People, and acknowledge that it is X factors that ultimately make the difference between achieving a Minimum and a Maximum.
A company has People and Processes.
A Process can only ensure a Minimum.
However, reaching the Maximum, probably depends on how talented the People are, and other such X factors.
So, i think that it is very important to remember that efforts spent in improving our Processes will only move our Minimum higher. Not that that is bad, but it might not be enough.
If our goal is to achieve a great quality product, we have to invest in great People, and acknowledge that it is X factors that ultimately make the difference between achieving a Minimum and a Maximum.
Labels:
project management,
rants,
software engineering
Thursday, September 15, 2016
Distributed Caching with Apache Ignite
Article talks in simple terms about how we can improve Output Caching in the scenrario where we have a Web Farm (i.e. multiple web servers)
https://ptupitsyn.github.io/Asp-Net-Distributed-Output-Cache/)
https://ptupitsyn.github.io/Asp-Net-Distributed-Output-Cache/)
Monday, September 12, 2016
Friday, September 9, 2016
Thursday, September 8, 2016
Wednesday, September 7, 2016
Tuesday, September 6, 2016
Monday, September 5, 2016
CQRS & ES (e.g. Redux)
CQRS and Event Sourcing (ES) explained in a simple way:
https://schneide.files.wordpress.com/2016/09/cqrs_zine.pdf
https://schneide.files.wordpress.com/2016/09/cqrs_zine.pdf
Labels:
computer science,
database,
design,
web applications
Saturday, September 3, 2016
Thursday, September 1, 2016
The way to get more information is to iterate
From http://blog.launchdarkly.com/secrets-of-netflixs-engineering-culture/
If you’re constantly testing ideas, even without having enough data, you’re quicker to get into the right path.
As Kris Gale, co-founder and CTO of Yammer said, “You will always make better decisions with more information, and you will always have more information in the future.” But the way to get more information is to iterate.
Tuesday, August 30, 2016
Monday, August 29, 2016
Friday, August 12, 2016
React related - websites to learn more
This should be a good practice project to do with React:
https://www.fullstackreact.com/articles/react-tutorial-cloning-yelp/
Have to checkout this site also:
http://buildwithreact.com/
React + Asp.net MVC:
http://reactjs.net/getting-started/tutorial.html
https://www.fullstackreact.com/articles/react-tutorial-cloning-yelp/
Have to checkout this site also:
http://buildwithreact.com/
React + Asp.net MVC:
http://reactjs.net/getting-started/tutorial.html
Tuesday, August 9, 2016
React Native related
A Android social app built with React Native (on Ubuntu)
Built With
- React Native
- Redux
- Redux Storage (with async-storage engine for react native for application persistence)
- Firebase
Building fast.com
Have to read this later
http://techblog.netflix.com/2016/08/building-fastcom.html
http://techblog.netflix.com/2016/08/building-fastcom.html
Labels:
computer science,
software engineering,
tools
Monday, August 8, 2016
Rails + React - project on github
Rails + React + Redux + Material-UI + CSS
https://github.com/tsurupin/portfolio
https://github.com/tsurupin/portfolio
Friday, August 5, 2016
Wednesday, August 3, 2016
React Native related
PhoneGap vs React Native: http://stackoverflow.com/questions/33286451/phone-gap-vs-react-native
Advantages of using React Native: https://www.smashingmagazine.com/2016/04/consider-react-native-mobile-app/
React Native on Ubuntu: https://github.com/CanonicalLtd/react-native/blob/ubuntu/README.ubuntu
Tuesday, August 2, 2016
Monday, August 1, 2016
Sebastian Markbage: Minimal API Surface Area | JSConf EU 2014
This is a talk that goes slightly against general 'standard' practices...
It's very important to keep coming back to this talk from time to time..
It's very important to keep coming back to this talk from time to time..
Labels:
computer science,
design,
software engineering
Saturday, July 30, 2016
Friday, July 29, 2016
MySQL - instr
http://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_instr
instr - if substring is present, it returns a +ve number, else it returns a 0
Note: if not present, it returns a 0 and not a negative number (like -1)
instr - if substring is present, it returns a +ve number, else it returns a 0
Note: if not present, it returns a 0 and not a negative number (like -1)
Wednesday, July 27, 2016
Monday, July 25, 2016
Vue.js, Kuzzle.io
Building a Slack clone could be a good project to learn JS frameworks:
https://medium.com/building-a-slack-clone-with-vue-js-and-kuzzle-io
https://medium.com/building-a-slack-clone-with-vue-js-and-kuzzle-io
Saturday, July 23, 2016
Building Real-Time App with React/Redux/Rails/RethinkDB - RedDotRubyConf 2016
- Short & Sweet talk
- for Real-time apps
- tools selected allow Declarative Programming
Labels:
design,
javascript,
rails,
react,
software engineering
Thursday, July 21, 2016
Book - High Performance Browser Networking
https://hpbn.co/
Excerpt:
Excerpt:
"Performance is a feature. This book provides a hands-on overview of what every web developer needs to know about the various types of networks (WiFi, 3G/4G), transport protocols (UDP, TCP, and TLS), application protocols (HTTP/1.1, HTTP/2), and APIs available in the browser (XHR, WebSocket, WebRTC, and more) to deliver the best—fast, reliable, and resilient—user experience."
Labels:
computer science,
design,
performance,
web applications
Tuesday, July 12, 2016
Phoenix + Turbolinks as a replacement for a JS front-end framework like React
Phoenix + Turbolinks with server-side-rendering as a replacement for a JS front-end framework like React
https://robots.thoughtbot.com/how-we-replaced-react-with-phoenix
https://github.com/turbolinks/turbolinks
https://robots.thoughtbot.com/how-we-replaced-react-with-phoenix
https://github.com/turbolinks/turbolinks
Labels:
design,
elixir,
javascript,
phoenix,
web applications
Monday, July 11, 2016
Saturday, July 9, 2016
Quora homework incident
https://www.quora.com/Homework-Question-How-do-I-write-a-program-that-produces-the-following-output-1
Responses include programs written in 40+ languages.. :)
I posted an answer in Javascript just to be part of it.
JS Bin on jsbin.com
Responses include programs written in 40+ languages.. :)
I posted an answer in Javascript just to be part of it.
Thursday, July 7, 2016
Monday, July 4, 2016
Mongodb - getting started
1) mongo
- to launch mongo shell
2) db.adminCommand( { listDatabases: 1 } )
- to list the databases
3) use abc
- assuming 'abc' is one of the databases listed by command 2
4) db.getCollectionNames()
- to list all the collections
- i think we have to run our queries on Collections just like we would run queries on Tables in a Sql database
5) db.users.findOne()
- assuming 'users' is a collection
- to launch mongo shell
2) db.adminCommand( { listDatabases: 1 } )
- to list the databases
3) use abc
- assuming 'abc' is one of the databases listed by command 2
4) db.getCollectionNames()
- to list all the collections
- i think we have to run our queries on Collections just like we would run queries on Tables in a Sql database
5) db.users.findOne()
- assuming 'users' is a collection
Saturday, July 2, 2016
React related
Why you might not need MVC with React.js
http://www.code-experience.com/why-you-might-not-need-mvc-with-reactjs
Thinking in React
https://facebook.github.io/react/docs/thinking-in-react.html
http://www.code-experience.com/why-you-might-not-need-mvc-with-reactjs
Thinking in React
https://facebook.github.io/react/docs/thinking-in-react.html
Monday, June 27, 2016
Friday, June 24, 2016
Discussions
Reminder to myself since i am guilty as hell of the below sin - As a developer, discussions should be about how to do things, rather than about how to improve Process, self-improvement etc.
Do - what is the best language/framework to implement ABC application ?
Don't - how can we find time to learn that language/framework
Do - what is the best language/framework to implement ABC application ?
Don't - how can we find time to learn that language/framework
Monday, June 20, 2016
Friday, June 17, 2016
Understanding of underlying software systems
This seems to be an awesome blog for learning the basics of how systems work: https://ruslanspivak.com/
Hi! I’m Ruslan Spivak, a 36 year old Software Team Lead from Canada, and if you’ve ever asked yourself:
- “How do I create my own programming language?”
- “How does an interpreter, compiler, or VM work and how do I create one?”
- “How do I implement my own database and a small operating system?”
- “How do I code my own web server?”
- “How do I write my own web framework?”
Or if you’ve just wanted to know more about software development in general and how to become a better developer - then you are in the right place!Here’s the deal:I believe to become a better developer you MUST get a better understanding of the underlying software systems you use on a daily basis and that includes programming languages, compilers and interpreters, databases and operating systems, web servers and web frameworks. And to get a better and deeper understanding of those systems you MUST re-build them from scratch.
Serverless
http://martinfowler.com/articles/serverless.html
https://github.com/serverless/serverless
https://github.com/serverless/serverless
What is Serverless?
Like many trends in software there’s no one clear view of what ‘Serverless’ is, and that isn't helped by it really coming to mean two different but overlapping areas:
- Serverless was first used to describe applications that significantly or fully depend on 3rd party applications / services (‘in the cloud’) to manage server-side logic and state. These are typically ‘rich client’ applications (think single page web apps, or mobile apps) that use the vast ecosystem of cloud accessible databases (like Parse, Firebase), authentication services (Auth0, AWS Cognito), etc. These types of services have been previously described as ‘(Mobile) Backend as a Service’, and I’ll be using‘BaaS’ as a shorthand in the rest of this article.
- Serverless can also mean applications where some amount of server-side logic is still written by the application developer but unlike traditional architectures is run in stateless compute containers that are event-triggered, ephemeral (may only last for one invocation), and fully managed by a 3rd party. (Thanks to ThoughtWorks for their definition in their most recent Tech Radar.) One way to think of this is ‘Functions as a service / FaaS’ . AWS Lambda is one of the most popular implementations of FaaS at present, but there are others. I’ll be using ‘FaaS’ as a shorthand for this meaning of Serverless throughout the rest of this article.
Labels:
computer science,
design,
software engineering
App Servers benchmarked for: Ruby, Node, Elixir, GO, Java, Crystal
https://github.com/costajob/app-servers
Excerpt:
Results
Excerpt:
Results
Here are the benchmarks results ordered by increasing throughput.
App Server | Throughput (req/s) | Latency in ms (avg/stdev/max) |
---|---|---|
Rack | 29208.81 | 3.13/0.348/13.28 |
JRuby-Rack | 32331.47 | 0.99/0.598/44.34 |
Plug | 33583.07 | 3.35/7.62/145.87 |
Node Cluster | 47576.68 | 2.51/3.40/120.02 |
Jetty | 52398.88 | 1.90/0.432/22.45 |
ServeMux | 58359.97 | 1.70/0.315/18.63 |
Crystal HTTP | 75159.45 | 1.33/0.270/6.02 |
Wednesday, June 15, 2016
Monday, June 13, 2016
Sunday, June 12, 2016
Wednesday, June 8, 2016
Friday, May 6, 2016
Microsoft CEO Satya Nadella believes bots are the new apps
Microsoft CEO Satya Nadella believes bots are the new apps .
https://channel9.msdn.com/Events/Build/2016/KEY01#time=1h28m23s
https://channel9.msdn.com/Events/Build/2016/KEY01#time=1h28m23s
Wednesday, May 4, 2016
Monday, May 2, 2016
Thursday, April 28, 2016
Sunday, April 24, 2016
Saturday, April 16, 2016
Topics/Concepts for a person who wants to learn programming
This post is a work-in-progress.
I spoke to a couple of friends (at different times) who wanted to know what programming was all about. The below points/concepts came to my mind during both those times, so I wanted to write a blogpost to save those points. (Better examples are needed perhaps for the below concepts).
1. Strings, Strings, Strings - alphabets, number, special characters etc.
Knowing how to do String manipulation in any language is a must - being able to create the required string, being able to split a string (parse a string) etc
HTTP protocol is just a bunch of rules that a browser (client) and server follow to exchange strings (messages) between one another.
Browser - i will send you this particular string if I want this
Server - I will send you this particular string if I have what you want
2. Object Oriented Programming (OOP), functions etc are just ways of Organizing your code... organizing your code in the same file or in different files etc
It is important to note that -
a) writing code to accomplish something is the 1st step;
b) the 2nd step is to organize it (using OOP, MVC etc) to make it easier to find it and modify later on.
3. Abstractions
Abstractions are everywhere in computers.
Lets say we have to work with something called A.
Lets say that it is really difficult to write programs for A.
What typically happens is that a genius (or a team of them) comes along and creates a layer called B that is easier to work with, but translates our programs to A.
Now if some people feel that B also is difficult for them, then a layer called C is created, and so on.
B & C are then called layers of abstraction over A.
B is a layer of abstraction over A.
C is a layer of abstraction over B.
Each layer's goal is hide the complexity of the layer beneath it and at the same time be useful to people.
As complexity of tasks increases, programmers tend to find themselves working with (in) lower and lower levels of abstractions.
Perhaps we should always try to spot the layers of abstraction in anything that we encounter in our software world.
Below are some Real-life examples of abstractions:
CPUs understand only 1s and 0s.
Assembly Language is an abstraction over 1s and 0s.
High-level languages are abstraction over Assembly Languages.
jquery is an abstraction over Javascript
bootstrap is an abstraction over CSS
ruby is an abstraction over C
4. API - Application Programming Interfaces
From wikipedia - A good API makes it easier to develop a program by providing all the building blocks, which are then put together by the programmer.
Best is an example - we want to get data from some company, say weather data from accuweather.com
So, to successfully get data from accuweather.com and display it in our application, we need 2 things:
a) first, we should check if accuweather provides an API to access its data
b) we should then look at that API's documentation - how to access the API, which functions/methods it provides etc.
We cannot guess how an API will work. We would need documentation of how it is supposed to behave - this should be given by the people who make the API.
We would need Documentation before we would be able to use any API.
5. Documentation
Take anything that has been built by Someone Else.
In order to use it properly, we would need its Documentation.
E.g. 1 accuweather.com's people built their API. They have to put up their Documentation on their website if they want people outside their company to be able to use.
E.g. 2. Java was initially created by Sun Microsystems, and now is being owned & worked on by Oracle.
When we work with Java or Accuweather's API, we have access to the below types of documentation:
a) verbal info from peers, or already existing code in your application
b) books, online tutorials, blogs, videos
c) documentation created by people who created Java or Accuweather.com's API
As the complexity of what you are trying to do increases, programmers typically shift from 'a' to 'b' to 'c'.
I spoke to a couple of friends (at different times) who wanted to know what programming was all about. The below points/concepts came to my mind during both those times, so I wanted to write a blogpost to save those points. (Better examples are needed perhaps for the below concepts).
1. Strings, Strings, Strings - alphabets, number, special characters etc.
Knowing how to do String manipulation in any language is a must - being able to create the required string, being able to split a string (parse a string) etc
HTTP protocol is just a bunch of rules that a browser (client) and server follow to exchange strings (messages) between one another.
Browser - i will send you this particular string if I want this
Server - I will send you this particular string if I have what you want
2. Object Oriented Programming (OOP), functions etc are just ways of Organizing your code... organizing your code in the same file or in different files etc
It is important to note that -
a) writing code to accomplish something is the 1st step;
b) the 2nd step is to organize it (using OOP, MVC etc) to make it easier to find it and modify later on.
3. Abstractions
Abstractions are everywhere in computers.
Lets say we have to work with something called A.
Lets say that it is really difficult to write programs for A.
What typically happens is that a genius (or a team of them) comes along and creates a layer called B that is easier to work with, but translates our programs to A.
Now if some people feel that B also is difficult for them, then a layer called C is created, and so on.
B & C are then called layers of abstraction over A.
B is a layer of abstraction over A.
C is a layer of abstraction over B.
Each layer's goal is hide the complexity of the layer beneath it and at the same time be useful to people.
As complexity of tasks increases, programmers tend to find themselves working with (in) lower and lower levels of abstractions.
Perhaps we should always try to spot the layers of abstraction in anything that we encounter in our software world.
Below are some Real-life examples of abstractions:
CPUs understand only 1s and 0s.
Assembly Language is an abstraction over 1s and 0s.
High-level languages are abstraction over Assembly Languages.
jquery is an abstraction over Javascript
bootstrap is an abstraction over CSS
ruby is an abstraction over C
4. API - Application Programming Interfaces
From wikipedia - A good API makes it easier to develop a program by providing all the building blocks, which are then put together by the programmer.
Best is an example - we want to get data from some company, say weather data from accuweather.com
So, to successfully get data from accuweather.com and display it in our application, we need 2 things:
a) first, we should check if accuweather provides an API to access its data
b) we should then look at that API's documentation - how to access the API, which functions/methods it provides etc.
We cannot guess how an API will work. We would need documentation of how it is supposed to behave - this should be given by the people who make the API.
We would need Documentation before we would be able to use any API.
5. Documentation
Take anything that has been built by Someone Else.
In order to use it properly, we would need its Documentation.
E.g. 1 accuweather.com's people built their API. They have to put up their Documentation on their website if they want people outside their company to be able to use.
E.g. 2. Java was initially created by Sun Microsystems, and now is being owned & worked on by Oracle.
When we work with Java or Accuweather's API, we have access to the below types of documentation:
a) verbal info from peers, or already existing code in your application
b) books, online tutorials, blogs, videos
c) documentation created by people who created Java or Accuweather.com's API
As the complexity of what you are trying to do increases, programmers typically shift from 'a' to 'b' to 'c'.
Sunday, April 10, 2016
Ruby's attr_accessor, attr_reader and attr_writer
Basically they fake publicly accessible data attributes, which Ruby doesn't have.
http://stackoverflow.com/a/4370996 http://stackoverflow.com/a/4371458
http://stackoverflow.com/a/4371087
Ruby book
http://www-rohan.sdsu.edu/doc/ruby/chp_04/classes.html
http://stackoverflow.com/a/4370996 http://stackoverflow.com/a/4371458
http://stackoverflow.com/a/4371087
Ruby book
http://www-rohan.sdsu.edu/doc/ruby/chp_04/classes.html
Friday, April 8, 2016
Sunday, March 27, 2016
Monday, March 14, 2016
Saturday, March 12, 2016
Saturday, March 5, 2016
Interview Questions site
https://www.interviewcake.com/
Sample question: write code for getMaxProfit
var stockPricesYesterday = [10, 7, 5, 8, 11, 9];
getMaxProfit(stockPricesYesterday);
// returns 6 (buying for $5 and selling for $11)
Sample question: write code for getMaxProfit
var stockPricesYesterday = [10, 7, 5, 8, 11, 9];
getMaxProfit(stockPricesYesterday);
// returns 6 (buying for $5 and selling for $11)
Pursue a completely free, online, CS education.
1) https://docs.google.com/spreadsheets/d/1BD8BJJUNaX63m2QmySWMGDp71nx4W4MyyiIBlfM
oN3Q/htmlview?pref=2&pli=1&sle=true
Was posted on https://www.reddit.com/r/programming by jzeal
2) OSS - https://github.com/open-source-society/computer-science
3) MIT courses - https://www.scotthyoung.com/blog/myprojects/mit-challenge-2/
oN3Q/htmlview?pref=2&pli=1&sle=true
Was posted on https://www.reddit.com/r/programming by jzeal
2) OSS - https://github.com/open-source-society/computer-science
3) MIT courses - https://www.scotthyoung.com/blog/myprojects/mit-challenge-2/
Great quote about how to train & treat employees
"Train people well enough that they can leave. Treat them well enough that they won't want to." -- Richard Branson
Wednesday, March 2, 2016
Unix Philosophy
http://homepage.cs.uri.edu/~thenry/resources/unix_art/ch01s06.html
Excerpt:
Excerpt:
Doug McIlroy, the inventor of Unix pipes and one of the founders of the Unix tradition, had this to say at the time [McIlroy78]:
(i) Make each program do one thing well. To do a new job, build afresh rather than complicate old programs by adding new features.
(ii) Expect the output of every program to become the input to another, as yet unknown, program. Don't clutter output with extraneous information. Avoid stringently columnar or binary input formats. Don't insist on interactive input.
(iii) Design and build software, even operating systems, to be tried early, ideally within weeks. Don't hesitate to throw away the clumsy parts and rebuild them.
(iv) Use tools in preference to unskilled help to lighten a programming task, even if you have to detour to build the tools and expect to throw some of them out after you've finished using them.
Labels:
computer science,
linux,
software engineering
Monday, February 29, 2016
Rails and 422 HTTP error message
http://blog.ethanvizitei.com/2008/04/wtf-is-422.html
Excerpt:
Excerpt:
422 is returned by the Rails ActionController by default when a POST comes from another website outside your own web application. It's a security feature built in to prevent Cross-Site Request Forgery attacks.
Friday, February 26, 2016
Create an Awesome Linux Development Environment in Windows with vmware
Create an Awesome Linux Development Environment in Windows with vmware
http://nickjanetakis.com/blog/create-an-awesome-linux-development-environment-in-windows-with-vmware
http://nickjanetakis.com/blog/create-an-awesome-linux-development-environment-in-windows-with-vmware
Sunday, January 17, 2016
jquery issues in Electron
https://github.com/atom/electron/issues/345
How to properly run a Rails app inside Electron? - http://stackoverflow.com/questions/31967854/how-to-properly-run-a-rails-app-inside-electron
How to properly run a Rails app inside Electron? - http://stackoverflow.com/questions/31967854/how-to-properly-run-a-rails-app-inside-electron
Friday, January 15, 2016
Tuesday, January 12, 2016
Monday, January 4, 2016
Electron
Electron - Cross Platform Development for Desktop apps
Excerpt from : http://electron.atom.io/docs/latest/tutorial/quick-start/
Excerpt from : http://electron.atom.io/docs/latest/tutorial/quick-start/
Electron enables you to create desktop applications with pure JavaScript by providing a runtime with rich native (operating system) APIs. You could see it as a variant of the Node.js runtime that is focused on desktop applications instead of web servers.
This doesn't mean Electron is a JavaScript binding to graphical user interface (GUI) libraries. Instead, Electron uses web pages as its GUI, so you could also see it as a minimal Chromium browser, controlled by JavaScript.
Sunday, January 3, 2016
Clear test db while running rspecs
If we end up in a situation where we find out that the 'test db' is not being cleared properly, we can do the following:
http://stackoverflow.com/questions/25877734/rails-4-resetting-test-database
http://stackoverflow.com/questions/25877734/rails-4-resetting-test-database
bundle exec rake db:reset RAILS_ENV=test
List Columns in table (in Rails Console)
From rails console, how to list columns in a particular table:
http://stackoverflow.com/questions/5575970/activerecord-list-columns-in-table-from-console
Model.column_names
e.g. User.column_names
http://stackoverflow.com/questions/5575970/activerecord-list-columns-in-table-from-console
Model.column_names
e.g. User.column_names
Subscribe to:
Posts (Atom)
Followers
Blog Archive
-
▼
2016
(122)
-
►
November
(12)
- Pagination
- Unix in your Browser Tab
- CS Video Courses
- Turbolinks related
- Microservices Migration: Lessons Learned
- Stony Brook Video Lectues - 1) Algorithms 2) Compu...
- React UI Toolkit
- Elixir related
- .Net related - Jason Robert - Microsoft MVP and Au...
- The Difference Between Throttling and Debouncing
- Event Sourcing
- Create .Net Repl in a few minutes
-
►
October
(12)
- Difference between $(window).load() and $(document...
- Linux: ps -ef
- Multi-Processing, Multi-Threading, Synchronization
- Container technologies: docker, rkt, orchestration...
- Revealing Module Pattern in JS
- Unidirectional UI Architectures
- RxJS
- Guide to AWS
- You might not need Javascript
- Elm + Crystal example - Building a realtime Chat a...
- Ruby: how to write tests/Rspecs for private methods
- React related: Communicating between Components (n...
-
►
September
(21)
- .Net Standard Library
- Electron info
- Simple eCommerce with Stripe and Umbraco
- Filtering while viewing log files
- domvm
- Angular 2 related
- Process & People, Minimum & Maximum
- web2web - Server-less & domain-less websites updat...
- Distributed Caching with Apache Ignite
- Elixir related
- Stream + Amazon SQS + Amazon Lambda
- Screencasts
- A proposal of new concurrency model for Ruby 3
- Ruby/Rails related - FactoryGirl
- Debugging tools on Linux
- Mongodb related
- Algorithms related
- CQRS & ES (e.g. Redux)
- Podcast - Developer on Fire
- Express vs Rails: Framework Comparison using a Sim...
- The way to get more information is to iterate
-
►
August
(14)
- Try Elm online
- Tomasz Kowal - Elixir and Elm - the perfect couple...
- Aurelia - Contact Manager, Instagram Tutorials
- React related - websites to learn more
- React Native related
- Building fast.com
- Rails + React - project on github
- nopCommerce related
- Rails on Bash on Ubuntu on Windows 10
- Free Course in Modern Javascript
- Overview of ECMAScript 6 features
- React Native related
- Slack alternatives
- Sebastian Markbage: Minimal API Surface Area | JSC...
-
►
July
(15)
- Online learning for developers
- MySQL - instr
- Related to web design
- Related to Website Performance
- DuckRails is a development tool to allow developer...
- Vue.js, Kuzzle.io
- Building Real-Time App with React/Redux/Rails/Reth...
- Book - High Performance Browser Networking
- AWS Lambda related - Building Serverless Apps
- Phoenix + Turbolinks as a replacement for a JS fro...
- git: see changes in last commit
- Quora homework incident
- React related: Primer
- Mongodb - getting started
- React related
-
►
June
(13)
- Elixir related: Pinterest is using Elixir now
- Discussions
- Linux: commmand line history
- Linux: Make sudo & vpnc sessions last longer
- Understanding of underlying software systems
- Serverless
- System Design - Design a Key-Value Store
- App Servers benchmarked for: Ruby, Node, Elixir, G...
- Linux: how to find out which processes are attache...
- Next generation mocking framework in Javascript fo...
- Writing an OS: Baby Steps
- Laptops with best battery life - May 2016
- Compiler Optimizations
-
►
March
(8)
- Talk - Stop Building the Backend by Kelly Andrews
- jquery - find out if a checkbox is checked or not
- Rails related
- Interview Questions site
- Curated reading list by devs in RSS format - Devs ...
- Pursue a completely free, online, CS education.
- Great quote about how to train & treat employees
- Unix Philosophy
-
►
November
(12)