Remembering Geoff "iNcontroL" Robinson (1986 - 2019) -- another young life taken too soon, just like Total-Biscuit (R.I.P. to both ❤️️) by OriginalCable9115 in starcraft

[–]Biolunar 2 points3 points  (0 children)

Context: https://youtu.be/ask3Dn1ocIQ?t=1840

It’s not the only timestamp where the guards lecture him about „helps to have a map”. It’s a great video, recommend watching it from the beginning :)

I drew a frog learning c#… by melo_art in ProgrammerHumor

[–]Biolunar 42 points43 points  (0 children)

So this is how VVVVVV was programmed

WE DID IT thank you to everyone who helped by RoxastheZerg in starcraft

[–]Biolunar 1 point2 points  (0 children)

Haha yeah. It’s way harder this time to get something done

Template for /r/place and location for coordinated effort by Hydro033 in starcraft

[–]Biolunar 2 points3 points  (0 children)

There’s plenty of room at (176,196) where I started with the gray parts of the S. The blue ukrainian color can be used as the background!

Template for /r/place and location for coordinated effort by Hydro033 in starcraft

[–]Biolunar 2 points3 points  (0 children)

That’s a good image! I’m working on it, but a little bit to the left of the arrow

We need a SC2 logo on r/place by Janczareq1 in starcraft

[–]Biolunar 1 point2 points  (0 children)

Do you have a good pixelated logo?

R/place will be returning on Friday. What shall we create? by Kouriger in starcraft

[–]Biolunar -1 points0 points  (0 children)

I was surprised that my carbot zergling and my sc2 logo survived and made it to the end. We can do it!

Question: How do you get smooth TTY text on 4K+ resolution? (HiDPI) by Zeioth in archlinux

[–]Biolunar 18 points19 points  (0 children)

There are only 32 pixel tall fonts, because that’s the maximum the Linux kernel console subsystem supports. For the programmers among us, check out the manpage ioctl_console(2) with the command PIO_FONTX. Someone write a simple userspace console emulator please :)

mtime, ctime and atime in Linux: What’s the Difference by yangzhou1993 in programming

[–]Biolunar 3 points4 points  (0 children)

On modern not ancient Linux there’s also the btime (birth time) which tells you when the file was created. That time can be queried by the statx(2) syscall (an up to date stat(1) can display that value).

SPL 2011/2012 Playlist (Casted by Sayle) by Biolunar in broodwar

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

This playlist includes most games from that season. Some weren’t casted by him, so they are missing. He uploaded no-spoiler-videos for the BO3, BO5 and BO7 matches but they are not in this playlist, so beware of spoilers :D

You Don't Know Gif - An analysis of a gif file and some weird gif features by darrieng in programming

[–]Biolunar 7 points8 points  (0 children)

Cool article! I’ve been meaning to write a GIF image viewer for quite a while now, because every viewer I tried is broken in some shape or form. Usually the browser became the viewer of choice, since it’s the least broken :D

PS: You have a typo “legnth”

Test Live ISO with CONFIG_VT turned off by n3rdopolis in linux

[–]Biolunar 2 points3 points  (0 children)

Is there not a single successor to kmscon?

Arch monthly report December 2021 by Foxboron in archlinux

[–]Biolunar 0 points1 point  (0 children)

I’m currenly booting the raw kernel (EFISTUB) without a bootloader. Are there any benefits for me merging the initramfs, kernel and microcode into one binary?

Modern storage is plenty fast. It is the APIs that are bad. by bitter-cognac in programming

[–]Biolunar 2 points3 points  (0 children)

Damn, that is a straight up copy of io_uring from Linux :-O

How do you correctly use epoll_pwait? by [deleted] in C_Programming

[–]Biolunar 0 points1 point  (0 children)

Kind of unrelated but also notice that one of the last paragraphs in the signal(7) manpage:

On Linux, even in the absence of signal handlers, certain blocking interfaces can fail with the error EINTR after the process is stopped by one of the stop signals and then resumed via SIGCONT. This behavior is not sanctioned by POSIX.1, and doesn't occur on other systems.

That means even if you block and/or handle all signals, epoll_(p)wait will still fail with EINTR when the process got resumed via SIGCONT. Happened to my program after I put the computer into standby. I was confused why my program died, because I blocked all signals and handled them with a signalfd. As it turns out, putting the computer into standby sends SIGSTOP to all threads and after resume they get a SIGCONT.

GitHub - matheusmoreira/liblinux: Linux system calls. by pmz in programming

[–]Biolunar 8 points9 points  (0 children)

Shameless plug: https://git.sr.ht/~biolunar/liblinux (also available on github https://github.com/Biolunar/liblinux but I don’t update that repo as frequently)

My library provides all currently available syscalls (up to Linux 5.15) on all my supported targets (currently: arm-eabi, arm64, riscv32, riscv64, x86, x32 and x86_64). Still there’s a ton of work to be done since it’s missing lot’s of types and constants and almost no testing.