« first day (397 days earlier)      last day (3164 days later) » 

12:00 AM
RELOAD!
[Cardshifter/Cardshifter] 2 commits. 1 issue comment. 37 additions. 59 deletions.
[Cardshifter/HTML-Client] 3 opened issues. 4 issue comments.
[Zomis/Duga] 1 opened issue. 7 issue comments.
 
I think I'm going to actually work on Cardshifter some tonight
Tired of thinking of those damn images, I want to get it over with so I can do something more interesting like game balancing :)
 
12:58 AM
[Cardshifter/Cardshifter] jacwah pushed commit 10c3e22d to invites: Move sendInvite to InviteManager.createInvite
Only allow one open invite and refactoring

Isolate invite handler code to InviteManager.

See #373.
Add one invite per player test

Is currently failing.
[Cardshifter/Cardshifter] jacwah pushed commit 7110de99 to invites: Add logging to InviteManager
[Cardshifter/Cardshifter] jacwah pushed commit de43a78d to invites: Use id instead of ClientIO as key in InviteManager
[Cardshifter/Cardshifter] jacwah pushed commit fae39729 to invites: Send ServerErrorMessage if invite already open
 
Almost works :)
I'll figure this out tomorrow, good night!
 
[Cardshifter/Cardshifter] build for commit fae39729 on invites: The Travis CI build failed
BUILD FAILURE!
 
 
1 hour later…
2:04 AM
One of my rare Java answers ... :)
 
 
4 hours later…
5:36 AM
In case anyone is interested, I posted a Java question just now:
0
Q: "ONCE", "UPON", "A", "TIME"

PhrancisI'm working on a small program to perform various tasks on text content, primarily at the word level. I wrote these methods as ways to help prepare the raw text file into something more malleable, like a List<String>, where at a later point I can perform various routines such as counting and sort...

 
6:21 AM
I have decided to apply for that job, by the way
Worst case scenario I get a "no". Best case scenario I move to Berlin
 
Good!
 
and from the looks of it Berlin is incredibly cheap
600-800 euro/mo for an apartment in Prenzlauer Berg
compare this to the £570/mo I'm paying for a shitty one bedroom flat in the middle of the worst area in Cardiff..
 
That sounds quite reasonable indeed
TTGTB, damn insomnia
Java tonight, lots of coffee in the morning...
 
4 hours sleep, I've done worse :x
Toodles!
 
6:29 AM
bbl friend
 
 
2 hours later…
8:17 AM
hey
@Phrancis I almost made myself sick by having only 5,5 hours from Sunday to Monday this week, and I'm still feeling it
 
 
3 hours later…
10:59 AM
Should we create a community promotion ad for Cardshifter on CR? I think it could help with the More developers issue and get some more people interested.
 
11:52 AM
@jacwah that could be a good idea
 
12:10 PM
in The CRonicles, 11 hours ago, by Mat's Mug

Of Ducks and VBA

39 mins ago, 38 minutes total – 98 messages, 7 users, 24 stars

Bookmarked 11 secs ago by Mat's Mug

in The CRonicles, 11 hours ago, by Mat's Mug

The Great Revival

2 days ago, 1 hour 42 minutes total – 262 messages, 7 users, 58 stars

Bookmarked 6 secs ago by Mat's Mug

^^ These are great
<afk>
 
12:41 PM
Monking
 
Hey @Phrancis!
 
monking
 
how is everyone doing ?
 
Good! How are you?
 
MONKING!!!
 
12:53 PM
Good! Had time to work on my game last night and it's now going on a good pace! I will add more time to work on it on the weekend too so that should help!
 
what game are you working on @Marc-Andre?
 
