« first day (1831 days earlier)      last day (3176 days later) » 

user55340
1:40 AM
@overexchange Have you actually tried implementing it? Copy it into your IDE and write class Foo implements Interface and see if it works. See if the IDE demands additional methods be added. See what those methods are. It is much easier to try for yourself than asking in chat.
 
user55340
I would also strongly encourage you to read:
 
user55340
13
A: How to ask "how to understand some code" questions

MichaelTOften these questions are closed. In days of old they would have been closed as "not a real question" or "too localized." The reasoning behind this is that there isn't really anything that one can answer definitively and draws upon our expert knowledge as a programmer. Furthermore, there are an...

 
user55340
> These questions of "explain this code to me" is very much akin to someone coming up to you, handing you a picture and saying "I don't understand this. Could you describe what you see here?"

There are so many possible options for someone to describe. We could describe the process of drawing (and you can see the sketch marks from previous revisions). We could describe the elephant itself and its form. We could describe the technique (and if we think its good or bad). The possibilities are endless.
 
user55340
1:53 AM
-2
Q: Interpolation search with strings, how do I calculate probe_index?

Christopher RAs far as I know Interpolation search is binary search except instead of the calculation: probe_index = low_index + (high_index - low_index)/2; you use probe_index = low_index + Ceiling( ((targetKey - A[low_index])/ (A[high_index] - A[low_index])) * (high_index - low_index) ) for a sorted arr...

 
user55340
The strings need some padding... the data file format is:
 
user55340
AALEN	DIANE	ELIZABETH		9	4	1950	F	HARRIS
 
user55340
So that makes sorting to make sure that comes before:
 
user55340
AAMODT	SANDY	KAY		10	29	1950	F	DALLAS
 
user55340
When trying to interpret each last name as a string more challenging. And then there's the first name too.
 
user55340
1:55 AM
AARON	ANDREW	MARK		3	6	1950	M	DALLAS
AARON	BETTY	LOU	ANN	9	25	1950	F	GALVESTON
AARON	BOBBIE	JOE		11	27	1950	M	GRAYSON
AARON	BRENDA	KAY		12	28	1950	F	BOWIE
AARON	DONNIE	RAY		7	6	1950	M	DENTON
AARON	EDDIE	LEE		10	1	1950	M	BROWN
AARON	GARFIELD		III	11	26	1950	M	HARRIS
AARON	JAMES	HOMER	III	1	23	1950	M	FISHER
AARON	JOE	ALVIN		4	3	1950	M	LIBERTY
AARON	JOHNNY			8	1	1950	M	HOCKLEY
AARON	KAPPIE	FERN		11	4	1950	F	HIDALGO
AARON	LARRY	JAMES		11	12	1950	M	LAMAR
AARON	LINDA	MARIE		6	4	1950	F	MCCULLOCH
AARON	LYNDELL	DIANE		7	12	1950	F	DENTON
 
user55340
Hmm, looks like the data isn't sorted - why does Lee Richard AaronSON come before Stephen Michael Aaron?
 
user55340
And, granted I've got a bit of Java-esque design thoughts, I'd read the entire line in, create an object based on it, have a function that computes the ordinal-esque value for the nameS, create some unit tests to make sure that that certain combinations sort properly (so all the X Y Aarons don't have the same ordinal value).
 
user55340
Maybe do some data analysis on the values first to see what the maximum and minimum lengths of each of the strings are for the current data set. Granted that this is academic code, you can go just on that and say "nope, not getting any other data ever" - real world names are quite problematic.
 
user55340
And I'll also point out that this is why we, as professional programmers, aren't always the best to ask for academic homework assignments - we may very well be doing things the wrong way or over engineering it.
 
user55340
Quite frankly, I'd say "screw interpolation sort" and stuff it all in a nice TreeSet. The NavigableSet interface is quite useful.
 
user55340
You could do things like Set aarons = data.subSet(new Datum("Aaron","A"), new Datum("Aaron","ZZZZZZ")); // please let there never be someone with a first name that sorts after "ZZZZZZ"
 
user55340
(and this is why you wish you lived in Iceland)
 
user55340
The Icelandic Naming Committee (Icelandic: Mannanafnanefnd; pronounced [ˈmanːaˌnapnaˌnɛmt])—also known in English as the Personal Names Committee—maintains an official register of approved Icelandic given names and governs the introduction of new given names into the culture of Iceland. == Composition and mission == The Naming Committee was established in 1991 to determine whether new given names not previously used in Iceland are suitable for integration into the country's language and culture. The committee comprises three appointees who serve for four years, appointed by the Minister of Justice...
 
user55340
The names in Iceland are an enumerable set.
 
3:33 AM
You might have better luck on programmers.stackexchange.comRob 27 secs ago
 
class Outer1{
	private static class In1{
		private int i;
	}

	private static class In2{
		void m(In1 in){
			in.i++;
		}
	}
}
Can somebody give me real world scenario that could use such code?
 
3:56 AM
@overexchange In the real world, your compiler will be disappointed, because you are trying to declare an instance member (in other words, a non-static member) in a static class.
 
4:25 AM
Folks, is anyone patterns-happy ? I've come across this line:
> Strategy has 2 different implementations, the first is similar to State. The difference is in binding times (Strategy is a bind-once pattern, whereas State is more dynamic). source
The page seems to deal only with one implementation. I can't seem to find out what the 2nd implementation might be. Or, do they mean that State and Strategy are these 2 ?
 
 
2 hours later…
6:28 AM
@overexchange In the real world I'd never let that through code review. If there is a good reason for structuring code that way, the variable/function/class names involved should be far more self-documenting than those, and you'd probably need comments too to justify that structure over simply having those methods/members on the outer class, or even more simply, having the inner classes exist separately in publicly accessible and easily testable files.
 
@Alexander It has more to do with computer science than programming, but is less likely to be known by name to computer scientists, who spend time researching new methods, than programmers, who stick to tried and true methods, hence the question belonging here. Also, I'm familiar with the theory, but after hours of googling I still can't seem to find the function name I am looking for. — TheEnvironmentalist 27 secs ago
 
 
2 hours later…
8:43 AM
It's a "too broad" Q&A , try to define which UI component you will use. ( jquery, angular, datatables jq... pure html & css ) . For server side, you can resolve only with .net native code. And... Don't test the patience of this community: You must make the effort to create a piece of code and if necessary create a new question. Check programmers.stackexchange.com for revision code. — Mate 52 secs ago
 
 
1 hour later…
10:10 AM
I'm voting to close this question as off-topic because it's not really a programming question. It may fit on programmers.stackexchange.com, check their help centre. — deceze 13 secs ago
 
 
2 hours later…
user55340
11:46 AM
@NickAlexeev static inner classes are about the relationship to its enclosing class - not about its own instance fields.
 
user55340
Personally I like inner classes for builders and row mappers because I can access the private fields of the enclosing class directly.
 
12:12 PM
@MichaelT DO java design patterns use mostly nested and inner classes/interface? as far as basis structore is concerned
 
@overexchange they are handy but not the holy grail of patterns
 
@overexchange Design patterns are above that
inner classes and nested classes are more of an implementation detail of a design pattern where a design pattern is almost a heuristic and not necessarily a scripted solution to any one problem
you need not use them
 
197
A: Are design patterns really essential nowadays?

pdrFor my money, I think everyone's missing the point of design patterns. It's rare that I sit wondering which pattern I should use in a given situation. Also, I was using most of those patterns long before I knew they had names. The power of design patterns is in communication. It is much quicker ...

 
I mean, if you see this below code, Does it belong to some pattern?
class Foo {
	interface Bar {
        void callback();
    }
    public static void registerCallback(Bar bar) { }
    public static void registerCallback1(I i){ }
}
 
I can't identify if this is following a design pattern partly because I don't understand what the goal of this Foo class is
nor do I understand what a Bar object is
In computer programming, SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency inversion) is a mnemonic acronym introduced by Michael Feathers for the "first five principles" named by Robert C. Martin in the early 2000s that stands for five basic principles of object-oriented programming and design. The principles, when applied together, intend to make it more likely that a programmer will create a system that is easy to maintain and extend over time. The principles of SOLID are guidelines that can be applied while working on software to remove code...
S stands for Single Responsibility
What is the responsibility of the Foo class. If Foo is just an example for a point, can you explain Foo in context?
Can you explain an object of type Bar in context?
What about Template I
@overexchange If you want to identify a design pattern being utilized, it is usually better to start with the problem that is being solved
 
12:48 PM
Foo.registerCallback1(new I(){
			public void f(){

			}
		});
this is callback functionality
Foo.registerCallback(new Foo.Bar() {
		    public void callback() { }
		});
 
@overexchange Why are callbacks for Foo functionality static?
 
user55340
@overexchange I use them that way for convince and organization. Also custom exceptions for Spring controllers and services.
 
user55340
The key is do what makes sense. Getting hung up on Patterns and the like gets in the way of actually writing code.
 
user55340
You don't get paid to pontificate on patterns and principles. You get paid for code and results.
 
@MichaelT does Java have generic static classes? Are they segregated by type param so instead of one instance per process, the compiler generates one instance per process per type parameter used?
 
1:03 PM
@MichaelT Speak for yourself. I am paid handsomely to sit in an ivory tower and make decisions that will cause developers to decry my name
:)
 
@maple_shaft far too true, far too often. Nice view up there? How're the nose bleeds treatin' ya?
 
@JimmyHoffa Better than the nose bleeds of the devs on the ground getting punched up by PM's
^ Me
staring down maniacally from my ivory tower at the little people as I sprinkle my processed crap down upon them
Seriously... look at the guy on that box
 
user55340
@JimmyHoffa all regular classes are "static" or alternatively "it has no meaning"
 
user55340
A static inner class can be accessed without an enclosing object.
 
user55340
new Foo.Builder()
 
user55340
1:14 PM
If it wasn't a static inner class you would have to have something like...
 
user55340
Foo bar = new Foo();
Inne qux = new bar.Inne();
 
user55340
The static inner class means you can access it the same way you access a static method or field.
 
Oh Dynamic Programming... why do you make my brain hurt so?
 
user55340
That's just its nature.
 
Question: "Find me the optimal value of treasure that I can fit into a knapsack with a capacity of k"
 
1:20 PM
@MichaelT ?? I asked about static generics, like public static SomeClass<T>
 
Answer: "That is NP hard... go F' yourself
 
@maple_shaft optimism sucks, good enough FTW.
 
user55340
@JimmyHoffa ask me tonight. I need a better chat and ide to explain.
 
@MichaelT O_o it's that complicated? I didn't think Java had anything that different from C#, I'll go look it up m'self now..
oh whoa, Java doesn't have static classes at all; just members and methods
so they don't have generic instance partitioning, that sucks, that's a really useful feature I use in C# rather often
in C# if you have public static class MyClass<T> { ... } and you use in a method MyClass<int>.Foo(); and MyClass<byte>.Foo(); then the compiler actually creates an public static class MyClass~int { ... } and a whole separate version public static class MyClass~byte { ... } where throughout the instance the T is replaced with a hard-coded form
it's handy because you can create type segregated dictionaries and lists and things so that it reduces multi-threaded contention on structures by partitioning them by type requested.
but in Java if you only have methods (stateless) those won't need type partitioning, and instance members can't specify type parameters so those can't be partitioned by type either, so you lose those whole partitioning feature altogether
 
user55340
As you've just typed away, I need a non-mobile chat to explain.
 
1:31 PM
@MichaelT is my description inaccurate?
 
user55340
Gotta sit down and read it more in depth.
 
aye
146
A: Static method in a generic class?

newacctYou can't use a class's generic type parameters in static methods or static fields. The class's type parameters are only in scope for instance methods and instance fields. For static fields and static methods, they are shared among all instances of the class, even instances of different type para...

yeah no partitioning at all
 
2:17 PM
@maple_shaft Yeah, but with dynamic programming and pre-computed weight tables, it can be done in poly time, which is why dynamic programming is cool
 
@Ampt Isn't it just an approximation though?
nvm
NP complete means it can't be done optimally, not that it can't be solved
 
Can't be done optimally in Polynomial time*
but with dynamic programming, you trade input length for time - in this case you precompute the combination tables, and then use a modified algorithm on that, giving you pseudo-polynomial time
 
@Ampt that is a very textbook answer there
I am prepping for a Google interview
 
until the tables exceed polynomial space
 
you trade time for input length - you cut your time down, but the amount of data you supply in is exponential.
 
2:21 PM
then you can get polynomial time with some good hashing ;)
 
@maple_shaft so do you want text-book, or non textbook...?
 
2:32 PM
I don't know what I want
I started in Computer Science at school and changed majors to IT
 
There is a lot that I either don't know or only have vague familiarity on as far as concepts
^ pretty much this
I am a colossal fraud
 
user55340
Especially the hair. I mean, who doesn't want that hair?
 
