« first day (1875 days earlier)      last day (3066 days later) » 

3:00 PM
do what @tweray told.
you will find path of mdf file
 
the path to enlightenment can be found in the properties
 
+1 for tweray
 
on the other hand if someone asks you about db copy, just make backup and deliver it to them
 
I've gotten the files yes
 
always have problems with mdf files mounting them at times
 
3:04 PM
always struck me that there seems to be too many ways to do something in SQL server
 
user47589
yeah
 
one of which might not work in certain situations, but you'll never know until it just refuses one day and that's the only way you know
 
lol so this is a remote desktop to client, I don't have a proper way to transfer the files. I guess maybe through email then?
 
@bluefeet You lurking, I've got a question for you.
 
@KalaJ you should be able to copy/paste over in RDP
 
user47589
3:07 PM
email is a poor option for file transfer if the files are large.
 
Very 90s
 
user47589
if you have RDP access, you probably have SMB access. try to access the remote machine using a file share.
 
Let me split rar this 2mb file to send it
 
user47589
noooooooooo
 
SMB transfers are also pretty painfully slow
also split RARs are bs
 
3:09 PM
back in the 90s was the only way to move files
outside of ftp
 
user47589
i used 3.5" floppies like a boss.
 
I wouldn't need to send any files to anyone if they'd give me the right permissions to fix whatever it is myself :)
 
hey can someone tell me how to interpret and write a quick regex password validation?
 
If you want something done right...
 
@Amy Not old school enough.
 
3:10 PM
I have this but dont know how to interrupt it or build on it [regularexpression(@^((?=.[A-Z])(?=.\d)).)))]
 
How is everyone doing.
 
user47589
what do you mean, interrupt it?
 
I dont know how to read that
 
@Parth Way to early for Regex.
 
and create a custom on
 
user47589
3:11 PM
oh, you mean interpret.
 
@Greg yes, I'm lurking
 
@Greg lol sorry project due in a few hours
@Amy yes, oops :P please help?
 
@bluefeet Is there some best practice, someone did an edit to an answer. The edit was viable, as it updated to today's standards, but... It wasn't the original author, so it really drastically changed meaning. Do you accept or reject those? I reject em, but I feel like it is really "up to the user."
 
?= is...non-capturing group, I think?
 
user47589
i assume you're using this regex in c# code?
 
so business layer maps domain objects to service objects ?
 
oops no, it's lookahead
 
@Parth If you ask @KendallFrey nicely he might help you. I'll shoot myself later for this, but he is crazy phenomenal with Regex.
 
@juanvan @Amy yeah I have RDP access, what is SMB access?
 
user47589
yeah, some of the group expressions are a little obscure.
 
user47589
3:13 PM
SMB = file share.
 
@Greg allo
 
\\MyComputer is SMB
 
Does someone use the report framework of Telerik?
 
user47589
i have used it, but its been over a year
 
no one teaches me these things
 
3:14 PM
@Greg Do you have an example? Typically if an edit drastically changes the meaning of a post, then it should be rejected.
 
time to ask IT?
 
@KendallFrey hi can you please help a noob like me build a regex? :) I need to make sure passwords have 1 upper case, 1 lower case and a number
 
@Amy do you know the repoer viewer of asp.net mvc?
report
 
user47589
sure, IT can help you out. its what they do.
 
user47589
@ErroreFatale yes
 
3:15 PM
@Parth regex isn't the best tool for the job here, but it would work
 
@Parth password complexity requirements are bunk. They don't work.
Don't do it!
 
@TomW gotta do what the teach wants
 
Be sure to cite in your answer "you know this doesn't work, right? Here's why..."
 
@KendallFrey what would you reccomend then?
 
gotcha thanks guys :)
 
3:16 PM
@Amy maybe you can help. I don't understand why the report viewer is not calling the web api /api/report
 
"But assuming there is a valid reason to do this..."
 
user47589
ours is not to dictate requirements, but to fulfill them.
 
