« first day (385 days earlier)      last day (3476 days later) » 

00:00
Well, not sure I'm completely surprised at all! It is, after all, Mozilla.
RELOAD!
[Cardshifter/Cardshifter] 3 commits. 3 opened issues. 6 closed issues. 16 issue comments. 58 additions. 16 deletions.
Clearly Mozilla eat their own dog, and love it!
[Cardshifter/HTML-Client] 6 commits. 2 opened issues. 2 issue comments. 74 additions. 17 deletions.
[Hosch250/VSDiagnostics] 4 commits. 126 additions. 36 deletions.
@Phrancis Um... I'm not sure that's a good thing.
[rubberduck-vba/Rubberduck] 5 issue comments.
[Vannevelj/VSDiagnostics] 10 commits. 3 opened issues. 3 closed issues. 4 issue comments. 2392 additions. 217 deletions.
[Vannevelj/VSDiagnostics] 2 commits. 1 closed issue. 1 issue comment. 578 additions. 103 deletions.
00:24
> @Zomis Yeah we can specify the full path client-side, actually, that will be more flexible. I think `modname/cardset/image.jpg` would probably work best, IMO.

As far as implementation, I'd like to perhaps just recycle the same code we use for `flavor` any objection?
@SimonAndréForsberg Whenever you're around, is ^this^ OK with you? If so, could you link me to the server code that returns the flavor? should be easy enough to do it just like that, I would think, since all we need is just a string of text.
@Phrancis In case you didn't understand my last message, I think you made a typo here.
@SirPython LOL. *dog food
Whew, good.
01:04
Wow, there are so many domain extensions now... iwantmyname.com/domains/new-gtld-domain-extensions
Cardshifter.game would be neat; maybe
I was thinking .tcg
Hah! They have a .lol
Wow, you're right; there are a ton.
Cardshifter.संगठन
Yikes! I don't even know how to type that in.
With difficulty
cardshifter.ɯoɔ
01:07
Pretty cool though to have domain extensions in non-latin alphabets
Definitely.
I need to buy www.FizzBuzz.lol for @Simon and @Mat'sMug :)
Lol. That would nice!
Maybe we could post FizzBuzz examples in every language :)
Fun fact: one of the answers in that page is in MOS 6502 assembler. The Atari 2600 console used the MOS 6507, which was basically a smaller and cheaper version of the 6502.
01:20
Wow. That's old.
Even when I was a kid the Atari 2600 was old, that was over two decades ago.
01:33
Ooh, another fun fact!
Near the bottom of the page, there is an answer written in Zilog Z80 assembler.
The Game Boy game console used the LR35902 processor
Which is a derived processor from the Z80.
I wonder if, because of their connections to famous devices' processors, that's why the website chose those instruction sets.
</fact>
02:41
Hmm imteredtimg too
BTW.Mobile
03:35
@SirPython ^^ works!
And WTF is up with the + button.
Fixed
 
2 hours later…
05:49
The word "flavor" in the table is just a place holder, the flavor works I just don't want to display it there
I'll probably make a button or hover thing to show it if the player wants to. But, one problem I have is the Desc column
        <!-- Available {{card.properties}} values
            SERVER JSON name      | AngularJS ref name | Note
            -------------------------------------------------
            "SICKNESS"            | SICKNESS           | 1 or 0, or empty (for cards where n/a)
            "MANA_COST"           | MANA_COST          | n, or empty (for cards n/a)
            "ATTACK"              | ATTACK             | n, or empty (for cards n/a)
            "HEALTH"              | HEALTH             | n, or empty (for cards n/a)
I'm not sure if the <td>{{card.properties.description}}</td> is null, or if it can't display for some other reason
[Cardshifter/HTML-Client] Phrancis pushed commit dcec7595 to sections-layout: Most fields can now be displayed in the deck builder, in the table display of all the cards
Figured it out
06:14
[Cardshifter/HTML-Client] Phrancis pushed commit 14c6cde5 to sections-layout: The description was referred to as effect in the Angular reference. Works now.
06:59
[Cardshifter/HTML-Client] Phrancis pushed commit 73133665 to sections-layout: Aligned card list headers properly
 
3 hours later…
10:13
> Start the image path with /. That way you can easily append it to a chosen base path or omit the base url and call the current HTTP host (if you're in a browser).
10:41
@bazola Sorry, I won't be buying it! If it would be free, or maybe cheaper, I could download it and just test things.
but it's not really my type of game anyway :)
@Duga @Phrancis sure, sounds like that could work
11:02
[Zomis/StackSTV] Zomis created branch emmanuel
[Zomis/StackSTV] Zomis pushed 13 commits to emmanuel (only showing some of them below)
[Zomis/StackSTV] emmanuelrosa pushed commit ff8df9ea to emmanuel: added Interator.upto()
[Zomis/StackSTV] emmanuelrosa pushed commit 6d34759a to emmanuel: fix IteratorCategory comment
Moved inner classes out of Election

Groovy supports multiple classes per file.
[Zomis/StackSTV] emmanuelrosa pushed commit b3e5aaf4 to emmanuel: Overload left-shift operator to add votes and candidates
[Zomis/StackSTV] emmanuelrosa pushed commit 52b8ddcb to emmanuel: Groovy-fy Vote.fromLine()
[Zomis/StackSTV] emmanuelrosa pushed commit 2bc94d51 to emmanuel: Groovy-fied Vote.distribute()
[Zomis/StackSTV] emmanuelrosa pushed commit 5206c470 to emmanuel: Made Candidate Cloneable
[Zomis/StackSTV] emmanuelrosa pushed commit 80561284 to emmanuel: Removed Java 8 Stream from Election
[Zomis/StackSTV] emmanuelrosa pushed commit 6ecf3fc2 to emmanuel: Removed Java 8 Stream from SimonElection
[Zomis/StackSTV] emmanuelrosa pushed commit 510a9c0a to emmanuel: Groovy-fied SimonElection
I love it when people fork and push their reviewed changes there :)
 
1 hour later…
12:18
> check if the action requires targets, with action.targetRequired, avoid hardcoding the name of any action.
 
1 hour later…
just thought we could use a little XKCD in here
2
@SimonAndréForsberg sorry to hear that it is not your kind of game :) but i will gladly give you a free copy as soon as I can figure out how to do it
hey
13:34
any sales on your game yet? ^^
no not yet
aw, too bad
I've heard repeatedly that the sales on the play store are really bad
iOS is probably better
just debating whether i need more polish before submitting to the app store, since it takes over a week to get approved
13:42
I regret not doing anything useful yesterday now
Woke up with stomach issues, then they were finally a bit gone and now I'm having a headache :|
it's almost 4pm already
@bazola they are. Android people don't like buying stuff. For me it helped that I had a Flash version of the game already - minesweeperflags.net , then at least some people bought the game.
I've heard that there is a way that they can use some kind of app to download apps for free from the play store and then distribute them on piracy networks also
for some Android apps, that is possible yes.
it is possible to protect against that though, by using Google Play APIs
The google game API (or however it's really called) seems like a good choice
 
1 hour later…
15:09
:|
I used the Coin in Hearthstone but forgot to play the card and then ended my turn
You're not the first.
@skiwi well if you have luck down the road it's not too bad! Not like missing lethal because you forget to calculate something and you lose the next turn!
@SimonAndréForsberg Nope he's second that's why he have the coin ( AHAHA I;m so funny :P )
What would we do without you, @Marc-Andre? :)
@Marc-Andre I lost the game, but not sure if I'd have won anyway
@Marc-Andre Oh, the humor :)
I don't know what you would be do ! But it's been like 1 hour since I'm up so I'm still not yet wake up completely!
15:24
I'm just one inch away of being productive today
I just disliek setting up new projects :|
@skiwi I like how you corrected your smiley but not your typo :P
2 hours ago, by skiwi
I regret not doing anything useful yesterday now
[skiwi2/Fragments-Server] Ping: Speak like a human.
You want to regret something tomorrow too?
@Marc-Andre Oh crap
15:29
@Duga you're one to talk...
@SimonAndréForsberg are you using the Play Game Services to secure your app? seems like that forces the user to have an internet connection if you want to use it for anti piracy?
naaah, I don't care that much about anti piracy stuff
How does Cardshifter use websockets?
By sending raw strings over it? Or some protocol on top of it?
yeah i started the process and it seems a bit complicated
@skiwi HTML-client uses JSON, LibGDX-client uses binary data and transforms that to Base64.
15:33
@SimonAndréForsberg Ah okay, there's also some protocols that try to mimic some parts of a REST API for example
@bazola I'm just happy people play my game, whether they bought it or pirated it.
but right now I really can't be bothered by some other new framework and setting it all up
Hallelujah! ^^
I wonder if I should write Groovy code or Groovy-Java code though
most likely the people who are going to steal a game were not going to pay for it anyway
15:34
Looking mainly at the Streams implementations and the alternative in your answer @SimonAndréForsberg
@bazola Make it easy to buy and play and more people will buy it. Since Steam, I don't think I ever pirated a game, since it's so easy to just buy it, donwload it and play!
people just hate paying for software on their phone for some reason
@skiwi Just write some code. I personally find nothing wrong with using some Groovy features, some Java 8 features.
@bazola That's true, I don't know why. But I don't like mobile games. Most of the time they need internet and I'm on my phone when I'm not at home so.
I barely play anything at my mobile
I have my PC for a reason :p
15:40
I've gone the other way and mostly do mobile gaming, but i guess part of the reason is that PC gaming has become a bit stale for me
I don't even remember how to run my Grails server :|
Well I do like to play when I'm in the bus, but I have a 3ds for that
I thought it was grails run-app, but ti gave up on me
mobile gaming seems to be where the innovative gameplay is happening
There sure is a market for mobile games!
15:41
lately i have been wanting to make an FPS though
@skiwi Why Grails? Why a webserver at all?
@SimonAndréForsberg I thought it may be useful if it offers things like dependency injection by default
One point I absolutely hate about IntelliJ is setting up a new project with frameworks, it seems almost impossible to get it right in one try
Oh and the project can be added to Tomcat for example easily
@bazola I think for fps at the moment you need to have an awesome universe and story to tell, do something really well balanced for competitive play or find something really special (to have something successful)
@skiwi for your Fragments game server? That is definitely not how I would make it. I think that just removes simplicity for no reason.
@SimonAndréForsberg How would you approach it?
15:45
@Marc-Andre my idea is to take my recent unity experiment where you jump higher and run faster for each powerup you get, and cross that with rail guns or rocket launchers from quake
@skiwi How have I approached it in Cardshifter?
@Marc-Andre I thought people played FPS just to shoot at things.
maybe you drop all your power ups when you die like in bomberman
@skiwi write a standalone Java/Groovy server application that you can run with java -jar, that's how I would approach it.
@SimonAndréForsberg I'm a big fan of fps and yeah people wnat to shoot at things. But if I shoot at things just for the sake of it, you must have something fun for me or else I'll go play one of the 20 other fps that have something special for me
@SimonAndréForsberg That's not necessarily how you would approach it now though
Okay, for you it is, but it's quite possible that someone would do something differently than he did a year ago based on experiences, that's why I asked
Now IntelliJ is complaining that I'm not using Gradle
@skiwi right. Based on my experience though, the approach works fine, so I have no plans on changing it.
Okay :)
Right, not going to bother with this right now
I'm in a bad mood and IntelliJ is absolutey not working in my favor
I don't know what was going on, but it doesn't let me add Gradle support and Grails will not run
@Phrancis That looks great!
No, don't give up @skiwi! Show who's the master!
Meanwhile, I'm reading through the AngularJS tutorial
15:59
have any of you heard of or used pluralsight.com or lynda.com
Strange, my BusinessSoftware project is working as expected
@bazola I used pluralsight at school for a project
@SimonAndréForsberg Which one?
i heard about them on a podcast but they were saying it was a lot cheaper than trying to buy books to learn new languages and tech
@bazola never heard about any of them, but I wonder if they have heard about Stack Exchange...
16:01
So checking a project out from Git, creating an IntelliJ project and Running grails create-app doesn't work together
SE is awesome but it is certainly not the same as an online course that teaches you every step of how to do something
Nevermind, I did not click the link, never used Pluralsight yet
I'm suppose to for work
Maybe I should read the documentation
@bazola And not having people saying DUH go read a tutorial online you NEWB, do you know how to google
@Marc-Andre haha :)
16:04
@SimonAndréForsberg There's still hope left
@skiwi Isn't REST a HTTP practice?
@jacwah Yes, but people shoehorned it into WebSockets
@skiwi Why not just use HTTP?
Don't ask me :)
Probably because WebSockets are full-duplex
> This is being redone. I think that the checking for action.targetRequired and other various things should go in the event handler for UsableActionMessages so the buttons are displayed differently on the screen.
16:25
74
A: What's the best practice to "git clone" into an existing folder?

Andreas KreyDon't clone, fetch instead. In the repo: git init git remote add origin $url_of_clone_source git fetch origin git checkout -b master --track origin/master # origin/master is clone's default Then you can reset the tree to get the commit you want: git reset origin/master # or whatever commit yo...

More people should know this ^^
[skiwi2/Fragments-Server] skiwi2 pushed commit 47ddf665 to master: Initialized Grails application.
Now I need to recreate my Github SSH key because I appereantly put a passphrase on it :|
Which totally defeats the purpose of easily being able to do git operations
@skiwi That's interesting.
I've always used git clone and copied files around.
@Duga @SirPython ok, thanks!
 
1 hour later…
17:35
Ah cool, you can update the passphrase of an ssh key easily
17:47
Monking!
Hello, @Phrancis!
17 hours ago, by Phrancis
@SimonAndréForsberg Whenever you're around, is ^this^ OK with you? If so, could you link me to the server code that returns the flavor? should be easy enough to do it just like that, I would think, since all we need is just a string of text.
@Phrancis ugh... server code that returns flavor... what do you mean by that, exactly?
or rather, what are you going to do with that code?
@SirPython can I expect any commits to game-board this evening?
{
  "MAX_HEALTH" : 10,
  "SICKNESS" : 1,
  "MANA_COST" : 30,
  "ATTACK" : 3,
  "HEALTH" : 10,
  "ATTACK_AVAILABLE" : 1,
  "flavor" : "The Great Grandfather, Emperor of all Deities, Vanquisher of Evil.",
  "name" : "JADE EMPEROR",
  "description" : "Give creatures of type Chinese owned by you on Battlefield 3 HEALTH\nGive creatures on Battlefield -1 ATTACK\n",
  "type" : "Chinese God"
}
All I was looking to do is exactly what "flavor" does, just an arbitrary string of text input on the card in the DSL, that comes back from the server in JSON when called
@SimonAndréForsberg I sure hope so. I am currently working on ironing out a bug with displaying the different types of actions (by player vs by card). Sorry if not many come; I am going to encounter obligations later today.
17:51
gotcha (x2)
Then we can just plug it into say an img element like <img src="images/cards/{{imagepath}}">
@Phrancis okay, so you want to create the actual property? in that case, check ECSAttributes.java
Okay
@SirPython Are you OK with this approach as well for images? (for now)
@Phrancis Looks fine to me, so far.
	public static final ECSAttribute NAME = new ECSAttributeDefault("name");
	public static final ECSAttribute FLAVOR = new ECSAttributeDefault("flavor");
        public static final ECSAttribute IMAGE_PATH = new ECSAttributeDefault("imagePath");
Is that all I'd need to do in that first one?
> Store the last entered username in some localstorage so that you don't have to re-type it every time
17:59
Nice OK, let me get on that shortly then
Isn't there a Groovy way for it?
I thought lots of stuff was Groovyfied regarding game settings
@skiwi there could be, but we haven't Groovyrized this part.
Ah clear
@skiwi lots of stuff are Groovyfied, just not everything.
What's the most concise way that could work?
18:03
don't know
I don't know that we need to Groovify everything, either. I mean, if it's working fine, and you could be spending your time working on something more important instead of refactoring just for the sake of it...
Not like Java is not a great and powerful language of its own, right? :)
stores last entered username in local storage

Now, when logging in, the username you entered is stored in local storage. That way, the next time you log in, you don't have to keep re-entering your username: the username field will hold the last username you entered, which will be stored in local storage.

Closes #63
I'm still trying to figure out how to create a server that in principle does not depend on WebSockets
18:12
@Duga @SirPython I love it when issues are handled quickly! Good work!
@SimonAndréForsberg That could be a starting point, yes ^^
Am I crazy or is there no interface that defines something like start/pause/stop?
You want your server to be able to handle regular sockets in addition to WebSockets?
Implementing Runnable seems pretty bare-bones
@skiwi what would you use it for?
18:14
@SimonAndréForsberg To be able to pause or stop the server
Rather than messing with InterrupedException
@skiwi Why would you want to pause the server?
Where code meets caffeine :D
@SimonAndréForsberg I don't know, it just seemed natural to me right now after haven't having used Java for a while
@skiwi Make the interfaces according to what you need, don't make what you need according to your interfaces.
I'm expecting taht there would be some kind of interface for start/pause/resume/stop
18:17
video players probably has it, but ordinary Java apps probably don't, and doesn't need it.
I would need to stop it ultimately on server shitdown
Is that expected? ^^
for the record, when I first made Cardshifter server, I didn't write specific interfaces for the classes. I just had the classes. You can always extract interfaces later.
@Phrancis ignore it for now.
Okay
I kinda forgot how interrupting a runnable or thread worked :P
18:22
@Phrancis the branch you have been working on on the HTML-client, what is it that you do and will do there?
> This commit contains multiple merge-conflicts. I'd recommend avoiding commiting merge-conflicts.
@SimonAndréForsberg Graphical/HTML/CSS layout of the different sections
(i.e., not modifying any of the JS or anything "functional")
got it
Keep up the good work :)
18:27
Merci :)
I'm building the addition of image path then I'll commit to mods once it works
Good grief my Macbook is acting slow. Perhaps a reboot is in order...
Adding tests for TestMod
Adding tests for Cyborg-Chronicles
Adding tests for Mythos
Hmm that must be new, I don't recall seeing TestMod...? Or maybe I just never noticed it
@Phrancis it's only used in the tests, it's not a real mod and is not distributed in the .zip file.
OK
> BUILD SUCCESSFUL
stores and remembers all form data

Issue #63 recommended to remember the username. To expand on that, this commit ensures that the login form remembers ALL the data entered into the form. Right now, it seems like it could be a little repetitive.
reduced repeating in storing and fetching of previous login data

Before, when either storing or fetching data from local storage, there would be four practically identical lines to complete the action, which is not very pretty.

To fix this, a map/object was created called loginStorageMap. In this map, the keys are the name of the place in local storage where this data is being stored (for example, CARDSHIFTER_LAST_NAME). The values are the $scope property that will later be stored at this me
18:34
@SirPython I noticed that <li>{{$eval(Object.keys(info.zones.Hand.entities)).length}} cards</li> doesn't work properly, any clue why?
Absolutely none.
[Cardshifter/Cardshifter] Phrancis pushed commit 5b3442ab to mods: Added imagePath attribute for cards. Fixed #346
As a solution, I had originally created $scope.opponentHandSize`, but that was ugly, so I deleted it and put the issue to the side.
I'll try to fix that then
I'm still confused when to use def and when not in Groovy
@skiwi you can use def everywhere if you want
Yeah, but I find it confusing more often than helping
me too quite often, so I don't always use it
if you find it confusing, don't use it.
I can understand def list = [1, 2, 3]
I'm getting blocked on creating a Server class, it's not as easy as I thought initially
Maybe I should first create it as normal and try to refactor stuff out
If you have never created a Server before, then it is quite tricky yes.
18:44
I'm pretty sure I've done stuff with it, I just don't exactly remember
18:55
> I talked to @jay1148 and he will provide us generic logos for Cardshifter, Cyborg Chronicles and Mythos that can be used as placeholders until a card has an image of its own. Eventually, most if not all cards will have an image of their own. This will not require any coding, just adding this attribute to each card.
@Duga @Phrancis when you do that, you could make it apply for all cards at once, easily, if you'd like.
Orly? That would save me some copy-pasta time
actions performed by cards get buttons right next to the card

Before, any and all actions would be put up at the top of the screen with the rest of the actions. This led to great confusions both on the UX side and the code side because some actions like Play are sent multiple times for each card that can perform this action. Therefore, the server would not like it if a RequestTargetsMessage was sent for a message like that, because the UsableActionMessage would already contain the targets.

N
bound startAction to click of buttons that belong to specific card

Like the buttons that appear at the top of the screen, these buttons will now call startAction and will successfully send the request over.

So far, it seems that everything with performing actions is working except for attacking
[Cardshifter/HTML-Client] Zomis pushed commit a75d4f6d to game-board: fixed bug with card count not showing properly for opponent hand, fixed by adding a function: zone.length
@SirPython ^^

« first day (385 days earlier)      last day (3476 days later) »