@SimonAndréForsberg you were in my dreams last night. You had me coded something (can't remember what). And I'm on working on a small project with one of my friend : github.com/banane-io/PDB
 
@Marc-Andre Let's see.... 1. Code Review now has a fifth moderator. 2. I got a full-time job :) I'd say that today is a pretty fine day!
2
@Marc-Andre lol
 
@SimonAndréForsberg Congrats on the new job!
 
Thanks. Starting on the 14th!
> We currently need someone to tutor us in the best practices for Rails.
ever heard of Code Review?
 
12:55 PM
I know I will have some questions soon!
I just need to prepare the code to be reviewed!
 
> Agreed, please move cardshifter-console to /dev/null, @jacwah.
 
And I have to think about the license too, since when you post on CR your code is now CC SA blablabla I can't remember the name of the license
And since at one point I may want to be "serious" with the code I don't want any trouble :D
 
@Duga @jacwah please tell me you get that Linux reference :) (just so that you don't create a /dev/null directory in the repo...)
 
Damn, I think I might have capped for today
 
@Marc-Andre CC-BY-SA.
@Marc-Andre Afraid of getting in trouble with yourself?
 
12:59 PM
@SimonAndréForsberg Awesome!! Can you tell us more about it?
<meeting>
 
@SimonAndréForsberg No I need to think how the licence will affect other people using my code. I didn't think about it, I just pick a random licence. I'm not used to think about licensing and the impacts.
 
@SimonAndréForsberg mv /usr/simon/humour /dev/null
4
 
@Marc-Andre I'm a big fan of MIT, some BSD License and Apache License 2. But it depends on what rights you want people to have of course.
 
@Duga pfff, I even wrote an (albeit terrible) unit test for my round robin thing Ij ust made... gist.github.com/danpantry/230d0791b979db5db882
 
@Phrancis it's a consulting firm, SigmaIT, doing a lot of Java development but also other things (I might do some AngularJS stuff as well). They will try to "sell" me to customers.
 
1:06 PM
@SimonAndréForsberg I'm assuming they only do swedish business (i.e, people who don't speak swedish aren't welcome)
 
> Sigma IT Consulting finns på ca 20 orter i Sverige och i ytterligare sex länder.
 
@SimonAndréForsberg Yeah I think the code will remain publiv and license with Apache 2.0.
 
translate Sigma IT Consulting finns på ca 20 orter i Sverige och i ytterligare sex länder.
translate: Sigma IT Consulting finns på ca 20 orter i Sverige och i ytterligare sex länder.
(from Swedish) Sigma IT Consulting is available at approximately 20 locations in Sweden and in six more countries.
 
@SimonAndréForsberg I meant more along the lines of would they accept a consultant who isn't Swedish-literate
Because if they're looking for angular stuff... :P
 
@ARedHerring I know they have some developers in Ukraine, and some Ukrainians are working in Sweden. I doubt all of them can speak Swedish.
@ARedHerring I can try to find out more about that. You interested?
(I think your Berlin job would pay more though)
 
1:08 PM
@SimonAndréForsberg I don't see why not
The berlin job is not a guarantee, I'm reckoning only 10% chance that they would actually acceptm e
Whereas I actually have professional and demonstratable experience in angularJS
Plus, from the sounds of it, they would allow remote workers (@Ukrainian devs)
 
@ARedHerring I don't think they allow remote workers. They have Ukrainians working in Ukraine. And some of the Ukrainians are at an office in Sweden (I hope to meet them some day)
 
@SimonAndréForsberg Ah, I see. Well, its still worth enquiring about. I hear Sweden is a very nice country
And I might have a thing for blondes (I kid)
 
We have more girls than just blondes!
 
Haha :P
I'll see where things lead me. Berlin or Sweden would both ben ice
obviously, if I get the Berlin job I'd go with the Berlin one - smack bang in the middle of europe, its not as cold and it likely pays more
but it would be an honour to formally work with you
 
I'll look into it
 
1:37 PM
@SimonAndréForsberg thank you :) let me know if I can do anything to help
 
2:12 PM
by the way, @ARedHerring:
in The 2nd Monitor, 2 mins ago, by Simon André Forsberg
In even more other news: I did have a job interview earlier this year, I didn't get the job but hey, I got a pretty nice job interview!
(see image posted afterwards)
 
@SimonAndréForsberg I saw, I starred it :-)
 
@Phrancis @skiwi ^^ now you know what I was doing when I lurked a few days at the end of May
 
Ahh ok :)
 
@SimonAndréForsberg grats on the job, that is awesome
 
@bazola Google would have been even more awesome but... :) Thanks!
 
2:18 PM
maybe, but also maybe not. i could see google being a tough place to work
 
@bazola I would do a hell of a lot for the culture google appears to have.
 
Working on a big company like Google seems like a lot of fun and challenge. But I'm sure that it would depends on the team/project you're on.
 
I think one appeal of working at google would be the competitve nature
You'd always be working to improve yourself.
but I can see how that might be a bit of a burn out, especially if you don't have the time to dedicate to the organisation (family, children)
 
2:43 PM
I love working from home!
This is the view I have (sorry for the potato quality)
I can see the Saint-Laurent River and Isle d'Orleans
#Get #Jealous
 
2:58 PM
@SimonAndréForsberg Congrats on the job!
and hey
@SimonAndréForsberg A consulting firm, that's a really interesting move on junior level
 
thanks
I hate the terms "junior"/"senior".
 
@SimonAndréForsberg Woah... You've been at... Google?
 
@Marc-Andre that is nice yes
@skiwi yes indeed. for an interview
 
I agree with you @SimonAndréForsberg ! And I hate that at my job you have a hierarchy like devleopper/analyst/architect.
 
@SimonAndréForsberg It's what the industry likes, no way around it :(
 
3:02 PM
@SimonAndréForsberg Thank you ! I'm so happy in our new apartment I had to share :D
 
But I always thought of consulting firms as attracting mostly senior developers
 
Consulting firms can sell "juniors" as "seniors" so...
 
Now I wonder how you got to apply at Google... A recruiter?
 
@skiwi just because the industry likes it doesn't mean that you have to.
@skiwi yes indeed. they found my profile on SO. then they looked at my Github and saw my open source projects and contributions.
 
3:20 PM
I need to code more!
I want a Google recruiter too :P
 
@skiwi You need to focus on one or two project too
 
3:54 PM
Between staff meetings and computer crashes, not getting much done today :|
 
Got an interview with the recruiter on tuesday fo rthe Berlin job
@Phrancis between 2nd monitor and cardshifter tcg i don't usually get much done >.>
also.
 
I need to focus more!
2
@ARedHerring Nice
 
felt I'd cross post it here in case people aren't in 2nd
 
ORLY
 
@Phrancis YE RLY
 
4:00 PM
@Phrancis looks like that caption was written by @SimonAndréForsberg, our resident expert at documentation.
 
@ARedHerring Not even I would write that bad.
 
</afk>
 
I would either have no caption at all, or I would actually explain it.
 
Looks like whoever documented that table in the dictionary themselves had no idea what that column was for; every other one is well documented lol.
 
> I would either have no caption at all, or I would actually explain it.
I am equally bad at documentation so I really have no right to speak
 
4:02 PM
@SimonAndréForsberg Haha ;)
@Marc-Andre choosealicense.com is great
 
@Marc-Andre TLDR: GPL = you must open source. MIT = do whatever. just don't sue me. I have no idea what the Apache one does.
Most of the time I go with MIT.
I would hate to see the GPL because it essentially means I can't use that project in anything professional
 
@ARedHerring GPL = you must also GPL, I believe.
 
@SimonAndréForsberg yep. Which is why I said "you must open source" - because GPL is open source.
 
GPL is more than just open source though.
 
You can't weaken the licence either. ie, if you go GPL, derivatives can't use LGPL (which is less restrictive); they must also go GPL.
it's a really sucky licence (unless you're very OPEN SOURCE FREE FOREVER)
 
4:08 PM
that ^^
 
if you're writing libraries, please don't ever use GPL
if you're writing applications, GPL is fair enough.
 
What about the WTFPL?
 
Cardshifter would do well under Apache or GPL
@Phrancis that is essentially MIT.
Except with MIT, you have to keep attribution and don't hold the author liable
WTFPL sounds like a less 'safe' version of MIT because you can still be held liable for any damages the derivative work causes
the MIT is the default licence for node works for a reason
 
@Phrancis I don't even consider that a serious license.
 
@SimonAndréForsberg neither would I.
I don't think it would hold up in a court of law
 
4:10 PM
@ARedHerring GPL? Hell no.
 
@SimonAndréForsberg I'm not saying it should be GPL
just that it would be a viable project for GPL
 
@SimonAndréForsberg I think that's kind of the idea behind it, ironically :)
 
like, if I wrote a game server for WoW and open sourced it
I would probably release it under either Apache or GPL because I woudln't want people commercialising it (i.e, Blizzard)
but if I made a utility library a la lodash, GPL would essentially be suicide because GPL ensures you basically can't use it in any closed source work (i.e, nearly every corporate app)
 
You can still commercialize those
Look at Ubuntu for instance
 
4:12 PM
OK, fine, you can commercialize it, but I don't know many companies who would be eager to open source their "trade secret" so to speak
Ubuntu is the exception because it relies on open source development to actually, well, be developed
 
There are some companies that open source part of their libraries and such
Like Google, Twitter etc
 
Google especially - Angular, for example.
Speaking of Twitter, anyone else excited for Boobstrap Bootstrap 4?
 
@ARedHerring Whoa, when is that coming out?
 
@Phrancis it's in alpha now
 
select * from sys.tables where name like '%vendor%'
-- (135 row(s) affected)
-- (╯°□°)╯︵ ┻━┻
 
4:15 PM
Did Google make Angular?
 
@SimonAndréForsberg yes
> AngularJS (commonly referred to as "Angular") is an open-source web application framework maintained by Google and by a community of individual developers and corporations to address many of the challenges encountered in developing single-page applications
well, yes andno, I suppose.
They didn't come up with the idea but they are part of the reason why it has such a huge userbase now
And I believe employees of Google maintain it
 
4:31 PM
A lightning-fast StringBuilder for #VBA http://codereview.stackexchange.com/q/67596/41243?stw=2
 
BTW.Walk (I need some fresh air, refactoring these crap queries is tiresome)
 
@Phrancis Oh lol
@ARedHerring Does using GPL increase the chance that companies will contact you to pay for the code?
So it's really GPL vs MIT then?
I've always been confiscated by licenses
 
@skiwi I don't think it does. I think as soon as a company sees GPL, they will flee and never come back.
Does GPL even allow dual-licensing?
 
Not sure if GPL prohibits privately licensing the code again
 
I think once you use GPL you can't even use a private license since it goes against the licence (but I don't know those things so it's a moot opinion)
 
4:47 PM
I'm pretty sure you, as a copyright holder, can release a work as both GPL and another license
 
> However, if you hold the copyright on the software, you can do whatever you want with it yourself.
^ This is the crucial point
 
Which can screw things up if you have something like Cardshifter and a GPL version where people contribute, since I can be mistaken but they have the copyright to the code they have contributed!
 
Yes that's the problem with re-licensing software - you have to get the permission from all contributors (i.e. copyright holders)
That's not unique to the GPL though, it's true for any license.
 
38
A: Can GPL be re licensed?

FlimmShort answer: As a copyright holder, you do not have to choose between licensing your project under the GPL, and re-licensing at a later date. Once a piece of software is licensed under the GPL, it is always under the GPL. However, as a copyright holder, you may re-license under other licenses ...

^^ This answer is golden
 
5:15 PM
@Marc-Andre yup, that's how the Bukkit Minecraft server got shut down.
 
Also because mojang bought the rights to bukkit
 
Good to know!
 
Sweet got a Java accept :)
 
http://www.commitstrip.com/en/2015/09/03/its-important-to-give-back/
CommitStrip - Blog relating the daily life of web agencies developers
It’s important to give back
CommitStrip
1441300796
 
> Opt-in flexbox support is here. The future is now—switch a boolean variable and recompile your CSS to take advantage of a flexbox-based grid system and components.
So, when are we switching to Bootstrap 4? ;x
> Dropped IE8 support and moved to rem and em units.
THANK YOU
2
 
5:34 PM
@Phrancis it's in alpha, I wouldn't think its wise
alpha usually means changes all time err day
could open a branch for ithough
 
@CommitStrip if anyone wonders what the @StackOverflow post is: http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags
 
@ARedHerring Not a bad idea, might do that
 
6:20 PM
Do you really want to maintain two versions of the html/css?
 
that ^^
I don't think we need to live that much on the edge.
 
Oh a new avatar @SimonForsberg!
 
Not only a new avatar!
 
Oh and you changed your name too
 
6:36 PM
New job, new name, new profile picture! New man!
3
 
Wow so much happiness! I'm happy for you!
 
now all I need is a new girlfriend
 
Well keep the happiness and you'll find someone I'm sure! Happy people are attracting !
 
Obligatory 90's music reference
 
OMG
 
6:52 PM
> I had to touch some cardshifter-console code today while removing an API message (see ae148a007d871a22b9075efbb5003bdb67893819). Keeping the module will cost us maintenance time, and I can't see any situation were keeping it would be useful. If we ever need part of the code it's readily available in the Git history.

I think the cardshifter-console module should be removed altogether.
 
@Duga Oops
 
@jacwah did you comment again? Or what are you up to?
 
@SimonForsberg By accident
I just meant to reopen it
 
how do you comment by accident? :P
 
@SimonForsberg your new avatar is doing the same thing as Zak's is, AFAICT... at least for me
 
6:56 PM
I still had the issue open in a tab and my browser had saved the text from my last comment in the comment box. I accidentally pressed Reopen and comment instead of just Reopen.
 
@Phrancis Ctrl + Shift + R / Ctrl + F5 / hit all the keys you got on your keyboard
ah, gotcha @jacwah
excuse accepted :)
 
:)
 
@SimonForsberg No change
 
@SimonForsberg Where is André?
 
6:58 PM
@Phrancis I'm blaming caching. Or monkeys.
 
@Marc-Andre blocked
 
That's why
It's a cdn for Facebook, your job probably block facebook
 
Me fix!
 
@Phrancis now can you see it ?
 
Now I can... Good picture Simon!
 
7:15 PM
It's from me and my friend Elin's traditional "thumbs up picture". We do one almost every time we meet
previous ones:
ongoing tradition since December 2010.
 
Sweet!
 
Nice!
 
7:36 PM
What kind of message should the server send if an invitation is already open? Things I can think of: ServerErrorMessage, ChatMessage, InviteResponse.
 
@jacwah is there a ClientErrorMessage ?
 
Nope
 
not ServerErrorMessage I think, as it's nothing wrong in the server.
or maybe rename class to ErrorMessage ?
maybe even use a boolean flag for if it's server or client that made the error?
 
Right now it sends ChatMessage if you try to invite yourself
 
what do you think would be best?
 
7:39 PM
I think that ChatMessage is wrong: the client should decide how to display it
I think some kind of error message should be used
Maybe a generic ErrorMessage is best. Does the client know what request caused it?
 
@jacwah I don't think that's certain that the client knows that. It will likely be the latest request though. Does the client need to know it explicitly?
 
InviteResponse is best if the client has no other way to know what caused the message
@SimonForsberg Maybe not
 
but technically it isn't an invite response
the client that has already been invited may still answer
 
OK, I like the ErrorMessage idea
It's easy to handle by clients.
They probably want to handle all errors the same way
 
should we use a boolean (or something) to indicate whether the server did something wrong, or the client?
 
7:47 PM
Yeah I think some kind of flag is useful. A solution to an error in the server and in the client are very different.
 
true that
then ErrorMessage it is
 
Issue incoming
 
