« first day (727 days earlier)      last day (4213 days later) » 

5:00 PM
See ya matey
good luck :)
 
GL Spencer!
 
bye Spencer
 
cya
 
@Billdr browser or likely to have a mime type on server?
you could try .application ?
 
browser
 
5:01 PM
i'd imagine browser to pick that up
 
My gut tells me this method is going to be used to allow users to upload files to the server.
These files will likely be images, possibly pdfs
effin retarded that I'm writing a function with 0 knowledge of how it'll be used.
 
@Billdr WHYY FOREVER!?!!
Well...24 hours
 
Because Happy Birthday
 
Hello ya'll I need some help with a aspx form is anyone is interested :) this form once submitted goes straight to error page that was made and have no idea why.
 
Because it threw an error. Glad to help.
:) Seriously though, what's the error?
 
5:07 PM
what's the OnClick event code?
 
I dont know thats the issue, I am a new dev to this ladie and I do not program aspx.
 
can you share the mark up for the button?
 
So the aspx file will have a button in there somewhere. It determines what happens onclick. The aspx.cs file will probably contain the definition of whatever's called by the button; but it's also possible for it to be in a javascript file.
 
I created a whole interface for her in php that is seperate from the site.......ya go to pcgprotects.com/pcg/NewCustomerForm.aspx and inspect
 
If it's going to an error page, it's probably the aspx.cs file.
 
5:09 PM
unless it's an inline code file @Bildr :)
 
fill out the requireds and it will take you to error I believe it then goes to pcgprotects.com/PCG/NewCustomerTransmitPage.aspx
 
the html markup for the button will look like this <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
 
No that file that I just posted"link" I look on the server side and it says that it is autocompiled, don't delete.
@AntLaC okay one sec
here in the file it has this `<asp:Button ID="btnSubmit" runat="server" Text="Submit Form" Font-Bold="True" Font-Size="Medium"
ForeColor="#000099" ToolTip="Validate Form Data and Submit Form to PCG." />`
 
Also, maybe update that error page to include the error.
 
have to go
Bye guys
 
5:13 PM
No idea how though I am no aspx expert....
 
OK, looks like this may be a VB app, no problem
 
bye Maverik, thx a lot for your help today ;)
 
bye sisyphe
is there a codebehind file?
 
I'll include the header...
 
yourpage.aspx.vb?
 
5:14 PM
<%@ page title="PCG | New Customer Information Form" language="VB" masterpagefile="~/MasterPage.master" autoeventwireup="false" inherits="NewCustomerForm, App_Web_jz8y8fo2" stylesheettheme="Theme" %>
 
do you have the original code?
that's a compiled page
 
Yes Ill post in jsfiddle
one sec
 
that horrible feeling when "it works on my machine!" doesn't translate into "it works in the dev environment!"
 
@DavidBiga Okay, there's going to be another file that's got the same name with ".vb" on the end.
 
okay let me look
 
5:16 PM
that is the compiled file from the server, you need the uncompiled version
 
Oh
Yea, this guy may not be equipped for the job in front of him.
 
inherits="NewCustomerForm, App_Web_jz8y8fo2" gives it away
 
I just glanced and saw it was the aspx.
 
:)
 
thats not a vb its dll
 
5:18 PM
Yea, you need to look at the actual code, not what's on the server.
 
also one thing you should know i had to change some other files to the App_Web_jz8y8fo2 for it to work but on this one it does not.
here I'll paste what it says.
 
that's probably your problem then
because it's a compiled site, you have to recompile anytime you make code changes
 
?how
 
So, I've got this array of unknown length. I want to get the length of everything but the last member of the array. Is there a clean way to do that, or am I stuck with while i > length-1?
 
with the uncompiled files David
 
5:20 PM
@DavidBiga Do you have visual studio installed?
@DavidBiga Or are you modifying the aspx files directly?
 
@Billdr Do yo uwant the answers in an array?
 
WB lews.
 
I was going to open in txt but i do have visual studios installed i believe.........i updating everything through dreamwever, delete file on server and repaste
 
