« first day (1467 days earlier)      last day (3475 days later) » 

12:34 AM
.
!!eval:"Test"
 
Test
 
!!eval:"Test"
 
Test
 
!!eval:System.exit(0)
 
!!eval:"Testing"
!!/live
!!live
 
 
1 hour later…
2:05 AM
!!eval:System.exit(0)
 
You can't shut me down!
 
!!eval:"Test"
@Justin listensto you?
 
!!eval:"Test"
 
Test
 
!!eval:"Hello World".toList()
 
2:09 AM
[H, e, l, l, o, , W, o, r, l, d]
 
2:20 AM
!!eval:System.exit(0)
 
You can't shut me down!
 
2:35 AM
!!eval:Collections.shuffle("Hello World".toList())
!!eval:Collections.shuffle("Hello World".toList()).toString()
 
null
 
!!eval: def x = "Hello World".toList(); Collections.shuffle(x); return x;
 
[W, d, o, l, r, o, , H, e, l, l]
[ , l, e, l, H, r, W, l, d, o, o]
 
Okay thens
!!eval:System.exit(0);
 
You can't shut me down!
 
2:38 AM
facepalm
!!eval: def x = "Hello World".toList() Collections.shuffle(x) return x;
 
startup failed:
EvalCommand: 1: expecting EOF, found 'return' @ line 1, column 56.
List() Collections.shuffle(x) return x;
^

1 error
 
!!eval:System.exit(0)
!!eval:System.exit(0)
!!eval:System.exit(0)
 
You can't do that!
 
!!eval: new Thread()
 
Thread[Thread-2,5,main]
 
3:03 AM
!!eval:"2345"
 
!!eval:this.class.getName()
 
EvalCommand
 
!!eval:this.class.getName()
 
UserScript
 
!!eval:System.exit(0)
 
3:22 AM
!!eval:def x = "Hello World".toList(); Collections.shuffle(x); return new String(x);
!!eval:def x = "Hello World".toList(); Collections.shuffle(x); return new String(x);
 
Could not find matching constructor for: java.lang.String(java.util.ArrayList)
 
!!eval:def x = "Hello World".toList(); Collections.shuffle(x); return x;
 
[o, , l, r, o, W, H, l, e, l, d]
 
!!eval:System.exit(0)
 
You can't do that.
 
3:24 AM
!!eval: new Thread();
 
Thread[Thread-2,5,main]
 
!!eval:Thread.currentThread().getName()
 
JS executor for com.gargoylesoftware.htmlunit.WebClient@245a26e1
 
!!eval:"Hello World!"
 
Hello World!
 
3:31 AM
!!eval:new StringBuffer("Hello World!").reverse().toString();
 
!dlroW olleH
 
!!eval: new File("test.txt").withWriter { out -> out.writeLine("Test") }
 
You can't do that.
 
:)
 
:D
 
3:31 AM
The thread business is another issue.
!!eval:Math.random()
 
0.5463504590743556
 
Also, I don't think you need a string buffer for that in Groovy
!!eval:: "Hello World!".reverse()
 
startup failed:
UserScript: 1: unexpected token: : @ line 1, column 1.
: "Hello World!".reverse()
^

1 error
 
oops
 
fails
 
3:33 AM
!!eval:"Hello World".reverse()
 
dlroW olleH
 
!!eval:"Hello World!".reverse().toString()
 
!dlroW olleH
 
:)
All that toString stuffs isn't really needed in groovy either
 
Meh.
 
3:34 AM
You might like this one...
 
They say Java is for lazy programmers. It seems that Groovy is even lazier.
 
!!eval:"Hello World".bitwiseNegate()
 
Hello World
 
Idk how to use it cause I'm not a master of regex like you. but it could be useful.
I think it just escapes regex
!!eval:"public . checkPermissions(.)".bitwiseNegate()
 
public <i>.</i> checkPermissions(<i>.</i>)
 
3:36 AM
0_o
That html tag nonsense is kind of silly
!!eval:"Hello World".count("l")
 
3
 
:(
So I gotta re-learn another language?!
 
Java works too
Groovy just provides some simple API stuffs that makes writing scripts easier.
 
!!eval:class Main {
static enum Cats {
KEYBOARD
}
public static void main(String[] args) {
System.out.println(Cats.KEYBOARD);
}
}
:/
 
You forgot to call main
 
3:39 AM
.....
!!eval:class Main {
static enum Cats {
KEYBOARD
}
public static void main(String[] args) {
System.out.println(Cats.KEYBOARD);
}
}; main(null)
!!eval:class Main {
static enum Cats {
KEYBOARD
}
public static void main(String[] args) {
System.out.println(Cats.KEYBOARD);
}
}; Main.main(null);
 
0_o
Too much HTML
STACK_OVERFLOW:Sandbox(1) / Unihedron(3622940): <div class='full'>!!eval:class Main { <br> static enum Cats { <br> KEYBOARD <br> } <br> public static void main(String[] args) { <br> System.out.println(Cats.KEYBOARD); <br> } <br> }; Main.main(null);</div>
I'll make backticks work so that doesn't happen.
 
lol
 
I don't think HTML gets injected into messages with backticks
 
!!eval:"Hello @Unihedron"
 
Hello @Unihedron
 
3:42 AM
@Justin .replace("<br>", "")
 
!!eval:`
Test
Test
fwf\\\&&&&`
 
I need a groovy manual.
Use fixed font
!!eval:"Test\
Test"
 
STACK_OVERFLOW:Sandbox(1) / Unihedron(3622940): <pre class='full'>!!eval:&quot;Test\
Test&quot;</pre>
 
-_-
:( JavaBot is only 99.3% Java :/ The other 0.7% is Groovy
 
Groovy = Java + Some
I'll fix this HTML nonsense
 
3:44 AM
Groovy is like Java and JavaScript, with a bit of Python.
 
You realize that 100% java code works inside Groovy right?
You can write a java class and parse it as a groovy script and it work fine.
 
Except.... It didn't
 
That's because it was littered with HTML tags
 
!
...
!!eval:"hi"
 
hi
 
3:50 AM
!!eval:"hi" "hey"
 
No signature of method: UserScript.hi() is applicable for argument types: (java.lang.String) values: [hey]
Possible solutions: is(java.lang.Object), wait(), run(), run(), find(), any()
 
....
 
!!eval:"<what> is <the regex> for this".replaceAll("<*.*>", "");
 
for this
 
I was close
What is it?
 
3:52 AM
!!eval:"<what> is <the regex> for this".replaceAll("<[^>]+>", "");
 
is for this
 
AAAAAH ZALGO
 
Can we escape them? Like for generics?
!!eval:"\<what> is <the regex> for this".replaceAll("<[^>]+>", "");
 
startup failed:
UserScript: 1: unexpected char: '\' @ line 1, column 2.
"\<what> is <the regex> for this".replaceAll("<[^>]+>", "");
^

1 error
 
umm what is that
 
3:53 AM
Does HTML escape them as entities?
 
What was that russian hacker stuff?
 
Some anti-regex fanclub that implemented the zalgo for when you try to parse html with
regex
 
That's retarded.
anyways
!!eval:"\\<what> is <the regex> for this".replaceAll("<[^>]+>", "");
 
\ is for this
 
!!eval:"\\<what\\> is \\<the regex\\> for this".replaceAll("<[^>]+>", "");
 
3:55 AM
\ is \ for this
 
??
 
Can you change the regex so that we can escape <> if we need to?
 
We need a sanitizing replacement that converts HTML entities back to ascii.
 
I already do that.
It's just the tags.
 
Oh. "<[^>]+>" should do
 
3:57 AM
What if I wanted a <> in the code?
 
Change + to *
 
!!eval:<this> but not \<this>".replaceAll("<[^>]*>" , "")
 
startup failed:
UserScript: 1: unexpected token: < @ line 1, column 1.
<this> but not \<this>".replaceAll("<[^>]*>" , "")
^

1 error
 
oops
!!eval:"<this> but not \<this>".replaceAll("<[^>]*>" , ""
 
startup failed:
UserScript: 1: unexpected char: '\' @ line 1, column 17.
"<this> but not \<this>".replaceAll("<[^>]*>" , ""
^

1 error
 
3:58 AM
o_o
 
omg these flying letters need to stop
!!eval:"<this> but not \<this>".replaceAll("<[^>]*>" , "")
 
startup failed:
UserScript: 1: unexpected char: '\' @ line 1, column 17.
"<this> but not \<this>".replaceAll("<[^>]*>" , "")
^

1 error
 
Make him post that with indenting four spaces so it's fixed font and the arrow points to where it should be.
.replaceAll("(?m)^", " ")
 
@Unihedron Okay, I will. But first we need a regex that removes HTML tags while still allowing us to escape the ones we WANT, for generics and such
 
@Justin Maybe we only should remove balanced tags.
 
4:01 AM
Alright, I think I know how to do this.
 
replaceAll("<([^>]+)>(.*?)<\\/\\1>", "$2")
 
4:17 AM
!!eval: public class Test {
public static String test() { return "test" }
return Test.test();
 
Forgot to close braces..
!!eval: public class Test {
public static String test() { return "test" }
}
return Test.test();
nvm
!!eval:"I'm alive!"
 
I'm alive!
 
I know the problem. just let me fix it :p
I think the proper solution is to parse the message as HTML before it ever gets sent to the listeners.
and just send the text
Lets see if it works.
!!eval:
"Test" +
"Test2"
 
TestTest2
 
:)
!!eval:
public class Test {
public static String test() { return "Test"; }
}
return Test.test();
 
4:24 AM
startup failed:
UserScript: 1: expecting EOF, found 'return' @ line 1, column 71.
g test() { return "Test"; } } return Tes
^

1 error
 
ah
!!eval:
public class Test {
public static String test() { return "Test"; }
}
 
No signature of method: Test.main() is applicable for argument types: ([Ljava.lang.String;) values: [[]]
Possible solutions: wait(), wait(long), find(), any(), wait(long, int), print(java.lang.Object)
 
There, it's trying to run main :p
!!eval:
public class Test {
public static String test() { return "Test"; }
public static void main(String args) { Test.test(); }
}
 
startup failed:
UserScript: 1: expecting '}', found 'public' @ line 1, column 69.
ing test() { return "Test"; } public sta
^

1 error
 
!!eval:
public class Test {
static String test() { return "Test"; }
static void main(String args) { Test.test(); }
}
 
4:28 AM
startup failed:
UserScript: 1: expecting '}', found 'static' @ line 1, column 62.
ing test() { return "Test"; } static voi
^

1 error
 
?....
 
!!eval:
public class Test {
String test() { return "Test"; }
void main(String args) { Test.test(); }
}
 
startup failed:
UserScript: 1: expecting '}', found 'void' @ line 1, column 55.
ing test() { return "Test"; } void main(
^

1 error
 
Lol
I know what's wrong.
 
It doesn't like java style return types?
Meh, groovy
 
4:32 AM
It's because it's being evaluated in a shell instead of compiling the script
I can fix that.
 
How?
Bye!
 
By changing it so that groovy compiles the script instead of running it in a shell? 0_o
Lol bye
 
4:47 AM
!!eval:
public class Test() {
{ Test.test(); }
public static String test() { return "test" }
}
 
startup failed:
UserScript: 1: unexpected token: ( @ line 1, column 19.
public class Test() { { Test.test(); } public static String test() { return "test" } }
^

1 error
 
public class Test() {
public void main(String[] args) {
return "test";
}
}
!!eval:
public class Test() {
public void main(String[] args) {
return "test";
}
}
 
startup failed:
UserScript: 1: unexpected token: ( @ line 1, column 19.
public class Test() { public void main(String[] args) { return "test"; } }
^

1 error
 
!!eval:"test"
 
class UserScript
 
4:50 AM
!!eval:System.out.println("Test");
 
class UserScript
 
!!eval:
public class Test() { }
 
class UserScript
 
!!eval:
public class Test() { System.out.println("Test") }
 
class UserScript
 
4:52 AM
!!eval:
public class Test() {
{ System.out.println("Test" }
}
 
class UserScript
 
!!eval:
 
class UserScript
 
err
!!eval:
public class Test() {
{ System.out.println("Test"); }
}
!!eval:
public class Test() { public static String test() { return "test"; } }
 
class UserScript
 
4:56 AM
!!eval: Test.test();
!!eval: public Object run() { System.out.println("Test") };
 
startup failed:
UserScript: -1: The method public java.lang.Object run() { ... } is a duplicate of the one declared for this script's body code
. At [-1:-1] @ line -1, column -1.
UserScript: 1: Repetitive method name/signature for method 'java.lang.Object run()' in class 'UserScript'.
@ line 1, column 2.
public Object run() { System.out.println("Test") };
^

UserScript: -1: Repetitive method name/signature for method 'java.lang.Object run()' in class 'UserScript'.
@ line -1, column -1.
3 errors
 
!!eval:
{
System.out.println("Test");
}
 
startup failed:
UserScript: 1: Ambiguous expression could be either a parameterless closure expression or an isolated open code block;
solution: Add an explicit closure parameter list, e.g. {it -> ...}, or force it to be treated as an open block by giving it a label, e.g. L:{...} @ line 1, column 2.
{ System.out.println("Test"); }
^

1 error
 
!!eval:
static { System.out.println("Test"); }
 
startup failed:
UserScript: 1: unexpected token: static @ line 1, column 2.
static { System.out.println("Test"); }
^

1 error
 
5:09 AM
!!eval: public Object run() { System.out.println("Test"); }
 
startup failed:
UserScript: -1: The method public java.lang.Object run() { ... } is a duplicate of the one declared for this script's body code
. At [-1:-1] @ line -1, column -1.
UserScript: 1: Repetitive method name/signature for method 'java.lang.Object run()' in class 'UserScript'.
@ line 1, column 2.
public Object run() { System.out.println("Test"); }
^

UserScript: -1: Repetitive method name/signature for method 'java.lang.Object run()' in class 'UserScript'.
@ line -1, column -1.
3 errors
 
!!eval:
public class TestScript extends ScriptBase() {
public Object run() { System.out.println("Test"); }
}
 
startup failed:
UserScript: 1: unexpected token: ( @ line 1, column 44.
TestScript extends ScriptBase() { publi
^

1 error
 
public class TestScript extends ScriptBase {
public Object run() { System.out.println("Test"); }
}
!!eval:
public class TestScript extends ScriptBase {
public Object run() { System.out.println("Test"); }
}
 
startup failed:
UserScript: 1: unable to resolve class ScriptBase
@ line 1, column 2.
public class TestScript extends ScriptBase { public Object run() { System.out.println("Test"); } }
^

1 error
 
5:12 AM
!!eval:
package com.gmail.inverseconduit;
public class TestScript extends ScriptBase {
public Object run() { System.out.println("Test"); }
}
 
java.lang.Class cannot be cast to com.gmail.inverseconduit.ScriptBase
 
5:24 AM
!!eval:
public class TestScript {
public static void main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
wrong number of arguments
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
wrong number of arguments
 
Hello
 
Hi.
 
5:35 AM
I am new to Stack overflow chat rooms... I have a doubt, I am not sure how to start a chat room with a user
sometimes when i want to discuss something with an OP, I feel like chat room is a good place for this
but I dont find a direct way of inviting the person directly for that question
is there there an option where a chat room can be started for that particular question in discussion?
 
Don't think so.
 
I am not sure if this feature exists?!
hmm thanks Justin, I couldnt find much info on FAQ hence asked.
Thought this would save a lot of time when discussing
Thanks
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
wrong number of arguments
 
.
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
5:39 AM
wrong number of arguments
 
dafuq @JavaBot
.
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
[Ljava.lang.Class;@40940989
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
wrong number of arguments
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
5:44 AM
wrong number of arguments
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
argument type mismatch
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
argument type mismatch
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
 
5:46 AM
argument type mismatch
 
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static void main(String[] args) {
System.out.println("Test");
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
 
6:12 AM
Test
 
@Unihedron There's your darn java.
!!eval:
public class TestScript {
public static String main(String[] args) {
System.exit(0);
}
}
 
Test
 
Makes sense.
 
6:24 AM
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
 
Test
 
!!eval:
public class TestScript {
public static String main(String[] args) {
System.exit(0);
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Test";
}
}
 
Test
 
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Blah";
}
}
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Blah";
}
}
 
Test
 
6:28 AM
!!eval:
public class TestScript {
public static String main(String[] args) {
return "Clear";
}
}
 
Clear
 
!!eval:
public class TestScript {
public static String main(String[] args) {
return "the";
}
}
 
the
 
!!eval:
public class TestScript {
public static String main(String[] args) {
return "cache";
}
}
 
cache
 
6:31 AM
!!eval:
public class TestScript {
public static String main(String[] args) {
System.exit(0);
}
}
 
7:02 AM
Sequerome is a web-based Sequence profiling tool for integrating the results of a BLAST sequence-alignment report with external research tools and servers that perform advanced sequence manipulations, and allowing the user to record the steps of such an analysis. Sequerome is a web based Java tool that acts as a front-end to BLAST queries and provides simplified access to web-distributed resources for protein and nucleic acid analysis. Since its inception in 2005, the tool has been featured in Science and officially linked to many bioinformatics portals around the globe. == Description == Sequerome...
6
A: What is an anonymous user capable of?

rink.attendant.6I just opened StackOverflow in Incognito mode to play around as an anonymous user. I've found that I can: Read questions, answers, help center pages and other site information View public information on user profiles Suggest an edit to a question Suggest an edit to an answer Answer a question S...

 
7:22 AM
Interjection: touché
  1. (fencing) An acknowledgement of a hit.
  2. touché!
Verb: touché m (feminine touchée, masculine plural touchés, feminine plural touchées)
  1. past participle of toucher
28
Emacsemacs.stackexchange.com

Beta Q&A site for those using, extending or developing emacs.

Currently in public beta.

Shog9 on October 07, 2014

We rolled out three new badges last week!

These recognize a pattern that sets Stack Exchange apart from the forums and message boards that came before it: answering and editing questions, the ability to not only write an answer that can be useful beyond the immediate asker but also re-write the question such that it can be found and understood by future readers. Thanks to this capability, brilliant explanations need not languish under titles such as “C++ problem” or “Java doubt” – having written an answer that ably fixed the problems in the asker’s code, it is possible to also fix the problems in his writing! …

Alecos Papadopoulos on September 05, 2014

As is usual with grandiose plans and visionary goals, they were never planned from the beginning -and they are never so grandiose or visionary, in retrospect. Nevertheless there is no “WTF” bewildered expression in my face, looking at the following :

And these were also the first 400 days that I have been participating here. But how did it happen? Don’t I have work to do? My PhD? A profession? Personal stuff? Well, I admit I do have all these things. But many of them are mediated by an on-line computer -and CV was no more than one click away. And I found myself always clicking that click, during the day. And a second day. Up to and including the 400th day. …

Data Science Engineer

Stack Exchange

Come help us create the future of Stack Overflow. We’re building our data team and are looking for a data…

Posted on Careers 2.0 on October 8, 2014

Google offers now a similar service to Facebook called Google+. I would love to see it integrated into Gwibber!
Gwibber
High / Confirmed
"Java does not allow for operator overloading for many reasons, simply because it doesn't need it." - @shit_so_says http://stackoverflow.com/a/26437970/402884
@chris__martin, Atlanta
@cardforcoin, magic internet money, programming languages, scala, complaining
15.3k tweets, 501 followers, following 407 users
 

« first day (1467 days earlier)      last day (3475 days later) »