« first day (1201 days earlier)      last day (3783 days later) » 

12:00 AM
The only thing I don't really like is using the package manager console for that stuff, I wish they made a special extension for visual studio to give visual studio EF-specific UI for doing that stuff
 
yeah .. there's two "sides" to this application, read/write. with the read using views on write tables for seperation
 
it feels like abuse of the package manager console
 
itd be nice to have EF know about views though
 
@MattD yeah, I always like separating reads and writes, the concerns are so different in almost every application I've seen...
 
yerp
 
psr
12:01 AM
Thanks @JimmyHoffa @MattD. I need to take a new look at that.
 
we didnt want to have different DB's, at least yet. anwyay. point is code will run on different DB's if we need to
 
it'd be nice to have EF allow you to create a readonly model of a DB.
 
I've started doing that even in my tiny applications, just makes life easier
 
that way you don't have to import all the non-nullable colums that you don't care about.
 
using different schema's in the same DB is a life saver
as you can have dbo.TableName and otherSchema.TableName
 
12:02 AM
my first approach to that problem came up with a term I still like but I think people would do a double take and smack me for using - Depository, instead of writing repositories I would create Depository's which are one-way-in
 
Suppository?
O_O
bwhaha
 
@MattD for when your code needs that extra level of protection.
 
That's just a really crappy repository, bada boom.
 
Code Suppository - get yours today
 
its for storing all your shitty objects
 
12:03 AM
this conversation has rapidly become about anything butt architectural design...
 
hahah
 
var context = new BadonkadonkContext();
 
var shelf = SuppositoryContext();
 
Suppository : IDisposable { ...
 
BWHAHAH
 
user20683
12:05 AM
var context_update = BadonkadonkContext.cabooseOnTheLoose();
 
is there a nice way to write something that maps strings to enums?
in c#
some kind of reflection magic?
 
user20683
@MattD was about to say
 
user20683
it's stupidly easy in Python
 
57
Q: How do I Convert a string to an enum in C#?

Ben MillsWhat's the best way to convert a string to an enumeration value in C#? I have an HTML select tag containing the values of an enumeration. When the page is posted, I want to pick up the value (which will be in the form of a string) and convert it to the enumeration value. In an ideal world, I c...

 
@MattD T GetEnum<T>(string rar) { return Enum.Parse(typeof(T), rar); }
something to that tune - that's off the top of my head, I'm probably getting param order wrong or something
 
12:06 AM
oh C# enum... you fall so short so often
 
awesome, thanks :D
 
I feel dirty looking at PHP jobs after spending a few years in C#
 
I'd feel dirty even if I never saw any C# code.
 
user20683
@RobertHarvey Likewise
 
lovely, you guys rock
 
12:09 AM

Suppositories officially on topic on P.SE

7 mins ago, 3 minutes total – 13 messages, 5 users, 2 stars

Bookmarked 5 secs ago by Jimmy Hoffa

That bookmark will now be shared everytime someone asks about topicality of the whiteboard..
 
hahah :)
i actually think its probably a sensible term
 
user20683
Too many suppositories will cause stack smashing and undefined output.
 
suppository
1392, from M.L. suppositorium, noun use of neut. of L.L. suppositorius "placed underneath or up," from L. suppositus, pp. of supponere "put or place under" (see suppose).
the modern usage doesnt quite fit, but the older one does
depository is probably a better alternative
 
user20683
@MattD You've entirely missed the point.
 
user20683
;)
 
12:14 AM
why does youtube limit the number of videos it will recommend to me at one time yet always seems to have more when I've watched what it gives me?
 
@Mike secondary needs conditioning.
@Mike you'll keep watching videos hoping that the next one will recommend you something interesting
 
oddly enough I'm trying to condition it right now, opening up videos that are close to what I want in tabs and letting them play for a bit, refreshing the recommended feed
 
user20683
It's autotraining you to watch more videos whilst training its machine learning algorithms in what you like more accurately by making you watchy more videos
 
user20683
Welcome to Cyberpunk
 
I wonder if its subtly teaching a AI by using word association which you are providing by selecting related key terms in "you might like" youtube videos.
 
12:16 AM
Are you trying to train an AI to train their AI so you can get better video recommendations?
 
well they label the videos with "recommended because you watched <x> from <y>" or something along those lines
 
well I've always thought you could build a ridiculously powerful "supercomputer" by working out how to express problems as "games" that humans are good at. like image matching, or puzzles, or what not. then solve really complicated "problems" by farming the qestions out to millions of humans, like captcha. but for protein folding.
 
Amazon already did it
 
user20683
Odds are you'd use some form of k-means
 
12:18 AM
I believe you mean reCaptcha already did it
 
user20683
or support vector machines
 
right. but do it for actual mathmatical problems, not just image recognition
 
too bad it takes me like 5 tries to even get past a captcha nowadays. holy shit is that hard.
 
yeah. i struggle to do them most of the time
im sure robots are better at it than i am now
 
user20683
@MattD What do you mean actual mathematical problems? Image recognition involves horrendous amounts of linear algebra, stats, and diff eq.
 
12:22 AM
sure, but its a specific class of problem
you can use it to see if things are visually similar to other things, which is pretty useful. but its not the only class of problem
eg: you could use the same approach to try and cheat the travelling salesman problem
or provide better AI for COD
 
user41796
@jozefg - if I pick up one more up vote on the compiler recruiting question, you'll pick up a Populist badge.
 
user20683
@GlenH7 Congrats he has a populist badge.
 
bam
 
user41796
woo hoo for @jozefg
 
user41796
and woo hoo for useles rep for me! :-)
 
user41796
12:32 AM
I am all about scoring badges for others though
 
user20683
Also I am quite interested in compilers but I figured I'd stay away from mentioning it on account of conflicts of interest.
 
user41796
erm. zero conflict of interest at all.
 
user41796
Invite the guy into chat (or I will) and have him cough up contact info
 
user41796
conflict of interest means that you have something to gain at the exclusion of others through the abuse of your privilege
 
user41796
yes, you have something to gain. Potentially at the expense of others.
 
user41796
12:34 AM
But obviously he's looking for candidates since he's whinging about it here
 
user20683
fair enough
 
user41796
Now, saying "if you don't hire me I'm suspending yo azz till infinity…" That's a conflict of interest
 
user41796
because now you're abusing your power to obtain something
 
user41796
it's also extortion, but you get the idea
 
user41796
and jozefg wants an internship, so we should tell him that
 
user41796
12:35 AM
:-)
 
user41796
And now that I've got ethics 101 done for tonight, I need to run. :-)
 
rofl
 
1:23 AM
I love hats...
 
1:40 AM
You should play TF2
 
god damn visual studio
occaionaslly intellisense just stops work
uing
 
usually right after a type ;)
typo. lol
 
1:58 AM
or you're writing huge amounts of mapping code
 
user41796
2:11 AM
@MattD I have seen issues when in a foreach statement. That seems to have been fixed in 2012. In other cases, the cache is just way behind. There are tricks to force a refresh, but I don't recall them offhand
 
I just did a restart. seemed to fix it
 
user41796
Worst case fix, but yeah, it works.
 
4:23 AM
woot, I just spent the last two hours organizing and notating about 300 medical bill mailers to cover a fair portion of the last year, who doesn't love being an adult and shit. Eff all that noise I'm going to go play video games like a kid again...
responsibility is for mooks, I'm tired of this shit.
 
4:47 AM
Hi, I am new to this whiteboard and discussion forum
 
Hi, we are here to serve our new robotic overlords
 
I am new to united states. I am working with IT services firm. But, I want to be part of some product company where I want to do some programming stuff. Size of orgzs don't matter
 
are you looking for a job?
 
No, I am already working
But, i want a programming job in some company
 
well how can we help then
 
4:51 AM
Organisation size not matter. Don't know where to look for these type of jobs. Can anyone help me
 
seek.com?
 
oh
 
so you are looking for a job
 
google?
shesh man.
 
yeah I am looking for a programming job
 
4:51 AM
try linked in or google
do you know how to program?
 
ill be blunt, but if you cant work out where to look for jobs its unlikely that someone is going to trust you to be able to work out how to solve their engineering problems.
 
Yeah I know SQL, SAS and basics of C, python
ok Matt
 
He has a point. Engineering is about solving problems
your problem is that you don't know where to look for jobs
 
hmm
i tried linkedin
and hired
no luck
 
couldn't find anything on linked in?
 
4:53 AM
yep
 
seek/monster/companies you want to work for
 
no programming jobs on linked in?
 
there's craptonnes on linked in
 
one of these dozen recruiters must be lying to me then...
 
its about the only redeeming feature of the entire site
 
4:53 AM
meant to say I applied but no luck for me
 
what did they say?
 
sent applications but most of them replied saying they look for programming exp
 
what made you not qualify?
 
i know only SQL and basics of SQL and python. Not enough working knowledge on them
 
