topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 25, 2025, 8:30 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 ... 282 283 284 285 286 [287] 288 289 290 291 292 ... 364next
7151
Living Room / robot war flipbook
« Last post by f0dder on June 07, 2007, 05:30 AM »
This video made me think of one of mouser's things, although with a lot more tedious manual work. Impressive, imho!

robotfight.png
http://www.youtube.c.../watch?v=EGggKaR5lRA
7152
General Software Discussion / Re: how to reduce pagefile usage?
« Last post by f0dder on June 07, 2007, 04:46 AM »
"PF Usage" in Task Manager is not how much space is used for your paging file on disk. Get sysinternals' Process Explorer, it has better names of the various stats, and it shows more than taskmgr.

Don't take "XP myths" as the holy grail - I think we already had a topic about this a while ago. I don't really want to revisit that, but "a little knowledge is a dangerous thing".

Pagefile on a separate partition on the same physical disk doesn't really do anything for performance, neither in a positive or negative direction. There's two reasons it could be advantagous, though. Number one is fragmentation, but that's solved by choosing a sensible minimum-size for the pf, as well as defragmenting. Number two is reducing the risk of filesystem corruption if your computer crashes while there's pagefile activity, but that's not very likely to happen, and NTFS reduces the risk of corruption dramatically.

On my own box, I run without a paging file - Windows utilizes it a bit too much even when not necessary, and with 2 gigs of ram I'd rather not have that additional disk access, even if I do sometimes have to enable it temporarily for some special-case pograms. On other systems, even multi-disk systems, I keep the pagefile on the system partition... if the pagefile becomes a bottleneck, you need additional memory, and moving the pf to a separate physical disk just isn't a solution.

Minimal pf size really depends on what you're doing, and all the magical formulas for calculating it are just that - magic. If you're only ever occasionally running a bit short of memory, you don't need a two-gig pagefile just because you have one gig of memory - it's not like windows flushes your entire memory to disk to make room for new apps, it pages out individual ranges of memory that haven't been used for a while. That said, with the large disk drives of today, I tend to set pagefiles to 1gig min with no fixed upper size - that way, you won't have fragmentation for typical use, and if things go apeshit, windows can extend the pagefile.

Darwin: I'd remove the pagefile on your "documents" partition. While NTFS is pretty safe etc., and even if you're doing daily backups etc., a "documents" partition really should have as little activity as possible, just to be para^H^H^H^Hsafe.

By the way, a thing that makes a difference on "lower-memory" machines: the DisablePagingExecutive system setting. This prevent windows from paging out the kernel and drivers. Back when I had 512meg, I had noticably faster "system recovery" after exiting memory-hungry things like games.
7153
Living Room / Re: Finally, an answer to the garbage problem
« Last post by f0dder on June 07, 2007, 04:22 AM »
Haha, I did snicker a bit about "David Lynch" myself. You reckon there will be a reactor meltdown creating a really bizarre parallel universe with dwarves eating cream-of-corn?
7154
Living Room / Re: Finally, an answer to the garbage problem
« Last post by f0dder on June 04, 2007, 09:16 AM »
That sounds pretty darn cool!

And this quote is just great :-*
“You can’t rely on the customer to tell you what they put in,” Longo says. “Sometimes they don’t know, sometimes they lie, and sometimes they’ve thrown in live shotgun shells from a hunting trip. That’s why it’s imperative that the Plasma Converter can take in anything.”

Even without the syngas output, just being able to get rid of garbage in a pretty clean way is fantastic, imho. So, what's the catch?
7155
General Software Discussion / Re: DirectX 10 on platforms other than Vista
« Last post by f0dder on June 04, 2007, 09:00 AM »
Interesting - there has been changes to the driver model (which, with time, might bring some improvement, but which for now only makes you lose a few fps). I've always claimed that there wasn't any real good reason why you couldn't have DX10 on XP though, and this might just end up being the proof :)

 :Thmbsup:
