Technology & Programming @ 4-ch

Technology & Programming @ 4-ch

Technology, computers and gadgets are the point of discussion.
  • Do you have a small issue or question? Then post it in the Single questions & Help thread instead of making a new thread, otherwise it might get deleted.
  • Don't forget to provide a link (if applicable) to any relative articles.
  • Keep discussion of programming and code over at the Programming discussion board.
Rules · 規則
基本的には英語の使用を強く希望します。ただ日本語板の場合は日本語か英語。
Board look: Amber Blue Moon Buun Channel4 Futaba Headline Mercury Mittens Pseud0ch Tanasinn Toothpaste

[CHAT] Fuck Discord! Matrix FTW! (14)

1 Name: Anonymous Techie : 2021-09-24 07:17 ID:bSKKF4mb

https://tanasinn.vip/doku.php/matrix

IRC is cool and all but it's 2021. Fork in the road:
Discord OR Matrix.

We currently don't have a proper Matrix server of our own yet, but that doesn't matter because you can just join whatever server you want and then connect to channels, or make channels to share with others. Matrix is like IRC -- channel based, channels are atoms, the admin "owns" their own channel to some degree -- users are free to create new channels, and unlike IRC, permissions management is simple AND real end-to-end encryption is possible.

Unlike Discord, where the "channel group" is created first and then contains its exclusive channels within it (with a shared power structure), Matrix users can also freely create "channel groups" for relevant channels, for private use or social use, to help organize similar channels by concept or intention. This radical inversion of the paradigm is naturally more in line with VIP values and return a more natural, bottom-up sense of vision to this space that corporate entities seek to seize and exploit to maladaptive ends.

Post too long. Click to view the whole post or the thread page.

5 Name: Anonymous Techie : 2021-11-07 17:12 ID:yn1YbQw4

>>4
There are like 3 active users of #4-ch IRC and easily 10 or 15 VIPPER on the VIPPER Matrix. What is IRC "best for"? Clearly, it's not best for our community; Discord has even more people. Even if IRC is best, it's clear that's not where people are going. Better off on Matrix than Discord though.

6 Name: Anonymous Techie : 2022-02-04 18:13 ID:5SVwIGW3

>>4

>pming nickserv to sign up & sign in

IRC has always been shit

7 Name: Anonymous Techie : 2022-02-23 08:27 ID:Heaven

XMPP/Jabber is better.

>>5
The same reason there are more users on Windows despite Linux being the obviously better solution. If you use popularity as a metric, just stick with Discord.

8 Name: Anonymous Techie : 2022-02-24 22:56 ID:Heaven

>linux
>better

the only way it can get better is if windows devs completely shit themselves. And looking at windows 8 and 10, this is exactly what's happening. Doesn't make linux any good, all it means is that you have two shitty oses now.

9 Name: Anonymous Techie : 2022-02-28 03:23 ID:Heaven

who are you quoting?

10 Name: Anonymous Techie : 2022-02-28 05:27 ID:Heaven

11 Name: Anonymous Techie : 2022-03-09 09:16 ID:Heaven

Matrix sucks. Server program written in Python with a very long configuration file. Every message sent is stored on server (like Discord). All Matrix clients suck, "flagship" client is an attempt to copy as much as Discord in a fast unstable way so there are bugs all over.
Slow as hell and most of the communities are just developer rooms. The "normal" ones are usually dead and when it is active its like being in a Discord chatroom. They advocate privacy yet censor creating or searching roms such as "porn" or "neet".
They claim to be the email of instant messaging yet you can't even set up a bridge to Discord/Slack/whatever from the app. You have to setup a Discord/Slack account and install more (nodejs/python) crap that may or may not work.

Yeah great instant messenger. Just use XMPP/Jabber or IRC.
At least it is actually stable and works properly.

12 Name: Anonymous Techie : 2022-07-30 11:36 ID:4p1zNzG5

>>11
I own and run #neets:matrix.org ; how censored is it really?

I agree that skipping on matrix.org is a good idea; just like how people interested in fediverse shouldn't use mastodon.org .

Also agree that there's a need for Matrix clients that aren't Element, but it works well enough when compared with Slack and Discord. It's no XMPP but it's also not trying to be XMPP.

>>11,7,4
why not come join the VIPPER xmpp room...
xmpp:saovq@conference.omaera.org?join

13 Post deleted.

14 Name: Anonymous Techie : 2022-09-24 22:53 ID:VVGXNTde

There is only IRC.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

How do i install Kareha (2)

1 Name: Anonymous Techie : 2022-09-23 00:00 ID:PKB+gPqs

Can someone teach me how to install Kareha?

2 Name: Anonymous Techie : 2022-09-23 07:14 ID:Heaven

Have you ever made a website? I would recommend starting with https://heliohost.org/ and just making a few static pages with basic html first, just to get a feel for it.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

Javascript and webdev (30)

1 Name: Anonymous Techie : 2021-11-18 16:58 ID:Heaven

I heard it's called "frontend". As opposed to "backend", everything that happens on the server side. But feel free to discuss both.

21 Name: Anonymous Techie : 2022-06-29 13:27 ID:yuhXqMz8

>>20 Typescript is probably closer to traditional JS and is good if you use an IDE like VS Code. I haven't used Coffeescript often however it seems more focused on code formatting, styling and clarity rather than Typescript's focus on safety. If you plan to use it as an intermediate language before moving on to some other project, it's probably not worth learning the intricacies of typescript (but I use it daily, so ymmv)

22 Name: Anonymous Techie : 2022-06-30 18:31 ID:Heaven

Apparently you can't install violentmonkey on android version of firefox. One webpage says you can use kiwi browser instead, but it says something about ads upon installing, I worry about using a browser like that.

23 Name: Anonymous Techie : 2022-09-05 22:27 ID:Jn7MlE0w

Mr. 4-ch Refresher Userscript
It took almost 3 months, but it finally happened

>//this will break only if there are two threads added at once, and you merge them from an other tab. Quite unlikely
>alert("two or more threads at once, oh no")

Of course solved it myself by clearing values.

24 Name: Anonymous Techie : 2022-09-06 19:12 ID:Jn7MlE0w

var cleaner_threads = document.createElement("style");
cleaner_threads.setAttribute("id", "cleaner_threads");
cleaner_threads.innerHTML = " \n \
#threadlist { \n \
overflow-y: hidden; \n \
max-height: 194px; \n \
} \n \
#threadlist span { \n \
display:block; \n \
}";
document.head.appendChild(cleaner_threads);

Quick and dirty styling, probably ES5 compatible.
Maybe some adjustment needed for different computers, just shows top 10 threads threadlist on top of board in a more readable format line by line, if need more threads can click all threads instead. Easy to add more style of course if wanted without using a styling extension.

25 Name: avirus!!R+bqpdPt : 2022-09-14 05:58 ID:Heaven

Yeah, 4-ch Refresher breaks whenever a thread gets moved to a different board or something like that. I plan to rewrite the entire thing, one day I'll get down to it, meanwhile I'll post the latest version I have.

https://files.catbox.moe/knocey.txt

Changes:

  • Text box no longer expands as you click on it, but expands as you add newlines.
  • Sage gets autofilled.
  • Maybe something else

TODO:

  • Use json instead of that custom "join lines together" code for saving data.
Post too long. Click to view the whole post or the thread page.

26 Name: Anonymous Techie : 2022-09-20 01:36 ID:Jn7MlE0w

Uncaught ReferenceError: boards is not defined  -- 689  fetch.textContent = "[fetching(" + fetching + "/" + boards.length + ")]"

Problem after upgrade with fetching. Looking at rest of code I assume meant to be boards_list and not boards. Testing if sync works with this post.

>Disable captcha. Disable the god damn captcha. That's not something I can do though.

It's doable with tensorflow and a trained model in tampermonkey, but I think it's a bad idea to make publicly available.

27 Name: Anonymous Techie : 2022-09-20 12:55 ID:Heaven

oh, thank you, it was bugging me for a while. Need to find time to rewrite the entire thing one day.

28 Name: Anonymous Techie : 2022-09-21 20:36 ID:Heaven

Autosage is very nice.
I like the autoexpand feature, but it is a bit odd that it expands per character input and also expands when you're doing backspaces. I think adding a counter to see if it got bigger or smaller on each input so it can shrink when removing characters too.

Of course it's your userscript so it's up to you how it ends up and I prefer to see your vision on the features and design, but I am also trying things and sharing thoughts.
What I tried was a bit different, doing a check for newlines. Maybe need to adjust number 15 for different computers and styles, but I wrote this for me to try out.

You might have tried this too and discovered it doesn't work very well for paragraphs when the textarea is not so wide, there are many newlines that aren't in the input value... It works okay for ascii art, but it brings many annoyances. If you try to expand the textarea and start typing the box will reset size... Annoying!

