Forgot your password?
typodupeerror

Comment: Re:GUI applications (Score 2, Informative) 304

by jfim (#31004202) Attached to: Facebook's HipHop Also a PHP Webserver

This happens sometimes when I screw up doing pointer arithmetics or when I do not check array bounds.

To cure this, I started designing a system were I will abstract pointers with my own custom library. It will also automatically free the memory from unused objects. I will call it "memory recollection".

I am also designing my own custom third party library to automatically check array bounds ;-))

You mean like boost::shared_ptr and std::vector::at() ?

Comment: Re:solution in search of a problem (Score 1) 531

by jfim (#30954446) Attached to: Has Apple Created the Perfect Board Game Platform?

I used to play a board game similar to Risk, that had tokens, little standing cards, the value of which were only visible to me. So you have an army and the opponent has an army, you see various soldiers, but you don't know what they are. Some tokens are soldiers, some are mines, there is one that is the flag. The idea is to capture the flag by 'attacking' it. When one player attacks the other, he challenges the opponent's token soldier with his own. Now the soldiers are compared, if one has a higher rank, he wins, the opponent's token is removed. If both are the same rank, both are removed.

Are you talking about Stratego?

Comment: Re:Big Plus! (Score 3, Insightful) 217

by jfim (#30266436) Attached to: G-WAN, Another Free Web Server

Finding where a program crashed is way easier than finding a logic error, and those can occur in any language. Actually, debugging crashes can lead to discovery of certain kinds of logic and/or runtime errors that would be difficult to find if your runtime environment is protecting you from ever seeing a crash (heaven forbid).

Except when your non-protected runtime doesn't crash and instead overwrites the stack, corrupts the malloc arena or writes to a dangling pointer causing corruption in a completely unrelated part of the program. Hours and hours of fun!

One of the most important thing that managed programming languages brought is the fact that other parts of the program can't corrupt the system enough to make things undebuggable and that an error in a module is self-contained enough that it can't trample other parts of the program due to a memory error.

I do agree though that C and other unmanaged languages should still be taught.

Comment: Re:I hope it catches on (Score 1, Insightful) 160

by jfim (#30049434) Attached to: Apple's Mini DisplayPort Officially Adopted By VESA

it saddens me when i see people who not only fail to see farther than their own noses (the hardware they personally deal in), but also forget to look back in history (the hardware we used, grew out of, and abandoned in favor of something better - our own progress).

by your arguments, we would never have arrived to where we were 10 years ago with Fast Ethernet, VGA, serial and parallel connectors, USB1.0, parallel ATA etc., and we wouldn't be where we are today, with DisplayPort, DVI, serial ATA, optical/gigabit Ethernet and 802.11 wireless, USB2/3 etc. - all of the latter being technologies that i'm certain you enjoy thoroughly, in loving favor of the alternatives you had 10 years ago.

and i'm sure even you can figure out that if we stick with your rationale, we won't arrive at tomorrow's technology either.

I didn't argue against new standards, as much as you seem to want to put words in my mouth, but rather at you saying that because we use some older standards because we need things to work instead of using the new whizbang technology we're just a "crowd of conservative oddballs and anal retentives, barking like old dogs refusing to learn how to sit, for keeping old standards, trying to justify it by reasons of pointless, smelly compatibility that is long past its expiry date."

There are other things than just the consumer market and some of us have specialized equipment for which older interfaces are needed because replacing the equipment for no reason other than "it uses the new connector/interface" is simply ridiculous.

Comment: Re:I hope it catches on (Score 4, Insightful) 160

by jfim (#30048088) Attached to: Apple's Mini DisplayPort Officially Adopted By VESA

Agree fully. I still drop my jaw everytime I see a laptop from the past 3-4 years still sporting a friggin' VGA connector, or even worse, from some "PC" manufacturers, a parallel port.

Sadly, there will always be that crowd of conservative oddballs and anal retentives, barking like old dogs refusing to learn how to sit, for keeping old standards, trying to justify it by reasons of pointless, smelly compatibility that is long past its expiry date.....and everyone knows they are the ones who contribute to nothing but stagnation, not the ones who help driving the world forward.

Yeah, just like people using serial ports to program Cisco gear or people in EE using serial ports to program microcontrollers by plugging the RX and TX pins directly to a serial port. And what about those people presenting their research at conferences around the world wanting to use a display connector that's supported on every single projector around the world in all convention centres instead of carrying a suitcase of adapters. We all know those aren't the people who help drive the world forwards, right?

Comment: Re:Internet sharing? (Score 4, Informative) 234

by jfim (#29965650) Attached to: Unfinished Windows 7 Hotspot Feature Exploited

What is the difference between this and creating an ad-hoc network and enabling internet connection sharing for the physical port in Vista (and XP, and OS X, and Linux)?

It's an actual access point, not an ad hoc network. My Android Dev Phone 1(which does not support connecting to ad hoc networks) can connect to it.

Comment: Re:Statistical nothing (Score 4, Informative) 512

by jfim (#28355439) Attached to: Statistical Suspicions In Iran's Election

They somehow managed to hand-count ~40M votes in a couple hours. It doesn't take a brain surgeon (or a statistician, in this case) to realize there's something fishy going on.

How so? I believe the way it works in Canada is that ballots are counted at each polling station and parties are free to have a representative oversee the election process. This ensures that we have an unofficial count a couple of hours after the polling stations close. (See The Electoral System of Canada, on page 34 of the PDF)

The official count comes, by law, up to seven days later, but it usually doesn't differ from the unofficial count.

Comment: Re:Stop asking for the other kind of free (Score 2, Informative) 178

by jfim (#28278035) Attached to: <em>Dungeons &amp; Dragons Online</em> Goes Free-To-Play

Only if you are an idiot. The first rule of client-server programming is don't trust the client. Don't give the client any more data than it needs, validate all messages from the client. Things like wall hacks only work because the server is providing the client with too much information. Speed hacks only work because the server is allowing the client to move more than the correct amount (i.e. not validating the input). As for tripling the size of on-screen enemies and aimbots; if your game depends so much on your ability to click accurately on small things to be fun, the odds are that it isn't.

No, wallhacks work because it is very expensive to perform thorough visibility checks on every single frame of the game(See Potentially visible set on Wikipedia). The idea is that a precalculated set of areas have information as to which other areas are potentially visible from that particular area. This means that an area spanning a corridor would have visibility into adjacent corridors, and thus, you could 'see' around corners with translucent walls.

Pushing more information towards the client is an optimization, in the same way that database denormalization is. In an ideal world, you wouldn't need either of those, but we're still bound by performance constraints.

Comment: Re:Stop asking for the other kind of free (Score 1) 178

by jfim (#28277969) Attached to: <em>Dungeons &amp; Dragons Online</em> Goes Free-To-Play

So closed source games are free of said hacks? No? Well, I be damned!

There's this thing - the "server". It can do things like "hack prevention" and "sanity checks". Who's to say that the only contribution to open source would be client-side hacks and not server-side anti-hack improvements?

I'm not argueing for open source games, but saying there will be hacks because of open source is just as dumb as saying an open source encryption tool is less secure than closed source security-by-obscurity implementation.

There are limits to what server-side checking can do. When your MMO starts getting overrun by people with autoclickers, bots and other annoyances that can be done client-side, no amount of server-side checking can help you.

Comment: Re:Learn from past mistakes (Score 1) 65

by jfim (#28240775) Attached to: How <em>Demigod's</em> Networking Problems Were Fixed

I mean World of Warcraft, has absolutely no CD protection, hell you can just copy the entire folder to a new PC and start to play, you don't even need installation. Yet they earn millions every day.

Why would they put copy protection on the game anyway, they make most of their money selling subscriptions, not retail boxes. Besides, even if someone copies the game and subscribes to WoW, they probably make more profit on one month of subscription fees than whatever trickles through the retail chain back to Blizzard.

Comment: Re:who is misrepresenting the truth (Score 1) 396

by jfim (#27567467) Attached to: Was the Amazon De-Listing Situation a Glitch Or a Hack?

The exclusion of pornographic content was a new, intentional policy.

Actually, it's been there for quite a while. I've been told by an Amazon employee a couple years ago that they do have it, it just doesn't appear in their catalog nor in recommendations. However, if you are to search for specific titles or names, you'll find what you are looking for, or so I've been told.

Comment: Re:Dubious (Score 1) 545

by jfim (#27557013) Attached to: 83% of Businesses Won't Bother With Windows 7

Indeed, it's a pretty dubious statistic. Anyway, what kind of business desperately needs to update in the first months of an OS release(excluding software development/testing)?

Besides, if your business relies on having some mission-critical piece of software that your vendor still hasn't managed to make work on Vista by now, you should seriously consider kicking that vendor to the curb for being incompetent twits and migrating away from them.

Federal grants are offered for... research into the recreation potential of interplanetary space travel for the culturally disadvantaged.

Working...