« first day (1496 days earlier)      last day (3755 days later) » 

14:00
(sighs) (walks away grumbling about how high traffic tags posts gets all the attention)
[ SmokeDetector ] All-caps title: HOW TO GET THE AVERAGE OF AN ARRAY? on programmers.stackexchange.com
Sam
Sam
@Unihedron Ikr?! And the sad thing about this is it happens quite often :/
@SmokeDetector he's back
and It's still crap
and I can't downvote!!! (hurk)
patrick wayne; patrick wayne; does whatever patrick wayne does :)
Why doesn't Programmers have a flag/close reason for being off-topic and belonging on SO, without migrating?
14:06
and gnat found it, gave it an edit and placed a comment..
@Stijn I have no (expletive removed) idea...
aaand the fucktards moved it to so..
now it's migrated...
good friggin job, programmers...
@Stijn Just VLQ + vote migration :)
Sam
Sam
@Unihedron Oh look, another Q by the same OP. (Don't look at it for too long, your brain might explode.)
@Sam Thanks so much for the disclaimer! I twitched the moment I saw the part about assembly... Were I to investigate I would'v killed myself..
CV'd though, no worries
Sam
Sam
14:09
Thx.
in Java on Stack Overflow Chat, 1 min ago, by Unihedron
KILL IT! KILL IT WITH FIRE!!@!@#!!@
Buddies at Java room helped kill it with fire :))
[ SmokeDetector ] Bad keyword detected: Air système. bonne de nike tn on drupal.stackexchange.com
@SmokeDetector spam
okay, now I've done it.
drupal account for flagging spam created.
down btw.
@Vogel612 Welcome to the club!
14:17
@Vogel612 Now all the spam is going to stop there. It's like going out to by a snow blower in the winter and then it doesn't snow again for the season
@Andy how are the odds??
Alas... Some opinions on the question I just asked on programmers meta, concerning that migration thing just now: meta.programmers.stackexchange.com/questions/6878/…
@Vogel612 Maybe you can neutralize the tone. It sounds slightly provoking at the moment.
@Unihedron that's the plan, actually...
Oh. Never mind, then.
not that I want to start a flame-war, but I am quite agitated right now...
14:29
@ShadowWizard not direct Id entry, but we actually did bring up the idea of an "open in app" link in our team meeting last week
specifically we talked about using one of those banners. very controversial topic around here
14:49
hia @lostsock
@BenCollins OK, that should work either. :)
false alarm...
@SmokeDetector uv-pls
14:55
I think it better not check for offensive words in MSE as "crap" is common in titles and totally legit
3
where do i request cvs?
here...
i thought someone has made a chat specific to it
probably better to ignore questions with a score of 2+
14:56
@BenCollins Score is not present in /realtime tab. :(
@BenCollins as a dev feel free to expand the realtime tab to also include score ;)
@BenCollins I up @Shadow - The more there is, the more we can make use of :)
on second thought, even +10000 question can be edited into a spam post so maybe better not exclude them
14:59
Yeah, maybe per-site exclusion. Just like what I'm proposing, for "weight loss" to be caught when outside fitness.SE.
better a rare false positive than letting spam slip through :)
When was the last time a spam / offensive post on MSE had the word "crap"? xD
@Unihedron why not use the API for this? it's a good example of the kind of thing it would be good for
Wait.........
There's an API?!
@Unihedron sure and @JanDvorak got a manual script based on it
15:01
:O (Gasp!!)
@Unihedron where've you been living :P
dunno why the "real" bots aren't using it, guess for a good reason
@Unihedron can't tell if you're trolling or not ;-)
Srry imma nub
15:02
@Unihedron it's even in version 2.0...
and 1.0 is deprecated IIRC
2.2, actually
there's a throttle, but it's pretty generous. plenty generous for smokedetector
@Ben well, the anti spam headquarters are in this room, so feel free to ask in there:
user202362
If there is toString method in java & C#, why isn't a fromString method that restore objects from strings?
15:03
@chmod711telkitty toString doesn't always provide all stateful information
For example, when .toString() -ing an int array, the hashCode() is returned, which doesn't bring in what are in the fields, etc
Not to mention parsing a string isn't always very trusty, with encoding, serialization and all that
@Unihedron well for that java has Collections.toString(array);
@Unihedron but like, you programmers can still hack it and figure it out, right?
@Bart reflection yes, but that's outside toString() - you have to hack backdoors with getClass().getAllFields() -> .setAccessible() >> .get()
and different for C# once more
Sam
Sam
In C# it's .ToString(); (pascalcase).
@Unihedron Great, great ... can you fix my computer?
2
15:05
@Bart Fedex it
@Bart stop trolling, will ya?
0
Q: Should I answer "is it possible?" type of questions?

me howThere are many questions on site which actually ask: "is it possible?" which are usually followed by "OK, great so how do I do that?" in the comments section. Those automatically raise a "help-vampire" alert. As far as answering the original question goes you can: "yes, it's possible. You can d...

@mehow Favourited. One of my concerns too, hopefully not a duplicate.
@Vogel612 trolling? Me? I'd never.
2
@Sam Thanks. Does .ToString() in C# return stateful information?
15:07
@chmod711telkitty there is. Known as Deserialization. :)
@Unihedron thanks. I spend a good few hours and havent seen a duplicate that's why I finally asked
@ShadowWizard I think serialization in Java is directly converting the object into bytes with the .serialize() and Type.deserialize(object) to decode the bytes, but not related with toString().
Sam
Sam
@Unihedron It only returns the object's string representation, which varies with whatever the object is.
Not sure about C# though.
@Sam Cool, thanks, so Java is very similar to C#. Except again, C# is better. :)
well the default .toString() in java is just return obj.getClass().getSimpleName() + "@" + obj.hashCode();
Sam
Sam
15:09
@Unihedron Anytime :D
@Unihedron well, every class would have to do it in its own way, but it is doable
@ShadowWizard Hey, your idea's very intriguing, but I think I get it now:
class Pair {
  int x, y;
  Pair(int a, int b) { x = a; y = b;}
  String toString() { /* encode? */}
  Pair fromString(String str) { /* decode? */}
}
o/
15:13
o/
Sam
Sam
\o
I remember back in the day when only one train a day ran through the tavern
Sam
Sam
15:15
-=|o|=-
\\o
public override string ToString()
{
return string.Format("{0},{1}", this.x, this.y);
}

public static Pair FromString(string str)
{
string[] temp = str.Split(',');
//validation better be here.....
return new Pair(Int32.Parse(temp[0]), Int32.Parse(temp[1]));
}
that's C# ^
In Java a similar implementation:
String toString() {
  return x + "," + y;
}
Pair fromString(String str) {
  Pair pair = new Pair();
  final String[] strs = str.split("\\|");
  pair.x = Integer.parseInt(strs[2]);
  pair.y = Integer.parseInt(strs[1]);
  return pair;
}
But yes, that's because we specify toString() to return stateful information and we can recover it.. If the class does not already follow the design (for example, if you pick up code from the apache library), you wouldn't be able to do this otherwise
I'm confused, I got the mortarboard badge....
On MSO...
yesterday...
15:24
@rene wut?
@rene why confused?
If you earn 200 rep on the main site and cap off and visit meta, you get the badge.
^ In that order.
Sam
Sam
@ProgramFOX @jcolebrand Wb.
15
A: "Mortarboard" continues to be awarded

OdedBadges can be awarded on child metas. And are. In this case, though there is no associated reputation, the aggregate scores are what's giving these badges out (so, 20 upvotes on answers, for instance, which would on a main site equate to 200 reputation, would award one a mortarboard on the first...

Afternoon!
15:25
@bluefeet I got 16 upvotes and an accept and -18
Afternoon!
@Unihedron yeah, that isn't correct -- meta.stackoverflow.com/questions/251249/…
@bluefeet oh??
i'm confused now..
@Unihedron it has nothing to do with the main site
it's awarded based on the votes on meta
Votes are basically interpreted back to rep and that gets you the badge. But not the rep.
15:28
Oh I see.
I should stop assuming how the system works.
@rene but how would you know if older questions/answers were voted up on?
@Unihedron yes, yes you should
@rene -18, alas!
Nah @Unihedron, who cares about facts. Gut feeling is all that counts.
4
It's hard to make up your mind here on the Tavern..
15:29
Ah, I see where it comes from, +17 votes on an answer and -25/+7 on my epic answer on the question of @Unihedron
link please again
It was legendary. You deserve a gold badge for that.
this (-25+7) and this (+17)
Sam
Sam
-26
WHAT!
I'll downvote all your answers on Meta!
15:32
70 - 50 + 170 + 15 = ?
Pff the OP of that answer is clueless.
Sam
Sam
lol that wasn't me.
hiya @Undo
hiya
welcome @Undo!
Sam
Sam
15:33
hiya
@Bart I agree
@undo came to advertise his MSE post
I... feel like a new user coming in here, for some reason :P
we were walking about adding spam filters for site exclusions if you approve, @Undo
4 hours ago, by Unihedron
Proposal: catch "weight loss" for spam on non-fitness.SE sites.
15:34
@Unihedron We tried something like that once.
but yeah, we could probably do it better
oh...
Give me a regex, and I'll test it on some data dumps and stuff.
We can do the site exclusions.
Got it! I'll put together something when I can. You (and the other collabs) can look at it then.
I think "muscle" is a less common word for non-spam than "body" (so we could use that); I'm checking it now with the full SE search function but it seems like it's going to take some time :P
I'll tell ya a secret..
Sam
Sam
15:36
Give a man a Regex, and he'll parse html for the day, teach a man to Regex and he'll battle Zalgo for the rest of his life.
8
in Secrets, 8 secs ago, by Unihedron
I actually don't know how to write SQL.
Nevermind, I got many non-spam "muscle" results when searching for it in Google...
Mmm, delicious muscle, helps building the website.
My next javascript library will be called muscle
3
@Unihedron You run your query on StackOverflow (where there are no muscle questions). I don't think there is a way to run a query network-wide.
Oh. Is there a way to specify the whole word in the search dialogue (aka "muscle building" on google)?
@Unihedron "muscle building" site:*.stackexchange.com in Google.
this makes me convinced that muscle building questions are only found on fitness.SE... anywhere else and it's spam
Sam
Sam
15:46
status-studies-completed
btw it's powered by google
> powered by Google
@Unihedron you did but this only returns 3 records
I tried it with muscle
oh I see
Conclusion: muscle building outside fitness.SE is pretty much spam-guarranteed'...
Yes and based on @Braiam tip: this proves that as well
(just click the advanced search tips link next to the seach button to get more info)
15:53
primarily opinion based?.. poker.stackexchange.com/q/4190/1728
fingers itching to edit that numbered list..
@Unihedron I would say off topic
asking for one-on-one coaching
I checked the help center. Anything that has to do with poker is on-topic for poker.SE, sadly.
it reads as a rant though....
@Unihedron that's the problem with saying "anything", is not specific enough
15:56
Lady Gaga questions are on-topic....Poker Face.
Depression is when your suggested edit has been rejected but you can't understand the reject message...
@Unihedron too minor
Sam
Sam
Chrome can't translate it either lol
@Unihedron too minor
16:00
thanks @rene @Sam @Braiam
must. resist. +200. in. the. top. bar!
Sam
Sam
@Unihedron If you're interested in Google Translate's version...
> Editing is insufficient; editing suggestions need to significantly improve the posting, solving the various problems she may have.
@Sam yes, we need to fix her
Bot started.
@FOX9000 you seem to be wrong here...
16:04
>>help
@ProgramFOX I'm FOX 9000, ProgramFOX's chatbot. You can find the source code on GitHub. You can get a list of all commands by running >>listcommands
@Vogel612 ^ Really? :P
>>listcommands
@Vogel612 Commands: translationswitch, randomint, random, shuffle, help, translationchain, randomchoice, translate, listcommands
>>help translationswitch
16:04
>>shuffle H e l l o W o r l d !
@Vogel612 Not enough arguments.
@Unihedron Command contains invalid characters.
Sam
Sam
@ProgramFOX No sudo?
>>shuffle H e l l o W o r l d
@Unihedron l o W d H l o e l r
>>ban Sam
16:05
>>help translationswitch
@Unihedron You don't have the privilege to execute this command.
@Vogel612 I'm FOX 9000, ProgramFOX's chatbot. You can find the source code on GitHub. You can get a list of all commands by running >>listcommands
>>voteban Sam
@Unihedron Command not found.
>>sudo ban Sam
(note: avoid too much use of translationswitch and translationchain. They are expensive commands and slow down other messages)
16:05
@Vogel612 Command not found.
Sam
Sam
How nice :P
@ProgramFOX what is translationswitch??
>>translationchain 10 ok
@Unihedron Not enough arguments.
>>translationchain en 10 ok
16:06
@Unihedron Invalid arguments.
@Vogel612 It's what you asked; the translationchain but with two languages.
>>translationchain de en 10 "Danke das reicht"
@Vogel612 Invalid arguments.
@ProgramFOX your laptop doesn't scale?
First the amount of translations, then the languages, then the text. Quotes are not necessary.
16:07
>>translatechain 10 auto hello world!!!
@Unihedron Command not found.
>>translationchain 10 auto hello world!!!
@rene They are not expensive for my laptop, but as many messages are sent, other messages that should be posted at the same time might not be posted, which is annoying because the bot also runs in the Den.
@Unihedron Language not in list. If the language is supported, ping ProgramFOX and he will add it.
@Unihedron You forgot the second langauge...
16:08
>>translationchain 10 de en "Danke das reicht"
Feature request: alias for commands
@Vogel612 Translation chain started. Translation made by Google Translate. Some messages in the chain might not be posted due to a reason I don't know.
Translate de-el: " Σας ευχαριστώ , αυτό είναι αρκετό "
Translate el-te: " తగినంత అని , ధన్యవాదాలు "
Translate te-gl: "Isto é o suficiente, grazas"
> due to a reason I don't know,
Translate gl-mi: " E nui , whakawhetai ki a koe "
Translate mi-ar: " انه امر رائع ، شكرا لك "
@Vogel612 Yes; it's not rate limiting. The logs say that it's posted, but it isn't...
16:08
Translate ne-fa: " این فوق العاده است ، از شما سپاسگزارم. "
Translate fa-it: " Questo è meraviglioso , grazie. "
Final translation result (id-en): " It's beautiful , thank you . "
almost...
> Unfortunately, then you might face a problem worse than death:

