Remote
Posts
I swear microsoft’s model from the getgo was “sell crap so we can make money from abusing our users technical inability and need for support”.
Apple’s model isn’t much better: “assume the user is rich and dumb enough to just buy a new machine when something slightly goes wrong and force their hand so they can’t fix it themselves anyways”
Apple used to be cool with some of their early ppc macs and classic macs with right to repair and respecting the user but since steve jobs came back, imo, their company has been destined down a very bad path in terms of consumer rights.
Don’t get me started on smartphones and tablets…
Ill keep using community maintained operating systems on old reliable business machines thank you very much. That way, i’m actually treated like a human.
#RUNBSD
Open post
Replying to
@mason@partychickens.net
@mason@partychickens.net @tealeg@mastodon.online neat! i can pledge() my programs easily now!
~ $ rlwrap chicken-csi
CHICKEN
(c) 2008-2022, The CHICKEN Team
(c) 2000-2007, Felix L. Winkelmann
Version 5.4.0 (rev 1a1d1495)
openbsd-unix-clang-x86-64 [ 64bit dload ]
Type ,? for help.
#;1> (import lazy-ffi)
; loading /usr/local/lib/chicken/11/lazy-ffi.import.so ...
; loading /usr/local/lib/chicken/11/lazy-ffi.so ...
; loading /usr/local/lib/chicken/11/srfi-1.so ...
; loading /usr/local/lib/chicken/11/srfi-69.so ...
; loading /usr/local/lib/chicken/11/bind.so ...
#;2> (import chicken.memory)
; loading /usr/local/lib/chicken/11/chicken.memory.import.so ...
#;3> (begin #~"libc.so")
(libc.so)
#;4> (define null (address->pointer 0))
#;5> (define rc (#~pledge "stdio" null))
#;6> (print rc)
#
#;7> (#~printf "pledged\n")
pledged
#;8> (#~open "/etc/passwd" 0)
chicken-csi[81735]: pledge "rpath", syscall 5
rlwrap: warning: chicken-csi crashed, killed by SIGABRT.
rlwrap itself has not crashed but, for transparency,
it will now kill itself (without dumping core) with the same signal
warnings can be silenced by the --no-warnings (-n) option
zsh: abort rlwrap chicken-csi
~ $
0
1
1
0
Open post
Replying to
@izder456@fe.disroot.org
got basic gameloop handling done. users can run (start-game) and the game will track moves and captures, as well as enforce turn order. no check or check mate detection yet, this is much more complex and will be implemented later.
0
1
0
0
Open post
Replying to
@izder456@fe.disroot.org
i fixed the issue with running the binary of cl-chess when compiled with the makefile not blocking its thread which would result in an immediate exit. Also- the binary will drop you into a repl environment by default which’ll let you hack at game state. shown here also is the new move function wrapper mentioned in the previous reply
0
1
0
0
Open post
Replying to
@arosano@mastodon.bsd.cafe
@arosano@mastodon.bsd.cafe https://cvsweb.openbsd.org/checkout/src/etc/root/root.mail,v?rev=1.180
root.mail says May 19, though that’s subject to change. ( I am not an authority on the subject, this is just what I can see. )
0
1
0
0
Open post
Replying to
@izder456@fe.disroot.org
Update:
WIP REPL hacking support by way of putting the main gameloop in a sb-thread to be non-blocking of the REPL prompt. This recording is old, but i had also added an easier wrapper to move-piece that is intended for use in the REPL
0
1
0
0
Open post
i've recently picked up an old #lisp project of mine which is a graphical chess engine in common lisp using pure opengl and sdl2.
https://codeberg.org/Izder456/cl-chess/
the reason i chose cl for it is the parsing capabilities would be really handy in parsing chess.com or similar playback files and translating them to an animated gameplay simulation
I hate opengl. So many footguns.
Screenshot of the engine as it is right now
https://codeberg.org/Izder456/cl-chess/
the reason i chose cl for it is the parsing capabilities would be really handy in parsing chess.com or similar playback files and translating them to an animated gameplay simulation
I hate opengl. So many footguns.
Screenshot of the engine as it is right now
0
2
0
0
Open post
Replying to
@darth@silversword.online
@darth@silversword.online I’ve been daily driving OpenBSD on a desktop, various laptops, and a few headless sbc server-like devices for the past 3 years.
0
0
0
0
Open post
Replying to
on mastodon.bsd.cafe
@lw@mastodon.bsd.cafe I don't think you can do it with route, as the stacks are quite separated. But- the af-to keyword in pf.conf might be what you're looking for.
0
0
0
0
Open post
topgrade 60.91s user 95.21s system 16% cpu 15:32.98 total
doing a distributed update with topgrade across a fleet of about 15 different network appliances, random sbcs, and vms on my home network only took around 15 minutes. thats on average, 1 minute per system. i don’t even have fast internet, (100mbit), maybe the mirrors were just forgiving tonight
0
0
0
0
Open post
What led up to my switch to #openbsd?
I was fucking around with linux distros among other unixen in libvirt and qemu-kvm on my gentoo box to avoid distrohopping cos i was starting to get frustrated with the linux ecosystem and community chaos. Eventually i installed openbsd in a vm and really liked it. Nuked my gentoo install with openbsd and went full send. Never looked back. though occasionally ill dick around with weird niche poweruser linux distros when bored on spare hardware.
0
0
0
0
Remote instance
fe.disroot.org
Open on original server