well most places want you to be able to produce before you work for them
so you may want to start by expanding your programming knowledge
 
4:56 AM
hmm okay. Learning algorithms with algorithm design manual
 
Computer Science is great but unless you can apply it you aren't gonna be useful. learn more languages. apply them. learn their strengths and weknesses
the only way you do that is practice
lots and lots of practice
 
sure, got with projecteuler also
looking to do with GIThub
 
thats definitely a start
you're on the right path but you just need to invest the time
 
do you have a degree? or some kind of certification?
 
thanks
yeah have a BS degree from India and MS Work integrated learning
 
4:58 AM
unfortunately most places won't pay you to spend that time. They want you to have already done all that before they hire you
what was your BS in?
 
but most experience is with datawarehousing
computer science
 
and you're just learning algorithms?
uhh....
did you complete your BS?
 
yep
 
what exactly did your BS coursework entail?
 
learning .. refreshing them again bcause not implemented them for 4 years in work
 
5:00 AM
is your degree accredited by any organization?
 
please don't laugh it is CS
Indian University
 
well it sounds like a failure in the system. You paid them for knowledge which you apparently don't have yet
I'm not laughing, just genuinely curious
 
yep
have curiosity with little what I can call as knowledge
 
Oh don't be a pessimist. I'm trying to help. You claim to have a degree but don't have the knowledge associated with that degree
 
yeah Thanks
 
5:03 AM
if you want to get better you better learn to laugh at yourself, fast.
 
sure...
I also know SAS and learning bsaic in R language
on my own through coursera
 
no one in this room can claim perfection. (Save our lord and savior @JimmyHoffa, protector of the realm, first of his name, creator of the functional and wielder of the monad)
well most places now are using C# (.net stack) or Java
I would say start there if you're looking for a language to learn
 
yes please
sure I'll start with Java
The problem is I know only basics in most languages
HTML, CSS, Python, R etc
 
that is a problem. One that you can only solve with time and study
 
okay
 
5:06 AM
(don't list HTML and CSS and languages, they aren't and show you don't know that)
but those are good to have knowledge in
 
btw I have been called by google for interview
 
for what?
programming?
 
but I am too afraid to attend that with this skill set
don't know they just said interview
they have given sample topics which include algorithms etc
 
from google?
 
yes
 
5:07 AM
interesting
well maybe you have something that you haven't told us
 
I have experience in data warehousing for nearly 4 years with SAS and SQL
i have online certificatewith distinction from stanfor MOOC on their DB course
 
and you're having trouble getting a job?
why not just go to the interview at google and see how it goes?
 
yeah on programming side
 
do you not like doing database stuff?
 
yeah, preapraing for that it's on last wk of Jan
yeah i do
but now am with testing
just writing only DRL statements with lot of joins
 
5:11 AM
so then what are you looking for?
you've got an interview with google and knowledge in a field
just how to program?
 
yeah and stuff associated with programming
google has sent me topics on algorithms, trees etc
huff I think I am confusing you
 
yes, I'm a little confused on what you're looking for at this point
 
let me put it
I have experience in data warehousing for nearly four years mostly with testing by writing DRL statements with Joins
received call from google and they have sent me topics to prepare which includes algorithms, programming, trees etc
I also want to get switched to programming sides from testing
I hope I am clear now
okay Thanks for the help @Ampt
 
 
3 hours later…
8:04 AM
0
Q: No questions asked but banned from Programmers

user1292095There are other users who have been banned from Stack Exchange sites. My problem is different. I just logged into Programmers, and I haven't asked or commented anything before and this was my first logging in to Programmers. When I tried clicking Ask Question I got the following response: Sor...

migrate to Programmers meta?
 
 
2 hours later…
10:00 AM
Does anyone here have experience with linking unit tests or coded integration tests with Features/Stories/Bugs in issue tracking systems?
I know TFS has some support for this. It used to be via 3rd Party configurations... it may be 1st party now. I'm just wondering if it's a standard practice that other tools also support.
I'd like to be able to automatically flag which of my tests need to be manually reviewed when a Feature or Story has changed. Being able to link tests with work items seems to be the way.
 
10:27 AM
@MetaFight per my experience, linking tests to tickets is not a standard feature in "classical" issue trackers; I've seen a couple homebrew solutions for that, typically made by QA guys to maintain traceability. If you want a solution that integrates this out of the box, look for requirements management (DOORS) / ALM solutions
Application lifecycle management (ALM) is the product lifecycle management (governance, development, and maintenance) of application software. It encompasses requirements management, software architecture, computer programming, software testing, software maintenance, change management, project management, and release management. ALM software suites Some specialized software suites for ALM are: {|class="wikitable" ! Name ! Released by |- | Aldon LMI | Rocket Software |- | codeBeamer | Intland Software |- | Coverity Development Testing Platform | Coverity |- | Endevor | CA Technologies...
 
10:42 AM
To be honest, I was just wondering if there was a hole in the market.
;)
 
@MetaFight that hole is covered long time ago. :) Demand was too clear for market to lack supply
 
