<< 23-08-2014 >>

00:17:07*enquora quit (Quit: enquora)
00:39:24SkrylarOSError and osError is pretty terrible
00:39:46Skrylari 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:45flaviuSkrylar: I'd argue that having the same name is acceptable in this case
00:58:57flaviuThe case changes are just to get the compiler not to complain
01:05:27flaviuAh, nevermind
01:05:47flaviuI'd still consider the naming acceptable though
01:06:24flaviuBut 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:27VarriountAraq: What should I work on?
04:47:53Varriountdom96: 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:06Skrylarflaviu: relying on ~4 pixels of height different is spooky
04:49:43flaviuSkrylar: Huh?
04:49:50Skrylar"OSError" vs "osError"
04:49:57Varriountflaviu: He's talking about case sensitivity.
04:49:58Skrylarthe height of that O between capital and non-capital is at most 4 pixels
04:50:06flaviuOh
04:50:19flaviuAccedently using OSError leads to a compile-time error anyway
04:50:34flaviuas does the opposite
04:50:40Skrylartyping 'raise' won't kill anyone though; it also is more clear
04:50:46Varriount^
04:50:55flaviuI absolutly agree with that
04:50:58Skrylar(raise Error) actually reads as "raise X as exception"
04:50:58Varriountraise TheRoof()
04:51:22Skrylari almost defected from nimrod earlier though :F
04:51:36Varriount*gasp*
04:51:41Skrylarthen i found out the schemes still don't have native machine threading after 8 years and stayed for now
04:52:20Skrylari noticed reactormonk's emacs module has weirdly different goals too.. that was kind of amusing
04:53:12Skrylarhis 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:52VarriountGah. Why must Windows be difficult.
05:00:56VarriountIt 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:10flaviuVarriount: Still working on the notify thing?
05:12:35Varriountflaviu: Yeah, but the above is for something different - a revamped walkDirRec
05:13:11flaviuWell, it looks like the intellij people decided that incorporating the file watching was too compilicated
05:13:25flaviuSo they wrote a program that prints the events to stdout
05:13:25flaviuhttps://github.com/JetBrains/intellij-community/blob/master/native/fileWatcher/fileWatcher3.cpp
05:13:48flaviuhttps://github.com/JetBrains/intellij-community/blob/master/native/fsNotifier/linux/main.c
05:15:33VarriountHah.
05:15:41Varriountflaviu: My orginal plan was to have a 'proc walkInfo(path: string, follow, filter: set[PathComponent]): FileInfo'
05:16:57VarriountOn 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:38flaviusorry to interupt, but its 1:17 my time.
05:17:42flaviutime for me to go to bed
05:17:48VarriountSame here; :p
05:19:55Varriountflaviu: 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:22EXetoCdom96: 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:09AraqEXetoC: as always, yes
12:11:30EXetoC?
12:13:14EXetoCwhat does that mean? that you're being overly optimistic?
12:15:35dom96EXetoC: 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:19AraqEXetoC: this means we are months away from a release
12:23:41EXetoCAraq: are you referring to 1.0 now? because the milestone for the next minor release doesn't seem that intimidating
12:24:56EXetoCok I see now that it has a date attached to it
12:35:53*Boscop quit (Ping timeout: 240 seconds)
12:36:58reactormonkSkrylar, well, feel free to pull stuff voer
12:42:05*saml_ joined #nimrod
12:43:59AraqEXetoC: I'm pushing for the name change and the renamefest
12:44:27Araqthis will break everything but "nimrod pretty" is really good at patching code
12:49:34Araqbbl
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:43VarriountAraq: What can I do to help?
17:33:10dom96Varriount: I don't think we should worry about performance for now.
17:33:46dom96Varriount: So just provide ways to do monitor directories or whatever Windows allows you to do.
17:33:53dom96Varriount: Then write a layer on top of that.
17:34:05dom96Which abstracts the cross-platform differences.
17:35:13Varriountdom96: Could you rephrase that?
17:36:11dom96Varriount: Create the simplest possible implementation of fsmonitor for Windows and Linux.
17:36:45dom96Without 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:47AraqVarriount: 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:36filwitlot 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:15filwitthis 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:44filwitfork*
19:49:43filwitanyways, bbl
19:49:45*filwit quit (Quit: Leaving)
19:51:55*EXetoC joined #nimrod
19:58:36Jehan_Not sure what the problem with primary constructors is?
19:58:48*Ven joined #nimrod
19:59:06Jehan_They're a pretty straightforward adoption of Scala's case classes, which work fine?
19:59:22Jehan_Other than adding to language complexity, of course.
19:59:42Jehan_But you don't avoid that by library-fying language constructs – if anything, that can make it worse.
20:02:56Matthias247Jehan_: imho it's a shortcut for writing constructors that initialize fields/properties
20:03:10Matthias247but I like Darts syntax for that better
20:03:12Jehan_Matthias247: Yeah, same as in Scala.
20:03:53Jehan_I'm just not sure what the problem is that filwit was referring to.
20:03:53Matthias247I'm not too deep in scala ;)
20:05:26Matthias247did 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:25Matthias247although at least type interference and real properties would be nice
20:12:58*nande joined #nimrod
20:22:09AraqMatthias247: I think Java is wrong on so many levels that it doesn't need a "replacement"
20:22:21Araqit needs to be eradicated from the planet for good
20:22:29EXetoClet's blow up the HQ
20:22:30Matthias247haha
20:23:07Matthias247eradicate prolog and vba first ;)
20:34:53*disconnected joined #nimrod
20:35:03Araqhi disconnected welcome
20:35:33dom96disconnected: witam :)
20:35:48disconnectedhello / czesc
20:36:56disconnectedwanted 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:03disconnectedas it states*
20:39:24Araqit generates a bunch of ifs at linktime
20:40:50Araqit'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:46disconnectedgenerating code at linktime, sounds interesting
20:43:33*Boscop quit (Ping timeout: 240 seconds)
20:46:03Araqit'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:55Mat3hello
21:07:35*ome quit (Quit: Connection closed for inactivity)
21:07:37dom96hey Mat3
21:08:08Mat3hello dom96
21:09:38Mat3after the short discussion yesterday I think to found a relative easy way for embedding my compiler to Nimrod
21:10:14dom96awesome. How are you going to do it?
21:11:18Mat3there exist these nice project: https://github.com/rui314/8cc
21:11:55Mat3it is a really simple C compiler which uses an inefficient stack model for compilation
21:12:44Araqyeah I know about it
21:12:50Mat3after some tests, the code generator can be hacked to emit NAVM il code
21:13:02Mat3without problems
21:13:43Mat3which can then be optimized and compiled
21:14:09Mat3so I think to take the sources and translate them to Nim(rod)
21:16:27dom96that could work
21:22:50*Trustable joined #nimrod
21:25:24*bogen joined #nimrod
21:26:27Mat3the 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:15Mat3probably 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:43Araqyeah, go for it, sounds reasonable
21:35:43Mat3ok, work on it
21:38:59*vissborg joined #nimrod
21:41:01Araqhi vissborg welcome
21:45:36Mat3hello vissborg
21:46:53*ARCADIVS quit (Quit: WeeChat 0.4.3)
22:29:29Mat3ciao
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:04VarriountMeoooow
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:51NimBotAraq/Nimrod devel 2525215 Dominik Picheta [+0 ±1 -0]: Ftpclient module now uses generics.
23:38:17VarriountAnyone know what "NAVM code" is?
23:40:47willwillsonis it this: https://www.assembla.com/spaces/navm/wiki/Home?version=8 ?