Large number libraries/algorithms3631 (10/22/2012 9:11:28 AM) comp.lang.c Does anyone know of an API that will do standard math ops (*,+,-,/,% etc) on
very large numbers (stored in char arrays presumably)? ie The sort of numbers
that have no chance of fitting in even a 64 bit int... boltar2003
Getting C stream buffer size1039 (10/17/2012 9:22:23 AM) comp.lang.c Hi
Its possible to set the buffer size for stream I/O using setvbuf() but
does anyone know how to get the default buffer size?
Thanks
B2003
... boltar2003
Beginners question #21934 (8/30/2012 11:54:05 AM) comp.lang.python Hello
I'm slowly teaching myself python so apologies if this is a dumb question.
but something has confused me with the os.stat() function:
>>> s = os.stat(".")
>>> print s
posix.stat_result(st_mode=16... boltar2003
What's the API for MD5 encryption?4748 (8/28/2012 1:16:44 PM) comp.unix.programmer The Linux system I'm working on is using MD5 encryption for /etc/shadow.
None of the standard crypt() functions seem to support MD5 according to
the man pages so what API call(s) will the login package be usi... boltar2003
X windows event queues031 (8/22/2012 9:30:05 AM) comp.unix.programmer If you select certain event types in XSelectInput() but you never
collect them using XNextEvent() or something similar, do they build up in
the events queue until eventually the queue reaches its memory limi... boltar2003
Why is a vector find faster than a set with find()?2344 (8/7/2012 1:04:41 PM) comp.lang.c++ Hello
I'm storing a large (100K) list of integer id's in a set which I need to
frequenctly search for a given id. When I try doing this with a set using the
standard find() function it takes 3 times long... boltar2003
puts vs fputs1747 (7/20/2012 9:15:29 AM) comp.lang.c Is there any logic behind puts() adding a newline but fputs() not doing it?
Or was it just a design fuck up in the early days of C?
B2003
... boltar2003
Map 2D array to contiguous memory?1564 (7/16/2012 9:23:58 AM) comp.lang.c This is probably a question thats come up before but google doesn't seem to
be my friend on this one.
Is there some hack whereby a 2D array can be mapped onto a dynamically
allocated block of contiguous me... boltar2003
What are the codes to set the clock on a wyse 60?2100 (3/26/2012 1:11:59 PM) comp.unix.programmer I have a wyse 60 terminal which has a built in clock but you can't set this from the terminal itself. Apparently you have to send certain control codes down the line to it, but Google is not help in finding out... boltar2003
How can I detect EOF in awk?6230 (2/29/2012 1:38:58 PM) comp.lang.awk Hello Is there any simple way to detect when you're on the last line of a file? What I have is an awk script reading in 2 files and I need to change FS before it begins to read the 2nd file. I can do this doin... boltar2003
Large number libraries/algorithms3631 (10/22/2012 9:11:28 AM) comp.lang.c Does anyone know of an API that will do standard math ops (*,+,-,/,% etc) on
very large numbers (stored in char arrays presumably)? ie The sort of numbers
that have no chance of fitting in even a 64 bit int... boltar20032(164)
Getting C stream buffer size1039 (10/17/2012 9:22:23 AM) comp.lang.c Hi
Its possible to set the buffer size for stream I/O using setvbuf() but
does anyone know how to get the default buffer size?
Thanks
B2003
... boltar20032(164)
Beginners question #21934 (8/30/2012 11:54:05 AM) comp.lang.python Hello
I'm slowly teaching myself python so apologies if this is a dumb question.
but something has confused me with the os.stat() function:
>>> s = os.stat(".")
>>> print s
posix.stat_result(st_mode=16... boltar20032(164)
What's the API for MD5 encryption?4748 (8/28/2012 1:16:44 PM) comp.unix.programmer The Linux system I'm working on is using MD5 encryption for /etc/shadow.
None of the standard crypt() functions seem to support MD5 according to
the man pages so what API call(s) will the login package be usi... boltar20032(164)
Trying to build a copy protection system9045 (8/8/2012 8:10:32 PM) comp.lang.c++ I am trying to build a copy protection system where the user
authenticates to my server and the server sends a decryption key. Then
without writing the key to the hard drive I want to load an encrypted
ex... thexder1(34)
Why is a vector find faster than a set with find()?2344 (8/7/2012 1:04:41 PM) comp.lang.c++ Hello
I'm storing a large (100K) list of integer id's in a set which I need to
frequenctly search for a given id. When I try doing this with a set using the
standard find() function it takes 3 times long... boltar20032(164)
is C++ worth it ?10669 (7/27/2012 3:37:57 PM) comp.lang.c++ Is C++ worth it ?
http://lemire.me/blog/archives/2012/07/23/is-cc-worth-it/
"But we are also moving away from low-level programming
and, yet, our software is still getting faster. I believe
that a maj... lmc(186)
puts vs fputs1747 (7/20/2012 9:15:29 AM) comp.lang.c Is there any logic behind puts() adding a newline but fputs() not doing it?
Or was it just a design fuck up in the early days of C?
B2003
... boltar20032(164)
Map 2D array to contiguous memory?1564 (7/16/2012 9:23:58 AM) comp.lang.c This is probably a question thats come up before but google doesn't seem to
be my friend on this one.
Is there some hack whereby a 2D array can be mapped onto a dynamically
allocated block of contiguous me... boltar20032(164)
Do I need to be thread-safe ?3163 (4/10/2012 2:00:07 PM) comp.unix.programmer TARGET: to just print the current local time. PROBLEM: Do I need thread-safe version ctime_r() ? I don't know much about threads. This function print_time() does not take any parameters or returns any. It jus... sunrise2(598)