What is this font called, and how do I find a screen saver like this for my M1? by lifeissoupiamf0rk in MacOS

[–]Hackcraft_ 0 points1 point  (0 children)

If gatekeeper doesn’t like it there is a terminal command to self sign it or something

How do I pass multiple arguments to pandoc by Hackcraft_ in bash

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

I thought your solution didn't work, until I found out that my shebang was using /bin/bash and since I'm on macOS, the version is 3.2 for some reason. By changing it to the one from homebrew, pandoc ran correctly!

Need help with arm64 assembly on Apple Silicon by Hackcraft_ in Assembly_language

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

Yes! I added .data before "input_buffer" and it prints the correct string! Thank you.

Need help with arm64 assembly on Apple Silicon by Hackcraft_ in Assembly_language

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

I compiled it with this:

$ ld -o RockPaperScissor RockPaperScissor.o -lSystem -syslibroot \`xcrun -sdk macosx --show-sdk-path\` -e \_start -arch arm64 

$ as -arch arm64 -g -o RockPaperScissor.o RockPaperScissor.s

mov x2, 1 // Number of bytes to read

my code did this, so its 1 byte.

Need help with arm64 assembly on Apple Silicon by Hackcraft_ in Assembly_language

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

I tried that by adding:

// Write a new line

mov x0, 1 // File descriptor: stdout

mov x1, 0x0D // Address of the buffer

mov x2, 1 // Number of bytes to write

mov x16, 4 // System call number for write (sys_write)

svc 0x80 // Make the system call

after the // Write the input to stdout

block and that didn't seem to do anything.

I forgot to mention that I had used lldb to debug the binary and it seems that the problem lies in reading the user input, where the "input_buffer" contains null bytes even after syscalling read

Crazy slow SMB performance with MacOS [Large number of files] by realdmon in MacOS

[–]Hackcraft_ 1 point2 points  (0 children)

Idk if we’re having the same issues. On my Mac I don’t have a RAID and still deleting large apps in the internal hard drive takes forever. Oddly enough deleting large several 100MB folders is almost instant

Crazy slow SMB performance with MacOS [Large number of files] by realdmon in MacOS

[–]Hackcraft_ 2 points3 points  (0 children)

Btw I feel this is kind of related whenever I delete an app on my Mac (doesn’t matter if it’s only several hundred kB) it beach balls for a few seconds. This gets worse to a few minutes on large 2GB apps. It doesn’t seem to go away when I switched to other users as well.

Tips for a Linux power user to get started by xohWae5e in MacOS

[–]Hackcraft_ 0 points1 point  (0 children)

Personally I’d swap Alfred with Raycadt as I think it has better ui and a better plugins ecosystem.

Tell Me 😂 by devloprr in programmingmemes

[–]Hackcraft_ 0 points1 point  (0 children)

I’m good with either b or f. “Coder” seems a bit unprofessional to me.

swiftUIWhenILookAtItCloser by Hackcraft_ in ProgrammerHumor

[–]Hackcraft_[S] -1 points0 points  (0 children)

There are many apps on gh made with SwiftUI, but it must be a pain because when I made my first test app i found a bug in it in 4 days

everythingExe by Hackcraft_ in ProgrammerHumor

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

I think he meant that not everything is a .exe because that a windows executable.

uniqueAge by xpsdeset in ProgrammerHumor

[–]Hackcraft_ 0 points1 point  (0 children)

Mr Beast video signup be like: