« first day (2039 days earlier)      last day (2911 days later) » 

user47589
3:05 AM
@OmegaExtern no, it doesn't contradict it, because it isn't a documented language or framework feature. it isn't intended for your use.
 
3:46 AM
@Amy
 
4:25 AM
@Amy I have tried to use "params object[]" - supported and documented feaure, but guess what there are exceptions thrown now all over the place
Just great
jit happens
 
 
2 hours later…
6:16 AM
morning lads
beautiful new day for developing shitty apps
 
6:32 AM
Morning
The weather sucks
 
hello guys
i use asp.net web forms
i created a web method
but how can i send a request using jquery?
GetVmDetails.asmx with webmethod (GetVmInfo() )
which is the path ?
./GetVmDetails.asmx/GetVmInfo ?
 
@AdanRamirez this.View(q)
 
Hello Guys
I am working on VSTO Add-in for Ms Word
Can anybody suggest me how to get Sign-in certificate?
 
@RoelvanUden How do I write a game similar to World of Warcraft in C#?
 
@JakobMillah www.l2jserver.com for lineage
 
6:47 AM
@gtzinos Shieet
 
@NanjiMange do you mean a signing certificate? Buy one from a code signing authority like Thawte or Verisign
Visual Studio will also generate a self-signed certificate for you but this will only be accepted by your development machine, nobody else's
 
@TomW I am new in the field of VSTO Add-in. I have created an Add-in. But it is only working in my system. When I try to publish and install in other system, it doesn't work
@TomW Can you please suggest me how can I get certificate? So, I can install that Add-in in other system.
 
I just told you
 
@TomW Can you please suggest me link or steps about how can I get certificate? So, I can install that Add-in in other system.
 
Buy one from a certificate authority.
 
7:01 AM
@TomW How can I buy? Can you suggest me any link?
 
Google it.
 
Okay.
I have created Word Add-in in Visual Studio 2013. Can you tell me about it support with Mac Os? I want to clear this before work over full project.
 
hi guys
I have 1 winform desktop application which call my web api service to save data in database
but my desktop app gets hang on web api service call
0
Q: My desktop application get hang on web api service call with async and await

LearningI am getting lots of delay when saving data in database.i have one exe(Deskptop Application) which reads data from serial port and push that entry in to database through web api service but my application get hangs on this line: httpClient.PostAsync("api/MyController/Save", httpConent).Result; ...

 
7:18 AM
@Learning??
You got your answer from the comments, right?
 
@misha130:Trying with it
 
You are telling the thread to wait with the .Result
 
7:29 AM
@misha130:but when i do like this:await httpClient.PostAsync("api/MyController/Save", httpConent);
i get error:Await can only be used with async method
as per the comments
 
add async to your method signature
like public async Task<ReturnType> MethodName();
basically you need to notify the compiler that this method is going to be asynchronous or can be such
and you do this with your method signature
 
public async Task<ReturnType> CallWebservice()
{
}
right???
 
well replace ReturnType
with whatever you are returning
if you are not returning anything do Void
I want to elaborate because I dont actually want to work
The Task that this method returns is basically an async Process that other classes/methods will understand that it requires time to execute
and can be handled appropriately
 
@TomW I have created Word Add-in in Visual Studio 2013(New Project -->Office/SharePoint-->Office Add-ins--> Word 2013 Add-in). Can you tell me about it support with Mac Os? I want to clear this before work over full project.
 
hello guys
i use asp.net web forms
i created a web method
but how can i send a request using jquery?
GetVmDetails.asmx with webmethod (GetVmInfo() )
which is the path ?
./GetVmDetails.asmx/GetVmInfo ?
 
7:45 AM
I recommend that you convert your asmx service to a Web API controller
asmx is obsolete technology
but yes your path seems to be correct
 
7:59 AM
what does var mean in javascript? is it a copy of the variable or its reference?
  var iteminv = _.findWhere(inv.items, { "Code": row.CODE }); -> didn't change the original item
   iteminv = _.findWhere(inv.items, { "Code": row.CODE }); ->  changed the original item
 
Javascript is pass-by-object, which means that variables are references to objects.

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
 
morning everyone
 
@NanjiMange I don't know, but I think probably not. I would be extremely surprised if the Mac version of Word integrates with .net in any way
 
@misha130 What you are experiencing here is that if you use a variable without declaring it (var), you use an existing one. Also browsers are "nice enough" that if you write to a non-existing one, it will create it in a global scope.
 
I thought so...
so its document.iteminv or something like that
 
8:14 AM
window.
You should use "use strict" so that it shouts at you instead. Look that up.
 
I see...well anyway I dont want it to shout at me, I just want it to reference
which it did
 
does anyone know a good tutorial on how to build an event calender in c#? I can't find anything useful
 
What parts is an event calendar composed of?
 
what do you mean?
 
That was a hint. There's not a tutorial for everything. Why do you think there should be a tutorial for that?
 
8:24 AM
actually I found kind of one in code project
I've found several now xD
hmmm there is everything for winForms why shouldn't be a calender :p ?
 
I bet there are some around.

In the end, it's rather simpel. You just have to split up all the components and work from there
 
I wanted something like the outlook or google calender
something like that is perfect
 
Well. Gotta start from one end and work your way up :)

First display a calendar
Create event -> Display event
Edit event
Delete event

Different handlers on the calendar and what not
 
@TomW I had discussed with a developer. He said it is possible, "stick with the fully functioning desktop addins or move to the newer but not-so-complete Office 365 addins". I didn't get what he wanted to say. He was in hurry so I couldn't ask him.
 
Im not finding the controlls to use :\
 
8:30 AM
Create event contains:
Title
Date
From/To time

etc
 
I knw I have to use calender
 
8:44 AM
how would you display this in a html table ?
http://services.odata.org/V3/OData/OData.svc/Categories?$top=1&$select=Name,Products/Name&$expand=Products&$format=json

or

http://services.odata.org/V3/OData/OData.svc/Categories?$top=1&$select=Name,Products/Name&$expand=Products
 
month calendar control sucks
doesnt really have aby functionallity for what Im looking to do
 
does anyone knows any good OData JS clibrary
 
I've found this
I think it has all the features I need
 
G'DAY
 
morning sippy
 
9:03 AM
@TomW

how would you translate "Finns det hjärterum så finns det stjärterum"?

It's a saying.. Like... If you are good friends, you can... crowd together?
Something like that :P
Sorry for missing the question.. I usually don't check SO
I have a major issue with my database... For some reason, the database want to access a database it's not supposed to access...
I have no fucking clue why
 
@JakobMillah translater says it starts like this: "Is there room in your heart..."
hahahahaha
 
....there's room for your arse
PRetty much the translation.. But it's a pretty weird saying.. Very old
 
maybe a popular saying?
 
popular? Well, maybe 80 years ago
:P
 
hahahahahaha
XDDD
@JakobMillah I've found such a gold mine in my attick yesterday :o
 
9:07 AM
I mentioned it because a clumsy translation at Eurovision raised some eyebrows
 
*attic
 
"If there's room in the heart, there's room in the butt"
What you do in your own bedroom is your own business buddy
 
var select = new OracleCommand(@"SELECT GGDSC FROM APPLCONFIG WHERE GGCOD='APP_NAME'", ORAConnection);
I know this is the most stupid way to do it
how can I parametrize that select?
 
@Mr.Toxy What did you find? :p
@TomW Hhaha, ye I know there is a saying in English that is the same. But I don't think that is it xD But "If there's room in the heart, there's room in the butt" is slightly wrong hahahah
 
@JakobMillah nitendo 64 with original controllers plus mario kart 64, wave racer and fifa 64 :o and a sega satrun with te controller, 2 playstation 1 and onde had tekken 3 in it :3 and a mp5 to play on playstation 1. was so happy ^^
 
9:13 AM
@Mr.Toxy ohh shieet.. I played N4S UG2 the other day, but it looks pretty bad on a 720p screen
 
the mario kart was being sold on amazon by nitendo for 499$ but I think it was brand new... mine sells for 40$ if lucky
but wave racer could get 100 maybe dunno
but they are for my kids I wont sell them anyways :
:p
 
Ye, let your kids play some gold games!
Super Mario on N64 was freakin great
 
mine is the exact same one
but the back label is messed up bc of the humidity
 
Too bad it's at my dads place... I miss my N64.
 
@JakobMillah go get it man
 
9:18 AM
@Mr.Toxy I havn't seen my dad in 9 years, so... No. Rather buy a new one
 
I cant find my fifa version anywhere. the front cover is different from all I've seen online, maybe it's bc it's the european version dunno
@JakobMillah ohhh Im sorry to hear about that
 
@JakobMillah Heh, do you know there are emulators for Nintendo and PlayStation? :P
 
@Mr.Toxy Don't be. Just part of life :)

Might be!
@OmegaExtern Emulators are not the same thing :P
 
hmm
 
@JakobMillah yeah Life is a real bitch
 
9:21 AM
where did Adan go, i need my entertainment.
 
@Froxer No idea :P
@Mr.Toxy Sometimes, yes. But really depends on how you tackle it on a daily basis
 
Anyone good.. or at least have a grip on Batch scripts?
 
@Froxer Not really. Havn't written one for years
 
@Froxer I do know Batch ;)
 
Ok, let me diffuse this Batch file and put it into a pastebin :)
defuse is probably a more correct word.
 
9:31 AM
@JakobMillah sometimes it's harder then others.
 
Basically take away real values but keep the functionality.
what is the word ? :o
 
@Mr.Toxy That is true, yes!
 
By taking away, i mean writing them as val1, val2, val3 etc
 
im fucked at work
 
9:33 AM
yesterday was the final and benfica (soccer team) won the 3rd championship in a row, and sporting who is a lazy corruption filled 2nd place team lost. hahahahahaha and at the office the helpdeskers are all from sporting... so Im making fun of them now. Got to take advantage of that
and they said Im fucked... hahahaha bastards
 
Ok, basically. Current script insert 4 different logs of data into 4 different databases. Creates a table and bulk inserts the data into them with the other batch script it is talking to.
 
dont win shit 14 years straight
 
Instead of only inserting 1 table of data per database, i want to accomplish 2 tables of data per database. I tried to grab the code from Ourdate to and including the Do
But it didnt work.
I assume, because it didnt find the path ... ?
 
@Froxer You are right. "cd %~p0" that doesn't seem right to me.
 
hmm
if i used 20160102 as ourdate from the getgo, that single table would work.
How would i write it if i wanted one script to do multiple iterations ?
in a unknown environment
 
9:40 AM
Should TFS be putting javascript packages got via NuGet into source control? i.e. the actual scripts?
 
I know the Tree by the environmental variables
 
@Froxer You know Batch is meant for Windows OS?
 
Yes
the applikation will be on a windows operative.
application * that swenglish.
 
@Froxer So you mean across Windows systems?
 
no, i mean i wont know beforehand if he puts it in C:, D:, F: et.c
Or in what folder et.c
Only the tree after he has run my script.
But after the first iteration. Where am I ?
 
9:42 AM
if you don't CD..
 
but i have to
All data is sorted by rail - > year - > month
 
Where do Batch files reside? Are they in another folder?
 
Everyday = 500K ish rows of data. per rail
Yes, batch files are in a "readybag" folder.
 
So, an example, "C:\batch\readybag\rail\2016\5" is where CreateTableFillTableBatchFile batch file is and you have launcher-batch in "C:\batch" ?
 
C:\Users\UserName\Documents\Visual Studio 2015\Projects\ApplicationName\ApplicationName\ReadyBag

C:\Users\UserName\Documents\Visual Studio 2015\Projects\ApplicationName\ApplicationName\Rail\RailName\Year\Month
 
9:48 AM
someone was clever enough to make our UserManager class extend a BaseManager class that requires an existing user object in its constructor
smh
guess what happens
they pass in a dummy user, get the real user and then reinstantiate the whole thing
 
!!wat
 
is that kendal fray?
OMFG
HAHAHHAHAHA
 
kendra fay
 
well done to the genious who done this
hahahaha
 
9:51 AM
WAT?
 
this site
UGH
 
WAT
 
!!wat
 
