00:02:22 | * | brson quit (Ping timeout: 245 seconds) |
00:09:45 | * | vendethiel quit (Ping timeout: 252 seconds) |
00:10:52 | * | vendethiel joined #nim |
00:11:07 | * | Trustable quit (Quit: Leaving) |
00:13:48 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:24:38 | Mat4-coding | ciao |
00:24:56 | * | Mat4-coding quit (Quit: Verlassend) |
00:31:57 | * | vendethiel quit (Ping timeout: 246 seconds) |
00:32:20 | onionhammer | Araq repro.py reproduces the issue i was running into |
00:32:36 | onionhammer | the behavior seems to vary a lot depending on which project file you choose |
00:32:38 | Araq | onionhammer: excellent |
00:32:59 | * | vendethiel joined #nim |
00:33:05 | Araq | can you give the lnk again plz? |
00:33:09 | onionhammer | sure |
00:33:33 | onionhammer | https://github.com/onionhammer/onion-nimrod/tree/master/tests |
00:33:42 | onionhammer | you need that whole directory really |
00:38:06 | Araq | so ... it works much better now than before? |
00:38:23 | Araq | or still unusable? |
00:42:41 | onionhammer | it works much better now for sure |
00:43:25 | onionhammer | but its still a bit flakey because you initialize it for differnet files and it behaves very differently |
00:43:30 | onionhammer | even if all the files are in the same directory |
00:43:40 | onionhammer | flakey in that regard i guess |
00:44:27 | Araq | well there is still a bug with this "consider it a graph" idea |
00:44:41 | Araq | I think |
00:44:42 | onionhammer | also you can see if you run repro.py |
00:44:44 | onionhammer | def-: skTypelist.NodeNode/Users/erikoleary/Documents/onion-nimrod/tests/list.nim44"" |
00:44:59 | onionhammer | def "/Users/erikoleary/Documents/onion-nimrod/tests/list.nim":15:22 comes back with a response once |
00:45:11 | onionhammer | but then it gives no result subesequent tries |
00:49:00 | * | Jesin joined #nim |
00:53:41 | Araq | well I cannot run python, so I can't test it. |
00:53:49 | Araq | (just kidding) |
00:54:05 | Araq | seriously, I will look at it later, have some more pressing stuff to fix |
00:56:09 | * | reem quit (Remote host closed the connection) |
00:56:13 | * | springbok quit (Ping timeout: 245 seconds) |
00:56:41 | * | reem joined #nim |
00:57:05 | * | VinceAddons quit (Read error: Connection reset by peer) |
01:00:48 | * | reem quit (Ping timeout: 245 seconds) |
01:11:14 | onionhammer | sure thanks |
01:13:06 | * | reem joined #nim |
01:13:35 | * | brson joined #nim |
01:15:14 | * | vendethiel quit (Ping timeout: 245 seconds) |
01:17:40 | * | vendethiel joined #nim |
01:39:26 | * | vendethiel quit (Ping timeout: 265 seconds) |
01:41:26 | * | vendethiel joined #nim |
01:49:48 | * | Demon_Fox joined #nim |
01:51:10 | * | superfunc|lab joined #nim |
02:04:20 | * | darkf joined #nim |
02:07:05 | * | gsingh93 joined #nim |
02:12:49 | * | JinShil joined #nim |
02:17:57 | * | davidhq joined #nim |
02:21:13 | * | syrobee joined #nim |
02:24:53 | * | vendethiel quit (Ping timeout: 252 seconds) |
02:29:50 | * | vendethiel joined #nim |
02:30:36 | * | kapil__ joined #nim |
02:32:32 | * | flaviu quit (Read error: Connection reset by peer) |
02:33:05 | * | keyle quit (Quit: leaving) |
02:35:48 | * | flaviu joined #nim |
02:41:27 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
02:43:44 | * | Demon_Fox quit (Ping timeout: 252 seconds) |
02:45:02 | * | Demon_Fox joined #nim |
02:51:05 | * | joecodes joined #nim |
02:51:39 | * | brson quit (Ping timeout: 252 seconds) |
02:54:35 | * | jefus quit (Ping timeout: 252 seconds) |
02:55:15 | * | jefus joined #nim |
03:01:25 | * | flaviu quit (Read error: Connection reset by peer) |
03:05:13 | * | flaviu joined #nim |
03:06:50 | * | brson joined #nim |
03:09:02 | * | jefus quit (Ping timeout: 246 seconds) |
03:09:35 | * | jefus joined #nim |
03:10:38 | * | jefus quit (Max SendQ exceeded) |
03:37:26 | * | blackicebird joined #nim |
03:47:54 | * | Demos joined #nim |
03:49:09 | * | reem quit (Remote host closed the connection) |
03:53:28 | * | reem joined #nim |
03:53:56 | * | gunn quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
03:54:32 | * | brson quit (Quit: leaving) |
03:54:34 | * | superfunc|lab quit (Ping timeout: 255 seconds) |
03:55:22 | * | nande quit (Remote host closed the connection) |
03:58:01 | * | vendethiel quit (Ping timeout: 252 seconds) |
04:02:54 | * | motorme quit (Quit: leaving) |
04:05:24 | * | boydgreenfield quit (Quit: boydgreenfield) |
04:06:00 | * | vendethiel joined #nim |
04:15:57 | * | boydgreenfield joined #nim |
04:19:56 | * | blackicebird quit (Read error: Connection reset by peer) |
04:20:29 | * | blackicebird joined #nim |
04:20:56 | * | Varriount|Mobile quit (Read error: Connection reset by peer) |
04:21:01 | * | Var|Mobile joined #nim |
04:23:30 | * | Var|Mobile quit (Read error: Connection reset by peer) |
04:24:26 | * | Var|Mobile joined #nim |
04:27:48 | * | JinShil quit (Ping timeout: 244 seconds) |
04:28:10 | * | Var|Mobile quit (Read error: No route to host) |
04:28:30 | * | Var|Mobile joined #nim |
04:28:43 | * | vendethiel quit (Ping timeout: 256 seconds) |
04:31:45 | * | wb quit (Ping timeout: 252 seconds) |
04:32:13 | * | boydgreenfield quit (Quit: boydgreenfield) |
04:32:55 | * | vendethiel joined #nim |
04:33:16 | * | Var|Mobile quit (Ping timeout: 255 seconds) |
04:34:16 | * | Var|Mobile joined #nim |
04:45:13 | * | Var|Mobile quit (Ping timeout: 264 seconds) |
04:45:37 | * | Var|Mobile joined #nim |
04:46:14 | * | reem quit (Remote host closed the connection) |
04:49:46 | * | reem joined #nim |
04:51:56 | * | wb joined #nim |
04:52:28 | * | Var|Mobile quit (Ping timeout: 245 seconds) |
05:07:53 | * | Var|Mobile joined #nim |
05:08:17 | * | reem quit (Remote host closed the connection) |
05:13:21 | * | reem joined #nim |
05:16:54 | * | gunn joined #nim |
05:35:56 | * | boydgreenfield joined #nim |
05:42:46 | * | reem quit (Remote host closed the connection) |
05:43:48 | * | Var|Mobile quit (Read error: No route to host) |
05:44:40 | * | Var|Mobile joined #nim |
05:46:56 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:47:12 | * | Var|Mobile joined #nim |
05:49:25 | * | gunn quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
05:50:23 | * | syrobee quit (Ping timeout: 245 seconds) |
05:52:07 | * | reem joined #nim |
05:52:38 | * | syrobee joined #nim |
05:55:36 | * | gunn joined #nim |
05:57:56 | * | Var|Mobile quit (Read error: Connection reset by peer) |
05:58:35 | * | wb quit (Quit: See y'all around) |
05:59:54 | * | vendethiel quit (Ping timeout: 252 seconds) |
06:00:25 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:02:27 | * | kapil__ quit (Quit: Connection closed for inactivity) |
06:08:07 | * | vendethiel joined #nim |
06:09:53 | * | boydgreenfield joined #nim |
06:15:55 | * | reem quit (Remote host closed the connection) |
06:20:09 | * | Var|Mobile joined #nim |
06:21:11 | * | reem joined #nim |
06:22:07 | * | kapil__ joined #nim |
06:22:36 | * | Var|Mobile quit (Read error: No route to host) |
06:22:47 | * | Var|Mobile joined #nim |
06:25:41 | * | Var|Mobile quit (Read error: No route to host) |
06:25:59 | * | Var|Mobile joined #nim |
06:26:12 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:26:46 | * | bjz joined #nim |
06:26:47 | * | Var|Mobile quit (Read error: Connection reset by peer) |
06:27:34 | * | Var|Mobile joined #nim |
06:30:33 | * | Var|Mobile quit (Read error: Connection reset by peer) |
06:31:26 | * | bjz quit (Ping timeout: 252 seconds) |
06:31:33 | * | Var|Mobile joined #nim |
06:45:18 | * | joecodes quit (Quit: Page closed) |
06:45:49 | * | boydgreenfield joined #nim |
06:48:33 | * | woadwarrior joined #nim |
06:56:23 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:58:56 | * | Var|Mobile quit (Ping timeout: 252 seconds) |
07:06:20 | * | gokr_ quit (Ping timeout: 246 seconds) |
07:06:46 | * | gokr_ joined #nim |
07:09:33 | * | Var|Mobile joined #nim |
07:13:39 | * | gokr_ quit (Remote host closed the connection) |
07:13:54 | * | gokr_ joined #nim |
07:14:11 | * | Var|Mobile quit (Ping timeout: 252 seconds) |
07:20:17 | * | davidhq joined #nim |
07:20:38 | * | Var|Mobile joined #nim |
07:20:38 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:20:55 | * | Var|Mobile joined #nim |
07:20:55 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:21:09 | * | Var|Mobile joined #nim |
07:22:52 | * | Var|Mobile quit (Read error: No route to host) |
07:23:03 | * | Var|Mobile joined #nim |
07:27:49 | * | Var|Mobile quit (Ping timeout: 264 seconds) |
07:28:46 | * | Var|Mobile joined #nim |
07:31:42 | * | bjz joined #nim |
07:33:09 | * | Var|Mobile quit (Ping timeout: 245 seconds) |
07:35:53 | * | johnsoft quit (Ping timeout: 240 seconds) |
07:36:30 | * | johnsoft joined #nim |
07:37:03 | * | gokr_ quit (Ping timeout: 245 seconds) |
07:38:01 | * | Var|Mobile joined #nim |
07:38:51 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:39:23 | * | chemist69 joined #nim |
07:40:59 | * | gokr_ joined #nim |
07:41:22 | * | davidhq joined #nim |
07:43:30 | * | Var|Mobile quit (Ping timeout: 246 seconds) |
07:44:02 | * | Var|Mobile joined #nim |
07:46:20 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:48:02 | * | Var|Mobile joined #nim |
07:48:52 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
07:51:25 | * | vendethiel quit (Ping timeout: 264 seconds) |
07:53:38 | * | Demos quit (Read error: Connection reset by peer) |
07:55:05 | * | chemist69 quit (Quit: leaving) |
07:57:53 | * | vendethiel joined #nim |
07:57:54 | * | Var|Mobile quit (Read error: Connection reset by peer) |
07:58:10 | * | Var|Mobile joined #nim |
08:02:16 | * | sillesta64 joined #nim |
08:02:31 | * | dumdum joined #nim |
08:02:37 | * | Var|Mobile quit (Ping timeout: 264 seconds) |
08:08:36 | * | vegai joined #nim |
08:09:18 | * | Var|Mobile joined #nim |
08:11:27 | * | Var|Mobile quit (Read error: Connection reset by peer) |
08:11:43 | * | Var|Mobile joined #nim |
08:17:13 | * | Var|Mobile quit (Ping timeout: 264 seconds) |
08:19:08 | * | vendethiel quit (Ping timeout: 246 seconds) |
08:22:26 | * | vendethiel joined #nim |
08:29:53 | * | chemist69 joined #nim |
08:34:22 | * | panzone joined #nim |
08:38:39 | * | panzone quit (Remote host closed the connection) |
08:51:54 | * | woadwarrior quit (Ping timeout: 245 seconds) |
08:53:40 | * | kuzy000_ joined #nim |
08:54:32 | * | Var|Mobile joined #nim |
08:58:14 | * | woadwarrior joined #nim |
09:04:33 | * | vendethiel quit (Ping timeout: 245 seconds) |
09:07:02 | * | vendethiel joined #nim |
09:08:43 | * | wb joined #nim |
09:12:54 | * | Trustable joined #nim |
09:49:08 | * | vendethiel quit (Ping timeout: 245 seconds) |
09:53:11 | * | vendethiel joined #nim |
09:54:02 | * | syrobee quit (Read error: Connection reset by peer) |
10:02:17 | * | Demon_Fox quit (Quit: Leaving) |
10:35:37 | * | VinceAddons joined #nim |
10:39:53 | ekarlso | dom96: you aroubnd ? |
10:41:28 | dumdum | I hate java ant build tool :( |
10:41:45 | dumdum | programming in xml :'( |
10:42:29 | ekarlso | dumdum: use gradle ? |
10:42:33 | gokr | Hey folks |
10:42:45 | dumdum | I dont have a choice, its at work :( |
10:42:48 | * | MajorWork joined #nim |
10:42:48 | ekarlso | :D |
10:43:46 | gokr | So... did I get this correct - Grzegorz left since he didn |
10:44:05 | gokr | 't see a good plan for shared memory and threads? |
10:44:47 | * | MajorWork quit (Changing host) |
10:44:48 | * | MajorWork joined #nim |
10:45:03 | gokr | And also not ... a library to use Nim without a GC perhaps. |
10:47:01 | ekarlso | oh well, working on packages again (free from work atm) :P |
10:50:17 | gokr | Got a sore throat, not fun. I was hoping I could avoid getting sick this february :) |
10:50:49 | dom96 | ekarlso: ys |
10:50:51 | dom96 | *yes |
10:51:07 | ekarlso | dom96: could I place the Options inside a new options.nim so it could be shared ? |
10:51:07 | dom96 | gokr: really hoping they eradicate the common cold in my lifetime :) |
10:51:24 | gokr | I wonder if there are any blockers for implementing shared concurrent data structures between threads |
10:51:27 | ekarlso | if you're creating a new type for it you loose the option parsing stuff |
10:52:08 | gokr | (regarding gradha's criticism I mean) |
10:54:19 | dom96 | ekarlso: yes |
10:54:50 | dom96 | put it in the nimbletypes modules |
10:54:52 | dom96 | *module |
10:55:25 | * | gsingh93 quit (Quit: Connection closed for inactivity) |
10:55:45 | * | BlaXpirit joined #nim |
10:58:17 | ekarlso | dom96: omg |
10:58:25 | ekarlso | then I'm getting circular imports as well |
10:58:34 | ekarlso | nimbletypes would need packageinfo and vice versa :| |
10:58:43 | * | vendethiel quit (Ping timeout: 250 seconds) |
10:59:50 | ekarlso | clues dom96 ? |
11:00:00 | dom96 | just make it work, we can fix it later once you've created a PR |
11:00:14 | ekarlso | ok :p |
11:00:42 | * | vendethiel joined #nim |
11:04:08 | ekarlso | sigh dom96 doing that stuff messes it all up |
11:04:09 | * | Var|Mobile quit (Read error: Connection reset by peer) |
11:04:18 | * | Var|Mobile joined #nim |
11:10:01 | * | Var|Mobile quit (Ping timeout: 264 seconds) |
11:11:19 | * | kashyap_ joined #nim |
11:12:03 | kashyap_ | What's a good way to write out png's? I can see nimlibpng in the unofficial list - is that the way to go? |
11:12:21 | * | Var|Mobile joined #nim |
11:13:18 | kashyap_ | I'd prefer to use something that is part of of Nim by default |
11:13:51 | ekarlso | dom96: this is a bit f00ked, if I have options there it's a mess :P |
11:13:52 | kashyap_ | my requirement is to draw diagrams and generate png's |
11:14:47 | kashyap_ | I could directly use libpng if that's better |
11:16:17 | dom96 | kashyap_: graphics module perhaps? |
11:16:58 | gokr | Just read Araq's two blog articles on concurrency - although I admit to skimming a bit. |
11:17:07 | kashyap_ | dom96 - you mean sdl? |
11:17:19 | dom96 | yeah |
11:17:24 | gokr | Anyone worked with those things he describes? shared, guarded, lock etc etc |
11:18:22 | kashyap_ | got it |
11:18:42 | kashyap_ | I see sdl_image may just be the thing I am looking for |
11:19:52 | Triplefox | sdl_image doesn't write things |
11:20:12 | kashyap_ | oh oh! |
11:20:31 | kashyap_ | I see a writebmp |
11:20:44 | Triplefox | yeah i just went through this...wrote a little bmp32 writer for myself because the sdl thing is bmp24 only |
11:21:10 | Triplefox | other formats would be nice but not strictly necessary for me rn |
11:21:11 | kashyap_ | does bmp24 support transparency? |
11:21:28 | Triplefox | not afaik |
11:21:42 | kashyap_ | okay. |
11:21:49 | * | dumdum quit (Ping timeout: 256 seconds) |
11:22:01 | Triplefox | with bmp32 the format technically supports transparency with different channel layouts however most tools only understand bgra8888 iirc |
11:23:11 | kashyap_ | okay I could live with another tool to transform the bmp into png for now |
11:23:19 | ekarlso | dom96: I'm thinking I need to place Options type in the same module as Config ... |
11:23:26 | ekarlso | if not they seem to break each other |
11:25:09 | * | Var|Mobile quit (Ping timeout: 250 seconds) |
11:25:25 | Triplefox | kashyap_: you may use my code https://gist.github.com/triplefox/d3d7e7f61d99a5aafc68 |
11:25:42 | kashyap_ | Thanks Triplefox |
11:28:47 | BlaXpirit | http://blaxpirit.github.io/nim-csfml/csfml_graphics.html#saveToFile,Image,cstring |
11:28:57 | BlaXpirit | this can write images, kashyap_ |
11:29:08 | BlaXpirit | may be too heavyweight. |
11:30:22 | kashyap_ | I'll check it out anyway ... thanks BlaXpirit |
11:31:23 | BlaXpirit | you can even draw on a RenderTexture, then copyToImage |
11:37:26 | ekarlso | what does it mean when you string / string |
11:38:43 | BlaXpirit | ekarlso, maybe join path? |
11:39:15 | BlaXpirit | this? http://nim-lang.org/os.html#/,string,string |
11:39:20 | BlaXpirit | so hacky, wow |
11:40:14 | BlaXpirit | well it's ok |
11:40:56 | ekarlso | :P |
11:42:44 | ekarlso | gawd |
11:42:50 | ekarlso | nimble on a corp net sucks so bad :| |
11:43:23 | def- | ekarlso: just clone the repos you need and do "nimble install" in that directory? |
11:43:47 | ekarlso | def-: still, would be uber to have a http_proxy support thingie :D |
11:43:54 | def- | ekarlso: yes, definitely |
11:46:02 | ekarlso | hmm, I wonder if it's possible to create a httpclient object where you could set diff settings |
11:46:37 | ekarlso | that's only possible with asyncclient ? :| |
11:48:01 | ekarlso | would be uber if we could have something a'la newClient() for non-async stuff as well |
11:48:08 | ekarlso | where you could set diff settings |
11:48:24 | def- | no, you an set proxy with non-async http client too |
11:49:09 | ekarlso | def-: yeah, but you need to pass in each option on each call which imho is kinda wrong vs having a higher level thing that holds that for you :p |
11:49:39 | * | OnwardEuler joined #nim |
11:50:16 | def- | ekarlso: i really don't see why httpclient would need to do that. maybe as an abstraction on top it could be done |
11:50:32 | ekarlso | def-: probably ;P |
11:54:07 | * | davidhq joined #nim |
11:57:44 | * | Var|Mobile joined #nim |
12:05:43 | ekarlso | uhmmms, does nimble use the proxy for http and https then or ? |
12:05:54 | ekarlso | my proxy gives me bad request when using it in nim |
12:07:04 | * | reem quit (Remote host closed the connection) |
12:09:29 | ekarlso | hmmm, I'm wondering if I need to do something special for it to work towards ssl ? |
12:14:13 | ekarlso | if anyone cares then: https://bpaste.net/show/1e9b34487619 |
12:15:52 | * | arc619 joined #nim |
12:16:35 | OnwardEuler | Are there any roguelikes written in nim? |
12:16:59 | OnwardEuler | I'm half way through one and I'm a little stuck, looking for some inspiration |
12:31:24 | * | vendethiel quit (Ping timeout: 244 seconds) |
12:32:36 | * | vendethiel joined #nim |
12:33:30 | def- | OnwardEuler: haven't seen one |
12:34:41 | OnwardEuler | Well then! I guess I might just have an answer to that XD |
12:34:57 | OnwardEuler | first a game, then a library |
12:34:58 | * | Var|Mobile quit (Ping timeout: 245 seconds) |
12:35:38 | BlaXpirit | what is a "roguelike" anyway |
12:35:41 | BlaXpirit | is this text only? |
12:35:45 | OnwardEuler | can be |
12:35:57 | OnwardEuler | I was specifically going to text based |
12:36:25 | OnwardEuler | but any game where there is a random world with random interaction, permadeath and elements of rpg ends up being a roguelike |
12:36:29 | OnwardEuler | look into nethack |
12:36:41 | OnwardEuler | they have a text and a graphical vers |
12:36:47 | OnwardEuler | for android inclusively |
12:49:56 | * | jasondotstar quit (Read error: Connection reset by peer) |
12:50:35 | * | Var|Mobile joined #nim |
12:50:54 | * | jasondotstar joined #nim |
12:53:25 | * | Var|Mobile quit (Read error: Connection reset by peer) |
12:55:03 | * | Var|Mobile joined #nim |
12:56:40 | * | dumdum joined #nim |
12:59:28 | * | Var|Mobile quit (Ping timeout: 250 seconds) |
13:16:36 | * | vendethiel quit (Ping timeout: 252 seconds) |
13:20:56 | * | Var|Mobile joined #nim |
13:22:21 | blackicebird | hi, i'm following this guide to test call nim from c http://nim-lang.org/backends.html#backend-code-calling-nim |
13:22:46 | * | vendethiel joined #nim |
13:23:03 | blackicebird | but i can't pass gcc -std=c99 -o m -Inimcache -I/E/opt/Nim/lib nimcache/*.c maths.cgcc -std=c99 -o m -Inimcache -I/E/opt/Nim/lib nimcache/*.c maths.c |
13:23:41 | blackicebird | the errors: nimcache/stdlib_system.c: In function 'cpurelax_14601': |
13:23:41 | blackicebird | nimcache/stdlib_system.c:6857:2: error: 'asm' undeclared (first use in this func |
13:23:41 | blackicebird | tion) |
13:23:41 | blackicebird | asm volatile("pause" ::: "memory"); |
13:23:41 | blackicebird | ^ |
13:23:43 | blackicebird | nimcache/stdlib_system.c:6857:2: note: each undeclared identifier is reported on |
13:23:45 | blackicebird | ly once for each function it appears in |
13:23:47 | blackicebird | nimcache/stdlib_system.c:6857:6: error: expected ';' before 'volatile' |
13:23:49 | blackicebird | asm volatile("pause" ::: "memory"); |
13:23:51 | blackicebird | any idea? thanks! |
13:24:39 | blackicebird | nimcache/stdlib_system.c: In function 'cpurelax_14601': |
13:24:39 | blackicebird | nimcache/stdlib_system.c:6857:2: error: 'asm' undeclared (first use in this func |
13:24:39 | blackicebird | tion) |
13:24:39 | blackicebird | asm volatile("pause" ::: "memory"); |
13:24:39 | blackicebird | ^ |
13:24:40 | blackicebird | nimcache/stdlib_system.c:6857:2: note: each undeclared identifier is reported on |
13:24:43 | blackicebird | ly once for each function it appears in |
13:24:45 | blackicebird | nimcache/stdlib_system.c:6857:6: error: expected ';' before 'volatile' |
13:24:47 | blackicebird | asm volatile("pause" ::: "memory"); |
13:24:50 | blackicebird | Nim Compiler Version 0.10.2 (2014-12-30) [Windows: i386] |
13:26:39 | blackicebird | im using windows7 and mingw, but i tried it on ubuntu, the errors: |
13:26:47 | blackicebird | maths.c:(.text+0x17): undefined reference to `fib' |
13:26:47 | blackicebird | collect2: error: ld returned 1 exit status |
13:27:03 | blackicebird | :( |
13:27:30 | blackicebird | any body ? any idea? |
13:27:31 | dumdum | Hi blackicebird, you can use pastebin for large messages :) |
13:28:00 | blackicebird | only these messages |
13:28:03 | blackicebird | not too long |
13:28:11 | * | gunn quit (Ping timeout: 256 seconds) |
13:29:29 | blackicebird | it looks my env problem, but i have no idea which part was wrong |
13:32:55 | * | dafineman joined #nim |
13:35:56 | * | Var|Mobile quit (Ping timeout: 246 seconds) |
13:37:21 | * | Var|Mobile joined #nim |
13:45:54 | * | chemist69 quit (Quit: leaving) |
13:53:45 | dafineman | dom96: You're in highschool? As in '96? That would explain the amount of time you seem to have. |
14:01:06 | * | jefus joined #nim |
14:01:47 | Araq | hi dafineman, welcome |
14:02:03 | Araq | blackicebird: get a GCC that knows about the 'asm' keyword? |
14:02:34 | blackicebird | gcc.exe (i686-win32-dwarf-rev1, Built by MinGW-W64 project) 4.9.1 |
14:02:45 | blackicebird | ok, i will try it |
14:05:56 | blackicebird | im using gcc that installed by nim: /E/opt/Nim/dist/mingw/bin/gcc.exe |
14:09:29 | Araq | are you sure it doesn't pick a different gcc from your PATH? |
14:10:47 | Araq | your path suggests that you use some stupid cygwin shell ... ;-) |
14:10:52 | * | federico3 joined #nim |
14:10:53 | federico3 | hi |
14:15:05 | blackicebird | oops, let me try cmd.bat |
14:16:18 | Araq | hi federico3 welcome |
14:17:55 | federico3 | thank you Araq |
14:26:33 | * | vendethiel quit (Ping timeout: 256 seconds) |
14:27:02 | blackicebird | thank you Araq, it works, some dirty tools added another gcc in my path :D |
14:29:30 | blackicebird | I will try it on Ubuntu again |
14:29:40 | * | vendethiel joined #nim |
14:35:15 | federico3 | what are nimrod_icon.o and koch_icon.o in the source zip archive? |
14:35:52 | federico3 | icons embedded in object files? |
14:36:37 | Araq | federico3: yes |
14:37:03 | federico3 | is there a way to generate them at build time? |
14:42:07 | * | martindines joined #nim |
14:42:15 | * | martindines left #nim ("Textual IRC Client: www.textualapp.com") |
14:42:42 | Araq | maybe. who cares. git can manage 2 binary files of size 35KB that never change |
14:49:14 | * | woadwarrior quit (Quit: quit) |
14:52:01 | * | vendethiel quit (Ping timeout: 255 seconds) |
14:59:19 | * | vendethiel joined #nim |
15:07:55 | * | BlaXpirit_ joined #nim |
15:10:23 | * | BlaXpirit quit (Ping timeout: 245 seconds) |
15:20:23 | * | dumdum quit (Ping timeout: 256 seconds) |
15:22:09 | dom96 | dafineman: hi, nope. |
15:24:43 | * | darkf quit (Quit: Leaving) |
15:29:58 | * | dafineman quit (Ping timeout: 245 seconds) |
15:33:01 | * | Gonzih quit (Ping timeout: 250 seconds) |
15:38:12 | * | blackicebird quit (Ping timeout: 245 seconds) |
15:56:29 | * | dumdum joined #nim |
15:56:57 | * | Gonzih joined #nim |
16:03:14 | * | vendethiel quit (Ping timeout: 246 seconds) |
16:04:50 | * | vendethiel joined #nim |
16:12:27 | * | kapil__ quit (Quit: Connection closed for inactivity) |
16:25:44 | * | davidhq quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
16:26:22 | * | davidhq joined #nim |
16:27:15 | * | vendethiel quit (Ping timeout: 256 seconds) |
16:28:01 | * | davidhq quit (Client Quit) |
16:31:39 | * | vendethiel joined #nim |
16:34:57 | * | trevorriles quit (Quit: bye bye) |
16:42:17 | * | phira quit (Excess Flood) |
16:42:49 | * | phira joined #nim |
16:56:41 | * | polde quit (Quit: q) |
16:58:46 | * | polde joined #nim |
17:02:13 | * | jfokkan joined #nim |
17:06:58 | * | Boscop_ joined #nim |
17:10:30 | * | Demos joined #nim |
17:10:37 | * | Boscop__ quit (Ping timeout: 255 seconds) |
17:14:10 | * | arc619 quit (Ping timeout: 246 seconds) |
17:14:41 | * | polde quit (Quit: q) |
17:15:16 | * | polde joined #nim |
17:20:40 | * | Demos quit (Read error: Connection reset by peer) |
17:20:41 | * | UberLambda joined #nim |
17:23:16 | * | UberLambda quit (Client Quit) |
17:32:28 | * | panzone joined #nim |
17:34:09 | * | davidhq joined #nim |
17:34:45 | * | gunn joined #nim |
17:35:17 | * | panzone_ joined #nim |
17:37:06 | * | mytrile joined #nim |
17:37:31 | * | vendethiel quit (Ping timeout: 256 seconds) |
17:38:43 | * | panzone quit (Ping timeout: 245 seconds) |
17:40:13 | * | jefus_ joined #nim |
17:40:52 | * | vendethiel joined #nim |
17:43:21 | * | alexruf joined #nim |
17:43:36 | * | alexruf quit (Client Quit) |
17:43:45 | * | jefus quit (Ping timeout: 250 seconds) |
17:44:04 | * | panzone joined #nim |
17:44:10 | * | nande joined #nim |
17:44:37 | * | panzone_ quit (Ping timeout: 250 seconds) |
17:46:46 | * | Demos joined #nim |
17:47:02 | * | johnsoft quit (Ping timeout: 264 seconds) |
17:47:22 | * | johnsoft joined #nim |
17:52:05 | * | gokr_ quit (Ping timeout: 246 seconds) |
17:52:33 | * | gokr_ joined #nim |
18:00:55 | * | mytrile1 joined #nim |
18:02:27 | * | mytrile quit (Ping timeout: 252 seconds) |
18:09:05 | * | UberLambda joined #nim |
18:19:17 | * | jefus_ is now known as jefus |
18:25:06 | * | EXetoC joined #nim |
18:26:32 | dumdum | Nested procs at same level cant call each other? |
18:33:22 | BlaXpirit_ | procs can't call each other without forward declaration |
18:33:38 | BlaXpirit_ | you can try forward declaration, and if it doesnt work, then yeah.. |
18:34:08 | * | gokr_ quit (Ping timeout: 245 seconds) |
18:35:17 | dumdum | doesnt work, and cant even refer to vars in outer scope |
18:37:35 | def- | dumdum: post your code somewhere? |
18:38:06 | * | gokr_ joined #nim |
18:39:41 | Araq | dumdum: yeah, that doesn't work. |
18:40:49 | * | shevy left #nim ("I'll be back ... maybe") |
18:44:42 | dumdum | def-: its nothing special, just a proc within a proc referring outer procs declared variable |
18:45:33 | Araq | hehehe |
18:46:07 | Araq | yeah "nothing special", it's just the single language feature that was most hard to implement in the whole compiler |
18:46:23 | * | johnsoft quit (Read error: Connection reset by peer) |
18:46:47 | * | johnsoft joined #nim |
18:49:05 | dumdum | In that case I cant live without it! I will write a blog post and bye to nim :P hahaha |
18:50:04 | * | alexruf joined #nim |
18:50:23 | Araq | no, you have to leave *after* we implemented forwarding of local procs for you ;-) |
18:50:45 | * | mytrile1 quit (Read error: Connection reset by peer) |
18:54:46 | * | Demos quit (Ping timeout: 244 seconds) |
18:55:30 | Araq | also your "leaving" has to be a synonym for "I'll keep using the language for everything that I used Python before" |
18:57:59 | dumdum | "I'll keep using the language for everything that I can"* and I was thinking today how life will be duller if nim compiler development stops |
19:01:20 | EXetoC | oh yes |
19:04:10 | * | bpr joined #nim |
19:08:31 | Araq | hi bpr |
19:08:54 | * | gsingh93 joined #nim |
19:11:26 | bpr | Hi Araq |
19:13:31 | bpr | BTW, thanks for implementing that first (or nth) pass at closure improvements a while ago, to make the 2d quadrature from 1D example work. |
19:14:28 | Araq | lambda lifting is fun. it's incredibly complex but nobody notices it and so it doesn't affect the perceived complexity of a language |
19:15:34 | Araq | or maybe it really is simple but only the implementation is not |
19:16:18 | EXetoC | must..use..less..bleeding-edge..stuff |
19:16:22 | bpr | Proper closures make the language very powerful. |
19:16:33 | Araq | or maybe I just suck at implementing them |
19:17:49 | * | panzone quit (Ping timeout: 264 seconds) |
19:20:31 | * | nande quit (Remote host closed the connection) |
19:20:39 | * | panzone joined #nim |
19:20:46 | * | gmpreussner|work joined #nim |
19:25:00 | bpr | Well, the original lambda lifting stuff was in the context of a pure FPL, so I imagine you need to do more work for this in Nim. |
19:27:34 | bpr | I found http://matt.might.net/articles/closure-conversion/ to be a nice discussion of issues. Anyways, it's great that Nim has them, even if they need some more work. |
19:30:08 | bpr | Why the jokes about leaving Nim? Did someone join and leave publically? I don't read the IRC frequently... |
19:31:51 | * | LinuxLefty joined #nim |
19:33:21 | EXetoC | can static[T] proc params be replaced by anything else for now? |
19:34:51 | EXetoC | nevermind. micro-optimization is the only purpose in this case, so I'll just omit 'static' |
19:35:14 | dumdum | bpr: http://gradha.github.io/articles/2015/02/goodbye-nim-and-good-luck.html |
19:36:11 | EXetoC | oh, gradha |
19:37:39 | * | brson joined #nim |
19:38:10 | * | panzone quit (Remote host closed the connection) |
19:41:02 | ekarlso | is there some funkyness with httpclient, proxy and https endpoints ? |
19:41:33 | ekarlso | https://bpaste.net/show/1e9b34487619 < is failing for one if you use a http proxy |
19:42:20 | bpr | Thanks dumdum. That's too bad. I bet he'll be back :-) |
19:48:16 | gmpreussner|work | EXetoC: i don't know gradha's background, but he seemed knowledgeable. i'm not sure if he fully appreciates the practical problems of shared memory though. there is no silver bullet for multi-threaded programming, but from what i've learned myself over the years, shared memory is to be avoided at all cost. |
19:48:48 | Araq | yup, just to keep things balanced, this index here: http://nim-lang.org/theindex.html is mostly Gradha's excellent work |
19:48:51 | gmpreussner|work | i have not tried to experiment with Nim's take on this problem yet, but what i've read sounds promising |
19:49:26 | Araq | (yes, I know it's bloated, fixed in devel) |
19:49:32 | EXetoC | ok |
19:50:42 | Araq | gmpreussner|work: also Gradha doesn't give Nim credit for the shared memory stuff that it *does* allow |
19:51:14 | Araq | for instance, casting a 'ref' to 'ptr' to get the sharing is not impossible at all |
19:51:45 | Araq | and with the 'parallel' keyword it's not too unsafe either |
19:53:05 | Araq | not too mention what you can always turn off warnings and use --gc:boehm which is a shared heap GC |
19:53:13 | Araq | *not to |
19:53:50 | * | panzone joined #nim |
19:54:19 | gmpreussner|work | yeah, like i said, i have not played with any of that stuff yet; hopefully soon. i guess there is low-level parallelism, such as parallel algorithms, and high-level parallelism, such as task based multithreading. i'm mostly interested in the latter right now, and my personal preference gravitates towards the Actor model and messaging between threads. that's what originally intruiged me about Go, and it's what looks promising to me in Nim. |
19:54:29 | EXetoC | gmpreussner|work: the language can't help much when it comes to shared memory? |
19:56:13 | EXetoC | I've only ever used queues |
20:00:31 | * | panzone quit (Remote host closed the connection) |
20:01:48 | Araq | dom96: master version of aporia shows the GC safety warnings problem, right? |
20:04:07 | EXetoC | but parallelization alone is the biggest factor I guess |
20:07:33 | dom96 | Araq: yes |
20:09:54 | dom96 | Araq: what about that NimForum corruption? |
20:10:02 | dom96 | Would be awesome if we could finally ban those spammers. |
20:12:20 | ldlework | did the forum get flooded? |
20:13:15 | EXetoC | have users call you as part of the registration |
20:13:28 | dom96 | ldlework: a bit |
20:16:43 | * | panzone joined #nim |
20:19:40 | Araq | dom96: fixed it |
20:19:56 | dom96 | cool |
20:20:22 | gokr | Evening folks |
20:20:32 | ldlework | gokr: hi |
20:21:09 | gokr | ldlework: Managed to convince any other developers at Docker to go Nim? |
20:21:17 | ldlework | Nope :/ |
20:22:33 | gokr | Araq: You mentioned that ... the current take on shared memory etc is not what you described in those two blog articles - care to elaborate? |
20:22:47 | ldlework | I was just about to ask about shared memory |
20:23:04 | gokr | ldlework: You read Araq's two articles? |
20:23:26 | ldlework | Not Araq's but that article of the guy who was leaving Nim |
20:23:32 | ldlework | Araq has a blog? |
20:23:39 | gokr | Yeah, but its a bit oldish i think |
20:24:19 | ldlework | Ah I thougnt maybe he had responded to the blog article |
20:24:41 | * | gokr battles a cat with....argh! Too sharp claws... |
20:25:56 | ldlework | one claw sharpens the other |
20:26:30 | gokr | ldlework: http://nim-lang.org/blog/ |
20:27:01 | * | Matthias247 joined #nim |
20:28:14 | * | Demon_Fox joined #nim |
20:29:22 | * | UberLambda quit (Quit: Leaving the Matrix) |
20:29:50 | ekarlso | hmmm, how would one in a nim app make the db backend configurable based on the url ? |
20:29:55 | ekarlso | like sqlite:// vs mysql:// etc |
20:30:13 | ldlework | strutils? |
20:30:47 | * | Demos joined #nim |
20:45:32 | * | mytrile joined #nim |
20:49:13 | * | LinuxLefty quit (Ping timeout: 250 seconds) |
20:52:39 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:04:58 | * | Demos quit (Ping timeout: 245 seconds) |
21:07:11 | * | dumdum quit (Ping timeout: 256 seconds) |
21:09:14 | * | reem joined #nim |
21:10:55 | Araq | gokr: well spawn can return a FlowVar which is a tremendous improvement over what is outlined in my blog. The details of how guards work changed and how locking levels work has been refined. |
21:13:37 | Araq | 'parallel' was added. |
21:15:17 | Araq | It's true that the GC is still thread local only and that imposes lots of restrictions, but we have to work with the technology that we have to get version 1.0 out. Restrictions can always be removed in later versions anyway, it's much harder to do it the other way round. |
21:18:25 | * | panzone quit (Remote host closed the connection) |
21:18:33 | gokr | I note that FlowVar is often also called Promise, although sometimes with slightly different semantics I guess. |
21:19:29 | * | panzone joined #nim |
21:22:16 | * | bpr quit (Quit: Page closed) |
21:24:25 | * | panzone quit (Ping timeout: 264 seconds) |
21:27:22 | * | vendethiel quit (Ping timeout: 245 seconds) |
21:30:19 | Araq | BlaXpirit_: so ... array constructors and 'discard' should be "destructible contexts", and then it works for you? or is it hopeless? ;-) |
21:31:16 | * | vendethiel joined #nim |
21:34:03 | BlaXpirit_ | probably hopeless |
21:34:34 | Araq | why am I not surprised? |
21:36:30 | BlaXpirit_ | today I realized that if you call a function supplying it a ptr object, it will be destroyed afterwards |
21:42:50 | BlaXpirit_ | hm maybe not... this is too complicated |
21:45:46 | BlaXpirit_ | basically, destructors really don't work well for thin wrappers around C libs |
21:50:47 | * | alexruf quit (Quit: Textual IRC Client: www.textualapp.com) |
21:51:43 | BlaXpirit_ | we have this SDL wrapper |
21:51:58 | BlaXpirit_ | are people really content with having to call freeSurface and whatnot? |
21:52:03 | BlaXpirit_ | has anyone investigated this? |
21:52:21 | * | brson quit (Quit: leaving) |
21:56:05 | * | brson joined #nim |
21:59:18 | * | gtrundle joined #nim |
21:59:22 | Araq | BlaXpirit_: no, we're all idiots here. |
21:59:31 | BlaXpirit_ | why do you say that |
21:59:43 | ekarlso | was wondering about buying npacks.io or smth for packages website.. |
21:59:49 | * | kuzy000_ quit (Ping timeout: 264 seconds) |
21:59:50 | ekarlso | any suggestios ? |
22:02:37 | def- | ekarlso: pkgs.nim-lang.org? |
22:02:50 | ekarlso | def-: by all means :p |
22:02:57 | ekarlso | though I dont have access hah |
22:04:10 | BlaXpirit_ | Araq, I'd like a serious reply please |
22:04:40 | BlaXpirit_ | (going away for now, though) |
22:04:58 | Araq | BlaXpirit_: a serious reply to "has anyone investigated this?"? |
22:05:09 | BlaXpirit_ | yes, that would be nice |
22:05:23 | BlaXpirit_ | preferably with results of investigation, if any |
22:06:03 | BlaXpirit_ | and by investigation i mean automatically calling free/destroy of ptr objects from C libraries |
22:06:06 | Araq | well obviously we are aware of this problem and graphics.nim deals with it by using a 'ref' and a finalizer. |
22:06:25 | Araq | so does re.nim for regexes. |
22:06:33 | BlaXpirit_ | I familiarized with graphics.nim today |
22:06:43 | BlaXpirit_ | so, is anything going to be done? |
22:07:18 | BlaXpirit_ | how big of a performance hit would it be to wrap everything in a ref object................ |
22:07:42 | BlaXpirit_ | going away for real |
22:08:06 | flaviu | For re? Pretty much none. |
22:10:03 | * | ehaliewicz joined #nim |
22:10:40 | * | Demos joined #nim |
22:10:56 | gtrundle | FWIW, any pain I feel from forgetting to free a SDL resource is dwarfed by what a huge pain doing a high level wrapper of SDL. |
22:12:18 | gtrundle | Most of my sdl objects only live over the course of a funcall... |
22:12:45 | Araq | surfaces are an exception to this, gtrundle |
22:12:58 | Araq | these tend to live forever when you do it right |
22:22:28 | gtrundle | Araq: yep. For me, they have a short life on their way to becoming an opengl texture. Which is just another management problem, but not one I'd expect to solve with finalizers. |
22:32:01 | BlaXpirit_ | and if finalizers really apply to the whole type only, then not even ref obj containing ptr obj would help |
22:32:26 | BlaXpirit_ | because the objects don't always need to be deleted |
22:32:49 | BlaXpirit_ | like when an object is given for temporary use |
22:33:18 | BlaXpirit_ | somehow SFML never seems to do this, so it's like the only library where destructors are OK |
22:33:45 | * | Mat4 joined #nim |
22:33:48 | Mat4 | hello |
22:44:45 | * | Var|Mobile quit (Read error: Connection reset by peer) |
22:45:05 | * | Var|Mobile joined #nim |
22:45:30 | gtrundle | Araq: I took your response to the not nil issue 2100 as "not crazy, but not important compared to open issues". That sound right? In this instance I'm not wed to the idea of using it, since it just shifts where I'm doing the nil checks. |
22:47:31 | Araq | gtrundle: the 'not nil' checking works as I intended it to work. It doesn't work as people like it to work. but it adds some limited amount of expressitivy over Option[T] so I consider it a win and good enough for version 1.0. |
22:48:05 | Araq | I'm not sure what the spec says about that feature though |
22:51:49 | gtrundle | Araq: ok, good. Thanks. Nim has come a long way since I looked last year. Impressive for a < 1.0 release. |
22:51:53 | * | wb quit (Read error: Connection reset by peer) |
22:52:21 | * | wb joined #nim |
22:56:58 | BlaXpirit_ | why so much talk about 1.0 -_- |
22:58:15 | BlaXpirit_ | all it means for me is an end to big improvements |
22:58:41 | Araq | for me it means finally some holidays |
22:59:52 | ekarlso | around dom96 ? |
23:00:07 | dom96 | ekarlso: yes |
23:00:12 | ldlework | BlaXpirit_: lol |
23:00:57 | dom96 | Araq: Holidays? There will be tons more work post-1.0. |
23:01:40 | ekarlso | dom96: should search support both registry search and old-style at the same time ? |
23:01:41 | flaviu | High quality libraries ^^ |
23:02:03 | flaviu | ekarlso: Do you still have that test server up? |
23:02:10 | dom96 | ekarlso: yes |
23:02:17 | ekarlso | flaviu: yeah |
23:02:33 | ekarlso | https://nim-pkg.svcs.io/ |
23:02:43 | ekarlso | though would be more fun to get pkgs.nim-lang.org |
23:02:47 | ekarlso | someday.. |
23:03:06 | flaviu | Lets work on appearance first. I'll try to get a PR together. |
23:04:08 | ekarlso | flaviu: hah :p |
23:04:24 | ekarlso | flaviu: it's all I could do with my time :p |
23:05:09 | Araq | ekarlso: it's ugly. lol. |
23:05:37 | Araq | maybe you should copy Rust's design? ;-) :P |
23:05:44 | flaviu | Araq: Please send a PR :P |
23:05:44 | flaviu | ekarlso: Have you published jwt on nimble yet? |
23:06:18 | Araq | also your certificate is invalid |
23:06:23 | ekarlso | Araq: .... I already copied some of crates.io thing |
23:06:35 | Araq | but I accepted it anyway |
23:06:51 | ekarlso | Araq: yeah, it's a temp thing until u get me pkgs.nim-lang.org :P |
23:07:47 | Araq | now I'm extremely careful of course. since certificates are the hallmark of good engineering |
23:08:43 | flaviu | Araq: Please don't rant about HTTPS, we all have better things to do. |
23:09:25 | ekarlso | haha :p |
23:10:29 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:10:36 | Araq | I usually stop after a couple of witty remarks these days |
23:10:49 | Araq | no more real ranting in #nim |
23:11:23 | ekarlso | Araq: who can pull off pkgs.nim-lang.org ? |
23:11:25 | ekarlso | :p |
23:11:41 | Araq | dom96? |
23:11:52 | * | Mat4 quit (Quit: Verlassend) |
23:12:14 | * | vendethiel quit (Ping timeout: 264 seconds) |
23:13:44 | dom96 | I think that website should be tested and ready for usage before it's live on pkgs.nim-lang.org |
23:13:50 | ekarlso | ok ;) |
23:14:02 | ekarlso | dom96: I can host it on a vm btw.. |
23:14:06 | dom96 | the front page definitely needs improvement |
23:14:17 | ekarlso | vs choking your vm's |
23:15:28 | ekarlso | I never proposed that I was good at webdesign did I now.. |
23:15:50 | flaviu | dom96: I accidentally pushed to nim-lang/packages. What is the correct reaction? |
23:16:14 | flaviu | I could rebase it out, but if anyone has cloned it in the last few moments, it'll cause problems for them |
23:16:34 | * | vendethiel joined #nim |
23:16:36 | dom96 | flaviu: revert the commit? |
23:16:43 | flaviu | ekarlso: https://github.com/nim-lang/packages/commit/94193cd2bec35b2a9ef582b5ac234e64a97d52e3 |
23:16:53 | * | mytrile left #nim (#nim) |
23:16:58 | ekarlso | seems correct :P |
23:17:00 | flaviu | is that acceptable, or do you want me to undo it. dom96: sure, I can do that |
23:17:04 | dom96 | I don't know what you mean, your commit seems fine? |
23:17:06 | flaviu | ok, I'll just let it be then. |
23:17:18 | flaviu | Yes, but it didn't go through the github PR interface |
23:17:24 | BlaXpirit_ | flaviu, some commmits seem to be gone!!@!!! |
23:17:33 | BlaXpirit_ | flaviu, docopt is missing, for instance |
23:17:39 | flaviu | well, shit. |
23:17:40 | BlaXpirit_ | and a month of commits seems to be missing |
23:17:47 | flaviu | that sounds about right |
23:17:50 | ekarlso | doh |
23:18:04 | dom96 | well. |
23:18:17 | dom96 | Nice job. |
23:18:47 | BlaXpirit_ | my fork says This branch is 7 commits ahead, 1 commit behind nim-lang:master |
23:19:33 | dom96 | flaviu: What have you done? |
23:19:41 | def- | dom96: i guess "git push -f" |
23:19:49 | BlaXpirit_ | interesting picture https://github.com/nim-lang/packages/network |
23:19:54 | dom96 | yeah. |
23:19:57 | flaviu | I cloned from my branch, and thought I'd rebased on top of upstream |
23:20:13 | flaviu | I messed up the remote urls though, but I pasted the wrong url when fixing it. |
23:20:15 | def- | BlaXpirit_: wait, what did i do?^^ |
23:20:29 | BlaXpirit_ | def-, you? |
23:21:08 | def- | BlaXpirit_: i seem to have some branches in this picture |
23:21:16 | def- | don't remember doing anything wild with packages |
23:21:19 | dom96 | flaviu: oh well, happens to the best of us. |
23:21:22 | dom96 | Fix it please. |
23:21:32 | dom96 | I guess def has the most recent fork? |
23:21:35 | BlaXpirit_ | your branch has the most commits, def- |
23:21:40 | flaviu | working on it. |
23:21:41 | BlaXpirit_ | , something like that.../ |
23:21:52 | flaviu | Github should still have a copy of all the commits |
23:21:57 | flaviu | No one run git gc. |
23:22:15 | dom96 | awesome |
23:25:07 | * | sillesta6433 joined #nim |
23:25:09 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:25:09 | ekarlso | dom96: meh, I guess I need to do some kind of de-duplication then of the packages and versions |
23:25:20 | ekarlso | since both packages.json and reqgistry can have the same pack |
23:25:34 | * | Var|Mobile joined #nim |
23:27:09 | * | sillesta64 quit (Ping timeout: 256 seconds) |
23:28:44 | * | shodan45 joined #nim |
23:29:50 | ekarlso | dom96: u fine with me running the site ? |
23:29:59 | * | Var|Mobile quit (Ping timeout: 256 seconds) |
23:33:23 | flaviu | It's looking like def-'s branch is the best idea |
23:35:24 | * | Trustable quit (Quit: Leaving) |
23:35:57 | * | reem quit (Remote host closed the connection) |
23:36:01 | def- | no, my branch is bad |
23:36:10 | def- | it's not up to date maybe |
23:36:16 | def- | or maybe it is |
23:36:20 | BlaXpirit_ | it seems to be up to date |
23:36:24 | def- | don't remember if anything came after that |
23:36:27 | BlaXpirit_ | it is the most up to date branch, anyway |
23:36:29 | dom96 | everybody check their ~/.nimble/packages.json files |
23:36:30 | * | reem joined #nim |
23:36:33 | dom96 | we can always restore from those |
23:36:33 | BlaXpirit_ | no pull requests after your changes |
23:36:43 | flaviu | dom96: Good idea! |
23:37:00 | BlaXpirit_ | i have nimsuggest after brainfuck |
23:37:51 | BlaXpirit_ | so there was indeed at least 1 change |
23:37:58 | * | vendethiel quit (Ping timeout: 265 seconds) |
23:38:04 | dom96 | nimsuggest is latest I think |
23:38:32 | flaviu | Ok, pushed |
23:39:10 | * | reem quit (Remote host closed the connection) |
23:39:19 | dom96 | https://github.com/nim-lang/packages/commit/c59f1906d9ab2d8b88088b0281c5c625322bdc9f#diff-3cd1c746ca940713759badf789478307R1142 |
23:39:24 | * | Var|Mobile joined #nim |
23:39:26 | dom96 | you missed something it seems |
23:39:44 | BlaXpirit_ | flaviu pls https://github.com/nim-lang/packages/blob/master/packages.json#L1142 |
23:41:12 | flaviu | Ok, fixed. Thanks! |
23:42:27 | * | vendethiel joined #nim |
23:42:30 | dom96 | Promise me you'll never execute 'git push -f' without *extremely* careful consideration. Especially on the nim-lang repos. |
23:43:37 | ekarlso | this is why I love gerrit or so :P |
23:43:43 | flaviu | dom96: I'll never use git push -f on nim-lang repos. I thought I was pushing to my personal repo. Maybe I can have a system-wide hook to warn me. |
23:47:38 | * | Var|Mobile quit (Ping timeout: 264 seconds) |
23:47:51 | * | Var|Mobile joined #nim |
23:47:51 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:47:58 | * | akiradeveloper joined #nim |
23:48:11 | * | Var|Mobile joined #nim |
23:48:39 | akiradeveloper | How to import a struct in C that uses bit field. e.g fuse_file_info |
23:48:39 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:49:01 | * | Var|Mobile joined #nim |
23:49:01 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:49:19 | * | Var|Mobile joined #nim |
23:50:01 | BlaXpirit_ | :o |
23:50:02 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:50:09 | BlaXpirit_ | I forgot this was even possible |
23:50:28 | * | Var|Mobile joined #nim |
23:50:40 | * | Demos quit (Ping timeout: 255 seconds) |
23:52:27 | Araq | akiradeveloper: importc the struct from some header |
23:54:20 | flaviu | dom96: I've added an apology in the readme, hopefully this doesn't cause too many problems |
23:54:52 | dom96 | flaviu: Don't worry. I'm sure it'll be fine. |
23:54:52 | * | Var|Mobile quit (Ping timeout: 245 seconds) |
23:55:14 | * | Var|Mobile joined #nim |
23:55:14 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:55:32 | * | Var|Mobile joined #nim |
23:56:03 | akiradeveloper | Araq: even so, we need to copy the struct in nim code? like https://github.com/Araq/Nim/blob/master/lib/posix/posix.nim (like Tdirent) I don't know how to represent bit field in nim type |
23:56:03 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:56:16 | * | Var|Mobile joined #nim |
23:56:38 | * | reem joined #nim |
23:56:38 | * | Var|Mobile quit (Read error: Connection reset by peer) |
23:57:22 | Araq | akiradeveloper: yes, simply ignore the ': X' stuff in C |
23:57:36 | akiradeveloper | OK. I will try |
23:57:53 | Araq | there is also a pragma planned for this of course |
23:58:05 | Araq | but importc from a header works too |