topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Sunday December 21, 2025, 8:23 pm
  • 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 ... 161 162 163 164 165 [166] 167 168 169 170 171 ... 364next
4126
Living Room / Re: DC T-Shirts idea.
« Last post by f0dder on January 08, 2009, 01:53 PM »
Heh, there's a googlecode project called zxing - they claim it's for "zebra crossing". Am I the only one who reads that as something tooootally different? :-[
4127
I was thinking more about this & thought that it might be useful if the program had a once-only or list of passwords that it cycled through. That would mean that the password could be given to someone to access the information, but that it would not work on a second occasion. Doesn't really matter then if the friend records it as it would no longer work, so long as they did use it immediately.
You can't do that reliably.

The closest would be some cryptographic function that transforms the current date and combines with a passphrase, but that would be slightly clunky, and could be defeated simply by setting the PC's clock back.
4128
Living Room / Re: Sound Recorder freeware - anyone?
« Last post by f0dder on January 08, 2009, 01:26 PM »
ImgBurn handles all my needs pretty well - and it's not really that geeky, you don't need to mess with options you don't use :)

Audacity is another freeware (and opensores) wave editing program, iirc it works portably. I'm not a super big fan of it and it seems somewhat slow and clunky, but it gets the job done and is free.
4129
tomos: spot on the sugar.

Lashiec: it's stupid doing silly things just to be different :)
4130
General Software Discussion / Re: WINDOWS 7 THREAD (ongoing)
« Last post by f0dder on January 08, 2009, 08:38 AM »
Carol: true, and Vista certainly isn't perfect. But the experience on my laptop hasn't been nearly as bad as some people feel it is... It doesn't feel sluggish and UAC doesn't annoy me. I don't like the DRM shit (even if it isn't affecting me), I'd love lower resource consumption (even if the system DOES feel snappy), and I haven't had problems with sound latency...
4131
Do you have a "secondary channel" that is relatively secure? Ie, could you send the person an email with encoded content, and call them on the phone/send an SMS to give them a passphrase for this encoded content? In that case, fSekrit would probably suffice - although there's the problem of some email providers blocking .exe attachments.

Sorry for the self-promotion, but it was the first thing that sprung to mind :)
4132
Why go from FireFox to IE? O_o

Anyway, if you're on Vista and you're smart enough to keep UAC turned on, IE8 adds a sandbox mode that should make browsing the web safer. I still don't see why anybody sensible would use IE instead of FF3, though.
4133
Living Room / Re: New Ipod/ cleaning mp3s
« Last post by f0dder on January 08, 2009, 05:57 AM »
There shouldn't really be any harm in transferring MP3 files directly to the ipod - at least I haven't heard of any attacks coming that way (there's been some media player exploits, but can't remember if that was through MP3 or WMA). I wouldn't worry, really.

As for iTunes, yeah it's a big pile of junk. But you made a mistake in choosing an apple product - you will need to use a synchronization app that understands the iPod, and can't just copy your MP3 files directly to the device. There are alternatives to iJunk, though - iirc there's a winamp plugin, and I've heard people say good things about anapod (but have no experience with it myself).

Personally, I'm glad I got a sandisk sansa e280... 8gig built-in flash, and an added 8gig SD micro card. There's a long way to go to harddisk-sized capacity, but 16 gigs on the go is good enough for me, and I transfer files simply by copying via explorer :)
4134
General Software Discussion / Re: WINDOWS 7 THREAD (ongoing)
« Last post by f0dder on January 08, 2009, 05:43 AM »
Given that MS have extended the distribution of OEM WinXP until the 30th May it seems that even MS have given up and finally admitted that Vista has been a bad experience for everyone ;)
Not on my laptop :)
4135
Living Room / Re: Please help me build my new computer, DC!
« Last post by f0dder on January 08, 2009, 12:58 AM »
The problem with S.M.A.R.T is that it's a brilliant idea, but the specification & implementation is retarded - there really isn't any standard as for what the raw values mean, so the only thing an application can logically test is whether the value falls below the threshold.

