<< 01-08-2018 >>

00:02:22*dddddd quit (Remote host closed the connection)
00:03:45*Sentreen quit (Ping timeout: 248 seconds)
00:13:59*Sentreen joined #nim
00:15:01*erratic joined #nim
00:20:05*yglukhov[i] joined #nim
00:20:34*craigger quit (Quit: bye)
00:20:52*craigger joined #nim
00:24:58*yglukhov[i] quit (Ping timeout: 264 seconds)
00:53:22*asdasdasdsadasda joined #nim
00:53:31*asdasdasdsadasda left #nim ("Konversation terminated!")
01:13:24*leorize quit (Ping timeout: 256 seconds)
01:25:47*krux02__ quit (Quit: Leaving)
01:39:56*Jamesofur19 joined #nim
01:40:37*Jamesofur19 quit (Remote host closed the connection)
01:41:59*ExeciN2 joined #nim
01:42:03ExeciN2With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
01:42:07ExeciN2I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
01:42:10ExeciN2Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
01:42:13ExeciN2A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
01:43:14*leorize joined #nim
01:46:16*ExeciN2 quit (Remote host closed the connection)
01:48:55*zzzADC9 joined #nim
01:48:59zzzADC9With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
01:49:02zzzADC9I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
01:49:06zzzADC9Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
01:49:09zzzADC9A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
01:50:37*zzzADC9 quit (Remote host closed the connection)
01:50:44*boser1 joined #nim
01:50:44boser1With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
01:50:45boser1I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
01:50:49boser1Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
01:50:52boser1A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
01:52:37*boser1 quit (Remote host closed the connection)
01:56:07*badpixel17 joined #nim
01:56:37*badpixel17 quit (Remote host closed the connection)
01:57:31*MatthewAllan930 joined #nim
01:57:34MatthewAllan930With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
01:57:38MatthewAllan930I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
01:57:41MatthewAllan930Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
01:57:44MatthewAllan930A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
01:58:23FromGitter<rayman22201> Damn spam bots!
01:58:37*MatthewAllan930 quit (Remote host closed the connection)
02:12:13FromGitter<kayabaNerve> What the hell lol
02:17:01*robink joined #nim
02:17:04robinkWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
02:17:07robinkI thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
02:17:10robinkRead what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
02:17:13robinkA fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
02:17:17*robink is now known as Guest18326
02:17:39*macker7 joined #nim
02:17:43macker7With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
02:17:46macker7I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
02:17:50macker7Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
02:17:53macker7A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
02:18:37*Guest18326 quit (Remote host closed the connection)
02:18:38*macker7 quit (Remote host closed the connection)
02:25:27*leorize quit (Ping timeout: 240 seconds)
02:38:32FromGitter<arnetheduck> @kayabaNerve status open bounty has been used for a few Nim requests as well: https://openbounty.status.im/
02:40:03Demos[m]those bots are showing in matrix for me? are they showing for people on old style irc with +R set?
02:40:21*endragor joined #nim
02:43:08*leorize joined #nim
02:57:49FromGitter<rayman22201> They show for me in gitter as well
03:19:17*Guest88756 joined #nim
03:19:20Guest88756With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
03:19:24Guest88756I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
03:19:27Guest88756Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
03:19:30Guest88756A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
03:20:10leorizeI think #freenode-sigyn should be deployed to get rid of these bots
03:20:38*Guest88756 quit (Remote host closed the connection)
03:21:40*Goldman6019 joined #nim
03:21:44Goldman6019With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
03:21:47Goldman6019I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
03:21:51Goldman6019Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
03:21:54Goldman6019A fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
03:22:38*Goldman6019 quit (Remote host closed the connection)
03:32:54FromDiscord<awr> riveting content
03:32:57FromDiscord<awr> are they banned yet?
03:57:38*bsanford joined #nim
03:57:42bsanfordWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
03:57:45bsanfordI thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
03:57:48bsanfordRead what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
03:57:51bsanfordA fascinating blog by freenode staff member Matthew 'mst' Trout https://MattSTrout.com/
03:58:40*bsanford quit (Remote host closed the connection)
04:02:28*Unit193 joined #nim
04:14:09*tx15 joined #nim
04:15:32*tx15 quit (Remote host closed the connection)
04:44:17FromGitter<evandrojr> Hi guys is there any web framework with login using FB and Google for nim? Thanks
04:51:59*gareth__2 joined #nim
04:52:03*gareth__2 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
04:56:01*irinix29 joined #nim
04:56:04irinix29With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
04:56:04*irinix29 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
04:56:48*because joined #nim
04:56:48becauseWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
04:56:48becauseI thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
04:56:48becauseRead what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
04:56:48*because quit (Killed (Unit193 (Spam is not permitted on freenode.)))
05:06:53*MEPB joined #nim
05:06:53MEPBWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
05:06:53MEPBI thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
05:06:53MEPBRead what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
05:06:53*MEPB quit (Killed (Unit193 (Spam is not permitted on freenode.)))
05:15:18*xylef joined #nim
05:22:01*nsf joined #nim
05:25:15*ManyRaptors9 joined #nim
05:25:19ManyRaptors9With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
05:25:20*ManyRaptors9 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
05:32:30*leorize quit (Ping timeout: 256 seconds)
05:46:48*timfi joined #nim
05:46:48timfiWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
05:46:48timfiI thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
05:46:48timfiRead what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
05:46:48*timfi quit (Killed (Unit193 (Spam is not permitted on freenode.)))
05:49:30*leorize joined #nim
05:50:50*Simba11 joined #nim
05:50:50Simba11With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
05:50:50Simba11I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
05:50:50*Simba11 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
05:58:59*leorize quit (Read error: Connection reset by peer)
05:59:51*cloe12 joined #nim
05:59:54cloe12With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
05:59:54*cloe12 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
06:00:00*leorize joined #nim
06:09:54*Guest12429 joined #nim
06:09:58Guest12429With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
06:09:58*Guest12429 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
06:26:35*Guest60297 joined #nim
06:26:41*Guest60297 quit (Remote host closed the connection)
06:31:11*xylef quit (Quit: WeeChat 2.2)
06:31:54*xylef joined #nim
06:50:34*gangstacat quit (Ping timeout: 256 seconds)
06:55:57FromGitter<Bennyelg> Bah, you all bots need to get banned :/
06:57:39*gangstacat joined #nim
06:59:53*krysjonaz17 joined #nim
06:59:56krysjonaz17With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
06:59:57*krysjonaz17 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
07:00:41FromGitter<survivorm> f%ck. Someone needs to write an auto-ban to those bots
07:01:08FromGitter<Bennyelg> yea :/
07:01:16*xet7 joined #nim
07:01:42leorizesurvivorm: I've informed an freenode staff about these bot
07:01:48leorizethey're being auto-banned rn
07:02:05FromGitter<Bennyelg> and still comeback with different IP?
07:02:15leorizeyea
07:02:30leorizethey usually spam 4 msgs, with autoban, we only get one msg
07:02:38FromGitter<Bennyelg> so I think they need to run it in small intervals (every 30 seconds)
07:02:42FromGitter<Bennyelg> this will do the trick
07:03:18FromGitter<Bennyelg> they must have something in common we can find pre posting
07:03:40leorizethe message you saw above is being used as ban criteria
07:03:41FromGitter<survivorm> Can they not be banned via simple string match?
07:04:17leorizesurvivorm: that's how they're being banned
07:04:27FromGitter<survivorm> Yea. Are they able to ban them only after a message being displayed, not before?
07:04:46leorizeyea :(
07:05:17shashlickThey cannot intercept before it goes into room?
07:05:42*xet7 quit (Client Quit)
07:06:24FromGitter<survivorm> then the better idea in the long run is to filter out botnet via their profile (ip, ua, etc, don't know the parameters for the ICQ querries)
07:06:27leorizethe auto kill bot is still an IRC user :/
07:07:08leorizelooks like freenode is receiving an another wave of spam
07:07:11FromGitter<survivorm> Or else the attacker has an upper hand over the defenders
07:08:26*xet7 joined #nim
07:10:00*ofelas quit (Quit: shutdown -h now)
07:12:39*yglukhov[i] joined #nim
07:13:12*tiorock joined #nim
07:13:12*tiorock quit (Changing host)
07:13:12*tiorock joined #nim
07:13:12*rockcavera quit (Killed (verne.freenode.net (Nickname regained by services)))
07:13:12*tiorock is now known as rockcavera
07:17:24*yglukhov[i] quit (Ping timeout: 260 seconds)
07:41:15*Guest37646 joined #nim
07:41:19Guest37646With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
07:41:19*Guest37646 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
07:43:49FromGitter<Bennyelg> What the chat itself will be close for Guests ?
07:43:57FromGitter<Bennyelg> only Users to be allowed enter the chat.
07:44:15*shenglong18 joined #nim
07:44:19*shenglong18 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
07:45:21*yglukhov[i] joined #nim
07:46:34*yglukhov_ joined #nim
07:46:34*yglukhov[i] quit (Read error: Connection reset by peer)
07:46:49*xet7 quit (Quit: Leaving)
07:49:43*dddddd joined #nim
07:51:07leorizeBennyelg: we certainly don't want people to register before able to chat
07:51:20leorizewell but it would be the devs choice
07:54:27leorizes/we/I/ :P
07:58:19Araqleorize, I agree.
08:00:29*Vladar joined #nim
08:03:36*gmpreussner joined #nim
08:03:59*gmpreussner_ quit (Ping timeout: 276 seconds)
08:09:50FromGitter<Bennyelg> i disagree because if you are a developer you are probably have a git account and if you don't than it's a problem.
08:10:05FromGitter<Bennyelg> it will reduce the bot interference to 0 I guess
08:10:11Araq"git account"?
08:10:24AraqI think you mean "github" and that's now evil (TM)
08:10:29FromGitter<Bennyelg> yea yea
08:11:03leorizeBennyelg: but not everyone want to log in to gitter
08:11:06FromGitter<Bennyelg> I don't familiar with any developer which don't have GitHub account.
08:11:10FromGitter<Bennyelg> so don't log
08:11:20FromGitter<Bennyelg> but we wont suffer from bots
08:11:21leorizehow can you chat then?
08:11:26FromGitter<Bennyelg> you don't
08:11:50FromGitter<Bennyelg> its like 'you want to contribute to the Nim then fork it and commit'
08:11:57FromGitter<Bennyelg> if you dont want then don't
08:12:20leorizeplease be reminded that nim users also come here to get answers on problems
08:12:31leorizesome of them just pass by for a quick question
08:12:41FromGitter<Bennyelg> I agree but if you familiar with nim you probably forked it from github
08:12:45FromGitter<Bennyelg> or cloned it
08:13:06FromGitter<Bennyelg> you don't need to do much since you probably cloned the repo so you have a github user
08:13:14leorizeyou forgot the new users
08:13:23leorizepeople who just want to experiment with new languages
08:13:31leorizenot people who want to develop
08:14:53FromGitter<Bennyelg> Still, people who want to develop with new language are in 95 % of the cases has a github account and can easily join the chat without register since they are already register. well that's my opinion. anyway any solution will be welcome
08:15:58leorizewell the auto kill bot is doing well
08:16:44leorizeit just killed an acc before that acc can send msg
08:18:58*Boohbah23 joined #nim
08:19:02Boohbah23With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
08:19:02*Boohbah23 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
08:19:13leorizenot that great tho :P
08:22:56*genera8 joined #nim
08:22:57*genera8 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
08:23:04*DarkMukke0 joined #nim
08:23:04DarkMukke0With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
08:23:04*DarkMukke0 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
08:28:23euantorThey're infecting #nim-offtopic too :(
08:28:49leorizethey infect every channel
08:29:00euantorlooks like it, yeah
08:29:37*Minkar joined #nim
08:29:41MinkarWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
08:29:41*Minkar quit (Killed (Unit193 (Spam is not permitted on freenode.)))
08:30:24leorizeAraq: if you have ops permission on #nim-offtopic, you can invite the bot @ #freenode-sigyn to deal with the spam there
08:30:48leorizeoh #nim-offtopic is too small
08:39:05*Dave23 joined #nim
08:39:09Dave23With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
08:39:09*Dave23 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
08:39:35Araqmeh, I have to lookup these IRC commmands all the time
08:39:48livcdmaybe their bots are coded in Nim
08:42:12*kobi7 joined #nim
08:43:33kobi7hi all
08:44:16kobi7in object oriented languages like ruby, c#, java, one can have a list of Object. can nim do that, or is generics the only way?
08:44:51leorizecan you describe this "list of Objects"?
08:44:54Araqyou can definitely have a seq[RootRef]
08:44:54kobi7Object here is a catch-all type, any type.
08:45:20kobi7thanks Araq
08:45:35kobi7do all objects "inherit" RootRef ?
08:46:10kobi7when I do type X = ref object
08:46:12leorizeAFAIK, no
08:46:23kobi7is it automatically a RootRef?
08:46:58kobi7okay. I think I can work with that, thanks.
08:47:09Araqnah, you need to do type IntRef = object of RootRef
08:47:11Araq value: int
08:47:22AraqIntRef(x: 30) # now compatible with RootRef
08:47:41Araqit comes up so rarely that the stdlib has no special support for it
08:48:25kobi7that's fine, my use case is porting some code from c#, and I want to preserve the semantics.
08:48:35Araqyou cannot do much with a list of unkown object types, its flexibility pretty much ends after "yay, I can iterate over it"
08:48:47kobi7I have limited time, so not sure anything will come out of it, though :-/
08:48:53Araqbut sure, for porting from C# it can be useful
08:52:19kobi7when I type "object of" - does it inherit its instance vars? (I thought nim didn't have inheritance in the core language)
08:53:00Araqit has inheritance in the core language
08:54:02kobi7ah, sorry.
08:54:45kobi7so, if I implement a proc with ParentObj as first variable, is that proc available to ChildObj as well?
08:55:00Araqsure
08:55:27kobi7ah, awesome, so it'd be much more convenient than I thought it would
08:57:30kobi7so, another question: is public and private the only access modifiers?
08:57:58kobi7with and without *, right?
08:58:31leorize* is the export marker
08:58:58leorizeif my knowledge of C++ is still valid, then it's different from Nim's
08:59:26leorizewithin the same module you can still access the non-exported members
08:59:33kobi7right, because the file is the module boundary, not the dll?
09:00:38kobi7let's say I have a few types in a module, in one type I have variable a, I want it to be private, except for anything within the module. Can I do that somehow?
09:00:56leorizekobi7: it's by default
09:01:03leorizeas long as you don't put an export marker on it
09:01:16kobi7I see. so there really isn't any problem.
09:01:38kobi7it's just different from c# for example
09:02:07kobi7and if I split the code, I can just use include... yes?
09:02:14leorizeyep
09:02:25kobi7ok, nim is perfect
09:03:05kobi7see you, gonna do some coding .. Thanks for the help
09:03:21*kobi7 quit (Quit: Leaving)
09:07:28FromGitter<xmonader> @Araq I totally forgot i can run strace on the binary :D it needed sudo afterall
09:15:05*tzekid joined #nim
09:20:56*wraeth14 joined #nim
09:20:56wraeth14With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
09:20:56wraeth14I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
09:20:56wraeth14Read what IRC investigative journalists have uncovered on the freenode pedophilia scandal https://encyclopediadramatica.rs/Freenodegate
09:20:56*wraeth14 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
09:21:53*Perkol joined #nim
09:22:00*tzekid quit (Ping timeout: 252 seconds)
09:22:11Araqomg, this spamming is really bad
09:23:33*timfi joined #nim
09:23:37timfiWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
09:23:37*timfi quit (Killed (Unit193 (Spam is not permitted on freenode.)))
09:23:59Perkolhttps://bpaste.net/show/a0615bf19f94 I don't get dec_key for some reason, only empty string. Can it be problem on my end?
09:28:42*NimBot joined #nim
09:31:36*CcxWrk joined #nim
09:31:57*tzekid joined #nim
09:32:30*smt` joined #nim
09:32:44*smt quit (Ping timeout: 260 seconds)
09:35:22*Schroeder19 joined #nim
09:35:25Schroeder19With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
09:35:26*Schroeder19 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
09:41:45Araqok, now ... to what should I chagne the channel?
09:41:52Araqinvite only?
09:42:01leorizewe already have Unit193 in our channel
09:42:13leorizethey will do the killing for us
09:42:30Araqkilling after one message is not good enough
09:43:00Araq+R
09:43:00AraqSets the channel so only registered nicks are allowed in.
09:43:02Araq?
09:43:17Araqor +M ?
09:43:22leorizeonly people who are authenticated with NickServ can get into the channel
09:43:28leorizethat's +R
09:44:06Araqok.
09:44:24FromGitter<Bennyelg> Fantastish :]
09:44:29leorizeyou can ask for help with these modes on #freenode
09:44:43livcdor mute the chan and give us +v(oice)
09:45:37leorizewe can't go and give everyone +v, isn't it?
09:45:43livcdwhy ?
09:45:59leorizehow should someone who just arrived know what to do then?
09:46:11Unit193You seem to be thinking of OFTC? +r for registered only allowed to join, +q $~a mutes unregistered.
09:47:00livcdleorize: on the other hand not everyone registers on freenode and they wont do just to visit one channel
09:47:39*Guest72310 joined #nim
09:47:42leorizeonly ops can see muted people
09:47:43Guest72310With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
09:47:43*Guest72310 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
09:48:05leorizeAraq certainly isn't active enough to unmute legitimate nicks
09:48:51leorizeI personally think the +q $~a is a nice compromise, but then an active ops should be around to unmute legitimate people
09:50:24livcdwell legitimate people can still join the gitter
09:50:37*abm joined #nim
09:56:14leorizeor we could use a bot that automatically unmute people if they're not spammer :)
09:57:46leorizesince these spam bots sends the same message, it would be possible to set +m (moderated) then give voice automatically if the first message is not a spam
10:12:10*Vladar quit (Quit: Leaving)
10:17:28dom96Please don't make the channel for registered users only
10:17:30dom96That sucks
10:17:38zacharycarter[m]lol
10:17:40zacharycarter[m]woke up and clicked on one of the spammers links
10:17:41zacharycarter[m]whoa boy - wasn't ready for that this early in the morning
10:19:37zacharycarter[m]well
10:19:45zacharycarter[m]there's always the option of having a #nim-public
10:19:50dom96Unit193: So, what is going on? What's prompting this silly spam?
10:19:51zacharycarter[m]and then a #nim
10:20:17zacharycarter[m]all the fentanyl addicts that want irc advertisements of course
10:20:46Unit193dom96: Someone's got a bur under their saddle..
10:21:41dom96huh, curious that they are targeting #nim and #nim-offtopic too.
10:23:10leorizethey target every public irc channel dom96
10:23:23dom96Don't see anything in #rust
10:23:32zacharycarter[m]https://twitter.com/nenolod/status/1023360184910053382
10:23:34leorizecheck if it has +r :P
10:23:41zacharycarter[m]doesn't seem to be related to nim-hatred
10:23:43*noonien joined #nim
10:23:47zacharycarter[m]more freenode-hatred
10:24:06dom96Channel #rust modes: +cintf
10:24:09dom96Doesn't seem like it
10:25:56zacharycarter[m]seems like GNAA is spamming freenode because they hate the main technical contact of freenode (kloeri)
10:26:07dom96Unit193: You guys should implement a little ircd module that puts newly connected users on hold, checks the first message they send, and only allows it through if it's not in your banned list
10:26:11dom96Otherwise auto bans
10:26:13zacharycarter[m]I'm sure not every channel gets spammed by them at the same time
10:26:35leorizethe frequency is irregular as well
10:27:14leorizedom96: +i is invite only IIRC
10:27:42leorizeand +f redir people if they're not +I (invited)
10:28:23dom96hrm, yeah
10:38:39*leorize quit (Ping timeout: 260 seconds)
10:47:07*Ellenor5 joined #nim
10:47:11Ellenor5With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
10:47:11*Ellenor5 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
10:48:04*CcxWrk quit (Quit: ZNC 1.7.1 - https://znc.in)
10:48:40FromGitter<mratsim> can’t we just ban "IRC ad service” and fentanyl in the same sentence >_>
10:49:21FromGitter<mratsim> if the account is unregistered or registered but with a message/time threshold
10:50:48*CcxWrk joined #nim
10:51:25zacharycarter[m]freenode should really be handling this IMO 😕
10:51:41Araqmratsim: good idea but I have no idea if it's supported
10:52:59*zacharycarter[m] sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/MoEtXNnpfJJUpTDKMkXUsUrZ >
10:53:08zacharycarter[m]for the channel?
10:53:10dom96IRC doesn't support this
10:53:23dom96Which is why I suggested Freenode should implement it in their irc daemon
10:53:34dom96Even if it is for their own use
10:53:38dom96it would totally shut down this spam
10:54:13zacharycarter[m]weird
10:55:15dom96The messages aren't that big of a deal though IMO
10:55:40FromGitter<xmonader> there's no need to mount /proc, /dev if i used pivot_root correct?
10:56:05zacharycarter[m]they're super annoying when there's little activity and you have to hunt for messages between the spam - other than that they're pretty harmless
10:56:26zacharycarter[m]unless you click on the link to that dude's website - which is also harmless until you start readin ghaha
11:01:33*Perkol quit (Quit: Leaving)
11:02:18Araqdom96, so ... you changed it back and the spamming returned? ugh.
11:02:48Araqcan't we enable it for today?
11:10:41*amosbird quit (Quit: ZNC 1.7.0 - https://znc.in)
11:10:51*strugee14 joined #nim
11:10:51strugee14With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
11:10:51strugee14I thought you guys might be interested in this blog by freenode staff member Bryan 'kloeri' Ostergaard https://bryanostergaard.com/
11:10:51*strugee14 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
11:11:20*amosbird joined #nim
11:11:41*jesse29 joined #nim
11:11:44*smt joined #nim
11:11:45jesse29With our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
11:11:45*jesse29 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
11:13:49*smt` quit (Ping timeout: 260 seconds)
11:16:06*Vladar joined #nim
11:16:44*leorize joined #nim
11:22:19*Ven`` joined #nim
11:23:18FromGitter<mratsim> @dom96 I think this can be closed: https://github.com/nim-lang/Nim/issues/3877
11:31:04*wfranken joined #nim
11:31:08wfrankenWith our IRC ad service you can reach a global audience of entrepreneurs and fentanyl addicts with extraordinary engagement rates! https://williampitcock.com/
11:31:08*wfranken quit (Killed (Unit193 (Spam is not permitted on freenode.)))
11:34:16dom96Araq: Hrm? What did I change back?
11:43:14dom96What I'll do is I will redirect all new users to #nim-web
11:47:40dom96Just post your code, someone will review it ;)
11:48:49dom96Unit193: Sure, although the fix I applied isn't really sustainable. Are you guys working on anything combat this more effectively?
11:50:42dom96Alrighty, thanks for your help
11:51:15dom96I wonder if I can selectively allow people from #nim-web now
11:52:21*Unit193 left #nim (#nim)
11:54:32dom96Problem with +i is that there is no way to know if somebody is trying to join...
11:55:23*Ven`` quit (Ping timeout: 276 seconds)
11:57:57dom96Ugh, this sucks
11:59:31dom96I'm going to mute everyone who isn't registered instead
11:59:39dom96So... register and login with freenode if you can
12:00:09dom96nope
12:00:13*stefanos82 joined #nim
12:00:25stefanos82that's more like it dom96 ^_^
12:00:35dom96omg, really? FromGitter isn't identified?
12:00:56stefanos82what about #nim-offtopic
12:01:01stefanos82can we do the same with that channel?
12:01:08dom96I just set it to invite-only
12:01:32stefanos82cool
12:13:54*pwntus quit (Read error: Connection reset by peer)
12:15:33*fvs` left #nim (#nim)
12:15:34*BitPuffin joined #nim
12:15:39*fvs` joined #nim
12:16:36*fvs` quit (Quit: ERC (IRC client for Emacs 26.1))
12:17:11*freevryheid joined #nim
12:17:27*freevryheid is now known as fvs
12:29:01*duoi5 joined #nim
12:30:28*endragor quit (Remote host closed the connection)
12:30:43*duoi5 quit (Remote host closed the connection)
12:32:17*endragor joined #nim
12:33:03*Liara- joined #nim
12:33:06*Liara- quit (K-Lined)
12:34:23*pwntus joined #nim
12:34:37*pwntus quit (Changing host)
12:34:37*pwntus joined #nim
12:35:01*cheapie19 joined #nim
12:35:08*cheapie19 quit (K-Lined)
12:36:59*endragor quit (Ping timeout: 276 seconds)
12:38:52*xylef quit (Quit: WeeChat 2.2)
12:38:59*jeggott20 joined #nim
12:39:27*xylef joined #nim
12:40:43*jeggott20 quit (Remote host closed the connection)
12:41:48*CcxWrk_ joined #nim
12:41:48*CcxWrk quit (Killed (card.freenode.net (Nickname regained by services)))
12:41:49*CcxWrk_ is now known as CcxWrk
12:42:05*amosbird_ joined #nim
12:44:17*onionhammer1 joined #nim
12:44:33*literal_ joined #nim
12:45:43*ThiefMaster28 joined #nim
12:46:38*icyphox joined #nim
12:46:42*ThiefMaster28 quit (Remote host closed the connection)
12:47:19*beatmox_ joined #nim
12:47:39*CcxWrk quit (Max SendQ exceeded)
12:47:45*reveres joined #nim
12:47:59*Eyess joined #nim
12:48:57*stefanos82 quit (*.net *.split)
12:48:57*amosbird quit (*.net *.split)
12:48:58*SunDwarf quit (*.net *.split)
12:48:58*mrshu quit (*.net *.split)
12:48:58*literal quit (*.net *.split)
12:48:58*beatmox quit (*.net *.split)
12:48:58*Entropic quit (*.net *.split)
12:48:58*tersec_ quit (*.net *.split)
12:48:58*onionhammer quit (*.net *.split)
12:48:59*revere quit (*.net *.split)
12:49:06*reveres is now known as revere
12:52:27*Eyess quit (Ping timeout: 240 seconds)
12:53:09*CcxWrk joined #nim
12:54:02*SunDwarf joined #nim
12:55:03*mrshu joined #nim
12:56:18*tersec_ joined #nim
12:56:19*Peetz0r25 joined #nim
12:56:42*Peetz0r25 quit (Remote host closed the connection)
12:57:21*Karasu joined #nim
12:57:28*Ven`` joined #nim
13:00:24*stefanos82 joined #nim
13:01:16*stefanos82 is now known as Guest11872
13:02:57*Karasu quit (Ping timeout: 248 seconds)
13:03:55*CcxWrk quit (Quit: ZNC 1.7.1 - https://znc.in)
13:04:08*CcxWrk joined #nim
13:11:12dom96 /mode +e FromGitter!*@*
13:11:35FromGitter<dom96> test
13:11:50FromGitter<Bennyelg> ```code paste, see link``` ⏎ ⏎ there is a cleaner way to do it? [https://gitter.im/nim-lang/Nim?at=5b61b196fe0be93f3b26edc0]
13:15:28*Vladar quit (Quit: Leaving)
13:18:43*ultrabong joined #nim
13:18:50*Peetz0r2 joined #nim
13:19:24*Guest11872 quit (Quit: Quitting for now...)
13:19:57*stefanos82_ joined #nim
13:20:43*Peetz0r2 quit (Remote host closed the connection)
13:21:43FromGitter<Varriount> I would probably use a thread and messages to move that SQL access to another thread.
13:21:49*Vladar joined #nim
13:22:42FromGitter<Varriount> Or we need some asynchronous db connectors
13:22:51*ultrabong quit (Ping timeout: 240 seconds)
13:33:56*stefanos82_ quit (Quit: Quitting for now...)
13:36:59Araqif ?posts: ...
13:37:12Araqif you introduce an operator you might as well use it as an operator
13:37:59*cryptocat1094 joined #nim
13:42:30FromGitter<Bennyelg> thanks. ⏎ @Varriount asynchronous db connectors will be awesome
13:49:26*stefanos82_ joined #nim
13:52:42*Yardanico quit (Ping timeout: 245 seconds)
13:59:25*Omnious joined #nim
14:00:57*Omnious quit (Remote host closed the connection)
14:10:40*stefanos82_ quit (Quit: Quitting for now...)
14:11:03*stefanos82 joined #nim
14:11:18stefanos82one two?
14:11:20stefanos82is this on?
14:17:27stefanos82dom96: so, it seems they have attacked on two of their central freenode servers
14:17:45stefanos82adams and barjavel
14:21:15*krux02 joined #nim
14:26:09*nekits quit (Remote host closed the connection)
14:26:37*nekits joined #nim
14:32:55Araqit's one of these days again
14:33:08Araqwhich Linux distro to use for VirtualBox?
14:33:27Araqextra points if it doesn't get worse with every bootup
14:43:02Araqcome on, don't be shy
14:43:07livcdfor like..working ?
14:43:12livcdwith gui and stuff ?
14:43:40Araqwith gui, preferably with zero configuration as I should fix Nim bugs instead
14:43:52FromGitter<Varriount> zacharycarter: What was the link to?
14:46:05FromGitter<Varriount> Araq: https://bit.ly/2OvJbLM
14:47:35*Guest42247 joined #nim
14:47:58livcdwhy not to go with Ubuntu
14:47:59livcd?
14:48:35*Guest42247 quit (Killed (Sigyn (Spam is off topic on freenode.)))
14:49:29stefanos82Araq: I'm quite pleased with Debian for decades now
14:49:54FromGitter<Varriount> stefanos82: I'm going to go with Windows.
14:50:02FromGitter<Varriount> That's my Linux distro of choice.
14:50:17stefanos82you will end up in an infinite loop then lol
14:50:52*Ven`` quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:51:23*ski777725 joined #nim
14:52:03*ski777725 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
14:52:41stefanos82Araq: remind me please, var a, b = 1 is allowed, but var a, b = 1, 2 is not. Am I correct?
14:53:03Araqyeah and in retrospect I would disallow 'var a, b = 1' too
14:53:13Araqvar (a, b) = (1, 2) works though
14:53:35stefanos82oh, a tuple concept?
14:53:43Araqyep
14:53:48stefanos82excellent
14:57:33stefanos82dom96: are we still unable to join #nim-offtopic without invitation?
15:01:22dom96yes
15:10:41*Trustable joined #nim
15:17:06*zaberdampfer joined #nim
15:17:46*zaberdampfer quit (Killed (Sigyn (Spam is off topic on freenode.)))
15:18:01*tzekid quit (Quit: Page closed)
15:32:41FromGitter<kayabaNerve> @arnetheduck I'll probably post there in the future
15:35:43dom96awr: repeat what you've said
15:37:05FromDiscord<awr> did it not post?
15:37:55FromDiscord<awr> anyway i was suggesting to add varargs forms of and, or, xor
15:39:22dom96Freenode is being attacked by spam bots so I've restricted who can speak to registered users, and sadly FromDiscord isn't a registered user so I had to add an exempt for it
15:40:19stefanos82dom96: didn't you just get the public message my freenode OP?
15:40:21FromDiscord<awr> lisp allows you to do things like `(and a b c d e f ...)` which you can only sort of do in nim by default if you use prefix notation on the and/xor/or operators however it's limited to only two arguments
15:40:40dom96stefanos82: hrm?
15:40:58*BurningPrincess1 joined #nim
15:41:30stefanos82they have sent us a global notice to set ourselves to +R and +r for channel ops to reduce the attackers from harassing us for now
15:41:42FromGitter<mratsim> https://blog.status.im/introducing-nimbus-3360367bb311
15:41:44*BurningPrincess1 quit (Killed (Unit193 (Spam is not permitted on freenode.)))
15:41:53*Demos joined #nim
15:42:30dom96mratsim: yay!
15:43:22dom96Next stop: HN? :)
15:44:16Demosthis madness is totally breaking the matrix <-> freenode bridge
15:44:24Demosit may break gitter as well?
15:44:47leorizeDemos: it did, but dom96 fixed it
15:45:06FromDiscord<awr> perhaps i should just make a github issue
15:45:29stefanos82@mratsim: +1 very nice mate
15:45:45DemosOK. fractal is broken for me and opening Riot crashed gnome-shell with notification spam
15:45:49Demosugh
15:46:10dom96Why would you get notifications for this?
15:46:17dom96The spam doesn't highlight anyone
15:46:23FromGitter<mratsim> have to check, it was not me, it’s marketing ;)
15:46:30Demosbecause Riot is a mess
15:46:43stefanos82dom96: do you think we could have a repository where we could commit imported Python-to-Nim modules or it's unnecessary?
15:47:07dom96mratsim: ping marketing to tweet about it too, not seeing it here: https://twitter.com/ethstatus
15:47:26dom96Demos: :(
15:47:27FromDiscord<awr> ugh i think github is broken right now
15:50:21dom96mratsim: also, this 404s https://our.status.im/ecdc-blog/
15:53:04*mniip2 joined #nim
15:53:04*mniip2 quit (K-Lined)
16:02:01FromGitter<mratsim> @dom96, done in removed, the blog post you linked wasn’t written yet =)
16:02:14dom96:)
16:02:17FromGitter<mratsim> and twitter post: https://twitter.com/ethstatus/status/1024686172604391424
16:02:32FromGitter<mratsim> My own post directly links to @nim_lang as well
16:02:39dom96yay
16:02:55dom96Give me something to RT :)
16:04:15FromGitter<mratsim> https://twitter.com/m_ratsim/status/1024685497585741824
16:06:29dom96The "nim" link is broken here: https://our.status.im/introducing-nimbus-an/
16:06:57dom96And Ryan Lipscombe points to mratsim's github :)
16:07:25*Yardanico joined #nim
16:08:57dom96Jacek is a really good speaker https://www.youtube.com/watch?v=7LwA21-UQWs
16:13:25gmpreussnerAraq, I've been on ArchLinux for years; switched to Manjaro, which is ArchLinux for people who need to get work done. There are different choices of desktop managers. I'm using the XFCE edition, because it has the best support for multi-GPU/multi-monitor setups.
16:16:27FromGitter<xmonader> what is the spread operator in nim? like *args in python?
16:16:38dom96there is no spread operator in Nim
16:17:05FromGitter<xmonader> @dom96 practical way to do [cmd, argv..] ? create a new list ?
16:17:42dom96@[cmd] & argv I guess
16:18:02FromGitter<xmonader> @Araq I use archlinux with i3/rofi and if i would use a desktop env i'd use xfce
16:18:06FromGitter<xmonader> @dom96 thanks i'll try
16:19:03dom96Araq: Suspend your VMs instead of rebooting them
16:19:11dom96It'll save you many hours of time
16:20:49FromGitter<mratsim> HN posted, not sending the direct link, check on newest (to not get shadow banned, once again)
16:21:21FromGitter<kayabaNerve> How many people use HN?
16:22:05dom96mratsim: it's better to just let the fate of HN decide
16:22:17dom96HN's algorithm is too easy to trip up
16:22:33FromGitter<kayabaNerve> I know it used to be very popular but when I got into it, Reddit was the big thing. Hasn't Reddit stolen most of HN's base?
16:23:41dom96A lot of people
16:23:51dom96It's not about how many people vs. Reddit though
16:24:05dom96Reddit has a much wider audience... of all sorts of people
16:24:12dom96HN has a big audience of hackers
16:24:26FromGitter<kayabaNerve> "Hacker"News :P
16:24:26FromDiscord<awr> i wouldn't say people from HN have flocked to reddit. HN still has its base of people
16:24:29dom96founders, programmers, etc.
16:24:35FromGitter<kayabaNerve> Good to know though
16:24:41FromDiscord<awr> programmers, valley type people, etc.
16:24:41FromDiscord<awr> yeah
16:25:28dom96A better measure is what happens when your link gets on the front page of HN vs. r/programming
16:25:58dom96front page of HN: ~100-200 concurrent users while your link is on the front page
16:26:07dom96reddit it's like less than 10
16:26:12FromDiscord<awr> i find HN's community a little annoying at times, although it is far from the worst
16:26:20dom96Unless you get past 1k upvotes
16:29:19FromDiscord<awr> although i feel sometimes people hate HN to the point of just being contrarian and edgy
16:29:22FromDiscord<awr> e.g. n-gate
16:32:00*xylef quit (Quit: WeeChat 2.2)
16:36:55*endragor joined #nim
16:41:05*endragor quit (Ping timeout: 240 seconds)
16:41:05*Vladar quit (Quit: Leaving)
16:41:33*literal_ left #nim (#nim)
16:44:08*ng0 joined #nim
16:45:58FromGitter<mratsim> #33 of HN, almost front page
16:48:50dom96hrm? It's #7
16:49:31dom96You might be looking at /newest :)
16:49:36dom96It is already on the front page
16:50:12oprypindom96, whats wrong with FromGitter?
16:50:44dom96oprypin: It's not identifies with nickserv
16:50:47dom96*identified
16:50:58oprypini'm writing "PASS FromGitter:hunter2" to irc, is that not enough?
16:50:58FromGitteroprypin, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/nim-lang/Nim
16:51:09dom96No... That's an IRC password
16:51:23oprypinbut like it's supposed to be the same on freenode
16:51:30dom96You need /msg NickServ identify FromGitter password
16:52:59oprypinhttps://freenode.net/kb/answer/registration#logging-in
16:53:16oprypinthat's what i'm doing
16:53:28*nsf quit (Quit: WeeChat 2.2)
16:53:45dom96-NickServ- Last seen : Jun 11 19:05:08 2016 (2y 7w 1d ago)
16:53:49dom96/ns info FromGitter
16:53:59*Vladar joined #nim
16:54:29oprypin:thinking:
16:55:45*FromGitter quit (Remote host closed the connection)
16:55:53*FromGitter joined #nim
16:57:36*FromGitter quit (Remote host closed the connection)
16:57:44*FromGitter joined #nim
16:59:06*Altarrel joined #nim
17:01:25*zacharycarter joined #nim
17:04:16*zacharycarter left #nim (#nim)
17:04:34FromGitter<mratsim> https://www.reddit.com/r/announcements/comments/93qnm5/we_had_a_security_incident_heres_what_you_need_to/
17:04:45*zacharycarter joined #nim
17:05:06zacharycartercan you guys see this?
17:05:24FromGitter<mratsim> yes @zacharycarter
17:05:52zacharycartersweet!
17:06:13zacharycarterCould anyone help me with this issue I'm running into on osx - `Undefined symbols for architecture x86_64: "___atomic_is_lock_free", referenced from`
17:06:25zacharycarteris OSX lacking an atomics implementation or something?
17:10:54FromDiscord<awr> where is it? nim compiler?
17:11:42FromDiscord<awr> sounds like its not linking with libatomic
17:14:37*FromGitter quit (Remote host closed the connection)
17:14:46*FromGitter joined #nim
17:15:16*Trustable quit (Remote host closed the connection)
17:23:11*FromGitter quit (Remote host closed the connection)
17:23:21*FromGitter joined #nim
17:23:23*noonien quit (Quit: Connection closed for inactivity)
17:24:35*FromGitter quit (Remote host closed the connection)
17:24:50*FromGitter joined #nim
17:28:34stefanos82@mratsim: #6 now, WOOT!
17:33:09zacharycarterawr: I'm not sure osx has a libatomic
17:33:20oprypindom96, nobody can join #nim-offtopic now
17:33:53dom96It's invite only
17:34:02dom96Try now
17:34:40oprypinworks now
17:52:24*Altarrel quit (Quit: Page closed)
17:53:12FromGitter<xmonader> guys https://github.com/xmonader/nimjail ⏎ ⏎ to test ` ⏎ ⏎ nim c "/home/striky/wspace/nimjail/src/nimjail.nim" && sudo ./src/nimjail -u=1 -m=/tmp/myrootfs --cm ... [https://gitter.im/nim-lang/Nim?at=5b61f388fe0be93f3b286394]
17:54:17*th3bmw joined #nim
17:54:23FromGitter<xmonader> Still having a problem with handling stdin of interactive processes * i tried using poParentStreams * it worked fine, but when called in the cloned section it doesn't work
17:54:42*th3bmw quit (Remote host closed the connection)
18:00:31*avsej quit (Ping timeout: 256 seconds)
18:01:11dom96xmonader: quick comments about code: wrap it to 80 chars, handle the return values instead of discarding them, put spaces only after a ':'
18:01:36zacharycartervery confused about this atomics thing :/
18:02:28FromGitter<xmonader> @dom96 yeah was planning t handle the errors after i figure out the stdin problem :(
18:03:07FromDiscord<treeform> Reddit, HN, what did I miss?
18:05:29*avsej joined #nim
18:05:31*avsej quit (Changing host)
18:05:31*avsej joined #nim
18:05:31zacharycartertreeform: https://news.ycombinator.com/
18:05:35zacharycarterwhoops
18:05:41FromDiscord<treeform> what is the #7 post?
18:05:47FromDiscord<treeform> I don't see any nim posts?
18:05:50zacharycartertreeform: https://our.status.im/introducing-nimbus-an/
18:05:53zacharycartersorry
18:06:12FromDiscord<treeform> oh Nimbus ok
18:06:22FromDiscord<treeform> I though it was not related
18:07:40FromGitter<rayman22201> I don't have a big interest in cryptocurrency, but I'm happy to see a high profile Nim project get attention. congrats @mratsim!
18:08:39FromDiscord<treeform> yeah its pretty cool
18:09:11FromGitter<mratsim> =) Status is less about crypto currency and more about decentralisation, one of our core market for example is helping journalists and residents in oppressive regimes thanks to blockchain inherent censorship resistance.
18:10:11FromGitter<rayman22201> very noble
18:10:47FromGitter<mratsim> see there: https://blog.status.im/building-censorship-resistant-tools-and-the-introduction-to-custom-bootnodes-and-mail-servers-c2b44ae5e807
18:11:55FromGitter<rayman22201> 👍
18:12:01zacharycarterI've tried linking libatomic and atomic
18:12:04zacharycarterno luck :/
18:12:32FromGitter<mratsim> Another objective is about combating the hegemony of Facebook, Google, Uber, AirBnB and allow everyone to control their own data, especially when they are their own product (as uber driver or Airbnb host are)
18:13:47FromGitter<mratsim> Blockchain allows that because even if you don’t trust the other party, you can trust your crypto computation if needed. So it’s a way to trust any transaction, without having a third party needed (bank, AirBNB, Uber, …)
18:14:23FromGitter<rayman22201> also noble, but much much harder to disrupt the status quo
18:17:42FromGitter<rayman22201> @zacharycarter are you using clang?
18:19:44*drazan quit (Remote host closed the connection)
18:21:45*drazan joined #nim
18:24:45FromGitter<xmonader> any idea why this exits immediately? ⏎ ⏎ ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5b61faed44812258444ce5bd]
18:25:37zacharycarterrayman22201: I'm using whatever osx uses by default
18:26:10zacharycarterI think gcc = clang on osx
18:26:12zacharycarterso I guess so?
18:26:54FromGitter<rayman22201> `___atomic_is_lock_free` seems to be gcc specific and the clang people are not sure how they feel about it.... ⏎ see: http://clang-developers.42468.n3.nabble.com/libc-help-diagnosing-the-following-std-atomic-compile-error-td4032210.html
18:27:15FromGitter<rayman22201> you could try using real gcc instead of clang?
18:27:32zacharycarterhrm :/ thanks
18:27:45zacharycarterthen I'd need osx users of the lib to install gcc
18:28:18krux02zacharycarter, I think cc is clang on osx
18:28:30krux02gcc is still the gnu compiler collection
18:28:57krux02(people often think it is the c compiler)
18:29:02zacharycarterwell gcc -v outputs Apple LLVM version 9.1.0 (clang-902.0.39.2)
18:29:15krux02wtf
18:29:18zacharycartersame thing clang -v outputs
18:29:47krux02just wtf
18:30:14krux02then when you install gcc with brew is it still the same?
18:30:31zacharycarterlet me try
18:30:40Araqhttps://www.dampfkraft.com/by-id/a824aa10/#A-Spectre-is-Haunting-Unicode offtopic, but programming related
18:30:48FromGitter<rayman22201> yeah, this is a known thing that Apple does
18:33:10zacharycarterso gcc is linked to clang by a symlink I guess
18:33:13zacharycarterso I have to type in
18:33:25zacharycartergcc-8 -v after installing w/ homebrew to use the real gnu toolchain
18:33:41dom96Yep, Apple is lovely
18:34:00FromGitter<rayman22201> @zacharycarter can you find libatomic.so on your machine?
18:34:23zacharycarterI can't find atomic.dylib libatomic.dylib - nothing
18:35:05FromGitter<rayman22201> well, it's hard to link against something you don't have
18:35:35krux02zacharycarter, can't you just remove the symlink?
18:36:59zacharycarterit'd break a lot of stuff
18:37:52krux02yea, deserved
18:38:31*cryptocat1094 quit (Quit: brb)
18:38:42krux02well the idea is that cc links to your preferred compiler
18:38:43stefanos82zacharycarter: does OS X has the which and readlink commands?
18:39:05krux02and gcc is explicitly calling gnu compiler collection and nothing else
18:39:25zacharycarterstefanos82: looks like it
18:39:40stefanos82OK, try readlink -e $(which gcc)
18:39:40krux02I think if you link gcc to gcc nothing should break.
18:40:41zacharycarterdoesn't look like readlink -e on osx works :/
18:41:02*red-00123 joined #nim
18:41:03*red-00123 quit (Remote host closed the connection)
18:41:20FromGitter<rayman22201> do you have homebrew @zacharycarter?
18:41:29stefanos82zacharycarter: you could install it via brew
18:41:33stefanos82it's in coreutils
18:41:58zacharycartererr I have readlink installed
18:42:01zacharycarterbut readlink -e on osx throws
18:42:14zacharycarter`readlink: illegal option -- e usage: readlink [-n] [file ...]`
18:42:50*cryptocat1094 joined #nim
18:42:55zacharycarterokay when I use propper gcc my atomic issues go away
18:42:58zacharycartergo figure
18:43:29FromGitter<rayman22201> yeah, makes sense. clang doesn't have full support for the gcc atomic intrinsics.
18:43:49FromGitter<rayman22201> they seem to want to push everyone to use the C++11 std::atomic stuff instead
18:44:00FromGitter<rayman22201> they = clang devs
18:44:18krux02apple is push people to use their stuff all the time.
18:44:20krux02nothing new
18:44:26FromGitter<rayman22201> yup
18:45:47krux02I think Objective C developers will have a bad future on apple.
18:45:49zacharycarterthx for the help guys
18:46:19*bernalex27 joined #nim
18:46:21FromGitter<rayman22201> you might be able to get atomic.dynlib by `brew install gcc` or `brew install coreutils`. And that might get clang to play nice, but idk. I sold my Mac because I was tire of that crap lol :-P
18:46:36FromGitter<rayman22201> cheers @zacharycarter :-)
18:46:44*bernalex27 quit (Remote host closed the connection)
18:47:13krux02I actually never sold an old computer.
18:47:48FromGitter<rayman22201> The sad thing is that a Mac is the only computer I have ever had that held enough value to be worth selling.
18:48:24FromGitter<rayman22201> The brand is valuable.... for better or worse
18:51:21*ori14 joined #nim
18:52:32*endragor joined #nim
18:52:44*ori14 quit (Remote host closed the connection)
18:56:57*endragor quit (Ping timeout: 240 seconds)
18:58:06cryptocat1094krux02: Selling your old ones or you own a store?
19:03:31zacharycarteryeah - I can brew install gcc and then pass the libatomic.1.dylib to clang and things compile
19:03:36zacharycarterthis is good because I want to hopefully target emscripten too
19:11:12stefanos82zacharycarter: maybe this article could help you with emscripten https://www.spiria.com/en/blog/web-applications/webassembly-nim
19:12:35Araqcould not load: libblas.so
19:12:49Araqnow what?
19:13:44Araqsudo apt-get install libblas-dev
19:13:59Araqfails with some unresolvable dependencies
19:14:21Araq"depends on gfortran but must not be installed"
19:16:59*frmus23 joined #nim
19:17:43Araqnever mind, I typed some random commands and now it works
19:18:12FromGitter<kayabaNerve> Lol
19:18:42*frmus23 quit (Remote host closed the connection)
19:21:46krux02cryptocat1094, I never sold my old computers.
19:21:50krux02I don't have a store
19:23:06AraqI kept all my old computers, I use them to ensure Nim works on them, that's why Nim works on a 486 DOS computer
19:24:39Araqnah, just kidding, I wish
19:26:58*ome joined #nim
19:27:20FromGitter<xmonader> works finally! https://github.com/xmonader/nimjail ⏎ ⏎ i think i need to use pty if i need more reliable interaction with forked processes
19:27:20*ome quit (Killed (Sigyn (Spam is off topic on freenode.)))
19:28:28Araqso ... I updated my Ubuntu and it still boots. good.
19:28:45Araqit lost my VS-Code installation though. bad.
19:28:55krux02update or upgrade?
19:29:34krux02I still have an 486 Windows 3.1 computer
19:29:42krux02Laptop to be precise
19:29:56Araqwtf these were available as laptops?
19:30:02krux02yes
19:30:03Araqbut cool, port Nim to it
19:30:12krux02not that easy
19:30:32krux02I don't have a C compiler on that computer
19:31:25krux02that computer has a PCMCIA card to even have network.
19:31:47krux02it is not easy to get data on such old hardware.
19:32:03krux02there is a floppy drive, but my computer doesn't have one
19:32:10zacharycarterstefanos82: thanks! I've done quite a bit with nim and emscripten / wasm but not with atomics before - no idea if it will work
19:32:38Araqzacharycarter, wasm has no threads, you can map atomic instructions to their non atomic variant
19:32:38*yglukhov_ quit (Remote host closed the connection)
19:32:55Araqkrux02, there are external USB floppy drives
19:33:47stefanos82krux02: 486 windows 3.1 on a laptop? what size is it? the size of a briefcase?
19:33:51krux02http://i.imgur.com/IcJjoS9.jpg
19:34:09stefanos82very cool!
19:34:18krux02actually I have two of them
19:34:30krux02don't ask me why I have two of the same laptop model
19:34:46Araqto invite a friend to a LAN party?
19:34:52krux02laptops from the early 2000s are just trash today, but that thing is still cool
19:35:01krux02lan, LOL
19:35:07zacharycarterAraq: thanks
19:35:23krux02it does not have a network card
19:35:29krux02I need en extension card for that
19:35:47krux02and one computer has a faulty hard drive
19:35:51*kungtotte joined #nim
19:36:00krux02it still boots but sometimes it just becomes weird ard crashes.
19:36:25krux02good thing is borth have a 32MB extension card for the RAM
19:36:29Araqyou can install Turbo Pascal on it and bootstrap Nim from its old Pascal sources
19:36:46krux02I think in the time that thing was used (around 1992) 32MB ram were quite a lot of ram.
19:37:15krux02I don't have turbo pascal.
19:37:19Araqit's still much RAM to me ...
19:37:35AraqI longed for 8MB back then, only got 4
19:38:04stefanos82pff...my Pentium III, 550Mhz came with 64MB RAM that worked at 133Mhz
19:38:08krux02today starting eclipse eats gigabytes of RAM
19:38:14stefanos82Windows 98 second edition was flying!
19:38:46krux02yea that age when microsoft was young and still growing.
19:38:50Araqwhat's the frequency btw?
19:38:57Araq25 or 33 Hz?
19:39:06krux02Before their OS was infesting with spyware and adware
19:39:18krux02I think 33
19:39:23krux02MHz
19:39:43Araqyeah, 33 MHz. luxury.
19:39:53krux02the best thing is the Mouse integrated into the display
19:39:53AraqI only had 25MHz.
19:40:08krux02it is the Laptop of my Father
19:40:13krux02I was too young to have a computer
19:40:23krux02but now I am the pround owner of that thing
19:40:28Araqeventually I got a CD ROM device
19:40:45krux02I once had an external CD rom drive for that thing as well
19:40:49krux02but it is lost
19:41:10Araqand I remember my mother saying "but this is the last extension you'll buy for the computer"
19:41:26AraqLOL, she was right.
19:41:35krux02I think my brother was looking for a cd playing found that thing in my room at home, took it and got rid of it because it was of poor quality or not working
19:41:41Araqbought a Pentium afterwards
19:42:27Araq130MHz, 16MB of RAM iirc
19:42:34*nsf joined #nim
19:43:12Araqthat thing could finally run Warcraft 2 and I was happy forever
19:43:17krux02I still remember when my father run for the first time Unreal on his computer
19:43:39krux02on his Voodoo2 3000
19:44:00krux02or was it voodoo3 3000?
19:44:02ng0it was quiet funny to slow down network parties back then.
19:44:05krux02I don't rememebr
19:44:35ng0I had a very slow computer and occasionally slowed down more demanding games over time.. causing everyone else to lag and then kick me
19:44:54krux02but that time was when every game stareted with the fancy animated 3dfx logo, including bridge builder. That game didn't even have 3D models or textures, it was just flat shapes
19:45:04AraqUnreal always was really sluggish
19:45:33krux02I remember Unreal to be super smooth
19:45:45AraqQuake was smooth
19:45:58krux02well I did not know Quake back then.
19:46:06krux02you know, no internet
19:46:36Araqthe PC came with several manuals, one of which documented every x86 instruction
19:46:49krux02Internet was always on my fathers computer only, I could use it, when I ask before using it and then I need explain what pages I want to visit.
19:47:12krux02wow useful manuals
19:47:14Araqdidn't understand a word, I read it ten years later and understood it
19:47:21krux02probably not for the common customer
19:47:40krux02yea
19:49:16krux02Honestly I do miss the no-internet computer era somewhat, because no-internet no tracking, no spyware, no adware, And since my father always helped me and my brother to install the computer, no bloatware
19:50:04AraqI can only try to imagine how productive people have been back then
19:50:21cryptocat1094Not really, it just meant you were watched by actual people.
19:50:32cryptocat1094Maybe less easily deployable widescale but certainly feasible and abusable.
19:50:48cryptocat1094Technology has a tendency to increase asymmetry but otherwise change little.
19:50:50ldleworkAnyone remember Mac Addict?
19:51:30Araqno distracting youtube videos about velociraptor suits
19:51:40ng0there were other distractions
19:51:55ldleworkng0: like shareware
19:52:08krux02yea, but honestly the internet is the king of unproductivity and distraction.
19:52:23ldleworkwar-dialing, AOL overhead account hacking, res-edit
19:52:28ldleworkthere was plenty to be distracted by
19:52:35Araqhttps://www.youtube.com/watch?v=jAzQr3Ml0UI
19:52:35krux02ng0, yea shareware, but your computer was not wired to an infinite amount of shareware.
19:52:39ng0I made backups to floppy disks until mid 2000s
19:52:50ng0or somewhere before 2010..
19:52:53krux02you just got 10 shareware games, played them 9 were crap and one was ok
19:53:14ng0limited resources and money teach you strange tricks
19:53:57ng0oh, remember those best of warez CDs? a friend's friend brought those around occasionally.
19:54:14ldleworkAOHell
19:54:34krux02I had some game collection discs with some russion cover.
19:54:45krux02Never understood the cover, but it had 100s of games on it.
19:54:50ldleworkEscape Velocity, RealBASIC, Myth and Myst, Marathon, Kant Generator, SimCinema
19:55:02ldleworkExile: Escape from the Pit
19:55:10krux02I would test 100s of games, but I had no youtube or ever screenshots to preview them
19:55:14*kungtotte quit (Quit: leaving)
19:55:20krux02I actually had to play them to see if they were good.
19:55:26krux02there were some horrible games.
19:55:35ldleworkThere were some great ones too!
19:55:39krux02the megaman game for msdos
19:55:49ldleworkEscape from Monkey Island
19:55:56ldleworkWarcraft the original
19:56:01krux02I have that as an original copy
19:56:10krux02the original Warcraft is a bad game.
19:56:15ng0unboxing and "let's play"s are still weird for me
19:56:18krux02I tested it not too long ago.
19:56:41krux02it has a totally broken banancing.
19:56:54krux02orcs can never heal units, humans can.
19:57:14krux02in a game where every health point matters, how is that fair?
19:57:20ng0Baldurs gate 2! my plan for hte next 25 years is to at least make it to the end once :D
19:57:35ng0I got it in '99 ... never made it through
19:57:48krux02I played that, never got to like it. Too much text.
19:57:56Araqkrux02, Orcs have "Unholy Armor" instead, makes a unit invincible
19:58:04ng0I rarely play games anymore
19:58:25krux02interesting, must have missed that.
19:58:29Araqon topic: run this and admire our contributions
19:58:33Araqnim --hints:list
19:58:58ng0the closest thing to playing games is enable others to play games, packaging them
19:59:31ldleworkkrux02: and they can ressurect units
20:00:30krux02and then in the end there is the Daemon you can summon. It is the strongest unit in the game and only costs mana. Making every other Unit in the game worthless.
20:00:32AraqWarcraft 1 has a terrible AI, I lost no unit in the final mission and my rank's points overflowed, I went from "General" to "slave" or something
20:00:53krux02lol
20:00:56Araqyeah demons are OP
20:01:21Araqand win over water elementals so you can only play orcs vs orcs in MP
20:01:44Araqsame in WC2, Orcs are OP because of "blood lust" or whatever it's called
20:02:17krux02I wish WC2 would have a better AI that would not cheat in skirmish
20:02:34krux02normally I like to play skirmish in stragegy games
20:02:39Araqhmm I don't remember it cheating
20:02:58ng0it's not cheating if you can only follow rules :P
20:03:18krux02try playing agains the AI. It will send units to your base when it is technically impossible to have the resources for them.
20:03:24ng0Counter Strike prior to Steam was fun though..
20:03:36ng0oh
20:03:37Araqkrux02, I remember beating the AI
20:03:49Araqin Skirmish mode.
20:03:50krux02I rememebr beating the AI with cheats
20:04:04krux02but that is fair. The AI is cheating, so I can cheat as well.
20:04:16Araqthe AI didn't cheat
20:04:21krux02it did cheat a lot
20:04:32krux02maybe not in the campaign
20:04:39krux02but in skirmish it did cheat a lot.
20:05:26FromGitter<mratsim> what happened to #nim-offtopic :?
20:06:10cryptocat1094I find myself having a hard time feeling any real nostalgia.
20:06:29FromGitter<mratsim> oh yeah WC2 AI, cheating at money, also Starcraft AI always ganging on human palyers even in free-for-all ...
20:06:49FromGitter<mratsim> worse was Mario Kart 64 AI though.
20:07:38FromGitter<mratsim> BG2 is really good, I love that game, modded it a lot as well.
20:08:42krux02BG2?
20:09:15krux02the best RTS is still Total Annihilation.
20:09:20AraqWC2 AI has no fog of war, that's all
20:09:53Araqit certainly doesn't cheat much, you can cheat away the fog of war and see it with your own eyes
20:10:18krux02I am pretty sure it cheats with the resources.
20:12:00Araqok, let's move this to #nim-offtopic
20:12:43krux02nope, I prefer to just stop it
20:12:51Araqthe better
20:14:01*drdanick1 joined #nim
20:14:51*zacharycarter quit (Ping timeout: 252 seconds)
20:14:52*drdanick1 quit (Remote host closed the connection)
20:15:07*Milos28 joined #nim
20:16:44*Milos28 quit (Remote host closed the connection)
20:17:04*Dominian10 joined #nim
20:17:27*stefanos82 quit (Quit: Quitting for now...)
20:18:43*Dominian10 quit (Remote host closed the connection)
20:20:46FromGitter<rayman22201> Lol. Whenever I visit #nim-offtopic it seems dead. But the main channel will get the most entertaining off topic discussions going.
20:27:25*fvs left #nim ("ERC (IRC client for Emacs 26.1)")
20:27:36FromGitter<mratsim> BG2, Baldur’s Gate 2
20:30:16Araqthe fact that nimble doesn't forward compiler switches makes me mad
20:30:27Araqor is it just me?
20:31:28FromGitter<mratsim> I’m more mad at nim.cfg
20:31:45Araqwhy?
20:32:38FromGitter<mratsim> 5 ways to get it wrong: https://nim-lang.org/docs/nimc.html#compiler-usage-configuration-files
20:32:49FromGitter<mratsim> and this is annoying: https://github.com/nim-lang/Nim/issues/6698
20:33:06FromGitter<mratsim> and it’s too easy to deploy a nim.cfg that will overwrite the default or the user one.
20:33:29FromGitter<mratsim> like what I’m doing in Arraymancer, but I don’t want to do: https://github.com/mratsim/Arraymancer/blob/master/nim.cfg#L3
20:36:00*Vladar quit (Quit: Leaving)
20:37:21Araqunfortunately nobody has yet designed a good config system
20:48:14Araqmy personal solution is to avoid the config system if possible, put stuff in pragmas instead and use relative paths
20:52:08*smaudet joined #nim
20:57:05*smaudet quit (Ping timeout: 248 seconds)
21:09:41FromGitter<dom96> Araq: ' c' forwards flags
21:09:56FromGitter<dom96> Omg. Good job gitter.
21:10:03FromGitter<dom96> *'nimble c'
21:11:02*Praise16 joined #nim
21:11:43*Praise16 quit (Killed (Sigyn (Spam is off topic on freenode.)))
21:16:07*nsf quit (Quit: WeeChat 2.2)
21:18:31Araqdom96 'nimble test' doesn't
21:19:14krux02does anyone here uses the fish shell?
21:23:40*smt` joined #nim
21:25:26dom96Araq: Does nim <my_task>?
21:27:07*floppydh quit (Remote host closed the connection)
21:27:54*floppydh joined #nim
21:28:02*smt quit (Ping timeout: 276 seconds)
21:30:53*r0bby8 joined #nim
21:32:31FromGitter<generative99> How do i debug a sigsegv from a copyMem call?
21:32:45*r0bby8 quit (Remote host closed the connection)
21:33:20krux02generative99 you check if you pass a nil pointer or an invalid pointer
21:33:51FromGitter<generative99> Thanks @Krux02 I'll look for that
21:36:14FromGitter<generative99> I checked with `isNil(data)` and it's not nil, is that sufficient to check, or is invalid pointer different? Any other debug approach?
21:47:37FromGitter<generative99> My source is `seq[byte]` and size is `int`, are those OK?
21:50:32FromGitter<generative99> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5b622b28cb4d5b036cb2fc2f]
21:55:49FromGitter<Varriount> @generative99 Is data initialized?
21:55:49FromGitter<Varriount> It looks it's never set.
21:55:49FromGitter<generative99> I didn't copy it, sec
21:55:49FromGitter<generative99> I checked if it's nil too
21:58:11FromGitter<generative99> Ok there, code updated, data is at least a pointer, could it be it's memory block is not big enough? I tried making it huge. Can I check that somehow?
21:59:53FromGitter<Varriount> Memory block should be imageSize bytes large.
22:03:21FromGitter<generative99> @Varriount You mean exact size? Ok I just tried that and it worked! Thanks. In my defense the code I'm following on did not take that precaution but now it's clear for the future
22:04:20*cryptocat1094 quit (Quit: WeeChat 2.2)
22:08:25FromDiscord<treeform> How to fix this error: ```
22:08:25FromDiscord<treeform> The .nimble-link file is pointing to a missing file: /p/andrelytics/SweepySweepers/nim-websockets/websockets.nimble```
22:08:32FromDiscord<treeform> where do I find the .nimble-link?
22:08:55FromGitter<kayabaNerve> @Varriount I always set block sizes to half a bit.
22:09:04FromGitter<kayabaNerve> It's very comprehensive.
22:14:04FromDiscord<treeform> Oh found it. Turns it its in pkgs. Turns out you can't just nimble remove it, you have to manually do it.
22:14:15dom96treeform: yeah, there is a bug for this
22:14:26dom96*bug report
22:18:42*ng0 quit (Quit: Alexa, when is the end of world?)
22:19:32FromGitter<kayabaNerve> dom96 Question if you have a sec
22:19:54FromGitter<kayabaNerve> When you hear `nim c`, do you think `nim compile` or `nim C-Lang`
22:21:48dom96the latter most of the time
22:24:20FromGitter<kayabaNerve> D: I want to make an RFC to allow nim.cfg to override `nim c` to `nim cpp`
22:24:59FromGitter<kayabaNerve> My argument is based off how `nim c` is considered default and how people may not even consider other backends/`nim c` is currently seen as `nim compile`
22:26:00*abm quit (Read error: Connection reset by peer)
22:26:12*Jesin joined #nim
22:26:29*abm joined #nim
22:27:04krux02I don't like nim c vs nim cpp at all
22:27:13krux02c is for compile
22:27:21krux02and cpp is for compile plus plus?
22:27:29FromGitter<kayabaNerve> C-Language
22:27:31FromGitter<kayabaNerve> C++
22:27:40FromGitter<kayabaNerve> You can also do `nim js`
22:27:58krux02I think it should be nim c -c++
22:28:09krux02nim c -js
22:28:16krux02nim compile -c
22:28:23*dashed quit (Read error: Connection reset by peer)
22:28:26Araq'c' is for "compile to c", 'cpp' and 'js' is perfectly consistent
22:28:35*dashed joined #nim
22:28:37krux02and then in a project config you can specify the backend to be cpp js etc
22:29:01krux02Araq: I disagree here
22:29:06Araqsounds hard to implement :P
22:29:08krux02c is the abbreviation of compile
22:29:58FromGitter<kayabaNerve> Or
22:30:00FromGitter<kayabaNerve> nim c
22:30:02krux02I don't think it is a deal breaker, but I think the compile command and the backend should be different arguments
22:30:05FromGitter<kayabaNerve> --backend:cpp
22:30:33krux02I think the backend should be automatically detected
22:30:34FromGitter<kayabaNerve> I don't want to specify the backend each time; I'm fine with C being the default backend. I just want to override it in my config files.
22:30:39FromGitter<kayabaNerve> ... what
22:30:44FromGitter<kayabaNerve> Nim can compile to C, C++, or JS
22:30:53FromGitter<kayabaNerve> You want it to detect... from Nim... what to turn into into
22:30:56krux02by default it is c but should be changable to c++, js in source
22:31:00krux02I am not a fan of nim.cof
22:31:04krux02nim.cfg
22:31:18FromGitter<kayabaNerve> nim.cfg or .nims is how it works; I just want a backend option in them
22:31:54*xylef joined #nim
22:34:07krux02kayabaNerve but when "nim c" means "compile to c" then there is no way that you can have your backend opiton.
22:34:33FromGitter<kayabaNerve> krux02 This does turn c into compile with a default of C.
22:34:45FromGitter<kayabaNerve> That said, we don't have to make such a big deal of it versus just say override.
22:34:57FromGitter<kayabaNerve> Because that's why we say OVERRIDE
22:35:27krux02there is no override in shell scripts
22:35:34krux02I know what you mean
22:36:20*yglukhov[i] joined #nim
22:36:41krux02but I don't like it, because it makes everything very inconsistent
22:37:09FromGitter<kayabaNerve> https://github.com/nim-lang/Nim/issues/8508
22:40:35*yglukhov[i] quit (Ping timeout: 240 seconds)
22:41:22krux02Araq: you said I should declare the `create` procs as deprecated, because it does not really initialize the variable. But then I think I should also deprecate the ``new`` proc, because it does not initialize anything as well.
22:43:06*Ven`` joined #nim
22:43:17*Ven`` quit (Client Quit)
22:44:38*Jesin quit (Remote host closed the connection)
22:44:52Araqkrux02, the new that takes a 'typedesc' is definitely harmful
22:45:10Araqnewcomers write 'new T' and then it doesn't do the right thing for eg. Tables
22:45:21Araqor for sockets.
22:46:29krux02so they should be deprecated?
22:46:54Araq'new(result)' is too common to kill it IMO
22:47:04Araqand has no alternative spelling.
22:47:52*Jesin joined #nim
22:51:33krux02well I think `new` and `create` are analogue to each other and I should not kill one without the other.
22:51:45krux02but there is no result.create
22:52:38*possiblyanowl joined #nim
22:52:43*possiblyanowl quit (Remote host closed the connection)
22:54:32Araqcreate is alloc, new is a GC'ed alloc.
22:54:42AraqI fail to see the connection.
22:55:55krux02that is the connection
23:00:55*brykr15 joined #nim
23:02:46*brykr15 quit (Remote host closed the connection)
23:04:53FromGitter<kayabaNerve> I actually like them...
23:05:29FromGitter<kayabaNerve> And its relevant to the same reason Ara_q mentioned; new(result)
23:05:59krux02kayabaNerve: it is about this pr https://github.com/nim-lang/Nim/pull/8438
23:10:42*Guest63300 joined #nim
23:14:57*Guest63300 quit (Ping timeout: 240 seconds)
23:19:37*Guest92609 joined #nim
23:20:59*Guest92609 quit (Read error: Connection reset by peer)
23:36:51FromGitter<kayabaNerve> Got it. I'm not really informed at the low levels, cared about new, and only said them due to your grouping tbh.
23:37:48*zacharycarter joined #nim
23:38:10zacharycarterwhat is - VM problem: dest register is not set - all about?
23:42:56zacharycarternm I still don't know what it means
23:43:11*erratic quit (Ping timeout: 276 seconds)
23:44:07*yglukhov[i] joined #nim
23:48:29*yglukhov[i] quit (Ping timeout: 260 seconds)
23:50:15zacharycarteranyone have any idea?
23:53:23*lino7 joined #nim
23:53:41*beaver18 joined #nim
23:54:40*lino7 quit (Killed (Sigyn (Spam is off topic on freenode.)))
23:54:46*beaver18 quit (Read error: Connection reset by peer)
23:56:51*erratic joined #nim