(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-04-24 06:56 AM
Acmlm's Board - I3 Archive - - Posts by MisterJones
Pages: 1 2 3 4 5 6 7
User Post
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-08-05 12:07 PM, in Datastructures and advanced C++ Link
From my bookmarks.

http://www.relisoft.com/book/
http://www.brpreiss.com/books/opus4/

I had a couple of books (collecting dust at this moment), but I don't recall authors names. Will give names later.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-08-05 12:31 PM, in Useful Software / Links -- Microsoft Windows Link
Hi, I'd like to add a few to the list:

FeedReader (rss feed reader, duh)
http://www.feedreader.com/

KCEasy (multiple protocol p2p)
http://kceasy.com/

Real Alternative + QuickTime Alternative (codecs for Media Player classic)
http://www.free-codecs.com/download/Real_Alternative.htm
http://www.free-codecs.com/download/QuickTime_Alternative.htm

Crimson Editor (awesome text editor)
http://www.crimsoneditor.com/

Code::Blocks (T3H C++ open source IDE)
http://www.codeblocks.org/

Delete this at will if it was out of place
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-09-05 06:12 PM, in Basic and how to use rand() correctly Link
PHP treats the random function a little to different than in many other languages, as it sets a range already. It's more common to see it returning a value between 0 and 1 (although on C it's kind of weird IIRC)
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-19-05 11:54 AM, in Realloc() fails for some reason Link
Closing a file twice with fclose() should not be a problem:

Originally posted by "Standard Library"

fclose
Syntax

#include

int fclose(FILE *file);

Description

This function closes the given file.

Return Value

Zero on success, else EOF.

Portability

ANSI/ISO C C89; C99



Tried to eval result? Have you already tried using a breakpoint there and go step by step checking?

Would be a little stupid from me to say to use stream classes rather than FILE pointers?

try/catch already?


