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
Timothee Cour
@timotheecour
@leorize

@timotheecour how does your testament batching thing works?
is it windows-only and how many splits can it do?

PR should have all the context; it

it’s not windows specific, and in fact i merged a 2nd PR that used it also for openbsd; it doesn’t hardcode number of splits
From IRC (bridge bot)
@FromIRC
<leorize[m]> is it documented?
<leorize[m]> shashlick: ^ potential way to do nighttest on arm
From IRC (bridge bot)
@FromIRC
<shashlick> at least arm64 we can run natively on travis, if that's what they are doing
<shashlick> i didn't go that far
<shashlick> armv7l and linux i686 are left behind as well
<leorize> the testament batch thingy lets you split the load to multiple tasks
From IRC (bridge bot)
@FromIRC
<leorize> I'm tuning up the main CI based on what I learned when creating nightlies
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Elegant Beef> can the field pairs be used to set the values on the object?
<FromDiscord> <Elegant Beef> ah dont even need fieldpairs it seems 😄
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Elegant Beef> Should note for the lurkers, just fields works and if on a mutable object can be set apparently 😄
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Elegant Beef> Also i'm amazed how compact that solution is
<FromDiscord> <Elegant Beef> https://hatebin.com/ubcbqomlme
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Zed> lol hatebin
From IRC (bridge bot)
@FromIRC
<shashlick> any macro experts know how to get {.push.} to work with 3rd party pragmas
<shashlick> my macro works as a pragma when used in context but not with {.push.}
Tim
@tim-st
is there a datetime type in stdlib that uses 8 bytes memory only? times.DateTime is 104bytes while uint64(2020_05_12_13_06_01) is only 8 bytes :\
Timothee Cour
@timotheecour
shashlick this may require compiler support to support that (see also https://github.com/nim-lang/Nim/pull/14904#issuecomment-653848460)
From IRC (bridge bot)
@FromIRC
<disbot> ➥ 3Fix #2408 - add -d:globalSymbols
<shashlick> oh so user macros cannot be used in {.push.}?
Timothee Cour
@timotheecour
try and see :)
From IRC (bridge bot)
@FromIRC
<shashlick> doesn't work for me
Timothee Cour
@timotheecour

@leorize

<leorize[m]> is it documented?

documentation for that could for sure be improved; see nim-lang/Nim#14823 for a description for now (and feel free to send a PR to document it if you have time)

From IRC (bridge bot)
@FromIRC
<disbot> ➥ 6testament: generic N-fold batching: windows CI 37mn=>16m
From IRC (bridge bot)
@FromIRC
<shashlick> pushed pragmas also don't show up in macros - e.g. {.push cdecl.} is not provided to my custom pragma which is attached to a proc
<shashlick> if the params are typed they show up but then i cannot modify the ast anymore
From IRC (bridge bot)
@FromIRC
<shashlick> @leorize - lazylib v0.1 is ready to go
<shashlick> modified pcre.nim to use lazylib instead of dynlib and ran re.nim tests in tre.nim - all pass
<shashlick> but {.push.} and {.pragma: xyz.} shortcuts don't work
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Varriount> What's lazylib?
<shashlick> @Varriount: started with nimterop/nimterop#217
<disbot> ➥ 3Allow shared libraries to be loaded at run time instead of at load time
<shashlick> but @leorize suggests making it a part of Nim itself
<shashlick> right now, i've made it with macros so it can be a standalone package
<shashlick> but it has some limitations, hopefully we can figure it out with some help
<shashlick> making a repo for community review
<FromDiscord> <Varriount> What's the benefit?
<shashlick> basically automating the use of the dynlib module
From IRC (bridge bot)
@FromIRC
<FromDiscord> <Yardanico> Maybe Fusion then? :⁠P
<shashlick> yep that's the goal
<shashlick> let's see if it meets the quality
From IRC (bridge bot)
@FromIRC
<Yardanico> !status
<FromDiscord> Uptime - 2 days, 1 hour, and 44 minutes
From IRC (bridge bot)
@FromIRC
<shashlick> @leorize - https://github.com/genotrance/lazylib
<FromDiscord> <Varriount> Shashlick: From the linked GitHub thread:
<FromDiscord> <Varriount> > The developer of the nim c wrapper does not have to make assumptions about what the version of the library is installed at run time.
<FromDiscord> <Varriount> Isn't that what the DLL pragma's pattern matching is for?