8:18 PM
> *[Original chat discussion](http://chat.stackexchange.com/rooms/16134/conversation/errormessage-discussion) between me and @Zomis.*

There are lots of reasons why a request from a client may fail. Currently errors are communicated in a range of different ways:

- `ChatMessage`: "You cannot invite yourself."
- `ServerErrorMessage`: "Invalid gameType specified."
- `WelcomeMessage`: "User name invalid"

Generally, a client will want to handle all errors in a similar way. The server should
 
8:32 PM
> The client should respond to "command":"error" by showing the message to the user. The client doesn't seem to care about this message at all currently. Related to #71 and Cardshifter/Cardshifter#379.
 
9:01 PM
Use non AI client in testOnlyOneInvite

The AIs immediately accept invitations. The test still fails, but it
seems to work when I test manually.
 
^^ Annoying
 
[Cardshifter/Cardshifter] build for commit cc81043a on invites: The Travis CI build failed
BUILD FAILURE!
 
@jacwah Sounds like it
 
@Phrancis Hey!
How are the card images coming along?
 
Hey
Meant to work on them last night, then I started playing with some Java and before I knew it, it was 2am lol
2
 
9:09 PM
Haha, it happens even the best
Speaking about grammar, is that valid? ^
I tried to translate something from Swedish :)
translate: Det händer även den bäste
 
One would usually say "It happens even to the best [of us]"
 
Thank you @all for being my grammar coach :)
 
9:28 PM
@jacwah feature!
translate: Det händer även den bäste
(from Swedish) It happens to even the best
@jacwah mod-only feature
 
BBL
 
9:59 PM
> Just to be clear: The existing ServerErrorMessage can be changed to this.
 
10:10 PM
Monk*!
Nice new profile picture @SimonForsberg!
 
thanks
 
11:05 PM
home finally
 
Hey @Phrancis!
 
Must have an event of some kind going on downtown, took me the better part of 20 minutes to traverse 4 blocks to the Ohio river bridge
@SirPython Hey :)
 
How are you?
 
Good, yourself?
 
I am good. @SimonForsberg?
 
11:08 PM
5 hours ago, by Simon Forsberg
New job, new name, new profile picture! New man!
 
Congratulations on your new job!
 
When are you starting? Gotta be pretty exciting I bet
 
I'm starting the 14th.
TTGTB
 
Good night!
 
Later!
Spent probably 2 hours today just chasing one error value in one table for one single order. Still haven't figured out why it is giving an error
Turns out putting the value "No document found." into an order detail field is not particularly useful
Lucky enough there was a record history trigger on that table to keep previous versions of it, so I was able to at least see when that value appeared, and what it was like before it did, but yeah...
I bet it's not even a database-related issue; probably some developer didn't think or have time to write in useful error-reporting on the application side and decided to just write that value in the database and put the order in limbo until someone else fixes the problem
 
11:32 PM
That would be annoying. Two hours and it's not even something that you could change.
 
Well, I can change it (and probably will) so it might clear the error and stop being a burden to the client
But, it's annoying as hell not knowing why it got put there in the first place
Actually, after taking a step back, I think I just figured out what might have happened
The order was placed by one facility, then transferred to another one (i.e., changing the ID of the owner facility on the order record) to be approved, and a third one to be fulfilled. I bet that document it's looking for is actually under one of the first two facilities' account
 
Mat's Mug vs. Simon Forsberg: 1340 diff. Year: +2230. Quarter: +726. Month: +225. Week: +205. Day: +121.
200_success vs. janos: 14966 diff. Year: -4634. Quarter: -1713. Month: +62. Week: +174. Day: +40.
Loki Astari vs. Simon Forsberg: 3057 diff. Year: -2719. Quarter: -1123. Month: +134. Week: +29. Day: +121.
200_success vs. rolfl: 3151 diff. Year: +2404. Quarter: +2738. Month: -179. Week: -242. Day: -25.
 
11:48 PM
Hmm. I setup an RSS feed to watch new posts with certain tags on SO thinking that I would learn new things and get to try and solve difficult bugs, but so far, every question has been this: "segfault pl0x halp :("
 
LOL
 
And yet they are all making the same problem.
 
(╯°□°)╯︵ ┻━┻
2
Segfault is a C/C++ thing isn't it?
 
Yes.
It is sort-of in Java: ArrayIndexOutOfBoundsException
Or, the post is a question about the functionality of a built-in function, which is completely described in the man pages.
 

« first day (397 days earlier)      last day (3164 days later) »