00:00:09 | dom96 | CountTable takes a generic type parameter |
00:00:14 | dom96 | CountTable[A] |
00:00:16 | def-pri-pub | Does anyone know the propor method for sending a basic2d.Matrix2D to a GLSL mat2? |
00:00:19 | dom96 | That's likely the problem |
00:01:11 | def-pri-pub | I tried `glUniformMatrix2fv(loc, 1.GLsizei, GL_FALSE, cast[ptr GLfloat](mat.addr))` |
00:01:26 | def-pri-pub | didn't really work... |
00:01:47 | PMunch | Aah |
00:01:52 | PMunch | Well, "still" |
00:02:04 | PMunch | I've been away since I was on last |
00:02:11 | Araq | donlzx: asm keyword? |
00:02:27 | PMunch | That worked great dom96 :) |
00:04:36 | * | pie_ quit (Ping timeout: 240 seconds) |
00:05:02 | def-pri-pub | Am I having some sort of datatype conversion error? |
00:05:27 | donlzx | Aray, can you point me to the manual or API documents for the asm keyword? |
00:05:44 | PMunch | Hmm, maybe that error "invaled type: 'X' in this context" should mention something about generics missing a type specifier? That would help with debugging |
00:05:55 | * | Calinou quit (Remote host closed the connection) |
00:06:21 | * | rauss joined #nim |
00:06:58 | * | IRCFrEAK joined #nim |
00:07:36 | donlzx | Aray, OK, now I find it. |
00:09:54 | * | zachcarter quit (Read error: Connection reset by peer) |
00:10:15 | * | zachcarter joined #nim |
00:13:19 | * | IRCFrEAK quit (K-Lined) |
00:14:07 | * | Calinou joined #nim |
00:18:59 | * | Guest27220 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
00:20:29 | * | Ven joined #nim |
00:20:50 | * | Ven quit (Client Quit) |
00:33:15 | zachcarter | https://gist.github.com/zacharycarter/254ba6bd07e8bddb8543bceb8018f4f8 :D |
00:38:00 | zachcarter | http://imgur.com/a/TCtX8 |
00:45:12 | * | PMunch quit (Quit: leaving) |
00:53:22 | * | donlzx quit (Quit: Leaving) |
00:54:20 | * | donlzx joined #nim |
00:55:33 | * | aedigix quit (Remote host closed the connection) |
00:56:41 | * | aedigix joined #nim |
01:01:17 | zachcarter | https://github.com/nim-lang/sdl2/pull/84 |
01:15:56 | * | couven92 quit (Quit: Client Disconnecting) |
01:20:17 | * | hjsagg joined #nim |
01:28:23 | * | hjsagg left #nim ("http://quassel-irc.org - Chat comfortably. Anywhere.") |
01:33:51 | * | bjz joined #nim |
02:01:27 | * | Serenitor quit (Quit: Leaving) |
02:07:29 | * | chemist69 quit (Ping timeout: 240 seconds) |
02:21:23 | * | chemist69 joined #nim |
02:44:24 | * | sz0 quit (Quit: Connection closed for inactivity) |
02:56:11 | * | def-pri-pub quit (Ping timeout: 264 seconds) |
02:57:58 | * | def-pri-pub joined #nim |
02:57:58 | * | def-pri-pub quit (Changing host) |
02:57:58 | * | def-pri-pub joined #nim |
03:47:55 | * | tax joined #nim |
03:59:48 | * | donlzx quit (Ping timeout: 240 seconds) |
04:04:15 | * | donlzx joined #nim |
04:59:08 | * | rauss quit (Quit: WeeChat 1.7) |
05:19:25 | * | tax quit (Quit: Leaving) |
05:24:36 | * | adeohluwa joined #nim |
05:30:59 | * | kulelu88 quit (Quit: Leaving) |
05:41:17 | * | adeohluwa quit (Ping timeout: 260 seconds) |
05:43:06 | * | adeohluwa joined #nim |
06:09:57 | * | vlad1777d joined #nim |
06:11:44 | * | vlad1777d quit (Client Quit) |
06:12:05 | * | vlad1777d joined #nim |
06:12:16 | * | adeohluwa quit (Ping timeout: 260 seconds) |
06:13:46 | * | adeohluwa joined #nim |
06:15:09 | * | def-pri-pub quit (Ping timeout: 240 seconds) |
06:16:21 | * | def-pri-pub joined #nim |
06:16:21 | * | def-pri-pub quit (Changing host) |
06:16:21 | * | def-pri-pub joined #nim |
06:24:34 | * | Vladar joined #nim |
06:37:57 | def-pri-pub | quit |
06:38:01 | def-pri-pub | whoops |
06:38:02 | * | def-pri-pub quit (Quit: leaving) |
06:57:32 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:57:41 | * | adeohluwa quit (Ping timeout: 246 seconds) |
06:58:42 | * | adeohluwa joined #nim |
07:22:23 | * | donlzx quit (Quit: Leaving) |
07:38:09 | * | bjz joined #nim |
07:40:15 | * | vlad1777d quit (Remote host closed the connection) |
07:59:16 | * | adeohluwa quit (Ping timeout: 268 seconds) |
08:00:56 | * | adeohluwa joined #nim |
08:10:42 | * | adeohluwa quit (Read error: Connection reset by peer) |
08:14:46 | * | vlad1777d joined #nim |
08:23:18 | * | adeohluwa joined #nim |
08:35:14 | * | couven92 joined #nim |
08:35:47 | * | couven92 quit (Client Quit) |
08:37:34 | * | couven92 joined #nim |
09:02:51 | * | adeohluwa quit (Ping timeout: 258 seconds) |
09:29:41 | * | adeohluwa joined #nim |
09:36:31 | * | zachcarter quit (Quit: zachcarter) |
09:55:27 | * | vlad1777d quit (Remote host closed the connection) |
09:56:57 | * | vlad1777d joined #nim |
09:59:01 | * | vlad1777d quit (Remote host closed the connection) |
10:00:25 | * | vlad1777d joined #nim |
10:05:29 | * | adeohluwa quit (Ping timeout: 240 seconds) |
10:06:24 | FromGitter | <Varriount> zachcarter: Yay, android! |
10:06:47 | FromGitter | <Varriount> zachcarter: So did you decide to stick with bgfx? |
10:17:59 | * | rokups joined #nim |
10:27:09 | * | nsf joined #nim |
10:28:21 | * | bjz_ joined #nim |
10:28:55 | * | bjz quit (Ping timeout: 260 seconds) |
11:02:39 | * | Snircle joined #nim |
11:04:00 | * | Ven joined #nim |
11:04:24 | * | Ven is now known as Guest61044 |
11:12:59 | * | Guest61044 quit (Read error: Connection reset by peer) |
11:13:45 | * | Ven_ joined #nim |
11:18:13 | * | Ven_ quit (Ping timeout: 260 seconds) |
11:32:09 | * | elrood joined #nim |
11:36:53 | * | chemist69 quit (Ping timeout: 260 seconds) |
11:37:34 | dom96 | wow, HTML5 canvas is still amazingly annoying to work with. |
11:37:44 | dom96 | No way to turn off anti-aliasing when drawing shapes. |
11:41:43 | * | brechtm joined #nim |
11:42:23 | * | brechtm_ joined #nim |
11:46:35 | * | brechtm quit (Ping timeout: 264 seconds) |
11:54:38 | * | chemist69 joined #nim |
11:54:52 | Araq | dom96: are you sure? that sounds unusable |
11:55:03 | * | brechtm_ quit (Remote host closed the connection) |
11:55:25 | * | brechtm joined #nim |
11:55:37 | dom96 | Araq: There is a way, but it's a PITA. You need to `put` the pixels manually. |
12:01:58 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
12:02:18 | elrood | you could try whether something like setting context.imageSmoothingEnabled to false or image-rendering to pixelated (or whatever your browser of choice's equivalent is) on the canvas helps your case |
12:03:26 | * | brechtm quit (Remote host closed the connection) |
12:04:02 | * | brechtm joined #nim |
12:05:49 | * | aziz joined #nim |
12:08:47 | * | brechtm quit (Ping timeout: 264 seconds) |
12:10:12 | * | bjz joined #nim |
12:23:29 | * | arnetheduck joined #nim |
12:25:53 | dom96 | elrood: This is for a font. Pretty sure imageSmoothingEnabled is just for images. |
12:26:10 | dom96 | I did find `mozOpaque` but that's just supported by Mozilla. |
12:26:24 | dom96 | I ended up creating a DOM element |
12:53:02 | * | Serenitor joined #nim |
12:58:32 | * | couven92 quit (Ping timeout: 246 seconds) |
13:12:03 | * | IRCFrEAK joined #nim |
13:17:31 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:17:52 | * | IRCFrEAK quit (K-Lined) |
13:22:35 | * | couven92 joined #nim |
13:49:28 | FromGitter | <zacharycarter> Varriount: I did |
14:09:38 | * | nhywyll joined #nim |
14:29:54 | * | rauss joined #nim |
14:31:20 | * | BitPuffin|osx joined #nim |
14:40:40 | * | PMunch joined #nim |
14:43:26 | * | rauss quit (Quit: WeeChat 1.7) |
15:01:01 | * | bungoman_ joined #nim |
15:02:26 | * | bungoman quit (Ping timeout: 246 seconds) |
15:03:09 | * | zachcarter joined #nim |
15:10:14 | * | brechtm joined #nim |
15:11:11 | couven92 | Can I define symbols (or variables) in a nim.cfg file that I can use later in the same file? |
15:19:42 | * | Trustable joined #nim |
15:26:41 | * | nhywyll quit (Quit: nhywyll) |
15:29:47 | dom96 | couven92: you can in a .nims config file instead |
15:31:25 | couven92 | dom96, no can do... I want to simplify the base config/nim.cfg settings for VCC |
15:31:55 | dom96 | oh, for that one I'm not sure |
15:32:09 | couven92 | thought as much |
15:34:05 | couven92 | because now we have a lot of different if elif else branches for the vcc settings there... I have some ideas how to simplify that and solve some vccexe problems in the same go... But in order to make that usable for everyone, I need to define a variable that I can use afterwards for each different arch, etc. |
15:38:19 | stisa | couven92 if it's a string or int maybe you could use the pragmas intdefine and strdefine |
15:39:07 | couven92 | stisa, no! I am modifying the core nim configuration file! It's a config file, so no pragmas here! |
15:39:26 | * | brechtm quit (Remote host closed the connection) |
15:40:01 | * | brechtm joined #nim |
15:40:04 | stisa | The pragmas are in the .nim file, in the config you do -d:<somevar>=<somevalue> |
15:41:58 | couven92 | stisa, I think you are missing the point: I am modifying how Nim builds when it uses the VCC compiler backend! That means I HAVE to put it into nim.cfg, since I cannot expect everyone that uses vcc to ALWAYS put some pragmas in their code, just so that their nim code compiles |
15:45:05 | * | brechtm quit (Ping timeout: 260 seconds) |
15:45:26 | * | brechtm joined #nim |
15:45:38 | PMunch | Hmm, is there a way to compile time check for a program in your path similar to findExe? |
15:45:50 | Araq | couven92: I think you can do that yes |
15:46:28 | couven92 | Araq, how? :P Then, I'll do my best to beatify the nim.cfg where the vcc stuff is! :D |
15:46:40 | stisa | yeah sorry, I was thinking you could add the value to the command in the compiler directly with a variable defaulting to "", but it's probably a bad idea |
15:48:25 | Araq | couven92: --define:foo @if foo: ... @end |
15:48:57 | * | chemist69 quit (Ping timeout: 256 seconds) |
15:49:55 | * | chemist69 joined #nim |
15:55:15 | couven92 | Araq, ah ok... so each instruction in the nim.cfg is enacted immediately? That good! :) |
15:59:42 | couven92 | Araq, because then I'd just define a vcvarsall path in nim.cfg... I'd think it's reasonable for people to define their specific path to use for vcc, right? Seeing they need to chnage the default cc = vcc anyways... |
16:14:34 | * | aziz quit (Remote host closed the connection) |
16:28:46 | * | vlad1777d quit (Remote host closed the connection) |
16:31:36 | * | adeohluwa joined #nim |
16:37:08 | * | PMunch quit (Quit: leaving) |
16:58:59 | * | bungoman_ quit (Ping timeout: 246 seconds) |
17:03:08 | * | rauss joined #nim |
17:03:15 | * | adeohluwa quit (Ping timeout: 260 seconds) |
17:05:04 | * | adeohluwa joined #nim |
17:11:05 | * | pie__ joined #nim |
17:13:38 | * | zachcarter quit (Read error: Connection reset by peer) |
17:13:58 | * | zachcarter joined #nim |
17:23:06 | * | arnetheduck quit (Ping timeout: 258 seconds) |
17:28:47 | * | adeohluwa quit (Ping timeout: 240 seconds) |
17:30:38 | * | adeohluwa joined #nim |
17:37:28 | * | bungoman joined #nim |
17:50:31 | * | brechtm quit (Remote host closed the connection) |
17:52:53 | * | chemist69 quit (Ping timeout: 246 seconds) |
17:52:57 | * | brechtm joined #nim |
17:56:26 | * | chemist69 joined #nim |
17:57:06 | * | brechtm quit (Ping timeout: 240 seconds) |
18:12:40 | * | adeohluwa quit (Ping timeout: 260 seconds) |
18:14:32 | * | adeohluwa joined #nim |
18:20:42 | adeohluwa | hello, everyone |
18:21:27 | adeohluwa | new to nim-lang, before that learnt a little python & racket |
18:22:34 | adeohluwa | want to contribute to nim *not code, not a pro yet* |
18:23:48 | adeohluwa | but if nim ever needs anyone to write some beginner friendly docs |
18:23:49 | federico3 | hi adeohluwa |
18:23:52 | adeohluwa | im available |
18:24:00 | adeohluwa | hey federico |
18:24:46 | federico3 | adeohluwa: the official docs need some loving, especially in terms of adding tips and examples |
18:26:49 | adeohluwa | can you point me a specific example? |
18:29:49 | adeohluwa | first of all, what is the index should be more like a giant reference |
18:30:24 | federico3 | adeohluwa: look for doc-related issues on the bug tracker |
18:30:39 | adeohluwa | will do |
18:30:42 | adeohluwa | Documents: Embedded Nim Debugger (ENDB) User Guide, Embedded Stack Trace Profiler (ESTP) User Guide, Nim Compiler User Guide, Nim DocGen Tools Guide, Nim Enhancement Proposal #1 - Standard Library Style Guide, Nim IDE Integration Guide, Nim IDE Integration Guide, Nim maintenance script, Nim Manual, Nim Standard Library, Nim Tutorial (Part I), Nim Tutorial (Part II), Nim's Garbage Collector, Nimfix User Guide, nimgrep User's manual, niminst User's manual, NimSc |
18:30:52 | adeohluwa | Modules: actors, algorithm, asyncdispatch, asyncfile, asyncftpclient, asynchttpserver, asyncio, asyncnet, base64, basic2d, basic3d, browsers, cgi, channels, colors, complex, cookies, coro, cpuinfo, critbits, db_common, db_mysql, db_postgres, db_sqlite, dom, dynlib, encodings, endians, events, fenv, fsmonitor, ftpclient, future, hashes, highlite, htmlgen, htmlparser, httpclient, httpcore, httpserver, intsets, json, lexbase, lists, locks, logging, macros, marsha |
18:31:06 | adeohluwa | you usually wont know exactly where to go when you see this |
18:35:27 | adeohluwa | would open a private chat with you now federico3 |
18:36:18 | * | tankfeeder joined #nim |
18:50:17 | * | adeohluwa quit (Ping timeout: 256 seconds) |
18:52:15 | * | rokups quit (Quit: Connection closed for inactivity) |
18:54:55 | * | def-pri-pub joined #nim |
18:56:09 | * | kulelu88 joined #nim |
18:56:22 | * | Matthias247 joined #nim |
18:58:47 | * | enthus1ast quit (Ping timeout: 256 seconds) |
19:02:36 | * | vlad1777d joined #nim |
19:04:59 | * | byte512 joined #nim |
19:07:06 | * | adeohluwa joined #nim |
19:16:22 | kulelu88 | hey Araq |
19:20:23 | * | ofelas quit (Read error: Connection reset by peer) |
19:24:28 | * | adeohluwa quit (Ping timeout: 240 seconds) |
19:28:47 | * | couven92 quit (Ping timeout: 246 seconds) |
19:46:38 | * | adeohluwa joined #nim |
19:46:44 | kulelu88 | so I created a data backup of the sql contents |
19:47:03 | * | bjz joined #nim |
19:49:37 | * | gokr joined #nim |
19:52:20 | * | bjz_ joined #nim |
19:52:57 | * | bjz quit (Ping timeout: 260 seconds) |
19:59:35 | * | chemist69 quit (Ping timeout: 246 seconds) |
20:00:00 | * | chemist69 joined #nim |
20:03:29 | kulelu88 | if I copy/paste the .sql , will anybody be able to help me parse it? |
20:09:47 | * | couven92 joined #nim |
20:42:50 | * | nsf quit (Quit: WeeChat 1.7) |
20:53:56 | * | tankfeeder quit (Quit: Leaving) |
20:54:32 | * | Jesin quit (Quit: Leaving) |
20:57:05 | * | Jesin joined #nim |
21:03:08 | * | bjz_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:04:13 | FromGitter | <rsirres> is there a pattern to break recursive dependencies |
21:06:09 | * | adeohluwa quit (Ping timeout: 240 seconds) |
21:09:35 | dom96 | rsirres: create a `types` module and place your types there |
21:13:38 | FromGitter | <rsirres> You mean I should put all inter-dependent types in one file right ? |
21:13:40 | * | brechtm joined #nim |
21:14:59 | dom96 | Not all, just ones that are used everywhere. That usually helps reduce recursive dependencies. |
21:15:48 | FromGitter | <rsirres> I going to try this out |
21:15:49 | FromGitter | <rsirres> thx |
21:30:24 | * | bjz joined #nim |
21:39:22 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:40:40 | * | pie__ quit (Ping timeout: 268 seconds) |
21:43:53 | * | user0___ joined #nim |
21:44:19 | * | PMunch joined #nim |
21:45:37 | * | Trustable quit (Remote host closed the connection) |
21:52:28 | PMunch | Hi Araq, looking at the wxnim examples. example1 is basically just emit statements to C-code and doesn't really use wxnim at all. Cool if I delete it? |
21:52:38 | PMunch | I was thinking of writing a small set of other examples |
21:53:05 | PMunch | One for using Nims threads and wxEvents, one with various controls |
21:53:13 | PMunch | And one with the genui macro |
21:55:30 | Araq | ok, delete it |
22:05:23 | * | ^GaveUp^ joined #nim |
22:06:25 | * | GaveUp quit (Ping timeout: 260 seconds) |
22:06:25 | * | ^GaveUp^ is now known as GaveUp |
22:14:39 | * | elrood quit (Remote host closed the connection) |
22:17:31 | * | xet7 joined #nim |
22:18:50 | * | rauss quit (Quit: WeeChat 1.7) |
22:26:08 | * | user0___ quit (Quit: user0___) |
22:29:52 | * | Vladar quit (Quit: Leaving) |
22:35:12 | * | brechtm quit (Remote host closed the connection) |
22:35:50 | * | brechtm joined #nim |
22:42:25 | * | ftsf_ joined #nim |
22:55:05 | * | vlad1777d quit (Remote host closed the connection) |
23:02:36 | * | Guest46148 quit (Quit: Leaving) |
23:03:00 | * | RPG joined #nim |
23:03:24 | * | RPG is now known as Guest30246 |
23:03:50 | * | Guest30246 is now known as _RPG_ |
23:25:01 | FromGitter | <ivankoster> Hey, anyone know how I can lookup the type of the symbol an nnkIdent node refers to in a macro? I want to test if the identifier is an Enum type. The enum type is ofcourse already defined at the top of my file. ⏎ I think i have to use https://nim-lang.org/docs/macros.html#getType,typedesc somehow but I don't understand how. ⏎ The enum is ⏎ ⏎ ```type ⏎ WireFormat* = enum ⏎ UNSPECIFIED = 0, ⏎ PROT |
23:25:01 | FromGitter | ... JSON = 2,``` ... [https://gitter.im/nim-lang/Nim?at=58cf134bac314c8a1a68230f] |
23:28:00 | FromGitter | <ivankoster> I meant `Ident !"WireFormat"` |
23:29:49 | * | kulelu88 quit (Ping timeout: 240 seconds) |
23:30:20 | * | kulelu88 joined #nim |
23:34:21 | ftsf_ | good morning |
23:43:35 | * | brechtm quit (Remote host closed the connection) |
23:46:49 | * | def-pri-pub quit (Ping timeout: 258 seconds) |
23:48:41 | * | def-pri-pub joined #nim |
23:49:01 | * | Matthias247 quit (Read error: Connection reset by peer) |