This Google interview will be a giant embarassment for me
I can talk through pseudo code of an algorithm but when I try to write code to whiteboard my mind will turn to spaghetti
i have been studying and practicing on hackerrank until 2am in the morning with the same conclusion
I am boned
 
user41796
@maple_shaft If you feel that strongly, you can always decline the interview
 
2:36 PM
@maple_shaft write psuedo on the whiteboard
 
@GlenH7 sometimes I get hopeful
but then I try a programming exercise and spaghetti
 
user41796
"Hey, I've done a ton of research on your interview process, and I've been practicing as a way of preparing. What I'm finding is that my analytical style doesn't align with how you interview. I think you're going to be disappointed in the results, so I'm declining the opportunity to interview with you at this point. I'm going to keep practicing and when I feel more comfortable with this style, I'll be back in touch. Many thanks again for the consideration."
 
user41796
Heavily technical interviews like that don't work for all styles of programmers
 
Arms weak brain spaghetti, spaghetti on my sweater already, moms spaghetti
 
To be fair though @GlenH7 that basically self-selects out. That might be true, but... it also might be useful to have them do that than to do it yourself
 
2:39 PM
@enderland this
 
user41796
@enderland I agree. But... there's also a mental aspect. If you go into an interview with the foreboding of it's gonna suck, well, 9 times out of 10, you're going to find out that it's gonna suck.
 
@maple_shaft you should try for lasagna instead
 
user41796
So if you can't clear that mental hurdle and throw your best at it, sometimes it's better to self-select out.
 
@maple_shaft then write pseudo code rather than actual code :)
 
I want to get in. No doubt. I am just realistic about my chances and where I lack compared to other programmers. I am extremely high level analytical planner. I don't want to embarass myself though
These problems?
 
user41796
2:42 PM
@maple_shaft So sell yourself on yourself and know that you can sell your higher level skills to overcome any shortcomings with the "grind out code" portions of the interview.
 
I can conceptualize the problem, explain potential algos that can be used... maybe even write pseudocode, but I need a search engine to go farther
 
user41796
And FWIW, I don't know that I would do that well with that style of an interview either. I tend to be slower and more deliberate in analyzing a problem.
 
try to get the psuedo as close to actual code as possible
 
@GlenH7 Well their interview process is pretty much 5 rounds of 45 minutes to code an optimal solution on a whiteboard
and it should compile
 
user41796
That's why I don't interview there. :-)
 
2:43 PM
I wonder what the median/average age for new Google hires is
 
I would tell them I'd need a few minutes to get the typos out of it
blind coding is a pain
 
~ 30 i think
 
I can do it for SO and stuff but it usually is based on the code in the OP
 
I think I am going to conceptualize the approach in natural language, then write pseudo, then if there is time start coding
if they don't like it they can bite me
I am a plan first kind of guy
 
@maple_shaft at least you're having a go at it, me and lots of others don't just because we presume we've no chance. Good on ya for having a go at it regardless of your confidence. Also good on ya for doing the hackerrank stuff and trying to prep. I can't stand all that prep stuff, makes me crazy
 
2:52 PM
@JimmyHoffa Implying that it doesn't make me crazy
 
@maple_shaft you're not ranting about asgardian numerical systems inbetween inchoate bellows of rage, you're doing better than me
 
@ratchetfreak He can't write pseudo on the whiteboard, they want real code
Unfortunately, you don't have time for that
HOWEVER, it's expected that you discuss first before writing
Nearly all of my answers took the entire space on the whiteboard
Good: discuss with interviewer, perhaps make notes in a notebook
Bad: Attempt to answer the question with pseudocode
@maple_shaft When is your interview?
I have had google interviewers correct missing semicolons.
In my first interview, the interviewer didn't like the fact that I forgot the call for getting current system time in Java was System.currentTimeMillis
 
user55340
3:09 PM
Google (back when I was in silly valley) was in the mid 20s. They even had an age discrimination suit against them.
 
user55340
Very much the "select the brightest college students, burn all the creativity out of them and wave goodbye when they leave for a more normal pace of life." An orphans preferred type environment. Though this was back then. They might have had some changes in the past decade.
 
user55340
Things like adding wifi to all of mountain view. Made it easy to work while at lunch, even outside of the campus.
 
user41796
@MichaelT Most grinder companies don't seem to be able to sustain that pace indefinitely. Two of the local grinders have worked very hard to change internal culture. One has succeeded, the other a bit less so. I'd consider working for the first, but will never work for the second.
 
