topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday December 20, 2025, 1:14 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 92 93 94 95 96 [97] 98 99 100 101 102 ... 364next
2401
Living Room / Re: Apple instigates Police Raid over lost/stolen iPhone 4G
« Last post by f0dder on April 27, 2010, 12:50 PM »
There is a element of corporate espionage here, it's more serious than just the phone.
I still think it's bull - like when American lobbyists flexed their muscles enough to get JLJ's home raided (even though he did nothing wrong according to Norwegian law) back in the DeCSS days.
2402
Living Room / Re: Apple instigates Police Raid over lost/stolen iPhone 4G
« Last post by f0dder on April 27, 2010, 12:31 PM »
Lost and found doesn't equal stolen. You are of course supposed to go to steps to return a good before you can claim ownership and I tend to agree Gizmodo's actions here are very dubious.
Dubious indeed, and they deserved a visit by law enforcement and having the phone confiscated.

But a full search, being treated like a dangerous criminal, and seizing computers and servers? That's f*cking insane, and pisses me off. It's a phone they were supposed to retrieve.
2403
Mini-Reviews by Members / Re: Proto, another approach to file managing
« Last post by f0dder on April 26, 2010, 05:41 AM »
might be - I've got full disk encryption
Shouldn't affect fragmentation, and shouldn't slow things down much unless it's improperly implemented - ah well :)
2404
Mini-Reviews by Members / Re: Proto, another approach to file managing
« Last post by f0dder on April 26, 2010, 04:57 AM »
it took 1 sec for the results to show up on my laptop... soooo... are you calling me a liar? ;)

damn it, I mean 1 min, not 1 sec
Oh, that sounds a lot slower than I would have expected! Is your MFT heavily fragmented?
2405
Mini-Reviews by Members / Re: Proto, another approach to file managing
« Last post by f0dder on April 25, 2010, 11:48 AM »
everything is still pretty darn fast on the first search
it took 1 sec for the results to show up on my laptop... soooo... are you calling me a liar? ;)
No, I am not :) - but compare 1sec partition-wide find to what a normal directory-traversal search would take :P
2406
Java / Re: Beginner's dumb question ...
« Last post by f0dder on April 23, 2010, 10:42 AM »
Hm, I'm not sure trying to do that a good idea - a String isn't a Product. You can do item.getName().compareTo(itemNameString) :)

You can also do a
Code: Java [Select]
  1. @override
  2. public String toString()
  3. {
  4.   return this.name;
  5. }
2407
Mini-Reviews by Members / Re: Proto, another approach to file managing
« Last post by f0dder on April 22, 2010, 12:36 PM »
miechu: everything is still pretty darn fast on the first search, though, since it reads the MFT directly, as nudone mentioned.
2408
Java / Re: Beginner's dumb question ...
« Last post by f0dder on April 22, 2010, 09:17 AM »

First, the code - I've included only the relevant changes, so they're easy to see.

Code: Java [Select]
  1. public class Product implements Comparable<Product>
  2. {
  3.         // rest of stuff goes here
  4.        
  5.         @Override
  6.         public int compareTo(Product other)
  7.         {
  8.                 int comparison = 0;
  9.                 comparison = other.getNumInStock() - this.getNumInStock();
  10.                 return comparison;
  11.         }
  12. }

The first thing to notice is that we're now saying the Product implements the Comparable interface, specialized for Product. In other words: we're telling the compiler we can compare Products to other Products.

Next, notice that compareTo() now takes a *Product* as the "other" object. If you had just implemented the Comparable interface (without specializing it for Product), you would get an Object and not a Product, which you'd then have to typecast and be all messy about.

Finally, notice the @Override attribute. This tells the compiler that you're *expecting* a base class to provide a compareTo method that you want to override - if it doesn't (you forgot to add an "implements interface", or have misspelled the method name, or aren't using the right argument overloads), you'll get a compiler warning rather than scratching your beard wondering why your (not really :)) overriden method is never called.

Hope this helps!
2409
Living Room / Re: Pure Boredom Post: The 3 Word Story Game
« Last post by f0dder on April 19, 2010, 04:37 AM »
full of fail
2410
Living Room / Re: Should I swtich from w7 32 bit to w7 64 bit?
« Last post by f0dder on April 18, 2010, 10:51 AM »
Tekzel, while you can only address 4GB on a 32bit system, we've had PAE since the ppro, allowing the use of 64GB on a 32bit system. Yeah, an app can only see 4GB, but those 4GB can be mapped to any part of the physical memory space... which brings us back to the "devices eating up memory" - this is easily solvable by remapping memory, but MS doesn't support that on 32bit client versions of Windows. Pre-SP1, XP actually did support it (but still - arbitrarily - limited itself to support only 4GB of physical memory). With SP1, the system was changed to support only the lower 4GB of physical memory address space, because of fscktarded driver developers thinking "I'm writing a 32bit driver, I only need to look at the lower 32bit of the PHYSICAL_ADDRESSes".
2411
General Software Discussion / Re: Need help regarding DOS and BAT files.
« Last post by f0dder on April 15, 2010, 06:14 PM »
I think you completely missed the point, Tuxman.

Language technicalities != libraries. Anybody who has had to deal with template errors, code behaving inconsistently because of subtle language rules allowing aggressive optimizations, implicit conversions you didn't expect, et cetera(!) would probably agree with me that C++ isn't the best language to start with. Java is just a lot friendlier in that regard.

