#qi-hardware IRC log for Saturday, 2014-03-22

wpwrakzrafa: btw, how is the getting-swd-to-work project going ?01:38
DocScrutinizer05wpwrak: btw that  http://www.thinktink.com/ site has a nice set of "whitepapers"/tutorials01:54
DocScrutinizer05thanks for the link01:54
DocScrutinizer05actually they sound like suppliers for PCB makers, with a comprehensive "how do I create my own PCB shop" set of instructions01:56
DocScrutinizer05reading that stuff gave me some vivid ideas of some chinese PCB makers and how they might work ;-D01:57
wpwrakdo these mental images include gruesome industrial accidents ?02:03
DocScrutinizer05no, rather some chinese doing weird manual work that you'd expect getting done by (CNC) machines03:04
Action: DocScrutinizer05 headdesks over KDE, kmail, and pcre(3)03:05
DocScrutinizer05this is worse than windows ever got03:05
DocScrutinizer05I want to match a string with a regex. alas it turns out kmail supports pcre - allegedly. And I fail to adapt my tested-in-grep regex to work in kmail03:07
DocScrutinizer05here's what I got in grep RE: echo 'Unsub- http://www.agcswelpjv.us/l/lc16JYYFRC4576W261MKVY/615QG1948GCGRH4096LVHT12XUBXD64204408XGHFQG1410730889'|grep '.*Unsub..\?http://\(\([[:alnum:].]*\)/\)*[0-9A-Z]\{30,\}'03:08
DocScrutinizer05nfc what to change to make the pattern PCRE compatible03:09
wpwrakremove the backslashes ?03:10
DocScrutinizer05tried that, no dice03:10
wpwrakand use perl instead of grep when testing :)03:10
DocScrutinizer05I hate perl, and I don't get it03:11
DocScrutinizer05I wouldn't even know how to run a simple RE in perl, without writing a script. HECK not even *within* a script03:12
wpwrakaccording to  http://stackoverflow.com/questions/3848360/how-can-i-implement-unix-grep-in-perl03:12
wpwrakperl -ne 'print if /PATTERN/'03:12
Action: DocScrutinizer05 shudders and gives up03:19
DocScrutinizer05btw I already tried escaping / like \/03:21
wpwraksissy ;-)03:21
DocScrutinizer05but MEH, this isn't worth it03:22
DocScrutinizer05your last 4 lines completely convinced me that this is a totally useless feature in kmail03:23
DocScrutinizer05and particularly that KDE4 is for the arse03:24
DocScrutinizer05the rexex pattern text input field is large enough to hold ~10 chars and can't get increased no matter what you do. And the regex editor that was available in KDE3 is gone in KDE403:26
wpwrakhehe ;-)03:26
DocScrutinizer05there's a pcredemo program allegedly, but not on my machine03:27
DocScrutinizer05the only pcre related executable is pcre-config, which is *extremely* useful¡, since it *prints* a few config settings 03:28
DocScrutinizer05perl DAFAQ!03:28
Action: wpwrak likes perl :)03:32
DocScrutinizer05I bet on that. It creates an opportunity to scare others with suggestions like "perl -ne 'print if /PATTERN/' " as an alternative for grep03:39
wpwraksigh. not as an alternative to grep but as a way to test PCRE with the ultimate authority of what is PCRE and what isn't03:41
DocScrutinizer05I don't see that working03:41
wpwrakPCRE = Perl-compatible, no ? so use perl to make sure your RE is indeed 100% perl-compatible03:43
DocScrutinizer05toldya I don't get perl03:44
DocScrutinizer05and I honestly doubt I want to find out why 'print if /.*Unsub..\?http://\(\([[:alnum:].]*\)/\)*[0-9A-Z]\{30,\}/' does whatever it does, and where the text to grep comes from03:45
wpwrakwo kein wille ist, da ist auch kein weg :)03:45
DocScrutinizer05when perl is an interpreter then I'd expect any text I pipe into it will get executed03:47
DocScrutinizer05and I honestly doubt perl will accept // in a pattern terminated by / /03:47
wpwrakalright. you need backslashes for the forward slashes03:48
wpwrakperl would let you avoid that (mX...X instead of /.../), but i doubt kmail goes that far03:49
DocScrutinizer05kmail doesn't need *any* / / around the pattern. Mind you, it calls a library function, not a perl interpreter03:51
wpwrakthen use mX...X in perl03:52
DocScrutinizer05so the pattern gets passed to that lib on stack, as string, i'd guess03:52
wpwrakhee hee, dfu works. at long last :)03:55
DocScrutinizer05honestly, you love perl?? do a "man perl" to *maybe* find out what the parameters -n and -e do. I guess I hardly ever seen a more useless unix manpage04:02
wpwrakwell, i tend to use perl for more complicated things. so no -n. -e can be handy at times.04:03
wpwrakand if want some more pretty regexps, then there's this: http://ftp.utcluj.ro/pub/docs/ldp/bible-src/lilo/t2a.pl04:04
DocScrutinizer05wtf do regexps help me when I can't find out how to use the fucking perl executable, since no docs about commandline options04:07
wpwrakperl --help ?04:07
DocScrutinizer05worse than windows, really 04:08
DocScrutinizer05honestly somebody should suffer for this. They did nearly everything to make that stuff as intangible and obfuscated as possible04:19
DocScrutinizer05       Begun in 1993 (see perlhist), Perl version 5 is nearly a complete rewrite that provides the following additional benefits:04:19
DocScrutinizer05       ·   modularity and reusability using innumerable modules04:19
DocScrutinizer05           Described in perlmod, perlmodlib, and perlmodinstall.04:20
DocScrutinizer05       ·   embeddable and extensible04:20
wpwrakthey had a little pet DocScrutinizer05 in a cage. they showed their work to him every day. when he started to rant and rage, then the knew they were doing it right :)04:20
DocScrutinizer05sure. Makes absolutely lot of sense to start a sentence lowercase, then inmidst the sentence continue Uppercase04:21
DocScrutinizer05somebody must have smoked real strong stuff before writing this BS04:22
DocScrutinizer05and that's a *manpage*04:22
wpwraki'll never understand why they didn't call "man perlfunc" "man perlfun" ...04:24
DocScrutinizer05compare "man perl" to e.g. "man python" and you maybe get a frip on why I'm upset04:25
DocScrutinizer05or "man awk", or probably whatever you want to pick04:26
DocScrutinizer05only tcl is similarly useless04:27
DocScrutinizer05some gnu tools at least have the dignity to outright refuse to share *any* info in manpage, it just redirects you to "info" which aiui is Stallman's revenge to UNIX04:30
DocScrutinizer05strange I never heard the term "infopages", only "manpages"04:31
DocScrutinizer05now we also got "perlpages", uh?04:31
DocScrutinizer05make that >>        ·   modularity and reusability using innumerable modules. As described in perlmod, perlmodlib, and perlmodinstall.<< and I'd stop ranting about this particular thing. Not that this would change my general notion about that concotion a 0/0004:39
DocScrutinizer05wpwrak: :-S it works in perl, but not in kmail :-(05:45
DocScrutinizer05now I'm really pissed, and out of ideas05:46
DocScrutinizer05BWAHAAAHHAAAAHAA!  >>This Appendix contains a brief but hopefully sufficient and covering introduction to the world of regular expressions. It documents regular expressions in the form available within Kate, which is not compatible with the regular expressions of perl, nor with those of for example grep.05:52
DocScrutinizer05>>The POSIX notation of classes, [:<class name>:] is currently not supported.<<05:58
whitequarkDocScrutinizer05: yeah, thinktink.com is great resource06:01
whitequarkI use it quite a bit06:01
DocScrutinizer05and BOOOM, as soon as you know about such great simplifications like >>[:<class name>:] is currently not supported.<< and use \w instead, it starts working06:03
DocScrutinizer05whitequark: yep, I can see why06:04
whitequarkugh. I recently dropped my laptop accidentally06:27
whitequarkthe shear stress pretty much destroyed the stuff used in the lid to attach to hinges06:28
whitequarkthey should've done that out of carbide or something, not cast Al06:28
whitequarkI would actually try to make a replacement with my CNC, except, as I've said, it's *cast* Al. the shape is pretty much impossible to recreate on a 3-axis machine06:29
whitequarkand I suspect even fancy 5-axis one06:29
whitequarkhmmm, I actually have an idea...06:30
whitequarkI'll just drill the lid through and put a bunch of M2 screws through. problem solved.06:40
whitequarknot very beautiful, but very effective.06:40
eintopfgood morning :-)13:51
whitequarkDocScrutinizer05: dude, I just realized: in order to properly pyrolyse copper hypophosphite, I need a way to very uniformly heat PCB up to 200°C15:20
whitequark... galden!15:21
whitequarkneed to buy a deep fryer today15:21
DocScrutinizer05[2014-03-20 21:32:43] <DocScrutinizer05> ((<whitequark> inert gas is too hard)) heard you own some magic soup called Galden?15:21
whitequarkseems I should reread logs more often, sorry about that15:22
whitequarkthat being said, I wonder, how galden would actually work on t° below 230°?15:23
whitequarkwell, it surely has some vapor pressure even at room temp15:23
DocScrutinizer05like water not working at 70°15:23
DocScrutinizer05unless you lower the pressure15:23
whitequarkyes, it would be just the usual convective transfer15:23
whitequarkalbeit with a somewhat more efficient transfer medium15:24
DocScrutinizer05sure, you can dunk stuff into 180° galden15:24
DocScrutinizer05it will still be inert15:25
whitequarkhm, yes, that'll work too15:25
whitequarkpyrolysis isn't that sensitive as actual components15:25
DocScrutinizer05for sure not15:25
whitequarkDocScrutinizer05: I just realized why I missed your suggestion about galden15:26
whitequarkyour line of thought: "need inert gas ’ galden". mine: "need uniform heat transfer ’ galden"15:26
whitequarkmy brain thinks they're completely disjoint and unrelated15:27
whitequarkdespite being basically about exact same thing15:27
DocScrutinizer05my "line of thought" usually is holistic15:29
whitequarkI just realized I actually remembered your suggestion about inert gas, but didn't associate it with this problem at all15:32
DocScrutinizer05well, that regex been a true PITA but it been worth it. Already two spam mails kicked out16:36
DocScrutinizer05funny enough how all those spams look pretty identical, though (fake?) topic is a new one each single time, also URLs are identically structured but different domains16:38
DocScrutinizer05http://privatepaste.com/1c8d210460  http://privatepaste.com/7f2228924e16:40
DocScrutinizer05meh! FFS!  Received: from 03d3c05f.jerriwohlacafa.us (unknown [])       Received: from 03d3c061.scathektcarine.us (unknown [])16:43
DocScrutinizer05Received: from 03d3c05d.iranidrewmy.us (unknown [])     Received: from 03d3c058.agcswelpjv.us (unknown [])   Received: from 03d3c057.wheemjabrudnaifly.us (unknown [])   Received: from 03d3c056.mdxtsauls.us (unknown [])   Received: from 03d3c053.atabeggretdin.us (unknown [])    Received: from 03d3c063.mcjdaphsons.us (unknown [])16:48
DocScrutinizer05bulgaria, romania. MHM16:57
DocScrutinizer05actually: inetnum: - || netname:        FIBER-UPLOAD-SRL || descr:          FIBER UPLOAD SRL || descr:          ION BREZOIANU, NR 27 || descr:          BUCURESTI ROMANIA16:59
DocScrutinizer05inetnum: - 5netname:        VPS-Bulgaria-Lt ddescr:          Network for clients16:59
whitequarkDocScrutinizer05: you tried spamassassin?18:07
whitequarkit works amazingly well for me, no worse than e.g. gmail18:08
whitequarkin fact sometimes it's better than gmail, since it filters personally my spam18:08
DocScrutinizer05I'm not using gmail, steer clear of that, they are worse than NSA in my book. Spamassassin otoh doesn't consider those terse mails particularly spam-alike18:17
DocScrutinizer0576% : http://privatepaste.com/7370b1a6af18:19
zerouscould any one suggest me a good noctua air cooler for an i5 4th generation build ?18:45
whitequarkDocScrutinizer05: what I do is raise the score for BAYES_99 above threshold19:11
whitequarkiow BAYES_99 = instant spam19:11
whitequark"shortcircuit BAYES_99                spam" in spamassassin local.cf19:12
whitequarkworks amazingly well19:12
DocScrutinizer05I already wondered where to configure SA19:12
whitequarkSA config is worth tweaking. did that once several years ago... I have maybe 5 spam emails in my inbox in a year19:13
DocScrutinizer05but right now I'm kinda excited, since I just got informed that my company is official since yesterday19:13
whitequarkwell, maybe 20... not a lot19:13
whitequarkand SA has only marked maybe 2 emails as spam erroneously in about 5 years I'm using it19:13
whitequarkincluding automated notifications and the like19:14
wpwrakthese are about the only ones you'd actually notice :)19:20
DocScrutinizer05damn, such a company isn't healthy for my privacy19:26
DocScrutinizer05and google maps has 5 years old photos :-/19:26
wpwrakgoogle maps has pictures of you ? didn't imagine you as the kind of guy who's pose for the streetview car :)19:36
DocScrutinizer05not of me, only of a house I later on used to live in20:45
DocScrutinizer05well, actually I might have lived in that house already when the pictures where taken20:46
--- Sun Mar 23 201400:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!