user55340
Depends on how good their intake is.
 
user55340
How many tens of thousands of college students apply there each year... Along with apple and oracle and Microsoft?
 
user41796
3:14 PM
And local PR
 
user41796
I suspect local news is what did in the two companies I'm thinking of. They got enough negative PR and realized that the "best and brightest" weren't interested in working there. And along with high churnover, that was starting to cost them real money.
 
user55340
Thing is with the big names, they do get a significant amount of intake without trying. They can afford to burn out 33% of each "class" each year because you'll still have some holding over and there for awhile.
 
user55340
And the bright ones that escape? They make startups that get bought and brought back in to the fold.
 
Does anyone remember if downvoting questions always didn't cost rep, and if that was a change, when that change occurred?
It's hard to search for something you're not sure happened or did not happen.
 
My one friend just left Google because he was burned out
but then he has 5 kids and is active in his church
so... I kind of chalked it up to that
 
user55340
3:24 PM
@durron597 it did happen.
 
@MichaelT oh, 2011. Way before my time
 
@durron597 the 18thy
 
@maple_shaft Here is my advice
first of all, make sure you are very well rested
2. don't do hackerrank problems until all hours of the night
do them when you are rested
don't do them the night before
See my posts above about not trying to write the pseudocode on the whiteboard
bring a notebook, discuss the question with the interviewers out loud
3. you deserve to be there, if you didn't deserve to be there, you wouldn't have an interview
 
@durron597 Were there any questions where you had an awkward silence or mind blank?
what did you do?
 
@maple_shaft Yes. Answer: asked questions
It's probably okay to say "i don't understand" if you can follow up with an intelligent question
 
3:33 PM
@durron597 thank you
 
@maple_shaft I am on the phone constantly for work, and I have gotten into the habit of saying something like, "Hmmm" or "I'm thinking about that" when those silences happen
 
I feel a little better to hear this
 
That being, said, I didn't advance :)
I strongly doubt you are going to have a "that sounded like greek to me"
Another good one is "let me try to walk through an example"
I also probably semi botched one of my interviews when I said:
"The answer is this" when I should have been saying "I think the answer is this, let me check to make sure"
In that particular interview I eventually got the complete right answer, coded within the time limit
 
my fear is walking into the room and being completely blindsided with no idea even where to start
 
but I could tell the interviewer was like "ummm... are you sure that's right?" on my first draft answer
 
3:37 PM
or I am trying to solve a problem with DP and am tinkering and laboring in my mind over indexes
of matrices and such
 
you are going to have at least one high level, abstract interview. design the basic framework of "big large project" that is too huge to write anything on the whiteboard
that interview is just a discussion with the interviewer about the important factors.
 
that is where I will shine I think
 
they don't care whether you know this tool or that one, because if you're the right person, you'll learn the tool.
Let's talk about a different question that google never asked me, so I'm at no risk whatsoever of violating their IP
design the caching system that backs stack overflow
 
lol
it's a mess and just broke down a few hours ago for a minute
 
@ratchetfreak oh really? i had no idea ;)
 
3:48 PM
 
user55340
@JimmyHoffa this one is for you:
 
user55340
21
A: I'm not the language you're looking for!

Chris DrostJavaScript/Haskell, 158 bytes In one line: u="This program wasn't written in ";v=", it was built for ";j="JavaScript";h="Haskell";w="!";u/*v=0;{-*/;console.log(u+j+v+h+w)//-}main=putStrLn$u++h++v++j++w What this looks like to Haskell: -- some variable definitions u = "This program wasn't wri...

 
thats a good one
 
31
Q: Splitting up ASCII

durron597Given the 95 printable characters in ASCII plus newline, break it apart into two equal, 48 character groups (hereafter called group A and group B). Create a one-to-one mapping of your choice (you have total discretion) between the two groups. In other words, A might map to a, and vice versa, but ...

 
user55340
4:11 PM
Blue powers!
 
Apologies. Nerd sniping, what do you expect?
 
@maple_shaft Thank you
 
user55340
Now you'll just get Thomas looking at it all funny.
 
@JimmyHoffa While I'd love to talk about all these things, I'd also love to have a chance at getting that job again next time around
 
Aye, I realize. Sorry :)
High level design stuff is what I live for, it's being asked to come up with an algorithm that does some complex mathematical calculation or modeling that will screw me up. NLP/LP/DP for me are; Go directly to enterprise, do not pass amazon, do not collect nerd cred.
 
4:16 PM
@durron597 I even removed your reference to it back from last week
you should be safe now
 
I'm sure I could do any of them if they were relevant to my job, I've constructed algorithms when it's been worthwhile in my jobs before, but that involves some research, bit of study, and generally spending the time to get it right and being thorough in my analysis. My confidence that I could do that in an interview period is pretty much zilch
 
31 mins ago, by durron597
design the caching system that backs stack overflow
Jimmy I bet you just don't want to embarrass Oded ;)
@maple_shaft thank you
 
user41796
@MichaelT What's the point of having a diamond target on your back if you can't blast things away every now and then? :-)
 
user41796
@durron597 Mods can create private chat rooms that are only accessible to that site's mods, SE diamonds, and anyone the mod invites into the room. Far less worry about public transcript recording that way. But I don't know what official SE policy is regarding creating those rooms.
 
@GlenH7 Meh
 
user41796
4:22 PM
Agreed. :-)
 
I'm a white hat. I like to help people and do the right thing
 
@durron597 eh? the extent of my knowledge on SE's engineering staff is that Marc Gravell is one of the people I point to as why I know my .NET rating isn't 10/10, and that they apparently had some amazing intern named Andrew
 
Sometimes helping people and doing the right thing (protecting google's IP) don't always work well together
@JimmyHoffa wait, why isn't your .NET rating 10/10?
 
@durron597 Because I'm neither Marc Gravell or Eric Lippert. My .NET holes are: Never done IL emission, never dug into proxy generation, likely some other things I'm not remembering right this moment. I rate myself an 8, but then that's as high as anyone should ever rate themselves on a technology they didn't create
I'm weakish on PInvoke, there's lots of frameworks I don't know, I've hardly used the unsafe features like IntPtr
 
4:40 PM
I love getting the final CV :)
 
@MetaFight get 10k, then snipe to your hearts content ;)
 
workin' on it.
 
hi!
@durron597 would this be a fit over here?
-2
Q: How to handle singular and plural parameters for functions

jstaabOften when I'm writing a set of utility functions, I find myself wanting a function that applies some logic to multiple items, as well as a function that does the same with just a single item. There are a lot of potential solutions to this, but I always find myself flipping back and forth. I co...

 
@Mat'sMug not that i am such a great arbiter of good posts, but I would probably vtc that as POB here
 
user41796
@Mat'sMug It's kinda meh, to be honest.
 
user41796
Granted, it's a semi common problem. But... pick an approach and go with it.
 
user41796
@MichaelT I shouldn't be laughing, but I am
 
5:04 PM
thanks! starts chainsaw
 
I agree it's a better fit here, but honestly, he answers his own question in the question.
 
5:36 PM
I want to build a computer inside of my houses ventilation. What do you think, filter slot on one side, filter slot on the other side, computer components in the middle: More or less dust collection in the components than with the machine on my desk? Higher air flow I could see going either way...
wait that wouldn't work when the heater's on, drats
 
@JimmyHoffa Move to texas, then it will never be on. problem solved
 
@JimmyHoffa do you have air vents in your house? Just look on the inside of them
 
@enderland good point, the intake vents do tend to collect a bit of dust..
 
6:03 PM
Given how I know others rate themselves, I would go over an 8 for C#
 
@Telastyn you've done a bit of IL emission in Tangent; when you get into the guts enough to be creating your own language in .NET, then yeah you probably deserve over an 8... ratings also have a psychological purpose though, knowing full well how other people rate themselves in comparison to most of those ratings I'd give myself a 17, but when someone asks and I tell them an 8, then they ask me what they think are hard questions but are really simple "oo, an 8; do you know what a delegate is?"
 
0
Q: Make three "No Action Needed" required to remove something from First Posts and Late answers

durron597So I've recently learned my lesson about "No Action Needed" in the First Posts and Late answers queue. This has been discussed to death: So I failed this review audit Failed and banned for user who answered the question correctly? Looking for guidance on using "No Action Needed" in the first po...

@durron597 cc @MichaelT @GlenH7 @gnat
 
yeah. I mean, 75% of my coworkers (or everyone, really) think they're 6 or 7's. That is very similar to the percentage of people who can use Aggregate
thankfully I've not been asked that one recently.
last time I was asked to rate myself was like 10 years ago in C++ and SQL
 
