<< 26-01-2019 >>

00:19:03*zachk quit (Quit: Leaving)
00:28:24rayman22201That 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:05shashlicknimterop doesn't know any C++
00:29:23rayman22201I don't think it will go well then lol
00:32:26shashlick😄
00:32:27shashlicksomeday
00:32:37shashlicklooks lik there is a C API for DFT
00:32:58rayman22201lol
00:33:05rayman22201I don't see any examples for the C api
00:34:51shashlickhttps://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:42pagnolI'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:53leorizepagnol: $cstring
01:53:54pagnolah, apparently by prepending $
01:53:56pagnolha!
01:54:09pagnoljust this instant I found it in the irc logs
01:54:13pagnolthanks
01:55:05pagnolI just decided to play around with nim on the weekend
01:55:54pagnoland karax
01:56:28pagnoldoes the js backend treat cstrings and strings differently?
01:57:37leorizeI'm not entirely sure, but you can check the generated js I think?
01:59:31pagnolright
01:59:36pagnolleorize, what are you using nim for?
01:59:41pagnolout of curiosity
02:00:10leorizeeverything :)
02:00:35leorizemainly 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:26pagnol_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:02FromGitter<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:01FromGitter<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:18FromGitter<Varriount> @bung87 Can you give a little more context?
08:08:01FromGitter<bung87> https://github.com/bung87/proxy/blob/master/src/proxy.nim#L21
08:09:41FromGitter<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:25FromGitter<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:27Araqbung87: you cannot re-use these objects, I've complained about this API before
08:54:55*vlad1777d joined #nim
08:55:54FromGitter<bung87> if not do so ,it will easily exceed fd limits
08:56:35Araqhuh, why? after client.close the fd is returned back to the OS
08:56:40FromGitter<bung87> and the http client is design to reuse same socket on same host
08:57:29Araqwell usually you have one connection per client
08:57:41FromGitter<bung87> yeah ,that’s right,I close it,for current implementation,
08:59:20FromGitter<bung87> that also need a http client between server and target host ,right?
08:59:28*aguspiza joined #nim
09:00:50FromGitter<bung87> I’ve implemted this project in python with twisted which is event-drived without these problems.
09:03:37Araqand 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:22Araqwe have to wait for dom96 or yglukhov[m] or somebody else with async experience :-)
09:04:39FromGitter<bung87> https://github.com/tulayang I think this guy can help
09:05:09FromGitter<bung87> he developed https://github.com/tulayang/httpkit and https://github.com/tulayang/nimnode
09:08:30Araqpost your problem on the forum please
09:10:19FromGitter<bung87> yeah,it’s here https://forum.nim-lang.org/t/4589
09:11:59Araqok thanks
09:21:25*Trustable joined #nim
09:42:32*ckafi joined #nim
09:43:45ckafiHi. I'm just learning nim, so could somebody please tell my why this https://pastebin.com/Fn2NMV5Z doesn't compile (type mismatch)?
09:46:32FromGitter<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:37FromGitter<bung87> https://nim-lang.org/docs/tut1.html#advanced-types-tuples
09:46:39miranckafi: use this http://ix.io/1zg7
09:47:55miranbtw, just `var foo: RGB` would initialize it to zeros
09:49:49ckafimiran: 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:15FromGitter<bung87> maybe the type infer just not deeply to int under range
09:51:30ckafibung87: so there is no way to initialize a type as a tuple of subranges?
09:52:14FromGitter<bung87> this need nim core developers to answer.
09:53:21miranckafi: this will work: http://ix.io/1zg8
09:54:04miran@bung87 if only there was somebody who is nim core devel and is participating in this discussion.... :D
09:59:12FromGitter<bung87> intersting post, looks like it just infer one level type
09:59:35ckafi@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:48FromDiscord_<demotomohiro> koch boot --debugger:native
11:16:53FromDiscord_<demotomohiro> gdb nim.exe
11:17:09FromDiscord_<demotomohiro> I can debug nim compiler with gdb on windows 😃
11:50:13FromDiscord_<demotomohiro> I cannot step in to procedure variable
11:54:18FromDiscord_<demotomohiro> I can step in to procedure variable now
11:57:28*Perkol joined #nim
11:59:03narimiran @demotomohiro write everything down. this could be an interesting article/tutorial!
12:07:23leorizeif gdb on windows support python, source the nim-gdb.py script in Nim source code
12:07:44leorizeit's really good when debugging the compiler :)
12:07:54leorize(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:04FromGitter<verilog15> is nim expression oriented languge?
12:46:15FromGitter<zacharycarter> I don't think so
12:46:49FromGitter<zacharycarter> every construct in Nim is not an expression
12:47:14FromGitter<zacharycarter> but I could be wrong
12:48:03FromGitter<zacharycarter> but Nim does have statements which return no value
12:48:07*zachcarter quit (Ping timeout: 240 seconds)
12:48:20FromGitter<verilog15> I saw a saying "most expressions are commands when we add ';' at the end"
12:48:48FromGitter<zacharycarter> heh
12:48:52pagnol_there's a clear distinction between statements and expressions in nim, no?
12:49:03FromGitter<zacharycarter> in any language really
12:49:12FromGitter<zacharycarter> expressions have to return a value - even a void, but statements don't return any value
12:49:52FromGitter<zacharycarter> expressions are composed of statements, operations and variables which yield a result
12:50:15FromGitter<zacharycarter> so you have like a break statement or a continue statement etc
12:50:18pagnol_I think you got this the wrong way around?
12:50:25FromGitter<verilog15> C is expression oriented right? And as I understand Nim runs C in the background
12:50:27pagnol_expressions are wrapped in statements
12:50:53FromGitter<zacharycarter> `var a: int = 1`
12:50:59FromGitter<AmberSaber> why web need him?
12:50:59FromGitter<zacharycarter> `var a: int` = statement
12:51:17FromGitter<zacharycarter> `var a: int = 1` = expression
12:51:29FromGitter<zacharycarter> that's probably a bad example
12:51:39FromGitter<zacharycarter> but the point is `var` is a statement
12:51:43FromGitter<zacharycarter> as it returns no value
12:52:42FromGitter<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:56FromGitter<zacharycarter> AGOL, Lisp, Ruby, Haskell
12:52:59FromGitter<zacharycarter> I think even Rust
12:53:31FromGitter<zacharycarter> @AmberSaber not sure what you're referring to
12:53:52pagnol_what are you folks using nim for?
12:53:57FromGitter<zacharycarter> game engine dev
12:54:09FromGitter<zacharycarter> and I've built a few web apps with it
12:54:37pagnol_FromGitter, for which platform?
12:54:38FromGitterpagnol_, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim
12:54:46pagnol_I mean, browser or native
12:54:53pagnol_ah oh
12:55:17FromGitter<zacharycarter> all browser based web apps
12:55:35pagnol_did you give karax a try?
12:55:36FromGitter<zacharycarter> I'm not sure if anyone has toyed with Nim + React Native
12:55:56pagnol_ah, by native I just meant using the c backend
12:56:04pagnol_and sdl or opengl bindings or whatever
12:56:10FromGitter<zacharycarter> I did - karax is fine, I had a couple of small gripes, but nothing too major
12:56:17FromGitter<zacharycarter> ah I see - yes I used the C backend for my game engines / libraries
12:56:50FromGitter<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:56pagnol_anyone here from berlin?
12:57:01FromGitter<zacharycarter> so if it's on an macOS device - it will by default call the Metal API
12:57:31FromGitter<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:48FromGitter<zacharycarter> I also used OpenGL in another library I built
12:57:55pagnol_I saw there's a berlin nim meetup, too bad they haven't had any events in a while
12:58:00FromGitter<AmberSaber> I think d is good enough, now everyone is inventing language, isn't it a waste of time?
12:58:08FromGitter<zacharycarter> Now I'm back to using BGFX again in the new iteration of my engine
12:58:29FromGitter<zacharycarter> @AmberSaber - Nim's beyond the `being a waste of time` point
12:58:35FromGitter<zacharycarter> and D has certain failings
12:58:56FromGitter<zacharycarter> pangnol_: Isn't FOSSDEM in Berlin?
12:59:06FromGitter<zacharycarter> there's going to be several Nimmers there - I think Nim will probably even have a booth
12:59:10FromGitter<zacharycarter> maybe not
12:59:12pagnol_Amber why are you hanging out in this channel if you think it's a waste of time?
12:59:31FromGitter<zacharycarter> I assume he's trying to troll / language warrior
12:59:43*stefanos82 joined #nim
12:59:47FromGitter<zacharycarter> not genuinely curious
13:00:00FromGitter<zacharycarter> bleh - so much studying and refreshing to do today
13:00:10FromGitter<zacharycarter> need to go get some coffee first though, because I'm out at the house...
13:00:16pagnol_it's in brussels this year
13:00:25FromGitter<zacharycarter> ahhh okay - my bad
13:00:43FromGitter<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:01FromGitter<zacharycarter> @AmberSaber - Nim has quite a few differences to D
13:01:18FromGitter<zacharycarter> there is actually a really great comparison project on github that @timotheecour maintains - let me grab a link for you
13:01:26FromGitter<AmberSaber> But it feels like a lot of languages have come out in the last few years, and they're basically duplicates
13:01:28FromGitter<zacharycarter> https://github.com/timotheecour/D_vs_nim
13:01:39FromGitter<zacharycarter> Nim, D and Rust all have differences
13:01:43FromGitter<zacharycarter> so does Zig
13:01:53FromGitter<zacharycarter> the former are trying to contend with C/C++
13:02:03FromGitter<zacharycarter> the latter is attempting to become a replacement for C
13:02:18FromGitter<zacharycarter> some have LLVM backends - Nim for instance compiles to C
13:02:40FromGitter<zacharycarter> some are GC'd like Nim and D - others use different memory management strategies
13:02:48FromGitter<zacharycarter> you could consider Rust, D and Nim contenders
13:03:01FromGitter<Vindaar> @pagnol_: I'm not from Berlin, but often there. Nim meetup there would be cool :)
13:03:14FromGitter<zacharycarter> but they all have pros and cons, different niceties and different flaws
13:03:19FromGitter<zacharycarter> we need a US meetup :/
13:03:27FromGitter<zacharycarter> although if I get my way - I'll be moving across the country soon
13:03:37narimiran"lot of languages have come out in the last few years" --> nim is not that young ;)
13:03:45FromGitter<zacharycarter> yeah nim is over a decade old
13:04:05FromGitter<zacharycarter> good point
13:04:14*Perkol quit (Read error: Connection reset by peer)
13:05:10pagnol_Vindaar maybe the existing meetup can be brought to live again, I should message the organizer
13:05:33FromGitter<Vindaar> Sure, go for it!
13:06:02FromGitter<zacharycarter> @Vindaar - thanks for the help with the rig, it turned out very nice
13:06:17FromGitter<zacharycarter> I've been very pleased with it so far
13:07:47FromGitter<Vindaar> Oh, that's great to hear! :)
13:10:52*pagnol_ quit (Ping timeout: 268 seconds)
13:15:09*zachcarter joined #nim
13:18:40FromGitter<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:30FromGitter<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:53FromGitter<zacharycarter> Rust doesn't rely on Mozilla now
13:27:09FromGitter<zacharycarter> Google invented Go - and they use it internally
13:27:41FromGitter<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:49FromGitter<zacharycarter> and allowed the team to hire two full-time developers
13:28:04FromGitter<zacharycarter> but you're welcome to your own opinions - I think most of the folks in here would disagree mightily with you
13:29:23FromGitter<Vindaar> ^ yup
13:29:41FromGitter<zacharycarter> also - your original point was that we didn't need more languages, because D existed
13:29:46FromGitter<zacharycarter> now you're saying D has no prospects
13:29:55FromGitter<zacharycarter> so what are you really trying to get at? I'm confused...
13:30:24FromGitter<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:03FromGitter<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:14FromGitter<zacharycarter> I don't see how any of this has to do with Nim
13:33:21FromGitter<zacharycarter> we have Nim programmers from China
13:33:23FromGitter<AmberSaber> Because d does not have a big company as a background, it has no money to develop the ecology quickly.
13:33:56FromGitter<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:22FromGitter<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:13FromGitter<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:37FromGitter<zacharycarter> if you're genuinely curious about learning more about Nim - we can help you with that
13:35:53FromGitter<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:09FromGitter<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:31FromGitter<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:38elroodthe 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:40FromGitter<zacharycarter> if you want to talk about this kind of thing - we have an off-topic channel
13:39:22FromGitter<AmberSaber> sorry
13:39:24FromGitter<zacharycarter> this channel is for discussions about the language, and for people seeking help with Nim issues
13:39:34FromGitter<zacharycarter> no worries - we just want to keep the channel reserved for ^
13:40:20FromGitter<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:28FromGitter<AmberSaber> This is your interest and hard work. I am really wrong when I speak.
13:40:29FromGitter<zacharycarter> not trying to insinuate you are one :)
13:40:40FromGitter<zacharycarter> not mine - I just am a user of the language
13:40:44FromGitter<zacharycarter> but others - yes that is very true
13:44:46FromGitter<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:57FromGitter<AmberSaber> sorry
13:48:10elroodno 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:20elroodit does help to do so with a productive and somewhat focussed and positive attitude though
13:54:17FromGitter<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:17FromGitter... big company as a background.
13:56:46elroodso, 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:06FromGitter<bung87> just think nim is something exist in the world that you can learn it and use it and contribute to it.
13:59:30FromGitter<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:03FromGitter<bung87> people also could die.
14:00:43FromGitter<bung87> you dont have to be a successful man in the world , nim either
14:02:06FromGitter<AmberSaber> But I am a utilitarian
14:03:22FromGitter<bung87> then you just need think about what you can get from nim
14:04:27FromGitter<bung87> if the results is nothing then you can simple let nim out of your mind.
14:04:44FromGitter<AmberSaber> of course
14:04:56elroodforgive 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:38FromGitter<bung87> what about you can mastering go and other languages?
14:07:11*shpx quit (Quit: shpx)
14:09:13FromGitter<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:17FromGitter<bung87> at that time what would you think about such a language like nim
14:10:30FromGitter<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:00FromGitter<bung87> there are also creative people like invent something.
14:12:12FromGitter<bung87> depends which kind of people you want be
14:12:27FromGitter<AmberSaber> When I saw nim's information, I felt that I had enough rust and go. How come out a language?
14:12:47narimiranfrom 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:30narimiranbut we're still not large enough to learn not to feed them
14:14:56elroodwell, he has a point and isn't only trolling
14:14:59elrooddon'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:14elroodbut this is not the perfect place to spread such an attitude
14:15:17FromGitter<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:20FromGitter<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:13FromGitter<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:51FromGitter<bung87> I can imaging you kind like a man that eager to achieve some goal.
14:20:22FromGitter<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:30FromGitter<AmberSaber> I am in China, and I am not very experienced, and my environment is not as free as you are.
14:22:31FromGitter<bung87> I want to tell you , you always have choice,just decide what you can get and what you will lose
14:23:13FromGitter<AmberSaber> I even feel that my mind is tied.
14:23:41FromGitter<AmberSaber> Yes, Thanks
14:24:47FromGitter<bung87> here are more than three chinese including me.
14:25:29FromGitter<AmberSaber> Still too little
14:26:57FromGitter<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:39FromGitter<bung87> you dont need think of any others,just think what you want to do with ,it’s just about yourself.
14:30:35FromGitter<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:04FromGitter<AmberSaber> Don't you think so?
14:31:35FromGitter<bung87> I’d say China is very young country.
14:31:58dom96By the way, Golang/Rust/Swift also have risks
14:32:05dom96What if Google decides to abandon Go?
14:32:17dom96or take in a direction that is not liked by you?
14:32:43dom96Apple right now is trying to patent Swift which is a pretty shitty thing to do IMO
14:32:44FromGitter<AmberSaber> Yes, in the IT field, China is younger.
14:34:00narimirandom96: google abandoning its own project/product? now that never happens!! https://killedbygoogle.com/index.html
14:34:09FromGitter<bung87> decades ago China was a feudal society
14:34:27dom96narimiran: indeed :)
14:35:02FromGitter<gogolxdong> Where did you get acquaintance with Nim?
14:35:42FromGitter<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:14FromGitter<AmberSaber> Most people still use objective-c
14:36:24*nsf quit (Quit: WeeChat 2.3)
14:36:49*nsf joined #nim
14:38:19FromGitter<AmberSaber> a book introducing seven different languages
14:38:38FromGitter<bung87> years ago front-end engineer is not popular in China ,but I know someone do the front-end engineer’s work.
14:39:50FromGitter<AmberSaber> Everything depends on the job
14:40:39dom96mobile phones are not popular? Which world are you living in?
14:41:13FromGitter<bung87> he talk about passing time thing
14:41:18*nsf quit (Client Quit)
14:41:24FromGitter<bung87> past
14:42:01narimiran@AmberSaber which book is that? Nim was in it? any other "small" languages too?
14:42:16FromGitter<gogolxdong> We are going to push Nim flourishing in 2019, especailly in China, welcome on board.
14:42:28FromGitter<bung87> sounds like "seven weeks seven languages"
14:42:52FromGitter<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:59FromGitter<AmberSaber> yes
14:44:19FromGitter<bung87> that just because almost everybody have a smart phone.
14:45:07FromGitter<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:46FromGitter<AmberSaber> Even an operating system called kaiOS appeared in India.
14:46:54FromGitter<AmberSaber> You will also get tired of your phone slowly
14:49:53FromGitter<gogolxdong> What's your requirement ? Do you have some vision?
14:51:08FromGitter<AmberSaber> No, it's good, it's better to get tired of it. Don't even use it
14:51:34FromGitter<AmberSaber> It will waste your countless hours
14:51:50FromGitter<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:55FromGitter<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:53FromGitter<AmberSaber> Удачи тебе.
15:04:25narimiranmy cyrillic is rusty, but: udaci tebe?
15:10:10FromGitter<AmberSaber> да
15:13:14narimiranoh, it means "good look", now i checked :)
15:14:10FromGitter<AmberSaber> Rusty is a great description
15:16:39narimiranwell, long time ago i could read (very slowly :)) serbian cyrilic stuff
15:19:13FromGitter<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:59FromGitter<bung87> he is also a programmer?
15:20:14FromGitter<AmberSaber> He is 38 years old, and he is still programming, this is a very cool thing for the Chinese.
15:20:43FromGitter<bung87> sounds cool!
15:21:07FromGitter<AmberSaber> Yes, he is a real programmer. He is still practicing flying a plane
15:21:31FromGitter<AmberSaber> He gave me a video of his flight.
15:21:54FromGitter<bung87> intersting
15:23:03*shpx joined #nim
15:25:55FromGitter<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:22FromGitter<AmberSaber> ?
15:26:34FromGitter<AmberSaber> Is there a programmer over 35 years old in China?
15:27:20FromGitter<bung87> I know one when I worked at my first IT company
15:27:56FromGitter<bung87> I’m 31 years old now
15:29:01FromGitter<AmberSaber> This is an individual situation
15:29:05FromDiscord_<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:40FromGitter<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:37FromGitter<AmberSaber> Because there are countless young laborers just graduated from school
15:32:25FromGitter<bung87> no,I think you are wrong , there’s a job title called technic specialist.
15:33:34FromGitter<AmberSaber> very few
15:34:19FromGitter<AmberSaber> The number of these people may not match the pandas.
15:35:29*shpx joined #nim
15:35:35FromGitter<AmberSaber> And most of these people are not pandas, they are painted Chow Chow dogs.
15:35:51FromGitter<bung87> I think you have too many things to worry about
15:36:55FromGitter<bung87> I really dont care something less or more,just thinking what I want to do.
15:37:18FromGitter<AmberSaber> I mean, the 38-year-old still programming person is amazing in China.
15:38:00FromGitter<AmberSaber> I am talking about the Russian.
15:38:06FromGitter<bung87> yeah ,that’s true
15:38:14narimirancough, "Topic for #nim is: Nim programming language"
15:38:15FromGitter<AmberSaber> Why do I think he is cool?
15:38:37*shpx quit (Client Quit)
15:39:10FromGitter<bung87> narimiran you mentioned the most important thing,hah
15:39:41FromGitter<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:56MurktinezNim noob here
15:53:14narimiranMurktinez: 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:29FromGitter<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:35federico3@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:37federico3is testament saving its output somewhere?
18:12:35leorizetestresults.html in the current folder
18:12:48leorizefederico3: ^
18:18:46federico3leorize: 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:26leorizenvim async autocomplete :) https://asciinema.org/a/NMXO3gYZ5x3kA6fpn3UjXBgb0
18:32:12narimiranleorize: hehe, using sequtils as an example :)
18:32:21leorizeyep :)
18:32:36narimiranbtw, you're making me reconsider using nvim for nim :)
18:34:53leorize:)
18:35:06leorizejust some more cleanup and this code should hit upstream :)
18:36:20federico3any tip on how to write and run a nimscript?
18:36:43FromGitter<alehander42> `nim e` i think
18:37:11federico3https://nim-lang.org/docs/nimscript.html says nothing :(
18:38:32leorizesave it as .nims then use `nim e`
18:39:55narimiranhttps://nim-lang.org/docs/nims.html
18:40:20narimiranbut yeah, this should be more detailed and more informative
18:40:46narimiranif anybody with nimscript experience could improve it, that would be great
18:41:39narimiranleorize: ping me when your updated plugin is available for download
18:42:05leorizewill do :)
18:42:06federico3a 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:14FromGitter<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:49FromGitter<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:28FromGitter<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:12FromGitter<kaushalmodi> federico3: you can look at my hello_musl repo.
21:07:35FromGitter<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)