arisuchan.xyz arisu
[ tech / cult / art ]   [ λ / Δ ]   [ psy ]   [ random ]   [ meta ]   [ all ]   [ irc ]   [ radio ]
[ tech / cult / art ] [ λ / Δ ] [ psy ] [ r ] [ q ] [ all ]
Arisu Theme Lain Theme


all - recent posts


/q/

File: 1706986235103.png (971.93 KB, 2491x1643, arisuchan2.png)

 No.2[Reply]

i used to love arisuchan and was upset it died so i made my own

feel free to post here with comments/questions or reach out to me directly at irc.0xfdb.xyz #main

>> i removed reCAPTCHA and implemented a self-hosted captcha solution instead


im planning on keeping this place running for a very long time (I have a job and can afford to pay for it many times over)

don't post anything illegal

t.hanks
21 posts and 4 image replies omitted. Click reply to view.

 No.35

File: 1740861119404.jpg (81.67 KB, 1280x960, DSC0745.JPG)

>>2
I still got the sticker on my laptop



/cult/

File: 1706887994353.jpg (165.49 KB, 600x600, R-315667-1178417406.jpg)

 No.1[Reply]

First post, best post
https://www.youtube.com/watch?v=fZlNt05dCX8

(THIS IS NOW A MUSIC THREAD)

3 posts and 2 image replies omitted. Click reply to view.

 No.14

https://aandtyr.bandcamp.com/track/soviet-abiogenesis-1972-2
Soviet Abiogenesis 1972 by space cadet
It has an interesting mood to it, but can also get a bit annoying

https://www.youtube.com/@djwaseijp
JJ Is always quite nice to listen to, he does a VRChat disco these days, which is often quite nice to visit.

https://www.youtube.com/watch?v=5MNAFvOXcHA
m3098 - error code 0x000000
Nice electronic song.

https://www.youtube.com/watch?v=viRZn4DAB94
Herbst in Peking - Bakschischrepublik
rock song from the 90s collapse period

Post too long. Click here to view the full text.

 No.15

File: 1734329748686.png (187.19 KB, 735x740, screenshot_2024-12-16_01-2….png)

jamming out to this right now
https://youtu.be/6rLHpmh8z8g

 No.17

File: 1735303175618.jpg (256.96 KB, 1290x700, 2019628349.jpg)


 No.22

File: 1740269927673.jpg (236.81 KB, 1200x1200, a4132738070_10.jpg)

kinda weird to post yt*be on a place like this, but i'm not sure there's much better out there anymore

anyway, enjoy this rerelease
https://satoshisuzuki.bandcamp.com/album/distant-travel-companion

 No.23

File: 1740270539047.jpg (45.21 KB, 700x700, a3273899766_16.jpg)

and yes, i know about yt*be-local

https://samgendel.bandcamp.com/album/blueblue



/q/

File: 1733374548503.jpg (58.28 KB, 720x781, 8fe5c20bee20d4e9ef226a5d79….jpg)

 No.12[Reply]

in celebration of christmas the site will have comfy snow and beautiful christmas music for the entire month of december

please enjoy
2 posts omitted. Click reply to view.

 No.34

>>23
christmas usually lasts until jan 5



/art/

File: 1739662074278.jpg (154.89 KB, 500x665, Gi3jO1QWQAACFiD.jpg)

 No.22[Reply]

Post your random cool. Mood thread here

 No.23

File: 1739662209796.jpg (169.26 KB, 500x700, Gi3jO1NXkAEhkbz.jpg)

Follow up.



/λ/

File: 1732336800903-0.png (130.2 KB, 717x976, Capture d’écran du 2024-11….png)

File: 1732336800903-1.png (76.96 KB, 717x599, Capture d’écran du 2024-11….png)

 No.1[Reply]

Glad to see this place back online! Been far too long.
Let's start this board back up with a code review; you show some code you wrote and other brutally tear it to shreds for fun.

Mine is some code I wrote a month or two ago to make my own version of cat(1) that just prints one text file to stdout. I figured it would be a good thing to write before I started some college classes about C.

I also called it p after an old video of Brian Kernighan demonstrating unix pipes and he used a homonymous program to print a file to stdout before using some text processing on it.

Let's all love lain!

 No.11

being that lainchan has nice syntax highlighting for code i modified our vichan instance to support highlighting as well

for example, if you type:

[code php]
some php code…
[/code]

