00:17:07 | * | enquora quit (Quit: enquora) |
00:39:24 | Skrylar | OSError and osError is pretty terrible |
00:39:46 | Skrylar | i seem to recall a few dozen common coding conventions that state one should never use case differences for semantic differences |
00:41:17 | * | Skrylar prods dom96 |
00:58:45 | flaviu | Skrylar: I'd argue that having the same name is acceptable in this case |
00:58:57 | flaviu | The case changes are just to get the compiler not to complain |
01:05:27 | flaviu | Ah, nevermind |
01:05:47 | flaviu | I'd still consider the naming acceptable though |
01:06:24 | flaviu | But the idea is pretty useless. I don't think typing a few extra "raise"s will kill anyone |
01:07:43 | * | flaviu quit (Remote host closed the connection) |
01:08:50 | * | flaviu joined #nimrod |
01:23:05 | * | fran__ quit (Ping timeout: 260 seconds) |
01:29:20 | * | flaviu quit (Remote host closed the connection) |
01:30:19 | * | flaviu joined #nimrod |
01:38:08 | * | nande joined #nimrod |
01:44:47 | * | Matthias247 quit (Read error: Connection reset by peer) |
01:45:58 | * | BlameStross joined #nimrod |
01:47:07 | * | Fr4n joined #nimrod |
01:49:28 | * | jhc76 quit (Quit: Leaving) |
02:26:10 | * | shodan45 joined #nimrod |
02:28:38 | * | q66 quit (Quit: Leaving) |
03:01:12 | * | Joe_knock quit (Quit: Leaving) |
03:08:48 | * | ehaliewicz joined #nimrod |
03:30:33 | * | willwillson quit (Ping timeout: 246 seconds) |
03:30:56 | * | saml_ joined #nimrod |
03:36:32 | * | saml_ quit (Ping timeout: 245 seconds) |
03:50:13 | * | saml_ joined #nimrod |
03:58:02 | * | saml_ quit (Ping timeout: 255 seconds) |
04:44:27 | Varriount | Araq: What should I work on? |
04:47:53 | Varriount | dom96: When watching a directory for events, should events be returned concerning the directory itself? I ask, because windows doesn't do that, so I would have to emulate it. |
04:49:06 | Skrylar | flaviu: relying on ~4 pixels of height different is spooky |
04:49:43 | flaviu | Skrylar: Huh? |
04:49:50 | Skrylar | "OSError" vs "osError" |
04:49:57 | Varriount | flaviu: He's talking about case sensitivity. |
04:49:58 | Skrylar | the height of that O between capital and non-capital is at most 4 pixels |
04:50:06 | flaviu | Oh |
04:50:19 | flaviu | Accedently using OSError leads to a compile-time error anyway |
04:50:34 | flaviu | as does the opposite |
04:50:40 | Skrylar | typing 'raise' won't kill anyone though; it also is more clear |
04:50:46 | Varriount | ^ |
04:50:55 | flaviu | I absolutly agree with that |
04:50:58 | Skrylar | (raise Error) actually reads as "raise X as exception" |
04:50:58 | Varriount | raise TheRoof() |
04:51:22 | Skrylar | i almost defected from nimrod earlier though :F |
04:51:36 | Varriount | *gasp* |
04:51:41 | Skrylar | then i found out the schemes still don't have native machine threading after 8 years and stayed for now |
04:52:20 | Skrylar | i noticed reactormonk's emacs module has weirdly different goals too.. that was kind of amusing |
04:53:12 | Skrylar | his hooks autocomplete.el up to nimrod for code completion (haven't seen how well it works); mine has structural editing (sort of; i wrote a "narrow to current proc" earlier) |
04:57:52 | Varriount | Gah. Why must Windows be difficult. |
05:00:56 | Varriount | It turns out that the information structure that Window's directory walking api returns is almost the same as the one it returns for retrieving file information... except that the file node id is missing. |
05:07:20 | * | mko quit (Ping timeout: 255 seconds) |
05:12:10 | flaviu | Varriount: Still working on the notify thing? |
05:12:35 | Varriount | flaviu: Yeah, but the above is for something different - a revamped walkDirRec |
05:13:11 | flaviu | Well, it looks like the intellij people decided that incorporating the file watching was too compilicated |
05:13:25 | flaviu | So they wrote a program that prints the events to stdout |
05:13:25 | flaviu | https://github.com/JetBrains/intellij-community/blob/master/native/fileWatcher/fileWatcher3.cpp |
05:13:48 | flaviu | https://github.com/JetBrains/intellij-community/blob/master/native/fsNotifier/linux/main.c |
05:15:33 | Varriount | Hah. |
05:15:41 | Varriount | flaviu: My orginal plan was to have a 'proc walkInfo(path: string, follow, filter: set[PathComponent]): FileInfo' |
05:16:57 | Varriount | On linux/posix systems, this is fine. However on windows, FindFirstFile/FindNextFile return a structure which doesn't contain *quite* enough information to fully fill out a FileInfo object. |
05:17:38 | flaviu | sorry to interupt, but its 1:17 my time. |
05:17:42 | flaviu | time for me to go to bed |
05:17:48 | Varriount | Same here; :p |
05:19:55 | Varriount | flaviu: Is that thing... watching every file on every drive? |
05:21:51 | * | flaviu quit (Ping timeout: 246 seconds) |
05:25:03 | * | ehaliewicz quit (Ping timeout: 240 seconds) |
05:35:30 | * | nande quit (Remote host closed the connection) |
06:12:17 | * | bjz joined #nimrod |
06:42:49 | * | kunev joined #nimrod |
06:47:23 | * | kunev quit (Ping timeout: 240 seconds) |
06:49:41 | * | xenagi quit (Read error: Connection reset by peer) |
07:15:50 | * | kunev joined #nimrod |
07:52:40 | * | EastByte_ quit (Read error: Connection reset by peer) |
08:23:05 | * | io2 joined #nimrod |
08:49:08 | * | Ven joined #nimrod |
09:35:39 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:27:06 | * | Matthias247 joined #nimrod |
10:46:53 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
11:24:19 | * | io2 joined #nimrod |
11:26:00 | * | EXetoC joined #nimrod |
11:47:42 | * | darkf quit (Quit: Leaving) |
11:51:30 | * | willwillson joined #nimrod |
11:54:09 | * | bjz quit (Read error: Connection reset by peer) |
11:54:21 | * | q66 joined #nimrod |
11:58:13 | * | kunev quit (Ping timeout: 260 seconds) |
12:07:01 | * | bjz joined #nimrod |
12:09:22 | EXetoC | dom96: I do indeed need to fix the mongo lib, but I lack motivation as always. when is the next nimrod release, in a couple of weeks? |
12:10:09 | Araq | EXetoC: as always, yes |
12:11:30 | EXetoC | ? |
12:13:14 | EXetoC | what does that mean? that you're being overly optimistic? |
12:15:35 | dom96 | EXetoC: yeah... I know how it is. |
12:18:19 | * | bjz quit (Read error: Connection reset by peer) |
12:18:34 | * | bjz joined #nimrod |
12:22:19 | Araq | EXetoC: this means we are months away from a release |
12:23:41 | EXetoC | Araq: are you referring to 1.0 now? because the milestone for the next minor release doesn't seem that intimidating |
12:24:56 | EXetoC | ok I see now that it has a date attached to it |
12:35:53 | * | Boscop quit (Ping timeout: 240 seconds) |
12:36:58 | reactormonk | Skrylar, well, feel free to pull stuff voer |
12:42:05 | * | saml_ joined #nimrod |
12:43:59 | Araq | EXetoC: I'm pushing for the name change and the renamefest |
12:44:27 | Araq | this will break everything but "nimrod pretty" is really good at patching code |
12:49:34 | Araq | bbl |
12:50:40 | * | flaviu joined #nimrod |
13:09:15 | * | EXetoC quit (Remote host closed the connection) |
13:54:49 | * | EXetoC joined #nimrod |
14:01:58 | * | zahary1 quit (Ping timeout: 272 seconds) |
14:03:19 | * | zahary joined #nimrod |
14:39:24 | * | guest7491 joined #nimrod |
14:39:45 | * | guest7491 is now known as onionmobile |
14:40:37 | * | onionmobile quit (Remote host closed the connection) |
14:59:42 | * | willwillson quit (Ping timeout: 246 seconds) |
15:12:24 | * | EXetoC quit (Read error: No route to host) |
15:33:36 | * | gkoller joined #nimrod |
16:00:57 | * | kunev joined #nimrod |
16:01:06 | * | EXetoC joined #nimrod |
16:07:03 | * | untitaker quit (Ping timeout: 240 seconds) |
16:13:53 | * | untitaker joined #nimrod |
16:22:41 | * | nande joined #nimrod |
17:11:04 | * | ome joined #nimrod |
17:13:58 | * | willwillson joined #nimrod |
17:25:05 | * | Ven joined #nimrod |
17:30:43 | Varriount | Araq: What can I do to help? |
17:33:10 | dom96 | Varriount: I don't think we should worry about performance for now. |
17:33:46 | dom96 | Varriount: So just provide ways to do monitor directories or whatever Windows allows you to do. |
17:33:53 | dom96 | Varriount: Then write a layer on top of that. |
17:34:05 | dom96 | Which abstracts the cross-platform differences. |
17:35:13 | Varriount | dom96: Could you rephrase that? |
17:36:11 | dom96 | Varriount: Create the simplest possible implementation of fsmonitor for Windows and Linux. |
17:36:45 | dom96 | Without worrying about conveniences. |
17:37:36 | * | bogen quit (Quit: Leaving.) |
17:47:01 | * | Jehan_ joined #nimrod |
18:01:31 | * | nande quit (Remote host closed the connection) |
18:14:19 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:23:53 | * | Ven joined #nimrod |
18:27:07 | * | goobles joined #nimrod |
18:31:51 | * | Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:36:15 | * | gkoller quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
18:52:53 | * | filwit joined #nimrod |
18:56:52 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
19:05:12 | * | Ven joined #nimrod |
19:05:54 | * | goobles quit (Quit: Page closed) |
19:11:41 | * | EXetoC quit (Quit: WeeChat 1.0) |
19:11:57 | * | saml_ quit (Ping timeout: 245 seconds) |
19:16:47 | Araq | Varriount: I need to get my branch to work and then there will be plenty of work left for you to do |
19:18:31 | * | io2 joined #nimrod |
19:24:25 | * | Boscop joined #nimrod |
19:38:16 | * | Ven quit (Ping timeout: 260 seconds) |
19:46:36 | filwit | lot of people are complaining about C# 6's planned "primary constructors" (and for good reason): http://msdn.microsoft.com/en-us/magazine/dn683793.aspx |
19:47:15 | filwit | this is what's better about macro-based OOP constructs... if the community really doesn't like something, you can just for the OOP lib, and not the entire language. |
19:47:44 | filwit | fork* |
19:49:43 | filwit | anyways, bbl |
19:49:45 | * | filwit quit (Quit: Leaving) |
19:51:55 | * | EXetoC joined #nimrod |
19:58:36 | Jehan_ | Not sure what the problem with primary constructors is? |
19:58:48 | * | Ven joined #nimrod |
19:59:06 | Jehan_ | They're a pretty straightforward adoption of Scala's case classes, which work fine? |
19:59:22 | Jehan_ | Other than adding to language complexity, of course. |
19:59:42 | Jehan_ | But you don't avoid that by library-fying language constructs – if anything, that can make it worse. |
20:02:56 | Matthias247 | Jehan_: imho it's a shortcut for writing constructors that initialize fields/properties |
20:03:10 | Matthias247 | but I like Darts syntax for that better |
20:03:12 | Jehan_ | Matthias247: Yeah, same as in Scala. |
20:03:53 | Jehan_ | I'm just not sure what the problem is that filwit was referring to. |
20:03:53 | Matthias247 | I'm not too deep in scala ;) |
20:05:26 | Matthias247 | did a little bit of java8 recently. With the new features I think it's quite OK and don't need an urgent replacement :) |
20:06:25 | Matthias247 | although at least type interference and real properties would be nice |
20:12:58 | * | nande joined #nimrod |
20:22:09 | Araq | Matthias247: I think Java is wrong on so many levels that it doesn't need a "replacement" |
20:22:21 | Araq | it needs to be eradicated from the planet for good |
20:22:29 | EXetoC | let's blow up the HQ |
20:22:30 | Matthias247 | haha |
20:23:07 | Matthias247 | eradicate prolog and vba first ;) |
20:34:53 | * | disconnected joined #nimrod |
20:35:03 | Araq | hi disconnected welcome |
20:35:33 | dom96 | disconnected: witam :) |
20:35:48 | disconnected | hello / czesc |
20:36:56 | disconnected | wanted to google first after comming here... but since you already greeted me, how does nimrod do dynamic method binding without virtual method table as it is stated on nimrod-lang.org? |
20:37:03 | disconnected | as it states* |
20:39:24 | Araq | it generates a bunch of ifs at linktime |
20:40:50 | Araq | it's still slower than a virtual method table so I guess it's high time we change the website to not advertise it as a huge feature |
20:41:46 | disconnected | generating code at linktime, sounds interesting |
20:43:33 | * | Boscop quit (Ping timeout: 240 seconds) |
20:46:03 | Araq | it's not really. it simply generates the dispatchers as the last .c file before C compilation starts. so it's "conceptual" linktime |
21:05:52 | * | Mat3 joined #nimrod |
21:05:55 | Mat3 | hello |
21:07:35 | * | ome quit (Quit: Connection closed for inactivity) |
21:07:37 | dom96 | hey Mat3 |
21:08:08 | Mat3 | hello dom96 |
21:09:38 | Mat3 | after the short discussion yesterday I think to found a relative easy way for embedding my compiler to Nimrod |
21:10:14 | dom96 | awesome. How are you going to do it? |
21:11:18 | Mat3 | there exist these nice project: https://github.com/rui314/8cc |
21:11:55 | Mat3 | it is a really simple C compiler which uses an inefficient stack model for compilation |
21:12:44 | Araq | yeah I know about it |
21:12:50 | Mat3 | after some tests, the code generator can be hacked to emit NAVM il code |
21:13:02 | Mat3 | without problems |
21:13:43 | Mat3 | which can then be optimized and compiled |
21:14:09 | Mat3 | so I think to take the sources and translate them to Nim(rod) |
21:16:27 | dom96 | that could work |
21:22:50 | * | Trustable joined #nimrod |
21:25:24 | * | bogen joined #nimrod |
21:26:27 | Mat3 | the author work on some code optimization as he has written. The fun thing is my code generator already transform NAVM code to dynamic register sheduled native code (which result in very efficient code for typical out-of-order cpu's) so I do not need to wait for further versions of him |
21:29:15 | Mat3 | probably it would be of interest for him? Anyhow, I expect a Nimrod port of these compiler in these sense to be of relative less work |
21:30:43 | Araq | yeah, go for it, sounds reasonable |
21:35:43 | Mat3 | ok, work on it |
21:38:59 | * | vissborg joined #nimrod |
21:41:01 | Araq | hi vissborg welcome |
21:45:36 | Mat3 | hello vissborg |
21:46:53 | * | ARCADIVS quit (Quit: WeeChat 0.4.3) |
22:29:29 | Mat3 | ciao |
22:29:32 | * | Mat3 quit (Quit: Verlassend) |
22:36:36 | * | Jehan_ quit (Quit: Leaving) |
22:43:04 | * | johnsoft quit (Ping timeout: 260 seconds) |
22:43:26 | * | Jesin quit (Quit: Leaving) |
22:43:28 | * | Ven quit (Ping timeout: 250 seconds) |
22:56:33 | * | Jesin joined #nimrod |
23:08:04 | Varriount | Meoooow |
23:12:45 | * | dom96 considers getting NimBot to make animal noises to keep Varriount company |
23:19:02 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
23:22:37 | * | darkf joined #nimrod |
23:29:16 | * | EXetoC quit (Ping timeout: 260 seconds) |
23:32:15 | * | Trustable quit (Quit: Leaving) |
23:37:51 | NimBot | Araq/Nimrod devel 2525215 Dominik Picheta [+0 ±1 -0]: Ftpclient module now uses generics. |
23:38:17 | Varriount | Anyone know what "NAVM code" is? |
23:40:47 | willwillson | is it this: https://www.assembla.com/spaces/navm/wiki/Home?version=8 ? |