« first day (325 days earlier)      last day (3253 days later) » 

12:00 AM
@Phrancis then you might have Android SDK installed on your computer already...
 
RELOAD!
[Cardshifter/Cardshifter] 2 opened issues. 7 issue comments.
[rubberduck-vba/Rubberduck] 3 commits. 706 additions. 1187 deletions.
Saved Cardshifter/Cardshifter
Saved rubberduck-vba/Rubberduck
Saved Vannevelj/RoslynTester
Saved Vannevelj/VSDiagnostics
Saved Vogel612/TranslationHelper
Saved Zomis/Duga
Saved Zomis/Rubberduck
Saved Zomis/test
 
12:26 AM
Installing Android SDK tools now. They certainly did not make this user-friendly
Had to dig on SO to find instructions
 
 
10 hours later…
11:18 AM
On the step towards productivity... I'm behind my desktop again!
(Or in front of...?)
 
 
2 hours later…
1:03 PM
[Zomis/Duga] Zomis pushed 13 commits to grails-dev (only showing some of them below)
[Zomis/Duga] Zomis pushed commit d65e0189 to grails-dev: added Access-Control-Allow-Origin header to BotController
[Zomis/Duga] Zomis pushed commit 51d0491e to grails-dev: passing DugaChatListener along to ChatCommands, to give bean access
[Zomis/Duga] Zomis pushed commit 47266f80 to grails-dev: added support for Duga DSL methods that return a map and the map has a 'default' key
[Zomis/Duga] Zomis pushed commit 2ac738f3 to grails-dev: moved register command to the new delegate
[Zomis/Duga] Zomis pushed commit e1166570 to grails-dev: added post method for posting chat message with json request
[Zomis/Duga] Zomis pushed commit a16563b7 to grails-dev: enhanced Duga command security
[Zomis/Duga] Zomis pushed commit ffe2f6ff to grails-dev: fixed gollum event
[Zomis/Duga] Zomis pushed commit ae44a819 to grails-dev: fixed commit comment bug
[Zomis/Duga] Zomis pushed commit cdcc21ef to grails-dev: denying assignment in Duga commands
[Zomis/Duga] Zomis pushed commit 29f250df to grails-dev: updated README.md
[Zomis/Duga] build for commit 29f250df on grails-dev: The Travis CI build passed
 
1:48 PM
Monking
 
2:04 PM
hey
@Phrancis
May 27 at 22:01, by bazola
the good news for that is that i found out that you don't need the GWT plugin for eclipse, and you don't need to install any of the virtual machines or anything for android to build for an android device
 
Ah nice
 
well, my coin artwork didn't turn out quite like I had hoped
 
@bazola Is it accidental that some of the coins are running past the border of the "jar"?
 
I think that's the part he was thinking when saying well, my coin artwork didn't turn out quite like I had hoped
 
no, its a coin pusher
they fall off of the edges
the problem is the horrible aliasing
or rather, the horrible jaggies and lack of anit-aliasing
 
2:20 PM
Oh wow, you your sample coin looks way better by itself before rendering through libGDX
 
> Filter out any api keys and access tokens used when posting message in chat. Luckily, there's functionality in github to reset the access token.
 
i created it as an SVG in inkscape, so it ought to look pretty clean
 
2:42 PM
managed to pretty much fix it with this code:
		this.coinTexture = new Texture("coin01.png");
		this.coinTexture.setFilter(TextureFilter.Linear, TextureFilter.Linear);
 
Definitely looks smoother
 
@bazola Ah... without filters it probably looks bad, yes
 
@skiwi i guess since I have been mostly using pixel art, i haven't noticed it much yet
 
@SimonAndréForsberg wow, cool
 
3:54 PM
wow, got it working already i see
crazy that there are only 3 results for box2d on code review
too bad my code is horribly ugly and not OOP at all
 
 
2 hours later…
6:05 PM
Achievement unlocked: Wasted another day by browsing Reddit and playing irrelevant games.
 
dammit, @skiwi...
7 hours ago, by skiwi
On the step towards productivity... I'm behind my desktop again!
 
yeah i thought we were going to see some code today @skiwi!
 
@SimonAndréForsberg Hey, it was a step closer ;)
 
@skiwi now we want to see the next step(s)
 
I should also be studying and doing some homework exercises, but not quite wanting to do that
I've got so many things to do, so I better not do any of them
 
6:12 PM
@skiwi ugh, the worst part is that I tend to do the same mistake...
Take my advise: Don't do the same mistakes I have done!
 
My big application that can aid resellers (the one about buying/selling/etc.) is supposed to be started soon (tm)
But it's big and that's putting me off
And the worst part is that I don't have a (code) name yet for my application, so I cannot even start it
 
Do something small instead?
Do something that can be finished in a week or two, and actually release it.
 
This project is something I can see working as I can actually work with users of it
I'm a bit unsure of how to handle live deployment though
 
Disassemble your problems so you can assemble your solutions.
2
 
I don't want it to be stuck on localhost forever
How would a "remote" (it's still owned by me) installation work best with Grails?
You probably don't want continuous deployment on a live server
/s/probably/most definitely/
 
6:19 PM
there doesn't have to be continuous deployment to a live server.
You should of course test things locally before you deploy
I don't see the problem...
 
Maybe... I should just start
2
 
The requirements aren't 100% clear though, for example registration is already difficult
You gotta know what you need to put on there :)
And the users "never know"
 
Requirements are likely to change over time.
 
But you're also always wrong, and they're always right :)
 
6:21 PM
And registration is not that impossible. @Duga has done it, so can you.
 
It's actually not that much work at all to get done
It's just work
I'm a bit bummed today that the job interview result got delayed by a week :|
Was supposed to hear it today
 
> @Hosch250 Duga will have a command for searching or looking up an issue soon

@retailcoder I will implement another approach of muting Duga later, a general command to silence all Duga messages for a chat room. Also, I don't think there will be a stargazers command as it is very easy to see that on github.

@Phrancis How often do you remember people's user ids? :) Indeed it would be a bit more difficult with usernames, but perhaps at a later time.

@ckuhn203 open and closed issues for re
 
@skiwi I was at an interview a while ago and I had to wait for two weeks to hear back, only to hear that they went with another candidate :/
 
@SimonAndréForsberg Ouch, waiting sucks
623
Q: Why is executing Java code in comments with certain Unicode characters allowed?

RegThe following code produces the output "Hello World!". (No really, try it) public static void main(String... args) { // The comment below is no typo. // \u000d System.out.println("Hello World!"); } The reason for this is that the Java compiler parses the Unicode character \u000d as a ne...

Wtf ^
 
Wtf, didn't @skiwi discover that until now ^
 
6:35 PM
It's good to know about it though
 
yup
never too late to learn new things
 
7:05 PM
#VBA error handling done right. http://codereview.stackexchange.com/a/94462/23788
 
Monking! (Duga is now listening for commands)
 
@Duga dev ping
 
@SimonAndréForsberg pong!
 
@Duga dev 596 * 509
 
@SimonAndréForsberg Result: 303364
 
7:13 PM
@Duga 'Hello' + ' ' + 'World'
@Duga dev 'Hello' + ' ' + 'World'
 
@SimonAndréForsberg Result: Hello World
 
@Duga dev stop()
 
TTQW! (Stopped listening)
 
@Duga dev ping
 
@Duga dev ding
 
7:41 PM
@Duga dev ping
 
IS @Duga still up now?
 
She will be up soon
I had to fix a security thing
 
Monking! (Duga is now listening for commands)
 
@skiwi @bazola she's here now ^^
@Duga dev ping
 
@SimonAndréForsberg pong!
[Zomis/Duga] build for commit b4f949f0 on grails-dev: The Travis CI build passed
 
7:50 PM
@Duga dev 'Heya'
 
@bazola Result: Heya
 
@Duga dev 'Hey' + 123
 
@bazola Result: Hey123
 
@Duga 100000000000000000000000000000000 + 100000000000000000000000000000000000
@Duga dev 100000000000000000000000000000000 + 100000000000000000000000000000000000
 
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during canonicalization: Constant expression type [java.math.BigInteger] is not allowed

java.lang.SecurityException: Constant expression type [java.math.BigInteger] is not allowed
at org.codehaus.groovy.control.customizers.SecureASTCustomizer$SecuringCodeVisitor.visitConstantExpression(SecureASTCustomizer.java:1002)
 
7:52 PM
do i get bonus points for breaking her?
@Duga dev I hope you are still alive!
 
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script5.groovy: 1: expecting EOF, found '!' @ line 1, column 27.
I hope you are still alive!
^

1 error
 
@Duga dev ping
 
@skiwi pong!
 
@Duga dev ding ding
 
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script7.groovy: 1: [Static type checking] - The variable [ding] is undeclared.
@ line 1, column 6.
ding ding
^

Script7.groovy: 1: [Static type checking] - Cannot find matching method Script7#ding(java.lang.Object). Please check if the declared type is right and if the method exists.
@ line 1, column 1.
ding ding
 
7:54 PM
Managed to break stuff, yay!
 
@Duga dev int x = 1
 
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during canonicalization: Token ("=" at 1:1: "=" ) is not allowed

java.lang.SecurityException: Token ("=" at 1:1: "=" ) is not allowed
at org.codehaus.groovy.control.customizers.SecureASTCustomizer$SecuringCodeVisitor.assertTokenAuthorized(SecureASTCustomizer.java:730)
at org.codehaus.groovy.control.customizers.Secu
 
@SimonAndréForsberg @Duga dev is getting abused over here! :)
 
@bazola @skiwi I'd recommend testing her here instead:

 Duga's Neighborhood

It's a beautiful bot in the neighborhood. Would you be mine, w...
@bazola you do get bonus points for breaking her. I think she's secure now, but you never know...
@Duga dev stop()
 
TTQW! (Stopped listening)
 
8:01 PM
I'm telling her to stop listen for now, I will start her again later
 
 
1 hour later…
9:23 PM
[Zomis/Duga] Zomis pushed commit a33abe13 to grails-dev: added check for accountLocked when registering with ping
[Zomis/Duga] Zomis pushed commit 0ac03357 to grails-dev: added different role requirements for chat commands
[Zomis/Duga] Zomis pushed commit 9c4316bf to grails-dev: added webhook commands to ChatCommandDelegate
[Zomis/Duga] Zomis pushed commit ead0a0c6 to grails-dev: added taskReload() to ChatCommandsDelegate
[Zomis/Duga] Zomis pushed commit 5782e83f to grails-dev: stripping away access_token when posting message, addressing #92
[Zomis/Duga] Zomis pushed commit c1271f21 to grails-dev: added issue search and id lookup commands
[Zomis/Duga] Zomis pushed commit cc098af1 to grails-dev: allowing commands from anyone
[Zomis/Duga] Zomis pushed commit 300e2056 to grails-dev: added commandPrefix configuration
[Zomis/Duga] Zomis pushed commit 2b2c008c to grails-dev: added commands to start and stop listening
[Zomis/Duga] Zomis pushed commit b4f949f0 to grails-dev: preventing usage of bean and message fields in script
 
took me a while to get that delivered...
 
i don't know anything about webhooks, but couldn't you build something that wasn't a webapp (i don't know what those are either actually) that interfaced with webhooks without building a full web server?
 
9:39 PM
@bazola I am starting to consider it. Really doesn't feel like @Duga needs a full web app. But it certainly does make the webhooks simpler
 
9:50 PM
i don't see why it should take very much memory at all, but again i know nothing about webapps
 
I really don't see it either, but I bet Spring and Grails require quite a bit just to start... it doesn't really feel light-weight
 
you can't just profile the memory use while it is running?
 
tried to once, had some problems with that. Unfortunately, I don't have a permanent screen attached to the computer
 
tried the top command on the server while its running?
 
haven't used it very much, but using it now
tomcat is at about 13-25% CPU
and about 4% MEM
 
10:03 PM
yeah
its definitely a mystery then
 
there are a bit of numbers here that I don't quite know what they mean
top - 00:03:37 up 131 days, 13:50,  2 users,  load average: 0,06, 0,15, 0,21
Tasks: 217 total,   1 running, 216 sleeping,   0 stopped,   0 zombie
%Cpu(s):  6,5 us,  0,0 sy,  0,0 ni, 93,2 id,  0,3 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem:   8175840 total,  6203320 used,  1972520 free,  1442020 buffers
KiB Swap:  7811068 total,   405256 used,  7405812 free.  1861968 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
30297 tomcat8   20   0 2641072 348868  16592 S  13,0  4,3  11:45.02 java
@rolfl see anything mysterious there? ^^
 
