« first day (2242 days earlier)      last day (2700 days later) » 
01:00 - 17:0017:00 - 00:00

1:55 AM
General SO usage question: If someone asks a question about software that isn't directly programming related, I know that's flaggable, however; is it wrong to leave a comment with the answer if I know it?
 
I dunno about the rules like that
I don't see the harm in it, if the question is closed or whatever the user still got some help
 
 
5 hours later…
7:03 AM
hi guys
Any idea on this error
An expression of non-boolean type specified in a context where a condition is expected, near 'MATCHES'.
 
@tHiNk_OuT_oF_bOx Seems pretty self-explanatory.
 
@AvnerShahar-Kashtan. but there is not keyword called as MATCHES
 
In what code is this? It looks like MATCHES is an internal compiler representation of something.
 
Its in when I am calling the SP from the C#
 
So is it a compile-time error in C# or a runtime error in SQL?
 
7:15 AM
runtime error
 
7:26 AM
So I'm guessing the syntax error is in the stored procedure.
 
7:39 AM
ohayou
 
8:07 AM
Morning
pro tip
don't let your work laptop die with a youtube video on it
because when you get to the office and plug it in, while its coming out of hibernation the fucking video will start playing incredibly loudly
 
Morning
d3 d
 
8:20 AM
@Kieran When I was in university, I carried with me a cut-off headphone connector plugged into the laptop's headphone jack. That way I didn't have to be worried about start-up noises or auto-playing music when I took out my laptop in class.
 
haha
"Start-up noises"
"Auto-playing music"
;)
 
8:36 AM
@Kieran Really? Those two phrases were the most pertinent ones? :)
 
Well what other part of that statement was i supposed to interpret as an innuendo?
@AvnerShahar-Kashtan
TFW you fuck up the ping
 
Ah, I see where you were going with that.
I assumed that your original use of "youtube", you actually meant youtube-youtube, and not, you know, other-tube.
 
@AvnerShahar-Kashtan ofc you do now haha
 
Or is that you-other?
 
@AvnerShahar-Kashtan no mine was actual youtube
for some reason i had mo farah doing some tv cube puzzle
 
8:40 AM
o/
 
o/
 
how do you guys generate json data ?
 
8:55 AM
I type it out
 
@Mathematics The same way I generate any other data. Then I serialize it to json.
 
@RoelvanUden I need 5000 thousand lines nested random data :|
 
Type fast.
 
@RoelvanUden Thank you, I will try not to follow your advise on this, please don't take it personal :)
 
What would you call a situation where I respond to a question without thinking and say something not so though out
 
9:00 AM
Smart :3
 
For example, if I'm having an arguement with my wife and she asks a specific question that she's then going to hold me over. What do you call that
 
@JARRRRG awkward
 
think before you act
 
"I responded without thinking?" "Not enough time to think or respond accurately"?
 
Create a class that corresponds to your json structure. Write some code to create 5000 instances of it, then serialize.
 
9:01 AM
@JARRRRG Being a husband.
 
@AvnerShahar-Kashtan sounds tough isn't it ?
 
@Mathematics No.
 
Is there even a word for something like that
 
@JARRRRG this.executible has frozen and become unresponsive
 
I assume you already have code that corresponds to that data, since otherwise you wouldn't need that data in the first place.
 
9:02 AM
or as avner said create a class and serialize it into a proper response
 
@AvnerShahar-Kashtan I don't mind copying same nested data over again and again - jsfiddle.net/jy6j87g0/8
 
@Kieran @RoelvanUden 😬 sob sob but this is actually a different scenario
on the way back from the canteen someone asked me why I wanted to do something
I gave a very blunt basic non so thought out answer (not related to programming)
 
'Because fuck you that's why' - a suitable response
 
@JARRRRG So, we should call it honesty.
 
BRB
 
