« first day (641 days earlier)      last day (3508 days later) » 

12:00 AM
This guy's "basic implementation" is about 300 lines.
 
Hold on a second, I'm writing you some code
 
You don't have to do that much work man. I'd appreciate just saying, "This tutorial isn't retarded. Learning from it will work."
 
Òk
Let me gist it
-------View: https://gist.github.com/anonymous/c3918e55620028423db1

ViewModel: https://gist.github.com/anonymous/99d9f0303f3ab4de4996

------Model:https://gist.github.com/anonymous/8bc41258db782b162b2f
:D
 
Thanks, taking a look
 
12:16 AM
I hate anything related to B.I. and/or Databases.
Why the f*ck is always a f*cking error in my queries T.T
 
12:28 AM
Because you don't have resharper.
Thanks Andre, I can follow these gists. :D
 
:)
I need resharper in SQL ;p
 
1:05 AM
you need linq to ef.
I'm super tired. sleeping now.
 
Good night
 
1:32 AM
@AndréSilva whats the issue bruh
 
I solved
I just hate this column naming
And some stupid updates with joins
 
you just doing a side project?
 
I have SQL
Nope, still at work
 
1:46 AM
go home
 
I can't
The idiot boss forgot to tell me the deliver date of this project
 
haha. how much you have left?
 
I think about 1 to 2 hours
If the client helps me
But I'm really tired
Hey @NETscape do you anything about quote rates?
 
like stocks?
 
Sorta
Converting a currency to another
Depending on the date
 
2:02 AM
not exactly i guess... sounds like you need to convert based on a date? ;p
 
2:13 AM
Yeah
But I got it
Not the way I wanted to but I did
Doing it manually
 
 
4 hours later…
5:43 AM
hi...
 
 
4 hours later…
9:55 AM
biking to work. Then I am a WPF developer.
By which I mean I'm ripping off the code Andre gave me.
 
And I'm back.
 
10:12 AM
7 messages moved to recycle bin
Morning
 
Bad morning :(
 
10:39 AM
aww
 
10:59 AM
Good morning folks
 
Morning all
34 minutes for 7 miles. RAWR!
 
11:16 AM
Damn I need some sleep
 
+1
Hi.
Today morning, I wanted to stop the time to sleep a bit more.
 
Haha true story
 
I just wanted to sleep earlier.
Andre, did you get home last night?
 
Yeah I went home
But I slept 4 hours only
I left work at 00h15, got home at 00h45, took some meds, went to sleep about 1h15 and wake up at usual time 5h30
 
Meds?
 
11:25 AM
Medicine
I'm sick and I have a itty bitty fever
 
(Side note: If you work from home ever, get teamviewer already. Install it on your home pc. Install it on your phone. If you forget to check in your work you can remote to your home pc and check it in.)
Right, I was asking about the type of medicine. Antibotics I'm guessing.
Not fun medicine.
 
Oh, I don't know the name in english, but I took Apracur, Nimesulida, Paracetamol and Strepsils for my throatache
 
:(
Feel better Andre.
Poor thing, caught world cup fever and it burned him.
 
Apracur - Cold medicine
Nimesulida - Anti-inflamatory medicine
Paracetamol - Fever medicine
Strepsils - Analgesic and remove the pain in the throat
I still take some regulars like Omeprazol for gastritis and Naridrin for Rhinitis
Yeah I take some medicine ._.
Anyone here uses Firefox ?
 
to make sure my css looks right.
 
11:38 AM
Open it
Enter a random website
And press CTRL+SHIFT+M
Why ?
 
on it.
That's awesome!
it pops you into mobile view.
 
Is that it ?
 
11:53 AM
Not sure what you're asking.
That is what ctrl+shift+m does, and what it's for.
 
I did not now that
It is quite amazing
 
Okay, so I have a method, and I want this method off the UI thread because it will take forever. This is what async and await is for, ya?
(UI threads, so weird.)
 
12:13 PM
1 message moved to recycle bin
 
Why do you hate the Taxpayers, Maverik?
Living on the government doll, resenting the very people who put you into power.
Well I say no more!
 
:)
i dont hate nobody
ain't nobody got time for that
 
damn 1:32 songs.
Oh, time for hate.
Right.
 
You know what I really hate ?
 
Missing prepositions?
 
12:27 PM
Random errors that has no explanation
Well that too..
 
*have
So... verb agreement.
 
What ?
 
I'm just picking on you and being a general annoying twat.
 
Haha leave my poor english alone :(
 
What's your random explinationless error?
 
12:29 PM
I run the ASP program
And when I get to a certain page, it prompts me an error of not finding a certain reference
 
I cannot debug this error.
 
Hold on, I'll explain in a second
Sorry, manager was talking
So I find that code that is prompting the error
And the page which is calling has no reference to it
 
I don't believe that.
 
The code that is prompting error is an user control
But I have no idea :( I hate ASP.NET
I rather code pure HTML + JS and make JS call C# than using ASP.NET
At least I did not have good experiences with ASP.NET :P
So.. forget everything about that
For some reason today the error disappear
 
12:47 PM
-.-
 
Really
 
still trying to wrap my head around html+js with js calls to c# without using asp.net
 
õ.o
Did I fail english ?
 
No, I understand the idea you're trying to convey.
I'm just wrestling with the idea.
 
Well, not using <asp:Stuff />
 
12:55 PM
webforms? Oh, god no.
 
Yeah, I'm working with WebForms right now, no MVC
 
That's like saying you don't like win32 because winforms is garbage.
 
Not quite
 
Okay, question time
 
I'm saying that I hate ASP because I only know webforms so I hate all about ASP that I know of
I messed up that badly
 
12:57 PM
class Foo
{
    public int id {get; set;}
    public string name {get;set;}
}
 
Great
 
Wow, nice class.
 
var tacos = new List<Foo>{{1,"blah"},{2,"blahblah}}
 
Ok, bracket missing, but no problem
 
var nachos = tacos.? //Goal is nachos==List<String>{"blah","blahblah"};
 
12:59 PM
tacos.Select(s => s.name); maybe
 
That's what I thought. Intellisense isn't giving my select. Thought I was misremembering/conflating something.
 
Ignore intellisense ;p
 
Actually my problem was I was working against a generic, not a List.
IEnumerable or IQueriable, not sure. anyway, found the issue. Thanks.
 
;p no problem
 
1:32 PM
@Denver With mutable id?
 
 
2 hours later…
4:02 PM
I want to check a server to see if a file exists. If it's there, the server gives an "OK" response and the file. If it fails it gives a 500 of some type and nothing. Is there a way to do this check without getting the file?
 
you can do a post requesting only the headers
 
hrm.
The first SO result is webReqeust.Method = "head", however that seems to conflict with working against a Post/Get/Put/Delete action api.
 
umm
what is the question really - what response code to send?
or how ot check if a file exists on a server?
 
Okay.. I have an api. If you GET a number to this api, it gives you a file or an error.
 
yup 200 OK + File or 410
 
4:11 PM
sorry, that's a get, not a post.
It isn't a 410, but that's beside the point.
 
ok :D
I'm sorry I'm still not sure what is the question
 
So, I just want (200 OK || HTTP_ERROR)
The file part is a bunch of wasted bandwidth/time.
 
Well I think HEAD is the right request for this sort of thing
if the clients asking for a GET they should get the full file
 
Okay, HEAD will behave as a GET?
 
HEAD basically just asks for headers
its a Header only GET AFAIK
 
4:14 PM
Okay... but the server responds differently depending on what verb you give it.
 
yea
 
If I do DELETE ?id=1 it delete's the file at id=1.
 
so when you get a Head request, you know its only asking for basic information
yea
 
So... what verb handles the request on the ASP.NET side?
 
HEAD?
(i haven't used asp.net but in all other frameworks its HEAD)
 
4:16 PM
So I'd have to write it. Blah.
 
as an example, i forged a HEAD request to yahoo.com
notice there's nothing in body, but rest of the information is there as you'd expect in a GET
this sort of thing is very handy for progress stuff especially since you can figure content length :)
(well thats what I use it for anyway)
 
I'll give it a shot. Worst that can happen is it's completely broken.
the ASP.NET with C#/VB/MVC room (why that's not just ASP.NET MVC is beyond me) is dead atm.
 
asp.net should support HEAD imho, its a standard verb
 
It doesn't route it by default. I'm going to assume it treats it as a get.
 
that would be retarded
 
4:23 PM
we're two revs on asp.net up since then, but... yeah.
 
posted on July 22, 2014 by ericlippert

Finishing off my series of questions people asked during my recent webcast that I didn’t have time to answer, some short Q&A: Does the analyzer require that we share our code assets with you? No; the analyzer and defect database … Continue reading →

 
I think it'll return just the header. I'm just not sure it'll return the header for the get {argument} method instead of any other response it could send.
I'm not sure if that's what I think or if it's what I hope.
I think what I think is it'll catch fire, send a "method not found" response and drop it.
 
4:43 PM
you could just create a dummy default asp.net project and see how it goes?
forge a head request and see what you get
 
thanks. I'm just about done writing the application with this on the business end. From there I can build a unit test to see if it works.
 
1 message moved to recycle bin
now thats something I like about NancyFx
built-in UnitTest browser that runs the entire nancyfx pipeline without actually needing to run it as a server / app
 
My API requires authentication, it's all kinds of a pita.
speaking of which, is there a way to make a unit test prompt for input?
 
5:01 PM
@Billdr That would kind of violate the purpose of unit testing
becuase it wouldn't be automated anymore
usually you'd feed it multiple test parameters
 
I have to feed it a time sensitive token.
 
A 2 factor rsa stuff? :D
 
Yeah, pretty much.
 
6:02 PM
Heading to the doc
 
Feel better Andre!
 
uhh this in interesting
 
6:24 PM
it is?
 
6:40 PM
Set Orientation to landscape on PrintTicket, set pagemedia size 816 x 1056, getcapabilities of that print ticket and orientedpageheight = 1056 width = 1632.
 
7:09 PM
0
Q: Why doesn't PrintQueue.GetPrintCapabilities(PrintTicket) take into consideration the PrintTicket's PageMediaSize

NETscapeI have code where I'm trying to get the most updated PageImageableArea. In other words, if a user changes their page size from 8.5 x 11" to 11 x 17", I need to get the new PageImageableArea.ExtentHeight and PageImageableArea.ExtentWidth; however, those only change based on the PrintTickets PageO...

baking cookies for whoever can solve
 
 
2 hours later…
8:58 PM
@ReedCopsey how do you go about solving problems that seem impossible to solve? haha
just do a workaround until you can come back?
 
depends
often it's stepping back and doing something different
but if you're talking the print queue stuff, then workaround ;)
 
haha
i really wish i could just call MS and ask them myself
@ReedCopsey we have someone whose app is crashing and it seems impossible to replicate the issue. the (Windows) error message shows the exception is being thrown in our COM library. If I build the library in debug and have them use that library, would I get something more helpful you think?
an error message more helpful... like maybe an assert(...) will throw an exception? i've gotten it down to its an accessviolationexception or whatever, but don't know where its happening.
 
9:29 PM
yeah - that may help
my experience is that those types of errors are typically driver related
 
@ReedCopsey meaning hardware drivers? (cause its the COM for network comms)
 
yes
I get that a lot - but with us, it's typically graphics drivers
but random one-customer-gets-crashes is almost always driver issues in my experience
upgrading MB and network drivers may fix it
 
9:43 PM
MB? ... mhmm
@ReedCopsey does DumpFolder have to be existing in order to do the dump or will it create the directory if it doesn't exist?
and is there a way to force your application to crash? haha
 
10:26 PM
not sure
and forcing your app to crash wouldn't help
because you need that specific scenario to be hit
so it'd have to be done in the user's computer
 
right, i just wanted to test if the directory gets created
 
don't know for sure
make your app throw
 
yeah, i guess that was a dumb question haha
 

« first day (641 days earlier)      last day (3508 days later) »