nope .... :( 13% of 1 CPU at a single point in time is not huge.
 
it seems to never go below that 13% though
ok, except for 12.6
but again, that's not really much
 
How many cores? 8?
(4 with hyperthreading?)
 
nope.... I'm afraid it's only 2 :(
any Unix command I should write to be sure?
 
10:08 PM
12.5% would indicate a thread at 100% on an 8 core....
grep cpu /proc/cpuinfo
 
$ grep cpu /proc/cpuinfo
cpu family      : 6
cpu MHz         : 2932.749
cpu cores       : 2
cpuid level     : 13
cpu family      : 6
cpu MHz         : 2932.749
cpu cores       : 2
cpuid level     : 13
this is a quite old computer
 
ubuntu?
 
sudo apt-get install nmon
nmon is like top on steroids.
 
Ok, anyone wants to tell me what I just insta... ok, thanks.
how the heck does this thing work?
 
10:11 PM
so, run nmon, then type the keys: ctkn
c for CPU, t for TOP, k for kernel, n for Network.
 
hmm... my Minesweeper Flags server is also running, and that takes a bit of memory. Could the memory issues that @Duga is suffering possibly be caused by a memory leak in the Minesweeper server? That doesn't sound very likely, right?
as each JVM has its own heap
 
hit k again to get rid of the kernel, and the m to monitor memory, and d to monitor disks.
I suspect network traffic may be high as wwell, so monitor that.
 
pid 30297 is tomcat, 27489 is Minesweeper
certainly looks like Minesweeper is eating memory, right?
Minesweeper is not often shown among the top processes though
 
The 4-gig reserved for minesweeper is fine, I imagine... the issue is tomcat.
Do a kill -3 30297 on the VM and see what threads are active....
 
sudo!
ok, where does it drop the output?
 
10:22 PM
Typically in the directory it was started in... probably CATALINA_HOME
 
I know what the command does, but I can't remember where the output is located
now if I would just have a CATALINA_HOME, it would be helpful...
I'll try to locate it
 
Is it the system install of tomcat?
 
apt-get install'd tomcat
zomis@bubble:/var/lib/tomcat8/lib$ whereis tomcat8
tomcat8: /etc/tomcat8 /usr/share/tomcat8
no sight of it in those directories
not in /var/lib/tomcat8 either
 
try var/run/*
 
10:27 PM
try:
cat /proc/30297/cwd
 
is a directory
 
and in that folder, is there a javacore file?
Argh,,,,,
 
nope
root@bubble:/proc/30297/cwd# ls -l
total 24
drwxr-xr-x 4 tomcat8 tomcat8 4096 jan 11 15:08 common
lrwxrwxrwx 1 root    root      12 jun 25  2014 conf -> /etc/tomcat8
drwxr-xr-x 2 tomcat8 tomcat8 4096 jan 11 15:46 lib
lrwxrwxrwx 1 root    root      17 jun 25  2014 logs -> ../../log/tomcat8
drwxr-xr-x 3 tomcat8 tomcat8 4096 jan 11 14:42 server
drwxr-xr-x 3 tomcat8 tomcat8 4096 jan 11 14:42 shared
drwxr-xr-x 2 root    root    4096 jun 18 19:56 tempapps
drwxrwxr-x 3 tomcat8 tomcat8 4096 jun 23 21:49 webapps
oh, nice way of symlinking current working directory
ah damnit. it went to sysout of course
it's in catalina.out
2015-06-24 00:29:39
Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.25-b02 mixed mode):

"http-nio-80-exec-10" #49 daemon prio=5 os_prio=0 tid=0x00007f5d4813e800 nid=0x776b waiting on condition [0x00007f5d1eaf1000]
   java.lang.Thread.State: WAITING (parking)
	at sun.misc.Unsafe.park(Native Method)
	- parking to wait for  <0x00000000f9809960> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
	at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchro
@rolfl there it is ^^ (want a pastebin instead?)
SE chat is weird, how could that not have been "message too long"?
 
It all looks like polling on the network socket....
there are multiple sockets..... I wonder if it is just that heavy as a user...
 
polling the network socket sounds quite natural for a webserver, but... multiple sockets?
 
10:38 PM
Tomcat has a few.
 
ah, well... makes sense.
 
running socket, the shutdown socket, etc.
it has port 80, and 443, etc.
 
true that
I should also add that at the moment, I don't have the Cardshifter website or my Minesweeper Statistics website running. It's only @Duga running on Tomcat these days.
 
If you stop/restart, does it still run at 13%?
can you connect JVisualVM ... ? :-)
 
@rolfl no, it runs at 150% ;-)
I'll wait until things settle down...
unfortunately, I don't think I can connect JVisualVM at the moment. I might be able to do that another time.
seem like it has settled down at about 18% now
sometimes it does go down to 2 - 5 %, but that's only for a second. that also happened before the restart though
 
11:45 PM
Loki Astari vs. Simon André Forsberg: 4051 diff. Year: -1690. Quarter: -391. Month: -327. Week: -75. Day: +30.
Mat's Mug vs. Simon André Forsberg: 245 diff. Year: +1186. Quarter: +1936. Month: +590. Week: +310. Day: +215.
200_success vs. rolfl: 293 diff. Year: -425. Quarter: -283. Month: +206. Week: +90. Day: +46.
200_success vs. janos: 17164 diff. Year: -2451. Quarter: -1507. Month: -2281. Week: -50. Day: +80.
 

« first day (325 days earlier)      last day (3253 days later) »