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
1: Which Linux distro should I use? (7) 2: is it possible to have fun programming (25) 3: [HELP] Single questions & Help Thread [n00b] (395) 4: What the fuck is "-ilocal?" (2) 5: any good Macintosh 1 emulator? (3) 6: [CHAT] Fuck Discord! Matrix FTW! (21) 7: What would you consider the best linux distro in a post-internet world? (14) 8: Twitter Source Code Leak (4) 9: Trying to make a language in c without learning c (3) 10: XMPP & Matrix (9) 11: New features for BBS software (1) 12: I like AI (7) 13: Computers should last a long time (22) 14: LUnix Shitware #1 Tumbler: (3) 15: Javascript and webdev (38) 16: Japanese PHP/CGI BBS script archive (9) 17: Thoughts on Finishing Shiichan? (10) 18: Can someone create me a textboard that runs on Kareha called pworld? (15) 19: 2ch-style BBs (47) 20: OS Wars Thread (15) 21: Windows software recommendations (13) 22: Where can I download red hat 3.0.3? (2) 23: How do i install Kareha (2) 24: When did you realize that the future is now (14) 25: emanon: redeemable? (2) 26: Kareha write error, need help (6) 27: Android apps for feature phones (6) 28: Have you read your SICP today? (4) 29: fom (2) 30: Printers thread (3) 31: UNIX redone (254) 32: suckless unix tools (20) 33: Audio Visualizer (3) 34: i wanna learn cloud computing, 3d computer graphics, gamdev, 3d printing programming (7) 35: game programming books? (3) 36: do i have to write the polygon coordinates??? (1) 37: Palemoon web browser (11) 38: Anonymous BBS (26) 39: Hardware/peripherals for PC (8) 40: making flowcharts (3)

Which Linux distro should I use? (7)

1 Name: Anonymous Techie : 2023-06-01 01:23 ID:45ytmAoH

I’m a n00b when it comes to computers but I don’t want to use Mint or Ubuntu, what’s the alternatives? I just want to learn programming with it but want to make it secure enough so I can fap in secret. Which should I pick?

2 Name: Anonymous Techie : 2023-06-01 07:04 ID:2Rgofzh5

I've gotten far with Oracle Linux.
Pretty much Red Hat, but for free.
GNOME is supported out of box, while KDE has to be installed manually.
Install all your GUI programs through Flatpak they won't be in the system repositories.

3 Name: Anonymous Techie : 2023-06-01 23:28 ID:RZWbTr21

I have no idea what any of that meant..... I'm stupid (-__-)

4 Name: Anonymous Techie : 2023-06-03 20:58 ID:2Rgofzh5

I think you are just better off using Cygwin and installing the GCC and MinGW GCC compilers for programming.

To explain what I said in the previous post:
Red Hat is a company that sells Red Hat Enterprise Linux.
They also own Fedora and CentOS, but these should not be used because Red Hat uses Fedora for development and CentOS for beta testing so you will always run into problems.

Oracle Linux is just Red Hat Linux, but for free.
Oracle only charges money if you want support which is typically only need by big businesses.

GNOME is a desktop environment that tries to act like macOS's desktop. Officially supported by Red Hat (and thus Oracle), but it is very painful to use with how bare boned it is.

KDE is a desktop environment that tries to act like Window's desktop. Not officially supported by Red Hat or Oracle, but is more tolerable to use.

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

5 Name: Anonymous Techie : 2023-06-04 12:49 ID:bJIQ2QMQ

Could you explain why you don't want to use Mint or Ubuntu?

6 Name: Anonymous Techie : 2023-06-05 14:07 ID:Qo4Ykc3y

Just use Mint. Don't fall for MES and waste your time with gentoo and whatnot.

7 Name: Anonymous Techie : 2023-06-05 18:09 ID:Heaven

I use Mint. It's simple, has plenty of desktop environments, and respects your privacy. Pretty good. If you are a noob with computers why are you trying to overcomplicate things? Boot up a Live CD with Linux Mint in the different desktop environments and see which one you like the most by default or which one you find easiest to configure to your liking. I really don't think you can go wrong with Linux Mint Cinnamon edition though, it's made by the Mint devs and looks pretty similar to what people are used to with things like Windows 7 before it went all corporate mobile whatever.

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

