00:00:07 | libman | attn apotheon: notice I use parenthesis to make the language on the rejected page more readable. |
00:03:23 | libman | AL2 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:26 | libman | '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:58 | libman | Shoot, 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:15 | Arrrr | "command line(1, 2) Error: A module cannot import itself" |
07:39:37 | Arrrr | Before this weekend i could. |
07:39:51 | Arrrr | I 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:07 | Araq | Arrrr: does the module import itself or not? |
07:53:35 | Arrrr | No, i did not change anything this weekend. I git pull today |
07:53:48 | Arrrr | And i dont have self importing modules |
07:54:58 | Arrrr | At least that i aware of. It may be because of the path = "$projectDir" ? |
07:55:07 | Arrrr | I have no problem with projects without it |
07:56:50 | Araq | how to reproduce? |
08:01:25 | Arrrr | I think i know how. In my .cfg, i imported a module, and later used path = "$projectDir" |
08:01:54 | Arrrr | In a black project, if i dont import before setting the path, i dont have this issue |
08:01:59 | Arrrr | *blank |
08:04:09 | * | castlelore quit (Quit: WeeChat 1.5) |
08:05:17 | Arrrr | http://pastebin.com/u8VYt367 |
08:05:23 | * | castlelore joined #nim |
08:06:40 | Arrrr | It 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:24 | vegansk | Hi! 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:34 | Araq | Arrrr: well other implicitly imports other due to your config |
09:12:40 | Araq | the compiler is technically right |
09:13:30 | Araq | vegansk: what's the error message? |
09:14:38 | vegansk | Oops, sorry, p.cstring doesn't work |
09:16:38 | vegansk | Because cstring is magic |
09:17:39 | Arrrr | So i have to choose between implicit module import and implicit directory import? |
09:19:29 | Araq | import in the config shouldn't cause a self import, but it seems hard to support |
09:21:32 | Arrrr | Well, i had no problems with it for months. I guess people here doesn't use folders and don't mind relative imports |
09:23:00 | Araq | I'm working on it, ok? |
09:33:08 | Arrrr | Ok, thanks. |
09:33:39 | Araq | fixed. |
09:33:39 | NimBot | nim-lang/Nim devel 154db46 Andreas Rumpf [+3 ±1 -0]: fixes a regression that caused --import in a config file to break things |
09:34:08 | Arrrr | You 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:19 | Araq | regressions are bad. |
09:41:36 | * | bbl is now known as baabelfish |
09:44:25 | * | cheatfate_ joined #nim |
09:46:51 | yglukhov | Araq: so. any opinion regarding the pr? =) |
09:50:55 | * | cheatfate__ joined #nim |
09:52:28 | NimBot | nim-lang/Nim devel d6074a7 mogud [+0 ±1 -0]: make koch build quietly |
09:52:28 | NimBot | nim-lang/Nim devel 7d76f49 Andreas Rumpf [+0 ±1 -0]: Merge pull request #4667 from mogud/devel... 2 more lines |
09:52:46 | NimBot | nim-lang/Nim devel 90b0a77 Yuriy Glukhov [+0 ±2 -0]: Uncaught exceptions in JS now always propagate with better stack trace. |
09:52:46 | NimBot | nim-lang/Nim devel 8bff930 Yuriy Glukhov [+0 ±3 -0]: Fixed js codegen issue for uncaught exceptions. |
09:52:46 | NimBot | nim-lang/Nim devel 62785be Yuriy Glukhov [+0 ±1 -0]: Restore framePtr after exceptions |
09:52:46 | NimBot | nim-lang/Nim devel c1dd65c Yuriy Glukhov [+0 ±1 -0]: Reset framePtr on unhabdled exception. Dont reset on getStackTrace. |
09:52:46 | NimBot | 4 more commits. |
09:53:04 | NimBot | nim-lang/Nim devel 8f86e0f Matthew Baulch [+0 ±1 -0]: Rewrite cyclicTree. Performance improved by approx 50%. |
09:53:04 | NimBot | nim-lang/Nim devel 701109e Matthew Baulch [+0 ±1 -0]: Remove (unused) swapOperands proc. |
09:53:04 | NimBot | nim-lang/Nim devel 5e0a062 Matthew Baulch [+0 ±1 -0]: Remove (unused) flattenTree proc. |
09:53:04 | NimBot | nim-lang/Nim devel e1a5732 Matthew Baulch [+0 ±1 -0]: Remove unused procs getProcSym, getOpSym. |
09:53:04 | NimBot | 4 more commits. |
09:53:28 | * | xet7_ joined #nim |
09:53:40 | * | cheatfate_ quit (Ping timeout: 250 seconds) |
10:01:54 | yglukhov | oh cool. thanks! |
10:05:49 | chemist69 | NimBot 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:44 | yglukhov | Araq: 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:43 | NimBot | nim-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:57 | krux02 | Araq: would it be feasible to implement top level defer to a call to atexit |
14:04:02 | krux02 | I 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:42 | Araq | feasible: yes. but I don't like the 'runForever' use case |
14:21:06 | Araq | too much magic |
14:21:35 | Araq | also thinking about it: running the main loop in an atexit handler seems to be madness |
14:25:13 | NimBot | nim-lang/Nim devel f12f27c Yuriy Glukhov [+0 ±2 -0]: Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635 |
14:25:13 | NimBot | nim-lang/Nim devel 283f8e9 Andreas Rumpf [+0 ±2 -0]: Merge pull request #4670 from yglukhov/js-getcurex... 2 more lines |
14:25:30 | krux02 | Araq: 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:58 | Araq | we could collect top level statements for the main module in an implicit main proc |
14:28:32 | Araq | this way we don't need to tell benchmarkers "don't use top level statements" anymore |
14:28:46 | Araq | and 'defer' would work too as a side-effect |
14:34:06 | krux02 | I honestly don't know how it is done at the moment, but an implicit main proc sounds like a good idea. |
14:34:15 | euantor | Sounds good to me too |
14:34:42 | krux02 | But how will it work with global variables? |
14:35:48 | krux02 | will the code generator have a declaration free implicit main? |
14:40:09 | krux02 | I 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:21 | derlafff | hi. are tables thread-safe? |
16:58:21 | * | libman quit (Read error: Connection reset by peer) |
17:04:52 | * | fastrom quit (Quit: Leaving.) |
17:06:33 | dom96 | derlafff: 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:27 | PMunch | Hmm, any ideas how to write a backend for a collaborative editing system? |
17:51:32 | libman | Using an in-memory database for lowest latency and https://en.wikipedia.org/wiki/Server-sent_events ? |
17:52:23 | * | GangstaCat joined #nim |
17:52:25 | libman | (Assuming you're married to the in-browser client paradigm.) |
17:52:35 | PMunch | That was the plan |
17:53:03 | * | yglukhov quit (Ping timeout: 276 seconds) |
17:53:03 | * | brechtm joined #nim |
17:53:17 | PMunch | My problem is doing the sync of different peoples edits.. |
17:53:55 | * | krux02 quit (Quit: Verlassend) |
17:54:58 | libman | You 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:45 | libman | It'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:52 | PMunch | But what happens if two people edit at the same time |
17:56:55 | libman | Server 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:28 | PMunch | Hmm |
17:57:30 | libman | From the server perspective, there's no such thing as "at the same time". Someone's update arrived a nanosecond sooner or later. |
17:57:47 | PMunch | Yeah, but you'd still have to figure out which version to use.. |
17:57:48 | libman | (In case of extremely rare collisions, flip a coin, LOL.) |
17:57:54 | * | brechtm quit (Ping timeout: 260 seconds) |
17:58:29 | PMunch | Haha :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:01 | libman | My connection sucks. :( |
18:08:40 | libman | You 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:56 | libman | PMunch: 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:53 | PMunch | Well 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:22 | libman | Unless you're doing this project (and doing it in Nim), this whole discussion has been off-topic. |
18:11:45 | PMunch | Well, I was planning on doing it in Nim if I decided to do it at all :P |
18:11:50 | PMunch | So not entirely off-topic |
18:12:32 | PMunch | And 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:39 | libman | It 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:46 | PMunch | Well, Nim has a JavaScript build target |
18:14:48 | libman | I 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:01 | PMunch | In fact the official site is created purely in Nim IIRC |
18:16:06 | * | nairobi joined #nim |
18:17:33 | libman | The 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:11 | libman | I 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:20 | PMunch | Well 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:45 | PMunch | Yeah, that's how other solutions typically works |
18:20:49 | PMunch | With the colours I mean |
18:22:39 | PMunch | Hmm, but I guess I would need some way to get a cursor at a specific position |
18:23:42 | libman | You'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:24 | libman | The 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:39 | libman | *And |
18:29:49 | PMunch | Sorry, didn't mean to drag you into off-topic chat |
18:30:45 | Xe | i 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:28 | PMunch | Neither 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:24 | PMunch | Haha, 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:42 | Calinou | :( I hate working on dynamic websites so much |
21:41:19 | Calinou | integrating 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:36 | Calinou | and obviously it's not as secure as a static site |
21:44:06 | * | pafmaf quit (Quit: Leaving) |
21:46:58 | Araq | *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:16 | federico3 | what'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:20 | Calinou | federico3: 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:52 | Calinou | I like http://stylus-lang.com/, since it can be indent-based |
22:10:02 | Calinou | but Jekyll supports Sass only since it's Ruby ;) |
22:20:44 | federico3 | Calinou: if someone needs such level of complexity in a CSS file there's a problem |
22:22:41 | Calinou | federico3: you'd be surprised |
22:22:55 | Calinou | oh, also CSS preprocessors make it easy to concatenate/compress several CSS files into a single one |
22:22:59 | Calinou | so, no more 2000-line style.css :) |
22:24:42 | federico3 | please 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:55 | kulelu88 | doesn'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:44 | okami | kulelu88: it's not to save client bandwidth, it's to structure your project's styles for easier development |
23:01:55 | okami | use gzip to save bandwidth :p |
23:02:15 | kulelu88 | can't you do that without a CSS preprocessor? |
23:02:54 | okami | well, sure |
23:03:06 | okami | it's not the only reason to use a preprocessor |
23:03:36 | okami | just an extra benefit I guess |
23:04:05 | okami | I enjoy using scss |
23:04:22 | okami | easy for someone with css knowledge to pick up (it's a superset of css) |
23:05:50 | okami | but 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:04 | Calinou | minifying 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:49 | PMunch | Calinou, I have something that might interest you |
23:30:11 | PMunch | serv.peterme.net/devlog/git-hooks-and-web-development.html |
23:32:07 | PMunch | It'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:26 | PMunch | Oh wait, you were talking about CSS preprocessors. My bad, disregard my comments. |