« first day (1152 days earlier)      last day (3803 days later) » 

12:02 AM
I played around with it. Made a small stopwatch application for android in C# with Xamarin
never actually deployed it though. And never paid for the license after 30 days
 
@Robert - Related: monocross.net
 
@TravisJ That looks promising. I'll check it out. Also found this: dot42.com
 
Yeah I saw that one too
I haven't used either so I don't have much input aside from providing the link :(
 
Does anyone know why I'm getting a "System.ArgumentException: The parameters dictionary contains a null entry for parameter 'programId' of non-nullable type 'System.Int32'" But in firebug I can clearly see it's providing programId=59?
So far I hate ASP.Net MVC 4.
All sorts of subtle changes that make it break without any real indication why.
 
I found some of those too Spencer. I haven't ran into that one though
 
12:07 AM
This is so obnoxious.
 
Are you ajaxing?
 
I'm getting really tired of trying to navigate through other people's frameworks.
Yeah.
 
is that the only parameter you are sending?
 
hm =/
 
12:08 AM
It's a JSON Post
 
ASP.NET MVC was great when it first came out. I guess it was too much to ask for Microsoft to keep it lean.
 
Is it expecting a JSON format?
 
I don't think it is. Should be pretty simple
[HttpPost]
public ActionResult Place(int programId)
$.ajax({ data: { programId: 59 } })
rite?
 
$.ajax({
    type: "POST",
    data: JSON.stringify(data, null, 2),
    url: url,
    contentType: "application/javascript; charset=utf-8",
    dataType: "json",
    success: function (msg) {
        ProcessMessage(msg, successCallBack);
    },
    error: function (msg) {
        AppState().pushMessage("AJAXLoadData failed for url: " + url);
    }
});
 
yeah you are sending it with the json datatype
 
12:11 AM
I just switched it to stringify the data.
Still getting an error.
Would be nice if ASP.Net MVC gave some indication as to why it's failing to parse valid information.
 
You know you can just send the object, you don't have to stringify the object if you use traditional: true
 
O
I'll try that*
Just sending the object worked in MVC 3.
Dunno what changed in 4 that's making it freak out but I sure do love spending several hours trying to figure it out.
 
I use this from one of my js helpers:
$.ajax({
            url: sourceURL,
            type: 'GET',
            data: data,
            traditional: true,
            success: function (result) {
                callback(result);
            }
        });
Works fine with a complex object even with a nested array
 
I don't want to use get though.
 
post is fine, that was just my code verbatim
 
12:14 AM
gotcha hang on i'll try it.
 
Trying to update 7000 entities is kind of slow.
Can't imagine what 7000000 would be like
 
"Invalid JSON Primitive ProgramId"?
wat
 
There we go.
 
Ive been trying to figure out where my datagridview rows went for a while now and I can't figure it out. Has anyone had this same problem before?
 
12:19 AM
working?
 
had to stringify and use application/json contenttype
 
@TatianaLaurent - Yes. People ask datagridview questions in here all the time.
 
Thanks for being my duck <3
 
:D
 
12:20 AM
@TatianaLaurent - I don't use it though so I can't help :( Did you try searching SO main? I would be surprised if you came up with something that wasn't addressed yet with datagridview
 
Yeah I have :-/
 
Is this the issue you are talking about?
0
Q: Manipulating numeric data in a DataGridViewCell

Tatiana LaurentI have a datagridview that is populated with data. The data are numbers. I want to get the value of certain cells, multiply that value by 60 and print the new value into the cells but all I can seem to do is get a string value. This is what I have so far: private void dgv_CellFormatting(object s...

Or is it something new
@TatianaLaurent - Are you setting Visible = false somewhere for your rows?
@TatianaLaurent - Is enabled set to false somewhere for your grid?
 
Yes it is
Actually no it is
visible and enabled are both set to true
 
The entire time?
 
What do you mean by that?
 
12:29 AM
Are you setting enabled = false, modifying the view, and then setting enabled = true afterwards
or something similar with rows and visible?
 
Nope
:-/
Im on my way out... thank you for your help ttyl
 
gl :)
@SpencerRuport - You still around?
Is 10 threads too many to consume at once?
 
what are you consuming?
 
@Reed - I am updating a lot of records. It is going really slow. So I am going to take the rest of the set and split it into 10 groups. Then I am going to use Task.Factory.StartNew(() => for each group and then await them all. Is that going to be too rough?
 
can your connection handle it?
 
12:44 AM
Yup
 
connection pooling may make it not help as much as you'd expect
 
Oh, hmm
You think the bottleneck is my ISP?
I only have 1Mbps up
I have done something similar with the connection pool before and it worked really well, but that was doing a select to fetch data, not sending data to update.
 
@TravisJ - Just about to head home.
But Reed would know better than I about thread management I'm sure. :P
 
:P
 
its not a thread management issue - it's a bandwidth + SQL issue
 
12:53 AM
ok, well here goes :)
 
this should be interesting - going to subclass System.Type ;)
 
hehe
 
slaps Reed's hands
 
good thing its not sealed
 
@ReedCopsey TypeBuilder, IIRC
Something of that nature derives from it I think.
 
12:56 AM
yeah, TypeBuilder does
so does TypeInfo
 
Type has a lot of power
 
Bleeegh, my intestines aren't happy today. I'd tell you more, but I don't want anyone to get PTSD.
 
ty
@Reed - Can I set a breakpoint in a task that is currently running?
 
yes
 
Since I made them in a loop, will every task hit the breakpoint?
 
12:59 AM
the breakpoint is in the delegate? if so, then yes
you can use the Tasks debug window to help
once you're running, it's ctrl+d,k to open
(with default keybindings for C#)
 
1:14 AM
wow, it worked :)
Takin off, see you guys later
 
@TravisJ one thing VS2013 has is much improved async debugging support.
 
 
3 hours later…
3:56 AM
Where. Is. Everyone.
 
Not helpful haha
 
4:15 AM
they.all.sleep
 
@JLott I'm here, of course
And hello, Mr Johan
 
I need someone who lives in New Jersey lol
 
lol you don't ask for much
 
4:31 AM
I don't feel like that is too much to ask
 
@JLott solution was easy ... change your time of sleep and your lifestyle ... be nocturnal
;P
 
@JLott Well... the odds of finding a programmer in Jersey at this of night...
 
It doesn't have to be a programmer lol
You cannot ship beer to KY for some ridic reason... and I need this beer and the only place I can find it is New Jersey
 
Ship as in the companies? So you want someone to mail it to you? Whatever works, I guess..
 
Exactly. I need someone from New Jersey to be shipped the beer and then ship it to me lol
English...
 
4:45 AM
lol, I was wondering for a second there
So I hear you use Mono? We haven't really had a conversation in a while.
 
Yeah I have been messing with Xamarin
Haven't really gotten too deep into it
 
What platforms have you tried out?
 
iOS
 
Hmm
 
We are still in the stage of figuring out if we want to do a web app or a native app
 
4:52 AM
Well.. naturally pure web apps are more cross compatible, but I really dislike them. Maybe you could make sort of a hybrid
 
Yeah that is what I am thinking... but that may be even more work
 
It probably will.. it depends on the size of your team, I'm sure. Do y'all have enough staff to build and maintian two (or more) different app ecosystems?
 
No.
 
That will probably make the decision for you, then
 
Yep. We have to do something though.
 
4:59 AM
Are you able to tell me what the app is for?
 
It is for managing service orders through a tablet
 
Hmm... IIRC mono allows you to have different UIs for each os, while the backend stays in the backend. Is that true for Xamarin as well?
 
5:24 AM
anyone here good in regex?
 
Define "good"
 
is opposite of bad? :D hehe kidding
@CCInc i used to use this regex:
var\s+(\w+)\s*=+\s*new\s+Array\((\""?[\w*]*\""?,?\s?)+\)
Match with:
var aaa = new Array("asdasd", "adas" --- infinite # of strings)
problem was i cant group and split all strings inside like for above e.g:

asdasd
adas
 
Too complex for me, sorry
 
what should i do?
its ok .xD
 
5:42 AM
Guys look I put VisualStudio inside of a ToolWindow!
lol
 
6:29 AM
@TravisJ But the methods works when returning pdf files.... althou i will try out what you are sayin =), thanks for the advice =)
@JoshVarty The file's content is displayed with the current request, but the download dialog is not starting as it should be, tried to change the content-type to octet-stream which should start the download in any case...
@TravisJ iam writing what i have in my memorystream to the response when i say it is new StreamContent(stream)...
 
jim
moarnin'
 
i just saw this on other hall:
regexcrossword.com

if you want to *play regex* haha
 
6:51 AM
whats regex pattern for all symbol?
 
.
'.' defines all charachters
 
thanks @Martea
 
7:27 AM
hi any one is there
 
what's it ?
 
7:40 AM
Hiii
 
jim
hi
 
need a help in Mvc jqgrid in MVC 4
i have to bind a grid with add edit inline functionality with inline button
 
Hello frnds....:)
In css I have given image path like this
backgroundImage': 'url(../images/login_image_big.png)
locally when I rum the application it is working.But after hosting to IIS image is not loading.
 
is there is anyone who have idea about jqgrid ?
 
@SwatiSinha jqgrid.com
may be this could help
@Smrutiranjanjena what application is that ?
 
7:50 AM
morning guys
 
@swatisinha MVC application
@manish I created a virtual directory at IIS name like clientconfig
when I hosted to iis it is asking for backgroundImage': 'url(clientconfig/images/login_image_big.png) .but it is corect .ri8 ?
 
yes jqgrid in mvc 4 application
i have implemented its working fine for simple flow
 
that happens because the path you specified isn't available
 
how to do inline editing with inline button and custom code in jqgrid
 
@manish how to resolve this issue ?Could you please help me ?
inside clientconfig virtual directory i'm having image folder then inside image file.
 
