https://www.totaltypescript.com/tutorials/beginners-typescript
Friday, September 30, 2022
Saturday, September 24, 2022
Friday, September 23, 2022
Thursday, September 22, 2022
Java + Spring Boot + Microservices Example - Step by Step Guide
Java + Spring Boot + Microservices Example - Step by Step Guide
Wednesday, September 21, 2022
Tuesday, September 20, 2022
Courses suggested by Javinpaul (Twitter)
Best Software Architecture and Design Pattern Courses
1. Design Patterns in Java - bit.ly/3nYGrYR
2. Grokking the OOP Design - bit.ly/3pA4wFD
3. Master Microservices - bit.ly/2FNlleF
4. Software Architecture Patterns - bit.ly/38Ixqg5
5 Free Courses for Data Structure and Algorithms
1. Data Structure - bit.ly/3l4VxMj
2. Algorithms - bit.ly/3P45Gqi
3. A Visual Intro to Algorithms - bit.ly/3NcwIKx
4. Data Structures Java - bit.ly/2F5V1uW
5. more - bit.ly/3w2YQJY
5 Best Courses for Microservices
1. Microservice Architecture - bit.ly/3w1zGva
2. Principles - bit.ly/3ruSCR7
3. Scalable Microservices - bit.ly/3MaP7GS
4. Microservice with Java - bit.ly/2FNlleF
5. more - bit.ly/3PQzR3v
6 System Design Problems
6 System Design Problems [Solved]
1. Instagram- bit.ly/3BqamCL
2. Youtube Design - bit.ly/3bbNnAN
3. WhatsApp - bit.ly/3SbA9Eu
4. Parking Lot - bit.ly/3eMUosX
5. Library design- bit.ly/3SfwJQe
6. URL Shortner - bit.ly/3dZoQ2G
Friday, September 16, 2022
Streaming 101: The world beyond batch
https://www.oreilly.com/radar/the-world-beyond-batch-streaming-101/
The Lambda Architecture: 2011 -
http://nathanmarz.com/blog/how-to-beat-the-cap-theorem.html
Questioning the Lambda Architecture - 2014 - in favour of Kafka -
http://radar.oreilly.com/2014/07/questioning-the-lambda-architecture.html
Podcasts and YouTube channels recommended by Hussein Nasser
Below is from his Youtube video - https://www.youtube.com/watch?v=4NsWnT_-FoE
Podcasts and YouTube channels recommended by Hussein Nasser
Recommended Podcastshttps://softwareengineeringdaily.com/
https://www.dataengineeringpodcast.com/
https://changelog.com/podcast
Recommended YouTube Channels
https://www.youtube.com/user/TechGuyWeb
https://www.youtube.com/user/99baddawg
https://www.youtube.com/channel/UCRPMAqdtSgd0Ipeef7iFsKw
https://www.youtube.com/channel/UCn1XnDWhsLS5URXTi5wtFTA
Wednesday, September 14, 2022
Tuesday, September 13, 2022
Sunday, September 11, 2022
Thursday, September 8, 2022
Tuesday, September 6, 2022
Monday, September 5, 2022
Saturday, September 3, 2022
React Native related - error trying to start Simulator using 'i' shortcut
Error: xcrun exited with non-zero code: 2
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Unable to boot device because we cannot determine the runtime bundle.
No such file or directory
https://stackoverflow.com/questions/31179706/how-can-i-launch-the-ios-simulator-from-terminal
Friday, September 2, 2022
Thursday, September 1, 2022
Monday, August 29, 2022
Sunday, August 21, 2022
Tuesday, August 16, 2022
Friday, August 12, 2022
Prerequisites for Algorithms by Jeff Erickson
Author lists below as the prerequisites for reading his book: (Below content has been copied from the Prerequisites pages of his book)
• Discrete mathematics: High-school algebra, logarithm identities, naive set theory, Boolean algebra, first-order predicate logic, sets, functions, equivalences, partial orders, modular arithmetic, recursive definitions, trees (as abstract objects, not data structures), graphs (vertices and edges, not function plots).
• Proof techniques: direct, indirect, contradiction, exhaustive case analysis, and induction (especially “strong” and “structural” induction). Chapter 0 uses induction, and whenever Chapter n−1 uses induction, so does Chapter n.
• Iterative programming concepts: variables, conditionals, loops, records, indirection (addresses/pointers/references), subroutines, recursion. I do not assume fluency in any particular programming language, but I do assume experience with at least one language that supports both indirection and recursion.
• Fundamental abstract data types: scalars, sequences, vectors, sets, stacks, queues, maps/dictionaries, ordered maps/dictionaries, priority queues.
• Fundamental data structures: arrays, linked lists (single and double, linear and circular), binary search trees, at least one form of balanced binary search tree (such as AVL trees, red-black trees, treaps, skip lists, or splay trees), hash tables, binary heaps, and most importantly, the difference between this list and the previous list.
• Fundamental computational problems: elementary arithmetic, sorting, searching, enumeration, tree traversal (preorder, inorder, postorder, levelorder, and so on).
• Fundamental algorithms: elementary algorism, sequential search, binary search, sorting (selection, insertion, merge, heap, quick, radix, and so on), breadth- and depth-first search in (at least binary) trees, and most importantly, the difference between this list and the previous list.
• Elementary algorithm analysis: Asymptotic notation (o, O, Θ, Ω, ω), translating loops into sums and recursive calls into recurrences, evaluating simple sums and recurrences.
• Mathematical maturity: facility with abstraction, formal (especially recursive) definitions, and (especially inductive) proofs; writing and following mathematical arguments; recognizing and avoiding syntactic, semantic, and/or logical nonsense.
Books:
Margaret M. Fleck. Building Blocks for Theoretical Computer Science, unpublished textbook, most recently revised January 2013. Available from http://mfleck.cs.illinois.edu/building-blocks/.
• Eric Lehman, F. Thomson Leighton, and Albert R. Meyer. Mathematics for Computer Science, unpublished lecture notes, most recent (public) revision June 2018. Available from https://courses.csail.mit.edu/6.042/spring18/. (I strongly recommend searching for the most recent revision.)
• Pat Morin. Open Data Structures, most recently revised January 2016 (edition 0.1Gβ). A free open-content textbook, which Pat maintains and regularly updates. Available from http://opendatastructures.org/.
Thursday, August 11, 2022
Tuesday, August 9, 2022
Monday, August 1, 2022
Sunday, July 31, 2022
Sunday, July 24, 2022
Thursday, July 21, 2022
Wednesday, July 20, 2022
Tuesday, July 19, 2022
Saturday, July 16, 2022
Wednesday, July 13, 2022
Wednesday, July 6, 2022
Wednesday, June 22, 2022
Monday, June 20, 2022
How to run bundler with a lower version
~/xxxxx/xxxxx/xxxxx/xxxx/xxxxxx/xxxxxxxx$ gem list | grep bundler
bundler (2.1.4, 1.17.3, 1.16.4, 1.16.1)
~/xxxxx/xxxxx/xxxxx/xxxx/xxxxxx/xxxxxxxx$ bundle _1.17.3_ installhttps://stackoverflow.com/questions/9725811/how-to-downgrade-bundler-or-upgrade-rails
Sunday, June 19, 2022
Friday, June 3, 2022
Monday, May 30, 2022
Monday, May 23, 2022
Install nvm on MacOS
https://stackoverflow.com/questions/67241196/error-no-template-named-remove-cv-t-in-namespace-std-did-you-mean-remove
https://tecadmin.net/install-nvm-macos-with-homebrew/
Sunday, May 15, 2022
Thursday, May 12, 2022
Saturday, May 7, 2022
Thursday, May 5, 2022
Monday, May 2, 2022
Sunday, May 1, 2022
Upgrading from Rails 6.1 to Rails 7.0
https://edgeguides.rubyonrails.org/7_0_release_notes.html
https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-6-1-to-rails-7-0
https://medium.com/geekculture/whats-new-in-rails-7-b97d44eecdb2
https://dev.to/thomasvanholder/how-to-upgrade-rails-61-to-rails-7-33a3
https://dev.to/thomasvanholder/rails-7-framework-defaults-part-1-2a59
https://www.fastruby.io/blog/rails/upgrades/upgrade-rails-6-1-to-7-0.html
https://www.youtube.com/watch?v=SjdV_1k1QWY ---> Upgrade from Rails 6 to Rails 7 – web-crunch.com
Tuesday, April 26, 2022
Wednesday, April 20, 2022
Monday, April 18, 2022
Thursday, April 14, 2022
Wednesday, April 13, 2022
Tuesday, April 12, 2022
Rails ActiveRecord: 2 ways to write 'where' clause
result = Product.where("description LIKE ?", "%Lorem%")
result = Product.where("description LIKE :term", {term: "%Lorem%"})
Friday, April 8, 2022
Wednesday, April 6, 2022
Thursday, March 31, 2022
Tuesday, March 29, 2022
Sunday, March 27, 2022
Saturday, March 26, 2022
Friday, March 25, 2022
Thursday, March 24, 2022
Wednesday, March 23, 2022
Tuesday, March 22, 2022
Monday, March 21, 2022
Tuesday, March 15, 2022
Monday, March 14, 2022
Thursday, March 10, 2022
Monday, March 7, 2022
Sunday, March 6, 2022
sed command example
Below command will take a backup of the file and substitute v1alpha1 with v1beta1
sed -i .bak -e 's/v1alpha1/v1beta1/' ~/.kube/config
Friday, March 4, 2022
React Native project - Sep 19 2021
Build Uber Eats with React Native & YELP API | Redux | Firebase | Google API
React Native project - Jul 30, 2021
Let's build Uber 2.0 with REACT NATIVE! (Navigation, Redux, Tailwind CSS & Google Autocomplete)
Wednesday, March 2, 2022
Tuesday, March 1, 2022
Checklist app in SwiftUI using Core Data
Checklist app in SwiftUI using Core Data - Part 1
Jul 19, 2021
https://www.youtube.com/watch?v=6qtUL8Qgmcw
Checklist app in SwiftUI using Core Data - Part 2
Jul 21, 2021
Wednesday, February 23, 2022
Tuesday, February 22, 2022
Monday, February 21, 2022
Sunday, February 20, 2022
Saturday, February 19, 2022
Friday, February 18, 2022
Tuesday, February 15, 2022
Monday, February 14, 2022
Saturday, February 12, 2022
Friday, February 11, 2022
Thursday, February 10, 2022
Wednesday, February 9, 2022
Tuesday, February 8, 2022
Sunday, February 6, 2022
Wednesday, February 2, 2022
Tuesday, January 25, 2022
Monday, January 24, 2022
Thursday, January 20, 2022
Tuesday, January 18, 2022
Sunday, January 16, 2022
Friday, January 14, 2022
Tuesday, January 11, 2022
Rails - Counter Cache
Counter Cache
https://rubyinrails.com/2019/04/10/rails-counter-cache-associations/
https://scoutapm.com/blog/how-to-start-using-counter-caches-in-rails
For many-many association:
https://coderwall.com/p/muvy9w/forget-counter-cache-for-many-to-many-associations-in-rails
https://stackoverflow.com/questions/5256897/counter-cache-with-has-many-through
Monday, January 10, 2022
Saturday, January 8, 2022
Rails related: Concerns, Module-method extraction Vs Class-based extraction, Concerning module
1) Single-use Modules are probably better off as Classes as per the below article.
https://www.cloudbees.com/blog/when-to-be-concerned-about-concerns
By and large, maintainers tend to agree that smaller composable classes are the best way to isolate code and keep things clean.
....
....
I'm not saying that you need to go out and refactor all your single-use modules into classes. I am saying if you find yourself reaching to do a module-method extraction, stop. Consider what road you're starting down and these lessons I've shared. What would a class-based extraction look like instead?
2) https://blog.appsignal.com/2020/09/16/rails-concers-to-concern-or-not-to-concern.html
3) https://api.rubyonrails.org/v5.0/classes/Module/Concerning.html
4) https://scoutapm.com/blog/rails-concerns - sort of consolidates content from the above articles
Friday, January 7, 2022
Thursday, January 6, 2022
Tuesday, January 4, 2022
Ruby/Rails related sites
https://rubyflow.com/ - Links to articles
https://www.speedshop.co/blog/ - Rails performance blog
Sunday, January 2, 2022
Draft Pull Requests
https://software.rajivprab.com/2021/12/26/our-engineering-principles-and-best-practices/
Draft Pull-Requests
For each pull-request, first create a draft pull-request, demonstrating the proposed implementation at a high level. Use TODOs and placeholders to indicate which classes/methods you will be touching. Send it off for review and then immediately start working on the actual code and tests.
This mitigates the amount of wasted effort, if your reviewer then suggests a completely different way of implementing things. Once your reviewer approves the draft, link to it in your pull-request, to make sure everyone knows what was already discussed and agreed on.
Saturday, January 1, 2022
Friday, December 31, 2021
Thursday, December 30, 2021
Thursday, December 23, 2021
Wednesday, December 22, 2021
Tuesday, December 21, 2021
Saturday, December 18, 2021
Thursday, December 16, 2021
Sunday, December 12, 2021
Saturday, December 11, 2021
Thursday, December 9, 2021
Friday, December 3, 2021
Saturday, November 27, 2021
Tuesday, November 23, 2021
Monday, November 15, 2021
Friday, November 5, 2021
Sunday, October 31, 2021
Friday, October 29, 2021
Thursday, October 28, 2021
Wednesday, October 27, 2021
Monday, October 25, 2021
Sunday, October 17, 2021
SwiftUI in 2021 - Ready for Production?
https://betterprogramming.pub/swiftui-2021-the-good-the-bad-and-the-ugly-458c6ee768f9
Episode 91: “Is SwiftUI ready for production?” with special guest David Smith
(Feb 2021)
Violence Detection in Video Using Computer Vision Techniques
Violence Detection in Video Using Computer Vision Techniques
https://www.cs.cmu.edu/~rahuls/pub/caip2011-rahuls.pdf
Fast Violence Detection in Video
https://labicvl.github.io/docs/pubs/Oscar_VISAPP_2014.pdf
Deep Surveillance Detecting Violence with Neural Networks
https://towardsdatascience.com/deep-surveillance-6b389abeaf95
Monday, October 4, 2021
Sunday, October 3, 2021
Wednesday, September 29, 2021
Tuesday, September 28, 2021
Tuesday, September 21, 2021
Wednesday, September 1, 2021
Tuesday, August 17, 2021
Monday, August 16, 2021
Sunday, August 15, 2021
Monday, August 9, 2021
Sunday, August 8, 2021
CSS Custom Properties In The Cascade, CSS Variables With Inline Styles
Wednesday, August 4, 2021
Monday, August 2, 2021
Saturday, July 31, 2021
Friday, July 30, 2021
Responsive Design - useful websites
Useful websites for Responsive Design work:
Statcounter
sizzy.co
Tuesday, July 20, 2021
Monday, July 19, 2021
Sunday, July 18, 2021
Saturday, July 17, 2021
Javascript - Sorting an array of objects by property values
https://stackoverflow.com/questions/979256/sorting-an-array-of-objects-by-property-values
Similar technique can be used to sort an array of arrays.
Friday, July 16, 2021
Wednesday, July 14, 2021
Tuesday, July 13, 2021
Monday, July 12, 2021
Sunday, July 11, 2021
Friday, July 9, 2021
Thursday, July 8, 2021
Tuesday, July 6, 2021
Sunday, July 4, 2021
Friday, July 2, 2021
Thursday, July 1, 2021
Rails - unregister a Resque worker
workers = Resque.workers.select {|w| w.to_s.include? "942ng"}
workers.each do |w|
w.unregister_worker
end
Monday, June 28, 2021
Sunday, June 27, 2021
Friday, June 25, 2021
Sunday, June 20, 2021
Thursday, June 17, 2021
Wednesday, June 16, 2021
Tuesday, June 15, 2021
Sunday, June 13, 2021
Quantum Communications - Dual band stabilization
Excerpt:
To tackle the instable conditions inside optical fibers, Toshiba's researchers developed a new technique called "dual band stabilization". The method sends two signals down the optical fiber at different wavelengths. The first wavelength is used to cancel out rapidly varying fluctuations, while the second wavelength, which is at the same wavelength as the qubits, is used for finer adjustments of the phase.
Put simply, the two wavelengths combine to cancel environmental fluctuations inside the fiber in real time, which according to Toshiba's researchers, enabled qubits to travel safely over 600 kilometers.
Already, the company's team has used the technology to trial one of the most well-known applications of quantum networks: quantum-based encryption.
Known as Quantum Key Distribution (QKD), the protocol leverages quantum networks to create security keys that are impossible to hack, meaning that users can securely exchange confidential information, like bank statements or health records, over an untrusted communication channel such as the internet.
Saturday, June 12, 2021
Priority Queue Using Heap
https://www.codesdope.com/blog/article/priority-queue-using-heap/
https://www.codesdope.com/course/algorithms-introduction/
https://www.codesdope.com/course/data-structures-introduction/
http://web.eecs.utk.edu/~leparker/Courses/CS302-Fall06/Lecture_notes/09-26-Priority-queues-1.pdf
https://sites.fas.harvard.edu/~libs111/files/lectures/unit9-3.pdf
Wednesday, June 9, 2021
Wednesday, June 2, 2021
Monday, May 31, 2021
Saturday, May 29, 2021
Tuesday, May 18, 2021
Wednesday, May 12, 2021
Monday, May 10, 2021
Monday, May 3, 2021
Saturday, May 1, 2021
Friday, April 30, 2021
Sunday, April 25, 2021
Saturday, April 24, 2021
Saturday, April 17, 2021
Friday, April 16, 2021
Tuesday, April 13, 2021
Saturday, April 10, 2021
Wednesday, April 7, 2021
Tuesday, April 6, 2021
Monday, April 5, 2021
Sunday, April 4, 2021
Friday, April 2, 2021
Sunday, March 28, 2021
An Elixir client for the Nu HTML Checker (v.Nu).
https://github.com/angelikatyborska/vnu-elixir
v.Nu is a document validity checker used by the W3C. It offers validating HTML, CSS, and SVG documents.
This library brings that functionality to Elixir by using the Checker's JSON API. It offers ExUnit assertions for validating dynamic content in tests, Mix tasks for validating static content, and general purpose functions to fulfill other needs.
Saturday, March 27, 2021
Friday, March 26, 2021
Supabase with Ionic
https://devdactic.com/supabase-ionic/
Supabase is an open source Firebase alternative that’s currently in Beta but getting a lot of great feedback
Thursday, March 25, 2021
Wednesday, March 24, 2021
Tuesday, March 23, 2021
Saturday, March 20, 2021
Thursday, March 11, 2021
Turblolinks related
https://candland.net/rails/2019/03/13/rails-turbolinks-not-firing-js-on-load.html
https://github.com/turbolinks/turbolinks/issues/489#issuecomment-529434261
Tuesday, March 9, 2021
Friday, February 26, 2021
Saturday, February 20, 2021
WebSockets vs HTTP : when websockets is better and why was it implemented
https://stackoverflow.com/questions/14703627/websockets-protocol-vs-http
Below is a talk by Srushtika Neelakantam related to 'realtime' stuff.
