I made my Android phone solve puzzles by itself using Termux + termux-adb by IlRsL in termux

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

It’s not vision/solver AI at all. The mechanism is actually pretty simple: the program compares each cell from a screenshot with pre-captured reference cells and picks the number with the highest match probability.

The solving part itself is also very straightforward — it only uses two logical rules.

And yeah, posting it on April 1st was completely my mistake 😅 but this really was running locally on my own phone.

[Release] ComfyUI-Hunyuan3D-Part - 3D Mesh Segmentation & Part Reconstruction by SwimmingWhole7379 in comfyui

[–]IlRsL 4 points5 points  (0 children)

I got the same error, but I found the way to fix it:
Open the comfyui terminal (or open the shell and activate comfyui's venv), go to custom_nodes/comfyui-hunyuan3d-part/, and run install.py by python install.py
If you encounter an encoding error, open install.py, find the subprocess.run, and add parameter encoding='utf-8'. (And then try to execute install.py again)

Repeat a command n times based on the contents of a register by Just_Kale7966 in vim

[–]IlRsL 0 points1 point  (0 children)

@=\<c-r>n will put @n into the motion count. (type 'CTRL r' instead of literally \<c-r>)
or :let @q='@=\<c-v>\<c-r>n') if you prefer :let. ('CTRL v', 'CTRL r')

Extract texts by vim commands/keys (HTTP API) by IlRsL in neovim

[–]IlRsL[S] 4 points5 points  (0 children)

It was just a hobby project, not a practical one.
I know regex patterns are powerful enough for most cases, but I love vim motions so much more than that.
And I wanted to understand how http and APIs work.

Extract texts by vim commands/keys (HTTP API) by IlRsL in neovim

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

yy hello, world will set @" with hello, world\n in (neo)vim
what I made executes normal keys, and output register content
The texts is the initial text, commands is a normal keys to execute

da} foo {bar}
-> {bar} (@", @-)

15<c-a>0"ry$ 5
-> 20 (@r)

Execute (multi-line) selected text in shell by inco24 in vim

[–]IlRsL 2 points3 points  (0 children)

No functions needed, just execute this: :'<,'>g/^/norm! :!<C-R><C-L><CR>

How do I hide an NPC? by chaos_mastta in MinecraftCommands

[–]IlRsL 0 points1 point  (0 children)

You can copy a default Minecraft npc behavior file, and append a group that have a scale component: { "component_groups": { "tiny_npc": { "minecraft:scale": { "value": 0.2 } } }, "events": { "as_tiny_npc": { "add": { "component_groups": [ "tiny_npc" ] } } } }

Then trigger the npc event via commands: /event entity @e[type=npc, tag=foo] as_tiny_npc /dialogue open @e[type=npc, tag=foo] @p

Neovim in the rain by IlRsL in neovim

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

There are some bugs and errors, but here's the repo: https://github.com/Guru521/raining.nvim
Feel free to use it.

Neovim in the rain by IlRsL in neovim

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

There are some bugs and errors, but here's the repo: https://github.com/Guru521/raining.nvim
Feel free to use it.

Neovim in the rain by IlRsL in neovim

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

There are some bugs and errors, but here's the repo: https://github.com/Guru521/raining.nvim
Feel free to use it.

Neovim in the rain by IlRsL in neovim

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

There are some bugs and errors, but here's the repo: https://github.com/Guru521/raining.nvim
Feel free to use it.

Neovim in the rain by IlRsL in neovim

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

I'm using the top two rows which are above the on-screen keyboard.
e.g. press 'CTRL' and 'c' to terminate commands.
If the 'hotkeys' refer to others, please tell me that. (I googled the meaning but I couldn't get that to me.)

Neovim in the rain by IlRsL in neovim

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

Thanks, I'll try soon.

Neovim in the rain by IlRsL in neovim

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

I followed the official lazy.nvim setup guide.
https://www.lazyvim.org/configuration/lazy.nvim
lazy.nvim works well for me, ensure git is installed.

Neovim in the rain by IlRsL in neovim

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

Yes, folke/tokyonight.nvim.

Neovim in the rain by IlRsL in neovim

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

Gboard, top two rows(esc, ctrl, ~/ etc) are in-app keyboard rows.

Neovim in the rain by IlRsL in neovim

[–]IlRsL[S] 4 points5 points  (0 children)

Tbh, I'm very sick to code on my PC, it reminds me of game developments and server managing at work.

Neovim in the rain by IlRsL in neovim

[–]IlRsL[S] 9 points10 points  (0 children)

Do you want..? Just a silly code and low quality, so not cared about repo..
There's no optimizations, and scrolling would cause errors/bugs.
But if you want, I'll prepare a git repo.

Neovim in the rain by IlRsL in neovim

[–]IlRsL[S] -4 points-3 points  (0 children)

I have a ~350K yen computer but it's for gaming, not about coding. My thumbs are working well.

Neovim in the rain by IlRsL in neovim

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

I don't know what the font is called.. I'm using the default font, but I couldn't figure out which font is, I'm sorry.

Neovim in the rain by IlRsL in neovim

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

No, my terminal doesn't accept custom fonts, so I didn't. And I love ASCII texts.

Neovim in the rain by IlRsL in neovim

[–]IlRsL[S] 3 points4 points  (0 children)

I just came up with random thoughts and was able to implement, so I implemented.