RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.24.1 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
marius has quit [Quit: marius]
marius has joined #crystal-lang
marius has quit [Client Quit]
marius has joined #crystal-lang
marius has quit [Client Quit]
marius has joined #crystal-lang
marius has quit [Client Quit]
<FromGitter> <elorest> `’a’.ord` returns the ascii number for char but how would I turn that back into a char? https://carc.in/#/r/3b3s
<FromGitter> <straight-shoota> `Int#char`
<FromGitter> <straight-shoota> sry, `Int#chr`
<FromGitter> <elorest> Thaks
aroaminggeek has joined #crystal-lang
<FromGitter> <picatz> Maybe this is a bit weird, but I figured I'd share my thoughts a little: I've been programming in some Go recently. Just genuinely to help me formulate a better understanding of the differences between Crystal and Go in a way.
<FromGitter> <picatz> Perhaps sort of like how Rubyists visit other languages like Rust, Go, and of course, Crystal!
<FromGitter> <picatz> And they come back with lessons, or perhaps just general thoughts about Ruby -- or, in this case: Crystal.
<FromGitter> <picatz> My ideas aren't entirely formulated at all, honestly.
<FromGitter> <picatz> But, one thing I've sort of noticed, and maybe I'm really wrong about -- but, in Go I seem to have to think about pointers more than I would ever have to with Crystal.
<FromGitter> <picatz> I think I like that about Crystal. And my experiences with dealing with pointers is sort of summed up all in my LibPcap bindings. And it was essentially just sort of not really thinking about them.
<FromGitter> <picatz> Is that something I'm sort of imagining, or does anyone else have any thoughts on that? 😹
vivus has quit [Quit: Leaving]
<FromGitter> <picatz> 💭 Perhaps like, in Go I use the `&` as the `@` in my class a the "pointer" to the content of my variable, ya' know?
<FromGitter> <picatz> I'm not even sure if that's the best way to the put it.
<FromGitter> <picatz> I remember watching a talk months ago: there was like 4 programming languages on a panel. Rust, Go, D, and C++ I think? Anyway. The D-lang dude said that what made a system's programming language a "system's programming language", If I remember correctly: was that it dealt with pointers. Unlike in Ruby or Python where I don't ever use any pointers.
<FromGitter> <picatz> Unless someone can show me where I do that. 😂
<FromGitter> <jwaldrip> Nothing about pointers makes something a system language.
<FromGitter> <picatz> I don't really know what I'm talking about, obviously. 😂
<FromGitter> <potz> IIRC, Rust pointers are not exactly the same you have on other languages either
<FromGitter> <jwaldrip> Simply put, pointers are pretty well handled internally in Crystal. The only difference you see in crystal vs something like go is the idea of a `Value` vs a `Reference`.
<FromGitter> <potz> As in they're "safer" (It's been a while and Rust always made my head hurt, in a good way).
<FromGitter> <picatz> @jwaldrip Could you elaborate a bit more for me? I think I get what you mean.
<FromGitter> <potz> @jwaldrip which are pretty close to how C# and Java work right?
<FromGitter> <picatz> Trying to learn more. At the risk of sounding terribly naive, sure. 😂
<FromGitter> <jwaldrip> @potz I would say yes.
<FromGitter> <jwaldrip> Values, are immutable, references are not.
<FromGitter> <jwaldrip> In go, everything is basically immutable.
<FromGitter> <jwaldrip> (except structs)
<FromGitter> <jwaldrip> but even then a struct is just a container for other underlying types.
<FromGitter> <picatz> Because the structs are the things that are going to be the message container for the program, basically, right?
<FromGitter> <jwaldrip> Yes
<FromGitter> <picatz> 👍 Just clarifying, cool.
<FromGitter> <picatz> 👓 Reading those docs now
<FromGitter> <jwaldrip> There are a couple of immutable reference types though as well... like String in Crystal.
<FromGitter> <jwaldrip> In crystal you cannot `"hel" << "lo"` like you can in ruby.
<FromGitter> <jwaldrip> @picatz Have you given the guide a full once-over?
<FromGitter> <jwaldrip> Its a great read.
<FromGitter> <jwaldrip> and will give you most of the basic.s
<FromGitter> <jwaldrip> https://crystal-lang.org/docs/
<FromGitter> <sam0x17> @marksiemers sorry it took me a while to get back to you guys -- yes it was actually me trying to fix some bugs in datanoise/monogo.cr introduced by the new release, since my crystal-mongo-orm library depends on it
<FromGitter> <sam0x17> and regarding the file naming in amber exec, I wasn't very involved in the part of the code that juggles files around -- @elorest wrote that
<FromGitter> <picatz> @jwaldrip I've skimmed in the past, for sure. I don't think I've dedicated a chunk of time to go top-to-bottom on the offical docs.
<FromGitter> <picatz> I'm a very hands-on learner if I can. I do read the docs from time to time. But sometimes the stuff just goes over my head.
<FromGitter> <jwaldrip> Take the time, its well worth it.
<FromGitter> <jwaldrip> I am a hands on learner as well... but that was some of the best damn docs I have read.
<FromGitter> <jwaldrip> And written in such a way that is more of a guide and less of SDK docs.
<FromGitter> <picatz> 👍 I'll do it then.
<FromGitter> <sam0x17> not sure if I should report this as an ubuntu bug with 17.10 or as a crystal bug, but with the new version of crystal I'm noticing that if I run `crystal spec` and at least one example is run, if I try to run `nano` in the same shell later, it will fail with: ⏎ ⏎ ```$ nano ⏎ Too many errors from stdin``` [https://gitter.im/crystal-lang/crystal?at=5a45b1310163b028108c36f6]
marius has joined #crystal-lang
cremes has quit [Quit: cremes]
<FromGitter> <elorest> Is there a way to pass messages from one fiber to multiple other fibers?
<FromGitter> <potz> I was trying to do exactly that right now, was thinking about some Hub abstraction that can coordinate this
<FromGitter> <elorest> Channels don't seem to be what I'm looking for unfortunately... going to dig through them a bit more though.
<FromGitter> <elorest> There's got to be some way to tell a channel a value for a while or something.
<FromGitter> <potz> what you mean for tell a value for a while?
<FromGitter> <potz> to wait for a value with a timeout?
marius has quit [Quit: marius]
<FromGitter> <potz> regarding your question about sending a message for multiple fibers
<FromGitter> <potz> I just came up with this mockup of a Hub class:
<FromGitter> <potz> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5a45c1d603838b2f2a49847b]
<FromGitter> <potz> There probably is some race condition somewhere mind you. I'm just a beginner. But I think it can be done.
<FromGitter> <sam0x17> easy way to install old version of crystal on ubuntu using apt after upgrading to the new one?
<FromGitter> <jwaldrip> just checkout the tag and run make
<FromGitter> <jwaldrip> or make release
<FromGitter> <sam0x17> kk I'll doing it that way, was hoping I could trick apt into undoing the upgrade
<FromGitter> <elorest> @potz Yeah I was referring to a timeout or some way of seeing all of the fibers with receive had seen it
faustinoaq has quit [Quit: IRC client terminated!]
<FromGitter> <potz> my understanding is that the sending fiber blocks until the receiving one "sees" it
<FromGitter> <potz> (unless is one of those buffered channels, in which case it blocks only when the buffer is full)
snsei has joined #crystal-lang
_whitelogger has joined #crystal-lang
<crystal-gh> [crystal] woodruffw opened pull request #5475: init: Surround `git` commands with backticks (master...readme-template-tweak) https://git.io/vbbgv
aroaminggeek has left #crystal-lang ["Textual IRC Client: www.textualapp.com"]
rohitpaulk has joined #crystal-lang
snsei has quit [Remote host closed the connection]
alex`` has joined #crystal-lang
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
rohitpaulk has quit [Ping timeout: 240 seconds]
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 252 seconds]
rohitpaulk has joined #crystal-lang
<FromGitter> <imonmyown> Morning all
<FromGitter> <drosehn> Hi. ... except that I'm just about to go to sleep. 😄
<FromGitter> <imonmyown> @drosehn well, sweet dreams then :)
<FromGitter> <drosehn> 👍
<FromGitter> <imonmyown> @oprypin I'm trying to display a simple background example in crsfml using a different GLSL version than the default, however all I see is a black window screen. The default settings work as expected here's the code (https://gist.github.com/imonmyown/ee3f9aa77e3a6e8b25dc2dba92acefcb) can you provide some guidance?
<FromGitter> <imonmyown> The context is created for 4.1
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 252 seconds]
claudiuinberlin has joined #crystal-lang
relyks has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 248 seconds]
relyks has quit [Quit: relyks]
<FromGitter> <vpereira> can anyone explain me better why I need Fiber.yield? To "preempt" others fibers
rohitpaulk has joined #crystal-lang
snsei has joined #crystal-lang
<FromGitter> <vpereira> and should I use Channel.select as I do select {} in golang or is it something different?
snsei has quit [Ping timeout: 240 seconds]
<FromGitter> <Wulfklaue> If you do not Yield a Fiber, it means you are blocking. Think of programming as a sequence. You do A, B, C in sequence normally. Now if B is some long ass IO request ( waiting for something), it will block C from doing any work. ⏎ ⏎ Now if you put A, B, C into fibers AND you yield them at intervals, then A is finished, B is doing a long job but needs to wait for this IO response so while its waiting, C
<FromGitter> ... can continue to work. When you yield a fiber, you tell the system please continue with any other fibers, while i wait for a ( external ) response/IO/... whatever.
<FromGitter> <Wulfklaue> Well, that is my understanding of Fibers and Yielding 😄
<FromGitter> <vpereira> so comparing with ruby, not adding a Fiber.yield means Thread.new { do_magic }.join?
mark_66 has joined #crystal-lang
<RX14> That's not really correct at all
<FromGitter> <Wulfklaue> Not sure, not a Ruby guy. ;) But a thread is not a fiber. A thread is running your program on a ... well ... different thread. How to explain.... A thread can run on a CPU core, this will in sequence on this single thread perform A, B, C. If B blocks by doing a external request like waiting for a database response, C is just wasting its time. That means you are wasting CPU cycles waiting. ⏎ ⏎ Fibers are
<FromGitter> ... a solution for that problem. A thread can hold a bunch of fibers. Think of it like a query manager. Before you had A, B, C in sequence on this one thread. You had no control over it. Fibers give you control over the tasks in your thread. So when you decide, you can say: "Hey, i know task B will potentially block my thread ( ... [https://gitter.im/crystal-lang/crystal?at=5a460a72ba39a53f1ab396f5]
<RX14> Crystal's threading is cooperative, that means that the fibers have to explicitly tell crystal when they need to be woken up again, and when they want to go to sleep
<RX14> Fiber.yield is a method which runs all other fibres waiting to run then runs yours again
<RX14> Its not very useful for say IO
<RX14> or other blocking tasks
<RX14> Because they don't want to get woken up again
<FromGitter> <vpereira> so you are preempting the fibers?
<RX14> There is no fiber premeption
<FromGitter> <vpereira> sure, the term doesn't fit to fiber, but you are interrupting a task giving up of resource to run others tasks
<RX14> Well
<RX14> You're pausing your own fiber for a bit sure
<RX14> But that's not preemption
<RX14> That's entirely cooperative
<Yxhuvud> Yes, that is how preemptive multitasking works.
<FromGitter> <vpereira> ok, which preemptive isn't
<RX14> Just think of Fiber.yield as telling the scheduler to do work that needs to be done
<Yxhuvud> as opposed to where the scheduler pauses tasks. Those are not preemptive.
<FromGitter> <vpereira> the only difference is being cooperative which preemptive tasks arent
<RX14> Of you're stuck in a loop with no io, no other fibres will run
<RX14> If*
<FromGitter> <vpereira> I'm going through some golang examples to get used with the api https://gist.github.com/vpereira/16b06728102df5c7338cea60921533ab
<FromGitter> <vpereira> thats work well
<RX14> Go actually codegens Fiber.yield calls at function calls
<RX14> That's why you don't notice it in go
<RX14> They took some steps to make it feel more presumptive
<Yxhuvud> interesting.
<RX14> Preemptive*
<Yxhuvud> I wonder how it decides when to insert the yields, it can hardly insert it at *every* function call or it would come to a halt
<FromGitter> <vpereira> Yxhuvud thats what I would like to know as well. searching at github for code, didn't help me
<FromGitter> <vpereira> https://github.com/search?q=Fiber.yield+language%3Acrystal&type=Code is what I'm using to look for inspiration
<FromGitter> <vpereira> funny that without a sleep in the main thread, it doesnt work https://gist.github.com/vpereira/a4cb824199efdce1af973ee75e9627aa
<Yxhuvud> not funny at all, the main thread will continue running, come to the end and then exit.
<Yxhuvud> so you'd have to explicitly wait for the other fibers to be done if you want it done properly.
<FromGitter> <vpereira> Yxhuvud and how do you wait for the others fibers without any control channel?
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 252 seconds]
rohitpaulk has quit [Ping timeout: 265 seconds]
snsei has joined #crystal-lang
rohitpaulk has joined #crystal-lang
faustinoaq has joined #crystal-lang
snsei has quit [Ping timeout: 250 seconds]
rohitpaulk has quit [Ping timeout: 252 seconds]
hightower3 has joined #crystal-lang
jnyw has quit [Quit: WeeChat 2.0.1]
jnyw has joined #crystal-lang
hightower2 has quit [Ping timeout: 248 seconds]
rohitpaulk has joined #crystal-lang
jnyw has quit [Quit: WeeChat 2.0.1]
<crystal-gh> [crystal] matiasgarciaisaia closed pull request #5475: init: Surround `git` commands with backticks (master...readme-template-tweak) https://git.io/vbbgv
cremes has joined #crystal-lang
<FromGitter> <Jens0512> How do i use the C struct called winsize ((see here)[http://www.delorie.com/djgpp/doc/libc/libc_495.html]) in crystal?
<FromGitter> <Jens0512> (Markdown fail right there)
<FromGitter> <straight-shoota> @Jens0512 You'll need to define these bindings to libc yourself
<travis-ci> crystal-lang/crystal#86a4bb0 (master - init: Surround `git` commands with backticks): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/322887332
<FromGitter> <Jens0512> Ok thanks
<FromGitter> <Jens0512> What is wrong with this: ``` ⏎ @[Link("ioctl.h")] ⏎ lib LibIOCTL ⏎ ⏎ `````` [https://gitter.im/crystal-lang/crystal?at=5a4646f403838b2f2a4bb573]
<FromGitter> <Jens0512> -? ⏎ Apart for the indetation
<FromGitter> <Jens0512> I get this error ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5a464778232e79134da3c946]
<FromGitter> <Jens0512> There is obviously something I'm missing, but i can't figure out what
<FromGitter> <drosehn> my guess: the word has to be all capital letters, because what you're defining must be a compile-time constant (and not variable). A word which is all lowercase is a variable, not a constant. So try `WINSIZE` instead of `winsize`. This is a guess, it is only a guess.
<FromGitter> <Jens0512> Well, WinSize alone seems to work, but its not binding to the C struct winsize (http://www.delorie.com/djgpp/doc/libc/libc_495.html) which is what i want
<FromGitter> <Jens0512> But i found this (https://github.com/crystal-lang/crystal/issues/2061)
<FromGitter> <straight-shoota> @Jens0512 you have a few errors in you lib bindings
<FromGitter> <straight-shoota> first, you're binding to libc so it should be `lib LibC`. And you don't need to link it because it already is by default.`sys/ioctl` is not a library anyway, thats the headerfile where the struct is defined
<FromGitter> <straight-shoota> next, the struct name should be uppercase and have all fields defined
<FromGitter> <straight-shoota> additionally, you'll need to define the function `ioctl` to be able to use this struct
<FromGitter> <straight-shoota> see https://carc.in/#/r/3b52
<FromGitter> <straight-shoota> Note, on carc.in it compiles but does not run because of some signal not being handled. Locally it runs on my machine yet the results seem off, they seem to be way to large
<FromGitter> <Jens0512> Oh, thank you very much!
<FromGitter> <straight-shoota> So I assume there are to be still some faults in the library definition, but I hope it'll get you started
<FromGitter> <Jens0512> It will ^^
gloscombe has quit [Quit: WeeChat 1.9.1]
pskill926 has joined #crystal-lang
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! qvqurawe: andersh mroth lvmbdv bmcginty ua dostoyevsky daemonwrangler Yxhuvud davic faustinoaq rohitpaulk robacarp FromGitter ilovezfs_ dtcristo1 jeromegn early cyberarm Vexatos raz TIMEBONEZ manveru
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! ithfn: aemadrid thews dtcristo1 manveru Yxhuvud pabs mroth andersh claudiuinberlin faustinoaq oz woodruffw mark_66 jeromegn ua _whitelogger
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! ozahgfc: andersh A124 DTZUZU davic jsn- swav raz maxpowa aemadrid wmoxam literal avdi dtcristo1 _whitelogger bazaar_ fiete andrewzah Vexatos danzilio early Majo
snsei has joined #crystal-lang
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! lpkmyrnp: manveru mark_66 jeromegn _whitelogger chrisarcand fiete davic maxpowa avdi ua bmcginty andrewzah txdv rohitpaulk raz cyberarm cremes oprypin alex`` aemadrid A124 claudiuinberlin Yxhuvud wmoxam danzilio mroth an
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! kfeakvk: g3funk daemonwrangler jeromegn maxpowa ua oprypin davic woodruffw rohitpaulk swav gewo aemadrid hightower3 raz _whitelogger Majost wmoxam cyberarm DTZU
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! qxhszszqey: literal Vexatos g3funk thews A124 rohitpaulk aemadrid ilovezfs_ avdi bmcginty robacarp aarongodin TIMEBONEZ pabs Majost claudiui
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! upnmqalzi: jeromegn ilovezfs_ g3funk robacarp daemonwrangler hightower3 thews dostoyevsky davic DTZUZU hmans andersh maxpowa ua early swav fiete claudiuinberlin txdv alex`` chrisarcand bazaar_ lvmbdv TIMEBONEZ danzilio a
<pskill926> ▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! ikbqaz: daemonwrangler davic FromGitter aemadrid bazaar_ maxpowa ilovezfs_ jeromegn chrisarcand aarongodin gewo mark_66 woodruffw Yxhuvud danzilio early literal jsn- Vexatos pabs oprypin faustinoaq DTZUZU Majost oz swav dostoyevsky fiete TI
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! mqshktaor: aarongodin DTZUZU FromGitter wmoxam A124 fiete Majost avdi faustinoaq manveru dostoyevsky andrewzah hmans Yxhuvud ilovezfs_ Vexatos robacarp _whitelogger swav claudiuinberlin g3funk oprypin gewo maxpowa txdv lvmbdv chri
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! gidwzmjt: ilovezfs_ ashirase A124 avdi faustinoaq early maxpowa cremes raz swav Majost txdv robacarp fiete dostoyevsky alex`` oprypin daemonwrangler manveru mroth hmans jeromegn Yx
<ua> ffs
<FromGitter> <sdogruyol> please...no
<pskill926> ▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! qqgedwvdh: Yxhuvud literal claudiuinberlin cremes ashirase fiete A124 FromGitter bazaar_ gewo chrisarcand davic aemadrid pabs andrewzah oz txdv mark_66 andersh jsn- g3funk Vexatos daemonwrangler TIMEBONEZ rohitpaulk woodruffw DTZUZU cyberar
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! sumzdvskj: cremes aemadrid claudiuinberlin manveru andersh gewo TIMEBONEZ dtcristo1 rohitpaulk Vexatos A124 ua g3funk pabs DTZUZU thews chrisarcand aarongodin Majost hightower3 ashirase mroth robacarp dostoyevsky oz Yxhuvud davic
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! tvozmfpcdv: Yxhuvud ashirase faustinoaq thews DTZUZU txdv ua mark_66 woodruffw chrisarcand bazaar_ jeromegn ilovezfs_ dostoyevsky aemadrid bmcginty Majost jsn- literal lvmbdv daemonwrangler fiete aarongodin _whitelogger
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! cnmuid: hmans g3funk cyberarm claudiuinberlin jeromegn rohitpaulk alex`` DTZUZU wmoxam literal mroth pabs danzilio oprypin manveru maxpowa TIMEBONEZ thews andersh ashirase oz dtcristo1 dosto
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! ibfgysr: alex`` andersh TIMEBONEZ andrewzah bazaar_ txdv mroth faustinoaq swav dostoyevsky raz aarongodin manveru aemadrid ilovezfs_ _whitelogger cremes literal rohitpaulk robacarp Vexatos jeromegn ua DTZUZU da
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! jfmjg: avdi robacarp andrewzah dostoyevsky hmans dtcristo1 DTZUZU daemonwrangler pabs faustinoaq davic aemadrid thews fiete oz TIMEBONEZ ash
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! dwsskmnri: danzilio chrisarcand lvmbdv literal txdv fiete bazaar_ TIMEBONEZ DTZUZU rohitpaulk wmoxam pabs oprypin early claudiuinberlin _whitelogger cremes Vexatos thews hmans Yxhuvud bmcginty mark_66 daemonwrangler swav
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! fjllpxzbt: literal maxpowa alex`` daemonwrangler A124 rohitpaulk faustinoaq cremes raz dostoyevsky andersh dtcristo1 avdi fiete gewo jeromegn hmans pa
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! kbixnaske: dostoyevsky woodruffw pabs davic oz mroth andrewzah mark_66 DTZUZU jsn- maxpowa ua cyberarm TIMEBONEZ Yxhuvud chrisarcand ilovezfs_ bazaar_ aarongodin hmans literal g3funk oprypin _whitelogger early fiete wmox
<dom96> you guys need some more mods
<pskill926> ▄▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! zriqpehau: TIMEBONEZ swav Yxhuvud andersh dtcristo1 Majost mroth Vexatos andrewzah cyberarm alex`` maxpowa ilovezfs_ jeromegn thews dostoyevsky hmans aarongodin aemadrid A124 fiete daemonwrangler avdi rohitpaulk jsn- woodruffw hig
<pskill926> ▄▄▄▄▄▄▄▄▄▄ IRC.SUPERNETS.ORG IS HOSTING THE DDOS AND FLOODING CHALLENGE..PLEASE SEE VAP0R IN #SUPERBOWL FOR DETAILS!! rpouow: ashirase literal bazaar_ A124 DTZUZU davic ua swav avdi ilovezfs_ raz rohitpaulk gewo aemadrid jeromegn andersh TIMEBONEZ danzilio dostoyevsky faustinoaq andrewzah Yxhuvud Majost _whitelogger aarongodin Vexatos manveru hmans dtcrist
<dom96> clever of this spammer to send the bell character
fiete has left #crystal-lang ["WeeChat 2.0"]
pskill926 has quit [Read error: Connection reset by peer]
<FromGitter> <straight-shoota> @RX14 spam alert! =)
snsei has quit [Ping timeout: 252 seconds]
<RX14> I don't get pinged for @RX14 on my phone
<RX14> Irc pings are plain with no @
<RX14> where's papierkorb...
mark_66 has quit [Remote host closed the connection]
<FromGitter> <straight-shoota> Oh, I thought it would get that
<RX14> it does on desktop
<RX14> not on my phone
<RX14> I was out
<RX14> we need more ops tbh, it's basically only me and jhass
<RX14> online
<RX14> and jhass is busy
<RX14> i'm asking jhass if we can make oprypin and Papierkorb ops
<RX14> but still nobody from NA
<RX14> dom96 is trustworthy, perhaps he could provide more coverage
<RX14> i'm tempted to just give all regulars ban permissions
<RX14> another option is to create a neural network that classifies messages as spam or not :)
<RX14> and bans based on that
<RX14> would be "fun"
<RX14> if someone wants to do that go ahead btw
<RX14> should be easy enough using fastirc
<RX14> or just some regular non-learning heuristics
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
faustinoaq has left #crystal-lang ["IRC client terminated!"]
faustinoaq has joined #crystal-lang
faustinoaq has quit [Quit: IRC client terminated!]
snsei has quit [Ping timeout: 252 seconds]
alex`` has quit [Quit: WeeChat 2.0.1]
<FromGitter> <sdogruyol> why the spam though
<FromGitter> <sdogruyol> and isn't there any anti-spam bots?
<FromGitter> <bararchy> RX14 best with Bayes classifier , we can also give SHAInet a try with this, interesting project
<RX14> @bararchy I can give you gigabytes of IRC logs if you require
<RX14> well actually 27MiB @bararchy
<FromGitter> <bararchy> Sure, can you zip and mail me at bar.hofesh at neuralegion.com ? I'll create a dataset for it
<RX14> 2015-08-21 was when I joined
<FromGitter> <bararchy> Oh , tbh only last week is enough
<RX14> lol
<RX14> it's 27MiB for all of it, uncompressed
<RX14> it's literally easyier to send it all
<FromGitter> <bararchy> Sure
<FromGitter> <bararchy> I'll parse iit
<RX14> 2015-08-22 [21:33:24] <RX14> so... how soon do you think you will be able to get multi-thread support?
<RX14> heh
<RX14> and on my 3rd day I created fast_irc.cr lol
<RX14> i should stop reading and start gzipping
<oprypin> u realize that a program written in 5 minutes with a bunch of ifs would work better
<RX14> probably oprypin
<RX14> but you see if i'd suggested that nobody would have done it for me
<FromGitter> <sdogruyol> wow, that IRC message made me feel older
<FromGitter> <sdogruyol> it's been 2 years already :D
<RX14> yeah
<FromGitter> <sdogruyol> I remember there was a guy trying to do multi-threading himself
<FromGitter> <sdogruyol> techno..something
<FromGitter> <sdogruyol> then he got pissed off
<RX14> dont remember that
<RX14> people getting pissed off on IRC isn't too exceptional
<FromGitter> <sdogruyol> aha, there you go https://github.com/crystal-lang/crystal/issues/1805
<FromGitter> <sdogruyol> not on IRC, on GH
<RX14> oh
<RX14> well
<RX14> dont remember that
<FromGitter> <sdogruyol> feels like yesterday to me :P
<FromGitter> <sdogruyol> now reading it again, made me realize that we're not that good with communication even in 2015 :/
<RX14> i forgot to check that crystal thread that made it to HN yesterday
<RX14> I could have answered some questions
rohitpaulk has quit [Ping timeout: 272 seconds]
<FromGitter> <bararchy> oprypin if NLP was something you could do with a few ifs then there was no need for machine learning
<FromGitter> <sdogruyol> is there any special reason why `Symbol` doesn't have `object_id` method?
<RX14> @bararchy oprypin's point was that NLP isn't required for this
<RX14> all you need to do is look at the amount of colour codes and the spam messages will be far far above any other message
<RX14> or perhaps do a simple similarity + frequency check between consecutive messages
<RX14> not that I don't think this is a cool project to test your neural network library on
<RX14> @sdogruyol it's a struct
<RX14> it can't have an object id
<RX14> because it doesn't have an address
<RX14> given it's a struct containing a single integer
<RX14> it probably lives in registers half the time
<RX14> or just a constant value encoded inside the instruction itself
<RX14> so asking the question can only get a silly or flat out made up answer
<RX14> so we don't answer the question
<FromGitter> <sdogruyol> oh, a struct..yeah
<FromGitter> <sdogruyol> thanks
<Yxhuvud> FWIW decision trees is basically a bunch of if statements and is definitely part of the NLP family.
<Yxhuvud> not very favored these days, though.
claudiuinberlin has joined #crystal-lang
<FromGitter> <Wulfklaue> > feels like yesterday to me :P ⏎ > now reading it again, made me realize that we're not that good with communication even in 2015 :/
<FromGitter> <sdogruyol> yeah
<FromGitter> <sdogruyol> I guess so
handicraftsman is now known as handicraftsman1
handicraftsman1 is now known as handicraftsman
<oprypin> imonmyown, i dont know
<oprypin> care to also provide the background?
<crystal-gh> [crystal] larubujo reopened pull request #5456: Optimize String#to_json (master...opt-string-to-json) https://git.io/vb7hX
alex`` has joined #crystal-lang
<FromGitter> <larubujo> crystal creators chose a very good name :-)
<FromGitter> <sdogruyol> yeah..
<FromGitter> <sdogruyol> btw @larubujo did you just start using Crystal or?
<FromGitter> <larubujo> observe for long time, just quiet
<FromGitter> <sdogruyol> interesting, what's your background?
<FromGitter> <larubujo> many languages, jump from one another
<FromGitter> <sdogruyol> what's the top reason for you to check out Crystal?
<FromGitter> <larubujo> boredom
<FromGitter> <sdogruyol> haha cool 👍
<FromGitter> <larubujo> you?
<FromGitter> <sdogruyol> I like Crystal
<FromGitter> <sdogruyol> as a long time Rubyist, it's like a dream come true ✨
<FromGitter> <larubujo> its nice. mostly consistent. not too big
A124 has quit [Ping timeout: 248 seconds]
cyberarm_ has joined #crystal-lang
cyberarm has quit [Ping timeout: 256 seconds]
rx14_ has joined #crystal-lang
<rx14_> @sdogruyol yeah those results are very suspect
<rx14_> they don't pass the sanity test of "are rust and go better than us"
<rx14_> because they are
<rx14_> in every metric related to maturity
<rx14_> oh of course
<rx14_> "crystal developer" returns loads of results for crystal reports
<rx14_> exactly what I thought
snsei has joined #crystal-lang
Ven`` has joined #crystal-lang
<FromGitter> <sdogruyol> yeah
<FromGitter> <sdogruyol> lol
<FromGitter> <sdogruyol> and we thought TIOBE was misleading :P
<FromGitter> <sdogruyol> off the record have you tried using rx141 instead of rx142 on reddit?
<rx14_> no
<rx14_> rx14 is taken so I went straight to rx142
<rx14_> probably should have just added a _
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <sdogruyol> :P
<FromGitter> <Wulfklaue> Well, any advantages in name recognition always help, especially when a language has no big company name behind it.
<rx14_> interesting how close go is to ruby though
<FromGitter> <Wulfklaue> @RX14 I always consider Ruby oversold in name recognition. Its a bit like now with Rust, a lot of zealous fans ( Especially the On Rails ) making a lot of noise but that does not always translates in a mass market. But it "looks" bigger when a lot of people push it 😄 ⏎ ⏎ Go has the advantage of Google and a massive uptake in 2016, when the language uptake on the market. ⏎ ⏎ Never figured out
<FromGitter> ... why Go suddenly got so popular when there really was nothing special that happen that year. [https://gitter.im/crystal-lang/crystal?at=5a46bc25ba39a53f1ab6e1d3]
<rx14_> my point was that go is the only "new" language there
<rx14_> everything else in that list was created in the 1990s
<rx14_> or earlier of course
<rx14_> i.e. C and C++
<rx14_> go is the most popular "modern" language
<rx14_> in my opinion Go will be the new Java
<rx14_> and it deserves it
<rx14_> they have similar goals
<rx14_> originally Java was all about being simple and easy to pick up
<rx14_> Go is the same except with less OO and better concurrency
relyks has joined #crystal-lang
<relyks> is there a way to close channels like in go?
<rx14_> yes
<rx14_> channel.close
<relyks> rx14_: thanks
<relyks> really weird though. when I was looking at the api docs earlier, i didn't find the close method
<rx14_> yup
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
faustinoaq has joined #crystal-lang
snsei has quit [Ping timeout: 250 seconds]
faustinoaq has quit [Client Quit]
<crystal-gh> [crystal] bcardiff opened pull request #5480: Update gitignore template (release/0.24...fix/gitignore-template) https://git.io/vbNEO
jnyw has joined #crystal-lang
alex`` has quit [Ping timeout: 272 seconds]
<crystal-gh> [crystal] bcardiff closed pull request #5480: Update gitignore template (release/0.24...fix/gitignore-template) https://git.io/vbNEO
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
<crystal-gh> [crystal] larubujo closed pull request #5456: Optimize String#to_json (master...opt-string-to-json) https://git.io/vb7hX