=== Trixar_za is now known as Trixar [04:25] Good Morning [04:40] konichiwa [04:53] cal_py [06:07] morning ra1v3n cal_py dlPhreak [06:15] morning andrewlsd [06:25] Morning ra1v3n, andrewlsd, dlPhreak [06:25] paddatrapper how are you? [06:27] How is everyone doing? [06:27] dlPhreak: I'm good thanks. You? [06:27] Not too bad thanks. [06:27] morning paddatrapper [06:56] hi all [07:02] Hello everyone [07:02] i pavlushka paddatrapper [07:04] ra1v3n: who is pavlushka and who is paddatrapper ? [07:04] ahoy ZA! [07:04] hi pavlushka [07:04] lol [07:04] :P [07:09] Hello theblazehen ! [07:09] and the probable miss typed nick thatgraemeguy , :p [07:10] Hello thatgraemeguy :) [07:11] 'lo 'lo :-) [08:18] good morning [08:21] hi magespawn [08:32] coffee time [08:32] good mornings everyone [08:41] Good Morning! [08:42] morning! === jeff_ is now known as Guest60909 === Guest60909 is now known as jeffe [09:42] hey Kilos! [09:42] hi SEptic [09:43] look, a jeffe! hes new, be nice [09:43] ahoy! [09:43] hi andrewlsd cal_py d`_`b divansantana inetpro magellanic superfly and all those i missed as well [09:44] hi jeffe welcome to ubuntu-za [09:44] Hi Kilos [09:45] hey Kilos [09:45] hmm... 45 online nicks [09:45] 3 afk [09:46] olympic record? [09:47] for a week day yes [09:50] always going forward [09:50] taken forever [09:50] have you been watching the ibid peeps magespawn [09:50] dont let them slack off [10:00] not recently [10:02] not too much happening there [10:02] but if i know the superfly he will keep it moving forward [10:05] hi Kilos [10:07] hehe [10:24] wheeeeee [10:24] * Symmetria watches ipv6 go live on Kenya FTTH/GPON clients [10:25] pretty :P [10:25] So, guys, where is the best place to find seriously good Linux Sys Admins for hire in ZA [10:25] without starting to go through employment agencies who I give crap to and they find me shitty people :) [10:26] and what are good sys admins in ZA being paid these days? [10:27] as in, per annum, 500k? 600k? a mil? [10:30] no one awake? [10:30] I'm awake I just don't have any answers for you :) [10:31] lol [10:31] same as MaNI here [10:31] I've been instructed to build a group sysadmin team [10:32] because LOL, at the moment, I'm doign all the *nix admin shit and I don't have the time for it and its not technically my job :P [10:32] the only problem is, finding people who will be able to maintain all the random systems I have running and some of those systems are a little complex ;p [10:34] Symmetria: Full time? [10:34] heh very much full time [10:35] its a lot of systems [10:35] and I'm flexible about CPT or JNB [10:35] http://server.alstonnetworks.net/kenya-resolution.png <==== wheeee that script I got integrated with Cacti works [10:36] nice [10:37] WORKING=${!combined} [10:38] heh, first time I ever used that syntax in a script [10:38] its handy [10:43] Symmetria: if you want to outsource, you could chat to LSD. Otherwise possibly ZaTech slack community. (zatech.co.za) [10:43] hey ho [10:44] andrewlsd yeah, we wouldn't outsource this stuff, a lot of it is simply 2 sensitive [10:44] but will check out the slack community there [10:46] any web devs online? [10:46] arts: did you come right with the sizing? [10:46] arts: hi [10:48] yeaah, onto new problem now LOL [10:48] I need some advice [10:49] I have plenty advice. Not everyone likes my advice though. [10:49] lol [10:49] I'll back superfly up with his advice as well [10:50] arts just ask then sort it through [10:51] I have 4 databases with +/- 30 fields each, each field is encrypted, what I want todo is decrypt all the data from the databases, use the username field to inser the persons name and suername, I want to put each database into an array and feed it into javascarip, right now each db has 3000+ entries, annnnnddddd the php script has stoped functioning properly, so im guessing I have reached the battery limits of drawing data? so is AJAX the [10:51] solution and is there an easy way todo it? [10:52] damn, this single line text box is not cool LOL [10:52] arts: uh, that sounds like you're doing it wrong [10:53] how so? [10:53] uhh.. [10:53] arts: can you not find the user without decrypting? [10:53] Are you literally iterating over all data to find what you need? ... [10:53] arts: What database system are you using? [10:54] yep, thats what im doing but for each database it still has to run through the userbase to fined the encrypted username once I have it I replace the username with the decrypted name and surname [10:54] Or I suppose you could SELECT * WHERE username ='encrypt('username')' [10:54] I dont think username is the issue [10:54] So you're migrating to a new thing then? [10:58] no I'm just trying to take all of the data in the database and make a dashboard [10:58] Well [10:58] First you need to fix your database [10:58] fix? [10:59] Are you encrypting data in php? [10:59] yep [10:59] i have made a encrypt nd decrypt function to take care of it [10:59] How do you do a lookup for a user? [11:00] when I want to match the username to the name and surname? [11:02] Eg, you want address of username, do you do a `SELECT * from users` and in php `for user in users {if decrpytuser() == user; then do stuff }`? I know that's far from correct php, but you get the idea [11:03] so if i wanted to find theblazehen it would llok like sprintf("SELECT * FROM database.table WHERE i = '%s'", encryption('e', 'theblazehen', expose_key())); [11:04] Ok, not _as_ bad as I was thinking [11:04] And where is the key stored? [11:04] in a secured script [11:05] And how is the script secured? [11:06] Is it on the same server? [11:07] yes it on the same server, you need a session key and php variable to access it, it is not directly accessed there is a script that run to request all the needed scripts to run the page [11:07] Well, in that case you'd need root on the server to access it (In theory, getting to the other bit still), so why not use MySQL encryption? [11:08] i didnt know there was sucba thing [11:08] What does you checking variable and session script part look like? [11:08] You're using MySQL I assume right? [11:09] you mean the sucurity? [11:10] yeah [11:10] aish my spelling [11:12] https://bin.snyman.info/mmmzuk9f [11:14] and getsome_key is a $_GET? [11:14] nope [11:15] its a defined variable in another script [11:15] Where does it come from? [11:15] this script cant run on its own it get requested from another scrip [11:15] script [11:17] Well, not gonna go into that further now [11:17] > I have 4 databases with +/- 30 fields each [11:17] You mean tables? [11:17] 1 db 4 tables my bad [11:18] And you want to pass all that data to the client? [11:19] client? [11:20] web browser [11:20] yes sir [11:21] All 3000 rows? [11:21] yep [11:22] And who will be able to load the page? [11:24] the user that is logged in [11:25] So.. Every user can access all other user's data? [11:26] no a certain userlevel can, this dash is to get an overview [11:31] Alright. Do you have an id field? Primary key, auto increment [11:31] id field [11:32] You could do a WHERE id > x LIMIT 100 query [11:32] php > var_dump("string"==0); [11:32] bool(true) [11:32] Fyi [11:32] Don't rely on == for checking user input against a string [11:36] im not following [11:41] You can't say if($_GET['thing'] == "secret string"){stuff();} because if you use ?thing=0 in the browser it will evaluate as true [12:08] Hi Im back [12:09] maaz coffee for ra1v3n [12:09] magellanic: *blink* [12:10] thanx [12:11] my connectioin dropped .... everything came to a screeetching halt [12:18] Damn coffee shop I'm at has some weird firewall filter blocking port 8001?? Dafuq [12:20] dlPhreak: Now have a look at your http headers :) [12:23] Ffs. post on reddit saying I pipe curl to sh to install salt on my pc/laptop/everything, and get downvoted. The fact that I didn't give a fqdn should have tipped them off that it's on a lan. And if it does bomb out like they suggest, so what? Takes 7 min for other script to install base arch system. Besides, it's 570 bytes. Small enough to fit into a single packet, using standard MTU of 1500. So, not gonna get a partial script [12:23] ever. [12:23] theblazehen: should I expect something... uh, eccentric? [12:23] dlPhreak: They're probably putting you through a proxy or something [12:24] * theblazehen really needs to go to a coffee shop with my laptop sometime [12:25] theblazehen: I figured. Yeah it's a dangerous place.. but only because I'm here ^__^ [12:25] heh :) [12:26] I wonder if people would do that "He's hacking the gibson!" stereotype here if you open a terminal [12:27] damn [12:28] forgot I'm not running irc in screen [12:28] heh [12:28] Why not a bouncer? [12:29] I used znc for a long time but I got a new vps and I was just too lazy to set it up again so I figured, irssi and screen.. much simpler [12:29] I actually want switch to tmux tho [12:30] tmux is great [12:31] Doesn't handle all escape sequences though I think. Can't do Ctrl+[ArrowKey] [12:33] Does it do the emacs style keybinds? [12:33] Sorry, I meant it doesn't pass them through [12:33] So I can't Ctrl+Left to go a word back in my shell for example [12:36] Oh, but that's not a huge dealbreaker. [12:39] I use it a lot, but yeah, might not be for you [12:40] theblazehen: vim or emacs? [12:40] dlPhreak: I use vim, but I still sometimes use the ctrl+arrow keys [12:40] I tried emacs [12:40] Was nice [12:41] Well, spacemacs [12:41] And I'm sure it can do good text manipulation [12:41] But tramp mode is slow [12:41] And evil is a little buggy [12:42] If I ever write something more than a simple script I'll probably use emacs, but for small things, I still go vim [12:42] vim works over ssh [12:42] I *know* emacs does too, but vim has a better console interface [12:43] I don't like emacs. It's like having a fridge that also fixes your car and bakes bread. [12:48] dlPhreak: Yeah. But I prefer it over a full IDE so far [12:48] Handles large files "better" than vim. emacs was extremely slow to scroll [12:49] Vim used up around 18 GB RAM, and I don't have a swap file, so had to reboot [12:49] nano complained about file being too large [12:49] vi was fine [12:53] Damn that must be a huge file. [12:53] Might be thinking of the wrong file, but if I'm right the file was 37k lines, 1.9 MB [12:54] I gotta go. Chat again! [13:00] One thing I like about docker: If the devs give crappy install instructions, there's always the Dockerfile [13:57] who was it that was battling with ns on ubuntu yesterday or day before [13:57] http://adnan.quaium.com/blog/3535 [15:18] evening everyone [15:32] hi Cryterion [15:32] and jerit [15:42] hi chesedo you been quiet [15:47] my kop te plat [16:42] south african dog training college removed me from their group apparently because I insisted that people be held responsible for what they post on it [16:44] I held that if people were going to make claims of animal cruelty against the SPCA and/or other organisations in the group, they should be able to substantiate their claims otherwise either not make the claims or retract the claims publicly... Seems this didn't go well [16:46] People don't like being wrong [16:55] https://xkcd.com/386/ [16:57] participating too much on facebook is a sure fire way to destroy any remaining faith you have in humanity [16:57] MaNI: Almost thought you beat me to the one I wanted to post.. Was like "Damn, I'm away for 30 s and someone else posts it.." [16:58] http://xkcd2.com/1357/ [16:58] at this point I'm genuinely surprised that most so called 'adults' are actually capable of tying their own shoelaces [16:58] Agreed [16:59] hey [16:59] hi Kilos [16:59] i tie my shoelaces fine ty [16:59] sitting or kneeling down [16:59] hehe [17:00] heh [17:06] Maaz coffee on [17:06] * Maaz washes some mugs [17:06] Maaz coffee please [17:06] Kilos: Righto [17:10] Coffee's ready for SEptic and Kilos! [17:10] Maaz danke [17:10] Bitteschön [17:12] hehe [17:25] Maaz Beer cold [17:25] Cryterion: Excuse me? [17:25] he still refuses, grrr [17:26] lol [17:45] [18:55] http://xkcd2.com/1357/ ... this was well done [17:47] my problem with the whole situation which was relevant to this xkcd post, is that the group in question is the South African Dog Training College. Now they remove me from the group because, apparently they're cool with just anybody going and making whatever claims they like on that group without being held accountable. That's just wrong in and of itself [17:49] jerit: I agree [17:49] Facebook groups about animals are especially prone to illogical emotional driven thought and mob mentality I'm afraid, even more so than regular groups (which are already pretty bad) [17:49] jerit: Hmm. Were you in there 2 years ago? [17:50] MaNI: I'm not even gonna look [17:50] so that sort of thing is pretty much the norm [17:51] I've lost count of how many times I've seen people share pictures of some animal being abused or whatever, where upon research the picture turns out to be fake, and not one person has ever apologized for contributing to the spread of fake stories. [17:51] I guess it will continue to get out of hand until there are more court cases and the law starts to catch up [17:56] oh gosh, animal facebook groups ... *calms himself* [17:58] though the group for my area is pretty scary as well, hehe [17:59] when i got my collie i was looking around at places to get involved for training ... boy was i amazed at self-serving ppl [18:00] trained her myself, dudn't need a facebook page for that [18:00] i maybe open facebook once every 2 months maybe [18:02] I open it more than I should, mostly because all my family lives far away, it would probably be good for my sanity to open it less often [18:02] or just leave all groups, hmm [18:04] lol [18:04] we survived for thousands of years without it [18:06] we survived without the internet as well, that doesn't mean I don't want the internet :p [18:06] lol [18:07] MaNI: http://xkcdsw.com/1845 you're right [18:07] though if we could go back to how the internet was in the 90s before the masses found out about it that would be fantastic ;) [18:07] Hell, late 00's is okay even [18:09] just before flash became popular preferably, so like 1996 :p [18:09] Yeah [18:11] I use Facecrook for work [18:12] A necessary evil I'm afraid. [18:13] eeeek [18:14] Hello Kilos [18:14] hi ra1v3n [18:14] fb for work [18:14] that sucks [18:15] indeed i agree [18:16] I hate it ... But I will use any service that creates traffic [18:16] theblazen I might have been in the group 2 years ago [18:16] business is business [18:17] true [18:23] hi nsnzero [18:23] hey there Kilos [18:24] hey nsnzero [18:24] hey SEptic [18:24] hi all [18:25] SEptic what was the reason for deciding on your nick [18:25] it sounds kinda septic [18:27] sheesh ... online nick i been using for ages, there was a reason for the SE, cant rem though [18:27] it was for something [18:27] lol [18:27] after 6 months i finally was able make my printer work - months of googling and reading finally paid off - i feel happy now [18:27] you been on irc for ages? [18:28] cool nsnzero [18:30] turns out all i had to do was add myself to the printer group - such a easy fix - hidden amongst hundreds of other fixes [18:30] haha [18:32] who knows the chanserv commands and how to use them to give someone ops with some flags [18:33] /msg ChanServ HELP FLAGS [18:33] i cant get the extra flags to work [18:33] i was on irc a lot like early 00 to 07 then quite until the other day [18:34] i prefer this to social media stuffs, its too much, too spammy, too integrated, too naggy [18:34] i love irc [18:35] but getting too technical now [18:35] i dont use social media - except to save games [18:35] * Kilos blames inetpro and superfly [18:37] +o - Enables use of the op/deop commands [18:37] i think that what you need [18:39] Gnyt all [18:39] i have that [18:40] but i want to give someone else ops with some flags [18:40] Grants the operator flag to another person on the channel / op nickname [18:40] i have these [18:40] +AViotv [18:41] night ra1ven [18:41] i need to know the complete command [18:41] i mess them up [18:41] or get told i dont have athority [18:42] Kilos: are you channel ops ? [18:43] ttp://tekkitclassic.wikia.com/wiki/The_Tekkit_Classic_Wiki:IRC/Operators [18:44] yes im ops [18:44] but need to hand it over while im away [18:45] Administrator who does want operator privileges: +vVoirtA [18:46] ty im reading [18:46] all i dont have there is r [18:49] chat late all home time for me [18:49] go safe magespawn [19:06] night guys [19:06] night nsnzero === eebrah|wtf is now known as eebrah [19:23] boy, ubuntu server is sure a challange [19:24] but im winning [19:24] hehe [19:25] should never have studied electrical engineering [19:25] SEptic: installgentoo.org [19:26] SEptic: Installing Gentoo takes only two easily memorable commands: [19:26] 1) fdisk /dev/sda && mkfs.xfs /dev/sda1 && mkswap /dev/sda2 && swapon /dev/sda2 && mount /dev/sda1 /mnt/gentoo/ && cd /mnt/gentoo/ && links http://www.gentoo.org/main/en/mirrors.xml && md5sum -c stage3-*.tar.bz2.DIGESTS && tar xvjpf stage3-*.tar.bz2 && links http://www.gentoo.org/main/en/mirrors.xml && md5sum -c portage-latest.tar.bz2.md5sum && tar xvjf /mnt/gentoo/portage-latest.tar.bz2 -C /mnt/gentoo/usr && nano -w /mnt/ [19:26] gentoo/etc/make.conf && mirrorselect -i -o >> /mnt/gentoo/etc/make.conf && mount -t proc none /mnt/gentoo/proc && mount -o bind /dev /mnt/gentoo/dev && chroot /mnt/gentoo/ && env-update && source /etc/profile && emerge --sync && cd /etc && rm /etc/make.profile && ln -s ../usr/portage/profiles/default-linux/x86/desktop make.profile && cp /usr/share/zoneinfo/US/Eastern /etc/localtime && cd /usr/portage && scripts/bootstrap.sh && [19:26] emerge -e system && emerge vim && emerge gentoo-sources && cd /usr/src/linux && make menuconfig && make install modules_install && vim /etc/fstab && passwd && emerge grub vixie-cron syslog-ng dhcpcd && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vim /boot/grub/grub.conf && grep -v rootfs /proc/mounts > /etc/mtab && grub-install --no-floppy /dev/sda && init 6 && emerge gnome mozilla-firefox openoffice && emerge -- [19:26] sync && emerge portage openssh [19:26] 2) reboot [19:26] from http://uncyclopedia.wikia.com/wiki/Gentoo [19:26] sjoe [19:27] :o my donder [19:28] what!?!?! this is amazing [19:30] On August 29, 1997, Gentoo's constant desire to upgrade itself led it to become self-aware, and therefore, turn on its masters and begin a nuclear war against humans. John Connor made the first response, sending the Governor of California back in time to stop it. [19:31] " As with RS-232, the standard for VGA video is that there are lots of standards. Every manufacturer seems to list different timings in the manuals for their monitors. The values given in the table above are not particularly critical. On a CRT monitor, the lengths of the front and back porches control the position of the image on the display. If the image appears offset to the right or left, or up or down, try adjusting the [19:31] front and back porch values for the corresponding direction (or use the image position adjustments on the monitor, which accomplish the same thing)." Oh, great... [19:31] hey paddatrapper [19:31] pavlushka: * [19:32] yes theblazehen ! [19:35] theblazenhen: why the nitty gritty on vga? scratching something together? [19:35] SEptic: Trying to upgrade an OS to use 1024x768 (first prize), or otherwise at least 800x600 [19:36] Last time I did something totally out of spec and managed to get 1024x512, but that's not working any more [19:38] Because (1024x512*4/8 )/1024 = 256 KB [19:38] night all. sleep tight [19:38] Night Kilos [19:39] The size of the VGA memory [19:39] I put it into 1024x768 VESA mode, but didn't implement page swapping so I could only get up to 1024x512, and had 256 black lines below [19:40] Anyone here familiar with qemu? [19:40] https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Devices/Graphics/BIOS/vgatables.h gave me the undefined behaviour that just happened to work last time [19:40] get Symmetria [19:40] hey* [19:41] " /* index=0x0e vga mode 0x0e */" and " /* index=0x11 vga mode 0x0f */" seems kinda fishy [19:44] hmm let have a lewk [19:50] SEptic: Know any x86 assembly? [19:52] meh not really, all my assembly and C is related to micro-controllers, Microchip and Atmels [19:53] perhaps i can help [19:54] http://www.templeos.org/Wb/Kernel/KStart16.html#l81 [19:55] We call http://martin.hinner.info/vga/timing.html mode 12 here [19:55] "12 [19:55] [19:55] APA [19:55] [19:55] 640 x 480 [19:55] [19:55] 16 [19:55] [19:55] 60Hz" [19:55] Whoops [19:55] Sorry [19:56] Hmm [19:57] https://en.wikipedia.org/wiki/INT_10H Check bottom function [19:57] Write string, then in the source "StreamPrint("INT 0x10"); //Enable VGA" [20:01] StreamPrint("INT 0x10"); hmm [20:03] seems a tad odd to be the only streamprint [20:03] SEptic: With intel syntax If I had 0x0C12 (arbitary) in that MOV instruction, would the interger representation be 300 because of little endian or 3090? [20:05] "Write string (EGA+, meaning PC AT minimum)" Maybe I can use EGA modes? [20:05] 3090 i believe [20:07] SEptic: https://linx.home.theblazehen.com/2016-08-11-220654535x117scrot.png [20:17] stupid intel little-endian [20:18] SEptic: You'll like TempleOS I think. Only thing's compiled are the bootloader and compiler [20:18] Kernel and everything is JIT compiled [20:18] Variant of C [20:18] Global autocomplete [20:18] No need to manually compile stuff because JIT [20:18] 0x0C12 would be 4620 surely? [20:19] templeos, lemme check that out [20:19] Eh. I put it in my calculator, and it gave 3090 [20:19] Yeah. Let's get resolution up first :) [20:20] http://wiki.osdev.org/VESA_Video_Modes might be on to something [20:20] AX=0x4F02 looks familiar [20:21] Cryterion: Yeah, there we go [20:21] ?? [20:22] Cryterion: Upgrading an os to 1024x768 resolution [20:23] i'd be more use if hadn't been nailing so many beers this eve [20:24] adjust in screen display properties, need to read back to catch up ;) [20:24] Cryterion: Heh. It's using vga modes [20:24] Trying to use VESA modes now [20:25] then just edit the width and height in config [20:26] and I've been looking for something like this, mainly for the raspberryPi, couldn't seem to find much on getting into graphics mode in the first place on linux via terminal [20:27] Cryterion: Do you get a framebuffer device? [20:27] little-endian in x86 id byte order? then 0x0c12 => 0x12c0 = 450? [20:27] SEptic: idk [20:28] SEptic: https://code.coreboot.org/p/seabios/source/tree/master/src/std/vbe.h we can target this video bios [20:32] Good night ZA! :) [20:35] eish i've run out of juice, calling it a night [20:36] Alright, cheers [20:36] will have a look again moro [20:36] night all [20:36] cool [20:36] theblazehen: still trying to get into a graphics mode via c on a terminal application, haven't succeeded as yet, been a bit busy lately to continue atm