« first day (354 days earlier)      last day (3212 days later) » 

12:00 AM
RELOAD!
[Cardshifter/Cardshifter] 14 commits. 1 opened issue. 1895 additions. 390 deletions.
Saved Cardshifter/Cardshifter
Saved Cardshifter/cardshifter.github.io
 
what!?
that's all?
 
Saved Cardshifter/extra-resources
Saved ckuhn203/Rubberduck
Saved ckuhn203/VBEX
Saved Hosch250/MeekSTVVoteCounter
Saved Hosch250/ResxEditor
Saved Hosch250/ResxTranslationHelper
 
perhaps it's time to do some work on @Duga again....
 
Saved Hosch250/Rubberduck
Saved Phrancis/GroovySwingPostgres
Saved rubberduck-vba/Rubberduck
Saved ShearOfDoom/Cactus
Saved skiwi2/BusinessSoftware
 
@SimonAndréForsberg 14 commits by yourself is pretty good, I'd say
 
12:03 AM
Saved StackExchange/StackExchange.DataExplorer
Saved Vannevelj/RoslynTester
Saved Vannevelj/VSDiagnostics
Saved Vogel612/JavaBot
Saved Vogel612/TranslationHelper
Saved Zomis/BrainDuck
Saved Zomis/CodeReview-Shield
Saved Zomis/Duga
Saved Zomis/Minesweeper-Analyze
Saved Zomis/Prosit
Saved Zomis/Rubberduck
Saved Zomis/SE-Scripts
Saved Zomis/Server
Saved Zomis/StackSTV
Saved Zomis/SudokuSharp
Saved Zomis/test
 
 
8 hours later…
7:56 AM
hey
 
 
2 hours later…
10:25 AM
morning
 
 
5 hours later…
3:00 PM
@Simon work on the multiplayer server for UTTT and Battleship, and have a bot fight with maaartinus. And get rid of that reload spam when things are saved
 
3:43 PM
hey everyone ! :D
Intellij is complaining that JAVA_HOME is not set... I have no idea how to set it in Linux :(
Adding BOTH IDEA_JDK and JAVA_HOME as environment variables, both pointing to the JDK, works. — Simon André Forsberg Dec 18 '14 at 0:13
lol
Found you @SimonAndréForsberg!
2
 
did the advice work, @Marc-Andre?
 
Well it will work when I find the way to add a the env variable. I know how to do it in Windows, but Linux is still pretty new to me
oh look like I need to relog.
brb
worked !
I needed to add a profile it looks like
 
4:08 PM
@Marc-Andre I believe you use the export command. You might need to add it to your .bashrc file though. Not entirely sure
 
@Marc-Andre You folks have it really good with Java! ;)
 
@skiwi Why ?
 
I spent two days to realize that I was building 32-bit libraries instead of 64-bit libraries in C++
And it were not only my eyes looking at the setup
 
@SimonAndréForsberg I add it in a bunch of places should be good :D
 
@skiwi Congratulations.
@Marc-Andre that's how I also tend to do :)
 
4:15 PM
@skiwi This is one of the reason I like Java, C# and other languages like that ;)
 
@Marc-Andre I think you can still mess things up in C#, but it requires you actually going there
Not sure how C# interoperates with libraries
 
We can always screws things up!
2
 
If you go the JNI or JNA route in Java then you can also be prepared for the hell
 
 
2 hours later…
6:02 PM
do you think that running this on 15000 objects every tick is going to hurt performance a lot?
public void update(boolean powered, boolean watered, int desire, int taxRate) {
    if (desire < 60) {
        happiness--;
    } else {
        happiness++;
    }
    if (!powered) {
        happiness--;
    } else {
        happiness++;
    }
    if (!watered) {
        happiness--;
    } else {
        happiness++;
    }
    if (taxRate <= 1) {
        happiness++;
    } else {
        if (taxRate == 3) {
            happiness --;
        }
        if (taxRate == 4) {
            happiness--;
 
Honestly, not really. It's pure maths.
If it does hurt performance, do it on less objects every tick. For example, only on A objects first tick, next tick only on B objects, then on C objects, etc.
And consider happiness += desire < 60 ? -1 : +1;
 
the ternary will be slightly higher performance?
@SimonAndréForsberg thats a really good idea :)
 
@bazola nope, same performance I believe. Just readability.
 
@SimonAndréForsberg ah okay. i appreciate the help
i was hoping it wouldnt be too bad of a performance drain :) it'll spice the game up a bit to have this in there
 
6:37 PM
@bazola I would try to write it in one expression with the least amount of expensive operators... It's only worthwhile though if you are not going to modify it a lot
 
6:51 PM
@skiwi expensive meaning which operators? the ++ --?
 
@bazola I don't know about that part ;)
 
7:09 PM
[Cardshifter/Cardshifter] Zomis pushed 70 commits to groovy
[Cardshifter/Cardshifter] Zomis pushed 68 commits to libgdx-ui
 
Time for @Travis to do some @work
 
[Cardshifter/Cardshifter] Zomis pushed commit 946ae372 to rules: changed how Scrap action is specified, removing the need for the ScrapSystem, and fixing #325
[Cardshifter/Cardshifter] Zomis pushed commit 2e1f27b2 to rules: deprecated CyborgChroniclesGame (previously known as PhrancisGame). Contains constants that are only used in TestMod and AI code.
[Cardshifter/Cardshifter] build for commit 3f2eb725 on develop: The Travis CI build passed
[Cardshifter/Cardshifter] build for commit 2e1f27b2 on rules: The Travis CI build passed
[Cardshifter/Cardshifter] build for commit 3f2eb725 on develop: The Travis CI build passed
 
7:41 PM
[Cardshifter/Cardshifter] Zomis pushed commit 45a666b7 to rules: moved scrap-related rules to scrap.groovy
[Cardshifter/Cardshifter] build for commit 45a666b7 on rules: The Travis CI build passed
 
 
1 hour later…
10:00 PM
@SimonAndréForsberg Wow. I love it. Does everything work as expected?
 
@Phrancis from the limited testing I have done, yes
the automatic tests have been a big help :)
 
I bet!
I can pull from rules and do some manual testing if you like, just run a few games etc. Did you add in those changes in Mythos as well or do those need done?
 
10:27 PM
@Phrancis it's fixed for Mythos too. Feel free to pull from rules, or just let me know and I can type gradlew snapshot (I love that command)
@Phrancis Note that it's even possible to specify rules in other files, that can then be included. For example, all the scrap stuff is contained here: github.com/Cardshifter/Cardshifter/blob/rules/extra-resources/…
 
> Add showing a line in the end graph for how much a candidate needs to be elected, and how many votes has been wasted.
 
10:42 PM
@Duga yeah, right, as if I'm gonna work on that again any time soon....
 
> The rules approach has now been implemented, as specified in #247, and is also ready for documentation!
 
11:39 PM
@Duga Did I hear documentation? ;)
 
200_success vs. janos: 16041 diff. Year: -3559. Quarter: -638. Month: -638. Week: -95. Day: +65.
200_success vs. rolfl: 2279 diff. Year: +1533. Quarter: +1867. Month: +1867. Week: +65. Day: +200.
Simon André Forsberg vs. Mat's Mug: 135 diff. Year: -755. Quarter: +749. Month: +749. Week: +52. Day: -56.
Loki Astari vs. Simon André Forsberg: 2990 diff. Year: -2786. Quarter: -1190. Month: -1190. Week: -208. Day: +20.
 

« first day (354 days earlier)      last day (3212 days later) »