« first day (752 days earlier)      last day (3429 days later) » 

@chillworld Don't feed the help vampire.
Although your answer is better than what the other guy proposes...
@Mast wrong chatbox?
@chillworld No, that last Zk question.
oh, well it wasn't downvoted yet while I wrote the answer
That doesn't make it a decent question.
It's darn awful.
1:04 PM
I know, but I don't think a lot of people know about the getSegmentedLabels method, so it was worth to answer in mine eye's
It's what is called the good answer on the wrong question.
Indeed ;)
This might be more applicable for Programmers or Code Review — Daniel Galasko 31 secs ago
@Mast I'm preparing a ZK course, ZK on the swing way, who the hell want's to do swing's way as you could have abstraction with ZK MVC way or MVVM way?
-1
Q: Copy one cell to another if condition is met

Tony WilliamsI am working on my excel sheet, and I am trying to copy a cell if condition is met on the same sheet. Example, if the status of the order reads COMPLETED copy the Value of Cell X to Cell Z. I would appreciate it if you can help me with that

0
Q: Optimize this BFS search function in terms of speed

misiMeBy profiling my application (written in C#), I found that the bootleneck of my application is the function below. In particular it will be executed by a lot of entities (monsters) in a game, that will go onto a smartphone. The graph is the model for this type of grid: (the final one is 25x45) ...

1:11 PM
@chillworld Going to post it somewhere?
When I'm home, I'm going to make a new doc with all CR-regulars blogs in it.
@Mast As it is an official custom ZK course created for a client, I'm afraid not
Darn
Can't stand privileged information.
do you have intrest in course?
Which is exactly why I probably won't make it past the summer in my current company, but they know that.
I'm sure there's more but that's all I have ;-;
1:15 PM
Gonna catch them all!
resists the urge to cite theme song
Does anyone else come to mind though?
lots of choice
codereview.stackexchange.com is a more approapriate place for Code Review questions. — Yu Hao 8 secs ago
Fabulous is Lippert's blog right?
1:25 PM
I don't think Lippert is a CR regular.
But hey, I'll see what I can find. It will probably get complex.
Complex is good.
@JeroenVannevel lol, Jon Skeet SO answers
And Hans & Erik
That stuff's good
Jon's are the ones I skip the most, actually. Eric's are almost always worth reading
I wish I had a blog.
It'd probably be something hosted off tumblr, or another.
You can just make something on wordpress or blogspot?
@EthanBierlein Lyle uses blogspot, nothing wrong with that
1:27 PM
Hmm, wordpress looks promising. Maybe.
I've been thinking the same thing.
I'm using wordpress as well, I just hide it behind an awesome domain
I used to have a website, than the host died...
I'd go for wordpress though, but then again, I like know PHP
Well, the entire business went down, big time.
1:29 PM
I think I'd probably use wordpress. Probably only because the designs look more professional, than my own programmer art.
ugh. 13 new Careers invitations
I have 28 total now
@JeroenVannevel Did you choose .net because .NET, or just coincidence?
Hello @Phrancis
@Quill Because .NET. I couldn't pass it up
And Vannevel.com was way too expensive
1:30 PM
@Quill Seen that link before, good experiences there?
monking @P̣̳̘̰̟̟h̼r͓̗ͅa͇̫̦͕͝n̬͘c̵̮̭̱̼͚̞͓i̝̙̣s̴
(payback for that name upside down ;) )
Help me come up with a name for my blog. I feel very uncreative today.
Flying Ethan
Ethan's blog
2
@Mast Not personally, I tried ipage.com and either the payment didn't go through or something
1:32 PM
Not often impressed by skating video's.... but this one.... is cool.
@EthanBierlein Lein and Mean programming machine?
brb gonna smoke
Okay, I think I got one. How does BurningKeyboard sound?
I think it sounds good. Anyone got any other opinions?
HELLO
yeah, sounds good great spectacular
Alright, lets do this.
1:36 PM
No matter what anyone can come up with @nhgrif will win top blog naming spot
0
Q: Reduce the calls to database for validations in rails

Chris YeungI was building a rails web, and used form object to separate the validation logics per form. I had to find_referral_code twice in order to store the user_id of referrer. I wonder how I can improve it. after_sign_up_form.rb def get_referred_by_id User.where(referral_code: referer_referral_...

Okay, here's my idea for the "blog statement": "Programming, rants, random talks, and (maybe) the occasional burning keyboard."
Stackoverflow is for programming issue: your program not working as expected, or not compiling, etc..; there is a distinct code review site for code reviews. — Matthieu M. 41 secs ago
ブログステートメント
Burogu sutētomento
@EthanBierlein Sounds good.
@EthanBierlein Now we do expect at least one picture with at least one burning keyboard on your blog.
Within the next few posts.
1:41 PM
@Mast Hopefully
I think I still have some old keyboards around.
Could bake you one for inspiration?
Alrighty everyone, here's my new blog: burningkeyboard.wordpress.com
Enjoy!
Don't expect posts right away though.
Anyways, see yall later.
Later
Accurate representation of hacking in media
I love picking faults in media's representation
terminal is left centered you inaccurate pricks people
0
Q: C# Interfaces - Making them more generic, Adding specific\bespoke methods

user74420I'm writing a generic import\export program to import\export Stock and Sales Orders from a number of legacy accounts systems. I'm loading the correct concrete classes using a factory pattern, so the idea is that I can just swap between different accounts systems for importing orders, etc. I can...

huh
1:47 PM
@Quill bullshit
ooh, it gets better
I don't know what you're talking about.
A white environment?
I can make my terminal whatever color I want.
Yea, same here, but I leave it black.
For obvious reasons.
Perhaps dark green, but not white.
1:50 PM
'Webshell' they called it
Why would anyone want a white backgrond?
@nhgrif Pick the black one.
The icon is black, so yeah
On the topic of media and hacking, anybody seen CSI: Cyber?
0
Q: create directory structure from json

Prashant GaurI am having a JSON file. { 'Document':[ [{'fields': {'name': 'js/main.js', 'content': 'hello'}, 'pk': 284, 'model': 'Document'}], [{'fields': {'name': 'css/main.css', 'content': '2'}, 'pk': 287, 'model': 'Document'}], [{'fields': {'name': 'about_us.html', 'content': 'again hello'}, 'pk': 306...

1:55 PM
Yecchh. I hate the media's portrayal of "hacking", and programming in general.
@Quill Then it portrays Linux, the operating system, as a virus.
WTF
Bunch of idiots.
I hate those idiots media people.
The people that write the show are the kinda people who end up in our close queues
3
0
Q: A Polynominal class

Wolfgang-1Here is the problem I am trying to solve: Using dynamic arrays, implement a polynomial class with polynomial addition, subtraction, and multiplication. Discussion: A variable in a polynomial does nothing but act as a placeholder for the coefficients. Hence, the only interesting thing abo...

@Quill Way too long chat. It started concise though.
2:02 PM
@Mast It's approved, I'll send you this evening the PPT, and the sample project together with the full example.
I suppose one can watch the show for its comedic value.
For questions relating to improving working code, you might consider codereview.stackexchange.comJames Montagne 55 secs ago
Test doesn't pass? Remove test, scrap subfeature.
I'm practicing for my project management exam Thursday.
It sounds like you are trying to do Data Validation. Also if your code actually does work Code Review might be a better fit for this. — Matt 41 secs ago
@chillworld Thanks!
2:08 PM
Monking
Monking
@Mast np, I just hope your something with it ;)
0
Q: Code optimisation- reduce loops

Mokky MiahI have this example data : var objects = [ { title: "Parent Area", code: "P", areas: "B,C", child: [], selected: 0, remove: 0 }, ...

2:16 PM
0
Q: Closing a question because the posted code was produced quickly

Nick UdellI came across this question in my "close votes" review queue: Block_breaker clone in pygame with simple edge detection And noted that the close reason given was: Other: I'm voting to close this question as off-topic because I think it would be better if you spent more than one day on this ...

Not the logitech! noooo~~~~
@StackExchange I don't think it is, but I like the question.
@EthanBierlein FIRE!
Has anyone come up with a SEDE query to filter users by the most points towards a tag?
If anyone has it's @rolfl, but I don't think he's awake yet.
Why isn't he awake yet...
TTGTH
@EthanBierlein Did you actually burn a keyboard to take that picture?
2:20 PM
@Mast I think @rolfl is in canada. It's daytime there. I know because I'm in MN, USA.
@Phrancis No, sadly, it's just a picture from the internet. At least it's free to use, no copyright.
He is, Ontario. Eastern time
@Quill Are you looking for a specific tag to filter? If so it's pretty easy to write a query
@Phrancis I guess, but top user for each tag would be cool too
3
Q: How can I remove ants from my laptop keyboard?

UnihedronThere are ants in my laptop keyboard again. It's happened before and ended up killing my productivity occasionally as the little critters suddenly show up from within the gaps of the keyboard. I had to bring it over to my uncle and he got rid of the ants, somehow, but I forgot to ask how he did i...

He's going to need to do some serious debugging
@Quill I did CpV for each tags
@Mast state your opinion in Meta. I think it is is valid given the history of the question.
@Quill yes I do. sunglasses in-circuit debugging
cough sorry for terrible joke
2
2:29 PM
@Unihedron That's my line
@Quill I stole it cuz 1. I posted that question you linked, and 2. there are four vowels in my name
Anyway, here's that query if anyone want to build another based on it:
@Unihedron LOL. That was you?!
I saw it on the hot networks questions.
@RubberDuck yes
Can I ask, just how exactly did you get ants in your keyboard?
i'm a person whose life heavily depends on munching on snacks
3
in Tavern on the Meta on Meta Stack Exchange Chat, 8 hours ago, by Unihedron
@AlexisKing: without munching on snacks I'm not sure what's worth living for
2
see
2:32 PM
hahahahaha.
I gotta try out those answers someday later
I'm sorry. I don't mean to laugh, but.... ya gotta admit that it's pretty funny.
for now i'm on my phone
As someone so reliant on snacks, I must ask your opinion: What is the best snack?
@RubberDuck I don't blame you
2:33 PM
@Quill Cheese Danish
@Quill I bought a box of pocky (chocolate biscuit sticks) just last week, but I like wafers
and wafer rolls
and chocolates
@Phrancis you around?
0
A: Closing a question because the posted code was produced quickly

QuillWhilst for someone like Jon Skeet, making a simple script here and there might take a few minutes to type out, for a beginner, this might take a few days to even understand. The close voter must remember that people come here to seek review of their code. Whether or not the code is complex is an...

@Quill ~appreciated();
@RubberDuck Yep
2:37 PM
@Unihedron Is that an insult or a compliment? :P
@Quill This SQL should work for you on SEDE:
SELECT
  Users.Id AS [User Link]
, Tags.TagName
, COUNT(Tags.TagName)
FROM Users
  INNER JOIN Posts ON Users.Id = Posts.OwnerUserId
  INNER JOIN PostTags ON Posts.Id = PostTags.PostId
  INNER JOIN Tags ON PostTags.TagId = Tags.Id
GROUP BY
  Tags.TagName
, Users.Id
ORDER BY COUNT(Tags.TagName) DESC
@Quill It's my wholeheartfully sincere appreciation.
2
@Phrancis If I send you my updated resume, do you think you'd have a few minutes to proof read it for me?
I have a browser full of possible leads, but I want someone else to make sure I don't sound like an idiot first.
I can, although I don't have access to my personal email ATM, I'll shoot you an email from my work email real quick
@Phrancis It's almost worth starting a Meta.SE thread of the Best SEDE queries.
2:39 PM
@RubberDuck sent
@Quill Pretty sure there already is one
21
Q: Stack Exchange Data Explorer is up. What now, Wonderland?

Mat's MugIf you didn't know already, the Stack Exchange Data Explorer (SEDE) now includes Code Review and all public StackExchange beta sites. Bookmark: http://data.stackexchange.com/codereview/queries This is our most powerful available tool to tap into our site's data and fetch everything we need ...

Thanks buddy. Much appreciated.
Question posts don't give you tag rep, do they?
no
only non-cw answers
OK
I thought something seemed wrong when I ran my query and JD had the top 3 positions
The tag score updating script runs every morning utc, so be patient if it doesn't update
2:47 PM
@Quill my query is wrong, revising it now
2
“How can I remove ants from my laptop keyboard?” Related: “Need help escaping diabolical human falling-key trap.” http://lifehacks.stackexchange.com/questions/7149/how-can-i-remove-ants-from-my-laptop-keyboard
Thanks to your support, Stack Exchange tweeted my question!
2
@Unihedron and... retweeted. =)
\o/
it feels TERRIBLE to feel the 15 minutes of fame from a question about having ANTS in my KEYBOARD
3
Life is kind of a big sick joke.
4
the internet is helping me realize that in a painless way so thanks y'all
3
^~^
starry night! make a wish!
2:58 PM
I wish for another STAR-FEST
4
I'm out of stars ;-;
STAAAAAwr!
2
TS'es FOR EVERYONE!
I'm out of stars.
BYE
@EthanBierlein CYA
3:01 PM
Bye
The starfest is real
Call an astronomer!
5
Did I miss a star-fest?
I think it's still going on.
@Quill @Donald.McLean will show up eventually. =)
It was a supernova of a starfest though!
in The Observatory, 32 secs ago, by bjb568
in The 2nd Monitor, 1 min ago, by Quill
Call an astronomer!
They are called!
3:08 PM
@RubberDuck Damn it Jim, I'm a software developer, not an astronomer!
6
@Donald.McLean Yo!
lol
Ohhhhhhhh........ kittens in boxes!
Schrodinger's Kitten?
Cute ones
3:11 PM
Yay it works!
As it turns out, deriving top tag users from SEDE is not that easy
This seems to work though:
DECLARE @QuestionPostType INT = 1;
DECLARE @AnswerPostType INT = 2;

SELECT
  Answers.OwnerUserId AS [User Link]
, Tags.TagName
, COUNT(Tags.TagName)
FROM Users
  INNER JOIN Posts AS Questions ON Users.Id = Questions.OwnerUserId
    AND Questions.PostTypeId = @QuestionPostType
  INNER JOIN Posts AS Answers ON Questions.Id = Answers.ParentId
    AND Answers.PostTypeId = @AnswerPostType
  INNER JOIN PostTags ON Questions.Id = PostTags.PostId
  INNER JOIN Tags ON PostTags.TagId = Tags.Id

GROUP BY
Self-joins FTW
eww, SQL
Well, it kinda works
hiya...
@RubberDuck I have 7
3:14 PM
I've got a great big cattle dog. Not sure how he'd like a kitty.
I can confirm the accuracy is 100% correct
I'm next to bjb in the user bar in the PC interface
poor you...
and no, not for me.
0
Q: Sieve of Eratosthenes Optimization in Rust

NuclearAlchemistWhen I want to try a new language, I first try to write a fairly basic sieve of eratosthenes project in said language. This is a very simple algorithm, with predictable results, and can even be optimized somewhat to compare versions of different languages' compilers. I've done this in (chronolo...

I wrote a PHP answer earlier and I don't know whether it's good or not. Can someone take a look and see how I did?
http://codereview.stackexchange.com/questions/91790/part-2-securing-php-shopping-cart-paytrail-integration/91800#91800
3:28 PM
I did upvote that one already..
hmmm interesting....
@EthanBierlein I know, but he's a fanatic. I've seen him here at 6am local time.
@rolfl Would you have a look at this query please? I was trying to get the top answered for each tag but getting multiple instances of the same tags, any idea how to make it so?
Also, have you really posted 722 answers!?
3:45 PM
@Phrancis The join between users, and posts is broken, but not sure why it's producing that result.
JABBA
@Phrancis You probably want to join users to Answer's, not Questions.
Also, yes, I have answered something like 722 Java questions.
(729 non-wiki answers).
You probably don't need the users table at all, and it's probably why you have all the users in the results (50,000 results instead of a few hundred).
757 Java-Posts (including questions and answers, also including CW)
s/575/757/
as of now 732 answers
@rolfl thanks.. turned the numbers...
3:53 PM
Thanks Santa!
So I fixed the join, and removed the Users table, but still getting multiple instances of each tag. Hmm. Anyone? data.stackexchange.com/codereview/query/edit/319026
@Phrancis - the join is wrong,..... looking at it more...
you need to limit it to just the top answerer per tag, not all answerers.
Darn...
-1
A: FizzBuzzWoofFooBar

Deepak MehtaDoes any developer like using std:: everytime with the stl containers. No way !! ( Is it a good coding practice, neither). There can be several ways to eliminate such usage. Ideally in bigger projects, people follow a strategy of comman.h comman.h #include<iostream> #include<set> #include<map>

also, the join to Questions is not needed.
That guy is butthurt
@rolfl I tried without doing self-join on Posts (limiting only to answers) but for some reason then nothing showed up, as if the join between Posts and PostTags didn't work
3:57 PM
Answers.ParentId = PostTags.PostId
Ahhh OK didn't think of that
Here have a star for helping me think smarter.
I can get Generalist in three answers - maybe.
I should probably get it soon, but I prefer writing Rubberduck code than writing reviews now.
-1
Q: What would be the best approach to rewrite two .on functions into one

supersizewhat would be the best approach to rewrite this bit of coffee/javascript to save one .on function or save variables. no_ex_no = $ '#bring_your_phone_form_no_existing_phone_number' ex_no = $ '#bring_your_phone_form_existing_phone_number, label[for="bring_your_phone_form_existing_phone_number"]'...

@Phrancis data.stackexchange.com/codereview/query/319034/… ( but a partition-by would be better....).
Ahh, smart monkey!
4:05 PM
@Phrancis Answers don't have tags.
@nhgrif Looks like I missed a star-fest, didn't I?
4
I wonder what that image above me is...
@EthanBierlein Call an astronomer!
Too bad my school's internet provider blocks imgur...
Any DB masters in the room?
0
Q: Microsoft SQL linked server to Oracle data not updating

BenVlodgiI need to pull data from an Oracle database running on a remote machine and use it on my sql server instance. I need to check these tables periodically for updated or new records. I have created a linked server connection to the oracle db. I am able to select data from tables using the following...

@EthanBierlein Try a glype proxy
@BenVlodgi @Phrancis is our db master
4:14 PM
also.. Monking
Monking
@Quill It's funny, the provider also blocks that too...
One of my friends installed in on a personal domain, and put my IP in his .htaccess file. I get unfiltered internet ez
Damn, my school is intent on blocking every damn thing on the web.
I'm surprised this place isn't blocked. Yet.
When I was in high school, we weren't allowed Internet access at all, so I have no sympathy.
security.stackexchange is blocked for most places
4:19 PM
I'm not saying it's bad. It's just annoying how everyone else in my school flips out because of it. Some kid the other day screamed in the middle of class, "WHY THE **** IS TWITTER BLOCKED?!"
When I was in high school, Twitter wasn't blocked.
When I was in high school, even Facebook wasn't blocked.
When I was in highschool we used Myspace
When I was in high school. It was the future.
When I first went to university, straight out of high school, very few people could even create Facebook accounts. You had to have a .edu email address at one of the schools on a relatively short list of schools.
@Quill I wouldn't call myself a master, there are some much more capable DBAs here in this very chat room
4:24 PM
@Phrancis Well, as far as I know, you're the master in here atm.
Fair enough
Do you have some kind of caching layer implemented on the Oracle side? — Aaron Bertrand ♦ 4 mins ago
^^ I was about to say it sounds like it's pulling from cached data
> There are 2 hard problems in computer science: caching, naming, and off-by-1 errors
Computer science's newest problem is Swift novices abusing implicitly unwrapped optionals.
@nhgrif "You can't approve of using as!" that's nice, I'm pleased to have evoked your irrational disapproval. — James Snook 3 mins ago
It's not irrational. Blindly recommending as! to people who are having such basic problems can only lead to another question later about Unexpectedly found nil while unwrapping an optional. I apologize for assuming you were aware of the problems of abusing the ! operator... — nhgrif 2 mins ago
0
Q: How can I make my code better?

MikeI wrote a PHP connector that will allow me to communicate with a REST API. This is the first time I am trying to make my code as clean as possible. I want to help my self learning how to better code. I have done everything I can think of to make my code clean and easy to read, but I would like t...

@CaptainObvious That guy deserves the jackpot for most generic title.
4:36 PM
Another one of these....
@Mast I think you mean the most T title. ;)
@EthanBierlein if you really want to go this way it should be a <?> Title...
@CaptainObvious The spaghetti is real
CBL, so off-topic
Well, it's 2:30am here, so later
4:37 PM
I'll check again in half an hour, if it's still there I'll start flagging
@Quill Night
Q: <T>() {
    I wrote some code.  How can I make it better?
}
By the way, using , you can add subscripts to anything:
(I'm not recommending that's a good implementation... just showing off the capability)
If the server passes down the object as something it shouldn't be there's a bug at the server end which you should fix. So yes your program should crash and you should fix the broken code. — James Snook 1 min ago
When I was in Highschool there wasn't any Facebook, and I think that MySpace was just barely getting started.....
late to the Party
^ If the server has a bug, you should make your end users suffer by crashing your app rather than, oh, I don't know... pop up a message, alert the user that there was a problem communicating with the server, log an error message that you can check later (including what the JSON data looked like), and perhaps even let the user retry later...
I don't know about you guys, but I uninstall apps that crash.
When I was in high school, IRC was popular, and MySpace was just barely getting started...
4
0
Q: Project Euler #14. Time efficieny improvement

ADGIt looks like: Code /* * The following iterative sequence is defined for the set of positive * integers: * * n -> n/2 (n is even) n -> 3n + 1 (n is odd) * * Using the rule above and starting with 13, we generate the following * sequence: * * 13 -> 40 -> 20 -> 10 -> 5 -> 16 -> 8 -> 4 ->

4:53 PM
@Mike in that case I would advise to include the most relevant parts of the code in your question, while leaving the link to the full code for reference. Also, please change the title of the question to describe what the code does; it's assumed that every post on this site is about "How can I make my code better". — Phrancis 8 mins ago
^^ VTC please
Microsoft guy will give me an employee referral to apply at MS and advises me to go work in the US since you start almost directly with 100k/year
Why why whyyyyyyy did I have to be stuck with school for a few more months
Couldn't you use the referral after you're done with school?
yeah probably, but still
I want to work now.
http://www.commitstrip.com/en/2015/05/26/php-7-twice-faster-than-php-5/
CommitStrip - Blog relating the daily life of web agencies developers
PHP 7 twice faster than PHP 5
CommitStrip
1432659222
Stick it out buddy. Trust me. That degree might not actually mean anything, but it will get you past the HR person who thinks it does.
4:59 PM
@CommitStrip I don't get it
Yeah, sadly. Just 6 more classes to pass (4 of which I have exams the next few weeks) and then I can do my internship + bachelor's thesis
@Phrancis Probably some encoding support lacking
Ummmm..... not so sure I want to apply for this one, but I'm honest to god intrigued. linkedin.com/jobs2/view/…
This would be better suited for code review rather than a question. — austin wernli 14 secs ago
> Must be willing to work in a biosafety level 2 (BSL2) and/or 3 (BSL3) environment and able to wear appropriate respiratory protection.
Must be willing to be immunized with licensed and FDA approved vaccines and medications recommended for persons at risk to occupational exposure of biological agents and be willing to participate in periodic drug screening.
2
5:20 PM
I had to explain DeMorgan's Law every time I do a code review at work. :) — dmahapatro 45 secs ago
4
I am not looking for a code review. Just ideas that would help me build this engine. — Anjul Garg 6 secs ago
I love this in my bug reports :D
> Internet Explorer seems to be incapable of closing its own Windows.
2
@RubberDuck (1 day later...) More broken features!
lol. Sounds about right.
5:40 PM
@Mike thanks, I have retracted my vote to close, I hope you get the help you need! — Phrancis 21 mins ago
5:52 PM
Programming is much more than "x": burningkeyboard.wordpress.com/2015/05/26/…
Sort of a weirdly structured post, with some rambling, hard to following sentences, but I hope y'all like. ^^

« first day (752 days earlier)      last day (3429 days later) »