Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 19 11:24

    gpampara on master

    scalafix + scalafmt (compare)

  • Sep 19 11:21

    gpampara on master

    refactor!: Remove cilib.Environ… (compare)

  • Sep 18 07:12

    gpampara on master

    Bump cachix/install-nix-action (compare)

  • Sep 18 06:47

    gpampara on master

    Add nushell to the development … (compare)

  • Sep 17 10:23

    gpampara on master

    Prefer the use of a NonEmptyVec… (compare)

  • Sep 17 10:23

    gpampara on non-empty-vector

    (compare)

  • Sep 17 10:23
    gpampara closed #323
  • Sep 17 10:22
    gpampara ready_for_review #323
  • Sep 15 07:50
    gpampara synchronize #323
  • Sep 15 07:50

    gpampara on non-empty-vector

    scalafmt (compare)

  • Sep 15 07:48
    gpampara synchronize #323
  • Sep 15 07:48

    gpampara on non-empty-vector

    Basic cleanups Introduce NonEmptyVector which … Initial conversion to use NonEm… and 13 more (compare)

  • Sep 15 06:35

    gpampara on master

    Update sbt to 1.5.5 Start to add shared sources for… Update dependencies (compare)

  • Aug 28 06:53
    gpampara synchronize #323
  • Aug 28 06:53

    gpampara on non-empty-vector

    scalafmt (compare)

  • Aug 28 06:50
    gpampara synchronize #323
  • Aug 28 06:50

    gpampara on non-empty-vector

    Use `check` command alias in CI (compare)

  • Aug 28 06:41
    gpampara opened #323
  • Aug 28 06:36

    gpampara on non-empty-vector

    Update sbt to 1.5.5 Start to add shared sources for… Basic cleanups and 10 more (compare)

  • Jun 01 14:27

    gpampara on master

    Add some additional config for … (compare)

Cian Steenkamp
@CianSteenkamp96
Thank you
Gary Pamparà
@gpampara
@CianSteenkamp96 https://gist.github.com/CianSteenkamp96/8629e2f5b18089880c6bbbcbf5404c06#file-archivetest_for_archive_v4-scala-L43 you're creating a NonEmptyList with n+1 elements, where you want n
NonEmptyList.nel(x, (x::xs).toIList) <- error here in the tail, or is x supposed to be duplicated in the NonEmptyList?
implementation looks much better
I'm not sure of the insert and delete policy functions should vbe separate, but I think you can slap together a PR
Cian Steenkamp
@CianSteenkamp96
Hi @gpampara thanks for the feedback
Wrt your comment about the error...
You are correct x should not be duplicated..
I changed it to..
NonEmptyList.nel(x, xs.toIList)
Cian Steenkamp
@CianSteenkamp96
I created a PR for Archive.scala and for ArchiveTest.scala :)
The insert and delete policies are separate since insert can be done based on dominance for example while deletion (from a full archive) can be based on crowding distance...
Not sure if that is what u were unsure about?
Gary Pamparà
@gpampara
Jsut an FYI: travis integration is currently broken
ADEKOYA ADEKUNLE ROTIMI
@adekunleadekoya
Bounded archive: do you mean an archive that puts a limit on the number of items that could be stored in the archive?
Gary Pamparà
@gpampara
Yes
ADEKOYA ADEKUNLE ROTIMI
@adekunleadekoya
Ok. Thanks.
Cian Steenkamp
@CianSteenkamp96
Hi @gpampara I replied with some comments on GitHub regarding the changes you requested to the pull request I made near the end of 2018. Sorry it took so long to discuss them. :)
Gary Pamparà
@gpampara
@CianSteenkamp96 don't worry about it. I'm a little disconnected until I get some of the thesis complete, but I'll reply in a detailed way as soon as I can
Cian Steenkamp
@CianSteenkamp96
Sure thing. Thanks @gpampara😊👍
Gary Pamparà
@gpampara
Just an update, due to all the changes in the Scala community at large, some changes will be comping to the project. These will (or at least should) be totally transparent changes with no user visible conflicts
This includes migrations to Scala 2.13
Gary Pamparà
@gpampara
A large website change is being prepared. Generally a good thing and includes a bunch more general info
Kyle Erwin
@KyleErwin
Awesome! Thanks Gary
Srikanth Rangdal
@srirangdal_twitter
how do I search for double next line \n\n is not working. I need to replace extra next lines with single ones
plz help
Kyle Erwin
@KyleErwin
Hi @srirangdal_twitter what are you currently working on?
Gary Pamparà
@gpampara
@/all Please note that we will probably be moving off of gitter.im and onto a more reliable system. That being said, suggestions for a target platform are appreciated. The choices currently are https://spectrum.chat/ or Discord
Gary Pamparà
@gpampara
@/all Please note that for several reasons, we've renamed the organization (cirg-up) on github to a more independent name (I really don't want to get into the details). Please find the same projects @ https://github.com/ciren
Apologies for the changes, but I hope that they won't be too much of a hindrance.
Kyle Erwin
@KyleErwin
Thanks Gary.
Kyle Erwin
@KyleErwin
Spectrum looks good. I've used discord before. Voice chat is great and having multiple channels is helpful when there are a lot of on going chats going
Gary Pamparà
@gpampara
Yeah, I'm keen for anything that's a little nicer to user tbh. The gitter interface is really terrible :/
Gary Pamparà
@gpampara
The functional programming slack has been trying out zulip, which looks great albeit with a terriblly plain UI
Kyle Erwin
@KyleErwin
There's a functional programming discord channel that's very active and they seem to manage things quiet nicely.
What are your thoughts on GitHub actions?
Gary Pamparà
@gpampara
We're already using them :)
far simpler to get setup than worrying about secrets with travis or circleci
(as of about 7 days ago that is)
Gary Pamparà
@gpampara
The new website build is now on master
will be fleshing it out over the next few days
Kyle Erwin
@KyleErwin
Rad! If there's anything that you need help with let me know.
1 reply
Gary Pamparà
@gpampara
A set of new docs for the website is going up now :) still a work in progress but it's getting there
Kyle Erwin
@KyleErwin
Thanks for everything Gary! I'll make some time this weekend to contribute
Gary Pamparà
@gpampara
Please feel free to join us on https://spectrum.chat/cilib - we're test driving it at the moment before making any real decisions
Gary Pamparà
@gpampara
Now that gitter.im is integrating into matrix.org we have more options... the spectrum platform seems extremely sluggish, although I do like the feature they have
gpampara
@gpampara:matrix.org
[m]
Incidentally, it's also being shutdown in August 2021, in favour of the Github Discussions feature
Andries Engelbrecht
@apengelbrecht
Gary, so I have used your build.sbt. And it is working. Thx. Now, how do I get a basic gbest PSO to run. I know, I know. Stupid question. Somewhere you have implementations ready.
24 replies
Gary Pamparà
@gpampara
Preparing to make a lot of changes to cilib in the coming weeks. There is a lot of simplification going on which should allow for better error messages and a lot more documentation to come. We will be supporting Scala 3 as soon as our more important dependencies update
Gary Pamparà
@gpampara
Preparing a new release: 2.1.0. There are a bunch of internal changes that replace some of our dependencies for alternatives. Waiting to finish the update to the website before releasing officially