HNHacker News
TopNewBestAskShowJobs

grassfedcode

23 karma · joined February 24, 2017

submissionscomments
grassfedcode··on The early History of the Singular Value Decomposition (1993) [pdf]
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.
grassfedcode··on Show HN: Pythonloc, invokes Python with local dir 'pypackages' on path
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.

grassfedcode··on Show HN: List of React state management tools
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

grassfedcode··on Give me 15 minutes and I'll change your view of GDB (2015) [video]
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

grassfedcode··on Give me 15 minutes and I'll change your view of GDB (2015) [video]
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

grassfedcode··on Data Structures for Coding Interviews
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
grassfedcode··on Ask HN: What are you working on?
a browser-based frontend to gdb

https://github.com/cs01/gdbgui

grassfedcode··on LLVM 4.0.0
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?