Toots for tmr232@mastodon.social account

Written by Tamir Bahar on 2025-01-19 at 10:09

Writing some Masto/Bsky template code, and I really want Python's Template Strings (PEP 750).

[#]python

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-17 at 20:06

Seems that Bun 1.1.45 broke support for ?url at the end of imports (which Vite can use).

[#]typescript #javascript

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-16 at 19:37

The problem with TypeScript is that I can write type-safe code, but it sometimes takes waaaaay too long to figure it out.

I need to let myself use any sometimes...

[#]typescript

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-13 at 18:51

Currently considering migrating from Bun to Node for better tooling (package management aside).

[#]typescript #nodejs #vscode

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-13 at 12:56

TIL: structuredClone does not copy classes; it only copies the object entries in them. Resulting in an object without the methods.

=> View attached media

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-13 at 10:46

I think this feature has a lot of potential, and would appreciate feedback.

Anything from the comment format, to the visual aspect, to bugs.

Either here, or on the GitHub issue https://github.com/tmr232/function-graph-overview/issues/60

Thanks!

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-13 at 10:46

Added the overlay-note-region-name-pending feature to the demo behind a feature-flag.

You can play with them at https://tmr232.github.io/function-graph-overview/?showRegions

Use cfg-overlay-start: message and cfg-overlay-end comments to denote the start and end of a region.

=> View attached media

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-10 at 13:43

Currently working on adding comment-overlays to Function-Graph-Overview.

The idea is to add special begin- and end- comments, and use those to draw overlays on the graph (think C#'s region thingy).

I hope this will make the CFG more viable as a code-understanding tool, as we'll be able to better document our findings.

[#]FunctionGraphOverview

=> View attached media

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-10 at 12:39

Returning to a piece of code a few months later is a great motivation to write documentation...

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-09 at 11:56

I really hope I'm missing something, but I can't find a VSCode API that allows me, in an extension, to get an event when a breakpoint is hit.

Seems like a massive blocker for developing debugging tools.

[#]vscode #debugging

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-09 at 11:35

@hynek Just wanted to say thanks again. There's hardly a Python project where I don't use attrs, structlog is a goto logger for me, and now I started using stamina as well.

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-06 at 20:18

I finally managed to get workspaces working in my Bun project, and now I don't know if I should be happy or sad.

On the one hand - I can finally make it look nicer.

On the other hand - I can finally make it look nicer.

[#]typescript

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-06 at 13:24

New version of Function-Graph-Overview is out for both VSCode and JetBrains IDEs.

This version is a bugfix release, solving some edge-cases that led to infinite loops in rendering, and improving performance in some cases too. Thanks @buherator for the fix!

JetBrains: https://plugins.jetbrains.com/plugin/25676-function-graph-overview

VSCode: https://marketplace.visualstudio.com/items?itemName=tamir-bahar.function-graph-overview

=> View attached media

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2025-01-03 at 15:17

That's not how counting works, GitHub...

=> View attached media

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2024-12-30 at 19:52

I made a 🦋Bluesky bot that posts hourly control-flow-graphs.

Because why not.

https://bsky.app/profile/cfgbot.bsky.social

Currently taking random functions from CPython's source code.

[#]python #bluesky #bot

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2024-12-18 at 15:23

New version of Function-Graph-Overview is out!

This version adds TypeScript (& JavaScript) support!

And fixes some bugs with Go CFG generation.

Get it while it's hot!

https://tmr232.github.io/function-graph-overview/?language=4

[#]golang #typescript #javascript #FunctionGraphOverview

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2024-12-12 at 12:33

I can't seem to get WebView2 working in a Visual Studio extension, so I'm dropping that effort for now.

If anyone knows how to do this, or actually wants Function-Graph-Overview in Visual Studio, let me know!

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2024-12-09 at 12:10

People who have their names as a domain name - what do you use for an email handle with that domain?

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2024-12-07 at 19:13

Oh, the joy of JetBrains IDEs leaking processes when debugging plugins...

=> View attached media

=> More informations about this toot | View the thread

Written by Tamir Bahar on 2024-12-06 at 13:02

Wrote a short post about how nice sorting is in Python

https://tamir.dev/posts/python-beautiful-sorting/

[#]python

=> More informations about this toot | View the thread

=> This profile with reblog | Go to tmr232@mastodon.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109264896338493049
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
367.021961 milliseconds
Gemini-to-HTML Time
7.827213 milliseconds

This content has been proxied by September (ba2dc).