| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> i can't believe it. single-user desktop linux with 2gb ram. after 7 days of use, all 2GB is used, and 141904MB of swap, too <1> Aeon_: that's deceiving <0> why <2> Blame open sores <1> Aeon_: linux will 'use' virtually all your ram to cache stuff. however, the instant you need more ram, it'll dump stuff in that cache in a hurry <0> mozilla: 314meg. X.org: 247 meg. acroread: 139 meg <3> ttyl <1> it'd be nice if 'free' and other utilities had the ability to make the distinction between what's 'really' being used, vs what the kernel is just caching to be nice <4> Mozilla must not have been closed for a while <0> myrddin: yea you're right. 900meg 'cached' <4> Doesn't free print the +/- cache amounts? <3> and while someone's doing it, maybe they could tell me which files are causing the most overhead <3> which file access <1> Maloeran: ah, it looks like it does, heh. <3> a graphical display of the drive with colors showing what portions are in cache at the moment
<1> that's just silly <1> though, I do keep lots of tabs open with firefox <3> and you could click to see which files were being accessed <5> hey <3> things staying in the cache longer would become a different color.. <0> i think ff/moz is especially hoggy when one uses the irc extension <5> does anyone know where i can get information on connecting to COMM1 serial port and reading/writing? (on windows xp) <5> i need to write a very simple program.. or 2 programs, to read and write <3> and it would keep track of things which leave and come back into the cache <3> because those things are very important <6> elux_ ask me <0> elux: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp <6> no <6> you don't want to do it from scratch <5> scul: i dont think that link does it from scratch? <6> lemme open it <5> well. <5> the win32 api <5> im really just looking for a serial library that i can use with straight C on winxp <6> hm, you can use C++ serial wrapper cl*** instead <5> ill end up processing commands like serial.exe write "COM1" "somestring" or serial.exe read "COM1" <0> elux_: C or C++ ? <5> doesnt matter really <6> one sec <0> elux: try echo text >com1 <6> i'll give you URL <6> for great cl***, that can be used in several ways <7> sbahra: you should hear saudi arbia statement about the current chrisis. they blame and put full responsibility on lebanon, maybe you should consider changing your sources :) <0> C++ is junk, really <5> id rather use C .. but as long as it works i dont care <7> it has its goods and bads. <8> acid-: crisis, not chrisis <0> junk has it's goods ? <8> acid-: and you don't know the Saudi government as well as I do, I will not speak about it. <7> sbahra: so they lie? :) <6> Aeon_ - how would you know that? <0> Saudi governmentn is not directly involved in the current conflict <7> sure, but they're intelligent enough to realize that hezbollah is responsible with the current conflict. <0> scul: I just know it <8> acid-: Again, you're ignorant about the matter and the puppetry of the government. <6> elux_ http://www.codeproject.com/system/serial.asp <8> acid-: I am friends with many members of the royal family, they're opinion is not: "It's Lebanon's fault" <7> sbahra: keep your personal flames to yourself :), why wont you talk about it? you talked just fine about israel. <8> because I put myself at risk and my friends. <8> In this context. <6> that collection of cl***es is very powerful. it can be used in Win32 APi or MFC applicatin, etc... <7> sbahra: thats what they stated. i dont know what goes on inside the royal family :) <4> A collection of cl***es to open /dev/ttyS0, typical :} <6> you can make wrapper for it, pack it in .dll and use it in your C project too <0> good serial cl*** library would suport both win32 *and* linux <4> Serial on Linux would be trivial, /dev/ttySn are your devices <6> Maloeran - how do you access serial port on linux, in event driven mode <0> Maloeran: but portable library is a gain <0> that convers win32 & linux under same api <0> scul: mostly, select or threads <0> s/convers/covers/ <4> As any other file descriptors, select() will do <0> btw, the c++ portable serial lib is easy to find, there are millions. But C serial portable lib is hard to find <0> *hard to find*
<0> there are $$ libs, though <0> probably because win32 ppl do not care about C <4> C APIs are usable from about any language, C++ APIs are quite a pain on that regard <7> sbahra: http://today.reuters.com/news/newsArticle.aspx?type=newsOne&storyID=2006-07-13T220037Z_01_L13880815_RTRUKOC_0_US-MIDEAST-LEBANON-SAUDI.xml <6> Maloeran - it is easy to make C wrapper for C++ stuff <8> acid-: How corrupt is the family? <8> acid-: In general, most of the ones in power. <8> Please. <7> sbahra: just go read. or reuters is like FOX for you :) <8> Whatever floats your boat. <7> heh. <7> im just saying, israel is not the only one responsible for this crisis. <8> Israel wants this. <7> sure <7> you might be right <7> gives us a reason to blow hezbollah away <7> not that we didnt have one already <8> acid-: Exactly. <8> Hizbollah is the only real threat (as a militant group and political party) to Israel. <0> http://en.wikipedia.org/wiki/Hezbollah <7> sbahra: not such a big threat as you believe. we survived stronger threats and we will survive hezbollah. <3> profile's showing like.. 239 calls.. I compiled my library with -pg too.. hmm <3> I figure some of these things must run thousands of times.. <8> acid-: errr, not my point. <8> acid-: Hizbollah is the most tactical, it is the strongest (full-on wars are trivial for Israel). <7> sbahra: so its only legitimate that we'll want to destroy them as they want to destroy us no? <8> blah blah <8> ;] <3> where's "pure jewish state" discussed in the scripture, btw? <8> It's not. <8> Deutronomy has some notes, but it is with regards to ancient divisions <8> and it is only one reference <8> Rest is peace, etc... <7> its not the issue now <7> hezbollah wants to destroy us, we destroy them. sounds like a great script to me :) <9> how do i program color letters for dos prompt <9> in unix i did escape sequence and [1;43m blah blah <9> it worked good <10> same works with ms dos prompt environment variable last i remember <10> long as ansi.sys is in memory <3> char far *screen=(char far *)0xB8000000; ?? <3> heh <0> cyeh same <0> especially if you use xterm of like <9> ty pals i will try <0> time to go to bed <3> these things are political or no? <3> it's sad, because you can get something in your head, and even with the other things that exist, you can't get the impurity out.. <3> it can take some good guidance to correct <9> jaggy what did the far keyword mean when dos programming <9> could u point me to a good dos programmer manual <3> not close in memory <3> no.. hmm.. <9> they made so many cool programs for dos <3> you should look around on the web.. <9> i like it more than unix <9> yes i should <11> FAR. I remember FAR. <11> cyeh: Are you familiar with Intel segmentation? <9> i read about it <9> i didnt understand it <11> Eheh. I can give an explanation if you like; I'm bored <9> please <11> Alright. The Intel 8086, 16-bit chip. Works on 16-bit numbers. <11> It can address up to 1MB of memory. That's a 20-bit address bus <9> sofar so good <11> So, in order to get to all 20 bits, Intel smoked some mushrooms and came up with segmentation <11> Take two 16-bit numbers, called the segment and the offset. Segment * 16 + Offset = Actual address <11> So, let's take somewhere in video memory. address A1234, that'd be segment A000 and offset 1234 <9> thats not that bad <11> The only problem is, it can be A001:1224, and A002:1214, and A003:1204, and... <11> That's why segmentation ****s it. <12> xargoon is a p0rn king <11> Anyway. If you set a particular segment value, you can get to 64K of memory at once
Return to
#c or Go to some related
logs:
#windowsxp #fedora #netbsd #computers #beginner #beginner #gamedev #linux-noob #computers #politics
|
|