@Billdr Heya
 
@Sisyphe have a nice weekend mate, bbye
 
5:22 PM
@DavidBiga You may have broke everything :)
 
@Billdr Yeah :(
What array is this?
 
Rule #1, NEVER develop on the production box :)
 
@AntLaC It's a string array created after a split. Essentially I want to rebuild the string after the split, without the last value.
 
Lol I always do and never have issues.
So how do I fix this.
 
@DavidBiga Restore backup?
 
5:23 PM
you need the original files
 
I do
 
not the files on the server
 
@Billdr foreach( var s in string_arr.ToList().Take(length-1)
 
so, gotta be length-1. Bummer.
 
I'm not sure if you need ToList()
 
5:23 PM
so open the uncompiled site in VS, make your changes, compile and redeploy
 
Ant I know
 
@Billdr Yep, can't avoid it. Why? It is the cleanest way lol
 
I dont use vs, how do i do that.
 
VS is what compiled the site
 
@LewsTherin Your definition of clean and mine differ greatly sir :p
 
5:24 PM
ya on the other guys not me though.
 
@DavidBiga ....you don't know aspx and you don't know vb... yet someone hired you to update their vb aspx site?
 
there is a publish option in VS, when you publish it, it compiles it for you
 
@Billdr Ha ha. If you find a cleaner way let me know :P
 
I am a c++, java, javascript, php developer but not a aspx because its junk.
I created a interface thats totally seperate.
 
Hey bro, that's a cool story.
 
5:26 PM
but the old dev left errors
 
@DavidBiga it can be fun once you get intimate with it :)
 
lol
 
Well, you are in a C# forum :)
 
I avoid aspx too but having worked with both aspx and php - i'll always lean towards aspx given the choice
 
@AntLaC Because you guys know aspx, thats the word.
 
5:27 PM
Apparently you don't know ASPX well enough to call it junk... just saying.
 
@DavidBiga aspx in and of iteself is pretty much HTML4/5 markup. What happens after that is up to you. So saying it's junk is the same as me saying PHP is junk. PHP and ASPX pages are pretty similar in how they work. It's up to the developer doing the work to decide if it's good or bad
 
@Billdr You are right.
 
So, your end goal is a style update?
The content stays the same, yea?
 
So Antlac my question to you good sure......I have the sites data on my computer, opened in dreamweaver, I make my changes, save the file, delete the one on server, copy over the same file with changes in its place....that wont work?
@RyanTernier Thanks
sir*
 
it will only work if you are only changing html mark up or styles
if you change the name of a control you will break it
 
5:29 PM
hey back
@Maverik you there bro ?
 
adding/removing controls won't work out too well either
 
@Sisyphe wb, yup
 
<%@ page title="PCG | New Customer Information Form" language="VB" masterpagefile="~/MasterPage.master" autoeventwireup="false" inherits="NewCustomerForm, App_Web_jz8y8fo2" stylesheettheme="Theme" %>
 
Problem solved !!!
 
so if i change the app_web to something else
it wont work?
 
5:30 PM
super - how!
 
no
 
well it's cosmic
 
howdy!
 
if you look at the page directive on all the pages of the site, you will see they are the same
 
actually if you decide to set a style on a TreeView
 
5:30 PM
it looks like the site is compiled into a single dll
 
I don't do that, I look at the files on my computer and make the changes, save then removed old one from server and paste it over
 
you cannot put inside a setter on ItemsPanel
I removed it
and put it in a Style trigger
only called when IsVirtualizing is set to true
that removed the issue
 
like we said, it depends on what changes you make
 
@Sisyphe it doesn't make sense to me but glad it worked for u!
 
cosmetic changes don't effect the dll
 
5:32 PM
I never made anything only changed the App_web to the one that the other files where using.
 
it does not make sens for me either
 
might come in handy someday when I'm doing same thing - so far my treeviews have been nice and compliant
 
actually i think that there are priorities in setting dependency property values (betweens styles, trigger, direct set etc...)
maybe it caused a glitch
 
then the dll that they are referencing doesn't understand the controls on your page
 
@Sisyphe yea there are - and I referred to them when I was telling you there are only two things that can override you
style wasn't one of them
 
5:33 PM
I tried all the other ones and still never worked.
 
but anyways - productive day! you can finally move forward to release
 
So any solutions or no?
 
yeap
 
of course there are, make your changes and recompile
 
yeah
i feel better now
PowerDesigner will roxx for sure now
 
5:36 PM
:)
SO saves the day again :P
and they lived happily ever after!
 