the damn edition
 
9:52 AM
@OmegaExtern does it make sense?
 
@Froxer Yeah, one moment
 
do any of you guys write your own sql migration scripts?
 
All the batch files are in the same folder. Only the data is seperated @OmegaExtern
 
Define own SQL Migration scripts @StevenLiekens? I fucked around a ton with bulk inserts and what not.
to get the scripts flowing
 
9:55 AM
@Froxer "All the batch files are in the same folder" Wait what?
 
Yes.
 
meaning you don't use database sync tools
 
@Froxer Why do you CD then?
 
do you handwrite your database change scripts?
 
The ~\Rail\RailName\~ only include data in form of flat files.
 
9:56 AM
since we are talking about BD'S
 
Change Database ? its just use dbname ?
Do you mean take Data from DbName, to DbName
Idk, i know how to do a Bulk insert
And I know how to Select data from a DbName.table
But idk what more specific you need help with @StevenLiekens
 
oh I was just asking
I don't need help
 
oh ok :P
 
I'm beyond helping
 
ohhh dont say that
 
9:59 AM
I made some sql helper functions that you can use in migration scripts
 
have a cookie
 
like
IF dbo.fnColumnExists('dbo.MyTable', 'NewCol') = 0
   ALTER TABLE dbo.MyTable ADD COLUMN NewCol int
END IF
stuff like that
 
@OmegaExtern Im not sure, it seems unneccesary by looking at the script. First we jump up one step

then we jump stright into it again ? And do what is inside the for loop...
 
@StevenLiekens maybe you can help me with something
 
but I guess nobody handwrites their own scripts anymore
 
10:02 AM
I mean, i do
and that would actually be really useful
 
Thank you @StevenLiekens
so i guess what breaks the operation is that we switch folders unneccessary?
 
@StevenLiekens I have this select:
var select = new OracleCommand(@"SELECT GGDSC FROM APPLCONFIG WHERE GGCOD='APP_NAME'", ORAConnection);
It's for oracle, but I wanted to parameterize it , so I've added parmeters such as :column, :table, :where and than add them like this.
var select = new OracleCommand(@"SELECT GGDSC = :column FROM APPLCONFIG = :table WHERE GGCOD= :where", ORAConnection);
and had with value later. but it doesnt work :\
 
I guess he tries to find the script, one folder too high in the tree.
because of the cd .. cmd
 
sorry I've never used Oracle
and that is probably a good thing
so I'm gonna keep it that way
 
10:04 AM
Hi, can any one help me out to resolve this problem.? stackoverflow.com/questions/37248830/…
 
damn :\ on SO they have done it like that aswell. guess I'll try it again
 
What error do you encounter @Mr.Toxy?
 
@Froxer for example it says "FROM was not found where expected" even if the statement is well written
I will give it a go 1 more time
 
at which point do you set the parameter values?
 
well, the statement might be well written... what is it trying to find and where tho ?
 
10:07 AM
wait what
you can parameterize table/column names in oracle?
 
I will write it all down and paste it here
 
obviously it is trying to find something ?
 
!!wat
 
0
Q: Download Video File via video URL in windows phone 8.1 C#

