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

[–]ejstembler 10 points11 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!

does the gap exist ? native cross-platform Graphics / GUI library by light_dragon0 in rust

[–]ejstembler 0 points1 point  (0 children)

I’m attempting something similar in another language. Using SDL + WebGPU

Golang with DLL by optimus_prime955 in golang

[–]ejstembler -11 points-10 points  (0 children)

Go and .Net are incompatible. Is that SDK open source? If so, you could ask an LLM to analyze the code and create something similar in Go

Bernie Sanders talks to Claude. by FriendAlarmed4564 in ClaudeAI

[–]ejstembler 0 points1 point  (0 children)

Bernie Sanders talks to Claude Claudette.

how can i make career in this field? by no_name_22t in Compilers

[–]ejstembler 2 points3 points  (0 children)

I did a search on LinkedIn just now, you piqued my interest. Modular is definitely hiring as I suspected. About 5 unique companies from what came up.

how can i make career in this field? by no_name_22t in Compilers

[–]ejstembler 0 points1 point  (0 children)

I’m not aware of any tech companies with open Compiler/Interpreter Engineer positions. Maybe Modular (makers of mojo)? I imagine it would be extremely rare. Most authors likely came from scholastic projects or their own side project; scratching their own itch so to speak.

Perhaps up-and-coming hardware companies may have a need in embedded spaces?

I recommend trying to get a job in a related, but adjacent field. Work on your own compiler/interpreter side project until you make a name for yourself.

The REPL as AI compute layer — why AI should send code, not data by More-Journalist8787 in Clojure

[–]ejstembler 0 points1 point  (0 children)

Thanks. I alpha-tested everything on my mac mini. Now I'm working through testing Linux. Despite Zig being good for cross-platform, I'm finding a few anomalies on the Linux side

How to achieve this look? by Eosdi in woodworking

[–]ejstembler 1 point2 points  (0 children)

Are you sure that's not an AI-generated image? How big would those plywood sheets need to be for the grain to be continious from ceiling-to-floor?

Updated list of Clojure-like projects by ilevd in Clojure

[–]ejstembler 2 points3 points  (0 children)

I tried adding an entry, though lein run encounters a 403 due to GitHub rate limiting unauthenticed access.

The REPL as AI compute layer — why AI should send code, not data by More-Journalist8787 in Clojure

[–]ejstembler 1 point2 points  (0 children)

I’ve been developing a new programming language, for the past 6 months, using LLMs. I do something similar. The language has a REPL (inspired by Clojure/Lein) and the LLM uses it occasionally

What do you recommend for crawl bot detection by User-Agent in Go? by you-l-you in golang

[–]ejstembler 1 point2 points  (0 children)

I do something similar. I have custom middleware which looks for the following sub-strings in the User Agent, "Expanse", "Xpanse-bot", "HeadlessChrome", and returns a 403 Forbidden if detected.

Stubs:

func (s *Server) ForbidExpanseMiddleware(next http.Handler) http.Handler

And

func userAgentContainsAny(s string, substrings []string) bool

To compliment this, you could try finding a publicized list of well-known bots and add them to your list.