IMHO there should have been specifications for at least the common values - ie., reallocated sector count should be (duh!) the count of sectors that have been reallocated, HD temperature should be mentioned in Celsius, etc. (OK, some values wouldn't fit within a single byte then, but the field size coooould be extended).

Anyway, I'd say the drive is good to go :Thmbsup:
4136
General Software Discussion / Re: teracopy: copy your files faster
« Last post by f0dder on January 08, 2009, 12:30 AM »
Dunno if number of platters/spindles has much to say, as you don't really have control over which files go where :)

NCQ helps mitigate seek thrashing, but does not remove it - if you can avoid excessive seeking, you should.

I don't know how much drive cache memory matters to be honest, the benchmarks I've seen have been unable to show a difference between 16MB and 32MB of disk cache. I'm sure that some amount is crucial, but when do we stop seeing gains? Certainly the benefit would be a lot larger is your Operation System didn't do read/write caching. But since it does, what are the (quantifiable!) situations where the on-disk cache matters? I've been pondering this for a couple of weeks now :)

If you have a system that does "insane caching" of writes (the kind only battery-backed devices usually dare), then multiple writing threads very likely isn't a problem, and the hardware can take it's time to re-order the writes and do as much sequential bursting as possible, avoiding seek thrashing, and giving good speeds.

As for SMB/CIFS (two names, same thing), SMBv1 (the protocol used up to and including XP) shows it's age and limitations. Iirc the problem is a mix of request-packet size as well as ACKs for each "packet", whereas SMBv2 (again, iirc - I should read up on this!) increases the "packet" size substantially, as well as allows for pipelining. The net effect is that SMBv2 should be able to utilize gigabit (and faster) connections a lot better, whereas SMBv1 (even on copying a single huge file) will usually cap out at around 30MB/s or so, even with various network tweaks (I get ~32MB/s on my fileserver via SMB, vs. 55+MB/s via FTP, depending on source disk speed - and if I didn't have everything AES-256 encrypted, it might even go faster ;)).

As for I/O Completion ports, the main rationale behind them is to combine with Async disk I/O. The principle is that you can issue  a load of async I/O requests (which the OS can hopefully "be smart" about, at least that's the theory!), and instead of manually creating a bunch of threads, the completion routines get scheduled to a thread pool. It's mostly useful for high-performance many-connections internet servers (where you can avoid resource starvation from threads, and avoid some context switch overhead as well), but I think it could be interesting for your file copying scenario as well, if the OS is smart enough. At any rate, at least it would save you from the (relative :)) wastefulness of creating a lot of threads - most of them will be spending a lot of time blocking on I/O, so a thread pool should serve just fine.

However, that is all theory, and it might not hold up in practice - I've been meaning to toy with IOCP myself for a long time, but haven't gotten around to it... and while the theory behind it is indeed very nice, I dunno if it'll work in practice for the file copying example. And I don't have super-high-end gear to test it on, even if I wrote the code :)
4137
General Software Discussion / Re: Large Text File Viewer
« Last post by f0dder on January 07, 2009, 10:27 PM »
Nice one, Phil :)

I know the next is pretty oooold, but I decided I might as well comment on it since I saw it now:

I'm pretty sure my current fav text editor (Notepad++) could handle a file that big, but I can't say for sure since I don't have currently have any text files that size to test it with.
Nope, Notepad++ (which is my favorite editor as well) performs miserably when dealing with files of relatively few megabytes in size. This is mainly because it uses the Scintilla edit control, which really wasn't designed for huge amounts of text - and working around that would be really clunky.
4138
General Software Discussion / Re: teracopy: copy your files faster
« Last post by f0dder on January 07, 2009, 10:21 PM »
Hmm, what's the point of doing it multi-threaded? Isn't this just going to thrash the disk drives seek requests? I guess the filesystem cache might rescue you though, since you mention it's made mainly for small files. I wouldn't have thought multiple threads worked that well wrt. network copying, but perhaps it triggers multiple SMB sessions - in which case it is useful (I haven't made SMBv1 sessions go much faster than ~30MB/s, and SMBv1 is all you're going to get unless both machines run Vista or 2008-Server).

Personally I'd experiment with fewer threads but include async I/O (possibly using I/O Completion Ports).
4139
General Software Discussion / Re: The Monkeys Have Hit The Button
« Last post by f0dder on January 07, 2009, 10:15 PM »
I wonder which new Vista API calls they're using in order to make it initially non-XP compatible? Seems relatively retarded and pretty incompetent to me, especially when considering the huge base of XP installs still available...

Don't tell me they require DX10 for the shell :P
4140
Multi Photo Quotes / Re: Commandline Helper Tool (Plugins) Coders Requested
« Last post by f0dder on January 07, 2009, 04:48 PM »
It would probably be a good idea if developers pulling stuff from webservices can agree on using libCURL - that way, the curl.dll could be shipped with the screensaver, and allowing for tiny plugins. That, or use WinINet - that's really tiny :) (since it ships with windows)
4141
Living Room / Re: Please help me build my new computer, DC!
« Last post by f0dder on January 07, 2009, 03:41 PM »
Note that the "fill with zeroes" step is quite different from the "full surface scan" step. Surface scan only does reading, and can thus detect sectors that are already bad (and to a large degree also detect "new" bad sectors). Writing zeroes will likely discover more bad sectors than just reading and it will also trigger the drive's "sector reallocation" mechanism - which will then show up in the S.M.A.R.T stats.
4142
General Software Discussion / Re: Firefox not safe at all
« Last post by f0dder on January 07, 2009, 03:13 PM »
You need to comment on patched as well as unpatched bugs - a lot of users don't upgrade their software (even if auto-update is turned on). That said, where is Internet Explorer in the "report"? The fact that it's entirely missing makes me assign no credibility whatsoever to it.

