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

Javascript and webdev (7)

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.

2 Name: Anonymous Techie : 2021-11-18 17:00 ID:Heaven

>null == undefined

true

>null === undefined

false

3 Name: Anonymous Techie : 2021-11-26 08:34 ID:Heaven

Apparently javascript is case sensitive. Don't go calling "Alert" when you need "alert".

4 Name: Anonymous Techie : 2021-11-30 12:45 ID:F5uejfZc

>>3
I think it would be difficult to find a language that is case insensitive for function names, SQL perhaps.

5 Name: Anonymous Techie : 2021-12-19 00:04 ID:Heaven

>>4
Common Lisp is by default. You can configure the reader to preserve the symbol case (or invert, if you don't want to SHOUT standard function names), but I don't think I've ever seem anyone use that for code. I believe at least R5RS also requires Scheme implementations to be case-insensitive.

6 Name: Anonymous Techie : 2022-03-07 10:13 ID:Heaven

Searched for "javascript performance tips"

https://www.keycdn.com/blog/javascript-performance

Interesting points are

HTTP/2 uses multiplexing, therefore allowing multiple requests and responses to be sent at the same time.

Use a compression method such as Gzip or Brotli to reduce the size of your JavaScript files.

This thing:

var Person = Object.create({
init: function(name) {
this.name = name;
Post too long. Click to view the whole post or the thread page.

7 Name: Anonymous Techie : 2022-05-18 18:18 ID:4LpMs8SO

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

Uploading latest version of 4-ch.net Refresher Violentmonkey script, it makes refreshing 4-ch slightly less annoying. Basically it allows you to see what boards were updated with a single click.

I posted it into https://4-ch.net/general/kareha.pl/1625420190/l50 programming and technology thread in /general/ previously, but maybe I need to actually use /tech/ somehow.

I need to add a way to make faved threads show up on top, but maybe this script is good the way it is right now. You might notice those [fav][hide] buttons, but they don't actually work yet.

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

Audio Visualizer (3)

1 Name: Anonymous Techie : 2022-04-27 09:12 ID:mgElTars

does anyone know of any cool audio visualizer software? something is so comfy about the old school visualizers from like xp

2 Name: Anonymous Techie : 2022-04-29 20:31 ID:pZXV1985

If you use WinAmp, you can just get MilkDrop.
Otherwise, there are two components for foobar2k that should work.

I've personally used shpeck in the past, but both should work for you after some tinkering.

3 Name: Anonymous Techie : 2022-05-18 17:53 ID:Heaven

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

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

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.

375 Name: Anonymous Techie : 2022-03-27 11:02 ID:T0QDN3AF

>>374 hmmm. well you can leave the track and falls so theres a "limit"
of the track defined by the map i suppose.

>bunch of vectors

very interesting, can you give example? how can the tracks be merely vectors?

>different technology

indeed. these days its trivial to build tracks in 3d space, i suppose im just curious.

376 Name: Anonymous Techie : 2022-03-27 11:51 ID:Heaven

>>375
I mean it could be stored like "next chunk of the road is straight ahead", "next chunk of road is 10 degrees to the left", "next chunk of road is 10 degrees to the right and up". Doubt it works like that, probably just uses a 2d array, 2d array will waste more memory but will probably work faster. It is a guesswork.

struct road_direction {
int vertical_rotation;
int horizontal_rotation;
};

377 Name: Anonymous Techie : 2022-03-28 07:25 ID:Ao1ird7G

>>376 thres also sagital rotation, as in roads being tilted. so i guess then the array will contain a stack of 2d maps?

378 Name: Anonymous Techie : 2022-03-28 07:48 ID:Ao1ird7G

>>376 also that s just the graphic right? collission/physics not incuded i guess?

379 Name: Anonymous Techie : 2022-03-28 09:16 ID:anu4ByE6

How was physics programmed in Games like radmobile, powerdrift? like how the cars goes up an down and stick to the streets and no "jumps", orient towards tilted sprites... some voxel map? or splines? how do you write splines in 2d engine?

380 Name: Anonymous Techie : 2022-03-28 10:37 ID:anu4ByE6

Please explain how ramps are programmed here https://www.lexaloffle.com/bbs/?pid=72871

381 Name: Anonymous Techie : 2022-03-28 16:36 ID:T0QDN3AF

looking for the books to help code games like radmobile, powerdrift, virtuoso in 3do, assortments of things from dealing with camera clipping, ramps that goes around and the physics/collission of the roads that goes tilted or even upside down

where can u find em?

382 Name: Anonymous Techie : 2022-04-15 08:49 ID:BUlKXalm

how do i learn cloud engineering

383 Name: Anonymous Techie : 2022-04-21 11:48 ID:Heaven

1) google "cloud engineering courses"
2) pay for those
3) be disappointed that you didn't pay me instead

384 Name: Anonymous Techie : 2022-04-26 13:35 ID:ZUq6h9Lj

>>383
I'm don't kill hookers for monkeys

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

i wanna learn cloud computing, 3d computer graphics, gamdev, 3d printing programming (7)

1 Name: Anonymous Techie : 2022-02-08 09:05 ID:Sr9S9wus

they say those are good business, but i am struggling to absorb them... It's hard. What do i do? what practice do i learn? especially cloud computing... there's this test in alibaba academy, and i barely get passing grade on its introduction course.

Then 3d printing has all these bunches of arduino bullshits and writing dot H files from scratch which is completely confusing idk. Please assist me... especially if you have experience with them, how did you FIRST get into learning it back then?

2 Name: Anonymous Techie : 2022-03-04 22:54 ID:3Pi1UgZx

>>1

> learn cloud computing
> 3D computer graphics
> gamedev
> 3d printer programming

Those are all discrete subjects. I think you should pick one to focus on, then move on to another subject.

3 Name: Anonymous Techie : 2022-03-17 13:33 ID:UWN3tUg5

is it? caN i haste them all?

4 Name: Anonymous Techie : 2022-03-21 06:21 ID:Heaven

No. There's no magical, fast way to learn a number of entirely distinct fields.
Some skills are transferable (not sucking at programming in general will help), others are rather specific to their field.

5 Name: Anonymous Techie : 2022-03-26 03:22 ID:5BdDx8jt

>>4 all these "magical" buzzword just sounds very lazy and illiterate.
it doesnt seem like you all areactual educated academics at all. i was expecting some real time management or educational feats to learn but no just another "me wise hear me or i angry"lol
nvm

6 Name: Anonymous Techie : 2022-03-26 17:48 ID:Heaven

If you wanted time management or educational tips, ask for them explicitly instead of writing confused paragraphs listing off random technologies you're vaguely interested in.
And why exactly were you expecting "educated academics" on an obscure textboard? Actually, what sort of response do you think a real "educated academic" would give you, if you spouted off random, poorly-formed questions with the grammar and spelling of an illiterate Indian?

Here's a real skill you should go and learn, retard: go teach yourself how to deepthroat a shotgun.

7 Name: Anonymous Techie : 2022-03-28 08:04 ID:NkTHO0+t

>>6 yea go on. keep crying
guess your mum didnt told you how to grow a pair
not wveryones gonn suckle your tit like she did, manwhore

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

game programming books? (3)

1 Name: Anonymous Techie : 2022-03-26 03:25 ID:vqivxamY

looking for same graphics/game programming books, like maybe defining raycasting or creating a one point perspective by lining up a linear equation or move two points at different speed? maybe making some array based data structure but uses only coordinate or somthing

oh well

2 Name: Anonymous Techie : 2022-03-26 07:28 ID:Heaven

Programming books get old fast, everything changes too fast lately. Try watching some unity or unreal engine tutorials on youtube? I've seen some good ones there, but don't have a link on me right now.

Please post your next question in https://4-ch.net/tech/kareha.pl/1125953617/l50

3 Name: Anonymous Techie : 2022-03-26 07:42 ID:63iRZK1R

>>2 ok tx

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

do i have to write the polygon coordinates??? (1)

1 Name: thought this place is good to study, turns out a studio for lollygaggers and psychopaths : 2022-03-17 04:53 ID:o7jq/4aO

seriously. And then specify all the collissions too. especially since my engines are 2d. hilarious.

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

Japanese PHP/CGI BBS script archive (2)

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.
Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:

Palemoon web browser (6)

1 Name: Anonymous Techie : 2022-02-19 18:58 ID:XC6eUTRz

This is a fork of an older version of firefox, version that still supports old style browser extensions. Newer api is more limited in what it is capable of, so many extensions just can't be ported to the modern firefox.

https://www.palemoon.org/

2 Name: Anonymous Techie : 2022-02-20 10:11 ID:Heaven

Was searching for noscript for it, apparently they use https://addons-legacy.palemoon.org/addon/ematrix/ instead. Interesting, it's noscript, adblock, image disabler, cookie disabler in one package.

3 Name: Anonymous Techie : 2022-02-23 08:19 ID:mK59ThPb

>>2
nMatrix is just a port of uMatrix which is available for all browsers.
https://github.com/gorhill/uMatrix
Once you get used to it, you can't go without it.

4 Name: Anonymous Techie : 2022-02-24 15:10 ID:Heaven

I'd rather just don't visit sites that are so full of garbage that using uMatrix is necessary there. Like just staying here. Or just going offline completely.

5 Name: Anonymous Techie : 2022-03-02 14:36 ID:Heaven

Let's get palemoon to look a bit better.

To get rid of that giant blue button taking space, install https://addons.palemoon.org/addon/toolbarize-menu-button/ . It appears broken right now, doesn't really work for me.

To show tabs right in the window title bar just like all modern browsers do, click Giant Palemoon Button -> Preferences -> Tabs on Top. Make sure you actually have two bars open when you do it.

To show url of a link under cursor in a pop-up, instead of always wasting an entire bar on it, click Giant Palemoon Button -> Preferences -> Status Bar Preferences -> Status -> General -> Links -> Show links in -> Pop-up. Now you can just disable status bar by clicking Giant Palemoon Button -> Preferences -> Status bar.

6 Name: Anonymous Techie : 2022-03-02 16:03 ID:Heaven

To enable user input in browser console, go to about:config, and change devtools.chrome.enabled to true. You only need to do it if you are developing your own firefox... i mean, palemoon addons, or doing something advanced like that.

To open browser console, press ctrl-shift-j.

If some not very trustworthy guy tells you to type something you don't quite understand in that browser console, don't.

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

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

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.

2 Name: Anonymous Techie : 2021-10-18 15:32 ID:Heaven

Matrix is laggy as hell, websites work well enough for me. If matrix server has many images, they take forever to load.

3 Name: Anonymous Techie : 2021-10-21 20:20 ID:dSofovNq

Matrix isn't meant to replace websites, it's meant to replace Discord, IRCcloud, Slack, etc.

4 Name: Anonymous Techie : 2021-11-06 14:24 ID:zfLNHxHN

Fuck off, IRC is still the best mass communications medium. Jabber is second to it. If you want encryption use Jabber with PGP or PGP encrypted emails. Matrix and Discord suck equally.

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.

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

XMPP & Matrix (2)

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.

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: