<< 26-12-2014 >>

00:00:38ekarlso-dom96: ye
00:01:59flaviuWow, that rust post on hacker news drove over 760 hits towards the site!
00:02:17ekarlso-which rust post ? :p
00:02:27flaviuhttp://arthurtw.github.io/2014/12/21/rust-anti-sloppy-programming-language.html
00:02:42flaviuBaseline is ~100, so that's a 7x increase
00:03:34flaviuHope you don't mind me posting broad stats like these, I'll stop if nessesary
00:04:12dom96yeah, HN is powerful.
00:04:21dom96Check out the graphs for the past year or so.
00:04:30dom96You'll see spikes when we have been on the front page
00:05:44flaviumaybe we should extend GA across the docs and forums?
00:06:42flaviudom96: Also, can you enable webmaster tools for GA? I'm wondering what information that'll give
00:06:58dom96yes, we should.
00:07:06dom96I ain't got time to man.
00:07:17Araqflaviu: I applied your suggestion to the website but on my android it doesn't change anything
00:07:36Araqit renders until something has been loaded completely
00:07:41Araqand then it's emptied
00:07:55Araqhow do I debug this piece of crap?
00:08:25flaviustart over and get rid of all the absolute positioning?
00:08:29flaviusorry, no idea
00:09:34Araqer
00:09:42Araqis this valid css: transition:visibility 0s linear 1s, opacity 1s ease-in-out; ?
00:09:49flaviuYes, it is.
00:09:54flaviuIt's CSS3
00:10:27flaviuIt looks good in chrome's emulator, so I can't really help much
00:10:50dom96Araq: You can do this if you want: https://developer.chrome.com/devtools/docs/remote-debugging
00:11:09ekarlso-rustlang seems to have tons of people using it though
00:12:11Araqekarlso-: just use Rust then. but if number of users is your primary criterion you should perhaps use Java instead.
00:12:24flaviuAraq: Javascript
00:12:43flaviuActually, C!
00:12:43ekarlso-Araq: well java isn't a sys lang though :p
00:13:08Araqthat term has no clear definition anyway
00:13:45Araqthere have been built many more systems in Java than in Golang and Rust taken together
00:17:13*Demos joined #nim
00:19:05flaviuare we comfortable asking for demographic information from GA, or would that be asking the users of the website to give up too much privacy?
00:19:15Araqhrm the forum doesn't render either
00:19:49Araqflaviu: er ... no, don't do that.
00:20:22flaviuWell, I can't do anything but look at data, but ok.
00:20:48Araqhow does GA gather that data?
00:21:31flaviuThey see what other websites you go on, as well as the information you volutarly give.
00:21:40Araqwhat's the way to disable CSS on mobile platforms?
00:21:46flaviumedia queries?
00:22:31Araq #mascot {
00:22:33Araq z-index:2;
00:22:35Araq position:absolute;
00:22:36Araq top:-340px;
00:22:39Araqcould that be the reason?
00:23:12flaviuIt's absolutely positioned, so the location of #mascot has no effect on anything else
00:24:14Araqwell as I said, it renders correctly and then some loading completes
00:24:30flaviuAnd #mascot doesn't exist on the page, so the rule is dead anyway.
00:24:34Araqso it should be some image
00:26:06flaviuSorry, I really can't help you. I can't reproduce the problem in chrome's simulator
00:27:02dom96seriously. Get the inspector running through Chrome in your phone and figure it out that way.
00:27:38Araqdom96: lost my USB cable
00:28:24flaviuHow do you charge it?
00:28:47Araqwith some other cable?
00:29:39Araqin Germany we have these sockets that come out of the wall and provide electricity
00:30:05gmpreussnerflaviu: i'm back. gonna set up the raspi now
00:30:24flaviugmpreussner: Ok. If you're looking for some fun, try compiling Arch for big endian
00:30:45gmpreussneri'm gonna do a normal setup first
00:30:53gmpreussnerthen i put big endian on the 2nd raspi, ok?
00:30:57gmpreussnerthat we way have both
00:31:03gmpreussner*that way we
00:31:26flaviuSure. But I don't expect compiling for big endian to be easy ;)
00:31:37gmpreussneri haven't tried it before, so i need to read up on it first
00:32:32Araqflaviu: why not? we bootstrapped on powerpc bigendian before nimbuild died
00:32:59Araqfound a couple of endian related bugs this way
00:33:07flaviuAraq: Not nim, 99% of the world's computers are little endian. So there are sure to be bugs in other software
00:34:07Araqyeah and if we want to get philosophical. Does this mean to fix each and every piece of software or to abandon big endian systems?
00:34:08flaviuand *no one* is providing pre-built binaries for big endian on raspberry pi
00:34:32flaviuIf he manages to compile big endian, then support big endian
00:34:44flaviuit's good to support them anyway, even if only to help ensure code quality
00:35:47DemosI bet around 99.99% of ARM CPUs are never booted in big endian mode
00:36:28flaviuyep
00:37:07flaviudom96: https://github.com/nim-lang/nimforum/pull/35 https://github.com/Araq/Nimrod/pull/1778
00:37:11Araqflaviu: no, it helps to ensure code quality that is concerned with the big endian vs little endian dimension. But this dimension wouldn't even exist otherwise.
00:39:32AraqBy the same argument, supporting Irix helps our code portability. But it doesn't. It only helps supporting Irix which is hopefully dead by now.
00:40:06flaviuThat makes sense
00:42:45dom96flaviu: I'm not sure if adding google analytics to all docs is a good idea.
00:42:52dom96flaviu: People can build them locally...
00:43:25flaviudom96: What would be a better approch?
00:43:43dom96Dunno.
00:44:09flaviuanyway, don't those config files only apply to nim?
00:44:51dom96Too late for me to think about it.
00:47:13flaviuI think I've got it - only add the GA code when it's available in an enviroment variable. So koch web will export it
00:47:33flaviubut normal users won't, so they won't get the code in their private docs.
00:48:02dom96no, command line switch.
00:48:08dom96No environment vars.
00:48:33flaviuhttps://github.com/Araq/Nimrod/blob/devel/koch.nim#L130
00:49:13Araqflaviu: these are no real environment vars though. dunno if you are aware.
00:49:42flaviuoh, ok. Switch then: --googleAnalytics:UA-48159761-1
00:50:41Araqflaviu: ok, but if "koch web" add that, well. "koch web" is exactly what people use to build the docs
00:51:16dom96flaviu: yes
00:51:20flaviuYes, but we don't mind if they have GA in their locally built copy, do we?
00:51:37Araqprobably not
00:51:38flaviuGA will ignore it if it comes from the wrong domain, I think
00:51:40dom96we do
00:51:52dom96It's lots of useless code.
00:52:00dom96Just don't add it if the flag isn't specified.
00:52:02dom96simple
00:53:55flaviuwell, GA gets unconditionally added to the website
00:55:47flaviuI'll fix that too, I guess
01:08:48*yglukhov_ joined #nim
01:13:12*yglukhov_ quit (Ping timeout: 245 seconds)
01:15:38*z1y joined #nim
01:18:25flaviuHuh, that wasn't so terrible
01:24:57gmpreussnerflaviu: got buildslave up and running and added your systemd service. i guess i need the config for the master server now?
01:25:25flaviuYep. Maybe varriout gave me admin to the master server, let me check
01:27:18*nimnoob joined #nim
01:28:21flaviugmpreussner: Looks like Varriount needs to manually edit a config somewhere
01:28:23flaviuVarriount: Ping
01:39:23dts|pokeballflaviu, ping
01:39:27dts|pokeballoh wait
01:39:32dts|pokeballyoure here. excellent
01:39:42flaviume? Hi!
01:39:47dts|pokeballdo you want to still help with Nimbus?
01:40:18flaviuI'm almost done with a PR, but sure, I guess. What do you need?
01:40:46dts|pokeballim terrible at makefiles, and trying to convert build.py to a make file
01:40:54dts|pokeballwanna finish it for me?
01:41:10flaviuSure
01:41:18dts|pokeballok
01:41:20dts|pokeballill paste
01:42:12dts|pokeballhttps://bpaste.net/show/f323e7e078a0
01:42:16dts|pokeballtheres what i have so far
01:42:58dts|pokeballheres the build.py https://bpaste.net/show/9e46ea6f48f3
01:44:14flaviuwouldn't it work better as a shell script?
01:44:28dts|pokeballif you wanna do that, sure
01:44:42dts|pokeballbasically, i need something that works a lot cleaner :}
01:48:20dom96http://forum.nimrod-lang.org/t/688
01:49:51dom96:)
01:50:34dom96dts|pokeball: Why are you writing make files?
01:50:38dom96dts|pokeball: Write a nake file instead.
01:51:03dts|pokeballwhats nake?
01:51:10dts|pokeballill use it
01:51:16dts|pokeballill nimify that bitch
01:51:40flaviuwell, that might not work so well
01:51:53flaviuif your goal is to also install nim with the file
01:52:10dom96https://github.com/fowlmouth/nake
01:52:23flaviudom96: Error: unknown substitution variable: 'analytics'
01:52:29flaviuany idea what that's all about?
01:52:53dom96flaviu: no var named 'analytics'?
01:52:57dom96Dunno. Need context.
01:53:00*rpag quit (Quit: Leaving)
01:53:11dom96Possibly no key named 'analytics' in some hash map
01:53:33dom96That the doc gen uses for its data
01:55:43flaviudom96: https://github.com/flaviut/Nimrod/tree/ga-docs
01:56:22flaviudocgen.nim:584, I think
02:01:04dom96The config var: doc.file doesn't specify the analytics var
02:01:09dom96I guess
02:01:47flaviuhuh, I thought that was for misc variables.
02:01:55dom96https://github.com/flaviut/Nimrod/blob/ga-docs/config/nimdoc.cfg#L106
02:02:02dom96See the way it specified $title there?
02:02:16flaviuyep
02:02:24flaviubut scroll to the bottom
02:08:50flaviuoh, I see
02:09:21dom96good night
02:09:50flaviunight
02:22:56*darkf joined #nim
02:26:30flaviuPR sent
02:26:54flaviuI don't want to deal with global variables, so theindex.html doesn't get analytics.
02:28:01*gmpreussner quit (Ping timeout: 252 seconds)
02:28:13*gmpreussner joined #nim
02:28:55*Demos_ joined #nim
02:29:32*nimnoob quit (Ping timeout: 264 seconds)
02:34:21*Jessin joined #nim
02:35:23*JStoker quit (Killed (holmes.freenode.net (Nickname regained by services)))
02:35:26*JStoker joined #nim
02:38:35gmpreussnerhey Varriount, you around?
02:41:35*kapil__ joined #nim
02:49:20*Demos quit (*.net *.split)
02:49:20*Jesin quit (*.net *.split)
02:49:29*mraxis joined #nim
02:49:53*saml_ joined #nim
02:55:40*mraxis quit (Quit: Ex-Chat)
02:58:42*yglukhov_ joined #nim
03:00:16*Trixar_za joined #nim
03:01:30*rpag joined #nim
03:01:40*rpag quit (Client Quit)
03:02:21*yglukhov_ quit (Ping timeout: 264 seconds)
03:08:59*dts|pokeball quit (Read error: Connection reset by peer)
03:12:14*dts|pokeball joined #nim
03:13:33dts|pokeballflaviu, hows the build script?
03:21:44*yglukhov_ joined #nim
03:26:12*yglukhov_ quit (Ping timeout: 250 seconds)
03:35:57flaviudts|pokeball: Oh, sorry
03:36:04flaviuI went away for a hour
03:36:06flaviuon it now
03:37:19flaviugmpreussner: He lives in eastern time, but he's probably away. See if you can get him tomorrow morning, or if you're not around I'll get him to send you credentials
03:48:03*dts|pokeball quit (Ping timeout: 244 seconds)
03:51:20*vendethiel quit (Ping timeout: 250 seconds)
03:53:04*vendethiel joined #nim
03:57:24*AMorpork is now known as AFKMorpork
04:30:07flaviudts|pokeball: https://gist.github.com/9d2a1e37553eb0c91a15
05:04:34*nimnoob joined #nim
05:12:27*saml_ quit (Quit: Leaving)
05:13:52*nimnoob quit (Ping timeout: 240 seconds)
05:21:44*EXetoC quit (Remote host closed the connection)
05:25:17*vendethiel quit (Ping timeout: 245 seconds)
05:26:40*vendethiel joined #nim
05:32:56*BitPuffin quit (Ping timeout: 244 seconds)
05:40:59gmpreussnerflaviu: sounds good. i'm on eastern, too, btw
05:41:02gmpreussnerhave a good night
06:31:17*dyu joined #nim
07:23:35*gour joined #nim
07:49:10*BlaXpirit joined #nim
07:51:30*kapil__ quit (Quit: Connection closed for inactivity)
08:17:24*gokr quit (Quit: Leaving.)
08:22:44*kapil__ joined #nim
08:29:24*BitPuffin joined #nim
08:33:37*BitPuffin quit (Ping timeout: 240 seconds)
08:38:38*yglukhov_ joined #nim
08:43:12*yglukhov_ quit (Ping timeout: 258 seconds)
08:46:41z1yI'd like to use -o option to specify the output (for easy cleanning up). I've got error http://pastie.org/9799205 . Any idea?
08:47:20z1y(nim has no problem when -o option is removed.)
08:50:00*gokr joined #nim
08:58:37*BlaXpirit quit (Quit: Quit Konversation)
09:14:57*vendethiel quit (Ping timeout: 240 seconds)
09:16:33*vendethiel joined #nim
10:17:11*milosn quit (Remote host closed the connection)
10:21:08*gokr quit (Quit: Leaving.)
10:23:45*vendethiel quit (Ping timeout: 272 seconds)
10:29:03*vendethiel joined #nim
10:33:52*Demos_ quit (Ping timeout: 240 seconds)
10:58:58*bjz joined #nim
11:05:43Araqz1y: use 'c' instead of '-c'
11:07:25*yglukhov_ joined #nim
11:20:28z1yAraq: thanks. it's my bad :)
11:26:39*milosn joined #nim
11:29:40*gour quit (Remote host closed the connection)
11:32:44*gour joined #nim
11:40:43*skyfex joined #nim
11:41:30*kapil__ quit (Quit: Connection closed for inactivity)
12:01:33*kapil__ joined #nim
12:35:32*BitPuffin joined #nim
12:38:40*z1y quit (Ping timeout: 244 seconds)
12:40:47*irrequietus joined #nim
12:45:49dyuAraq: can enums in nim be defined with a specific int type? (u8/u16)
12:54:50*gour_ joined #nim
12:57:57*gour quit (Ping timeout: 240 seconds)
13:02:27*gour_ is now known as gour
13:12:07Araqdyu: only with the {.size: 2.} pragma
13:13:41flaviudom96: Can you update Administration › Property Settings › Property Settings so that it specifies nim-lang.org instead of nimrod-lang.org?
13:13:59flaviuSome things don't work if there's a redirect
13:14:09Araqeverybody ready for the nim rename?
13:14:20Araqof the gitbhub repo. that is
13:15:16flaviuSure. It should redirect anyway
13:22:13dom96Araq: do it.
13:22:27dom96flaviu: Hrm. Good idea.
13:23:23flaviuhttp://i.imgur.com/EeS1f4j.png
13:23:24dyuAraq: thanks
13:24:18dom96flaviu: DOne.
13:24:40flaviulooks good, thanks!
13:25:55*gokr joined #nim
13:26:41flaviudom96: Looks like there's another URL field in Administration › Reporting View Settings
13:28:12dom96I don't see "Reporting View settings"
13:28:44flaviuClick on "View Settings"
13:29:02flaviulooks like they use a longer title where it fits
13:30:08dom96Done
13:58:05AraqDone
14:02:17*gokr quit (Quit: Leaving.)
14:03:57*nimnoob joined #nim
14:32:11*nimnoob quit (Ping timeout: 252 seconds)
14:32:24*z1y joined #nim
14:37:05*milosn quit (Ping timeout: 272 seconds)
14:38:03*vendethiel quit (Ping timeout: 252 seconds)
14:41:11*vendethiel joined #nim
14:55:02*dain_ joined #nim
14:58:55*dain_ quit (Client Quit)
15:03:21*vendethiel quit (Ping timeout: 252 seconds)
15:04:53*vendethiel joined #nim
15:11:09*Boscop_ joined #nim
15:12:11*Boscop_ is now known as Boscop
15:22:04*z1y quit (Ping timeout: 250 seconds)
15:24:07*milosn joined #nim
15:28:13*darkf quit (Quit: Leaving)
15:33:28milosnnim is way cool
15:33:38milosni wanna buy it all, i can ensure your future success
15:33:39milosn:D
15:33:47milosnhar har
15:33:50milosnevening by the way
15:38:53dom96Hello milosn
15:38:57dom96Buy it!
15:39:11milosn:)
15:39:24milosni am half joking, but we shall see what happens
15:39:34milosnyou OS project i cant fictionally buy you
15:39:42milosnwe can only ensure your success
15:39:50milosn*you are
15:41:56dom96Yes! Write libraries and software in Nim!
15:42:00dom96That's how we will succeed.
15:42:03milosnyes
15:42:06milosni agree
15:42:11milosni shall when i get some time
15:42:58milosnwe need to make it work fast on redhat tho
15:43:06milosnso nim needs changes
15:43:21dom96what changes?
15:43:47milosndunno :) ... maybe it doesnt, but when i was testing some stuff on centos6 it was working crap slow
15:43:54milosnmaybe its my setup ;)
15:45:21milosni like centos
15:45:28milosnand redhat
15:45:30milosn:)
15:45:32dom96Maybe the machine was slow?
15:45:38milosndunno maybe
15:45:46milosnmaybe is my favorite word
15:47:10*BitPuffin quit (Quit: See you on the dark side of the moon!)
15:50:08flaviuguys, do we has an implementation of sleepsort in nim?
15:50:14flaviu*have
15:51:30*kapil__ quit (Quit: Connection closed for inactivity)
15:52:32*yglukhov_ quit (Ping timeout: 258 seconds)
15:52:59dom96flaviu: Don't think so. Write one.
15:53:02dom96Put it on Nimble.
15:53:11dom96Everybody wants to use that shit.
15:56:22*BitPuffin joined #nim
16:06:57*milosn quit (Ping timeout: 245 seconds)
16:07:16*nimnoob joined #nim
16:15:16*loz joined #nim
16:15:52lozhi, is it correct that current version of nim is written in nim?
16:16:29flaviuloz: yep
16:16:51flaviuloz: https://github.com/Araq/Nim
16:18:42lozflaviu: but how can it be built without nim compiler for the first time?
16:18:52dom96loz: it was first built in Pascal.
16:19:15flaviuloz: Now, the c output of the compiler is distributed
16:19:31flaviuSo you download the C code, compile it and get a nim compiler
16:19:41flaviuand use that compiler to compile the current version
16:20:34lozso, you wrote nim in c, then rewrote it in nim, and now nim generates c sources for itself?
16:20:48flaviuloz: No, the nim compiler targets C.
16:20:53lozs/c/pascal/
16:21:14flaviuloz: Well, an automated tool was used to do most the translation from pascal to nim
16:21:24dom96loz: It's always generated C sources.
16:21:32lozoh, sounds awesome)
16:23:34lozhow old is nim? there is a lot of ppl here
16:24:03flaviufrom 2006, I think
16:26:22lozwhat is tinyc? your own c compiler?
16:26:49flaviuloz: no
16:27:22flaviunim needed some sort of compile-time function evaluation, so tinyc was investigated as a fast, embedded C compiler
16:27:47flaviuIt was abandoned in favor of an internal virtual machine
16:28:09lozinternal vm? why does nim need one?
16:28:14flaviubut tinyc is a project totally independent of nim
16:28:25flaviuloz: Each time you run a macro, that code is interpreted
16:28:33flaviusame with all variables declared as const
16:28:45*vendethiel quit (Ping timeout: 264 seconds)
16:29:51lozso, there is no vm at runtime?
16:30:36lozand this vm is kind of nim interpreter?
16:31:31onionhammerdom96 hows scgi async coming?
16:33:17dom96onionhammer: It's not coming at all.
16:33:27dom96onionhammer: Using asynchttpserver works well enough.
16:33:34*vendethiel joined #nim
16:34:55BitPuffinit's cumming huaouoguh
16:35:49BitPuffinhttp://youtu.be/BdVCfDioTcY
16:39:17*nimnoob quit (Ping timeout: 240 seconds)
16:40:51flaviuloz: Yes, and yes
16:41:11flaviuI don't think there have been any efforts to have the compiler as a library\
16:41:33flaviuso the VM is not available at runtime, optionally or not.
16:43:08flaviuBitPuffin: That's not related to nim, it'd would fit better in #nim-offtopic.
16:43:53lozflaviu: so it is possible to keep vm in runtime?
16:43:54dom96From what I recall there was work done to get the VM at runtime.
16:44:31flaviuloz: Not without a significant amount of work.
16:44:54BitPuffinflaviu: nobody was talking about cumming in #nim-offtopic, don't be such a police, it's not like I was talking for ages about something offtopic
16:44:58*milosn joined #nim
16:50:53*yglukhov_ joined #nim
16:52:08*nimnoob joined #nim
16:52:14*yglukhov_ quit (Client Quit)
17:06:38dom96BitPuffin: inappropriate much? :P
17:06:59BitPuffindom96: arnie is always appropriate
17:08:26*loz quit (Read error: No route to host)
17:08:35*loz joined #nim
17:11:52*nimnoob quit (Ping timeout: 240 seconds)
17:16:07*vendethiel quit (Ping timeout: 244 seconds)
17:19:00*vendethiel joined #nim
17:22:41onionhammerdom96 boo
17:25:50BitPuffinthe language?
17:28:17dom96onionhammer: What's wrong with using asynchttpserver?
17:36:01onionhammeri have to reconfigure nginx :p
17:36:07onionhammerand my app
17:37:14*Trustable joined #nim
17:54:25*ARCADIVS quit (Quit: ARCADIVS)
18:12:37*loz quit (Ping timeout: 240 seconds)
18:18:14*AFKMorpork is now known as AMorpork
18:18:45*gokr joined #nim
18:33:05*nimnoob joined #nim
18:38:58*vendethiel quit (Ping timeout: 264 seconds)
18:41:33*dyu quit (Quit: Leaving)
18:47:33onionhammerdom96
18:47:44onionhammerFound deprecated babel package directory, would you like to rename it to nimble? [y/N]
18:47:51onionhammerError: unhandled exception: No such file or directory [OSError]
18:48:27onionhammerthen after upgrading package list, unhandled exception: Package not found. [ENimble]
18:48:27dom96yeah, that happens unfortunately.
18:48:37dom96Seems I forgot to fix that bug.
18:48:53*vendethiel joined #nim
18:49:20dom96onionhammer: Just remove .nimble and .babel.
18:49:29dom96Reinstall whatever is needed.
18:50:16dom96You sure that package exists though?
18:50:33onionhammerim trying to instll nimble
18:51:17dom96oh dear.
18:51:25dom96Forgot to rename it in packages.json lol
18:51:28*nimnoob quit (Ping timeout: 265 seconds)
18:51:48onionhammeryour directions also still reference nimrod
18:51:50onionhammernimrod c -r src/nimble install
18:52:23dom96Where?
18:53:49onionhammerin your readme
18:53:54onionhammerhttps://github.com/nim-lang/nimble
18:53:56dom96Renamed it. Should install now.
18:54:06onionhammerthere are several mentions of nimrod
18:56:29dom96onionhammer: fixed.
18:57:05*loz joined #nim
19:04:12flaviudom96: If you have time, set up google webmaster tools for the website. It gives information on which search terms are used.
19:05:24dom96Doesn't analytics already do that?
19:05:33flaviuAlso, I've sent a PR for analytics: https://github.com/Araq/Nim/pull/1779
19:05:33flaviutheindex.html doesn't get them, but that's because of trouble with global variables
19:05:46flaviudom96: Only the clicks that come from http google.
19:06:02flaviuhttps google doesn't directly give that information
19:08:53onionhammerdom96 for some reason im able to build wit jester on my mac but not my cubox (w/ debian)
19:08:55onionhammerlib/core/macros.nim(320, 23) Error: macro expects a node of kind: nnkDo
19:09:05onionhammerits complaining about routes: macro
19:09:49*vendethiel quit (Ping timeout: 245 seconds)
19:10:31dom96different nim versions?
19:10:47dom96update both and bootstrap if you're unsure
19:11:13*nimnoob joined #nim
19:11:50*dts|pokeball joined #nim
19:12:21onionhammerthey're both completely updated
19:12:25onionhammerfresh install of nim on the cubox
19:12:37onionhammercompletely fresh install of nimble and jester
19:15:07*EXetoC joined #nim
19:22:23onionhammerhm
19:22:28onionhammercode all looks the same
19:23:09dom96weird.
19:23:14Araqonionhammer: not weird
19:23:18Araqthe AST changed
19:23:19dom96lol
19:23:33Araqlet's see
19:23:43dom96Then they aren't both the same versions?
19:24:00onionhammerthat line does look kinda hacky
19:24:03Araqdom96: I got rid of implicit nkDo nodes for you
19:24:07onionhammer ifStmtBody.add body[i][2].skipDo().transformRouteBody(thisRouteSym)
19:24:20Araqand aparently that breaks things
19:24:59Araqonionhammer: where is your skipDo defined?
19:25:04dom96Araq: Yeah, that's what I thought it was.
19:25:27onionhammerAraq skipdo is in jester
19:25:32onionhammerline 540
19:28:29dom96well the reason is simple
19:28:47dom96Remove skipDo and it'll work.
19:28:55dom96onionhammer: Why does that look hacky?
19:29:05*vendethiel joined #nim
19:29:09Araqdom96: no.
19:29:26Araqfix your skipDo that it skips *optional* dos
19:29:59dom96Araq: I know.
19:35:17*loz quit (Read error: Connection timed out)
19:42:32*nimnoob quit (Ping timeout: 244 seconds)
19:43:35*gour left #nim ("Leaving")
19:48:31*Demos_ joined #nim
19:49:47dom96Araq: Hrm. You possibly broke the routes macro in Jester.
19:50:24dom96c:\users\dominik\git\jester\jester.nim(647, 27) Error: type mismatch: got (array
19:50:24dom96[0..19, string]) but expected 'array[0..9, string]'
19:50:55*vendethiel quit (Ping timeout: 265 seconds)
19:50:56dom96That's on a line which generates: var reMatches: arraq[MaxSubpatterns, string]
19:51:00dom96Any ideas?
19:53:58*vendethiel joined #nim
19:55:47notfowldom96, dumpcode to see that the ast didnt change?
19:55:56notfowldumptree*
20:03:54*nimnoob joined #nim
20:05:23dom96notfowl: I can't check against an older version cause I don't have it.
20:15:19flaviugit!
20:18:03notfowldom96, check what the macro outputs vs dumptree: some var decl
20:18:40Araqdom96: well you should use MaxCaptures
20:18:45Araqthat changed to 20
20:18:45flaviugit checkout 'HEAD@{20 days ago}'
20:19:01notfowlyou should just use re.MaxCaptures in the parseExpr though dom96
20:19:10Araqyup
20:19:27flaviuwouldn't it be better to export a distinct type alias instead of a constant?
20:19:48flaviutype Captures* = distinct array[20, string]
20:20:02flaviuso that users have harder time screwing up encapsulation
20:20:36notfowlflaviu, if you know you're capturing less than 20 things you dont need the array to be size 20
20:20:57*nimnoob quit (Ping timeout: 240 seconds)
20:20:57flaviupfft, small inefficiencies.
20:21:24notfowlsmall ones are the worst
20:21:58notfowlthey accumulate quickly and you won't even be paying attention to them because they're minor
20:22:05flaviuSure, if it's in performance critical code. Regex doesn't tend to be used in that sort of code.
20:22:23Araqflaviu: you are wrong
20:22:27flaviuAt the point where it becomes a problem, you should hand-code your parsing so the optimizer can have a stab at it.
20:22:44Araqregex are performance critical almost like nothing else
20:23:08flaviuI'm sorry, but O
20:23:19flaviuI'm certian most people don't even know about backtracking
20:23:28Araqyes
20:23:43Araqthey assume they are fast and run them over gigabytes of data
20:23:53flaviua bit of extra stack allocation won't hurt anything, and if your profiling really shows its a problem then you can use cast to fix it
20:24:01Araqtheir ignorance is exactly the reason why they need to be fast
20:25:07flaviu120 bytes of extra stack allocation is insignificant compared to exponential backtracking. I think it costs the same amount no matter how much you allocate on the stack
20:25:24flaviusince all you need to do is increment the stack size
20:26:45dom96Araq: notfowl: there is no such thing as re.MaxCaptures
20:27:16flaviuAnyway, I won't argue. No point in making unnecessary changes.
20:28:04notfowldom96, export it from jester
20:29:00notfowldom96, er its MaxSubpatterns
20:29:11dom96That is what I am using!
20:29:38notfowldom96, no you have a number in there which you replace with the symbol, just use re.Maxsubpatterns from the parseExpr() call
20:29:46dom96notfowl: look down
20:30:04dom962 lines down to be precise.
20:30:37notfowli saw it
20:31:09notfowltype mismatch: got (array
20:31:09notfowl[0..19, string]) but expected 'array[0..9, string]
20:31:46notfowlits getting the new one but expecting the old one? maybe you have 2 stdlibs somewhere
20:32:12dom96Even if I change from 10 to 20 it still gives the same error.
20:33:26dom96even if I remove the sym it still gives the same error
20:33:42notfowldom96, i believe it is working correctly but some other function expects array[10,string]
20:34:15notfowli cant tell where that would be from though
20:37:25dom96I got it
20:42:29dom96Fixed.
20:43:03notfowlwhat was the issue
20:43:17dom96PRequest.matches
20:46:22dv-http://pastebin.com/Uhfvxcd5 can't install aporia
20:47:11dom96Try nimble install aporia@#head
20:47:56dv-thanks
20:48:03dv-man, nim builds are so fast
20:48:31flaviuHow do ctags for nim sound?
20:48:54dom96I would prefer if somebody took a look at fixing idetools
20:48:55dom96but sure.
20:49:00dom96Every little helps.
20:49:08dom96(Don't sue me Tesco)
20:59:38dom96Araq: Any chance nimfix could be made into a nimble package?
21:00:11Araqonce we find a good solution for the compiler source dependency, it's easy to do that
21:09:25*drewsrem joined #nim
21:10:44dom96Araq: Why does nimfix still try to fix the stdlib when all I want it to fix is one file!?
21:11:18Araqit doesn't do that anymore
21:12:19Araqlook at nimfix/nimfix.nim if you don't believe me
21:12:30Araq--wholeProject is the old behaviour now
21:12:50dom96Araq: What does this mean then?
21:12:51dom96c:\users\dominik\git\nimrod\lib\pure\rawsockets.nim(262, 20) Error: expression '
21:12:51dom96Port(s.s_port)' cannot be called
21:13:17Araqwell guess what
21:13:31Araqnimfix has to be --cs:none in order to be able to fix old code
21:13:53Araqrawsockets doesn't compile with cs:none and ta-da! nimfix is useless
21:15:01*Demos joined #nim
21:15:17dom96then what am I supposed to do?
21:17:57*nimnoob joined #nim
21:18:16dom96A lot of code will use rawsockets so lots of people will run into this problem.
21:18:21*Demos_ quit (Ping timeout: 258 seconds)
21:18:26dom96Can I make rawsockets compile in cs:none?
21:19:05dom96system.nim doesn't even compile with --cs:none
21:19:07dom96I don't get this.
21:19:16dom96somehow nimfix can manage to get through it
21:20:52*vendethiel quit (Ping timeout: 240 seconds)
21:21:18*vendethiel joined #nim
21:22:20*starless joined #nim
21:22:22*nimnoob quit (Ping timeout: 240 seconds)
21:29:08Araqdom96: what file do you run nimfix on?
21:31:20*E joined #nim
21:31:28dom96jester.nim
21:31:44*E is now known as Guest19506
21:32:11gmpreussneris there a way to tell the compiler where to put the nimcache? also, how can i prevent it from littering my src folder when i compile individual modules for testing? i'd like to have all intermediate files in a single location, if possible
21:33:05dom96gmpreussner: --nimcache:pathHere
21:33:18gmpreussneryeah, just found it in the docs, thx!
21:33:27dom96and --out:path/to/my/bin.exe
21:34:47Araqdom96: let me push a hack and let's see if it works
21:34:50dom96hello and welcome Guest19506
21:34:58dom96Araq: ok thx
21:37:29Araqbtw nimfix defines 'nimfix' as a symbol. you can check for that in rawsockets
21:38:43Araqalso nimfix prefers module.pretty.nim over module.nim
21:39:00Araqyou can make it process "fake" modules instead
21:39:13Araqhrm there is rawsockets.pretty.nim already
21:39:37Araqoh ...
21:39:48AraqI never pushed that file ... :-/
21:40:32Araqdom96: did you change rawsockets much in the last months?
21:41:17dom96Last change was 11th of October
21:44:48Araqdom96: try it again. perhaps with the new --bestEffort switch
21:45:37dom96was that commit of rawsockets.pretty.nim intentional?
21:46:00Araqyeah
21:46:12Araqso you can see what I did to it
21:46:37*starless quit (Quit: WeeChat 0.4.2)
21:48:59dom96Araq: Got further with the --bestEffort switch but then it crashed.
21:49:07dom96I'll just fix jester manually...
21:49:33Araqshouldn't that be up to date since a while anyway?
21:50:15dom96I only am now getting rid of the type prefixes.
21:51:19*Guest19506 quit (Quit: Page closed)
21:51:52dom96What else does nimfix do apart from fixing the type prefixes?
21:52:09dom96Because that's a simple search and replace...
21:53:34Araqit also can suggest spellings for identifiers
21:53:50Araqalso you're dead wrong that it is a simple search and replace
21:54:16Araqit's not. it's incredibly complex to do it right
21:57:18Araqbut since it fails so often in practice, you're right that we better should have picked a different approach, I guess.
21:57:30Araqthis wasn't obvious when I wrote it though :P
21:58:23*EastByte quit (Quit: WeeChat 1.0.1)
22:00:20dom96oh well.
22:00:40dom96I would write a different tool but I doubt there is that much left out there that would need it.
22:23:47onionhammerdom96 i think theres some more issues w/ jester
22:23:51onionhammerbeyond what u just fixed
22:24:04onionhammerim getting a bad gateway for the default route
22:24:13onionhammeron debian, but works fine on osx
22:26:44dom96Maybe your code crashes?
22:26:53dom96should give you a stack trace if you're running it in debug mode
22:27:11onionhammernope
22:27:12onionhammerit keeps running
22:27:41dom96it should keep running
22:27:50dom96jester will catch the error and return it to your browser
22:28:02onionhammeri'll try.
22:29:26onionhammerbuilt it w/ just nim c index.nim, not release
22:29:32onionhammerno exceptions logged
22:29:42onionhammerGET /
22:29:43onionhammer 502 Bad Gateway {Content-Type: text/html, Content-Length: 182}
22:30:07dom96What's your code?
22:31:42onionhammersec
22:32:52onionhammeryou should export Future module
22:33:08dom96you mean type?
22:33:39dom96i'd rather teach you to import asyncdispatch :P
22:33:57onionhammererm yeah asyncdispatch rather
22:35:52onionhammergah the ports in use :|
22:37:55*gmpreussner quit (Quit: Konversation terminated!)
22:38:14onionhammerdom96 http://pastebin.com/fF6zxNNu
22:38:21onionhammerthat code yields "bad gateway"
22:41:14dom96onionhammer: Are you accessing it via nginx or just straight to jester?
22:41:51*j3rky joined #nim
22:41:53*j3rky is now known as gmpreussner
22:41:54*irrequietus quit ()
22:42:30onionhammerstraight jester dom96
22:42:50onionhammerbut i tried both
22:43:05dom96What content does it respond with?
22:45:16onionhammer<html xmlns="502">http://www.w3.org/1999/xhtml"><head><title>502</a> Bad Gateway</title></head><body style="text-align: center;"><h1>502 Bad Gateway</h1><hr/><p>Jester 0.1.0</p></body></html></td></tr><tr><td><a id="22:48:15" href="#22:48:15" class="time">22:48:15</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:48:15" class="msg">onionhammer: That can only happen if you have no 'resp' in your route</td></tr><tr><td><a id="22:48:52" href="#22:48:52" class="time">22:48:52</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:48:52" class="msg">look at the pastebin</td></tr><tr><td><a id="22:49:17" href="#22:49:17" class="time">22:49:17</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:49:17" class="msg">I know.</td></tr><tr><td><a id="22:49:27" href="#22:49:27" class="time">22:49:27</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:49:27" class="msg">But I don't see any other way.</td></tr><tr class="quit"><td><a id="22:50:00" href="#22:50:00" class="time">22:50:00</a></td><td class="nick">*</td><td id="M22:50:00" class="msg">Pisuke quit (Quit: WeeChat 1.1-dev)</td></tr><tr><td><a id="22:50:00" href="#22:50:00" class="time">22:50:00</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:50:00" class="msg">You must be compiling something else.</td></tr><tr><td><a id="22:50:06" href="#22:50:06" class="time">22:50:06</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:50:06" class="msg">imo it still has to do with your macro change</td></tr><tr><td><a id="22:50:15" href="#22:50:15" class="time">22:50:15</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:50:15" class="msg">or araqs rather</td></tr><tr><td><a id="22:50:52" href="#22:50:52" class="time">22:50:52</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M22:50:52" class="msg">why is settings.port = Port(5000) within the 'routes' DSL?</td></tr><tr><td><a id="22:51:21" href="#22:51:21" class="time">22:51:21</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:51:21" class="msg">Yeah. May wanna get rid of that.</td></tr><tr><td><a id="22:51:32" href="#22:51:32" class="time">22:51:32</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:51:32" class="msg">It shouldn't cause problems but you never know.</td></tr><tr><td><a id="22:51:41" href="#22:51:41" class="time">22:51:41</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:51:41" class="msg">dom96 <a href="http://pastebin.com/UMgdtKDA">http://pastebin.com/UMgdtKDA</a></td></tr><tr><td><a id="22:52:02" href="#22:52:02" class="time">22:52:02</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:52:02" class="msg">5000 is default port anyway</td></tr><tr><td><a id="22:52:06" href="#22:52:06" class="time">22:52:06</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:52:06" class="msg">Araq because thats the only place where the settings variable can be accessed afaik</td></tr><tr><td><a id="22:52:17" href="#22:52:17" class="time">22:52:17</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:52:17" class="msg">and I got rid of it and its the same result</td></tr><tr><td><a id="22:52:31" href="#22:52:31" class="time">22:52:31</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:52:31" class="msg">look at the pastebin</td></tr><tr><td><a id="22:52:42" href="#22:52:42" class="time">22:52:42</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:52:42" class="msg">it's commented out</td></tr><tr><td><a id="22:53:32" href="#22:53:32" class="time">22:53:32</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:53:32" class="msg">The proper way of doing it is to create your own settings var.</td></tr><tr><td><a id="22:53:38" href="#22:53:38" class="time">22:53:38</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:53:38" class="msg">Well.</td></tr><tr><td><a id="22:53:41" href="#22:53:41" class="time">22:53:41</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:53:41" class="msg">The temporary way</td></tr><tr><td><a id="22:53:49" href="#22:53:49" class="time">22:53:49</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:53:49" class="msg">I was going to add a 'settings' block</td></tr><tr><td><a id="22:54:35" href="#22:54:35" class="time">22:54:35</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:54:35" class="msg">the way jester used to behave was better</td></tr><tr><td><a id="22:54:45" href="#22:54:45" class="time">22:54:45</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:54:45" class="msg">or the initialization was better</td></tr><tr><td><a id="22:55:54" href="#22:55:54" class="time">22:55:54</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:55:54" class="msg">regardles</td></tr><tr><td><a id="22:56:04" href="#22:56:04" class="time">22:56:04</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:56:04" class="msg">it doesnt work even when i dont specify the settings</td></tr><tr><td><a id="22:56:19" href="#22:56:19" class="time">22:56:19</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:56:19" class="msg">but favicon works?</td></tr><tr><td><a id="22:56:26" href="#22:56:26" class="time">22:56:26</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:56:26" class="msg">I guess that's in your public dir?</td></tr><tr><td><a id="22:58:05" href="#22:58:05" class="time">22:58:05</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:58:05" class="msg">Just make sure all your stuff is the same.</td></tr><tr><td><a id="22:58:11" href="#22:58:11" class="time">22:58:11</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:58:11" class="msg">Your nim compile was already different</td></tr><tr><td><a id="22:58:17" href="#22:58:17" class="time">22:58:17</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:58:17" class="msg">even though you were sure it wasn;t</td></tr><tr><td><a id="22:58:19" href="#22:58:19" class="time">22:58:19</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:58:19" class="msg">*wasn't</td></tr><tr><td><a id="22:58:54" href="#22:58:54" class="time">22:58:54</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:58:54" class="msg">what?</td></tr><tr><td><a id="22:58:57" href="#22:58:57" class="time">22:58:57</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:58:57" class="msg">*compiler</td></tr><tr><td><a id="22:59:34" href="#22:59:34" class="time">22:59:34</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M22:59:34" class="msg">If the nnkDo error came up on your Debian box but not your Mac then obviously you had different Nim compiler's on both machines.</td></tr><tr><td><a id="22:59:55" href="#22:59:55" class="time">22:59:55</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:59:55" class="msg">i got latest on my debian box today</td></tr><tr><td><a id="22:59:59" href="#22:59:59" class="time">22:59:59</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M22:59:59" class="msg">from a fresh directory</td></tr><tr><td><a id="23:00:33" href="#23:00:33" class="time">23:00:33</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:00:33" class="msg">dom96: can i use the --out switch to specify the output directory of 'nim doc' and 'nim doc2' ?</td></tr><tr><td><a id="23:00:51" href="#23:00:51" class="time">23:00:51</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:00:51" class="msg">gmpreussner: yeah you can</td></tr><tr><td><a id="23:00:55" href="#23:00:55" class="time">23:00:55</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:00:55" class="msg">onionhammer: Yes, so your mac probably doesn't have latest.</td></tr><tr><td><a id="23:00:58" href="#23:00:58" class="time">23:00:58</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:00:58" class="msg">awesome thanks</td></tr><tr><td><a id="23:01:06" href="#23:01:06" class="time">23:01:06</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:01:06" class="msg">but people complained about it .. ;-)</td></tr><tr><td><a id="23:01:24" href="#23:01:24" class="time">23:01:24</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:01:24" class="msg">gmpreussner: er... the output file, I think, not dir</td></tr><tr><td><a id="23:01:27" href="#23:01:27" class="time">23:01:27</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:01:27" class="msg">dom96 i got latest today on my mac too</td></tr><tr><td><a id="23:01:49" href="#23:01:49" class="time">23:01:49</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:01:49" class="msg">onionhammer: git pull again on both</td></tr><tr><td><a id="23:01:53" href="#23:01:53" class="time">23:01:53</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:01:53" class="msg">and reinstall jester on both too</td></tr><tr><td><a id="23:02:14" href="#23:02:14" class="time">23:02:14</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:02:14" class="msg">the one on debian is a fresh install of both nimble and jester</td></tr><tr><td><a id="23:02:19" href="#23:02:19" class="time">23:02:19</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:02:19" class="msg">Araq: doc2 is recursive though, right?</td></tr><tr><td><a id="23:02:45" href="#23:02:45" class="time">23:02:45</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:02:45" class="msg">i'd like doc2 to put everything into ./docs for example</td></tr><tr><td><a id="23:02:51" href="#23:02:51" class="time">23:02:51</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:02:51" class="msg">dunno. I use koch</td></tr><tr><td><a id="23:03:16" href="#23:03:16" class="time">23:03:16</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:03:16" class="msg">ok, i'll take a look at koch then</td></tr><tr><td><a id="23:03:20" href="#23:03:20" class="time">23:03:20</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:03:20" class="msg">i'm creating a nim project file template for Kate. will write a blog post later.</td></tr><tr><td><a id="23:03:46" href="#23:03:46" class="time">23:03:46</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:03:46" class="msg">er ... I don't think *you* can use koch for that</td></tr><tr><td><a id="23:05:00" href="#23:05:00" class="time">23:05:00</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:05:00" class="msg">ok, i'll just see what happens</td></tr><tr><td><a id="23:05:11" href="#23:05:11" class="time">23:05:11</a></td><td class="nick"><span style="color: #ffb86c">gmpreussner</span></td><td id="M23:05:11" class="msg">im afk for dinner ttyl</td></tr><tr><td><a id="23:05:15" href="#23:05:15" class="time">23:05:15</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:05:15" class="msg">I type "koch web" to rebuilt all docs and then I can upload them to the server. "koch web" uses nimweb(?) which then calls doc2 or something like that</td></tr><tr><td><a id="23:05:48" href="#23:05:48" class="time">23:05:48</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:05:48" class="msg">dom96 everything is latest/latest/latest</td></tr><tr><td><a id="23:06:04" href="#23:06:04" class="time">23:06:04</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:06:04" class="msg">onionhammer: And it still only happens on your debian box?</td></tr><tr><td><a id="23:06:09" href="#23:06:09" class="time">23:06:09</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:06:09" class="msg">correct</td></tr><tr><td><a id="23:06:19" href="#23:06:19" class="time">23:06:19</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:06:19" class="msg">try compiling in release on your debian box</td></tr><tr><td><a id="23:06:25" href="#23:06:25" class="time">23:06:25</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:06:25" class="msg">*release mode</td></tr><tr><td><a id="23:06:51" href="#23:06:51" class="time">23:06:51</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:06:51" class="msg">debian runs some local stuff on port 5000 and thus it doesn't work.</td></tr><tr><td><a id="23:07:07" href="#23:07:07" class="time">23:07:07</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:07:07" class="msg">Araq this just started happening w/ the latest version of jester/etc</td></tr><tr><td><a id="23:07:23" href="#23:07:23" class="time">23:07:23</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:07:23" class="msg">it has been running fine up until today when i decided to upgrade nimrod->nim</td></tr><tr><td><a id="23:07:34" href="#23:07:34" class="time">23:07:34</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:07:34" class="msg">well guess what</td></tr><tr><td><a id="23:07:34" href="#23:07:34" class="time">23:07:34</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:07:34" class="msg">Varriount: Are you around?</td></tr><tr><td><a id="23:07:38" href="#23:07:38" class="time">23:07:38</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:07:38" class="msg">it still runs</td></tr><tr><td><a id="23:07:45" href="#23:07:45" class="time">23:07:45</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:07:45" class="msg">and blocks that port</td></tr><tr><td><a id="23:07:50" href="#23:07:50" class="time">23:07:50</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:07:50" class="msg">it doesnt block the port</td></tr><tr><td><a id="23:07:51" href="#23:07:51" class="time">23:07:51</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:07:51" class="msg">obviously</td></tr><tr><td><a id="23:07:57" href="#23:07:57" class="time">23:07:57</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:07:57" class="msg">jester replies 502</td></tr><tr><td><a id="23:08:02" href="#23:08:02" class="time">23:08:02</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:08:02" class="msg">thats not a blocked port</td></tr><tr><td><a id="23:08:26" href="#23:08:26" class="time">23:08:26</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:08:26" class="msg">restart your machine</td></tr><tr><td><a id="23:08:56" href="#23:08:56" class="time">23:08:56</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:08:56" class="msg">okay..</td></tr><tr class="quit"><td><a id="23:09:01" href="#23:09:01" class="time">23:09:01</a></td><td class="nick">*</td><td id="M23:09:01" class="msg">onionhammer quit (Quit: WeeChat 1.0.1)</td></tr><tr><td><a id="23:09:41" href="#23:09:41" class="time">23:09:41</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:09:41" class="msg">or decrease the timeout</td></tr><tr><td><a id="23:09:45" href="#23:09:45" class="time">23:09:45</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:09:45" class="msg">hrm I'm not used to people doing what I say</td></tr><tr><td><a id="23:10:16" href="#23:10:16" class="time">23:10:16</a></td><td class="nick"><span style="color: #6272a4">EXetoC</span></td><td id="M23:10:16" class="msg">it hijacks a common testing port? oh well</td></tr><tr><td><a id="23:10:32" href="#23:10:32" class="time">23:10:32</a></td><td class="nick"><span style="color: #6272a4">EXetoC</span></td><td id="M23:10:32" class="msg">or development port</td></tr><tr><td><a id="23:10:32" href="#23:10:32" class="time">23:10:32</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:10:32" class="msg">He could've just tried a different port ...</td></tr><tr><td><a id="23:10:46" href="#23:10:46" class="time">23:10:46</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:10:46" class="msg">flaviu: there is no time out</td></tr><tr><td><a id="23:11:22" href="#23:11:22" class="time">23:11:22</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:11:22" class="msg">I had trouble with linux not releasing a port until after some time if it wasn't properly closed</td></tr><tr><td><a id="23:11:38" href="#23:11:38" class="time">23:11:38</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:11:38" class="msg">yup. same here</td></tr><tr><td><a id="23:12:01" href="#23:12:01" class="time">23:12:01</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:12:01" class="msg">But you should never have to reboot linux</td></tr><tr class="join"><td><a id="23:12:20" href="#23:12:20" class="time">23:12:20</a></td><td class="nick">*</td><td id="M23:12:20" class="msg">onionhammer joined #nim</td></tr><tr><td><a id="23:12:28" href="#23:12:28" class="time">23:12:28</a></td><td class="nick"><span style="color: #6272a4">EXetoC</span></td><td id="M23:12:28" class="msg">do you know about SO_REUSEADDR? if you even had the ability to set it</td></tr><tr><td><a id="23:12:38" href="#23:12:38" class="time">23:12:38</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:12:38" class="msg">SO_REUSEADDR is already set</td></tr><tr><td><a id="23:12:47" href="#23:12:47" class="time">23:12:47</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:12:47" class="msg">Which might be causing the issues actually.</td></tr><tr><td><a id="23:13:24" href="#23:13:24" class="time">23:13:24</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:13:24" class="msg">dom96 araq okay, rebooted</td></tr><tr><td><a id="23:13:28" href="#23:13:28" class="time">23:13:28</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:13:28" class="msg">rebuilt test.nim</td></tr><tr><td><a id="23:13:30" href="#23:13:30" class="time">23:13:30</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:13:30" class="msg">reran test.nim</td></tr><tr><td><a id="23:13:35" href="#23:13:35" class="time">23:13:35</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:13:35" class="msg">502 bad gateway from jester</td></tr><tr><td><a id="23:14:02" href="#23:14:02" class="time">23:14:02</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:14:02" class="msg">have you tried release mode?</td></tr><tr class="quit"><td><a id="23:14:35" href="#23:14:35" class="time">23:14:35</a></td><td class="nick">*</td><td id="M23:14:35" class="msg">dts|pokeball quit (Read error: Connection reset by peer)</td></tr><tr><td><a id="23:15:30" href="#23:15:30" class="time">23:15:30</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:15:30" class="msg">Better yet, if you want you can give me access to the machine and I can try to figure out what's wrong.</td></tr><tr><td><a id="23:15:48" href="#23:15:48" class="time">23:15:48</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:15:48" class="msg">dom96 same</td></tr><tr><td><a id="23:16:00" href="#23:16:00" class="time">23:16:00</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:16:00" class="msg">onionhammer: Can you gist your code</td></tr><tr><td><a id="23:16:11" href="#23:16:11" class="time">23:16:11</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:16:11" class="msg">flaviu its on pastebin up ^</td></tr><tr><td><a id="23:16:22" href="#23:16:22" class="time">23:16:22</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:16:22" class="msg">flaviu: he did. It's a simple hello world jester, i.e. the example app.</td></tr><tr><td><a id="23:16:28" href="#23:16:28" class="time">23:16:28</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:16:28" class="msg">onionhammer: ^^^</td></tr><tr><td><a id="23:16:50" href="#23:16:50" class="time">23:16:50</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:16:50" class="msg">i cant give you access to my server..</td></tr><tr><td><a id="23:17:13" href="#23:17:13" class="time">23:17:13</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:17:13" class="msg">that's because your clock listens to port 5000 to synchronize with the global time. You need to do sudo /etc/init.d/transmission-daemon stop</td></tr><tr><td><a id="23:17:38" href="#23:17:38" class="time">23:17:38</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:17:38" class="msg">lol</td></tr><tr class="quit"><td><a id="23:18:17" href="#23:18:17" class="time">23:18:17</a></td><td class="nick">*</td><td id="M23:18:17" class="msg">drewsrem quit (Quit: Leaving)</td></tr><tr><td><a id="23:18:33" href="#23:18:33" class="time">23:18:33</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:18:33" class="msg">onionhammer: You can create a new user for me if that helps?</td></tr><tr><td><a id="23:18:46" href="#23:18:46" class="time">23:18:46</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:18:46" class="msg">he already figured it out</td></tr><tr><td><a id="23:18:49" href="#23:18:49" class="time">23:18:49</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:18:49" class="msg">I think</td></tr><tr><td><a id="23:19:11" href="#23:19:11" class="time">23:19:11</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:19:11" class="msg">hmm?</td></tr><tr><td><a id="23:19:12" href="#23:19:12" class="time">23:19:12</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:19:12" class="msg">because he lol'ed?</td></tr><tr><td><a id="23:19:16" href="#23:19:16" class="time">23:19:16</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:19:16" class="msg">oh</td></tr><tr><td><a id="23:19:16" href="#23:19:16" class="time">23:19:16</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:19:16" class="msg">no</td></tr><tr><td><a id="23:19:20" href="#23:19:20" class="time">23:19:20</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:19:20" class="msg">i was laughing at araqs joke :p</td></tr><tr><td><a id="23:19:37" href="#23:19:37" class="time">23:19:37</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:19:37" class="msg">dom96 i could, but nim, nimble, etc are all under my user</td></tr><tr><td><a id="23:19:45" href="#23:19:45" class="time">23:19:45</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:19:45" class="msg">onionhammer: Check this? <a href="http://www.cyberciti.biz/tips/linux-display-open-ports-owner.html">http://www.cyberciti.biz/tips/linux-display-open-ports-owner.html</a></td></tr><tr><td><a id="23:20:16" href="#23:20:16" class="time">23:20:16</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:20:16" class="msg">onionhammer: I guess you may as well try a different port...</td></tr><tr><td><a id="23:21:00" href="#23:21:00" class="time">23:21:00</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:21:00" class="msg">flaviu if the port is in-use/blocked, then how come jester replies?</td></tr><tr><td><a id="23:21:14" href="#23:21:14" class="time">23:21:14</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:21:14" class="msg">I don't understand what the problem is then</td></tr><tr><td><a id="23:22:06" href="#23:22:06" class="time">23:22:06</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:22:06" class="msg">oh, it looks like an internal error in jester?</td></tr><tr class="join"><td><a id="23:22:36" href="#23:22:36" class="time">23:22:36</a></td><td class="nick">*</td><td id="M23:22:36" class="msg">Mat4 joined #nim</td></tr><tr><td><a id="23:22:42" href="#23:22:42" class="time">23:22:42</a></td><td class="nick"><span style="color: #ff5555">Mat4</span></td><td id="M23:22:42" class="msg">hello</td></tr><tr><td><a id="23:23:03" href="#23:23:03" class="time">23:23:03</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:23:03" class="msg">I haven't been very helpful then, carry on with what you're doing I guess</td></tr><tr class="join"><td><a id="23:24:38" href="#23:24:38" class="time">23:24:38</a></td><td class="nick">*</td><td id="M23:24:38" class="msg">dts|pokeball joined #nim</td></tr><tr><td><a id="23:25:09" href="#23:25:09" class="time">23:25:09</a></td><td class="nick"><span style="color: #ff5555">Mat4</span></td><td id="M23:25:09" class="msg">I have here the following line: 'state2.storeSlot slot, uInt16((content and 0xF000 shr 8) + content and 0x0F + 256)'</td></tr><tr><td><a id="23:26:04" href="#23:26:04" class="time">23:26:04</a></td><td class="nick"><span style="color: #ff5555">Mat4</span></td><td id="M23:26:04" class="msg">is there a way to code this line with less parentheses ?</td></tr><tr><td><a id="23:26:45" href="#23:26:45" class="time">23:26:45</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:26:45" class="msg">ldlework: ping.</td></tr><tr><td><a id="23:26:51" href="#23:26:51" class="time">23:26:51</a></td><td class="nick"><span style="color: #ff79c6">ldlework</span></td><td id="M23:26:51" class="msg">hi</td></tr><tr><td><a id="23:26:53" href="#23:26:53" class="time">23:26:53</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:26:53" class="msg">Mat4: no</td></tr><tr><td><a id="23:27:31" href="#23:27:31" class="time">23:27:31</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:27:31" class="msg">ldlework: see what happened. somebody wants fewer ()</td></tr><tr><td><a id="23:27:45" href="#23:27:45" class="time">23:27:45</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:27:45" class="msg">onionhammer: put this below your `resp`: response.data[0] = TCActionSend</td></tr><tr><td><a id="23:28:22" href="#23:28:22" class="time">23:28:22</a></td><td class="nick"><span style="color: #f1fa8c">flaviu</span></td><td id="M23:28:22" class="msg">Araq: Of course there is! let v1 = content and 0xF000 shr 8; let v2 = v1 + content and 0x0F + 256; state2.storeSlot slot, uint64 v2</td></tr><tr><td><a id="23:28:48" href="#23:28:48" class="time">23:28:48</a></td><td class="nick"><span style="color: #ff5555">Mat4</span></td><td id="M23:28:48" class="msg">right, thanks for remembering</td></tr><tr><td><a id="23:29:58" href="#23:29:58" class="time">23:29:58</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:29:58" class="msg">dom96 sec</td></tr><tr><td><a id="23:30:55" href="#23:30:55" class="time">23:30:55</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:30:55" class="msg">dom96 same</td></tr><tr><td><a id="23:31:17" href="#23:31:17" class="time">23:31:17</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:31:17" class="msg">ok, let's rule out macros.</td></tr><tr><td><a id="23:31:17" href="#23:31:17" class="time">23:31:17</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:31:17" class="msg">dom96 the "get "/"" code i specify doesnt even run</td></tr><tr><td><a id="23:31:34" href="#23:31:34" class="time">23:31:34</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:31:34" class="msg">i tried putting in "echo hello" inside my get before and it never runs</td></tr><tr><td><a id="23:31:37" href="#23:31:37" class="time">23:31:37</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:31:37" class="msg">try <a href="https://github.com/dom96/jester/blob/master/tests/example2.nim">https://github.com/dom96/jester/blob/master/tests/example2.nim</a></td></tr><tr><td><a id="23:31:37" href="#23:31:37" class="time">23:31:37</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:31:37" class="msg">just goes to bad gateway</td></tr><tr><td><a id="23:32:09" href="#23:32:09" class="time">23:32:09</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:32:09" class="msg">perhaps it's not matching the route for some reason</td></tr><tr><td><a id="23:32:28" href="#23:32:28" class="time">23:32:28</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:32:28" class="msg">example2 should give us some clues</td></tr><tr><td><a id="23:32:44" href="#23:32:44" class="time">23:32:44</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:32:44" class="msg">dom96 that one works</td></tr><tr><td><a id="23:32:47" href="#23:32:47" class="time">23:32:47</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:32:47" class="msg">GET /</td></tr><tr><td><a id="23:32:49" href="#23:32:49" class="time">23:32:49</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:32:49" class="msg"> TCAct</td></tr><tr><td><a id="23:33:04" href="#23:33:04" class="time">23:33:04</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:33:04" class="msg">TCAct?</td></tr><tr><td><a id="23:33:22" href="#23:33:22" class="time">23:33:22</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:33:22" class="msg">got cut off..</td></tr><tr><td><a id="23:33:26" href="#23:33:26" class="time">23:33:26</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:33:26" class="msg">GET /</td></tr><tr><td><a id="23:33:28" href="#23:33:28" class="time">23:33:28</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:33:28" class="msg"> TCActionRawy</td></tr><tr><td><a id="23:33:34" href="#23:33:34" class="time">23:33:34</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:33:34" class="msg">sorry, -y</td></tr><tr><td><a id="23:33:43" href="#23:33:43" class="time">23:33:43</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:33:43" class="msg">What are you using to request stuff from jester?</td></tr><tr><td><a id="23:33:50" href="#23:33:50" class="time">23:33:50</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:33:50" class="msg">curl right now</td></tr><tr><td><a id="23:34:01" href="#23:34:01" class="time">23:34:01</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:34:01" class="msg">curl and chrome</td></tr><tr><td><a id="23:34:10" href="#23:34:10" class="time">23:34:10</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:34:10" class="msg">have you tried curl on mac?</td></tr><tr><td><a id="23:34:21" href="#23:34:21" class="time">23:34:21</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:34:21" class="msg">yes</td></tr><tr><td><a id="23:38:28" href="#23:38:28" class="time">23:38:28</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:38:28" class="msg">that is strange, check the code the macro generates and see if you can figure out what's happening.</td></tr><tr><td><a id="23:43:03" href="#23:43:03" class="time">23:43:03</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:43:03" class="msg">the routes macro?</td></tr><tr><td><a id="23:44:02" href="#23:44:02" class="time">23:44:02</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:44:02" class="msg"><a href="https://gist.githubusercontent.com/onionhammer/d9e1bad682b15f775e08/raw/d930513f8b913c4616d594802b8b2e5308fcae98/gistfile1.txt">https://gist.githubusercontent.com/onionhammer/d9e1bad682b15f775e08/raw/d930513f8b913c4616d594802b8b2e5308fcae98/gistfile1.txt</a></td></tr><tr><td><a id="23:44:18" href="#23:44:18" class="time">23:44:18</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:44:18" class="msg">i switched to /index instead of /</td></tr><tr><td><a id="23:44:20" href="#23:44:20" class="time">23:44:20</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:44:20" class="msg">btw</td></tr><tr class="join"><td><a id="23:45:15" href="#23:45:15" class="time">23:45:15</a></td><td class="nick">*</td><td id="M23:45:15" class="msg">z1y joined #nim</td></tr><tr><td><a id="23:47:39" href="#23:47:39" class="time">23:47:39</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:47:39" class="msg">onionhammer: give me the code, not the ast.</td></tr><tr><td><a id="23:48:12" href="#23:48:12" class="time">23:48:12</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:48:12" class="msg"><a href="https://gist.github.com/onionhammer/d9e1bad682b15f775e08">https://gist.github.com/onionhammer/d9e1bad682b15f775e08</a></td></tr><tr><td><a id="23:48:17" href="#23:48:17" class="time">23:48:17</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:48:17" class="msg">its in the comment</td></tr><tr><td><a id="23:48:31" href="#23:48:31" class="time">23:48:31</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:48:31" class="msg">onionhammer, dom96 are you sure that it is not "simply" the new async core</td></tr><tr><td><a id="23:48:46" href="#23:48:46" class="time">23:48:46</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:48:46" class="msg">and not the changed macros?</td></tr><tr><td><a id="23:49:04" href="#23:49:04" class="time">23:49:04</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:49:04" class="msg">im not sure of anything</td></tr><tr><td><a id="23:49:16" href="#23:49:16" class="time">23:49:16</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:49:16" class="msg">run it with --gc:none then</td></tr><tr><td><a id="23:49:59" href="#23:49:59" class="time">23:49:59</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:49:59" class="msg">it still gives bad gateway</td></tr><tr class="quit"><td><a id="23:49:59" href="#23:49:59" class="time">23:49:59</a></td><td class="nick">*</td><td id="M23:49:59" class="msg">z1y quit (Ping timeout: 272 seconds)</td></tr><tr><td><a id="23:50:26" href="#23:50:26" class="time">23:50:26</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:50:26" class="msg">run it with --gc:markAndSweep</td></tr><tr><td><a id="23:50:32" href="#23:50:32" class="time">23:50:32</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:50:32" class="msg">run it with --gc:boehm</td></tr><tr><td><a id="23:51:01" href="#23:51:01" class="time">23:51:01</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:51:01" class="msg">run it with -d:useSysAssert -d:useGcAssert</td></tr><tr><td><a id="23:51:17" href="#23:51:17" class="time">23:51:17</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:51:17" class="msg">run it via GDB</td></tr><tr><td><a id="23:51:37" href="#23:51:37" class="time">23:51:37</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:51:37" class="msg">run it with valgrind</td></tr><tr><td><a id="23:52:07" href="#23:52:07" class="time">23:52:07</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:52:07" class="msg">compile the windows version and run it under wine</td></tr><tr><td><a id="23:52:18" href="#23:52:18" class="time">23:52:18</a></td><td class="nick"><span style="color: #ffb86c">gokr</span></td><td id="M23:52:18" class="msg">Muahaa!</td></tr><tr><td><a id="23:52:25" href="#23:52:25" class="time">23:52:25</a></td><td class="nick"><span style="color: #ffb86c">gokr</span></td><td id="M23:52:25" class="msg">Sorry. :)</td></tr><tr class="quit"><td><a id="23:53:05" href="#23:53:05" class="time">23:53:05</a></td><td class="nick">*</td><td id="M23:53:05" class="msg">milosn quit (Read error: Connection reset by peer)</td></tr><tr><td><a id="23:53:13" href="#23:53:13" class="time">23:53:13</a></td><td class="nick"><span style="color: #bd93f9">onionhammer</span></td><td id="M23:53:13" class="msg">araq ok done, still says 502 bad gateway :P</td></tr><tr><td><a id="23:53:18" href="#23:53:18" class="time">23:53:18</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:53:18" class="msg">well I have to take advantage of the fact the OP is listening to me</td></tr><tr><td><a id="23:53:20" href="#23:53:20" class="time">23:53:20</a></td><td class="nick"><span style="color: #ffb86c">gokr</span></td><td id="M23:53:20" class="msg">Wine is actually quite impressive, our client runs in it with 3D graphics and all. Well, some stuff doesn't work but still.</td></tr><tr class="quit"><td><a id="23:53:39" href="#23:53:39" class="time">23:53:39</a></td><td class="nick">*</td><td id="M23:53:39" class="msg">flaviu quit (Remote host closed the connection)</td></tr><tr class="join"><td><a id="23:53:56" href="#23:53:56" class="time">23:53:56</a></td><td class="nick">*</td><td id="M23:53:56" class="msg">flaviu joined #nim</td></tr><tr class="join"><td><a id="23:54:05" href="#23:54:05" class="time">23:54:05</a></td><td class="nick">*</td><td id="M23:54:05" class="msg">milosn joined #nim</td></tr><tr><td><a id="23:54:30" href="#23:54:30" class="time">23:54:30</a></td><td class="nick"><span style="color: #ffb86c">gokr</span></td><td id="M23:54:30" class="msg">We used it to do some load tests - fired up 10 different wines on EC2 boxes, like... 30 of them, to simulate 300 concurrent users... quite fun.</td></tr><tr><td><a id="23:55:09" href="#23:55:09" class="time">23:55:09</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:55:09" class="msg">yup. Wine also doesn't replace mempy's implementation from memmove to memcpy just because the spec says it can do that</td></tr><tr><td><a id="23:55:21" href="#23:55:21" class="time">23:55:21</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:55:21" class="msg">*memcpy's implementation</td></tr><tr><td><a id="23:56:08" href="#23:56:08" class="time">23:56:08</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:56:08" class="msg">(broke Flash among other things iirc)</td></tr><tr><td><a id="23:56:34" href="#23:56:34" class="time">23:56:34</a></td><td class="nick"><span style="color: #50fa7b">skyfex</span></td><td id="M23:56:34" class="msg">There seems to be a function missing from gtk/gdk.nim</td></tr><tr><td><a id="23:56:36" href="#23:56:36" class="time">23:56:36</a></td><td class="nick"><span style="color: #50fa7b">skyfex</span></td><td id="M23:56:36" class="msg">"gdk_cairo_create"</td></tr><tr><td><a id="23:56:51" href="#23:56:51" class="time">23:56:51</a></td><td class="nick"><span style="color: #50fa7b">skyfex</span></td><td id="M23:56:51" class="msg">I suppose along with the other gdk_cairo... functions</td></tr><tr><td><a id="23:57:07" href="#23:57:07" class="time">23:57:07</a></td><td class="nick"><span style="color: #50fa7b">skyfex</span></td><td id="M23:57:07" class="msg">Is gdk.nim auto-generated always, or manually maintained?</td></tr><tr><td><a id="23:57:20" href="#23:57:20" class="time">23:57:20</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:57:20" class="msg">manually maintained</td></tr><tr><td><a id="23:57:29" href="#23:57:29" class="time">23:57:29</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:57:29" class="msg">but there is a gtk3 wrapper in the works</td></tr><tr><td><a id="23:57:32" href="#23:57:32" class="time">23:57:32</a></td><td class="nick"><span style="color: #ff5555">Mat4</span></td><td id="M23:57:32" class="msg">ciao</td></tr><tr><td><a id="23:57:35" href="#23:57:35" class="time">23:57:35</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:57:35" class="msg">onionhammer: huh, see that 'nil'?</td></tr><tr class="part"><td><a id="23:57:39" href="#23:57:39" class="time">23:57:39</a></td><td class="nick">*</td><td id="M23:57:39" class="msg">Mat4 left #nim (#nim)</td></tr><tr><td><a id="23:57:48" href="#23:57:48" class="time">23:57:48</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:57:48" class="msg">after copyParams? That should be your routes body I think</td></tr><tr><td><a id="23:58:20" href="#23:58:20" class="time">23:58:20</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:58:20" class="msg">skyfex: check it out. I dunno in what state it is though</td></tr><tr><td><a id="23:58:41" href="#23:58:41" class="time">23:58:41</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:58:41" class="msg">onionhammer: yeah. My bad lol</td></tr><tr><td><a id="23:59:04" href="#23:59:04" class="time">23:59:04</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:59:04" class="msg">That said. There is no way you can be running the same nim compiler on both your Mac and your debian box.</td></tr><tr><td><a id="23:59:12" href="#23:59:12" class="time">23:59:12</a></td><td class="nick"><span style="color: #f1fa8c">dom96</span></td><td id="M23:59:12" class="msg">Because one has the nnkDo the other doesn't.</td></tr><tr><td><a id="23:59:23" href="#23:59:23" class="time">23:59:23</a></td><td class="nick"><span style="color: #bd93f9">Araq</span></td><td id="M23:59:23" class="msg">yup</td></tr><tr><td><a id="23:59:56" href="#23:59:56" class="time">23:59:56</a></td><td class="nick"><span style="color: #50fa7b">skyfex</span></td><td id="M23:59:56" class="msg">Araq: Will the gtk2 wrapper be deprecated, or should I create a pull request for the missing functions?</td></tr></table></body></html>