Better HN
topnewbestaskshowjobs
Log inSign up

grassfedcode

23 karma · joined Feb 24, 2017 (9y ago) · 26 submissions

Submissions

comment 4mo ago · link · parent

I recommend asking an LLM to generate an interactive webpage to visualize, teach, and quiz you on the concepts. Or just chat with it directly.

comment 7y ago · link · parent

pythonloc is a drop in replacement for python that automatically recognizes a __pypackages__ directory and prefers importing packages installed in this location over user or global site-packages.

If you are familiar with node, it is similar to node_modules.

This is a pure Python implementation of the proposal laid out in PEP 582. The CPython implementation is available at https://github.com/kushaldas/cpython/tree/pypackages.

3.

Show HN: Pythonloc, invokes Python with local dir 'pypackages' on path(github.com ↗)

1 points · by grassfedcode · 7y ago · 1 comment

4.

C++ Weekly – Ep 110 – gdbgui(youtube.com ↗)

1 points · by grassfedcode · 8y ago · discuss

5.

Show HN: Realtime snow chain requirements for Lake Tahoe(tahoeroads.info ↗)

1 points · by grassfedcode · 8y ago · 1 comment

6.

Show HN: State management tools for a React-powered front end to gdb(medium.com ↗)

2 points · by grassfedcode · 8y ago · discuss

comment 8y ago · link · parent

I've been using Stator[0] which uses a global JavaScript object with get(), set(), and connectComponentState() methods that selectively call setState() on components that connect to the global state.

It has worked really well for me on a 5k+ LOC frontend to gdb called gdbgui[1]. It's performant, but perhaps more importantly, it matches my mental model of how the code works (essentially a global setState, can log changes to the console, do type checking, etc.) so I can work more efficiently. Stator was originally part of gdbgui, but since the pattern worked so well for me I extracted it into its own library.

[0] https://github.com/cs01/stator

[1] https://github.com/cs01/gdbgui

8.

Show HN: List of React state management tools(github.com ↗)

4 points · by grassfedcode · 8y ago · 3 comments

comment 9y ago · link · parent

Never tried, but pygdbmi would probably get you halfway there. It uses python to parse structured data (key/value pairs) from gdb output. Gdbgui uses it on its backend. (Disclaimer: I am the developer)

https://github.com/cs01/pygdbmi

Also for golang: https://github.com/cyrus-and/gdb

comment 9y ago · link · parent

Just wanted to mention gdbgui, a new front end to gdb that I developed which is similar to Chrome's debugger, has a gdb terminal which you can fall back to if you want to run gdb commands, and data structure/value plotting and visualizations similar to ddd.

https://github.com/cs01/gdbgui

comment 9y ago · link · parent

I recently added data structure visualization to a gdb frontend called gdbgui, which might be of interest to people trying to debug their algorithms. https://github.com/cs01/gdbgui

comment 9y ago · link · parent

a browser-based frontend to gdb

https://github.com/cs01/gdbgui

comment 9y ago · link · parent

I'm trying to add support for lldb to a gdb frontend (https://github.com/cs01/gdbgui/), and need a gdb-mi compatible interface to do it.

lldb-mi exists, but its compatibility with gdb's mi2 api is incomplete. Does anyone know of a more compatible api to gdb-mi2 commands, or if there are plans to improve lldb-mi's?

14.

Show HN: Realtime snow chain requirements for Lake Tahoe(tahoeroads.info ↗)

4 points · by grassfedcode · 9y ago · discuss