@Telastyn I've been asked that one in every interview I've been in for years.. I ask it as well just because from my perspective it's a relatively good guage of how much they know about .NET: If they say they're a 7-10 and struggle on delegates or events or basic stuff like that, then their understanding of how much there is to .NET is not very large.
 
yeh
 
6:16 PM
@JimmyHoffa the more you know the more you know you don't know.
 
at a 7 I would expect someone to know at least a cursory idea of how GC works - a basic idea of what generational and non-deterministic means without many details beyond that. You definitely better know IDisposable and using() and delegates/lambdas/generics well.
 
I doubt Lippert and Gravell rate themselves 10/10 ;)
 
@JimmyHoffa I know most of that stuff and I've never written any C#
 
@durron597 If Lippert doesn't rate himself a 10/10, then I think he's missing the point of the rating system... I mean, how could anybody actually know more about it than him? heh
 
@JimmyHoffa Except Jon Skeet.
 
6:18 PM
@JimmyHoffa he hasn't worked at Microsoft for awhile
 
I dunno, I expect that Lippert's main skill is the ability to write well, not necessarily code well.
(though I expect he still knows 10/10)
 
I wonder if a good interview question might be, "what are some of the areas you don't know about, but would like to, about X" ?
 
@Ixrec exactly my point - so when people rate themselves 6/7 as they usually do and struggle like crazy on those points (as they usually do), they clearly don't have a very broad understanding of what goes into the technology. Likely just know how to code the patterns handed to them with the frameworks they were shown in previous jobs..
 
I think I'd rate myself 2-3.
 
this all gets to why numerical ratings of skill are totally useless
 
6:21 PM
@durron597 yeah, but since he left it's not like anything interesting happened... they've just been sugarring things. async/await was the last large piece of work to come out of .NET, and that came about during his tenure.
@Ixrec it's a simple test. If they say 7 and they don't know basic shit, it's indicative of a larger misunderstanding of technology. Outside of that specific case though - it's likely not indicative of anything (someone says 2-3 and knows about as much as you'd expect doesn't tell you good or bad, same goes for if they do a 7 job when saying 2-3, or saying 7 and holding that)
 
and making compiler bugs.
 
I've seen some potentially useful non-numerical self-ranking systems like Beginner: "Has used this before", Intermediate: "Can create a new product from scratch using this technology, Expert: "Can teach others this technology"
 
1
Q: How to get "Lookup" functionality in Access when linking to a SQL table?

enderlandI am building a SQL database which will have an Access 2010 front-end. I would like some of the fields to be lookups in Access (ie the user clicks on the field in Access and a drop down populates). It is fairly straightforward to make a field a lookup for another table in Access but I can't see...

why is someone asking me to update a questino which is 2 years old...
Only two yrs ago. Mind reveiwing your question? — Martin F 11 mins ago
Sometimes I don't understand people
 
I still don't understand how this became my #1 question on SFF.SE:
29
Q: Is there a reason Dr. McCoy has a decorative lizard thing on his sickbay wall?

Ixrec As far as I can remember it's been there for all of the 1.5 series I've watched so far, and no one's ever commented on it. Does it have any particular significance or is it just a random object?

 
user55340
TOS trivia.
 
6:28 PM
@Ixrec lol my SFF experience is two stupid voyager questions.
(and two bronze "Good Question" badges, but still)
 
I have four questions there, pretty good votes on those
My top is also 29 votes @Ixrec :P
 
@Ixrec the most useful one I think is the constrained multi-ranking: Here's 20 points and 4 categories. Put points to each category to show your relative ability. You don't have to tell them 5 or 10 is max, people will just tell you in where they put the points which things they're stronger in rather than the typical "I'm an expert in everything!"
 
that seems to be the typical range of an HNQ over there
@JimmyHoffa agreed, that one also sounds useful
 
@Ixrec speaking of HNQ, I'm currently two-day-in-a-row capped for answering a duplicate here.
 
yeah, hand them .NET, SQL, HTML, or whatever other categories you feel like. Front, back, middle, algorithms, operational admin work, Windows, Linux, troubleshooting, design, debugging, testing, whatever skills or category selections you want them to compare.
 
