« first day (398 days earlier)      last day (3168 days later) » 

12:00 AM
RELOAD!
 
ᕕ( ᐛ )ᕗ
 
[Cardshifter/Cardshifter] 7 commits. 2 opened issues. 3 issue comments. 98 additions. 36 deletions.
[Cardshifter/HTML-Client] 1 opened issue.
 
12:10 AM
@Duga no RubberDuck activity?
 
I was wondering the same thing.
 
12:24 AM
@SirPython your Selfies post made the newsletter
 
Wow! Perhaps I should write some more SQL :)
 
Ethan's made it too
 
Generally, SQL questions are pretty well accepted on this site.
 
With the exception of dreaded [PHP] MySQL ones lol
My first ever CR question was MySQL -.-
 
More specifically, SEDE queries are the ones that are well accepted.
7
Q: Modifying `sakila` database

PhrancisThis is not "real life" code. I'm trying to expand upon the well known Sakila sample database for MySQL to make it more complex. Step 7 (or 6) is running surprisingly slow. PS: Note these are all separate queries executed against the same database in the order specified. Add columns to sakil...

 
12:28 AM
Yeah, SEDE ones are popular because they're relatable, it has some Meta to it
 
Yes. It certainly is a good feeling to be able to see live results right in the browser that are already strongly related to the environment that you are currently in.
 
Yup. Good practice environment also for those interested in SQL in general. SE have one of the most well-designed databases I've ever seen... Much better to work in than a lot of production databases
Especially that legacy shit, it's the pits
 
It's also very nice for practicing, considering the database is filled with realistic and live data.
 
Indeed
 
12:44 AM
Hopefully I will have time to fix the bug in server-stats tomorrow. My schedule has been really throwing me off lately.
 
1:21 AM
We're back online I think
 
 
2 hours later…
3:27 AM
 
4:02 AM
 
 
2 hours later…
6:00 AM
monking
 
Monking!
@Phrancis It's really a processor/OS thing. If an unprivileged process tries to access memory it's not allowed to reach, that's called a segmentation fault and the process is immediately killed.
But you mostly run into it in C/C++ where you manipulate raw pointers and such.
 
@jacwah is that why 'smart' pointers exist and are now the recommended thing?
 
@ARedHerring I don't know any C++, but I would expect so from what I've read on CR
> Smart pointers should be preferred over 'raw' pointers. If you feel you need to use pointers (first consider if you really do) you would normally want to use a smart pointer as this can alleviate many of the problems with 'raw' pointers, mainly forgetting to delete the object and leaking memory.
Sound like a GC thing
617
Q: What is a smart pointer and when should I use one?

Alex ReynoldsWhat is a smart pointer and when should I use one?

 
@jacwah One would assume that because the memory is being handled automatically via smart pointers that would eliminate the possibility of bonehead exception-style segfaults
I shall someone one of our resident C++ users: @Morwenn
Maybe she can weigh in later :P
@Phrancis ┬─┬ノ( º _ ºノ)
 
6:17 AM
@jacwah When I say unprivileged, I mean basically anything that's not the kernel.
 
 
3 hours later…
9:04 AM
@ARedHerring s/she/he/
 
...Why did I assume Morwenn was a she?
 
9:24 AM
hey
 
9:39 AM
monking @skiwi
 
10:03 AM
@ARedHerring Hmm, I thought so too
 
I thought so too at some point
 
shrug
 
10:33 AM
Internet rule #1: Don't assume anything about anybody. If you succeed in doing this, tell me how.
 
@SimonForsberg For that to work you first need to assume that you won't be assuming anything about others
 
1
A: AngularJS: Return different values for $http success() or error()

Pankaj Parkar$http.put wrapper return a promise, that doesn't have .success/.error method, you could use .then instead of success & error callback. Return promise from that updateData function, so that the callee method method will have bar.updateData().then(funtion(data){ //code here }) Code bar.updateDat...

this answer is completely incorrect and yet made by someone with 1.4k answers in the AngularJS tag??/
 
11:20 AM
Monking!
@Simon ^^ Do you know if I can tell IDEA to stop evaluating .cardset files as Groovy? I tried to make a simple syntax highlighter with IDEA UI but it didn't help that at all
I looked all over the internet and couldn't find a way
 
@Phrancis you probably can, in the same way you made IDEA evaluate them as Groovy in the first place
Aug 30 at 15:33, by jacwah
@Phrancis Settings>Editor>File types>Groovy>+>*.cardset
 
That's only for syntax highlighting AFAICT
 
how did you make it evaluate the files as Groovy then?
 
I think there was one of those little bars at the top telling me I should (when I first added the .cardset file type as Groovy?)
Hope I don't have to reimport -.-"
 
I don't think what you have done should matter really. You can still use the IDE as usual, right?
 
11:32 AM
Sure
 
by the way, how do you survive without line numbers?
 
I usually have line numbers on if I'm "coding" coding, but I don't find them particularly helpful just making cards and such
 
okay, your choice
I find them always helpful
 
Hmm I'll try adding the extension to plain Text files and applying, maybe it will "forget" that I told it to evaluate as Groovy before
 
[Cardshifter/Cardshifter] Phrancis pushed commit 538b35f1 to mods: A few adjustments to Greek cards
 
11:43 AM
Maybe at some point it would be an interesting idea to define an actual language for Cardshifter DSL ... confluence.jetbrains.com/display/IntelliJIDEA/…
TTGTW
 
yeah line numbers are a must :)
 
[Cardshifter/Cardshifter] build for commit 538b35f1 on mods: The Travis CI build passed
 
12:42 PM
@bazola if the water overlay shows most zones as red, that means I have low water right? How does water actually propagate to zones?
 
12:55 PM
you have to have a water tower connected to the other zones, and each water tower only supplies a certain amount of water
 
1:06 PM
[skiwi2/HearthMonitor] j0th starred us
2
 
and then unstarred it lol @Duga
 
hey good morning everyone!
 
monking @Marc-Andre
 
@Marc-Andre Bonjour!
 
1:25 PM
This morning I was playing pokemon and I one shoted a legendary .... had to reset...
 
1:37 PM
Oh bleh
 
Yep I'm a sad panda
I want all the legendary!
 
Haven't had a Pokemon game for a while... are they still only on the Nintendo DS?
@bazola So both power and water propagate through zones "touching" one another?
 
They are other pokemon games on certain consoles, but the most popular one are still on DS. I think there is a battle one made by independent need to check
 
I'm guessing you probably need one of the newer DS though, right? I still have the old white one, 2nd gen I think?
 
The later one need the new 3ds but up until X and Y are on the normal DS I think. But If you're like me and loved the first blue/red pokemon game grab an emulator and download a rom for fire red or green leaf and ENJOY
You can play on your phone
 
1:49 PM
@Marc-Andre I played Blue like an addict haha
Good old Game Boy Color
 
Did you watch one of the speed of pokemon blue ? It's so broken
 
game boy colour was my first handheld!
 
They make GB emulators for phone? Including iOS?
 
and pokemon yellow was the first game i ever owned
 
@Marc-Andre Sure haven't
 
1:50 PM
@Phrancis There is one on Android... I'm sure there is one for Iphone
 
@Marc-Andre Doesn't look like it :\
I have a NES and Super NES emulator on my MacBook, maybe I can find a Game Boy one as well
And to this day, I still have not beaten Ninja Gaiden, after many many attempts, LOL
 
@Phrancis GBA4iOS looks like it should fit
 
2:06 PM
@Marc-Andre Can't find on my phone app store, does it say what iOS or hardware versions it supports?
 
Well maybe it has been ban I don't know...
But you can have an emulator for MAC I'm sure... or else I would be very sad
 
Oh yeah of course
(And usually, we say OS X, not MAC lol)
Wouldn't surprised me if it got taken down
 
@Phrancis yeah thats right
i believe there are website based emulators that will work with iOS
 
@Phrancis If you want to be picky MR FanBoy (eheheh I'm just kidding :P )
My life be like OoH AaaH
 
2:29 PM
o.O
 
2:40 PM
It's Friday and we have a long weekend so I'm happy :D
 
Oh nice. I'm working Monday :\
 
I'm not :D
@Phrancis Do you still have some family in Quebec ?
 
Probably going to be very slow since it will be holiday, so I'll bring my Mac to work :)
@Marc-Andre Yeah, all of it is in QC
 
@Phrancis so I'll bring my OS X
 
Oh hush ;p
 
2:43 PM
Unless the computer is a Mac that is running OS X
 
^^
 
So you'll bring your Mac at work to play pokemon on an emulator for OS X
@Phrancis Quebec city or Quebec the province ?
 
I was more thinking of doing some Cardshifter work :p
@Marc-Andre Province. Most of my immediate family is in Saint-Georges, Beauce. My brother lives around Montreal
 
@Phrancis Oh ok! If it were a bit closer to where I live I would have propose you to drink a couple beer the next time you were visiting your family and that you would have time for it (I would not want you to miss some important family time)!
 
I'd like to have a beer with you (also also with Mat'sMug) next time I go up to Quebec :D
 