Continuing what you did I decided to add a check on if the size got bigger or smaller. I let it continue to grow like you made it, it has the least annoyances out of the different methods I tried, but I also made it so it doesn't expand when you remove characters like spamming backspace. I also tried making it shrink on removed characters, but it was easily very annoying.

Post too long. Click to view the whole post or the thread page.

29 Name: Anonymous Techie : 2022-09-22 00:57 ID:Heaven

Maybe like this, also adding a linecounter so adding or removing newlines makes it add or remove more than if it's only a normal character.

https://pst.moe/paste/wsxaff?format=raw

30 Name: Anonymous Techie : 2022-09-23 17:43 ID:Heaven

I don't understand what that code does, but I'll try to merge it in, when I'll have time.

Originally I wanted to make it so that I can resize the textarea by dragging the upper right corner, but then gave up for some reason.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

When did you realize that the future is now (13)

1 Name: Anonymous Techie : 2021-04-27 22:39 ID:sPEPe7vz

For me it was a slow gradual shift that began around 2012 when Palmer started the Oculus Kickstarter and today I just now realized that I am officially living in the future

https://streamable.com/fnk084

Video related is proof of this
That would have seemed absolutely sci-fi just 10 - 15 years ago.
To create that video you would have needed a ton of money and a sophisticated Hollywood team but now I can create it just goofing around in my room while drunk.

4 Name: Anonymous Techie : 2021-05-02 21:25 ID:hVHoaoNX

I will feel like I am living in the future when they find a reliable cure for cancer. Or when they make a robot girlfriend with a human personality and realistic boobs. Whichever comes first

5 Name: Anonymous Techie : 2021-05-04 06:57 ID:eXCg91gk

