« first day (479 days earlier)      last day (3083 days later) » 

12:00 AM
RELOAD!
[Cardshifter/Cardshifter] 2 issue comments.
 
@bazola Thanks for the link! I am currently trying out a few of the tips.
 
[retailcoder/Rubberduck] 10 commits. 8282 additions. 8181 deletions.
 
However, I also read something in the libGDX GitHub wiki about speeding up builds (I haven't tried it yet):
 
[rubberduck-vba/Rubberduck] 36 commits. 1 opened issue. 1 issue comment. 20713 additions. 20646 deletions.
[Zomis/Brainduck] 1 commit. 1 addition.
 
Apparently, if you compile and then run in HTML using super dev mode, you can use the super dev tools to quickly recompile the Java code "in seconds"
Oh, and by the way, the first tip along on that page has really cut back on the initial compilation time.
 
12:42 AM
i figured it would help
 
 
10 hours later…
10:15 AM
hey
 
 
2 hours later…
12:13 PM
hey
 
 
1 hour later…
1:41 PM
hey ! I really like the design of the site! Simple yet elegant and powerful!
 
I know!
 
Feeling great @Phrancis ?
 
1:57 PM
@Marc-Andre Pretty good, coffee hasn't kicked in enough yet to counteract the allergy medicine though lol. How are you?
<meeting>
 
@Phrancis I'm feeling great! I'm happy!
 
</meeting>
@Marc-Andre Anything specific you're happy about, or just in general? :)
 
In general. I'm a pretty happy person in general. I'm always smiling and always trying to be funny. Not that I don't feel sadness or anything just that I prefer to be happy!
 
2:19 PM
Gotcha, that's good :)
 
And Halo 5 is a butt ton of fun too
 
Ah nice! I might be getting a PS4 this week myself, really good deals for Thanksgiving
 
But you won't be able to play Halo 5 with me! Get an Xbox one ! :D
 
AGH!!!
Typing up a detailed email reply to a vendor using their web interface so that it is encrypted, click send, and then their thing tells me the session expired and I need to start again :|||||||
 
You know security !
 
2:36 PM
I guess it's understandable, but I just wasted like 15 minutes of my day because of it lol.
Next time I'll type up the email in Notepad++ and only add it in their encrypted web interface once I'm ready to send it :)
 
Good solution!
 
@Marc-Andre You know, the only game I've really played on Xbox 360 that I would perhaps want Xbox One for was Forza Motorsports, never cared for Halo much (shooters aren't really my thing)
There's a package right now for PS4 500 GB + Star Wars Battlefront + Destiny (with expansions) for USD $349 that sounds pretty interesting
 
2:52 PM
@Phrancis (shooters aren't really my thing) ... And then you say a bundle with two FPS looks great :P
IMO Halo 5 is way better than destiny and Battlefront
but that my opinion
 
Well, Battlefront looks a lot like Call of Duty, which is unfortunate
I like Destiny though, it feels "fresh" compared to most shooters
 
@Phrancis I've played Destiny A LOT and it is not
 
But in any case, all the bundles right now are either Star Wars, Call of Duty, or the collection of PS3 Uncharted games (all 3 of which I already have)...
 
Monking^2
@Phrancis Ctrl+A Ctrl+C Ctrl+C Ctrl+C is the redemy
 
Be back this afternoon! have a nice day all!
 
2:58 PM
@skiwi The page gives you no prior warning though, you click Send and then it tells you that you have to start over
 
@Phrancis So you save before you send ;)
 
Well, now I know I need to lol
 
3:35 PM
is @Phrancis, the SQL guru, here? ^^
A problem has found me...
 
Yeah what's up?
 
I have stuff in the form of domain objects, but I think it translates to raw SQL as well
class Planet {
    Player player
    Coordinate coordinate
}
 
Ok
 
class Coordinate {
    static constraints = {
        universe unique: ["galaxy", "solarSystem", "position"]
        galaxy range: 1..9
        solarSystem range: 1..499
        position range: 1..17
    }

    Integer galaxy
    Integer solarSystem
    Integer position
}
Consider those two classes
A Player also has an Universe property...
Now I want all planets to have unique coordinates in every universe
 
ok...
 
3:40 PM
If you see it as pure SQL then we have:
- universe (universeId, universeNr)
- player (playerId, ..., universeId)
- planet (planetId, playerId, coordinateX, coordinateY, coordinateZ)
At least that's what I imagine
The problem I see is that I cannot make an unique key on (universeId, coodinateX, coordinateY, coordinateZ) in the planet table
 
Perhaps irrelevant, but a planet has a player id?
Ok.. are coords X Y Z floating point/decimal, or integers?
 
They're integers
Defining the key should not be a problem if we have the fields... Only I can't get the fields
 
Why can't you get the fields?
 
Because they are in another table
 
Oh, so you can't make a constraint on two tables together eh, is what I gather is the issue?
 
3:48 PM
Yeah, that's waht I think at least
 
Why not make the unique constraint on (planetId, coordinateX, coordinateY, coordinateZ) instead?
 
Because then you forbid two planets on the same position in different universes from existing
 
Nevermind I get it now
So to me it sounds like what you really need is a unique constraint on (universeId, planetId, coordinateX, coordinateY, coordinateZ) right?
 
Yeah
but I don't have universeId locally
it's hidden behind playerId
 
What do you mean "hidden behind"?
 
4:01 PM
The universeId column does not exist in the planet table, but you can obtain it if you join planet withplayer on playerId
 
@skiwi This might be a case where you need to denormalize the data a bit so you can enforce the unique constraint, by keeping a copy of the universeId in the planet table as a FK
Not ideal, but sometimes necessary
 
@Phrancis I'll start working on the home page tonight, so if you have time I'll need the logo, a cool screenshot of a game, an image that would represent modding (I don't have an idea) and a printscreen of a class the project. I can do some, but I'm not the one most used to the game.
 
That's the only way really? :(
Appereantly it's not a trivial thing at all
I've got a different solution right now though @Phrancis
I gave the Coordinate an Universe property
And then in the Planet domain I ensure that coordinate.universe == player.universe
Creating the coordinates explicitely, rather than storing them flattened into the planet seems like quite some overhead, but let's see if it works out
 
4:21 PM
@Marc-Andre OK
@skiwi That does seem a bit more overkill than just adding an additional column, but hope it works out
 
4:47 PM
@Phrancis Can't work on this for a few days :P
Though wait... You say the planet should just have the universe property copied from the player?
Maybe I can get that to work easily after all
 
^^ Very
 
Hm dinner, need to implement it afterwards then ^^
because I have an idea
 
TFL
 
 
1 hour later…
6:10 PM
New attempt @Phrancis
class Planet {
    static constraints = {
        universe validator: { universe, object ->
            universe == object.player.universe
        }
        coordinate unique: ["universe", "coordinate"]
    }

    static embedded = ["coordinate"]

    Player player
    Universe universe
    Coordinate coordinate

    def beforeUpdate() {
        universe = player?.universe
    }
}
Hope you can follow it somewhat ^^
 
6:43 PM
http://www.commitstrip.com/en/2015/11/24/the-new-framework/
CommitStrip
The New Framework
CommitStrip
1448390534
 
@bazola for the record, on Android there is A LOT of bugs that can appear by rotating the device. In LibGDX though, I would expect much less bugs
 
6:56 PM
@SimonForsberg eventually i found out that the problem was caused by my calling refresh() on my menus before they were actually open. the viewResized() method is called when a screen is first displayed, so its kind of like a race condition as to whether the object will be fully created when that resize method is called by libGDX. if its not fully created yet, it causes problems like that
 
8:03 PM
It's not really "production ready", but thanks for giving me some feature-requests to my open source Brainfuck IDE - BrainduckSimon Forsberg 1 hour ago
@SimonForsberg I wish I'd come up with that name. — FracturedRetina 58 mins ago
 
8:45 PM
@skiwi Kinda
Well, mostly, yes
static embedded = ["coordinate"] that I don't know what this means. Other than that seems clear enough
 
It means that instead of making a join-table or any fo that sorcery, the properties belonging to coordiante are directly written to the planet table
 
oh, ok
 
But now I think Grails doesn't know how to use the coordinate as an unique constraint :|
 
 
1 hour later…
9:51 PM
Is there a link on the cardshifter website that brings you to play.carshifter.com?
 
10:16 PM
o.o
I'm going to kick myself if there is not
Click Play Cardshifter in the left menu
@Phrancis @Marc-Andre we need to rearrange that a bit to where when someone clicks to Play, damnit, it takes them straight to where they can play. If they want to start a server, we can just post a link somewhere on that landing page
4
 
Maybe we can have a button saying "Play Carshifter online" and we can rename the other button to "How to start playing Carshifter"
 
Maybe
 
 
1 hour later…
11:45 PM
Loki Astari vs. Simon Forsberg: 2623 diff. Year: -3153. Quarter: -125. Month: +373. Week: +89. Day: +104.
Mat's Mug vs. Simon Forsberg: 2272 diff. Year: +3162. Quarter: +429. Month: +397. Week: +95. Day: +90.
200_success vs. rolfl: 2893 diff. Year: +2146. Quarter: +918. Month: +1008. Week: +295. Day: +60.
200_success vs. janos: 15425 diff. Year: -4175. Quarter: +877. Month: +311. Week: +200. Day: +105.
 

« first day (479 days earlier)      last day (3083 days later) »