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
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
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
Currently considering migrating from Bun to Node for better tooling (package management aside).
[#]typescript #nodejs #vscode
=> More informations about this toot | View the thread
TIL: structuredClone does not copy classes; it only copies the object entries in them. Resulting in an object without the methods.
=> More informations about this toot | View the thread
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
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.
=> More informations about this toot | View the thread
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
=> More informations about this toot | View the thread
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
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
@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
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
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
=> More informations about this toot | View the thread
That's not how counting works, GitHub...
=> More informations about this toot | View the thread
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
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
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
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
Oh, the joy of JetBrains IDEs leaking processes when debugging plugins...
=> More informations about this toot | View the thread
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 This content has been proxied by September (ba2dc).Proxy Information
text/gemini