9:05 AM
and I'm just trying to write this down for myself to refer if I need to because I feel like had I been given more time to think I could have responded better
but I was rushed due to the situation
alright :)
 
What makes saying what you think so bad?
WAIT IS BEING HONEST WHY I'M STILL SINGLE?!
SHIEET
 
@RoelvanUden No, you being single has nothing to do with your honesty, you can fix that
what you can't fix however.....
;))))
I made a funny
 
!!burn
 
so basically he has to stop being honest?
 
9:07 AM
Well, that's not exactly the point im driving at but
i suppose
 
i don't get it roomy :(
 
lmao
 
Just lie, like everyone else. Because that's how you maintain relationships apparently. Just lie.
 
i understood that reference
 
a working condition question. You like to sit near the window on the job or in a "basement" as in a place where there is less sunlight?
 
9:14 AM
@Proxy Positing that "honest" and "rude" are equal, or that "polite" and "honest" are opposites, is a false dichotomy.
 
@Proxy near a window with some sort of view preferably
 
I have a window right in front of me. A bit of sky, a lot of the building next door and its air conditioners. Occasionally a pigeon lands on the ledge, looks at me funny, and lies off.
 
My last office had baby pigeon's
outside on the fire escape
and a decent view
this one is on the ground floor so no view and no pigeons
 
@AvnerShahar-Kashtan ? regarding the false dichotomy
i like to sit near the window but on sunny days its depressing , such a nice weather and i'm inside
 
@RoelvanUden you only need lie if your honest opinions are dreadful
 
9:21 AM
I see.
 
Or well, maybe that person just doesn't like you
 
@TomW you only need to lie if your honest opinions aren't part of the majority
controversial
 
C4u
Hi everyone.
 
POLITICS
 
user6438653
Hey guys.
 
user6438653
9:31 AM
Hey @C4u Visual studio.
 
user6438653
Hey @RoelvanUden
 
user6438653
Hey @Proxy.
 
user6438653
Hey @AvnerShahar-Kashtan
 
C4u
for(int i = 0; i < users.Count(); i++)
{
    WriteLine($"Hey @{users[i].Name}.");
}
 
/me resists the urge to nitpick the code.
 
9:41 AM
@WATERYMEL0N yo
 
hello
 
@misha130 Amen brother
 
C4u
@AvnerShahar-Kashtan Oh wh000t. No space for nitpicking. Total perfection.
 
user6438653
I'm @shad0wk, I changed my name.
 
Good morning everyone!
 
9:54 AM
o/
 
user6438653
Gm @KevinMaxwell. It's 11pm.
 
user6438653
Both the New Zealand and Italian PM have resigned. Weird.
 
Maybe they're actually the same person.
 
#Illuminate
 
Have you ever seen them both in the same room at the same time?
 
user6438653
9:56 AM
New Zealand PM John Key (More like Don-key) had the excuse of 'My wife asked me to.' Something odd is happening...
 
Also, maybe Italy and New Zealand are actually the same country. Have you ever been in both of them at the same time? I didn't think so.
 
user6438653
@AvnerShahar-Kashtan Lol.
 
My default url shows the following when I enter the url:
http://localhost:2424/Account/Login?ReturnUrl=%2F
Is it possible to remove the return part?
 
Yes. But why would you?
 
Is this a normal behavior?
 
user6438653
9:57 AM
@AvnerShahar-Kashtan I'm a New Zealander, I don't speak or ever heard (in real life) Italian.
 
user6438653
@RoelvanUden Oh, you changed your profile PIC.
 
@RoelvanUden I just wanted to see whether I'm doing something wrong...
 
@WATERYMEL0N ...or perhaps Italian is simply heavily accented New Zealand English. Ever think of that?!
 
insanity
 
@KevinMaxwell It's allows the Login process, after it completes, to redirect back to the page that triggered the login.
 
user6438653
9:59 AM
@AvnerShahar-Kashtan Haha, that's just retarded.
 
