« first day (1762 days earlier)      last day (3231 days later) » 
00:00 - 17:0017:00 - 00:00

5:13 PM
0
A: Help us identify micro-privileges for top users

durron597Add the ability to search for posts that have close votes (or don't have close votes) and delete votes, using all the other power of search parameters. I don't think people having the ability to do a search closevotes:4 [mytag] would become an obligation. Also, searching in the reverse (closevo...

@enderland Are those the guys where you really weren't thrilled during the interview?
 
@durron597 No, that's the small consultancy place I intereviewed at last fall who seemed excited but they never really got back to me quickly
 
The hiring cycle has gotten longer generally.
Is stdio intended for text only, or for binary also?
 
@RobertHarvey both, specify "b" flag in opentype for binary
 
Gotcha.
Kinda figured that. The utility of stdio and pipes would be greatly reduced if it was only for text.
 
5:40 PM
This is probably a good discussion to move over to Programmers Exchange than here on SO - it will be opinionated and preference based... — EdSF 16 secs ago
 
6:03 PM
@MichaelT I'll probably do a combo of things, URL versioning, or header, or auto-latest if you include neither. I've seen good reasons for all of the above, so long as they're documented clearly... My contention with version/service instead of service/version is just that you can no longer deploy services independently... But you may be right about lesser of evils
 
Given that this is a whiteboard/design question, rather than a question about an actual implementation, this question really belongs more on Programmers than on Stack Overflow. — Servy 23 secs ago
 
@Duga @RobertHarvey I agree with Servy
 
I thought calling execute on a SwingWorker launched a new thread.
 
@ThomasOwens It schedules it on a worker thread. Not exactly the same thing.
It uses a thread from the SwingWorker ExecutorService that will be named SwingWorker-#
It's a fixed thread pool that uses up to 10 threads
 
6:19 PM
Hmm. I make a SwingWorker and implement the doInBackground() and done() methods. When, I call execute() on that SwingWorker.
The next line of code doesn't execute until after the SwingWorker is done. That's...not what I want.
I suppose I could wrap it in a Runnable? But that seems...weird.
 
@ThomasOwens oh I know this one! I thought in Java you're supposed to inherit from Runnable to create code that executes on another thread? Side effect of them not having delegates
 
user55340
@JimmyHoffa is this internal only, within the group? If not, consider which is easiest to support when other teams ask you how to add a header to a JavaScript request.
 
SwingWorker is a Runnable.
 
@ThomasOwens next line of code in which method?
 
@MichaelT I said I'd support all of the above. And it's actually a public API.
 
6:21 PM
@durron597 After I call execute on the SwingWorker.
I want to execute the SwingWorker and then keep executing the rest of the method that invoked the SwingWorker.
 
As a test, throw a Thread.sleep(10000) in the doInBackground() method and see if the next line still waits for completion.
I am certain that execute() does not block (I have the source open on my computer)
 
one sec and I will...
 
user55340
Stick with one and only one then. Easier to code and reason about.
 
@durron597 It shouldn't block.
Admittedly, the doInBackground() is a short method. It launches n threads to do work and then returns. done() blocks, though, since I'm calling get() in it.
Oh. Crap. Did I not make this dialog modal? :\
 
@ThomasOwens Why is doInBackground() launching additional threads?
 
6:24 PM
@durron597 To make that operation faster.
 
Why not have multiple SwingWorkers?
 
@MichaelT at my last place we had only URI versioning and would constantly find internal clients were running against mega old versions for no good reason; so having auto-default to latest is something I want to do for that (health-monitoring for instance)
 
@durron597 Because that's not my interface? My computation object handles threading.
 
but perhaps you're right, we should stick to URI, not query or header just to ensure guaranteed debugging...
 
@ThomasOwens Then you shouldn't be using SwingWorker at all
 
6:25 PM
@durron597 Why not?
 
@ThomasOwens Because SwingWorker uses it's own lazily initiated ThreadPool
if your computation object is handling threading, just implement Runnable and hand that off
 
Let me walk through what I'm doing.
 
There's no advantage to using SwingWorker if you're not going to let it do the threading
 
Except it does some threading.
 
Let me rephrase my question: What do you think SwingWorker gives you that Runnable does not?
 
6:28 PM
I push a button on a dialog window and it goes into an action listener. It takes some user input from the dialog and launches a SwingWorker. This SwingWorker takes some user input from the dialog and starts reading data to populate other fields in the dialog. This reading data could take a long time. doInBackground() launches a multithreaded data source reader. done() calls get, sets the UI elements with the new data, and disposes of a progress bar. I call execute on this SwingWorker.
Immediately after execute, I show a progress bar and set it modal so the user can't do anything with the UI until after the SwingWorker finishes, as done() disposes the progress bar.
But because execute() is blocking, the dialog either isn't showing up or isn't going modal.
Is this a wrong design?
 
Why not have a Runnable launch the multithreaded data source reader?
 
Because I thought a SwingWorker would be more efficient to update the UI after the reader finished reading.
But I suppose a Runnable would work, too.
 
@ThomasOwens Why? It's not on the EDT
SwingWorker just does a lot of threading boilerplate for you
but if you already have your own threading model, it's just extra crap
does your threading model return a Future?
 
No, it doesn't. It launches threads and blocks.
 
Are you allowed to use guava?
 
6:33 PM
Not at the moment.
When I get a chance, I'm going to go through and submit a whole bunch of OSS projects for approval.
 
Can you throw an MCVE together? Either on pastebin or Stack Overflow?
if you put an MCVE on Stack Overflow I will answer it for you
 
I think I understand the issue now.
It's way too hard to trim things out to get code.
 
are you launching the dialog on the EDT?
 
The dialog? Yeah.
 
It sounds to me like your design ought to work, so I suspect there's a bug. That's why I asked for MCVE
 
6:39 PM
Hm..
Oh. I'm terrible and can't type.
 
7:01 PM
I'm voting to close this question as off-topic because it is not about programming. Perhaps programmers.stackexchange.com or law.stackexchange.com are better sites for this question (not sure if it is on-topic there, so check the rules first). — Carpetsmoker 57 secs ago
To save the OP some time, definitely not on Programmers.SE. We only do software licensing, not legal advice. However, this sounds like the kind of support question that only Apple themselves would have the most accurate and up to date information on, so you're probably better off asking on their support forums rather than an SE site. — Ixrec 42 secs ago
 
OK. I've got it mostly resolved. SwingWorker was actually working properly. But for some reason, even though the initial dialog and the pop-up progress bar are modal, you can still click the X in the corner of the initial dialog and that causes everything to break hard.
 
@ThomasOwens huh.
 
Hmm. I can do anything. Is it because I'm making the parent of the dialog that pops up the panel and not the frame, perhaps?
I bet that's it.
 
@ThomasOwens That's almost certainly it.
 
Hi can someone give me insight about an algorithm that im trying to find a solution at
?
 
7:15 PM
So the weirdness wasn't the threading, but that the modality was all sorts of broken.
 
@Isaac We can certainly try, I don't know if we'll succeed
 
Thanks
I've been asked during an interview to write an algorithm who print a spiral square spaced grid
I didn't manage to find any solution solution do you have something in mind that I can lookup ?
 
user55340
draw out S(3). Then S(5)
 
@durron597 Do you think the space would be difficult to implement
?
@MichaelT it's N*N
 
user55340
7:21 PM
S(5) is the 5x5 depiction
 
user41796
@Isaac He's trying to teach you how to find the pattern and algorithm yourself
 
user55340
I'm terse when on mobile.
 
user41796
You don't benefit (as much) if we simply tell you how to do it. But if we show you how to break the problem down and create an approach yourself - that's valuable.
3
 
@Isaac Also, it's rare to find someone (even in chat) who will do all your work for you
 
In the future, design pattern questions are a good fit for Programmers. — ryanyuyu 28 secs ago
 
user55340
7:23 PM
The pattern becomes more clear when you look at two small ones.
 
@durron597 Im not asking for a solution just an insight and thank you for the link
@durron597 I just want to figure out how it would work
 
and if the patterns aren't enough, then trying writing down precise rules about how the solution looks, like "the center always has a star" or "the top row is always filled with stars"
 
user55340
Do project Euler #58
 
How would you judge the difficulty of such an algorithm ?
 
user41796
@Isaac My first question is "does it work?"
 
7:24 PM
Thanks @MichaelT Im gonna look it up
 
user41796
All else is immaterial if your approach doesn't work. Only after it works can you address issues of maintainability or performance or whatever.
 
@Isaac are you asking whether we think it's an easy problem or how we would go about determining that?
 
user55340
(I'd encourage the first 50 out of principle- a number of classic interview questions in that set)
 
Im asking if it's an easy problem
Not having a good knowledge I cannot judge it myself
 
user55340
It is not difficult if you are very familiar with looping constructs and recognize patterns.
 
7:26 PM
I would consider it an easy problem, since it doesn't require any prior knowledge (like math formulas or whatever) and the simplest solution is probably at most a dozen or so lines of code
 
user55340
Being very familiar with looping is something everyone should be.
 
user55340
(I wrote a do {} while() the other day - surprised the other coder)
 
@MichaelT What? Really?
 
user41796
@MichaelT I explained to our intern why you'd pick for, foreach, while, and do...while today
 
user55340
Retry code for a web request.
 
7:28 PM
@MichaelT I mean, I'm surprised that another coder was surprised
 
I tried first with basic condition write right, down, left, up inside a recursive function
but then the fact that each line of dot should be spaced plus the stress of the interview
 
@Isaac i would probably start with making an char[] array for the spiral and then filling the array with either ' ' or '*'
 
user41796
apropos of nothing - did anyone else know that IE has a listener to a registry entry to determine if dev tools are enabled or not? Changing the registry entry immediately propagates to the browser.
 
user55340
do { try to get data } while (!data && count++ < limit)
 
then at the end just printing the whole array
 
7:29 PM
I made a 2 dimmensional array
of size N*N
 
user55340
That works too. Could do a nice recursive solution with that.
 
recursion doesn't sound like the simplest approach to me, I would "start" in the center, "facing down", move a certain number of spaces (while leaving asterisks), "turn right", move again, and so on
 
@Ixrec exactly
I think this is a really interesting problem if you have to use O(1) memory.
 
no idea if that's optimal but it's sure simple
 
@Ixrec Im gonna try to implement that way thanks
 
7:31 PM
@durron597 you mean in addition to the memory that the "solution" resides in?
 
@Ixrec Nope.
You don't get to make an array.
 
Thanks you for all your help, am gonna try to implement @Ixrec solution and do a bunch of project euler
 
In fact...
 
as a vague general statement that may or may not help, recursion is best when you can split the problem into subproblems, each of which can be solved on its own without any knowledge that they even are subproblems
in this case, the spiral can't really be split up into "subspirals" that are independently drawable
 
user55340
@Isaac #1 is an essential one to know by heart.
 
7:33 PM
@MichaelT you speaking about the 58 that you jus sent ?
 
user55340
Yep. Do first 50. Make sure you know #1
 
@MichaelT that one If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000. ?
 
I think durron nerd sniped me, I'm trying to figure out the constant memory version now
 
it's a really easy one no ?
 
@Isaac it should be
 
user20683
7:35 PM
@Isaac it's a one liner in a number of languages
 
user55340
Really easy and often asked.
 
thankfully it's a prety easy one
 
user55340
Though the neat math version isn't the exact problem being asked. But you should know it.
 
@WorldEngineer sometimes I wish Javascript had a range(x, y) function like Python, because that should be a one-liner in JS too
 
if(n%3 === 0 || n%5 === 0)
 
user20683
7:37 PM
@Ixrec I seem to recall JS 6 or 7 has one
 
nice
 
user55340
@Ixrec the neat math solution is O(1)
 
user20683
@Ixrec this is from 2010
 
user20683
88
Q: Does JavaScript have a method like "range()" to generate an array based on supplied bounds?

alexIn PHP, you can do... range(1, 3); // Array(1, 2, 3) range("A", "C"); // Array("A", "B", "C") That is, there is a function that lets you get a range of numbers or characters by passing the upper and lower bounds. Is there anything built-in to JavaScript natively for this? If not, how would I ...

 
user55340
@Isaac when you complete the problems, have them working - post them to code review.
 
user20683
7:38 PM
the answer for JS 5 is sorta
 
user55340
@Ixrec sum the numbers 1...100
 
we do have lodash actually, I should check if our version has that
@MichaelT I do remember that formula, I haven't worked how to generalize it to this problem yet
and g2g
 
0
A: Sandbox for Proposed Challenges

durron597Print an ascii spiral in O(1) memory You may write a program or function that receives an odd, positive integer n as either an argument, or on STDIN (or equivalent for your system), and prints an ASCII spiral like so Input: 11 Output: *********** * ********* * * * * * ***** *...

 
user55340
@Ixrec solve it with a loop then, and read the optimal solution pdf then.
 
user20683
@Ixrec n(n+1)/2 IIRC
 
user55340
7:43 PM
@durron597 catch and title inconsistent
 
@MichaelT It's a sandbox
 
user55340
Yep. Is it O(1) or O(n)?
 
user55340
> Your program must use no more than O(n) memory.
 
@MichaelT Talking about it in The Nineteenth Byte. It's O(1) now
 
user55340
Ok. Just making sure you ask the right question.
 
I enjoyed this code golf, I might try with java later
 
8:32 PM
@André xnor was correct that O(1) is not possible. I changed it to O(log n)
 
So I'm going to be in the account newsletter this month, and they had a bunch of questions for me to answer like
"What are you reading?" "Whats the best advice anyone has given you?"
and the last one was "Make your own up!"
 
@durron597, made so much sense in my head, darn! :)
 
I opted to ignore that one because I'm already over this whole thing. Now I just received an IM saying "Hey, you missed that last on, could you make up a qusetion and answer it?"
How unprofessional is it to just respond: "Are you fucking serious?"
 
user41796
@Ampt "What's your favorite site for solving programming implementation problems?" "StackOverflow."
 
Feb 18 at 18:39, by Jimmy Hoffa
user image
 
8:35 PM
this guy has also misspelled my name 2/3 times he's used it.
 
@André Mine too, bro.
 
user41796
@Ampt Seriously, how hard is it to spell ampt?
 
right?
 
(best advice anyone has given you)
 
the t comes after the p
 
user41796
8:35 PM
It's just 4 characters...
 
user55340
Arnpt?
 
IT'S NOT ARMPIT. AAAAAARRRRGGGHHHHHH
2
 
user55340
(Autocorrect wanted to type armpit too)
 
and five seconds after I get back I figure out how to generalize it
neat math indeed
 
@AshleyNunn we are getting all sorts of haziness from canadian wildfires... take the smoke back!
 
user15026
8:46 PM
@enderland I'm sorry my country is making you sad
 
user15026
Just box it up and mail it back
 
user41796
@AshleyNunn Said like a true Canadian.
 
user55340
@AshleyNunn spoken like a true Canadian. ;-)
 
user41796
@Ampt Duh, it's "Spartacus"
 
@AshleyNunn that might be tricky haha
 
user15026
8:47 PM
Well, it it -is- Canada Day.
 
user55340
@enderland I'm sure that Oregon could send some smoke to Canada.
 
Haha. I had to call customer support for something this morning and it must have been a Canadian company, because they were on holiday
@MichaelT PERFECT. /me goes to start Oregon on fire
 
user15026
@enderland Probably :)
 