the future is now (;´v`)

6 Name: Anonymous Techie : 2021-05-05 01:42 ID:BzN4lPe0

>>5
young mawn

7 Name: Anonymous Techie : 2021-09-10 16:04 ID:Heaven

the future has been now for over a decade

8 Name: Anonymous Techie : 2021-09-29 23:27 ID:nGXftQ2j

the future has been now for over a century

9 Name: Anonymous Techie : 2021-11-01 14:26 ID:ocKld+/T

we are living in the past

>>30 what is the future like?

10 Name: Anonymous Techie : 2021-12-10 19:33 ID:Heaven

10GET

11 Name: Anonymous Techie : 2022-09-15 01:25 ID:WMhkLLOS

> Oculus

VR is a giant scam designed to trick investors into forking over billions. If you ever wonder why the vast majority of software for VR is still shovelware-quality, it's because it's designed to fool investors who are over the age of 50 and are generally ignorant about computers, and not so it can be enjoyable or useful for you the user.

Same principle applies to cloud gaming, and likely will be applied to more coming meme technologies that companies push as being "the future."

12 Name: Anonymous Techie : 2022-09-15 23:01 ID:Heaven

>>11
Second Second Life will be huge!
Yet everything is always ...worse than that 20 year old game.
I've never felt an urge to buy a VR headset so far. Maybe in another couple decades, but I'm doubtful.

13 Name: Anonymous Techie : 2022-09-20 12:46 ID:Heaven

I watched a letsplay of virtual virtual reality on youtube, and it was pretty fun.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

emanon: redeemable? (2)

1 Name: Anonymous Techie : 2022-07-30 11:28 ID:JhzyldxI

Cannot get it to install under any circumstance, even though it seems like a promising idea.

Biggest criticism: no RSS/atom feeds anywhere. Yikes. Admin says he has no interest in revisiting the script.

It's nice there's no CAPTCHA though because you can do things like this:


while :
do
date -u +%Y-%m-%d%t%H:%M:%S;
curl -X POST -d "board=saovq&thread=1523220830&name=VIPPER&message=JEWS&sage=on" http://secretareaofvipquality.org/post.cgi;
sleep 95;
done

2 Name: version 2 : 2022-07-31 09:19 ID:Heaven


thr="1659256233"
while :
do
date -u +%Y-%m-%d%t%H:%M:%S;
curl -X POST -d "board=saovq&thread=${thr}&name=VIPPER&message=JEWS&sage=on" http://secretareaofvipquality.org/post.cgi;
sleep 95;
done
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

Kareha write error, need help (6)

1 Name: Anonymous Techie : 2022-07-22 23:25 ID:vLuecvVA

I have both kareha.pl and wakautils.pl permissions set to 755, but I get this error:

Couldn't write to file "index.html" at wakautils.pl line 1013.

Why is this happening?

2 Name: Anonymous Techie : 2022-07-23 00:51 ID:GXvdCIHj

Ownership not set to www-data? The directory for the board also has to be writable IIRC.

3 Name: Anonymous Techie : 2022-07-23 01:34 ID:vLuecvVA

>>2
/etc/apache2/envvars
export: APACHE_RUN_USER=www-data
export: APACHE_RUN_GROUP=www-data
Does this mean www-data has ownership?

4 Name: Anonymous Techie : 2022-07-23 17:44 ID:GXvdCIHj

Try ls -la in the board directory, and post it here.

5 Name: Anonymous Techie : 2022-07-23 20:31 ID:dRdblr8b

Okay, setting the main directory as 777 made it work.

6 Name: Anonymous Techie : 2022-07-30 11:30 ID:Heaven

>>5
755 is probably what you want instead.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

Android apps for feature phones (6)

1 Name: Anonymous Techie : 2021-04-06 11:45 ID:lu1WAhri

I have a kyocera flip phone and I have problems finding android apps that actually work on it (ones that don't require me to constantly turn the cursor on and off).

Is there a place where I can find apps designed for non-touchscreen phones or am I forced to look for them myself?

2 Name: Anonymous Techie : 2021-04-06 20:39 ID:Heaven

cell phones are heinously anus

3 Name: Anonymous Techie : 2022-07-17 22:47 ID:AcheYy0v

>>2
dumbass

4 Name: Anonymous Techie : 2022-07-17 22:48 ID:AcheYy0v

>>2
dumbass

5 Name: Anonymous Techie : 2022-07-23 08:54 ID:XMDZ5rOI

bump

6 Name: Anonymous Techie : 2022-07-23 17:45 ID:Heaven

bumpass

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

Have you read your SICP today? (4)

1 Name: Anonymous Techie : 2022-07-22 03:36 ID:wiaLsZ38

Don't let the Sussman down!

2 Name: Anonymous Techie : 2022-07-22 07:29 ID:Heaven

ah yes, boku no piko of programming books

3 Name: Anonymous Techie : 2022-07-22 11:48 ID:Heaven

we conjure the spirits of the computer with our spells

4 Name: Anonymous Techie : 2022-07-22 15:34 ID:Heaven

i still need a ``my other car is a cdr'' bumper sticker
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

Japanese PHP/CGI BBS script archive (4)

1 Name: hackpaint!3zuWXr6FZA : 2022-03-05 00:09 ID:F6shaOy+

Hello Channel4. I have amassed a collection of old CGI/PHP BBS scripts (about 7) from around the Internet and have decided to upload all of what I have.

Since starting my collection almost all of these websites that I've visited have gone under. Sadly they've been lost to time and I hope that someone with the interest and skills needed to set one of these up now can with the source code available. Happy hacking!

Github: https://github.com/hackpaint/

P.S sorry if this comes off like an advertisement for my Github, I just wanted to share the source code on something that's easy to setup.

2 Name: Anonymous Techie : 2022-03-07 10:51 ID:Heaven

Looks very very dated, but could be useful. Screenshots would be good for those. Thank you for posting.

pikachiu
archive from <http://pikachiu.org/>
A Perl CGI script that lets you write in the speech bubble of a SJIS Pikachu. This script dates back to 2002.

moyashi
bean script from <http://ntak.net/>
Some perl site. Looks pretty big. Don't see any php here.

yakuba_kai
archive from <https://t-jun.kemoren.com/>
3 php scripts.

Post too long. Click to view the whole post or the thread page.

3 Name: Anonymous Techie : 2022-07-01 02:41 ID:c+1EFnhk

Never seen that Yotsuba file before. Definitely based on Futaba or Futallaby, but looks much more advanced.
It's not in this thread and added only two months ago, a bit later than this thread was posted.
Where did you get it from?

4 Name: Anonymous Techie : 2022-07-09 07:48 ID:lQIlNwtK

>>2
it was me who asked usada to make the forest script available
i should have asked for nami too, but too late now
i wish jesus christ take care of usada's health
he is a good man and a good administrador

i will miss him

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

fom (2)

1 Name: Anonymous Techie : 2022-06-07 17:42 ID:jTy+H8dw

fatoldmen textboard/shoutbox: https://fatoldmen.net/

2 Name: Anonymous Techie : 2022-07-30 11:29 ID:Heaven

Shitty imageboard (not textboard).

Oh great, another /b/ board. What does your site have to offer that a million others don't? At least stuff like mellowchan has tags and federation.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

New thread

Title:
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: