« first day (1684 days earlier)      last day (1555 days later) » 

12:26 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888619
 
12:49 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888633
 
1:04 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888658
 
1:17 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888662
 
1:27 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888661
 
2:00 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888677
 
2:30 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888695 | Edited by reviewer
 
3:29 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888754 | Approved by OP | Edited by reviewer
 
3:57 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888759 | Approved by OP
 
4:47 AM
WHY DON'T YOU COME HANG OUT INSIDE MY HOUSE. WE CAN COOK BREAD AND CHAT ABOUT OUR INTERNAL SKELETONS.
5
 
5:13 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888846
 
5:29 AM
[ EditMonitor ] Approved with 2 rejection votes: 1888919 | Approved by OP
 
 
1 hour later…
6:49 AM
[ EditMonitor ] Approved with 2 rejection votes: 1889037 | Approved by OP | Edited by reviewer
 
 
2 hours later…
8:30 AM
[ EditMonitor ] Approved with 2 rejection votes: 1889315 | Approved by OP
 
9:14 AM
[ EditMonitor ] Approved with 2 rejection votes: 1889455 | Approved by OP
 
10:05 AM
[ EditMonitor ] Approved with 2 rejection votes: 1889616 | Edited by reviewer
 
 
1 hour later…
11:13 AM
[ EditMonitor ] Approved with 2 rejection votes: 1889807 | Edited by reviewer
 
 
1 hour later…
12:38 PM
[ EditMonitor ] Approved with 2 rejection votes: 1890006 | Approved by OP
 
4k OP approved, looks ok
 
Anonymous
@Unihedron why are you updating the docs ? stackoverflow.com/revisions/30474960/2
 
12:57 PM
@FrancescoMenzani Why should I not? Spigot docs aren't official and as a result they eventually rot.
Link rot is inevitable.
While we're at it, I voted to close the question, if you're wondering.
 
(never mind, misunderstood word)
 
Anyway, you're implying that it's OK not to update docs which points to unofficial sources, which I have no interest in arguing over. I'm going to flag for a mod to rollback (and watch / lock) later, when I'm done with tasks on hand.
 
Anonymous
@Unihedron readers don't need the source, but only the comments
spigot doc is ok
 
1:19 PM
@FrancescoMenzani While you're here, and I hate to pollute the comment threat, startsWith("/tp ") ignores /tp, which you should handle.
 
Anonymous
ok, the split pattern is definitively necessary
 
Also, how are you going to handle teleportations that are triggered by a command block?
(and all those edge cases with clicking MadJsonText in books - if you're looking for an explanation for my downvote, there you go)
 
Anonymous
the op is asking about commands
 
I'm well aware.
Practically, clicking a Json-formatted sign which triggers an action is also issuing a command.
@FrancescoMenzani "readers don't need the source, but only the comments" - I hate to tell you, but your assumption isn't on solid grounds. The target audience of Stack Overflow aren't readers who doesn't understand how code works.
 
Anonymous
they understand, but they don't need to
 
1:35 PM
@FrancescoMenzani Thanks for speaking for many people who aren't you, but I'm just going to throw out the experience card here and say that you're wrong.
 
Anonymous
updated again
 
At least now it ignores casing properly. :p
 
Anonymous
well, you can't use equalsIgnoreCase() with startsWith()
 
You can use regex for .matches().
 
Anonymous
regex is expensive :P
 
1:41 PM
@FrancescoMenzani Guess what equalsIgnoreCase() uses?
 
Anonymous
first.toLowerCase().equals(second.toLowerCase())
 
That would throw an NPE if the second String object is null. My hint is that the current implementation doesn't throw an NPE.
 
Anonymous
@Unihedron that isn't a problem, just check != null
 
This is the exact same parsing process for a Pattern.LITERAL, Pattern.IGNORE_CASE Java regex.
@FrancescoMenzani I'd ROFL if any JDK method uses the null check.
Instead you'd see Objects.requireNonnull(), which still throws a NPE, except with a better error message.
 
Anonymous
why ?
however, this isn't the point
that was the main logic, not the exact body
also, your link isn't about equalsIgnoreCase()
 
1:49 PM
@FrancescoMenzani "Your link isn't about equalsIgnoreCase()" - Not sure if trolling or you just have no idea how Java is implemented. Here you go.
Notice how it uses the above region iteration matching, which is slower than a literal java regex.
 
Anonymous
 
As for why I'd laugh if any JDK method uses the null check, just using any `null` implies that the programmer is unaware of the conventions of the program because 1. null is proven bad by computer scientists, and 2. checking for null or not null implies a lack of method contract, which would be laughable for business code as heavy as the JDK layer, and 3. Have you even used a != null check to discover the problem it would cause in this case? That implies returning a __default value__ when it's null, which there is no viable for a parsing method.
@FrancescoMenzani Come again?
 
Anonymous
what ?
 
Anonymous
are you misunderstanding me ?
 
@FrancescoMenzani The only way to prevent misunderstanding is to ask for clarification.
 
Anonymous
1:54 PM
2 mins ago, by Unihedron
@FrancescoMenzani Come again?
 
Anonymous
^ do you mean i'm trolling you again ?
 
The first result leads to a dictionary site, which has your answer if you don't know what that idiom means.
 
Anonymous
i was not trolling you
 
I didn't think you were.
 
Anonymous
10 mins ago, by Unihedron
@FrancescoMenzani "Your link isn't about equalsIgnoreCase()" - Not sure if trolling or you just have no idea how Java is implemented. Here you go.
 
Anonymous
2:00 PM
"Not sure if trolling"
 
Anonymous
about your links, how could i know that equalsIgnoreCase() uses regionMatches() if you link directly the second's source ?
 
@FrancescoMenzani by... knowing?
 
Anonymous
20 mins ago, by Unihedron
@FrancescoMenzani Guess what equalsIgnoreCase() uses?
 
I guess I shouldn't naturally assume you'd know everything you have to, then.
 
Anonymous
^ if you thought i knew, why would you ask me that ?
 
Anonymous
3:55 PM
@Unihedron :P
 
Anonymous
This worked perfectly for what I wanted. Thank you. — Jordan 43 mins ago
 
nice
Always glad to see people helping and getting helped
 
4:30 PM
@Unihedron In theory, that's why we're here.
 
@QPaysTaxes MUAHAHAHAHAHAA
How many helpful flags you got?
kewl~
gl :)
I have a little over 8k
 
[ EditMonitor ] Approved with 2 rejection votes: 1890579
 
@QPaysTaxes Well, Closey's main task is to run in the SO Close Vote Reviewers room.
but here it monitors recent edits too
see you!
 
 
1 hour later…
5:43 PM
http://www.commitstrip.com/en/2015/05/27/it-consulting-magic/
CommitStrip - Blog relating the daily life of web agencies developers
IT Consulting Magic
CommitStrip
1432748481
 
6:26 PM
Welcome back!
but I have to go now, so cya!
 

« first day (1684 days earlier)      last day (1555 days later) »