00:19:03 | * | zachk quit (Quit: Leaving) |
00:28:24 | rayman22201 | That kfr lib looks like it has some complex C++ template stuff going on. Are you sure nimterop will be able to handle something like that? |
00:29:05 | shashlick | nimterop doesn't know any C++ |
00:29:23 | rayman22201 | I don't think it will go well then lol |
00:32:26 | shashlick | 😄 |
00:32:27 | shashlick | someday |
00:32:37 | shashlick | looks lik there is a C API for DFT |
00:32:58 | rayman22201 | lol |
00:33:05 | rayman22201 | I don't see any examples for the C api |
00:34:51 | shashlick | https://github.com/kfrlib/kfr/blob/master/include/kfr/dft/dft_c.h |
00:40:08 | * | Vladar quit (Remote host closed the connection) |
01:17:54 | * | zachcarter quit (Ping timeout: 250 seconds) |
01:23:59 | * | stefanos82 quit (Remote host closed the connection) |
01:40:19 | * | pagnol joined #nim |
01:40:42 | pagnol | I'm trying to figure out how to convert a cstring into a string |
01:43:40 | * | vlad1777d quit (Ping timeout: 272 seconds) |
01:51:28 | * | kink joined #nim |
01:51:46 | * | kink quit (Client Quit) |
01:53:53 | leorize | pagnol: $cstring |
01:53:54 | pagnol | ah, apparently by prepending $ |
01:53:56 | pagnol | ha! |
01:54:09 | pagnol | just this instant I found it in the irc logs |
01:54:13 | pagnol | thanks |
01:55:05 | pagnol | I just decided to play around with nim on the weekend |
01:55:54 | pagnol | and karax |
01:56:28 | pagnol | does the js backend treat cstrings and strings differently? |
01:57:37 | leorize | I'm not entirely sure, but you can check the generated js I think? |
01:59:31 | pagnol | right |
01:59:36 | pagnol | leorize, what are you using nim for? |
01:59:41 | pagnol | out of curiosity |
02:00:10 | leorize | everything :) |
02:00:35 | leorize | mainly I write scripts and toy programs |
02:38:00 | * | zachcarter joined #nim |
02:38:01 | * | Tyresc quit (Quit: WeeChat 2.4-dev) |
02:42:26 | * | zachcarter quit (Ping timeout: 240 seconds) |
03:02:20 | * | banc quit (Quit: Bye) |
03:05:30 | * | thomasross quit (Killed (cherryh.freenode.net (Nickname regained by services))) |
03:05:30 | * | thomasross joined #nim |
03:07:27 | * | thomasross quit (Max SendQ exceeded) |
03:07:55 | * | thomasross_ joined #nim |
03:07:55 | * | thomasross_ is now known as thomasross |
03:08:38 | * | pagnol quit (Ping timeout: 246 seconds) |
03:12:52 | * | Marumto joined #nim |
03:14:46 | * | thomasross quit (Read error: Connection reset by peer) |
03:15:17 | * | Marumoto quit (Ping timeout: 246 seconds) |
03:15:54 | * | thomasross joined #nim |
03:22:01 | * | banc joined #nim |
03:46:40 | * | Marumto quit (Remote host closed the connection) |
03:46:58 | * | Marumoto joined #nim |
03:57:04 | * | Marumto joined #nim |
04:00:11 | * | Marumoto quit (Ping timeout: 268 seconds) |
04:13:30 | * | dddddd quit (Remote host closed the connection) |
04:19:08 | * | pagnol joined #nim |
04:37:49 | * | pagnol_ joined #nim |
04:38:33 | * | zachcarter joined #nim |
04:41:23 | * | pagnol quit (Ping timeout: 246 seconds) |
04:43:21 | * | zachcarter quit (Ping timeout: 268 seconds) |
04:43:26 | pagnol_ | neat... how a macro is used in karax to update the dom when the state changes |
05:08:47 | * | Snircle quit (Remote host closed the connection) |
05:15:10 | * | zachcarter joined #nim |
05:19:26 | * | zachcarter quit (Ping timeout: 240 seconds) |
05:24:07 | * | pagnol_ quit (Ping timeout: 240 seconds) |
05:38:38 | * | shpx joined #nim |
06:03:22 | * | oculux quit (Remote host closed the connection) |
06:31:39 | * | wildlander quit (Quit: Konversation terminated!) |
06:38:08 | * | wildlander joined #nim |
06:47:02 | FromGitter | <bung87> ```code paste, see link``` ⏎ ⏎ I’m trying per server hold a AsyncHttpClient instance ,but got ProtocolError ,seems like it mixed of requests's http response. how to solve it? [https://gitter.im/nim-lang/Nim?at=5c4c0265f46373406a0113f5] |
06:48:01 | FromGitter | <bung87> for now it works ,but I’m trying to using `server.agent` |
06:58:50 | * | NimBot joined #nim |
07:03:54 | * | narimiran joined #nim |
07:06:42 | * | miran joined #nim |
07:09:20 | * | narimiran quit (Ping timeout: 250 seconds) |
07:15:31 | * | zachcarter joined #nim |
07:18:52 | * | nsf joined #nim |
07:19:59 | * | zachcarter quit (Ping timeout: 268 seconds) |
08:07:18 | FromGitter | <Varriount> @bung87 Can you give a little more context? |
08:08:01 | FromGitter | <bung87> https://github.com/bung87/proxy/blob/master/src/proxy.nim#L21 |
08:09:41 | FromGitter | <bung87> it’s proxy server ,serve multiple site,I want the per server have a http client that reusable.the current implementation create new instance every request |
08:21:25 | FromGitter | <bung87> https://github.com/bung87/proxy/blob/master/src/proxy/asynchttpserver.nim#L81 I’m trying to hold the http client instance here |
08:43:02 | * | zachcarter joined #nim |
08:47:42 | * | zachcarter quit (Ping timeout: 250 seconds) |
08:54:27 | Araq | bung87: you cannot re-use these objects, I've complained about this API before |
08:54:55 | * | vlad1777d joined #nim |
08:55:54 | FromGitter | <bung87> if not do so ,it will easily exceed fd limits |
08:56:35 | Araq | huh, why? after client.close the fd is returned back to the OS |
08:56:40 | FromGitter | <bung87> and the http client is design to reuse same socket on same host |
08:57:29 | Araq | well usually you have one connection per client |
08:57:41 | FromGitter | <bung87> yeah ,that’s right,I close it,for current implementation, |
08:59:20 | FromGitter | <bung87> that also need a http client between server and target host ,right? |
08:59:28 | * | aguspiza joined #nim |
09:00:50 | FromGitter | <bung87> I’ve implemted this project in python with twisted which is event-drived without these problems. |
09:03:37 | Araq | and I've seen Nim based servers win in benchmarks without hitting a max FD limit. Unfortunately, I don't know enough to be of much help |
09:04:22 | Araq | we have to wait for dom96 or yglukhov[m] or somebody else with async experience :-) |
09:04:39 | FromGitter | <bung87> https://github.com/tulayang I think this guy can help |
09:05:09 | FromGitter | <bung87> he developed https://github.com/tulayang/httpkit and https://github.com/tulayang/nimnode |
09:08:30 | Araq | post your problem on the forum please |
09:10:19 | FromGitter | <bung87> yeah,it’s here https://forum.nim-lang.org/t/4589 |
09:11:59 | Araq | ok thanks |
09:21:25 | * | Trustable joined #nim |
09:42:32 | * | ckafi joined #nim |
09:43:45 | ckafi | Hi. I'm just learning nim, so could somebody please tell my why this https://pastebin.com/Fn2NMV5Z doesn't compile (type mismatch)? |
09:46:32 | FromGitter | <bung87> Different tuple-types are equivalent if they specify fields of the same type and of the same name in the same order. |
09:46:37 | FromGitter | <bung87> https://nim-lang.org/docs/tut1.html#advanced-types-tuples |
09:46:39 | miran | ckafi: use this http://ix.io/1zg7 |
09:47:55 | miran | btw, just `var foo: RGB` would initialize it to zeros |
09:49:49 | ckafi | miran: I know it works with different types, I just don't know why it won't work with subranges |
09:50:06 | * | Vladar joined #nim |
09:50:15 | FromGitter | <bung87> maybe the type infer just not deeply to int under range |
09:51:30 | ckafi | bung87: so there is no way to initialize a type as a tuple of subranges? |
09:52:14 | FromGitter | <bung87> this need nim core developers to answer. |
09:53:21 | miran | ckafi: this will work: http://ix.io/1zg8 |
09:54:04 | miran | @bung87 if only there was somebody who is nim core devel and is participating in this discussion.... :D |
09:59:12 | FromGitter | <bung87> intersting post, looks like it just infer one level type |
09:59:35 | ckafi | @miran, thanks, that works. But seems awkward if I had a tuple of different ranges :) |
10:02:31 | * | solitudesf quit (Quit: ZNC - https://znc.in) |
10:03:33 | * | solitudesf joined #nim |
10:08:41 | * | ckafi left #nim ("Leaving") |
10:24:43 | * | miran is now known as narimiran |
10:43:35 | * | zachcarter joined #nim |
10:47:56 | * | zachcarter quit (Ping timeout: 240 seconds) |
10:50:00 | * | mr_yogurt quit (Quit: quit) |
11:00:48 | * | pagnol_ joined #nim |
11:16:48 | FromDiscord_ | <demotomohiro> koch boot --debugger:native |
11:16:53 | FromDiscord_ | <demotomohiro> gdb nim.exe |
11:17:09 | FromDiscord_ | <demotomohiro> I can debug nim compiler with gdb on windows 😃 |
11:50:13 | FromDiscord_ | <demotomohiro> I cannot step in to procedure variable |
11:54:18 | FromDiscord_ | <demotomohiro> I can step in to procedure variable now |
11:57:28 | * | Perkol joined #nim |
11:59:03 | narimiran | @demotomohiro write everything down. this could be an interesting article/tutorial! |
12:07:23 | leorize | if gdb on windows support python, source the nim-gdb.py script in Nim source code |
12:07:44 | leorize | it's really good when debugging the compiler :) |
12:07:54 | leorize | (or anything written in Nim :p) |
12:08:56 | * | lritter joined #nim |
12:12:03 | * | elrood joined #nim |
12:28:11 | * | Snircle joined #nim |
12:43:57 | * | zachcarter joined #nim |
12:45:04 | FromGitter | <verilog15> is nim expression oriented languge? |
12:46:15 | FromGitter | <zacharycarter> I don't think so |
12:46:49 | FromGitter | <zacharycarter> every construct in Nim is not an expression |
12:47:14 | FromGitter | <zacharycarter> but I could be wrong |
12:48:03 | FromGitter | <zacharycarter> but Nim does have statements which return no value |
12:48:07 | * | zachcarter quit (Ping timeout: 240 seconds) |
12:48:20 | FromGitter | <verilog15> I saw a saying "most expressions are commands when we add ';' at the end" |
12:48:48 | FromGitter | <zacharycarter> heh |
12:48:52 | pagnol_ | there's a clear distinction between statements and expressions in nim, no? |
12:49:03 | FromGitter | <zacharycarter> in any language really |
12:49:12 | FromGitter | <zacharycarter> expressions have to return a value - even a void, but statements don't return any value |
12:49:52 | FromGitter | <zacharycarter> expressions are composed of statements, operations and variables which yield a result |
12:50:15 | FromGitter | <zacharycarter> so you have like a break statement or a continue statement etc |
12:50:18 | pagnol_ | I think you got this the wrong way around? |
12:50:25 | FromGitter | <verilog15> C is expression oriented right? And as I understand Nim runs C in the background |
12:50:27 | pagnol_ | expressions are wrapped in statements |
12:50:53 | FromGitter | <zacharycarter> `var a: int = 1` |
12:50:59 | FromGitter | <AmberSaber> why web need him? |
12:50:59 | FromGitter | <zacharycarter> `var a: int` = statement |
12:51:17 | FromGitter | <zacharycarter> `var a: int = 1` = expression |
12:51:29 | FromGitter | <zacharycarter> that's probably a bad example |
12:51:39 | FromGitter | <zacharycarter> but the point is `var` is a statement |
12:51:43 | FromGitter | <zacharycarter> as it returns no value |
12:52:42 | FromGitter | <zacharycarter> I don't think C is an expression oriented language - I think the idea behind expression oriented languages is everything is an expression |
12:52:56 | FromGitter | <zacharycarter> AGOL, Lisp, Ruby, Haskell |
12:52:59 | FromGitter | <zacharycarter> I think even Rust |
12:53:31 | FromGitter | <zacharycarter> @AmberSaber not sure what you're referring to |
12:53:52 | pagnol_ | what are you folks using nim for? |
12:53:57 | FromGitter | <zacharycarter> game engine dev |
12:54:09 | FromGitter | <zacharycarter> and I've built a few web apps with it |
12:54:37 | pagnol_ | FromGitter, for which platform? |
12:54:38 | FromGitter | pagnol_, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim |
12:54:46 | pagnol_ | I mean, browser or native |
12:54:53 | pagnol_ | ah oh |
12:55:17 | FromGitter | <zacharycarter> all browser based web apps |
12:55:35 | pagnol_ | did you give karax a try? |
12:55:36 | FromGitter | <zacharycarter> I'm not sure if anyone has toyed with Nim + React Native |
12:55:56 | pagnol_ | ah, by native I just meant using the c backend |
12:56:04 | pagnol_ | and sdl or opengl bindings or whatever |
12:56:10 | FromGitter | <zacharycarter> I did - karax is fine, I had a couple of small gripes, but nothing too major |
12:56:17 | FromGitter | <zacharycarter> ah I see - yes I used the C backend for my game engines / libraries |
12:56:50 | FromGitter | <zacharycarter> in one project I used a rendering library named BGFX - which presents a single API for the consumer, but will dispatch calls to the appropriate gfx API depending on the hardware the code is running on |
12:56:56 | pagnol_ | anyone here from berlin? |
12:57:01 | FromGitter | <zacharycarter> so if it's on an macOS device - it will by default call the Metal API |
12:57:31 | FromGitter | <zacharycarter> For windowing I've used SDL2 primarily - because it has the best support for mobile devices - although I think at some point in the future I need to start writing my own x-plat windowing and input lib |
12:57:48 | FromGitter | <zacharycarter> I also used OpenGL in another library I built |
12:57:55 | pagnol_ | I saw there's a berlin nim meetup, too bad they haven't had any events in a while |
12:58:00 | FromGitter | <AmberSaber> I think d is good enough, now everyone is inventing language, isn't it a waste of time? |
12:58:08 | FromGitter | <zacharycarter> Now I'm back to using BGFX again in the new iteration of my engine |
12:58:29 | FromGitter | <zacharycarter> @AmberSaber - Nim's beyond the `being a waste of time` point |
12:58:35 | FromGitter | <zacharycarter> and D has certain failings |
12:58:56 | FromGitter | <zacharycarter> pangnol_: Isn't FOSSDEM in Berlin? |
12:59:06 | FromGitter | <zacharycarter> there's going to be several Nimmers there - I think Nim will probably even have a booth |
12:59:10 | FromGitter | <zacharycarter> maybe not |
12:59:12 | pagnol_ | Amber why are you hanging out in this channel if you think it's a waste of time? |
12:59:31 | FromGitter | <zacharycarter> I assume he's trying to troll / language warrior |
12:59:43 | * | stefanos82 joined #nim |
12:59:47 | FromGitter | <zacharycarter> not genuinely curious |
13:00:00 | FromGitter | <zacharycarter> bleh - so much studying and refreshing to do today |
13:00:10 | FromGitter | <zacharycarter> need to go get some coffee first though, because I'm out at the house... |
13:00:16 | pagnol_ | it's in brussels this year |
13:00:25 | FromGitter | <zacharycarter> ahhh okay - my bad |
13:00:43 | FromGitter | <AmberSaber> Because the new is always better than the old, but I don't know what the advantage of nim is, trying new things will be very happy |
13:01:01 | FromGitter | <zacharycarter> @AmberSaber - Nim has quite a few differences to D |
13:01:18 | FromGitter | <zacharycarter> there is actually a really great comparison project on github that @timotheecour maintains - let me grab a link for you |
13:01:26 | FromGitter | <AmberSaber> But it feels like a lot of languages have come out in the last few years, and they're basically duplicates |
13:01:28 | FromGitter | <zacharycarter> https://github.com/timotheecour/D_vs_nim |
13:01:39 | FromGitter | <zacharycarter> Nim, D and Rust all have differences |
13:01:43 | FromGitter | <zacharycarter> so does Zig |
13:01:53 | FromGitter | <zacharycarter> the former are trying to contend with C/C++ |
13:02:03 | FromGitter | <zacharycarter> the latter is attempting to become a replacement for C |
13:02:18 | FromGitter | <zacharycarter> some have LLVM backends - Nim for instance compiles to C |
13:02:40 | FromGitter | <zacharycarter> some are GC'd like Nim and D - others use different memory management strategies |
13:02:48 | FromGitter | <zacharycarter> you could consider Rust, D and Nim contenders |
13:03:01 | FromGitter | <Vindaar> @pagnol_: I'm not from Berlin, but often there. Nim meetup there would be cool :) |
13:03:14 | FromGitter | <zacharycarter> but they all have pros and cons, different niceties and different flaws |
13:03:19 | FromGitter | <zacharycarter> we need a US meetup :/ |
13:03:27 | FromGitter | <zacharycarter> although if I get my way - I'll be moving across the country soon |
13:03:37 | narimiran | "lot of languages have come out in the last few years" --> nim is not that young ;) |
13:03:45 | FromGitter | <zacharycarter> yeah nim is over a decade old |
13:04:05 | FromGitter | <zacharycarter> good point |
13:04:14 | * | Perkol quit (Read error: Connection reset by peer) |
13:05:10 | pagnol_ | Vindaar maybe the existing meetup can be brought to live again, I should message the organizer |
13:05:33 | FromGitter | <Vindaar> Sure, go for it! |
13:06:02 | FromGitter | <zacharycarter> @Vindaar - thanks for the help with the rig, it turned out very nice |
13:06:17 | FromGitter | <zacharycarter> I've been very pleased with it so far |
13:07:47 | FromGitter | <Vindaar> Oh, that's great to hear! :) |
13:10:52 | * | pagnol_ quit (Ping timeout: 268 seconds) |
13:15:09 | * | zachcarter joined #nim |
13:18:40 | FromGitter | <AmberSaber> Nim is not mature enough. From that table, nim is more friendly than d in embedding c/c++ code. And nim seems to be able to share dynamic libraries. |
13:19:29 | * | zachcarter quit (Ping timeout: 244 seconds) |
13:23:23 | * | Marumto quit (Ping timeout: 245 seconds) |
13:24:45 | * | Marumto joined #nim |
13:25:30 | FromGitter | <AmberSaber> But without a big company as a background, no matter how good the language is, it will not develop very well. Just like d has no prospects, rust relies on Mozilla, go depends on Google, they are welcomed as soon as they come out |
13:26:53 | FromGitter | <zacharycarter> Rust doesn't rely on Mozilla now |
13:27:09 | FromGitter | <zacharycarter> Google invented Go - and they use it internally |
13:27:41 | FromGitter | <zacharycarter> Nim has done quite well for not having any corporate backing - however they recently received a round of funding from status.im |
13:27:49 | FromGitter | <zacharycarter> and allowed the team to hire two full-time developers |
13:28:04 | FromGitter | <zacharycarter> but you're welcome to your own opinions - I think most of the folks in here would disagree mightily with you |
13:29:23 | FromGitter | <Vindaar> ^ yup |
13:29:41 | FromGitter | <zacharycarter> also - your original point was that we didn't need more languages, because D existed |
13:29:46 | FromGitter | <zacharycarter> now you're saying D has no prospects |
13:29:55 | FromGitter | <zacharycarter> so what are you really trying to get at? I'm confused... |
13:30:24 | FromGitter | <zacharycarter> if you just want to bash Nim - there are other places to do it - trust me, we've already heard it all before |
13:32:03 | FromGitter | <AmberSaber> But go is very popular in China, and its popularity is far more than rust. For a while, go is just a trend, and there are articles that introduce it almost every day. In China, it is even a language superstition |
13:33:14 | FromGitter | <zacharycarter> I don't see how any of this has to do with Nim |
13:33:21 | FromGitter | <zacharycarter> we have Nim programmers from China |
13:33:23 | FromGitter | <AmberSaber> Because d does not have a big company as a background, it has no money to develop the ecology quickly. |
13:33:56 | FromGitter | <zacharycarter> Look - Nim is not as popular as Rust or Go - we will concede that point, but that doesn't mean Nim can't exist |
13:34:22 | FromGitter | <zacharycarter> Nim has existed for over a decade, and is arguably the most popular currently, than it has ever been in the past |
13:35:13 | FromGitter | <zacharycarter> no one here is arguing that Nim is more popular than other languages you've mentioned - but your original assertion that Nim doesn't deserve an existence, is in my opinion misinformed |
13:35:37 | FromGitter | <zacharycarter> if you're genuinely curious about learning more about Nim - we can help you with that |
13:35:53 | FromGitter | <zacharycarter> if you just want to compare and contrast Nim to other languages based on ecosystem and corporate backing - this is not the place for that |
13:37:09 | FromGitter | <AmberSaber> It was also very popular in China more than a decade ago. Later, when it was upgraded to version 2, it lost its appeal. In fact, very few people in China learn and use nim. |
13:37:31 | FromGitter | <zacharycarter> Very few people in any country do - please read what I wrote about what's appropriate in this channel and what's not |
13:37:38 | elrood | the thing is, we're not sure what you are trying to get at and achieve here, ambersaber. even if some of us share the general doubt about how successful most of the new-ish languages of the past decades will be, we're here because we're interested in giving it a chance. give it a try, see if you like it, and then decide if you want to dive in amd improve it or move on |
13:37:40 | FromGitter | <zacharycarter> if you want to talk about this kind of thing - we have an off-topic channel |
13:39:22 | FromGitter | <AmberSaber> sorry |
13:39:24 | FromGitter | <zacharycarter> this channel is for discussions about the language, and for people seeking help with Nim issues |
13:39:34 | FromGitter | <zacharycarter> no worries - we just want to keep the channel reserved for ^ |
13:40:20 | FromGitter | <zacharycarter> we also get trolls / malicious folks in here from time to time - so we need to be wary of that as well |
13:40:28 | FromGitter | <AmberSaber> This is your interest and hard work. I am really wrong when I speak. |
13:40:29 | FromGitter | <zacharycarter> not trying to insinuate you are one :) |
13:40:40 | FromGitter | <zacharycarter> not mine - I just am a user of the language |
13:40:44 | FromGitter | <zacharycarter> but others - yes that is very true |
13:44:46 | FromGitter | <AmberSaber> Yes, everyone has their own value orientation. When I said d on this channel, I was wrong. No matter what I say |
13:45:47 | * | dddddd joined #nim |
13:46:57 | FromGitter | <AmberSaber> sorry |
13:48:10 | elrood | no worries, mentioning any other language or implementation here and comparing it to nim is perfectly fine. new and interested users and critical thinking are always welcome here in my experience |
13:49:20 | elrood | it does help to do so with a productive and somewhat focussed and positive attitude though |
13:54:17 | FromGitter | <AmberSaber> In fact, my English is very poor, I have no ability to understand the new language. This is common in East Asia, and many people have poor English. There is a big company background language that is easily popular in the market, so there are many translations and tutorials, as well as training. Young people like us have the ability to learn it, but it is difficult to be accepted immediately without the language of a |
13:54:17 | FromGitter | ... big company as a background. |
13:56:46 | elrood | so, your point is? go is simpler, more popular and has had better advertisement and more money sunk in it. we all know that. what are you trying to say that is relevant to nim in that respect? |
13:59:06 | FromGitter | <bung87> just think nim is something exist in the world that you can learn it and use it and contribute to it. |
13:59:30 | FromGitter | <AmberSaber> I mean that if it doesn't catch on, people will get old and even die. If the inventor of some languages dies, then the language can be said to be dead. So what is the meaning of its existence? |
14:00:03 | FromGitter | <bung87> people also could die. |
14:00:43 | FromGitter | <bung87> you dont have to be a successful man in the world , nim either |
14:02:06 | FromGitter | <AmberSaber> But I am a utilitarian |
14:03:22 | FromGitter | <bung87> then you just need think about what you can get from nim |
14:04:27 | FromGitter | <bung87> if the results is nothing then you can simple let nim out of your mind. |
14:04:44 | FromGitter | <AmberSaber> of course |
14:04:56 | elrood | forgive me if i still don't see what you are trying to tell us. do you want to suggest we should all abandon nim and switch to go, should all new language development stop, and do you want to convince everybody to just use old and established tools? how do you think evolution works? |
14:06:38 | FromGitter | <bung87> what about you can mastering go and other languages? |
14:07:11 | * | shpx quit (Quit: shpx) |
14:09:13 | FromGitter | <AmberSaber> Is this related to culture? We always rely on others or organizations to do anything. So in China, most of us use your results directly. |
14:09:17 | FromGitter | <bung87> at that time what would you think about such a language like nim |
14:10:30 | FromGitter | <AmberSaber> We only need to make a choice and think which language has a future to learn it, rather than inventing or improving it. We have been like this |
14:11:00 | FromGitter | <bung87> there are also creative people like invent something. |
14:12:12 | FromGitter | <bung87> depends which kind of people you want be |
14:12:27 | FromGitter | <AmberSaber> When I saw nim's information, I felt that I had enough rust and go. How come out a language? |
14:12:47 | narimiran | from the last couple of days here and on telegram chat, one could say that nim is becoming more popular, as we started to attract more trolls ;) |
14:13:30 | narimiran | but we're still not large enough to learn not to feed them |
14:14:56 | elrood | well, he has a point and isn't only trolling |
14:14:59 | elrood | don't get me wrong, ambersaber, focussing energy and development time and efforts would be ideal, fragmentation is a thing, and most languages, tools, libraries are developed only to be forgotten in the long run and the energy spent on them wasted. this has nothing to do with culture |
14:15:14 | elrood | but this is not the perfect place to spread such an attitude |
14:15:17 | FromGitter | <AmberSaber> I also want to be a creative person. In fact, I don’t want to passively make choices, but to become someone else’s choice. |
14:16:20 | FromGitter | <AmberSaber> But I don't have this ability yet. If something new happens constantly, although it is very interesting, the passive person will be very tired. |
14:19:13 | FromGitter | <AmberSaber> If I don't have that kind of creativity, I will always be driven by the times, which is really tired. And I haven't wanted to do this anymore, so I am willing to communicate with you, although I am very laborious. |
14:19:51 | FromGitter | <bung87> I can imaging you kind like a man that eager to achieve some goal. |
14:20:22 | FromGitter | <AmberSaber> Although my point of view is wrong, if you point it out, I will get new understanding and knowledge. My thinking will change |
14:21:45 | * | saml_ joined #nim |
14:21:52 | * | saml_ quit (Remote host closed the connection) |
14:22:30 | FromGitter | <AmberSaber> I am in China, and I am not very experienced, and my environment is not as free as you are. |
14:22:31 | FromGitter | <bung87> I want to tell you , you always have choice,just decide what you can get and what you will lose |
14:23:13 | FromGitter | <AmberSaber> I even feel that my mind is tied. |
14:23:41 | FromGitter | <AmberSaber> Yes, Thanks |
14:24:47 | FromGitter | <bung87> here are more than three chinese including me. |
14:25:29 | FromGitter | <AmberSaber> Still too little |
14:26:57 | FromGitter | <AmberSaber> Koreans and Japanese are more open and active. They have a lot of people and creativity. Although their population is not as much as us |
14:28:39 | FromGitter | <bung87> you dont need think of any others,just think what you want to do with ,it’s just about yourself. |
14:30:35 | FromGitter | <AmberSaber> I know, but I often see some creative Japanese and Koreans. The heart is still more desirable. This is a kind of motivation. |
14:31:04 | FromGitter | <AmberSaber> Don't you think so? |
14:31:35 | FromGitter | <bung87> I’d say China is very young country. |
14:31:58 | dom96 | By the way, Golang/Rust/Swift also have risks |
14:32:05 | dom96 | What if Google decides to abandon Go? |
14:32:17 | dom96 | or take in a direction that is not liked by you? |
14:32:43 | dom96 | Apple right now is trying to patent Swift which is a pretty shitty thing to do IMO |
14:32:44 | FromGitter | <AmberSaber> Yes, in the IT field, China is younger. |
14:34:00 | narimiran | dom96: google abandoning its own project/product? now that never happens!! https://killedbygoogle.com/index.html |
14:34:09 | FromGitter | <bung87> decades ago China was a feudal society |
14:34:27 | dom96 | narimiran: indeed :) |
14:35:02 | FromGitter | <gogolxdong> Where did you get acquaintance with Nim? |
14:35:42 | FromGitter | <AmberSaber> The iPhone is not very popular, and swift is basically the Apple platform in the application field. At present, mobile phones are not popular. |
14:36:14 | FromGitter | <AmberSaber> Most people still use objective-c |
14:36:24 | * | nsf quit (Quit: WeeChat 2.3) |
14:36:49 | * | nsf joined #nim |
14:38:19 | FromGitter | <AmberSaber> a book introducing seven different languages |
14:38:38 | FromGitter | <bung87> years ago front-end engineer is not popular in China ,but I know someone do the front-end engineer’s work. |
14:39:50 | FromGitter | <AmberSaber> Everything depends on the job |
14:40:39 | dom96 | mobile phones are not popular? Which world are you living in? |
14:41:13 | FromGitter | <bung87> he talk about passing time thing |
14:41:18 | * | nsf quit (Client Quit) |
14:41:24 | FromGitter | <bung87> past |
14:42:01 | narimiran | @AmberSaber which book is that? Nim was in it? any other "small" languages too? |
14:42:16 | FromGitter | <gogolxdong> We are going to push Nim flourishing in 2019, especailly in China, welcome on board. |
14:42:28 | FromGitter | <bung87> sounds like "seven weeks seven languages" |
14:42:52 | FromGitter | <AmberSaber> In the past, there were more than 2,000 mobile phone companies in China, and now there are only a few. And the shipments of mobile phones have begun to decrease. |
14:42:59 | FromGitter | <AmberSaber> yes |
14:44:19 | FromGitter | <bung87> that just because almost everybody have a smart phone. |
14:45:07 | FromGitter | <AmberSaber> Although there are countless applications in the app store, there are no more than one hundred commonly used. In fact most applications lose their maintenance |
14:45:46 | FromGitter | <AmberSaber> Even an operating system called kaiOS appeared in India. |
14:46:54 | FromGitter | <AmberSaber> You will also get tired of your phone slowly |
14:49:53 | FromGitter | <gogolxdong> What's your requirement ? Do you have some vision? |
14:51:08 | FromGitter | <AmberSaber> No, it's good, it's better to get tired of it. Don't even use it |
14:51:34 | FromGitter | <AmberSaber> It will waste your countless hours |
14:51:50 | FromGitter | <bung87> I think he interested in Nim but think Nim is not good enough as he needs |
14:52:05 | * | Snircle quit (Remote host closed the connection) |
14:53:55 | FromGitter | <gogolxdong> As I mentioned above, it's time to make it go public more extensively. If everything goes well, 2019 will be the meta year of Nim. :) |
14:59:18 | * | skellock joined #nim |
15:03:53 | FromGitter | <AmberSaber> Удачи тебе. |
15:04:25 | narimiran | my cyrillic is rusty, but: udaci tebe? |
15:10:10 | FromGitter | <AmberSaber> да |
15:13:14 | narimiran | oh, it means "good look", now i checked :) |
15:14:10 | FromGitter | <AmberSaber> Rusty is a great description |
15:16:39 | narimiran | well, long time ago i could read (very slowly :)) serbian cyrilic stuff |
15:19:13 | FromGitter | <AmberSaber> I made a good friend in gitter, he is Russian, he is great. I also like Russia very much, and he makes me feel very close |
15:19:59 | FromGitter | <bung87> he is also a programmer? |
15:20:14 | FromGitter | <AmberSaber> He is 38 years old, and he is still programming, this is a very cool thing for the Chinese. |
15:20:43 | FromGitter | <bung87> sounds cool! |
15:21:07 | FromGitter | <AmberSaber> Yes, he is a real programmer. He is still practicing flying a plane |
15:21:31 | FromGitter | <AmberSaber> He gave me a video of his flight. |
15:21:54 | FromGitter | <bung87> intersting |
15:23:03 | * | shpx joined #nim |
15:25:55 | FromGitter | <AmberSaber> This is impossible in China, which is not very common in Russia. I think that after all, China and Russia have a similar history. This makes me think he is cool. He moved to St. Petersburg with his own efforts, and he is still programming, he is 38 years old. |
15:26:14 | * | shpx quit (Client Quit) |
15:26:22 | FromGitter | <AmberSaber> ? |
15:26:34 | FromGitter | <AmberSaber> Is there a programmer over 35 years old in China? |
15:27:20 | FromGitter | <bung87> I know one when I worked at my first IT company |
15:27:56 | FromGitter | <bung87> I’m 31 years old now |
15:29:01 | FromGitter | <AmberSaber> This is an individual situation |
15:29:05 | FromDiscord_ | <Generic> why shouldn't there be a chinese programmer over 35? Had nobody access to computers at that time or do they just work to hard and die? |
15:30:40 | FromGitter | <AmberSaber> There are very few 35-year-old programmers in China. This person should be under great pressure because he will soon lose his job. |
15:31:37 | FromGitter | <AmberSaber> Because there are countless young laborers just graduated from school |
15:32:25 | FromGitter | <bung87> no,I think you are wrong , there’s a job title called technic specialist. |
15:33:34 | FromGitter | <AmberSaber> very few |
15:34:19 | FromGitter | <AmberSaber> The number of these people may not match the pandas. |
15:35:29 | * | shpx joined #nim |
15:35:35 | FromGitter | <AmberSaber> And most of these people are not pandas, they are painted Chow Chow dogs. |
15:35:51 | FromGitter | <bung87> I think you have too many things to worry about |
15:36:55 | FromGitter | <bung87> I really dont care something less or more,just thinking what I want to do. |
15:37:18 | FromGitter | <AmberSaber> I mean, the 38-year-old still programming person is amazing in China. |
15:38:00 | FromGitter | <AmberSaber> I am talking about the Russian. |
15:38:06 | FromGitter | <bung87> yeah ,that’s true |
15:38:14 | narimiran | cough, "Topic for #nim is: Nim programming language" |
15:38:15 | FromGitter | <AmberSaber> Why do I think he is cool? |
15:38:37 | * | shpx quit (Client Quit) |
15:39:10 | FromGitter | <bung87> narimiran you mentioned the most important thing,hah |
15:39:41 | FromGitter | <AmberSaber> I'm going to bed, good night |
15:42:14 | * | miran joined #nim |
15:43:42 | * | narimiran quit (Ping timeout: 250 seconds) |
15:44:10 | * | miran is now known as narimiran |
15:46:07 | * | nsf joined #nim |
15:48:51 | * | zachcarter joined #nim |
15:49:48 | * | elrood quit (Remote host closed the connection) |
15:50:28 | * | Murktinez joined #nim |
15:50:56 | Murktinez | Nim noob here |
15:53:14 | narimiran | Murktinez: welcome |
15:55:48 | * | darithorn joined #nim |
15:57:47 | * | Murktinez quit (Ping timeout: 256 seconds) |
16:11:38 | * | kapil____ joined #nim |
16:43:29 | * | Trustable quit (Remote host closed the connection) |
16:51:38 | * | aguspiza quit (Ping timeout: 268 seconds) |
16:57:29 | FromGitter | <zetashift> welcome! |
17:01:38 | * | skellock quit (Ping timeout: 246 seconds) |
17:04:06 | * | skellock joined #nim |
17:10:23 | * | skellock quit (Ping timeout: 246 seconds) |
17:15:02 | * | nsf quit (Quit: WeeChat 2.3) |
17:15:16 | * | skellock joined #nim |
17:16:56 | * | Yardanico quit (Ping timeout: 240 seconds) |
17:18:15 | * | Yardanico joined #nim |
17:18:42 | * | seni quit (Quit: Leaving) |
17:21:42 | * | craigger quit (Quit: bye) |
17:24:40 | * | craigger joined #nim |
17:27:35 | federico3 | @zacharycarter @vindar: FOSDEM is always in Brussels, there will be a Nim talk but no booth; there's a dedicated thread on the forum and a group on Telegram to organize |
17:46:21 | * | elrood joined #nim |
18:07:37 | federico3 | is testament saving its output somewhere? |
18:12:35 | leorize | testresults.html in the current folder |
18:12:48 | leorize | federico3: ^ |
18:18:46 | federico3 | leorize: I was looking for something easier to parse and testresults/*.json does it :) |
18:21:26 | * | skellock quit (Ping timeout: 246 seconds) |
18:23:32 | * | kapil____ quit (Quit: Connection closed for inactivity) |
18:24:14 | * | skellock joined #nim |
18:31:26 | leorize | nvim async autocomplete :) https://asciinema.org/a/NMXO3gYZ5x3kA6fpn3UjXBgb0 |
18:32:12 | narimiran | leorize: hehe, using sequtils as an example :) |
18:32:21 | leorize | yep :) |
18:32:36 | narimiran | btw, you're making me reconsider using nvim for nim :) |
18:34:53 | leorize | :) |
18:35:06 | leorize | just some more cleanup and this code should hit upstream :) |
18:36:20 | federico3 | any tip on how to write and run a nimscript? |
18:36:43 | FromGitter | <alehander42> `nim e` i think |
18:37:11 | federico3 | https://nim-lang.org/docs/nimscript.html says nothing :( |
18:38:32 | leorize | save it as .nims then use `nim e` |
18:39:55 | narimiran | https://nim-lang.org/docs/nims.html |
18:40:20 | narimiran | but yeah, this should be more detailed and more informative |
18:40:46 | narimiran | if anybody with nimscript experience could improve it, that would be great |
18:41:39 | narimiran | leorize: ping me when your updated plugin is available for download |
18:42:05 | leorize | will do :) |
18:42:06 | federico3 | a redirect from nimscript.html would be nice |
19:01:18 | * | vonHabsi quit (Ping timeout: 250 seconds) |
19:26:44 | * | stefanos82 quit (Remote host closed the connection) |
19:41:25 | * | ng0 joined #nim |
20:06:57 | * | dddddd quit (Remote host closed the connection) |
20:07:14 | FromGitter | <iffy> I have a bug where this is sometimes produced: ``` ⏎ Traceback (most recent call last) ⏎ clib.nim(207) buckets_db_run_json ⏎ clib.nim(119) json_to_params ⏎ json.nim(835) parseJson ... [https://gitter.im/nim-lang/Nim?at=5c4cbdf1ca428b0645081aa1] |
20:07:49 | FromGitter | <iffy> But if I echo out the JSON string being parsed before it's parsed, the traceback doesn't happen |
20:08:52 | * | pagnol joined #nim |
20:10:28 | FromGitter | <iffy> This is in my way-too-complicated Node add-on, so I suspect Node is messing something up |
20:11:16 | * | skellock quit (Ping timeout: 244 seconds) |
20:19:13 | * | zachk joined #nim |
20:20:07 | * | nsf joined #nim |
20:21:18 | * | pagnol quit (Ping timeout: 245 seconds) |
20:23:34 | * | Tyresc joined #nim |
20:33:53 | * | mal`` quit (Quit: Leaving) |
20:37:30 | * | pagnol joined #nim |
20:43:58 | * | skellock joined #nim |
20:52:38 | * | skellock quit (Ping timeout: 246 seconds) |
21:02:26 | * | Trustable joined #nim |
21:05:16 | * | oculux joined #nim |
21:06:27 | * | lritter quit (Ping timeout: 240 seconds) |
21:07:12 | FromGitter | <kaushalmodi> federico3: you can look at my hello_musl repo. |
21:07:35 | FromGitter | <kaushalmodi> I learned NimScript from the nims and nimscript manuals. |
21:22:37 | * | mal`` joined #nim |
21:25:49 | * | Trustable quit (Remote host closed the connection) |
21:32:12 | * | aguspiza joined #nim |
21:44:13 | * | narimiran quit (Ping timeout: 245 seconds) |
21:45:36 | * | nsf quit (Quit: WeeChat 2.3) |
21:53:44 | * | skellock joined #nim |
22:04:28 | * | vonHabsi joined #nim |
22:24:41 | * | mr_yogurt joined #nim |
22:40:07 | * | mr_yogurt quit (Ping timeout: 240 seconds) |
22:41:12 | * | mr_yogurt joined #nim |
22:44:31 | * | skellock quit (Quit: WeeChat 2.3) |
22:50:02 | * | mr_yogurt quit (Quit: quit) |
22:56:25 | * | mr_yogurt joined #nim |
23:16:14 | * | aguspiza quit (Ping timeout: 244 seconds) |
23:40:08 | * | smitop joined #nim |
23:46:59 | * | dddddd joined #nim |
23:59:18 | * | Vladar quit (Remote host closed the connection) |