yeah
i can die in peace now
well thanks again dude
 
now if only this damn service would activate on iis!
 
it's been a pleasure to meet you
 
Likewise!
 
i think i'll hang around here from now on ^^
 
5:37 PM
same :)
 
@AntLaC So since changes are already in place I will open in vs, recompile and than just publish it and put it in server?
 
good luck with your iis
i wish i was able to help
 
hehe thanks
 
but if you got any trouble in WPF please ask :D
 
i'm just not dropping enough effort into figuring it out!
 
5:37 PM
you can't recompiled already compiled code, you need the files that are not compiled already
 
good luck :)
 
of course! I'm idling in here pretty much permanently
 
oh, no I don't have those.
 
If i can give you a hint
think about head, walls and bloood
it helps
 
LOL
copyright!!
 
5:38 PM
:D
have a nice week end ;)
 
+1 to your level btw :P
have fun
 
yeah !
thx ^^ Byebye ^^
 
@AntLaC I do not have original files.
 
bbye
@DavidBiga you're gonna need them buddy - so best ask your employers to get it for you
 
Darn. Thanks for all the help though! Really appreciate it!
 
5:40 PM
That's going to be a problem then
 
if the last developer didn't leave on good terms - this could indeed be a problem :)
never mess with a developer - for you taste good with ketchup!!
 
Well he is old school and dosent know php, etc. So she got a hold of me to build a new system.
 
@DavidBiga And remember, develop and test on local machine before deploying :)
Developer 101
 
@AntLaC for sure! especially with aspx adventures!
 
Okay thanks. Antlac question, why dev in vs?
 
5:42 PM
php is a lot more forgiving than asp.net :)
hehe ... unfortunately nobody can be told what vs is
 
if you're developing microsoft technology, use microsoft tools :)
 
you have to work in it to be addicted :)
take the red pill!
 
so aspx is microsoft techonology?
 
yup
 
in MVC 3, I'm using twitter bootstrap which looks for images in localhost/img, but I have the images in a different folder. How can I set it to look for the images in my image folder when it gets that URL (localhost/img) in?
 
5:43 PM
.NET is, which is what aspx is
 
gotcha. Thanks everyone.
 
no probs
 
think I'm gonna make a move - day spent with this chat :D
have a really nice weekend all, and I shall catch you all on monday. /afk
 
awesome
 
6:08 PM
Hmm... multithreading question
if I pass a List<obj> into two different threads, will I get synchronization errors?
 
@AntLaC So was it just me or did that guy with the aspx question have no business tinkering on an enterprise aspx site?
@Pheonixblade9 I think so, but try it and let me know?
 
@Pheonixblade9 With all your knowledge you ask that? :O
 
What are you going to to with the lists?
 
okay, my overkill method has been checked in. I'm going to do some weekendy things now. ...See you in 25 minutes + commute. :/
 
bye :P
 
6:28 PM
what is the benefit of dynamic compared to object?
 
@JohanLarsson Can you use properties of the sub object I guess.
 
@LewsTherin Gonna do something fun tonite or just grind SO?
 
grind?
 
I'm going to grind as long as i can keep my eyes open
grind == work hard?
 
Right.
I'm trying to finish all my assignments
But I'm getting distracted watching tv
 
6:42 PM
what are they?
 
Networking, security, database etc..
 
God no.
 
Meow.
 
0
Q: How do I use a List<T> in multiple threads?

