« first day (2081 days earlier)      last day (2869 days later) » 

7:00 AM
@misha130 LUL
 
@JakobMillah lal, lel, lil, lol, lul, and sometimes lyl
 
LÅL
 
^ best
 
Is there a way to use HtmlFileInput object in the WEB API ??
 
7:10 AM
well yes
 
Freakin bluetooth keyboard. Sometimes alt key is just permanently held down... No idea why.
 
Posted Http File I think @Nought
in the webapi side
or request.files[0]
holds the file after you post it to the body
 
@scheien Quality code right there :P
 
Is it from Web Forms??
So I search and I thought I only works on Web Forms ?
 
Back to making a video of CRPG
 
7:12 AM
@JakobMillah :D
 
Html has Forms in general @NoughT
Web Forms is just a method of asp to interact between server and client
well to make it seem like it, atleast
 
apply state to a stateless protocol, bad idea.
 
it was a step in a "direction" not a correct direction just a general direction
 
What do you think on that please ??
 
7:15 AM
I was talking about Html Input File
 
Well, the internet has great documentations of stuff
 
I thought that System.Web.UI.Control is for Web Forms ??
Sorry
My mistake
 
anyway dont use webform stuff in webapi
 
Idk anything about .NET web development
 
I am talking about HtmlInputFile
 
But thing is we use same core for web api and web forms
 
is it atleast a legacy project
 
So it is working fine when the first time that save the image from the WEB API
But then I try to use that in edit view that using web api
But It dont work
 
I just got confused to be honest
 
Don't mix WebForms and WebAPI.
 
7:20 AM
Of course me 2 that the time when it was working
 
Also, good morning.
 
Good morning
 
but sadly most people do this
 
In theory can it work for the WEB API ??
 
7:23 AM
I went on a mission yesterday to find the best view close to me. Managed to find this 10 minutes from home drive.google.com/open?id=0BzvbErTo9Z89dFdHd1ZmM2lVN1k
 
@RoelvanUden In theory can it work for the WEB API ??
 
I think you should read up more to get less confused
before acting
 
Hey look, roel's back
 
@JakobMillah That's a nice view. You live near the ocean then? Awesome.
 
I abused some UB and made a piece of junk
 
7:26 AM
@JakobMillah No, it's a lake? :P
@Darkrifts Weekend is over -> Roel is back.
 
@RoelvanUden Now -> I guess I now make junky vidyas
 
@misha130 I raed the Doc.
 
Such as the one showing all the functions of the calculator thing I made
 
It says that HtmlInputFile for the Web Form
So how could it possible that work from the Web API ??
 
You know what's fun?
Editing a video frame by frame :D
 
7:30 AM
@NoughT Stop doing the stupid thing, start doing what everyone recommends.
@Darkrifts That depends on the amount of editing :P
 
:P
~very little editing lol
But like 2k frames
 
@RoelvanUden Yeah a lake ^^ second largest in Sweden called "Vättern". I live in the city just at the southern edge of it.
 
@NoughT Because HtmlInputFile is simply a wrapper around an HTTP POST with a form/multi-part content-type.
209
Q: How does HTTP file upload work?

0xSinaWhen I submit a simple form like this with a file attached: <form enctype="multipart/form-data" action="http://localhost:3000/upload?upload_progress_id=12344" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile" type="file" /

 
@JakobMillah Is that.. trees? :)
 
Thank you Thank you.
I will follow your lead.
 
7:35 AM
Just kinda figured out how to apply an effect to multiple frames at once
:D
 
@AvnerShahar-Kashtan Thank you Avner
@RoelvanUden Thank you Roel
 
7:55 AM
1/3 done with my editing at least :D
 
8:10 AM
I'm tying to rename a file (from Action1.cs to Action.cs) in my VS project, but I can't. Error: "This operation cannot be completed. You are attempting to move or rename a source-controlled item where an item of the same name already exists, the item is exclusively locked elsewhere or the item path is invalid."

In the .proj file I don't see anything which is called "Action.cs": http://pastebin.com/Za0mpwXE

Anyone can help?
 
" For any of the inhabited localities in Russia, see Panino (inhabited locality). For other uses of "panini", see Panini."
 
@ErroreFatale Restart VS
 
:D Finished editing
Time to finish it up
 
Restart VS. Get latest version from source control. Clobber local version and Get latest from source control. Erase local code and get latest. Erase project. Quit your job. Change professions. Go live on a mountain. Achieve enlightenment. Return. Restart VS.
 
8:22 AM
wat
 
lol
 
hunger makes people say weird things
*hunger
 
You're not you when you're hungry
 
exactly
have a snickers
 
8:24 AM
lol
Realized I made the vidya 2 fast, so have to re-finish it
funtimes
Undefined behavior is fun
 
