00:11:33 | * | ftsf_ joined #nim |
00:19:29 | * | PMunch joined #nim |
00:21:27 | * | XAND_2 quit (Quit: Leaving) |
00:59:24 | * | brson joined #nim |
01:15:04 | * | yglukhov quit (Remote host closed the connection) |
01:19:26 | * | kier joined #nim |
01:43:56 | * | Snircle joined #nim |
01:48:10 | * | chemist69 quit (Ping timeout: 250 seconds) |
01:50:26 | * | chemist69 joined #nim |
01:52:41 | * | brson quit (Quit: leaving) |
01:57:03 | * | libman quit (Remote host closed the connection) |
01:57:39 | * | brson joined #nim |
02:00:02 | * | brson quit (Client Quit) |
02:11:10 | * | PMunch quit (Quit: leaving) |
02:15:34 | * | yglukhov joined #nim |
02:20:05 | * | yglukhov quit (Ping timeout: 260 seconds) |
02:24:04 | * | ibk joined #nim |
02:49:39 | FromGitter | <vegansk> ftsf. About your toHex question, you can try this :-) https://github.com/vegansk/nimboost/blob/master/tests/boost/test_richstring.nim#L25 |
02:55:54 | ftsf_ | vegansk, thanks, using strfmt atm which is working for me |
02:56:43 | * | chemist69 quit (Ping timeout: 245 seconds) |
02:58:17 | * | yglukhov joined #nim |
03:02:39 | * | yglukhov quit (Ping timeout: 260 seconds) |
03:10:47 | * | chemist69 joined #nim |
03:38:34 | * | bjz joined #nim |
03:40:42 | * | yglukhov joined #nim |
03:45:12 | * | yglukhov quit (Ping timeout: 260 seconds) |
03:57:40 | * | bjz quit (Read error: Connection reset by peer) |
04:10:02 | * | gpcz joined #nim |
04:10:32 | * | gpcz left #nim (#nim) |
04:19:11 | * | MightyJoe joined #nim |
04:19:44 | * | cyraxjoe quit (Ping timeout: 260 seconds) |
04:23:04 | * | yglukhov joined #nim |
04:27:17 | * | yglukhov quit (Ping timeout: 248 seconds) |
05:05:22 | * | yglukhov joined #nim |
05:09:50 | * | yglukhov quit (Ping timeout: 250 seconds) |
05:47:49 | * | yglukhov joined #nim |
05:52:10 | * | yglukhov quit (Ping timeout: 244 seconds) |
06:11:06 | * | nsf joined #nim |
06:18:49 | * | Sergio965 quit (Quit: All done. :)) |
06:20:34 | * | rinukkusu joined #nim |
06:27:58 | * | yglukhov joined #nim |
06:32:08 | * | yglukhov quit (Ping timeout: 245 seconds) |
06:46:29 | * | bjz joined #nim |
07:17:36 | * | yglukhov joined #nim |
07:19:39 | * | ftsf_ quit (Remote host closed the connection) |
07:22:04 | * | yglukhov quit (Ping timeout: 258 seconds) |
07:25:23 | * | nsf quit (Ping timeout: 260 seconds) |
07:26:12 | * | vqrs quit (Ping timeout: 244 seconds) |
07:26:51 | * | aharlan_ joined #nim |
07:27:45 | * | zama quit (Ping timeout: 244 seconds) |
07:27:46 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
07:29:48 | * | zama joined #nim |
07:29:59 | * | aharlan_ quit (Client Quit) |
07:30:28 | * | nsf joined #nim |
07:31:27 | * | vqrs joined #nim |
07:33:50 | * | Arrrr joined #nim |
07:44:13 | * | rokups joined #nim |
08:33:44 | * | yglukhov joined #nim |
09:10:05 | * | bjz_ joined #nim |
09:11:18 | * | bjz quit (Ping timeout: 265 seconds) |
09:15:39 | * | Andris_zbx joined #nim |
09:17:59 | * | sarlalian quit (Ping timeout: 252 seconds) |
09:22:22 | * | sarlalian joined #nim |
09:27:31 | Arrrr | import StrUtils, SeqUtils, Macros |
09:27:32 | Arrrr | vs |
09:27:40 | Arrrr | import strutils, sequtils, macros |
09:27:44 | Arrrr | Which one is more readable? |
09:32:02 | * | space-wizard joined #nim |
09:47:11 | * | couven92 joined #nim |
09:48:12 | FromGitter | <endragor> These are not the most illustrative examples - with stdlib modules the lowercase version actually reads (and writes) better, imo. The question comes when your module is smth like `staticmeshcomponents`. iirc the style guide does not mention module naming conventions. |
09:56:02 | Arrrr | Why is not illustrative? They are shorter, right. Still i can find a big difference between both. |
09:56:19 | vktec | Hmm... coming up with a short bio for myself: "Metaprogramming maniac, Lisp lover and Nim ..." Any ideas for an adjective to put in there? |
09:56:43 | vktec | (Preferably beginning with 'N') |
09:56:44 | Arrrr | For example, sin srtutils is composed of str (string) and utils (utilities), you can read them better if you capitalize each part |
09:56:54 | Arrrr | Nisp |
10:01:40 | * | bjz joined #nim |
10:02:20 | * | bjz_ quit (Ping timeout: 250 seconds) |
10:04:13 | * | chemist69 quit (Ping timeout: 258 seconds) |
10:17:41 | Araq | Arrrr: if you care about what they are composed of |
10:18:15 | Araq | not necessarily the case, use them often enough and they become words on thier own |
10:18:19 | Araq | *their |
10:19:01 | Araq | sequtils does not expand to "sequence utilities" in my head. |
10:19:59 | Arrrr | By that argument, you would not care whether a proc is named 'newSeqOfCap' or 'newseqofcap' |
10:30:56 | * | chemist69 joined #nim |
10:36:24 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:36:59 | * | space-wizard joined #nim |
10:38:18 | * | bjz quit (Ping timeout: 265 seconds) |
10:40:21 | Araq | ever looked at Lua's source code? ;-) |
10:40:41 | * | bjz joined #nim |
10:42:02 | Araq | btw is it filename or fileName? |
10:44:30 | Arrrr | That's a good example of an exception that, in my opinion, confirms the rule. |
10:44:43 | Araq | but it all misses the argument. the argument is that 'sequtils' is more readable because it's more common this way and that the name originally came from 'SeqUtils' is not interesting enough to stress it |
10:45:30 | Araq | I don't want to generalize the argument, it's specific for sequtils |
10:46:01 | Araq | and the other couple of stdlib names |
10:49:07 | Arrrr | Well, i was arguing in general. But, even for that case, i don't agree. It is common for those that have been used to the name for a long time, which is like to say "using raw pointers in C is better because it is common" |
10:49:23 | Arrrr | The way i think it is "Would newcomers prefer sequtils or SeqUtils?" |
10:51:47 | Araq | sequtils because it's easier to type :P |
10:52:13 | Araq | and again, neither Seq nor Utils are actual English words. |
10:52:38 | Araq | what do you prefer bugabonga or BugaBonga? |
10:52:50 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:53:12 | euantor | sequtils all the way |
10:53:52 | euantor | or start falling the pit that D and C# have fallen into: Std.Collections.Generic.Sequences.Utilities |
10:54:10 | euantor | Or something equally as daft |
10:55:29 | Araq | the name sequtils was picked over sequence_utilities because it's much easier to write. it's only consequent then to use lowercase for it then. |
10:57:03 | Araq | Writability is seriously underrated these days. :P |
10:58:09 | Arrrr | Ok, your argument here is "Easier to type". That's true, but you will spend more time reading your imports that writting them. Maybe you write it once, and many people will have to write them many times. You might have to spend a little more by pressing shift, but you will reduce the workload to readers. |
10:59:25 | Arrrr | By the way, i don't think is a bad idea to have strutils and sequtils inside an "utilities" or whatever folder. Usually, when i import one, i import the other too |
10:59:38 | Arrrr | I could simply do "import utilities.*" |
11:00:28 | Araq | 1. that kind of import doesn't exist |
11:00:58 | Araq | 2. include prelude |
11:02:10 | Araq | 3. people don't read code like they read novels, the import list is mostly maintained as a necessary evil, it's not "read". (my claim) |
11:03:43 | Araq | most Java IDEs don't show the import list and can maintain it for you. |
11:04:24 | * | djellemah quit (Ping timeout: 258 seconds) |
11:05:15 | * | byte512 joined #nim |
11:06:18 | Arrrr | But "there is no other choice than import" doesn't impede using the same naming conventions as types, for example. |
11:06:35 | Arrrr | It won't be as useful, alright. |
11:09:03 | Araq | vktec: "enthusiast"? |
11:14:34 | * | byte512 quit (Ping timeout: 256 seconds) |
11:16:59 | vktec | Araq: I was hoping for something starting with N, for the alliteration. I might go with "nutter" :P |
11:17:29 | Araq | ok ... |
11:17:53 | Araq | alternatively we could quickly rename the language to Enim |
11:17:58 | vktec | Hehe |
11:18:42 | * | shodan45 quit (Ping timeout: 244 seconds) |
11:23:38 | * | fredrik92 joined #nim |
11:41:05 | * | dmi0 joined #nim |
11:43:36 | * | vlad1777d joined #nim |
11:44:12 | * | elrood joined #nim |
11:50:54 | * | vlad1777d quit (Remote host closed the connection) |
11:54:11 | * | vlad1777d joined #nim |
11:59:11 | * | vlad1777d quit (Remote host closed the connection) |
12:01:18 | * | PMunch joined #nim |
12:07:59 | * | chemist69 quit (Ping timeout: 246 seconds) |
12:34:11 | * | byte512 joined #nim |
12:35:09 | * | chemist69 joined #nim |
12:45:56 | * | Arrrr quit (Quit: WeeChat 1.5) |
12:49:48 | * | brechtm_ joined #nim |
12:52:26 | * | brechtm quit (Ping timeout: 246 seconds) |
12:59:24 | * | bjz quit (Ping timeout: 250 seconds) |
12:59:32 | * | bjz_ joined #nim |
13:25:34 | * | brechtm_ quit (Remote host closed the connection) |
13:26:12 | * | brechtm joined #nim |
14:16:53 | * | byte512 quit (Ping timeout: 260 seconds) |
14:29:34 | * | byte512 joined #nim |
14:34:42 | * | djellemah_ joined #nim |
14:44:52 | * | Sentreen quit (Quit: WeeChat 1.4) |
14:51:05 | * | fredrik92 quit (Ping timeout: 265 seconds) |
14:52:15 | * | dddddd joined #nim |
15:05:54 | * | Varriount|Mobile joined #nim |
15:06:24 | Varriount|Mobile | vktec: Nim neologist |
15:07:56 | * | Varriount|Mobile quit (Client Quit) |
15:17:23 | * | Sentreen joined #nim |
15:17:29 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
15:31:19 | * | dddddd quit (Remote host closed the connection) |
15:47:37 | * | pregressive joined #nim |
15:54:57 | * | nsf quit (Quit: WeeChat 1.6) |
16:29:38 | * | Andris_zbx quit (Remote host closed the connection) |
16:30:12 | * | Jesin joined #nim |
16:35:26 | * | Jesin quit (Quit: Leaving) |
16:38:22 | * | djellemah joined #nim |
16:45:47 | * | Trustable joined #nim |
17:17:36 | * | couven92 quit (Quit: Client disconnecting) |
17:45:21 | * | space-wizard joined #nim |
17:46:47 | * | yglukhov_ joined #nim |
17:49:49 | * | yglukhov quit (Ping timeout: 244 seconds) |
17:51:05 | * | yglukhov_ quit (Ping timeout: 260 seconds) |
18:18:05 | * | Jesin joined #nim |
18:21:41 | * | Jesin quit (Client Quit) |
18:28:11 | * | shodan45 joined #nim |
18:32:11 | * | yglukhov joined #nim |
18:36:27 | * | yglukhov quit (Ping timeout: 260 seconds) |
18:40:12 | * | yglukhov joined #nim |
18:41:07 | * | Jesin joined #nim |
18:44:24 | * | brson joined #nim |
18:55:15 | * | yglukhov quit (Remote host closed the connection) |
18:58:32 | * | zama quit (Ping timeout: 244 seconds) |
19:11:23 | * | brechtm_ joined #nim |
19:12:01 | * | zama joined #nim |
19:13:17 | * | rokups quit (Quit: Connection closed for inactivity) |
19:14:37 | * | brechtm quit (Ping timeout: 260 seconds) |
19:35:01 | * | def- quit (Ping timeout: 248 seconds) |
19:35:01 | * | def-- is now known as def- |
19:35:09 | * | def-- joined #nim |
19:38:21 | * | yglukhov joined #nim |
19:38:24 | * | yglukhov quit (Remote host closed the connection) |
19:38:27 | * | djellemah_ quit (Quit: Leaving) |
19:38:40 | * | yglukhov joined #nim |
19:39:15 | * | djellemah_ joined #nim |
19:50:41 | * | brson quit (Ping timeout: 246 seconds) |
20:00:04 | * | libman joined #nim |
20:04:21 | * | brson joined #nim |
20:11:54 | * | brson quit (Ping timeout: 244 seconds) |
20:24:26 | * | brson joined #nim |
20:32:35 | * | Ven joined #nim |
20:34:46 | * | Ven_ joined #nim |
20:34:54 | * | Ven_ quit (Read error: Connection reset by peer) |
20:35:19 | * | Ven_ joined #nim |
20:36:48 | * | Ven quit (Read error: Connection reset by peer) |
20:40:29 | * | Ven_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
20:43:14 | * | brson quit (Ping timeout: 250 seconds) |
20:49:30 | * | miere joined #nim |
20:50:07 | * | miere left #nim (#nim) |
20:50:31 | * | Jesin quit (Ping timeout: 258 seconds) |
20:52:41 | * | pregressive quit () |
20:55:29 | * | nsf joined #nim |
20:56:26 | * | djellemah quit (Disconnected by services) |
20:56:31 | * | djellemah_ is now known as djellemah |
20:56:45 | * | djellemah_ joined #nim |
20:56:56 | * | Trustable quit (Quit: Leaving) |
20:59:37 | * | Jesin joined #nim |
21:03:03 | * | Jesin quit (Client Quit) |
21:05:50 | * | Matthias247 joined #nim |
21:07:37 | * | Snircle joined #nim |
21:09:54 | * | djellemah quit (Quit: Leaving) |
21:15:35 | * | byte512 quit (Ping timeout: 260 seconds) |
21:16:17 | vktec | Are there Nim stickers available anywhere? |
21:19:02 | * | chemist69 quit (Ping timeout: 250 seconds) |
21:19:17 | * | dddddd joined #nim |
21:21:40 | * | chemist69 joined #nim |
21:25:20 | * | shodan45 quit (Remote host closed the connection) |
21:30:02 | * | brechtm_ quit (Remote host closed the connection) |
21:30:40 | * | brechtm joined #nim |
21:32:45 | PMunch | vktec, I've been thinking about printing some :P |
21:33:23 | vktec | You could try to get unixstickers.com to do it |
21:36:06 | dom96 | I've bought 50 a while back from sticker mule |
21:36:13 | dom96 | Got one on my laptop :) |
21:37:05 | vktec | Cool |
21:37:06 | dom96 | I really want to create a shop on nim-lang.org for these things |
21:37:11 | PMunch | I've got a roll of sticker paper at home, but I'm not sure how much of a beating it can take |
21:37:25 | vktec | dom96: I'm assuming you've got a few left over :P |
21:38:03 | * | dmi0 quit (Ping timeout: 265 seconds) |
21:38:38 | dom96 | vktec: I think so, although they've probably been crushed in my backpack by now. |
21:39:07 | vktec | Heh |
21:39:44 | vktec | How much were they? I might get some and hand 'em out to anyone I can convince to try Nim :P |
21:40:03 | * | ibk quit (Quit: Connection closed for inactivity) |
21:41:08 | dom96 | $39 + $3.90 for shipping |
21:42:25 | vktec | Cool |
21:43:25 | dom96 | I was thinking we could sell stickers on nim-lang and maybe make some profit then use it for development :) |
21:44:15 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:46:48 | vktec | Good idea |
21:49:42 | PMunch | Yeah I've been wanting to buy something like that for Nim :) |
21:53:47 | gangstacat | would they be the crown or the bear? 8) |
21:58:31 | gangstacat | in fact it's more like a "polecat"? |
21:58:43 | gangstacat | https://github.com/nim-lang/assets/blob/master/Art/mascot.svg |
22:01:29 | PMunch | gangstacat, I think it's a honeybadger |
22:02:48 | gangstacat | oh, yeah, seems like hehe, anyway, that would be a nice idea I want a Nim crown sticker on my laptop :p |
22:03:07 | * | bjz joined #nim |
22:20:40 | * | vlad1777d joined #nim |
22:21:15 | * | nsf quit (Quit: WeeChat 1.6) |
22:22:45 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
22:39:12 | * | boop quit (Ping timeout: 260 seconds) |
22:42:30 | * | brson joined #nim |
23:05:52 | * | Varriount|Mobile joined #nim |
23:12:09 | dom96 | gangstacat: The mascot is deprecated |
23:12:14 | dom96 | So let's stick to the crown |
23:12:30 | gangstacat | (: |
23:12:41 | dom96 | Plus, me and Araq (and some other people that visited OSCON a year ago) have stickers with the Nim crown. |
23:14:09 | dom96 | you can see the sticker in this video https://www.youtube.com/watch?v=4rJEBs_Nnaw :) |
23:16:45 | gangstacat | yes, would be could to have the choice between the full logo with the name or without though :p |
23:17:16 | Varriount|Mobile | Nim: The only programming language to have a mascot which scares small children. :3 |
23:17:25 | * | brson quit (Ping timeout: 248 seconds) |
23:17:57 | gangstacat | would be cool* |
23:32:58 | * | elrood quit (Quit: Leaving) |
23:38:12 | libman | The reason Crystal bypassed Nim in popularity (at least going by GitHub stars) is because it had a clear target audience: Ruby programmers. |
23:38:47 | libman | If Nim was to have a "Pythonic skin" and appealed to Python programmers, it would be more popular by now. |
23:39:36 | dom96 | libman: if only someone could write one ... :P |
23:40:13 | libman | I bring this up because it might affect a mascot discussion. I kinda missed it before, didn't know about the honeybadger/whateveritis. |
23:41:35 | libman | Maybe Nim's mascot should be a genetically engineered new creature symbolizing the synthesis of a python with something else... |
23:43:50 | libman | What animal is associated with C? |
23:45:08 | * | libman is trying to figure out http://www.oreilly.com/animals.csp :P |
23:45:44 | * | arnetheduck joined #nim |
23:46:53 | libman | What animal is Lazarus / FreePascal? |
23:47:40 | * | libman ponders what a half-cheetah half-python would look like... |
23:48:27 | libman | Or a lion, king of the jungle. ROAR! |
23:48:41 | * | libman gets dragged away from computer by doctors in white coats. |
23:57:27 | * | Matthias247 quit (Read error: Connection reset by peer) |