<< 29-04-2017 >>

00:05:59zachcarterVarriount: can I get your opinion on something?
00:06:25FromGitter<Varriount> zachcarter: Sure.
00:06:37zachcarterI want to switch to a new theme for the frag website
00:06:41zachcarterhttps://matcornic.github.io/hugo-learn-doc/basics/installation/
00:06:42zachcarteror
00:06:46zachcarterhttp://themes.gohugo.io/theme/material-docs/
00:08:04FromGitter<Varriount> Hrm, hard choice.
00:08:14zachcarterI agree
00:08:28zachcarterI’m leaning towards hugo learn
00:08:56zachcarterbut I don’t know how it will perform in mobile
00:09:02zachcarterI’ll need to test it
00:09:43FromGitter<Varriount> I'd say test performance. I like the fact that Hugo learn has more colors though.
00:09:54zachcartersame
00:09:57zachcarterokay I will do that
00:24:17zachcartervarriount: material docs works much better on mobile
00:35:52*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:40:06zachcarterscrew it hugo learn looks so much nicer
00:40:18zachcartermobile on hugo learn is good enough :P
00:57:24*BennyElg_ quit (Ping timeout: 240 seconds)
00:57:51*BennyElg joined #nim
01:09:57*chemist69 quit (Disconnected by services)
01:10:02*chemist69_ joined #nim
01:11:43*BennyElg quit (Read error: Connection reset by peer)
01:12:45*BennyElg joined #nim
01:15:52FromGitter<Varriount> What kind of difference is there?
01:23:10*zachcarter quit (Quit: zachcarter)
01:25:26*hallouggo joined #nim
01:27:28*hallouggo quit (Read error: Connection reset by peer)
01:28:47*arnetheduck joined #nim
01:36:59*BennyElg_ joined #nim
01:37:00*BennyElg quit (Ping timeout: 260 seconds)
01:39:18*bjz joined #nim
01:52:17*brson quit (Quit: leaving)
01:59:07*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
02:27:58*BennyElg_ quit (Read error: Connection reset by peer)
02:28:16*BennyElg joined #nim
02:38:48*BennyElg quit (Ping timeout: 268 seconds)
02:39:40*BennyElg joined #nim
02:44:12*BennyElg quit (Ping timeout: 260 seconds)
02:44:44*BennyElg joined #nim
02:56:16*BennyElg_ joined #nim
02:56:19*BennyElg quit (Ping timeout: 260 seconds)
03:17:08*bjz joined #nim
03:38:09*gatmac joined #nim
04:03:22*smt__ is now known as smt
05:20:08*rauss quit (Quit: WeeChat 1.7.1)
05:21:00*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:32:05*bjz joined #nim
05:43:33*BennyElg joined #nim
05:43:34*BennyElg_ quit (Ping timeout: 252 seconds)
06:42:16*jackv quit (Quit: jackv)
06:44:43*jackv joined #nim
06:46:20*rokups joined #nim
06:46:26*arnetheduck quit (Ping timeout: 255 seconds)
07:00:36*xet7 quit (Quit: Leaving)
07:00:52*gatmac quit (Ping timeout: 260 seconds)
07:31:37*nsf joined #nim
08:15:59*adeohluwa joined #nim
08:20:24*gokr joined #nim
08:25:58*antranigv quit (Read error: Connection reset by peer)
08:30:35*vlad1777d joined #nim
08:35:14*Trustable joined #nim
08:37:35*BennyElg_ joined #nim
08:38:46*Arrrr joined #nim
08:39:54*BennyElg quit (Ping timeout: 260 seconds)
08:48:47*couven92 joined #nim
08:52:29*Matthias247 joined #nim
08:54:44*Arrrr quit (Ping timeout: 260 seconds)
09:07:30BennyElg_Hey
09:08:26BennyElg_I want to implement new database connection so for instance If I had to do it with python I needed to extend default beavor of DBAPI.
09:08:37BennyElg_Any Idea how I do it here?
09:18:20*SusWombat quit (Read error: Connection reset by peer)
09:18:41*SusWombat joined #nim
09:25:42*BennyElg joined #nim
09:25:48*BennyElg_ quit (Ping timeout: 255 seconds)
09:26:01AraqBennyElg: you write a helper proc? no idea what you mean
09:26:24BennyElgI want to write presto-db connection
09:26:45BennyElgWhere do I start? What do I extend or strats to
09:27:32FromGitter<timeyyy> Can i develop neovim on windows?
09:30:06FromGitter<timeyyy> like doing `make` will auto install deps etc?
09:34:04*Arrrr joined #nim
09:34:05*Arrrr quit (Changing host)
09:34:05*Arrrr joined #nim
09:39:04*gokr quit (Quit: Leaving.)
09:47:07*gokr joined #nim
09:48:00*BennyElg quit (Ping timeout: 260 seconds)
09:48:41*BennyElg joined #nim
09:56:27*Tiberium joined #nim
09:56:43*arnetheduck joined #nim
09:58:06FromGitter<Varriount> @timeyyy What do you mean?
09:58:25FromGitter<timeyyy> Sorry man wrong channel :/
09:58:45FromGitter<timeyyy> @Varriount sorry man wrong channel
10:32:19*zachcarter joined #nim
10:32:36zachcarterVarriount: apologies I went to sleep last night early I was super tired
10:33:10*Matthias247 quit (Read error: Connection reset by peer)
10:35:04*zachcarter quit (Client Quit)
10:35:52BennyElgGuys where do i start if I want implement library of new database.
10:36:34FromGitter<Varriount> zachcarter: That's fine. Same thing happened to me.
10:36:36TiberiumWhat's the best way for this: I have string "bot hello bot" and I want to get "hello bot". Maybe slicing?
10:37:09FromGitter<Varriount> BennyElg: Look at the existing database modules in the standard library
10:37:40FromGitter<Varriount> Tiberium: Yes.
10:38:16*zachcarter joined #nim
10:39:03*adeohluwa quit (Quit: Connection closed for inactivity)
10:39:50BennyElgits not clear.
10:41:43FromGitter<Varriount> BennyElg: Well, for most databases, you would either wrap and use a C library provided for clients which abstracts away implementation, or implement the client
10:42:37FromGitter<Varriount> Most database client implementations communicate with the database using a socket. The protocol varies.
10:43:04FromGitter<Varriount> What database are you trying to communicate with?
10:43:47BennyElgpresto-db
10:45:22FromGitter<Varriount> BennyElg: Then I would first attempt to wrap this library: https://github.com/easydatawarehousing/prestoclient/tree/master/C
10:46:17Tiberiumah, it's json
10:46:24Tiberium"Client sends http POST request to the Presto server, page: "/v1/statement". Header information should include: X-Presto-Catalog, X-Presto-Source, X-Presto-Schema, User-Agent, X-Presto-User. The body of the request should contain the sql statement. The server responds by returning JSON data (http status-code 200). This reply may contain up to 3 uri's. One giving the link to get more information about the query execution ('infoUri'), another giving the link
10:46:25Tiberiumto fetch the next packet of data ('nextUri') and one with the uri to cancel the query ('partialCancelUri')."
10:47:06FromGitter<Varriount> Huh. Neat, though seems a tad inefficient
10:47:46FromGitter<Varriount> BennyElg: You could imminent the client yourself then, if you wanted.
10:48:40BennyElgthanks
11:02:24*Snircle joined #nim
11:10:02*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:12:00*bjz joined #nim
11:22:27*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:33:56*Arrrr quit (Ping timeout: 245 seconds)
11:43:39*Jesin quit (Ping timeout: 260 seconds)
11:48:10*Jesin joined #nim
11:51:47FromGitter<Varriount> Araq: Does the default garbage collector trash pointers at all? I'm reading http://www.memorymanagement.org/mmref/recycle.html#one-bit-reference-counting
11:52:32*Jesin quit (Max SendQ exceeded)
11:52:54*Jesin joined #nim
12:23:49Tiberiumwhat would be the best choice for advanced configuration file - for example with tables?
12:23:54Tiberiumonly json or there's better choices?
12:24:09Tiberium(I mean dictionaries by tables)
12:47:14*bjz joined #nim
12:58:37*nsf quit (Quit: WeeChat 1.7)
13:10:55*yglukhov joined #nim
13:17:13FromGitter<dom96> Json is a pretty natural choice
13:17:41Tiberiumdom96: I want users to edit json, so it's a good choice?
13:17:43ftsfjson, yaml, toml
13:20:12*yglukhov quit (Remote host closed the connection)
13:30:08Tiberiumis using something like "return data[1].getElems().mapIt($it)" is fine? I do api request to wikipedia, and then get all elements from json node and convert it to string
13:30:15Tiberiumor it's better to have a for loop?
13:32:21*scriptum quit (Remote host closed the connection)
13:43:29*tankfeeder joined #nim
13:52:46*BennyElg quit (Remote host closed the connection)
13:56:12*tankfeeder quit (Quit: Leaving)
13:58:29FromGitter<timeyyy> I.M.O yaml is nicer to read than json and is used by e.g travis ci and appveyor for configuration
13:58:40FromGitter<timeyyy> also ansible
14:05:27zachcarterworking on a new website for frag : http://fragworks.io/
14:24:22FromGitter<stisa> Zachcarter very clean, a bit empty maybe?
14:24:33zachcarterfor sure I’m still adding a lot
14:24:52zachcarterthank you for the positive comment though :D
14:26:09FromGitter<stisa> Also the logo is outside the tile on mobile (yeah I know, I'm always talking about mobile) http://i.imgur.com/GbXyXIN.gif
14:27:46zachcarteryeah :/ trying to fix that now
14:36:08FromGitter<stisa> Also zachcarter looks like http://fragworks.io/documentation/index and http://fragworks.io/documentation/index/ go to different pages?
14:36:39zachcarterhrm yeah I still have a lot to fix
14:36:44zachcarterI’ve only really been working on the main page so far
14:37:31*adeohluwa joined #nim
14:45:46*BennyElg joined #nim
15:15:45*bjz_ joined #nim
15:15:49*Tiberium quit (Remote host closed the connection)
15:16:04*Tiberium joined #nim
15:16:24*bjz quit (Ping timeout: 258 seconds)
15:39:25*BennyElg quit (Remote host closed the connection)
15:45:44zachcarterstisa: fragworks.io is updated
15:49:06FromGitter<stisa> Nice! I really like that shade of green, but the Yellow crown really clashes with it
15:50:04*jsgrant quit (Ping timeout: 260 seconds)
15:53:57*nsf joined #nim
15:54:17FromGitter<stisa> btw there are a bunch of 404, like 30+, mostly sass files?
15:55:58zachcarterah okay
15:56:00zachcarterI’ll fix those thanks
15:56:11zachcarteryeah I need to work on the color scheme
15:56:24*bjz_ quit (Ping timeout: 240 seconds)
15:56:29FromGitter<stisa> the 404 only show on edge for some reason, strange
15:56:54zachcarterI checked in a bunch of sass cache files by accident
15:56:56zachcarterneed to remove those
15:57:57*jsgrant joined #nim
15:58:26*bjz joined #nim
16:05:02*taomgeo joined #nim
16:07:36zachcarterchanged the color scheme stisa
16:15:26FromGitter<jackmott> nimlang forums hasn't sent a confirmation email for ~20min
16:16:17FromGitter<jackmott> when I try to install the gmp wrapper with "nimble install gmp" I get this error: "The .nimble file name must match name specified inside /tmp/nimble_8148/githubcom_FedeOmotonimgmp_0.2.4/gmp.nimble"
16:16:23FromGitter<jackmott> what might be wrong? I am a noob.
16:20:19FromGitter<stisa> @jackmott for the forum, try asking dom96. For gmp, I think nimble is stricter now than ~2 years ago, try opening an issue in gmp repo
16:21:14*gatmac joined #nim
16:21:15FromGitter<stisa> In the meantime, you can try cloning the package, change the name to `gmp` in `gmp.nimble` , then run `nimble install` inside the folder you cloned, it should work
16:21:48FromGitter<jackmott> thanks
16:22:14FromGitter<jackmott> and is there a newer/better gmp or bignumber binding?
16:22:58FromGitter<stisa> zachcarter: I'm not sure about the black and white scheme, it's nice but with a name like frag you could use some red, or orange maybe?
16:23:07zachcartergood idea
16:24:19FromGitter<stisa> @jackmott no idea sorry, try searching on https://nim-lang.org/docs/lib.html
16:29:24*yglukhov joined #nim
16:30:42*taomgeo quit (Remote host closed the connection)
16:35:56*nsf quit (Quit: WeeChat 1.7)
16:56:30*rauss joined #nim
16:57:01zachcarterif anyone is interested in joining a call about frag on skype to talk about the framework, here more about where it’s headed, etc you can add me - hahahaitsfunny and I’ll invite you
16:57:07zachcartercall starts soon
16:59:03*adeohluwa quit (Quit: Connection closed for inactivity)
17:00:50raussWe have cookies! But can't send them to you because that's not how the Internet works.
17:03:26*yglukhov quit (Remote host closed the connection)
17:08:28*tankfeeder joined #nim
17:13:35*jsgrant quit (Quit: Peace Peeps. o/ If you need me asap, message me at msg[at]jsgrant.io & I'll try to get back to you within 24 hours.)
17:28:52*libman joined #nim
17:34:06*arnetheduck quit (Ping timeout: 240 seconds)
17:42:33*BennyElg joined #nim
17:55:56TiberiumIs this a good refactoring? :D https://github.com/StandB/twitch-notifier/pull/1/commits/798e62366d20e9c138b9aec9bb2b05d2b5365564
17:58:49*Matthias247 joined #nim
18:04:29*sz0 quit (Quit: Connection closed for inactivity)
18:26:08*tankfeeder quit (Quit: Leaving)
18:28:25*Nopply joined #nim
18:29:07*Nopply quit (Client Quit)
18:29:15*StandB joined #nim
18:38:45BennyElgI notice to an annoying thing in Nim.
18:39:24BennyElgWhen you import libraries you dont use them as a prefix which make it hard to understand where from the module is.
18:48:05demi-BennyElg: the prefix is optional, you can use it (and i did for a while), but it ends up being a bit more painful to maintain code that way. Good naming conventions are important and can resolve most of this imo
18:48:40BennyElgI am talking about the naming inside the internal libraries
18:48:43BennyElgfor instance:
18:48:50BennyElgimport parseopt2
18:49:12BennyElgthan somewhere inside the code you see: for .... in getopt():
18:49:27demi-right
18:49:30BennyElghere is "pretty" clear its from this import but many time its not
18:49:54TiberiumBennyElg, it's very easy with something with nimsuggest support :)
18:50:06BennyElglibraries like httpclient and others are hard to understand sometime
18:50:11Tiberiumif you're in doubt, in VScode for example you can see proc definitions and navigate to definition
18:50:24Tiberium(with nim plugin + nimsuggest)
18:50:31demi-BennyElg: have you considered opening an issue about this? i agree that is a usability challenge.
18:50:41BennyElgYea Im using vscode BUT if you read code in GITHUB its very hard
18:52:44BennyElganother example: parseJson(client.getContent(url))... parseJson comes from the json library but why not write json.parseJson(client.getContent(url)) it's better in some many ways because sometimes the functions (procs) are not that easy to assign from where they came from
18:52:56BennyElgfor example: getCurrentExceptionMsg()
18:53:00TiberiumBennyElg, for me it's easier to use parseJson
18:53:01BennyElgwhich is I guess from os?
18:53:07TiberiumBennyElg, no
18:53:16Tiberiumfrom system which is automatically imported
18:53:23BennyElgor showNotification
18:53:26BennyElgshowNotification()
18:53:35TiberiumBennyElg, what is it?
18:54:03BennyElgright, its nothing its just a proc that user worte by iteself
18:54:10BennyElgbut you can never understand it
18:55:01TiberiumBennyElg, it's easier to me. so you can remember many procs in stdlib already, and after that vscode helps if you forgot something :)
18:55:52TiberiumBennyElg, I came from python too
18:56:05TiberiumBut now writing python is hard for me :DD. Because of no types lol
18:56:24Tiberium(I was writing python like a week ago, and I literally used type hints for no reason)
18:56:41BennyElgTiberium I get you but it dosent change the fact the code you write should be readable by everyone except you
18:57:08TiberiumBennyElg, the code in many libraries is actually readable for me
18:57:18TiberiumBennyElg, different languages have their own idiomatic way
18:57:43TiberiumBennyElg, and Nim is pretty good at this - if you want, you can use module prefixes EVERYWHERE in your code
18:58:05demi-Tiberium: BennyElg has a point, i agree that having to declare what module a function comes from would help understandability if not code pretty-ness
18:58:20Tiberiumdemi-, yeah, I know
19:04:48Tiberiumehm, also, C doesn't seem have module prefixes, but look, linux is written in C and has many contributions, so ppl can read C code :)
19:05:03Tiberiumor many many C libraries
19:05:20*Arrrr joined #nim
19:05:20*Arrrr quit (Changing host)
19:05:20*Arrrr joined #nim
19:06:05Tiberium(but yeah, I can't argue because I'm not a pro in Nim nor C
19:11:39BennyElg& python? :D
19:12:06demi-that doesn't mean C is good
19:12:16Tiberiumthat doesn't also mean that it's bad
19:12:30demi-:|
19:13:30Tiberiumhonestly, I don't think that nim code style will change in near future
19:17:45TiberiumOk, anyway, how can I wrap my nim proc to have C definition like that: https://github.com/gaffe23/linux-inject/blob/master/sample-library.c#L25 ?
19:21:32*ludocode quit (Ping timeout: 255 seconds)
19:21:32demi-to have it call it when the library gets loaded?
19:21:58Tiberiumdemi-, yes :)
19:22:02demi-check your linker, there should be a flag for defining a function to call on load, then use `exportc` pragma to define your nim proc to be called
19:29:17*Matthias247 quit (Read error: Connection reset by peer)
19:29:47demi-Tiberium: i think it is called the "init" function in many cases, should be on your linker's man page
19:31:32Tiberiumdemi-, yeah
19:31:40Tiberiumdemi-, I use gcc which is by default
19:31:58demi-your linker, not your compiler
19:32:11Tiberiumdemi-, there's --passL in Nim
19:33:05demi-i'm aware, you have a C compiler and a linker, the linker builds the actual library or executable
19:33:26demi-on your linker there should be a flag for this, so you should add that flag to your `--passL`
19:33:45Tiberiumdemi-, "GNU ld (GNU Binutils) 2.28.0.20170322"
19:33:52Tiberiumso yeah, I found it
19:33:58Tiberiumyay works!
19:34:21Tiberiumbut for some reason the text from init function is printed twice 0_0
19:48:53*ludocode joined #nim
19:53:19*gatmac quit (Ping timeout: 252 seconds)
20:02:17*rokups quit (Quit: Connection closed for inactivity)
20:05:00*gatmac joined #nim
20:15:01*Arrrr quit (Read error: Connection reset by peer)
20:28:02zachcarterTiberium: what do you think so far?
20:28:06zachcarterhttp://fragworks.io
20:30:04Tiberiumzachcarter, I would say that it's one of the websites of nim libraries
20:31:33Tiberium*one of the best
20:32:00zachcarterthank you! :D
20:35:04*yglukhov joined #nim
20:35:32*Sembei joined #nim
20:41:26*Trustable quit (Remote host closed the connection)
20:42:10tigerfinchHey zachcarter - it's tigerchops from the fragworks forum. I'm running into some difficulty running the examples :/
20:42:18tigerfinchI can build ok, but when I run, I get: could not load: libbgfx-shared-lib(Debug|Release).so
20:42:24zachcarterah okay
20:42:32zachcarterI take it you’re on linux?
20:43:16tigerfinchIndeed - so far I've tried adding the .build/linux64_cc/bin folder to my LD_LIBRARY_PATH but to no avail
20:44:03zachcarterokay - yeah I still have a lot of build pipeline stuff to straighten out to make the project easier to build / compile on all OS’s but this is fixable
20:44:14zachcartergive me 2 secs
20:44:17tigerfinchno worries
20:46:48zachcarterI think you’re going to need to create a nim.cfg file in the frag/examples/desktop directory
20:46:52zachcarterand add a few linker options there
20:47:58tigerfinchOk, no probs
20:48:41tigerfinchThis is as well as the one in the frag/examples directory?
20:48:52zachcarterokay there should already be a frag/examples/desktop/nim.cfg
20:49:33zachcarteryou’ll need to modify the rpath option there to point to the .build/linux64_cc/bin folder
20:51:00zachcarterinside frag/vendor/bgfx
20:52:56FromGitter<Varriount> zachcarter: Nice site. Honing your web development skills?
20:53:08zachcarterVarriount: thank you
20:53:14zachcarterwell considering this is half of what I do for a living haha
20:53:24tigerfinchOk - so I took the nim.cfg from frag/examples as an example and modified the paths to reflect the fact that it's one deeper (added a ../) and still the same error
20:54:23FromGitter<Varriount> zachcarter: Hrm, should text in the code sections look like it's all been indented by a tab?
20:54:37FromGitter<Varriount> I'm on android mobile
20:54:40tigerfinch(btw before you ask I checked that the libbgfx-shared-libDebug.so file exists ;) )
20:54:44zachcarterVarriount: I need to fix that
20:55:16zachcartertigerfinch: hmmm what distro are you on?
20:55:56tigerfinchubuntu 16.04
20:57:30zachcarterokay thanks
20:57:43zachcarterI’ll install an ubuntu vm and figure out why this isn’t working
20:58:10tigerfinchthanks!
20:58:23zachcarternp
21:01:23*yglukhov quit (Remote host closed the connection)
21:01:49*Tiberium quit (Remote host closed the connection)
21:03:01*yglukhov joined #nim
21:10:45*yglukhov_ joined #nim
21:10:45*yglukhov quit (Read error: Connection reset by peer)
21:17:12*yglukhov_ quit (Ping timeout: 260 seconds)
21:18:58*adeohluwa joined #nim
21:21:27FromGitter<Varriount> zachcarter: Regarding Frag's API, there will need to be some sort of "onPause" and "onUnpause" callback, for systems that allow the user to force pause an application (Android, iOS, console/handheld systems)
21:21:51zachcarterdefinitely
21:21:55zachcartergood point
21:22:30zachcartermobile and console stuff has been an afterthought thus far as I didn’t have a decent way to distribute
21:22:33zachcarterbut now that I do....
21:23:41FromGitter<Varriount> I'd look at what libGDX and Unity do, for inspiration.
21:24:00zachcartergood idea
21:24:18*nsf joined #nim
21:24:50*nsf quit (Client Quit)
21:25:00*nsf joined #nim
21:25:10zachcarterI’m hoping to finish up the website tonight Varriount, then get back to game programming
21:25:21zachcarterthe homepage anyway
21:52:16*StandB quit (Quit: Leaving)
21:52:49*StandB joined #nim
21:53:01zielmicha_Is there a way to disable lock analysis? I'm frequently getting errors like "got proc() {.closure, noSideEffect, gcsafe, locks: <unknown>.}, but expected proc() {.closure.}"
21:55:58*Jesin quit (Quit: Leaving)
22:01:27dom96zielmicha_: --threadanalysis:off perhaps
22:04:43zielmicha_No, I already use it.
22:04:52*yglukhov joined #nim
22:07:50zielmicha_Anyway, I'm now not sure if the lock analysis is a problem and not some part of my code, so I withdraw the question :)
22:09:10*yglukhov quit (Ping timeout: 252 seconds)
22:27:59*Sentreen quit (Ping timeout: 240 seconds)
22:35:18zachcartertigerfinch: would you mind filing an issue for this on the frag github? this is due to linking order on ubuntu
22:35:28zachcarterif you are busy I can go ahead and do it, it’s not a big deal
22:40:41*StandB quit (Read error: Connection reset by peer)
22:41:07*Sentreen joined #nim
22:41:09*libman quit (Quit: Connection closed for inactivity)
22:52:13zachcarterdom96: did you see http://fragworks.io ?
22:52:59demi-whoa that looks nice
22:53:04zachcarterthank you
22:53:07zachcarterstill very much wip
22:55:03demi-hmmm, is there any way to have nim generate C header files?
22:55:17zachcarternot sure
22:56:19demi-i could write up a tutorial on how to use nim when developing for iOS, but there would be a bit of DIY for integrating it with any other frameworks and stuff
22:58:21zachcarterI think it would be awesome
22:58:53*pigmej quit (Ping timeout: 240 seconds)
22:58:53*enthus1ast quit (Ping timeout: 240 seconds)
22:59:06*enthus1ast joined #nim
22:59:57*pigmej joined #nim
23:00:08demi-i should be able to write up a drop-in `nim.cfg` file that would make it do the right stuff
23:09:11demi-dom96: are there any good examples of a wrapper around a C++ library?
23:09:12*gokr quit (Ping timeout: 260 seconds)
23:14:21*Amun_Ra quit (Remote host closed the connection)
23:19:22*couven92 quit (Quit: Client Disconnecting)
23:20:19*Amun_Ra joined #nim
23:22:02tigerfinchzachcarter: hey sorry, missed your earlier message. I can do it if you haven't already!
23:22:17zachcarternp! I went ahead and created it and added some info
23:22:32zachcarterhttps://github.com/fragworks/frag/issues/29
23:23:02tigerfinchCool cool - thanks!
23:26:43*BennyElg quit (Ping timeout: 252 seconds)
23:28:20FromGitter<Varriount> demi-: WxNim
23:28:46*BennyElg joined #nim
23:28:58demi-Varriount, do you know if nim will handle converting `string` to `std::string` for me, or do i have to do that myself?
23:29:30FromGitter<Varriount> I don't know. My tentative guess would be "no"
23:31:01FromGitter<Varriount> The memory layout of a Nim string is fairly well defined (an array of characters). A c++ String type has an implementation defined memory layout for its data.
23:31:02*nsf quit (Quit: WeeChat 1.7.1)
23:48:05*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:49:03*adeohluwa quit (Quit: Connection closed for inactivity)