I realized that I have to start working but I don't feel like to
 
Restarting visual studio didn't solve the problem
Getting latest version neither
 
@ErroreFatale Next stop - mountaintop.
Check your Pending Changes to see if you have any rename or delete operations waiting. Try undoing them.
 
Welp, finished the vidya I was making
A whole 3 minutes full of junk :D
<--- slinks away
 
8:37 AM
@AvnerShahar-Kashtan no, nothing
there is a Action.cs file that was deleted
Now I'm trying to rename Action1.cs to Action.cs and I have the mentioned error
 
@scheien Trees indeed :D
 
morning all
 
jutro
 
@ErroreFatale Looks like your source control doesn't know that it was deleted. An uncommitted operation.
Is this TFS?
 
Hey All
 
8:46 AM
hi
 
@AvnerShahar-Kashtan yes
 
@ErroreFatale Can you see Action.cs in the Source Control Explorer?
 
@AvnerShahar-Kashtan now I'm unbinding the solution from source control
But I still get the error
Ok... now it's solved
thanks
 
9:10 AM
  if (ListOfFiles.OrcaFilesList.Count == 0 && ListOfFiles.OrcaReorcaFileList.Count == 0 && ListOfFiles.ReorcaFilesList.Count == 0)
            {
                MessageBox.Show("Não existem scripts a serem executados, a aplicação vai terminar");
                Application.Exit();
            }
I do that
but the application doesnt exit
after the Application.Exit()
why is that?
 
WinForms?
 
There may be background threads that refuse to die.
 
Application.ExitThread(); ?
this would work?
yeah I think it worked
with that
 
That's not the proper way. Killing threads is discouraged because they may be doing things.
Gracefully notifying everything to stop and letting them spin down themselves is the proper way.
 
9:16 AM
how does one do that?
is there a way to notify all threads
or do I have to notify one by one?
 
There's no automatic mechanism. If you have a long-running (or infinite) thread, you need to add a way to tell it to stop.
 
the BackGroundWorker had something easy to implement, I can't find something similar for tasks tho
 
there's something like TaskFactory.NotifyAll
 
I'm don't use taskFactory
 
You're probably just hiding a window instead of closing it.
 
9:24 AM
I just run them separately
 
Whenever I need to thread something long-running, that becomes a class which has a IDisposable. When calling the Dispose, the class itself manages whatever that particular thread is doing and makes sure the signal is set to stop. Then whoever used that class just needs to dispose when it disposes. You know, how you're supposed to work with resources ;)
 
Application.Exi() doesn't close it, but Application.ExitThread() does
 
ExitThread might leave external resources in an unexpected state - buffered file writes, locks, etc.
 
well the thing is, before running this form, I know all the other threads are completed because of the BackGroundWorker handler, I make sure that it all completes before proceeding to this form, and in this form I don't run any task before I notify the user that the app will close
 
I have a client/server program that runs over internet. I can connect 2 different devices to the server but I have to give them unique ports or else the server seems to freeze. How do most multiplayer games do this on the same port?
 
9:30 AM
sounds like your server is blocking on every request
 
no, the server works fine if 1 client connects to port 5432, and the other client connects to 5433. But I have to have 2 seperate threads handling them. Cant connect to the same port
 
because you're probably tying ports to threads
sounds like you have 1 thread per port
 
I do. But I cant set them to the same port. I dont mind different threads. But I specifically have to set a unique port on each client. How do I fix that?
 
I don't think you're getting what I'm saying
your tcp listener should not process requests on the same thread that it listens on
 
@StevenLiekens Oh. Then how do I set it up?
 
9:40 AM
that's your job to figure out lol
but basically, start a new thread for every incoming request
make sure your tcp listener can go back to listening asap
 
I have it where the listener waits. When a client connects, then it starts the process in a seperate thread and then listens again. But it has to be different ports. That's currently how it's set up.
 
if the second client can't connect then the server is obviously not listening
it has nothing to do with the port number
 
The 2nd client does connect, but then the first client seems to not be able to send or receive anything.
 
then you're not running on separate threads
 
they are definitely running on seperate tasks.
but you say it should work if they're connected to the same port right?
 
9:52 AM
then someone put a spell on that
 
It felt like there was a spell on it last night when there were so many things to take into account and set up for the server to work online
 
C4u
Hi everyone.
 
hi
the DevExpress refactor sucks
Resharper maye have it's flaws but it's by far the best one
 
morning!
stupid questtion

I'm adding Persons to a database, with an adress and a link to Existing table Countries

however, for every Person's adress, my seed adds a new Country, in stead of just linking the existing one.
 
where is the question exactly?
XD
 
9:59 AM
how do I link in stead of create???
 
can you describe a little better?
you have two tables
persons and countries?
 

« first day (2081 days earlier)      last day (2869 days later) »