Kilos | morning barrydk and others | 05:12 |
---|---|---|
Kilos | load shaeeding huh | 08:29 |
=== MaNI2 is now known as MaNI | ||
inetpro | helloooo Kilos | 08:46 |
Kilos | hi there inetpro | 08:46 |
inetpro | oh and good mornings to everyone else | 08:47 |
Kilos | lol i enjoyed that | 08:47 |
inetpro | ;-) | 08:47 |
Kilos | :-D | 08:49 |
inetpro | (^_-) | 08:50 |
Kilos | ;-) | 08:50 |
inetpro | :-P | 08:50 |
Kilos | no man i cant remember them all | 08:51 |
Kilos | hehe | 08:51 |
Kilos | was saving for a ssd but decided to get a d-link 157 instead | 08:59 |
Kilos | 3 times faster than the 156 i have | 09:00 |
Kilos | inetpro https://www.telkommobile.co.za/internet-starter-pack/ | 09:03 |
Kilos | can you explain what it says you get on the right of the modem please | 09:03 |
Kilos | oh nm i woke up | 09:04 |
Kilos | inetpro something wrong with your g+ post http://bit.ly/1EM8HPp | 11:44 |
inetpro | Kilos: nothing wrong there | 11:52 |
inetpro | oh and Kilos, you want yet another Telkom starter pack? | 11:55 |
inetpro | why? | 11:55 |
Kilos | 3 times faster | 11:55 |
inetpro | and what is so difficult to understand on that page? | 11:55 |
Kilos | ive tried that link three times | 11:55 |
inetpro | Kilos: have you tried with a decent browser? | 11:56 |
Kilos | nono i missed the 512 x !@ after the 6g | 11:56 |
Kilos | lol | 11:56 |
Kilos | opera and chrome cannot open it from here | 11:58 |
inetpro | Kilos: what do you get? | 11:58 |
Kilos | web page unavailable | 11:58 |
Kilos | Opera could not load the webpage because www.databook.bz took too long to respond. The website may be down, or you may be experiencing issues with your internet connection. | 11:59 |
Kilos | lemme see what chrome says | 11:59 |
inetpro | and that now becomes my fault? | 11:59 |
Kilos | ERR_CONNECTION_TIMED_OUT | 11:59 |
Kilos | yes bad link | 12:00 |
Kilos | fix it | 12:00 |
inetpro | works for me | 12:00 |
Kilos | sigh with ff i spose | 12:00 |
Kilos | ok ill reinstall it | 12:00 |
inetpro | ai! | 12:01 |
inetpro | works for me on FF and on Chrome | 12:01 |
Kilos | oh my | 12:01 |
inetpro | how on earth do you get to the conclusion that a reinstall will help? | 12:01 |
Kilos | no man i uninstalled it | 12:03 |
Kilos | it tries to take over here | 12:03 |
inetpro | ai! | 12:03 |
inetpro | how about trying the default browser? | 12:05 |
inetpro | you also uninstalled that? | 12:06 |
Kilos | what is that | 12:06 |
Kilos | i love opera man , i can close it and open tomorrow and all 40 links open' | 12:06 |
Kilos | chrome i have to shutdown with it open then hit restore tomorrow | 12:07 |
inetpro | fact is, the problem is not even your browser | 12:07 |
inetpro | sounds more like your connection ebing the problem | 12:08 |
Kilos | ff can open it either seems like | 12:08 |
inetpro | how about trying to reset your connection | 12:08 |
Kilos | where is maaz | 12:08 |
inetpro | ai! You killed him? | 12:09 |
Kilos | nono not me | 12:09 |
Kilos | crashkid gone too | 12:09 |
Kilos | oh my | 12:09 |
Kilos | tell me what the reason is for disabling those things | 12:10 |
Kilos | nepomuk and friends | 12:10 |
inetpro | Kilos: what version are you using? | 12:12 |
inetpro | Kubuntu 14.04? | 12:12 |
Kilos | yessir | 12:12 |
inetpro | Kilos: https://www.google.com/search?q=disable+akonadi+kubuntu+14.04 | 12:13 |
inetpro | go reset your connection and try opening my posting again... it explains it better than most others | 12:18 |
Kilos | oh it slows things down | 12:18 |
Kilos | i can see the last link | 12:18 |
Kilos | see i need a faster modem | 12:18 |
Kilos | lemme remove and replace the modem | 12:19 |
inetpro | in Kubuntu 15.04 Baloo and Akonadi used way too much resources on my machine | 12:19 |
Kilos | oh | 12:19 |
inetpro | I don't need any of the two, hence me searching for a way to disable | 12:19 |
inetpro | Baloo indexing can easily be turned off in settings now | 12:20 |
Kilos | wbb dont go away | 12:20 |
inetpro | did you reboot so quickly? | 12:21 |
Kilos- | nono just restarted modem | 12:22 |
inetpro | does the link open now? | 12:22 |
Kilos- | no | 12:22 |
inetpro | reboot | 12:22 |
Kilos- | ok | 12:22 |
Kilos- | wbb | 12:22 |
Kilos | hmm... | 12:25 |
inetpro | does the link open now? | 12:25 |
Kilos | this isnt windows | 12:25 |
inetpro | haha :-) | 12:25 |
inetpro | does the link open now? | 12:25 |
Kilos | ya | 12:26 |
Kilos | what was wrong | 12:26 |
* inetpro rests his case | 12:26 | |
Kilos | it opened in fox grrr | 12:26 |
inetpro | and opera? | 12:26 |
Kilos | i told you fox takes over | 12:26 |
inetpro | why? | 12:26 |
inetpro | because you allow it to take over, that is why | 12:27 |
Kilos | just remving it again | 12:27 |
inetpro | Kilos: go sit in the driving seat and take control | 12:27 |
inetpro | why remove it? | 12:27 |
Kilos | then i dont have to find out how to stop it taking over | 12:28 |
inetpro | I didn't uninstall Baloo or Akonadi | 12:28 |
Kilos | opera sees that link fine ty | 12:28 |
Kilos | must be a decent browser | 12:28 |
inetpro | oom Kilos, that was a joke man :-) | 12:29 |
Kilos | lol | 12:29 |
* inetpro knew he would fall for it | 12:29 | |
Kilos | thats why you took my sjambok | 12:29 |
Kilos | so you can be cheeky and not feel the consequences | 12:30 |
inetpro | Kilos: please define, "fox takes over" | 12:30 |
Kilos | if i tick a link it email, ff opens even when opera is the default browser | 12:31 |
Kilos | s/it/in | 12:32 |
Kilos | anyway inetpro nepomuk wasnt a prob with 14.04 was it? | 12:32 |
inetpro | Kilos: I can't remember | 12:34 |
Kilos | lol | 12:34 |
Kilos | ol dman | 12:34 |
Kilos | old man | 12:34 |
inetpro | nepomuk is not a problem in 15.04 any more | 12:34 |
Kilos | oh you fixed it | 12:35 |
inetpro | Kilos: important thing to figure out is to know all the processes that are actively running on your machine | 12:36 |
inetpro | press Ctrl+Esc | 12:36 |
Kilos | no thats kde's job | 12:36 |
inetpro | well ideally you want to know | 12:37 |
inetpro | you want to at least know, what is it that is eating your memory and your CPU | 12:37 |
Kilos | whew lotsa stuff but clamav uses most | 12:37 |
inetpro | disable clamav | 12:38 |
Kilos | ok | 12:38 |
inetpro | it's pointless to keep it running | 12:38 |
inetpro | just use it when you need it | 12:38 |
Kilos | ya i only use it for other drives | 12:38 |
inetpro | so now, in stead of wasting your time immediately focussing on clamav, just make a note | 12:39 |
inetpro | Note 1: Find out how to disable clamav | 12:39 |
inetpro | next? | 12:40 |
inetpro | ai! | 12:40 |
inetpro | we lost him already? | 12:40 |
Kilos | im looing | 12:40 |
Kilos | looking | 12:40 |
Kilos | cant find a disable thing yet | 12:41 |
inetpro | Kilos: RTFS above please | 12:41 |
Kilos | yes im seeing if it has a disable button | 12:41 |
Kilos | then ill google | 12:41 |
inetpro | it doesn't | 12:41 |
Kilos | then ill ask you | 12:41 |
inetpro | Kilos: in stead of wasting your time immediately focussing on clamav, just make a note | 12:42 |
Kilos | i just remove things normally | 12:42 |
Kilos | ai! | 12:42 |
Kilos | stubborn is what stubborn is | 12:42 |
inetpro | how did we get here and what did you try to achieve? | 12:43 |
Kilos | we looking whats using memory | 12:43 |
inetpro | exactly, don't forget the bigger picture! | 12:43 |
inetpro | Kilos: and CPU | 12:43 |
Kilos | yes boss | 12:43 |
inetpro | Kilos: sometimes it takes days or weeks to figure it out | 12:44 |
Kilos | xorg 4 % and opera 5% | 12:44 |
inetpro | not much you can do about those | 12:45 |
Kilos | and konversation 2% on and off | 12:45 |
inetpro | not nothing but also not much | 12:45 |
Kilos | thats min | 12:45 |
Kilos | ill worry when something uses 50% | 12:46 |
Kilos | where can i see a total for cpu usage | 12:46 |
inetpro | click on the column to sort | 12:47 |
inetpro | but no totals | 12:47 |
Kilos | krunner uses 2% now and again too | 12:47 |
inetpro | obviously | 12:48 |
Kilos | why | 12:48 |
inetpro | uh!? | 12:48 |
inetpro | because it's not magic | 12:48 |
Kilos | hee hee hee | 12:48 |
Kilos | i dont think i have a prob | 12:49 |
inetpro | in that case just forget about akonadi and friends | 12:50 |
Kilos | ok | 12:50 |
inetpro | and go figure how to disable clamav | 12:51 |
Kilos | ill remove it man and install if and when needed | 12:51 |
inetpro | NOTE: no need to uninstall | 12:52 |
Kilos | obviously | 12:52 |
Kilos | lol see im learning | 12:52 |
inetpro | sudo /etc/init.d/clamav-daemon status | 12:53 |
inetpro | sudo /etc/init.d/clamav-daemon stop | 12:53 |
Kilos | ty inetpro | 12:53 |
Kilos | my friend | 12:53 |
inetpro | hmm... | 12:53 |
inetpro | Kilos: what is she doing here? | 12:54 |
Kilos | helping out till maaz comes back | 12:54 |
inetpro | Kilos: sudo /etc/init.d/clamav-freshclam status | 12:55 |
inetpro | and if running... stop it | 12:55 |
Kilos | i did with the top command | 12:55 |
inetpro | uh, really? | 12:55 |
Kilos | oh my | 12:55 |
Kilos | freshclam still going | 12:56 |
Kilos | ty thats stopped as well now | 12:57 |
inetpro | Kilos: you like using a hammer for everything? | 12:58 |
Kilos | lol | 12:59 |
Kilos | easier to use a hammer, less memory used | 12:59 |
Kilos | yay my new modem is here | 13:04 |
inetpro | Kilos: what did you get and for how much? | 13:05 |
Kilos | https://www.telkommobile.co.za/internet-starter-pack/ | 13:06 |
Kilos | there where you looked for R549 | 13:06 |
Kilos | iirc it can do 23mb/s | 13:06 |
inetpro | sjoe | 13:06 |
inetpro | 6GB Anytime data(512MB PM X 12)? | 13:06 |
Kilos | old one was 7.2 mb/s | 13:07 |
Kilos | they give you 512 meg free data monthly for a year | 13:07 |
Kilos | ohi superfly how are you all? | 13:12 |
inetpro | Kilos: hmm... that's about 9c per MB | 13:14 |
Kilos | is that bad? | 13:15 |
Kilos | also the 157 is stronger than the 156, the 157 picks up signal where the 156 doesnt | 13:16 |
inetpro | R249 for the same amount of data is 4c per MB, that means you pay about 5c perMB for the modem | 13:16 |
Kilos | aha | 13:17 |
* inetpro hasn't seen Kilos loosing a lot of connection here lately | 13:17 | |
inetpro | apart from with power issues | 13:17 |
Kilos | no the old one is good | 13:18 |
Kilos | but new one is faster | 13:18 |
inetpro | fast means more data usage in less time | 13:19 |
Kilos | yes but also less time waiting for big updates | 13:19 |
inetpro | ai! | 13:20 |
Kilos | and faster opening of web pages i hope | 13:20 |
Kilos | im a busy man you know | 13:21 |
Kilos | hehe | 13:21 |
inetpro | looks like you like sitting there and watching the data while it's downloading | 13:22 |
Kilos | now i can rev telkom for faster connection, before modem was too slow | 13:22 |
inetpro | remember, a watched pot never boils | 13:22 |
Kilos | i always watch it | 13:22 |
Kilos | its interesting | 13:23 |
Kilos | i watch the whole install process as well | 13:23 |
Kilos | hi octoquad | 13:24 |
inetpro | Kilos: you should read this: http://www.linux.org.za/Lists-Archives/glug-9707/msg00058.html | 13:24 |
Kilos | ok | 13:24 |
inetpro | Dr Evan Summers on Monday 21 Jul 1997, Personally I find the web overrated! Although it is | 13:25 |
inetpro | _very_ useful at times, but that's about 2 minutes per month for me... | 13:25 |
inetpro | old records on the GLUG mailing list | 13:25 |
Kilos | i have to go see all the links you give | 13:25 |
Kilos | 2 mins is fine for emails | 13:26 |
Kilos | and googling the time | 13:26 |
Kilos | i have all those wiki pages to see | 13:26 |
inetpro | some fascinating reading there | 13:27 |
Kilos | 2 new applicants on the first thursday of next month | 13:27 |
octoquad | greetings :) | 13:29 |
inetpro | hi octoquad | 13:29 |
* inetpro wbb | 13:29 | |
octoquad | inetpro, got json prettifying working in trello-snapshot, will put out a new release next week. Have some small problems detecting a required dependency (jq) at the moment, but works well ;) | 13:30 |
Kilos | cool | 13:31 |
arnaudmez | hi Kilos | 14:03 |
arnaudmez | hi guys | 14:03 |
arnaudmez | hi inetpro | 14:03 |
arnaudmez | hi Squirm | 14:03 |
arnaudmez | hi superfly | 14:03 |
arnaudmez | h, ThatGraemeGuy: | 14:04 |
Kilos | hi arnaudmez | 14:08 |
arnaudmez | What's on the desk today ? | 14:09 |
Kilos | not much i think | 14:09 |
Kilos | looking at http://www.databook.bz/?page_id=3728 | 14:10 |
arnaudmez | Clean | 14:10 |
arnaudmez | i'm busy looking for a full Lnx training program | 14:11 |
arnaudmez | a sample just to het myself inspired | 14:11 |
Kilos | lol | 14:11 |
arnaudmez | can't find it on the web | 14:11 |
arnaudmez | Terminal Linux 101 | 14:11 |
Kilos | http://training.linuxfoundation.org/free-linux-training | 14:12 |
Kilos | have you looked there? | 14:12 |
Kilos | QA google full linux training program to download | 14:12 |
QA | Kilos: "Learn For Free - Linux Foundation Training" http://training.linuxfoundation.org/free-linux-training :: "The Complete Beginner's Guide to Linux | Linux.com" https://www.linux.com/learn/tutorials/784060-the-complete-beginners-guide-to-linux :: "Linux Training From the Linux Foundation | Linux.com" http://www.linux.com/learn/linux-training-program-and-classes :: "Desktop | Linux.com" http://www.linux.com/directory/Distribu… | 14:12 |
arnaudmez | nope but jumping there now, in fact I'm just looking for a page that explain what is Terminal Linux 101 made of | 14:13 |
Kilos | https://www.linux.com/learn/tutorials/306766:linux-101-introduction-to-sudo | 14:14 |
arnaudmez | I've found nice videos on youtube (nixie pixel on Command line 101) | 14:24 |
Kilos | good | 14:24 |
Kilos | there must be lots of info out there | 14:25 |
Kilos | QA google Terminal Linux 101 training program | 14:26 |
QA | Kilos: "Linux 101: Introduction to sudo | Linux.com" https://www.linux.com/learn/tutorials/306766:linux-101-introduction-to-sudo :: "Learn Linux, 101: The Linux command line - IBM" http://www.ibm.com/developerworks/library/l-lpic1-v3-103-1/ :: "UNIX / Linux Tutorial for Beginners" http://www.ee.surrey.ac.uk/Teaching/Unix/ :: "LinuxCommand.org: Learning the shell." http://linuxcommand.org/learning_the_shell.php :: "LinuxCommand.… | 14:26 |
Mopkop | Hello everyone! | 16:15 |
superfly | Ohi | 16:15 |
Kilos | hi Mopkop wb young man | 16:15 |
Mopkop | Thank you! Finally finished with the semester! So What did I miss? | 16:16 |
Kilos | hmm... i forget | 16:17 |
Kilos | lots i think | 16:17 |
Mopkop | I'll check trello... | 16:17 |
Kilos | even trello has been slack | 16:18 |
Mopkop | I see. Nevermind then, I'm sure I'll catch on sooner enought. | 16:23 |
Kilos | im trying to remember, you been gone a long time | 16:24 |
Mopkop | Oh, got to relog. Just broke compiz :( | 16:32 |
Mopkop | That's better... | 16:33 |
Kilos | lol | 16:33 |
Mopkop | Anyway, did we get any new members? | 16:33 |
Kilos | only um | 16:33 |
Kilos | cutting edge i think | 16:34 |
Kilos | https://wiki.ubuntu.com/ZATeam/Members#preview | 16:34 |
Mopkop | Oh, and how is that documentation project going? | 16:38 |
inetpro | wb cocooncrash | 16:51 |
inetpro | Maaz: wb | 16:51 |
Maaz | Thank you so much inetpro my good good friend | 16:51 |
inetpro | lol | 16:52 |
inetpro | Kilos: ^^ | 16:52 |
cocooncrash | Maaz: ping | 16:55 |
Maaz | cocooncrash: pong | 16:55 |
Kilos | Maaz wb | 17:00 |
Maaz | Thank you so much Kilos my good good friend | 17:00 |
Kilos | hi cocooncrash | 17:00 |
Kilos | wb to you too | 17:00 |
Kilos | oh Mopkop i dont know how far jacques and walter have got, jacques has it working online so now its for peeps to jump in | 17:11 |
Kilos | there was a link to it in the mailing list | 17:13 |
inetpro | oh and wb Mopkop | 17:44 |
Mopkop | Hello inetpro! | 17:44 |
inetpro | good to see you back here | 17:44 |
Kilos | hehe | 17:45 |
inetpro | at least one more peep to keep Kilos awake | 17:45 |
Kilos | hehe you tired old man? been hard on you hey | 17:45 |
inetpro | exactly | 17:45 |
inetpro | now I can go sleep :-) | 17:45 |
Mopkop | Lol. | 17:46 |
Kilos | i must send that mail, it keeps growing | 17:46 |
inetpro | yikes Kilos! | 17:46 |
inetpro | don't hold back like that | 17:46 |
* inetpro don't know you like this | 17:46 | |
Kilos | haha | 17:47 |
Kilos | im trying to cover all bases | 17:47 |
inetpro | ai! | 17:49 |
Kilos | uh oh | 17:49 |
Kilos | why ai! | 17:49 |
* inetpro has seen those words somewhere before | 17:50 | |
Kilos | lol | 17:50 |
inetpro | coming back to me like a boomerang | 17:51 |
Kilos | there is more now | 17:51 |
inetpro | Kilos: "trying to cover all bases" <--- those words | 17:51 |
Kilos | oh | 17:51 |
inetpro | didn't I say that the other day? | 17:52 |
Kilos | i dunno | 17:52 |
inetpro | :-) | 17:52 |
Kilos | if you did then you must be glad i remembered something | 17:52 |
magespawn | good evening | 18:46 |
Mopkop | Good evening magespawn! | 18:48 |
magespawn | hi Mopkop | 18:49 |
Kilos | hi magespawn | 18:56 |
magespawn | hey Kilos | 18:57 |
Kilos | hmm... | 19:39 |
magespawn | Maaz hmmm | 19:40 |
Maaz | magespawn: Sorry... | 19:40 |
Kilos | haha | 19:40 |
magespawn | lol | 19:41 |
magespawn | Maaz define hmmm | 19:41 |
Maaz | magespawn: I don't know about hmmm. Maybe you meant hmmp or hmms? | 19:41 |
magespawn | Maaz define hmms | 19:41 |
Maaz | magespawn: HMMS HyperMedia Management Schema (MS, Intel, Cisco, WWW) | 19:41 |
Kilos | you are miss speeling it | 19:41 |
magespawn | wow learn something new everyday | 19:41 |
Kilos | spelling | 19:41 |
Kilos | Maaz hmm | 19:41 |
Maaz | hmm... is often used to try make others believe one is actually thinking | 19:41 |
magespawn | i did not know hmmm had a correct spelling | 19:41 |
Kilos | ya it has hmm | 19:42 |
Kilos | lol | 19:42 |
magespawn | so whats news? | 20:04 |
magespawn | besides hmm | 20:04 |
* Kilos thinks | 20:04 | |
inetpro | good evening magespawn | 20:05 |
stickyboy | Had a minor tiff on teh intarwebs with some Kenyan companies who violate the GPL. | 20:07 |
stickyboy | Now I'm mobilizing people to write blog posts and raise awareness. | 20:07 |
Kilos | stickyboy whew | 20:07 |
magespawn | hi inetpro stickyboy | 20:08 |
magespawn | stickyboy: links? | 20:09 |
stickyboy | magespawn: It startd with this summary of Nairobi LUG's May meetup: https://nairobilug.or.ke/2015/05/meetup-may-2015.html | 20:10 |
stickyboy | Then one of our members poked this company, BRCK, who denied they were in violation: https://twitter.com/jrogena/status/599139436589232128 | 20:11 |
stickyboy | (This company makes and sells an OpenWRT-based router called BRCK, and OpenWRT of course is a GNU/Linux distro for embedded systems) | 20:12 |
Kilos | i must sleep now. night all. sleep tight | 20:20 |
magespawn | stickyboy: they should at least be given a chance to reply | 20:21 |
magespawn | and who should handle an official complaint? EFF ? GNU? | 20:24 |
stickyboy | magespawn: We had emailed them privately 1 week ago and got no response. | 20:29 |
stickyboy | Then, after this tweet, we instantly got a reply. | 20:29 |
stickyboy | Their CTO says, "We use unmodified OpenWRT source so we don't need to publish code". | 20:30 |
stickyboy | Cowering behind a technicality of the GPL. Shame. | 20:30 |
stickyboy | I'm currently writing a blog post called "Carrots, sticks, and the spirit of the law" | 20:31 |
stickyboy | I'll post it here when it's done. :P | 20:31 |
magespawn | cool beans, i will follow along with interest | 20:46 |
magespawn | bed time for me, good night all | 20:47 |
gremble | Good morning | 22:30 |
kulelu88 | mornin gremble | 22:32 |
gremble | Hey kulelu88 | 22:33 |
gremble | How are you? | 22:33 |
kulelu88 | good good and you | 22:33 |
gremble | I am doing well thank you | 22:34 |
kulelu88 | you normally sleep early gremble | 22:35 |
gremble | Using chalk dries out your hands like a shriveled raisin | 22:35 |
kulelu88 | are you studying? | 22:35 |
gremble | Yes I am. | 22:35 |
gremble | Taking a break actually to do some haskell | 22:36 |
gremble | Writing calculus on Wednesday haha | 22:36 |
kulelu88 | first semester exam? | 22:36 |
gremble | Second semester test | 22:36 |
gremble | Exams start in a few weeks | 22:36 |
kulelu88 | oh ja, not yet June | 22:36 |
gremble | like literally two I think | 22:36 |
kulelu88 | all the beer-drinking, partying and drugs will slow down around this time | 22:37 |
gremble | Drugs won't haha they'll only change. People change from ecstacy to ritalin :P | 22:37 |
kulelu88 | I don't know where the drugden at tuks is though . Maybe it's a res thing | 22:39 |
gremble | I don't know either. I am fairly solitary :P | 22:40 |
kulelu88 | haskell is your current drug | 22:40 |
gremble | Haha. and Tea | 22:40 |
gremble | I drink so much tea | 22:41 |
gremble | haha | 22:41 |
kulelu88 | normal tea? | 22:41 |
gremble | Yup. Five roses with milk and sugar | 22:43 |
kulelu88 | milk and sugar???? You probably fancy some indian girl ehh | 22:43 |
gremble | Well.. there is this one good looking on in my statistics class | 22:45 |
gremble | :P | 22:45 |
kulelu88 | ehh and you're looking too. what's her name? | 22:45 |
gremble | Haha I have no idea. | 22:46 |
gremble | Like I said, solitary. | 22:46 |
kulelu88 | oh. you kinda remind me of the guy who would borrow the girl his pencil but never strike up a convo with her :D | 22:48 |
gremble | I am not shy. I would probably chat. | 22:48 |
gremble | I just don't do the whole fawning thing | 22:49 |
gremble | I implemented an array acces function in my personal haskell library because I thought that it did not have something that would return a specific element from a list | 22:50 |
gremble | Apparently I'm just stupid, because it has something like that. haha | 22:50 |
kulelu88 | if it didn't have that basic of a feature, it would be a shit language | 22:50 |
gremble | :P | 22:52 |
gremble | I couldn't find it | 22:52 |
gremble | But apparently it is list !! n | 22:52 |
kulelu88 | that is some shit syntax | 22:53 |
gremble | It's only shit because it is new. list[n] looks more natural because of the ubiquity in C-like languages | 22:57 |
gremble | The thing is that !! is there defined as a function like + is | 22:58 |
kulelu88 | why couldn't they just make it list[n] is what you should be asking yourself | 22:58 |
gremble | Because a list is not an object in haskell like it is in those languages | 22:58 |
gremble | So [n] is not a method of the object | 22:58 |
gremble | !! is a function applied to the list instead | 22:59 |
kulelu88 | I thought functional languages don't have objects? | 22:59 |
gremble | They don't. | 23:01 |
gremble | So list[n] would be inappropriate | 23:01 |
kulelu88 | how do they work then? send me a snippet of code | 23:02 |
gremble | http://sprunge.us/chiI | 23:04 |
gremble | this will look better I think hastebin.com/isarazafun.hs | 23:06 |
kulelu88 | all that code for that. You could do it in 5 lines of Python | 23:08 |
kulelu88 | :D | 23:08 |
gremble | Show me? I'm always eager to learn. And I have to sit down and learn Python properly sometime | 23:09 |
kulelu88 | you want to parse the usernames from the passwords file into a list and print out the usernames to the console? | 23:10 |
gremble | Yup | 23:11 |
gremble | from the /etc/passwd file. So its delimited by : | 23:11 |
kulelu88 | yeah I'm not sure I get the whole functional thing for something like this. It just seems easier to use a list object | 23:12 |
gremble | It is something weird to get used to | 23:13 |
kulelu88 | what is: args <- getArgs? | 23:15 |
gremble | args is a variable that I made that takes the value of whatever is the output of getArgs. | 23:15 |
gremble | getArgs reads the input arguments | 23:15 |
gremble | myProgram arg1 arg1 tittysprinkles | 23:16 |
gremble | so args = [arg1, arg1, tittysprinkles] | 23:16 |
kulelu88 | tittysprinkles???? dafugg +D | 23:17 |
gremble | Haha it's just another argument :P | 23:17 |
kulelu88 | so args and getargs are basically objects | 23:18 |
kulelu88 | but not objects | 23:18 |
kulelu88 | because this is haskell | 23:18 |
gremble | args is a function that returns a constant value | 23:18 |
gremble | getArgs is a function that returns IO (its strange because it is monadic) | 23:19 |
gremble | IO is where haskell gets really weird | 23:19 |
gremble | haha | 23:19 |
kulelu88 | again, args is a function/object and getargs is another function/object | 23:19 |
gremble | I guess | 23:20 |
gremble | Calling things objects will probably lead to confusion though | 23:20 |
kulelu88 | with about 10 minutes of searching, you will have your python version done | 23:20 |
kulelu88 | where is the args function? | 23:20 |
gremble | it is defined by `args <- getArgs` | 23:21 |
gremble | variables are constants in haskell | 23:21 |
gremble | ^ that is a confusing sentence | 23:21 |
kulelu88 | so it's an empty function? | 23:21 |
gremble | Yes | 23:21 |
gremble | That always returns the same value | 23:22 |
kulelu88 | why does this seem so much like how C does things | 23:22 |
gremble | Because C doesn't have objects | 23:23 |
kulelu88 | I'm guessing imperative and functional are very similar | 23:23 |
gremble | The nice thing about that program is, is that I can have an infinitely long file to read and it will not clog up my ram | 23:23 |
gremble | They're closer together than they are to OO I would say | 23:24 |
gremble | But then again, I am still wet behind the ears | 23:24 |
kulelu88 | how does it not clog up the ram? | 23:24 |
gremble | because of lazy evaluation. It reads the file as it needs it and then garbage collects as it finishes | 23:26 |
gremble | So the entire file is never in ram | 23:26 |
kulelu88 | can you force the language out of lazy evaluation? | 23:27 |
gremble | Yup | 23:27 |
gremble | with seq | 23:27 |
gremble | forces evaluation | 23:27 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!