Re: Problem switching to static IP address

2008-06-17 Thread Robert Baron
Have you tried using ifconfig? On Tue, Jun 17, 2008 at 12:06 PM, Thomas H. George <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 09:02:39PM -0300, Marcos José Sant'Anna Magalhães > wrote: > > Hi Thomas, > > > > Can't you just use "/etc/init.d/networking restart" ? > > > > Marcos > > It does

Re: C++ programming: keeping count of data items read from file

2008-05-06 Thread Robert Baron
On Tue, May 6, 2008 at 12:57 PM, Ron Johnson <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/06/08 11:42, H.S. wrote: > > Hello, > > > > In a C++ program I am reading a data file for later processing and > > computations. While reading that data file, I want

Re: [OT] C++ programming: keeping count of data items read from file

2008-05-06 Thread Robert Baron
On Tue, May 6, 2008 at 1:14 PM, H.S. <[EMAIL PROTECTED]> wrote: > Jordi Gutiérrez Hermoso wrote: > > > On 06/05/2008, H.S. <[EMAIL PROTECTED]> wrote: > > > > > In a C++ program I am reading a data file for later processing and > > > computations. While reading that data file, I want to keep track

Re: OT: Laptop for College Bound Student?

2008-06-12 Thread Robert Baron
On Thu, Jun 12, 2008 at 10:35 AM, Gregory Seidman < [EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: > On Wed, Jun 11, 2008 at 03:55:14PM -0700, Paul Johnson wrote: > > On Wed, 2008-06-11 at 09:31 -0400, Gregory Seidman wrote: > [...] > > > I love Debian, but for a laptop I'd go Mac and MacOS X every

Re: Sadly... (was Re: normal firefox for debian lenny 64bit?)

2009-07-24 Thread Robert Baron
It is so nice to see that there is a religion to responding to emails - analogous to the vi, emacs, wordstar, religions. Although I agree in general with the notions of interleaving posts and trimming quotes, this sometimes takes things out of context. I find it convenient to have the context o

Re: OT: file system versus databases

2009-02-23 Thread Robert Baron
If it works for you, why change? Lets face it not every problem needs a relational database, if you do not need atomic transactions and crash recovery as examples of what a DBMS system will do better than file systems. Furthermore, you may be able to save some space by eliminating redunent inform

Re: Big Database Server General Question

2009-04-04 Thread Robert Baron
Could you be refering to distributed systems? On Sat, Apr 4, 2009 at 2:34 PM, Tim McDonough wrote: > I'm asking this question to find out what keywords to search for, not > really looking for a specific answer here. > > When there is a huge database involved with a lot of users and lots of data

Re: ubuntu debian question

2009-04-29 Thread Robert Baron
George, I just set up a couple of systems running ubuntu. I really don't see much difference between ubuntu linux and other linux distributions. Just a quick suggestion, what I have done with my wife is to set up a computer running windows because she is only familiar with windows, and I have a c

Re: how do i grep boobies

2009-07-05 Thread Robert Baron
And all of this for a fanatical bird watcher. The correct command is > curl "http://www.geo.cornell.edu/geology/GalapagosWWW/BlueFoot.html"; | grep boobies % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total Spent

Re: how do i grep boobies

2009-07-05 Thread Robert Baron
And all of this for a fanatical bird watcher. I will help you with the correct command. It is: curl "http://www.geo.cornell.edu/geology/GalapagosWWW/BlueFoot.html"; | grep boobies which returns: % Total% Received % Xferd Average Speed TimeTime Time Current

Re: [OT] C++ templates and debugging (limitations) in Linux

2009-01-30 Thread Robert Baron
When I have developed template code, I have always started by implementing the same algorithms without the templates. Once the non-template code works and is debugged, I convert it to the template. I have just found using real types is more convenient to think about, and to debug. gdb can be sli

Re: Which programming Language

2009-02-06 Thread Robert Baron
For what it is worth: I would start by learning C. Basically, C++, java, php, perl, python all share enough similarities that they are rather easy to pick up (Yes I know php, perl and python have less in common which is why I put them later in the list). Don't worry about if a language has stron

Re: C programming question

2010-04-13 Thread Robert Baron
What a great little learning project. My suggestion is to work out a simpler version of what you are trying to do: typedef struct { unsigned short rec_type; long data; } type1; typedef struct { unsigned short rec_type; char data[4]; } type2; . some_type *chunk_of_mem; long

Re: MIT discovered issue with gcc

2013-11-23 Thread Robert Baron
Aren't many of the constructs used as examples in the paper are commonly used in c programming. For example it is very common to see a function that has a pointer as a parameter defined as: int func(void *ptr) { if(!ptr) return SOME_ERROR; /* rest of function*/ return 1; } I

Re: MIT discovered issue with gcc

2013-11-23 Thread Robert Baron
Second question: Doesn't memcpy allow for overlapping memory, but strcpy does not? Isn't this why memcpy is preferred over strcpy? On Sat, Nov 23, 2013 at 10:09 AM, Robert Baron < robertbartlettba...@gmail.com> wrote: > Aren't many of the constructs used as examples i

Re: why g++ this not compile

2012-06-19 Thread Robert Baron
There is a work a round (included for completeness). On Tue, Jun 19, 2012 at 9:15 AM, Zbigniew Komarnicki wrote: > Hello > > Why this below program do not compile under g++. > What is the reason, that g++ do not compile ? > > //-- > // file: p

Re: thread issue

2011-08-04 Thread Robert Baron
have you tried adding an '&' to the tasks you think can be run in parallel (as in running them in the background (ie 'mycmd myargs &'))? On Thu, Aug 4, 2011 at 10:23 AM, lina wrote: > Thanks for suggestions, > > Actually I got a job which contains several small jobs inside. > > if run the bash sc

Re: creating tables...html

2010-04-24 Thread Robert Baron
Here is a different way - kinda expensive with divs - depending on how rigorous the formatting needs to be. You can change the colors to what you want them to be. test text here1 test text here2 test text here1 test text here1 test text here1 test text here2 On Sat, Apr 24, 20