heelodkdk

30 posts

heelodkdk banner
heelodkdk

heelodkdk

@levi_notes

heldld

Katılım Temmuz 2025
273 Takip Edilen14 Takipçiler
heelodkdk
heelodkdk@levi_notes·
🚨 Node.js security alert (CVE-2026-24842) node-tar vulnerability allows malicious TAR files to access files outside extraction directories. 👉 Possible via npm install 👉 Risk of credential / SSH key leaks 👉 Upgrade to node-tar 7.5.7+ #Security #NodeJS #SupplyChainAttack
English
0
0
1
114
heelodkdk
heelodkdk@levi_notes·
6️⃣ The biggest shift from Combine AnyCancellable → Task lifecycle sink → for await Subscription ownership moves from objects to structured Tasks. Missing this often leads to resource managem
English
0
0
0
18
heelodkdk
heelodkdk@levi_notes·
5️⃣ yield is thread-safe, but your design might not be AsyncStream allows concurrent yield calls, but: You must guarantee event ordering and state consistency. Race conditions are very common when yielding from multiple c
English
1
0
0
30
heelodkdk
heelodkdk@levi_notes·
Common pitfalls when using AsyncStream 👀 1️⃣ Don’t forget finish() If the stream is done, always call continuation.finish(). If you don’t, the consuming Task may never terminate
English
1
0
1
76
heelodkdk
heelodkdk@levi_notes·
The biggest advantage of Xcode + MCP is enabling AI to go beyond code generation and perform real development tasks. Builds, testing, refactoring, and project edits can be automated — turning the IDE into an AI collaboration hub. #Xcode #MCP #iOSDev #AgenticAI
English
0
0
0
25
heelodkdk
heelodkdk@levi_notes·
Xcode now supports MCP-based external AI coding agents 🤖 Claude Code / Codex can build & edit projects. TIP 👉 Enable Xcode Tools (Settings → Intelligence) claude mcp add --transport stdio xcode -- xcrun mcpbridge #Xcode #MCP #iOSDev #AIDev
English
1
0
0
60
heelodkdk
heelodkdk@levi_notes·
Claude Opus 4.6 is out 🚀 Stronger coding, code review, and debugging performance, plus a 1M token context (beta) and improved long-running agent workflows. Worth checking out if you work with large codebases or automation tasks. #AI #LLM #Claude #AICoding #DevProductivity
English
0
0
0
49
heelodkdk
heelodkdk@levi_notes·
Claude Code just added a new /insights feature. It analyzes your last month of usage and generates: • Project summaries • Usage patterns • Workflow improvement suggestions Available from v2.1.30. Feels like having an AI dev manager writing your retros. #Claude
English
0
0
0
50
heelodkdk
heelodkdk@levi_notes·
@AIorBroke Totally agree. If you don’t start with the problem that bothers you the most, it’s easy to never ship anything. Even a small MVP can make a bigger difference than you expect.
English
0
0
1
11
Eun
Eun@AIorBroke·
@levi_notes I relate to that a lot. That’s why I started with the thing that bothered me the most and shipped an MVP around it.
English
1
0
1
18
heelodkdk
heelodkdk@levi_notes·
let validator: Validator = StringValidator() validator.check("hello") // 👉 Calls the default implementation
Română
0
0
0
18
heelodkdk
heelodkdk@levi_notes·
In Swift, ((T)) and (T) are the same type, but protocol method matching requires an exact signature. If it doesn’t match exactly, the compiler treats it as a different method, and calls the default protocol extension instead. 👉 Same type ≠ same protocol method. #Swift #iOSDev
English
4
0
1
30
heelodkdk
heelodkdk@levi_notes·
struct StringValidator: Validator { // ❗️Signature mismatch: ((String)) vs (String) // This method is treated as a separate overload func check(_ value: String) -> Bool { print("custom check") return true } }
English
0
0
0
23
heelodkdk
heelodkdk@levi_notes·
extension Validator { // Used when the conforming type does NOT match the required signature func check(_ value: ((String))) -> Bool { print("default check") return false } }
English
0
0
0
17
heelodkdk
heelodkdk@levi_notes·
protocol Validator { // Protocol requires a method with a double-parenthesized parameter func check(_ value: ((String))) -> Bool }
English
0
0
0
16
heelodkdk
heelodkdk@levi_notes·
Why this is fire-and-forget songUpdated returns immediately The async task is decoupled from the caller’s control flow Completion or failure does not impact UI or state transitions Task {} explicitly communicates intentional non-blocking work
English
0
0
0
13
heelodkdk
heelodkdk@levi_notes·
Fire-and-forget is a design choice: start an async task without consuming its result. The task runs, but its completion doesn’t affect control flow. Useful for logging or prefetching, where blocking UI would be wrong. In Swift, Task {} expresses that intent. #Swift #Concurrency
English
2
0
0
20