00:05:35 | * | brson joined #nim |
00:06:53 | * | zepolen joined #nim |
00:11:24 | * | zepolen quit (Ping timeout: 245 seconds) |
00:12:59 | * | girvo joined #nim |
00:14:13 | * | Varriount-Laptop joined #nim |
00:18:28 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:20:13 | * | desophos joined #nim |
00:46:15 | * | yglukhov joined #nim |
00:51:54 | * | yglukhov quit (Ping timeout: 260 seconds) |
00:54:46 | * | desophos quit (Read error: Connection reset by peer) |
00:56:08 | * | desophos joined #nim |
00:58:26 | * | Varriount-Laptop quit (Ping timeout: 260 seconds) |
01:03:23 | * | Varriount-Laptop joined #nim |
01:03:41 | * | jakesyl joined #nim |
01:07:18 | * | zama quit (Ping timeout: 260 seconds) |
01:08:07 | * | zama joined #nim |
01:08:14 | * | Varriount-Laptop quit (Ping timeout: 260 seconds) |
01:09:08 | * | Varriount-Laptop joined #nim |
01:30:38 | * | Varriount-Laptop quit (Ping timeout: 260 seconds) |
01:48:55 | * | yglukhov joined #nim |
01:52:12 | * | desophos_ joined #nim |
01:53:30 | * | yglukhov quit (Ping timeout: 260 seconds) |
01:56:48 | * | desophos_ quit (Ping timeout: 250 seconds) |
02:02:57 | * | brson quit (Quit: leaving) |
02:08:28 | * | zepolen joined #nim |
02:13:09 | * | [CBR]Unspoken quit (Ping timeout: 244 seconds) |
02:13:34 | * | zepolen quit (Ping timeout: 260 seconds) |
02:18:53 | * | Jesin joined #nim |
02:29:24 | * | desophos quit (Read error: Connection reset by peer) |
02:31:15 | * | [CBR]Unspoken joined #nim |
02:32:31 | * | enquora joined #nim |
02:34:08 | * | enquora quit (Remote host closed the connection) |
02:42:17 | * | guawoo joined #nim |
02:43:44 | guawoo | Hi , I got error "could not load: (ssleay64|libssl64).dll" when use nimble on windows |
02:48:40 | * | guawoo left #nim (#nim) |
02:49:23 | * | theduke quit (Ping timeout: 264 seconds) |
03:18:06 | * | theduke joined #nim |
03:23:34 | * | ephja quit (Ping timeout: 260 seconds) |
03:27:08 | * | pregressive joined #nim |
03:30:08 | * | desophos joined #nim |
03:35:45 | * | vendethiel joined #nim |
03:50:23 | * | yglukhov joined #nim |
03:54:40 | * | yglukhov quit (Ping timeout: 250 seconds) |
03:54:53 | * | pregressive quit (Remote host closed the connection) |
03:54:55 | * | zepolen joined #nim |
03:55:11 | * | pregressive joined #nim |
03:59:30 | * | zepolen quit (Ping timeout: 260 seconds) |
04:04:32 | * | nicktick1 quit (Quit: Leaving.) |
04:15:50 | * | nicktick joined #nim |
04:41:02 | * | vendethiel quit (Ping timeout: 260 seconds) |
04:41:05 | * | nicktick quit (Quit: Leaving.) |
04:55:36 | * | zepolen joined #nim |
04:59:44 | * | zepolen quit (Ping timeout: 245 seconds) |
05:00:46 | * | zepolen joined #nim |
05:16:38 | * | darkf joined #nim |
05:26:06 | * | BitPuffin|osx quit (Ping timeout: 250 seconds) |
05:41:09 | * | yglukhov joined #nim |
05:45:34 | * | yglukhov quit (Ping timeout: 245 seconds) |
05:57:32 | * | pregressive quit (Remote host closed the connection) |
06:07:06 | * | nicktick joined #nim |
06:19:11 | * | enamex joined #nim |
06:27:14 | * | bjz joined #nim |
06:31:56 | * | bjz quit (Client Quit) |
06:35:52 | * | enamex quit (Ping timeout: 250 seconds) |
06:47:17 | * | bjz joined #nim |
06:47:45 | * | Demon_Fox quit (Quit: Leaving) |
07:07:40 | * | lokulin quit (Changing host) |
07:07:40 | * | lokulin joined #nim |
07:07:48 | * | nande quit (Remote host closed the connection) |
07:08:20 | * | zepolen quit (Remote host closed the connection) |
07:15:08 | * | vendethiel joined #nim |
07:22:14 | * | yglukhov joined #nim |
07:26:42 | * | yglukhov quit (Ping timeout: 260 seconds) |
07:41:18 | * | vendethiel quit (Ping timeout: 250 seconds) |
08:16:35 | * | yglukhov joined #nim |
08:25:30 | * | nicktick quit (Ping timeout: 250 seconds) |
08:30:34 | * | girvo quit (Ping timeout: 245 seconds) |
08:33:27 | * | girvo joined #nim |
08:38:04 | * | girvo quit (Ping timeout: 245 seconds) |
08:43:07 | * | nicktick joined #nim |
08:52:22 | * | ^aurora^ joined #nim |
09:24:45 | * | jaco60 joined #nim |
09:34:15 | * | girvo joined #nim |
09:35:02 | * | makoLine quit (Ping timeout: 260 seconds) |
09:35:19 | * | coffeepot joined #nim |
09:38:46 | * | girvo quit (Ping timeout: 260 seconds) |
09:41:31 | * | kerze joined #nim |
10:00:57 | * | nicktick quit (Quit: Leaving.) |
10:03:58 | * | yglukhov quit (Ping timeout: 260 seconds) |
10:09:55 | * | yglukhov joined #nim |
10:11:23 | * | yglukhov quit (Remote host closed the connection) |
10:12:03 | * | yglukhov joined #nim |
10:12:05 | * | yglukhov quit (Remote host closed the connection) |
10:18:28 | * | Arrrr joined #nim |
10:39:13 | * | yglukhov joined #nim |
10:39:20 | * | yglukhov quit (Remote host closed the connection) |
10:42:29 | * | boopsiesisaway is now known as boopsies |
10:47:50 | * | niv quit (Ping timeout: 260 seconds) |
10:48:45 | * | niv joined #nim |
11:12:10 | * | yglukhov joined #nim |
11:19:58 | * | Arrrr quit (Quit: WeeChat 1.2) |
11:20:55 | * | Arrrr joined #nim |
11:35:02 | * | girvo joined #nim |
11:36:37 | * | desophos quit (Read error: Connection reset by peer) |
11:39:44 | * | girvo quit (Ping timeout: 245 seconds) |
11:41:02 | * | Jesin quit (Ping timeout: 260 seconds) |
11:41:05 | * | MyMind joined #nim |
11:44:18 | * | Sembei quit (Ping timeout: 260 seconds) |
11:45:11 | * | theduke quit (Ping timeout: 264 seconds) |
11:52:03 | * | Jesin joined #nim |
11:56:50 | * | theduke joined #nim |
11:58:37 | * | boopsies is now known as boopsiesisaway |
12:07:10 | * | Jesin quit (Ping timeout: 260 seconds) |
12:13:42 | * | girvo joined #nim |
12:13:46 | girvo | Hey all |
12:14:18 | girvo | Quick question: how would you go about implement a function that took a variable number of arguments, all of which implemented a "destroy" method? |
12:14:28 | girvo | proc* |
12:16:02 | * | Jesin joined #nim |
12:17:00 | Arrrr | Either you use inheritance or concepts http://nim-lang.org/docs/manual.html#generics-concepts |
12:18:21 | Arrrr | plus varargs, or maybe openarray |
12:32:14 | girvo | Arrrr: nice one, cheers :) |
12:32:31 | girvo | Now, how the hell do I use sdl2.queryTexture lol |
12:32:53 | girvo | http://hastebin.com/upatiropuc.nim |
12:33:11 | girvo | Most examples pass NULL as the first couple params: https://wiki.libsdl.org/SDL_QueryTexture |
12:33:28 | Arrrr | you can use nil |
12:34:51 | girvo | I tried, it whinges :P |
12:35:31 | girvo | make |
12:35:33 | girvo | oops |
12:35:34 | girvo | Wrong window |
12:36:03 | Arrrr | I have no idea of sdl, so i can only guess, which error does it display |
12:36:30 | girvo | http://hastebin.com/suhipijelo.sm |
12:36:53 | girvo | I think because Nim's type system is less loosey-goosey than C's I need to be a bit more specific with my calls |
12:37:15 | coffeepot | i think u can cast[ptr uint32](nil)? |
12:38:10 | Arrrr | the last two arguments are prtr cint, not cint |
12:38:19 | Arrrr | *ptr cint |
12:39:06 | Arrrr | use addr(myCint) to get it |
12:39:12 | girvo | nice! |
12:39:14 | girvo | Cheers |
12:39:27 | girvo | I couldn't remember the syntax for a ptr for the life of me :) |
12:39:47 | coffeepot | ah didn't see that, glad u didnt have to cast tbh |
12:40:20 | girvo | Hint: operation successful (22467 lines compiled; 0.375 sec total; 28.286MB; Debug Build) [SuccessX] |
12:40:23 | girvo | Champion! Cheers |
12:40:45 | girvo | Funnily coffeepot, the last time I went through this stuff and tried to play with SDL, I think I _did_ do it with casts lol |
12:40:46 | * | niv quit (Ping timeout: 260 seconds) |
12:41:17 | girvo | I'm doing a direct conversion of the C++ in http://www.willusher.io/sdl2%20tutorials/2013/08/17/lesson-2-dont-put-everything-in-main/ |
12:41:28 | Arrrr | does it run tho? |
12:41:32 | girvo | And then am going to go and make it all nice idiomatic Nim later as a learning exercise :) |
12:41:49 | girvo | Arrrr: about to find out |
12:41:57 | * | niv joined #nim |
12:43:20 | coffeepot | i've often thought we could do with a more nim-like wrapper around the sdl wrapper |
12:43:48 | coffeepot | can't think of a good way to do it tho |
12:44:16 | Arrrr | BlaXpirit did csfml, but i dont know if it still works |
12:44:27 | BlaXpirit | works |
12:44:36 | Arrrr | i think sfml is better than sdl, more friendly i mean |
12:44:46 | * | elrood joined #nim |
12:44:49 | girvo | It is more friendly, yup |
12:44:58 | BlaXpirit | there is that one issue, never gonna be resolved |
12:45:10 | girvo | But I'm doing SDL as a challenge more than anything else. I've been playing with it on and off for about 12 months |
12:47:10 | girvo | coffeepot: I think there is a nice idiomatic nim architecture to be found for SDL2, but it's a bit of a big task |
12:47:35 | girvo | And honestly once you've got your rendering stuff in place you hardly touch it if you can avoid it anyway |
12:47:43 | coffeepot | i find sdl fairly straightforward just having to play with the C types irksome, haven't had a good look at csfml. Blaxpirit what's the 'one issue'? |
12:48:00 | girvo | coffeepot: It uses the experimental destructors, basically |
12:48:05 | coffeepot | ah |
12:48:26 | girvo | Which are a RAII-ish kind of thing that don't play nice with the GC iirc |
12:48:33 | girvo | Well, more shared_ptr-ish |
12:49:10 | coffeepot | yeah i had problems with them myself when writing the odbc library |
12:53:12 | coffeepot | ended up using addQuitProc to run finalisers |
12:57:50 | Arrrr | Btw, is it possible to hook ctr-c ? |
13:04:20 | girvo | Man I need to go to bed. Catch you all tomorrow :) |
13:04:27 | girvo | And thanks for the help! addr is a life-saver |
13:04:46 | girvo | Now I've got to work out how I'm going to implement reference counting in Nim ;) |
13:04:57 | girvo | (I kid... sort of) |
13:05:15 | coffeepot | i thought ref is basically reference counting |
13:05:57 | coffeepot | but good night :) |
13:14:50 | * | girvo quit (Ping timeout: 260 seconds) |
13:32:53 | Arrrr | sweet prince |
13:33:05 | coffeepot | haha XD |
13:35:45 | * | girvo joined #nim |
13:40:30 | * | girvo quit (Ping timeout: 260 seconds) |
13:41:10 | * | zepolen joined #nim |
13:57:46 | * | pregressive joined #nim |
14:05:43 | * | BitPuffin joined #nim |
14:19:58 | * | ephja joined #nim |
14:30:26 | * | enamex joined #nim |
14:41:31 | * | pregressive quit (Remote host closed the connection) |
15:31:25 | * | saml_ joined #nim |
15:36:28 | * | girvo joined #nim |
15:37:54 | * | kerze quit (Read error: Connection reset by peer) |
15:39:33 | * | pregressive joined #nim |
15:41:00 | * | girvo quit (Ping timeout: 250 seconds) |
15:41:26 | * | enamex quit (Ping timeout: 250 seconds) |
16:00:21 | * | pregressive quit (Remote host closed the connection) |
16:00:45 | * | pregressive joined #nim |
16:02:22 | * | zemm quit (Ping timeout: 260 seconds) |
16:03:02 | Arrrr | coffeepot: do you know anything about this new garbage collector? |
16:03:51 | * | zemm joined #nim |
16:04:57 | Araq | hey. |
16:05:09 | Araq | it is better :P |
16:06:30 | Arrrr | Better than what? |
16:06:59 | coffeepot | hey Arrrr - no I don't! There's a new GC? |
16:08:39 | Arrrr | This is all that i know https://github.com/nim-lang/Nim/commit/a1739455d39507bb27c3a125d97ff9870037f772 |
16:09:49 | * | enamex joined #nim |
16:10:28 | * | zama quit (Ping timeout: 250 seconds) |
16:12:33 | * | Varriount-Laptop joined #nim |
16:18:42 | * | yglukhov quit (Ping timeout: 260 seconds) |
16:29:24 | * | zama joined #nim |
16:32:27 | * | strcmp1 is now known as strcmp1000 |
16:33:34 | coffeepot | interesting times! |
16:34:23 | * | exebook quit (Remote host closed the connection) |
16:36:14 | * | allan0_ joined #nim |
16:36:16 | * | pregressive quit (Remote host closed the connection) |
16:36:43 | * | pregressive joined #nim |
16:38:33 | * | allan0 quit (Ping timeout: 244 seconds) |
16:41:24 | * | gsingh93 quit (Ping timeout: 245 seconds) |
16:41:50 | * | nicktick joined #nim |
16:44:08 | * | gsingh93 joined #nim |
16:46:14 | * | nicktick quit (Ping timeout: 260 seconds) |
16:54:38 | Araq | Arrrr: it is faster |
16:57:17 | Arrrr | This GC is not the default, is it? |
16:57:37 | Araq | it will become the new default |
16:57:42 | Araq | eventually |
16:57:58 | * | nicktick joined #nim |
17:00:10 | Arrrr | I'm glad to hear that, sometimes it seems like nothing is happening, but actually there is some work in the shadows |
17:04:40 | * | OnO_ is now known as OnO |
17:05:15 | dom96 | There is always work in the shadows :P |
17:08:58 | * | Varriount-Laptop quit (Ping timeout: 250 seconds) |
17:12:59 | * | exebook joined #nim |
17:15:17 | * | Varriount-Laptop joined #nim |
17:17:04 | cryzed | I need some help being convinced... if you can put it that way. I'm primarily a Python guy (github.com/cryzed), it pretty much does everything I want. For a long time I felt like exploring other languages, and I've been considering Nim for a while. The problem is, I know that actually properly learning a new language -- to the degree that I know Python, will probably take months. Would you guys think it's fair to describe Nim as a "faster |
17:17:04 | cryzed | Python"? It certainly seems similar syntax-wise, and I quite like the idea. I've also read that Nim was designed as a language for games somewhere, but not seen any indication in the docs for that being the case. I'm not sure what I'm asking in the end really, I just would hate to waste my time on something I'll really dislike a few weeks in. Sorry if this question seems idiotic, because it certainly sounds that way to me |
17:19:04 | reactormonk | cryzed, we can only give you reassurance to try it. |
17:19:21 | cryzed | I suppose that is what I'm asking for in a roundabout way |
17:19:38 | cryzed | how have you been liking it, reactormonk? Have you published/made any bigger projects with it? |
17:20:07 | Arrrr | It is true than nim is a lot faster than python, and probably if you like python but need more speed, nim is for you. |
17:20:14 | * | Varriount-Laptop quit (Ping timeout: 250 seconds) |
17:20:20 | Arrrr | But i dont think nim is the faster cousin of python |
17:20:50 | cryzed | Ah putting it that way is of course a bit strange, I realize that they are _entirely_ different languages |
17:20:59 | cryzed | but the "if you like Python"-part speaks to me |
17:21:00 | cryzed | ;) |
17:21:03 | reactormonk | cryzed, nah, just hacked around in the language. https://github.com/nim-lang/Nim/commits?author=reactormonk |
17:21:32 | cryzed | ah :) |
17:21:43 | Arrrr | With that i dont mean that if you like python you will enjoy nim, but that if you need something close to python but faster, probably nim is the first in the queue |
17:22:14 | nchambers | nim has more distinct generators which is nice |
17:23:10 | Arrrr | Nim is strong typing where python is weak, that can show you how different they are in their soul |
17:23:37 | cryzed | Yep. Regarding tooling, do people use Aporia? |
17:23:57 | cryzed | Or is it mostly Sublime Text with the NimLime plugin? Not sure where to start |
17:24:09 | cryzed | I would love autocompletion though, especially for a new language where I'm not familiar with the stdlib |
17:24:26 | Araq | afaict sublime text or atom are the default choices now |
17:25:04 | Araq | I know for sure the atom plugin is really nice, not only giving you autocomplete but also on the fly checking |
17:25:31 | cryzed | that would be awesome if I didn't really dislike Atom. I love ST3 though, and I'll try the NimLime plugin |
17:25:54 | Araq | ok |
17:26:14 | cryzed | Araq, but thank you for the suggestion of course |
17:26:16 | cryzed | I didn't mean to be rude |
17:27:48 | reactormonk | cryzed, there's also a nim-mode for emacs |
17:29:07 | cryzed | I've never used emacs or vim, and I know that attempting to learn a new language while learning a new editor framework -- because that's what they are afaict -- would break my neck |
17:29:10 | cryzed | but thank you :) |
17:29:30 | * | yglukhov joined #nim |
17:29:59 | bbl | Araq: hard real time gc? |
17:29:59 | reactormonk | cryzed, eh, that was just some shameless self-promotion |
17:30:14 | bbl | do you have some references you base that on? |
17:30:16 | cryzed | reactormonk, ah :D |
17:30:19 | Arrrr | In my opinion, precisely because you want to learn you should avoid autocomplete features. That way you'll be forced to get familiarized with docs |
17:30:28 | cryzed | bbl, the latest commit in the nim repio |
17:30:30 | cryzed | *-i |
17:30:36 | reactormonk | Arrrr, the autocomplete gives you a nice way to look them up though |
17:30:42 | cryzed | Arrrr, ^ |
17:30:44 | bbl | cryzed: I mean technical papers |
17:30:48 | cryzed | ah ok |
17:30:56 | bbl | I don't think that kind of stuff just "comes to mind" |
17:31:15 | * | desophos joined #nim |
17:32:27 | bbl | there was a description in the file :P |
17:34:18 | * | yglukhov quit (Ping timeout: 260 seconds) |
17:35:37 | Arrrr | i dont think you are right, but maybe that's because i use notepad++ and i feel the need to justify me |
17:36:39 | pigmej | cryzed: well, In some places nim isn't faster than python |
17:36:49 | cryzed | pigmej, as in development time? |
17:37:03 | pigmej | well, pypy is damn fast |
17:37:11 | pigmej | you said python so I assume all tricks allowed |
17:37:16 | cryzed | ah, true. But the Python 3 support is shit |
17:37:20 | pigmej | also python+cffi is also fast |
17:37:23 | pigmej | python3 is shit :) |
17:37:25 | * | girvo joined #nim |
17:37:27 | pigmej | let's say this wide and open |
17:37:27 | cryzed | I disagree |
17:37:31 | cryzed | :) |
17:37:36 | pigmej | YOu have a rights to disagree :) |
17:37:45 | pigmej | I have the rights to disagree with your disagreement:p |
17:37:47 | cryzed | pigmej, why do you dislike it? |
17:37:50 | pigmej | py3 ? |
17:37:52 | cryzed | yep |
17:37:56 | cryzed | because it's slower? |
17:37:58 | pigmej | yup, worst that could happen in python wolrd |
17:38:00 | pigmej | world |
17:38:04 | cryzed | or because it split the community? |
17:38:04 | pigmej | no because it just shouldn't happen |
17:38:16 | pigmej | bad marketing, bad decisions |
17:38:24 | cryzed | bad marketing maybe, but better than bad unicode |
17:38:25 | pigmej | focus on incorrect parts of language |
17:38:37 | cryzed | and with the new asyncio stuff adaption will improve, im sure |
17:38:50 | pigmej | I hope not, asyncio should not exist |
17:39:01 | pigmej | it's just yet another a bit broken async implementation |
17:39:10 | pigmej | it's just waste of resources in current state |
17:39:22 | pigmej | instead of fixing real problems like: |
17:39:22 | pigmej | - broken packaging |
17:39:27 | pigmej | - usually broken pip |
17:39:46 | pigmej | - integration with other C libs (cffi is not a python fundation project) |
17:39:49 | pigmej | etc |
17:40:02 | cryzed | Isn't pip pretty usable with wheels? |
17:40:15 | cryzed | Packaging still isn't nice, I agree |
17:40:18 | pigmej | depends what do you mean by usable :) |
17:40:24 | cryzed | How is pip broken for you |
17:40:25 | pigmej | It crashes daily |
17:40:27 | cryzed | I've rarely run into problem |
17:40:28 | cryzed | s |
17:40:45 | pigmej | well, you can easily install 2 versions of the same package |
17:40:49 | cryzed | do you install new modules daily? I manage them with PyCharm for a new project, and that usually takes a few minutes then I'm done |
17:40:54 | pigmej | you can also easily have broken env just 'by random' error |
17:40:56 | ephja | it's slower? |
17:41:05 | cryzed | ephja, generally it's slower than Python 2 |
17:41:13 | pigmej | cryzed: the common case package X requires A>=2, but Y requires<=1.9 |
17:41:16 | ephja | in any case, the overhead often does not matter |
17:41:21 | cryzed | ephja, yep |
17:41:22 | pigmej | and you can throw a coin what will win :) |
17:41:35 | ephja | though I don't see any benefits of dynamic languages over (modern) statically typed languages |
17:41:38 | cryzed | pigmej, I'll be honest. I've never had to deal with that issue |
17:41:58 | pigmej | or milion ways to include 3rd party package path |
17:42:14 | * | girvo quit (Ping timeout: 260 seconds) |
17:42:16 | cryzed | You mean modifying sys.path at runtime etc.? |
17:42:20 | pigmej | o |
17:42:21 | pigmej | no |
17:42:30 | pigmej | I mean putting links into site-packages |
17:42:31 | cryzed | oh still talking about pip, sorry |
17:42:32 | pigmej | adding .path files |
17:42:35 | cryzed | ah |
17:42:36 | pigmej | *pth |
17:42:39 | cryzed | yes, that's very confusing |
17:42:39 | pigmej | and this things |
17:42:49 | pigmej | well, it's not confusing it's just broken by design |
17:43:08 | pigmej | and when you have egg (they still exist), and wheel and source distribution... :) |
17:43:36 | cryzed | pigmej, I agree it's really confusing. I just create a sdist when I released one of my packages and was done with it |
17:44:02 | pigmej | cryzed: that's what I mean by incorrect focus |
17:44:12 | pigmej | or type hinting which is just stupidity |
17:44:37 | cryzed | the implementation is stupid imho, the concept itself isn't necessarily. But specially formated docstrings/comments would have done just as well |
17:44:41 | cryzed | as they are it's pretty ugly |
17:45:02 | ephja | speaking of which, per-project installations with nimble would be great |
17:45:12 | pigmej | ephja: it's already av afair |
17:45:21 | pigmej | when you link to version it will include correct version |
17:45:36 | pigmej | there is one place of packages but yuo can have multiple versions |
17:46:25 | cryzed | Wait, does the windows distribution of nim ship with Mingw64? |
17:46:28 | cryzed | Why did I install it manually then :< |
17:46:43 | ephja | or maybe --nimbledir can be used for that |
17:50:19 | dom96 | I'm always curious to hear people's use cases for per-project installations. |
17:50:29 | dom96 | ephja: why do you wish for that feature? |
17:50:40 | pigmej | dom96: it's python related probably |
17:50:51 | pigmej | dom96: for me it was also "weird" |
17:51:18 | ephja | no it's probably not needed |
17:51:24 | dom96 | "<pigmej> [17:41:13] cryzed: the common case package X requires A>=2, but Y requires<=1.9" how should this problem be solved? |
17:51:55 | dom96 | pigmej: Yeah, that's why I always ask people why they feel it is necessary |
17:52:15 | pigmej | dom96: well in python it's just not solved at all |
17:52:31 | ephja | by checking the required versions and then adding the correct dir to the path? |
17:52:34 | pigmej | it will usually install both, and remove one, or maybe not, because pip is stupid |
17:52:51 | dom96 | A thing to keep in mind is that nimble handles multiple versions of the same package perfectly fine. |
17:52:54 | ephja | but perhaps it's not possible now |
17:53:01 | pigmej | and therefore for python there is `yolk` which will scan all possible ways of having packages, and show you them |
17:53:11 | dom96 | You just can't have package A depending on both Package B v0.1 and Package B v0.2 |
17:53:25 | federico3 | dom96: ...which is a good thing |
17:53:29 | pigmej | sure :) |
17:53:31 | pigmej | it's just perfect :) |
17:53:35 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
17:53:37 | dom96 | Good :) |
17:54:21 | ephja | no but two separate dependencies could |
17:54:29 | Araq | bbl: well that's just the internal name for it. |
17:54:45 | ephja | but I've never had to manage huge, complicated projects |
17:54:45 | Araq | it's not "hard" realtime, but it's not "soft" either |
17:55:33 | dom96 | ephja: yeah, but as long as a certain package is pretty flexible with its dependency specification it will be fine (>= 0.1 and >= 0.2) |
17:55:35 | Araq | so ... we need a word for it, perhaps. if you test a bit and play according to its rules it's hard realtime. |
17:55:46 | cryzed | hm the nimlime autocompletion doesn't work for st3 :< |
17:56:11 | dom96 | Once a package specifies that PackageB's version must be exactly 0.1 then bad things will happen |
17:56:19 | federico3 | many attempts of supporting multiple dependencies quickly led to horror stories in many organizations because it removes the need to keep libraries backward compatible for a reasonable time |
17:56:45 | bbl | Araq: half realtime just like boners? :D |
17:56:45 | dom96 | (I find explaining these scenarios in English incredibly difficult) |
17:58:00 | ephja | and when a new major version is released? |
17:58:09 | ephja | though it's always a good idea to have unit tests |
17:58:27 | ephja | bbl: please elaborate :p |
17:58:47 | bbl | ephja: bad joke that doesn't really translate that well |
17:59:22 | cryzed | ah my fault, I didnt install nimsuggest |
18:04:04 | cryzed | http://i.imgur.com/l0fr1iv.png any ideas? |
18:05:16 | cryzed | the directory exists, I checked |
18:05:35 | bbl | cryzed: wrong OS |
18:05:57 | cryzed | bbl, you mean nim being available for windows as binaries doesn't make it a first-class OS? |
18:06:13 | cryzed | if Windows is the wrong OS, then nim is the wrong language for me |
18:06:18 | cryzed | but I doubt that's the case |
18:06:34 | bbl | cryzed: bad joke again |
18:06:48 | cryzed | bbl, I overreacted a bit, it just seemed really snarky |
18:07:05 | cryzed | ah huh, it might be... |
18:07:05 | cryzed | wait |
18:08:29 | cryzed | I guess I'll have to check the code |
18:08:56 | dom96 | cryzed: Nim's Windows support is very good, better than Python I would say actually. |
18:09:11 | dom96 | bbl: Please don't make such jokes here. |
18:09:32 | cryzed | dom96, apparently Nimble's isn't. Hm, or maybe I have to pull the latest revision from the repo and build it manually |
18:09:50 | * | desophos_ joined #nim |
18:09:56 | bbl | dom96: yeah |
18:10:25 | cryzed | but I am using 0.6.2 |
18:10:26 | dom96 | cryzed: The latest revision sometimes contains vital fixes so it's worth a try. |
18:10:31 | cryzed | alright |
18:10:38 | dom96 | but let me take a look at your screenshot first heh |
18:10:41 | cryzed | dom96, thank you |
18:11:08 | cryzed | well compiling nimble worked |
18:12:18 | dom96 | cryzed: hrm, afraid I'm not sure. I still consider nimsuggest unstable, cloning the nimsuggest repo manually and compiling it using the file here: https://github.com/nim-lang/nimsuggest/blob/master/compile_without_nimble.nims might work better |
18:13:04 | dom96 | Sorry about that. |
18:13:30 | * | desophos quit (Ping timeout: 260 seconds) |
18:13:35 | Araq | bbl: it is supposed to be superb for games. |
18:13:53 | bbl | Araq: sounds cool :P |
18:14:32 | Araq | where you test for "acceptable" behaviour and it's not about "provable" behaviour. if you need to prove stuff, IMHO GCs are the wrong choice to begin with |
18:15:03 | Araq | since you have a hard time proving you will never run out of memory |
18:15:03 | cryzed | dom96, still thank you |
18:15:06 | * | askatasuna joined #nim |
18:15:08 | dom96 | cryzed: I would try and install it on my machine but have to leave in like 2 minutes :( |
18:15:37 | cryzed | dom96, that's alright -- I'll keep trying -- now the compile_without_nimble |
18:15:45 | cryzed | I appreciate it though, thank you very much |
18:15:52 | dom96 | cryzed: No worries! Hope you stick around! |
18:15:54 | dom96 | See you guys |
18:16:06 | cryzed | I will :) |
18:17:41 | * | yglukhov joined #nim |
18:22:31 | * | strcmp1000 is now known as strcmp1 |
18:25:25 | * | zepolen_ joined #nim |
18:27:30 | * | zepolen quit (Ping timeout: 260 seconds) |
18:33:30 | * | nicktick quit (Quit: Leaving.) |
18:34:06 | * | juanfra_ quit (Quit: juanfra_) |
18:34:32 | * | juanfra joined #nim |
18:37:17 | * | Varriount-Laptop joined #nim |
18:39:14 | * | vendethiel joined #nim |
18:42:08 | cryzed | huh, looks like the latest few commits of nimsuggest are completely broken. Functions are missing, getModule, isTracked etc. |
18:45:29 | * | boopsiesisaway is now known as boopsies |
18:47:57 | cryzed | https://github.com/nim-lang/nimsuggest/search?utf8=%E2%9C%93&q=isTracked how is it possible that everyone has managed to compile this? |
18:49:29 | ephja | Araq: could you merge with echo-flush? the patch should be correct now |
18:51:35 | ephja | are you working on interesting stuff again? :-) |
18:51:53 | cryzed | ah I found the latest compilable version here: https://github.com/nim-lang/nimsuggest/commit/22ceeb9bc59a88392221f14f14bd744462f29c25 |
18:57:21 | * | darkf quit (Quit: Leaving) |
18:59:28 | * | Varriount-Laptop quit (Ping timeout: 250 seconds) |
19:15:20 | Araq | cryzed: it requires nim devel |
19:15:27 | Araq | and for me it works |
19:15:44 | Araq | ephja: ok, let's see |
19:18:10 | * | makoLine joined #nim |
19:27:33 | * | Varriount-Laptop joined #nim |
19:28:10 | * | Yaiyan quit (Ping timeout: 260 seconds) |
19:29:10 | * | Yaiyan joined #nim |
19:31:06 | * | TylerE joined #nim |
19:31:10 | * | xificurC joined #nim |
19:32:35 | * | theduke quit (Ping timeout: 264 seconds) |
19:37:21 | * | desophos_ is now known as desophos |
19:38:04 | * | girvo joined #nim |
19:42:38 | * | girvo quit (Ping timeout: 260 seconds) |
19:44:18 | * | theduke joined #nim |
19:44:35 | * | Matthias247 joined #nim |
19:46:50 | * | gsingh93 quit (Ping timeout: 260 seconds) |
19:48:52 | * | gsingh93 joined #nim |
19:49:51 | * | brson joined #nim |
19:54:24 | * | pregressive quit (Remote host closed the connection) |
19:54:45 | * | pregressive joined #nim |
20:00:34 | * | Varriount-Laptop quit (Ping timeout: 250 seconds) |
20:01:15 | * | shodan45 joined #nim |
20:03:11 | * | theduke quit (Ping timeout: 264 seconds) |
20:10:09 | ephja | can SSL sockets be tested without paying for a certificate? |
20:11:04 | def- | ephja: you could self-sign a certificate I guess |
20:14:21 | NimBot | nim-lang/Nim devel 61086b8 Erik Johansson Andersson [+0 ±1 -0]: flush after printing |
20:14:21 | NimBot | nim-lang/Nim devel 59d1bc7 Andreas Rumpf [+0 ±1 -0]: Merge pull request #3605 from ephja/echo-flush... 2 more lines |
20:14:23 | * | gokr quit (Quit: Leaving.) |
20:14:48 | * | theduke joined #nim |
20:15:18 | * | vendethiel quit (Ping timeout: 250 seconds) |
20:15:36 | ephja | one step closer towards world domination |
20:16:13 | ephja | def-: thanks. it makes sense, and it appears to be simple |
20:18:10 | * | vendethiel joined #nim |
20:26:54 | ephja | I didn't think to look in the net module too |
20:31:46 | * | Arrrr quit (Quit: WeeChat 1.2) |
20:33:56 | * | brson quit (Ping timeout: 250 seconds) |
20:34:04 | * | brson joined #nim |
20:46:28 | * | saml_ quit (Remote host closed the connection) |
20:59:53 | * | doxavore joined #nim |
20:59:56 | * | jakesyl quit (Ping timeout: 250 seconds) |
21:01:59 | * | theduke quit (Ping timeout: 264 seconds) |
21:12:29 | * | kulelu88 joined #nim |
21:12:59 | * | jakesyl joined #nim |
21:13:52 | * | theduke joined #nim |
21:14:16 | * | zepolen joined #nim |
21:16:54 | * | zepolen_ quit (Ping timeout: 260 seconds) |
21:33:07 | * | kniteli joined #nim |
21:33:24 | * | Demon_Fox joined #nim |
21:36:18 | cryzed | Araq, how is it po |
21:36:29 | cryzed | ssible that it works for you, even with the dev version of Nim? Symbols are missing in the source files |
21:36:42 | ldlework | ephja: sure you can sign your own certs |
21:42:43 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:47:10 | * | Varriount-Laptop joined #nim |
21:52:46 | ephja | ldlework: someone answered. it seems to work |
21:59:44 | * | BitPuffin quit (Ping timeout: 250 seconds) |
22:07:43 | * | TylerE quit (Quit: Connection closed for inactivity) |
22:09:06 | Araq | cryzed: will look into it later |
22:14:43 | * | xificurC quit (Quit: WeeChat 1.3) |
22:15:20 | cryzed | I bootstrapped Nim-devel with the Nim release, now added Nim-devel\bin to my path, installed nimble with nim e install_nimble... and put the support DLLs into the bin directory |
22:15:33 | cryzed | but when I try to start nimble I get the message: could not load: (ssleay64|libssl64).dll |
22:19:05 | * | girvo joined #nim |
22:19:23 | cryzed | Any advice on this? |
22:21:12 | cryzed | Well I give up for now then |
22:21:13 | * | cryzed sighs |
22:22:39 | * | pleiosaur quit (Ping timeout: 245 seconds) |
22:23:18 | Araq | have nim 64 bits= |
22:23:20 | Araq | ? |
22:23:43 | Araq | the dlls need to be next to nimble.exe |
22:26:09 | cryzed | Araq, yep and yep |
22:26:41 | cryzed | I used the nim 64 bit download and the gcc contained within to bootstrap the Nim-devel version |
22:26:51 | cryzed | by compiling koch and then using koch to compile nim |
22:27:13 | * | shodan45 quit (Quit: Konversation terminated!) |
22:27:14 | cryzed | then I ran nim e install, downloaded the DLLs and put them next to nimble |
22:27:21 | cryzed | when attempting to run nimble I get this error |
22:30:30 | * | Varriount-Laptop quit (Ping timeout: 250 seconds) |
22:30:39 | cryzed | Araq, https://gist.github.com/cryzed/9eeea80c412f74c185fa this is what I get when running nim -v |
22:31:30 | Araq | where nimble |
22:31:48 | cryzed | It's windows, but nimble is located at: C:\Nim-devel\bin |
22:31:50 | * | pleiosaur joined #nim |
22:32:00 | cryzed | http://i.imgur.com/EfxV996.png |
22:32:28 | cryzed | ah yes, I copied the DLLs now from the original distribution over, but it also didn't work with the ones I downloaded manually |
22:34:23 | * | boopsies is now known as boopsiesisaway |
22:45:06 | * | girvo quit (Ping timeout: 260 seconds) |
22:49:46 | * | girvo joined #nim |
22:59:16 | * | yglukhov quit (Remote host closed the connection) |
23:03:02 | * | doxavore quit (Quit: I said good day, sir.) |
23:10:46 | * | vendethiel quit (Ping timeout: 260 seconds) |
23:12:47 | * | zepolen quit (Remote host closed the connection) |
23:13:14 | * | zepolen joined #nim |
23:25:47 | * | elrood quit (Quit: Leaving) |
23:28:47 | * | enamex quit (Quit: Leaving) |
23:33:08 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
23:47:10 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:49:38 | * | desophos quit (Remote host closed the connection) |
23:57:46 | * | pregressive quit (Remote host closed the connection) |
23:59:41 | * | pregressive joined #nim |
23:59:48 | * | yglukhov joined #nim |