<DocScrutinizer> what's labsw
<kristianpaul> an usb controlled swich
<kristianpaul> made by werner :)
<DocScrutinizer> mhm
<kristianpaul> Actually i had been thinking what else i can do with it besides powercycle a M1
<DocScrutinizer> powercycle M1 - what's the use of such project?
<kristianpaul> hunting for nor corruption in M1
<DocScrutinizer> err
<DocScrutinizer> k
<kristianpaul> :)
<DocScrutinizer> for sure a joyful thing to do
<DocScrutinizer> sounds a bit like "what's square root of 2?" though
<DocScrutinizer> 1 * 1 ? no
<DocScrutinizer> 1.000001 * 1.000001? no
<DocScrutinizer> ...
<kristianpaul> x|
<kristianpaul> "It would be desirable to be able to also switch AC" indeed :)
<DocScrutinizer> well, depends on the type of relay you use, no?
<kristianpaul> yes
<kristianpaul> i would prefer a triac for ac anyway
<kristianpaul> *g*
<wpwrak> the relays are quite decent :) just a little big
<kristianpaul> little noisy!!
<kristianpaul> i can stand that for a minute
<DocScrutinizer> use SolidState relays then
<kristianpaul> cant*
<DocScrutinizer> I bet there are some available with even same footprint
<wpwrak> the noise isn't *that* bad :)
<kristianpaul> well, i was making that for 8 in/out that time
<kristianpaul> first vesion was rele based, next triac :-)
<kristianpaul> me happy ;)
<kristianpaul> was a very basic board i did for some EE were doign theit thesis,
<kristianpaul> pic16F, sms send/receive via AT commands :)
<kristianpaul> and zero noise :)
<wpwrak> (AT commands) ;-))
<kristianpaul> So if understand correcly that 20000+ cycles  was with no pull up mod?
<kristianpaul> or you still finding the  2 square root, as DocScrutinizer pointed :)
<wpwrak> 20000+ was with WE# pull-up ... and something corrupting the lock bit of block 1
<wpwrak> well, 1st block, so block 0 :)
<rejonX> morning
<wolfspraul> good morning :-)
<roh> wolfspraul: morning
<qi-bot> [commit] Maarten ter Huurne: PowerSaver: re-layouted code. (master) http://qi-hw.com/p/gmenu2x/ae685a9
<qi-bot> [commit] Maarten ter Huurne: InputManager: SDL_NumJoysticks is a function, try calling it. (master) http://qi-hw.com/p/gmenu2x/0cb1645
<qi-bot> [commit] Maarten ter Huurne: InputManager: re-layouted code. (master) http://qi-hw.com/p/gmenu2x/f969697
<qi-bot> [commit] Maarten ter Huurne: Include SDL header as <SDL.h> instead of <SDL/SDL.h>. (master) http://qi-hw.com/p/gmenu2x/ba60036
<qi-bot> [commit] Maarten ter Huurne: InputManager: reduce namespace pollution. (master) http://qi-hw.com/p/gmenu2x/c6db9ff
<qi-bot> [commit] Maarten ter Huurne: InputManager: C++-style type definitions. (master) http://qi-hw.com/p/gmenu2x/315bf0a
<qi-bot> [commit] Maarten ter Huurne: BrowseDialog: simplify code using InputManager::waitForPressedButton(). (master) http://qi-hw.com/p/gmenu2x/ccf55e5
<qi-bot> [commit] Maarten ter Huurne: MessageBox: minor cleanup. (master) http://qi-hw.com/p/gmenu2x/40fd35d
<qi-bot> [commit] Maarten ter Huurne: SettingsDialog: simplify code using InputManager::waitForPressedButton(). (master) http://qi-hw.com/p/gmenu2x/a38c283
<qi-bot> [commit] Maarten ter Huurne: MenuSettingBool: Support toggling of boolean settings using left/right. (master) http://qi-hw.com/p/gmenu2x/641c989
<qi-bot> [commit] Maarten ter Huurne: InputManager: have "joystick" as a member instead of a global. (master) http://qi-hw.com/p/gmenu2x/433be5d
<qi-bot> [commit] Maarten ter Huurne: InputManager: Don't break if joystick support is disabled in SDL. (master) http://qi-hw.com/p/gmenu2x/9548aa0
<qi-bot> [commit] Maarten ter Huurne: InputManager: improved config file parsing. (master) http://qi-hw.com/p/gmenu2x/a685b43
<qi-bot> [commit] Maarten ter Huurne: InputManager: removed "clear" and "manual" logical buttons. (master) http://qi-hw.com/p/gmenu2x/28f6cd2
<qi-bot> [commit] Maarten ter Huurne: MessageBox: Use arrays instead of vectors for buttons. (master) http://qi-hw.com/p/gmenu2x/3252c77
<qi-bot> [commit] Maarten ter Huurne: MessageBox: header cleanups. (master) http://qi-hw.com/p/gmenu2x/9e876a6
<qi-bot> [commit] Maarten ter Huurne: SettingsDialog: removed unused action variable and macros. (master) http://qi-hw.com/p/gmenu2x/0b878c1
<qi-bot> [commit] Maarten ter Huurne: InputDialog: re-layouted code. (master) http://qi-hw.com/p/gmenu2x/fa5a981
<qi-bot> [commit] Maarten ter Huurne: InputDialog: do not return anything from drawVirtualKeyboard(). (master) http://qi-hw.com/p/gmenu2x/55cabce
<qi-bot> [commit] Maarten ter Huurne: IconButton: removed unused local variable. (master) http://qi-hw.com/p/gmenu2x/76613d1
<qi-bot> [commit] Maarten ter Huurne: IconButton: fixed up-to-date check in setPosition(). (master) http://qi-hw.com/p/gmenu2x/abe9130
<qi-bot> [commit] Maarten ter Huurne: IconButton: removed unused functionality. (master) http://qi-hw.com/p/gmenu2x/62facf4
<qi-bot> [commit] Maarten ter Huurne: IconButton: header cleanup. (master) http://qi-hw.com/p/gmenu2x/cfd294b
<qi-bot> [commit] Maarten ter Huurne: InputDialog: header cleanup. (master) http://qi-hw.com/p/gmenu2x/40fcd51
<qi-bot> [commit] Maarten ter Huurne: LinkApp: various cleanups. (master) http://qi-hw.com/p/gmenu2x/14bae04
<qi-bot> [commit] Maarten ter Huurne: cpu: Include header instead of repeating function declaration. (master) http://qi-hw.com/p/gmenu2x/33e7f1e
<qi-bot> [commit] Maarten ter Huurne: Massive header cleanup. (master) http://qi-hw.com/p/gmenu2x/e0e7e87
<qi-bot> [commit] Maarten ter Huurne: More header cleanups. (master) http://qi-hw.com/p/gmenu2x/a01d892
<qi-bot> [commit] Maarten ter Huurne: utilities: Removed unused functions. (master) http://qi-hw.com/p/gmenu2x/40c510a
<qi-bot> [commit] Maarten ter Huurne: utilities: Replace min/max functions by the versions from STL. (master) http://qi-hw.com/p/gmenu2x/aea1c44
<qi-bot> [commit] Maarten ter Huurne: Minimized gmenu2x.h. (master) http://qi-hw.com/p/gmenu2x/f28e4f6
<qi-bot> [commit] Maarten ter Huurne: gmenu2x.cpp: Re-ordered includes. (master) http://qi-hw.com/p/gmenu2x/cf8ebbc
<Ayla> mth: great work
<mth> yeah, but as usual with gmenu2x I still haven't fixed the thing I wanted to fix today ;)
<Ayla> mth: what was the correct command to compile the python scripts?
<jow_laptop> kyak: if you find a few minutes, please check whether the menuconfig situation improved now. The odd behaviour was most likely caused by recursive depends injected by the luci suite
<kyak> jow_laptop: sure, i can do that. What is the commit that has most likely solved the problem?
<jow_laptop> if you do not include the luci feed in your builds its probably another package causing the problems
<jow_laptop> in this case, run  make defconfig 2>/dev/null | grep recursive
<kyak> no, i don't have luci in there
<kyak> there are several packages with recursive dependencies
<jow_laptop> those are most likely causing it
<kyak> qt4 is among them
<kyak> lubpurple, too
<kyak> it's a little bit strange
<kyak> for example, it mentiones alex4
<kyak> alex4 depends on alex4-data, while alex4-data depends on alex4. Is is the kind of thing causing problems for kconfig?
<jow_laptop> I had  stuff like package A with DEPENDS:=+B and package B with DEPENDS:=A  ... that made menuconfig freak out
<kyak> strange.. it has been like this for while
<kyak> i'll try changing it now
<jow_laptop> yes, somehow menuconf got stricter, but it has always been a problem
<kyak> interesting.. libpurple is mentioned as recursive, but it actually isn't: http://projects.qi-hardware.com/index.php/p/openwrt-packages/source/tree/master/pidgin/Makefile
<kyak> DEPENDS:=+libxml2 +libgnutls +libncursesw +glib2 $(ICONV_DEPENDS) $(INTL_DEPENDS)
<jow_laptop> can you paste the full recursive lines somewhere?
<jow_laptop> its a bit hard to understand as select-depends also inject reverse depends into the selected package
<jow_laptop> you can inspect the generated Kconfig source with "./scripts/metadata.pl package_config tmp/.packageinfo"
<kyak> jow_laptop: i'll be back in a couple of hours
<jow_laptop> kk
<mth> Ayla: python -OO -E -c 'import compileall ; compileall.compile_dir("path")'
<Ayla> mth: ah thanks
<Ayla> I'm having an issue with a makefile right now, maybe one of you have the answer
<Ayla> I have this rule:
<Ayla> $(PYGAME_LIB_DIR)/%.so: $(PYGAME_SRC_DIR)/%.c
<Ayla>     $(TARGET_CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
<Ayla> it does work fine, as long as the .c files are present when the makefile is executed
<Ayla> however, the sources are extracted from a TGZ archive;
<Ayla> if I launch the makefile, it will fail to build any of the .so lib
<Ayla> if I launch it again, it works fine
<Ayla> how can I bypass that?
<jow_laptop> what triggers the .tar.gz unpack?
<Ayla> I untar it manually
<Ayla> inside a rule
<Ayla> let me upload that Makefile, it'll be easier
<Ayla> jow_laptop: http://pastebin.com/h8YMQ2Q9
<jow_laptop> can't you make the %.so target simply depend on $(PYGAME_DIR)/.downloaded as well?
<Ayla> the current fix is line 122: I call an external "make" process
<jow_laptop> $(PYGAME_LIB_DIR)/%.so: $(PYGAME_DIR)/.downloaded $(PYGAME_SRC_DIR)/%.c
<jow_laptop> ...
<Ayla> probably, what would that change?
<jow_laptop> it would force make to complete ".downloaded" which in turn would trigger wget and tar -xzf
<Ayla> the sources are correctly extracted, that's not the problem
<jow_laptop> before diving into the %.so rule
<mth> it would be cleaner to depend the .so files on the .c files
<mth> and use $^ to refer to them inside the rule itself, to avoid duplication
<mth> and then make the .c files depend on .downloaded
<Ayla> some of the .so are constitued with two .c files
<Ayla> or maybe $^ extends to all the C files?
<Ayla> that are supplied at the right of the ':' delimiter
<mth> iirc $^ is all dependencies and $< is the first dependency, but maybe I mixed them up
<mth> doesn't pygame itself already include a Makefile? or a setup.py?
<Ayla> it has setup.py
<mth> it's possible setup.py already has the functionality to build the libs
<mth> I don't know if it can handle cross compilation though
<mth> but maybe it's easier to patch setup.py than the replicate its functionality
<Ayla> it's a bit of a mess
<Ayla> that's why I went with a Makefile
<Ayla> SiENcE did the same and bypassed setup.py with another python script
<Ayla> ok, here is a new makefile: http://pastebin.com/yyGhZ8kS
<Ayla> which does not work at all
<Ayla> Make says that there's no rule to build output/build/pygame-1.9.1release/lib/base.so
<kyak> jow_laptop: what i should be looking for in the generated Kconfig source?
<jow_laptop> select, dpends
<kyak> in case of libpurple, it doesn't lok recursive
<kyak> *look
<jow_laptop> sorry I got distracted
<jow_laptop> kyak: can you upload the full kconfig output somewhere? so that I can follow the dependency chains manually
<mth> well, there is indeed no rule to build the "base" module
<mth> (for Ayla)
<Ayla> mth: you should highlight me
<Ayla> mth: the rule to build the "base" module should be the one line 36 on http://pastebin.com/yyGhZ8kS
<mth> I did highlight you, one line afterwards
<mth> is there a src/base.c?
<mth> bedtime for me, I'll check back tomorrow
<Ayla> irssi will highlight the message only if my nick is the very first word of the message
<Ayla> and there is a src/base.c as soon as the tarball is extracted
<mth> well, that's not what most IRC clients do afaik
<mth> I don't know if it makes a difference, but I usually use the 3-part target line
<mth> so "targets: dest_pattern: src_pattern"
<mth> really gone now
<Ayla> ok