Toots for john@hawthorn.pub account

Written by John Hawthorn on 2024-12-18 at 05:08

In the pipeline (hopefully in the next version) I'm working on an equivalent to ObjectSpace.trace_object_allocations but that records full stacks of where every object is allocated https://github.com/jhawthorn/vernier/pull/117 and having the profiler survive process forks

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-12-18 at 04:56

Vernier 1.5.0 is out! This has some significant changes including rewriting the timer thread sleeping (should be lighter weight), recording Fiber activity (thanks @tenderlove), and showing file listings on the command line. Please let me know if you hit any issues 🙇‍♂️ https://github.com/jhawthorn/vernier/releases/tag/v1.5.0

=> View attached media | View attached media

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-11-10 at 19:37

I was working on a crash in CRuby and wrote a basic version of the "Delta Debugging" algorithm to reduce the size of the failing program.

https://github.com/jhawthorn/delta_debug#usage

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-10-23 at 07:17

Neat to see that an article about encoding and solving a sudoku in python packages https://github.com/konstin/sudoku-in-python-packaging. I used the same trick when testing the Ruby port of pub grub (which is now used in bundler) https://github.com/jhawthorn/pub_grub/pull/3

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-10-08 at 18:06

I've seen others configure git to run bundle lock or similar, which has some advantages over what I'm doing, but I want a tool which just operates on the diff and doesn't perform any silent upgrading that wasn't done in the branches being merged.

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-10-08 at 18:03

I'm working on a tool to perform automated three-way-merge of Gemfile.lock files to be used as a git merge driver. https://gist.github.com/jhawthorn/72ef2312ab55d368b3a1ee55290cbb78

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-09-04 at 02:48

Petition to add Zerg, Protoss, and Terran emoji to unicode

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-08-29 at 17:38

def really_rand = [rand(2**64)].pack("Q").unpack1("D")
really_rand()

=> 2.0251516865267015e+83

really_rand()

=> -1.0005918537287168e-151

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-08-13 at 18:17

For comparison above is a graph with 50 points vs below measuring 300 points at a regular interval (it has a slightly different X axis... I made a mistake). I think the old version looks better but the new version was way faster to generate and it more precisely narrows down the specific commit(s) which caused a change (rather than an interval, which I'd then have to bisect).

=> View attached media

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-08-13 at 18:12

I'm working on a tool to bisect through a git history to find performance changes to a given benchmark.

Unlike a traditional git bisect, which looks for a boolean change, we want to find points at which a value has a sharp jump.

=> View attached media

=> More informations about this toot | View the thread

Written by John Hawthorn on 2024-08-08 at 00:25

TIL ./configure --config-cache

=> More informations about this toot | View the thread

=> This profile with reblog | Go to john@hawthorn.pub account

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

This content has been proxied by September (3851b).