Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 04 12:26
    @dom96 banned @acroobat
  • Mar 03 2017 15:52
    @dom96 banned @Octopoda7
  • Feb 12 2017 23:57
    @dom96 banned @zzz125
  • Dec 23 2016 19:43
    @dom96 banned @Izrab
From IRC (bridge bot)
@FromIRC
<krux02> @zacharycarter: you know about scalaz, don't you?
From IRC (bridge bot)
@FromIRC
<shashlick> i'm almost done with a simple script to generate docsets from a nim repo
<shashlick> question - where can we host the script and the generated zips?
<shashlick> should i put it in niv/nim-docset assuming author is interested
<shashlick> once we have docsets ready, we can contribute them to https://github.com/Kapeli/Dash-User-Contributions
awr1
@awr1
what about zeal?
From IRC (bridge bot)
@FromIRC
<shashlick> zeal needs docsets - i'm generating that
Zachary Carter
@zacharycarter
@krux02 yeah - I believe we're using it at work
From IRC (bridge bot)
@FromIRC
<krux02> I didn't know you were a scala programmer
From IRC (bridge bot)
@FromIRC
<dom96> Love when I get dozens of notifications because /someone/ decides to mention their PR across a bunch of old issues
<FromDiscord_> <Avatarfighter> can't relate sadly
<dom96> That was sarcasm in case it's not clear :⁠)
From IRC (bridge bot)
@FromIRC
<FromDiscord_> <Avatarfighter> i know dont worry haha 😛
<FromDiscord_> <Avatarfighter> I love browsing https://github.com/topics/nim?o=desc&s=stars and just looking at the cool projects people have made and that others enjoy too, it gives me so many ideas haha
<dom96> oooh, github now shows a little "Good first issues" widget there
<FromDiscord_> <Avatarfighter> Yeah it's really cool too!
<dom96> huh, doesn't show some repos
<FromDiscord_> <Avatarfighter> the link i sent filters by the most stars, so you can probably find more unknown ones by doing least stars or something, I just do most stars so i get a sense of what people like
<dom96> yeah, but it doesn't list some repos that have a lot of stars
<dom96> for example https://github.com/dom96/jester
<FromDiscord_> <Avatarfighter> welp
<FromDiscord_> <Avatarfighter> idk what to tell you other than i'm going to learn your lib after i'm done with karax haha
From IRC (bridge bot)
@FromIRC
<FromDiscord_> <Avatarfighter> argh i want to make something this cool haha
Andreas Hauser
@ahcm
Is there an idiom for this python: info = dict(part.split("=") for part in comment.split(" "))
Kaushal Modi
@kaushalmodi
what does that do? convert "abc=def ghi=jkl" to {"abc":"def", "ghi":"jkl"}?
Andreas Hauser
@ahcm
yepp
not a big thing, just like to get to know nim
From IRC (bridge bot)
@FromIRC
<FromDiscord_> <Avatarfighter> im not exactly a nim expert, but from my current level of understanding of the language I personally might do: https://dsh.re/a7738
<FromDiscord_> <Avatarfighter> i just realized that since my variable str doesn't get mutated you can probably just do let str = "abc=def ghi=jkl"
<FromDiscord_> <Avatarfighter> @ahcm hope that helps !
awr1
@awr1
@ahcm
import std / [strtabs, strutils]
echo("abc=def ghi=jkl".split({'=', ' '}).newStringTable(modeCaseSensitive))
From IRC (bridge bot)
@FromIRC
<FromDiscord_> <Avatarfighter> lmao that also works
<disruptek> !echo "sup dawg"
awr1
@awr1
think it's !eval
From IRC (bridge bot)
@FromIRC
<disruptek> oh.
Kaushal Modi
@kaushalmodi
@ahcm using comprehension
From IRC (bridge bot)
@FromIRC
<disruptek> !eval echo "awwwww sup"
awr1
@awr1
!eval echo("what's up")
Kaushal Modi
@kaushalmodi
import std/[strutils, strformat, tables], comprehension
let
  mySeq = "abc=def ghi=jkl".split(' ')
echo comp{for _, v in mySeq: {v.split('=')[0] : v.split('=')[1]}}
From IRC (bridge bot)
@FromIRC
<NimBot> awwwww sup
<NimBot> what's up
<disruptek> !help
Kaushal Modi
@kaushalmodi
@ahcm nimble install https://github.com/alehander42/comprehension@#head
From IRC (bridge bot)
@FromIRC
<disruptek> it's eval but the bot knows no other commands. :⁠/
<FromDiscord_> <Avatarfighter> welp i feel bad now because of my answer its so long compared to you guys lol!