00:01:58 | * | Var|Mobile joined #nim |
00:02:27 | * | brson quit (Ping timeout: 246 seconds) |
00:02:30 | * | Var|Mobile quit (Read error: Connection reset by peer) |
00:02:50 | * | Var|Mobile joined #nim |
00:02:51 | * | Var|Mobile quit (Read error: Connection reset by peer) |
00:08:48 | * | reem quit (Remote host closed the connection) |
00:10:32 | ekarlso | flaviu: get any layout fixes ? : p |
00:10:58 | * | johnsoft quit (Ping timeout: 244 seconds) |
00:11:31 | * | johnsoft joined #nim |
00:12:06 | * | reem joined #nim |
00:15:14 | * | BlaXpirit_ quit (Quit: Quit Konversation) |
00:18:11 | akiradeveloper | Araq: thanks. it works, maybe |
00:21:37 | flaviu | ekarlso: chicken is pretty delicious. Not sure that you can do anything with that advice :P |
00:21:41 | flaviu | Working on it now. |
00:27:35 | ekarlso | dom96: just for curiousity |
00:27:44 | ekarlso | I wonder if you should deprecate --ver for "list" |
00:27:59 | ekarlso | it might end up querying alot of packages :| |
00:28:14 | dom96 | yeah, which is why it's not on by default |
00:28:22 | ekarlso | :P |
00:29:08 | ekarlso | dom96: now a question, assuming a user is using both registry and packages.json at the same time... should it display from both sources at once ? : | |
00:31:06 | dom96 | for now, no. |
00:31:10 | dom96 | keep it simple |
00:32:50 | flaviu | dom96: Also, how about running a small "dist" test suite on installation? |
00:33:00 | flaviu | Short and basic sanity checks. |
00:33:32 | dom96 | Create an issue on github for that |
00:35:45 | flaviu | done: https://github.com/nim-lang/nimble/issues/95 |
00:36:17 | ekarlso | hmmms, how to determine if a user is using a registry or not -,,- |
00:37:33 | dom96 | ekarlso: Maybe it would be easier if you just left the implementation to me? |
00:39:02 | flaviu | ekarlso: It's not working for me, I get a 404 from Jester when I access http://localhost:3000/ |
00:40:40 | flaviu | my bad, sorry |
00:41:29 | flaviu | Did filwit disappear again? |
00:42:05 | ekarlso | filwit ? |
00:42:08 | Araq | I know I know I'm a crank, but ... why should nimble run tests? what do you do when these fail? try anyway? |
00:42:22 | Araq | cause that's what I would do |
00:43:08 | Araq | I will try to *use* it anyway and that is already the test that matters |
00:44:11 | flaviu | My idea is for the tests to be really basic. |
00:44:24 | flaviu | Does it compile and run the basic example? Pass. |
00:44:29 | Araq | but what does that mean? |
00:44:39 | Araq | I install it to compile stuff anyway |
00:45:01 | Araq | I don't install it in order to not use it |
00:45:11 | flaviu | Say I'm installing a library that depends on some other stuff. If the sanity tests fail on one dependency, I know where to look for the problem. |
00:45:12 | * | Demon_Fox quit (Quit: Leaving) |
00:46:03 | flaviu | Say I'm installing a new library and I have no idea what I'm doing. If the sanity test fails, I know it's not my fault things are broken. |
00:46:23 | Araq | yeah but you can run these things *after* something failed |
00:46:34 | Araq | you don't need to run them upfront |
00:46:48 | flaviu | They cost nearly nothing to run. |
00:47:21 | Araq | do you check the battery life before calling someone? |
00:48:06 | flaviu | I'm not sure what that's supposed to mean. |
00:49:35 | * | Demon_Fox joined #nim |
00:50:13 | * | vendethiel quit (Ping timeout: 264 seconds) |
00:50:38 | dom96 | I agree with Araq. |
00:50:45 | dom96 | We can have a "test" subcommand |
00:50:58 | dom96 | but performing tests on installation doesn't sound useful |
00:51:24 | ekarlso | thnx for the faith lol dom96 :p |
00:52:10 | Araq | flaviu: people will make nimble run *all* the tests anyway. |
00:52:22 | Araq | you cannot tell everybody to only include "basic" tests |
00:52:27 | Araq | whatever that should mean |
00:52:39 | Araq | and so Nimble will run the tests |
00:52:46 | Araq | 3 out of 20 fail |
00:52:56 | Araq | and I ignore them happily |
00:53:05 | Araq | if I can, that is |
00:54:30 | flaviu | dom96: That's acceptable. Although I would like if there was also a nimble install --test |
00:54:50 | flaviu | For the insane people like me who want to run tests upon installation. |
00:55:59 | dom96 | flaviu: I would like to only maintain the things in Nimble that are truly necessary. |
00:56:12 | * | nande joined #nim |
00:56:18 | Araq | flaviu: the first command for Maven that I had to look up was "how do I disable tests" |
00:56:28 | flaviu | dom96: Well, recursively running tests is no fun. |
00:57:59 | dom96 | flaviu: Nimble's API is exposed, you can easily write a thing that does that for you. |
01:02:40 | Araq | good night |
01:05:12 | * | gtrundle quit (Quit: Bye) |
01:08:40 | * | vendethiel joined #nim |
01:09:21 | ekarlso | dom96: https://github.com/ekarlso/nimble/tree/registry |
01:09:23 | ekarlso | updated |
01:09:30 | ekarlso | looking better ? |
01:17:31 | * | sillesta6433 quit (Ping timeout: 255 seconds) |
01:30:19 | * | akiradeveloper quit (Remote host closed the connection) |
01:31:42 | * | vendethiel quit (Ping timeout: 246 seconds) |
01:34:46 | * | no_name quit (Remote host closed the connection) |
01:38:07 | * | akiradeveloper joined #nim |
01:38:24 | * | akiradeveloper quit (Client Quit) |
01:42:02 | * | saml_ joined #nim |
01:46:50 | * | panzone joined #nim |
01:51:12 | * | panzone quit (Ping timeout: 244 seconds) |
02:06:35 | * | vendethiel joined #nim |
02:22:39 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
02:32:20 | * | tschmid joined #nim |
02:39:58 | * | vendethiel quit (Ping timeout: 245 seconds) |
02:49:20 | * | VinceAddons quit (Read error: Connection reset by peer) |
02:51:44 | * | tschmid quit (Quit: leaving) |
02:58:05 | * | vendethiel joined #nim |
03:03:08 | * | saml_ quit (Quit: Leaving) |
03:04:33 | * | blackicebird joined #nim |
03:08:46 | * | darkf joined #nim |
03:15:23 | * | OnwardEuler quit (Ping timeout: 252 seconds) |
03:19:49 | * | vendethiel quit (Ping timeout: 265 seconds) |
03:21:27 | * | vendethiel joined #nim |
03:21:53 | * | ehaliewicz quit (Ping timeout: 246 seconds) |
03:30:16 | * | kapil__ joined #nim |
03:35:39 | * | blackicebird quit (Quit: Leaving) |
03:35:52 | * | leon joined #nim |
03:36:16 | * | leon is now known as Guest510 |
03:39:44 | * | Guest510 is now known as leonlee |
03:40:41 | * | EXetoC quit (Ping timeout: 252 seconds) |
03:40:48 | * | leonlee quit (Quit: Leaving) |
03:41:00 | * | leonlee joined #nim |
03:42:50 | * | vendethiel quit (Ping timeout: 264 seconds) |
03:52:55 | * | Demos joined #nim |
04:05:53 | * | brson joined #nim |
04:13:47 | * | saml_ joined #nim |
04:20:00 | * | vendethiel joined #nim |
04:26:59 | * | Demos quit (Ping timeout: 246 seconds) |
04:39:25 | * | nande quit (Remote host closed the connection) |
04:40:08 | * | gunn_ joined #nim |
04:40:23 | * | gunn quit (Ping timeout: 250 seconds) |
04:40:35 | * | flyx|znc joined #nim |
04:41:13 | * | kashyap_ quit (Ping timeout: 246 seconds) |
04:41:59 | * | flyx quit (Read error: Connection reset by peer) |
04:41:59 | * | flyx|znc is now known as flyx |
04:42:53 | * | vendethiel quit (Ping timeout: 245 seconds) |
05:04:15 | * | kashyap_ joined #nim |
05:11:00 | * | vendethiel joined #nim |
05:15:31 | * | brson quit (Ping timeout: 264 seconds) |
05:21:41 | * | saml_ quit (Quit: Leaving) |
05:33:13 | * | vendethiel quit (Ping timeout: 256 seconds) |
05:36:14 | * | milosn quit (Ping timeout: 264 seconds) |
05:37:32 | * | milosn joined #nim |
05:40:14 | * | vendethiel joined #nim |
05:40:15 | * | jefus_ joined #nim |
05:44:03 | * | ARCADIVS joined #nim |
05:44:13 | * | jefus quit (Ping timeout: 264 seconds) |
05:45:03 | * | BlaXpirit joined #nim |
05:49:43 | * | reem quit (Remote host closed the connection) |
05:51:51 | * | reem joined #nim |
06:01:11 | * | vendethiel quit (Ping timeout: 246 seconds) |
06:15:14 | * | woadwarrior joined #nim |
06:15:15 | * | bjz joined #nim |
06:17:43 | * | vendethiel joined #nim |
06:20:27 | * | bjz quit (Ping timeout: 246 seconds) |
06:25:39 | * | reem quit (Remote host closed the connection) |
06:37:54 | * | reem joined #nim |
06:39:37 | * | vendethiel quit (Ping timeout: 252 seconds) |
06:43:28 | * | vendethiel joined #nim |
06:45:46 | * | bjz joined #nim |
06:52:22 | * | BlaXpirit quit (Quit: Quit Konversation) |
06:57:21 | * | reem quit (Remote host closed the connection) |
06:58:46 | * | panzone joined #nim |
07:00:55 | * | panzone quit (Remote host closed the connection) |
07:02:10 | * | panzone joined #nim |
07:02:25 | * | reem joined #nim |
07:06:35 | * | vendethiel quit (Ping timeout: 246 seconds) |
07:07:17 | * | reem quit (Ping timeout: 250 seconds) |
07:10:54 | * | gokr_ quit (Remote host closed the connection) |
07:12:02 | * | gokr_ joined #nim |
07:12:27 | * | vendethiel joined #nim |
07:13:55 | * | gokr_ quit (Client Quit) |
07:15:51 | * | panzone quit (Remote host closed the connection) |
07:18:58 | * | reem joined #nim |
07:36:28 | * | vendethiel quit (Ping timeout: 265 seconds) |
07:41:18 | * | chemist69 joined #nim |
07:44:13 | leonlee | hi, i'm trying build nim on unbuntu, which recommend gcc version? |
07:45:07 | fowlmouth | leonlee, you have options? |
07:46:04 | leonlee | git clone -b master git://github.com/Araq/Nim.git |
07:46:11 | fowlmouth | leonlee, use devel branch |
07:46:30 | fowlmouth | and the latest gcc you can get |
07:46:40 | leonlee | sorry, my current gcc version is 4.6.3 |
07:47:01 | leonlee | Do i need to update it to 4.9? |
07:47:48 | * | vendethiel joined #nim |
07:48:01 | fowlmouth | leonlee, do you have an error or something? any gcc version is fine, nim doesnt target gcc, it targets c |
07:48:32 | fowlmouth | so you need a version of gcc that can compile c code |
07:48:52 | leonlee | yes, i met some errors: |
07:49:13 | leonlee | leon@ws-svr:~/lab/nim4c$ gcc -o m -Inimcache -I/home/leon/opt/nim/lib nimcache/*.c mth.c |
07:49:13 | leonlee | nimcache/system.c: In function ‘allocinv_34409’: |
07:49:13 | leonlee | nimcache/system.c:7867:10: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘NI’ [-Wformat=] |
07:49:13 | leonlee | printf("%ld %p\012", (*it).Zerofield, it); |
07:49:13 | leonlee | ^ |
07:49:20 | leonlee | nimcache/system.c: In function ‘writecell_49018’: |
07:49:22 | leonlee | nimcache/system.c:8330:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘NI’ [-Wformat=] |
07:49:25 | fowlmouth | stop |
07:49:25 | leonlee | fprintf(stdout, "[GC] %s: %p %d rc=%ld; color=%ld\012", msg, c, kind, (NI)((NU64)((*c).Refcount) >> (NU64)(3)), (NI)((*c).Refcount & 3)); |
07:49:30 | leonlee | ^ |
07:49:32 | leonlee | nimcache/system.c:8330:2: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘long long int’ [-Wformat=] |
07:49:33 | fowlmouth | dont paste in here |
07:49:35 | leonlee | nimcache/system.c:8330:2: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘NI’ [-Wformat=] |
07:49:38 | fowlmouth | hh |
07:49:38 | leonlee | system.c:(.text+0xffbb): undefined reference to `dlclose' |
07:49:40 | leonlee | system.c:(.text+0xffe6): undefined reference to `dlopen' |
07:49:42 | leonlee | system.c:(.text+0x1001b): undefined reference to `dlsym' |
07:49:44 | leonlee | collect2: error: ld returned 1 exit status |
07:49:49 | leonlee | sorry, let me try pastbin |
07:50:03 | fowlmouth | did you use branch master or devel |
07:50:17 | leonlee | im in China, pastbin was blocked by Great Wall Firewall |
07:50:29 | leonlee | devel branch |
07:50:30 | fowlmouth | try gist.github.com |
07:52:17 | leonlee | ok |
07:56:44 | leonlee | https://gist.github.com/b3a8ec6a675b5dc11beb.git |
07:57:01 | leonlee | im following http://nim-lang.org/backends.html#backend-code-calling-nim |
07:57:58 | fowlmouth | why are you are manually invoking gcc? |
07:59:05 | leonlee | the tutorial guide me |
08:00:40 | fowlmouth | boot strapping instructions are here https://github.com/Araq/Nim#compiling |
08:01:00 | leonlee | I'm newbie, not understand it actually. |
08:01:31 | * | reem quit (Remote host closed the connection) |
08:03:16 | leonlee | how to uninstall nim that installed by koch install? maybe my installation is broken. |
08:07:39 | fowlmouth | im not sure i can help you, stick around for a bit because its morning in europe more people will be here |
08:08:48 | leonlee | ok, thanks, i will try it on another host. |
08:08:55 | fowlmouth | to uninstall delete the files that were put there in installation |
08:09:36 | leonlee | I have deleted the bin of nim and .nimble under ~ |
08:10:18 | leonlee | it's gone now, let me install again |
08:11:09 | * | reem joined #nim |
08:11:42 | * | vendethiel quit (Ping timeout: 250 seconds) |
08:13:54 | gokr | Hey |
08:14:25 | gokr | leonlee: Its better to not "install" Nim at all, just point your path to the bin dir in the Nim dir, that's enough. |
08:14:48 | * | dumdum joined #nim |
08:15:05 | leonlee | ok, i will try this way |
08:15:06 | gokr | That way you can have several Nims. In fact, I made a softlink to the nim executable, and switch that softlink around to be able to use different Nims (devel, master etc). |
08:15:53 | gokr | Also, I wrote an article on the bootstrapping process - if you are curious on how it works. All my articles are here: http://goran.krampe.se/category/nim |
08:16:05 | leonlee | great, likes erln8, it's really helpful for multi-version |
08:16:27 | gokr | The nim executable will find everything else relative to its own position. |
08:16:44 | gokr | If you install it - then... things get more complicated :) |
08:17:11 | leonlee | ok |
08:17:15 | gokr | So... did you bootstrap successfully or? |
08:17:34 | gokr | If you use "-b devel" then you also need to use "-b devel" for the csources clone |
08:17:38 | leonlee | clone not finished, 95% now |
08:17:54 | leonlee | im on master now |
08:18:04 | gokr | Ok, as long as you use the same branch for csources. |
08:18:17 | leonlee | got it |
08:18:21 | fowlmouth | use devel branch for both |
08:18:30 | gokr | Yeah, I would also use devel :) |
08:18:35 | fowlmouth | devel branch is the default branch btw, so if you didnt specify, it should be devel |
08:18:41 | gokr | It is? |
08:18:41 | fowlmouth | (for nim and csources repos) |
08:19:44 | leonlee | im following Bootstrapping Nim(rod), thanks gokr |
08:19:58 | gokr | This is going to be... an interesting day. Got some fellas coming here to drill a 240m hole into the bedrock. |
08:20:36 | gokr | About 10 meters from where I sit and work. Hehe... I think its going to get loud. |
08:21:05 | gokr | leonlee: So... how come you noticed Nim? |
08:21:17 | gokr | Just curious, since there is a big influx right now. |
08:21:29 | gokr | Me myself is quite fresh here too. |
08:25:05 | leonlee | Yeah, it's interesting. Im using erlang for gaming server, but block with some performance problem, then i try to move the part to c codes by NIF, but im not familiar with c, then i tred Vala and ooc, but finally i met Nim by some guys suggestions on stackoverflow.com |
08:25:26 | leonlee | mobile game, not PC game. |
08:28:20 | * | Demon_Fox quit (Quit: Leaving) |
08:28:47 | Araq | leonlee: for uninstalling there is an uninstall.sh script |
08:28:55 | leonlee | The syntax is really comfortable of Nim, after i read the article of Dennis Felsing, i realize nim is a good choice for my situation. |
08:29:50 | leonlee | it's done, than you araq |
08:30:21 | * | vendethiel joined #nim |
08:30:22 | leonlee | most guys prefer Luajit, but I prefer static typing lang |
08:34:56 | * | skyfex_ quit (Quit: (null)) |
08:38:44 | leonlee | Are there some guides on how to use clang with nim? |
08:40:25 | gokr | You mean instead of gcc? |
08:40:59 | leonlee | yes |
08:41:21 | gokr | I think you just... set it in a config, where is that page now... |
08:41:52 | leonlee | let me find it out |
08:41:59 | def- | leonlee: just write "nim c --cc:clang file" |
08:42:26 | gokr | You have this page (from docs on homepage): http://nim-lang.org/nimc.html |
08:42:36 | gokr | But... I recall some other page... |
08:42:41 | leonlee | wow, then clang come, thank u guys |
08:43:38 | def- | leonlee: and you can change your default to clang in Nim's config/nim.cfg |
08:44:03 | gokr | def-: That's the page I am looking for... |
08:45:29 | leonlee | i didn't bootstrap yet, i will try it later |
08:45:55 | gokr | Ah, bottom of the FAQ: http://nim-lang.org/question.html |
08:46:36 | gokr | Also, I am slightly confused about which doc pages are on the homepage, and which are not. I guess its just a selected few? |
08:47:11 | gokr | Like say http://nim-lang.org/backend.html |
08:47:26 | gokr | Ehm http://nim-lang.org/backends.html |
08:51:50 | leonlee | yeah, got it |
08:51:50 | * | vendethiel quit (Ping timeout: 264 seconds) |
08:52:38 | gokr | Ah, right, the homepage is generated by "koch" and uses the tools/nimweb.nim tool to do it. And simply picks selected parts of docs via ... web/nim.ini |
08:58:26 | gokr | Ha, generated pdfs. Neato. |
09:02:55 | * | arc619 joined #nim |
09:05:52 | * | woadwarrior quit (Ping timeout: 250 seconds) |
09:12:57 | Araq | should we move the pragmas listed in nimc.html into the manual? |
09:13:00 | * | [CBR]Unspoken quit (Remote host closed the connection) |
09:13:36 | Araq | the idea was to cleanly distinguish between the spec and things that are implementation specific |
09:14:08 | Araq | but it's only confusing that the manual misses some pragmas, I think |
09:14:18 | gokr | Yeah, I would agree. |
09:16:19 | gokr | Ehm... "LLVM backend"? |
09:18:16 | Araq | why the "ehm"? |
09:18:26 | gokr | So... we have a LLVM backend? |
09:18:40 | Araq | no. |
09:18:46 | * | kashyap_ quit (Ping timeout: 246 seconds) |
09:19:09 | Araq | work on the LLVM backend has been abandoned |
09:19:27 | gokr | Ah, ok. Then perhaps we can strike the "Note:" bits in: http://nim-lang.org/nimc.html |
09:19:31 | gokr | (search for LLVM) |
09:19:36 | * | kuzy000_ joined #nim |
09:20:03 | gokr | Although it does say "will" ;) |
09:20:10 | Araq | yeah exactly |
09:20:22 | Araq | it's perfectly clear |
09:20:24 | gokr | Hehe |
09:30:30 | fowlmouth | if you change a variable's meaning you should also change its name, right? |
09:30:45 | ekarlso | dom96: morning |
09:32:50 | Araq | fowlmouth: no, you should decouple a variable's name from its meaning. |
09:33:52 | Triplefox | if you can't get them in sync, the name should be intentionally disposable |
09:34:44 | * | reem quit (Remote host closed the connection) |
09:35:21 | * | vendethiel joined #nim |
09:38:42 | fowlmouth | Araq, name all variables a1,a2,..? |
09:41:43 | * | BlaXpirit joined #nim |
09:43:42 | Araq | fowlmouth: well you know that's what I do ;-) |
09:45:16 | * | reem joined #nim |
09:47:50 | * | Trustable joined #nim |
09:50:40 | * | davidhq joined #nim |
09:51:08 | * | NimBot joined #nim |
09:55:26 | * | gsingh93 quit (Quit: Connection closed for inactivity) |
09:55:46 | * | davidhq quit (Quit: Textual IRC Client: www.textualapp.com) |
09:58:54 | * | davidhq joined #nim |
09:59:31 | * | vendethiel quit (Ping timeout: 265 seconds) |
10:00:55 | * | leonlee quit (Ping timeout: 250 seconds) |
10:02:15 | * | VinceAddons joined #nim |
10:21:40 | ekarlso | .eval var foo = @[1,2,3]; foo &= @[4,5,6] |
10:21:49 | ekarlso | stupid bot.. |
10:22:31 | ekarlso | what's the best way to extend list a with list b ? |
10:25:21 | Araq | add |
10:26:02 | ekarlso | can u foo.add(bar) ? |
10:26:19 | BlaXpirit | yes |
10:26:28 | ekarlso | I mean, if bar is a seq |
10:26:34 | BlaXpirit | yes |
10:26:39 | BlaXpirit | it's in the doc... |
10:26:43 | ekarlso | ok |
10:26:45 | * | reem quit (Remote host closed the connection) |
10:26:46 | ekarlso | :p |
10:29:52 | * | reem joined #nim |
10:35:58 | * | ARCADIVS quit (Quit: ARCADIVS) |
10:40:35 | * | sillesta6433 joined #nim |
10:55:32 | * | vendethiel joined #nim |
10:55:41 | * | BlaXpirit quit (Quit: Quit Konversation) |
10:56:48 | * | kashyap_ joined #nim |
10:59:24 | kashyap_ | Hi, is {.threadvar.} pragma supposed to insert __thread in the generated C? It does not seem to do it. |
11:01:00 | Araq | kashyap_: it does with --threads:on |
11:05:16 | * | [CBR]Unspoken joined #nim |
11:06:15 | * | woadwarrior joined #nim |
11:18:34 | * | wb quit (Ping timeout: 245 seconds) |
11:19:10 | * | kashyap_ quit (Ping timeout: 246 seconds) |
11:20:04 | * | vendethiel quit (Ping timeout: 255 seconds) |
11:20:32 | * | wb joined #nim |
11:23:22 | * | vendethiel joined #nim |
11:25:04 | * | kashyap_ joined #nim |
11:25:27 | kashyap_ | Araq_ I believe --threads:on is not an option for kernel right? |
11:26:07 | kashyap_ | or perhaps have some kind of stub GC? |
11:33:24 | kashyap_ | Araq? |
11:33:54 | Araq | kashyap_: it's never been tested, but it should work just fine |
11:34:15 | Araq | --threads:on doesn't imply anything with --gc |
11:34:38 | kashyap_ | I get the undefined "initGC" with threads on |
11:35:21 | kashyap_ | undeclared sorry |
11:35:38 | kashyap_ | lib/system/threads.nim(216, 4) Error: undeclared identifier: 'initGC' |
11:44:40 | * | dvdplm joined #nim |
11:45:49 | * | sillesta6433 is now known as sillesta |
11:45:53 | dvdplm | Hello! New to Nim. Struggling to find out how to generate random numbers. |
11:46:23 | dvdplm | I need 16 random bytes for an IV and I’d like them to be of “cryptographic quality”. |
11:47:01 | dvdplm | I tried to `nimbler install random` but it fails with an “Unsatisified dependency: num (>= 0.10.3)” |
11:51:12 | flaviu | I think the author might have made a typo |
11:53:39 | dvdplm | Should I simply go with `math.randomize()` and `math.random()`? |
11:56:41 | * | no_name joined #nim |
11:57:25 | * | Jehan_ joined #nim |
12:03:09 | * | wb quit (Ping timeout: 245 seconds) |
12:04:20 | * | Jehan_ quit (Quit: Leaving) |
12:06:22 | Araq | dvdplm: no, you really MUST not use these for anything that's not a toy |
12:07:02 | dvdplm | @araq: :( Yeah, that’s what I reckoned. This is for an IV. |
12:07:30 | dvdplm | I’m looking for something like this (in Ruby): `OpenSSL::Random.random_bytes(16)` |
12:09:18 | * | wb joined #nim |
12:09:35 | * | kashyap_ quit (Quit: Page closed) |
12:09:37 | Araq | kashyap_: in system.nim disable the line include "system/threads" |
12:09:55 | * | kashyap_ joined #nim |
12:09:57 | Araq | dvdplm: install the random package by hand then |
12:11:06 | kashyap_ | Araq is there a workaround the "undeclared initGC" problem? |
12:11:16 | Araq | kashyap_: in system.nim disable the line include "system/threads" |
12:12:13 | kashyap_ | is that something that can go into nim proper too? |
12:12:52 | kashyap_ | I mean, I'd prefer not to have a "custom nim" for the kernel :) |
12:14:04 | kashyap_ | I am anyway using the devel branch ... |
12:22:38 | kashyap_ | Not quite sure what happened but removing the include does get rid of the error and the kernel builds with __thread appropriately |
12:23:39 | kashyap_ | I presume, in the Nim source that include needs to be there right? |
12:25:00 | Araq | kashyap_: of course it'll go into proper Nim |
12:25:15 | Araq | do I need to submit things in realtime now? |
12:28:41 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:31:17 | * | vendethiel quit (Ping timeout: 265 seconds) |
12:31:19 | kashyap_ | :) not at all - happy to hear |
12:32:02 | kashyap_ | excellent .. I'll close todays bug and open a new one for this one for tracking ? |
12:32:21 | Araq | today's bug is still valid |
12:32:38 | kashyap_ | oh I see ... I open a new one then |
12:32:49 | Araq | ok |
12:41:49 | * | vendethiel joined #nim |
12:42:03 | * | johnsoft quit (Ping timeout: 245 seconds) |
12:43:04 | * | dvdplm quit (Quit: dvdplm) |
12:43:18 | * | johnsoft joined #nim |
12:45:45 | * | LinuxLefty joined #nim |
12:47:56 | ekarlso | dom96: you about ? |
12:50:00 | ekarlso | anyways, I updated the branch |
12:50:41 | ekarlso | still needs a bit of a cleanup but |
12:50:42 | * | bjz quit (Ping timeout: 245 seconds) |
12:58:08 | ekarlso | flaviu: did yo uget anywhere with the patch ? |
13:11:05 | * | dumdum quit (Ping timeout: 256 seconds) |
13:13:40 | * | arthurKN joined #nim |
13:13:52 | * | arthurKN left #nim (#nim) |
13:20:59 | * | bjz joined #nim |
13:24:41 | * | vendethiel quit (Ping timeout: 256 seconds) |
13:26:35 | * | Jehan_ joined #nim |
13:27:15 | * | EXetoC joined #nim |
13:28:33 | * | vendethiel joined #nim |
13:39:52 | * | kashyap_ quit (Ping timeout: 246 seconds) |
13:54:51 | * | davidhq joined #nim |
14:00:44 | * | jefus_ is now known as jefus |
14:01:14 | * | dumdum joined #nim |
14:03:24 | * | flaviu quit (Remote host closed the connection) |
14:53:04 | * | woadwarrior quit (Quit: quit) |
15:03:34 | * | Xorama joined #nim |
15:05:03 | Xorama | proc test(x: string): string = var v: string = x, "asdf" return v echo(test("39")) |
15:05:11 | Xorama | Why does this not work? |
15:15:56 | Jehan_ | Hard to tell without indentation, but what is the ', "asdf"' meant to accomplish? |
15:16:42 | Xorama | Yes I always get the error invalid indentation |
15:16:59 | Xorama | But my indentation is correct, I think |
15:17:24 | Jehan_ | What I tried to say is that I can only guess at what your code looks like because I'm not seeing how it's indented. |
15:17:53 | Jehan_ | But my guess is that you simply need to remove the , "asdf". |
15:18:28 | Xorama | Yes. If I remove the "asdf" it works |
15:18:44 | Xorama | But I want to return 39asdf |
15:19:08 | Jehan_ | Well, "," is not string concatenation. |
15:19:21 | Xorama | Oh |
15:19:22 | Jehan_ | Use "&" instead. |
15:19:47 | Jehan_ | Without the quotes, of course. |
15:19:51 | Xorama | Thank you |
15:19:54 | Xorama | Now it works |
15:20:25 | vegai | are there some other languages where & is string concat? |
15:23:01 | Jehan_ | Ada, Modula-3. Various BASIC dialects. |
15:24:36 | * | DecoPerson joined #nim |
15:25:51 | vegai | ok |
15:25:56 | DecoPerson | howdy! |
15:26:00 | EXetoC | was it "echo x, y" that made you think it would work? they are actually separate arguments |
15:26:01 | DecoPerson | any ideas on this? https://gist.github.com/Deco/6dbc81ae3e05e038792d |
15:27:55 | EXetoC | that might be referring to code that isn't included |
15:29:04 | EXetoC | ok I get that error message when I define the type |
15:29:45 | DecoPerson | updated the gist with SSCCE: https://gist.github.com/Deco/6dbc81ae3e05e038792d |
15:32:16 | Jehan_ | You have template parameters with the same names as object constructor elements. |
15:32:40 | Jehan_ | The code expands to MatD[float](4: 4, 4: 4). |
15:32:52 | EXetoC | but those are ints |
15:32:57 | EXetoC | and that doesn't seem to be the problem |
15:33:25 | Jehan_ | It does, MatD[float](4: 4, 4: 4) isn't valid Nim. |
15:34:34 | DecoPerson | thanks, that fixed the problem https://gist.github.com/Deco/6dbc81ae3e05e038792d |
15:35:05 | EXetoC | but this works "proc matD[T](n,m: int): MatD[T] = MatD[T](n: 4, m: 4)" |
15:35:47 | EXetoC | Jehan_: doesn't that apply only to expr? |
15:36:02 | Jehan_ | EXetoC: Because procs don't do substitution. |
15:36:25 | EXetoC | then why does the above code work? |
15:36:35 | Jehan_ | It's a proc, not a template. |
15:37:56 | DecoPerson | If I had a `matC` proc that defined a constant matrix, it'd be as fast as a template as long as it's {.inline.}, right? (and in release mode) |
15:38:03 | Jehan_ | A template is a macro; it does not know much about its contents, it basically generates/transforms an AST. The proc can distinguish between whether an "n" is a variable/parameter or part of an object constructor because it has semantic information. |
15:38:13 | Jehan_ | DecoPerson: Depends. |
15:38:39 | Jehan_ | {.inline.} makes sure that the code is generated such that the C compiler backend can actually inline the code. |
15:38:55 | Jehan_ | Whether the backend does so depends on the C compiler and some parameters. |
15:39:09 | DecoPerson | But doesn't guarantee LLVM will inline it... phooey |
15:39:15 | DecoPerson | templates it is then |
15:39:30 | Jehan_ | Yup. Templates are basically for inlining at the Nim level. |
15:40:01 | Jehan_ | Well, among other things. They have multiple applications, but this is one of them. |
15:43:13 | EXetoC | one day I'll remember these things.. |
15:44:20 | * | EXetoC quit (Quit: WeeChat 1.1.1) |
15:44:32 | DecoPerson | Everything I've tried to experiment with in Nim, I've hit a roadblock and said "this language sucks" |
15:44:42 | DecoPerson | and then realised Nim has a far better way than I expected |
15:44:52 | DecoPerson | and said "wow", e.g: https://gist.github.com/Deco/2a7dfd4ba64076f52e8e |
15:45:06 | * | davidhq quit (Ping timeout: 244 seconds) |
15:46:28 | DecoPerson | hmm.. how would I denote an arbitrarily-sized array? |
15:47:39 | Jehan_ | seq[T]? |
15:48:02 | DecoPerson | but seq stores the size, which I don't need |
15:48:50 | DecoPerson | I need the equivalent of a malloc/realloc array |
15:51:02 | Jehan_ | Well, malloc() also stores the size, you just don't see it. That said, if you absolutely want to avoid the fixed-size overhead, you will have to basically roll your own restricted version of seq using unchecked arrays. |
15:51:31 | Jehan_ | Unless you know the size at compile time and it doesn't change, in which case there are alternative solutions. |
15:52:00 | * | gsingh93 joined #nim |
15:53:16 | * | davidhq joined #nim |
15:56:27 | gmpreussner|work | quick question on constructor procs: does the newXYZ() convention expect instances to be created on the heap, or is it used for stack allocation as well? i haven't found consistent usage in the stdlib. |
15:57:26 | gokr | gmpreussner|work: I think for stack you use initXYZ |
15:57:41 | gmpreussner|work | ah ok |
15:58:14 | * | DecoPerson quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:21:13 | * | Xorama quit (Ping timeout: 246 seconds) |
16:31:17 | Araq | hrm we have way too many test categories |
16:31:28 | Araq | stdlib vs collections vs tables ? |
16:33:15 | * | darkf quit (Quit: Leaving) |
16:36:28 | arc619 | why are tables in their own unit vs collections, just out of interest? |
16:39:40 | arc619 | er, ignore me sorry thought there was a collections unit, oops. |
16:41:25 | * | davidhq_ joined #nim |
16:41:54 | * | chemist69 quit (Quit: leaving) |
16:42:38 | * | davidhq_ quit (Max SendQ exceeded) |
16:43:18 | * | davidhq quit (Ping timeout: 245 seconds) |
16:43:53 | * | reem quit (Remote host closed the connection) |
16:45:35 | * | davidhq joined #nim |
17:02:44 | * | brson joined #nim |
17:05:19 | * | arc619 quit (Ping timeout: 246 seconds) |
17:12:00 | * | pafmaf joined #nim |
17:22:40 | * | Varriount|Busy joined #nim |
17:22:56 | Varriount|Busy | >_> |
17:24:01 | ldlework | <_< |
17:40:28 | * | jefus_ joined #nim |
17:44:13 | * | jefus quit (Ping timeout: 264 seconds) |
17:48:34 | * | Matthias247 joined #nim |
17:49:24 | * | dvdplm joined #nim |
17:55:24 | Araq | dom96: don't we have an implementation of fsmonitor for windows? |
17:56:39 | dom96 | Araq: Varriount|Busy created one IIRC |
18:07:38 | * | LinuxLefty left #nim (#nim) |
18:14:59 | gokr | dvdplm: Did you see: https://github.com/Varriount/nimrod-random |
18:21:36 | Varriount|Busy | Araq: Yes, I created one. |
18:22:14 | Varriount|Busy | Araq: Eh, that's not originally my repository - it's been forked from Blaxspirit |
18:24:45 | Varriount|Busy | Araq: I wonder, do you think for the next Nim release, we should use profile-guided optimization to make the compiler even faster? |
18:25:54 | def- | Varriount|Busy: have you tried it, how much faster is it? |
18:26:35 | Varriount|Busy | def-: I haven't tried it yet. I was thinking of running a instrumented version of Nim off the test suite |
18:26:45 | * | Jesin quit (Quit: Leaving) |
18:30:33 | * | Jesin joined #nim |
18:52:06 | * | dvdplm quit (Quit: dvdplm) |
18:53:03 | * | UberLambda joined #nim |
18:56:09 | * | BlaXpirit joined #nim |
19:00:09 | * | dvdplm joined #nim |
19:01:39 | * | alexruf joined #nim |
19:04:49 | * | askatasuna joined #nim |
19:06:38 | * | OnwardEuler joined #nim |
19:07:31 | * | Jessin joined #nim |
19:10:55 | * | Jesin quit (Ping timeout: 252 seconds) |
19:12:07 | * | Jessin quit (Client Quit) |
19:13:27 | * | jefus_ is now known as jefus |
19:15:02 | ekarlso | dom96: you tharr ? :) |
19:15:24 | * | Jesin joined #nim |
19:48:27 | * | gmpreussner|work quit (Ping timeout: 244 seconds) |
19:49:59 | * | Varriount|Busy quit (Quit: Page closed) |
19:50:17 | dom96 | ekarlso: Please just ask me if you have a question instead of asking if i'm here. |
19:50:26 | dom96 | *ask me the question |
19:52:57 | ekarlso | dom96: sure, i posted a new change, care to look ? |
19:53:09 | dom96 | ekarlso: Can't right now. |
19:53:13 | dom96 | I'll look later. |
19:53:37 | ekarlso | dom96: kk |
19:58:45 | * | gmpreussner|work joined #nim |
20:17:22 | * | Boscop joined #nim |
20:17:22 | * | Boscop quit (Changing host) |
20:17:22 | * | Boscop joined #nim |
20:18:55 | * | Boscop_ quit (Ping timeout: 256 seconds) |
20:20:22 | * | nande joined #nim |
20:26:17 | * | dumdum quit (Ping timeout: 256 seconds) |
20:32:09 | * | Mat4 joined #nim |
20:32:13 | Mat4 | hello |
20:38:20 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
20:38:40 | dvdplm | @gokr yes, it refuses to install with `Unsatisfied dependency: nim (>= 0.10.3)` |
20:41:43 | def- | dvdplm: i guess you need to bootstrap the devel compiler then |
20:41:46 | def- | https://github.com/araq/nim |
20:42:06 | def- | or wait until 0.10.4 is released |
20:42:33 | dvdplm | @def …or ask BalXpirit to fix it? |
20:42:57 | def- | i think there's a bug in 0.10.2 so it doesn't work with it |
20:43:07 | dvdplm | ah, I see. :/ |
20:43:11 | dvdplm | bummer |
20:43:34 | def- | bootstrapping is really easy though, takes only 2 minutes |
20:44:05 | BlaXpirit | hi |
20:44:06 | dvdplm | :) |
20:44:24 | dvdplm | Hi! Just the man I was looking for. :) |
20:45:36 | * | Jesin quit (Quit: Leaving) |
20:45:48 | BlaXpirit | well i replied on github |
20:45:58 | BlaXpirit | there is a workaround to make it work on 0.10.2 |
20:46:08 | BlaXpirit | but no, that's not a typo i made |
20:47:04 | dvdplm | giotcha, reading the github issue comment now |
20:47:15 | dvdplm | PErhaps something to put in the readme too? |
20:47:35 | dvdplm | Either way, many thanks, I’ll go with installing devel version |
20:48:29 | Mat4 | I've seen the SDL2 wrapper is actualized ? |
20:48:38 | BlaXpirit | is what? |
20:49:58 | Mat4 | compiles with the recent Nim version |
20:50:04 | BlaXpirit | oh |
20:52:57 | Mat4 | at least I hope so |
20:53:55 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
20:54:12 | def- | Mat4: yes, worked last i tried |
20:54:37 | Mat4 | thanks |
21:03:27 | def- | Anyone know any Googlers interested in Nim? |
21:04:01 | ekarlso | has google shown interest ? |
21:05:25 | def- | I'm asking because of GSoC 2015 |
21:05:34 | def- | https://github.com/Araq/Nim/wiki/GSoC-2015-Ideas |
21:05:51 | Jehan_ | I have no idea how their internal decision process works. |
21:06:23 | Jehan_ | I suspect that even if you know somebody there, chances are that that person is not even remotely involved. |
21:07:05 | Jehan_ | If you just want to know what they are looking for, I suspect you may be able to find stuff on the web more readily. |
21:07:14 | def- | the response from last year was: |
21:07:15 | def- | <carols> for next year i'd say take a couple ideas off the page and flesh out the ones you have there |
21:07:19 | def- | <carols> and find someone to vouch for you :-) |
21:07:58 | def- | Jehan_: are you interested in mentoring any projects? |
21:08:35 | Jehan_ | def-: I don't have the time right now. :( |
21:09:11 | ekarlso | def-: sorry ot have killed it |
21:09:21 | ekarlso | but the online compiler thingie I already have partially done :p |
21:09:26 | def- | ekarlso: that's great =) |
21:09:57 | ekarlso | just gotta finish it up and get it hosted :p |
21:10:08 | def- | will you be able to run it from anywhere? |
21:10:22 | ekarlso | def-: how you mean ? |
21:10:22 | def- | or do you have to go to the website to use it? |
21:10:24 | * | Matthias247 quit (Quit: Matthias247) |
21:10:31 | def- | can i embed some nim examples into my website with it? |
21:10:53 | ekarlso | it's a REST api with a js / html front |
21:11:04 | def- | sounds like a yes |
21:11:29 | ekarlso | :D |
21:17:50 | * | gmpreussner|work quit (Ping timeout: 244 seconds) |
21:18:38 | * | gmpreussner|work joined #nim |
21:22:45 | * | dvdplm quit (Quit: dvdplm) |
21:24:45 | * | Jesin joined #nim |
21:25:34 | * | dvdplm joined #nim |
21:26:40 | ekarlso | def-: bad thing to use bootstrap for that too ? :p |
21:26:59 | def- | bootstrap, the web thing? |
21:27:05 | def- | i don't know much about that |
21:27:17 | ekarlso | :P |
21:32:53 | gokr | GSOC is quite a lot of work |
21:33:44 | def- | gokr: indeed, i hope it will work out |
21:33:47 | gokr | Pharo has done it before, I was slightly involved, but... there was a lot of work. |
21:34:18 | gokr | If anyone here is interested I can always check with those who handled it there - to see how much work it really is. |
21:34:19 | def- | i think it's definitely worth it if we can get some people interested in nim and building cool new stuff in nim |
21:34:45 | ekarlso | one thing I would like to see would be a std lib for http stuff |
21:34:47 | ekarlso | like responses etc |
21:35:45 | gokr | It should be achievable in 12 weeks, by students with limited experience of Nim (probably). Its 8-9 days before application is due. |
21:35:56 | gokr | (reading from the conversation on pharo-dev) |
21:36:12 | def- | it's application for the organizations now, not for students |
21:36:23 | gokr | Yes |
21:37:19 | def- | and why only students with limited experience in nim? |
21:37:25 | dom96 | It's definitely worth it. We've got students here (myself included) who would love to work on Nim over the summer for $$. |
21:37:28 | def- | maybe we have some students here already who would be interested |
21:37:28 | gokr | So what they do first (Pharo) is for people to brainstorm ideas - but only ideas that you are prepared to mentor. |
21:37:42 | gokr | Remember - mentors needed. |
21:37:47 | ekarlso | hmmm |
21:38:07 | ekarlso | is there any js thing or so for highlighting that supports nim |
21:38:14 | def- | ekarlso: yes, highlight.js |
21:38:34 | def- | but pygments for python looks nicer, i think |
21:38:58 | * | dvdplm quit (Quit: dvdplm) |
21:39:10 | * | UberLambda quit (Read error: Connection reset by peer) |
21:39:57 | def- | We need a few more mentors I think |
21:40:01 | dom96 | ekarlso: httpclient should be improved if anything |
21:40:19 | ekarlso | wondering to use angularjs or smth else this time :p |
21:40:52 | gokr | Also, from my experience... most of the GSOC projects end up... in the bit bucket in the skye. |
21:41:24 | gokr | Not that that should discourage anyone, but its what I have seen. |
21:41:37 | gokr | 12 weeks go awfully fast if you first need to learn a new language etc. |
21:42:01 | Araq | well but the volunteers likely already know Nim? |
21:42:16 | gokr | Sure, but still. |
21:42:28 | def- | gokr: well, for one the main purpose of gsoc is not to help the project, but to get students more involved with open source and learn something |
21:42:34 | gokr | Most of the volunteers for the Smalltalk GSOCs also knew Smalltalk. |
21:42:44 | Araq | they don't have to learn anything, our instructions are so good, it's all just finger exercises ;-) |
21:42:48 | gokr | It was still hard for them to deliver - although many applicants looked very sharp. |
21:42:54 | ekarlso | meh, sucks ace doesn't have support for nim :( |
21:43:11 | * | bjz joined #nim |
21:43:12 | Araq | and we only have simple tasks anyway |
21:43:26 | gokr | Yeah, I am just relaying what I have seen. I like GSOC. |
21:43:34 | Araq | </irony off> |
21:43:50 | gokr | There may be some umbrella org that Nim could fit under? |
21:44:12 | * | bjz quit (Client Quit) |
21:44:13 | def- | gokr: sure, ask mozilla if they want to sponsor Nim! |
21:44:16 | * | whitenoise joined #nim |
21:44:20 | gokr | Hehe |
21:44:39 | whitenoise | ldlework told me to join this channel, because he told me about Nim and I have decided that it is worth giving a serious go. |
21:44:55 | Araq | hi whitenoise welcome |
21:45:00 | whitenoise | hello |
21:45:36 | gokr | whitenoise: Where do you want to start? |
21:45:53 | * | askatasuna quit (Quit: WeeChat 1.1.1) |
21:46:33 | whitenoise | gokr: oh, well, currently i'm working on quite a low-level project that does a lot of syscall hooks into the Linux kernel, and Nim seems to be able to just directly import all of those libraries so that I'll have an easier time there. In addition, I have an embedded system project right now as well for a drone. |
21:46:50 | whitenoise | which will be a different architecture, but i think the cross compiler can take care of me there |
21:47:46 | gokr | So I guess you should do the bootstrap and use "-b devel" - and play with c2nim. |
21:48:18 | whitenoise | -b devel = unstable branch of Nim? |
21:48:34 | gokr | Yeah, so... on the Download tab - there is a few lines to show you how to bootstrap. |
21:48:45 | gokr | Make sure to use "-b devel" on both csources clone and Nim clone. |
21:48:54 | whitenoise | gotcha |
21:49:08 | gokr | if you want to read about what happens, see http://goran.krampe.se/category/nim (find the Bootstrapping article there) |
21:49:33 | gokr | then don't bother "installing" - just make sure you can run bin/nim (a softlink works fine) |
21:49:48 | gokr | nim (the compiler) will find everything relative to itself. |
21:49:52 | whitenoise | excellent, thanks. i bookmarked the blog |
21:49:58 | * | dvdplm joined #nim |
21:50:02 | whitenoise | i'm actually at work atm, so unfortunately i can't take off at the moment |
21:50:09 | gokr | No prob |
21:50:25 | gokr | And for all the more complicated questions - listen to Araq :) |
21:50:28 | whitenoise | but a helpful community is ++ |
21:50:31 | whitenoise | aha, i see :P |
21:50:51 | gokr | I am fairly new here too - but this community is very friendly IMHO |
21:50:52 | ekarlso | clang: error: unknown argument: '-fstack-protector-strong' |
21:50:57 | ekarlso | anyone know how to fix that ? :p |
21:51:44 | def- | ekarlso: what clang version is that? |
21:51:45 | gokr | An extra dash? |
21:52:17 | def- | ekarlso: because my clang knows -fstack-protector-strong (3.5.1) |
21:53:01 | ekarlso | Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4) |
21:54:04 | gokr | ekarlso: Seems to be too old clang: https://bugs.freedesktop.org/show_bug.cgi?id=75010 |
21:54:18 | ekarlso | yeh |
21:54:21 | def- | strange that nim depends on such a new clang version |
21:56:04 | ekarlso | not nim |
21:56:06 | ekarlso | :p |
21:57:17 | * | superfunc|lab joined #nim |
22:00:25 | ekarlso | any good thing for sandboxing processes ? |
22:01:08 | ldlework | ekarlso: from a security perspective, or a cleanliness perspective? |
22:01:21 | ldlework | VMs for the former, Containers for the later. |
22:01:34 | ekarlso | ldlework: I mean for something like a nim play site |
22:01:44 | ldlework | My answer stands. |
22:03:58 | ekarlso | :/ |
22:05:57 | ekarlso | docker ? :p |
22:09:49 | def- | ekarlso: hm, isn't a simple sandbox/jail good enough? |
22:10:19 | ldlework | ekarlso: Docker shouldn't be used for security purposes. |
22:10:48 | def- | I wouldn't trust the server anyway that runs untrusted Nim snippets all day |
22:11:28 | ekarlso | def-: any program that does that ? |
22:11:36 | def- | ekarlso: maybe playpen: https://github.com/thestinger/playpen |
22:11:55 | ldlework | +1 |
22:12:02 | ekarlso | yeah, that was what I was trying |
22:12:05 | ekarlso | but it's not compiling |
22:12:16 | def- | compile with gcc? |
22:12:35 | dom96 | Perhaps AppArmor is the way to go? |
22:12:35 | ekarlso | how -,,- |
22:12:43 | def- | ekarlso: ha, doesn't compile for me either |
22:12:44 | dom96 | or SELinux? |
22:12:53 | def- | ekarlso: i guess it requires clang 3.5 and systemd |
22:14:17 | def- | ekarlso: are you planning to run it on some server? Maybe you could install a linux distribution which fullfills the dependencies of playpen |
22:15:20 | ekarlso | def-: I got access to a openstack cloud so running it there ;P |
22:15:24 | ekarlso | all for free :P |
22:15:42 | dom96 | I knew a guy who used SELinux for this sort of stuff. |
22:15:46 | ekarlso | /usr/bin/ld: cannot find -lsystemd |
22:15:53 | ldlework | dom96: yeah unfortunately all that stuff is very complicated |
22:16:03 | ldlework | both SELinux and AppArmor |
22:16:15 | ekarlso | selinux is ubercomplicated :p |
22:16:24 | ekarlso | u can take a rh course for 1-2 weeks about it |
22:16:28 | def- | i think playpen will be the easiest, other projects use it too, like https://play.rust-lang.org/ http://tryerl.seriyps.ru/ |
22:16:57 | def- | ekarlso: can't switch to another distribution? |
22:17:09 | ekarlso | which one :/ |
22:17:19 | * | kuzy000_ quit (Ping timeout: 245 seconds) |
22:17:28 | saml | archlinux |
22:17:45 | ekarlso | not on the list :p |
22:17:50 | ekarlso | newest is 14.04 :| |
22:18:45 | def- | fedora, opensuse, mandriva, archlinux, redhat should work |
22:19:11 | ekarlso | why you think they are better ? |
22:19:18 | def- | they have systemd |
22:19:25 | ekarlso | ubuntu does too .. |
22:19:27 | def- | no |
22:19:40 | ekarlso | ok, fine i'll try centos 7 |
22:19:49 | def- | debian jessie should also work |
22:20:13 | whitenoise | dom96: what's this? what are you trying to figure out the right tool for? |
22:20:43 | dom96 | whitenoise: a try-nim site. |
22:20:46 | Mat4 | as side remark, in future one will have difficulties finding a Linux distribution which does not integrate systemd |
22:20:48 | whitenoise | ah |
22:21:45 | ekarlso | I like these servers -,,- |
22:21:48 | ekarlso | ssd's :D |
22:21:51 | ekarlso | meep meep |
22:24:18 | ldlework | Mat4: let's hope you're wrong |
22:24:44 | whitenoise | i mean, everyone should be running selinux or one of the alternatives. |
22:25:08 | * | alexruf quit (Quit: Textual IRC Client: www.textualapp.com) |
22:25:09 | whitenoise | but that's probably off-topic here. |
22:25:19 | ldlework | whitenoise: I did mention there is #nim-offtopic :) |
22:27:34 | * | superfun1|lab joined #nim |
22:30:01 | ekarlso | great, clang on centos7 is a stoneage old |
22:30:05 | * | Matthias247 joined #nim |
22:30:11 | ekarlso | 3.4.x :( |
22:30:15 | ekarlso | fml |
22:30:20 | ekarlso | any other ideas ? :P |
22:31:23 | BlaXpirit | opensuse? |
22:32:04 | Mat4 | FreeBSD |
22:32:24 | BlaXpirit | ... |
22:32:33 | BlaXpirit | Mat4 pls |
22:33:11 | * | pafmaf quit (Quit: This computer has gone to sleep) |
22:33:34 | BlaXpirit | aren't we looking for something that has systemd |
22:37:49 | def- | ekarlso: maybe you can update it? |
22:38:39 | ekarlso | def-: fedora 20 maybe.. |
22:39:39 | * | lyro quit (Quit: WeeChat 0.4.3) |
22:39:56 | def- | i only see clang 3.5 for fedora 21 |
22:39:58 | ldlework | Ask the Rust community? |
22:40:07 | * | lyro joined #nim |
22:40:25 | def- | ah no, you can get it from here directly: http://llvm.org/releases/download.html |
22:40:38 | BlaXpirit | meh |
22:40:46 | BlaXpirit | just install a decent distro |
22:41:13 | BlaXpirit | even ubuntu 15.04 would do |
22:41:23 | BlaXpirit | probably |
22:46:55 | ekarlso | archlinux going up :P |
22:47:06 | ekarlso | found out I had image upload access so :p |
22:47:55 | BlaXpirit | congrats |
23:00:03 | * | vendethiel quit (Ping timeout: 246 seconds) |
23:02:00 | * | federico3 quit (Quit: leaving) |
23:05:23 | * | vendethiel joined #nim |
23:16:20 | * | yonson joined #nim |
23:16:37 | Mat4 | ciao |
23:16:43 | * | Mat4 quit (Quit: Verlassend) |
23:22:20 | * | Trustable quit (Ping timeout: 265 seconds) |
23:24:39 | * | sillesta quit (Ping timeout: 252 seconds) |
23:25:26 | * | Jehan_ quit (Quit: Leaving) |
23:27:48 | * | sillesta joined #nim |
23:33:59 | * | dvdplm quit (Quit: dvdplm) |
23:35:57 | * | Demon_Fox joined #nim |
23:38:19 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:44:00 | * | Demon_Fox quit (Quit: Leaving) |
23:45:14 | * | Demon_Fox joined #nim |
23:51:18 | * | flaviu joined #nim |
23:57:30 | * | BlaXpirit quit (Quit: Quit Konversation) |