@KevinMaxwell No, that's FormsAuth. It preserves where you came from so you can continue where you left off after signing in again.
 
@WATERYMEL0N That's just what a crypto-Italian would say.
 
That's correct
Thank you sirs!
 
user6438653
@AvnerShahar-Kashtan lol.
 
user6438653
Sirs?
 
user6438653
10:01 AM
We haven't been knighted.
 
Speak for yourself.
 
user6438653
Donald Trump is going to be the voice of god or christ. The day he becomes president, he'll be 70 years 7 months and 7 days old. 777 is the coming of Christ.
 
user6438653
@AvnerShahar-Kashtan Eh?
 
user6438653
Guys?
 
user6438653
10:07 AM
I just peed off some people, right?
 
sounds like some illuminate shit to me
(I'm deliberately spelling illuminati wrong)
 
@Kieran Wrong? Or just the way they want you to spell it?
 
:O!
 
user6438653
Donald Trump isn't illuminati. The iluminati want to assassinate him.
 
user6438653
Also there's an illuminati board game
 
10:09 AM
(Just as a heads-up, politics are mostly discouraged in the channel but it's fine as long as we're talking about the Illuminati we're probably fine)
Dunno about the board game, but I've had the card game for years now and still love it.
 
There's a board game?
wat
 
user6438653
It was made in 1982.
 
omg
 
I think we're talking about the same game.
Illuminati is a standalone card game made by Steve Jackson Games (SJG), inspired by the 1975 book, The Illuminatus! Trilogy, by Robert Anton Wilson and Robert Shea. The game has ominous secret societies competing with each other to control the world through sinister means, including legal, illegal, and even mystical. It was designed as a "tongue-in-cheek rather than serious" take on conspiracy theories. It contains groups named similarly to real world organizations, such as the Society for Creative Anarchism and the Semiconscious Liberation Army. It can be played by two to eight players. Depending...
I don't consider it a board game because it doesb't have a board.
 
user6438653
And it has 9/11, lady gaga, Hillary Clinton, Donald trump, The pentagon being hit by an 'areoplane', wikileaks being killed.
 
user6438653
10:12 AM
I belive the people running this world are playing it, and making it real, like the movie jamunji.
 
@WATERYMEL0N Oh, that must be an updated edition. The one I have is pre-9/11.
 
user6438653
Nope.
 
game can last 1-6 hours
bruh
 
user6438653
The 9/11 card google.co.nz/…
 
user6438653
It's a weird old game.
 
user6438653
10:17 AM
Quite a few people have left, hmm.
 
user6438653
Oh there's a domain spelt similar to illuminati, redirects to the NSA.
 
user6438653
It's almost 11:30pm I gotta go, bye guys, cya :).
 
user6438653
Nice talk.
 
YEAH
SURE
 
user6438653
bye.
 
10:18 AM
THAT OR THE ILLUMINATI GOT TO YOU
laters o/
 
user6438653
Nz time zone, google it.
 
user6438653
\o bye
 
@WATERYMEL0N Illuminati timezone maybe
 
user6438653
lol
 
user6438653
Also diep.io ....
 
10:24 AM
omg
what is this
 
user6438653
Allows you to use 33 skill points...
 
user6438653
Illuminati confirmed.
 
user6438653
Lol, bye again, cya, lol.
 
M J
11:41 AM
hi
 
12:29 PM
Just been sent a job by a friend of mine
and i've then explained to him while it is a great job
I don't do java
his response
I thought you did javascript, those are the same right?
(╯°□°)╯︵ ┻━┻
 
Hah indeed
 
how do I convince my fellow coworkers that a model is a good place to put a table name in?
rather than everytime you create a service you put a table name
boy, you know what I don't care
never mind
fuck the police, people can do whatever
 
@misha130 what do you mean a good place to put a table name in
im confused
 
well for instance in EF you do
[Table(Name="SomeTable")] public class AnotherTable {}
and EF will know that when we are talking about this class the table that we are talking about is as said in the attribute
 
12:53 PM
@Kieran Hey, it's like 1999 all over again!
@misha130 Are we talking code-first or DB-first
?
 
I just gave EF as an example
but basically the idea of having an attribute to signify the table name in a model
obviously if its db first then this is auto generated and overridden
forget it, I am just taking out my frustration
 
I'm a bit conflicted about that, personally. It really depends on who the master is, for the schema. (No, I'm not talking about SQL/EF specifically)
(Oops, meeting, continue later)
 
alrighty
well our implemented solution was to use autofac to specify the name of the table for each service
Its not really a bad solution
but it just feels so mishmashed
 
1:09 PM
@AvnerShahar-Kashtan haha
 
o/
 
1:35 PM
@Proxy You online?
 
yeah just came back @RoelvanUden
 
@misha130 I'm back, yes. Where was I? Ah, right.
 
@Proxy Since you asked, I published a few chapters of the story I'm writing
 
If I have a POCO, and I find out I have to persist that POCO to JSON for a javascript service, or to a database table, I A) don't necessarily want the same naming conventions in JS, C# and SQL.
 
