Re: Backup encryption key

2009-04-26 Thread Dotan Cohen
 its a standard application, but I do understand your point.  if you
 insist, you can install the App on a U3 disc format.  this way it
 will run from the USB without the need to reinstall it.


Then how would you connect to a Linux machine?

 as for the app:
 - http://www.download3k.com/Install-Family-Key-Logger.html (simple app)
 - http://fraggedone.netfirms.com/security.html - search for Keystroke
 loggers, many links
 - my own favorite few years back was Subseven.  Its a very old tool,
 that allow you to create your own trojan and back-door entry.  The
 application allow for many many options, very flexible and has many
 ready-templates.  There are many download links available, google it
 and try your luck.  I strongly advice you to read the manual and close
 your FW before you start play with it; other wise both your Anti-virus
 and firewall will have a hear-attack..


Thanks, I will take a look at those. I do no actually need a
keylogger, but I want to know what I am up against when I use public
computers.

Thanks.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


OT: c++ q

2009-04-26 Thread Erez D
hi

i have encountered a problem with g++

i have a class a, with forward declaration of a function do_something and
a constructor a(int val);
i implement them in a cpp file.

g++ complains of redefinition of the constructor but not of the
do_something() function.

why ?

files:
== a.h ===
class a {
int m_a;
 a (int val);
 void do_somthing()
}

== a.cpp ===
#include a.h
a::do_somthing {a.m_a++;};
a::a(int val):m_a(val) {};




any idea ?
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Shachar Shemesh

Erez D wrote:

hi

i have encountered a problem with g++

i have a class a, with forward declaration of a function 
do_something and a constructor a(int val);

i implement them in a cpp file.

g++ complains of redefinition of the constructor but not of the 
do_something() function.


why ?

files:
== a.h ===
class a {
int m_a;
 a (int val);
 void do_somthing()
}

== a.cpp ===
#include a.h
a::do_somthing {a.m_a++;};
a::a(int val):m_a(val) {};




any idea ?

Send an actual couple of files. What you sent is impossible to debug (I 
doubt g++ does not complain that do_somthing is defined with no return 
type and no parenthesis).


Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Erez D
On Sun, Apr 26, 2009 at 3:43 PM, Shachar Shemesh shac...@shemesh.bizwrote:

  Erez D wrote:

 hi

 i have encountered a problem with g++

 i have a class a, with forward declaration of a function do_something and
 a constructor a(int val);
 i implement them in a cpp file.

 g++ complains of redefinition of the constructor but not of the
 do_something() function.

 why ?

 files:
 == a.h ===
 class a {
 int m_a;
  a (int val);
  void do_somthing()
 }

 == a.cpp ===
 #include a.h
 a::do_somthing {a.m_a++;};
 a::a(int val):m_a(val) {};

 


 any idea ?

  Send an actual couple of files. What you sent is impossible to debug (I
 doubt g++ does not complain that do_somthing is defined with no return type
 and no parenthesis).

 Shachar


you are right. i just wanted to give a small example instead of send my
whole project  to be inspected.
however after fixing the syntax of this small example, i can't seem to
duplicate the problem that happened in the project.

so thanks anyway.

erez.


 --
 Shachar Shemesh
 Lingnu Open Source Consulting Ltd.http://www.lingnu.com


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Shachar Shemesh

Erez D wrote:



you are right. i just wanted to give a small example instead of send 
my whole project  to be inspected.

Which I doubt anyone would.
however after fixing the syntax of this small example, i can't seem to 
duplicate the problem that happened in the project.

A clear symptom that the problem is not what you think it is.

Try using -E on gcc - it tells it to run the C preprocessor and stop. 
Inspect the resulting file - it may reveal the problem.


Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Erez D
On Sun, Apr 26, 2009 at 4:07 PM, Shachar Shemesh shac...@shemesh.bizwrote:

  Erez D wrote:



 you are right. i just wanted to give a small example instead of send my
 whole project  to be inspected.

 Which I doubt anyone would.

i would not send my whole project as this is spamming (and other reasons
too)


   however after fixing the syntax of this small example, i can't seem to
 duplicate the problem that happened in the project.

 A clear symptom that the problem is not what you think it is.

 Try using -E on gcc - it tells it to run the C preprocessor and stop.
 Inspect the resulting file - it may reveal the problem.

I should be so lucky ...
as i have no #defines whatsoever, the preprocessor output was exactly what i
expected.

i found some voodoo though:
 g++  -E -I . -c source/myclass.cpp  x.cpp
 g++ -c x.cpp
works fine,
however:
 g++  -I . -c source/myclass.cpp
