paul / blog.theamazingrando.com Goto Github PK
View Code? Open in Web Editor NEWPosts for my blog
Home Page: blog.theamazingrando.com
Posts for my blog
Home Page: blog.theamazingrando.com
Start with a long procedural controller action (or activejob?). Factor it into helper methods, then smaller service objects, then compose the service objects into a transaction.
Rewrite https://github.com/kapost/kapost-wiki/blob/feature/local-environments/docs/general/environments.mkd for a wide audience.
Einstien's original quote:
It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience.
Often simplified to:
Everything should be as simple as it can be, but not simpler.
https://quoteinvestigator.com/2011/05/13/einstein-simple/
https://books.google.com/books?id=prDfAFjet9cC&pg=PA230&lpg=PA230&dq=roger+sessions+einstein+simple&source=bl&ots=Pz4qMxh5is&sig=FLJB2lTfDvIzRU3MKObDNfw0MiY&hl=en&ei=jC_NTdqWLKL00gGdyqHoDQ&sa=X&oi=book_result&ct=result#v=onepage&q=roger sessions einstein simple&f=false
Nothing is set in stone, and no rule should be followed to the letter.
The code you're writing now is almost certainly wrong. Either you did it wrong, or the requirements are going to change, or the product is going to change, or this feature is going to get refactored with another. Knowing that what you're writing is almost certainly going to be incorrect, you should instead strive to make it as easy to change in the future as possible.
How to manage errors in ActiveJob
Error classes: "transient", "unretryable", etc...
useful midpoint between rails monolith and microservices.
a rails app centered around a single feature or component, but has its own ui, background jobs, handles authn & authz, etc...
Some changes I'd like to make to the internet, the would only be possible by google because they control a major browser and a major complex website (gmail). Kinda like how they did with SPDY/HTTP2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.