RO's can just check my deleted message if they want a peek. I don't want an association to me at this time otherwise, so please refrain from posting it back :P
 
1:41 PM
But B) I don't want my POCO to have an attribute specifying the JSON name or the Table name, because it's not necessarily the POCO's responsibility to specify it.
Unless I define that it is. I say my POCO is the schema master, and it determines the schema for the entire system.
Otherwise, I would rather have mappings defined in a neutral place.
 
A) don't necessarily want the same naming conventions in JS, C# and SQL. < - very true, I just changed half of my convention names in JS cause of stubborness
 
@RoelvanUden thanks il try to read it this week :P
 
Yeah no worries, even if you don't like it that's fine, stories are very personal after all. Just sharin' since you asked :)
 
:)
 
well I get it, Avner, but the real question is there anything bad with defining your POCO as a schema master
 
1:44 PM
There isn't. That's essentially what you're doing when you're working model-first in EF, for instance.
 
It already handles the way the schema should be named
 
It feels a bit icky, to have something like this, but at least it's centralized:
 
at some point it might be using reflection as well and become even more icky
but I like it either way
 
[DataContract, Table(Name="Entities")]
public class Entity
{
     [DataMember, JsonProperty("id"), Key, DatabaseGenerated]
     public long Id {get;set;}

     [DataMember, JsonProperty("name"), Unique, Column("EntityName"]
     public string Name{get;set;}
}
There's a lot of metadata there that goes out to different places in the system, but it's all metadata around the same entities.
 
yes O
 
1:49 PM
It's also possible that some of these are redundant. It's possible that Json.NET, for instance, can look at the DataMember(Name="name") and generate the JSON names from that.
But generally speaking, we have three categories of metadata in that example - general serialization metadata, JSON-specific metadata, and database-specific metadata.
 
its like a comment
on the model
even if its redundant readability goes up
 
Up to a point. If your JSON serializer knows how to automatically change C# capitalization to JS capitalization, would you rather leave it implicit in the serializer, or explicit on every field in every entity?
 
And even if your server serializer can't, perhaps your JS deserializer can
 
Ugh, that's much worse.
 
I am actually googling this solution
right now
 
1:53 PM
I agree it's much worse, but sometimes it's best approach.
 
I was automatically against it, but now I've thought about it, it's actually exactly what JSON.NET does.
I mean, not automatically, but with the mapping.
I was all "You can be liberal with data you own and send out, but strict and conservative with data you receive", but then decided it's a false distinction.
 
2:50 PM
C# chat should be put out of its misery. It is barely living, on the verge of complete and utter death.
 
what?
 
I love it here, what you on about
 
Hi! I was asking about WSDL, I think I know now, how I should do it. http://stackoverflow.com/questions/4791794/client-to-send-soap-request-and-received-response
I think I should do it, like the answer of this post. I only have a question: If the URL to my WSDL is http://192.168.56.14:8080/Parking/services/Sonda?wsdl , should I change _URL variable by my WSDL page location? And the same for _action variable?
Thanks, and I am sorry about my questions.
 
!!java
 
@Kieran That didn't make much sense. Did you mean C#?
 
2:53 PM
@Greg
 
@Kieran ...
 
(I've now seen the edit)
 
The room used to be more active, solid conversations, after the moderators stepped in due to a debacle the room seems to have gradually died. A lot of the regulars aren't in here anymore either.
 
Oh please
 
3:09 PM
 
@KendallFrey You don't think that is the case?
 
Evidence.
 
Huh?
 
I think he's asking for evidence that his statement is incorrect
In which you could ask for evidence that his statement is correct
 
3:12 PM
Just because we don't have the same culture that we used doesn't make this room dead
 
If you measure in raw posts over time, then yes this room is definitely dead compared to what it used to be. If you measure if by percentage of posts that are relevant to C# and software development in general than this is room is the most alive I've ever seen it.
 
3:32 PM
posted on December 05, 2016 by ericlippert

We continue with my excessively detailed explanation of the seminal paper on the ML type inference system… 1 Introduction This paper is concerned with the polymorphic type discipline of ML, which is a general purpose functional programming language, although it … Continue reading →

 
3:50 PM
That could be true, @mikeTheLiar the room is more focused.
The issue though, is now it feels more like a "can you help me" room. Rather than a discussion, or boasted more personal relationships.
On a code related topic, did you see the new article about .Net Core? It won't be ready for Visual Studio 2017. So it will remain in preview, they said it won't come out of preview until .Net Standard has another full version release more than likely.
 
¯\_(ツ)_/¯
The new culture is apparently 2016-proof. This is a safe space now. Whatever works.
 
@RoelvanUden Until they leave for the real world, get shot, mugged, and pissed on. Then they'll realize, the world isn't a safe place. The weak die.
Tis the natural order of things.
 
but i like safe spaces
i can put my safe in there
c:
 
Take off those sunglasses @Greg. You're seeing things a little too dark.
 
I think Ryan Ternier has taken over Greg's keyboard
 
4:02 PM
Actually, Ryan is definitely more pessimistic than I.
@RoelvanUden I was brought up in a dog eat dog type of life style. The strong survive, while the weak die.
 
I'm pretty happy I don't live in your world.
 
Eh, it might be okay.
 
@Greg Don't cut yourself on that edge
3
 
But I enjoy free falling.
 
watch for broken glass
 
4:10 PM
@Failsafe while you were studying .NET, Greg studied the blade.
 
Nothin' personal, kid
 
Anyway, while you were harping on my remark. Did you see my above about .Net Core?
 
Thought Core was already in VS15
 
As a Preview. Looks like it will remain in Preview even for VS2017
 
Was playing with VSCode over the weekend, little bit of a learning curve.
 
4:15 PM
@juanvan I like VS Code, it is pretty awesome.
I like it better than Sublime or Atom.
 
VSCode is really darn nifty.
 
was using it for Python, had to read a few ho-to's to get it going
but now I can, the local meetup is doing a series on python
 
Hello, What is the best JS library for file upload? Any library which allows me to decide the location(possibly create a new folder) where the file will be stored would be the perfect solution.
 
jquery
 
what learning curve is in vscode?
 
4:17 PM
jquery all the things
 
@misha130 hotkeys
that's really it
 
I mean they are real similar to visual studio
 
it's literally notepad++ with intellisense
 
Just that it's not like normal VS, it's a text editor with some code functions
 
yes
its just the code window from VS
 
4:17 PM
but it is nice to add packages
so much easier then Sublime (tho I like sublimes' code coloring)
 
I got the best extension on my VSCode that deletes and sorts typescript imports. I cry from joy everytime it happens
 
@juanvan You can change the coloring.
@juanvan I've got Bold Monokai in Visual Studio, and in code I simply have Monokai. Which is the Sublime coloring.
 
oh cool, have to play around with it more
Sublime does it automatically, xml is so easy to read
 
@juanvan Visual Studio 2017 does do native JavaScript / Node development and Python.
 
Oh Sweet guess I am downloading the RC today
 
4:22 PM
I had VS2017 lose its ability to read code out of the blue
twice
fun :^)
 
read code or lose Intellisense
 
lose intellisense
 
ya I have that happen
anyone know, if you upgrade Reshaper to the new lic do you lose the old one
 
Somebody could help me with soap request?
 
No, you don't. Well, I didn't.
 
4:29 PM
ok cool - it's at the end where I either upgrade, or lose the discount
and with VS17 adding all kinda of stuff and Core coming out might be time to upgrade
@Greg was it worth it to upgrade?
 
I have a ReSharper Ultimate, so not sure. My first time with ReSharper. It is pretty nifty, but Visual Studio 2017 natural ReSharper felt better to me. But I've grown a custom to default, still getting used to ReSharper.
 
what natural resharper
 
maybe I will disable it tonight and see how i do with out it
new VS is 30GB wow
 
@juanvan If you install everything it is like 58GB
 
@QuicoLlinaresLlorens just ask
 
4:38 PM
ya I was going to do the Ios stuff to see how that looked
 
...the new VS is 58GB
what
 
@misha130 Visual Studio 2015 introduced a smarter intellisense, to basically perform a lot of ReSharper, 2017 built upon that. So unless you really have some of ReSharper's bigger features it almost isn't needed.
 
did jetbrains went bankrupt?
 
@TomW ok, I am trying to do a request with SOAP message
 
@Kieran Visual Studio 2017, it is pretty huge.
 
4:40 PM
!!giphy mother of god
 
@misha130 No, ReSharper does a lot more. But Microsoft has been rolling in features with each version.
 
he/she uses a _url and _action, but since it is a .asmx I don't know if I should set there my WSDL page
 
@QuicoLlinaresLlorens I don't understand what you're asking
 
4:43 PM
@TomW I go since the beginning better I think
 
What does "set there my WSDL page" mean? Set where?
 
in the _url variable at the answer's post
73
Q: Client to send SOAP request and received response

Data-BaseTrying to create a C# client (will be developed as a Windows service) that sends SOAP requests to a web service (and gets the results). From this question I saw this code: protected virtual WebRequest CreateRequest(ISoapMessage soapMessage) { var wr = WebRequest.Create(soapMessage.Uri); ...

 
ew.
 
Isn't that page built when you create the service and apply said reference?
 
4:50 PM
That Web page is created when I wake up the web server
The web server is in other machine
but the objective is not to add reference, is to input in the application the IP and Port where the web server is
in order to access to its methods
via SOAP request
 
This approach seems wrong to me.
Why wouldn't you have a Rest API. That way you could create a Web Request and get the returned result as Xml, Json, blah or whatever back?
Why use clunky SOAP?
 
It is for an assignment at University...
I think the same as you
 
How do you guys feel about this answer: http://stackoverflow.com/a/40732186/3653277

To me, it seems much cleaner and normalized, but at the same time it seems like it makes retrieving current states a much more complex than what would normally be a default select.
 
but I think professors want to do it from a rudimentary form
 
@QuicoLlinaresLlorens Why teach a older method that isn't the norm in the industry?
 
4:57 PM
I am with you, but if I wanna pass I have to do it
In Spain, University is a shit as you see
If I said to you that the first assignment of this subject was to make something related to this, but with RMI of java...
I think that is pretty worse hahaha
 
01:00 - 17:0017:00 - 00:00

« first day (2242 days earlier)      last day (2700 days later) »