8:59 PM
@Ixrec Are you going to try my code golf?
 
I'm not much of a golfer
 
user55340
@enderland they've got like 420 fires burning today, dude.
 
user55340
I'm sure some of it is good Canadian product too.
 
user41796
@MichaelT Took me a second to realize where you were taking that one
 
user41796
@MichaelT - have you used the stackexchange API?
 
user41796
and / or does it have a separate user id account?
 
user55340
I've poked it before. Don't have any projects using it.
 
user20683
More interesting stuff:
 
user55340
9:13 PM
Only poked public ones - so can't say any about auth / id
 
user41796
@MichaelT Thanks. I'm trying to hunt down details on a candidate, and I think they may have leaked their API ID to me so I can see the rest of their SE profile
 
user55340
Ping a cm in tl?
 
user41796
@MichaelT Eh, I think that would be beyond the line as this is something for work. And digging a little bit into the account, it's 99% likely that it belongs to someone other than the candidate.
 
"Hey I'm trying to stalk a job candidate, any chance you can clarify how the SE API ID system works?"
 
user41796
^^^ This
 
user41796
9:18 PM
And in this case, I'm actually trying to find a good reason to bring the candidate in. But their sample code was underwhelming and I'm leaning towards declining at this point.
 
@GlenH7 Just ask the candidate for their SO profile.
 
