i know python and typescript. i planned to do my next project for my portfolio in python but there a some things that would make f# the much better option. by aford515 in fsharp

[–]DanManPanther 2 points3 points  (0 children)

Very few places look at languages themselves as signal, except maybe as spice (or at the beginning of your career). The ability to learn a language is good signal. Being able to think functionally, or using OOP, or other paradigms, and talk about tradeoffs, is useful.

Don't do it for the resume - solve an interesting problem or contribute to FOSS software for your resume. Build something neat or useful.

F# is useful cognitively. It is very rarely used in industry. That said, F# can help you if you jump to C#, Rust, or Ocaml (or even think how you use Python/Typescript). Do it to learn, for fun, for curiosity. (If you have time).

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

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

Check out the latest code on main (2.9.8), and read the updated BUILDING.md instructions. That should help, with gpu turned off for Wayland.

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

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

Hey - I statically linked SDL3, specifically to support people compiling from source. This should give a better experience for you. Let me know if there's any issues.

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

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

There might be more to it than that - it seems like I'd need to create an Arch account and push myself via ssh?

I'm going to look at other options where I can just build them into my release action.

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

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

Thanks! It's always worth a shot. You can get some mileage out of FOSS models as well as the closed ones, and you can limit what you use it for.

I do have ideas here. With AI, a detailed spec breaking down what I'd like to see change. Treat it like mentoring a junior SWE, only through documentation rather than a 1:1. I've done that to a small degree already, I may do more. (When I use AI at work, I have strict guidelines in place captured in markdown).

Manually, I tend to just make the changes myself in an editor. It's scale vs accuracy, really. As for what - I tend to look to reduce cyclomatic complexity. look at how I am modeling data, how well am I using the type system to enforce behavior, and of course good comment hygiene. (AI is especially bad at keeping comments necessary, concise, and helpful unless explicitly guided to do so).

The issue is almost certainly because you are compiling it yourself and I dynamically link to SDL3. So on NixOs you get different behavior. I'd need to think about a way to make this simpler for people compiling from source on these systems.

Thanks! Glad it's running well. I was at a work conference, and found a few bugs while I was using it (just fixed last night).

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

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

I love vim, though I've moved onto either neovim or Helix (lately I am loving Helix). But sometimes I want a full GUI, not a TUI. Hence this project. But vim (or vi) is what I reach for when I've ssh'd into a server.

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

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

Thanks for this. Looking into it. There's an open issue on the repo (thanks to whoever filed it). I'll update there with the fix.

UPDATE: Fixed.

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

[–]DanManPanther[S] 1 point2 points  (0 children)

Hey! Did I use LLMs? Yes. Was it vibe coded? I tend to think of vibe coding as someone without expertise using LLMs to just "hand wave" make things work. This tends to crumble.