is it possible to have fun programming (25)

1 Name: Anonymous Techie : 2021-04-27 09:58 ID:JBuDvhrK

i am not making anything good, as usual

i am in love with games and its...environment and making it is supposed to be my lifelong dream but it suddenly looks troublesome

16 Name: Anonymous Techie : 2021-11-27 13:43 ID:Heaven

Actually it is easier than that. If every post is just a string, merge all posts in the thread in a single string too, and keep offsets in some separate array. Like, post one goes from byte 0 to byte 264, post two goes from byte 265 to 1192, etc. The issue is I don't know how php stores strings and in what codepage. And if getting the length of string that is stored in UCS-2 is trivial (get length in bytes, divide by two), for UTF-8 you have to walk that entire string.

Aaah, fuck it, just use database. Or C/C++.

17 Name: Anonymous Techie : 2021-11-28 08:57 ID:USz7L+eF

it's all greek to me

18 Name: Anonymous Techie : 2021-11-30 06:07 ID:Heaven

Actually just use json_encode. Should be good enough, if you do it only once a hour.

I was thinking about leaving unused holes in the file, to not overwrite the entire file every time, but eh, too complicated.

19 Name: Anonymous Techie : 2021-12-02 18:58 ID:Lj681mQo

>>1 maybe try to play some zachtronics games (in particular, TIS-100, Shenzhen I/O and Exapunks). in the height of depressive work-spiral, they reminded me why I fell in love with writing code in the first place

20 Name: aaaaaaaaaaaaaaaaasdffffffffffffffffffffffffffffffffffffffffff : 2022-01-08 16:15 ID:yDDdVx3W

i liked programming when i was still learning it. Now that its my job i hate it.

21 Name: Anonymous Techie : 2022-01-09 09:21 ID:Heaven

That's usually how it goes. Learning can be fun, but when you already know pretty much everything it just becomes a tedious task. One way to make it fun again would be to have some grand vision of some insane genius idea and build some new innovative tech that could revolutionize the world, something of a passion project that aims for global adoption. A calling of some kind. Of course that would require genius tier intellect usually, but still.

22 Name: Anonymous Techie : 2023-02-19 01:58 ID:uqQlyoK3

prog is like any other creative endeavor because once you introduce money everything goes to shit

23 Name: Anonymous Techie : 2023-05-09 18:26 ID:HFGMNCJI

Try reinventing the wheel. Lots of fun to get things just the way you want them, plenty of available support, teaches you how things work, and it it's compliant with protocols you have usable software tailored to your needs by the end of it.

Shenzhen I/O is great, but it's frustrating that you aren't given all the available information to begin with (hidden commands)

24 Name: Anonymous Techie : 2023-05-15 12:37 ID:P3eyhwL8

TIS-100 comes with a manual in pdf/paper form. It's actually useful while playing the game. It's also great for immersion If you print it out.

25 Name: Anonymous Techie : 2023-05-30 00:50 ID:pEGlVN0o

this rings true to me. the philosophy keeping me going is just treating software as a tool to make something else. if I get too caught up in the details of programming, I quickly lose motivation -- just focusing on a creative project where programming is a means to reach the end goal (ex: building small robots, drone software, even modding games) has maintained my passion for it.

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

[HELP] Single questions & Help Thread [n00b] (395)

1 Name: CyB3r h4xX0r g33k 2005-09-05 20:53 ID:KxkIsG20

If you have a single (or some more) question regarding any of the tech topics of this board and feel that it wouldn't justify creating an own thread just for that, feel free to post it in here.

If you know the answer to any of the questions in this thread, please help us out here! I am sure it's going to be appreciated.

I am creating this thread since there's ben popping up too many threads lately with single questions asking for help that aren't really set out to create too much interest.

386 Name: Anonymous Techie : 2022-06-01 06:35 ID:Heaven

Godot is capable of creating webbrowser games. You might want to look into webassembly.

387 Name: Anonymous Techie : 2022-06-01 20:56 ID:Heaven
FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)
by: Kaze Emanuar