7156
Living Room / Re: Pubbox.net is down, it's owner is deceased.
« Last post by f0dder on June 02, 2007, 10:40 AM »
Bummer :/
7157
Living Room / Re: Microsoft's proposed new user interface
« Last post by f0dder on June 01, 2007, 06:53 AM »
Grmbl, why can't people move past the fscking win9x style BSODs and do a proper NT crash screen instead?
7158
General Software Discussion / Re: Must-have apps in the System tray?
« Last post by f0dder on June 01, 2007, 06:51 AM »
Lots of the tools support a "accepteula" or whatever commandline argument, and apart from that my unattended windows setup CD adds "eula accepted" registry entries during install :]
7159
General Software Discussion / Re: RAID explained ?!
« Last post by f0dder on June 01, 2007, 06:46 AM »
If you juggle around a lot with big files, trust me, a raid stripe can be invaluable. Try compressing/decompressing a big file from one harddrive to the same harddrive - then try the same with two separate harddrive, or a raid stripe.

Fortunately single-drive performance has been getting a lot better the last few years, but if you need high sustained write rates, it's hard to beat stripes. And while they don't reduce seek time in my experience, they do help against disk thrashing when doing multiple things on the same disk.

Mirroring (and raid-5 and raid-6 etc) is not a substitute for backups, and only retards use it that way. They're intended to protect against disk crashes before the nightly backup, so you don't lose a day's worth of work. And they're intended to be able to keep your data available while hotplugging a spare disk and replicating your array, as opposed to shutting down the server, replacing disks, and restoring from (last night's) backups.

I've got a 10k rpm raptor drive as my system disk, where I keep windows and my apps, et cetera. Low seek time = love. And the disk has very good sustained read and write speeds as well. Then I have two 160gig so-so performing maxtor disks, which are supposed to be in mirror for all my data (which I don't back up near often enough >_<), but currently they're forming a (filled >_<) 320gig stripe, because I wanted to play around a bit.

Btw, software raid isn't all that bad - for consumer on-board raid, lots of stuff is being done in software by drivers, and performance is still decent. It's only if you want big and really fast arrays that hardware solutions are really necessary. And if you want big arrays, you're probably doing it for a file server, that probably won't be spending CPU cycles on much else... so the hardware solution is really only if you build a weak system, or if you go all the way with battery-backed ram on the controller for safe caching :)
7160
Living Room / Re: Mac Mini & Boot Camp alternatives?
« Last post by f0dder on June 01, 2007, 06:30 AM »
How well does Parallels support DirectX, though? (I'm thinking of running shader-intensive games).
7161
General Software Discussion / Re: RAID explained ?!
« Last post by f0dder on May 31, 2007, 08:55 AM »
Hirudin: yup, it just gives you "one big disk", linearly used, without the speed advantages of striping, and slightly less chance of losing all your data (although you will need a decent filesystem recovery app if a single disk dies).

RAID-6 is imho a good idea, since disks purchased at the same time tend to die around the same time. Especially if the problem is wear&tear + heat in a crowded server room, disk #2 might die from the added stress when the system tries to reconstruct the array with help of a spare drive. And then you're screwed.
7162
For VC8, the paths you'll want to (manually) add are:
include: <%vsbase%\vc\include> & <%vsbase%\vc\PlatformSDK\include>
include: <%vsbase%\vc\lib> & <%vsbase%\vc\PlatformSDK\lib>

Note that there's no vsbase environment set up by the installer, you should grab this from the registry somewhere. Also, iirc the layout changed from VS2003 to VS2005. And I already explained why the installer doesn't modify your env variables :)
7163
Living Room / Re: Microsoft's proposed new user interface
« Last post by f0dder on May 31, 2007, 03:50 AM »
I wonder if they actually already have this interface designed, or whether it's just a bunch of preset animations with good acting to make it look real. There's been previous posts on DC about similar stuff, so it could very well be real.

I don't think this would work very well for a generic user interface, but for specialized stuff like shown in the video, it's cool enough. Seems intuitive, and lets you Just Do Ittm instead of worrying about the boring techy details.

A thing I'm not impressed about, is how laggy and unsmooth the animations seem. It's the same with flash, powerpoint presentations, etc. Come on people, we have insanely powerful CPUs and GPUs now, yet animation was smoother on my amiga, more than 10 years ago.
7164
Well, you need to set correct INCLUDE and LIB environment variables, or pass the right compiler and linker switch to add the paths - this doesn't happen automatically. Iirc the VC++ express is vc8. Any chance you've installed the "vc2003 toolkit" a while ago? That could explain the vc7 install.

