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

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.

363 Name: Anonymous Techie : 2021-12-16 15:56 ID:+H3xxDHJ

>Tablet crashes for the umpteenth time

Fucking normalfags. We could be leaps and bounds over technological advances, but normalfags are satisfied with incompetent buggy cheaply made shit that falls apart in less than a year

364 Name: Anonymous Techie : 2021-12-19 00:33 ID:b5HBXWVZ

If you know where things get allocated and deallocated, and know the size of them in your language you can probably come up with some values for a given piece of code by just reading through it and keeping track of what's in memory at any given time, if it's not too complicated as to make that unreasonable (you could likely have a static analyzer do that for you in many cases as well, given it's mostly mechanical work). Higher level languages tend to make that harder, but it often isn't impossible.

365 Name: Anonymous Techie : 2021-12-22 21:57 ID:Heaven

What technologies and languages are you guys interested in? There are probably like 3 posters here in total, so I'm curious what everyone has to offer.

I'm interested in gamedev, and I'm most comfortable with python, though I know a bit of everything, C#, Java, javascript, C++, C, x86 and x64 assembly. I'm writing in C++ now, but use about 2% of C++ features, and avoid standard C++ library, using pure winapi instead. Every time memory allocation is involved my brain pretty much freezes in terror, because I don't use vectors or lists, I don't use GlobalAlloc/GlobalFree, I use VirtualAlloc + a probably still buggy List<something> class I wrote + a stack memory allocator that can't free or reuse memory (can only go back to the previous point, by storing somewhere and later restoring usedThisMuchBytes variable).

366 Name: Anonymous Techie : 2022-01-18 20:34 ID:Heaven


>Existing videocards only work with poligons. At least used to, maybe some insane people made videocards specifically for voxels or something.

All modern GPUs are programmable, so there's nothing stopping you from implementing ellipsoid rendering as a fragment shader. This is virtually guaranteed to be slower than the polygon-based rendering that is implemented directly in the GPU hardware though. At least as far as I'm aware, anyone here have OpenGL experience to comment on this?

367 Name: Anonymous Techie : 2022-02-08 02:53 ID:aEbAKL+9

Why does sh have a problem with "[["? How do I escape it?

ubuntu@ubuntu:/$ echo "2f0a0a" | if [[ "2f0a0a" =~ "2f" ]]; then echo "2f0a0a" | xxd -ps -r -; else echo "2f0a0a"; fi

ubuntu@ubuntu:/$ sh -c 'echo "2f0a0a" | if [[ "2f0a0a" =~ "2f" ]]; then echo "2f0a0a" | xxd -ps -r -; else echo "2f0a0a"; fi'
sh: 1: [[: not found

368 Name: Anonymous Techie : 2022-02-08 03:42 ID:aEbAKL+9

Use bash -c:

ubuntu@ubuntu:/$ bash -c 'echo "2f0a0a" | if [[ "2f0a0a" =~ "2f" ]]; then echo "2f0a0a" | xxd -ps -r -; else echo "2f0a0a"; fi'


369 Name: Anonymous Techie : 2022-02-20 14:28 ID:DQBSsgwF

can you get support studying cloud computing? im very discouraged after failing the first cert test which only have like 10 questions... im not sure i get the whole thing..

i really wanna jump about the whole subject and get a well paying career in it....

370 Name: Anonymous Techie : 2022-03-15 01:11 ID:ykAIIrkJ

TCP/IP illustrated volume 1
The Linux Command Line https://linuxcommand.org/tlcl.php

371 Name: Anonymous Techie : 2022-03-26 07:44 ID:qThOhff0

How did games like powerdrift defines the tracks back then?
curious how slopes, tilt and elevation was defined even without 3d. also the small tiny lumps gets different treatment too

372 Name: Anonymous Techie : 2022-03-26 14:36 ID:Heaven

You're a fan of asking extremely complicated questions, huh.

Most likely a 2d array. Each element in that array is something like
struct map_element {
int type;
int height;
int rotation;

373 Name: Anonymous Techie : 2022-03-27 00:54 ID:T0QDN3AF

>>372 >complicated
that didnt took you a whole page.
is this proven though? what is a rotation?

374 Name: Anonymous Techie : 2022-03-27 04:40 ID:Heaven

At what angle the fragment of a map is placed. This doesn't seem that important for decorative elements in background like trees, they never rotate, but chunks of map do. I don't know if you can even leave track in that game, so I don't know if you can collide with a tree.

It is also possible that the racing track is stored like a bunch of vectors, array of vectors, "this goes stright and up" "this goes a bit left", "this goes left a lot".

Knowing how it was made back then wouldn't help you much with making games now, technologies are very different.

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

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

I'm don't kill hookers for monkeys

385 Name: Anonymous Techie : 2022-05-31 07:26 ID:68+5RGIo

Does anyone have a recommendation for a technology to build a (relatively) simple game/app that runs in browsers these days?

I would like something a bit more intended for working with graphics/a main loop than JS

Something like Flash or Unity, but hopefully lighter weight.

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.

396 Name: Anonymous Techie : 2023-06-10 22:18 ID:cwjMQfgc

Is Visual Basic even worth learning these days? It seems like a throaway language to me.

397 Name: Anonymous Techie : 2023-08-27 17:04 ID:ZAjEoRWx

What's a fun operating system I can play around with in a VM? I was playing around with Windows 95 recently since I missed using it and actually built an old 486 to use it properly with. But I want to try something else. It could be a Windows OS, Linux, Inbox, BSD or something else. I've played with Haiku and like it so I don't want to use that again.

Pls respond and let me know.

398 Name: Anonymous Techie : 2023-08-27 19:43 ID:ZAjEoRWx


Okay so I might try out eComStation. Archive.org has an ISO available. Hopefully I can get it working.


399 Name: Anonymous Techie : 2023-08-28 01:57 ID:mkrurfzl

How do I learn the truth and escape the Matrix?

400 Name: Anonymous Techie : 2023-09-03 00:27 ID:gbGy1V80

how do i install kareha on apache? i've been following the guide at
I cannot for the life of me get the server to run the kareha.pl script when I navigate it to a web browser (the browser instead prompts me to download the file). I have tried setting the script to executable, adding "Options +ExecCGI
AddHandler", and "cgi-handler .cgi .pl" to the apache2.conf file, and setting the hashbang at the beginning of the script. What else am i missing?

401 Name: Anonymous Techie : 2023-09-03 00:29 ID:gbGy1V80

weird it wouldn't let me post this link
first line should be
how do i install kareha on apache? i've been following the guide at wakaba(DOT)c3(DOT)cx/docs/docs.html#KarehaQuickStart

402 Name: Anonymous Techie : 2023-09-03 01:35 ID:gbGy1V80

not sure why i said install kareha ON apache.
I meant install kareha on debian
you get the point

403 Name: Anonymous Techie : 2023-09-03 04:41 ID:gbGy1V80

well i at least was able to get the perl script to execute instead of download now.. that's progress

404 Name: Anonymous Techie : 2023-09-04 03:29 ID:4eaMIM2N

still can't figure it out
i can get kareha.pl to run inside the cgi-bin directory, but kareha doesn't work when run from there
I have "Options +ExecCGI
AddHandler", and "cgi-handler .cgi .pl" in the directory that the kareha files are in, still can't get it to work. When i navigate to kareha.pl in my browser, it just downloads the file

405 Name: Anonymous Techie : 2023-09-04 16:40 ID:4eaMIM2N

i figured it out

406 Name: Anonymous Techie : 2023-09-05 15:13 ID:Heaven

Post your solution to your problem.

407 Name: Anonymous Techie : 2023-10-29 00:23 ID:3sj/2ydQ

Can I run Windows software on Solaris using wine?

408 Name: Anonymous Techie : 2023-10-29 03:39 ID:iiFBMAJc

I would say RISC OS, a classic like OS/2, but you may need an ARM computer/emul to make it run. Think ppl got it to run on a Raspberry Pi.

As for x86 platform, a little, often overlooked one is GEOS for PC. Similar Win 3.x, nowadays it is foss, iirc. Also marketed as GEOWorks, Breadbox Ensemble a.o..

Newest is OS/2 derivate is ArcaOS, but non-free. Quite a bit modernised, so it installs on more recent PCs. Sadly idiots at IBM never released OS/2 source, could have been the better Windows... :(

409 Name: Anonymous Techie : 2023-11-02 10:42 ID:nbIVMqvK

If IBM released the source Microsoft would have raped it. They are slowly raping Linux now.

410 Name: Anonymous Techie : 2023-12-17 08:38 ID:S6yhZ2Ww

How the fuck do i use a computer?

411 Name: Anonymous Techie : 2023-12-24 00:05 ID:q9HlMQBD


Post tits.

Captcha: yum

412 Name: Anonymous Techie : 2024-02-20 01:30 ID:nq6q7/+6

Read the manual

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