--- Log opened Wed Jul 08 00:00:00 2015 |
--- Day changed Wed Jul 08 2015 |
00:00 | | Derakon[AFK] is now known as Derakon |
00:05 | | Meatyhandbag [sebastianfe@Nightstar-1ul.59c.73.97.IP] has quit [Ping timeout: 121 seconds] |
00:08 | | Meatyhandbag [sebastianfe@Nightstar-1ul.59c.73.97.IP] has joined #code |
00:20 | <@Reiv> | holy crap it's an ASCII |
00:24 | < ASCII> | Where?! |
00:28 | <@Reiv> | BEHIND YOU |
00:33 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
00:33 | | catadroid [catalyst@Nightstar-a7lsmf.dab.02.net] has joined #code |
00:37 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
01:52 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
01:52 | | mode/#code [+o himi] by ChanServ |
02:00 | | Meatyhandbag [sebastianfe@Nightstar-1ul.59c.73.97.IP] has quit [Ping timeout: 121 seconds] |
03:31 | | macdjord|wurk is now known as macdjord |
03:58 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
03:59 | | Meatyhandbag [sebastianfe@Nightstar-1ul.59c.73.97.IP] has joined #code |
04:14 | | Meatyhandbag [sebastianfe@Nightstar-1ul.59c.73.97.IP] has quit [Client exited] |
04:29 | | catadroid` [catalyst@Nightstar-a7lsmf.dab.02.net] has joined #code |
04:29 | | catadroid [catalyst@Nightstar-a7lsmf.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
04:53 | | Derakon is now known as Derakon[AFK] |
05:05 | < starkruzr> | anyone here who might be able to help me with a cron job? |
05:17 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection reset by peer] |
05:23 | | catadroid [catalyst@Nightstar-o156ed.dab.02.net] has joined #code |
05:26 | | catadroid` [catalyst@Nightstar-a7lsmf.dab.02.net] has quit [Ping timeout: 121 seconds] |
05:55 | | Kindamoody[zZz] is now known as Kindamoody |
06:20 | <@[R]> | yes. |
06:39 | < catadroid> | hi array of size R |
06:58 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
06:58 | | mode/#code [+o Checkmate] by ChanServ |
07:06 | | catadroid` [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
07:08 | <@macdjord> | starkruzr: Sure, I'l be the face, you be the muscle, and then we just need to get someone else as the- oh, wait, you said /cron/ job. |
07:09 | | catadroid [catalyst@Nightstar-o156ed.dab.02.net] has quit [Ping timeout: 121 seconds] |
07:21 | < ASCII> | Valor pleases you, Cron... so grant me one request. Grant me revenge! And if you do not listen, then to HELL with you! |
07:29 | < abudhabi> | Hahaha. |
07:34 | < ASCII> | So what's the fastest/most efficient way to generate two polygons out of the intersection of an arbitrarily rotated rectangle(4 2d points in an array) and a line segment(2 2d points) with the assumption that the line segment will either cut entirely through? (or not at all, in which case it doesn't need to divide anything) |
07:37 | <@macdjord> | ASCII: Scissors. |
07:38 | < ASCII> | I've lost more monitors that way |
08:00 | | celticminstrel [celticminst@Nightstar-3mpo5q.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:03 | | macdjord is now known as macdjord|slep |
08:12 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has quit [Connection closed] |
08:14 | | gnolam [lenin@Nightstar-t1tbf0.cust.bahnhof.se] has joined #code |
08:14 | | mode/#code [+o gnolam] by ChanServ |
08:15 | | Kindamoody is now known as Kindamoody|afk |
08:41 | < Wizard> | This is pretty fun |
08:42 | < Wizard> | There was a report written on how weakening or circumventing crypto for government agencies is a bad idea and not feasible |
08:42 | < Wizard> | It should add some weight to the report that the authors include Diffie and Rivest |
08:47 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
08:48 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has joined #code |
08:49 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection reset by peer] |
09:02 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Operation timed out] |
09:30 | | catadroid [catalyst@Nightstar-kspjle.dab.02.net] has joined #code |
09:33 | | catadroid` [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [Ping timeout: 121 seconds] |
09:49 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
09:57 | | catadroid [catalyst@Nightstar-kspjle.dab.02.net] has quit [Ping timeout: 121 seconds] |
10:01 | | * abudhabi summons the Vornicus. |
10:09 | | AverageJoe [evil1@Nightstar-usk56j.ph.cox.net] has joined #code |
10:26 | | Checkmate [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
10:43 | | catadroid [catalyst@Nightstar-a7lsmf.dab.02.net] has joined #code |
10:47 | <@TheWatcher> | I knew the univeristy websites were badly designed, but good gods, I had no idea. |
10:48 | <@TheWatcher> | This html is abysmal |
10:48 | < abudhabi> | <marquee> |
10:48 | | AverageJoe [evil1@Nightstar-usk56j.ph.cox.net] has quit [[NS] Quit: Leaving] |
10:51 | <@TheWatcher> | ... thankfully not that. Or <blink?. |
10:51 | <@TheWatcher> | If there had been, I'd have had no choice but to embark on a murderous rampage with a stapler. |
10:51 | <&Reiver> | aw, I was about to use blink |
10:52 | <@TheWatcher> | Don't make me come kill you. |
10:52 | <&Reiver> | I actually have a programmer confess he resorted, in desperation, to the <blink> tag |
10:52 | <&Reiver> | Because people just weren't paying enough attention to the bold, italic, underlined, bright red text |
10:52 | <&Reiver> | Desperation set in~ |
10:53 | < GreenGuy> | he could use alert() |
10:53 | <&Reiver> | in HTML? |
10:53 | < GreenGuy> | in JavaScript |
10:53 | <&Reiver> | yeah, it was pure html |
10:53 | < GreenGuy> | oh, nevermind |
10:54 | <@TheWatcher> | Reiver: and it probably still didn't work |
10:54 | <&Reiver> | It helped, apparently, and that made him even more ashamed~ |
10:57 | <@TheWatcher> | ... |
10:57 | <@TheWatcher> | I... what... |
10:57 | | * TheWatcher headdesks |
10:58 | <@TheWatcher> | This has the most ridiculous, pointless javascript-based mailto: obfustcator in it.... followed by the same email in plain html about 5 lines later |
11:01 | < GreenGuy> | are javascript obfuscators actually useful anyway ? |
11:01 | <@TheWatcher> | Nope |
11:02 | <@TheWatcher> | They might work against the most pointless and naive bots, but bots that interpret javascript have been common for years now, backed up by code that can detect and handle more common 'human-based' obfuscarion like chris at starforge dot co dot uk |
11:03 | <@TheWatcher> | *obfuscation |
11:15 | | Cra [NSwebIRC@Nightstar-qcig1f.cust.vodafonedsl.it] has joined #code |
11:21 | | Cra [NSwebIRC@Nightstar-qcig1f.cust.vodafonedsl.it] has quit [Ping timeout: 121 seconds] |
11:23 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
11:23 | | mode/#code [+o himi] by ChanServ |
12:01 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection reset by peer] |
13:52 | | celticminstrel [celticminst@Nightstar-3mpo5q.dsl.bell.ca] has joined #code |
13:52 | | mode/#code [+o celticminstrel] by ChanServ |
14:15 | <@simon> | who was it who was an intern at Microsoft doing compiler stuff? |
14:16 | <@simon> | I have a dispute: are @"strings" / "strings" resolved to the same IL at lexical analysis? |
14:23 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
14:38 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [Connection reset by peer] |
15:25 | <@gnolam> | Man. It always throws me when people have _zero_ idea how to use the command line. |
15:28 | < ErikMesoy> | add tooltips. |
15:30 | <@gnolam> | Thought I'd get to start at "ok, so the arguments to [internal tool] are mostly self-explanatory, but this is what you should probably use for the last one...". Instead I had to start at "ok, to change directory you type 'cd'.". |
15:33 | <@TheWatcher> | >.< |
--- Log closed Wed Jul 08 15:36:57 2015 |
--- Log opened Wed Jul 08 15:37:06 2015 |
15:37 | | TheWatcher [chris@Nightstar-ksqup0.co.uk] has joined #code |
15:37 | | Irssi: #code: Total of 40 nicks [26 ops, 0 halfops, 0 voices, 14 normal] |
15:37 | | mode/#code [+o TheWatcher] by ChanServ |
15:37 | | Irssi: Join to #code was synced in 41 secs |
16:25 | | catadroid` [catalyst@Nightstar-n9km72.dab.02.net] has joined #code |
16:26 | | * celticminstrel blinks. |
16:27 | <@celticminstrel> | I suddenly discovered a standard way to scroll to the top or bottom of the page. |
16:27 | <@celticminstrel> | document.body.scrollIntoView(true) for top, false for bottom. |
16:28 | <@celticminstrel> | Though MDN says it's experimental... but all browsers support it. |
16:28 | | catadroid [catalyst@Nightstar-a7lsmf.dab.02.net] has quit [Ping timeout: 121 seconds] |
16:34 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has joined #code |
17:19 | <@simon> | my issue tracker at work is empty. this is surreal. |
17:19 | <@simon> | well, empty... it has some issues assigned to me from the guy whose job I took over, but nobody understands them. |
17:28 | <@celticminstrel> | Whee. |
17:34 | <@[R]> | Congrats |
17:49 | <@iospace> | http://imgur.com/ao2Eul1 |
18:03 | <@simon> | celticminstrel, I was browsing StackOverflow randomly yesterday and ran into your account. |
18:03 | <@celticminstrel> | Hmm? |
18:03 | <@simon> | it wasn't related to anything I was searching for. I just found it peculiar :) |
18:04 | <@celticminstrel> | Why is it peculiar? |
18:04 | <@simon> | the internet is a big place! |
18:04 | <@celticminstrel> | Well, true. |
19:12 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has joined #code |
19:15 | | catadroid` [catalyst@Nightstar-n9km72.dab.02.net] has quit [[NS] Quit: Bye] |
19:49 | | GreenGuy [GreenGuy@Nightstar-fik25i.gnomino.eu] has quit [Connection closed] |
20:44 | <@gnolam> | https://lkml.org/lkml/2015/7/6/62 |
20:44 | <@gnolam> | "'long' is 64bit on several architectures. This is not needed since INT_MAX °mC is above the melting point of all known materials." |
20:45 | <&McMartin> | Nice |
20:45 | | * starkruzr idly wonders if one could melt wood in a perfect vacuum |
20:45 | <@Namegduf> | Pff. Another quick shortcut which hinders the futureproofing of the system. |
20:46 | <&McMartin> | There's still no excuse for using an unsigned to represent celsius temperatures |
20:46 | <&McMartin> | Kelvins, sure, but not celsius |
20:46 | <@Namegduf> | No, there isn't. I was commenting on the "long" thing. XD |
20:47 | <@gnolam> | starkruzr: it's called a tar kiln.~ |
20:54 | | macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has quit [Connection reset by peer] |
20:54 | | macdjord|slep [macdjord@Nightstar-r9vt2h.mc.videotron.ca] has joined #code |
20:54 | | mode/#code [+o macdjord|slep] by ChanServ |
21:08 | | Kindamoody|afk is now known as Kindamoody |
21:22 | | Meatyhandbag [sebastianfe@Nightstar-1ul.59c.73.97.IP] has joined #code |
21:24 | < Meatyhandbag> | what Liscences should I go about acquiring if I want to be a video game programmer? |
21:24 | < abudhabi> | Where do you live that requires licenses to become a video game programmer? |
21:25 | | kourbou [kourbou@Nightstar-deqg8j.fbx.proxad.net] has quit [[NS] Quit: Shoutout to Siergiej for being that awesome. :3] |
21:26 | < Meatyhandbag> | I don't have any licences so far, I'm a college student, but I'm not doing so well academically and I figured that if I don't need to spend all that money on classes I'm failing and instead take a little longer at my own pace, I might as well list the licences I need to acquire |
21:26 | <@froztbyte> | are you thinking about game engine licenses, or what? |
21:27 | <@froztbyte> | there's a lot of stuff you can get started with at little to no cost, fwiw |
21:27 | < Meatyhandbag> | from what I understand, computer programmers apply for certificates and licences proving their capabilities as a programmer |
21:27 | < abudhabi> | You could make your own engine. |
21:27 | <@froztbyte> | Meatyhandbag: that's.....not a requirement for writing games :) |
21:28 | < Meatyhandbag> | I know it's not froz |
21:28 | <@froztbyte> | I mean, maybe it helps somewhere, if some people want that? |
21:28 | <@froztbyte> | but just point them at code instead |
21:28 | <@froztbyte> | anyway, abudhabi's first question then becomes relevant again |
21:30 | < Meatyhandbag> | Computer Programmers apply for licences to prove how certified they are at programming, correct? Different fields of programming require different licences to prove ones calibre, again, correct? |
21:33 | < ErikMesoy> | They *might* apply for licenses. Very little is required. It is certainly not required the way a driver's license is required. |
21:34 | < Meatyhandbag> | If I don't want to go to college to be a programmer, acquiring these licenses is the best way of grading my growth as a programmer, correct? |
21:38 | < abudhabi> | Find a programming intro course, then. |
21:39 | < ErikMesoy> | I don't think so. I am confused (and I think several of the others here are too) because in my experience programming is something you learn best by doing, and experience usually beats certification. |
21:39 | < abudhabi> | Or find a programmer and ask them to teach you. |
21:39 | < ErikMesoy> | Have you started learning a programming language yet? |
21:41 | <@froztbyte> | programming is, in my experience, the one field where certification is a woefully counter-accurate about someone's capabilities usually :/ |
21:41 | <@froztbyte> | counter-accurate assessment* |
21:41 | <@froztbyte> | (as in, by and large, but not 100% so) |
21:42 | <@froztbyte> | anyway, learn to code, don't learn to pass certifications |
21:42 | <@froztbyte> | unless you want to work in banks |
21:46 | <@gnolam> | Meatyhandbag: certificates are mostly for grunt admin work. |
21:46 | < ErikMesoy> | There are many programming languages. Some of them don't have licenses or certifications at all. This is why I'm asking if you have started learning one yet. |
21:46 | <@gnolam> | Vendor A certifying that you know your shit around software or hardware B. |
21:47 | <@gnolam> | For programming (especially game dev)? Never heard of it. |
21:47 | < Meatyhandbag> | Erik, I have amateur of Java |
21:48 | <@gnolam> | Work on a portfolio. |
21:51 | < Meatyhandbag> | a portfolio of what? I haven't gone beyond writing Terminal Code |
21:53 | <&McMartin> | A portfolio of code |
21:53 | <&McMartin> | As in, little programs that do neat things |
21:53 | < ErikMesoy> | I think certifications are the wrong way to go about this, and I agree that you should write more code so that you have something to put in your portfolio, so that you can point to it and say "I have this much experience and this much skill in Java", I think this is better than certifications. |
21:53 | < ErikMesoy> | But if you really want certification for Java, here is some: http://docs.oracle.com/javase/tutorial/extra/certification/ |
21:55 | < ErikMesoy> | If you have no idea what code to practice writing, you could start on the Project Euler problems, and write code to solve some of those. https://projecteuler.net/archives |
21:56 | < Meatyhandbag> | Erik, ok, so, if I don't want to go about grabbing certificates, and I don't want to go about spending thousands on a failing (me failing not the classes) college education, then do you know any good ways of learning how to do this stuff? |
21:58 | < ErikMesoy> | Get hold of some Java reference documents (or prepare to use Google a lot to look things up) and then pick a project to do in Java, like a very simple game using the terminal. |
21:58 | < Meatyhandbag> | I kind of want to get beyond the Terminal |
21:58 | < ErikMesoy> | Let me think of something that should be doable at very low levels. |
22:00 | < ErikMesoy> | You could write a game of "Guess what number I'm thinking of". Generate a random number between 1 and 10, and store it in a variable. Start a loop asking the user to guess the number by writing it into the terminal. Convert the input from a string into a number. Compare the input number to the stored variable. If they are the same, end the loop, and the player wins. |
22:01 | < ErikMesoy> | Then you can add a simple graphical interface afterwards. But the graphical interface is often messy to get working the first few times, so the underlying function should be written first and make sure it is working properly. How does this sound? |
22:02 | < Meatyhandbag> | I've already written a game of Tic-Tac-Toe (with AI) in Java |
22:02 | < ErikMesoy> | Oh, you're further ahead than I thought. |
22:02 | <&McMartin> | So that's the beginning of one |
22:02 | <&McMartin> | If there are annoying things or cool things you'd want to automate, those are great things to do |
22:03 | <&McMartin> | About half my Github projects are like that (specifically, ARGLE and Megaforge) |
22:03 | < ErikMesoy> | How about writing a game of Nim? |
22:04 | < Meatyhandbag> | a game of what? |
22:04 | < Meatyhandbag> | What about getting me out of the Terminal and into writing my own GUIs? |
22:04 | < Meatyhandbag> | any good tutorials on that? |
22:04 | | Kindamoody is now known as Kindamoody[zZz] |
22:04 | <&McMartin> | Hrm. |
22:05 | <&McMartin> | I've been out of Java for a long time, but I got some decent mileage out of the official tutorials on that |
22:05 | <&McMartin> | And then I had the O'Reilly book on Swing, which is a terrifyingly massive codex |
22:05 | < ErikMesoy> | Nim is a game where there are three piles of stones (usually with 3, 5 and 7 stones in them, but there can be more) and the players take turns removing one or more stones from one pile. Whoever takes the last stone loses. |
22:05 | <&McMartin> | There are probably better ways these days |
22:05 | <&McMartin> | But Swing is at least workable as a GUI system, even though it is full of spiders |
22:06 | <&McMartin> | Meatyhandbag: https://docs.oracle.com/javase/tutorial/uiswing/index.html |
22:07 | <&McMartin> | I basically learned from this, but that was back in the 1.4 era. It may have since been updated. I would hope so. |
22:07 | < ASCII> | Is there any that isn't full of spiders? |
22:07 | < Meatyhandbag> | what year was the 1.4 era? |
22:07 | <&McMartin> | ASCII: Nope |
22:08 | < ErikMesoy> | About 2003 |
22:08 | < Meatyhandbag> | yeah, likely at least 2 updates by then |
22:08 | <&McMartin> | Java is at version 8 now |
22:08 | <&McMartin> | And is *much* more thorough as a language |
22:08 | <&McMartin> | Java 1.4 did not have generics, much less resource-tru. |
22:08 | <&McMartin> | *resource-try |
22:18 | < Meatyhandbag> | http://docs.oracle.com/javase/8/javase-clienttechnologies.htm |
22:18 | < Meatyhandbag> | ?? |
22:19 | <&McMartin> | That looks good too |
22:19 | <&McMartin> | I would focus more on Swing than JavaFX, personally, but that may be due to personal familiarity |
22:29 | <&McMartin> | The other option, which might be kinda nuts, but worth thinking about |
22:30 | <&McMartin> | Is to leave the commandline by jumping into Android dev |
22:35 | < Meatyhandbag> | android? |
22:35 | <&McMartin> | Android is Google's OS for a wide line of smartphones. Applications for it are traditionally written in Java, and the official Android devkit is based on the IntelliJ IDE. |
22:36 | < Meatyhandbag> | I know WHAT android is |
22:36 | < Meatyhandbag> | but is it compatible enough to Java that I could jump into it? |
22:36 | <&McMartin> | It is literally Java |
22:36 | < Meatyhandbag> | huh |
22:37 | <&McMartin> | I mean, it's Java plus a number of extra libraries, but so is Swing. |
22:37 | <&McMartin> | (And if you want to be super-pedantic, so is, java.util.LinkedList) |
22:38 | <@Reiv> | oh man I loved linkedlists |
22:38 | <@Reiv> | Oh, and ArrayLists, those were great |
23:27 | | catalyst [catalyst@Nightstar-bt5k4h.81.in-addr.arpa] has quit [[NS] Quit: ] |
23:27 | | catadroid [catalyst@Nightstar-k80.4th.132.82.IP] has joined #code |
--- Log closed Thu Jul 09 00:00:01 2015 |