« first day (846 days earlier)      last day (3173 days later) » 

8:00 PM
TTGH ..... I am off.... have a good weekend, all.
 
@rolfl You too! :)
I just realized that the launcher for my VS2015 install says, "Start Experimental Instance of Visual Studio 2015". That's not a warm-fuzzy.
 
The modern console displays fuzzy on my device, so I still use the legacy one.
@EBrown You should have installed the express version or the community edition.
You need a key to run the Pro version.
 
@Hosch250 It's Enterprise 2015.
@Hosch250 I have one.
 
OK, start it up.
When you start it, it will prompt you for the key.
 
I can't remember, but doesn't the community edition only allow for one hour of build time per day, or something like that?
 
8:04 PM
I think it's because it's the x64 version.
 
@rolfl Good weekend to you too!
 
If it doesn't, you can activate it from one of the menus, Help, or something.
 
@EthanBierlein What? That's an awful restriction.
 
I need to go now - still have to take my dog on a walk and write a paper or two today.
 
@Mast WHO AWAKENS ME FROM MY SLUMBER?
2
 
8:05 PM
@EthanBierlein I don't think so.
 
@Vogel612 Hans is back!
 
I see no such restriction.
 
I like --save-dev
I don't think I can do that with NuGet
which is a shame
 
@JeroenVannevel Which does?
 
Save a dependency for just development
aka: not distribution
 
8:08 PM
Ah. Very nice.
 
@Vogel612 Somehow you reminded me of Ctulhu for a moment.
 
@Mast there was a time I carried the name "Punisher"...
 
0
Q: What is the logic behind rejecting the edit?

manetsusI have edited this question as the code in it is not bracketed properly. One reviewer accepted it, but the OP rejected it. But what is the logic behind it? I want to draw moderators attention.

 
@StackExchange Nailed it:
0
A: What is the logic behind rejecting the edit?

MastI often reject such edits, albeit with a different reason. The code posted by OP is how OP wrote it. It's the code he wants reviewed. Lacking decent indentation is something often pointed out in a review. This being edited away by somebody else than OP is against his intent and shouldn't happen ...

 
how the crap did you get 3 sections of transcript into here while I was out with my colleagues for the possibly last time?
 
8:11 PM
@Vogel612 Sorcery.
And the star-wall.
 
@Vogel612 Did you miss the mod-fest?
 
yes I missed the mod fest
 
~reading up
 
@Vogel612 Those were fun times.
 
8:12 PM
@Mat'sMug yea I was very very surprised, too
 
@Mat'sMug That should have been rejected from the beginning.
 
@EBrown nice setup... </off-topic><site-business>
 
yes
 
If my answer is lacking anything important, feel free to point it out.
 
@Vogel612 Thanks. ;)
 
8:13 PM
@Mast you beat me to it, I discarded my draft ;-)
 
@Mat'sMug I had an almost-complete draft I had to discard as well.
 
(i.e. you caught me not monitoring my meta-mod-ping)
 
You approved that? lol
Oops. I'm late to the party...
2
 
@RubberDuck Surprising how often I encounter such edits.
 
2 mins ago, by Mat's Mug
@Malachi http://codereview.stackexchange.com/review/suggested-edits/43364 approved?
 
8:15 PM
@Mast Mod-fest?
 
lol
 
I have to say: the problem with suggested edits reviews is that it's not obvious at first sight whether we're dealing with a question or an answer.
 
@EthanBierlein We had like, 7 mods in here at once. (At least four of which were from other sites.)
 
@Mat'sMug that edit input a brace that is missing, I am sure that the code wouldn't compile without the missing brace
 
@Morwenn when it says "asked [timestamp]" at the bottom, it's a question ;-)
 
8:16 PM
the indentation wasn't necessary
 
@Mat'sMug If it has tags, it's a question too.
 
@EBrown Oh lol... What happened?
 
But seriously, I would rather have a big Question or Answer at the top.
 
Or was it just coincidence that there were a bunch of mods in here?
 
@EthanBierlein Something got flagged (and wasn't handled, I assume?).
 
8:17 PM
@EBrown I'm not sure what the timer is.
 
So the mods descended upon The 2nd Monitor.
 
I think so. unless the flagged post was one of mine?
 
I don't know the rules.
 
I was really on the fence about approving/rejecting that edit
 
It had to do with a flag.
 
8:17 PM
Did I miss the drama-fest?
 
@Mat'sMug You can't see what got flagged?
 
Not sure how/why it went to the other mods.
 
So, question for you guys.
 
@Morwenn Was more like an off-topic smalltalk fest :)
 
@Mast not sure if I can see if my own stuff gets flagged.
 
8:18 PM
Does it make sense to have a Material and a MaterialDetails object?
 
@RubberDuck Answer for you.
 
@RubberDuck Mhm?
 
@RubberDuck I use Entity and EntityProperties.
To help separate boring stuff.
 
@Phrancis Sounds like drama to me :p
 
Which is about the same thing.
 
8:18 PM
@EBrown that.
 
@Mat'sMug You're a moderator. I'd assume that gives you those rights.
 
That way, I can use player.Properties.Name rather than just player.Name.
It avoids clutter when you have a lot of them.
 
@RubberDuck why would that be necessary?
 
so I must have been thinking clearly as no one has said otherwise since I explained my approval of the edit?
 
@Mat'sMug Well rolfl can see his own.
 
8:19 PM
@JeroenVannevel As a view model.
 
@Malachi We don't agree, that's all.
 
oh no
Viewmodels are an entirely separate class than your models
 
Only OP is allowed to touch the code.
3
 
^^ that
 
(my opinion anyway)
If it's broken, OP should fix it.
Not somebody else.
 
8:20 PM
well more than one person disagrees including the OP. if the code doesn't work then we should close the question
 
@JeroenVannevel So, I should have a business object that has all the appropriate information and a separate view model?
 
yep
It's fine if they both have the exact same properties
It's not a DRY violation
 
To clarify...
public class Matierial
{
    public string Id { get; set; }
    public string Description { get; set; }
    public Status Status { get; set; }
    public IList<Measurement> Measurements { get; set; }
}
I don't want to show the measurements on my Index.
 
Ctrl+R,R > "Material"
2
 
public class MaterialViewModel
{
    public string Id { get; set; }
    public string Description { get; set; }
    public Status Status { get; set; }
}
done
 
8:21 PM
I'd question the need for Id to reach the UI
 
Gotchya. Thanks @JeroenVannevel.
 
@Mat'sMug hidden fields, often
if you want to update something
 
right
 
@Mat'sMug It's a meaningful identifier actually.
 
ah
 
8:22 PM
or create URL's that go to /products/ID
 
right, right, okay, fine, Id is fine allright!
 
@Mat'sMug It is a string Id. shrug
 
MVC is magic.
 
^^
 
WHY DO YOU HATE IDs
 
8:22 PM
that's what the M stands for right?
 
@JeroenVannevel I think you mean...
 
Magic View Controller
3
 
Y U HATE IDs?
 
Y U ALL CAPS?
 
@Mast Y U NO MEME?
 
8:23 PM
I didn't realize that question was so old and already had an accepted answer though.
U Mad Bro?
 
They're programming in LOLCODE
 
@JeroenVannevel Never done that.
 
You probably want to keep it that way
 
I'll save that for a community-challenge or something.
9
A: September 2015 Community Challenge

nhgrifLearn a new language! Write anything1 in a language you're completely unfamiliar with. 1. Ideally, something more complicated than "Hello World" and something more interesting than FizzBuzz.

But that won't fly yet.
EMS sounds way more interesting.
 
@JeroenVannevel I CAN HAZ IO? K THNX BYE!
 
8:26 PM
Although my Racetrack didn't get as good as I wanted to...
 
I don't have the time for Community Challenges.
 
@EBrown Don't make me pull your activity chart on CR to show you how much time you actually have.
8
 
@Mast Do it, you won't see a lot of spare time for Community Challenges there.
 
@EBrown not a problem, there's not really a deadline
 
Because I do stuff on CR while I work.
 
8:27 PM
ahhh... transcript!!!
WHAT THE...
 
yeah
 
@Mat'sMug Then my September 2015 Challenge would be done by...August 2017?
 
doesn't matter.
 
@Mast What about it?
Also, notice the date/time charts.
I'm almost only on CR between 9am/5pm Mon-Fri.
(That being EST, UTC-4.)
 
8:30 PM
@EBrown What's the current time there?
 
@Mast Right now it is 1630.
(Or 4:30PM for those of you not acquainted with 24-hour time.)
 
The table must be making some weird conversion.
 
Why's that?
 
Anyway, only do them if you like it. Feel free to ignore them altogether.
 
12:00 UTC is about 8:00 UTC-4.
 
8:34 PM
But it's a great excuse to take up a small project per hobby.
 
@EBrown don't say that in public
 
I honestly don't have the time to do it. I have a full workload of about a dozen projects.
Some of which are professional, some of which are personal.
Some of which are out-right a pain in the rear.
 
@EBrown There are still coming in, which was a challenge a long time ago.
 
RubberDuck pinged me around 1900 last night, I got it on my phone and was able to help him out a little bit
 
I might do them when my schedule frees up more after I knock some of these other projects out.
Or if I switch jobs and move to the location I want to, and have less stress from this city.
 
8:37 PM
How did your interview (yesterday?) go?
 
They moved it to this evening.
I have a phone call in about 30 minutes.
 
Good luck!
 
Thank you. :)
 
@Mast that's RPSLS - the first, original !
Nov 30 '13 at 0:52, by rolfl
OK, weekend challenge.... we all solve the Rock Paper Scissors Lizzard Spock problem with our 'favourite' language, and we all have to post a question here with our solution to be reviewed.
 
I probably won't take this job, because it's still in this city (right down the road from where I work now) but it's good practice for my interview.
 
8:40 PM
what does it matter that it's in the same city?
 
@Mat'sMug I don't like this city...lol
 
@EBrown Keep it in mind as long as it's any better.
 
@Mast Most definitely. I'm not counting it out, yet.
 
77K rows, two datasets from 20+ databases, dynamic SQL + cursor, all execs in 14 seconds. Rawr.
 
-1
Q: java cardFinder deck of cards

juanI have only coded in C++ and a little bit in python, I have an assignment to code in java and I don't know how to start. Could someone give me a hand? here is the assignment: Write a Java program that uses arrays and strings to simulate a deck of cards. Your findCard met...

 
8:49 PM
@CaptainObvious I really wanted to offer my code Writing skills for a price.....but I didn't.
Java/JAVA is just like C#.... I could code something quick, or maybe convert some of my old code....
 
@CaptainObvious Burn it.
 
@CaptainObvious Here's a good start: public class WriteSomeCode { public static void main(String[] args) { System.out.print("Look 'ma, I started my card finder!"); } }
 
Burned.
Thanks to our very efficient moderators.
 
wow. I thought I had insta delete privs there for a second
freaked me out a bit
 
How late is too late for another cup of coffee?
 
8:54 PM
5pm
 
Shit, 6 minutes, better hurry up
 
@Phrancis NEVAH!!
 
I usually stop my intake of caffeine sometime in the afternoon
unless it is a weekend
 
@Mast nope. you guys nuked it all by yourselves ;-)
 
wait it's Friday Francis @Phrancis
you can drink coffee well into tomorrow afternoon
 
8:56 PM
3AM is usually getting a little late for a coffee. usually.
 
@Mat'sMug Even better ^^
@Phrancis Depends on how eager you are at falling asleep that night.
If you don't care, drink it all day.
 
This seems more like a question for code review. — veggie1 35 secs ago
 
0
A: refactoring common behavior to js object

DaggI would recommend using a constructor function to create the objects: function FolderData() { this.allAttachments_vector_counter = 0; this.allAttachments_vector = []; this.attachment_position_dict = {}; this.extraDetails_dict = {}; } FolderData.prototype = { constructor: ...

 
So my dad is coming to pick me up for the weekend and he is stuck in hardcore Detroit traffic...lovely.
 
Somehow the music I listen to at work feels inappropriate after a full episode "The Joy of Painting"...
What does that tell me about my work?
 
9:03 PM
@Vogel612 Are you still watching Bob Ross? Lol
 
not the remix though
 
LOL
 
and I had to pause for site-business.
 
I grew up with Bob Ross, man.
 
Was kinda before my time
but Bob Ross is damn famous
 
9:04 PM
Before mine too, but we had reruns.
 
When reading up there was some Bob Ross talk, too
 
T-minus one minute to phone call.
 
@Duga Earlier on the same question:
Sounds like this should be asked on Programmers. — davidism 23 mins ago
 
Let the nervousness, set in!
 
Flagged both.
@Vogel612 At first I thought it was way too hazily, but it's actually kind of relaxing to have in the background.
The guy who wrote that remix wrote a couple more by the way, same style.
 
9:07 PM
@EBrown good luck
 
I just gawped at Him in silent disbelief and total relaxation
 
@Malachi Thanks. :)
 
