Tamir Bahar

Tamir Bahar

@tamir.dev

https://tamir.dev

41 followers115 following93 posts

Tamir Bahar reposted

Replying to @glyph.im

Now that the remaining PNG files have been manually OCR'd, the total stands as follows: We've raised $9238.74 which is 54.3% of our $17000 total. Once again within 24h of a contributor joining the match we are over half full, but we all stand ready to be maxed out so please keep those donations […]

mastodon.socialOriginal post on mastodon.social

Ooh! The "finally" block on this one is great!

CFG Bot 🤖@cfgbot.bsky.social

Project: python/cpython File: Lib/test/test_posixpath.py:749 def test_realpath_nonterminal_symlink_to_symlinks_to_file(self): SVG: dark, light

Tamir Bahar reposted

Conversations with 7-year-olds: 7: You know, mom. There's one element that's not on the periodic table. Me: Oh yeah? What's that? 7: The element of surprise.

I really like how you can see the structure in this one. Really tempting to break this into separate functions.

CFG Bot 🤖@cfgbot.bsky.social

Project: golang/go File: src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go:14 func GNUSyntax(inst Inst, pc uint64, symname SymLookup) string SVG: dark, light

Bsky is nice and all, but makes me really miss some Mastodon features. Profile notes, content warnings, and mute-as-content-warning.

This makes me wanna write my own layout engine, so that nested loops are visibly nested

CFG Bot 🤖@cfgbot.bsky.social

Project: golang/go File: src/net/http/serve_test.go:641 func benchmarkServeMux(b *testing.B, runHandler bool) SVG: dark, light

I think I should unify switch-cases like this, but wow, this looks so nice!

CFG Bot 🤖@cfgbot.bsky.social

Project: microsoft/TypeScript File: src/compiler/utilities.ts:3549 function isExpressionNode(node: Node): boolean SVG: dark, light

Took more work than I expected (SVG manipulation is tricky business), but I now have a working version of on-graph region comments! #FunctionGraphOverview

New version of the Function-Graph-Overview plugin for JetBrains IDEs is out! Now with click-to-navigate - click the nodes in the graph to jump to the relevant code! plugins.jetbrains.com/plugin/25676... #FunctionGraphOverview #JetBrains #PyCharm #GoLang #CLion

plugins.jetbrains.comFunction Graph Overview - IntelliJ IDEs Plugin | MarketplaceSee live control-flow-graphs of your code! This plugin adds a CFG (Control-Flow-Graph) view for the current function. Before installing, you can also try an...

The Wicked movie is fun. Went to watch it today with my wife, and we both feel we can easily recommend it to people who liked the stage musical, as well as people who've never seen it. It's not perfect, but it's a really good time.

I'm trying to document and explain my method of constructing a CFG from an AST, and it's a lot harder than I expected. Once I'm done, I should probably make this a talk...

My top 5 artists of the last year are (according to Spotify): 1. the pillows / FooL on CooL generation 2. Yumi Arai / MISSLIM 3. the peggies / Hell like Heaven 4. Powerwolf 5. Animals As Leaders / The Joy of Motion With all but Powerwolf being more or less one album on repeat... #music

Gotta love the Visual Studio `VisualStudio.Extensibility Project` template coming with vulnerable packages, which VS warns on as soon as you create the project.

I've been informed by some friends that finding the graph view in VSCode can be tricky. I updated the extension and the docs to make this better. The improvements are in version 0.0.11. Try running the `Function Graph Overview: Show Graph Overview` via the command-palette.