He made Super Mario 64 run at 3 times higher fps even on original hardware. He did it by making sure cpu unit and graphical unit fight for memory less, and adding memory alignment and such. Because of that, the game now requires an expansion pack, increasing the memory requirements from original 4 MB to 8 MB. Plus a lot of other work.

Pity, why they fuck with hardware that isn't even produced anywhere anymore.

388 Name: Anonymous Techie : 2022-06-06 07:17 ID:Heaven
team fortress 2 classic source code. An outdated version, but maybe worth taking a peak at.

389 Name: Anonymous Techie : 2022-06-08 20:21 ID:Heaven

I wonder if having no motivation to write programs is a good or a bad thing. It is a waste of time anyway, if you aren't getting paid for it.

390 Name: Anonymous Techie : 2022-06-15 11:33 ID:Heaven

It's for the knowledge and the challenge itself. The fame is only a useful side effect.

391 Name: Anonymous Techie : 2022-06-17 07:34 ID:Heaven

In windows 7 I can customize windows colors pretty extensively, but I can't find how to do the same in windows 10. Is it possible to change those? Windows 10 color customization is very very limited, but I suspect that it's still possible to change those old values through registry changes or some side program.

393 Name: Anonymous Techie : 2022-11-19 14:47 ID:Heaven

to create a .net forms project from console, type this
dotnet new winforms

394 Name: Anonymous Techie : 2022-11-23 19:11 ID:Heaven

395 Name: Anonymous Techie : 2023-05-29 21:51 ID:eUXxx3Pz

Tried to compile Winecx and during the configure process it told me this:
configure: error: You need a version of clang that supports -ilocal to build Wine for 32on64.
Which version of clang supports this? The user's manual for clang has zero ctrl-f results for it, and I can't find any other guides mentioning this option.

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

What the fuck is "-ilocal?" (2)

1 Name: Anonymous Techie : 2023-05-29 21:50 ID:ZRCJwwGZ

Tried to compile Winecx and during the configure process it told me this:
configure: error: You need a version of clang that supports -ilocal to build Wine for 32on64.
Which version of clang supports this? The user's manual for clang has zero ctrl-f results for it, and I can't find any other guides mentioning this option.

2 Name: Anonymous Techie : 2023-05-29 21:51 ID:Heaven

question outside of question thread mods pls dl33t

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

any good Macintosh 1 emulator? (3)

1 Name: Anonymous Techie : 2023-02-08 23:06 ID:7L2/USM0

I would love to try this operating system well and not by an online emulator

2 Name: Anonymous Techie : 2023-02-09 09:16 ID:qSvCR/a3

Hackintosh is probably your only route.

3 Name: Anonymous Techie : 2023-05-20 21:06 ID:Nux1z70w

Basilisk II

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

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

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

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.

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

I own and run ; how censored is it really?

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

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.

why not come join the VIPPER xmpp room...

13 Post deleted.

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

There is only IRC.

15 Name: Anonymous Techie : 2023-02-19 01:53 ID:BpZwTTMa

sorry op, would rather be hit by a bus than deal with element/riot or some other shitty client.........

16 Name: Anonymous Techie : 2023-02-20 08:18 ID:TXQzuW/S


17 Name: Anonymous Techie : 2023-02-20 16:08 ID:Heaven

where can I find a not dead irc even?

Does irc expose your ip to other users?
I don't like how it doesn't store logs, you have to be online 24/7 to not miss discussions, or store logs on third party site.
Plus there are some codepage issues, which doesn't concern you if you never speak anything but english. But I had an experience when irc swallowed everything I wrote and only shown "?" to the people on the other side, because I configured codepage wrong. Jabber is better, fuck irc. Jabber is more wordy though, xml instead of plain text.

All means of communication eventually fall victim to spammers, criminals, and governments. With the rise of ai tech you will see complete technocracy in developed countries eventually, while less developed ones will be irrelevant in most ways.

18 Name: Anonymous Techie : 2023-02-21 01:04 ID:BpZwTTMa

it is very easy to get a bouncer for irc but it's not worth it unless you have actual friends on irc who use it regularly.