@Mat'sMug congrats to your new SO Swag
 
@Mast Sleep... What's that?
 
@Phrancis Exactly, so don't mind the coffee.
@Vogel612 Some of those profiles look awfully fresh.
SO corrupt...
8 days old, 3 rep. Won swag.
 
9:13 PM
@Vogel612 wut!! awesome!!
 
@Mast trying to keep them around
 
    $registerquery = mysql_query("INSERT INTO Plan (PlanSize, DatePaid, AmountPaid, MonthUsage, PlanUserID) VALUES('".$PlanSize."','".$DatePaid."','".$AmountPaid."', '".$MonthUsage."','".$currentUser."')");
~groans~
 
@Malachi Suspecting
 
I should've changed my profile to female for a higher chance on the swag
 
That's it. I'm going to print my own swag, simply out of protest.
 
9:15 PM
Hey @Mat'sMug what's the syntax for a UPDATE ... FROM again?
 
@Phrancis wat?
 
1421
Q: UPDATE from SELECT using SQL Server

sparkyfiedIn SQL Server, it's possible to insert into a table using a SELECT statement: INSERT INTO Table (col, col2, col3) SELECT col, col2, col3 FROM other_table WHERE sql = 'cool' Is it also possible to update via a SELECT? I have a temporary table containing the values, and would like to update ...

 
^^
 
@JeroenVannevel Danke
 
Phone interview went great. :)
3
 
9:17 PM
@EBrown awesome!
 
"I'll definitely let ____ know that you are a great candidate and ummm..."
 
Still not taking it?
 
@JeroenVannevel After hearing more about it, I might actually want to take it now. D:
:23745329 Yeah, he asked me four SQL and four C#/.NET questions.
All four were quite easy.
 
what were they?
 
I had a phone interview yesterday and it was almost an hour.
I broke my headphones :'(
I don't know if I have enough clear tape....
 
9:20 PM
SQL ones were: 1. Difference between Inner/Outer join, 2. Difference between Where/Having, 3. Examples of good/bad PK's, 4. is an SSN a good PK.
C#/.NET ones were: 1. Does C# support multiple inheritance (more than one base class directly), 2. Does C# support multiple interface inheritance, 3. Difference between base class and interface, and I can't remember the fourth...let me think here.
 
I never got programming questions. They usually cut to the chase and ask for opinions about current projects or projects they're about to start. To measure state of mind and more of those words.
 
Anyway, I have to head out. Catch you all later! :)
 
@EBrown Cya, and keep up the good work with the interviews :-)
 
seems pretty doable indeed
 
@JeroenVannevel Yeah they were all quite easy.
@Mast Thanks, I'll definitely try! :)
 
9:23 PM
@veggie1 - No, this is very much off-topic for code review as it's missing working code. — GlenH7 11 secs ago
 
It's a bit weird (to me) to ask both C#/.NET, and SQL questions, for the same position...
 
@Phrancis Why?
 
They're so vastly different
 
An ex-colleague of mine did both as his day job.
C# applications conversing with a SQL database.
 
They're two subsequent layers in the stack -- not all that different from that perspective
 
9:34 PM
I think it'd make more sense to have one person for C#/.NET, and one for databases
But, I guess as usual :)
 
@Phrancis That's a management problem.
Not My Problem
 
Maybe it depends how far down the rabbit hole one person is expected to be able to dig in both domains...
 
TTQW
 
1
Q: Web-based test settings manager app

IntensifierDescriptorManBackground I'm currently working on a web-based app using ASP.NET so we can quickly change test settings for our products. I've been working to make the UI easier to use by adding modals, AJAX, and some custom JavaScript to do things like change the order in which things are tested, but I don't ...

 
@Phrancis Sure, you can write those domains fluent at the same time. It's only 2 domains.
 
9:40 PM
Most C#/.NET here at my job are afraid to touch the SQL stuff, and vice-versa
 
If there's one way to push yourself out of the market it's specializing in only one domain.
 
#ItDependsâ„¢
 
Look children, Jeroen wrote actual lines of JS! vannevel.net/2015/08/28/…
 
@JeroenVannevel Yay for jumping on hype trains.
 
toot toot
 
10:06 PM
Hey look, I just wrote a query to fix in the neighborhood of 10K exceptions that up to this point had been done by hand. Other guy had been working on this on-and-off for over a year and had not made a dent.
 
Can I say that given data in one field of a record in a database, the DBMS should automatically calculate data for a few other cells?
 
@Hosch250 You can, but you could be wrong.
 
This is SQL Server to be specific.
The issue is this:
I have a bunch of data redundancy in two tables.
 
@Hosch250 that should happen when retrieving or inserting, typically with a trigger I'd say
 
I have a Customer table and a Realtor table. The Customer table has three cells which use data from the Realtor table - R_ID, R_NAME, and R_PHONE.
 
10:10 PM
or updating
 
@Hosch250 Sure, I see the redundancy
 
Because they are redundant, they are all messed up with data anomalies.
 
Normalization would simply remove R_NAME and R_PHONE
 
I am supposed to address the situation, and I wanted to know if I could have the Customer table take and validate R_NAME, and pull the other values from Realtor.
@JeroenVannevel I discuss that too.
I'll recommend that, of course.
 
@Hosch250 Very easily, just need to write a little UPDATE query. And then triggers to automate it, if you must keep those redundant fields in Customer table.
 
10:12 PM
I'll leave it up to @Phrancis, he's the expert on that.
 
The trouble is, it is the R_ID value that has anomalies.
At least there are only 10 customers and 3 realtors...
 
why is that strange?
 
Do you know that one field from Realtor at least has no anomalies?
 
The Realtor table is good (at least, I'm assuming so).
It is the Customer table that has the same ID assigned to multiple realtor names.
 
I mean, the redundant fields
 
10:14 PM
The name/phone numbers are mapped correctly in Customer.
I'm assuming the data in the Realtor table is correct.
 
So Customer.R_NAME and Customer.R_PHONE are good, but Customer.R_ID are wrong?
 
Yes.
 
OK hold on
 
I can post pictures of the data if you wish.
(PS, I don't really need a query, I just want to validate it for the essay.)
My book referred to something like this, and I wanted to make sure I read it right, basically.
 
update "cust"
    set "c".R_ID = "r".R_ID
from Customer as "c"
inner join Realtor as "r"
    on "c".R_PHONE = "r".R_PHONE
    and "c".R_NAME = "r".R_NAME
where "c".R_ID <> "r".R_ID
Well, there ya go anyways
 
10:17 PM
Thanks.
I would run it, but I don't want to mess my data up for the assignment :(
 
Hah, you don't know the trick eh
 
Let's just say that I don't know how to update, create, rollback, or do anything really interesting with SQL.
 
So you're asking hypothetically, or, are you remarking that you "don't know how to update, create, rollback, or do anything really interesting with SQL" but wouldn't mind learning?
 
Yeah, I don't know, but I definitely wouldn't mind learning.
 
Greetings
 
10:20 PM
Not right now, though, I've got to get this paper done by the 8th.
 
@IsmaelMiguel Hello
 
This is what I usually do, until I'm sure I want to commit
begin transaction;
    /* do stuff */
select * from ... -- to see what I did
/* commit transaction; */
rollback transaction; print 'Rolled back updates.';
 
OK.
 
T-SQL?
 
Yep, T-SQL.
 
10:21 PM
I must expand on my Database knowledge
 
@IsmaelMiguel Stargreed, because I must too.
 
I just don't because meh
 
And that must is a literal must, not an abstract must.
If I don't, I won't pass the class.
 
Well, if I don't expand I may not get a job later on
 
Closes the distracting 2nd Monitor
 
10:24 PM
TTQW; @Hosch250 I'll be around just ping me if you have other Database questions.
(and also @IsmaelMiguel if you want)
 
@IsmaelMiguel Feel free to try something not database related as well.
 
@Phrancis Thank you, but for now I will stick to NFSU2
@Mast I have accepted a challenge to write something on VHDL
 
So I finally actually did something on the site instead of talking to you people in chat: http://codereview.stackexchange.com/questions/102217/web-based-test-settings-manager-app

Is there any way anyone thinks I can improve my question, or is it good for now?
 
I'm voting to close this question as off-topic because it belongs on Code ReviewJim Garrison 36 secs ago
 
@IntensifierDescriptorMan reading
 
10:30 PM
@Mast Thanks
 
@IntensifierDescriptorMan so we can quickly change test settings for our products what products? I'm not entirely clear on what it should do.
 
@Mast Okay, I'll add that. In short, we make hardware, and test requirements are stored on the sever so it goes out to all the workbenches. Editing...
 
You should post these type of questions on codereview.stackexchange.comSnarf 28 secs ago
I'm voting to close this question as off-topic because it belongs on Code ReviewJim Garrison 50 secs ago
 
@IntensifierDescriptorMan Ah, that explains.
@Duga I don't care where it belongs, that's a lousy reason.
 
0
Q: Can this be refactored? Javascript function that pops up a dialog box using BootstrapDialog and changes buttons in Dialog based on a variable

PhilI wrote an ugly mess of a javascript funtion that pops up a dialog box based on validation data when a checkbox is clicked. I am wondering if it can be refactored somehow. varButtons contains code for which buttons are used as a parameter to BootstrapDialog function. //checkbox validation var ...

 
10:45 PM
You may want to run it by CodeReview. — Mike C 5 secs ago
 
Zak
"Can it be refactored?" Is the answer ever NOT yes?
 
Zak
On the plus side, pretty good title
 
11:01 PM
@IntensifierDescriptorMan LOL
 
0
Q: Updating and correctly using C# 6.0 features

TekGiantI'm studying C# and trying to work on efficiency and making the best use of C#6.0 features. I have created the following program based on an exercise challenge in a book, and have used Resharper to fix certain things; however, I still feel my novice knowledge of C# is preventing me from creating...

 
@Zak If you take out the question, it's pretty decent. Better than what I had on mine.
 
@JimGarrison Stack Overflow has no such off-topic reason. What you mean is that the question is off-topic because there is no specific question. — 200_success 53 secs ago
 
Home
 
11:17 PM
> Thanks for being #SOreadytohelp.
Woot! Check your mailbox... in 6-8 weeks.
 
update Swag
set Owner = 'Mat'sMug'
where delivery date between dateadd(week, 6, getdate()) and dateadd(week, 8, getdate());
 
0
A: FizzBuzz in Swift 2

nhgrifI would have started by looking over more than just the question in the linked question. You should have looked at the answers. First of all, while the added where clause option in switch statements is a nice addition to the language, it doesn't make anything better here. Moreover, we're faili...

 
@200_success I wasn't only talking about you. Anyway I was just expressing an opinion, wasn't trying to criticize.
 
11:35 PM
1
Q: Jacks or Better

OwenHow can I truly randomize the way cards are dealt? How can I remove a card from the deck as it's dealt? I have no clue where to start when it comes to figuring out the questions above. using Sandbox.Properties; using System; using System.Windows.Forms; namespace Sandbox { public partial ...

 
@Phrancis syntax error near 'where'
> damned names with apostrophes
;-)
 
and the awful, awful, sql date functions ;/
 
@DanLyons They're even better when the dates are strings and you're comparing weeks with LINQ-to-SQL.
 
of all the legacy issues I have to deal with, thankfully the largest date issue I have is that they're stored in datetime fields instead of datetime2 or datetimeoffset
 
@Mat'sMug lol ikr
@DanLyons You clearly haven't experienced JavaScript's Date functions ;)
 
11:46 PM
we had one ajax page which needed to work with dates, but I had the fore-thought to pass that to someone else :)
 
I thought you had a smart workaround there... well, I guess you actually do... lol
@CaptainObvious Would you like some wine with your copy-pasta?
 
James Mickens comes up with some amusing articles
 

« first day (846 days earlier)      last day (3173 days later) »