| 00:09:27 | * | yingjun joined #nim |
| 00:14:09 | * | yingjun quit (Ping timeout: 268 seconds) |
| 00:20:20 | * | Snircle joined #nim |
| 00:32:12 | * | jsgrant_ quit (Ping timeout: 255 seconds) |
| 01:57:34 | * | chemist69 quit (Ping timeout: 260 seconds) |
| 02:01:44 | * | def-pri-pub joined #nim |
| 02:11:10 | * | chemist69 joined #nim |
| 03:02:02 | * | Nobabs27 quit (Quit: Leaving) |
| 03:08:39 | * | yingjun joined #nim |
| 03:13:04 | * | yingjun quit (Ping timeout: 246 seconds) |
| 03:28:15 | * | yglukhov joined #nim |
| 03:32:26 | * | yglukhov quit (Ping timeout: 246 seconds) |
| 03:34:07 | * | dddddd quit (Remote host closed the connection) |
| 03:38:55 | * | yglukhov joined #nim |
| 03:43:27 | * | yglukhov quit (Ping timeout: 255 seconds) |
| 03:44:05 | * | jsgrant_ joined #nim |
| 04:16:14 | * | pilne quit (Quit: Quitting!) |
| 04:31:23 | * | def-pri-pub quit (Quit: leaving) |
| 05:10:36 | * | yingjun joined #nim |
| 05:12:37 | * | Neomex quit (Read error: Connection reset by peer) |
| 05:15:07 | * | yingjun quit (Ping timeout: 260 seconds) |
| 06:13:04 | * | rauss quit (Quit: WeeChat 1.8) |
| 06:26:42 | * | chemist69 quit (Ping timeout: 245 seconds) |
| 06:52:35 | * | noethics quit (Remote host closed the connection) |
| 06:52:54 | * | noethics joined #nim |
| 06:53:43 | * | chemist69 joined #nim |
| 07:19:10 | * | yglukhov joined #nim |
| 07:20:03 | * | couven92 joined #nim |
| 07:21:31 | * | yglukhov quit (Remote host closed the connection) |
| 07:37:14 | * | yglukhov joined #nim |
| 07:42:30 | * | yglukhov quit (Remote host closed the connection) |
| 07:57:34 | * | gokr joined #nim |
| 08:06:01 | * | LeNsTR|away quit (Ping timeout: 246 seconds) |
| 08:12:52 | * | yingjun joined #nim |
| 08:17:28 | * | yingjun quit (Ping timeout: 255 seconds) |
| 08:19:20 | * | Vladar joined #nim |
| 08:21:03 | * | Trioxin joined #nim |
| 08:21:41 | Trioxin | what's wrong with this? I'm trying to run a php script in the background. This works from another PHP script. Not with Nim yet: discard startProcess("php", "/usr/bin", ["-f", "/var/www/html/api/" & jobAction & ".php > /dev/null 2>&1 &"], nil, {poUsePath}) |
| 08:25:05 | Araq | Trioxin: the redirects should be done with the API, not >& shell stuff, insecure, unportable |
| 08:25:21 | Araq | that said, poUseShell might do the trick |
| 08:25:33 | Trioxin | insecure? |
| 08:25:46 | Araq | prone to injection attacks |
| 08:25:55 | Trioxin | no user input here |
| 08:26:32 | Araq | yeah but that requires a code review to ensure and continues to require code reviews. it's just a bad idea. |
| 08:26:52 | * | Trustable joined #nim |
| 08:26:57 | Trioxin | i don't see poUseShell in the docs |
| 08:27:37 | Trioxin | it's deprecated for what I used |
| 08:28:03 | Araq | apparently it was renamed to 'poEvalCommand' |
| 08:28:34 | Trioxin | Deprecated alias for poUsePath. |
| 08:34:19 | Araq | yes, I can read. |
| 08:34:59 | Araq | I think you are looking for poEvalCommand |
| 08:42:27 | * | nsf joined #nim |
| 08:59:13 | Trioxin | but yeah I'll switch it to api after I do the first port to Nim. just trying to get all working first |
| 08:59:38 | * | yglukhov joined #nim |
| 09:05:22 | * | yglukhov quit (Remote host closed the connection) |
| 09:05:48 | * | yglukhov joined #nim |
| 09:16:50 | * | chemist69 quit (Ping timeout: 240 seconds) |
| 09:33:32 | * | murych joined #nim |
| 09:36:01 | * | yglukhov quit (Remote host closed the connection) |
| 09:42:18 | * | ofelas joined #nim |
| 09:43:56 | * | chemist69 joined #nim |
| 09:45:43 | * | yglukhov joined #nim |
| 09:51:31 | * | Trioxin quit (Ping timeout: 255 seconds) |
| 10:08:10 | * | Arrrr joined #nim |
| 10:08:11 | * | Arrrr quit (Changing host) |
| 10:08:11 | * | Arrrr joined #nim |
| 10:30:09 | * | yglukhov quit (Remote host closed the connection) |
| 10:33:33 | * | couven92 quit (Quit: Client disconnecting) |
| 10:33:38 | * | yglukhov joined #nim |
| 10:58:50 | * | murych quit (Read error: Connection reset by peer) |
| 11:00:25 | * | EastByte quit (Quit: WeeChat 1.8) |
| 11:01:38 | * | EastByte joined #nim |
| 11:17:38 | * | yglukhov quit (Remote host closed the connection) |
| 11:19:21 | * | yglukhov joined #nim |
| 11:21:04 | * | chemist69 quit (Ping timeout: 255 seconds) |
| 11:21:27 | * | chemist69 joined #nim |
| 11:23:22 | * | yglukhov quit (Ping timeout: 245 seconds) |
| 11:29:23 | * | noethics quit (Remote host closed the connection) |
| 11:47:34 | * | vlad1777d joined #nim |
| 11:49:54 | * | Jesin quit (Ping timeout: 255 seconds) |
| 12:02:16 | * | yglukhov joined #nim |
| 12:03:34 | * | yglukhov quit (Remote host closed the connection) |
| 12:13:49 | * | nsf quit (Quit: WeeChat 1.7.1) |
| 12:15:55 | * | yingjun joined #nim |
| 12:20:14 | * | yingjun quit (Ping timeout: 246 seconds) |
| 12:30:23 | * | yglukhov joined #nim |
| 12:35:20 | * | Jesin joined #nim |
| 12:36:38 | * | yglukhov quit (Remote host closed the connection) |
| 12:38:13 | * | yglukhov joined #nim |
| 12:38:14 | * | yglukhov quit (Remote host closed the connection) |
| 12:59:28 | FromGitter | <dandevelop> Got this message when doing nimble init : Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk; its version (10.10) is below required minimum (10.11) for the macosx platform |
| 12:59:38 | FromGitter | <dandevelop> Does this mean that nim only supports macOS 10.11 and later? |
| 13:00:59 | FromGitter | <zacharycarter> Sounds to me like your xcode sdk is not up to date for your osx version @dandevelop |
| 13:02:35 | FromGitter | <dandevelop> I have all the MacOS SDKs on my Mac 10.7 to 10.12 as I also want to build apps for older versions of macOS |
| 13:03:04 | Araq | I doubt that's a Nimble message |
| 13:03:15 | Araq | more likely a clang message, so a clang setup problem |
| 13:03:54 | Araq | we definitely ran Nim before 10.11 was released |
| 13:04:43 | * | Arrrr quit (Read error: Connection reset by peer) |
| 13:05:02 | * | rokups joined #nim |
| 13:10:10 | FromGitter | <dandevelop> Here is a screenshot |
| 13:10:12 | FromGitter | <dandevelop> http://i.imgur.com/4FbbXKd.png |
| 13:11:50 | * | FromGitter * zacharycarter shrugs |
| 13:12:01 | Araq | https://forums.developer.apple.com/thread/43381 |
| 13:14:46 | FromGitter | <dandevelop> Thanks @Araq! Changing that value did the trick. I now know this is not a nim issue and I can say that the community here is great! |
| 13:16:25 | Araq | thank you :-) |
| 13:17:05 | FromGitter | <zacharycarter> Someone needs to write a book / guide on creating a 3d rendering pipeline |
| 13:17:13 | FromGitter | <zacharycarter> with opengl or direct x |
| 13:21:03 | Araq | sounds more like you need to buy a book |
| 13:21:14 | FromGitter | <zacharycarter> I already bought a few |
| 13:21:19 | FromGitter | <zacharycarter> hoping they're good |
| 13:22:38 | FromGitter | <zacharycarter> will find out tomorrow :P |
| 13:40:26 | * | dexterk quit (Quit: Konversation terminated!) |
| 13:40:37 | * | dexterk joined #nim |
| 14:07:33 | * | yglukhov joined #nim |
| 14:08:18 | * | yglukhov quit (Remote host closed the connection) |
| 14:13:08 | * | yglukhov joined #nim |
| 14:17:26 | * | yingjun joined #nim |
| 14:21:35 | * | yingjun quit (Ping timeout: 240 seconds) |
| 14:32:50 | * | ofelas quit (Quit: shutdown -h now) |
| 14:33:03 | * | ofelas joined #nim |
| 14:59:45 | FromGitter | <dandevelop> I am trying to link my nim binary with a static library. Created a nim.cfg file and entered passL="/path/to/my/lib.a" but I can't seem to get it to work. What am I doing wrong? |
| 15:01:58 | Araq | check if nim.cfg is actually picked up, the compiler's output should tell you |
| 15:02:24 | Araq | Hint: used config file ‚….‘ [Conf] |
| 15:04:25 | FromGitter | <dandevelop> I think it is picked up. I think I should use that .a file somehow in my code (this is a new project) in order for the compiler to link with it. Maybe this is why it is not linked |
| 15:05:13 | * | yglukhov quit (Remote host closed the connection) |
| 15:05:33 | * | yglukhov joined #nim |
| 15:05:55 | * | Neomex joined #nim |
| 15:14:38 | Araq | that's not how it works |
| 15:15:18 | Araq | it should be picked up, but maybe try {.link: "/path/to/my/lib.a".} in your Nim program |
| 15:18:09 | * | Arrrr joined #nim |
| 15:24:18 | * | yglukhov quit (Remote host closed the connection) |
| 15:26:46 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
| 15:29:30 | * | chemist69 quit (Ping timeout: 255 seconds) |
| 15:31:52 | * | chemist69 joined #nim |
| 16:03:06 | * | pilne joined #nim |
| 16:09:58 | * | Trioxin joined #nim |
| 16:20:14 | * | yingjun joined #nim |
| 16:24:47 | * | yingjun quit (Ping timeout: 268 seconds) |
| 16:36:07 | Araq | or maybe try {.passL:"-L/path/to/my/lib -lname".} |
| 16:43:27 | * | noethics joined #nim |
| 16:48:15 | * | noethics__ joined #nim |
| 16:49:50 | * | noethics quit (Ping timeout: 240 seconds) |
| 16:52:45 | * | arnetheduck quit (Ping timeout: 255 seconds) |
| 16:53:10 | demi- | dandevelop that doesn't seem like a valid linker flag |
| 16:53:28 | demi- | please check the `ld` man page for how to interact with the correct flags |
| 16:57:50 | * | ofelas quit (Ping timeout: 240 seconds) |
| 17:04:41 | * | rokups quit (Quit: Connection closed for inactivity) |
| 17:24:52 | * | yglukhov joined #nim |
| 17:29:32 | * | yglukhov quit (Ping timeout: 268 seconds) |
| 17:33:43 | * | noethics__ is now known as noethics |
| 17:33:50 | * | chemist69 quit (Ping timeout: 246 seconds) |
| 17:36:48 | * | chemist69 joined #nim |
| 17:43:33 | * | ElPresidente joined #nim |
| 17:52:44 | * | ofelas joined #nim |
| 18:14:50 | * | Snircle joined #nim |
| 18:16:01 | * | yglukhov joined #nim |
| 18:21:20 | * | nsf joined #nim |
| 18:49:41 | * | noethics left #nim ("Leaving") |
| 18:50:02 | * | rauss joined #nim |
| 18:59:48 | * | ElPresidente quit (Ping timeout: 240 seconds) |
| 19:22:32 | * | yingjun joined #nim |
| 19:27:50 | * | yingjun quit (Ping timeout: 240 seconds) |
| 19:31:04 | FromGitter | <zacharycarter> Question - I'm loading a shared library from dlopen which is binding to another shared library that is spawning threads |
| 19:31:29 | FromGitter | <zacharycarter> app seems to freeze up |
| 19:32:33 | FromGitter | <zacharycarter> sorry I meant dynlib.loadlib |
| 19:32:37 | FromGitter | <zacharycarter> not dlopen |
| 19:33:16 | FromGitter | <zacharycarter> is there anything special I need to do in this situation? |
| 19:42:58 | * | Arrrr quit (Read error: Connection reset by peer) |
| 19:43:48 | demi- | binding to another shared lib? what do you mean by that |
| 19:44:23 | FromGitter | <zacharycarter> okay so my program is foo |
| 19:44:41 | FromGitter | <zacharycarter> I'm doing dynlib.loadlib(bar) |
| 19:44:51 | FromGitter | <zacharycarter> bar is referencing let's say libcairo |
| 19:45:02 | FromGitter | <zacharycarter> or some other library that's dependent on a 3d party shared lib |
| 19:45:08 | FromGitter | <zacharycarter> and that lib happens to be spawning threads |
| 19:45:17 | FromGitter | <zacharycarter> in my case it's bgfx |
| 19:45:48 | demi- | is that lib already loaded? |
| 19:46:19 | FromGitter | <zacharycarter> I believe so - I'm seeing logging from it |
| 19:46:36 | FromGitter | <zacharycarter> my app freezes as soon as it spawns another thread (I think anyway) |
| 19:46:40 | demi- | so your lib bar, what is calling into that? |
| 19:47:04 | FromGitter | <zacharycarter> the main application |
| 19:47:07 | FromGitter | <zacharycarter> I'm basically building a plugin system |
| 19:47:22 | demi- | whatever is calling into lib bar needs to be off the main thread |
| 19:47:32 | FromGitter | <zacharycarter> okay |
| 19:47:50 | FromGitter | <zacharycarter> I'll give that a shot thank you demi- |
| 19:48:17 | demi- | on OS X the "main thread" aka thread 0 is the one that does the system UI drawing; if you block that it is going to behave like your app has locked up, |
| 19:48:32 | * | yglukhov quit (Remote host closed the connection) |
| 19:48:39 | FromGitter | <zacharycarter> ah okay |
| 19:48:49 | demi- | so it sounds like you are going to have to kick off some thread to interface with lib bar so it can process and provide updates without blocking |
| 19:49:28 | FromGitter | <zacharycarter> yeah :/ this sounds painful |
| 19:49:53 | FromGitter | <zacharycarter> I'll try just spawning a new thread for now and see if my app continues to run |
| 20:14:01 | * | dexterk_ joined #nim |
| 20:14:08 | * | dexterk quit (Ping timeout: 246 seconds) |
| 20:15:17 | * | Snircle_ joined #nim |
| 20:15:50 | * | Snircle quit (Ping timeout: 240 seconds) |
| 20:17:04 | * | yglukhov joined #nim |
| 20:19:38 | * | Snircle_ quit (Client Quit) |
| 20:36:49 | * | yglukhov quit (Remote host closed the connection) |
| 20:48:14 | * | geotre joined #nim |
| 20:49:32 | * | Vladar quit (Remote host closed the connection) |
| 20:51:22 | * | nsf quit (Quit: WeeChat 1.7.1) |
| 21:01:09 | * | Snircle joined #nim |
| 21:17:11 | * | ofelas quit (Quit: shutdown -h now) |
| 21:42:50 | * | chemist69 quit (Ping timeout: 240 seconds) |
| 21:45:44 | * | chemist69 joined #nim |
| 21:47:37 | * | geotre quit (Read error: Connection reset by peer) |
| 22:04:08 | * | ElPresidente joined #nim |
| 22:25:32 | * | yingjun joined #nim |
| 22:29:35 | * | yingjun quit (Ping timeout: 240 seconds) |
| 22:48:21 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
| 22:48:49 | * | libman joined #nim |
| 23:06:42 | * | ElPresidente quit (Ping timeout: 255 seconds) |
| 23:19:05 | * | vlad1777d quit (Ping timeout: 240 seconds) |
| 23:36:28 | * | jsgrant_ quit (Read error: Connection reset by peer) |
| 23:43:54 | * | Matthias247 joined #nim |
| 23:48:41 | * | chemist69 quit (Ping timeout: 246 seconds) |
| 23:51:35 | * | chemist69 joined #nim |
| 23:56:43 | * | vlad1777d joined #nim |