Also, when looking at vulnerabilities, count is nothing - severity of the vulnerabilities is everything. And the severity labels that various security firms give aren't always correct, imho. Sure, a cross-site scripting bug is bad, and it might even be "severe". But it's a shitload less critical than something that can lead to automated remote code execution.

Hint: IE has had a lot of remote code execution, FireFox has had a lot less. But of course the attack vector is often flash or java (java, not javascript) which works pretty much the same in all browsers.

Bottom line: FireFox is still a bunch more secure than IE, and because it still doesn't have market dominance it isn't targeted as much as IE either, giving an even bigger advantage.

It is an interesting approach to security though - which apps have know issues? Surely it is the unknown issues that are the problem!
Yes and no. "Unknown" issues means that generally only a few people know of the bugs - the kind of people who're interested in keeping this knowledge to themselves, so they can attack really specific systems. Once exploits are used for zombie botnet purposes, they get known really fast - and it's the automated zombie-harvesting attacks we need to worry about.
4143
Living Room / Re: Please help me build my new computer, DC!
« Last post by f0dder on January 07, 2009, 03:09 PM »
superboyac: use WesternDigital's drive testing tool, start with the short test. If that works, do the long test (will probably take 1½-2 hours). If that works, use the tool's "fill drive with zeroes", and check "reallocated sector count" afterwards. If all tests pass (as I'd expect them to on a raptor drive), you're good to go :)

(Just finished going through that series with a 640GB Western-Digital WD6401AALS drive, which is going to be one half of my new raid mirror after one of the old 400gig disks died... too bad the shop only had one drive in stock, but running a degraded mirror with one new disks, and all the data present on the old disk as well, is better than running a degraded mirror with one old disk :)).
4144
Living Room / Re: How to tell if your cat is plotting to KILL you
« Last post by f0dder on January 07, 2009, 03:05 PM »
Oh noes! It's teh ev0l perfect symmetry killercat!
4145
Living Room / Re: Apple Wheel macbook - revolutionary
« Last post by f0dder on January 06, 2009, 05:21 PM »
I most enjoyed the end where the announcer suggested it wouldn't be taken up in the workplace because people actually work there instead of just dicking around.  :-*
IMHO it would've been funnier if the reporter had been all for it - just like the typical media sheeple.
4146
Developer's Corner / Re: Seeking Programming Language To Learn
« Last post by f0dder on January 06, 2009, 03:31 PM »
Problem with Perl is that... it's so darn easy writing really ugly gibberish that nobody (including yourself, a couple of weeks later) can read :) - at least that's slightly harder with Python.

JAVA isn't all that bad as an introduction to programming (and heck, it can be used for real-world stuff), and IDEs like eclipse are really nice. But the OP did mention that he tried C++ and didn't grok it, and JAVA is pretty similar to C++. *shrug*
4147
Developer's Corner / Re: Seeking Programming Language To Learn
« Last post by f0dder on January 06, 2009, 03:05 PM »
IMHO the documentation for Office macroing (using VBA, Visual Basic for Applications) isn't all that bad - the BASIC language is pretty simple (and while I'm no fan of it, it's adequate for office-style scripting) and it didn't take me long to get some useful stuff going (I've coded a lot previously, but pretty much nothing in BASIC, and definitely nothing for Office). There's only two things that annoyed me a bit:
1) using plural 's' to denote between a single object, and a collection of objects. Yes, this is how it works in English, but a single character can be hard to spot; suffixing "List" or "Coll" (as in collection) would be better.
2) because of the dynamic/variant nature of objects in VB, it can be hard getting the proper context-sensitive help.

If JAVA is too slow for you, you can pretty much rule out Ruby... it's relatively heavy, and doesn't have just-in-time machine-code translation like JAVA does, but is (for now, anyway) run entirely interpreted.

Perhaps you should take a look at Python - it's relatively simple and straightforward, isn't terribly slow :), et cetera.
4148
Find And Run Robot / Re: Network access?
« Last post by f0dder on January 06, 2009, 02:22 PM »
well, an easy solution would be to *not* add UNC paths to the launch history, right :)?
IMHO that'd be a satisfactory solution, yes :)
4149
Coding Snacks / Re: Global Hotkey Management
« Last post by f0dder on January 06, 2009, 02:04 PM »
What I mean is that when a key is pressed a processes memory usage might shoot up or a window open... maybe these could be watched by supremely talented programs...
Those heuristics would be too uncertain to go by...
4150
Post New Requests Here / Re: IDEA: Delete first x bytes of a binary file
« Last post by f0dder on January 06, 2009, 12:23 PM »
Just out of curiosity: why do you need those 18 bytes (jpeg header?) deleted?
Pages: prev1 ... 161 162 163 164 165 [166] 167 168 169 170 171 ... 364next