2:50 PM
That would be awesome! But If I remember correctly Mat'sMug is living a bit in the north.
 
I think he's around Laval or something like that
 
I didn't remember correctly lol
BTW if anyone is playing D3 seasonal on NA just ask me for a rush if you want.
 
3:07 PM
@Marc-Andre NA as in North America servers?
 
3:22 PM
Yeah North America, I don't have an EU account
@bazola I'll need to send you screenshots of your games, the tips and tricks are sometimes out of the box and if I tap the text it's like I'm tapping a tile
 
hmm, well sorry that it is messing up like that @Marc-Andre, please do send the screenshots. do you know what resolution your phone is
 
No problem ! I'm doing a "beta-tester" approach to your game ;) But I'll report a lot of things, so do you have a mail account for the game I could send information to you ?
 
pixelpocalypsegames@gmail.com is good
 
Thanks I'll use this to report
 
hey
 
3:32 PM
hey @skiwi!
 
How are you?
 
i really appreciate it. for the next game I believe I will get some paid beta testers because even after hours of testing, i could not catch every single bug. pretty expensive though
 
@bazola Next game you could ask us if we want to test a bit. I would be happy to help.
But I agree that pro beta testers is the best option.
 
i feel bad asking too much as I know that we are all very busy :)
 
Good point! Well next time you can ask me and I see if I can help you :D
 
3:41 PM
nice :) I'm looking forward to playing your game also
 
I'm looking forward to have something to show :P
 
What are you making @Marc-Andre?
 
Aug 20 at 0:19, by Marc-Andre
Finally did finish making moving an entity in my future browser game ! Thanks to all of you who got me into making a game. I always said to myself I would not do it, but hey it's so fun!
Just re-read our conversation @skiwi :D
 
One day :)
My internet just turned into a snail though
 
4:02 PM
Sigh... Blizzard and fixing bugs
 
@skiwi It looks like Blizzard has the same bugs as we do, compare that to this issue
 
@jacwah That's interesting
The bug has been present since forever in HearthStone though, it just never had a massive impact
 
it has been present since forever in Cardshifter too. No one has just cared about it :P
 
5:08 PM
Drat, I thought I was so original when I did that for my car.... using a piece of tape. — rolfl yesterday
 
Wrong place
 
@Phrancis I'm pretty sure you're in the right place
 
Why can't I attack GUAN YU?
(MAZU selected)
 
@jacwah Because he's the god of war, you don't want to attack him!
 
Can't attack the Shaman either :(
 
5:22 PM
Just glancing at the image, and I'm so confused about what the battlefield and what the hand is
 
@skiwi From the top: my hand, my battlefield, opponent's battlefield
 
Ah okay
 
The UI is not 100% there
 
@jacwah because Terracotta Soldier has taunt and needs to be attacked first, before you can attack anything else. Note that you also cannot attack the player.
 
@SimonForsberg Any way I can see taunt visually?
 
@jacwah because of issue 74 still being open.
 
Gotcha
 
Yeah that. I need to get that one done
 
lol wow, people never stop to amaze me
 
http://www.commitstrip.com/en/2015/09/04/when-your-colleague-uses-some-random-code-he-found-online/
CommitStrip - Blog relating the daily life of web agencies developers
When your colleague uses some random code he found online
CommitStrip
1441387633
 
5:35 PM
@skiwi Hahaha that's a great read
 
@skiwi it would be hard to live like that, worrying every day that they are going to catch you
 
Tough there's no catch, you're not doing anything illegal, you'd just lose you rjob which you do not even have :P
 
hopefully your next employer doesnt find your reddit :)
 
Haha, yeah, he wouldn't be that happy with it
 
apparently there are updates np.reddit.com/r/jobs/comments/3jjs1n/…
 
5:41 PM
Yeah.. read those
I know some of you will read it, and you'll regret it
 