user41796
@durron597 We did. No reply back on that part.
 
@GlenH7 Has it been more than 24h?
 
user41796
@durron597 Quite a bit so, yes
 
user55340
"I have some code from a sample program submitted by a candidate. Did they accidentally leak credentials to me? If so, I'd like to notify them this has been leaked do they can avoid leaking it to less scrupulous individuals"
 
9:19 PM
@GlenH7 So you have someone who 1) gave you an underwhelming code sample and 2) doesn't reply to emails. Why exactly do you want to bring this person in?
 
user41796
@MichaelT It's no worse than when sharing a link to someone. If you copy from the "share link", it embeds your numeric userid in there
 
user41796
@durron597 We're desperate?
 
@GlenH7 Not desperate enough to allow @RobertHarvey to telecommute ;)
 
user55340
Numeric id is one thing. Api allows voting.
 
user41796
But I should remind myself that desperation merely leads to crap code I have to fix later.
 
user41796
9:21 PM
@MichaelT I don't think I could spoof them with this. More that I was hoping to see what Q&A they had.
 
I wouldn't hire someone who refused to even answer the question about what their SO profile is.
If they said "I'd prefer to keep that private", I wouldn't like it but it wouldn't be a dealbreaker.
Not answering, on the other hand...
 
user41796
Yeah, there's too many yellow flags on this one. I need to just let it go.
 
