[DNG] Debugging netman auto-connect.

2015-09-11 Thread Edward Bartolo
Hi all, Since yesterday I have been trying to understand why "char** essid_list" is working inside getInstalledEssidList(&count, essid_list) but failing as soon as I try to access essid_list[0] outside the function. Both the source and the gdb text output are attached. Any helpful pointers are a

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-11 Thread tilt!
On 09/11/2015 03:33 AM, Daniel Reurich wrote: > [...] > We could either use $USER_$SESSIONID or $USER/$SESSIONID to > implement multiple sessions per user. > [...] Hi Daniel, what is $SESSIONID? How is the value determined? Kind regards, T. ___ Dng ma

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-11 Thread tilt!
On 09/11/2015 07:33 AM, tilt! wrote: > [...] > #1 A "prefix" for XDG_RUNTIME_DIR, meaning the directory where > runtime directories are created; [...] > >XDG_RUNTIME_PREFIX="/tmp/xdg-runtime/user" > > This definition could go to "/etc/xdg/runtime-prefix.default" > > #2 A procedure that, if cal

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread tilt!
On 09/11/2015 10:35 AM, Edward Bartolo wrote: Hi all, Since yesterday I have been trying to understand why "char** essid_list" is working inside getInstalledEssidList(&count, essid_list) but failing as soon as I try to access essid_list[0] outside the function. Both the source and the gdb text

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread Rainer Weikusat
Edward Bartolo writes: > Since yesterday I have been trying to understand why "char** > essid_list" is working inside getInstalledEssidList(&count, > essid_list) but failing as soon as I try to access essid_list[0] > outside the function. > > Both the source and the gdb text output are attached. >

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread Rainer Weikusat
"tilt!" writes: > On 09/11/2015 10:35 AM, Edward Bartolo wrote: >> Hi all, >> >> Since yesterday I have been trying to understand why "char** >> essid_list" is working inside getInstalledEssidList(&count, >> essid_list) but failing as soon as I try to access essid_list[0] >> outside the function.

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread Edward Bartolo
As suggested by tilt, I switched to use GSList but I need to use it for two distinct cases: a) to manage a list of strings b) to manage a list of structures of this construct: typedef struct { double quality; char name[MAX_ESSID_LENGTH]; } wifi_quality; I expect this to be possibl

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread Edward Bartolo
I will try the solution from Rainer as it seems to do the least of disruption to my original code. Thanks to you all, Edward On 11/09/2015, Edward Bartolo wrote: > As suggested by tilt, I switched to use GSList but I need to use it > for two distinct cases: > a) to manage a list of strings > b)

Re: [DNG] How to get Suckless-init source. Was: Doing away with multi-threading in my project (netman)

2015-09-11 Thread dan pridgeon
From: Steve Litt To: dng@lists.dyne.org Sent: Thursday, September 3, 2015 11:35 AM Subject: Re: [DNG] Doing away with multi-threading in my project (netman) On Thu, 3 Sep 2015 07:38:13 +0100 Edward Bartolo wrote: . I know that's how suckless-init works. I suggest you download

[DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr
Hi Edward, Consider a double pointer like a matrix (in algebra) witch one you don't know its dimension a priori. An example: put the case that we are developing an application witch calculates the inverse of a matrix of dimensions NxM. The values of N and M will be determinated by the user a

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread Edward Bartolo
Hi Aitor, auto-connect successfully sorted the available wifi signals according to strength and finally it connected to my wifi. Hurray! The next test, is to include more wifi interfaces files and test whether it can select the wifi with the best signal and choose the corresponding interfaces fil

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr
No! Only square matrices can have a determinant. I am not Roger Penrose. I am a hooligan of *Richard Feynman* and *Lev Davidovick Landau* (vintage). Yes, i know... There are many hooligans in this forum. There is a special black hole in the heaven for that guys. Aitor. El 11/09/15 a l

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread tilt!
Perfect - avoids the GLIB dependency, too :) GLIB is a bloated beast anyway, comes with an XML parser, an own threading system, i bet somewhere in there is a fully featured telnet client and a mail program, too. Thank you Rainer for extreme (C) programming. ;-) Regards, T. On 09/11/2015 04:

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread Edward Bartolo
Hi all, auto-conn successfully connected to my wifi notwithstanding I had more than one "interfaces" file installed for the wifis belonging to two sisters. So, it had to decide which file to use from three "essid" files. Internally, it sorts the available wifi signals according to strength starti