7:59 AM
probably by creating a folder named Images in your soln and storing the image therein... and thenafter referring to the full length path to your image ...
 
hey... if anyone have idea about jqgrid, plz tell.. i want to discuss my problem
 
Morning everyone!
 
@RaZor morning
what's up >
?
 
haveing 3 remot desktops running is fing confusing
 
Not much :) Just arrived at work
 
8:13 AM
:)
 
and how are you?
 
same here
 
^_^
 
awww..this absolute uri things suck
 
its so depressing in sql channel. maybe a Tsql channel would be better
 
8:22 AM
hey all
i need a help with sql
can i have better option to do this without using group by
SELECT MAX(ID),

tID

FROM jection

WHERE StatusID IN ( 2, 8 )

AND EmployNum = @EmployNum

GROUP BY tID
 
@neha if you have a max() or any function like that and another column you have to have group by
so the only way to remove the group buy would be to also remove the tID
 
@DaImTo i know .. so any other thing which also replace max()
but if i move out tID how would i get this same result am having from this query
 
depends on what your trying to do really.
if all you want is the max id then you dont need tID in the select
 
max id for rows having equal tid
 
do you need the max id for each of the tID?
 
8:26 AM
yes
 
What db is this? and why dont you want to use the group by?
 
this query is part of my sp
& as per my client he don't want usage of group by .. aspect is group by is degrading performance
 
group by wont effect preformance when its done on an ID that im assuming is index.
 
am taking this query in table variable & then pushing inner join with this to my main query
 
you could really kill preformance and try an subselect
SELECT tid ,
(select max(id) from jection t2 where t2.tid = jection.tid) as mymax
FROM jection
WHERE StatusID IN ( 2, 8 )
AND EmployNum = @EmployNum
Note thats not tested you might have to play with it a bit.
 
8:31 AM
k, let me try
but a subquery is not a good option .. i guess rather an group by
 
subquery is probably going to be worse then a group buy. try and give the guy an explain plan of the time diffrence. seriously theres nothing wrong with a group buy and preformace.
But if you want to go around him he said no group buy he didnt say anything about subselect. Sometimes its better to do what the client says even if the client is wrong unless you want to go though the time of teaching them why they are wrong.
third option would be to write a cursor to loop though all the rows in the table looking for the max one. but dam thats worse then a subselect i think.
 
:) thats the issue he don't want to understand... & we have to follow.. so nothing wrong with query.. its basically with client :p
 
Its kind of like my sister telling me atkins diet isnt healthy while she eats ice cream for dinner. Got to love people like that :) best to humor them sometimes.
 
well this sub query is giving me all rows not max only but yes in group by manner
@DaImTo lollzz
thats true ;)
 
think you need to play with it a little. i dont know how your database is set up. you may have to add a having or something
 
8:36 AM
k
I ll see.. thanks
:)
 
but make sure your tid is indexed.
 
tid?
 
where t2.tid = jection.tid
assuming its either a primary key but just checking.
 
not primary
 
just double check its got some kind of index on it it will help a little when you are running the subselect
 
8:39 AM
k
 
Hello good afternoon :)
 
good morning :)
 
Hi I need help that
 
how to pass form value from Form1 to Form2 in asp.net C#
hi neha
can u help me
 
8:46 AM
i want to add field or button that is "Like this page".
can any one tell me how to do this in asp.net, c#
hi @manish @RaZor @codebrain
i need your help
 
@VIPULPARMAR my ASP.net is very rusty but google works fine. codeproject.com/Tips/589911/…
 
i dont want to pass value i want to add buton that is Like/Dislike
 
9:02 AM
Heya @VIPULPARMAR
 
hi @RaZor
can you help me?
 
Shoot
@VIPULPARMAR what's up
 
i want to add one button that is "Like/Dislike" that shows how many people like this page.
how to do this?
 
9:18 AM
Could use a set of fresh eyes figuring out a issue with a simple file download from server stackoverflow.com/questions/20514979/…
 
Could use a set of fresh thighs figuring out a issue with a simple file download from server stackoverflow.com/questions/20514979/…;​ading
 
9:29 AM
having a database design aregument with my boss. Chances i will win this time ?
 
can any body explain this foreach (string key in Request.Form.Keys)
 
@VIPULPARMAR pfff, give me something to figure some things out
@user1196392 what is the problem?
 
hmm i think think the argument ended in a draw
 
