Matan Lurey's Avatar

Matan Lurey

@matan.wtf.bsky.social

I do things and sometimes code. Staff Software Engineer @ Google

285 Followers  |  56 Following  |  30 Posts  |  Joined: 26.04.2023  |  1.8217

Latest posts by matan.wtf on Bluesky

Published the first version of a D&D 5e crate, "dnd":

crates.io/crates/dnd/0...

I'm working on a silly side project to hook up a Raspberry Pi Pico + eInk display to show basic character stats during a game without needing to have other distracting tech (phone/tablet/etc)โ€‹ present.

22.06.2025 17:41 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Fun! A Rust + WASM implementation of "Game of Life":
github.com/matanlurey/w...

I tried this a few years ago, and the Rust ecosystem is a lot more mature now - got lots setup, including test coverage running in Node/Chrome - in <1 hour.

120 FPS, ~9kb Brotli compressed.

10.06.2025 01:56 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

One of the worst aspects of working on a OSS project that is funded by a big company is having your entire job editorialized by random people on the internet.

I like OSS, and I like working for companies that sign my paycheck, but I can do without the public spectacle a lot of the time.

23.02.2025 00:54 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Video thumbnail

Dart 3.7 is here! Weโ€™ve got wildcard variables, new formatter style, cool updates to pub.dev, plus all the ways weโ€™re continuing to make Dart the best it can be. Read all about 3.7 in our blog post: goo.gle/dart37

12.02.2025 19:47 โ€” ๐Ÿ‘ 95    ๐Ÿ” 15    ๐Ÿ’ฌ 6    ๐Ÿ“Œ 3
Video thumbnail

Roses are red, widgets are neat, 3.29 can't be beat ๐Ÿ’“

The latest release includes updates to improve developer experience, enhance app performance, and provide greater flexibility in design and code style management.

Read the blog โ†’ goo.gle/4hzlcZ8

12.02.2025 21:20 โ€” ๐Ÿ‘ 92    ๐Ÿ” 16    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 1

Spent some recent downtime hacking. A TodoMVC with Web Asssembly & server-side rendering using the impressive Jaspr framework:

vsm-todomvc-wasm.web.app

Very cool to see this working on Chrome, Safari, and Firefox - Wasm has come a long way!

06.01.2025 17:11 โ€” ๐Ÿ‘ 16    ๐Ÿ” 4    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

New years resolution as a software engineer on a team:

1. Using the word "merged" (not "landed" or "complete") to define code that is merged without doing all of the other work (and making sure it sticks).

2. Reducing the use of the word "we"; it's almost never clear who is being talked about.

30.12.2024 03:07 โ€” ๐Ÿ‘ 5    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Itโ€™s self-defeating to demand changes (i.e. to a software project) that you personally want to see, but reject others (that you donโ€™t want to see). Teams and projects can be taught to embrace change or be resistant to it, but nobody will ever see eye to exactly with your exact philosophy.

23.12.2024 22:11 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

This entire time I could have been using retro-style codepage 437 glyphs as icons??? This changes ... something.

23.12.2024 01:40 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image

You don't always need to use codegen (or custom lints) in your apps or packages.

Just write a test.

For example, I have a Codepage437Icons class, where I need to (manually) include a string-based representation of the icons, so I wrote a test to check I don't forget any!

23.12.2024 01:40 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Welcome!

22.12.2024 20:07 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
// Set the window size to emulate a medium size mobile device (i.e. iPhone SE).
    self.setContentSize(NSSize(width: 375, height: 667))

    // Disable window resizing
    self.styleMask.remove(.resizable)

    // Make the window always on top
    self.level = .floating

// Set the window size to emulate a medium size mobile device (i.e. iPhone SE). self.setContentSize(NSSize(width: 375, height: 667)) // Disable window resizing self.styleMask.remove(.resizable) // Make the window always on top self.level = .floating

Post image

I often use a macOS app to "simulate" building a mobile app in Flutter, particularly before I need any platform-specific functionality.

Here are some changes I make to `MainFlutterWindow.swift`.

The result is a cute always-on-top window sized somewhat like an iPhone SE. No plugins needed.

22.12.2024 04:10 โ€” ๐Ÿ‘ 38    ๐Ÿ” 4    ๐Ÿ’ฌ 6    ๐Ÿ“Œ 0

Am I missing something? This doesn't do anything in parallel unless the convert function itself runs in parallel?

19.12.2024 03:20 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Who could possibly have predicted an infra flakiness issue we've ignored for a year might pop up???!?

19.12.2024 03:07 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Microbenchmarks are experiments

I always enjoy reading Slava's writing: mrale.ph/blog/2024/11...

18.12.2024 23:26 โ€” ๐Ÿ‘ 10    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Hell World.

19.12.2024 03:05 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

One thing I particularly like about GitHub Co-Pilot is that it pushes you towards DAMP solutions (by nature of the tool, it doesnโ€™t refactor your code) - which is great (personally) at making me avoid needless abstraction.

22.06.2023 02:22 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

We call this โ€œthe cat houseโ€ (yes - have seen animal control out here before)

13.06.2023 04:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This is extremely cool!

30.05.2023 21:24 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I learned a LOT about organizing and community from working in hospitality.

1. If you have 40 people who come to your spot and 1 disruptive jerk & donโ€™t do anything, the 40 wonโ€™t come back

2. You need to maintain a fun and welcoming atmosphere even if you have regulars, thatโ€™s what helps you grow

21.05.2023 20:29 โ€” ๐Ÿ‘ 327    ๐Ÿ” 36    ๐Ÿ’ฌ 5    ๐Ÿ“Œ 6

This is extremely cool.

24.05.2023 01:17 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Without lists or an algorithmic feed I'm forced to either unfollow some top personalities or wade through dozens of posts to find other content.

23.05.2023 03:02 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Good post.

My POV: whether or not to have stand-ups should be up to the developer team (not the "scrum master" or product manager, etc).

Once you let the development team set their own process, it matters a lot less what they decide to do.

20.05.2023 19:41 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
User Inyerface - A worst-practice UI experiment User Inyerface - A worst-practice UI experiment

if youโ€™re looking for a fun and enjoyable game to start your Friday morning:

https://userinyerface.com/

19.05.2023 14:29 โ€” ๐Ÿ‘ 17    ๐Ÿ” 9    ๐Ÿ’ฌ 8    ๐Ÿ“Œ 0

How do folks who still use Twitter and Mastodon and Bluesky โ€ฆ keep up? I donโ€™t need to read every post by every author but logging into 3 separate apps a day to scroll is too much for me.

15.05.2023 17:14 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I have mixed thoughts about how effective full remote work is, but โ€œgaslight our employees back into the officeโ€ isnโ€™t going to work folks (https://www.bloomberg.com/news/articles/2023-05-13/remote-work-comes-with-daytime-drug-and-drinking-habits).

15.05.2023 16:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This is the dumbest shit I've read this week and I'm (still) a New York Times subscriber.

15.05.2023 16:31 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐ŸŒ

15.05.2023 00:20 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Looks great!

15.05.2023 00:20 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@matan.wtf is following 19 prominent accounts