Best of MediumMarch 2024

  1. 1
    Article
    Avatar of medium_jsMedium·2y

    Forget `pip install`, Use This Instead

    Install Python packages up to 100x faster with uv, a turbo-fast Python package installer and resolver written in Rust as a substitute for pip. uv is faster due to Rust, global module cache, copy-on-write and hardlinks. You can install uv using curl, pip, or brew.

  2. 2
    Article
    Avatar of medium_jsMedium·2y

    13 Docker Tricks You Didn’t Know

    Learn about multi-stage builds, image layer squashing, Docker BuildKit Secrets, .dockerignore, health checks, Docker CLI output formatting, cache optimization, resource limitation, Docker events, read-only mode, Docker Prune, overriding entrypoint, and Docker contexts.

  3. 3
    Article
    Avatar of medium_jsMedium·2y

    10 Principles of Good Design by Dieter Rams

    Dieter Rams, a German industrial designer, believes in the principles of good design which includes innovation, usefulness, aesthetics, understandability, unobtrusiveness, honesty, long-lastingness, thoroughness, environmental-friendliness, and simplicity.

  4. 4
    Article
    Avatar of medium_jsMedium·2y

    The Dart Speed

    The post compares the speed of Dart, JavaScript, and Rust using a Fibonacci function benchmark. Dart performs well in the benchmark, showing its speed in real app development.

  5. 5
    Article
    Avatar of medium_jsMedium·2y

    A Journey Through the World of Algorithms:

    The post provides an overview of algorithms, their importance in problem-solving and efficiency improvement. It discusses different methods of specifying algorithms, such as natural language, pseudocode, flowcharts, and programming language code. The post also covers the fundamentals of algorithm analysis, Big-O notation, and various algorithm design techniques. Additionally, it presents examples of well-known algorithms, including divide and conquer, dynamic programming, greedy algorithms, and brute force algorithms.

  6. 6
    Article
    Avatar of medium_jsMedium·2y

    Optimising your design system with Figma’s variables

    Learn how to optimize your design system using Figma's variables. Explore the principles of consistency, scalability, maintainability, DRYness, and code-friendliness. Discover the benefits of primitive variables and how to set them up in a Codesign system. Understand the concept of semantic variables and their compatibility with different modes. Start building your own design system today!

  7. 7
    Article
    Avatar of medium_jsMedium·2y

    Two Years of Social Detox as a Developer! What did I learn?

    A developer shares their experience of a two-year social media detox, highlighting the start of the detox, the benefits of utilizing free time, and key takeaways from the experience.

  8. 8
    Article
    Avatar of medium_jsMedium·2y

    Flutter takes the stage at GDC

    Flutter made its debut at the Game Developers Conference (GDC) in San Francisco, showcasing the progress made in building games with Flutter. Over 15,000 new mobile games have been developed using Flutter in the last year. Flutter offers advantages for 2D casual games, such as being open-source, having a rich plugin ecosystem, and supporting cross-platform deployment. The future of Flutter game development includes expanded resources, smoother deployment on various platforms, and exploration of 3D capabilities.

  9. 9
    Article
    Avatar of medium_jsMedium·2y

    Custom pre-commit hooks for safer code changes

    This post provides a step-by-step guide on using custom pre-commit hooks to ensure code quality. It covers how to start using pre-commit hooks, creating a custom pre-commit hook, and testing the hook locally.

  10. 10
    Article
    Avatar of medium_jsMedium·2y

    System Design: Bloom Filter

    Learn about Bloom filters, a probabilistic data structure that trades accuracy for memory gains. Discover how Bloom filters work, their limitations, and various applications in large systems.

  11. 11
    Article
    Avatar of medium_jsMedium·2y

    Plugins with Go

    Learn how to use Go's standard library to load plugins and expand the functionality of your application. Discover what plugins are, where they are used, and how to implement a plugin loader. Build a plugin-based HTTP redirection service as an example application.

  12. 12
    Article
    Avatar of medium_jsMedium·2y

    Why I’m switching from Go to JavaScript

    The author shares their reasons for switching from Go to JavaScript, including performance, code sharing, and developer availability. They highlight the improvements in JavaScript and the productivity gains they have experienced.

  13. 13
    Article
    Avatar of medium_jsMedium·2y

    Building Stock Market Engine from scratch in Rust (I)

    This tutorial explains how to build a stock market engine from scratch using Rust. It covers the definition of orders, the structure of an order book, and the implementation of a matching engine. The tutorial also provides code examples and test cases for each step.

  14. 14
    Article
    Avatar of medium_jsMedium·2y

    TinyLlama Is An Open-Source Small Language Model

    TinyLlama is an open-source small language model designed to enable end-user applications on mobile devices and test innovative ideas related to language models. It demonstrates remarkable performance and aims to provide a lightweight solution for various applications and scenarios.

  15. 15
    Article
    Avatar of medium_jsMedium·2y

    Step by Step Basics: Code Autodocumentation

    Learn how to generate flawless documentation of Python code using Sphinx.

  16. 16
    Article
    Avatar of medium_jsMedium·2y

    Angular with NativeScript: Creating the Blackout Lighting Console

    The post discusses the development of the Blackout Lighting Console app using Angular and NativeScript. It highlights the technologies used, including Tailwind CSS, NgRx state management, and SQLite. The advantages of using Angular in the development process are also mentioned.

  17. 17
    Article
    Avatar of medium_jsMedium·2y

    Flutter Push Notification with OneSignal

    Learn how to integrate push notifications in your Flutter app using OneSignal. OneSignal is a popular service that allows sending push notifications to users via web and mobile apps. The post provides step-by-step instructions for setting up OneSignal for both iOS and Android platforms.

  18. 18
    Article
    Avatar of medium_jsMedium·2y

    I Built an Algorithmic Trading System in Rust. Here’s What I Regret.

    The author built an algorithmic trading system in Rust to improve performance but faced challenges due to the language's complexity. Despite the difficulties, Rust provided significant performance enhancements and support for computationally expensive algorithms.

  19. 19
    Article
    Avatar of medium_jsMedium·2y

    JWT, JWS, JWE and how to cook them

    This post explains the concepts of JWT, JWS, and JWE, provides examples of how to implement them in Go using symmetric and asymmetric algorithms, and discusses their use cases in authorization and secure information exchange.

  20. 20
    Article
    Avatar of medium_jsMedium·2y

    Revolutionizing Your Daily Routine: Automation with Python for 2024

    Discover how Python can revolutionize your daily routine through automation. Explore the benefits of using Python for automation, its readability and simplicity, and its rich set of libraries and modules. Learn about the Python automation process and how to identify tasks, break them down, hunt for libraries, code, test, run, monitor, and update scripts. Finally, explore examples of automating daily routines such as email automation, web scraping, file conversion and management, data handling, task management, and weather updates.

  21. 21
    Article
    Avatar of medium_jsMedium·2y

    Hunting JavaScript File for Bug Hunters

    This post discusses the significance of JavaScript in web development, its uses in penetration testing, and methods for manually and automatically finding vulnerabilities in JavaScript files. It provides tips for manual checking of JavaScript code and introduces tools like Burp Suite, Mantra, Secret Finder, and JSFScan.sh for automating the extraction and scanning of JavaScript files.

  22. 22
    Article
    Avatar of medium_jsMedium·2y

    We just lowered the barrier to entry for React developers with our app — ReacType

    ReacType is an innovative prototyping interface for React developers that empowers users to visualize their application architecture. It offers a sleek design, real-time collaboration features, and improved performance. ReacType prioritizes collaboration, boosts efficiency, and provides an enhanced user experience.

  23. 23
    Article
    Avatar of medium_jsMedium·2y

    Understanding VDOM, React Components and Elements: A Professional Insight

    Explains how React components and elements work under the hood, including JSX transformations and the creation of a virtual DOM.

  24. 24
    Article
    Avatar of medium_jsMedium·2y

    What I Learned in my First 3 Months as a Freelance Data Scientist

    Learn about the benefits of working as a freelancer, financial planning and business setup considerations, and the importance of networking.

  25. 25
    Article
    Avatar of medium_jsMedium·2y

    System Design: Consistent Hashing

    Learn how consistent hashing can efficiently partition data in distributed databases like Cassandra and Dynamo DB. Explore its advantages over naive implementations and discover the concept of virtual nodes.