Jagger Yu (@moontrait) header
Jagger Yu (@moontrait) profile picture

coding

香港
Joined October 2017
Photo by Jagger Yu (@moontrait)Photo by Jagger Yu (@moontrait)Photo by Jagger Yu (@moontrait)Photo by Jagger Yu (@moontrait)
Very risky drifting
618
4,905
321
86,117
12,522,941
21
644
27
5,896
889,068
Jagger Yu retweeted
Big update on the App Store! - Fixed PSP scanning (among others) - Fixed HDR screenshots - Fixed Netplay - Fixed a crash in mupen64plus_next when playing a game the second time - ADD NXEngine, PrBoom, DosboxPure, MelonDS, PokeMini, Mu PalmOS, Beetle Neopop apps.apple.com/us/app/retroa…
29
57
4
424
25,792
Jagger Yu retweeted
不去办公室的问题在于:没有一个明显的工作时间划分。这几天早上 6:00 起来如果想写点啥,直接就坐下来搞一上午。晚饭后也是,没察觉应该停下来。云豆都开始抱怨我和他说话少了。我想玩的几个游戏都抽不出时间玩。
21
2
2
85
44,790
🦀 Introduction to Async Rust Talk by Maxwell Flitton, author of "Rust Web Programming", "Speed Up Your Python with Rust" books youtu.be/neiO43F7JpY #rustlang #rust
4
39
264
18,846
This release has a couple of neat features, but most importantly, is dedicated to the memory of @garblefart: teapaw.org/garblefart/status/6278…
i am now calling the ::<> in rust THE TURBOFISH
5
87
7
369
6️⃣ Popular API Architecture Styles 1. gRPC: A high-performance, language-agnostic remote procedure call (RPC) framework for efficient communication between distributed systems, often used in microservices architectures. 2. SOAP: A protocol for exchanging structured information in the implementation of web services, known for its strict standards and XML-based message format. 3. GraphQL: A query language and runtime for APIs that allows clients to request only the data they need, reducing over-fetching and under-fetching of data. 4. Webhook: A mechanism for real-time communication where an application sends HTTP POST requests to a predefined URL to notify and trigger actions in another system. 5. REST: Representational State Transfer, an architectural style for designing networked applications, using standard HTTP methods (GET, POST, PUT, DELETE) to manipulate resources. 6. WebSocket: A protocol that enables bidirectional, real-time communication between a client and server over a single, long-lived connection, ideal for applications requiring low-latency updates, such as chat or gaming. Which one are you using atm? 🚨 Join Waiting List for New 10+ Hour Linux Course - bit.ly/44CI2bK #systemdesign #coding #interviewtips
12
763
4
2,606
182,460
Jagger Yu retweeted
Windows 7 running on Windows 8 running on Windows 8.1 running on Windows 10 running on Windows 11.
190
1,247
152
6,762
475,192
12 Design Patterns You Must Know 1. Factory Pattern 🏭 Imagine a factory that produces different products. Similarly, this pattern creates objects without specifying their exact class, making code flexible and easy to extend. 🧩 2. Observer Pattern 🔍 Like subscribing to updates! Objects (observers) register to watch changes in a subject. When the subject changes, observers are notified automatically. 📡🔔 3. Singleton Pattern 🕊️ The one and only! Ensures a class has only one instance globally accessible. Useful for managing shared resources like databases. 🌐🔒 4. Builder Pattern 🛠️ Building complex objects step by step. Think of it as assembling Lego bricks to create something intricate without the mess! 🧱🏗️ 5. Adapter Pattern 🌉 Bridging the gap! Converts the interface of one class into another interface clients expect. Makes incompatible components work together. 🔌🔌 6. Decorator Pattern 🎈 Like adding toppings to your pizza! Dynamically adds responsibilities to objects without changing their code. A flexible alternative to subclassing. 🍕✨ 7. Proxy Pattern 🕶️ Virtual representative! Controls access to an object, acting as a stand-in with additional functionality, like lazy loading. 🔒🔍 8. Strategy Pattern 🎯 Switching strategies seamlessly! Allows selecting algorithms during runtime. Useful when you want to provide multiple ways to accomplish a task. 🎮🔄 9. Command Pattern ⌨️ Encapsulates requests as objects, allowing parameterization of clients with different requests and queuing of requests. Think of it as a to-do list for your program. 📋📌 10. Template Pattern 📄 Standardized process steps! Defines the structure of an algorithm, letting subclasses override specific steps. Ideal for reusable workflows. 📊📈 11. Iterator Pattern 🔄 Tour guide for collections! Provides a way to access elements of a collection without exposing its underlying representation. 🚶‍♂️🗺️ 12. State Pattern 🚦 Like a traffic light! Allows an object to change its behavior when its internal state changes. Keeps your code organized as states pile up. 🚥🔄 #Coding #SoftwareEngineering #SoftwareDeveloper
19
603
5
2,113
236,521
Maximum #Linux - October 1999 cover story: Windows Killer! Look out Microsoft... Linux is taking over.
44
148
24
968
83,690
CI/CD Pipeline Explained With Simple Terms Section 1 - SDLC with CI/CD The software development life cycle (SDLC) consists of several key stages: development, testing, deployment, and maintenance. CI/CD automates and integrates these stages to enable faster, more reliable releases. When code is pushed to a git repository, it triggers an automated build and test process. End-to-end (e2e) test cases are run to validate the code. If tests pass, the code can be automatically deployed to staging/production. If issues are found, the code is sent back to development for bug fixing. This automation provides fast feedback to developers and reduces risk of bugs in production. Section 2 - Difference between CI and CD Continuous Integration (CI) automates the build, test, and merge process. It runs tests whenever code is committed to detect integration issues early. This encourages frequent code commits and rapid feedback. Continuous Delivery (CD) automates release processes like infrastructure changes and deployment. It ensures software can be released reliably at any time through automated workflows. CD may also automate the manual testing and approval steps required before production deployment. Section 3 - CI/CD Pipeline A typical CI/CD pipeline has several connected stages: - Developer commits code changes to source control - CI server detects changes and triggers build - Code is compiled, tested (unit, integration tests) - Test results reported to developer - On success, artifacts are deployed to staging environments - Further testing may be done on staging before release - CD system deploys approved changes to production – Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
4
239
1
897
90,849
Best System design resources: 1. ZTM - bit.ly/3YpWu4q 2. ByteByteGo - bit.ly/3P3eqMN 1. Grokking the System Design - bit.ly/3ckZlsl 3. Pragmatic Design - bit.ly/3vFNPid 7. DesignGuru - bit.ly/3pMiO8g
2
91
1
304
33,906
Anyone remember Uplink?
52
39
9
583
73,986
I like making things that feel functional #b3d
68
623
21
5,103
253,019
这个prompt启发了我。我把我平时思考问题的方式,也写了一个 Prompt,然后用在 GPT-4 上,效果让我惊叹,它完全掌握了我的这个思考方法。
非常有趣的Prompt,苏格拉底式追问,今天体验下,加到Prompt收藏中。
106
548
32
1,744
267,798
🧐
12
198
14
949
59,802
Here is my review of different media ingestion protocols (traditional, modern and next gen) rtcbits.com/2023/02/media-in…
1
6
1
21
2,068
Jagger Yu retweeted
人们眼中的优秀大抵分两类,一类是专业知识深厚,专业能力极强;一类是特别吃得开特别能混。大家的愿望是两者合体,但往往做不到。于是选择前者的只有极少数,绝大多数选择后者。于是这个社会就变得浮躁虚假。
4
16
63
7,924