« first day (2168 days earlier)      last day (2781 days later) » 

1:33 AM
@SteveG
 
2:12 AM
Can anyone explain why this doesn't work ?
IngredientGrabber grab = new IngredientGrabber();
            List<TextBox> boxs = new List<TextBox>();

            boxs.Add(textBox1);
            boxs.Add(textBox2);
            boxs.Add(textBox3);
            boxs.Add(textBox4);
            boxs.Add(textBox5);
            boxs.Add(textBox6);
            boxs.Add(textBox7);
            boxs.Add(textBox8);
            boxs.Add(textBox9);
            boxs.Add(textBox10);
            boxs.Add(textBox11);
            boxs.Add(textBox12);

            foreach (TextBox box in boxs)
 
@june1992 What does it do?
 
It does or supposed to change the label1.Content when a button is clicked from 12 different text boxes. The idea is to have different recepies pop out on the label if lets say a onion and egg and jalapeno and tomato were typed inside the textbox which in this case seems not to work
hope i explained what im trying to do right :\
 
I asked what it does. Not what you want it to do.
Have you tried debugging the code?
 
Yes it doesn't change the label1.Content at all but no bugs or compile errors
 
Try using the debugger
 
2:24 AM
Nothing is in the call stack . ?
 
step through your code
 
ok
 
make sure everything is doing what you expect it to
 
ok
 
find the point at which it does something unexpected
and find out why it did that
 
2:25 AM
ok
 
2:39 AM
Anyone know of a possible way to bypass steam DRM?
Creating a launcher for a game but people with steam version can't use it due to DRM
 
 
2 hours later…
4:20 AM
Hi
 
 
1 hour later…
5:41 AM
@SagorAhmed Hi
 
Hello
 
Good morning
 
Morning
 
anyone here familiar with wait types in SQL Server?
 
5:56 AM
Unfortunately no
Maybe this is helpful: sqlskills.com/blogs/paul/…
 
6:18 AM
@JackyNguyen Hmpff. Shows how much more a developer I've become than an IT guy (or a DBA, which I never was). I automatically read "wait types" as some sort of data type, perhaps ones involving async i/o.
 
end user cannot distinguish that, everytime things happen, they yell your name haha
 
can you help me about serial port close problem in c#?
 
@misha130 Honestly, I don't know if his entire site is satire, or just specific posts, or if he's playing a long game of troll-the-web.
 
Hi I am trying to traverse a directory in classic as p
Set objFSO = CreateObject(“Scripting.FileSystemObject”)

objStartFolder = “C:\DemoWeb\Template”

Set objFolder = objFSO.GetFolder(objStartFolder)


Set colFiles = objFolder.Files

For Each objFile in colFiles

Wscript.Echo objFile.Name

Next
This is the code
 
6:28 AM
I dont think this specific one is satire
 
But I am getting an error
Please help me
 
because he does own a company that is outsourcing
everything
the whole concept of EXTREME PROGRAMMING OUTSOURCED
 
@SagorAhmed It would be very helpful if you could always provide the error message
 
talking about oursourcing
outsourcing is crazy!
a lot of code is not maintenable
 
500 Internal Server Error
@Bechi
 
6:30 AM
are you talking in general?
 
@misha130 Basically, what he's saying is that one should use async/await in your development procedures as well as in your code.
 
thats...a different article?
t-that can't be...
 
Meetings block several threads. Asynchronous work allow everyone to keep working on things while waiting for the other people's inputs, rather than stopping everything to talk it over.
 
oh I read that as shouldn't use async/await
yes thats his point
 
Of course, I disagree with some of his basic assumptions
> The more we circle this document, the better it becomes.
 
6:33 AM
honestly i always see a couple of people just sitting there in my meetings
doing absolutely nothing
 
I have not found this to be universally true.
 
@SagorAhmed Do you see which line of your code throws the error?
 
I do agree that Meetings (with a capital M) are a waste of time.
 
his first assumption that "jeff" gives him a so detailed document
is also not true
 
how about serial port close ?
help meeee3333
 
6:33 AM
Jeff frankly just mocks up the database and doesn't explain anything
cause thats what he asked
 
I disagree that meetings, short, casual, pop-into-my-office-we'll-talk-this-over meetings, are bad. You can understand something better with a 5 minute talk than with three days of back-and-forth document editing.
 
Bechi I want to traverse a directory
 
yes of course
 
ListFolderContents(Server.MapPath("C:\DemoWeb\Template"))
 
but you know what, I like at least the fresh approach to things of his
 
6:34 AM
my work step is 1. connect port
 
just bring a few new ideas to the table
 
2. scan and received data
 
@yosafat No. Feel free to ask, but if no-one answers, that's their right. No-one owes you help, and whining "help me help me help me!" doesn't make us want to help.
 
That is why I am calling this function with C:\DemoWeb\Template parameter
 
and the balant antagonism towards agile
 
6:35 AM
@Bechi
 
oke no problem
 
But I am getting this error
Server.MapPath() error 'ASP 0172 : 80004005'

Invalid Path

/data/2/sysinfo1.asp, line 16

The Path parameter for the MapPath method must be a virtual path. A physical path was used.
 
why serial port close hangs
why serial port close hangs when received data ?
 
@SagorAhmed Sagor, please don't ping me (remember the discussion yesterday)
 
what kind of computer are you using @yosafat?
on what multi verse are you?
 
6:36 AM
ok
 
i am using toshiba laptop
 
what are the laws of physics that apply to your question?
 
Although I do not know sql in detail, i think the answer is almost there:
 
@misha130: lol
 
"C:\DemoWeb\Template" is a physical path
 
6:37 AM
Yeah
 
(a path on your physical hard drive)
 
My hobby is to answer vague questions with even vaguer questions
 
Yes
 
"The Path parameter for the MapPath method must be a virtual path."
 
isn't it Ron Swanson's style?
 
6:37 AM
WHat will be the virtual path for this
"C:\DemoWeb\Template" ?
 
I don't know the concept of a virtual path in SQL, but I belive you have to get to know this
 
0
Q: C# Serial Port Hangs after received data

yosafatthis is my code public void ClosePort() { if (comPort.IsOpen == true) { Thread CloseDown = new Thread(() => CloseSerialOnExit(comPort)); //close port in new thread to avoid hang CloseDown.Start(); //close port in new thread to avoid hang ...

that is my stackoverflow question
 
@SagorAhmed You have to ask almighty google ALWAYS!
 
@SagorAhmed Server.MapPath translates a virtual path to a physical one. If your URL is ("http://myserver/myfolder/myfile.asp") and you pas that to Server.MapPath, it gives the you the local path on the server (say, "c:\inetpub\wwwroot\mysite\myfolder\myfile.asp")
 
It will guide you a path through the endless forest of wisdom called stackoverflow
a related question can be found here:
31
Q: Getting relative virtual path from physical path

MoonLightHow can I get the relative virtual path from the physical path in asp.net? The reverse method is like below: Server.MapPath("Virtual Path Here"); But what is the reverse of the upper method?

 
6:47 AM
@misha130 Oh, I just reached his final paragraph and have to say it's one of the stupidest things I've ever read.
 
I didn't read through but hahhahahahaha
 
No, Einstein did not sit alone in a darkened room and think of ideas. He was part of an academic milieu. He taught and he talked and he attended academic seminars and colloquiums. He wrote letters and debated issues with his colleagues.
 
well yes its absolutely right
I mean you are right
but if you read his other articles you'll understand whats his general idea is
like "Its not a school"
his approach is basically that every developer is some sort of super hero that has to be able to do everything on his own
 
String RelativePath = AbsolutePath.Replace(Request.ServerVariables["APPL_PHYSICAL_PATH"], String.Empty);
What is the syntac for this statement in asp classic ?
 
@SagorAhmed Have you tried to ask google yet?
 
6:59 AM
Yes
7
Q: Get virtual path for a full path in asp classic

C. RossHow can I get the virtual path for a full path in ASP classic. Note that the full path may be under a virtual directory and therefore the simplistic virtPath = Replace(fullPath, Server.MapPath("/"), "") method will not work. Edit: To clarify, an example follows Full Windows File Path (kno...

I have tried this
 
Morn all
 
Okay, and it didn't work because?
 
I have written this code
Dim sAppMetaPath : sAppMetaPath = Request.ServerVariables("APPL_MD_PATH")
Response.write(sAppMetaPath)
And it returns
LM/W3SVC/1/ROOT
What is this path ?
 
google
"Retrieves the metabase path for the Application for the ISAPI DLL".
Sagor Ahmed, I do not know anything about SQL, but you really have to use google
By the way: It seems that it returns /LM/W3SVC/1/ROOT (the leading "/" is important)
 
7:14 AM
ASP CLASSIC STILL MY GOD MAN HAVE YOU NO SHAME
> Stable release 3.0 / February 17, 2000; 16 years ago
 
@SagorAhmed And another personal comment: There are two things that I (as an unexperienced software developer) enjoy much more than solving a given problem: Solving the problem elegantly, and UNDERSTANDING the concepts behind the solutions. The most interesting thing for me (as a mathematician) is to further understand the ABSTRACT IDEA behind the problem and the solution
 
I have no idea what you're actually trying to accomplish, but I'm guessing it would take only a few hours using a sane framework
@Bechi it pleases me to hear you say this
 
I am tryoing to traverse a directory
I am trying to traverse a directory
 
I usually find myself reading articles, books etc; watching online lectures a LOT MORE than actually coding
 
if you used C# and .Net you could use System.IO.Directory which makes it all trivial
 
7:17 AM
And I suggest you to do the same...
 
I want to do it in classic as p
 
(this is C# chat, btw)
@SagorAhmed WHYYYYYYYY
 
@SagorAhmed: you need to do your own work man, you can't just ask everyone everything you bump into
 
Yeah
 
Good morning.
 
7:18 AM
Good Morning
 
BTW that TV show is about as old as the framework you're using
 
@Squiggle: for the glory of satan of course
 
@Squiggle I still have vs 2005 installed (Don't ask)
 
@DaImTo security nightmaaaaaaare!
 
Its not very happy about windows 10 either. we have a legacy app that my boss doesn't want to bother upgrading.
 
7:20 AM
legacy app ☠ ☠ ☠
 
Job security I am the only one who can play with it.
 
and here I am coding away with aspnet core
 
Good Morning
 
writing tomorrow's legacy apps - today!
 
lol to true
How is core I haven't had time to check it out
 
7:21 AM
ProEmagerhd
 
I keep hating .NET Core because them shitty language devs didn't do non-nullables
IT WAS THE PERFECT CHANCE
But nooooo!
 
@DaImTo it's great - still very much .net. I like the reworked aspnet. It's still lacking some support for 3rd party libraries (and some Microsoft ones) though.
@RoelvanUden lol. It wasn't a language upgrade tho. Just a new framework, innit.
 
Give it some time they will come.
 
Just use F# or something and stop complaining ;)
 
@Squiggle They also did a new language version and really kicked up Roslyn a notch for this, so, a lot of missed chances.
 
7:23 AM
yeah
 
@Squiggle watch your language no need to be nasty
 
I can't imagine the "discussions" that went on behind closed doors in the language design team
 
:)
 
There was probably just a project manager that said "I don't care if it makes sense to you. I don't understand it so we're not building it"
 
It just makes me appreciate the NodeJS stack more, because TypeScript did nail non-nullables and they did it with support for every JavaScript library in existence and these guys from the .NET team can't do it? Balls.
 
7:27 AM
--strictNullChecks available in TypeScript 2.0, right?
 
Exactly
It's such a blessing to work with.
Since I've enabled it on this app, I've never had a null reference happen.
It really eliminates the most common issue
And I really want that for C# too.
 
thumbsup.jpg
 
wait hold on
this typescript 2.0 if I switch to it will I have to tell the whole team to switch to it?
 
Now we're still stooping to Code Contracts (slow and painful) or JetBrains.Annotations (inaccurate and verbose)
@misha130 Switch from what?
 
1.8.1 to 2.0
 
7:32 AM
Yeah? Just like 1.6 to 1.8.
 
I guess next project then..........
 
What, why?
 
installation time etc
 
because Change Is Hard
 
^
 
7:32 AM
Installation time? Are you kidding me? That's 1 minute.
For hours upon hours of debugging removed
 
I am in this project 4 weeks and I had one problem that this could've helped with
ONE
I'll be fine
 
You're probably underestimating the ridiculous amount of potential bugs you have.
Someone picks up something, writes a little fix or interacts with some code, and boom.
I was genuinely surprised how many potential issues there were in my hobby code base. A code base I work on solo and know in and out, yet still, hundreds of pitfalls.
 
what if my design is bad and I'll have to reconstruct everything?
and then I'll have a good project but I'll be so far behind on my schedule that I'll get management on my ass
 
Shrug See if I care about your code quality then...
We could all still be writing fucking PHP because shit, management doesnt care anyway
 
well to be honest I'll do it
RIGHT NOW
 
7:40 AM
FYI 2.0 is in RC now.
 
take in to consideration that ionic 2 is in beta 12 anyway
 
We're probably going to adopt Ionic2 very soon
 
I don't see any benefit to Ionic over plain Cordova tbh.
 
native-style interfaces for different devices
 
I can't believe that works well.
 
7:48 AM
you'd be surprised. They've put a lot of effort into it, and it's very convincing.
 
Is there any way to see some examples?
Because all I see is totally-not-native look
 
if i want any help in rdlc reports in mvc what room can i enter ?
 
all the components have examples of their rendering in three different mobile OSs
@ProAmgad for ASP.Net MVC that'll be here. For rdlc... dunno.
 
@Squiggle thanks
 
@ProAmgad are you developing reports? or just trying to display them in a webpage?
 
7:55 AM
@Squiggle i know how to display it i but i have nested list and don't know how show it with subreport
 
ah, yeah. Were you here a few weeks/months ago asking about the same problem?
 
just from yesterday !
 
:) it must be a common issue, then!
 
Ionic is great actually
it makes me spit out apps like a machine gun
 
yes i asked it in stack overflow but no one understand me or i asked it by error way hahahah :)
 
7:58 AM
@Squiggle Yeah, they all look quite-not-that-accurate.
 
better than I could do myself.
 
Possibly, I just tend to make a 'company-style' instead.
 
I'll find out once I start using it :-]
 
Because native-looking but not-really-native is way more annoying IMHO.
 

« first day (2168 days earlier)      last day (2781 days later) »