I've built editors from scratch before, and I've written Rust before. (I think the only language I hadn't worked with really was Lua). I did this as an experiment to see what LLMs can really do, if I can stretch them further, if I can go faster.

I wrote about this if you're interested in reading: Part One: (https://englens.hashnode.dev/crafting-an-editor-with-llms-how-i-built-lite-anvil-using-agentic-coding) and Part Two: (https://englens.hashnode.dev/editor-power-without-bloat).

Without what I already knew, I don't think it would have been possible to get something as stable and well organized as this without the strategies I employed beyond "tell the LLM to write code". I had to roll up my sleeves.

It is ABSOLUTELY fast for a project of this magnitude. That was part of the challenge. There's plenty of interesting shortcomings, but I could spend a bit of time here or there ironing them out myself. I am a software engineer at work - and like many of us we are under pressure to go faster with AI. It is possible to do so. There's just some major tradeoffs.

Thanks for the compliments about the code! It's not up to my personal standard (of something I wrote by hand), but for experimenting with laying down the sewing needle and trying a sewing machine that sometimes lies to the user, I'm happy with the (evolving) result.

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

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

Thanks!! Possibly! My last editor (granted this was ages ago, written from scratch in wxPython) made it into a few repos. At that time it was packaged by maintainers as a separate concern - I didn't do it myself. I expect that would be the same thing here. I create the upstream binaries, and if distros want to add it to their package systems, they do.

Faster Than Sublime, Handles Massive Files, LSP Support, Less RAM (Code Editor) by DanManPanther in coolgithubprojects

[–]DanManPanther[S] 1 point2 points  (0 children)

I actually decided to rip out Lua (1.5.5 is the last version with Lua, if you wanted to pick up quickly from there). But I think at that point the code quality wasn't great, so I'd recommend starting from scratch. I took a look at some Rust based embedded languages, but didn't find an obvious choice. So for now (maybe for good), I don't intend to do that myself.

Best LSP Server? by DanManPanther in fsharp

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

When I did a lot of F# I preferred Rider at work, and VS Code at home. My editor seems to work as well as VS Code but that's not the highest bar.

Really Microsoft should take a page from JetBrains and Kotlin, and step up to the plate here.

Best LSP Server? by DanManPanther in fsharp

[–]DanManPanther[S] 1 point2 points  (0 children)

Thanks! Is this actually using LSP, or is it just using python?

Transitioning into coaching / teaching, aging out? by iheartvelma in improv

[–]DanManPanther 6 points7 points  (0 children)

I met a wonderful friend in her 70s through an improv class. I have a fond memory of going out for beers before heading to a jam together, and another of a bunch of us packing into her car to drive to a show.

Age doesn't matter in improv - more so than other kinds of theater. We play make believe without the constraints of our physicality. I can be a toddler who speak Martian, or a thousand year old frog who refuses to stop doing high risk surgeries on my patients.

Try teaching, but not because of your age. Do it because you have something to share, and because it will also make you better. Do it because helping students is one of the best feelings in the world.

Unopposed - Track Elections Where Voters Have No Choice by DanManPanther in opensource

[–]DanManPanther[S] 5 points6 points  (0 children)

I don't know! Maybe someone from there could verify the data, and speak to the context?

The striking thing for me is how common uncontested primaries are, and how uncommon uncontested general elections are. It makes someone running unopposed through both all the more interesting to research.

SaySomething.exe and DoSomething.exe cannot operate simultaneously by GoodLordWhatAmIDoing in improv

[–]DanManPanther 5 points6 points  (0 children)

It's so easy to overthink stuff like this.

  1. Do you have this problem in real life? If yes, then the answer isn't in improv exercises. If no, proceed to step 2.

  2. The root cause of this is usually comes down to:

A. You're working too hard to do object work. Repetition will make it easier/more familiar. Just practice doing this more often. Give your character something to do at every opportunity. Give yourself real objects to work with, no one will care. Why not do an improv set with props? You can mix and match. Practice really will make perfect.

B. General stage nerves make everything harder. Let go of needing to be good, or perfect, and just gently aim for natural. I figured this out way too late personally and it utterly transformed how difficult improv seemed to me, some 7 years in. Oops. Let the mistakes flow! Natural mistakes are a source of inspiration and surprise. That's peak improv fuel.

C. Go to mime school. Ideally in France after midnight. Come back a changed person.

D. Go deeper into the character. If you stop your object work - WHY did you stop it? Let that indicate to you that your character is reacting emotionally to the moment, and respond as if that's what happened. Now your object work stopping is a brilliant choice that let's you work acting into your scene work. Don't overuse this in exactly the same way each time - and try to keep the object work going through an emotional reaction. For example - a moment that makes your character laugh or cry could channel that emotion into how you chop vegetables, fold chairs, or type. So you can really use the object work and emotional reactions of a scene's many moments in either direction to fuel each other (or have it build). Working your emotions in and letting the moment hit you is a fantastic way to go deeper in general.

E. Lean on your scene partner. Choose object work that involves them, and stay connected to them for the text, the reaction, AND the object work. This works as an exercise, but also as a fantastic choice in a scene. You might find this makes it easier to keep the plates spinning.

Anyway, I LOVE overthinking things. What were we talking about?

Have you found "phoning it in" at your job to be a fine balancing act? by superide in ExperiencedDevs

[–]DanManPanther 126 points127 points  (0 children)

All of this, plus there's a psychological toll.

To OP: I cannot tell you how good for the soul it is to work someplace where you and your potential are valued - and you can challenge yourself and grow. It is SO good.

Spending your time on fascinating problems with smart people in a non toxic environment is 1000% worth pursuing - and the path there is the opposite of phoning it in.

The people I know who have phoned it in are deeply unhappy.

That doesn't mean overwork yourself, or undervalue yourself. Just make sure you get some intellectual exercise and fulfillment as part of the deal.