user20683
@GlenH7 Pulling an Elsa is the right choice
 
user41796
@durron597 Looking at the first linked example, that appears to be a bug.
 
9:26 PM
@GlenH7 It doesn't have to be a positively scored accepted answer, it just has to be accepted.
 
user55340
@durron597 you'll run into the preservationists.
 
BTW all of those have 2 delete votes right now.
Which means in a few minutes they'll have three soon.
 
user41796
@durron597 negative scored is supposed to "erase" the accepted aspect
 
user55340
"But it helped someone"
 
"and deleting it does not undo that help"
 
user55340
9:28 PM
I'd suggest m.se if you do post though rather than m.so
 
user41796
I'm pretty certain I've posted bugs about roomba to MSE before and they were well received
 
Huh these two questions were asked within three days of each other: One Two
 
user20683
@GlenH7 Let it gore, let it gore, Oh My God it's a minotaur!
 
user41796
I'd star that, but I'm afraid it would merely encourage you...
 
@GlenH7 You can safely star it now.
@WorldEngineer Do you think those two questions are somehow the same person?
 
user20683
9:34 PM
@GlenH7 He's in a maze on Crete! Trying to be Discrete!
 
here's a question for anyone familiar with the ES6 spec: is there anything you can do with a Class that you can't do with a Proxy, or vice versa?
 
user20683
@Ixrec Probably not. Doug Crockford complained (at length) about how classes are unnecessary
 
user41796
@Ixrec We're sorry, but we've progressed far enough into the afternoon that actual questions about programming are now considered off-topic for the chat room. Please see our alternate tags for what is considered on-topic. :-D
 
but this is when I'm off work!
also it just occurred to me the answer is probably "inheritance"
 
user20683
@Ixrec you can mimic inheritance with prototypes
 
that is what I had in mind, yes
normally we don't say "mimic", but maybe we're too used to it (and we almost never use any kind of inheritance in JS anyway)
 
19
Q: Voting stats for "desperate accept" answers

gnatI am looking for voting statistics on the answers to questions that are: Quickly closed (within 1 hour after posting) Have single answer Aren't eligible for "roomba deletion" only because of having an accepted answer side note this excludes dupe-closed questions, as roomba ignores these I wou...

^^^ like that?
 
@gnat I've already upvoted that.
 
user55340
9:53 PM
29
Q: Expand the roomba scripts to delete year or more old, up voted, closed questions

MichaelTCurrently the roomba has a criteria that deletes quite a bit of open questions that are considered abandoned after a year: If the question is more than 365 days old, and ... has a score of 0 or a score of 1 with a deleted owner has no answers is not locked has a viewcount <= the...

 
user55340
Doesn't handle accepts, but suggests a fair bit of other material.
 
I've already upvoted that, too.
 
user55340
Someone is continuing with that query and down votes. Hmm.
 
user55340
stackoverflow.com/… - awhile back that had thousands.
 
user55340
The oldest one is June 7th.
 
10:00 PM
@MichaelT Yeah, it's me.
Someone is feeding it too, I think, by downvoting +2/0 and +3/-1 questions
 
user55340
If you run that on su and sf, its similar. AU, 2k
 
The only sites I care about cleaning up are SO and Progs
 
user55340
And you might also look at the cliff questions.
 
user55340
The thing is people are doing it on S* sites.
 
user55340
And AU shows what it would be.
 
10:04 PM
gotta go
 
user55340
10:16 PM
Anyone have unclear close votes left?
 
I have CVs
 
user55340
-3
Q: Declarative and Procedural problem solutions

user793468Program solutions are structured and designed based on the type of problem at hand. While looking up on when to apply OOD principles to a solution, I came across an article which states... I want to know the following: What problems are considered as Declarative problems? What problems are c...

 
went with "too broad"
 
Seems more like a CS question than SO (or perhaps PSE) — Sylwester 42 secs ago
 
10:48 PM
a question with score over 70, 12 (twelve!) answers, top answer at +47, only two days old... is off the hot list, can you believe it. Those SO folks don't even understand how incredibly special they are
4
A: Make hot questions with multiple answers age away faster on smaller / subjective-ish sites

gnatIt's worth noting that matters of aging factor have very little impact on Stack Overflow questions. If you take time to monitor questions in the hot network list, you may notice that SO ones seem to leave it much faster compared to questions from smaller sites. To understand why this is so, take...

similar question at Programmers or Workplace would firmly stuck near the top of the list at that stage
 
@Duga @RobertHarvey Whoa, did a false positive end up being migrated? Didn't expect that to happen.
 