returns a redefinition of ... error




 Shachar

 --
 Shachar Shemesh
 Lingnu Open Source Consulting Ltd.http://www.lingnu.com


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Erez D
On Sun, Apr 26, 2009 at 5:04 PM, Erez D erez0...@gmail.com wrote:



 On Sun, Apr 26, 2009 at 4:07 PM, Shachar Shemesh shac...@shemesh.bizwrote:

  Erez D wrote:



 you are right. i just wanted to give a small example instead of send my
 whole project  to be inspected.

 Which I doubt anyone would.

 i would not send my whole project as this is spamming (and other reasons
 too)


   however after fixing the syntax of this small example, i can't seem to
 duplicate the problem that happened in the project.

 A clear symptom that the problem is not what you think it is.

 Try using -E on gcc - it tells it to run the C preprocessor and stop.
 Inspect the resulting file - it may reveal the problem.

 I should be so lucky ...
 as i have no #defines whatsoever, the preprocessor output was exactly what
 i expected.

 i found some voodoo though:
  g++  -E -I . -c source/myclass.cpp  x.cpp
  g++ -c x.cpp
 works fine,
 however:
  g++  -I . -c source/myclass.cpp
 returns a redefinition of ... error


the funny is that it does compile on my other computer without any
problems
so :
i get an error on jaunty - gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
it compiles cleanly on intrepid - gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)









 Shachar

 --
 Shachar Shemesh
 Lingnu Open Source Consulting Ltd.http://www.lingnu.com



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Diego Iastrubni
On Sunday 26 April 2009 15:38:53 Erez D wrote:
 files:
 == a.h ===
MISSING: 
#ifndef __FILE_H__
 class a {
 int m_a;
  a (int val);
  void do_somthing()
 }
MISSING: semicolon, last line should be
};

MISSING: 
#endif // __FILE_H__

 == a.cpp ===
 #include a.h
 a::do_somthing {a.m_a++;};
 a::a(int val):m_a(val) {};
 

GRADE: C- ~ 70.
Go back to school, and as punishment re-implement quick_sort in VB.NET.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Erez D
diego, you didn't find all the errors, try again ;-)

On Sun, Apr 26, 2009 at 5:19 PM, Diego Iastrubni elc...@kde.org wrote:

 On Sunday 26 April 2009 15:38:53 Erez D wrote:
  files:
  == a.h ===
 MISSING:
 #ifndef __FILE_H__
  class a {
  int m_a;
   a (int val);
   void do_somthing()
  }
 MISSING: semicolon, last line should be
 };

 MISSING:
 #endif // __FILE_H__

  == a.cpp ===
  #include a.h
  a::do_somthing {a.m_a++;};
  a::a(int val):m_a(val) {};
  

 GRADE: C- ~ 70.
 Go back to school, and as punishment re-implement quick_sort in VB.NET.

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Shachar Shemesh

Diego Iastrubni wrote:

On Sunday 26 April 2009 15:38:53 Erez D wrote:
  

files:
== a.h ===

MISSING: 
#ifndef __FILE_H__
  
There is no syntactical requirement to place those. If you do place 
those, it is customary to call them after the file's name. Also, __ is 
only prepended to system includes, so it should have been:

#ifndef A_H

Also, you forgot to add:
#define A_H

which is, after all, the reason we go through the trouble of putting the 
#ifndef to begin with.

class a {
int m_a;
 a (int val);
 void do_somthing()
}


MISSING: semicolon, last line should be
};

MISSING: 
#endif // __FILE_H__


  

== a.cpp ===
#include a.h
a::do_somthing {a.m_a++;};
a::a(int val):m_a(val) {};



Missed lots and lots and lots of errors in this file.


GRADE: C- ~ 70.
Go back to school, and as punishment re-implement quick_sort in VB.NET.

  

Now that's going the cruel and unusual route.

I do think every programmer should take the time to implement binary 
search and quick sort at least once from scratch. The number of corner 
cases there is outstanding, and it is a great practice of thinking of 
the fine details.


Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


where are now ubuntu gutsy repositories ?

2009-04-26 Thread Lev Olshvang

Shalom,


I need to install kernel headres for Ubuntu gutsy, but gutsy is no more 
on  Canonical servers.



Where it goes ?

I found the required package on net and tryed to install it, but it 
requires some linux-headers-2.6.22-14 package, but this pakage does not 
exist.


This way  I put itself int dependency mess and I am afraid apt database 
is corrupted.

How can I check and repair apt database ???



dpkg -i linux-headers-2.6.22-14-generic_2.6.22-14.52_i386.deb
(Reading database ... 130398 files and directories currently installed.)
Preparing to replace linux-headers-2.6.22-14-generic 2.6.22-14.52 (using 
linux-headers-2.6.22-14-generic_2.6.22-14.52_i386.deb) ...

Unpacking replacement linux-headers-2.6.22-14-generic ...
dpkg: dependency problems prevent configuration of 
linux-headers-2.6.22-14-generic:
linux-headers-2.6.22-14-generic depends on linux-headers-2.6.22-14; 
however:

 Package linux-headers-2.6.22-14 is not installed.