Pheonixblade9It seems like I am getting threading errors as a result of an inconsistent state of my IEnumerable. Specifically, List<T>. Here's my workflow: List<string> IDs = getIDs(); RunTask(IDs); RunTask(IDs); public void RunTask(List<string> IDs) { TaskScheduler scheduler = new T...

 
7:00 PM
39
Q: Parallel.ForEach vs Task.Factory.StartNew

stackoverflowuserWhat is the difference between the below code snippets? Won't both be using threadpool threads? For instance if I want to call a function for each item in a collection, Parallel.ForEach<Item>(items, item => DoSomething(item)); vs foreach(var item in items) { Task.Factory.StartNew((...

 
7:11 PM
just gonna pass this along arstechnica.com/features/2012/10/… listen to the audio recording
LOL
 
7:22 PM
My school's online class portal gives instructors the ability to throw alert()s. This was a mistake.
 
js alerts?
 
yea
The site was not built to work with js disabled.
 
just do
window.alert = function(x) { console.log(x); }
and be done with js alerts
 
greasemonkey that for permanent alert ignore
 
or do whatever you find more convenient
 
7:30 PM
Thanks Zneak.
 
that's a pretty car
scuse my movie illiteracy
 
you've never seen star wars?
 
like 10 years ago
can't say I know what this car's supposed to be lol
 
That car's horn should make a "pew pew pew" sound.
 
7:33 PM
that I could imagine lol
 
I see
 
Of course there's a subreddit for that.
 
theres a subreddit for everything
 
hah. The comp sci instructor wants me to go answer questions in the student lounge. Lol, no, that's your job lady.
 
7:35 PM
well, the only thing that reminded me of star wars is the logo and the blasters
without em looks like a weird paintjob
 
its funny though, that's not the rebel insignia
 
lol oh yeah, that's right
 
@LewsTherin Hey, does the project build on your box?
 
I didn't try to build it.. I guess it isn't on yours?
 
No, mine's fine. I'm taking a look now to see what the deal is with the web build.
But if I knew it wasn't building for anyone I might have an easier time of it.
 
7:42 PM
Web build? It downloaded the source file to a local folder. It should be fine.
I hope so.
 
lol
I've been after a bug since yesterday
and in the search we found a pretty C++ singleton
it has a public constructor
from which it assigns this to a static variable
(with an assert that the static variable isn't set to anything)
that must be like the worst way to create a singleton ever, especially in c++
 
@LewsTherin Sorry, blue screened. The version that lives in azure's site is slightly different than the one that we get off tfs. My hunch is it's not pushing the database. I'm not sure if it's failing the same on your pc or not.
if only Andre would appear.
 
I'd try to build it later.
I know right? Andre get your feathery butt in here!
 
Great. I probably won't need the assist later.
Also, I just hit play on "The Raven." I did not expect to hear distorted guitars right off the bat.
 
Do you agree with this guy?
Da hell!
I understand its not needed. As I stated it just seems more readable to me. — Thomas 3 mins ago
Wtf...
1
A: Assigning return value to a reference type in .NET

Lews TherinIt doesn't create a new reference. But there isn't any point in returning it either. This should suffice: public void SomeMethod(MyClass myClass) { myClass.name = "John"; } The above is natural and actually less convoluted than the way you propose.

Why the hell was the address not working?
I understand its not needed. As I stated it just seems more readable to me. — Thomas 4 mins ago
!!!! :S
I understand its not needed. As I stated it just seems more readable to me. — Thomas 4 mins ago
LOOL
Oh I see.
0
Q: Assigning return value to a reference type in .NET

ThomasIf you create a class in .NET it will be a reference type. In this example I’m setting the name of MyClass inside of SomeMethod. Now inside the Main method I do not really need to assign back the return value from SomeMethod because the parameter passed in is a reference type. I’m wanting the ins...

Ah...
 
7:58 PM
@JohanLarsson the only problem with the Parallel.ForEach is that I need specific control over the threads, so I need to use my own scheduler.
 

« first day (727 days earlier)      last day (4213 days later) »