00:05:59 | zachcarter | Varriount: can I get your opinion on something? |
00:06:25 | FromGitter | <Varriount> zachcarter: Sure. |
00:06:37 | zachcarter | I want to switch to a new theme for the frag website |
00:06:41 | zachcarter | https://matcornic.github.io/hugo-learn-doc/basics/installation/ |
00:06:42 | zachcarter | or |
00:06:46 | zachcarter | http://themes.gohugo.io/theme/material-docs/ |
00:08:04 | FromGitter | <Varriount> Hrm, hard choice. |
00:08:14 | zachcarter | I agree |
00:08:28 | zachcarter | I’m leaning towards hugo learn |
00:08:56 | zachcarter | but I don’t know how it will perform in mobile |
00:09:02 | zachcarter | I’ll need to test it |
00:09:43 | FromGitter | <Varriount> I'd say test performance. I like the fact that Hugo learn has more colors though. |
00:09:54 | zachcarter | same |
00:09:57 | zachcarter | okay I will do that |
00:24:17 | zachcarter | varriount: material docs works much better on mobile |
00:35:52 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
00:40:06 | zachcarter | screw it hugo learn looks so much nicer |
00:40:18 | zachcarter | mobile 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:52 | FromGitter | <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:30 | BennyElg_ | Hey |
09:08:26 | BennyElg_ | 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:37 | BennyElg_ | 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:01 | Araq | BennyElg: you write a helper proc? no idea what you mean |
09:26:24 | BennyElg | I want to write presto-db connection |
09:26:45 | BennyElg | Where do I start? What do I extend or strats to |
09:27:32 | FromGitter | <timeyyy> Can i develop neovim on windows? |
09:30:06 | FromGitter | <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:06 | FromGitter | <Varriount> @timeyyy What do you mean? |
09:58:25 | FromGitter | <timeyyy> Sorry man wrong channel :/ |
09:58:45 | FromGitter | <timeyyy> @Varriount sorry man wrong channel |
10:32:19 | * | zachcarter joined #nim |
10:32:36 | zachcarter | Varriount: 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:52 | BennyElg | Guys where do i start if I want implement library of new database. |
10:36:34 | FromGitter | <Varriount> zachcarter: That's fine. Same thing happened to me. |
10:36:36 | Tiberium | What's the best way for this: I have string "bot hello bot" and I want to get "hello bot". Maybe slicing? |
10:37:09 | FromGitter | <Varriount> BennyElg: Look at the existing database modules in the standard library |
10:37:40 | FromGitter | <Varriount> Tiberium: Yes. |
10:38:16 | * | zachcarter joined #nim |
10:39:03 | * | adeohluwa quit (Quit: Connection closed for inactivity) |
10:39:50 | BennyElg | its not clear. |
10:41:43 | FromGitter | <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:37 | FromGitter | <Varriount> Most database client implementations communicate with the database using a socket. The protocol varies. |
10:43:04 | FromGitter | <Varriount> What database are you trying to communicate with? |
10:43:47 | BennyElg | presto-db |
10:45:22 | FromGitter | <Varriount> BennyElg: Then I would first attempt to wrap this library: https://github.com/easydatawarehousing/prestoclient/tree/master/C |
10:46:17 | Tiberium | ah, it's json |
10:46:24 | Tiberium | "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:25 | Tiberium | to fetch the next packet of data ('nextUri') and one with the uri to cancel the query ('partialCancelUri')." |
10:47:06 | FromGitter | <Varriount> Huh. Neat, though seems a tad inefficient |
10:47:46 | FromGitter | <Varriount> BennyElg: You could imminent the client yourself then, if you wanted. |
10:48:40 | BennyElg | thanks |
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:47 | FromGitter | <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:49 | Tiberium | what would be the best choice for advanced configuration file - for example with tables? |
12:23:54 | Tiberium | only json or there's better choices? |
12:24:09 | Tiberium | (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:13 | FromGitter | <dom96> Json is a pretty natural choice |
13:17:41 | Tiberium | dom96: I want users to edit json, so it's a good choice? |
13:17:43 | ftsf | json, yaml, toml |
13:20:12 | * | yglukhov quit (Remote host closed the connection) |
13:30:08 | Tiberium | is 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:15 | Tiberium | or 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:29 | FromGitter | <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:40 | FromGitter | <timeyyy> also ansible |
14:05:27 | zachcarter | working on a new website for frag : http://fragworks.io/ |
14:24:22 | FromGitter | <stisa> Zachcarter very clean, a bit empty maybe? |
14:24:33 | zachcarter | for sure I’m still adding a lot |
14:24:52 | zachcarter | thank you for the positive comment though :D |
14:26:09 | FromGitter | <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:46 | zachcarter | yeah :/ trying to fix that now |
14:36:08 | FromGitter | <stisa> Also zachcarter looks like http://fragworks.io/documentation/index and http://fragworks.io/documentation/index/ go to different pages? |
14:36:39 | zachcarter | hrm yeah I still have a lot to fix |
14:36:44 | zachcarter | I’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:44 | zachcarter | stisa: fragworks.io is updated |
15:49:06 | FromGitter | <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:17 | FromGitter | <stisa> btw there are a bunch of 404, like 30+, mostly sass files? |
15:55:58 | zachcarter | ah okay |
15:56:00 | zachcarter | I’ll fix those thanks |
15:56:11 | zachcarter | yeah I need to work on the color scheme |
15:56:24 | * | bjz_ quit (Ping timeout: 240 seconds) |
15:56:29 | FromGitter | <stisa> the 404 only show on edge for some reason, strange |
15:56:54 | zachcarter | I checked in a bunch of sass cache files by accident |
15:56:56 | zachcarter | need to remove those |
15:57:57 | * | jsgrant joined #nim |
15:58:26 | * | bjz joined #nim |
16:05:02 | * | taomgeo joined #nim |
16:07:36 | zachcarter | changed the color scheme stisa |
16:15:26 | FromGitter | <jackmott> nimlang forums hasn't sent a confirmation email for ~20min |
16:16:17 | FromGitter | <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:23 | FromGitter | <jackmott> what might be wrong? I am a noob. |
16:20:19 | FromGitter | <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:15 | FromGitter | <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:48 | FromGitter | <jackmott> thanks |
16:22:14 | FromGitter | <jackmott> and is there a newer/better gmp or bignumber binding? |
16:22:58 | FromGitter | <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:07 | zachcarter | good idea |
16:24:19 | FromGitter | <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:01 | zachcarter | if 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:07 | zachcarter | call starts soon |
16:59:03 | * | adeohluwa quit (Quit: Connection closed for inactivity) |
17:00:50 | rauss | We 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:56 | Tiberium | Is 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:45 | BennyElg | I notice to an annoying thing in Nim. |
18:39:24 | BennyElg | When you import libraries you dont use them as a prefix which make it hard to understand where from the module is. |
18:48:05 | demi- | 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:40 | BennyElg | I am talking about the naming inside the internal libraries |
18:48:43 | BennyElg | for instance: |
18:48:50 | BennyElg | import parseopt2 |
18:49:12 | BennyElg | than somewhere inside the code you see: for .... in getopt(): |
18:49:27 | demi- | right |
18:49:30 | BennyElg | here is "pretty" clear its from this import but many time its not |
18:49:54 | Tiberium | BennyElg, it's very easy with something with nimsuggest support :) |
18:50:06 | BennyElg | libraries like httpclient and others are hard to understand sometime |
18:50:11 | Tiberium | if you're in doubt, in VScode for example you can see proc definitions and navigate to definition |
18:50:24 | Tiberium | (with nim plugin + nimsuggest) |
18:50:31 | demi- | BennyElg: have you considered opening an issue about this? i agree that is a usability challenge. |
18:50:41 | BennyElg | Yea Im using vscode BUT if you read code in GITHUB its very hard |
18:52:44 | BennyElg | another 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:56 | BennyElg | for example: getCurrentExceptionMsg() |
18:53:00 | Tiberium | BennyElg, for me it's easier to use parseJson |
18:53:01 | BennyElg | which is I guess from os? |
18:53:07 | Tiberium | BennyElg, no |
18:53:16 | Tiberium | from system which is automatically imported |
18:53:23 | BennyElg | or showNotification |
18:53:26 | BennyElg | showNotification() |
18:53:35 | Tiberium | BennyElg, what is it? |
18:54:03 | BennyElg | right, its nothing its just a proc that user worte by iteself |
18:54:10 | BennyElg | but you can never understand it |
18:55:01 | Tiberium | BennyElg, 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:52 | Tiberium | BennyElg, I came from python too |
18:56:05 | Tiberium | But now writing python is hard for me :DD. Because of no types lol |
18:56:24 | Tiberium | (I was writing python like a week ago, and I literally used type hints for no reason) |
18:56:41 | BennyElg | Tiberium I get you but it dosent change the fact the code you write should be readable by everyone except you |
18:57:08 | Tiberium | BennyElg, the code in many libraries is actually readable for me |
18:57:18 | Tiberium | BennyElg, different languages have their own idiomatic way |
18:57:43 | Tiberium | BennyElg, and Nim is pretty good at this - if you want, you can use module prefixes EVERYWHERE in your code |
18:58:05 | demi- | 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:20 | Tiberium | demi-, yeah, I know |
19:04:48 | Tiberium | ehm, 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:03 | Tiberium | or 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:05 | Tiberium | (but yeah, I can't argue because I'm not a pro in Nim nor C |
19:11:39 | BennyElg | & python? :D |
19:12:06 | demi- | that doesn't mean C is good |
19:12:16 | Tiberium | that doesn't also mean that it's bad |
19:12:30 | demi- | :| |
19:13:30 | Tiberium | honestly, I don't think that nim code style will change in near future |
19:17:45 | Tiberium | Ok, 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:32 | demi- | to have it call it when the library gets loaded? |
19:21:58 | Tiberium | demi-, yes :) |
19:22:02 | demi- | 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:47 | demi- | Tiberium: i think it is called the "init" function in many cases, should be on your linker's man page |
19:31:32 | Tiberium | demi-, yeah |
19:31:40 | Tiberium | demi-, I use gcc which is by default |
19:31:58 | demi- | your linker, not your compiler |
19:32:11 | Tiberium | demi-, there's --passL in Nim |
19:33:05 | demi- | i'm aware, you have a C compiler and a linker, the linker builds the actual library or executable |
19:33:26 | demi- | on your linker there should be a flag for this, so you should add that flag to your `--passL` |
19:33:45 | Tiberium | demi-, "GNU ld (GNU Binutils) 2.28.0.20170322" |
19:33:52 | Tiberium | so yeah, I found it |
19:33:58 | Tiberium | yay works! |
19:34:21 | Tiberium | but 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:02 | zachcarter | Tiberium: what do you think so far? |
20:28:06 | zachcarter | http://fragworks.io |
20:30:04 | Tiberium | zachcarter, I would say that it's one of the websites of nim libraries |
20:31:33 | Tiberium | *one of the best |
20:32:00 | zachcarter | thank 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:10 | tigerfinch | Hey zachcarter - it's tigerchops from the fragworks forum. I'm running into some difficulty running the examples :/ |
20:42:18 | tigerfinch | I can build ok, but when I run, I get: could not load: libbgfx-shared-lib(Debug|Release).so |
20:42:24 | zachcarter | ah okay |
20:42:32 | zachcarter | I take it you’re on linux? |
20:43:16 | tigerfinch | Indeed - so far I've tried adding the .build/linux64_cc/bin folder to my LD_LIBRARY_PATH but to no avail |
20:44:03 | zachcarter | okay - 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:14 | zachcarter | give me 2 secs |
20:44:17 | tigerfinch | no worries |
20:46:48 | zachcarter | I think you’re going to need to create a nim.cfg file in the frag/examples/desktop directory |
20:46:52 | zachcarter | and add a few linker options there |
20:47:58 | tigerfinch | Ok, no probs |
20:48:41 | tigerfinch | This is as well as the one in the frag/examples directory? |
20:48:52 | zachcarter | okay there should already be a frag/examples/desktop/nim.cfg |
20:49:33 | zachcarter | you’ll need to modify the rpath option there to point to the .build/linux64_cc/bin folder |
20:51:00 | zachcarter | inside frag/vendor/bgfx |
20:52:56 | FromGitter | <Varriount> zachcarter: Nice site. Honing your web development skills? |
20:53:08 | zachcarter | Varriount: thank you |
20:53:14 | zachcarter | well considering this is half of what I do for a living haha |
20:53:24 | tigerfinch | Ok - 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:23 | FromGitter | <Varriount> zachcarter: Hrm, should text in the code sections look like it's all been indented by a tab? |
20:54:37 | FromGitter | <Varriount> I'm on android mobile |
20:54:40 | tigerfinch | (btw before you ask I checked that the libbgfx-shared-libDebug.so file exists ;) ) |
20:54:44 | zachcarter | Varriount: I need to fix that |
20:55:16 | zachcarter | tigerfinch: hmmm what distro are you on? |
20:55:56 | tigerfinch | ubuntu 16.04 |
20:57:30 | zachcarter | okay thanks |
20:57:43 | zachcarter | I’ll install an ubuntu vm and figure out why this isn’t working |
20:58:10 | tigerfinch | thanks! |
20:58:23 | zachcarter | np |
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:27 | FromGitter | <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:51 | zachcarter | definitely |
21:21:55 | zachcarter | good point |
21:22:30 | zachcarter | mobile and console stuff has been an afterthought thus far as I didn’t have a decent way to distribute |
21:22:33 | zachcarter | but now that I do.... |
21:23:41 | FromGitter | <Varriount> I'd look at what libGDX and Unity do, for inspiration. |
21:24:00 | zachcarter | good idea |
21:24:18 | * | nsf joined #nim |
21:24:50 | * | nsf quit (Client Quit) |
21:25:00 | * | nsf joined #nim |
21:25:10 | zachcarter | I’m hoping to finish up the website tonight Varriount, then get back to game programming |
21:25:21 | zachcarter | the homepage anyway |
21:52:16 | * | StandB quit (Quit: Leaving) |
21:52:49 | * | StandB joined #nim |
21:53:01 | zielmicha_ | 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:27 | dom96 | zielmicha_: --threadanalysis:off perhaps |
22:04:43 | zielmicha_ | No, I already use it. |
22:04:52 | * | yglukhov joined #nim |
22:07:50 | zielmicha_ | 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:18 | zachcarter | tigerfinch: would you mind filing an issue for this on the frag github? this is due to linking order on ubuntu |
22:35:28 | zachcarter | if 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:13 | zachcarter | dom96: did you see http://fragworks.io ? |
22:52:59 | demi- | whoa that looks nice |
22:53:04 | zachcarter | thank you |
22:53:07 | zachcarter | still very much wip |
22:55:03 | demi- | hmmm, is there any way to have nim generate C header files? |
22:55:17 | zachcarter | not sure |
22:56:19 | demi- | 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:21 | zachcarter | I 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:08 | demi- | i should be able to write up a drop-in `nim.cfg` file that would make it do the right stuff |
23:09:11 | demi- | 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:02 | tigerfinch | zachcarter: hey sorry, missed your earlier message. I can do it if you haven't already! |
23:22:17 | zachcarter | np! I went ahead and created it and added some info |
23:22:32 | zachcarter | https://github.com/fragworks/frag/issues/29 |
23:23:02 | tigerfinch | Cool cool - thanks! |
23:26:43 | * | BennyElg quit (Ping timeout: 252 seconds) |
23:28:20 | FromGitter | <Varriount> demi-: WxNim |
23:28:46 | * | BennyElg joined #nim |
23:28:58 | demi- | 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:30 | FromGitter | <Varriount> I don't know. My tentative guess would be "no" |
23:31:01 | FromGitter | <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) |