Ellie

3.1K posts

Ellie banner
Ellie

Ellie

@Ellie_Xtech

Backend & Low-Level Dev | Systems Architect | Code Optimizer 👩‍💻

Missouri, USA Katılım Ekim 2023
89 Takip Edilen25 Takipçiler
Sabitlenmiş Tweet
Ellie
Ellie@Ellie_Xtech·
If you're just starting out, don’t stress about which language to learn. Start with C and stick with it for 30–40 days. Once you get the basics, you can switch to any language depending on your goal like web dev, game dev, anything. It’ll feel much easier after C.
English
5
1
5
371
Ellie retweetledi
Aina
Aina@_desaina·
046 // Energy Consumption Chart
Aina tweet media
English
21
7
405
15K
Ellie retweetledi
Kit Langton
Kit Langton@kitlangton·
Rough draft of some TypeScript type-level function visuals.
English
25
37
826
104.8K
Ellie retweetledi
Awni Hannun
Awni Hannun@awnihannun·
The new 1 Trillion parameter Kimi K2 Thinking model runs well on 2 M3 Ultras in its native format - no loss in quality! The model was quantization aware trained (qat) at int4. Here it generated ~3500 tokens at 15 toks/sec using pipeline-parallelism in mlx-lm:
English
77
257
3K
500.6K
Ellie retweetledi
Uros Popovic
Uros Popovic@popovicu94·
Quick update on the Linux & USB reverse-engineering challenge: So, we're getting raw, unfiltered bytes from /dev/hidraw0. But what do they mean? Is byte 3 the battery level or the load? It's a black box. This is where the 'magic' of Linux and the USB HID protocol comes in. The device doesn't just send data. It first sends an "instruction manual" called a Report Descriptor. This descriptor is a binary schema that defines its entire data protocol. And the Linux kernel, following the "everything is a file" philosophy, just... saves this manual as a file for you. You can find it here: /sys/class/hidraw/hidraw0/device/report_descriptor On its own, it's unreadable binary. But we can use a standard tool like hidrd-convert to decode it. The output looks almost like a script. It's the "schema" that tells us: "Usage (Battery Percentage)" "Logical Minimum (0)" "Logical Maximum (100)" "Report Size (8 bits)" We don't have to guess. We just have to read the manual the kernel already saved for us. Now, the real work begins: writing a parser for this schema to decode the raw bytes.
Uros Popovic tweet media
English
10
5
46
2.5K
Ellie retweetledi
sysxplore
sysxplore@sysxplore·
Git Cheatsheet for Developers and DevOps Engineers 🐙
sysxplore tweet media
English
3
46
264
12.3K
Ellie retweetledi
Ram
Ram@ramxcodes·
Mini Project CLI based calculator in GO
Ram tweet media
English
35
6
262
13.9K
Ellie retweetledi
Jacob Bartlett
Jacob Bartlett@jacobtechtavern·
Swift for Android vs Kotlin Multiplatform: Modelling your data (+ JNI crash course) Swift for Android models use Codable to automatically parse out JSON data into a struct, a value type useful for simple data transfer (screenshot #1). Android apps will call into the Swift code via JNI bindings generated from our code using swift-java. JNI, or Java Native Interface, allows Java code running on the JVM to talk to other languages. swift-java is the interoperability layer that creates Java interfaces from our Swift module code, allowing it to be compiled as a native Android library. Marshalling arrays and handling Foundation types like URLs across the module boundary can be brittle and error-prone, so I created some simple bridging code to expose primitive-typed getters for Foundation types like URL and implementing array indexing (screenshot #2). Kotlin Multiplatform code stores data in a data class, a reference type for which Kotlin synthesises a bunch of value-like behaviour for copying, equality, and printing. It uses a @Serializable data class to store data, which basically works just like Codable. If you’re used to the giant umbrella module that is Foundation, it might look strange to individually import every package like kotlinx.serialization.Serializable, but this is how pretty much every ecosystem outside iOS does it (screenshot #3). Read my full analysis, Swift Android vs Kotlin Multiplatform, here 🚀 blog.jacobstechtavern.com/p/swift-for-an…
Jacob Bartlett tweet mediaJacob Bartlett tweet mediaJacob Bartlett tweet media
English
0
12
127
10.7K
Ellie retweetledi
NZ ☄️
NZ ☄️@CodeByNZ·
What is your current stage? Learning Or Earning
NZ ☄️ tweet media
English
919
81
1.8K
2.4M
Ellie retweetledi
Philipp Schmid
Philipp Schmid@_philschmid·
Here is an example of using a deeply nested Pydantic Schema with +30 fields, Union, Optionals and recursive structures with the new Sturctured Structured Outputs in the Gemini API! 💥 Note: To enable this you need to use the new `response_json_schema` parameter instead of the old `response_schema`. Documentation and Snippet below.
Philipp Schmid tweet media
English
16
19
245
20.3K
Ellie retweetledi
Omah 👩‍💻
Omah 👩‍💻@progMeliaOma·
Running 2 simulators without my laptop almost burning 🥹🥲 Thank you Flutter ❤️
Omah 👩‍💻 tweet media
English
71
46
969
37K
Ellie retweetledi
Ash Allen 🚀
Ash Allen 🚀@AshAllenDesign·
As of Laravel 12.29, you can use the "UseResource" and "UseResourceCollection" attributes to explicitly define the resource class and resource collection class a Laravel model should use 🔥
Ash Allen 🚀 tweet media
English
1
4
46
7.1K
Ellie retweetledi
Caleb Porzio ⚡️
Caleb Porzio ⚡️@calebporzio·
Thinking of changing flux modals to have a margin around it How mad would you be if I did this in a minor release?
Caleb Porzio ⚡️ tweet media
English
47
5
206
17.1K
Ellie retweetledi
Fuma Nama
Fuma Nama@fuma_nama·
a open source docs framework
Fuma Nama tweet media
English
21
19
428
26.5K
Ellie retweetledi
Point-Free
Point-Free@pointfreeco·
This generic property can transform a Binding<T?> into a Binding<Bool> so that you can drive navigation with optional state instead of booleans. This fixes a flawed SwiftUI API for displaying alerts. More info in this week's episode @ 22:43 👉#t1363" target="_blank" rel="nofollow noopener">pointfree.co/collections/mo…
Point-Free tweet media
English
0
6
62
4.2K
Ellie retweetledi
sysxplore
sysxplore@sysxplore·
Linux Uncomplicated Firewall (ufw) essentials
sysxplore tweet media
English
7
88
506
23.9K
Ellie retweetledi
Manish Kumar
Manish Kumar@Manixh02·
Coding during college lectures can improve your time management by 90%
Manish Kumar tweet media
English
87
40
874
22.4K