dpkg: error processing linux-headers-2.6.22-14-generic (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-headers-2.6.22-14-generic


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: where are now ubuntu gutsy repositories ?

2009-04-26 Thread ik
Gutsy has arrived to it's end of life. there are two Ubuntu versions
release each year.
One for five year, and one for a year. The years are the support years
of course.
As far as I know 8.10 aka Intrepid Ibex replacing it.

On October a new version will replace 8/10 afaik.

Ido



On Sun, Apr 26, 2009 at 6:49 PM, Lev Olshvang l...@vboxcomm.com wrote:
 Shalom,


 I need to install kernel headres for Ubuntu gutsy, but gutsy is no more on
  Canonical servers.


 Where it goes ?

 I found the required package on net and tryed to install it, but it requires
 some linux-headers-2.6.22-14 package, but this pakage does not exist.

 This way  I put itself int dependency mess and I am afraid apt database is
 corrupted.
 How can I check and repair apt database ???



 dpkg -i linux-headers-2.6.22-14-generic_2.6.22-14.52_i386.deb
 (Reading database ... 130398 files and directories currently installed.)
 Preparing to replace linux-headers-2.6.22-14-generic 2.6.22-14.52 (using
 linux-headers-2.6.22-14-generic_2.6.22-14.52_i386.deb) ...
 Unpacking replacement linux-headers-2.6.22-14-generic ...
 dpkg: dependency problems prevent configuration of
 linux-headers-2.6.22-14-generic:
 linux-headers-2.6.22-14-generic depends on linux-headers-2.6.22-14; however:
  Package linux-headers-2.6.22-14 is not installed.
 dpkg: error processing linux-headers-2.6.22-14-generic (--install):
 dependency problems - leaving unconfigured
 Errors were encountered while processing:
 linux-headers-2.6.22-14-generic


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: where are now ubuntu gutsy repositories ?

2009-04-26 Thread Geoff Shang

On Sun, 26 Apr 2009, Lev Olshvang wrote:

I need to install kernel headres for Ubuntu gutsy, but gutsy is no more on 
Canonical servers.



Where it goes ?


http://old-releases.ubuntu.com/ubuntu/

Geoff.



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Swiftouch remaining stuff

2009-04-26 Thread Marc Volovic


Item
Quantity
Unit Price (NIS) before VAT
IBM Intellistation M (2xP3 CPU, 1GB RAM, HW RAID controller, multiple  
SCSI disks)

2
750

Compaq DL360 (2*Xeon 2.6GHz, 4GB RAM, HW RAID, 2*147GB SCSI disks)
1
4,000

Compaq ML350 (2*P3, 1GB RAM, HW RAIDx2, 2x18GB SCSI disk, 4*250GB SATA  
disks)

1
1,000

Acer Aspire One laptop
1
1,500

Assorted CD/DVD ATAPI drives
4
25

Routerboard RB200 w/case
1
250

Assorted hard binders (45 of them)
1
100

PC Engines WRAP.1
2
300

PC Engines WRAP.2
2
300

Atmel AVR32 eval board
1
150

TS7400 eval board w/BDM
1
1,200

iMac 20” G5 (1.8GHz G5, 3/4GB RAM, 250GB disk, no KB, Leopard)
1
4,000

PowerMac G5 (1.8GHz G5, 2.5GB, 80GB+250GB disk, no KB, Leopard)
1
4,000

Samsung ML16xx laser printer
1
300

IBM Netfinity 6000R (3xXeon CPU, 3GB RAM, HW RAID, 6*18GB SCSI disks)
1
750

DGP306 SIP IP Phones
5
300

IBM T43 laptop (1.8GHz, 1GB RAM, 80GB disk)
1
1,000






___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Diego Iastrubni
On Sunday 26 April 2009 17:31:59 Shachar Shemesh wrote:
  Go back to school, and as punishment re-implement quick_sort in VB.NET.

 Now that's going the cruel and unusual route.

 I do think every programmer should take the time to implement binary
 search and quick sort at least once from scratch. The number of corner
 cases there is outstanding, and it is a great practice of thinking of
 the fine details.

Beeing a little serious:
I am not sure quick_sort is a must, as quite frankly it's a reall mess and I 
don't understand it. But heap sort and binary sort, yes. Those are a must.

/me will need to back to the books and remember how heap sort works

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: c++ q

2009-04-26 Thread Shachar Shemesh

Diego Iastrubni wrote:

On Sunday 26 April 2009 17:31:59 Shachar Shemesh wrote:
  

Go back to school, and as punishment re-implement quick_sort in VB.NET.
  

Now that's going the cruel and unusual route.

I do think every programmer should take the time to implement binary
search and quick sort at least once from scratch. The number of corner
cases there is outstanding, and it is a great practice of thinking of
the fine details.



Beeing a little serious:
I am not sure quick_sort is a must, as quite frankly it's a reall mess and I 
don't understand it.

Sounds like an excellent reason to go there.

 But heap sort and binary sort, yes. Those are a must.
  
Heap sort is fairly straight forward once you have the heap. I do 
believe every programmer should know how to write a heap (preferably, a 
compressed one, where you keep no node pointers).


Shachar

--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il