11:18 PM
@Ampt well, I mean...you are a consultant...not far off :o
(and the hits just keep on comin' today...ouch)
 
Well, my meeting at 5 got pushed to 6:30 (of course), but the guy at starbucks did give me a quad instead of a triple, and comped the drink because he messed up and gave me more of what I wanted than I asked for, so I'll chalk that up to karma.
 
user55340
@Ixrec I think I found the paper being quoted... Strategies in object-oriented design
 
user55340
> Published in Acta Psychologica (1996)
This paper presents a study aiming to analyse the design strategies of experts in object-oriented programming.
 
user55340
So... 20 years out of date.
 
I was about to say what exactly are we going to do with it
 
11:20 PM
only 20? Sounds like we should make all of our decisions for the next 10 years based off of it!
 
user55340
OP self deleted here... question still exists on SO if you want to poke it.
 
user55340
0
Q: Declarative and Procedural problems

user793468Program solutions are structured and desigend based on the type of problem at hand. While looking up on when to apply OOD principles to a solution, I came across an article which states... Declarative Plan should guide the design of a declarative problems, whereas Procedural Plan should guide t...

 
@Ampt haha, sometimes you can just tell them after they're almost done pulling it "Hey, just toss the 4th shot in too" because they make 2 at a time and if you ask for an extra shot they just dump the 4th out (welcome to America)
 
dude was super nice too. I'm pretty happy with my uber strong drink.
Oh, and my client lead is apparently leaving tomorrow, so I'll get a new boss
 
so what question did you make up? "Pizza toppings?" (Mushroom+Pepperoni - the only answer to this question)
 
11:23 PM
don't worry, just found out today at 3:30
that's like a 36 hour notice, so we're all good.
I haven't done it yet
 
user55340
I'm on the "be patient and get free stuff from restraints". The other day, Sonic drive through was slow - had a $15 order comped. Papa Murphy had a bit of a rush (I'm a regular there on Tuesday night) - they put mine to the end to fix the "opps, only made one for the guy who ordered two" type things in the queue... got a free 2L.
 
@Ampt hopefully it's a new hire, then you can tell him your the project boss, and make him get you Coffee every day until he figures out you're not his boss.
 
ill get to it when I find a f*ck to give.
 
user55340
@JimmyHoffa Mushrooms and I have a mutual disagreement. I don't like them and they don't like me. Pepperoni is a given.
 
@MichaelT They have good taste then. Burn!
 
user55340
11:26 PM
(Got a s'mores desert pizza for family a bit ago... my nephew (3.5y) refused to eat it because it didn't have pepperoni on it... so my brother put some chocolate coins on it which satisfied him)
 
my kid doesn't even eat anything but the pepperoni, and he sure as shit won't eat chocolate or marshmallows or anything else with sugar for that matter outside of gummy worms. Kid's are nonsense.
 
excuse me, I believe you meant to say chocolate pepperoni.
 
@Ampt ...so, job's going well I see...
 
Well, I did the two friggin surveys they wanted, showed up for the group pic, and even sent a headshot all for a pdf publication that goes directly into everyones spam inbox
I mean... what more do you want from me
 
