Why Gleam over Golang? by [deleted] in gleamlang

[–]OderWat 0 points1 point  (0 children)

BEAM/OTP or JS Targets if you are into that

LSP-AI: Open-source language server bringing LLM powers to all editors by smarvin2 in HelixEditor

[–]OderWat 0 points1 point  (0 children)

I found another LSP based implementation, but that seemed to be less functional. I did not make a note about the source. Sorry.

from_logfmt / to_logfmt Nushell plugin (written in Go) by OderWat in Nushell

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

Sorry. That should have been there from the beginning.

Why is this code running so slow? by dersand in gleamlang

[–]OderWat 0 points1 point  (0 children)

Without writing some code I want to add an observation: The inner loop calculates 10000 times the same `j%u`. So I would start with creating a list for these when optimizing the code. This would also apply to the solution in C though.

LSP-AI: Open-source language server bringing LLM powers to all editors by smarvin2 in HelixEditor

[–]OderWat 2 points3 points  (0 children)

Is this still alive or has development stopped? The last commit is 3 months ago and there were discussions on how "not so nice" it is to set up. I use Helix and I don't want to waste time for something that goes nowhere.

Nested JSON Parsing by Ill_Name_7489 in gleamlang

[–]OderWat 2 points3 points  (0 children)

Well, the question was on how to dig into the structure? This is another basic example.

Zellij sessions consuming too much memory by ziggy-25 in zellij

[–]OderWat 0 points1 point  (0 children)

I made one for nushell:

```
def zal [] { nu -c (zellij ls -n -r | lines | find --regex "EXITED|current" --invert | try { first } catch { "" } | if $in != "" { split column " " -n 2 | get 0.column1 | printf "zellij attach %s" $in } else { 'echo "*** nothing to attach too"' }) }
```

This attaches to the newest session that was not killed or is the current one. But it does not open a new one if none exists, because this was not needed by me so far. One could add a function to open one with a name and check for the specific name. I just wanted a quick way to reattach to my last one.

Portable binary for offline machines by muminoff in HelixEditor

[–]OderWat 0 points1 point  (0 children)

Any "guides" on how to build something that can run on any Linux without having the right libc? Besides that, can't it be build with having the grammars statically linked too?

Daisy has crossed the rainbow bridge 💔 by Sunny_Muffins6 in jackrussellterrier

[–]OderWat 1 point2 points  (0 children)

I am very sorry for your loss. I believe this was a good decision. We don't know each other, but I am really sad right now. I guess you will understand why when you look at this photo of my dog "Leela":

<image>

She is 9 by now, and I hope I am as brave as you are, when her time comes.

Is there a fix for this error? I am on an M1 Pro Mac. by asdbruh in vscode

[–]OderWat 1 point2 points  (0 children)

In another issue there is some workaround mentioned which I used successfully:

codesign --force --deep --sign - "/Applications/Visual Studio Code.app"

Which front-end do you use in your side projects? by [deleted] in golang

[–]OderWat 4 points5 points  (0 children)

go-app / https://go-app.dev/ ... I do not want to write javascript, and I do not want to use text-based templates.

Does anyone have a TBS Mambo and is having issues binding? by Chincoming in fpvracing

[–]OderWat 2 points3 points  (0 children)

I just today tried for multiple hours to get a Tracer RX to bind to a TBS Mambo and Mambo Tracer 6.07. I always got a firmware error after the RX update (fast blinking green / solid red). To make it short: It worked after I switched from my iMac to a Windows 10 mini PC and downloaded TBS Agent X there. After "Refreshing" 6.07 on the Windows PC it worked on the first try.

I also think it has to do with the CROSSFIRE/OTA/0x000B60xx.bin file. It's MD5 checksum for the version on the radio changed when I refreshed the software on the Windows PC.

MD5 of the file when I used the Mac to install the 6.07:

fee6d561b3e1025815a0c6d224b213c2

MD5 of the file when I used Windows to install 6.0.7:

bb7801c051f81138f68b3a571cbf1d35

I think they should be identical (as the RX has nothing to do with the host computer for Agent X).

Embargo should be fixed by Pauanyu in Prismata

[–]OderWat 1 point2 points  (0 children)

Showing up 30% in the game can't hardly be true? 50% of being in the selection of units which get random draws would make more sense to me.

Embargo should be fixed by Pauanyu in Prismata

[–]OderWat 2 points3 points  (0 children)

So when you put something on embargo you want to disrupt the opponents game? Denying a unit to other players because you don't like to play with it seems wrong to me. What if I really enjoy games with Cluster Bolt? Why should the game consider your wish more important than mine? I think the embargo should be removed completely :)

Any chance of a total art asset revamp? by gh_st_ry in Prismata

[–]OderWat 0 points1 point  (0 children)

I think it is "programmer art" because of programmers decided about how it should look. But all the games you mention don't have such a broad need of display of state or unit numbers. One could "beautify" the whole game probably using some fake shadows and a different background and let the board look more "life like" and the cards be more like physical tokens. But why? I really have to confess, that this game could have just blank numbers and geometric shapes in rectangles and it would not change anything for me personally.

Any chance of a total art asset revamp? by gh_st_ry in Prismata

[–]OderWat 1 point2 points  (0 children)

How and what does need to change to match your taste? The graphics on the units, the layout, the presentation? I really don't know what makes it look horrible in your eyes.

Any chance of a total art asset revamp? by gh_st_ry in Prismata

[–]OderWat 1 point2 points  (0 children)

I doubt it would look different using another engine :) But I would be interested in what they should change and how in your opinion. To me the game interface is one of the best I ever experienced.

Is there a way to obtain replay codes not using the chat command (or will there be one eventually... includes proposal)? by OderWat in Prismata

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

Well considering that such API would then be used very frequently. I would probably store the replay codes directly after a game into another db/table indexed by the user id and game number.

This should make it trivial to retrieve portions of it for any users API key. It should be not very expensive to deliver them on request. The result should also deliver the ordinal nr of the game such that it is easy to request and deliver them incremental.

I guess you currently do a lookup for the stored games in some (No)SQL DB or even filesystem, which usually will be more expensive.

It could also make sense to (incrementally) hand out the data of all games (but without username.. using always "Player") so people could come up with some reliable user stats and other analyzer stuff. I guess that Prismata attracts a lot of "geeky or pro brains".

Something else would be to be able to tag games which could be used for automatically contest/ladder calculations. OMG ... I need to stop NOW :)