00:01:51 | fowl | Dirkson, its an sdl color |
00:01:54 | fowl | TColor |
00:02:12 | fowl | thats nothing to do with the quadtree tho |
00:02:40 | Dirkson | Aye. I was just trying to get your code to compile and work first, though : ) And my nimrod wasn't a fan of the toSdlColor stuff |
00:03:14 | fowl | oh ok |
00:03:50 | Dirkson | Error: undeclared identifier: 'toSDLcolor' |
00:05:57 | fowl | line 108 |
00:06:04 | fowl | should be import_all_sdl2_things |
00:06:59 | Dirkson | Alrighty |
00:10:39 | Varaway | Dirkson, what OS are you using? |
00:10:44 | * | Varaway is now known as Varriount |
00:10:48 | Dirkson | Varriount: Debian |
00:10:58 | Dirkson | Varriount: Why do you ask? |
00:11:09 | Varriount | Ah, not my area of expertise then. |
00:11:24 | Dirkson | I'm confused |
00:11:37 | Varriount | Well, since most of you hard-core developers use Linux, someone has to help those who use windows |
00:11:58 | Varriount | I (and Araq) am that person |
00:15:48 | xenagi | why Windows |
00:16:02 | xenagi | *nix is where it's at :) |
00:16:10 | Varriount | Because most new programmers start off using it. |
00:16:27 | xenagi | ic |
00:16:29 | * | xenagi quit (Quit: Leaving) |
00:16:33 | Varriount | O_o |
00:22:46 | BitPuffin | but then again |
00:23:09 | BitPuffin | most people starting off using nimrod is in general not new programmers |
00:23:16 | BitPuffin | so by now they should have moved off windows :P |
00:25:41 | Varriount | BitPuffin, and if we ever want to use nimrod in an enterprise or business environment? |
00:25:52 | * | xenagi joined #nimrod |
00:26:15 | * | Varriount points to the percentage of linux users, vs windows users |
00:29:01 | BitPuffin | Varriount: RHEL? |
00:30:19 | Varriount | I'm talking small businesses |
00:30:37 | Varriount | Or government |
00:30:54 | * | Varriount has yet to see a school system which uses Linux desktops for students. |
00:30:57 | BitPuffin | Debian? |
00:33:54 | fowl | china |
00:46:18 | * | DAddYE quit (Remote host closed the connection) |
01:23:13 | * | fowl quit (Quit: Leaving) |
01:32:30 | * | zahary quit (Read error: Connection reset by peer) |
01:32:59 | * | zahary joined #nimrod |
01:39:21 | * | DAddYE joined #nimrod |
01:39:28 | * | DAddYE quit (Remote host closed the connection) |
01:39:34 | * | DAddYE joined #nimrod |
01:51:17 | * | XAMPP quit (Read error: Connection reset by peer) |
01:52:51 | * | XAMPP joined #nimrod |
02:28:54 | * | BitPuffin quit (Ping timeout: 252 seconds) |
02:54:55 | * | BitPuffin joined #nimrod |
03:06:13 | * | jamil_1 quit (Ping timeout: 246 seconds) |
03:58:36 | * | xenagi quit (Quit: Leaving) |
04:06:26 | * | BitPuffin quit (Quit: WeeChat 0.4.2) |
04:08:28 | * | OrionPK quit (Read error: Connection reset by peer) |
04:29:34 | * | dyu_ joined #nimrod |
04:59:25 | * | DAddYE quit (Remote host closed the connection) |
05:02:05 | * | DAddYE_ joined #nimrod |
05:02:35 | * | dyu_ build.nimrod-code.org is down |
05:03:55 | * | DAddYE_ quit (Remote host closed the connection) |
05:07:20 | * | DAddYE joined #nimrod |
05:11:25 | * | DAddYE quit (Ping timeout: 248 seconds) |
06:08:45 | * | DAddYE joined #nimrod |
06:13:15 | * | DAddYE quit (Ping timeout: 245 seconds) |
06:15:20 | * | DAddYE joined #nimrod |
06:20:05 | * | DAddYE quit (Ping timeout: 260 seconds) |
06:20:05 | * | q66 joined #nimrod |
06:45:45 | * | brson quit (Quit: leaving) |
08:27:46 | * | wlhlm joined #nimrod |
09:14:22 | * | Araq_ joined #nimrod |
09:43:27 | * | faassen joined #nimrod |
10:41:07 | * | dyu_ quit (Quit: Leaving) |
10:58:22 | * | jamil_1 joined #nimrod |
11:06:03 | jamil_1 | hi all |
11:06:23 | jamil_1 | I am playing with generics |
11:06:33 | jamil_1 | http://paste.ubuntu.com/6294294/ |
11:07:28 | jamil_1 | basically, a generic method with concrete type string compiles, but fails to compile when supplied an int |
11:17:43 | * | guaqua` joined #nimrod |
11:19:08 | * | guaqua quit (Ping timeout: 240 seconds) |
12:03:08 | wlhlm | wow, the nimrod repository is quite huge - 250MB @75% - is this because of large binary files? |
12:46:03 | Varriount | wlhm, if you're going by git, it's because of all the commits |
12:46:43 | Varriount | It took about 30 minutes for my laptop to download the entire repository, and most of that was getting the commit history. |
12:51:28 | * | io2 joined #nimrod |
12:53:28 | jamil_1 | http://paste.ubuntu.com/6294294/ |
12:54:24 | jamil_1 | a generic method fails with value of one type(string) but fails with value of another type(int) |
12:54:49 | wlhlm | Varriount: the number of commits is not the main reason - you can have thousands of one-line-commits and they wouldn't be 300MB in size, also all git objects are compressed, so the repo size is even more astounding. |
12:55:04 | jamil_1 | oops, succeeds with string |
12:58:09 | * | Ricky_Ricardo joined #nimrod |
13:01:39 | wlhlm | Varriount: for comparison, mpv (fork of mplayer) has a long history with more than 36,000 commits and is "only" 50MB. |
13:08:49 | Araq_ | yeah it's due to the .zip files in it, we know |
13:10:04 | Araq_ | jamil_1: 'nil' is not a valid value for 'int' and the error message is perfectly clear imo |
13:11:04 | jamil_1 | becuase string is nil(lable) while int is not ? |
13:11:04 | Araq_ | yes |
13:11:14 | Araq_ | you can use 'if not value.isNil' |
13:11:14 | Araq_ | proc isNil(x: int): bool = false |
13:11:44 | Araq_ | isNil is built-in but you can overload it for 'int' and then use that |
13:12:04 | Araq_ | seems to be a good solution, in fact |
13:14:09 | jamil_1 | Error: ambiguous identifier: 'FALSE' -- use a qualifier |
13:16:29 | jamil_1 | sorry if the problem is evident from the error message. but I am pretty new to the language (2nd day) |
13:18:09 | Araq_ | use system.false then but where did you redefine false? o.O |
13:20:09 | jamil_1 | sorry my bad |
13:20:29 | jamil_1 | it was defined by binding of glfw |
13:21:09 | jamil_1 | Araq_: is there string interpolation facility somewhere ? |
13:22:49 | jamil_1 | here is the Maybe type implemented: http://paste.ubuntu.com/6294858/ |
13:23:09 | jamil_1 | any critique is welcome |
13:27:59 | Araq_ | jamil_1: strutils.`%` and there is also "subexes" which nobody uses |
13:32:29 | Araq_ | and the glfw binding should not introduce yet another 'false' imo |
13:32:49 | Araq_ | somebody should submit a bug report for that |
13:36:04 | jamil_1 | glfw bindings are out of date. I wrote a translator from bindings for rust to nimrod |
13:36:29 | jamil_1 | rust's bindings were defining false |
13:36:49 | jamil_1 | hence the issue |
13:38:59 | * | OrionPK joined #nimrod |
13:42:59 | * | BitPuffin joined #nimrod |
13:46:24 | * | io2 quit () |
13:52:24 | Araq_ | meh, we have c2nim for binding creation |
13:52:44 | Araq_ | no need to translate rust; in general every interim step adds bugs |
13:53:04 | Araq_ | that's my experience with translating pascal wrappers anyway |
13:57:09 | * | gdos quit (Ping timeout: 245 seconds) |
13:58:39 | Araq_ | I need to go see you later |
13:58:39 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]) |
14:08:19 | * | Ricky_Ricardo quit (Quit: Ricky_Ricardo) |
14:08:39 | * | wlhlm quit (Ping timeout: 252 seconds) |
14:44:04 | * | OrionPK quit (Quit: Page closed) |
15:09:10 | jamil_1 | so whats the equivalent of void pointer? |
15:13:20 | * | wlhlm joined #nimrod |
15:19:10 | * | Endy joined #nimrod |
15:26:58 | * | fowl joined #nimrod |
15:29:24 | * | MFlamer joined #nimrod |
15:30:36 | dom96 | jamil_1: 'pointer' |
15:38:51 | wlhlm | dom96: hi, can you rename the wikipedia page from sandbox to nimrod? the page ist still visible in the "systems programming language" catagory: https://en.wikipedia.org/wiki/Category:Systems_programming_languages |
15:39:39 | wlhlm | *category |
15:40:03 | fowl | ^ |
15:40:46 | dom96 | I commented out the categories. |
15:41:17 | dom96 | If I rename it to 'Nimrod' it would probably get deleted again. |
15:41:35 | fowl | not from dom69/Nimrod |
15:41:38 | dom96 | So until we get more "reliable" references I will keep it in my sandbox. |
15:41:56 | dom96 | oh I see what you mean. |
15:42:22 | Varriount | How could we get more reliable sources? |
15:42:22 | dom96 | I think a bot would then just remove the categories anyway. |
15:42:38 | wlhlm | dom96: ok, I thought so that the page than would be more visible, but that might be aigainst wikipedias rules, so… |
15:42:48 | wlhlm | *against |
15:43:43 | wlhlm | Varriount: write a book about nimrod :P |
15:43:59 | * | q66 quit (Ping timeout: 246 seconds) |
15:44:05 | Varriount | Only if I can somehow get it to count as credits for my major. |
15:44:15 | Varriount | Or get paid for it in advance. |
15:44:39 | * | MFlamer quit (Remote host closed the connection) |
15:44:51 | dom96 | write blog posts, raise awareness, make Nimrod more popular. |
15:45:18 | * | Varriount doesn't have a blog |
15:45:25 | dom96 | make one then |
15:46:00 | wlhlm | yeah, you can use github pages! |
15:46:03 | fowl | Varriount, is your major journalism/ |
15:46:13 | Varriount | Nope. Computer Science |
15:46:55 | fowl | then you can probably get a good paper to count towards it |
15:47:17 | fowl | just gotta hustle your professors |
15:48:01 | Varriount | ? |
15:49:31 | dom96 | or make some sacrifices for the sake of Nimrod :P |
15:50:34 | fowl | lol nvm |
15:51:06 | Varriount | Easy for you to say, you aren't paying 300+ per credit hour per class. |
15:51:34 | fowl | are you paying that? |
15:51:44 | * | Varriount nods |
15:52:05 | fowl | why dont you get student loans |
15:52:21 | Varriount | You have any idea the rates they charge on those? |
15:52:39 | Varriount | I'd rather not be paying off debt for 40 years |
15:52:58 | fowl | who cares lol this economy cannot last |
15:53:05 | fowl | the word is: unsustainable |
15:53:24 | fowl | Varriount, what do you look for when picking a college? (I want to go) |
15:53:47 | Varriount | Flexible classes and good transfer programs |
15:54:19 | fowl | whats that mean, flexible class |
15:54:29 | fowl | private final class Foo {}; ? |
15:54:37 | Varriount | -_- |
15:54:44 | fowl | being serious tho |
15:54:48 | fowl | whats a flexible class |
15:55:10 | Varriount | One that has a wide choice of hours/schedules. |
15:55:23 | Varriount | discard retrieveFowl() |
15:55:36 | fowl | ok |
15:55:43 | dom96 | Varriount: How much do you pay for uni? |
15:55:56 | Varriount | Can't say off the top of my head. |
15:56:14 | * | dom96 has no other choice but to take a loan |
15:56:29 | * | Varriount has parents who save college funds. |
15:56:33 | dom96 | I have a feeling that UK unis are cheaper than the US ones though. |
15:56:56 | * | q66 joined #nimrod |
15:57:10 | Varriount | Probably. I've had friends in Ireland and London whove gone to Uni |
16:05:32 | * | krusipo Feals bad for living in a country with state-funded unis and government student loans |
16:06:22 | Varriount | Meh, I have a better life than many, and am thankful for it, debt and all. |
16:06:43 | dom96 | krusipo: what country is that? |
16:06:59 | krusipo | dom96: Sweden |
16:09:38 | fowl | krusipo, I heard that the police there can just cap you for any small infraction |
16:10:26 | * | gdos joined #nimrod |
16:11:36 | * | shodan45 quit (Quit: Konversation terminated!) |
16:12:00 | * | shodan45 joined #nimrod |
16:14:55 | krusipo | fowl: Nah, but theres lots of fun giggles about sweden when reading internet sources. |
16:16:24 | * | io2 joined #nimrod |
16:20:47 | Varriount | krusipo, be honest - what do people living in Sweden (Swedes?) think of Americans/America? |
16:24:27 | * | MFlamer joined #nimrod |
16:26:58 | krusipo | Varriount, The general honest hive mind (ofcourse not applying to all individuals) of swedes often view the american society and its people as lacking in sanity and careless in its obligations to the rest of the world. |
16:27:37 | Varriount | Hm... |
16:27:47 | Varriount | Yep, you're pretty much spot on. |
16:28:06 | Varriount | I blam it on our puritanical roots. |
16:28:10 | Varriount | *blame |
16:29:21 | Varriount | krusipo, unfortunately/fortunately, not enough history is taught in schools for the general American populace to form an opinion on Sweden |
16:29:22 | * | Hannibal_Smith joined #nimrod |
16:31:31 | fowl | i didnt even know i had obligations to the rest of the world |
16:31:41 | fowl | its like, im here, and you're there, and thats ok |
16:32:02 | * | fowl careless |
16:32:04 | krusipo | Varriount, Understandable we dont expect it either :) |
16:44:01 | * | Associat0r quit (Quit: Associat0r) |
16:46:52 | * | OrionPK joined #nimrod |
16:55:37 | * | Endy quit (Quit: HydraIRC -> http://www.hydrairc.com <-) |
17:00:44 | * | brson joined #nimrod |
17:06:35 | * | dyu joined #nimrod |
17:06:45 | * | Boscop quit (Read error: Connection reset by peer) |
17:07:07 | * | Boscop joined #nimrod |
17:07:23 | * | DAddYE joined #nimrod |
17:07:28 | * | DAddYE quit (Remote host closed the connection) |
17:07:42 | * | DAddYE joined #nimrod |
17:07:43 | * | DAddYE quit (Remote host closed the connection) |
17:08:19 | * | DAddYE joined #nimrod |
17:41:01 | MFlamer | It will be awsome to have pattern matching, I've been trying to create a template or macro to do this my self actually |
17:42:44 | * | dyu quit (Quit: Leaving) |
17:49:53 | dom96 | MFlamer: Did you ever get 'babel install' to work? |
17:50:16 | MFlamer | not yet, but I havent tried very hard either |
17:50:30 | MFlamer | It builds, but wont install |
17:53:06 | * | capisce quit (Changing host) |
17:53:06 | * | capisce joined #nimrod |
17:53:33 | MFlamer | why do I need to build and then install? It seems like install is also building it |
17:54:14 | dom96 | You don't need to. It's optional. |
17:56:16 | * | gdos quit (Ping timeout: 246 seconds) |
17:57:03 | dom96 | however, I think I see the problem. |
18:00:49 | NimBot | nimrod-code/babel master 181c840 Dominik Picheta [+0 ±1 -0]: Fixed the format of the compiler command being executed. |
18:00:53 | dom96 | MFlamer: Try it now please. |
18:03:49 | NimBot | Araq/Nimrod master e4e7530 Dominik Picheta [+0 ±1 -0]: Fixed asyncio crash when sending buffered data after connection was terminated. |
18:11:38 | reactormonk | dom96, https://github.com/Araq/Nimrod/commit/e4e7530078381eebb7aaa331a25f0f6a4475b9b7#diff-786a469224c53df2a2a155629f422893R246 conditions \o/ |
18:12:40 | dom96 | ? |
18:15:13 | reactormonk | dom96, sounds like you want conditions. |
18:15:17 | reactormonk | for error handling. |
18:15:39 | MFlamer | now it wont build either |
18:15:46 | OrionPK | whats "ESSL"? dont think it's defined |
18:16:04 | fowl | lol |
18:16:21 | OrionPK | pure\asyncio.nim(244, 18) Error: undeclared identifier: 'ESSL' |
18:16:27 | dom96 | ugh |
18:16:31 | dom96 | you're right |
18:17:08 | MFlamer | but, I dont think it matters because I have the exe from last time and it works |
18:17:31 | MFlamer | I'll just add to my path and be done with it? |
18:17:50 | MFlamer | I just ran babel update and it did its thing |
18:19:25 | NimBot | Araq/Nimrod master 5daa5b7 Dominik Picheta [+0 ±1 -0]: Fixed breaking changes introduced by the last commit. |
18:19:52 | dom96 | MFlamer: It won't build now? what. Why not? |
18:22:09 | MFlamer | nevermind, builds fine. Still fails on the install though |
18:22:44 | MFlamer | what does install do? |
18:22:54 | dom96 | it compiles babel in release mode |
18:29:59 | * | MFlamer quit (Remote host closed the connection) |
18:39:17 | * | MFlamer joined #nimrod |
18:42:27 | MFlamer | so if I just build babel in release mode and add the exe to my path, I should be good to go? |
18:46:16 | fowl | dont add exe to path |
18:46:23 | fowl | ./babel install babel |
18:46:28 | fowl | add ~/.babel/bin to path |
18:51:27 | Zor_ | Araq: poke |
18:52:24 | Varriount | Zor_, didn't you read the sign? |
18:52:41 | Varriount | Don't poke the developers. They bite. |
18:52:52 | Varriount | :p |
18:53:02 | dom96 | fowl: His problem is that he can't install it. |
18:53:09 | * | fowl quit (Read error: Connection reset by peer) |
18:53:42 | MFlamer | got it |
18:54:11 | dom96 | MFlamer: If you can't install babel then I doubt installing other binary packages will work |
18:54:17 | dom96 | which is a bit of a problem |
18:54:45 | MFlamer | babel install babel workes |
18:55:28 | MFlamer | the repo says "babel install" which failes for me |
18:55:53 | zanget | why does babel get installed to ~/.babel/bin instead of ~/bin? |
18:56:37 | MFlamer | as long as git is in my path, "babel install babel" downloaded, build and installed |
18:57:07 | dom96 | MFlamer: please try to figure out why 'babel install' doesn't work, it sounds like a bug :\ |
18:57:22 | dom96 | zanget: because that's where all babel packages reside |
18:57:40 | * | zahary1 joined #nimrod |
18:57:47 | * | zahary quit (Read error: Connection reset by peer) |
18:57:57 | zanget | oh ok |
18:58:00 | MFlamer | whats the difference between "babel install babel" and "babel install" |
18:58:09 | * | zanget still needs to install it |
19:02:20 | dom96 | MFlamer: the former downloads it from the git repo and then installs it, the latter installs whatever is in the current directory |
19:02:36 | MFlamer | ah |
19:09:21 | * | fowl joined #nimrod |
19:09:41 | Zor_ | anyone know where the nimrod compiler determines the points to insert ref inc/dec instructions? |
19:10:30 | Varriount | You could look in the nimcache |
19:59:05 | Araq | Zor_: the algorithm is called "deferred reference counting", so refs on the stack are not counted. It's mostly statically determined whether it's a stack location or not. |
20:01:07 | Araq | reactormonk, MFlamer: IMO a lockfree hash table should be part of the stdlib, not some Babel module |
20:06:31 | MFlamer | ok, I will not move it then |
20:06:55 | MFlamer | It should go with the other tables |
20:07:36 | Araq | yeah |
20:43:46 | * | Hannibal_Smith quit (Quit: Sto andando via) |
20:50:31 | * | faassen quit (Quit: Leaving.) |
21:00:37 | dom96 | Araq: Could you check if 'babel install' fails for you too? |
21:01:32 | Araq | it worked the last time I tried; what's changed since then? |
21:01:49 | dom96 | Nothing AFAIK |
21:06:19 | * | q66 quit (Ping timeout: 246 seconds) |
21:08:36 | dom96 | Araq: Try it again please. |
21:09:52 | Araq | will do tomorrow |
21:12:31 | * | jamil_1|2 joined #nimrod |
21:14:22 | * | jamil_1 quit (Ping timeout: 246 seconds) |
21:16:45 | reactormonk | Araq, ok. |
21:19:02 | * | q66 joined #nimrod |
21:37:41 | * | OrionPK quit (Quit: Page closed) |
21:42:43 | * | Associat0r joined #nimrod |
21:46:15 | * | XAMPP quit (Ping timeout: 272 seconds) |
22:08:45 | * | MFlamer quit (Read error: Connection reset by peer) |
22:10:13 | * | MFlamer joined #nimrod |
22:12:52 | * | Dirkson quit (Ping timeout: 272 seconds) |
22:16:14 | * | Dirkson joined #nimrod |
22:19:46 | * | io2 quit () |
22:28:58 | * | fowl quit (Quit: Leaving) |
22:30:05 | MFlamer | should the following ever work in nimrod proc foo[T,S](x: T[S]) = ........ ? |
22:31:16 | MFlamer | abstracting over a generic. I think this is what thay call "higher kinded types" |
22:36:39 | * | OrionPK joined #nimrod |
22:36:48 | * | fowl joined #nimrod |
22:45:09 | MFlamer | actually, a higher kinded type is just a type that takes a type. I guess this would be abstraction over higher kinded types |
22:46:25 | * | zanget quit (Remote host closed the connection) |
22:46:44 | * | zanget joined #nimrod |
22:49:50 | MFlamer | not even sure if that is actually useful right now. Seems like I've wanted to do this in the past and couldnt get it to work... |
22:55:34 | fowl | MFlamer, try it |
22:56:29 | fowl | doesnt work for me |
22:57:30 | MFlamer | Error: internal error: (filename: semtypes.nim, line: 832) |
22:58:26 | MFlamer | proc foo[T,S,U](x: T[S], f: proc(y: S): U): T[U] = f(x) |
23:04:54 | MFlamer | I gotta take the time to learn more about the compiler. |
23:09:20 | MFlamer | ok, this is useful. Now I remember why. It's described in this paper. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.112.6348&rep=rep1&type=pdf |
23:10:42 | MFlamer | apply a function to the types in a container and gaurantee the same type of container (or functor) will be returned |
23:15:36 | * | wlhlm quit (Ping timeout: 245 seconds) |
23:21:49 | fowl | ok |
23:21:57 | fowl | cya |
23:21:59 | * | fowl quit (Quit: Leaving) |
23:37:44 | * | q66 quit (Quit: Leaving) |