@Parth Looping through the characters and checking
 
user47589
show me your report viewer razor code.
 
@KendallFrey im not sure how to do that on a model class
 
3:18 PM
@KendallFreyn Morning good sir.
 
user47589
@ErroreFatale have you looked in fiddler to verify the report viewer is issuing the proper requests?
 
@bluefeet I'll see if I can find it, it just came in queue.
 
@Amy I'm looking at the "network" tab of google chrome developer tool. I don't see the request. Furthermore, I tried to change the api with a non existing API... which should result in a a browser/javascript error. No error is shown, therefore my conclusion is that the report viewer is not calling the api at all
 
user47589
@ErroreFatale i'll need to see your razor code then
 
@Greg Well that's for a tag wiki so it's a bit different. Typically, when looking at edits to answers/questions, then we want to be sure that the edit isn't changing the meaning of what was initially posted.
 
3:23 PM
@bluefeet Oh didn't even see the Code Wiki, but if that were an answer?
 
ugh entering timesheets
 
@Greg If that were an answer, it appears they are expanding on it so I might approve that.
 
user47589
our timesheets are done in the browser, so we wrote a greasemonkey script so all we have to do is click a button, it fills in the timesheet with standard info and submits.
 
@Amy Yeah, but I didn't work my standard hours this week, plus since it's a week spanning two months, we have to submit two timesheets
 
user47589
damn
 
3:25 PM
and since I'm a contactor, I have to submit a third sheet, for the current client
I was out sick yesterday morning, and worked the afternoon at home; have to make up four hours on Saturday
 
@bluefeet It is hard, because people interpret so different.
 
And then I use it in a page:
<div id="report">
@Html.Partial("OfferReportViewer")
</div>
 
I have a .net 2 app that runs perfectly fine on 2 computers with win 7 64b but on a 3rd pc it leaks memory. I am currently running a memory profiler but nothing is pointed as leaking. Is there something else that could cause this issue? the framework installed or anything? I am just looking for something to look into besides my application and since this doesn't have a verified code it wouldn't turn into a valid question
 
@KendallFrey currently i have [Required][DataType(DataType.Password)] [StringLength16, ErrorMessage="blah blah blah"]
 
user47589
3:27 PM
Url.Content("~/api/reports/") should probably be Url.Action(...)
 
@Greg which is why we use review, where multiple people check the edit and decide what is appopriate
 
user47589
actually its web api not mvc. so do stackoverflow.com/a/19868321/47589
 
So weird, I always get "Object not set to he instance of an object."  But I'm providing exactly what it wants:

var picture = new Picture();
picture.Image.Data = client.DownloadData("...");

Any thoughts?
 
@KendallFrey would this work? ((?=.*\d)(?=.*[A-Z])(?=.*\W).{8,8})
 
@bluefeet True, I just want to do it correctly.
 
3:29 PM
You're along the right lines
 
left lines
 
@Greg picture.Image
 
@Greg I think c# looks too much like JS
 
user47589
they're both descendants of C
 
@Prix Third Party Library called ExcelLibrary. Documentation doesn't exist, trying to add a picture to the Excel document.
@rlemon ?
 
3:30 PM
> Any thoughts?
 
^(?=.*[A-Z])(?=.*[a-z])(?=.*\d).{8} will make sure the password contains at least an uppercase letter, a lowercase letter, a digit, and at least 8 characters total
 
those are my thoughts :P
 
@Greg My suggestion would be to use your best judgment when reviewing, trust your gut basically. :)
 
@rlemon Leave it to you to be a smart ass. How have you been? Haven't seen you in here for a bit.
@bluefeet My gut is horrible.
 
@Greg my point was that it could be the issue since I don't see it being initialized or what it is, while you go straight for .Data
 
3:31 PM
@Greg then go to the gym and fix that!
 
user47589
@ErroreFatale .ReportSource("0") i'm not sure if that's correct.
 
@Amy yes it's a web api as I said. I'll try, but it's strange... because the code was autogenerated by the Telerik framework
 
@bluefeet Well, not what I meant but well played.
 
user47589
does the report viewer issue any request at all?
 
@Greg :D just keeping you on your toes
 
3:32 PM
@Prix Set the image how?
 
@Greg honestly, it just takes a bit of time to figure out what looks good in review.
 
Okay.
 
@bluefeet zing
 
@Greg if you are unsure, ask someone or skip it
 
Yeah, I go through the review queue everytime there's a lull at work
 
3:33 PM
@Amy the exclusive thing I changed is infact the paramether of the method .ReportSource.... but with the default paremether I don't see any request neither
 
@ShotgunNinja birds can zing too
 
Sometimes it's really hard to determine exactly what the best course of action is for a question or answer
 
@Greg can you post your Picture class otherwise it would be hard to tell what your properties are and are asking for
 
@ShotgunNinja trust you gut, that's what I did as a user. I still do it now
 
3:34 PM
although Requires Editing is usually the answer when in doubt
it's pretty non-committal
 
@Prix I see what you're saying.
 
user47589
@ErroreFatale in my opinion, the .ReportSource bit is your issue, but I'm not sure. my memory of telerik is kinda fuzzy.
 
@Greg but basically what I was trying to say is that you're using Data but I don't see Image being initialized which could cause the issue you're claiming but since I don't know what type your Image property is I can only assume things.
 
@Amy by the way if developers of Telerik have done a good job... a not valid paramether should throw an exception.
 
user47589
you would expect so
 
3:37 PM
 
Yeah that is the route I started on, but I need to figure out the ushort imageFormat not sure what that is.
 
OK folks, how do you pronounce "HATEOAS"
 
hate oats without the t
 
hah tee oh as?
 
"Hattie Oh-Ass"
 
3:40 PM
is that a real term?
 
true
 
@Amy I'm seeing that the HTML code of the page has an empty container:

<div id="report">



<div id="reportViewer1">

</div>


</div>
 
@TomW just hope hattie doesn't report you for harassment... ;)
 
user47589
wow, that's bizarre.
 
The container reportViewer1 should be the report viewer
 
3:40 PM
;( could some one give me a bit of hand with a memory leak issue
 
user47589
and you aren't getting any errors in your browser console?
 
If I was to decide to write a Visual Studio extension with a button that would 1) edit the highlighted code in the editor 2) copy a string to the clipboard how long would that take for me with no experience in VS extensions?
 
@KendallFrey Yes. The gist is that the web response should retain a history of where you've been and give you a choice of where to go next by decorating the response with URLs. It's a kind of statefulness without bastardising http
 
@Amy not at all
 
user47589
what about errors in your visual studio output window?
 
user47589
3:45 PM
we ran into this with telerik. server-side errors get silently tossed.
 
user47589
if it isn't the ReportSource, i've no idea, sorry.
 
user47589
that's my biggest peeve with angularjs. binding errors are just silently ignored.
 
@Amy almost as bad as kendo
that just says "yeh this aint working"
and you're like huh? im 15 levels of call stack all of which are anon methods ... what am i supposed to do to solve that?
 
user47589
yeah
 
3:48 PM
javascript is an evil language and needs better tooling imo
just generally speaking
 
user47589
whoever thought silently throwing away errors was a good idea should be drug out into the street and ineffable things done to them.
 
lol
 
user47589
i asked on SO how to get angular to issue browser console warnings on binding errors. they couldn't wrap their minds around the concept. just write a unit test!
 
@Amy it seems that some developers have an insane phylosophy: a program language that doesn't crash is better...
 
user47589
i'm not suggesting it crash. it should emit a warning
 
3:52 PM
@Amy you should be able to do that yourself
wrap any angular code in some checking code
 
It must crash according to me, to prevent that the code doesn't perform more uncorrect actions while it's in a not correct state
 
if the check fails console.warn("angular sucks")
having visibility at least makes the problem solvable
I created a logger in my app framework on the client
I never call console.log directly any more
 
user47589
same
 
i call my.log(stuff) and that decides what to do
usually it posts key info to a web service
then i can query my log files
because the service drops them in a db
 
user47589
we have it set up to log to the browser console and to the database.
 
3:55 PM
ah cool ... sounds like a little more beating angular over the head is all you need
 
@Amy by teh way, I tried to create an anchor with a reference to the API... /api/report works perfectly well. It's just the the report viewer is not calling it.
 
user47589
what i mean is, <input ng-model="foooooooooooooooo"></input> won't do anything at all if foooooooooooooooo isn't in scope, and you can't use JS functions in binding expressions, only simple expressions
 
user47589
i tried to write an interceptor around ngBind, but failed.
 
1
Q: How to intercept value binding by ng-model directive

GandroidFor example, If I have a scope value: $scope.bankInfo = '808,CityBank'; And an input field: <input name="bank_number" ng-model="bankInfo " /> I don't know what is the proper way to bind my input field only to digit part (that is 808). Should I use custom directive?

 
user47589
i hadn't seen that, thanks.
 
3:58 PM
in that i' think you could implement a simple check and a logging call :)
wish my problems were that simple :)
 
user47589
me too.
 
user47589
i'd rather be working in knockoutjs
 
user47589
but management has issued its decree to all the developers in the land
 
user47589
i'm going to use that solution, thanks a lot @Wardy
 
I love knockout ... Much simpler and I still don't get the need for everything angular does
@Amy np ... Glad I could help ;)
 
user47589
4:05 PM
for me, its the difference between a small, focused library that does one thing pretty well and plays along with and compliments other libraries, and a large framework that tries to be a master of all things but does everything terrible.
 
i know that feeling
i'd rather pull the bits i need together than be forced to have a ton of crap i don't need
 
Hey all! Happy Friday!
 
user47589
yeah
 
user47589
happy friday!
 
user47589
okay i think i'm done whining about angular.
 
user47589
4:13 PM
wait.
 
user47589
!!help
 
@Amy Information on interacting with me can be found at this page
 
user47589
!!listcommands
 
@Amy 3, 666, help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, ban, unban, convert, define, doge, google, hang, imdb, jquery, learn, put..it..back...ლ(ಠ益ಠ)ლ, phucket, gtfo, moneycantbuylove, catmode, coffeetime, lifeban, stopmyself, instagram, kendallfrey, excited, manigga, meinneger, dgaf, infiniteriot, okay, feelsgoodman, fabulous, sausage, playerpimp, installjavascript, moarkittens, kendall, kfc, uwot, nsfw, facepalm, somekittens, erase, fry, dudeism, hahastillhere
onebox, morecoffee, steve, whoosh, burn, woosh, roomowner, phony, really, inur, coffeescript, maca
 
4:14 PM
Thanks for the help guys, came to ask a question, figured it out while typing out the question. =D
 
user47589
amazing how that works, eh
 
Apparently some people have a rubber duck that they explain the problem to and it helps them solve the problem =P
 
@CapricaSix /wtf
 
CleverDuck
 
user47589
!!wtf
 
lol
 
@RianMostert rubber duck debugging
 
@CapricaSix haha that's epic
 
!!put..it..back...ლ(ಠ益ಠ)ლ
 
┬─┬ ノ( ゜-゜ノ)
 
user47589
4:17 PM
!!epic
 
0
Q: How to define EF Many To Many Relationship in type that has other relationships to the same other type

WardyThis is quite a simple problem that has quite a long explanation so please bear with me if this gets long. (i'm really going to try and keep it to a minimum) Ok so here's my "extracted sample" that produces the same problem ... public class TestContext : DbContext { public DbSet<TypeA> Type...

Anyone with even the remotest of ideas on this?
 
@CapricaSix Is she... jumping out of her window at the end of that?
 
user47589
you know that caprica is a bot?
 
user47589
the best bot.
 
4:18 PM
EVA
There is a Tag bot when you make a question, that is cool but not cap
 
user47589
!!> ['hello', 'world'].join(' ')
 
@Amy "hello world"
 
user47589
!!/give Wardy a lick
 
@Amy That didn't make much sense. Maybe you meant: live
 
user47589
hm.
 
user47589
4:22 PM
!!give wardy a lick
 
@Amy Mmmm! wardy tastes just like raisin
 
user47589
there we go
 
!!wiki wiki wah
 
@Bardicer The Wikipedia contains no knowledge of such a thing
 
!!wiki wah wah
 
4:24 PM
Wah wah or wah-wah may refer to: Wah-wah (music), a musical special effect to produce voice-like tones Wah-wah pedal, a guitar effects pedal that produces these tones Wah Wah, a 1994 album by James Wah-Wah (film), a 2005 film by Richard E. Grant "Wah-Wah" (song), a 1970 song by George Harrison from All Things Must Pass Wah Wah Mountains, a north-south trending range in west-central Utah Wah Wah Valley, an endorheic valley within the Basin and Range of west-central Utah == See also == Wawa (disambiguation) Wah (disambiguation)...
 
._.
i was about to do wild wild west... but i just got pwned by a bot
 
4:48 PM
@Amy how would fiddler (Telerik) help me to find the problem?
What can you do with fiddler?
 
user47589
you can view http requests/responses
 
user47589
IMO its essential for web development
 
Nothing more or less than what you can do with browsers
 
user47589
sure, but its easier and has more capabilities.
 
~/ if I were a rich man / yub-a-dub-a-dub-a-dub-a-dub-a-dub-a-dum /~
2
 
4:51 PM
Ok... my question was only to understand if I can do anything more to find the problem
 
user47589
its much more than browsers network tab
 
I alrady know that the request is not donne
 
I haven't needed fiddler in 2 years of AngularJS/WebAPI dev.
 
what would you do if you won millions
 
user47589
4:52 PM
i know, the suggestion to use fiddler was a while ago in this chat.
 
user47589
if i had millions, i would use it to pay off fines that poor people can't pay themselves.
 
@SteveG If I had a million dollars I'd buy John Merrick's remains.
 
who the hell is that
@Amy hey i like you
 
user47589
:)
 
lets put the poor people in jail, to teach them, that they have to not be poor and pay their fines
psh
^gov't logic
 
4:55 PM
if I had millions, I would sleep more.
 
user47589
if you're in a county jail in the USA, you might get billed for each night you're in jail. and if you can't pay it, they sign you up for a private payment service, which might have a signup fee
 
user47589
John oliver had an excellent segment on it
 
@Amy 0.o
<--- did something godlike ???
 
if i had a million, i'd use it to make 20 million, then i'd open a bunch of charities and stuff, make some tech to change the world
 
If I had millions, I would code only for pleasure... and I wouldn't use Telerik
 
4:57 PM
lol
 
@CapricaSix raisin huh ??? peculiar!!!
 
user47589
haha
 
user47589
!!give wardy a lick
 
@Amy Mmmm! wardy tastes just like raisin
 
Oh dear, Telerik.
 
4:58 PM
@Amy it is a racket for sure
 
Greg have you had problems too?
 
user47589
ugh, i'm looking at some really old intranet code. some nullable database fields have a non-nullable field in the model, and non-nullable db fields have a nullable field in the model.
 
I've got a couple legacy projects riddled with Telerik and Web-Forms.
 
user47589
wtf why
 
Lazy developer.
 
5:01 PM
@Amy because all legacy code is written by gits.
 
@Amy generate an EF model and use only that to access the db from now on :)
@Squiggle of course is correct
 
user47589
this is old NHibernate crap
 
Telerik is good but only when it works. And their tutorials are fragmentated...
 
ayethangyew
 
user47589
yeah
 
user47589
5:04 PM
thank godlike entities its friday.
 