user55340
@Duga @gnat btw, the paper is likely arxiv.org/pdf/cs/0703008.pdf - notice the date of publication and the audience (it wasn't CS)
 
11:29 PM
@Ampt have you started shilling a company branded energy drink for them yet? Is your company's unprecedented success rate the first thing you bring up in social interactions? There's a lot more they want from you, #342AA4
 
DID I MENTION THAT MY COMPANY IS UP 10% IN LOCAL CURRENCIES AFTER THE CLOSE OF OUR 3RD QUARTER?!
 
You can send some of that this way, if you're feeling especially generous.
 
HA
you know, because I see that
 
See what?
 
remember, I'm working on 13 months without a performance review or raise! It's grrrrrrrrreat!
 
user55340
11:33 PM
 
@MichaelT I'll take 12 please.
what is #342AA4 ?
Oh, yes, of course, my employee number.
that's actually just 10 numeric characters, no alphas here.
 
I'll send you my bank account info, for direct deposit.
Increasingly, I am finding the need to establish some sort of productive workflow in this foreign code base in Visual Studio. Interfaces that lead to an assembly that's only giving me metadata, for example, rather than an actual interface, never mind the implementing class. Navigation is an ordeal.
 
can't you add an external source?
 
What is that?
 
you attach a lib to the project and it'll take you to those when you look for a definition
I think it's under... edit maybe?
 
11:36 PM
Is that just another project reference?
 
17
Q: How to attach sources to referenced assembly in Visual Studio

Roland TeppI am fairly new to Visual Studio, coming from Java development on Eclipse. Among other things I sorely miss from Eclipse is an ability to view source of binary assemblies. In Eclipse I can attach reference to source code for a referenced jar and after that it is dead easy to navigate to the sour...

I think it can be another project
or it can be a compiled source as well
if that source is built with debug symbols you'll get code.
maybe you just need debug symbols?
 
Hmm, that looks like it only works in the debugger.
In the meantime, "Edit\Navigate To" was relatively fruitful. It produced all originating references of all instances of this interface in all projects (there are several).
 
no, it makes it so when you ctrl + click on a class name, it'll open the definition
 
ctrl + click did something...
Looks like it took me to the other partial in this partial class.
 
excuse me, have you been living under a rock using emacs or something?
 
11:40 PM
It feels like emacs.
I've used Visual Studio before, but never in a project set up like this. There are so many Interfaces and so many layers of indirection that it's difficult to get to the originating class.
 
just hold down ctrl and keep clicking
If you reach the definition for Object, you've gone too far
 
An example of what I'm dealing with: ServiceCallResult<T> inherits from ServiceCallResult, which inherits from IServiceCallResult, they're all DTO's (no logic), and there's only one implementing class.
@Ampt It looks like F12 does what you're describing.
 
Psh, why would I want to reach all the way up to that F row.
maybe it's right click -> find definition in VS... I forget
it's been a while
 
By the time resharper adds its menu items, right-click \ go to gets rather expensive.
 
Ah, I'm too poor for resharper
 
11:49 PM
One more thing to learn.
I'm of the mind that, if you need a new tool to manage the complexity (thus adding more complexity), maybe it's a better idea to start with less complexity in the first place.
 
noooo, always need more!
 
@RobertHarvey learn to use the ctrl+, hotkey, it brings up a really fast symbolic search that most people don't know about, just type in the name of whatever and it'll bring up in the dropdown all the references found, if the sources are in your solution you'll find the implementation in the list, if they're outside your solution well now you've got a different pickle
 
@Ampt it stinks anyway, it provides nothing visual studio doesn't, you just have to learn what visual studio has to use it where resharper puts the tools in your face so you can't miss them
irritates me because I know where the tools are and resharper just gets in my way
 
You say [Ctrl] [+]?
 
11:53 PM
ctrl+comma
 
It looks like Resharper remapped that one.
 
yeah, welcome to why I never use resharper
Go into resharper properties an disable that shit
tools->options->resharper
 
Keyboard & Menus->Keyboard Shortcuts. Currently set to Visual Studio (Attaches ReSharper Ultimate features to standard Visual Studio shortcuts where available).
That seems... intrusive.
 
I mean disable resharper, there's a button in the resharper options
 
Do I want to go that far? There might be some things about Resharper that I like.
 
11:57 PM
@RobertHarvey it is, also it slows visual studio down because resharper's constantly doing shit
@RobertHarvey you can edit which things it remaps case-by-case in the resharper options, but the fat disable button's easier to use if you want to see what I refer to. Then you can just go back and click enable resharper to turn it back on if you want to keep it instead shrug
 
Where do I find the fat disable button?
Ah, there it is. Environment/Products and Features
 
00:00 - 17:0017:00 - 00:00

« first day (1762 days earlier)      last day (3231 days later) »