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

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.

343 Name: 4n0n4ym0u5 h4xx0r : 2012-08-15 12:15 ID:ByYvKJGI

It's pretty simple after you've done it a couple of times, just like building the Linux kernel as a beginner.

For starters, remember that the IP you'd configure in /etc/network/interfaces is your LAN IP, i.e., not your WAN IP.

Assuming your router is, we could use as our LAN IP. For this, we'd use "address". The "ghetto" method of getting the other values would be to connect via DHCP, run ifconfig, writing down the values, and transferring them into the interfaces file.

Simply add them in, change the address (if necessary), and, voila.

A quick example:

allow-hotplug eth0
iface eth0 inet static
# The other values go here...

Sorry if this guide is shit, not able to access a *nix system right now.

344 Name: 4n0n4ym0u5 h4xx0r : 2012-08-15 20:40 ID:pWCPQU8g

Is there a PPA or repo that always contains the absolute latest version of stable, non-beta, Firefox for any general Debian/.deb based distros? Ubuntu, Crunchbang, Trisquel, that sort?

I'm tired of any of my systems getting left behind with older versions of Firefox because I don't feel that I should have to upgrade the whole OS to get one program.

I've only been able to find a PPA for Firefox Beta: https://launchpad.net/~mozillateam/+archive/firefox-next
And even when I added that to my older Ubuntu system it would still return that message the the currently installed version of Firefox is the latest one. Which it is not since I'm still on version 11 here.

Help, please?

345 Name: 4n0n4ym0u5 h4xx0r : 2012-08-16 03:41 ID:sYCeqEuy

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 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, "," so the output confuses me a little.

346 Name: 4n0n4ym0u5 h4xx0r : 2012-08-27 13:16 ID:yjMoyBq1

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?

347 Name: 4n0n4ym0u5 h4xx0r : 2012-08-28 15:17 ID:HH6HeEdn

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.

348 Name: 4n0n4ym0u5 h4xx0r : 2012-08-28 15:38 ID:HH6HeEdn

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.

349 Name: 4n0n4ym0u5 h4xx0r : 2012-11-08 01:29 ID:LMy80qwp

How do I define my own keyboard shortcuts in Firefox under Linux? Make whatever keys I want perform whatever action I want and whatnot?

350 Name: 4n0n4ym0u5 h4xx0r : 2012-11-11 19:47 ID:LOUpMS5f

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


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.

351 Name: 4n0n4ym0u5 h4xx0r : 2012-11-11 22:32 ID:LOUpMS5f

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.

352 Name: moron : 2013-09-29 21:55 ID:brK8jmNi

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?

353 Name: moron : 2013-09-29 21:57 ID:brK8jmNi

seems that link does not work, here's a more direct link? I can only hope


354 Name: 4n0n4ym0u5 h4xx0r : 2014-01-14 03:47 ID:8ApaitL8

ubuntuzilla is a repository containing the latest stable versions of mozilla's three programs.

currently hosted at sourceforge.

355 Name: 4n0n4ym0u5 h4xx0r : 2018-05-08 00:48 ID:qtedo+Ca

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?

356 Post deleted.

357 Name: 4n0n4ym0u5 h4xx0r : 2018-09-17 04:27 ID:2yNllzAU

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?

358 Name: Anonymous Techie : 2021-04-29 12:43 ID:bqK3TNMb

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

359 Name: Anonymous Techie : 2021-06-15 09:20 ID:qBTBQzxc

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.

360 Name: Anonymous Techie : 2021-06-28 10:38 ID:5Q5GehAF

which one is more expensive, voxel or polygon or ellipsoids and how do we calculate/know the gpu expense

361 Name: Anonymous Techie : 2021-06-28 10:51 ID:5Q5GehAF

how to calculate the RAM required to run a software from its codes and during programming

362 Name: Anonymous Techie : 2021-07-04 17:07 ID:Heaven

>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

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.

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