I've been a dev for a few years now. I've only worked for one client, though. In those years the term ALM never came up. In fact, I only discovered ALM when I started googling all the problems I was having at work :)
so. ALM as a topic is now on my reading list. I need to figure out what the rest of the world is doing. My bosses loved pretending they were at the bleeding edge of software development practices... it turns out they were full of shit ;)
 
@MetaFight there's rarely a strong need / sufficient skill for ALM, especially for the purpose of tests traceability. Think of it, one needs to understand and be interested in traceability and long-term tests maintenance to justify ALM, this is rarely the case
 
True... where I used to work we clearly got by using 0 automated testing and having 0 strategy for long term software support. It doesn't mean we weren't wasting money, though.
 
wow. Just... wow
gnat: so basically there is a risk of getting crappy answers. I for one am willing to take it. — Captain Hindsight 8 mins ago
 
10:53 AM
I guess I'm trying to figure out how to balance things. How strict do your ALM procedures really need to be for the task at hand.
 
11:07 AM
@MetaFight there's no hard rule. Your best bet is to clarify this with those who maintain tests - tests tracking with ALM is intended to make their life simpler
 
heh. yeah, I tried that for about a year. My head then started hurting from all the wall-banging, so I quit.
I haven't started looking for another job yet. I'm spending a bit of time learning what I can do better. I'm trying to figure out how to identify work places to avoid (like my last one!). And I'm trying to learn more about ALM and other dev practices so I can make myself more valuable on the job market.
fun times.
 
 
3 hours later…
user41796
2:13 PM
@Ampt - your conversation last night is prima facie evidence that titles are meaningless. His title was Senior Project Engineer but he made it seem like he couldn't code his way out of a wet paper bag. With only 5 years of work experience, that reeks of title inflation. Some consultancies love doing that as it allows them to crank up the billing rate.
 
user41796
On to more constructive items....
 
user41796
0
Q: How would you call a function that linearly "remaps" a value from a given interval to an other interval?

wilI am worried about the name I should use for a function that remaps a value from a given interval [oldMin, oldMax] to an other interval [newMin, newMax]. Basically this formula: newVal = newMin + (oldVal - oldMin) / (oldMax - oldMin) * (newMax - newMin) that is the resolution of the following ...

 
user41796
How can we salvage that question? The two answers there are decent, and I can't help but wonder about making the question better. I'm not sure what should be changed in order to make the question meaningful (and findable) to future visitors.
 
2:35 PM
@GlenH7 gotta be tough. Ideally an edit would be such that one could justify flagging as not an answer stuff like that: "I call it BoogieWoogie because in my code, Boogie name also goes for function for dividend parts of the equation while Woogie goes for dividers. Really easy to memorize!" Note how this crap directly answers the question and even "explains" why it's recommended
 
user41796
@gnat At first glance, the two answers there seemed to handle the question albeit from different perspectives.
 
user41796
Normally, I VTC name-that-thing questions. But the two answers addressed the question and reflect nearly equivalent terms just different domains.
 
user41796
Even with a salvage, I don't think it would be a high quality question, but I thought it could be saved and turned into something of quality. At the moment, I don't think future visitors would be able to search for and find it.
 
2:50 PM
@GlenH7 I would at very least wipe out naming game crap outta there. Title like: A function that linearly “remaps” a value from a given interval to an other interval? Body: I have a function that remaps a value [...as in original, up to the formula image...] What kind of transform is this?
 
user41796
@gnat Seems like a good place to start
 
user41796
3:13 PM
I have edited the question. That was the best I could come up with to move it away from the "name that thing" game.
 
3:50 PM
...my backpack's got jets...
thanks @GlenH7, I'm going to have that song in my head all day now.
 
user41796
what song?
 
user41796
Although I'll happily accept any side effect that torments you, intentional or not. :-D
 
@Ampt Thanks :) It's for my undergrad, I'm just a high school student
 

« first day (1201 days earlier)      last day (3783 days later) »