5:56 PM
2 hours ago, by skiwi
https://www.reddit.com/r/hearthstone/comments/3jm4ze/blizzard_didnt_fix_the_jous‌​ting_log_bug/
@skiwi been doing anything else besides reddit in the past hours?
 
@SimonForsberg I had dinner aswell :P
 
I don't find the chat transcript of skiwi saying he need to be more productive
:P
@skiwi You're still at university right ?
 
the history is quite interesting...
 
Ahaha
 
@Marc-Andre Yeah
I have the right to do nothing :D
@SimonForsberg Don't show that to anyone!
hides face
 
6:04 PM
@skiwi think about what you're writing.
 
I think I've been productive so far today, closed a bunch of tickets, learned some XQuery and how to do one thing in powershell
 
> Similar to u/notdoingshit, I have discovered that not doing anything all day is worse than actually doing some work. Playing video games and surfing the web all day don't make the days go by faster anymore.
 
Doing work definitely makes it go fastest. Just now going to lunch at 14:00, when I get back only a little over 2 hours to go then TTWQ and BTW.Weekend
 
What's worse is being at work and trying to do some actual work but your computer is too slow to get anything done (well it's not really slow, just too much things going on at the same times)
 
> It seems like while playing, when you just draw a new card it can pop up next to a previous card with the same name. It seems like zones are sorted according to entity id. I'm not sure this is good behavior, should we instead have new cards to a zone always appear last?
 
6:20 PM
@SimonForsberg +1
@SimonForsberg fake it til you make it
 
6:48 PM
@SimonForsberg It's not like it could really harm anyone :P
I'm not bothered by not doing too much, it's called socializing :D
 
Someone died and another got injured during construction work at our university today :|
Also quite damn close
Quite creepy to hear sirenes that are closing in on you
 
