Search Results

Search: Posts Made By: CRGreathouse
Forum: Ubuntu 07-24-2011
2,414
Posted By CRGreathouse
Gewtting Unity (or the Panel) to start
For some reason my installation of Ubuntu 11.04 is messed up and Unity doesn't start automatically. I can't find what command I need to start it nor how to make it start at boot time. (Running...
Forum: Ubuntu 03-06-2011
3,178
Posted By CRGreathouse
Flash causes 64-bit Ubuntu to crash
I've been running 64-bit Ubuntu for about 2 years now, but a few days ago it developed serious problems. Whenever I would load a Flash page* the computer would crash... well, sort of. The screen...
2,767
Posted By CRGreathouse
Flash causes 64-bit Ubuntu to crash
I've been running 64-bit Ubuntu for about 2 years now, but a few days ago it developed serious problems. Whenever I would load a Flash page* the computer would crash... well, sort of. The screen...
3,321
Posted By CRGreathouse
Excellent, thanks!
Excellent, thanks!
3,321
Posted By CRGreathouse
Easy way to pull a paragraph from a text file?
I have a collection of text files that comprise a mailing list archive. I grep them to find an email that interests me, then open the file in a text editor to find the surrounding paragraph of text....
7,569
Posted By CRGreathouse
Oh, that's it -- it was formatted with Windows...
Oh, that's it -- it was formatted with Windows CR/LF. Thanks!
7,569
Posted By CRGreathouse
grep/egrep fails with $ anchor?
The $ seems to fail for me. I'm using GNU grep 2.5.4 (that is, nothing out of the ordinary, just what came with my distro) but I can't get the final anchor $ to work for me. (^ works as usual.)
...
2,512
Posted By CRGreathouse
Thanks!
Thanks!
2,512
Posted By CRGreathouse
Split a large file
I have a 3 GB text file that I would like to split. How can I do this?

It's a giant comma-separated list of numbers. I would like to make it into about 20 files of ~100 MB each, with a custom...
4,092
Posted By CRGreathouse
It's a hardware system, but I don't think the...
It's a hardware system, but I don't think the controller is broken -- it looks like simple OS corruption. I'll try the Debian disk, thanks for the tip!

---------- Post updated at 09:06 PM...
13,837
Posted By CRGreathouse
#1 looks interesting to me -- what calls could a...
#1 looks interesting to me -- what calls could a reasonable < operator make that would cause a segfault? I would look at that function and see if there's anything obviously wrong.
4,751
Posted By CRGreathouse
fgrep would be good for this -- it's faster to...
fgrep would be good for this -- it's faster to search for fixed strings than true regexen if that's all you need.
4,092
Posted By CRGreathouse
Loading a RAID array after OS crash
One of my very old drive farm servers had an OS fault and can't boot now but I'd like to restore some files from it. I tried booting Ubuntu from a CD, but it couldn't see the drives -- possibly...
Forum: Ubuntu 02-26-2010
3,682
Posted By CRGreathouse
I'm not sure what's unclear; I answered reborg's...
I'm not sure what's unclear; I answered reborg's question. Here's a screenshot of the GUI version of what I want to change: the output device from "Internal Audio Analog Stereo" to something else.
Forum: Programming 02-24-2010
4,801
Posted By CRGreathouse
Why are you compiling the header file LibSip.h?
Why are you compiling the header file LibSip.h?
Forum: Programming 02-22-2010
16,197
Posted By CRGreathouse
This is something of a "Corona688-told-me-so"...
This is something of a "Corona688-told-me-so" post.

I found the error, and it was a SEGFAULT-causing error. But it wasn't anything to do with Pari's novel memory management; just a simple mistake...
Forum: Programming 02-21-2010
16,197
Posted By CRGreathouse
I don't know what you mean by "custom", but yes I...
I don't know what you mean by "custom", but yes I have a library and yes it forces its users to manage memory in a particular way. But memory management is not the purpose of the library: it's for...
Forum: Programming 02-21-2010
16,197
Posted By CRGreathouse
Unfortunately I don't recall and it's fallen off...
Unfortunately I don't recall and it's fallen off the screen. Is there something analogous to .bash_history that keeps errors?
Forum: Programming 02-20-2010
16,197
Posted By CRGreathouse
Then the problem was never with memory. ...
Then the problem was never with memory.



Of course. It is something I need to be concerned with, though -- most of my early programs with the library were unusable (crashed whenever run) by...
Forum: Programming 02-20-2010
16,197
Posted By CRGreathouse
I'm just saying that in these functions, the only...
I'm just saying that in these functions, the only memory I manage myself is in a single array, char line[]. All other memory management is done by the library. And since library-related memory...
Forum: Programming 02-20-2010
16,197
Posted By CRGreathouse
Sure -- but that's not the problem (and it won't...
Sure -- but that's not the problem (and it won't be the problem). Every time the library uses the stack it ensures that there's room for what it's creating. Also, the stack is very large -- at...
Forum: Ubuntu 02-20-2010
3,682
Posted By CRGreathouse
So any chance of doing this? Or at least, any...
So any chance of doing this? Or at least, any ideas on where I can start to look for answers?
Forum: Programming 02-20-2010
16,197
Posted By CRGreathouse
Huge amounts of memory management -- much more in...
Huge amounts of memory management -- much more in the calculation parts of my program. Pari essentially forces you to manage all your own memory.

But malloc itself isn't really ever called, not...
Forum: Programming 02-19-2010
16,197
Posted By CRGreathouse
No, not nearly all of it -- I have 3200 LOC on...
No, not nearly all of it -- I have 3200 LOC on top of a 6700 kB library. But those functions, together with 'glue code' for the library, can be compiled into the core application of the Pari...
Forum: Programming 02-18-2010
16,197
Posted By CRGreathouse
Right, that's why it's good I rewrote the earlier...
Right, that's why it's good I rewrote the earlier portions.



This is fortunately only an I/O routine; no calculations to speak of. And after my rewrite it's quite short:
#define MAX_VECLEN...
Showing results 1 to 25 of 140

 
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy