Skip to main content

Posts

Showing posts from June, 2019

Slow Ubuntu boot time caused by service - this case php7.2-fpm

1min 2.221s phpsessionclean.service          59.989s apt-daily.service          18.665s ModemManager.service          17.564s php7.2-fpm.service https://superuser.com/questions/1323790/phpsessionclean-service-causes-long-boot-time-in-debian-sid sudo systemctl disable php7.2-fpm.service https://unix.stackexchange.com/questions/315502/how-to-disable-apt-daily-service-on-ubuntu-cloud-vm-image https://itsfoss.com/how-to-fix-system-program-problem-detected-ubuntu/ sudo journalctl --boot oh apport report is required in order to make system boot success (done).

JS vs PHP closure, some exp in large and nightmare code base

https://medium.com/javascript-scene/master-the-javascript-interview-what-is-a-promise-27fc71e77261 https://stackoverflow.com/questions/7417430/javascript-closures-vs-php-closures-whats-the-difference experience on refactoring/working with  nightmare code base https://softwareengineering.stackexchange.com/questions/221615/why-do-dynamic-languages-make-it-more-difficult-to-maintain-large-codebases Caveat: I have not watched the presentation. I have been on the design committees for JavaScript (a very dynamic language), C# (a mostly static language) and Visual Basic (which is both static and dynamic), so I have a number of thoughts on this subject; too many to easily fit into an answer here. Let me begin by saying that it is hard to maintain a large codebase, period. Big code is hard to write no matter what tools you have at your disposal. Your question does not imply that maintaining a large codebase in a statically-typed language is "easy"; rather the question p

Rand mm 11 nightmare to maintain, DI Java example

Video speaking is much more better than text, it duration, stop, image, voice ... is lost when move to text. So create an app/tool for simulate or rebuild the speak may be cool. Tone seem hard to be reproduce, AI can help but can it hear like real one? https://www.quora.com/Is-Node-js-code-a-nightmare-to-maintain Some interesting case on context 'this' https://codeburst.io/all-about-this-and-new-keywords-in-javascript-38039f71780c https://documenter.getpostman.com/view/1066979/signely/RW1UN2uD?version=latest#8f0d3bd8-33c4-485d-a81d-7f1073475ed9 clone save some microservice poS socket.io vs RabbitMQ, Kafka ... try. Oh constant vs define is much more than I think https://www.linkedin.com/pulse/php-difference-between-define-constant-ankit-vishwakarma/ https://www.quora.com/Amazons-Aurora-has-a-new-storage-engine-What-technology-is-that-storage-engine https://www.journaldev.com/2394/java-dependency-injection-design-pattern-example-tutorial https://stackoverflo