About Clarity
Clarity in Programming 🔗 I hate it when clarity is not present. If you are a software developer trying to learn a programming language that has too many high level abstractions, you’ll feel it. It is almost magic when it works. But when you face a bug or error, the frustration is too big , and the problem’s complexity is doubled or tripled as it is not CLEAR. The answer is not to code in a low level language!
My Vision for Teaching
The current education system is bad for humans. Why, What, How 🔗 The current education system focus on “what is this?” and “how to use it” and “how it works?” and “how to create it?” .. that’s good but not good enough! This system makes people lose curiosity and eagerness to know. This system makes people step-followers like the machines which you give them instructions (code) and click run and the machine executes the code/instructions you wrote.
Gtk or Qt or Flutter for developing Linux app ?
Gtk 🔗 Gtk is the FLOSS (Free Libre Open Source Software) of Linux GUI development. It is being developed by GNOME foundation to be cross platform. Its latest release is Gtk4 with GPU acceleration and too many features and advantages over the previous release (Gtk3+). GNOME desktop environment and Elementary OS use Gtk4 and Gtk3. Pop! OS started migrating from Gtk3 to Gtk4 with Rust programming language. Qt 🔗 Qt is a cross platform proprietary framework which works on desktop and mobile.
Customized Software vs Standard Software
tldr 🔗 Standard software is the software that is build for some functions to be used in several cases at many companies and shops. Customized software is the software created to fit the specific needs of the company to make the company function as accurately intended. I recommend standard software (tools) for small companies. But I recommend customized software (tools) for medium and big (large-scale) companies. Why customized software existed ?
Heavily Customizable Software vs Opinionated Software
Software Developing 🔗 Writing and maintaining customizable software is harder and time-eating. Building too many features with configurations and settings is nightmare. Heavily customizable software tools are good for various people with slightly different needs. But look at that complexity and maintenance efforts. Developing opinionated software is not easy too. But at least you don’t have too many opposite features with different implementations. You can research and test features and choose the best features to get the job done easily focusing on the user experience.
How to add minimize button Elementary OS ?
Just open the Terminal app, and copy-paste this command and click ENTER. sudo apt install software-properties-common sudo add-apt-repository ppa:philip.scott/elementary-tweaks sudo apt install elementary-tweaks then go to System Settings > Tweaks > Layout > Windows. That’s it. We’re done. What is going on ? 🔗 Elementary OS team thinks the minimize button is not a needed feature as it makes you have too many opened and minimized apps. Elementary OS team thinks that makes your computer cleaner and performs better.
How to cut a video based on start and end time using ffmpeg ?
This is the fastest command to cut the video in ffmpeg . ffmpeg -ss 00:01:00 -i input.mp4 -to 00:02:00 -c copy output.mp4 note: the above command trims your video in seconds. explanation of command parts: -i : This specifies the input file. In that case, it is (input.mp4). -ss : Used with -i, this seeks in the input file (input.mp4) to position. 00:01:00 : the time your trimmed video will start with.
You don't need jQuery !
Published on Drew DeVault’s blog on August 19, 2013 . It’s true. You really don’t need jQuery. Modern web browsers can do most of what you want from jQuery, without jQuery. For example, take MediaCrush . It’s a website I spent some time working on with a friend. It’s actually quite sophisticated - drag-and-drop uploading, uploading via a hidden form, events wired up to links and dynamically generated content, and ajax requests/file uploads, the whole she-bang.
CSS Optimization Tips
Painting an unstyled page, and then repainting it once styles are parsed would be bad user experience. For this reason, CSS is render blocking, unless the browser knows the CSS is not currently needed. The browser can paint the page once it has downloaded the CSS and built the CSS object model. Browsers follow a specific rendering path: paint only occurs after layout, which occurs after the render tree is created, which in turn requires both the DOM and the CSSOM trees.
Go: A Beautiful Mess
originally published on medium.com . I published it here because medium is blocked in some countries. An old school guy like me love statically typed language, even I tasted the convenience of dynamic typed languages for handling data with complex structure like JSON or operating data with SQL/NoSQL. The statically typed language avoids many ambiguous issues and let us figure out the mistake before before unit test reports it. So I love Go in many pieces, it leverages many concepts from other languages, has a easy understanding struct types, great tool set for production…etc, and most importantly, it’s easy to write and performance will not let you down, but I also got confused sometimes and found many ambiguous parts in Go.