Telerik is about as good as Microsoft used to be. Great when you're coding within the bounds of their predetermined use-cases and following their code guidelines.
Terrible when you actually have to implement these pesky things called "user requirements".
Thankfully the core MS web frameworks are far more flexible than they used to be.
 
user47589
MS is moving in a good direction now.
 
im really a big fan of fluent api
 
user47589
me too steve
 
ooh yes. Fluent all the things!
I've seen some incredibly elegant stuff done with Rx Observables now.
Off to France. TTFN.
 
user47589
5:06 PM
Rx is fantastic. took some time to wrap my head around it though.
 
user47589
enjoy france
 
au revoir!
 
user47589
be sure to say "oui oui!" to every french person you see. they love that.
 
lol, some how, i don't believe that
 
@Squiggle this is the problem of high-level frameworks. I prefer to use low-level frameworks and code by myself.
 
5:08 PM
I shall order a baguette at the earliest opportunity.
 
user47589
@ErroreFatale yea
 
@Amy Saw Wie Wie
 
@ErroreFatale mostly I agree.
 
user47589
take a picture of said baguette and paste it here so we can vicariously enjoy it too
 
user47589
i hunger.
 
user47589
5:11 PM
time for lunch. let the feasting commence
 
Nomish
 
hey I have a method call, that says it should be marked with await
but then when I mark he call, await
so then it asks me to mark the method async, which I did
nvm, figured it out :)
 
How do I get TFS Pending Changes to forget all the files that haven't changed? Refresh doesn't cut it.
 
@KendallFrey how are you managing to get files checked out but not changed?
I know occasionally you can have the UI check out a file but decide not to change it, but I don't find that common
 
TFS is a fucking braindead monkey
 
5:20 PM
or you can explicitly check out a bunch of stuff for editing and then not edit them, if you want
 
This time it didn't reconcile my workspace after checking in
that's how it started
 
ah is this a gated checkin?
 
Trying to figure out a way around something.
I have two interfaces: "IMyInterface<T> where T : IMyType" and "IMyInterface : IMyInterface<IMyType>"
I'm trying to figure out some way to convert the generic (the first one) into the non-generic
 
@tweray no im in mi
 
5:27 PM
ni im no mi
 
user47589
@KendallFrey absolutely
 
?
 
@SteveG oh sorry, i kind of messed you and someone else
 
@BrandenBoucher not possible because the second one could have additional members
 
@KendallFrey, you mean the interface could specify more or the type the generic is based on could?
crap. brb
 
5:30 PM
not the momma not the momma
 
@BrandenBoucher The generic interface is (pardon the pun) more generic. You can't easily convert from the generic to the specific.
 
you all know you loved that show
 
user47589
i barely remember it
 
I remember it
 
well that was a short fucking lunch
my bank's card services are down
 
5:42 PM
:(
 
they've been down for like four hours now
I found that out at breakfast, and when I went up to lunch I decided to try the ATM first
no dice
I'm just about sick of this bank anyway
$300 minimum savings balance, fees and transaction requirements like crazy...
pretty good customer support and fraud monitoring though
 
user47589
@ShotgunNinja still nom-noming
 
Nope, can't buy anything to eat
No cash and no ATM access
and no card services
at least I ate breakfast
 
time for plan ฿
 
yeah, don't eat and go home early
 
5:57 PM
@ShotgunNinja does your account let you get an emergency cash code from your phone?
I often forget that, but it's saved my ass once or twice
 
@MikeAsdf plan buttcoin
 
@TomW I have no idea what that is
 
fish tacos are the best reason to be catholic
 
lame
 
and it's not terribly important that I eat lunch, since in a twist of fate, I decided to eat breakfast for the first time in like a month today
@Nick s/catholic/somewhere where you have access to fish tacos/g
 
5:59 PM
Apparently certain cash machines let you enter a code for cash personal.natwest.com/personal/ways-to-bank-with-us/…
 
@ShotgunNinja madison has a lot of fish tacos
idk why
 

« first day (1875 days earlier)      last day (3066 days later) »