<< 29-08-2016 >>

00:00:07libmanattn apotheon: notice I use parenthesis to make the language on the rejected page more readable.
00:03:23libmanAL2 is the license about which I'll probably end up doing the most nagging, as it's currently #3 in nimble with 3.763%. I'd rephrase the text on the copyfree.org page further:
00:03:26libman'Apache License 2.0 sections 4.2 and 4.4 violate [Copyfree Standard Definition](add hyperlink) point #3 ("Free Modification and Derivation") by specifying conditions (beyond licensing) that must apply to modifications.'
00:03:58libmanShoot, sorry, the last 3 lines weren't intended for this channel... ::shame::
00:05:30*castlelore quit (Quit: WeeChat 1.5)
00:16:29*mtj_ quit (Remote host closed the connection)
00:16:37*mtj_ joined #nim
00:23:26*mtj_ quit (Remote host closed the connection)
00:23:35*mtj_ joined #nim
00:24:51*fredrik92 quit (Quit: Shutting down...)
00:31:24*mas_ joined #nim
00:40:42*libman quit (Remote host closed the connection)
00:54:40*rtr_ quit (Remote host closed the connection)
00:55:40*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
01:10:39*r4vi quit (Ping timeout: 264 seconds)
01:10:39*NhanH quit (Ping timeout: 264 seconds)
01:11:18*CARAM__ quit (Ping timeout: 258 seconds)
01:11:51*zielmicha quit (Ping timeout: 264 seconds)
01:12:52*yglukhov joined #nim
01:17:08*yglukhov quit (Ping timeout: 244 seconds)
01:23:24*r4vi joined #nim
01:23:39*zielmicha joined #nim
01:27:29*CARAM__ joined #nim
01:28:55*NhanH joined #nim
01:31:32*chemist69 quit (Disconnected by services)
01:31:37*chemist69_ joined #nim
01:57:09*fastrom1 quit (Quit: Leaving.)
02:06:10*cheatfate_ quit (Ping timeout: 265 seconds)
02:06:36*cheatfate joined #nim
02:11:33*cheatfate_ joined #nim
02:14:03*cheatfate quit (Ping timeout: 240 seconds)
02:15:48*cheatfate_ is now known as cheatfate
02:17:38*space-wizard joined #nim
02:18:53*space-wizard quit (Read error: Connection reset by peer)
02:20:00*space-wizard joined #nim
02:52:30*endragor joined #nim
02:54:19*castlelore joined #nim
02:59:41*Demon_Fox quit (Remote host closed the connection)
03:04:53*castlelore quit (Quit: WeeChat 1.5)
03:08:27*castlelore joined #nim
03:15:06*yglukhov joined #nim
03:16:07*dddddd quit (Ping timeout: 244 seconds)
03:16:15*castlelore quit (Quit: WeeChat 1.5)
03:20:12*yglukhov quit (Ping timeout: 250 seconds)
03:29:23*ftsf joined #nim
04:01:04*chemist69_ quit (Ping timeout: 255 seconds)
04:03:50*chemist69 joined #nim
04:38:16*castlelore joined #nim
04:54:08*Demon_Fox joined #nim
05:14:47*gokr joined #nim
05:17:56*yglukhov joined #nim
05:22:11*yglukhov quit (Ping timeout: 244 seconds)
05:29:03*gokr quit (Ping timeout: 240 seconds)
05:35:54*AnonymousCoward quit (Ping timeout: 260 seconds)
05:42:41*AnonymousCoward joined #nim
05:45:10*space-wizard quit (Quit: My Mac has gone to sleep. ZZZzzz…)
05:52:38*space-wizard joined #nim
05:52:49*endragor quit (Remote host closed the connection)
05:55:50*endragor joined #nim
05:55:55*endragor quit (Remote host closed the connection)
05:55:58*space-wizard quit (Client Quit)
05:56:03*endragor joined #nim
06:06:28*AnonymousCoward_ joined #nim
06:08:34*AnonymousCoward quit (Ping timeout: 260 seconds)
06:11:20*rtr_ joined #nim
06:23:00*AnonymousCoward_ quit (Read error: Connection reset by peer)
06:23:40*GustavoLapasta joined #nim
06:25:45*AnonymousCoward joined #nim
06:28:14*space-wizard joined #nim
06:28:44*space-wizard quit (Client Quit)
06:34:04*chemist69 quit (Ping timeout: 255 seconds)
06:37:02*chemist69 joined #nim
06:38:53*castlelore quit (Quit: WeeChat 1.5)
06:39:54*castlelore joined #nim
06:41:02*rtr_ quit (Remote host closed the connection)
06:49:57*pdv joined #nim
06:51:01*rtr_ joined #nim
06:53:15*rtr_ quit (Remote host closed the connection)
06:56:12*Arrrr joined #nim
06:56:42*rtr_ joined #nim
07:02:06*brechtm_ joined #nim
07:10:12*brechtm_ quit ()
07:11:09*rtr_ quit (Ping timeout: 265 seconds)
07:11:43*Arrrr_ joined #nim
07:11:47*Arrrr_ quit (Client Quit)
07:13:29*pafmaf joined #nim
07:14:19*Arrrr quit (Ping timeout: 244 seconds)
07:14:34*chemist69 quit (Quit: WeeChat 1.5)
07:19:59*yglukhov joined #nim
07:20:57*chemist69 joined #nim
07:23:13*nsf joined #nim
07:25:09*yglukhov quit (Ping timeout: 244 seconds)
07:28:08*brechtm joined #nim
07:30:13*nairobi joined #nim
07:38:55*Arrrr joined #nim
07:38:55*Arrrr quit (Changing host)
07:38:55*Arrrr joined #nim
07:39:15Arrrr"command line(1, 2) Error: A module cannot import itself"
07:39:37ArrrrBefore this weekend i could.
07:39:51ArrrrI mean, i did not have this problem.
07:41:57*Trustable joined #nim
07:44:52*castlelore quit (Quit: WeeChat 1.5)
07:47:57*castlelore joined #nim
07:53:07AraqArrrr: does the module import itself or not?
07:53:35ArrrrNo, i did not change anything this weekend. I git pull today
07:53:48ArrrrAnd i dont have self importing modules
07:54:58ArrrrAt least that i aware of. It may be because of the path = "$projectDir" ?
07:55:07ArrrrI have no problem with projects without it
07:56:50Araqhow to reproduce?
08:01:25ArrrrI think i know how. In my .cfg, i imported a module, and later used path = "$projectDir"
08:01:54ArrrrIn a black project, if i dont import before setting the path, i dont have this issue
08:01:59Arrrr*blank
08:04:09*castlelore quit (Quit: WeeChat 1.5)
08:05:17Arrrrhttp://pastebin.com/u8VYt367
08:05:23*castlelore joined #nim
08:06:40ArrrrIt doesn't matter the order between path/import
08:20:15*castlelore quit (Quit: WeeChat 1.5)
08:34:44*nairobi quit (Remote host closed the connection)
08:37:00*hendi joined #nim
08:40:00*chemist69 quit (Ping timeout: 250 seconds)
08:42:32*chemist69 joined #nim
08:52:20*yglukhov joined #nim
08:57:42*Demon_Fox quit (Quit: Leaving)
09:12:24veganskHi! Why I can't do ``cast[cstring](p)``, where p is pointer? I must use cast like this: ``cast[ptr char](p).cstring``. Is it by design?
09:12:34AraqArrrr: well other implicitly imports other due to your config
09:12:40Araqthe compiler is technically right
09:13:30Araqvegansk: what's the error message?
09:14:38veganskOops, sorry, p.cstring doesn't work
09:16:38veganskBecause cstring is magic
09:17:39ArrrrSo i have to choose between implicit module import and implicit directory import?
09:19:29Araqimport in the config shouldn't cause a self import, but it seems hard to support
09:21:32ArrrrWell, i had no problems with it for months. I guess people here doesn't use folders and don't mind relative imports
09:23:00AraqI'm working on it, ok?
09:33:08ArrrrOk, thanks.
09:33:39Araqfixed.
09:33:39NimBotnim-lang/Nim devel 154db46 Andreas Rumpf [+3 ±1 -0]: fixes a regression that caused --import in a config file to break things
09:34:08ArrrrYou don't have to if you dont want. I'm complaining because i feel it is actually useful at least for something bigger than a lib.
09:35:15*bbl joined #nim
09:36:19Araqregressions are bad.
09:41:36*bbl is now known as baabelfish
09:44:25*cheatfate_ joined #nim
09:46:51yglukhovAraq: so. any opinion regarding the pr? =)
09:50:55*cheatfate__ joined #nim
09:52:28NimBotnim-lang/Nim devel d6074a7 mogud [+0 ±1 -0]: make koch build quietly
09:52:28NimBotnim-lang/Nim devel 7d76f49 Andreas Rumpf [+0 ±1 -0]: Merge pull request #4667 from mogud/devel... 2 more lines
09:52:46NimBotnim-lang/Nim devel 90b0a77 Yuriy Glukhov [+0 ±2 -0]: Uncaught exceptions in JS now always propagate with better stack trace.
09:52:46NimBotnim-lang/Nim devel 8bff930 Yuriy Glukhov [+0 ±3 -0]: Fixed js codegen issue for uncaught exceptions.
09:52:46NimBotnim-lang/Nim devel 62785be Yuriy Glukhov [+0 ±1 -0]: Restore framePtr after exceptions
09:52:46NimBotnim-lang/Nim devel c1dd65c Yuriy Glukhov [+0 ±1 -0]: Reset framePtr on unhabdled exception. Dont reset on getStackTrace.
09:52:46NimBot4 more commits.
09:53:04NimBotnim-lang/Nim devel 8f86e0f Matthew Baulch [+0 ±1 -0]: Rewrite cyclicTree. Performance improved by approx 50%.
09:53:04NimBotnim-lang/Nim devel 701109e Matthew Baulch [+0 ±1 -0]: Remove (unused) swapOperands proc.
09:53:04NimBotnim-lang/Nim devel 5e0a062 Matthew Baulch [+0 ±1 -0]: Remove (unused) flattenTree proc.
09:53:04NimBotnim-lang/Nim devel e1a5732 Matthew Baulch [+0 ±1 -0]: Remove unused procs getProcSym, getOpSym.
09:53:04NimBot4 more commits.
09:53:28*xet7_ joined #nim
09:53:40*cheatfate_ quit (Ping timeout: 250 seconds)
10:01:54yglukhovoh cool. thanks!
10:05:49chemist69NimBot rocks!
10:10:38*cheatfate_ joined #nim
10:12:09*cheatfate_ quit (Client Quit)
10:14:28*cheatfate__ quit (Ping timeout: 250 seconds)
10:25:02*PMunch joined #nim
10:44:48*brechtm_ joined #nim
10:46:42*brechtm_ quit (Remote host closed the connection)
10:46:58*chemist69 quit (Ping timeout: 255 seconds)
10:48:34*brechtm quit (Ping timeout: 260 seconds)
10:49:43*chemist69 joined #nim
10:52:24*brechtm joined #nim
10:54:44yglukhovAraq: here's another one please: https://github.com/nim-lang/Nim/pull/4670
11:02:48*pdv quit (Remote host closed the connection)
11:04:35*Arrrr quit (Ping timeout: 244 seconds)
11:05:27*GustavoLapasta quit (Quit: Leaving)
11:11:03*bjz joined #nim
11:16:57*brechtm quit (Remote host closed the connection)
11:17:20*brechtm joined #nim
11:24:36*brechtm_ joined #nim
11:27:32*brechtm quit (Ping timeout: 240 seconds)
11:29:15*brechtm_ quit (Remote host closed the connection)
11:30:29*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
11:32:23*brechtm joined #nim
11:40:43*desophos quit (Read error: Connection reset by peer)
11:41:38*brechtm quit (Remote host closed the connection)
11:42:49*brechtm joined #nim
11:43:37*bjz joined #nim
11:56:19*fastrom joined #nim
12:01:35*PMunch quit (Ping timeout: 244 seconds)
12:14:09*fastrom quit (Quit: Leaving.)
12:14:34*fastrom joined #nim
12:19:52*fastrom quit (Quit: Leaving.)
12:21:18*fastrom joined #nim
12:21:32*PMunch joined #nim
12:35:05*krux02 joined #nim
12:59:23*dddddd_ joined #nim
13:00:19*dddddd_ is now known as dddddd
13:02:18*bjz_ joined #nim
13:02:33*bjz quit (Ping timeout: 240 seconds)
13:11:08*endragor quit (Remote host closed the connection)
13:22:26*PMunch quit (Quit: leaving)
13:34:47*bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13:48:03*hendi quit (Ping timeout: 265 seconds)
13:50:13*amly joined #nim
13:51:18*Flox42 quit (Remote host closed the connection)
13:51:19*M-Quora quit (Remote host closed the connection)
13:51:19*M-max quit (Remote host closed the connection)
13:51:43NimBotnim-lang/Nim devel e92a7fd Andreas Rumpf [+0 ±3 -0]: nimsuggest improvements
13:58:39*Flox42 joined #nim
14:02:08*fredrik92 joined #nim
14:02:57krux02Araq: would it be feasible to implement top level defer to a call to atexit
14:04:02krux02I suggested it in this thread: forum.nim-lang.org/t/2500
14:11:16*gokr joined #nim
14:13:52*fredrik92 quit (Quit: Changing host . . .)
14:14:27*fredrik92 joined #nim
14:20:34*cnu- quit (Quit: Quit.)
14:20:42Araqfeasible: yes. but I don't like the 'runForever' use case
14:21:06Araqtoo much magic
14:21:35Araqalso thinking about it: running the main loop in an atexit handler seems to be madness
14:25:13NimBotnim-lang/Nim devel f12f27c Yuriy Glukhov [+0 ±2 -0]: Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635
14:25:13NimBotnim-lang/Nim devel 283f8e9 Andreas Rumpf [+0 ±2 -0]: Merge pull request #4670 from yglukhov/js-getcurex... 2 more lines
14:25:30krux02Araq: aside from the 'runForever', I would really like to have defer at top level to just work, no matter how stupid the use case is. I also once tried it, and would have liked it to work.
14:27:58Araqwe could collect top level statements for the main module in an implicit main proc
14:28:32Araqthis way we don't need to tell benchmarkers "don't use top level statements" anymore
14:28:46Araqand 'defer' would work too as a side-effect
14:34:06krux02I honestly don't know how it is done at the moment, but an implicit main proc sounds like a good idea.
14:34:15euantorSounds good to me too
14:34:42krux02But how will it work with global variables?
14:35:48krux02will the code generator have a declaration free implicit main?
14:40:09krux02I think I am thinking too far already, but global variables that are neither exported nor accessed from other functions, can become local variables in the implicit main function.
14:46:06*M-max joined #nim
14:46:22*M-Quora joined #nim
14:53:19*cnu- joined #nim
15:12:48*michael_campbell joined #nim
15:13:50*AnonymousCoward_ joined #nim
15:15:36*AnonymousCoward quit (Read error: Connection reset by peer)
15:15:49*brson joined #nim
15:19:28*rektide quit (Quit: leaving)
15:19:28*rektide_ quit (Quit: leaving)
15:19:42*rektide joined #nim
15:21:14*Demon_Fox joined #nim
15:21:59*AnonymousCoward joined #nim
15:25:04*AnonymousCoward_ quit (Ping timeout: 260 seconds)
15:27:38*AnonymousCoward_ joined #nim
15:30:22*AnonymousCoward quit (Read error: Connection reset by peer)
15:38:04*nairobi joined #nim
15:42:31*nairobi quit (Ping timeout: 265 seconds)
15:43:07*nairobi joined #nim
15:46:26*chemist69 quit (Quit: WeeChat 1.5)
15:47:22*chemist69 joined #nim
15:58:40*Trustable quit (Remote host closed the connection)
16:00:22*nairobi quit (Read error: Connection timed out)
16:01:39*nairobi joined #nim
16:05:27*lyro quit (Remote host closed the connection)
16:20:21*space-wizard joined #nim
16:24:20*hendi joined #nim
16:40:33*libman joined #nim
16:45:56*nairobi quit (Remote host closed the connection)
16:47:01*nairobi joined #nim
16:51:25*nairobi quit (Ping timeout: 252 seconds)
16:53:47*derlafff joined #nim
16:58:21derlafffhi. are tables thread-safe?
16:58:21*libman quit (Read error: Connection reset by peer)
17:04:52*fastrom quit (Quit: Leaving.)
17:06:33dom96derlafff: Shared tables are IIRC https://github.com/nim-lang/Nim/blob/devel/lib/pure/collections/sharedtables.nim
17:13:52*Jesin quit (Quit: Leaving)
17:14:20*brechtm_ joined #nim
17:15:04*amly left #nim ("later")
17:16:31*libman joined #nim
17:17:03*Jesin joined #nim
17:17:15*brechtm quit (Ping timeout: 264 seconds)
17:19:09*rtr_ joined #nim
17:24:30*rtr__ joined #nim
17:24:32*rtr_ quit (Read error: Connection reset by peer)
17:26:14*PMunch joined #nim
17:30:48*libman quit (Read error: Connection reset by peer)
17:38:12*Calinou quit (Quit: No Ping reply in 180 seconds.)
17:40:07*nairobi joined #nim
17:40:37*Calinou joined #nim
17:43:41*brechtm_ quit (Remote host closed the connection)
17:47:53*libman joined #nim
17:48:27PMunchHmm, any ideas how to write a backend for a collaborative editing system?
17:51:32libmanUsing an in-memory database for lowest latency and https://en.wikipedia.org/wiki/Server-sent_events ?
17:52:23*GangstaCat joined #nim
17:52:25libman(Assuming you're married to the in-browser client paradigm.)
17:52:35PMunchThat was the plan
17:53:03*yglukhov quit (Ping timeout: 276 seconds)
17:53:03*brechtm joined #nim
17:53:17PMunchMy problem is doing the sync of different peoples edits..
17:53:55*krux02 quit (Quit: Verlassend)
17:54:58libmanYou have X users editing document simultaneously. All X of them have X copies of the document in IndexedDB. When one updates, changes are sent to the server, which then SSE-sends them to the remaining X-1.
17:55:36*nairobi quit (Read error: Connection timed out)
17:55:45libmanIt's of course faster to transfer diffs, but you should probably start with whole-document sync first (which you'll need as fallback anyway).
17:56:52PMunchBut what happens if two people edit at the same time
17:56:55libmanServer can be smart enough to compute JS to update modified sections, but that can make things more complicated.
17:57:24*nairobi joined #nim
17:57:28PMunchHmm
17:57:30libmanFrom the server perspective, there's no such thing as "at the same time". Someone's update arrived a nanosecond sooner or later.
17:57:47PMunchYeah, but you'd still have to figure out which version to use..
17:57:48libman(In case of extremely rare collisions, flip a coin, LOL.)
17:57:54*brechtm quit (Ping timeout: 260 seconds)
17:58:29PMunchHaha :P
18:02:03*libman quit (Ping timeout: 244 seconds)
18:07:19*libman joined #nim
18:07:32*hendi quit (Ping timeout: 240 seconds)
18:08:01libmanMy connection sucks. :(
18:08:40libmanYou need to separate the problem into modules, Software Engineering 101. You have the server module with the in-memory database (that gets synced to disc asynchronously), you have the basic client-side edit interface, you have the sync mechanism between clients and server, and THEN you have the diffing logic.
18:08:56libmanPMunch: Go implement the first parts, put it on GitHub with a permissive license, and then someone might be interested in helping you with the hard parts. :P
18:09:53PMunchWell there are multiple things like this already. And I was just toying with an idea so I probably wont bother at the moment
18:11:22libmanUnless you're doing this project (and doing it in Nim), this whole discussion has been off-topic.
18:11:45PMunchWell, I was planning on doing it in Nim if I decided to do it at all :P
18:11:50PMunchSo not entirely off-topic
18:12:32PMunchAnd for all I knew someone might've already made something like this in Nim, so it would be silly to look into eg. JS solutions before asking here
18:12:39libmanIt would definitely be a good choice to do it in a language that can run on both client-side and server-side, because you might at some point decide you need to do the diffing logic on the other side (or in both places).
18:14:34*nairobi quit (Read error: Connection timed out)
18:14:46PMunchWell, Nim has a JavaScript build target
18:14:48libmanI would start with smaller projects, like a nim SSE client and SSE server modules, or a command-line tool that takes X documents and generates HTML formatting to show differences.
18:15:01PMunchIn fact the official site is created purely in Nim IIRC
18:16:06*nairobi joined #nim
18:17:33libmanThe diffing would only work if all versions of the document are sufficiently similar though. Users would periodically have to "Accept" changes from others to integrate them into their own version of the document.
18:20:11libmanI can only imagine this UI using color to show who added the text (CSS lets you set a different color for the underline to show who removed it), and mouse-over tool-tips with details.
18:20:20PMunchWell I was thinking of doing something like this: whenever you change position in the document, request a cursor from the server. Whenever you get a cursor you can stream to that cursor and it will get added to the shared document. The server would have to keep track of the cursors and offset them according to the input streams. Then the server would use SSE to stream back.
18:20:45PMunchYeah, that's how other solutions typically works
18:20:49PMunchWith the colours I mean
18:22:39PMunchHmm, but I guess I would need some way to get a cursor at a specific position
18:23:42libmanYou'll need to have a limit on a number of simultaneous editors (2 being very easy, more is possible but it gets increasingly complicated), but there need not be a limit on the number of observers. Many people can watch and take turns with edit access.
18:29:24libmanThe easiest thing is to only allow editing of one HTML element at a time, so you double-click on a heading or paragraph end it turns into a textarea. Anyway, this whole discussion is off-topic, so I'm done.
18:29:39libman*And
18:29:49PMunchSorry, didn't mean to drag you into off-topic chat
18:30:45Xei don't consider it a sin to stray a little when talking about nim and how it fits into the tech world
18:30:46*nsf quit (Quit: WeeChat 1.5)
18:31:28PMunchNeither do I, I was apologizing to libman as it seemed like he didn't like to talk off-topic :)
18:32:06*endragor joined #nim
18:32:30*libman has a tendency to ramble on and on about philosophical nitpickings that most people don't find all that important.
18:33:24PMunchHaha, you and me both
18:34:06*libman quit (Read error: Connection reset by peer)
18:36:59*endragor quit (Ping timeout: 260 seconds)
18:45:20*ofelas quit (Quit: shutdown -h now)
18:49:41*PMunch quit (Quit: leaving)
18:49:41*yglukhov joined #nim
18:50:12*libman joined #nim
18:54:16*yglukhov quit (Ping timeout: 258 seconds)
18:59:58*ofelas joined #nim
19:00:55*couven92 joined #nim
19:04:12*fredrik92 quit (Ping timeout: 244 seconds)
19:08:51*chemist69 quit (Ping timeout: 264 seconds)
19:09:16*chemist69 joined #nim
19:10:13*yglukhov joined #nim
19:10:58*endragor joined #nim
19:14:34*yglukhov quit (Ping timeout: 255 seconds)
19:15:28*endragor quit (Ping timeout: 255 seconds)
19:16:33*GangstaCat quit (Quit: Leaving)
19:42:44*libman quit (Ping timeout: 265 seconds)
19:44:25*PMunch joined #nim
19:51:29*yglukhov joined #nim
20:07:02*nsf joined #nim
20:11:10*fastrom joined #nim
20:28:27*AnonymousCoward_ quit (Read error: Connection reset by peer)
20:29:05*AnonymousCoward_ joined #nim
20:37:53*Calinou quit (Quit: No Ping reply in 180 seconds.)
20:40:12*Calinou joined #nim
20:54:37*kulelu88 joined #nim
20:59:49*nairobi quit (Remote host closed the connection)
21:17:55*irrequietus joined #nim
21:19:39*Trustable joined #nim
21:20:05*brson quit (Ping timeout: 244 seconds)
21:22:10*brson joined #nim
21:28:08*Demon_Fox quit (Quit: Leaving)
21:34:25*fastrom quit (Quit: Leaving.)
21:36:14*nairobi joined #nim
21:40:12*nairobi quit (Ping timeout: 240 seconds)
21:40:42Calinou:( I hate working on dynamic websites so much
21:41:19Calinouintegrating a CSS preprocessor is tricky to get right, all the current CMS options seem to be dated and clunky (WordPress) or incomplete (October, Grav)
21:41:36Calinouand obviously it's not as secure as a static site
21:44:06*pafmaf quit (Quit: Leaving)
21:46:58Araq*shrug* I wrote nimweb
21:51:46*couven92 quit (Quit: Chaning host...)
21:52:12*couven92 joined #nim
21:53:06*brechtm joined #nim
21:57:16federico3what's even the point of a css preprocessor?
21:57:46*brechtm quit (Ping timeout: 252 seconds)
21:59:59*brson quit (Quit: leaving)
22:00:15*brson joined #nim
22:01:21*Trustable quit (Remote host closed the connection)
22:09:20Calinoufederico3: making it much more convenient to write CSS: single-line comments, nesting, math preprocessing ("calc" doesn't work on IE < 10 for example), variables…
22:09:52CalinouI like http://stylus-lang.com/, since it can be indent-based
22:10:02Calinoubut Jekyll supports Sass only since it's Ruby ;)
22:20:44federico3Calinou: if someone needs such level of complexity in a CSS file there's a problem
22:22:41Calinoufederico3: you'd be surprised
22:22:55Calinouoh, also CSS preprocessors make it easy to concatenate/compress several CSS files into a single one
22:22:59Calinouso, no more 2000-line style.css :)
22:24:42federico3please surprise me :)
22:27:22*Sentreen quit (Quit: WeeChat 1.4)
22:27:48*Sentreen joined #nim
22:30:28*Sentreen quit (Client Quit)
22:30:49*Sentreen joined #nim
22:39:07*yglukhov quit (Remote host closed the connection)
22:49:55kulelu88doesn't compression into a single CSS file result in a 10,000 style.css?
22:51:54*bjz joined #nim
22:52:49*gokr quit (Ping timeout: 255 seconds)
22:59:46*rtr__ quit (Remote host closed the connection)
23:00:56*gokr joined #nim
23:01:44okamikulelu88: it's not to save client bandwidth, it's to structure your project's styles for easier development
23:01:55okamiuse gzip to save bandwidth :p
23:02:15kulelu88can't you do that without a CSS preprocessor?
23:02:54okamiwell, sure
23:03:06okamiit's not the only reason to use a preprocessor
23:03:36okamijust an extra benefit I guess
23:04:05okamiI enjoy using scss
23:04:22okamieasy for someone with css knowledge to pick up (it's a superset of css)
23:05:50okamibut adds some, what I consider to be, nice features for writing and structuring a site's styles
23:06:38*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
23:08:58*nsf quit (Quit: WeeChat 1.5)
23:11:04Calinouminifying CSS helps in addition to gzipping
23:12:55*endragor joined #nim
23:17:49*endragor quit (Ping timeout: 265 seconds)
23:17:53*Demon_Fox joined #nim
23:24:51*nairobi joined #nim
23:29:25*nairobi quit (Ping timeout: 265 seconds)
23:29:49PMunchCalinou, I have something that might interest you
23:30:11PMunchserv.peterme.net/devlog/git-hooks-and-web-development.html
23:32:07PMunchIt's a little something I did for my site. The HTML/CSS/JS/PHP part is in a Git repo with a database on the server. Using git hooks the server compresses the .css and .js files automatically on push and deploys them to my site. That way I can clone the repo, work with unminified versions of CSS and JS and whenever I push to the 'live' branch I get the benefits of minification.
23:33:26PMunchOh wait, you were talking about CSS preprocessors. My bad, disregard my comments.