Microsoft's own installation fails to set things up properly. They probably didn't modify my env paths...
Indeed not, instead it creates a shortcut to cmd.exe that sets up the environment. This is done, I guess, to make sure you can have several tools installed without getting a messed up system.
7165
Developer's Corner / Re: Some questions abt coders
« Last post by f0dder on May 31, 2007, 03:39 AM »
As for small installers, check out nullsoft NSIS. It's slightly tricky to get into, but it's pretty powerful and very very small overhead. I've even seen commercial games using it for their installers.
7166
Living Room / antbuster - yet a kind of tower defense
« Last post by f0dder on May 31, 2007, 03:28 AM »
A friend gave me this link, and I couldn't find mention of it on donationcoder with a quick-and-lazy search, so I thought I might as well post it. It's pretty challenging, and the order in which you choose your upgrades lets you choose different 'paths'...

antbuster.jpg
http://www.addicting...s.com/antbuster.html
7167
Developer's Corner / Re: Interesting Behaviour
« Last post by f0dder on May 30, 2007, 07:01 AM »
1) chkdks /f on all your partitions, just for good measures.
2) subversion for finer level of control than plain backups.
7168
Delphi and C++ Builder / Re: Something you should know about C++ Builder
« Last post by f0dder on May 30, 2007, 06:49 AM »
You could also exploit DLL delay-loading for this... though it would require a little work.
7169
I'd like to know WHAT makes it special... is it because it's black?
7170
DNS cache is great, especially when you're maxxing out your bandwidth - I was surprised by how much perceived improvement I got for such a simple thing.

Caching proxy, I don't really know. A lot of things are dynamic these days (forums, etc. yadda yadda), and thus pretty hard to cache. I used to run a squid caching proxy when I still lived with my mum, and I dunno how much effect it had. When on even a moderately slow ADSL line, the biggest bottleneck I feel is when a browser/whatever needs to make a new connection to a server, rather than re-using a persistant connection.
7171
Best Text Editor / Re: Is this serious?
« Last post by f0dder on May 28, 2007, 12:13 PM »
The thing that's hard to figure out with VIM isn't really using it - find a "cheat sheet" and you'll be able to use it rather quickly. No, the hard thing is being *more productive* with VIM than whatever other text editor - it requires adapting to a completely new mindset, if you're used to standard windows-style text editors.

Btw, noksagt... Danish?
7172
Living Room / Re: A classic GameBoy that runs Windows XP...sort of
« Last post by f0dder on May 26, 2007, 12:45 PM »
Heh, people are doing crazy things with those EPIA boards. http://www.mini-itx.com/ is pretty cool, but pc-in-a-gameboy? cute :)
7173
Looks good! :)
7174
The technology that goes in the CPU (or at least chipset) could be public-key crypto verification of the BIOS/EFI code, which is basically the first layer of software that receives control when you power on your box. Okay, so now BIOS/EFI is basically unhackable, and BIOS/EFI would then proceed to only accept a crypto signed OS kernel and drivers.

Basically any OS these days have a notion of "kernel" and "user" mode - user mode can't touch kernel mode stuff (at least when no flaws are exploited). Kernel mode requires drivers, and those has to be signed. On top of that, add a HyperVisor that controls kernel mode, and is CPU enforced and pretty hard to break out of (meant to be impossible, but might still be possible to come up with some clever tricks).

The difficulty of getting your drivers signed when you're a small-time developer can make things like daemon-tools, installable EXT3 filesystem drivers etc. pretty hard to come by in the future - and of course anything "malicious" in the eyes of Big CorpTM of course won't stand a chance of being signed.
7175
Post New Requests Here / Re: IDEA: Soda can / bottle cooler
« Last post by f0dder on May 13, 2007, 09:23 AM »
Another neat and related trick is a quick way to cool a bottle of wine. Wrap it in newspaper and soak the newspaper with water. Put the bottle on the outside of your car windshield in the wiper gutter and drive about 2 miles. The water evaporating from the newspaper will pull heat from the bottle and chill it very quickly.

Notice that you should grab do this to several bottles of wine at once, since you shouldn't repeat the trick after you've drunk the first bottle :]
Pages: prev1 ... 282 283 284 285 286 [287] 288 289 290 291 292 ... 364next