00:00:14 | flyx | okay seriously, it would be really good to see whether the event emitter shows the problem or not. that would tell me whether the problem is in the parser or the deserialization. |
00:00:34 | FromGitter | <zetashift> @zacharycarter not using zengine for the RTS? |
00:01:03 | FromGitter | <zacharycarter> I suppose I will |
00:01:08 | FromGitter | <zacharycarter> just made this real quick - https://imgur.com/a/6mKkI |
00:01:13 | FromGitter | <zacharycarter> I think it's way too big for a rts unit |
00:01:15 | FromGitter | <zacharycarter> I need to scale him down |
00:01:33 | * | flyx will go sleep now. awaiting your issue tomorrow! |
00:02:08 | flyx | … also, target OS may be relevant for this kind of issue … |
00:02:46 | * | jjido quit (Remote host closed the connection) |
00:06:29 | GitDisc | <treeform> flyx, i got a small gist for you https://gist.github.com/treeform/c140984cf3e69e7c8ed8e76feba5c004 |
00:06:35 | GitDisc | <treeform> run this plus the huge yaml file |
00:06:42 | GitDisc | <treeform> https://raw.githubusercontent.com/ua-parser/uap-core/master/tests/test_device.yaml |
00:06:57 | GitDisc | <treeform> it reads the files twise |
00:07:14 | GitDisc | <treeform> eventually finds some thing that is not equal and asserts |
00:07:54 | GitDisc | <treeform> if you add an echo, the entry it crashes on is different. |
00:08:48 | GitDisc | <treeform> oh you gone to sleep will fill out abug |
00:09:42 | * | skrylar quit (Quit: Leaving) |
00:17:53 | * | Elronnd quit (Ping timeout: 276 seconds) |
00:21:43 | * | Elronnd joined #nim |
00:22:50 | * | def-pri-pub quit (Quit: Leaving.) |
00:25:42 | * | SenasOzys quit (Ping timeout: 260 seconds) |
00:30:56 | * | elrood quit (Quit: Leaving) |
00:41:30 | * | Elronnd quit (Read error: Connection reset by peer) |
00:41:48 | * | Elronnd joined #nim |
00:53:33 | FromGitter | <zacharycarter> too small https://imgur.com/a/uaLk6 ? |
01:00:33 | GitDisc | <treeform> Very small now. Are you rendering this from blender or some thing? |
01:02:11 | FromGitter | <zacharycarter> blender |
01:02:21 | FromGitter | <zacharycarter> keep in mind it's for a RTS |
01:13:13 | * | sz0 quit (Quit: Connection closed for inactivity) |
01:28:14 | FromGitter | <RedBeard0531> Anyone here know how to run these tests: https://github.com/nim-lang/Nim/blob/master/lib/pure/unicode.nim#L1696-L1846 |
01:34:07 | * | def-pri-pub joined #nim |
01:37:52 | * | rbrt joined #nim |
01:42:48 | FromGitter | <zacharycarter> https://imgur.com/a/kcJqJ |
01:42:51 | FromGitter | <zacharycarter> I think I like that scale |
01:43:24 | FromGitter | <raydf> @zacharycarter, like that size |
01:43:33 | FromGitter | <raydf> it's 3d or 2d the rts? |
01:43:37 | FromGitter | <zacharycarter> 2d |
01:43:49 | FromGitter | <raydf> so no zoom :)? |
01:43:54 | FromGitter | <zacharycarter> no zoom :/ |
01:44:09 | FromGitter | <raydf> ae you going to have big units? |
01:44:31 | FromGitter | <raydf> maybe you should do the tanks or similar units for scaling and at least 1 building |
01:44:37 | FromGitter | <zacharycarter> good idea |
01:47:30 | FromGitter | <raydf> will keep an eye on the repo if you're going to release it as open source. Are you going to use zengine or godot? |
01:48:08 | FromGitter | <zacharycarter> zengine I think |
01:48:22 | FromGitter | <raydf> nice |
01:49:02 | FromGitter | <zacharycarter> :) going to be a fun experiment |
01:49:38 | FromGitter | <raydf> yeah :) |
01:58:22 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
01:58:38 | * | Nikky quit (Ping timeout: 276 seconds) |
01:58:40 | * | flyx|znc joined #nim |
01:59:21 | * | flyx quit (Ping timeout: 258 seconds) |
01:59:21 | * | flyx|znc is now known as flyx |
02:00:06 | * | Nikky joined #nim |
02:03:11 | * | Sembei joined #nim |
02:08:01 | * | marenz_ quit (Ping timeout: 248 seconds) |
02:08:39 | * | def-pri-pub left #nim (#nim) |
02:18:10 | * | vivus quit (Quit: Leaving) |
02:20:44 | dom96 | https://ldjam.com/events/ludum-dare/40/coastal-postal |
02:20:50 | dom96 | So many hours of work |
02:21:24 | FromGitter | <zacharycarter> grats! |
02:23:09 | dom96 | Time for sleep :) |
02:24:33 | FromGitter | <zacharycarter> night! :) |
02:25:35 | * | rauss quit (Quit: WeeChat 1.9.1) |
02:33:05 | * | Sembei quit (Ping timeout: 248 seconds) |
02:38:13 | FromGitter | <Varriount> Hm. Where should a daemon log an error to if the configuration file (that contains the log file path) is malformed? |
02:39:11 | * | chemist69 quit (Ping timeout: 255 seconds) |
02:46:38 | * | vlad1777d quit (Ping timeout: 260 seconds) |
02:49:58 | * | sz0 joined #nim |
02:53:36 | * | chemist69 joined #nim |
03:05:12 | GitDisc | <treeform> dom96, I have completed the game. |
03:06:08 | GitDisc | <treeform> Some time you can skip stops, other time you cannot. Kind of random. Stops that look like you can skip, you can't, but offroad stops that look like you should be able to, you can't skip. |
03:12:20 | * | skoude joined #nim |
03:12:43 | * | dddddd quit (Remote host closed the connection) |
03:13:05 | * | endragor joined #nim |
03:16:59 | * | skoude quit (Ping timeout: 255 seconds) |
03:22:45 | FromGitter | <brentp> does anyone have a repo that show how to link to a static library (a somelib.a file)? I see some older messages in the forum, but I'm not getting it to work. |
03:25:25 | FromGitter | <Varriount> @brentp What are you trying to link to? |
03:25:58 | FromGitter | <brentp> libhts.a |
03:25:59 | FromGitter | <brentp> https://github.com/samtools/htslib/ |
03:30:39 | FromGitter | <brentp> hmm just found dynlibOverride which is getting me a bit farther. |
03:35:59 | * | madpat quit (Ping timeout: 248 seconds) |
03:36:33 | * | madpat joined #nim |
03:46:27 | * | couven92 quit (Quit: Client Disconnecting) |
03:47:26 | * | rbrt quit (Quit: Oíche mhaith) |
03:48:30 | * | xkapastel quit (Quit: Connection closed for inactivity) |
03:54:46 | FromGitter | <Varriount> @brentp Use the importc and/or importcpp pragmas, then use the link pragma: https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-link-pragma |
04:21:27 | * | rauss joined #nim |
04:22:05 | * | xkapastel joined #nim |
04:38:26 | FromGitter | <brentp> thanks. I think I actually got it working with dynlibOverride. just have to get all the other libs built statically. |
05:05:23 | FromGitter | <Varriount> Bah. Why is Mercurial being re-written using Rust, when Nim provides a much nicer transition. |
05:05:43 | FromGitter | <Varriount> It's not fair. :/ |
05:15:28 | * | Sembei joined #nim |
05:15:33 | FromGitter | <Varriount> Anyone know how Rust handles even handles things like providing or calling C interfaces? |
05:17:40 | Tanger | @Varriount That is bogus. Shall we pen them a sternly worded letter? :P |
05:18:11 | FromGitter | <Varriount> Tanger: I wish I could go back in time and be part of the leading discussions. |
05:18:56 | FromGitter | <Varriount> However now that they have a plan proposed, it's unlikely that anyone will be swayed by proponents from other languages. |
05:20:03 | FromGitter | <Varriount> It's just so... frustrating! I look at Nim and see a language that, while not having the airtight safety that Rust provides, has a readability that makes it well suited for Python developers. |
05:20:27 | FromGitter | <Varriount> Instead, Rust, essentially a C++ successor, is chosen! |
05:20:45 | FromGitter | <Varriount> (And I don't consider Rust very readable at all) |
05:21:05 | FromGitter | <Varriount> (Or rather, Rust readability is on par with C++) |
05:31:46 | FromGitter | <Varriount> Tanger: Hm "This is a proposal, not a plan" <- Perhaps there is hope for a counter-plan? |
05:34:52 | FromGitter | <zacharycarter> (https://files.gitter.im/nim-lang/Nim/U3o1/Screen-Shot-2017-12-04-at-11.47.44-PM.png) |
05:35:02 | FromGitter | <zacharycarter> bed time |
05:35:37 | FromGitter | <Varriount> @zacharycarter If you want to test out your games, I have 3 younger brothers that I can coax into testing. :P |
05:37:55 | Tanger | @Varriount :o Haha, that choice of words leaves us hope! |
05:38:30 | Tanger | Also, I agree. I wanted to pick up Rust before I knew Nim was thing and the syntax just wouldn't gel with me :S |
05:38:48 | FromGitter | <zacharycarter> @Varriount sweet! |
05:38:59 | FromGitter | <zacharycarter> hopefully I'll have something to test soon |
05:48:05 | * | Sembei quit (Ping timeout: 276 seconds) |
05:50:37 | * | skrylar joined #nim |
05:53:11 | FromGitter | <Varriount> Tanger: What are you working on? |
05:55:04 | Tanger | @Varriount Nothing too extravagant, building a library for Slack to get myself familiarised with lower level code again |
05:55:20 | FromGitter | <Varriount> Tanger: Ooh, I might have a use for that. |
05:55:33 | FromGitter | <Varriount> We use Slack quite a bit at work. |
05:55:43 | Tanger | Ditto |
05:56:15 | Tanger | Plan is to convert a bot that I wrote in python to nim once I finish the API |
06:01:47 | * | skoude joined #nim |
06:07:59 | * | BitPuffin|osx joined #nim |
06:08:50 | * | nsf joined #nim |
06:16:05 | * | skrylar quit (Ping timeout: 255 seconds) |
06:48:30 | * | xkapastel quit (Quit: Connection closed for inactivity) |
07:00:15 | * | jjido joined #nim |
07:23:07 | * | endragor quit (Remote host closed the connection) |
07:40:25 | * | Sembei joined #nim |
07:45:08 | * | jjido quit (Remote host closed the connection) |
07:48:21 | * | endragor joined #nim |
07:48:40 | * | gokr joined #nim |
07:52:57 | * | endragor quit (Ping timeout: 240 seconds) |
07:58:44 | * | Sembei quit (Ping timeout: 276 seconds) |
08:01:57 | * | jjido joined #nim |
08:04:37 | * | jjido quit (Remote host closed the connection) |
08:04:55 | * | jjido joined #nim |
08:09:35 | * | endragor joined #nim |
08:10:24 | * | Sembei joined #nim |
08:10:54 | * | SenasOzys joined #nim |
08:26:18 | * | claudiuinberlin joined #nim |
08:28:49 | * | cefhiqrstw is now known as qwertfisch |
08:31:14 | * | chemist69 quit (Ping timeout: 276 seconds) |
08:34:23 | * | jjido quit (Remote host closed the connection) |
08:36:35 | * | Sembei quit (Ping timeout: 240 seconds) |
08:42:12 | FromGitter | <mratsim> Btw, we might lose half of the Nim devs here but I have to say it, Starcraft 2 is now free to play! |
08:45:09 | * | PMunch joined #nim |
08:47:37 | * | dddddd joined #nim |
08:48:01 | Araq | lol, that's old news |
08:51:07 | * | chemist69 joined #nim |
08:52:46 | * | Sembei joined #nim |
09:10:35 | * | crem never played starcraft 2, and played starcraft 1 once (lost). |
09:10:42 | crem | I played warcraft 2 a lot though. |
09:11:30 | crem | Warcraft 2 is a boring game with a winning strategy though, I believe starcraft is much more rock-paper-scissor'y (which is good). |
09:16:36 | FromGitter | <mratsim> And Warcraft 3 is rock rock rock. |
09:21:05 | crem | Actually I think I've never seen Warcraft 3, and Starcraft 2 too. And Doom 3. |
09:26:29 | * | madpat quit (Read error: Connection reset by peer) |
09:27:47 | * | madpat joined #nim |
09:27:52 | * | Sembei quit (Ping timeout: 258 seconds) |
09:27:58 | * | madpat quit (Read error: Connection reset by peer) |
09:28:08 | * | madpat joined #nim |
09:28:55 | * | dddddd quit (Remote host closed the connection) |
09:33:12 | * | Sembei joined #nim |
09:43:40 | * | GustavoLapasta joined #nim |
09:44:09 | * | GustavoLapasta quit (Remote host closed the connection) |
09:44:59 | * | GustavoLapasta joined #nim |
09:50:35 | * | Sembei quit (Ping timeout: 240 seconds) |
09:53:52 | * | Sembei joined #nim |
09:54:08 | * | sagax quit (Ping timeout: 255 seconds) |
09:54:37 | Araq | alehander42: can you close your PR if you don't want it to be merged? |
10:02:16 | FromGitter | <alehander42> araq: ok, I'll reopen it after I try to add support for expanding macro-s with `e(a: b)` |
10:02:27 | Araq | ok |
10:02:42 | FromGitter | <alehander42> btw, what about the js async PR, is there more work to be done there |
10:07:30 | * | yglukhov joined #nim |
10:08:17 | * | madpat quit (Ping timeout: 268 seconds) |
10:12:18 | * | Sembei quit (Ping timeout: 260 seconds) |
10:15:11 | Calinou | crem: I've never played original Doom 3, only the BFG Edition using RBDOOM-3-BFG |
10:18:20 | * | vlad1777d joined #nim |
10:19:52 | * | floppydh joined #nim |
10:23:26 | crem | I played lots of Doom 2 though! Although I'm not sure if I ever played it till the end. Somehow only first ~10 maps are fun, after that enemies are too strong and play style should be different. |
10:26:17 | * | vlad1777d quit (Ping timeout: 255 seconds) |
10:36:51 | Calinou | same |
10:37:00 | Calinou | (in singleplayer at least) |
10:39:02 | crem | Doom 2 coop is very unbalanced. With default "lots of weapons when multiplayer" setting, it's too easy, and if you turn it off, there's too little ammo. |
10:43:10 | Calinou | yes |
10:43:15 | Calinou | UV fast (or UV respawn) can balance this out |
10:43:22 | Calinou | but then it becomes a bit hard :P |
10:43:39 | * | Sembei joined #nim |
10:51:44 | * | couven92 joined #nim |
10:54:12 | couven92 | lol! Comment in the GNU m4 bootstrapper: # There are apparently some retarded systems that use ';' as a PATH separator! |
10:57:20 | dom96 | treeform: The skippable stops are a feature to complete the puzzles. It's a leap of faith scenario :P Did you do puzzle four without the petrol station? |
10:58:40 | Araq | ':' as a PATH separator is an abomination. what kind of 'key: value' pair is '/usr/lib:/usr/bin:/etc' ? |
11:00:09 | Araq | amusingly ':' where Unix uses the slash would have fit English's grammar: usr:bin |
11:06:41 | * | Sembei quit (Ping timeout: 248 seconds) |
11:09:25 | * | salewski joined #nim |
11:10:20 | salewski | dom96, last post in https://forum.nim-lang.org/t/3295/2 may be smart bot spam! |
11:12:49 | * | salewski quit (Client Quit) |
11:13:07 | FromGitter | <mratsim> Smart boy spam is called growth hacking nowadays ;). |
11:15:34 | Araq | yeah we need to disable message editing after a couple of hours |
11:15:54 | Araq | it's bad style anything, it's only to correct typos |
11:15:59 | Araq | *anyway |
11:28:16 | * | claudiuinberlin quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
11:37:42 | * | skoude quit (Ping timeout: 260 seconds) |
11:40:45 | * | JappleAck joined #nim |
11:55:59 | FromGitter | <dandevelo> This page ( https://nim-lang.org/docs/nep1.html ) mentions: ---- Previously, the naming conventions for identifiers followed the Pascal tradition of prefixes which indicated the base type of the identifier - PFoo for pointer and reference types, TFoo for value types, EFoo for exceptions, etc. Though this has since changed, there are many places in the standard library which still use this convention. Such style |
11:55:59 | FromGitter | ... remains in place purely for legacy reasons, and will be changed in the future. ----- Is there a reason behind this? |
11:56:57 | Araq | what reason? |
11:57:12 | Araq | you just quoted the reason. |
11:57:26 | FromGitter | <dandevelo> Why the Pascal style TFoo for value types was dropped |
11:57:39 | Araq | it was considered ugly |
11:58:10 | FromGitter | <dandevelo> I see |
11:58:23 | Araq | it also was problematic for handle types like Socket and File that might technically be objects but act like pointers or the other way round |
11:58:45 | FromGitter | <dandevelo> Oh, that makes sense |
12:01:26 | * | skoude joined #nim |
12:02:38 | Araq | 0x00000000000038f0 in ?? () |
12:02:39 | Araq | Backtrace stopped: previous frame identical to this frame (corrupt stack?) |
12:02:52 | Araq | ^^ never seen this before |
12:04:11 | * | BitPuffin|osx quit (Ping timeout: 260 seconds) |
12:19:27 | * | GustavoLapasta quit (Remote host closed the connection) |
12:19:46 | * | GustavoLapasta joined #nim |
12:20:08 | * | GustavoLapasta quit (Read error: Connection reset by peer) |
12:21:27 | * | GustavoLapasta quit (Remote host closed the connection) |
12:22:57 | * | GustavoLapasta quit (Remote host closed the connection) |
12:24:27 | * | GustavoLapasta quit (Remote host closed the connection) |
12:25:20 | * | natrys joined #nim |
12:25:36 | * | GustavoLapasta quit (Read error: Connection reset by peer) |
12:27:13 | * | Snircle joined #nim |
12:31:47 | * | claudiuinberlin joined #nim |
12:48:05 | * | nim_newb joined #nim |
12:48:38 | nim_newb | https://nim-lang.org/docs/sequtils.html Some examples do not render properly, i.e. missing syntax highlighting |
12:53:31 | Araq | thanks, fixed. |
12:56:29 | * | fvs joined #nim |
12:59:06 | fvs | hi, $myFloat.round(3) doesn't always round, what am I missing? |
12:59:34 | Araq | the nature of floating point? |
12:59:35 | * | yglukhov quit (Remote host closed the connection) |
12:59:59 | * | nim_newb quit (Ping timeout: 260 seconds) |
13:00:15 | * | yglukhov joined #nim |
13:00:30 | * | Sembei joined #nim |
13:01:12 | crem | I'm pretty sure with IEEE 754 floating points, it's not possible that round() would return something with fractional part. |
13:01:46 | * | yglukhov quit (Read error: Connection reset by peer) |
13:01:55 | * | yglukhov joined #nim |
13:02:43 | crem | Ah, what's (3) there? |
13:03:12 | crem | Then yes, sorry. |
13:06:29 | * | yglukhov quit (Ping timeout: 255 seconds) |
13:11:58 | * | skoude quit (Ping timeout: 260 seconds) |
13:18:31 | * | skoude joined #nim |
13:22:04 | * | yglukhov joined #nim |
13:26:25 | * | yglukhov quit (Ping timeout: 248 seconds) |
13:44:11 | FromGitter | <Yardanico> https://www.reddit.com/r/Bitcoin/comments/7hgpr0/im_donating_25_bitcoin_to_good_causes_this/dqss7n5/ :) |
13:44:55 | FromGitter | <Yardanico> he'll likely pick the most upvoted one, so :) |
13:45:03 | * | skoude quit (Ping timeout: 248 seconds) |
13:45:17 | crem | Donating it into nim won't make nim better. In any case it's limited by one person's throughput. |
13:45:32 | crem | So, no point. :) |
13:46:06 | FromGitter | <Yardanico> there's point |
13:46:12 | FromGitter | <Yardanico> pay for zahary work for example |
13:46:23 | FromGitter | <Yardanico> and maybe some bounties on issues |
13:49:28 | * | FromGitter * Varriount dreams of vtptrs and vtrefs |
13:50:40 | * | craigger quit (Quit: bye) |
13:50:55 | * | craigger joined #nim |
13:53:11 | FromGitter | <Yardanico> upvote this comment :P |
13:53:37 | * | Sembei quit (Ping timeout: 248 seconds) |
13:56:11 | Araq | limited by my throughput? you think I can't hire developers? |
13:56:40 | * | endragor quit (Remote host closed the connection) |
13:57:31 | crem | That would be too much burocracy. :) At least in a country I'm from hiring someone would be too burocratic to bother. |
13:59:10 | * | endragor joined #nim |
14:01:33 | * | skoude joined #nim |
14:03:45 | * | endragor quit (Ping timeout: 248 seconds) |
14:04:28 | FromGitter | <zacharycarter> https://imgur.com/a/bHGN7 |
14:04:31 | FromGitter | <zacharycarter> that's the scale I have going atm |
14:05:49 | * | yglukhov joined #nim |
14:06:58 | Araq | too small IMO. |
14:10:11 | * | yglukhov quit (Ping timeout: 260 seconds) |
14:10:54 | FromGitter | <zacharycarter> well the screenshot is taken with a retina display so that doesn't help matters |
14:15:05 | * | yglukhov joined #nim |
14:16:03 | * | floppydh quit (Remote host closed the connection) |
14:16:46 | * | floppydh joined #nim |
14:21:57 | * | Vladar joined #nim |
14:24:55 | * | madpat joined #nim |
14:28:14 | * | arecaceae quit (Read error: Connection reset by peer) |
14:28:33 | * | arecaceae joined #nim |
14:35:34 | dom96 | Anyone on windows can give this a test? https://github.com/dom96/ld40/releases/download/v1.2.0/Coastal_Postal_v1.2.0_win32.zip |
14:37:31 | * | nsf quit (Quit: WeeChat 1.9.1) |
14:37:57 | FromGitter | <Varriount> dom96: How large is this game? It's going to take 5 minutes to download. |
14:38:26 | dom96 | how slow is your internet? |
14:38:36 | dom96 | It's 10mb |
14:40:21 | * | skoude quit (Ping timeout: 240 seconds) |
14:43:25 | FromGitter | <ephja> lol |
14:44:36 | FromGitter | <Varriount> dom96: Font is a bit hard to read, and you seem to be using \n somewhere, rather than \c\l |
14:44:52 | dom96 | Varriount: screenshot? |
14:44:54 | FromGitter | <Varriount> Since each newline has the "unprintable character glyph" |
14:45:13 | FromGitter | <Varriount> (https://files.gitter.im/nim-lang/Nim/b36n/image.png) |
14:45:17 | dom96 | Nim's \n should be cross-platform |
14:45:22 | Araq | more likely: he does use \n but it should have been \L :P |
14:45:28 | FromGitter | <Varriount> ^ Yes |
14:45:38 | dom96 | that should be easy to fix |
14:45:41 | dom96 | seems it's working :D |
14:45:57 | Araq | dom96, Nim is crossplatfrom, but the lib you are using only accepts LF |
14:46:16 | dom96 | silly sfml |
14:47:47 | dom96 | Araq: Guess how I fixed the large size :P |
14:47:50 | FromGitter | <Varriount> What are you using for font rendering? |
14:48:02 | dom96 | whatever SFML uses |
14:48:08 | dom96 | this is probably the font's fault |
14:48:21 | dom96 | you can easily swap a different one, just replace PICO-8.ttf in the assets folder |
14:48:35 | dom96 | this font definitely needs more line space |
14:58:38 | FromGitter | <zetashift> @dom96 music and graphics are sweet! |
15:00:55 | dom96 | zetashift: thanks! :D Music isn't mine, graphics were made by my SO :) |
15:01:49 | * | yglukhov quit (Remote host closed the connection) |
15:01:58 | FromGitter | <zetashift> yea I just finished the tutorial so i couldn't say much about gameplay |
15:02:25 | * | yglukhov joined #nim |
15:02:45 | * | yglukhov quit (Remote host closed the connection) |
15:02:51 | * | madpat quit (Ping timeout: 240 seconds) |
15:03:02 | * | yglukhov joined #nim |
15:03:20 | * | MJCaley joined #nim |
15:03:49 | * | sz0 quit (Quit: Connection closed for inactivity) |
15:06:08 | * | dddddd joined #nim |
15:06:59 | Araq | what is a SO? |
15:08:44 | euantor | SO == Significant Other |
15:10:14 | Araq | gender-free Santa Claus? |
15:11:18 | euantor | gender-free boy/girl friend/partner/wife |
15:11:21 | FromGitter | <Varriount> Araq: Another name for boyfriend/girlfriend/partner |
15:12:40 | FromGitter | <zetashift> Trying to solve day5 of adventofcode which is pretty easy but my loop isn't working as I get no output when running: https://play.nim-lang.org/?gist=aedcd0b070a3febe4e9889b223003f1c anymore check what I'm doing wrong? |
15:12:58 | FromGitter | <zetashift> also dom86: I like the gameplay too, would be great to have this on mobile tbqh |
15:13:47 | Araq | as long as it's a living being ... in some countries you can marry things, iirc |
15:14:59 | FromGitter | <RedBeard0531> @zetashift you need to mutate the input as you execute each "instruction" |
15:15:10 | dom96 | zetashift: yeah, would be cool on mobile :) |
15:15:49 | Araq | SO is also stack overflow |
15:16:34 | Araq | and "super onions" |
15:16:50 | FromGitter | <zetashift> whatsup with all the .dll's tho can't you put it in a DLL folder or something and let the executable know it's there? |
15:17:14 | Araq | that's not how windows works |
15:17:31 | FromGitter | <zetashift> yea I thought so but maybe some clever tricks were available ;P |
15:17:37 | Araq | you could add ..\dlls to your PATH though |
15:17:44 | Araq | er, .\dlls |
15:18:14 | FromGitter | <zetashift> yea but kinda overkill for a simple game. I only have a dll PATH variable for SDL |
15:18:29 | FromGitter | <Varriount> Araq: But can you do that for dlls loaded with the dll pragma? |
15:19:40 | dom96 | I guess I could add a shortcut |
15:19:50 | dom96 | and put the binary in a folder |
15:21:05 | FromGitter | <Varriount> dom96: My only complaint is that you can't resize the screen. I can't read the small text in the schedule. |
15:21:32 | dom96 | yeah, due to the time limit I decided to just constrain the screen to a certain size |
15:26:12 | * | fvs left #nim ("ERC (IRC client for Emacs 25.3.1)") |
15:32:17 | * | JappleAck quit (Ping timeout: 255 seconds) |
15:42:43 | * | endragor joined #nim |
15:45:04 | * | JappleAck joined #nim |
15:46:57 | * | endragor quit (Ping timeout: 240 seconds) |
15:47:27 | * | floppydh quit (Remote host closed the connection) |
15:48:12 | * | floppydh joined #nim |
16:04:55 | * | floppydh quit (Quit: WeeChat 1.9.1) |
16:08:49 | FromGitter | <ephja> @mratsim aren't there counters in wc3? not enough? |
16:10:04 | FromGitter | <mratsim> I think the issue is that it's too easy to recover from an error and games lack strategic depth. |
16:16:41 | * | PMunch quit (Quit: Leaving) |
16:18:04 | * | nsf joined #nim |
16:25:30 | * | MJCaley quit (Quit: MJCaley) |
16:28:09 | * | elrood joined #nim |
16:30:54 | * | Trustable joined #nim |
16:36:56 | * | rbrt joined #nim |
16:40:48 | FromGitter | <mratsim> (errors like "scouting errors", "timing push errors", etc) |
16:41:45 | * | MJCaley joined #nim |
16:42:06 | * | rbrt quit (Quit: Oíche mhaith) |
16:58:23 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
17:00:24 | * | xkapastel joined #nim |
17:23:14 | * | rbrt joined #nim |
17:27:25 | * | Sembei joined #nim |
17:31:27 | * | Sembei quit (Ping timeout: 240 seconds) |
17:31:57 | * | yglukhov quit (Remote host closed the connection) |
17:33:30 | * | miran joined #nim |
17:36:33 | * | yglukhov joined #nim |
17:40:41 | * | yglukhov quit (Ping timeout: 240 seconds) |
17:49:58 | * | rokups joined #nim |
18:02:17 | * | MJCaley quit (Quit: MJCaley) |
18:09:39 | * | vivus joined #nim |
18:17:19 | miran | i define something inside of `try` block, and when i try to use it outside: "undeclared identifier" |
18:17:56 | miran | in python i usually put inside of try block only the thing that might raise an error, other stuff is outside |
18:18:17 | miran | do i need to put everything inside a try block in nim? |
18:18:24 | * | arnetheduck quit (Remote host closed the connection) |
18:20:54 | * | yglukhov joined #nim |
18:21:32 | * | nsf quit (Quit: WeeChat 1.9.1) |
18:22:03 | Araq | yes |
18:22:40 | Demos[m] | you need to define the variable outside the block, and set some reasonable default |
18:24:32 | miran | Demos[m]: thanks! it works |
18:25:19 | * | yglukhov quit (Ping timeout: 268 seconds) |
18:29:45 | * | Ven`` joined #nim |
18:30:35 | * | SenasOzys quit (Ping timeout: 240 seconds) |
18:33:27 | FromGitter | <zacharycarter> can someone please point me to some horrible Rust code? |
18:33:48 | FromGitter | <zacharycarter> like Rust code that induces eye bleeding |
18:34:44 | Araq | why? Rust is more than its syntax |
18:35:40 | FromGitter | <zacharycarter> I'm just trying to prove a point that Rust isn't nearly as elegant as some folks claim |
18:36:26 | Araq | let them write a HTML DOM tree structure |
18:37:07 | FromGitter | <Varriount> @zacharycarter Hm. Perhaps C interfaces? Those tend to be inelegant in any language though. |
18:37:20 | FromGitter | <Varriount> Well, except C. |
18:37:57 | * | SenasOzys joined #nim |
18:38:07 | Araq | they are worse in C since usually the translation adds information |
18:38:24 | Araq | like "Is this a pointer to a byte or a zero terminated string?" |
18:39:03 | FromGitter | <Varriount> Araq: Neither. It's a pointer to an array of pointers to arrays. :P |
18:45:03 | * | yglukhov joined #nim |
18:45:52 | * | skoude joined #nim |
18:48:05 | * | Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
18:50:05 | * | skoude quit (Ping timeout: 240 seconds) |
18:50:39 | * | yglukhov quit (Read error: Connection reset by peer) |
18:51:15 | * | yglukhov joined #nim |
18:58:32 | Demos[m] | also worse in c because everyone seems to thing that the const keyword too new to use |
18:58:58 | miran | another question: when i just compile my file, everything works. compiling with -d:release gives me SIGSEGV |
18:59:07 | miran | where to start to look for problems? |
19:00:28 | * | d10n-work joined #nim |
19:02:59 | miran | ok, the error is because of that before mention try-except block. will post the code soon |
19:03:08 | Demos[m] | nim c --passc:"-fsanitize=address" --passl:"-fsanitize=address -d:release --debugger:native --gc:none <your file> |
19:03:23 | * | jjido joined #nim |
19:03:34 | Demos[m] | use gcc or clang here |
19:04:06 | Demos[m] | sidenote: would love it if nim could tell asan not to worry about the gc |
19:04:22 | miran | https://play.nim-lang.org/?gist=c2a1e76aa1caab811c91163e3a919c5b |
19:07:16 | Demos[m] | what line and address is the segfault on? |
19:07:55 | miran | running with just -d:release gives: "SIGSEGV: Illegal storage access. (Attempt to read from nil?)" |
19:08:11 | miran | running with the command you've written above gives: |
19:08:35 | miran | ASAN:DEADLYSIGNAL |
19:08:36 | miran | ================================================================= |
19:08:38 | miran | ==6781==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55c280350604 bp 0x0ffff1def709 sp 0x7fff8ef7b740 T0) |
19:08:39 | miran | ==6781==The signal is caused by a READ memory access. |
19:08:41 | miran | ==6781==Hint: address points to the zero page. |
19:09:04 | miran | ...and some more lines, which i will not copy here, but if needed i can post it on pastebin |
19:10:18 | * | Sembei joined #nim |
19:11:33 | * | yglukhov quit (Remote host closed the connection) |
19:12:20 | * | gokr quit (Ping timeout: 255 seconds) |
19:15:03 | miran | doing the same code without try-except (by changing the condition of while loop) works without an error |
19:15:51 | * | yglukhov joined #nim |
19:16:16 | * | PMunch joined #nim |
19:22:49 | FromGitter | <Varriount> miran: https://pewpewthespells.com/blog/using-sanitizers-with-nim.html |
19:27:03 | * | jjido quit (Remote host closed the connection) |
19:27:05 | * | madpat joined #nim |
19:27:59 | miran | thanks Varriount, but i have no idea what to do with it.... |
19:28:13 | miran | btw, i've tried both stable and devel version - the same behaviour |
19:32:29 | * | claudiuinberlin joined #nim |
19:33:15 | Demos[m] | ah, um there are ways to get asan to give full callstacks |
19:33:37 | Demos[m] | and I don't think you need most of those flags if you also do --passl:".." |
19:33:42 | Demos[m] | at least with gcc |
19:34:09 | nathanj | would a seq do bounds checking when compiled as release? That seems like the sort of thing that would be disabled |
19:35:22 | miran | nathanj: hmmm, will look into that. would changing to array help? |
19:36:20 | Demos[m] | nathanj: it will |
19:37:34 | * | jjido joined #nim |
19:38:10 | Demos[m] | uh actually it may turn em off |
19:38:26 | miran | the best way to convert seq to array? |
19:38:50 | Demos[m] | they are sequential |
19:39:28 | nathanj | var blah = @[1,2,3]; echo blah[4] # IndexError when not release, prints 0 in release |
19:39:28 | FromGitter | <ephja> https://github.com/nim-lang/Nim/blob/devel/config/nim.cfg#L50 |
19:39:41 | nathanj | yeah they do stop bounds checking |
19:39:49 | Demos[m] | yup |
19:40:46 | miran | thank you guys! |
19:41:29 | miran | so i guess i cannot use try-except with IndexError in release.... :/ |
19:41:36 | * | natrys quit (Quit: natrys) |
19:41:43 | miran | your recommendation? |
19:41:58 | * | jjido quit (Ping timeout: 258 seconds) |
19:42:39 | FromGitter | <Varriount> miran: Use a project file to have bounds checking turned on when in release mode? |
19:43:28 | nathanj | https://nim-lang.org/docs/manual.html#pragmas-compilation-option-pragmas |
19:49:49 | * | skoude joined #nim |
19:56:52 | miran | nathanj: thank you very much! boundCheks pragma! |
19:58:36 | miran | but now this is slightly slower than regular compilation :D |
19:59:05 | miran | i think i'll change my loop, avoid boundChecks/IndexError and that's it |
19:59:17 | Araq | miran: yes please do that |
19:59:42 | Araq | the implementation isn't even required to raise an IndexError, it could also trap instead |
20:00:01 | * | elrood quit (Quit: Leaving) |
20:00:33 | miran | Araq: ok, this is something i'll remeber for the future, thanks |
20:01:11 | dom96 | So guys |
20:02:35 | FromGitter | <tim-st> I tried to use c2nim, but don't know what to pass as the file argument. I have a folder containing library source code files... |
20:03:01 | dom96 | It appears we will have a stand at FOSDEM 2018! |
20:03:02 | FromGitter | <tim-st> should I pass every single file? |
20:03:08 | Demos[m] | you pass each indivdual file usually |
20:03:20 | FromGitter | <tim-st> in which order? |
20:03:22 | Demos[m] | often it takes some hand tuning to get stuff right |
20:03:37 | Demos[m] | um I do one at a time in a shell for loop |
20:04:19 | * | nsf joined #nim |
20:04:33 | FromGitter | <tim-st> Ok, I will try, thx |
20:05:06 | FromGitter | <ephja> do you need libzma bindings? |
20:05:13 | FromGitter | <tim-st> yes^^ |
20:05:27 | FromGitter | <tim-st> have you found the files? |
20:07:38 | Araq | dom96: where is it? |
20:09:38 | FromGitter | <Varriount> dom96: Where is FOSDEM going to be held? |
20:09:47 | FromGitter | <Varriount> Is it a place I could reasonably travel to? |
20:11:38 | FromGitter | <zacharycarter> https://fosdem.org/2018/ |
20:11:44 | FromGitter | <zacharycarter> Brussels? |
20:13:25 | FromGitter | <Varriount> Aw. |
20:14:25 | dom96 | Yep |
20:15:16 | FromGitter | <ephja> @tim-st yes |
20:17:01 | FromGitter | <tim-st> Nice, thank you very much! |
20:17:06 | * | Sembei quit (Ping timeout: 260 seconds) |
20:18:00 | FromGitter | <Varriount> Anyone have $1,500 dollars to give away? |
20:18:11 | FromGitter | <Varriount> That's how much a plane ticket would cost. :/ |
20:18:12 | FromGitter | <ephja> I'll check my pockets |
20:18:27 | FromGitter | <ephja> @tim-st here's the repo https://github.com/ephja/lzma |
20:18:38 | * | ketralnis quit (Quit: Coyote finally caught me) |
20:18:52 | FromGitter | <ephja> there isn't a high level interface yet, and here's an ugly example https://gist.github.com/ephja/801d52c9764ef8b70f609b421bdbfcaf |
20:19:23 | FromGitter | <tim-st> thanks |
20:20:17 | FromGitter | <ephja> and it hasn't been added to the package database, but you could install it with nimble after cloning it |
20:21:54 | FromGitter | <tim-st> the dependency is too high |
20:22:05 | FromGitter | <tim-st> I have 0.17.2 |
20:22:33 | FromGitter | <ephja> I should just set it to 0.16.0 or something |
20:22:57 | FromGitter | <tim-st> Yes would be nice, I could install it directly via url than |
20:26:06 | FromGitter | <ephja> now? |
20:27:22 | FromGitter | <tim-st> Yes, works now, thank you! |
20:29:37 | * | rokups quit (Quit: Connection closed for inactivity) |
20:30:55 | * | Sembei joined #nim |
20:31:15 | FromGitter | <tim-st> @ephja where should I place the liblzma.dll? |
20:33:59 | FromGitter | <ephja> I dunno. I usually place DLLs in the directory containing the exe, but I end up creating a lot of copies then |
20:34:10 | * | vlad1777d joined #nim |
20:34:31 | FromGitter | <tim-st> I think the problem is that my dll is 32bit, currently searching a 64bit one |
20:35:21 | * | SenasOzys quit (Ping timeout: 240 seconds) |
20:40:15 | * | marenz_ joined #nim |
20:45:02 | * | skrylar joined #nim |
20:45:27 | * | SenasOzys joined #nim |
20:50:56 | * | Trustable quit (Remote host closed the connection) |
20:55:51 | FromGitter | <tim-st> Yes, that was the problem. When I use the pcre64 dll and rename it to liblzma.dll it can be loaded but of course an import error appears |
20:59:46 | FromGitter | <tim-st> @ephja Your example runs more than 30 secs and generates more than 1.3gb ram, is this intended? |
21:01:41 | * | miran quit (Ping timeout: 240 seconds) |
21:01:45 | FromGitter | <ephja> yeah it's overkill. there are some large values in there |
21:02:04 | * | miran joined #nim |
21:02:21 | * | JappleAck quit (Quit: Leaving) |
21:02:22 | FromGitter | <tim-st> Ok, nice. I thought it was some bug with not freeing memory. This libraries work perfect: https://tukaani.org/xz/xz-5.2.3-windows.7z |
21:04:43 | * | miran quit (Client Quit) |
21:06:06 | * | rbrt_ joined #nim |
21:06:30 | * | rbrt quit (Read error: Connection reset by peer) |
21:16:59 | * | Vladar quit (Quit: Leaving) |
21:17:46 | * | skrylar quit (Ping timeout: 260 seconds) |
21:28:00 | * | jjido joined #nim |
21:43:46 | * | claudiuinberlin quit (Quit: Textual IRC Client: www.textualapp.com) |
21:50:59 | * | xet7 quit (Ping timeout: 255 seconds) |
21:53:40 | * | xet7 joined #nim |
21:54:45 | PMunch | Hmm, do I remember wrong or is there a way in Nim to run a when check if some code compiles or not? |
21:55:27 | Demos[m] | @araq: any philosophical issues with adding a dynlibOverrideAll flag? |
21:56:16 | Araq | I guess not |
21:56:37 | Araq | PMunch: when compiles(...) |
21:57:56 | * | skoude quit (Ping timeout: 255 seconds) |
21:58:18 | PMunch | Ah, I tried it with "when compiles(let x = 4):" but it didn't like that so I thought I was doing it wrong |
21:58:21 | Demos[m] | Should it be a seperate flag or a value of the dynlibOverride flag? |
22:05:54 | * | aziz joined #nim |
22:14:52 | * | aziz quit (Quit: Ex-Chat) |
22:14:55 | * | skoude joined #nim |
22:15:48 | PMunch | https://forum.nim-lang.org/t/1486 |
22:16:06 | PMunch | Is it not possible to do "type(call(arg))" any more? |
22:19:13 | * | skoude quit (Ping timeout: 248 seconds) |
22:21:42 | * | yglukhov quit (Remote host closed the connection) |
22:28:06 | * | skrylar joined #nim |
22:28:08 | skrylar | #nim-offtopic |
22:28:11 | skrylar | and i fail |
22:32:00 | * | skrylar quit (Remote host closed the connection) |
22:36:50 | * | jjido quit (Remote host closed the connection) |
22:37:18 | * | jjido joined #nim |
22:40:34 | * | MJCaley joined #nim |
22:41:18 | * | skrylar joined #nim |
22:43:11 | * | couven92 quit (Quit: Client Disconnecting) |
22:43:12 | Araq | Demos[m]: keep the implementation simple |
22:49:56 | Demos[m] | allright pull request submitted |
22:50:00 | Demos[m] | just using dynlibOverrideAll |
22:50:28 | Araq | ok |
22:50:50 | * | rbrt_ quit (Quit: Oíche mhaith) |
22:52:00 | * | rbrt joined #nim |
22:54:25 | * | rbrt quit (Client Quit) |
22:57:56 | * | endragor joined #nim |
23:02:25 | * | endragor quit (Ping timeout: 248 seconds) |
23:07:23 | * | jjido quit (Remote host closed the connection) |
23:11:58 | * | nsf quit (Quit: WeeChat 1.9.1) |
23:24:21 | FromGitter | <zacharycarter> @Araq I'm going to work on porting - https://github.com/JoeyDeVries/Cell - (but use BGFX and SDL2) and then using it in the rts |
23:25:39 | * | madpat quit (Read error: Connection reset by peer) |
23:25:47 | * | madpat joined #nim |
23:29:18 | * | rbrt joined #nim |
23:31:16 | FromGitter | <zacharycarter> or I could use godot :/ |
23:31:59 | dom96 | is there something wrong with GoDot? :) |
23:32:57 | FromGitter | <zacharycarter> Mmm, I just am worried the bindings will go unmaintained |
23:34:05 | FromGitter | <zacharycarter> It'd also be cool to have a port of Cell in Nim |
23:34:31 | FromGitter | <zetashift> endragor said they're using it for their company's stuff so I doubt it; Also even if it goes unmaintained updating should be easy, though @Calinou can shed some more info about this |
23:35:28 | FromGitter | <zetashift> I like the idea of Cell; a learning graphics engine in NIm does sound tempting |
23:36:06 | FromGitter | <zacharycarter> I agree |
23:36:06 | Calinou | hi :) |
23:36:22 | Calinou | Godot is getting a lot of steam lately |
23:36:23 | FromGitter | <zacharycarter> hi Calinou |
23:36:32 | Calinou | the Patreon campaign is at $5,800/month: https://www.patreon.com/godotengine |
23:36:52 | Calinou | the lead developer is now working full-time on the engine, and there's a part-time developer too |
23:36:54 | Calinou | (and maybe two more, soon) |
23:37:10 | Calinou | fun fact: I made the video that's on the Patreon page :) |
23:37:35 | FromGitter | <zetashift> I think zachary ment the bindings for nim go unmaintained haha |
23:37:59 | FromGitter | <zetashift> I think godot is one of those gems of open-source projects |
23:38:37 | FromGitter | <zetashift> Mhmhm currently making a toy backend in Go. It feels nice but I miss the cleanliness of Nim |
23:39:13 | FromGitter | <zacharycarter> @dom96 I think a port of cell would be a good way to show off Nim |
23:39:17 | FromGitter | <zacharycarter> especially if it used BGFX |
23:39:27 | FromGitter | <zacharycarter> you'd get a link on the bgfx repo automatically |
23:40:26 | FromGitter | <zacharycarter> or a mention at least |
23:41:32 | * | MJCaley quit (Quit: MJCaley) |
23:43:09 | * | rbrt quit (Quit: Oíche mhaith) |
23:47:59 | * | rbrt joined #nim |
23:49:09 | * | rbrt quit (Client Quit) |
23:50:44 | * | rbrt joined #nim |
23:53:12 | * | rbrt quit (Client Quit) |
23:55:10 | * | MJCaley joined #nim |