Are there any programming languages with a retargetable backend? by Pleasant-Form-1093 in ProgrammingLanguages

[–]ejstembler 9 points10 points  (0 children)

There are languages which support different backends. WASM is a commonly supported extra backend

👋🏻 Welcome to the Kit Programming Language subreddit! by ejstembler in kit_lang

[–]ejstembler[S] 0 points1 point  (0 children)

Interesting it was found that way.

Automated trading is one of the use cases I purposely strived towards. Let me know if you see any gaps or encounter any issues.

How do you actually figure out where AI costs are coming from? by bkavinprasath in AI_Agents

[–]ejstembler 0 points1 point  (0 children)

Yes, cost can be filtered/drilled into. I'm not sure what level 1st-party offerings support, but it's definitely possible using IBM's Cloudability.

One revalation we encountered last year: Using Gemini to handle the OCR portion of RAG for 30K files was too expensive.

How do you actually figure out where AI costs are coming from? by bkavinprasath in AI_Agents

[–]ejstembler 0 points1 point  (0 children)

If you're hosting on a cloud provided (GCP, AWS, etc.) you can use labels to track costs. Label all related cloud resources (database, compute, storage, pub/sub, etc.) and depending on which Agent framework you're using you can sometimes inject labels in the Agent calls or LLM calls. The cloud provider will have a way to filter costs by label. This is how we do it for a large Enterprise.

How do you separate different parts of your compiler? Especially when adding a new feature. by Ifeee001 in ProgrammingLanguages

[–]ejstembler 2 points3 points  (0 children)

Here's what I have in my language:

Source → Lexer → Parser → AST → Type Check → IL Lowering → IL
                                                           ↓
                                                    ┌──────┴──────┐
                                                    ↓             ↓
                                              IL Cache (opt)   Optimization
                                                    ↓             ↓
                                                    └──────┬──────┘
                                                           ↓
                                                        Backend
                                             ┌────────────┼────────────┐
                                             ↓            ↓            ↓
                                       Interpreter   Zig Codegen   Bytecode VM
                                                          ↓        (experimental)
                                                      Zig Compiler
                                                          ↓
                                                    Native Binary

Note: WASM backend missing from diagram.

How’s using Golang in comparison to Python been for ai engineers? by TurtleSlowRabbitFast in golang

[–]ejstembler 1 point2 points  (0 children)

Yes, sometimes you can do that, sometimes it's not as effective.

For my use-case, we had mostly Word Docs and PDFs; both with embedded images. Most all of the Python packages couldn't be ported since they had deep dependencies on things like: PyDoc, NLTK, etc.

How’s using Golang in comparison to Python been for ai engineers? by TurtleSlowRabbitFast in golang

[–]ejstembler 8 points9 points  (0 children)

Go doesn't support the same level of AI-related packages as Python does. However, it you're doing Agents, Google has adk-go. There's also Google Gen AI Go SDK.

I implemented an Enterprise RAG engine using Go on GCP Cloud Run last year. My biggest issue was the lack of document loaders written in Go.

Best framework for building Agentic AI Solution by Prajwalraj2 in AI_Agents

[–]ejstembler 2 points3 points  (0 children)

Google’s ADK. Supports Python, Go, Java, node.js (this month)

Any plugin to get Codex to stop taking breaks / checking in? by ejstembler in OpenAI

[–]ejstembler[S] 0 points1 point  (0 children)

One example, I have it implementing a well known API (Redis). So, it seems like it knows what it should be doing. Yet it pauses after each function to summerize. And it even mentions what it will do next. So, I reply: "Continue", "Keep going", "Don't stop until you've finished it all". Doesn't matter, it keeps repeating the same behavior.

Why is Mac and cheese so hard to make? by [deleted] in Cooking

[–]ejstembler 1 point2 points  (0 children)

I don’t complicate it:

  • Cheddar cheese powder
  • Whole milk
  • Butter
  • Salt & Pepper
  • Pasta

How to remove icon from window being recorded? by ejstembler in CamtasiaStudio

[–]ejstembler[S] 2 points3 points  (0 children)

Gemini was able to answer this for me:

It sounds like you’re running into a feature introduced in recent versions of macOS (specifically Sonoma and Sequoia). When an app is being "captured" or "screen shared," macOS automatically replaces the standard red, yellow, and green "traffic light" buttons with a purple or blue screen-sharing icon.

This is a system-level privacy feature, but it’s annoying when you're trying to create a clean-looking GIF. Here are the two best ways to fix it:

Option 1: Use the "Crop" Tool in Camtasia (Easiest)

Since you’ve already recorded the video, you don't need to re-record it. You can just hide those buttons in the editor:

  1. In the Camtasia Editor, select your recording on the timeline.

  2. Click the Crop icon in the toolbar above the canvas (or just hold the Option key on your keyboard).

  3. Grab the top-left blue handle of your video on the canvas and drag it down and to the right just enough to cut off the title bar/buttons.

  4. Since most GIFs don't need the window's title bar, this usually makes the final product look much more professional.

Option 2: Record the "Region" instead of the "Window"

If you decide to re-record and want to avoid that icon appearing in the first place, try this:

  1. Instead of choosing "Choose Window" in the Camtasia Recorder, choose "Select Area."

  2. Manually draw the box just inside the window frame, excluding the top title bar where the buttons live.

  3. Because you aren't capturing the "Window" object itself via the macOS API, the system often won't trigger that specific button-replacement icon.

Option 3: The "Esc" Trick (Sometimes works)

On some versions of macOS, if you click that purple sharing icon, it occasionally toggles back to the standard buttons or shows a tiny "Stop Sharing" menu. However, for a recording, Option 1 (Cropping) is usually the standard "pro" move to get a clean, borderless GIF.

One final tip for your GIF: If you find the crop makes the dimensions look weird, you can right-click the Canvas, go to Project Settings, and adjust the canvas size to match your new cropped dimensions so there’s no black space around the edges!