Advertisement · 728 × 90

Posts by Aaron Munger

I'm just excited about how much easier it will be to diagnose user issues now that we can open up the prompts that it used.

11 months ago 0 0 0 0
Video

AI in code editors opened up so many new feature possibilities that I finally managed to think up a useful vs code extension that didn't already exist: Generate debug log point messages with Logpoint Generator. marketplace.visualstudio.com/items?itemNa...

1 year ago 4 0 0 0

The "toggle" extension plus a keybinding can do it:

"key": "...",
"command": "toggle",
"when": "editorTextFocus",
"args": {
"id": "autoCompletions",
"value": [
{ "github.copilot.editor.enableAutoCompletions": true },
{ "github.copilot.editor.enableAutoCompletions": false }
]
}

1 year ago 2 0 0 0

love these new completions.

1 year ago 0 0 0 0

I assume that means that one of my object files was stale and only got refreshed by the makefile when the source was updated.
I'm probably missing some important tool to help guard against that, but damn, I certainly do not envy C programmers at this point.

1 year ago 0 0 0 0

I'm still working through the "Crafting Compilers" book.
I spent at least an hour trying to figure out why my C program was returning something like 3.67e-307 for every value I was trying to store in a byte array. After adding a bunch of printf statements to debug, it just suddenly started working.

1 year ago 0 0 1 0

PSA - 6 years old is a great time to be introduced to Star Wars. I'm through the original trilogy and episode I with my daughter, and she is loving it.

Seeing her reaction to "I am your father" was very satisfying.

1 year ago 0 0 0 0

Give Copilot another shot if you already used up your trial period early on. It has improved quite a bit and a free tier is now available.

1 year ago 1 0 0 0
Dave Chappelle as Tyrone Biggums meme "Ya'll got any more of them code puzzles"

Dave Chappelle as Tyrone Biggums meme "Ya'll got any more of them code puzzles"

Me trying to step away from #AdventOfCode to regain several hours of my day.

1 year ago 4 0 0 0
Advertisement

Those are good reasons, but seem more beneficial with more experience in the language. Those surveys seem to imply that people love the language but haven't used it much. But maybe people just really like the idea of getting that performance.

1 year ago 1 0 1 0

Good point on cargo, that tool is to notch

1 year ago 1 0 0 0

I don't understand why rust gets such an exceptional amount of love in those SO dev surveys. The learning curve feels so steep with all that syntax and the ownership restrictions.
I'm still willing to slog my way through as I learn it, but why does it appeal so widely?

1 year ago 0 0 2 0

I finished #AdventOfCode day 13, but damn, I don't remember linear algebra being that tricky

1 year ago 5 0 0 0

I love when the #AdventOfCode problems become time constrained because you see how powerful optimization can be - My solution went from not finishing after waiting for around a minute to 71 ms after optimization.

my solution: github.com/amunger/adve...

1 year ago 1 0 0 0

It took me a while to process that they were actually talking about Among Us. What a joke

1 year ago 1 0 1 0
A side note saying "yes, they actually wrote machine code by hand. On punch cards. Which, presumably, they punched with their fists."

A side note saying "yes, they actually wrote machine code by hand. On punch cards. Which, presumably, they punched with their fists."

I really appreciate it when humor is mixed into technical books, and Crafting Interpreters delivers well on that.

1 year ago 1 0 0 0

I'm through part 2 of Crafting Interpreters and I even added arrays to the language for the jlox tree-walk interpreter as the final challenge exercise.

I wasn't sure how much I was picking up while reading through, but adding my own feature really helped cement the material in my mind.

1 year ago 2 0 0 0
Advertisement
Copilot providing a function to "turn right", only knowing that I have a set of directions to use in a 2d array

Copilot providing a function to "turn right", only knowing that I have a set of directions to use in a 2d array

seriously, 12 hours since the puzzle came out and it already knows how I'll need to cycle through the directions

1 year ago 0 0 0 0

Just add the keybinding (with whatever key):

"key": "ctrl+shift+k y",
"command": "toggle",
"when": "editorTextFocus",
"args": {
"id": "autoCompletions",
"value": [
{ "github.copilot.editor.enableAutoCompletions": true },
{ "github.copilot.editor.enableAutoCompletions": false }
]
}

1 year ago 0 0 0 0

If you want copilot auto-completions for the tedious stuff, but don't want it when thinking through your #AdventOfCode solution. You can make a keybinding to toggle it on and off with the "Toggle" extension from @rebornix.com

1 year ago 2 0 2 0

#AdventOfCode day 5: modified bubble sort to the rescue!

1 year ago 2 0 2 0

I meant more like a faux pas, but if they're hidden then it's all good

1 year ago 1 0 1 0

Sounds nice, but aren't there rules against having Christmas lights up out of season?

1 year ago 0 0 1 0

Ok, Copilot is not much help. Who would calculate similarity like that?

1 year ago 0 0 0 0
Preview
From the adventofcode community on Reddit: AoC public stats visualizations (2015-2023) Explore this post and more from the adventofcode community

Found some good analysis on Reddit www.reddit.com/r/adventofco.... Looks like more people actually got through the final challenge in '22 than '23.

1 year ago 0 0 0 0
Advertisement

Are there stats for how far people make it through advent of code each year? I'd be interested to see the trend as AI tools become more ubiquitous

1 year ago 0 0 2 0

The choice of coding style doesn't matter much to me as long as it's consistent, and it's interesting to actually see that by looking at my attitude over time.

1 year ago 0 0 0 0

I was initially disturbed by importing functions in typescript and using them as if they were local but have grown comfortable with it. Now I can't stand seeing a class member used within the class without using prefixing with "this".

1 year ago 1 0 1 0

The author initially asks how it could be implemented, and I quickly dismissed using exceptions since I couldn't imagine him suggesting such a thing.

Though I get the impression that performance is not a high priority with tree-walk interpreters.

1 year ago 1 0 0 0

You sometimes discover that a "bad practice" in software can actually be perfectly suited for a specific case.

The latest one for me was using exceptions for control flow to implement return statements while reading Crafting Interpreters.

1 year ago 0 0 1 0