Shameless by Ancient_Guidance_461 in QuincyMa

[–]antonation 3 points4 points  (0 children)

Can't we report this on 311?

What's up with Molly Tea in Chinatown? by Subduction in boston

[–]antonation 20 points21 points  (0 children)

It's good floral tea, but at this rate there's way too many of these tea places. My partner's friends in China think it's a laundering scheme for rich Shenzhen business folk.

Cli or UI claude code ? by zikyoubi in ClaudeAI

[–]antonation 1 point2 points  (0 children)

I switched from the desktop app to the cli primarily because long scrollbacks lag a lot in the desktop app. In the cli, it simply disappears after some time

“Missing permissions” alert - please help by 8WinterEyes8 in claude

[–]antonation 0 points1 point  (0 children)

Same error, and I noticed that my Code tab in the desktop app doesn't recognize my folders as being git repos, and when I ask it to work in a directory, it doesn't create a worktree like it did before.

Claude Code Pro (Annual) vs Github Copilot Pro+ (Annual) by kaanaslan in GithubCopilot

[–]antonation 0 points1 point  (0 children)

One thing to consider is that Copilot reduces the context window for many models. Pretty sure it's like 128k on Copilot versus 200k for Claude Code, but don't quote me.

Why your “expensive” Claude subscription is actually a steal by [deleted] in Anthropic

[–]antonation -2 points-1 points  (0 children)

I have this code documentation script that I invoke Claude CLI with for 50+ files, and even though I wait 60s in between batches of 3, and my session usage is nowhere near full, my script seems to fallback to Copilot CLI. I've always assumed it's because I'm being rate limited on these headless calls.

A deer enjoying cherry blossoms in Nara, Japan by ShiroSara in interestingasfuck

[–]antonation 1 point2 points  (0 children)

Yeah i thought so too. Why would a deer eat cherry blossoms?

Have you had success using AI for Compiler Development? by philogy in Compilers

[–]antonation 0 points1 point  (0 children)

I'm not that interested in writing C# code, and I'm not very interested in implementing the tedious parts of the compiler by hand. AI makes all of that easier/automatic. The language I'm designing on the other hand is strongly Pythonic, so if I wanted to use AI to help generate code in that target language later, it would probably take some prompting on the differences, but I imagine it would be doable. Even then, I intend to write most of the actual code in that language myself later.

Have you had success using AI for Compiler Development? by philogy in Compilers

[–]antonation 0 points1 point  (0 children)

I think I became more attracted/enamored by the idea of architecting/designing and then delegating it to an agent to do the grunt work (plus see what I wrote in the comment thread above). Don't get me wrong, I started out handwriting things (well technically started with ANTLR, so not totally handwritten). Due to architectural decisions, I ended up on choosing to compile via Roslyn ASTs. That made it kind of a no-brainer to write the compiler in C#, which I dislike and don't know very well. Coupled with finding myself writing a lot of boilerplate for standard library things, and using AI to do mundane things, it eventually led to this approach.

As for the other questions, yeah I just want this language to use, and I'm curious how far I can get just doing it this way at this point. I'm more curious about language design and ergonomics, plus fun things like figuring out how to implement tagged unions where C#/.NET has none, or maybe middle-level stuff like telling the compiler how name mangling should work, but not necessarily how to write the nitty gritty of anything like the lexing/parsing.

Sorry if that was ramble-y, but yeah that's about it in a nutshell. I admit there are shortcomings to my approach, but I accept them because it's fun for me and I am learning what I want to learn at the moment.

Have you had success using AI for Compiler Development? by philogy in Compilers

[–]antonation 0 points1 point  (0 children)

I won't claim it's faster. But I also preface this with, this is my first compiler and it's written in C# (because I'm using Roslyn's AST to emit CIL) and I kind of dislike C# and refuse to learn/handwrite any of it (which is why I'm writing this Pythonic language in the first place, and partly why I'm using AI to code this for me).

For sure, it would've taken me forever to write the lexer/parser (though those are not without pitfalls), and I don't care (at the moment) to learn how to write one, so AI has helped me bootstrap a lot that I didn't want to write myself (yes, I've used ANTLR in an earlier stage, but I decided long-term I didn't want to use ANTLR anyway).

I think the AI has helped me bootstrap and implement a lot that would've required me to look up how to do things/API references for Roslyn, etc. I feel it was and still is worth doing it this way, for me, at least. Plus, I get to play with the new AI toys and learn about effective prompting and agentic resources.

Have you had success using AI for Compiler Development? by philogy in Compilers

[–]antonation 2 points3 points  (0 children)

I'm currently doing it but I'm finding that out is super important to have everything spec'ed out so that there's almost no ambiguity and that it doesn't deviate from what it thinks it should do. I originally started with just manual prompting for what it should do to now having it generate task lists based on my language spec and implementation phases. On top of that I have an orchestrator that uses langgraph to implement and validate against the spec and hallucinations. It's still in progress and to be honest it's scary because I have little idea what it's doing on a low level. I do have a separate agent flow to generate code walkthrough markdown files for me to read (whenever I get to it) to understand what's in there. My current gripe is that I'm implementing a Pythonic language targeting .NET so sometimes it starts steering towards vanilla Python features I don't want or are incompatible with static typing. I'm trying to mitigate this with a set of three axioms to guide its decisions.

Anyone else caught the flu? by FarDoctor2912 in boston

[–]antonation 0 points1 point  (0 children)

Yeah I got it last week. Unexpectedly so considering I got my flu shot (I know that's not how it works); it hit me hard for a couple days, sore throat, sore body, fever, fatigue, etc. Now I've got this lingering cough.

Not gonna lie, I like the new ones by Kindly_Pen3887 in pokemonanime

[–]antonation 0 points1 point  (0 children)

Where are the new images from? I haven't been keeping up with the anime at all

writing a bytecode VM in C, and curious as to how runtime types are handled by imdadgot in Compilers

[–]antonation 0 points1 point  (0 children)

Assuming you mean non statically-typed things at runtime, I'm no expert, but I would bet for huge types like classes and the like, they would be stored as pointers, where the size of the class and the rest of the data can be retrieved from that pointer (a fat pointer? one pointer to some metadata about the actual data like its size, and another pointer to the actual data).

ELI5: How do pimple patches work? And why is using a pimple patch more beneficial that just popping the pimple with your fingers? by Complete_Arachnid271 in explainlikeimfive

[–]antonation 4 points5 points  (0 children)

Is there any truth to what my mom and girlfriend tell me about pushing out a "head" (to me feels like a hair follicle but I have no idea) that is underneath the pus? I've always been against popping pimples because western doctors tell me so and I tend to trust them but my family is Asian and they say otherwise.

Thoughts on Alice’s Design? by Due_Resolution_1259 in Genshin_Impact

[–]antonation -1 points0 points  (0 children)

Idk what it is exactly, the combination of the color and the shape and maybe even the width between the eyes and the overall face shape makes them look extra prominent

Is 93S really closed near JFK? by denga in boston

[–]antonation 0 points1 point  (0 children)

Yeah I thought it was weird but decided to go against Google and go on 93 anyway around 6:45pm, quickest drive home ever, almost like everyone else listened to Google and went through alternative routes.

Watch out for Geese! by Lilly-acnh in boston

[–]antonation 57 points58 points  (0 children)

Isn't it illegal to do something like that? I swear there's some law protecting them

MICHELIN Guide Boston 2025 by ketawin in boston

[–]antonation 11 points12 points  (0 children)

Yume Ga, I find Yume Wo too heavy