7:25 PM
> In addition to visual cues (see #74) I really like the hover-over effect explanations in HS. For instance: if a card has Taunt and you hover over it, a more detailed description of the mechanic is shown.

This is really useful for someone learning the game without having to go through and remember extensive tutorials or read a reference guide.

![HearthStone screenshot](http://i.imgur.com/UNPosWG.jpg)
 
7:47 PM
[Cardshifter/Cardshifter] jacwah pushed commit f20da3f4 to invites: Get user id from WelcomeMessage: testOnlyOneInvite
 
Obligatory repost
user image
4
 
@skiwi The last one :D
 
[Cardshifter/Cardshifter] build for commit f20da3f4 on invites: The Travis CI build failed
BUILD FAILURE!
 
Hey @SirPython!
 
Hey @jacwah!
How are you?
 
7:52 PM
I'm good, except this build failure above ^
I'm pretty sure it's the tests fault, not the actual code, but I guess that line could be in @skiwi's chart
> It's the test that's wrong, not my code: I don't know what I'm doing
 
Ah, I see.
 
How are you?
 
I am doing well, thanks.
So Travis runs the tests, but does not worry about compile-time errors? Or, does he do both?
 
@SirPython How can you run the tests if the compilation fails?
 
Good point. Perhaps I should rephrase the question: "So Travis runs the tests, or does he only worry about compiling the code successfully?"
 
8:03 PM
@SirPython He runs the tests
 
You can check the build out and see what test failed and a full log
 
8:14 PM
in The 2nd Monitor, 1 min ago, by Jeroen Vannevel
Is there any reason for me to serve the angular.min.js file from my own server, or can I just leave the call to googleapis.com?
@SirPython ^^ might be a good question for you - or @ARedHerring of course
 
8:25 PM
You should serve from google's server
or better yet, cdnjs.
@JeroenVannevel @Phrancis
You want to serve from a CDN rather than your own server because it will reduce the amount of load on your server, and it's likely that the CDN will have better distribution centers = less latency across the world rthan your server does.
Sam ething goes for any static asset, really.
 
8:37 PM
Time to go home! Have a nice weekend all!
 
you too @Marc-Andre
 
Later @Marc-Andre!
 
@Duga @jacwah need help with getting it to work?
 
@SimonForsberg If you have time I'd be really grateful
Here's the log from the test gist.github.com/jacwah/03dcb7a665d57b54e4a7
What really puzzles me is this part:
> [2015-09-04 22:14:09,992] INFO ChatArea [ Conn-0] ( ChatArea.java: 31) - ChatArea:1Main broadcast: ChatMessage [chatId=1, message=Tester1 and AI Loser are now playing game 1, from=Server]
It should be Tester1 and client2 playing game 1
 
> Indeed, I especially thing the Ranged feature could use some in-game explanation, as in addition to preventing return damage, it also only allows the creature to attack each 2nd turn.

In addition, the mana upkeep feature in Mythos could use some in-game explanation.

IMO, having in-game explanations is better than expecting users to read "game rules" documents.
 
8:42 PM
@jacwah I'll take a look in a minute
 
8:55 PM
@ARedHerring And content might be cached already
 
> I don't mind "floating" hints like that, probably pretty easy to do the CSS for it, if you guys can get the Angular part working I'll volunteer for the HTML/CSS.
 
9:11 PM
> [2015-09-04 22:14:09,093] INFO ClientSocketHandler [ Conn-0] (ClientSocketHandler.java: 89) - Received from 6: Tester1 @ /127.0.0.1:33226: com.cardshifter.api.incoming.StartGameRequest@ca67df3
bah, that's not a useful toString() method...
 
Indeed
 
what's the name of the failing test class?
 
It's ServerConnectionsTest::testOnlyOneInvite
 
hmm... am I completely blind or something? I can't see that method in the class... but when I run the tests for that class, I can see that method is being run...
ah, there it is
as far as I can see, @jacwah, an InviteRequest is sent to client2 but client2 never responds to it, which causes the timeout of 10s to be reached.
 
@SimonForsberg Why does client2 not sending a response freeze things up?
The point of the test is to ensure that an ErrorMessage is sent to a client that has a pending invitation (i.e. the invited client has not responded yet)
 
9:25 PM
@jacwah because the invite is never accepted. A player needs to accept the invite before the game can start
@jacwah but you are awaiting a NewGameMessage before you are sending another game request.
		client1.await(UserStatusMessage.class);
		client1.await(ChatMessage.class);

		client1.send(new StartGameRequest(client2id, getTestMod()));
		NewGameMessage gameMessage = client1.await(NewGameMessage.class);
		assertEquals(1, gameMessage.getGameId());
		client1.await(PlayerConfigMessage.class);
		client1.await(ChatMessage.class);

		client1.send(new StartGameRequest(client2id, getTestMod()));
		client1.await(ServerErrorMessage.class);
 
Oh right!
I wrote that when a game was actually started immediately because I was inviting a bot
 
yeah, then you're not really testing what you want to test :)
 
	public <T> T await(Class<T> class1) throws IOException, InterruptedException {
		Message message = messages.take();
		if (message instanceof ServerErrorMessage) {
			Assert.fail(message.toString());
		}
Now I have to solve this thing ^
@SimonForsberg Thanks for taking the time!
 
@jacwah what idiot wrote that?
 
@SimonForsberg ;-)
It doesn't actually make any sense as far as I can tell though
> BUILD SUCCESSFUL
 
9:38 PM
Fix testOnlyOneInvite

Adjustment in TestClient because it doesn't make any sense: if I want to
await a ServerErrorMessage, shouldn't I be able to. If that's not what
I'm awaiting it can just as well be treated as other messages.
[Cardshifter/Cardshifter] build for commit 39ed3888 on invites: The Travis CI build passed
[Cardshifter/Cardshifter] jacwah pushed 11 commits to develop
Merge branch 'invites' into develop

Resolves #373.
 
True feel-good.
 
Going out now, BBL.
 
[Cardshifter/Cardshifter] build for commit c607a856 on develop: The Travis CI build passed
 
9:56 PM
TTQW - Back in a bit
 
 
2 hours later…
11:38 PM
And back
 
Mat's Mug vs. Simon Forsberg: 1394 diff. Year: +2284. Quarter: +780. Month: +279. Week: +259. Day: +54.
 
@SimonForsberg ^ resetting the file extension to plain text, then setting it back to my custom highlighter Worked :D
 
200_success vs. rolfl: 3256 diff. Year: +2509. Quarter: +2843. Month: -74. Week: -137. Day: +105.
200_success vs. janos: 15016 diff. Year: -4584. Quarter: -1663. Month: +112. Week: +224. Day: +50.
Loki Astari vs. Simon Forsberg: 3081 diff. Year: -2695. Quarter: -1099. Month: +158. Week: +53. Day: +24.
 

« first day (398 days earlier)      last day (3168 days later) »