Re: [DNG] libpam-xdg-support / libpam-systemd

2015-09-11 Thread Isaac Dunham
On Fri, Sep 11, 2015 at 11:23:38AM +0200, tilt! wrote: > Unadressed remains the lifecycle of $XDG_RUNTIME_DIR, specifically: > > * When is $XDG_RUNTIME_PREFIX created? > > If $XDG_RUNTIME_PREFIX hosts every user's runtime directory, > it may not be created with ownership of the user, so to do

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr
You are right Edward, i was thinking in the transposition matrix. El 11/09/15 a las 19:32, Edward Bartolo escribió: only square matrices can have an inverse ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listi

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr
A * (1/A) = 1 = (1/A) * A So, it must be square :-) On 11/09/15 20:57, Jonathan Wilkes wrote: El 11/09/15 a las 19:32, Edward Bartolo escribió: only square matrices can have an inverse ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.d

Re: [DNG] Mirroring Devuan

2015-09-11 Thread aitor_czr
Hi, I started mirroring Devuan: http://188.165.204.61/repo/ I hope to have enought space in the hard disk: a dedicated server machine in SoYouStart (OVH). Aitor. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread Peter Olson
> On September 11, 2015 at 2:24 PM aitor_czr wrote: > > No! > > Only square matrices can have a determinant. > > I am not Roger Penrose. I am a hooligan of *Richard Feynman* > and *Lev Davidovick Landau* (vintage). Perhaps also with some variation *Joseph-Louis Lagrange* :-) Peter Olson _

[DNG] Devuan Mirror

2015-09-11 Thread Rod Rodolico
I sent an e-mail about a week ago to the list. I'm willing to mirror Devuan, I just do not have the information I need to do it. If anyone wants another mirror. It would be in Dallas, US. I just need to know how much space and bandwidth it will need, plus instructions on how to set up the mirror.

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread KatolaZ
On Fri, Sep 11, 2015 at 10:48:19PM +0200, aitor_czr wrote: > A * (1/A) = 1 = (1/A) * A > > So, it must be square :-) > I will become pedantic now, but if A is a matrix, the interpretation of the equations above depends on what "1" and "/" actually mean for you. In general, 1/A does not mean anyt

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr
I recomend you to eat a pizza with Jaromil El 12/09/15 a las 00:18, KatolaZ escribió: will become pedantic now, but if A is a matrix, the interpretation of the equations above depends on what "1" and "/" actually mean for you. In general, 1/A does not mean anything when you deal with matrices.

Re: [DNG] Debugging netman auto-connect.

2015-09-11 Thread aitor_czr
Of course... and Maxwell.. and many others... El 11/09/15 a las 23:18, Peter Olson escribió: On September 11, 2015 at 2:24 PM aitor_czr wrote: > >No! > >Only square matrices can have a determinant. > >I am not Roger Penrose. I am a hooligan of*Richard Feynman* >and*Lev Davidovick Landau* (

Re: [DNG] Devuan Mirror

2015-09-11 Thread Franco Lanza
On Fri, Sep 11, 2015 at 04:34:00PM -0500, Rod Rodolico wrote: > I sent an e-mail about a week ago to the list. I'm willing to mirror > Devuan, I just do not have the information I need to do it. > > If anyone wants another mirror. It would be in Dallas, US. I just need > to know how much space and

[DNG] About the issues on the devuan repositories

2015-09-11 Thread Franco Lanza
Hi all, after the last days issues with devuan repositories, i have deeply investigated what broke our amprolla merged repo. First issue: debian mirror auto geolocation Until some days ago we were using http://http.debian.net as auto geolocation redirect for debian mirrors to be merged. Sadly th