then it renders like this:

	// Fix code markup
	if ($config['markup_code']) {
		foreach ($code_markup as $id => $val) {
			$code = isset($val[2]) ? $val[2] : $val[1];
			$code_lang = isset($val[2]) ? $val[1] : "";

			//$code = "<pre class='code lang-$code_lang'>".str_replace(array("\n","\t"), array("
","	"), htmlspecialchars($code))."</pre>";
			$code = "<pre style='max-width:90em!important';><code class='language-$code_lang'>".str_replace(array("\n","\t"), array("
","	"), htmlspecialchars($code))."</code></pre>";

			$body = str_replace("<code $id>", $code, $body);
		}
	}

if you dont include the language in the code tag highlight.js will try to guess (it doesn't guess perfectly every time but eh)

>that snippet happens to include the change i made in vichans functions.php to enable highlighting with highlight.js and add a scrollbar for code that overflows a posts body


also vichan stripped the <> characters from my code snippet and i dont feel like finding where to disable that after hacking this shit together, feel good though i fixed up a handful of things on the site today just for shits

 No.13

I can't program…. except in x86 but that was years ago and I was never good at it.

 No.15

File: 1736837731241-0.png (31.45 KB, 630x357, 2025-01-14_00-59.png)

File: 1736837731241-1.png (40.16 KB, 590x466, 2025-01-14_01-00.png)

i rarely ever write code by myself nowadays since LLM's came out

just had ChatGPT spit this out for me and figured someone else may find it useful

it runs a short SMART test on all your ZPOOL's disks and sends you an email about any disks that fail SMART checks
set it to run with cron for automated tests/reporting

it requires smartctl and msmtp (and that msmtp is configured to send mail properly)

edit the EMAIL and ZPOOL_NAME variables to match your setup

>the log file output is a bit ugly, but i dont really need logs for this so eh



#!/bin/bash

# Email configuration
EMAIL="[email protected]"  # Your email address
SUBJECT="SMART Errors on $(hostname)"
LOGFILE="/tmp/smartcheck.log"
TMP_EMAIL="/tmp/smart_email.txt"
FAILED_DRIVES=()

# Dynamically retrieve drives from ZFS pool
ZPOOL_NAME="dozer"  # Replace with your ZFS pool name
DRIVES=($(zpool status "$ZPOOL_NAME" | grep -E '^\s+(scsi|ata)-' | awk '{print $1}'))

# Clear previous log
> "$LOGFILE"

echo "SMART check started..."

# Initiate and check each drive
for DRIVE in "${DRIVES[@]}"; do
    DEVICE="/dev/disk/by-id/$DRIVE"

    # Output progress
    echo "$DEVICE - in progress"
    echo "Initiating short SMART test for $DEVICE..." >> "$LOGFILE"
    smartctl -t short "$DEVICE" >> "$LOGFILE" 2>&1

    #echo "Waiting for test to complete for $DEVICE..."
    while true; do
        TEST_STATUS=$(smartctl -a "$DEVICE" | grep '^# 1 ' | awk '{print $5}')
        #echo $TEST_STATUS
        if [[ "$TEST_STATUS" == "Completed" ]] || [[ "$TEST_STATUS" == "Failed" ]]; then
            break
        fi
        #echo "Test in progress for $DEVICE..."
        sleep 10
    done

    echo "Checking results for $DEVICE..." >> "$LOGFILE"
    SMART_OUTPUT=$(smartctl -H "$DEVICE" 2>&1)
    echo "$SMART_OUTPUT" >> "$LOGFILE"

    # Output progress
    echo "$DEVICE - done"

    # Check for errors in the test results
    if echo "$SMART_OUTPUT" | grep -qiE "FAILED|impending|critical|failure"; then
        ERROR_LINE=$(echo "$SMART_OUTPUT" | grep -iE "Health Status:.*|FAILED|impending|critical|failure")
        FAILED_DRIVES+=("$DEVICE: $ERRO
Post too long. Click here to view the full text.

 No.16

File: 1736845678682.jpg (39.81 KB, 500x500, qu9tv.jpg)

ok, i finally figured out what was going on with the stripping/replacing of certain characters within code tags

i had to make this change in functions.php:

before
$code = "<pre style='max-width:90em!important';><code class='language-$code_lang'>".str_replace(array("\n","\t"), array("&#10;","&#9;"), htmlspecialchars($code))."</code></pre>";

after
$code = "<pre style='max-width:90em!important';><code class='language-$code_lang'>".str_replace(array("\n","\t"), array("&#10;","&#9;"), $code)."</code></pre>";


funny enough thats the same line i changed to enable highlighting but my dumb ass did not consider what htmlspecialchars() was doing

previously, code blocks within a posts body had HTML characters double-escaped
HTML renders escaped characters back into their original non-escaped form, but not double-escaped characters

now that those characters are only escaped once, code in code tags wont have any replaced characters (after your browser renders them)

>i also changed max_body from 1800 to 5800 so you can make much longer posts now



/cult/

File: 1736475266144.png (569.67 KB, 964x677, image.png)

 No.18[Reply]

what anime is this frame from

 No.19

Serial Experiments Lain

 No.20

File: 1736691583832.png (1.83 KB, 303x243, 1406976585488.png)

Alice Mizuki from SEL. Hence Arisuchan.



/art/

File: 1736476199661.png (141.11 KB, 1920x1080, gaming.png)

 No.15[Reply]

i *could* just look it up…. but you people seem nice and i want to hear from you!! :)
1 post omitted. Click reply to view.

 No.17

File: 1736533327155.jpeg (52.36 KB, 828x745, EgnGm0IXYAAP7VV.jpeg)

You could probably use the more-popular ICECAST project to stream audio over HTTP.
I'd wager the vast majority of Internet radio stations either use IceCast or SHOUTCast serverside.
To compare the two: IceCast is FOSS and probably more featureful as far as customization is concerned.
Here's an FAQ page for setup: https://icecast.org/faq/
As for 0xfdb radio, it operates using a convoluted "duct-tapped" combination of ncmpcpp+mpd. MPD does offer http streaming ootb, even if it is a little ghetto. NCMPCPP then acts as the mpd client which allows you to configure playlists, switch/queue tracks on the fly, etc. This is all done via TUI in your shell, probably isolated and running in a tmux/screen pane, and thus resource usage is relatively minimal.
Hope that gives you at least a little bit to chew on!

 No.18

>>15
HOLY SHIT i have no idea WHAT THE FUCK im doing.

BASICALLY: I found an archive of arisuchan while hunting for torrent music which eventually led me here and i decided 'hmmm.. i should become a codefag…' BUT the only experience ive had coding is highschool level html shit.

TLDR: what do

 No.19

>>17
i pressed the wrong button meant to press 15 instead of 15 hahahhah

 No.20

>>19
*17 instead of 15

 No.21

File: 1736689156752.png (486.93 KB, 768x576, confused_lain.png)




/cult/

File: 1734849226208.jpg (475.51 KB, 2827x1608, world-of-warcraft-vanilla-….jpg)

 No.16[Reply]

good buddy prllx from IRC is now running a World of Warcraft server and agreed to let me advertise it here for him

he needs more users!

more info including registration can be found at his site:
https://wow.obscura.systems/

you can download a WoW client to use his server from here:
https://www.chromiecraft.com/en/downloads/

happy gayming


/art/

File: 1707081657168.jpg (2.3 MB, 2000x3000, 1.jpg)

 No.1[Reply]

…I had to.
3 posts and 3 image replies omitted. Click reply to view.

 No.5

File: 1707083876783.jpg (255.33 KB, 1000x1833, 5.jpg)


 No.6

File: 1707083934164.jpg (178.75 KB, 1244x1586, 6.jpg)


 No.7

File: 1707083986639.jpeg (20.93 KB, 500x281, sen.jpeg)

dont forget best girl

also fyi you can upload up to 5 images per post and 10MB total post size

 No.9

File: 1732497918601.jpg (943.27 KB, 2048x2048, 124478148_p0.jpg)

i like this girl

 No.10

File: 1732587970038.jpg (52.78 KB, 400x400, 1681602156263794.jpg)

glasses can be used to harness the power of the sun to cook food



/cult/

File: 1724042573780.jpg (86.31 KB, 1038x778, 2ATHYW0-1038x778.jpg)

 No.10[Reply]

Post here about movies, cyberpunk or otherwise.

 No.11

some cyberpunk/cyberpunk-adjacent stuff:

Restore Point (2023)
https://www.imdb.com/title/tt9362492/
(trailer for this isnt on IMDB for some reason https://youtu.be/vN8036XvJlI)
Set in central Europe during 2041, a female detective investigates the case of a murdered couple where a restoration team is able to bring one of them back to life.
>(a cool European-take on the modern cyberpunk genre)

Casshern (2004)
https://www.imdb.com/title/tt0405821/
Live-action sci-fi movie based on a 1973 Japanese animé of the same name (Shinzo Ningen Casshân). Theme song by Utada Hikaru.
>(PS2-era graphics, awesome soundtrack, incomprehensible vibes)

Kontroll (2003)
https://www.imdb.com/title/tt0373981/
Post too long. Click here to view the full text.

 No.13

File: 1732296793800.jpg (42.76 KB, 500x339, 1538997732_d2a1ac3e96-9747….jpg)

Shozin Fukui's films are essential cyberpunk along with Shinya Tsukomoto's Tetsuo. Classic Japanese cyberpunk.

Tetsuo
https://archive.org/details/tetsuo-the-iron-man
A salaryman awakes to finds bits of metal a silicon sprouting from his body while he is haunted by dreams of machine orientated sexual fantasies.

Pinocchio 964
https://archive.org/details/964-pinocchio-full-english-subtitles
A lobotomized cyborg sex slave is dumped on the streets by his owner after he fails to get erect. An underground gang scramble to get him back while he finds companionship with another stray homeless cyborg who had her memory wiped.

Rubber's Lover
https://archive.org/details/rubbers.-lover.-1996.-dvdrip (warning no subtitles)
A sequel to Pinocchio 964 .

Caterpillar
Post too long. Click here to view the full text.



Delete Post [ ]
Report Post          
| Catalog
[ tech / cult / art ] [ λ / Δ ] [ psy ] [ r ] [ q ] [ all ]