19 Name: Anonymous Techie : 2023-02-22 08:37 ID:WRKGqxlz

As >>18 said, there's bouncers you can use for IRC. Even if you don't use a bouncer most IRC networks have a host option to mask your IP. Then making sure to do proper SSL/TLS connections will protect you as well.

20 Name: Anonymous Techie : 2023-05-09 18:22 ID:kSYkzz9A

By this logic, we should all start using FB messenger

IRC is a sane and well-established protocol. It's easy to work with, there are plenty of good clients, and it just works.

21 Name: Anonymous Techie : 2023-05-20 17:59 ID:YjoroCsI

You could literally accomplish everything said in this thread with a well oiled XMPP server.

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

What would you consider the best linux distro in a post-internet world? (14)

1 Name: Anonymous Techie : 2023-01-23 08:31 ID:olF+45bz

Also how would go about having everything stored and configurated in an emergency situation where you wanted to do offline computing? Consider other possible scenarios where you may need software to run windows software, etc; as well such as Wine?

5 Name: Anonymous Techie : 2023-02-01 07:34 ID:vaTB8lsr

Have a mid-range PC to run Windows 7 and make sure to have the appropriate hardware to do a proper virtualization of Windows 9X OS's in case you need DOS or any older Windows software/games. Next I would also attempt to have a macbook with at least Snow Leopard on it. Then as far as Linux due to it's compatibility with almost anything. I would use Arch Linux with Wine on an average machine, maybe Artix or Devuan with something a bit more lightweight, and then perhaps antiX or bunsenlabs/archlabs depending on your knowledge and software needs. I would also have a bunch of prepackaged repositories set up for this locally on an external HDD or perhaps a machine just in case of this situational occurrence. You probably will need NET files and DLL files for Wine. Don't forget to back up builds properly for future use as well. Good luck, I'm on your side. Let's still attempt to have some computing in a shit hole dystopian cucked world.

6 Name: Anonymous Techie : 2023-02-01 07:36 ID:vaTB8lsr

Oh and don't forget a cheap laptop and single board computer. Something that could potentially be charged with solar would be highly recommended.

7 Name: Anonymous Techie : 2023-02-02 05:23 ID:LIrKsdzG

very lazy post from op not even describing his linux or his "emergency" situation. here ill spend some time enlightening you.

i use openbsd for everything that is not a game.
if i face times without internet i am fine since i like to make sure i own all my content which is stored on openbsd raid.
openbsd is stable unlike unstable linux like gentoo and arch where if you dont update for a week your system breaks so you can have openbsd offline for long time and be fine.
for extended periods of time you can easily mirror openbsd pub and just toss it on your lan server and use custom dns and boom you have rows of computers working fine with ability to install whatever packages you mirrored.

now for linux ive always had a problem with it.
its just a disaster by design. used to use slackware for a while but got tired of its flaws and switched and have been using enterprise linux now and found it more stable actually. only problem is enterprise linux has zero packages such as vlc so ive been just been writing my own rpm or just taking some from fedora src repo and compile myself. flatpak kind of helps.

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

8 Name: Anonymous Techie : 2023-02-07 12:21 ID:0CHsfjS7

TRON is the Japanese and worldwide computer project from 1984.
TRON has been started by Dr. Ken Sakamura of University of Tokyo.


TRON is anti-UNIX.

UNIX is a machine on your machine.
TRON is an extension of your brain.

Mac is a daughter of UNIX.
Win is a bastard of UNIX.

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

9 Name: Anonymous Techie : 2023-02-08 07:34 ID:olF+45bz

linux mint!

10 Name: oh naw : 2023-04-03 13:12 ID:ECEURmRz

The Japanese are cucks and "open-source" their shit "software" (besides ruby, Yukihiro is my nigga), instead of - I don't know, using the GPL, which is an American(r) PRODUCT ;-)

" free software means users have the four essential freedoms: (0) to run the program, (1) to study and change the program in source code form, (2) to redistribute exact copies, and (3) to distribute modified versions."
Anyway, fuck TRON, Dr. Ken Sakamura vs Dr. Stallman (Stallman wins) (eat OR rape), word to your mother.