"There is a library for everything, so basically it is just C&P." is bullshit, and using existing libraries doesn't mean you aren't going to understand what you're doing. When is the last time you wrote your own memory manager, anyway?
2412
Living Room / Re: Apple Attacks Adobe
« Last post by f0dder on April 15, 2010, 08:49 AM »
(I'm no fan of Adobe either, but you get what you deserve when playing with proprietary software and hardware.)
Get what you deserve?  That's sort of harsh language... like blaming the victim for being mugged just because they were walking through a bad neighborhood.  Some people prefer working with closed systems that just work... do they deserve to be gimped by the product maker whims?  It might be legal, but I wouldn't say it's ethical...
+1
2413
General Software Discussion / Re: Any upload hash checking/comparing software?
« Last post by f0dder on April 14, 2010, 05:48 PM »
You can't do a checksum on the remote files without downloading them :) (unless there's some really funky FTP daemon that has a checksum SITE command, but haven't heard of one).

A guy I know worked on a custom ftp client years ago that would create checksum files for every file you uploaded, with a hash for each chunk of the file so you would only have to re-download corrupt pieces. Dunno if he ever produced even a proof-of-concept, I've never heard of other people doing this, and it would obviously only work for files that you've uploaded with the custom client. *shrug*.
2414
General Software Discussion / Re: Need help regarding DOS and BAT files.
« Last post by f0dder on April 14, 2010, 05:44 PM »
I heard that making/learning BATCH file is the basic to learn any programming language.
:o :o :o

I wouldn't advise anyone to mess with batch files to learn programming. It's very limited in functionality, you have to work around instead of with the language to get things done, and it's not easy to structure things for easy readability.

If you want to start with a scripting language, something like Python would be a much better choice. And for an OOP language, I'd suggest Java (yes, Java and not C++... C++ is a big mouthful and it's easy to get lost in language technicalities instead of actually learning programming). C# is also pretty nice, but I'd consider Java easier "getting into".
2415
I would hope any half smart program would re-create any folder needed that it created as empty to begin with.
Don't depend on it. After all, if I create a folder I need in an app installer, why would I need to re-create it later on? Pesky users running around touching stuff they shouldn't, sheesh ;)
2416
Announce Your Software/Service/Product / Re: crack tracker
« Last post by f0dder on April 14, 2010, 01:08 AM »
from the statistics of this page I know that 90%+ of my users use such fake keys!
I hope you do something to distinguish being sent there by x^2 and by clicking that link from a normal browser :]
2417
Living Room / Re: Comic: If Real Life Were More Like The Internet
« Last post by f0dder on April 13, 2010, 09:23 AM »
 :Thmbsup:
2418
General Software Discussion / Re: Alternatives to Daemon Tools?
« Last post by f0dder on April 13, 2010, 01:33 AM »
I only have one nag about MagicDisc: it doesn't reset current working directory, even when you unmount an ISO file. This means you have to mount a new .iso (or shut down the tray icon app) if you want to delete the folder you have recently mounted an ISO from.

Agreed. It was one of the few things that put me off of using the program regularly, but considering all the functionality that you get for free for a lot of people this one bug might be worth putting up with in order to enjoy all the functionality.
Somebody should really write them a mail and ask whether this could be fixed - it's a single line of code that would have to be inserted on unmount. That, or fire up a disassembler and fix it :P
2419
Announce Your Software/Service/Product / Re: crack tracker
« Last post by f0dder on April 13, 2010, 01:32 AM »
Sounds to me like this tool would be of more use to pirates for finding cracks...
Hardly. The pirates already know where to look, and even regular users know how to use rapidshare, usenet and public torrent trackers (at least here in .dk, YRMV). Content is widely duplicated across these services, so it's not like this tool will help people who only know one resource, either.
2420
Announce Your Software/Service/Product / Re: crack tracker
« Last post by f0dder on April 12, 2010, 02:53 PM »
Cute idea, Nikos!

Definitely useful if you have a large collection of the public trackers and other download sites. There's a whole lot of private trackers as well, though - going to be hard to do anything about those. But I guess the biggest damage is from the public sites anway :)
2421
General Software Discussion / Re: Alternatives to Daemon Tools?
« Last post by f0dder on April 12, 2010, 02:49 PM »
I have tried every virtual disc program available & there are only two products in this category of software worth using, IMHO. Those two are Daemon Tools and MagicDisc. Every other virtual disc program leaves out support for half of the disc image formats that exist.
I only have one nag about MagicDisc: it doesn't reset current working directory, even when you unmount an ISO file. This means you have to mount a new .iso (or shut down the tray icon app) if you want to delete the folder you have recently mounted an ISO from.
2422
General Software Discussion / Re: updating Firefox plugins sucks!
« Last post by f0dder on April 11, 2010, 03:45 PM »
Curt, neither trimall nor AFOM fix leaks - it's nothing but temporary symptomatic treatment.
2423
Living Room / Re: File Size vs. Size on Disk: Why such a difference?
« Last post by f0dder on April 08, 2010, 10:16 AM »
32kb is a pretty large cluster size - but I guess it might have been set to the flash erase-block size?
2424
Living Room / Re: File Size vs. Size on Disk: Why such a difference?
« Last post by f0dder on April 07, 2010, 05:55 PM »
FAT and NTFS uses the term "cluster size", and multiple files cannot share clusters. NTFS has a size-optimization feature, though, where really-really small files can be stored along with the filesystem metadata about the file.

I guess you have a lot of really small files on that USB stick? Or a ridiculously large cluster size :)
2425
The Getting Organized Experiment of 2009 / Re: Just a Cartoon
« Last post by f0dder on April 06, 2010, 08:31 AM »
Nice :Thmbsup:
Pages: prev1 ... 92 93 94 95 96 [97] 98 99 100 101 102 ... 364next