DocScrutinizer05 changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
Markvilla has joined #qi-hardware
pcercuei has joined #qi-hardware
wolfspraul has joined #qi-hardware
<DocScrutinizer05> pcercuei: would you mind sharing the necessary bits?
<DocScrutinizer05> pcercuei: (udev)
eintopf has quit [Ping timeout: 245 seconds]
eintopf has joined #qi-hardware
security has joined #qi-hardware
megha has quit [Ping timeout: 264 seconds]
emeb has quit [Quit: Leaving.]
wolfspraul has quit [Quit: leaving]
wolfspraul has joined #qi-hardware
<pcercuei> DocScrutinizer05: sure
<pcercuei> /etc/udev/rules.d/50-power.rules contains this:
<pcercuei> SUBSYSTEM=="power_supply", ACTION=="change", RUN+="/usr/local/sbin/laptop_mode.sh"
<pcercuei> /usr/local/sbin/laptop_mode.sh contains this: http://pastebin.com/GwMmNacz
<pcercuei> that script could be improved a lot but I was lazy :p
wolfspraul has quit [Ping timeout: 258 seconds]
wolfspraul has joined #qi-hardware
xiangfu has joined #qi-hardware
porchao has joined #qi-hardware
Calyp_ has joined #qi-hardware
Calyp has quit [Ping timeout: 245 seconds]
<DocScrutinizer05> thanks :-D
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
<whitequark> pcercuei: also thanks
<whitequark> debian kinda has these rules but they're sloppy on this laptop
<whitequark> or maybe it just has crappy ACPI, i.e. it has ACPI
* whitequark is trying to install VisualAge Smalltalk 8.5 Enterprise **EVALUATION**
<whitequark> how do i launch this i have no idea
<wpwrak> nice, McKinsey & Co. in a box :)
<whitequark> wpwrak: huh? :)
<wpwrak> enterprise evaluation :)
unclouded has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
Markvilla has quit [Quit: Computer has gone to sleep.]
pcercuei has quit [Quit: dodo]
security is now known as megha
<whitequark> wpwrak: :D
<whitequark> VA Smalltalk Enterprise Manager, library
* whitequark sighs
<larsc> whitequark: why do you do this?
<whitequark> several reasons
<whitequark> smalltalk's object model is the basis of ruby's, with some extensions. I'm interested how it works out in smalltalk.
<whitequark> second, the whole "let's not talk about source code ever again" model is unusual and interesting to me
<whitequark> I'm not convinced it is superior but it is at least worth investigating
<whitequark> third, VA Smalltalk was widely regarded as one of the most advanced programming environments of its time, and, partially, of today
<whitequark> aha, launched it. of course it does not respect DPI settings. my eyes :/
<whitequark> so far it looks like a weird mix of Eclipse and Delphi
<whitequark> and it exclusively uses xlib for rendering
<whitequark> this is... really painful.
<whitequark> ...
<whitequark> no, Eclipse and Delphi look like bad spinoffs of VA St :)
<whitequark> especially the latter, I mean, down to the component icons
<larsc> yea, that's what I'd have imagined
<whitequark> ah, right, Eclipse is actually an evolution of VA St
<whitequark> all inside IBM
<whitequark> again, literally down to the icons. I wonder what's up with them. It's not like it's hard to draw several 16x16 pictograms?..
<whitequark> grrr why does it constantly crash
wolfspraul has quit [Ping timeout: 260 seconds]
jluis|work has joined #qi-hardware
<larsc> so it is indeed very similar to eclipse ;)
<whitequark> larsc: :D
LunaVorax has joined #qi-hardware
LunaVorax has quit [Remote host closed the connection]
xiangfu has joined #qi-hardware
LunaVorax has joined #qi-hardware
lekernel has joined #qi-hardware
security has joined #qi-hardware
megha has quit [Ping timeout: 258 seconds]
Calyp_ is now known as Calyp
Calyp has quit [Changing host]
Calyp has joined #qi-hardware
lkcl has quit [Ping timeout: 245 seconds]
lkcl has joined #qi-hardware
wolfspraul has joined #qi-hardware
<whitequark> I wonder, how does one write code in the VA St
<whitequark> I *still* can't figure it out
<whitequark> damn this interface >_<
<whitequark> now it shows me that my code is broken, but how do I look at the message
guanucoluis has quit [Ping timeout: 258 seconds]
freemor has joined #qi-hardware
<whitequark> ahh
<whitequark> you aren't even supposed to write code
<whitequark> you connect, er, stuff to stuff with arrows
<whitequark> and sometimes the arrow signifies a method call, and you can connect another arrow to this arrow, and this would be a an argument
<whitequark> it's pretty cool actually. like data-flow graphs.
<whitequark> I think this can actually be way easier to grasp for some engineers... or it definitely was back in '80s
<whitequark> so the Add -> OrderedCollection arrow is the "add:" method call, which accepts a single argument, "anObject"
<whitequark> and the field -> (Add -> OrderedCollection) arrow connects the "object" of the field to "anObject" of the visualized method call
<wpwrak> "Programming for cavepeople, Lesson 1: arrows and stones" :)
<whitequark> wpwrak: disagree
<whitequark> 95% of GUI programming is trivial
<whitequark> I'd rather do it visually than write tons of boilerplate
<whitequark> FWIW, Qt follows the same concept, except it's kinda dumbed down
<whitequark> several orders of magnitude :)
<larsc> every sane toolkit does
<whitequark> larsc: C++ Builder didn't :)
<larsc> the emphasis is on _sane_
<whitequark> Delphi, etc. neither Swing, neither AWT, ..
<whitequark> :D
dandon has quit [Remote host closed the connection]
<wpwrak> considering that few guis have evolved beyond the capabilities of the 3270 terminal, perhaps that's not surprising :)
dandon has joined #qi-hardware
<lekernel> urgh, is that motif?
<lekernel> IBM VisualAge, bringing windows 95 graphics to 2013
<whitequark> lekernel: syntax doesn't matter, gui style doesn't matter, etc
<whitequark> and yeah it is motif :D
<whitequark> doesn't it predate win95?
<wpwrak> motif ? oh yes
<wpwrak> though you couldn't tell by its daringly progressive "3D" look
<whitequark> :D
<wpwrak> but they did everything right. it was slow, and initially closed source, then semi-open source
<wpwrak> oh, and it appears they then hurriedly open sourced it. already in 2012. that was quick
<whitequark> ... so they collected the signatures in 2006
<whitequark> and in 2012 the open ("open"?) group open-sourced it
<whitequark> timely response, so typical for committee-based process
<wpwrak> News flash: Egypt considers permitting daguerreography of the pyramids :)
rz2k has joined #qi-hardware
security has quit [Ping timeout: 246 seconds]
<whitequark> wpwrak: :D
pcercuei has joined #qi-hardware
erikkugel has joined #qi-hardware
unclouded has quit [Ping timeout: 264 seconds]
<pcercuei> larsc: hi, have you ever worked with linux' input code?
<whitequark> might be relevant
<pcercuei> thanks, but that's not really what I'm looking for
<larsc> pcercuei: a bit
<pcercuei> the input device drivers are linked to handlers, that dispatch the events to the clients
<pcercuei> the handlers being evdev, joydev, mousedev etc
<larsc> yes
<pcercuei> what I'm trying to achieve, is to completely disconnect an input driver from all those handlers, from a different input driver
<larsc> why?
<pcercuei> the idea is to merge several drivers into one (gpio-keys plus jz-sadc into one joystick)
<pcercuei> so that the userspace sees only one joystick, while the events are generated from different drivers
<pcercuei> with a new input driver, connected to joydev, that acts as a handler itself and redirect the events
<larsc> I see
<larsc> and have no idea
<pcercuei> hmm. ok :)
xiangfu has quit [Ping timeout: 255 seconds]
xiangfu has joined #qi-hardware
xiangfu has quit [Ping timeout: 264 seconds]
wolfspraul has quit [Quit: leaving]
security has joined #qi-hardware
wolfspraul has joined #qi-hardware
<whitequark> heh, two suggestions to use http://www.pharo-project.org/home already
<viric> whitequark: is this your ruby thing?
<whitequark> viric: no no
<whitequark> responses to my tweet about my first visualage smalltalk program :)
<viric> aah ok
<whitequark> the ruby thing finally has a... website... at http://foundry-lang.org/ :)
Jurting_pc2 has joined #qi-hardware
<pcercuei> Smaltallk
<pcercuei> heh
<wpwrak> in texas, they use Bigtalk
security is now known as megha
emeb has joined #qi-hardware
freemor has left #qi-hardware [#qi-hardware]
Calyp has quit [Quit: gone working on freeconomy =o)]
LunaVorax has quit [Ping timeout: 256 seconds]
DocScrutinizer51 has left #qi-hardware ["ooops, this closebutton is nasty"]
rz2k has quit [Read error: Connection reset by peer]
rz2k has joined #qi-hardware
wej has quit [Read error: Connection reset by peer]
Jurting_pc2 has quit [Ping timeout: 245 seconds]
wej has joined #qi-hardware
viric_ has joined #qi-hardware
viric has quit [Ping timeout: 245 seconds]
viric_ is now known as viric
LunaVorax has joined #qi-hardware
megha has quit [Ping timeout: 256 seconds]
megha has joined #qi-hardware
megha has quit [Excess Flood]
megha has joined #qi-hardware
kuribas has joined #qi-hardware
erikkugel has left #qi-hardware [#qi-hardware]
lekernel has quit [Quit: Leaving]
LunaVorax has quit [Remote host closed the connection]
rz2k has quit []
bzb has joined #qi-hardware
kuribas has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
wolfspraul has quit [Ping timeout: 248 seconds]