--- Log opened Fri Mar 04 00:00:05 2016 |
00:03 | | macdjord is now known as macdjord|slep |
00:10 | | Vornotron is now known as Vornicus |
00:10 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
00:26 | | catadroid` [catalyst@Nightstar-ng2312.dab.02.net] has joined #code |
00:29 | | catadroid [catalyst@Nightstar-45nme2.dab.02.net] has quit [Ping timeout: 121 seconds] |
00:30 | <@celticminstrel> | I have now successfully implemented operator->* (with standard meaning) for std::shared_ptr. >_> |
00:31 | <~Vornicus> | ...what the hell are you doing, that's catadroid's job <_< |
00:33 | <@celticminstrel> | Huh? |
00:34 | <&McMartin> | catadroid has spent some time building task-optimized versions of the standard library professionally |
00:34 | <@celticminstrel> | As far as I know, that's not actually in the standard library. |
00:34 | | Derakon[AFK] is now known as Derakon |
00:34 | <@celticminstrel> | The implementation is not portable, unfortunately. |
00:34 | <~Vornicus> | A couple days back she mentioned that she had completed an implementation of shared_ptr... and I thought you had said it, and I was confused until I reread it. |
00:35 | <@celticminstrel> | Ah. |
00:36 | <~Vornicus> | http://www.starforge.co.uk/irclogs/code/code.20160224.log.html#m1746-0 specifically |
00:37 | <@celticminstrel> | I think I remember this. |
00:52 | | Turaiel[Offline] is now known as Turaiel |
01:07 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has joined #code |
01:07 | | mode/#code [+o Reiv] by ChanServ |
02:27 | | catadroid [catalyst@Nightstar-ng2312.dab.02.net] has joined #code |
02:27 | | catadroid` [catalyst@Nightstar-ng2312.dab.02.net] has quit [Connection closed] |
03:37 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
04:54 | | Turaiel is now known as Turaiel[Offline] |
05:01 | | Derakon is now known as Derakon[AFK] |
05:04 | < ion> | Is there a way to suspend a program in windows on launch until another program runs, then resume operation of the first one? |
05:10 | < ion> | A friend is trying to use adplus from windbg to get a memory dump from a game called helldive, but helldive needs to be open for adplus to capture, and helldive doesn't even launch in the first place hence messing with debugging |
05:10 | < ion> | Gives no errors or anything and he *really* wants to play this game |
05:17 | < ion> | Oh snap, he figured out -pmn instead of -pn, does exactly what was needed |
06:12 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
06:16 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
06:56 | | catadroid` [catalyst@Nightstar-gfibqc.dab.02.net] has joined #code |
07:00 | | catadroid [catalyst@Nightstar-ng2312.dab.02.net] has quit [Ping timeout: 121 seconds] |
07:20 | | Kindamoody[zZz] is now known as Kindamoody |
07:52 | <@abudhabi> | So. I have a HTTP request dumped to a file. |
07:52 | <@abudhabi> | What kind of tool would I use to reconstitute it and send it? |
07:53 | < [R]> | netcat |
07:58 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
07:59 | <@abudhabi> | [R]: How I used netcat for this? |
08:00 | < [R]> | netcat host 80 < dump |
08:06 | <@abudhabi> | 80 is the port? |
08:08 | < [R]> | For http? Yes. |
08:11 | <@abudhabi> | [R]: What format is the host part in? I'm trying with and without http://, and both return unknown host. |
08:11 | < [R]> | IP or DNA name |
08:11 | < [R]> | ... |
08:12 | < [R]> | IP or DNS name |
08:12 | < [R]> | Eg: Google.ca |
08:13 | <@abudhabi> | Then "123.213.123.12/Whatever" should work? |
08:13 | | ErikMesoy [Erik@Nightstar-hq72t5.customer.cdi.no] has left #code [] |
08:14 | < [R]> | No |
08:17 | <@abudhabi> | Why not? |
08:17 | < [R]> | Because that is more than an IP |
08:18 | <@abudhabi> | But that's what I want. Sending to a specfic address. Just IP won't do. |
08:19 | < [R]> | That's not something net cat understands... look at the first line of your dump |
08:19 | <@abudhabi> | POST / HTTP/1.1 |
08:20 | < [R]> | Right. It is asking for / |
08:21 | < [R]> | To make it ask for /Whatever instead you just change the first argument of POST |
08:21 | <@abudhabi> | OK. |
08:31 | < [R]> | All good? |
08:33 | | Erik [Erik@Nightstar-gek.jub.88.77.IP] has joined #code |
08:35 | | ErikMesoy [Erik@Nightstar-hq72t5.customer.cdi.no] has joined #code |
08:36 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
08:36 | | mode/#code [+o himi] by ChanServ |
08:37 | | IPOverLayerCake [NSwebIRC@Nightstar-hq72t5.customer.cdi.no] has joined #code |
08:38 | < IPOverLayerCake> | Holy crap it works. I am now on Remote Desktop into Steam In-Game Web Browser into Nightstar Webtchat Client and the tech is holding up well, if with high latency. |
08:38 | < IPOverLayerCake> | Why? Because I can, obviously. |
08:41 | < IPOverLayerCake> | I'm mildly impressed with several parts, like the middle element supporting the last element and the arguably relatively low latency considering just how many times my data has to be flung around the intertubes and handed off. |
08:41 | | IPOverLayerCake [NSwebIRC@Nightstar-hq72t5.customer.cdi.no] has quit [[NS] Quit: ] |
09:17 | | Kindamoody is now known as Kindamoody|afk |
09:20 | | catadroid` [catalyst@Nightstar-gfibqc.dab.02.net] has quit [[NS] Quit: Bye] |
10:02 | | celticminstrel is now known as celmin|sleep |
11:40 | | Erik [Erik@Nightstar-gek.jub.88.77.IP] has left #code [] |
13:53 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has joined #code |
14:05 | | Natan [NSwebIRC@Nightstar-f3k.t3q.245.162.IP] has joined #code |
14:13 | | Natan [NSwebIRC@Nightstar-f3k.t3q.245.162.IP] has quit [[NS] Quit: Page closed] |
14:23 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has quit [Ping timeout: 121 seconds] |
14:32 | | catadroid` [catalyst@Nightstar-pi4203.dab.02.net] has joined #code |
14:32 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has quit [Connection closed] |
14:42 | | Emmy [M@Nightstar-9p7hb1.direct-adsl.nl] has quit [[NS] Quit: chores and stuff and things.] |
14:44 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has joined #code |
14:45 | | mode/#code [+o Crossfire] by ChanServ |
15:37 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
15:37 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:52 | < Azash> | https://git-man-page-generator.lokaltog.net/ |
15:53 | < Azash> | NAME |
15:53 | < Azash> | git-drug-path drug all applied paths before various counted upstreams |
15:53 | < Azash> | SYNOPSIS |
15:53 | < Azash> | git-drug-path --panic-explode-commit --drill-commit [ --compose-serve-upstream | --choke-polish-branch | --contract-log ] |
15:53 | < Azash> | --panic-explode-commit sounds like an integral part of my workflow |
15:58 | | catadroid` [catalyst@Nightstar-pi4203.dab.02.net] has quit [Ping timeout: 121 seconds] |
16:04 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has joined #code |
16:20 | | abudhabi [abudhabi@Nightstar-7nkq9k.de] has joined #code |
16:22 | | catadroid` [catalyst@Nightstar-pi4203.dab.02.net] has joined #code |
16:22 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has quit [Connection closed] |
16:36 | | celmin|sleep is now known as celticminstrel |
16:53 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has joined #code |
16:53 | | catadroid` [catalyst@Nightstar-pi4203.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
16:55 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
16:58 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has joined #code |
17:00 | | catadroid [catalyst@Nightstar-pi4203.dab.02.net] has quit [A TLS packet with unexpected length was received.] |
17:54 | | gizmore [kvirc@Nightstar-ki485q.dip0.t-ipconnect.de] has joined #code |
18:24 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
18:26 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
18:26 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
19:27 | | * celticminstrel ponders what sorts of ways a loop could be seen as returning a value; thinks of reduce and list comprehension. |
19:28 | <&McMartin> | coroutines/yield |
19:39 | | catadroid [catalyst@Nightstar-0266uk.dab.02.net] has joined #code |
19:51 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: WeeChat 1.4] |
20:12 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
20:12 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
20:23 | <@celticminstrel> | Is there any difference between list comprehensions and map()? |
20:28 | | Kindamoody|afk is now known as Kindamoody |
20:37 | <&ToxicFrog> | One takes an expression and one takes a function? |
20:38 | <@celticminstrel> | So basically, not really. |
20:39 | <&ToxicFrog> | Well |
20:39 | <&ToxicFrog> | There's also the fact that list comprehensions are filters as well as maps |
20:40 | <&ToxicFrog> | If you were asking about list comprehensions in general, and not the [_ for _ in _] form specifically |
20:40 | <&ToxicFrog> | But anything you can express with a list comprehension you can express with map/filter, and vice versa. |
20:40 | <&ToxicFrog> | That said, I don't know what the performance characteristics are. |
20:41 | <@celticminstrel> | Uh, I seem to be drawing a blank when it comes to thinking of an example of a filtering list comprehension... |
20:41 | <&McMartin> | [x for x in range(1) if x % 2 == 0] |
20:41 | <&ToxicFrog> | [x for x in xs if x % 2] |
20:41 | <&McMartin> | *range(10) |
20:43 | <@celticminstrel> | Oh right, the if syntax. |
20:59 | | Derakon[AFK] is now known as Derakon |
21:08 | | Crossfire [Z@Nightstar-r9lk5l.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
21:17 | | Alek [Alek@Nightstar-n7s.4qg.15.24.IP] has quit [Ping timeout: 121 seconds] |
21:25 | | Alek [Alek@Nightstar-n7s.4qg.15.24.IP] has joined #code |
21:25 | | mode/#code [+o Alek] by ChanServ |
21:28 | | gizmore|2 [kvirc@Nightstar-ki485q.dip0.t-ipconnect.de] has joined #code |
21:29 | | Far [Asur@Nightstar-58fet3.dip0.t-ipconnect.de] has joined #code |
21:29 | | gizmore [kvirc@Nightstar-ki485q.dip0.t-ipconnect.de] has quit [Operation timed out] |
21:40 | | gizmore [kvirc@Nightstar-ki485q.dip0.t-ipconnect.de] has joined #code |
21:40 | | gizmore [kvirc@Nightstar-ki485q.dip0.t-ipconnect.de] has quit [[NS] Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/] |
21:41 | | gizmore|2 [kvirc@Nightstar-ki485q.dip0.t-ipconnect.de] has quit [Operation timed out] |
21:44 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
21:49 | <&McMartin> | http://mamedev.org/?p=422 |
21:50 | <@celticminstrel> | Amazing. |
21:50 | < Far> | Nice :) |
22:07 | | ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code |
22:07 | | mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ |
22:58 | | Kindamoody is now known as Kindamoody[zZz] |
23:00 | | Crossfire [Z@Nightstar-pdi1tp.customer.tdc.net] has joined #code |
23:00 | | mode/#code [+o Crossfire] by ChanServ |
23:01 | | * McMartin looks at the swift docs again, gets to the point where he needs to go on a stabbing spree |
23:01 | <&McMartin> | "Constant and variable names can contain... Unicode characters: [e.g.] let ð¶ð® = "dogcow"" |
23:01 | <&McMartin> | You know, the example of hanzi as identifiers was a lot classier, just saying |
23:05 | < Far> | As a German, itâs nice to be able to use umlauts in variable names. As of yet, I always have to use the alternate forms (but Iâm writing in C++ anyways) |
23:08 | <&McMartin> | Far: Yeah, and like, the Chinese and Japanese would likely have Firm Opinions about this too, I'd imagine |
23:09 | <&McMartin> | These are fine examples, while naming your variable {MAN IN BUSINESS SUIT LEVITATING}{PILE OF FECES} is not so much |
23:09 | < Far> | :D |
23:10 | < Far> | Why did they think itâd be a good idea to include such stuff into Unicode at all? |
23:10 | <&McMartin> | Smileys were a plague before Unicode as a project even started |
23:11 | <&McMartin> | I think some level of emoji incorporation was inevitable |
23:11 | <&McMartin> | And, well, as long as it stays out of the basic multilingual plane I'm pretty content |
23:11 | <&McMartin> | I'm... genuinely unclear on the use case for MAN IN BUSINESS SUIT LEVITATING |
23:12 | <&McMartin> | My best current theory is "Whoever proposed it provided an image and had an idea for what it was for, but the people who standardized and named it didn't talk to the people who wanted it" |
23:12 | <&McMartin> | I've seen it occasionally named "jump" |
23:12 | <&McMartin> | But the image is clearly levitation, not jump |
23:12 | <&McMartin> | http://www.fileformat.info/info/unicode/char/1f574/index.htm |
23:13 | <&McMartin> | My terminal has it! ð´ |
23:14 | < Far> | Well, I wasnât sure whether you picked real, err ..., glyphs or just made stuff up. They really included a thing called {MAN IN BUSINESS SUIT LEVITATING}? What the heck!? |
23:14 | < Far> | Ok, I guess itâs time to fork ... |
23:14 | <&McMartin> | Pile of Feces is obviously crucial for internet product reviews |
23:14 | | * Far goes to check his encoding settings |
23:15 | <&McMartin> | Also, it looks like Java at least will let you use ü in identifiers, so that's nice. |
23:16 | <&McMartin> | My mistake though |
23:17 | <&McMartin> | There is not in fact a PILE OF FECES unicode character. |
23:17 | <&McMartin> | http://www.fileformat.info/info/unicode/char/1f4a9/index.htm is, as you can clearly see, PILE OF POO |
23:17 | <~Vornicus> | https://mothereff.in/js-variables |
23:18 | | * Far is distinctively dissatisfied with the direction Unicode is evolving in |
23:19 | <&McMartin> | I think the Java rule is "Identifiers start with either the _ codepoint or something Unicode classifies as 'a letter', and then continue with either _ or anything Unicode classifies as a letter or a number." |
23:23 | | * McMartin checks to see if that works for Han characters, and it seems to, so, yes, this rule is fine |
23:25 | <&McMartin> | Indeed, 好 was the character I used to test the rule~ |
23:28 | | Far [Asur@Nightstar-58fet3.dip0.t-ipconnect.de] has quit [[NS] Quit: Ich geh dann mal.] |
23:29 | | Far [Asur@Nightstar-58fet3.dip0.t-ipconnect.de] has joined #code |
23:30 | < Far> | McMartin: Could the problem be on your end? |
23:30 | <&McMartin> | ... which problem? |
23:30 | <&McMartin> | My hatred of emojis in code, or...? |
23:30 | < Far> | Your last message had this instead of some exotic character: "好" |
23:31 | <&McMartin> | ... Aha. We have an encoding mismatch. I'm sending UTF-8. |
23:31 | <&McMartin> | That was the chinese character for "fine" |
23:31 | < Far> | So do I |
23:31 | <&McMartin> | Does "ü" come out as a single character? |
23:31 | < Far> | I rechecked every encoding setting I could find |
23:31 | < Far> | Yes |
23:31 | < Far> | (I only recently switched to KVIrc, so itâs not fully set up yet) |
23:32 | <&McMartin> | ... okay, there's somebody playing silly buggers with a heinous mishmash of Latin-1 and UTF-8, I suspect |
23:32 | | * Vornicus prefers silly burgers |
23:32 | <&McMartin> | What about "Ä£"? |
23:33 | < Far> | Correct |
23:33 | <&McMartin> | But "好" does not? |
23:34 | < Far> | Now it does :) |
23:34 | < Far> | Hmmm |
23:34 | < Far> | Could you please send it again? |
23:34 | <&McMartin> | 好 |
23:34 | < Far> | Still ok |
23:34 | <&McMartin> | The previous thing you quoted at me was exactly what you'd get if you rendered the UTF-8 encoding of it as Latin-1 |
23:34 | < Far> | Thanks, but no idea why it does work now ... ;) |
23:34 | <&McMartin> | >>> u"好".encode("UTF-8") |
23:34 | <&McMartin> | '\xe5\xa5\xbd' |
23:34 | <&McMartin> | >>> print u"\u00e5\u00a5\u00bd" |
23:34 | <&McMartin> | 好 |
23:35 | <&McMartin> | Maybe it just needed to be reminded |
23:36 | < Far> | I did change the encoding settings, but I supposed I did that before you sent that character (before I reconnected) |
23:36 | <&McMartin> | And then it was logged as that |
23:36 | < Far> | Maybe your message arrived beforehand!? |
23:36 | <&McMartin> | Possible! Makes as much sense as anything else |
23:36 | < Far> | Could have been a race condition |
23:38 | <&McMartin> | The part that's bizarre is that when you pasted the three characters you got |
23:38 | <&McMartin> | *those were sent as UTF-8 because that made it through* |
23:38 | <&McMartin> | You were sending UTF8 while apparently interpreting what you received as Latin-1 |
23:38 | | * McMartin gives up, gets a drink. |
23:39 | < Far> | Well, there are settings for fixing only sending or receiving to an encoding and keeping the other on auto-detect |
23:39 | < Far> | Also note that I sent those characters after reconnecting, so definitely after having changed stuff |
23:40 | <&McMartin> | It might have decided that the encoding I sent for MAN IN BUSINESS SUIT LEVITATING wasn't a *real* Unicode value and thus I must be sending Latin-1 garbage |
23:41 | < Far> | No, that fault makes sense, it was set to "default for the selected language" before I changed it |
23:44 | < Far> | Oh, and when I asked you to resend the character, I tried whether forcing UTF-8 explicitly or telling it to use the (new) default made any difference (it didnât) |
23:54 | <&McMartin> | Aha, got it |
--- Log closed Sat Mar 05 00:00:36 2016 |