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.
>>343
Thank you for your reply.
The output of ifconfig gives me values for "inet addr," "Bcast," and "Mask." So I guess I can assume those values are the current LAN address, the Broadcast and the Netmask? Should the broadcast number look something like 255.255.255.255? I know the mask should look like that, but other guides say that the broadcast should be the last address in your network's range, like, for your example, "192.168.0.255," so the output confuses me a little.
Does iTunes for Windows do anything to your music files at all?
As in, does it have any sort of deal where when you add your giantass folder of music to its library, it renames all the music files to random alphanumeric things like "HH23X9.mp3 and then places them in a folder tree with names much similar to that? Or does it add some sort of code to your files that only allows them to be played back from within iTunes?
For various reasons I will be forced to use iTunes for the management of my music library but I'm almost scared to try this because I hear things like this about iTunes for Windows very frequently.
Can anyone confirm or deny any of this for me?
>>346
I only used it briefly, but I think it stores its own metadata without actually touching your files. That would create problems for a lot of people.
There's probably an option to move/rename/tag music, though.
>>344
I use Debian wheezy and the official Firefox binaries.
Just go to the Firefox website and hit the download button. It'll give you a .tar.bz2 with firefox/
inside. Extract that somewhere you have read/write access to--I used /opt/firefox/
. After that, add that directory to your $PATH
(e.g. open up ~/.profile
and add something like PATH="/opt/firefox:$PATH"
). Firefox's own updater should be able to update the software with no problems. Setting up any sort of desktop or menu shortcut shouldn't be difficult, just set it to run firefox
(or the full pathname) and to use the icon in the firefox/icons/
directory.
Admittedly, it's not the best solution, but it works and ensures you get timely updates straight from Mozilla, with all the dependencies included. However, you may run into troubles with update-alternatives and the like, and you might have to set some options in your desktop environment (if you use one). But in lieu of a proper Mozilla Debian repository (maybe there is one, I haven't checked), it's one of the easiest ways to go about it. Maybe someone a little more package-savvy than myself could write a script that automatically fetches the latest binary, packs it into a .deb, and adds the relevant metadata? I don't see why it would be too hard.
How do I define my own keyboard shortcuts in Firefox under Linux? Make whatever keys I want perform whatever action I want and whatnot?
Running Debian 64-bit. Tried to enable multiarch to install Wine 32bit. I was suggested these commands by the "wine64-bin helper package." I ran these commands as root:
# dpkg --add-architecture i386
# apt-get update
# apt-get install wine-bin:i386
When I tried the last command, this was the output:
The most relevant information, I think, is at the bottom:
dpkg: error: --configure needs a valid package name but 'libuuid1' is not: ambiguous package name 'libuuid1' with more than one installed instance
And:
E: Sub-process /usr/bin/dpkg returned an error code (2)
The bigger problem is this: the same thing happens when I try to install anything from my package manager. Am I going to have to reinstall?
It's not that huge of a deal if I do, but it will be kind of a bitch. I'll keep looking for solutions and post if I ever get dpkg working again.
>>350
Same idiot again. I'm going to go ahead and just backup and reinstall, but if anyone has had this happen before and got it fixed, you can post it. I imagine I'm not the only one, even if it seems like it from the google results I got.
I need Java for homework. I installed it and this is the error I keep getting http://tinypic.com/r/2ir2kjq/
Disabling this is not an option, I must have it or I cannot do my homework. What am I supposed to do?
seems that link does not work, here's a more direct link? I can only hope
>>344
ubuntuzilla is a repository containing the latest stable versions of mozilla's three programs.
currently hosted at sourceforge.
I recently bought a Gateway DX4375-UR22. It came with a 1 terabyte hard drive. I turned it on, and it booted up using Ubuntu. Me being me, I stupidly decided to take it apart. I put it back together, and now there is a problem with the hard drive. Everything else works fine, except for the hard drive. The drive is a Seagate Barracuda 1000 Gigabyte. I decided to try it in another computer, but the other one does not recognize it as a drive. I tried putting a hard drive from another computer into the Gateway to see if it would boot, but no luck. The seagate drive spins, but it is not transferring data or being recognized. Can I save the drive? How can I boot up the computer?
You didn't take the fucking drive itself apart, did you? If so it's fucked, buy a new one.
If I'm reading you wrong, then I guess the chances are you didn't plug it in properly. It's getting power fine, but are you sure there's any actual data connection?
hello i d like to know how 3d physics and geometry interaction happens in game?
like perhaps how polygons and vector points causes the objects to behave
>>358
Hm. First, this is usually done by existing engines. There are 2d physics engines and 3d physics engines, search for them. In simple cases you don't really need for them though.
Try watching unity tutorials, they explained how models often have a different simplified model specifically for physics. Something that looks like a chair may have a much more low polygon collision box than the model you actually look at.
In 2d games, hitboxes are often a bunch of squares, but they can be a bunch of circles, or even repeat the shape of what you see pixel to pixel.
Wow this place is fucking dead.
which one is more expensive, voxel or polygon or ellipsoids and how do we calculate/know the gpu expense
how to calculate the RAM required to run a software from its codes and during programming
>which one is more expensive, voxel or polygon or ellipsoids and how do we calculate/know the gpu expense
Existing videocards only work with poligons. At least used to, maybe some insane people made videocards specifically for voxels or something.
>how to calculate the RAM required to run a software from its codes and during programming
1) Run program
2) See how much memory it eats in resource manager or something
>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
>>361
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.
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).
>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?
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
2f0a0a
ubuntu@ubuntu:/$
>>367
Use bash -c:
ubuntu@ubuntu:/$ bash -c 'echo "2f0a0a" | if [[ "2f0a0a" =~ "2f" ]]; then echo "2f0a0a" | xxd -ps -r -; else echo "2f0a0a"; fi'
/
ubuntu@ubuntu:/$
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....
>>369
TCP/IP illustrated volume 1
The Linux Command Line https://linuxcommand.org/tlcl.php
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
https://youtu.be/-ngUCwEVtlI
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;
}
>>372 >complicated
that didnt took you a whole page.
is this proven though? what is a rotation?
>>372
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.
>>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.
>>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;
};
>>376 thres also sagital rotation, as in roads being tilted. so i guess then the array will contain a stack of 2d maps?
>>376 also that s just the graphic right? collission/physics not incuded i guess?
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?
Please explain how ramps are programmed here https://www.lexaloffle.com/bbs/?pid=72871
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?
how do i learn cloud engineering
1) google "cloud engineering courses"
2) pay for those
3) be disappointed that you didn't pay me instead
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.
Godot is capable of creating webbrowser games. You might want to look into webassembly.
https://www.youtube.com/watch?v=t_rzYnXEQlE
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.
https://github.com/danielmm8888/TF2Classic
team fortress 2 classic source code. An outdated version, but maybe worth taking a peak at.
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.
>>387
It's for the knowledge and the challenge itself. The fame is only a useful side effect.
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.
https://4-ch.net/img/src/1655451139489.jpg
If I were to one day write a board software, here are good references.
https://github.com/kennell/imageboards
https://overscript.net
https://github.com/ccd0/imageboards.json/blob/gh-pages/imageboards.json
https://sites.google.com/site/powturbo/home/benchmark
to create a .net forms project from console, type this
dotnet new winforms
https://stackoverflow.com/questions/43390466/is-visual-studio-community-a-30-day-trial
resetting trial period in visual studio
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.
Is Visual Basic even worth learning these days? It seems like a throaway language to me.
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.
Okay so I might try out eComStation. Archive.org has an ISO available. Hopefully I can get it working.
How do I learn the truth and escape the Matrix?
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?
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
not sure why i said install kareha ON apache.
I meant install kareha on debian
you get the point
well i at least was able to get the perl script to execute instead of download now.. that's progress
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
i figured it out
>>405
Post your solution to your problem.
Can I run Windows software on Solaris using wine?
>>397
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..
>>398
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... :(
>>408
If IBM released the source Microsoft would have raped it. They are slowly raping Linux now.
How the fuck do i use a computer?
>>407
yes but lil trickkkky
but not on sparc cpus
How do I patch KDE 2 on the FreeBSD?
How the hell am I supposed to sort CSS selectors in my stylesheet?
Alphabetically?
fuck this i am just putting all my stuff inline
I'd sort by specificity[1], then alphabetically. Maybe split into groups if the file grows large, and sort them alphabetically.
[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity