Re: [dev] [OT] performance monitoring using hardware counters [SOLVED]

2012-09-04 Thread Amit Uttamchandani
On Sat, Sep 01, 2012 at 01:21:39AM -0400, Kurt H Maier wrote: > On Sat, Sep 01, 2012 at 06:29:32AM +0200, Valentin Ochs wrote: > > On Fri, Aug 31, 2012 at 05:34:26PM -0700, Amit Uttamchandani wrote: > > > Thanks for the reply. > > > > > > Played around with S

Re: [dev] [OT] performance monitoring using hardware counters

2012-08-31 Thread Amit Uttamchandani
aris there is dtrace, Linux provides something similar, but I forget > what it's called...there might be a port of dtrace for Linux. > > System tap. > > --Carlos > On Aug 31, 2012 3:22 PM, "Amit Uttamchandani" < > amit.uttamchand...@my.csun.edu> wrote

[dev] [OT] performance monitoring using hardware counters

2012-08-31 Thread Amit Uttamchandani
Hello, Would you be able to share your thoughts/experiences on performance monitoring using hardware counters in Linux? I am currently using *perf* tools that come built in with the kernel to measure the number of cycles a specific program takes. Now, I can't seem to figure out how to measure th

[dev] Starting surf automatically after webserver has started

2012-07-16 Thread Amit Uttamchandani
Hello, I would like to have surf start up when the webserver on the system has started up. Right now, surf starts up but the webserver starts up after surf. Thus, when surf loads there is a 404 not found error. A manual refresh has to be performed. I played around with init.d in debian but not s

Re: [dev] I messed up...used glib, dbus, and friends. Need help to fix this mistake

2012-05-16 Thread Amit Uttamchandani
The system is an embedded system. However, it is quite powerful in the sense it has a dual core CPU and ample RAM. It is running just a standard linux desktop distro right now during the prototype stage. The applications on top have no requirement to be portable. Since there was enough resources,

[dev] I messed up...used glib, dbus, and friends. Need help to fix this mistake

2012-05-15 Thread Amit Uttamchandani
Hello, I messed up bad...I thought by using glib/GIO functionality it would make it easier for me. However, I realized now that everything is so much more complicated. I used glib/GIO/gvfs to do the following: 1. Mounting USB disks, partitions, and samba shares. - Suckless alternative: libc

Re: [dev] suckless document generator for C code

2012-05-15 Thread Amit Uttamchandani
On Fri, May 11, 2012 at 12:51:05PM -0400, Luis Anaya wrote: > I'm fond of RoboDoc. Being that it is fairly code agnostic. It may > require more tagging than other options, but it works well for me > > Luis > I ended up using ROBODoc. It is quite nice and its only dependency is libc. I looked i

Re: [dev] [dwm] X autologin and startup applications

2012-05-15 Thread Amit Uttamchandani
On Mon, May 14, 2012 at 03:20:15AM +0100, Ethan Grammatikidis wrote: [snip] > > As for maximizing surf, maximizing is a window manager feature. It's > possible the xrandr line you have there is the right thing for dwm, but > I am wondering why you don't run xrandr (and if necessary a short > sle

Re: [dev] Suckless operating system

2012-05-14 Thread Amit Uttamchandani
On Mon, Jun 14, 2010 at 01:51:21PM +0200, Kurt Van Dijck wrote: [snip] > > I fully agree. after looking to minit & stuff, I decided to write our own > init daemon to incorporate some safety stuff. > * booting is done in parallel. > * udev (+/- 5sec) was replaced by our (small) fdev (now takes so

Re: [dev] suckless document generator for C code

2012-05-11 Thread Amit Uttamchandani
On Fri, May 11, 2012 at 06:34:53PM +, Bjartur Thorlacius wrote: > On 5/11/12, Amit Uttamchandani wrote: > > The problem right now is the APIs are kept in a MS Word Office 2010 > > .docx file, which doesn't work right with LibreOffice. > > > I smiled - `til

Re: [dev] suckless document generator for C code

2012-05-11 Thread Amit Uttamchandani
On Fri, May 11, 2012 at 06:34:00PM +0100, Connor Lane Smith wrote: > On 11 May 2012 17:45, Amit Uttamchandani > wrote: > > I'm looking for a document generator for C code. Mainly to document APIs > > to give to UI developers. > > I'm of the belief that doc

[dev] suckless document generator for C code

2012-05-11 Thread Amit Uttamchandani
Hello, I'm looking for a document generator for C code. Mainly to document APIs to give to UI developers. Looked at quite a few options and it seems gtk-doc is suitable. A couple of kernel projects use it (libudev) and it doesn't have a huge dependency list. What do you all think? What do you us

[dev] [dwm] X autologin and startup applications

2012-05-06 Thread Amit Uttamchandani
Hello, Using dwm on a customized system and accomplished X autologin and starting of applications using the following: For X autologin: 1. Modified /etc/X11/xinit/xserverrc to add a sudo. Thus: exec sudo /usr/bin/X -nolisten tcp "$@" 2. Add user to sudoers list with no password required.

Re: [dev] [SOLVED] Care to share Xinerama Xorg.conf?

2010-05-03 Thread Amit Uttamchandani
It was a hardware issue! One of the pins on the dvi cable was bent.. Sigh...I guess I should give X benefit of the doubt next time.. Thanks for the all help..I couldn't have gotten it working without knowing about the xrandr stuff.

Re: [dev] Care to share Xinerama Xorg.conf?

2010-05-03 Thread Amit Uttamchandani
On Fri, Apr 30, 2010 at 10:53:33AM -0400, Michael Roth wrote: > In my old dual-monitor setup I needed to add a 'Virtual' line > specifying my maximum resolution in my xorg.conf. It went in the > Display subsection of the Screen section I think it was. But that was > just due to my odd monitor siz

[dev] Care to share Xinerama Xorg.conf?

2010-04-29 Thread Amit Uttamchandani
Hey everyone, Finally got a second monitor but can't get Xinerama to function for the life of me. Can anybody share their Xorg.conf? The specs are as follows: 1. Debian Squeeze (Linux 2.6.32) 2. Radeon HD 3600 card 3. xserver-xorg 7.5 4. xserver-xorg-core 1.7.6 If you have a similar set up

Re: [dev] Suckless word processing solution?

2009-09-24 Thread Amit Uttamchandani
On Wed, Sep 23, 2009 at 12:30:15AM +0200, Uriel wrote: > > People that bash Tk have never used it. > > Tk is shit, but compared to GTK, Qt and the rest, Tk at least is > odorless and tasteless shit. > > uriel > What bout FLTK? I've used some FLTK apps and they actually are reasonably more res

Re: [dev] Suckless word processing solution?

2009-09-24 Thread Amit Uttamchandani
On Wed, Sep 23, 2009 at 09:41:20AM -0400, Robert C Corsaro wrote: > Илья Илембитов wrote: > >BTW, is there any list of mature Tk-based apps? How about music/video > >players, IMs, etc? I am only aware of Tkabber and HV3 (which is already > >dead). > gitk uses tk and is provided by default with gi

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-15 Thread Amit Uttamchandani
On Tue, Sep 15, 2009 at 09:33:22PM +0200, markus schnalke wrote: > [2009-09-13 23:34] Amit Uttamchandani > > > > Just curious as to the arguments against OO programming. All the classes > > I have taken in uni always trumpet OO. > > The problem of discussions with m

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-15 Thread Amit Uttamchandani
On Tue, Sep 15, 2009 at 02:35:46AM +0200, Uriel wrote: [snip] > > > > Some examples: > > > >  1. I designed a software to automate testing of the boxes that we > >  build. The main language used is Python (I guess it's hard to avoid OO > >  when using python). Basically the design is such that I

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-15 Thread Amit Uttamchandani
On Mon, Sep 14, 2009 at 07:15:07PM +0100, Anselm R Garbe wrote: [snip] > > 2. A colleague of mine needed to design a packet generation engines for > > our box. He used OO concepts in CC by using techniques such as VTABLE, > > defines for methods, classes, etc: > > > > /** > > * Macros for de

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-14 Thread Amit Uttamchandani
On Mon, Sep 14, 2009 at 08:59:12AM +0100, Anselm R Garbe wrote: > > Just curious as to the arguments against OO programming. All the classes > > I have taken in uni always trumpet OO. I have been using it ever since > > but I do agree that it can get out of hand at times. > > Let me paste some res

Re: [dev] Conversation with Anselm R. Garbe of suckless.org

2009-09-13 Thread Amit Uttamchandani
On Thu, Aug 06, 2009 at 05:26:55PM -0600, Jack Woehr wrote: > And for your delectation: Conversation with Anselm R. Garbe of > suckless.org > > Definitely an interesting

Re: [dev] surf dependencies

2009-08-24 Thread Amit Uttamchandani
On Mon, 24 Aug 2009 07:39:27 -0500 Kurt H Maier wrote: > On Sun, Aug 23, 2009 at 11:13 PM, Amit Uttamchandani wrote: > > Recently upgraded webkit to 1.1.12-1 and getting the following error: > > > > ./surf: symbol lookup error: /usr/lib/libwebkit-1.0.so.2:

Re: [dev] sup mail client

2009-08-24 Thread Amit Uttamchandani
On Mon, 24 Aug 2009 13:09:27 +0200 pancake wrote: > I have recently read this post and got interest on trying sup: > > http://cworth.org/sup/a-mail-client-for-geeks/ > > Does somebody already tried? I have installed with: > Same experience as the others have mentioned but also would like to

Re: [dev] surf dependencies

2009-08-23 Thread Amit Uttamchandani
On Sun, 23 Aug 2009 17:22:15 +0100 Lorenzo Bolla wrote: > Hi all, > what version of libwebkit does surf depend on? > I've installed ubuntu jaunty's libwebkit-dev package (v1.0.1, I think) and > surf's compilation fails with this error: > surf.c:26: error: expected specifier-qualifier-list before