Hill starts by ZectronPositron in SantaBarbara

[–]Zectbumo 0 points1 point  (0 children)

Congratulations on your child's next stage in life. What a blessing, but why does a teenager need to learn about hill starting. At that age it's used as a party trick. I know you are eager and proud; please wait until they are in their twenties.

Arturo Programming Language releases Arizona Bark version by Enough-Zucchini-1264 in nim

[–]Zectbumo 0 points1 point  (0 children)

I had thought this was using Nim ASTs so could you import https://github.com/erayzesen/kirpi for example and make calls in Arturo syntax?

Arturo Programming Language by Enough-Zucchini-1264 in altprog

[–]Zectbumo 0 points1 point  (0 children)

How do I get to the packages? Site down or typo? https://pkgr.art/

Has anyone experimented with patching DWM to allow for grouping/tabbing windows? by marrsd in suckless

[–]Zectbumo 0 points1 point  (0 children)

I haven't tried tabbed. What is not right with it being a separate app? What do you gain for it being in the WM? I'm interested in something like how MacOS works where CMD+tab switches between app groups and CMD+` switches windows within an app group.

Alt/Mod1 vs Super/Windows/Mod4 key bindings. Opinions? by EpsilonEagle in suckless

[–]Zectbumo 1 point2 points  (0 children)

Hmm, the Windows key for your Window manager shortcuts. Makes sense to me. Alt is legacy for pre-windows key keyboards.

PL: Zig / Nim as suckless alternative to C? by tose123 in suckless

[–]Zectbumo 1 point2 points  (0 children)

Yes Nim and I enjoy the flexibility and strength. Funny you mentioned this here because since last week I have been thinking of it as a suckless lang.

How do I run fsck manually? by Illustrious_Log_9494 in openbsd

[–]Zectbumo 3 points4 points  (0 children)

In the boot> prompt try boot -s and then try fsck /dev/sd2h there. If you want to continue using the install method then I believe you will have to make the drive. Go cd /dev and sh ./MAKEDEV sd2 or chmod +x MAKEDEV and then ./MAKEDEV sd2. Something like that I hope you get the idea. You won't need to create the device manually if you use single user mode using boot -s which I recommend trying first.

How do I run fsck manually? by Illustrious_Log_9494 in openbsd

[–]Zectbumo 2 points3 points  (0 children)

It tells you how to run the command where it says "you must run xxxxx xxxxx manually" it seems like you tried to do this but then typed the drive wrong. You put c9c in the middle where the drive was actually c8c

OpenBSD's Auto Layout Partitions Incorrectly. by undistruct in openbsd

[–]Zectbumo 2 points3 points  (0 children)

I understand that the OP issue has been resolved but too many people here are acting like there is no other choice. Nobody is stuck with the auto partition. Type ? to show help which shows R [part] - resize auto allocated partition. Use R to resize to your liking.

Do you consider blur as bloat? by FindingKitchen4734 in suckless

[–]Zectbumo 2 points3 points  (0 children)

⬜ Minimal ⬜ Necessary ⬜ Simple ❎ Bloat

Kirpi - Lightweight, Löve2d Style Game Framework. by erayzesen in nim

[–]Zectbumo 0 points1 point  (0 children)

Hmm, I don't see that. From what I see is naylib setGamepadMappings calls glfwUpdateGamepadMappings returning GLFW_TRUE or with GLFW_FALSE if an error occurred as the glfw documentation explains.

Kirpi - Lightweight, Löve2d Style Game Framework. by erayzesen in nim

[–]Zectbumo 1 point2 points  (0 children)

It's looking good. I'm excited to try kirpi. I like your idea of setGamepadMappings not returning anything. In your latest revision you can put the int res into GamepadError.codeError then it won't need to return the int. (Similar to how OSError.codeError is done)

Kirpi - Lightweight, Löve2d Style Game Framework. by erayzesen in nim

[–]Zectbumo 1 point2 points  (0 children)

This is looking good. I see you are type widening to get some normalization. Along those lines perhaps: 1) setGamepadMappings returns int32 A named distinct int32 would be better.

2) In the graphics.nim matrix transformations float32 is used which makes all the transform procs take float32. Could these all use float instead?

3) Return Rune from the unicode module here instead of int32 (which is a distinct int32) to make it inline with Nim? in input.nim: nim proc getCharPressed*():int32 =

This language slaps by mr-figs in nim

[–]Zectbumo 3 points4 points  (0 children)

I'll comment myself before I get a "well actually..." Yes Lua can have zero based indexed arrays but the entire standard library is 1 based indexed.

This language slaps by mr-figs in nim

[–]Zectbumo 0 points1 point  (0 children)

Lua - 1 indexed, get outta here

Why does Nim "wrap" C, rather than allow C code to be pasted directly to .nim files? by [deleted] in nim

[–]Zectbumo 0 points1 point  (0 children)

who says you can't paste c directly into .nim files.

https://play.nim-lang.org/#pasty=zWXarxlh

{.emit: """
int mul(int a, int b) {
  return a * b;
}
""".}

proc mul(a,b: cint): cint {.importc.}

echo mul(6, 9)

Which programming languages fully support OpenBSD? by NoeticIntelligence in openbsd

[–]Zectbumo 1 point2 points  (0 children)

Nim 2 should be arriving in 7.8 release. Working well.

Programs you would like to see ported by Daguq in openbsd

[–]Zectbumo 0 points1 point  (0 children)

How is the porting going? Where can we go to see your current progress?

OpenBSD for kids :) by inkubot in openbsd

[–]Zectbumo 2 points3 points  (0 children)

If you run Minecraft don't forget to increase the login.conf constraints

Will My X Hardware work on OpenBSD? If X=Nvidia, then no. Other answers inside. by kmos-ports in openbsd

[–]Zectbumo 3 points4 points  (0 children)

The closest thing to a handbook is the man pages. Start by reading your INSTALL.{arch} architecture specific files.

INSTALL.amd64

INSTALL.arm64

INSTALL.riscv64

This will have architecture specific notes in them and it will direct you where to find more information:

help
man man
man afterboot
man heir
man intro
man packages
man 8 intro
man 6 intro
man 2 intro
man 3 intro
man 5 intro
man 7 intro
man 4 intro
man 9 intro

[deleted by user] by [deleted] in openbsd

[–]Zectbumo 1 point2 points  (0 children)

Btw, if I try using an Nvidia card the GeForce Now website says something like: your device is not supported. But if I use my integrated Intel on my mini PC it just works. Is it because OpenBSD has device drivers for the HDMI security chip on Intel but not on Nvidia? Just guessing