psr
7:03 PM
@JimmyHoffa - When I'm asked for a 5 or 10 point rating, if feasible I ask what kinds of knowledge corresponds to what rating, possibly prompting them with examples: "at what level would someone be expected to know what a delegate is, or be able to code one on a whiteboard?" Someone like you would say a 9 should be able to write a passable transpiler while a slightly technical manager might say "we don't hire under 9" where 9 means "is mostly beyond a junior dev".
Some interviewers won't like a low number, while some consider it a challenge to destroy anyone who claims 3 or above.
 
user41796
7:28 PM
Physically, yes. Mentally... it was a long weekend.
 
@MichaelT I don't want to take over the room with the discussion of my MSE post so we're talking about it in CV-Please
 
7:53 PM
I found my new cover letter!
"Firstly, I must say that I have enough math and IQ skills"
-5
Q: Product Designing using Evolutionary Programming;

Hasan A.Firstly, I must say that I have enough math and IQ skills, besides can program computational apps without very hard efforts. For example, my latest app was an impressively efficient sudoku solver which solves Arto Inkala's so called "the hardest sudoku" in just 16 seconds (yet could be improved)....

I really hope this works:
Send me your homework as a PDF and I'll email it completed directly to your prof. I'll need their email as well, and your full real name. — MetaFight 49 secs ago
 
 
2 hours later…
user55340
@enderland I am certain some will not realize that is the onion.
 
@MichaelT I consider that a victory for the onion when that happens.
 
user55340
I miss the old onion at times. It had NSFS front page articles (printed) which we left in the school library.
 
user55340
... Because they aren't exactly SFW either.
 
10:21 PM
A certain bot just found some new use on Code Review:
in The 2nd Monitor, 10 mins ago, by Duga
possible answer invalidation: http://codereview.stackexchange.com/questions/27379/deck-and-card-classes-and-me‌​mber-accessing-with-one-header
 
@SimonForsberg Nice!
I'm uncertain how that would be useful here, but cool feature.
 
@SimonForsberg what is it detecting exactly?
 
@SimonForsberg I bet that code could detect self post vandalism on SO.
 
I don't think it would be very useful on other sites besides CR (although maybe SO), for the moment it's only running on CR.
@Ixrec It's scanning all recently active questions to see if there's been any edits. If there's been edits, it fetches the edit details and compares code blocks/snippets to see if there has been any changes. If changes are detected, it posts to chat.
it only considers questions that already has existing answers
 
@SimonForsberg so the theory is "code in a question edited after the question was answered" -> "answer may be invalidated"?
neat
 
10:25 PM
@durron597 the problem with SO is that SO has way too many chat rooms so I wouldn't know where to send the stuff. In addition, SO also has too much crap that it could give @Duga a full-time job.
@Ixrec exactly. Quite a common occurrence on Code Review.
 
@SimonForsberg Send all of it to SO CVR chat.stackoverflow.com/rooms/41570/so-close-vote-reviewers
Smoke Detector seems to manage okay.
But before you set anything up there, we've gotta discuss it with rene. (I'm one of three ROs there but rene is king, I'm just a duke)
 
Another issue about SO is that @Duga does not yet support the SO chat domain :)
sure, you could bring it up with rene and see what he thinks. I can't promise any delivery date on the feature though :)
(especially not since I got a new job that I will be starting on Monday)
2
 
user55340
Wee employment!
 
No wonder you petitioned for a 5th mod. Grats!
 
user55340
"We've graduated at SO keeps throwing things our way" isn't enough?
 
10:34 PM
@durron597 my perspective on this sort of thing changed a fair bit when I realized how people who are older are so vulnerable to this sort of thing, "younger" folks are very aware and critical of stuff online, but people who are 70+ are not as naturally that way
 
11:11 PM
 
11:32 PM
@durron597 so that is what I miss by not having 10K on SO...
 
user55340
@SimonForsberg Please review this code that has a list of funny things to keep the users above while we have a MicroSoft Speed® progress bar.
 
@SimonForsberg Deleted questions are now available in SEDE
 
user55340
Note: since I consider the list incomplete, I'll make sure to add some more...
 
There's a lot of hilarious deleted stuff.
gotta run
 
user55340
@SimonForsberg CodeReview.SE in a .gif
 
11:38 PM
@durron597 what? really?
in The 2nd Monitor, 1 min ago, by Phrancis
Hmm, posts with a DeletedDate don't have scores, views or content
so... it's there, but not much data for them?
 
11:57 PM
We just got two crap questions right on top of each other.
Same user.
 

« first day (1831 days earlier)      last day (3176 days later) »