--- Log opened Sun Jun 28 00:00:56 2015 |
00:26 | | SmithK [SmithKurosa@Nightstar-vdb5ai.eng.wind.ca] has joined #code |
00:28 | | SmithKurosaki [SmithKurosa@Nightstar-iq52tu.cable.rogers.com] has quit [Ping timeout: 121 seconds] |
00:48 | | SmithKurosaki [SmithKurosa@Nightstar-iq52tu.cable.rogers.com] has joined #code |
00:51 | | SmithK [SmithKurosa@Nightstar-vdb5ai.eng.wind.ca] has quit [Ping timeout: 121 seconds] |
01:17 | | catadroid [catalyst@Nightstar-e8puic.dab.02.net] has joined #code |
01:20 | | catadroid` [catalyst@Nightstar-e8puic.dab.02.net] has joined #code |
01:20 | | catadroid [catalyst@Nightstar-e8puic.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
01:22 | | catadroid` is now known as catadroid |
01:46 | | JustBob [justbob@Nightstar.Customer.Dissatisfaction.Administrator] has quit [Ping timeout: 121 seconds] |
02:07 | | JustBob [justbob@ServerAdministrator.Nightstar.Net] has joined #code |
02:07 | | mode/#code [+o JustBob] by ChanServ |
02:23 | | Mayor_Thalass [thalass@Nightstar-h1qmno.eastlink.ca] has joined #code |
04:41 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed] |
05:10 | | Derakon is now known as Derakon[AFK] |
05:25 | | Mayor_Thalass [thalass@Nightstar-h1qmno.eastlink.ca] has quit [Connection closed] |
05:56 | | Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has quit [Ping timeout: 121 seconds] |
06:44 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
06:45 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection closed] |
07:20 | | celticminstrel [celticminst@Nightstar-b6hgh7.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
07:47 | | catadroid` [catalyst@Nightstar-gde0ir.dab.02.net] has joined #code |
07:50 | | catadroid [catalyst@Nightstar-e8puic.dab.02.net] has quit [Ping timeout: 121 seconds] |
07:57 | | Kindamoody[zZz] is now known as Kindamoody |
08:20 | | NSGuest63378 is now known as Xires |
09:00 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
10:08 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [[NS] Quit: Quit.] |
10:10 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has joined #code |
10:40 | | catadroid` is now known as catadroid |
11:08 | | catadroid` [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
11:11 | | catadroid [catalyst@Nightstar-gde0ir.dab.02.net] has quit [Ping timeout: 121 seconds] |
11:14 | | catadroid` is now known as catadroid |
12:24 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
12:46 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
12:46 | | mode/#code [+o himi] by ChanServ |
12:53 | | gnolam [lenin@Nightstar-10p.ckv.119.62.IP] has joined #code |
12:53 | | mode/#code [+o gnolam] by ChanServ |
13:49 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
13:52 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
13:59 | | catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Ping timeout: 121 seconds] |
14:02 | | Kindamoody is now known as Kindamoody|afk |
14:39 | | celticminstrel [celticminst@Nightstar-b6hgh7.dsl.bell.ca] has joined #code |
14:39 | | mode/#code [+o celticminstrel] by ChanServ |
14:43 | | celticminstrel [celticminst@Nightstar-b6hgh7.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
14:44 | | celticminstrel [celticminst@Nightstar-b6hgh7.dsl.bell.ca] has joined #code |
14:44 | | mode/#code [+o celticminstrel] by ChanServ |
14:53 | | gnolam [lenin@Nightstar-10p.ckv.119.62.IP] has quit [[NS] Quit: Gone.] |
15:23 | | NSGuest15622 is now known as Orthia |
15:24 | | SmithKurosaki [SmithKurosa@Nightstar-iq52tu.cable.rogers.com] has quit [Ping timeout: 121 seconds] |
15:28 | | thalass [thalass@Nightstar-h1qmno.eastlink.ca] has joined #code |
15:28 | | mode/#code [+o thalass] by ChanServ |
16:25 | | SmithKurosaki [SmithKurosa@Nightstar-iq52tu.cable.rogers.com] has joined #code |
16:25 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
16:25 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
16:28 | | Meatyhandbag [sebastianfe@Nightstar-ein.59c.73.97.IP] has quit [Client exited] |
17:10 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
17:10 | | mode/#code [+o Checkmate] by ChanServ |
17:21 | | thalass is now known as Thalass|TF2 |
17:47 | | Thalass|TF2 is now known as Thalass |
17:55 | | Thalass [thalass@Nightstar-h1qmno.eastlink.ca] has quit [Ping timeout: 121 seconds] |
17:56 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has quit [Connection closed] |
17:58 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Iām not a psychopath. Iām a high-functioning sociopath. Do your research.] |
18:15 | | SmithK [SmithKurosa@Nightstar-2ms.prl.119.199.IP] has joined #code |
18:18 | | SmithKurosaki [SmithKurosa@Nightstar-iq52tu.cable.rogers.com] has quit [Ping timeout: 121 seconds] |
18:37 | | Thalass [thalass@Nightstar-h1qmno.eastlink.ca] has joined #code |
18:37 | | mode/#code [+o Thalass] by ChanServ |
19:10 | | Derakon[AFK] is now known as Derakon |
19:19 | <@starkruzr> | anyone here played around with Chef? is the learn.chef.io thing a good place to start? |
19:20 | | Kindamoody|afk is now known as Kindamoody |
19:28 | <@froztbyte> | hello hi |
19:28 | <@froztbyte> | we're talking about languages |
19:28 | <@starkruzr> | so like |
19:28 | <@starkruzr> | I was originally educated in Perl and PHP in college, right |
19:28 | <@froztbyte> | thus far ruby has been called slow and type-unfriendly |
19:28 | <@froztbyte> | python and ruby have been suggested as initial teaching languages, with an OCaml follow-up suggestion |
19:29 | <@froztbyte> | and then starkruzr mentioned PHP and I shouted warnings |
19:29 | <@froztbyte> | perl takes a special kind of headspace |
19:29 | <@starkruzr> | both of these have these sort of native modules that plug into Apache so that one can just go to such-and-such page being served by Apache, and if it's PHP, for example, the PHP interpreter does things and then gives it to Apache, which can then serve both the PHP stuff you did and whatever static content is also being served by Apache in the page |
19:29 | <@froztbyte> | I know a few people who get a hell of a lot done in it |
19:30 | <@froztbyte> | but I'm still not really convinced it's a good approach to learn now |
19:30 | <@froztbyte> | starkruzr: okay, next thing: don't make your language decisions based on what default modules are available in a shitty webserver |
19:30 | <@starkruzr> | but as far as I can tell, literally everything else, or at least Python and Ruby, require that you... sort of implement your own webserver? every time? |
19:30 | <@starkruzr> | ("shitty" is sort of a bit much to call Apache, isn't it? :P) |
19:30 | <@froztbyte> | not like the ones that apache loads by default are any good anyway |
19:30 | <@froztbyte> | no, it's pretty much on par |
19:31 | <@froztbyte> | apache's httpd is a fucking joke on its defaults |
19:31 | <@froztbyte> | it's heavy, it's got a really dumb worker definition, and a side consideration is that it's really picky about some configuration sub-elements just depending on which version you get |
19:32 | <@starkruzr> | hm. |
19:32 | <@froztbyte> | apache got better from the 2.4 releases |
19:32 | <@froztbyte> | those are only /now/ starting to filter into "easily accessible from repos" type of territory |
19:32 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has joined #code |
19:33 | <@froztbyte> | starkruzr: so, on to your comment about webservers and doing your own thing |
19:33 | <@starkruzr> | (the problem here for me is that it is so trivially easy to make sure whatever you are doing in Apache is always available -- Apache is a sudo apt-get install away from automatically getting started at boot, etc, I don't have to think about creating a serviced definition for the thing I just wrote, managing its resources, etc.) |
19:33 | <@starkruzr> | er, systemd |
19:33 | <@froztbyte> | yes, a common approach is to build on some given webserver, or something like wsgi running under gunicorn |
19:34 | <@froztbyte> | in ruby country, something like mongrel/thin is quite common |
19:34 | <@froztbyte> | those take care of all the actual http bits, so you mostly don't need to care |
19:34 | <@starkruzr> | hm. |
19:34 | <@froztbyte> | there's a rather big distinction between these and something like what most intro php/perl tuts show, though |
19:35 | <@froztbyte> | I have seen a hell of a number of php/perl tuts that go "and this hash contains the request details, so we can simply .... $x here ... and tada!" |
19:35 | <@froztbyte> | that's The Wrong Thing to be doing if you're starting out. |
19:35 | <@starkruzr> | ? |
19:36 | <@starkruzr> | what are you referring to there? |
19:36 | <@froztbyte> | web frameworks exist for fairly good reasons, so unless you know what you're doing (which doesn't hold at the start of stuff), you should be using them |
19:36 | <@starkruzr> | are you talking about $_POST or whatever? |
19:36 | <@froztbyte> | starkruzr: so like, in php, you've got $_REQUEST/$_POST, right? |
19:36 | <@starkruzr> | sure, yes. |
19:36 | <@froztbyte> | and you could read those directly |
19:37 | <@froztbyte> | and build your own little query dispatchers and "page entry points" and whatever |
19:37 | <@froztbyte> | or you could just not do that, and use a framework that solves all the common mistakes upfront |
19:38 | | * starkruzr attempts to understand what you're referring to |
19:38 | <@froztbyte> | for instance: do you upfront know how to protect against CSRF and injection attacks? |
19:38 | <@starkruzr> | I mean, $_POST certainly isn't hard to use. |
19:38 | | RchrdB [RchrdB@Nightstar-qe9.aug.187.81.IP] has joined #code |
19:39 | <@starkruzr> | oh. no, certainly not. but I also don't need to worry about that for the application I was working on last week. |
19:39 | <@starkruzr> | A) it's internal B) the data is trivial C) the server which is processing things is also trivial |
19:39 | <@froztbyte> | exactly; it's not hard to use, but it's hard to get right |
19:40 | <@starkruzr> | hm, ok. |
19:40 | <@froztbyte> | and in PHP, that little problem (and had habit) happens disturbingly often |
19:40 | <@froztbyte> | and since you don't know any better |
19:40 | <@froztbyte> | you get to learn incredibly bad habits |
19:40 | <@froztbyte> | so if you do want to use PHP (not sure why, it's an awful language, but let's go with it), definitely go for something that affords you the same protections upfront |
19:42 | <@starkruzr> | what would you suggest would be a good starting point? |
19:45 | <@froztbyte> | <froztbyte> python and ruby have been suggested as initial teaching languages, with an OCaml follow-up suggestion |
19:46 | <@froztbyte> | I find that python is rather close to "english pseudocode" for general expression of whatever you might want to do, so it's a great starting point if you're starting out fresh |
19:46 | <@froztbyte> | ruby is a good different option just in lots of little ways |
19:47 | <@froztbyte> | and both also have their comparitive downsides which you can learn from |
19:47 | <@starkruzr> | yeah |
19:47 | <@froztbyte> | OCaml is a functional language, which requires a very different mindset |
19:48 | <@froztbyte> | you could look into erlang or haskell or whatever as well, but OCaml is probably the easiest of the lot to go with next |
19:48 | <@froztbyte> | (if you've got a strong math background, definitely try Haskell too) |
19:48 | <@froztbyte> | after you've done all those, go wild. learn Go, Julia, C, whatever |
19:51 | <@froztbyte> | (as you might be able to tell, I take the "fuck the history course, learn something useful first" approach) |
19:51 | <@froztbyte> | (after that point you can start learning more about what underlies everything, and dive as deep as you wish) |
19:52 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Connection closed] |
19:52 | | catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
19:54 | <@froztbyte> | (to be clear: I don't think learning about "fundamentals" is irrelevant, merely that it's the wrong thing to start with for general use) |
19:55 | <@froztbyte> | (even just being aware that you're building on another thing is a good thing; for instance, don't try to load 64GB into hot memory and imagine it'll work without problems on all machines) |
20:10 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code |
20:10 | | mode/#code [+o Vash] by ChanServ |
20:14 | | gnolam [lenin@Nightstar-afpphi.tbcn.telia.com] has joined #code |
20:15 | | mode/#code [+o gnolam] by ChanServ |
20:22 | | gnolam [lenin@Nightstar-afpphi.tbcn.telia.com] has quit [[NS] Quit: Reboot] |
20:23 | | gnolam [lenin@Nightstar-afpphi.tbcn.telia.com] has joined #code |
20:23 | | mode/#code [+o gnolam] by ChanServ |
21:00 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
21:01 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
21:01 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
21:09 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
21:19 | | Kindamoody is now known as Kindamoody[zZz] |
21:25 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has quit [Ping timeout: 121 seconds] |
21:59 | | Thalass [thalass@Nightstar-h1qmno.eastlink.ca] has quit [[NS] Quit: lateres friends] |
22:25 | | SmithKurosaki [SmithKurosa@Nightstar-iq52tu.cable.rogers.com] has joined #code |
22:29 | | SmithK [SmithKurosa@Nightstar-2ms.prl.119.199.IP] has quit [Ping timeout: 121 seconds] |
22:35 | | Meatyhandbag [sebastianfe@Nightstar-ein.59c.73.97.IP] has joined #code |
22:37 | | Checkmate [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code |
22:37 | | mode/#code [+o Checkmate] by ChanServ |
22:49 | | gnolam [lenin@Nightstar-afpphi.tbcn.telia.com] has quit [[NS] Quit: Quit] |
23:18 | | catadroid [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: Bye] |
23:20 | | catadroid [catalyst@Nightstar-5i0o3o.dab.02.net] has joined #code |
--- Log closed Mon Jun 29 00:00:11 2015 |