by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 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
<Yardanico> how are you trying to run?
<Yardanico> your app
<sekao> i use nimble. so nimble run appname
<Yardanico> then you need to specify compiler in nimble requirements as well
<Yardanico> because nimble will only expose libraries which are specified in "requirements"
Bung
@bung87
ok let me run on devel
From IRC (bridge bot)
@FromIRC
<Yardanico> requires "compiler"
<sekao> ah that makes sense. thank you, it works now
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Varriount> shashlick: The only features that I think Nimterop could benefit from would be the ability to force-include headers
<FromDiscord> <Varriount> (feature from my wrapper)
<FromDiscord> <Varriount> Yes, you could use passc, but I'm not sure if Nimterop would be able to separate the specified header from the main file after preprocessing.
From IRC (bridge bot)
@FromIRC
<shashlick> You already have cExclude
<shashlick> Also you can specify multiple headers to cimport or on the command line if that's relevant
From IRC (bridge bot)
@FromIRC
<Yardanico> btw, seems like AFL is quite outdated now
<Yardanico> there's a new fork of it with good support for persistent mode for much faster fuzzing
<Yardanico> AFL++
<Yardanico> https://aflplus.plus/
<disruptek> dat domain.
From IRC (bridge bot)
@FromIRC
<FromDiscord> <creatable> i'm trying to port this function to a nim proc but am having issues:↵py↵def xor(string: str, key: int) -> str:↵ return ("").join(chr(ord(char) ^ key) for char in string)
<FromDiscord> <creatable> i do not at all have any idea how i'd even start
<FromDiscord> <Elegant Beef> What does it do, xor between each char and return the string?
<FromDiscord> <creatable> yes
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Elegant Beef> I think this works? https://play.nim-lang.org/#ix=2tlx
<FromDiscord> <Elegant Beef> I passed it in as a char, but i suppose could be a byte or uint8
From IRC (bridge bot)
@FromIRC
<FromDiscord> <creatable> i'm getting↵unknown named parameter: safe↵when trying to decode some base64 with urlsafe on↵decode(saveData, safe = true)
<FromDiscord> <creatable> (edit) 'i'm getting↵unknown named parameter: safe↵when trying to decode some base64 with urlsafe on↵decode(saveData, safe = true)' => 'sent a code paste, see https://play.nim-lang.org/#ix=2tlA'
<FromDiscord> <creatable> not sure why safe wouldn't be the parameter considering it's in the docs
<FromDiscord> <creatable> update: i'm dumb, that's for encoding
<FromDiscord> <Elegant Beef> Was going to say :⁠d
From IRC (bridge bot)
@FromIRC
<FromDiscord> <creatable> ugh, nim↵ Invalid base64 format character
<FromDiscord> <creatable> (edit) 'nim↵' => 'Error: unhandled exception:' | '' => '`=` (ord 61) at location 1505695. [ValueError]'
<FromDiscord> <creatable> while python seems to handle it pretty well :^)
From IRC (bridge bot)
@FromIRC
<FromDiscord> <creatable> how would i strip newlines?
<FromDiscord> <creatable> \r is present in my save file string and i want to strip it out
From IRC (bridge bot)
@FromIRC
<Prestige> strutils.replace maybe? @creatable
<FromDiscord> <creatable> ended up fixing it, normal .strip worked for my case
From IRC (bridge bot)
@FromIRC
<ForumUpdaterBot> New thread by Skaruts: How to compile a dll that I can call from lua or luaJIT's ffi?, see https://forum.nim-lang.org/t/6642
From IRC (bridge bot)
@FromIRC
<FromDiscord> <treeform> @Yardanico I am back at trying to debug this --arc issue. So the problem is that "cannot convert argument 1 from 'NI' to 'HANDLE'" was fixed as --gc:arc problem was introduced. There are many unworking commits, its not a single "break".
From IRC (bridge bot)
@FromIRC
<FromDiscord> <treeform> So my thing compiles after #bb1adf6a706190883fa57a0208ba8e3118235256 but crashes to due arc issue. I think arc was always an issue?
<FromDiscord> <treeform> I don't think its change in the nim's github caused this. But some thing on my machine. Now it crashes every time.
From IRC (bridge bot)
@FromIRC
<FromDiscord> <treeform> pff, I found a simple repro case even with GCC. I should have done that.
<FromDiscord> <treeform> Why do I keep doing things the hard way!
From IRC (bridge bot)
@FromIRC
<FromDiscord> <treeform> @Yardanico here is my --gc:arc issue: nim-lang/Nim#15162 "Initializing an empty threadvar by adding elements to it segfaults when compiled using C++ mode."
<disbot> ➥ 3GC:Arc and {.threadsvar.} don't work in c++ mode. ; snippet at https://play.nim-lang.org/#ix=2tnH
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Varriount> Yardanico: What do you mean by persistent mode?
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Varriount> @Yardanico How is CPS coming along?
From IRC (bridge bot)
@FromIRC
<Oddmonger> hello nimmers
<Prestige> hello Oddmonger
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Elegant Beef> Im an nimdiot thank you very much