« first day (294 days earlier)      last day (3269 days later) » 

12:00 AM
RELOAD!
[Cardshifter/Cardshifter] 2 commits. 5 opened issues. 6 issue comments.
[retailcoder/Rubberduck] 21 commits. 8 opened issues. 6 closed issues. 6 issue comments.
[Zomis/Duga] 1 opened issue. 1 closed issue. 3 issue comments.
 
12:12 AM
card('NUWA') {
    creature "Chinese"
    flavor "Serpent Creator Goddess of Mankind and Repairer of the Pillar of Heaven."
    health 10
    sickness 1
    manaCost 25
    attack 4
    afterPlay {
        summon 1 of "Terracotta Soldier" to "you" zone "Battlefield"
        summon 1 of "Manchu Archer" to "you" zone "Battlefield"
    }
    whilePresent {
        pickAtRandom (
            { heal 2 to "you" },
            { heal 1 to "opponent" },
            { damage 1 to "you" },
            { damage 2 to "opponent" }
 
12:27 AM
[Cardshifter/Cardshifter] Phrancis pushed commit dd72f4a8 to js: Early Chinese cards
[Cardshifter/Cardshifter] Phrancis pushed commit c20b0c4a to js: #231 Chinese deck
[Cardshifter/Cardshifter] build #1008 for commit dd72f4a8 on branch js passed
[Cardshifter/Cardshifter] build #1009 for commit c20b0c4a on branch js passed
 
1:17 AM
[Cardshifter/Cardshifter] Phrancis pushed commit 02b021d4 to js: Update chinese.groovy
[Cardshifter/Cardshifter] build #1010 for commit 02b021d4 on branch js passed
 
And another feature completed. #NextReleaseRocks #Navigate #VBA http://t.co/2KLQbaENeF
I can't believe I can do all that in the VBE. @Rubberduck203 haven't we come a long way! #VBA #Refactor #Navigate http://t.co/3MmYJZfaRS
 
 
9 hours later…
10:49 AM
@Phrancis you around?
about these commands... feel free to post them to JavaBot as suggestions.
But... as of now the bot doesn't work properly for the stackexchange chat domain...
 
hey
 
hiya
 
@Phrancis Is it me or is every card from Mythos "special"? Not that it would be wrong, but I see lots of afterPlay/whilePresent effects
@Vogel612 Have you had time to look at it, or not so much?
 
not so much.
mostly because we plan to migrate to JChatExchange anyways and "wasting" too much time on it would be rather unrewarding
then again JChatExchange is currently somewhat stalled, because the creator doesn't want code of the current quality associated with their name...
and I don't have much time on my hands.
I have something in progress for 2 weeks now, with a real effort of 1 day, or maybe 2.
 
Hmm okay
Can't help out much either here
Kind aoccupied with the university project
 
11:00 AM
I'll make myself some free time later in the summer
and I'll use it to get JChatExchange into a nice committable and working state.
which should make the workarounding in the Bot moot
 
I hope to be able to make awesome websites soon (tm)
I'm already working on them... this project might go open-source, but right now it isn't
 
11:44 AM
@Phrancis How do you intend a heal or damage to work while inside whilePresent ??
 
11:58 AM
@SimonAndréForsberg Maybe he means per turn... but whilePresent is very weird indeed and needs clarification ;)
 
whilePresent means something that is in action always, as long as the card is on the battlefield. Heal and damage are one-time effects, not something that can be inside whilePresent
 
 
2 hours later…
2:01 PM
@SimonAndréForsberg Is there some modular way you can define the heal and damage modifiers to only apply to "single-time" events, rather than whiel present events?
 
@skiwi @Phrancis code would cause an error while executed. So in a way, I already have.
 
if it was atTurnEnd instead of whilePresent would that work?
 
2:23 PM
yes
 
@SimonAndréForsberg But that's only because those methods are not defined on the whilePresent method?
 
2:49 PM
@skiwi you can't define method on a method. Not even in groovy. Those methods are not defined in the WhilePresentDelegate. See github.com/Cardshifter/Cardshifter/blob/groovy/cardshifter-core/… and github.com/Cardshifter/Cardshifter/blob/groovy/cardshifter-core/…
 
3:21 PM
@SimonAndréForsberg But you can make those map entries dynamic?
I can see situations where you both in a whilePresentDelegate and onEndOfTurnDelegate want to reuse the same code
Even though... interesting
Can't you capture what stuff is present inside a delegate, rather than mapping with a map?
 
3:37 PM
@skiwi of course it's possible to reuse some code.
@skiwi What do you mean by that?
 
3:49 PM
@SimonAndréForsberg Right now you return a map that some keys and values in it
Can't you instead of returning a map with hard-coded keys, instead create a method that takes in the stuff inside your delegate as parameters?
afterPlay {
    summon 1 of "Terracotta Soldier" to "you" zone "Battlefield"
    summon 1 of "Manchu Archer" to "you" zone "Battlefield"
}
In this case on the AfterPlayDelegate you would then get a list with two entries, where one entry is a map like ["summon", ...]
 
@skiwi Where do I do that??
Oh dear, I think I see the confusion.
 
In Groovy you have map literals... and the last statement in a method gets returned, right?
 
yes
I am however not really returning a map in the traditional sense. I am returning a way for the summon 1 of 'Yadayada' to 'you' zone 'Battlefield' to work.
 
But is it not also a map in traditional sense at the same time?
I understand the logic of your current methods regarding DSL
but is it not possible to take the DSL arguments as input, rather than to provide a static map?
 
4:06 PM
I am not really "returning a map that has some keys and values in it". I am making it possible to use the DSL methods. When calling the DSL methods, something is added to a list, which is then executed in the game at the right moment.
@skiwi How would you expect that to be coded?
 
@SimonAndréForsberg More or less a funtion accepting the string/tokens summon 1 of "Terracotta Soldier" to "you" zone "Battlefield" as input
As we talked about having the option to reorder fragments earlier and also about using "order by" rather than "orderBy", how could that be supported at all in the current way?
 
@skiwi The way to accomplish that is to use def summon(Map arguments), in which case it could be called by this:
summon amount: 1, of: "Manchu Archer", to: "you", zone: "Battlefield"
which would not be an improvement IMO
 
With that boilerplate, indeed not an improvement
(The colons and commas)
 
@skiwi It's not supported. Making it "order by" would complicate things a lot
 
While thinking about it... say one wants to absolutely insist on offering that functionality, then pre-processing a file to replace "order by" with "orderBy" would be simplest?
 
4:12 PM
@skiwi simplest yes. clean? no. nice? no. worth it? no.
 
When I was reading about DSL I found this however doesn't look like you are using it?
 
and it would cause pain with things like this: flavor: 'Something order by something equals something'
 
That seems to allow fragment reuse
 
i think that part of the idea of a DSL is to formalize the terms/worlds that people have to use to build cards? so having multiple ways to say things seems more confusing than anything to me
 
@skiwi you mean the @DelegatesTo or the Builder pattern? I'm using @DelegatesTo somewhere (but will add more of those), and not using much builder pattern either.
 
4:15 PM
The builder pattern
By the looks of it it seems more flexible than that map pattern (I don't even see it documented in this document)
 
slightly more flexible, yes. But I haven't really prioritized making builder classes. I found that the "map pattern", if you can call it that, is simple enough and quite easy to use.
the only benefit is really that you can write things in the order you want.
 
Fair enough, but doesn't give IDE support then?
 
what about IDE support? What do you mean?
 
Code completion, etc.
 
with modders writing stuff using the DSL?
 
4:20 PM
I'm not sure when code completion is applicable
When you use DSL's in your own application as code files, then probably
No clue if we can somehow make that available to modders
 
might be partially supported later when more @DelegatesTo are added, but given the dynamicness of Groovy, full code completion is not possible.
 
(Depends on if they write in IDE or plain-text)
@SimonAndréForsberg Full code completion on DSL's is possible, as I read it
 
depends on how much of Groovy's dynamic typing you use. Cardshifter uses that quite a bit.
 
Such a shame we are stuck on XML/Python for our configuration (which is very complex in our project), Groovy's DSL seems to be the best choice then
 
I think it's easy enough to use plain-text, I don't see much need to support full code completion. Wasn't the whole point of starting doing the JS modding that most modders don't use an IDE?
 
4:25 PM
@SimonAndréForsberg I already forgot the point
 
Apparently you did.
 
 
1 hour later…
5:47 PM
@Vogel612 OK cool
 
hey @Phrancis
 
@skiwi I might have went a bit overboard with the effects, but hard to say until we can actually play it
@SimonAndréForsberg Um, did I do that? If so I probably meant to use onEndOfTurn...
You have probably notice that I used the summon feature quite a bit for the Chinese (it just seemed to fit with the stories) so likely other pantheons will have a way different approach
(and in part why I'd like for others to come up with their ideas, including you @skiwi if you find the time)
 
I'm not a content creator though :P I'm a programmer
Though I can have lots of inspiration at times
 
 
Well, it's on the table. The Roman are unclaimed and their mythology is familiar, making the cards themselves takes very little time (mine took longer because I documented each card, I don't expect others to do that at all)
 
6:05 PM
> To clarify one thing, I don't expect others to document each card the way I did for the Chinese, if you just come up with the card attributes and effects, I'll take care of the rest later. It'll be a while yet before we support images and such so it's no hurry.
@Duga has nothing to remind anyone of today!
 
@Duga Why do you keep reminding us of that?!
 
@samharwell mine too! ...wait no, my rubberduck has github issues, not the same thing! Keep up the great work on ANTLR, #AntlrIsAwesome
 
6:39 PM
> I pulled the site on my iPhone and the side navigation menu is displayed _on top_ of the page content. I'm not sure how to fix it exactly, I suspect it could even be caused by Bootstrap in order to make the page less wide.

A possible fix might be to extend the left nav menu bar all the way to the bottom of the page (albeit with empty space). See attached screenshot.

I would be curious if this problem also happens on Android, is anyone able to test pulling up http://stats.zomis.net/io-we
 
@Marc-Andre ^^ next time you're around, if you have any idea please let me know
 
> The same issue appears to occur on Android:

![screenshot_2015-05-23-20-43-50](https://cloud.githubusercontent.com/assets/2961606/7785357/a4c15c82-018c-11e5-8142-d5dc878eaa05.png)
> For reference, this is what it _should_ look like:
![screen shot 2015-05-23 at 2 45 33 pm](https://cloud.githubusercontent.com/assets/8539648/7785361/6f0265fa-015a-11e5-92e1-e9a690fda898.png)
 
@Phrancis Wow, you have many tabs open there ;)
 
Look who's talking ;)
 
There you go.
@Phrancis Anything wrong?
Is Cardhisfter a Windows Phone Exclusive?
3
 
6:57 PM
LOL
I think Marc-Andre fixed that, just need to update the server
 
> Bug also happens on Windows phone:

![zqobg49](https://cloud.githubusercontent.com/assets/8539648/7785400/4a8867ae-015c-11e5-85cb-8efe8c7cbb8a.png)
 
Thanks @Hosch250 much appreciated
 
Doesn't @Hosch250 mean that it doesn't happen on Windows Phone?
 
8 mins ago, by Hosch250
user image
@skiwi Same problem there
 
Ah nevermind
Eh WTF?
Why is it called Cardhisfter??
 
7:01 PM
3 mins ago, by Phrancis
I think Marc-Andre fixed that, just need to update the server
 
Oh crap, I totally did not see that typo when Hosch just pointed that out
 
I have to say though, pretty bad typo, especially showing as top header on the landing page ;)
Hey @Marc-Andre :D
 
Sorry @Phrancis was away for a while our cat was sick and died yesterday! But I don't know what you expect it to look on mobile
But hey everyone! :D
 
Oh man, sorry to hear about that; losing a pet is always painful
 
Oh yeah I know it is! We had it for two years but he was part of the family already :(
Thanks @Phrancis
 
7:07 PM
Had to put a dog to sleep a few years ago because he was so sick
 
At least we did not have to take that decision. He was at the vet hospital and died there (we though he was doing better but he died in the night (that does not feel like the right way to say this :S ))
 
I'm pretty sure nesting statements in multiple sets of parentheses in plain English is a programmer thing
But I feel you
 
The funny thing is, his name was Linux and today I finally installed Linux on my computer :P
 
@Marc-Andre In any case, have you seen something like that with Bootstrap before? Is that actually what should be expected?
 
I think the way the layout works at the moment it is what it should look like.
 
7:12 PM
<aside class="col-sm-3 col-md-2 sidebar csh-side-nav" data-th-fragment="left-side-navigation">
  <nav class="nav nav-sidebar">
The csh-side-nav only has things like text font and color, so I don't think it has anything to do with it
 
Yeah it how we set up the layout with bootstrap
 
Is it a case of then?
 
Ah.
 
I don't see how we would have a side menu and the content side by side though
Mobile are not large to fit that many content
 
7:18 PM
Might be right, seems like it probably would "squish" everything together so closely that the page would become almost unreadable?
 
Look at this and it behave exactly like we have
 
> Looks like this is not a bug and actually functions as it should according to Bootstrap grid system. For reference: http://tutorial.shiksha360.com/bootstrap-layout-grid-system/

Perhaps at some point we should actually convert this to a top menu with drop-downs instead of a side nav... thoughts?
> The thing here is I don't think the side menu would fit with the content. There is not enough place to show them both side by side. I think it may look like a bug, but the result is what is better for mobile. What we could have is some links on mobile to get to the top of the page (the side menu) quickly to help the user navigate.
 
7:50 PM
@Marc-Andre Looks at my other website, psychoproductions.net
It's made with Wordpress obviously, but something like that could be done with Bootstrap right? Like the navs at the top with dropdowns
 
I'm not sure dropdown is the easiest thing on mobile for the UX
 
I just pulled up that website on my phone, it looks really screwed up. Ugh
Maybe we should just leave "well enough" alone
Come to think of it, browsing websites on mobile really is a PITA
Perhaps more of a problem with the medium rather than the implementation
 
Indeed it's hard to make site mobile-friendly !
 
8:09 PM
Can't the mobile side/top-menu be made collapsible?
 
Well the thing is at the moment some top level element on the nav are links. So we can't click to collapse/uncollapse all elements
 
Ah...
 
 
3 hours later…
11:33 PM
@Phrancis ah, I like the thought of different themes for the different mythologies!
 
Indeed
 
@skiwi because someone is too lazy to change the database? and to make it easier for me to add a reminder in case it's needed :) (I could add one for @Phrancis, but I forgot what he was supposed to remember...)
 
^ Post-It note did the trick ;D
 
@Marc-Andre Sorry for your loss
@Marc-Andre Now you will always remember him :)
 
Simon André Forsberg vs. Mat's Mug: 899 diff. Year: -42. Quarter: -792. Month: -486. Week: -210. Day: -20.
rolfl vs. 200_success: 292 diff. Year: +1012. Quarter: +855. Month: +476. Week: +40. Day: -30.
Loki Astari vs. Simon André Forsberg: 3925 diff. Year: -1851. Quarter: -552. Month: -169. Week: +255. Day: +40.
 
11:50 PM
@Duga ouch, 899? Mug is catching up on me
 

« first day (294 days earlier)      last day (3269 days later) »