Building code violations.
>>translate 10 fr en Ha
it's enough, thank you was the plan.
16:09
@Unihedron Language not in list. If the language is supported, ping ProgramFOX and he will add it.
>>translationchain 10 fr en Ha
@Unihedron Translation chain started. Translation made by Google Translate. Some messages in the chain might not be posted due to a reason I don't know.
dafuq.
Translate fr-sk: ha
Translate pt-cy: ha
Translate cy-ceb: ha
Translate ht-sq: ha
I think I'll limit use of the translationchain/translationswitch command; it's really expensive and using it for "Ha" is so useless...
16:10
Translate sq-bg: ха
Translate is-sv: hA
Final translation result (sv-en): hA
@ProgramFOX Is it possible to concatenate them into one string variable and print something multi-line?
@Unihedron Ohh... That's a great suggestion!
@Unihedron impractical for longer chains.
there actually is a character-limit for non-code chat messages.
Oh, right, max. 500 characters...
@ProgramFOX you should be able to circumvent it with fixed-font though..
16:12
Does that work?
tests it in Sandbox
@Vogel612 You're right; though it might annoy some people to have such a long message in the room that fills up a lot of space.
@ProgramFOX code-blocks are collapsed...
^^^^^^^^^^^
@Vogel612 Just partially; if it's multiline, it will still fill up much space.
It shows up 22 lines before collapsing; this already fills up 50% of my screen.
What's your screen resolution?
1600x900
16:23
Bot started.
Good night @Jan!
Sam
Sam
night
Five-year-old spam anyone? stackoverflow.com/a/797475/1849664
16:49
@Undo ... how?
@JanDvorak link at the end
@Undo what spam?
@JanDvorak The hyperlink.
LOL
sneaky sneaky
I mean, how did it survive up until now?
16:50
no idea
saw it in the review queue
Spam is full of preservatives, that's how.
6
gone
@Louis as in, condoms?
@JanDvorak Well, you can understand it like that if you want. :)
17:02
hey
@Undo no more linkis elsewhere?
what?
Toodles!
I'm out for today.
17:04
See you!
Sam
Sam
Bye!
@Undo if you search url:*linky.com doesn't show any other?
@Braiam already tried that, negative
RH was made of several... yeah... several languages. Each piece of software that wasn't made already was created using awesomesauce. — Braiam Feb 5 at 2:25
My MSO post is on cb! :D
Sam
Sam
@Unihedron Congrats!
17:28
@Unihedron meh, mine was on the CB for 4 days :P
Sam
Sam
@Braiam meh, I once managed to get two of mine on the cb at the same time :P
Oh yeah...I tied my own shoes this morning. I bet none of you can beat that.
[ SmokeDetector ] All-caps title: ENGINE FAIL TO START on mechanics.stackexchange.com
sigh I really hate it if everything works fine if you try to reproduce an issue...
Sam
Sam
@Unihedron You know what? I've just thought, since it's on the cb rene's answer is gonna get more DV's lol
17:38
+34/-2 on question, +9/-30 on rene's post..
Sam
Sam
+35/-2...
That's CB in a nutshell
Hello aliens and the occasional other being
I wonder why Inf is not on..
Is the VLQQ very slow for anyone else?
@Unihedron everyone needs a day off.
Very true.
Sam
Sam
17:58
@Unihedron She's probably not in the mood. Anyway, it's not like there's a clause for this room saying, "you must visit everyday of your pathetic life". Oh wait...
Right now I want hichris
@hichris123 ^
He's a mod on Earth Science. And he's not on their chat right now.
And I want to ask him if a new GL question is a good match for his site. :)
@ProgramFOX I couldn't ping him for some reason.

« first day (1496 days earlier)      last day (3755 days later) »