11 Name: and/or is for retards : 2023-04-04 03:47 ID:Heaven

TRON and GNU are SHIT.
Dr. Ken Sakamura and Dr. Stallman FAILED.
BSD still going on strong! Stallman cultists will repeat BSD is for cuckolds! It is abused by companies!
Yet I always see companies make money off GNU and related technologies and never see companies touch BSD (except FreeBSD which is also SHIT).


12 Name: Anonymous Techie : 2023-04-26 22:33 ID:/exAZNio

13 Name: Anonymous Techie : 2023-04-29 04:09 ID:AF9bc7lJ

PuppyLinux or Tails.

14 Name: Anonymous Techie : 2023-05-09 18:08 ID:0LqCDrl+

Void Linux or a BSD with good documentation. Something with good documentation and not overly integrated with online systems.

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

Twitter Source Code Leak (4)

1 Name: Anonymous Techie : 2023-03-27 14:21 ID:Z9McJLkB
Do you all think it's legit? I haven't seen the leak crop up anywhere else yet, and I'd assume a genuine leaker wouldn't be so retarded as to not post a leak anywhere other than GitHub.

2 Name: Anonymous Techie : 2023-03-29 06:31 ID:yBwUBbal

Elon is such a bitch.

3 Name: Anonymous Techie : 2023-04-29 04:14 ID:GFoUVaAP

No problem.

4 Name: Anonymous Techie : 2023-05-08 23:39 ID:WN+rsmAu

Great! Now we can create an anonymous, no registration, no archive version of Twitter and watch as #b destroys society.

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

Trying to make a language in c without learning c (3)

1 Name: tebitah : 2023-04-20 18:34 ID:VWOZ7MN0

I'm starting to writing print() instead of printf();

2 Name: Anonymous Techie : 2023-04-24 11:59 ID:Heaven

Tebitah Catherine???

3 Name: Anonymous Techie : 2023-05-04 02:10 ID:a8BAKC63

Lua already exists

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

XMPP & Matrix (9)

1 Name: Anonymous Techie : 2022-02-04 18:04 ID:cfT0frtp

Anybody here using XMPP or Matrix regularly? I'm in a few group chats on both, and run my own personal server for each. Both interesting projects with a similar goal. What are your thoughts?

2 Name: Anonymous Techie : 2022-02-05 18:58 ID:Heaven

Matrix is laggy shit, much worse than discord, though also less censored. XMPP (aka jabber) chats were decent, though they were barely different from irc, and they didn't support media thumbnails. They had less issues with different codepages than irc, it was a bit easier to use.

3 Name: Anonymous Techie : 2023-02-28 00:59 ID:/zpq0YYV

i would use matrix more if element/riot wasn't so slow.

4 Name: Anonymous Techie : 2023-03-14 23:32 ID:ezNqvQmU

If you don't like element you can try and different client like nheko

5 Name: Anonymous Techie : 2023-04-06 05:24 ID:kFitHRy9

matrix is garbage, xmpp is not very populated

6 Name: Anonymous Techie : 2023-04-18 20:05 ID:PYWLEmw4

I use Matrix regularly and even administer one of the groups. But Matrix is garbage, literally the worst "private" messenger technology.

7 Name: Anonymous Techie : 2023-04-19 02:45 ID:DpdpD/zO

Matrix: slow, ineffecient, buggy, and made me hit out of memory problems on a phone with 2GB of RAM.
XMPP: faster, effecient, and ton of garbage clients. Sure they work, but unless someone creates a Discord-esque client for XMPP I don't think it'll gain popularity other than being used by a group here and there for a month or so.

8 Name: Anonymous Techie : 2023-04-19 04:30 ID:Heaven

I never had issues with Matrix using Element. I wish the alternative clients were better though, some of them have good design but lack crucial features or buggy.

9 Name: Anonymous Techie : 2023-04-29 04:13 ID:xeXzN25T

I've been using Martinix for a while, and now only run a small group and haven't tried a client other than element, but the experience isn't great, and Gitter's sidecar isn't that good anymore.

XMPP is commonly used, but I'm not used to it.

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

New thread

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