[07:11] Morning all [07:30] morning [08:08] morning all [08:15] morning boys and girls. [08:35] hello. how can i avoid requiring in python "from blah import blah2" [08:35] i just want import blah2 [08:36] i added the module to the site-packages of the virtualenv [08:50] I've stopped programming in python and moved everything to go [08:50] no need for virtual envs or anything like that [09:20] http://www.unixstickers.com/stickers/unix_os_related_sticker/geek-inside-sahped-sticker :) [09:25] foobarry: I believe you can just do import blah, you'd just reference it blah.blah2 when calling it instead of blah2() on its own [09:32] howdy all [09:35] HowDoo MooDoo ? [09:36] :) [09:57] foobarry: diplo is correct. it's all about namespacing. blah is the module and blah2 is an object inside that module [09:57] you can also say "from blah import *" but that is generally a bad idea since it defeats the purpose of namespacing [09:58] namespaces can also be nested [10:01] Yeah never done the import * as it may conflict with other imports, or I've worried it has. ali1234 explains it much better than me though :) [10:28] the scripts already have import blah but i'm finding i need to specify "from meh" first or it doesn't pick it up [10:31] Not sure I've had that before, modules not setup correctly maybe or not declared correctly when calling them is the only things I can think of, no python pro though :) [10:37] i've worked around it manually in a branch until my python guy returns :D [10:44] :) [10:47] installing debian MATE on eeepc 701 :D [10:48] garethes' owes: https://www.theguardian.com/technology/askjack/2017/aug/24/should-i-buy-my-eight-year-old-son-laptop-raspberry-pi-games? [10:50] that's hilarious [10:50] wait..why does he want a laptop? [10:50] doesn't actually state the use-case [10:50] "no skrub. buy a gamer PC" [10:51] most home computer desks are worse ergonomically than a laptop at the dining table [10:51] i get a feeling this was just a fake article to get sponsored clucks [10:57] oh no , disgusting eater is slurping and crunching again [10:57] how can a grown man make noise eating pistachios that is heard 40ft away? [10:58] That would be my dad too, it annoys the living hell out of me [10:58] he eats with his mouth open? [10:58] this guys an animal [10:59] Yup, as does my sister but I rarely see her. My kids have a go at them too, doesn't stop them doing it. [10:59] :S [10:59] I can't remember him doing it when I was a kid though [10:59] Maybe I just didn't take any notice [11:00] i have misonophobia i think [11:00] basically it annoys the heck out of me [11:00] and i get murderous thought [11:02] I do too! Lets kill them together [11:02] :P [11:05] also have 2 loud howards [11:11] https://www.youtube.com/watch?v=AfuxPhtU1Hk [11:32] firefox 55 is really crashy :( [11:46] I've not found it to much myself on this box, but running 56 b1 on my windows box which is more my primary [11:46] It's crashed like 10 times this morning. i installed it yesterday [11:47] also google maps = insta crash every time, even with HWA disabled [11:47] I'll try that now [11:48] i suspect it is because i am using the nvidia beta driver with vulkan... but disabling HWA should fix that so idk [11:48] also it never caused a problem before [11:48] Ah I'm on intel graphics, but yeah fine here on googly maps [12:07] 6 years ago today i bought a hp touchpad. so facebook tells me [12:08] * zmoylan-pi cues wonderyears grainy shaky footage of foobarry opening his hp touchpad... [12:08] its quite blurry due to potatocam [12:09] in it's defenese it's not vertical phonecam... [13:01] /quit [13:01] oops [13:02] hah [13:29] nice try [13:29] oh he did :| [14:06] Mount a share as cifs with a folder full of csvs, get a prompt to run / display blah rather than opening Libre Calc ( which is the default app already selected ) yet via smb:// it opens as expected [14:07] Need cifs to be able to attach files from share directly into thunderbird, 12 year old bug [14:07] My google fu is failing if anyone has any pointers [15:15] can i not download a video from google photos? weird [15:16] hmm maybe its on timelapse [15:17] it's to teach you basic hacking skills to find extensions to download videos of the web... we'll make a hacker of you yet [15:20] https://goo.gl/photos/X9winwW6zigAPWyb7 can u see this? [15:24] 22s video of a bunch of pis... unlogged into google on vivaldi on linux [15:24] and the magic screen [15:25] youtube-dl download it ? [15:25] flushing out any photosensitive epileptics... [15:25] this screen is amazing [15:25] LED display [15:27] managed to sneakily find it with some hacking: [15:27] https://r3---sn-aigllnzy.googlevideo.com/videoplayback?id=94050d6b0ed65fde&itag=18&source=picasa&begin=0&requiressl=yes&mm=30&mn=sn-aigllnzy&ms=nxu&mv=u&pl=41&sc=yes&ei=Y_CeWeajFMfKVsLwizg&mime=video/mp4&lmt=1503587507977246&mt=1503588308&ip=2001:8b0:17b0:d4d:21da:fda1:f825:b8d4&ipbits=48&expire=1503595651&sparams=ip,ipbits,expire,id,itag,source,requiressl,mm,mn,ms,mv,pl,sc,ei,mime,lmt&signature=4B683BC1F4405AE9E7 [15:27] 2B319CA69A3E1D1A105F33.6BE9F485CB9222A3B94FC49416D4FD9E589BCDF7&key=ck2 [15:27] ergh [15:27] evil [15:28] let me shorten that [15:28] go.bwlh.at/2wBC66I [15:30] aah, you can download with the "three-vertical-dots menu" top-right [15:31] what happens if I click "join"? [15:31] ah its just appeared [15:32] must have been processing. wasn't there before [15:33] impressive display for a 16x16 pixie [15:34] and has its own arm chip so offloads any compute work [15:35] arm chips end up in everything [15:36] like "you want to write to disks" gets answered with "ok, that cpu you have. make it send the data to this bus address where an HBA which is actaully another different computer will pick it up and do stuff with it and send it to individual disks which are also computers ..." [15:37] the python to do all the shiny stuff is about 10 lines liong [15:37] it seems that every individual component is what would be considered a complete computer in the past [15:37] plus a py module [15:37] all the magic is in the STM32 firmware [15:39] its quite cheap too [15:39] peripherals and stuff you plug into computing devices these days are exactly the same as the "Windows PC Card for your Mac" that got sold for PPC macs in the 90s [15:40] in concept, I mean. doing a complete pc to do the job that your complete pc can't do [15:41] computers would be hilariously slow if that wasn't the case [15:42] yes, but we've moved on from ASICs to using general purpose cpus to do the job that the general purpose cpu can't do [15:42] extreme example: the zx80 could only execute instructions during the vertical blank period [15:43] either that, or display a blank screen :) [15:43] i.e. we're doing turtles all the way down now [15:43] nothing is application-specific anymore [15:46] that's not what ASIC means, but okay [15:47] ASIC = Application Specific Integrated Circuit [15:48] the FTL controller in an SSD is pretty application-specific [15:50] in any case, it's not really a new trend. https://en.wikipedia.org/wiki/Commodore_1541 [15:56] man it is funny when you add email to fail2ban till you realise the quantity is dos'ing your server :D [15:57] davmor2: ouch [15:57] davmor2: sounds like someone's hitting you hard? [15:57] diddledan: turned off email it is fine now :D [15:57] lol [15:58] is that like "cutting off your nose in order to spite your face?" [15:59] diddledan: it's the fact the email consists of getting a whois on all banned ip's, I can look at the log still and manually whois but I got 1416 emails in under 30seconds [16:00] mostly china [16:01] I really feel sorry for the majority of chinese people who are decent folk because of their association with "chinese hackers all the time!" means many westerners decide to outright block the entire country [16:02] diddledan: I think fail2ban is doing that for me ;) [16:02] haha [16:03] diddledan: first 20 and last 20, 39 are from china 1 from indonesia [16:04] jeez. I vote we block the entire chinese ip range [16:04] oh wait [16:04] damn [16:05] don't you hate when your idealism disappears in a puff of smoke?! [16:05] diddledan: funny how the GreatFireWall doesn't block the spam and bots coming out right ;) [16:06] that's a good point actually. they're more interested in ingress than egress I guess [21:44] haha Samsung borked a firmware update for a bunch of Smart TVs, leaving them stuck on one channel with no remote functionality XD [21:45] \o/ [22:06] smart tvs; dumb updates [22:08] the problem is smart devices are programmed by idiots - the devices would be fine if we didn't keep tinkering [22:10] Tizen is meant to have some of the worst code known :D [22:10] no idea if the affected TVs actually run that, though [22:19] i think it's more controlled my management who wants cheap and fast than bad programmers