--- Log opened Tue Dec 15 00:00:47 2015 |
00:09 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
00:15 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has joined #code |
00:15 | | mode/#code [+o thalass] by ChanServ |
00:17 | | Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
00:19 | | Emmy-zZz [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
00:22 | < Meatyhandbag> | TheWatcher: What's a SMTP server? |
00:23 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
00:23 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
00:24 | <@[R]> | Meatyhandbag: Email is actually a set of protocols. |
00:24 | <@[R]> | SMTP is the protocol for passing emails from server to server. IE: the one used when you send an email. |
00:24 | <@[R]> | POP (deprecated) and IMAP are the protocols used when fetching mails you have recieved. |
00:26 | <@TheWatcher> | Meatyhandbag: So, you write code that asks a SMTP server to send an email on for you, and it handles the process of working out how to deliver it. |
00:27 | < Meatyhandbag> | so, do I just stick with Localhost in the SMTP? |
00:28 | <@[R]> | Are you running an SMTP daemon on localhost? (If you don't know, the answer is "no") |
00:28 | < Meatyhandbag> | wampserver |
00:28 | <@[R]> | None of the "AMP" includes SMTP. |
00:29 | < Meatyhandbag> | Wampserver is asking for me to specific the SMTP server and address mail to be used by PHP |
00:31 | <@[R]> | You need to be sending it from an email account of some sort. You could get a gmail account just for that, the FAQ for getting email with an email client will tell you all the information needed to connect to gmail. |
00:34 | < Meatyhandbag> | but what about the SMTP? |
00:34 | <@[R]> | I just answered that. |
00:35 | < Meatyhandbag> | I already have a gmail and outlook email acount |
00:35 | <@[R]> | Outgoing server name (SMTP): smtp.gmail.com |
00:36 | <@celticminstrel> | POP is deprecated? I didn't know that, though I'm not surprised. |
00:37 | <@[R]> | Not formally, but everyone offers IMAP and some stopped offering POP |
00:38 | <@celticminstrel> | I think there might still be a few that only offer POP... |
00:39 | | Turaiel[Offline] is now known as Turaiel |
00:39 | <@celticminstrel> | At least, some of my extended family seem to be using POP. |
00:40 | <@[R]> | http://stackoverflow.com/questions/712392/send-email-using-the-gmail-smtp-server -from-a-php-page |
01:00 | | thalass [thalass@Nightstar-283.o7s.158.104.IP] has quit [[NS] Quit: laters] |
01:35 | < Meatyhandbag> | um, ok, i feel like a real moron, but for some reason my Ordered List won't put any numbers on |
01:36 | < Meatyhandbag> | oh, realised it's my css being a bitch again |
01:36 | < Meatyhandbag> | nvm |
02:01 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
02:03 | | catadroid [catalyst@Nightstar-3pm2po.dab.02.net] has joined #code |
02:06 | | catadroid [catalyst@Nightstar-3pm2po.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
02:06 | | catadroid [catalyst@Nightstar-3pm2po.dab.02.net] has joined #code |
03:13 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has quit [Client exited] |
04:00 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has quit [The TLS connection was non-properly terminated.] |
04:25 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
05:13 | | Kindamoody[zZz] is now known as Kindamoody |
05:15 | | Turaiel is now known as Turaiel[Offline] |
05:20 | | Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
05:23 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
05:26 | | celticminstrel [celticminst@Nightstar-uce74q.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
05:38 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [[NS] Quit: Gone] |
06:36 | | Vornotron [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
06:43 | | catadroid` [catalyst@Nightstar-q1hij0.dab.02.net] has joined #code |
06:45 | | catadroid [catalyst@Nightstar-3pm2po.dab.02.net] has quit [Ping timeout: 121 seconds] |
07:02 | | macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [[NS] Quit: Glory to Arstotzka!] |
07:19 | | macdjord [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code |
07:19 | | mode/#code [+o macdjord] by ChanServ |
07:22 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
07:22 | | mode/#code [+ao jerith jerith] by ChanServ |
07:30 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
07:36 | | Kindamoody is now known as Kindamoody|afk |
07:43 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
07:55 | | Emmy is now known as Emmy-Werk |
08:48 | | Emmy [NSwebIRC@Nightstar-41pbej.static.chello.nl] has joined #code |
09:06 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
09:07 | | mode/#code [+o himi] by ChanServ |
10:13 | < Emmy> | Aaaand then it broke. |
10:14 | < Emmy> | Oh Access, why do you insist on hanging randomly when doing things |
10:14 | <@TheWatcher> | Because Access. |
10:15 | < Emmy> | yea yea, i know, it's a m$ product, but still. |
10:49 | | You're now known as TheWatcher[d00m] |
11:18 | | * Emmy DOOOOMS over TheWatcher[d00m] |
11:22 | | * TheWatcher[d00m] sings the doom song~ |
11:26 | <@Azash> | NEDM |
11:29 | | Emmy [NSwebIRC@Nightstar-41pbej.static.chello.nl] has quit [Ping timeout: 121 seconds] |
12:07 | | catadroid` [catalyst@Nightstar-q1hij0.dab.02.net] has quit [[NS] Quit: Bye] |
12:21 | | catadroid [catalyst@Nightstar-7h8bgg.dab.02.net] has joined #code |
13:08 | | Turaiel[Offline] is now known as Turaiel |
13:13 | | catadroid` [catalyst@Nightstar-4om706.dab.02.net] has joined #code |
13:15 | | catadroid [catalyst@Nightstar-7h8bgg.dab.02.net] has quit [Ping timeout: 121 seconds] |
13:28 | | You're now known as TheWatcher |
13:28 | | catadroid` is now known as catadroid |
14:04 | | Emmy-Werk is now known as Emmy |
14:09 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
14:09 | | mode/#code [+o Crossfire] by ChanServ |
14:25 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has joined #code |
14:53 | | celticminstrel [celticminst@Nightstar-uce74q.dsl.bell.ca] has joined #code |
14:54 | | mode/#code [+o celticminstrel] by ChanServ |
15:05 | | macdjord is now known as macdjord|slep |
16:32 | | * ToxicFrog discovers file.writelines in python. WHY THE FUCK. WHY. WHAT IS WRONG WITH THIS LANGUAGE. |
16:47 | <@[R]> | ? |
17:27 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has quit [Client exited] |
17:34 | | Vornlicious [NSwebIRC@Nightstar-k70f1n.ct.comcast.net] has joined #code |
17:35 | < Vornlicious> | https://docs.python.org/3/library/io.html#io.IOBase.writelines "Line separators are not added, so it is usual for each of the lines provided to have a line separator at the end." |
17:35 | < Vornlicious> | (presumably this is the problem) |
17:35 | | Vornlicious [NSwebIRC@Nightstar-k70f1n.ct.comcast.net] has quit [[NS] Quit: Page closed] |
17:41 | <&McMartin> | That sounds like it's to make readlines and writelines roundtrip. |
17:42 | <&ToxicFrog> | McMartin: the problem is exactly that it doesn't, though. |
17:42 | <&ToxicFrog> | fout.writelines(fin.readlines()) results in fout containing a copy of fin with all newline characters removed. |
17:43 | <&ToxicFrog> | Because readlines() is basically f.read().split('\n'), and thus the strings come out with no line-end characters. |
17:43 | <&ToxicFrog> | So readlines() removes newlines and writelines() doesn't put them back in. |
17:47 | <&ToxicFrog> | As a side note, getting a syntax error in a file that now consists of 600 lines worth of code concatenated into a single line results in remarkably unhelpful error messages. |
17:49 | <@Azash> | Use an inline thing like a lambda to add the line break to all lines as they are written? |
17:51 | <&ToxicFrog> | fout.write('\n'.join(lines)) |
18:14 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
18:14 | | catadroid [catalyst@Nightstar-4om706.dab.02.net] has quit [[NS] Quit: Bye] |
18:27 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has joined #code |
18:59 | | abudhabi_ is now known as Wulfric |
19:35 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has quit [Client exited] |
19:36 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has joined #code |
19:39 | | Meatyhandbag [sebastianfe@Nightstar-d5r.854.224.136.IP] has quit [Client exited] |
19:44 | | Meatyhandbag [sebastianfe@Nightstar-l5u.vnf.224.136.IP] has joined #code |
20:20 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
20:20 | | mode/#code [+o Reiv] by ChanServ |
20:44 | | kourbou [kourbou@Nightstar-huq.e58.180.88.IP] has joined #code |
20:45 | | Kindamoody|afk is now known as Kindamoody |
21:01 | | Turaiel is now known as Turaiel[Offline] |
21:26 | | gizmore [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has joined #code |
21:26 | | Meatyhandbag [sebastianfe@Nightstar-l5u.vnf.224.136.IP] has quit [Client exited] |
21:29 | | gizmore|2 [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
21:32 | | kourbou is now known as kourbou|zzz |
21:47 | | kourbou|zzz [kourbou@Nightstar-huq.e58.180.88.IP] has quit [Connection closed] |
22:00 | | Kindamoody is now known as Kindamoody[zZz] |
22:11 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
22:20 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
22:33 | | gizmore|2 [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has joined #code |
22:36 | | gizmore [kvirc@Nightstar-qvrd5r.dip0.t-ipconnect.de] has quit [Ping timeout: 121 seconds] |
23:16 | | Emmy is now known as Emmy-zZz |
--- Log closed Wed Dec 16 00:00:03 2015 |