(edited by MisterJones on 12-19-05 10:56 AM)
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-19-05 12:03 PM, in Basic and how to use rand() correctly Link
Originally posted by Disch
Originally posted by MisterJones
(although on C it's kind of weird IIRC)


C is just typically more geared towards integers, so rand() gives a random integer value (between 0 and RAND_MAX, which I believe to be defined as 0x7FFF). However that's easily transformed to a usable range with a simple mod operation:

int something = rand() % 10;

That will give you a random number between 0-9 (inclusive).


Yeah, I was aware of that, I just meant that behave it much more different than many other randomizers. I didn't remember that it only returned integers tho. Been a while.

Originally posted by Zem
?

That's not the best way to do it, it wouldn't be properly weighted. I'll show how with a small-scale example:

Let's say RAND_MAX was 8, and you wanted a number between 0 and 4, so you did rand() % 5. This has (presumably) an equal probability of coming up with each of the following:
0 % 5 = 0
1 % 5 = 1
2 % 5 = 2
3 % 5 = 3
4 % 5 = 4
5 % 5 = 0
6 % 5 = 1
7 % 5 = 2
8 % 5 = 3

You'd end up with a 2/9 chance to get any of 0, 1, 2, or 3, and a 1/9 chance to get 4. Obviously this effect diminishes as the distance between RAND_MAX and your mod increases, but there must be a better way to scale it...


You could try the non-ANSI random()
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-19-05 12:07 PM, in Anyone else getting this? Link
lololol checks mimetype for files. If the server is not correctly configured (or has issues) you might be getting that.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-19-05 02:10 PM, in Opening 4MB files...or well, have a seamless hex editor... Link
Why not map it on memory?
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-22-05 02:30 PM, in Images in CSS? Link
For a little clarification:

style is an html atrribute, providing inline "css" styling. Rather pointless, lacks a lot of control.

class is meant for generic elements that would reuse the same styling. It provides eliminate ambiguosity (SP?) like treating a paragraph element different depending on context (although you could use also inherited elments styling).

id is an address for an specific unique element (like my reduncancy?) that would have one and only one instance in your page. Call it a header, a footer, a navigation bar, whatever.

Plus, divs are overused. Every html elemnt can use styling, goddammit, use proper semantics.


(edited by MisterJones on 12-22-05 01:31 PM)
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-22-05 02:38 PM, in Opening 4MB files...or well, have a seamless hex editor... Link
Originally posted by neotransotaku

Side Note--I would obviously rather program in C/C++. Problem is, I never have been able to pick up a nice windowing toolkit as convenient as Java--I've tried both MFC and WinAPI but the books I've read present way too much information right off the bat (or too difficult to use)



Programming directly on win32 can be a pain for something a little too large, but then, you can encapsulate everytinhg in objects, and make it much simpler.

Good reads:

http://www.winprog.org/tutorial/
http://www.functionx.com/win32/
http://www.foosyerdoos.fsnet.co.uk/ <-- great resource

A way to encapsulate everything:
http://www.relisoft.com/Win32/ if it seems a little too much, try http://www.relisoft.com/book/index.htm first

Avoid mfc as much as you can. I'd rather go with something like wtl, that one from relisoft, or wxWidgets (which is cross-platform)


As for file mapping:
http://www.flipcode.com/articles/article_filemapping-pf.shtml


(edited by MisterJones on 12-22-05 01:43 PM)
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-29-05 02:44 PM, in Random computer weirdness. Link
Off the top of my head:

- Random explorer.exe crash every 10-20 secs. Never knew why that happened, but was a pain in the ass (if not impossible) to open any program, even (back then) nero. Had to backup all my files through the MS Word open dialog! Had to reformat aftet that.

- Dos prompt never opening, no matter what I did. It said that the file i was doubleclicking was not found (eg: I clicked on test.exe, a console app; rather than opening closing it or whatever, a message saying: test.exe was not found was shown). Booting trhough msdos worked fine tho. Scuked for developing my console apps.

- Entire computer freezing randomly, even on boot. I figured it had something to do with my cd-rw drive. Had to remove it and put a new one. Then the random freezing wasn't so random, and ocurred only when copying large files from cd's. After nearly a year (!!), I learned about pc hardware, I learned about ATA and such, and turned out that my IDE cable was fucked up. Changing it solved everything...asdffghj
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-30-05 11:28 AM, in Laptops Link
Abstain buying from compaq. They make/hack their mobos, so it can recognize just a mere dozen of cards, ram and even power supply! I have one, and damn, I hate not being able to upgrade almost anything at all, given its horrible incompatability.

Dell laptops are good specs wise, but at least in my case, their support service sucks. When my brother's lap's battery dide, getting a new one from 'em took years to get a first response, let alone the deliver.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-30-05 01:06 PM, in Custom Case - NES? Link
Originally posted by Nebetsu
Yeah it's been done. You have to use a mini-itx board.
http://www.mini-itx.com/

Instructions for your little project can be found here. As well as a cigar case, a ceramic cow, lego, sega genesis, mini beer thing, etc.

There was one ate-bay on a much cooler approach. The keyboard and mouse had the same "jack"(socket?) as nes controllers, and the cartridge slot was creatively replaced by a dvd drive. It was pretty cool.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 12-30-05 01:07 PM, in Adding more memory. Link
Originally posted by Wurl
Today I realized I'm almost out of memory. I've decided to add a hardrive and was looking for sugestions. I'm on a budget and would prefer external, though they seem to be grossly overpriced. Suggestions?


You can make your own external harddrive out of a regular sata hdd. I think thinkgeek.com has something along those lines.

Ad btw, you are out of space, not memory


(edited by MisterJones on 12-30-05 12:08 PM)
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 01-05-06 11:25 AM, in Laptops Link
Try toshiba
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 01-05-06 11:25 AM, in Problem with Drivers... Link
Try aida32
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 01-07-06 11:57 AM, in c++ - repeating mouse btn Link
Originally posted by KTurbo
Hi ho, I'm trying come up with a code which makes the [mousedown] command repeat itself over and over until you release the mouse btn, it could be use as a e.g. autoshot in a game. Could anyone give me a hint how to do this? _¬



On first mousedown even you could set some switch wichih will do something by default, until the mouseup even comes in.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 01-07-06 12:09 PM, in Merry Christmas (Eve), guys. Link
Originally posted by HyperHacker
Writing your documentation in MS Word = fail. Those of us who don't have crappy expensive word processors can't read it.


Abiword.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 01-07-06 12:46 PM, in Super Maria Sisters Link
Looks pretty nice so far. To be honest, I would have liked a bit more making the baddies uglier (rather than female), in an Umihara kawase context. It may be just because I have never been too fond of the female in monster disguise thing; by that I don't imply your style or work is bad, just expressing my preferences .
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 01-16-06 06:57 PM, in Harddisk space Link
A whopping 12 gb at home; 60 (?) and 40 at school and work, respectively.

Not that I care, most stuff ends up in cds. My only concern are a few games that require lots of megs free.
MisterJones

Tooky








Since: 12-08-05
From: Mexico

Last post: 6374 days
Last view: 6310 days
Posted on 01-16-06 07:02 PM, in internet explorer 6 Link
Originally posted by firemaker
It's a shame that you can't remove IE from explorer and get it to run lololol instead. Didn't actually know that Acrobat Reader required internet explorer though .


I recall seeing a way to remove ie out of your system. It was a painfully method not worth when some apps require ie.

As for pdfs, if they don't use forms, you can always use foxit pdf reader. It rocks and it is damn fucking fast
Pages: 1 2 3 4 5 6 7
Acmlm's Board - I3 Archive - - Posts by MisterJones


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.059 seconds; used 432.93 kB (max 561.53 kB)