@RaZor something like facebook page in that it shows how many people like this page same as i want to display in my web page that i develop site for hotel that is show how many people like perticular hotel.
 
@RaZor the problem is pastebin.com/r4eKJMbH
 
9:55 AM
@VIPULPARMAR try this: codeproject.com/Tips/353983/…
 
@razor it is a FB plugin i dont want this i give just example that. But i want to develop my custom button
 
@VIPULPARMAR use your imagination and edit the codeproject project. You can create your own button, just use the structure of the given project
 
is it the Same @Razor with the blue Avator before ?
 
what do you mean @codebrain
 
you changed your picture from an blue avator to actual you ? i couldnt id you.
 
10:05 AM
hehehe, yes it is the same RaZor
=]
 
but it redirect to FB login i dont want to redirect on FB i want to redirect my login page then?
 
lol, you answered a closed question and earned 65 Rep :P Epic.
 
replace the button with your own button...........
Create your own button... that shouldn't be hard
 
Put string into integer. lol
 
hahaha didn't even noticed that
:D
nice isn't it :D
 
10:07 AM
you managed to get 440 in 20 days. thats cool
you seem to be crazy curious fellow
yeah yeah very nice
 
Yeah I am buddy :) I like to help people :)
I learn from helping people :)
 
@razor your in touble now i figured out how to harvest rep on the site...
 
and how is that hun? @DaImTo
 
edits my friend edits.
 
lol that gives you only 2 per edit
so that ain't helping alot xD
 
10:15 AM
yeah but when people arnt bothering to accept anything you anwser its better then nothing
 
true
 
I gave one guy yesterday screenshots and everthing. he cba to accept it.
guy today i heped him get his anwser. He leaves fixed it myself in comment. Yes you fixed it but i helped give me something .....
@LewsTherin good morning
 
@RaZor seems good.
 
@codebrain ?
 
@RaZor seems you help a lot :P
 
10:19 AM
I do :)
 
done
 
@DaImTo Hi
 
no9
hello
I need some help with basic threading
If anyone feels up to it...
 
@razor wonder who has to approve all my edits. feel sorry for them.
 
10:35 AM
hahaha, but it gets obvious that you are farming for rep :p
 
@razor yes but techicnly im helping as well.
 
yes by editing every article you see xD
 
these people have there tags all messed up. Love nubies.
 
lol
 
no i found a golden tag that everyone usees thats wrong. theres loads of them.
im just fixing tags 12 points so far
 
10:41 AM
@no9 check my answer to your question
@DaImTo tell me about it hun :) Share the golden tag!
 
@RaZor not going to happen. 14 btw.
 
Pfff greedy?? @DaImTo
 
you already have more rep then me i need to ketch up.
no one ever accepts my anwsers its very sad
 
pff it ain't a race hun!
 
no but it beets validinging results in my cube with the results in the realational database dont you think
 
10:45 AM
IF you just sit and think what those reps ll give you.. Nothing. Keep answering, you'll get what you deserve. i dont care much on that
 
@DaImTo come to private chat
 
@RaZor got to many remote desktops open dont see it unless it pings at me sorry :)
 
np I'll ping you when I need you @DaImTo
 
@codebrain i know that the points arnt worth much but its almost like people check how many points you have and decided if they beleave you or not.
 
nope, i see lots of talented people in this room with rep lower than me. i could say @Razor is one. Rep doesnt matter. Its what you are.. Roel, ton yeung are really got great knowlege and dont care much about repss :P
 
10:53 AM
I want to get the SQL channel going. I end up anwsering a lot of sql questions here that should techicly be in that channel
 
I don't care much about Rep either, it's more like rep points are collectors items and I'm a collector aswell as sharing my knowledge with other people :D
Got a question @codebrain @DaImTo
 
dumb question: running 3 remote desktops shouldnt puch much load on my pc. why is my hd going nutz?
put != puch
 
Because it needs to render 4 desktops
 
fucking mcafee
 
lol, mcafee is a b****
back to my question
I got this method
public static void AddMessageCategory(Outlook.MailItem target)
{
    if (target.Categories == null) return;
    if (target.Categories.Contains(CategorieBericht)) return;
    //Als berichtwordt opgeslagen, voeg dan 1e categorie toe aan mailItem.
    target.Categories = string.Format("{0}, {1}", CategorieBijlage, target.Categories);
    //Opslaan van MailItem.
    target.Save();
}
I need to check if Categories of object target is null, if it is null continue but don't perform the check (second if statement)
 
10:58 AM
scann is stoped
 
do i need to do a if else?
I guess so, but I can't seem find out why lol... slept like 1 hour last night.. my brain is just threw me in the gutter....
 
yup.
question on your question.
target.Categories = string.Format("{0}, {1}", CategorieBijlage, target.Categories);
 

« first day (1152 days earlier)      last day (3803 days later) »