Saturday, July 29, 2017
Deploying Ruby on Rails application to Heroku using Docker
Ruby on Rails development environment using Docker and docker-compose
https://www.youtube.com/watch?v=9qbKkeASyFw
Deploying Ruby on Rails application to Heroku using Docker
https://www.amberbit.com/blog/2017/6/17/deploying-ruby-on-rails-application-to-heroku-using-docker/Wednesday, July 26, 2017
Tuesday, July 25, 2017
imba.io
Imba is a new programming language for the web that compiles to highly performant and readable JavaScript. It has language level support for defining, extending, subclassing, instantiating and rendering dom nodes. For a simple application like TodoMVC, it is more than 10 times faster than React with less code, and a much smaller library.
Labels:
javascript,
react,
web applications
Saturday, July 22, 2017
Advice from Claude Shannon
10,000 Hours With Claude Shannon: How A Genius Thinks, Works, and Lives:
https://medium.com/the-mission/10-000-hours-with-claude-shannon-12-lessons-on-life-and-learning-from-a-genius-e8b9297bee8f
Excerpts from the above article:
1) Cull your inputs.
2) Big picture first. Details later.
3) Don’t just find a mentor. Allow yourself to be mentored.
4) You don’t have to ship everything you make.
6) Time is the soil in which great ideas grow.
7) Consider the the content of your friendships.
8) Put money in its place.
9) Fancy is easy. Simple is hard.
11) Value freedom over status.
12) Don’t look for inspiration. Look for irritation.
https://medium.com/the-mission/10-000-hours-with-claude-shannon-12-lessons-on-life-and-learning-from-a-genius-e8b9297bee8f
Excerpts from the above article:
1) Cull your inputs.
2) Big picture first. Details later.
3) Don’t just find a mentor. Allow yourself to be mentored.
4) You don’t have to ship everything you make.
5) Chaos is okay.Vannevar Bush left his imprint on Shannon in another way: he defended the value of generalizing over specializing. As he told a group of MIT professors:“In these days, when there is a tendency to specialize so closely, it is well for us to be reminded that the possibilities of being at once broad and deep did not pass with Leonardo da Vinci or even Benjamin Franklin. Men of our profession — we teachers — are bound to be impressed with the tendency of youths of strikingly capable minds to become interested in one small corner of science and uninterested in the rest of the world. . . . It is unfortunate when a brilliant and creative mind insists upon living in a modern monastic cell.”Bush encouraged Shannon to avoid cells of all kinds
6) Time is the soil in which great ideas grow.
7) Consider the the content of your friendships.
8) Put money in its place.
9) Fancy is easy. Simple is hard.
“Almost every problem that you come across is befuddled with all kinds of extraneous data of one sort or another,” Shannon said, “and if you can bring this problem down into the main issues, you can see more clearly what you’re trying to do.”10) The less marketing you need, the better your idea or product probably is.
11) Value freedom over status.
12) Don’t look for inspiration. Look for irritation.
Shannon’s most evocative formulation of that elusive quality put it like this: it was “a slight irritation when things don’t look quite right,” or a “constructive dissatisfaction.” In the end, Shannon’s account of genius was a refreshingly unsentimental one: A genius is simply someone who is usefully irritated.
Wednesday, July 19, 2017
Steps for developing a React app from scratch
Excerpt from the book FullStack React (Chapter 2 - Components)
In fact, this follows from a handy framework for developing a React app from scratch:
1. Break the app into components
2. Build a static version of the app
3. Determine what should be stateful
4. Determine in which component each piece of state should live
5. Hard-code initial states
6. Add inverse data flow
7. Add server communication
Chrome Dev Tools related
https://developers.google.com/web/updates/2017/04/devtools-release-notes
To speed up page load time - https://youtu.be/4mx1m7UbBR0?t=37
https://developers.google.com/web/tools/chrome-devtools/javascript/
https://developers.google.com/web/tools/chrome-devtools/javascript/breakpoints
https://developers.google.com/web/tools/chrome-devtools/javascript/reference
To speed up page load time - https://youtu.be/4mx1m7UbBR0?t=37
https://developers.google.com/web/tools/chrome-devtools/javascript/
https://developers.google.com/web/tools/chrome-devtools/javascript/breakpoints
https://developers.google.com/web/tools/chrome-devtools/javascript/reference
Labels:
javascript,
performance,
tools,
web applications
Tuesday, July 18, 2017
SmashTest.io
http://smashtest.io/#
Smashtest is a lightweight Chrome extension.
An automated way to find bugs, share them, and allow everyone on the team to easily reproduce them.
https://www.reddit.com/r/programming/comments/6nt2hg/built_a_chrome_extension_that_continuously/
https://www.reddit.com/r/programming/comments/6nt2hg/built_a_chrome_extension_that_continuously/
Labels:
testing,
tools,
web applications
Tuesday, July 11, 2017
Sunday, July 9, 2017
Jonathan Blow talk - shares some hard-earned wisdom about programming & projects
His talk is about 38 minutes long.
Alexander Pope: A little learning is a dangerous thing
From http://norvig.com/21-days.html
Above link is already part of a previous blogpost, but the below quote is worth a new blogpost by itself.
Above link is already part of a previous blogpost, but the below quote is worth a new blogpost by itself.
As Alexander Pope said, a little learning is a dangerous thing.
Peter Norving: Teach Yourself Programming in Ten Years
Peter Norvig is a director of research at Google Inc.
He wrote way back in 2001 - Teach Yourself Programming in Ten Years -
http://norvig.com/21-days.html
He wrote way back in 2001 - Teach Yourself Programming in Ten Years -
http://norvig.com/21-days.html
Peter Norvig: Being good at programming competitions correlates negatively with being good on the job
Peter Norvig is a director of research at Google Inc.
http://www.catonmat.net/blog/programming-competitions-work-performance/
Broad generalizations will not stand up in a court of law, but they do point towards things to ponder.
My takeaway from the above video - Trying to get things done quickly, all the time, can be a Negative thing.
http://www.catonmat.net/blog/programming-competitions-work-performance/
"Being good at programming competitions correlates negatively with being good on the job"
Broad generalizations will not stand up in a court of law, but they do point towards things to ponder.
My takeaway from the above video - Trying to get things done quickly, all the time, can be a Negative thing.
Thursday, July 6, 2017
Getting Started with Headless Chrome, Data scraping with headless Chrome
Getting Started with Headless Chrome
https://developers.google.com/web/updates/2017/04/headless-chrome
Data scraping with headless Chrome:
https://riston.github.io/post/headless-chrome-scrape/
https://developers.google.com/web/updates/2017/04/headless-chrome
https://riston.github.io/post/headless-chrome-scrape/
Labels:
headless-chrome,
tools,
web applications
Monday, July 3, 2017
Scaling a Web Service: Load Balancing
Scaling a Web Service: Load Balancing
https://blog.vivekpanyam.com/scaling-a-web-service-load-balancing/
https://blog.vivekpanyam.com/scaling-a-web-service-load-balancing/
Sunday, July 2, 2017
Saturday, July 1, 2017
Subscribe to:
Posts (Atom)
Followers
Blog Archive
-
▼
2017
(181)
-
▼
July
(26)
- Videos for using Spree/Solidus for E-Commerce
- Deploying Ruby on Rails application to Heroku usin...
- Python & SQL Server
- redbus move to .Net Core & their blog
- imba.io
- Blockchain related: A hacker stole $31M of Ether—h...
- Advice from Claude Shannon
- http client - Requester
- Steps for developing a React app from scratch
- Chrome Dev Tools related
- SmashTest.io
- How to host a hobby app for free
- Blazor - WebAssembly in C#, Granular - WPF to Java...
- Visual Regression Testing
- SnapTest.io - Selenium IDE-like Chrome extension
- Jonathan Blow talk - shares some hard-earned wisdo...
- Alexander Pope: A little learning is a dangerous t...
- Peter Norving: Teach Yourself Programming in Ten Y...
- Peter Norvig: Being good at programming competitio...
- Getting Started with Headless Chrome, Data scrapin...
- General: If you want to level up as an engineer, r...
- Scaling a Web Service: Load Balancing
- Jira API
- React related: How to communicate between ReactJS ...
- Kapil Vaswani - Simple, fast and safe manual memor...
- React + Rails
-
▼
July
(26)