« first day (1005 days earlier)      last day (4169 days later) » 

00:03
@sehe Hello there, C++ goer.
@RyanTernier +1
00:53
@jaminator You're going to have to examine every entry.
Few options:
Brute Force + Threading
Flatten the tree and sort it
 
1 hour later…
Yul
Yul
01:54
Anyone availble?
i need help :)
i have problem with ajax post data from view to controller
idk much ASP...
Yul
Yul
i got A potentially dangerous Request.Form
i try all thing
validation input = false in controller
page validation request = false in view
http runtime requestValidationMode = 2.0
and it only got error on firefox
and page validateRequest="false" also :(
02:09
why is everyone doing high level app development in javascript now? it seems like a step backwards to me
Why is it a step backwards?
JavaScript gives you full control over your web page
It's the mainstream web dev language.
it gives you seemless updates
Yul
Yul
anyone have advice for me
@Yul It's dangerous because you are not validating
Yul
Yul
02:20
i dont write this piece of code
just continues work from old one
i dont know why he used encodeURIComponent
but firefox still catch while chrome let it through
this is mvc1 project. :(
it runs normally on local
Yul
Yul
02:36
@RyanTernier: do you know what cause undefined popup
i search google but i don't find anything useful
when i set <httpruntime validateRequest=false> that code work but i trigger a popup message with undefined message
02:57
Hi all ! can you help me with this problem stackoverflow.com/questions/17683985/… Thanks
Yul
Yul
03:33
problem solved T___T
 
2 hours later…
05:09
Having an issue porting some WinForms drag and drop to WPF...
3
Q: Porting WinForms drag and drop to WPF drag and drop

Austin HenleyI am porting my program from WinForms to WPF and have ran into some issues with the drag and drop. It should allow for dragging from a TreeView (it is like a file explorer) to a textbox which opens the file. However, the WPF version acts like a copy-and-paste of the TreeViewItem's header text aut...

 
2 hours later…
07:07
i have a tree view and bind data from a datatable ,
and i want to give a button near a node so on clicking that button the user navigate on edit page,
0
Q: How to Resolve "A connection attempt failed because the connected party did not properly respond after a period of time" error in asp.net

ramanI am using the following code which is working on local machine, but when i tried the same code on server it throws me error A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has faile...

please help me
ro check the connection string
 
2 hours later…
09:25
I have a really dumb question
Anyone here (ASP.NET MVC deployment)
09:39
@Benjamin Post it , someone would answer
anyone good at optimizing code with if statements, arrays and for loops?
Hey all I was wondering if anyone knew how to unblock Windows Firewall for a basic C# Socket program
user142019
09:55
Anyone here experience with deploying server software, and in particular updating it while it's serving clients?
@rightfold No experience here, but I'd imagine you'd have to make a sort of load balancer that can be commanded at run-time. For example to register a new port for the new server software while commanding it to wait until all connections are released to the previous instance prior to closing it. A command hub, if you will, that never changes itself.
I once updated media streaming program while it serving videos to clients.
user142019
@RoelvanUden Yes, I was thinking that too.
user142019
In Erlang this would be easy, just upload the new code and it will automatically reload it on new connections. :P
That is both amazing and scary.
user142019
10:02
I think I'll provide some command for my workers that makes them restart themselves when they have no more requests to process.
user142019
@RoelvanUden Works pretty well. It adds version numbers to modules, and checks those when calling a function in a module.
That would work if you can hot swap the executing binaries, but on Windows operating systems you can't do that so they might need some form of temporary copies as well?
user142019
If a new version of the module is available, it first loads that.
user142019
@RoelvanUden exec(3)
@rightfold So you deploy on Linux? Easy then :P
user142019
10:04
Of course. :P
user142019
My workers are written in Go.
I currently serve static files using Nginx but I may want to switch to a CDN. I can have only 500GB traffic per month on my VPS.
user142019
(I also use Nginx als load balancer.)
user142019
Hot swapping using dynamic libraries may be interesting.
user142019
Not sure how well that works with garbage collection and reflection, though. If you still have objects around, you can't delete the reflection data from memory.
user142019
I think I'll just do something like this:
user142019
10:11
Start back-up workers with old code.
Terminate main workers.
Start new main workers with new code.
Terminate backup workers.
user142019
The tricky part is ongoing requests. I don't want to cut those off.
user142019
Let alone database transactions.
1. Start new workers with the new code.
2. Hook the new workers into the main application to handle new requests.
3. Signal the old workers to terminate once connection count reaches zero.
4. Done?
Something like that I suppose
Hi, I need help with web service which doesn't allow connect clients wtih him and throws too busy
user142019
@RoelvanUden Yes.
10:16
Hi, How will you get a Masked Texbox to start from right to left when you are setting it's value.
user142019
Though I don't think Go's HTTP interface is flexible enough to get notified when the connection count changes.
Because currently a value of 0.14 shows up as 1.4
user142019
The CloseNotifier interface is implemented by ResponseWriters which allow detecting when the underlying connection has gone away.
user142019
CloseIdleConnections closes any connections which were previously connected from previous requests but are now sitting idle in a "keep-alive" state. It does not interrupt any connections currently in use.
user142019
This is nice.
10:20
I receive error in client while I try to consume web service:
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at CreativiumCounterService.RemoteServiceLancerto.IWebService.syncronizeCounter(SyncronizeCounterData data)
at CreativiumCounterService.DatabaseSync.syncronize() in d:\Projekty\Liczniki\CreativiumCounterService\DatabaseSync.cs:line 261INNER EXCEPTION: The remote server returned an error: (503) Server Unavailable. at System.Net.HttpWebRequest.GetResponse()
(see full text)
10:40
how to bind a MVC dropdownlist from Json list through jquery
got it. just a semicolon.
hey, does anyone here feel like helping this guy out? stackoverflow.com/questions/17697030/…
I feel like I've done all I can
11:36
@MiklosAubert It's a very poorly formulated question, I read your entire conversation and I still don't know what the OP wants
@RoelvanUden -> sry, what's the meaning of OP in ur words?
Observation Post?
@MRS1367 Original Poster
@RoelvanUden -> tnx
sup dawgs
11:54
@ActionHank I received my graduation contract, yay, sup there :P
12:04
@RoelvanUden : agreed, but I just didn't feel like flagging the guy :)
yo
12:45
@Roel so happy for you!
Hi steve
I just got my iphone 5 :)
late to the party as always
@ActionHank are you on iOS 7 yet?
nvm, apparently it costs $99 a year
@kush no, I don't have a developer account ;)
I will get it as soon as it's released though
kind of the reason I opted for an Iphone rather than the HTC One or Galaxy S4
(it's provided by my employer)
13:04
@ActionHank I wish you got a nexus 4
but if your employer paid for it, then that's a good deal
@ActionHank Oh congrats :-)
hey hey
man i hate this c lass
13:10
four hours long, the guy is smart as hell but its the first time he's teaching this class.... so terrible
@Steve Which one? System.Console?
project management
how much i hate Dijkstra's algorithm
System.ProjectManagement?
:P
@KendallFrey did you get a job that actually pays yet, or are you still getting fucked over
13:11
The latter.
@Steve Hi
@LewsTherin hey bud
@Steve With his cheeks spread wide ;(
sharp intake of breath
13:12
lolz
Kendall feels a little flushed, his face warm, and the blood pounding in his ears. Heart racing.. with nervous excitement..
#roll play
@KendallFrey lmfao
@ExcelledProducts *roleplay
way to call me out #rage
13:15
Sticks and stone may break my bones, but Steve and Lews excite me...
@ExcelledProducts Why would anyone hate such a beautiful search algorithm.
lol
im not i just want to know if its the best way
He is nervous, but excited! How can that be? Steve touches him, and he couldn't control the involuntary gasp of pleasure that bursts out from chaffed throat
My God, I should be an author.
this is fucking weird.
13:16
OMG
^^
like is their a better way to go through all the nodes to export them to XML?
I'm right here laughing my socks off. LOL
Hi guys ..
@LewsTherin lmfao
I hope you are, you pervert.
13:16
hi Frey ..
@LewsTherin Unfortunately it's male-on-male literature, I'd read the female on female version you'd write.
I bet you read 50 Shades of Grey religiously.
@RoelvanUden Oh dude, if I do that... none of us would be able to help ourselves.
@KendallFrey Fuck no
I heard it was shit anyway
13:17
Oh, I would help myself quite violently.
Guys i have a question .. Can anyone tell me!
I have 3 tables: Prod,Item,ProdItem. prodItem contains foreign keys(Prod_id,Item_id). While inserting record in
item(where its primary key is type int and increments automatically when a record inserts) I also want record to
be inserted in prodItem through my code. I could achieve this by querying Item tbl and get item_id and nserting that into prodItem ..
but that doesnt seem coool.. Any smart solution?
...
slow down speed racer
@ExcelledProducts Dijkstra is great if you don't have a set destination. For example, think of a harvester in Red Alert that needs to find the nearest ore to gather, that's where Dijkstra is amazing. If you have a destination, e.g. when moving soldiers to attack, you can use A* for better performance (A* is just Dijkstra with a little heuristic addition)
13:18
@Sadiq Can I tell you your question? Dude, I ain't no psychic?
@RoelvanUden oh I though you were talking about my question :D
@RoelvanUden no its just so so overused
any suggestions for the posted question ??
what question
0
Q: Exporting treeview to xml format

ExcelledProductsWould using a Depth Test Search on a populated tree view the best way to get information and export it to an XML file? Depth Test Search

The posted one, dumbass.
13:20
@ExcelledProducts If you hate overused items, you should also hate cars, aeroplanes, whores and Kendall Frey. :O
this is my question
@RoelvanUden " and Kendall Frey". You bloody genius!
bloody :O
@RoelvanUden smartass -.-
13:21
I have a smart ass. It keeps away from Steve.
Just saying that it is completely irrational to hate something just because it is popular. ;)
@KendallFrey HAH. :D
CAn anybody help meeeeeeeeeeeeeeeeee
time to help that guy
thx
let me read your speedy answer slowly
13:22
take ur time .
yes creating a query to do it would be the best way
also to make it faster you could record what has already been done so the next time you execute the query you dont do the same items again
yah but it doesnt seems to be cool... querying that tbl again !!
@Sadiq If you insert with auto increment, you get the generated ID back from the database. You can just use that.
And consider using a transaction.
would you rather loop through everything instead?
Or you can even use a trigger, but THAT is lame.
13:25
how could get the generated ID back from the database??
@Sadiq It returns it. Look in the docs of whatever driver you use.
@RoelvanUden way to steal my thunder :(
im using sql server 2008
@ExcelledProducts Sowwy.
where could i exactly fingd it?
13:26
@Sadiq ADO.NET?
yes
@Sadiq i am happy that you arent using a access database
:)
microsoft should stick with IDE's
13:28
What's the alternative to Access?
SQL server
@KendallFrey SQL
where is the incremented value is saved ... how could get to it ??
@Sadiq ADO.NET does not expose the ID directly, you select it.
SELECT @@IDENTITY
damnit roel
13:30
What?! :-D
Ok ... thanks .. let me browse a bit ..
WHY YOU HAVE TO BE SUCH A FAST TYPER :(
right about to type use SELECT then i see you answer it
@ExcelledProducts I wrote a database mapper so it's second nature to me :P
many thanks ... ! @ Excellent pro, @Roel Van
i try to be a fast typer when programming and i make so many mistakes
so i just go slowly like 10 words a minute
13:31
@ExcelledProducts It's better to think faster than type faster :P
Any programmer is reading more than writing. :)
It's normal to not pump out code like a novel artist
@RoelvanUden i have a question for you. Is their a way to bypass a web browsers file downloader so it doesn't download anything
@ExcelledProducts Bypass it?
@RoelvanUden so like my web crawler will run into direct links and direct the webbrowser to them and i dont want the webbrowser to download it is their a way to do that
A web browser component of some sort?
yes the webbrowser component no like IE
not*
not IE or Firefox or Chrome
13:35
Well, a regular browser will look at the content type it receives to determine what to do with it. HTML and XML are often rendered, as is plain text, and a lot of other types are just considered to be attached files and downloaded. You can force a regular browser to download an item with content disposition, but not the other way around.
@ExcelledProducts What do you want to do with the URL instead, if not download the contents?
A programmable web browser should not be deployed in crawling tbh :P
i just want to add it to a tree
Use regular HTML scraping and http requests.
@ExcelledProducts I thought you wanted to find links in the document.
13:36
oh I already did that
i implemented a Depth First algorithm into the code
no
OMG
a Breadth First
... What the hell?
You can't scrape a document without downloading it -_-
keep on getting the to mixed up
i know i do download it but my web crawler will run into direct links and I want to stop it from downloading them
Why wouldn't you use a library such as HtmlAgilityPack to write a single line of code to fetch everything you need, e.g. Document.DocumentNode.Where(x=>x.Name.Equals("a"))?
@ExcelledProducts What do you mean by 'direct links'?
13:37
Using a web browser component is just... strange.
Is http://google.com a direct link?
@KendallFrey i mean like links that don't have a source.
like they will direct your webbrowser to a link then download the file
A source? wtf does that mean.
You mean like a link to a zip file?
@RoelvanUden i have a beast regex code
@ExcelledProducts .... slap
13:39
@KendallFrey yes like a link to a zip file or
I guarantee you that your regex is broken for HTML scraping purposes.
trying to find a direct link
You mean, an anchor?
Dim regxURL As New Regex("http(s)?://([\w+?\.\w+])+([a-zA-Z0-9\~\!\@\#\$\%\^\&amp;\*\(\)_\-\=\+\\\/\?\.\:\;\'\,]*)?", RegexOptions.IgnoreCase)
this finds all links on the page that have http or https
There are two ways to avoid getting non-html links. 1. The Guessing Way: Check the file extension of the URL 2. The Proper Way: Use a HTTP HEAD request and check the Content-Type
13:41
ok
can you give me an example of an http head request?
Note: A lot of dynamic code does not support HEAD
@KendallFrey lol i knew you were going to do that
grrrr
13:47
Who is that?
Stevo?
That's what he said.
Lulz
I wonder if the guy behind him knocked both of them out.
whaaaat
@Steve What is he doing?
13:49
fapping in a corner?
Or as Minecrafters call it, "shifting"
@LewsTherin looks like he's strapping on his flak jacket...
Lulz, I thought he was having a piss or whatever. And got pissed off when he saw the picture later.
@Steve You sure about that? He is more likely to be fapping
He's getting ready to fap, by putting on his flak jacket.
I'm not an expert at weapons but is that a minigun?
Start VS memory allocation profiler, app doesn't start... anyone have this problem before?
13:51
@LewsTherin I doubt it.
Doesn't a minigun have multiple barrels?
@LewsTherin 12 guys in 1 small bed room.... just cover up with a blanket and everybody else pretends like nothings happening
@KendallFrey Not sure. I never googled it.
we had a guy named hicks who would just hang a blanket from the top of his rack, and go to town lmao
@Steve Lol. Awkward. You must have seen a lot of weird shiz
@Steve A guy named Hicks.. for real?
Yeah, he was an idiot
lol
13:52
That is really... awkward.
its not as awkward as you think
@LewsTherin Dat facial expression.
we spend every waking moment with the same guys for 2 year, fighting and bleeding together
@Steve And doing more pleasurable things together
13:53
fapping together
@KendallFrey Ikr?
lol well, where else are you going to do it
"every waking moment" You just mean every moment?
yeah pretty much
@Steve On the battlefield, when everyone else is busy.
13:55
that hicks guy always had to shit, we'd be on patrol in the middle of an iraqi city with tons of people around and he'd always have to shit, we'd have to stop so he could squat and shit on the sidewalk lmao
MY MENTAL EYES THEY BURN
he'd be sitting on post and would have to shit, we threw him a cardboard box cuz he couldn't leave post
Is there a way to iterate through an UIElementCollection ?
lmfao iraqi army guy freaked the fuck out when he saw the guy shitting next to him
soooo funny
13:56
@Steve WHYYYYY
Did he carry TP in his backpack?
@AndréSilva Probably with foreach
@JLott why what
@KendallFrey MRE napkins
@KendallFrey Captain Obvious to the rescue !
@Steve Follow the reply...
Is there more than one in a package?
13:57
@JLott i did, why did i post it, or why did he get shot
@KendallFrey no you save them, TP was hard to come by
@Steve I guess both. Although I am assuming it was the military
you hold your shit until you have enough napkins to wipe your ass
As I recall, those plastic spoons are useful in multiple situations.
while at our FOB (larger base), we get plastic bags to shit in, they're called "Wag Bags", you can google them
What if you had a gun in your face.
Shat yourself?
13:58
@Steve Or I can not google them, TYVM
Nope, not clicking that.
@Steve Not to be misinterpreted for swag bags
@Steve sfw?
you have no idea how nice it is to shit in an actual toilet until you had to use cardboard boxes and plastic bags for a year
13:59
@JLott What's that?
@LewsTherin yeah, its just a site that sells the wag bags...
@Steve Lofl
I give up. I clicked it.
@JLott idk what that is either
@KendallFrey lol

« first day (1005 days earlier)      last day (4169 days later) »