ArsalI have tried to download video file from video URL. Video file created but downloading does not happen here. just 57KB file generate. My code is here. public async void DownloadTrack(Uri SongUri, string fileName) { using (HttpClient httpClient = new HttpClient()) { ...

 
10:10 AM
@Arsal You already linked that thread not even 5 min ago.
Stop spamming
 
ok.
 
var select = new OracleCommand(@"SELECT GGDSC = :column FROM APPLCONFIG = :table WHERE GGCOD= :where", ORAConnection);
this doesnt make sense
I think I can only use it for the WHERE clause
 
Are you sure the TableName is "APPLCONFIG" ?
Since from the errormessage it seemed to not find the table.
I dont know Oracle
 
@Froxer yes it is. but it doesnt make mushc sense the syntax right?
SELECT GGDSC = :column
 
But in SQL, that is the message i would get if i had a FROM BadTableNameValue
 
10:12 AM
this is weird imo
 
idk, im hungry af. gl hf for now :D
 
Hello, I am trying to seed my database with Faker.net but it creates phone numbers to long, how would I set a max amount (11) to it?
 
why would DbSet.Find return null for a key that does exist in the database?
wtf is going on
oh
 
10:27 AM
I give up with this VSTS shit ... jeez what a half arsed pile of crap
 
hahahah
 
i have a bug on the backlog > right click => assign to sprint => go to sprint ... its not there!!!
wtf is that shit about?
tasks are even funnier ... they seem to have their own rules about when they choose to appear
I seem to be able to create a task in the sprint but I can't put a task from backlog in the sprint
who's bright idea was that?
 
Hi all
Should I every time restart VS to remove Output folder, since MyApp.vshost.exe not allows to remove even if I'm not debugging?
 
there's an option to turn off vshost
 
will it then remember my debugging settings?
 
10:37 AM
is everyone sleeping in US xd ?
 
chat's so slow
:o
 
vshost doesn't do anything except keep your assembly in memory for faster startup when debugging
that's why it doesn't exit when you stop debugging
if you want to keep vshost enabled and still remove the vshost.exe then you have to switch to a different build configuration
 
@StevenLiekens thanks, reading articles
 
like if you have Debug enabled then you have to switch to Release to unlock the vshost.exe file
I think I just told you everything you need to know about vshost in 4 lines
 
10:40 AM
I'm actually working lol
 
I don't believe it
 
@Sippy u never work
 
"u" is not a word. Did you mean "you"?
 
u = you
and u know it
XD
 
congratulations, you saved 2 keystrokes
 
10:47 AM
I type faster when I don't try to abbreviate tbh
brain just gets confused when I shorten shit
 
hmmm yea sometines its easier
but imo it just depends if ur used to it or not
 
vOv
I hate having to read it :P
 
@StevenLiekens you never know when u gonna need that extra energy :p
"How to write game in C# similarly to Outlast?" was this legit? :o
hahahahaha
 
how do I test a rollback in a BD?
 
11:02 AM
@Sippy How do I program a game like World of Warcraft in C#?
 
I wanna make Skyrim on c#
any good tuts?
 
@JakobMillah gtfo
 
the correct "order" to execute a query is: BeginTrans, exec query, commit and if you need Rollback right?
 
@Sippy Why you so mean!? I just ask question
 
wake up chat. amuze me, Im bored
 
11:13 AM
I am stressed
no time
 
oh I see okii
I need some help
anyone? :s
 
I overwrite some dll references in my project from an external project. Whenever I build the project, the old files will overwrite the ones I added.. How come?
And how could I prevent that?
 
11:28 AM
your servers are haunted with spirits from ancient code
 
when I run this:
public string UpdateVersion(string newVersion)
{
if(ORAConnection.State == ConnectionState.Closed)
ORAConnection.Open();
BeginTrans();
var update = new OracleCommand(@"UPDATE APPLCONFIG SET GGDSC =" + newVersion + "WHERE GGCOD = 'APP_NAME'");
update.ExecuteNonQuery();
return LookUp();
}
on the "update.ExectueNonQuery();"
it gives me the following error: "Operation is not valid due to the current state of the object."
 
@StevenLiekens Probably true...
 
@JakobMillah From which directory are your references and in which directory are the modified DLLs? What old files?
 
hmm maybe I need '' int the newVersion
 
@Jamaxack hahaha
 
11:31 AM
!!wat
 
@OmegaExtern Yep. That was the problem. The references was pointing at a completely different project. So when I added the files in my project, it would take the references from the other project and override mine
 
ohhh fuck you monday
i knew i shouldn't have drank yesterday
 
@SteveG Welcome to the dark side
we missed you
 
@JakobMillah If you are using Visual Studio, then the correct way to add references to an external project that you are going to build on your own is to add it as an existing project to your solution, then open manage references window for your main project, go to project tab (on the left) and then check external project and press ok..
 
11:41 AM
:(
 
@SteveG solution, stay drunk
 
while i would enjoy it, i dont think my boss would
 
Get him drunk too
 
yeah maybe i should spike his drink
 

« first day (2039 days earlier)      last day (2911 days later) »