« first day (2344 days earlier)      last day (2830 days later) » 
00:00 - 18:0018:00 - 23:00

00:05
Found out what the problem was... The company hosting it does not allow remote access.... FFS...
00:29
I am new with sending raw UDP packets, anyone have any obvious reason why the send command for UDPpacket would not work?>
        var client = new UdpClient();
        var query = new List<byte> { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
        var anyEndpoint = new IPEndPoint(IPAddress.Parse("127.0.0.1"), 28015);
        client.Send(query.ToArray(), query.Count, anyEndpoint);
when I run that code wireshark does not show me the packet
00:42
well looks like even python is failing.... so now im confused
uh... nm... its something do with packets not showing up because they were going to localhost...
01:46
:)
 
1 hour later…
02:51
Who know any API for advanced unit converter?
like: ml02/ml x mmHg to dK/t
03:26
Anyone here know anything about javascript?
You may find another rooms?
like:

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
yeah, no one is there right now. thanks
04:03
 
2 hours later…
05:55
Hello, I am trying to find out a solution for my problem.
<p>test</p>
<p>testing</p>
<code>
<p>replace text here<p>
</code>
<p>testing</p>
Here I want to replace text inside <p> tags withing <code></code> without effecting the <p> tags outside <code>
How can I achieve this?
06:21
string.Replace(@"<p> tags withing <code>",@"<p> what <code>");
to writing xml, suggest using
https://msdn.microsoft.com/en-us/library/system.xml.xmldocument(v=vs.110).aspx
or, you needs handle some char like '<' and more...
648
Q: What characters do I need to escape in XML documents?

Julius AWhat characters must be escaped in XML documents, or where could I find such a list?

@Phoenix hope helped.
@nyconing : Thank you, I will work on it now :)
Meow (≧▽≦)
07:08
@SteveG howdy!
ohayou
07:35
morning :)
user7538827
Hello
07:52
hello everyone
do people get noticed if i edited my answer to their question?
good morning
@ntohl o/
i think no?
dunno i was just wondering if i should add a comment or not
07:57
add it, they will receive a notification that way
08:13
guys, can any of you point me in the right way with this one :
If i'm making a winforms application with user login, how do i go about letting a simple user see selective elements and an administrator seeing everything there is to see on the form?
this ofc after the login has been made by each individual user
well you could create 2 forms
if admin logs direct him to one form, if the user logs in direct him to the other one
@AdiMohan create a new class derived from UserControl which has a property like requiredUserLevel and filter on initialization of the form
of course you have to make every part of the form a usercontrol then
@Proxy @SebastianL The reason i need this is because simple users will use it to view information, and just a few will be inserting information in it.
I've made a very simple winforms login form and hooked it up to sql but i didn't know how to go about it since I've given the option of creating new accounts
@AdiMohan if you just have two kinds of users Proxys solution would probably the fastest, but if you plan to have a more fluid usermanagement i'd recommend my solution
@SebastianL @Proxy thank you both for the advice it's much appreciated
@SebastianL i will be having only two types of users, the ones that put info in, and the ones that follow the info. I'm just not sure about how i could make some things happen yet
08:32
objeclistview is it possible to put check box in group header?
user7538827
08:49
hi
@AdiMohan i just made an ExampleApp if you need more help
you are becoming a good spirit in this room @SebastianL
headache on casting from derived class.....
09:31
@AdiMohan github.com/hrkrx/ExampleCustomUserControl may not be pretty, but it gets the job done
Why am I getting the file and the result on the compiler console but not writing anything on the file? FILE*filetemp fprintf(filetemp, "The temp is:%.2f", temp);
filetemp = fopen ("filetemp.txt", "w");
@SebastianL wow thanks a lot, very much appreciated :) looking at it now
@SebastianL any tips?
that is c?
09:44
yes
@Proxy I couldn´t get anyone available at the C room
to answer
how are you writing to file
i mean you have to open first, then write
that moment when you assign a task for an intern and the intern replied: "but i don't know how to do it"
._.
:D
what did you ask him to do?
something complicated
bind the array into the dropdown
well that does not seem to be hard...
09:48
that's why my facial expression was like this: ._.
your are his mentor or?
yeah
:)
it is a 'she' not he
not that it matters
09:50
yup
so what did you do then?
told her to try to figure it out or helped her?
@Proxy I changed the order of the code when posting, indeed filetemp = fopen ("filetemp.txt", "w"); is first
you need to open it if you want to put something inside it
then came back a couple minutes later
i pointed her to another one that we had
@Proxy its not supposed to work like that, the program is supposed to open it and write the variable value
@ngunha02 are you talking to me?
09:54
@rockethon no, to proxy
@ngunha02 about me?
no, my intern lol
yes
you can not write to a file if you have not opened it
@ngunha02 you have some test before you accept an intern?
@Proxy i wasn't the one who interviewed her. it is my manager who interviewed
@Proxy I had it open with fopen
the command C uses
09:58
Did you flush the stream?
i see
@ngunha02 ask how for she gets in ElevatorSaga
tomorow is saturday and sunday comes afterwards
10:28
but Friday I'm in looooove
10:49
hey guys I have developed an android app that can take user information,data and store in a database using wcf service.Thats why i bought a Windows vps.Now its asking for configuring the server. What features should I list to be configured in the server for my android app?
please help
... Nothing for your Android app.
11:07
@xyzrety IIS, so you can host the WCF service? Database license? Back-ups?
no idea.
11:28
@SebastianL would you by any chance consider looking at my code and telling me if it needs improvements xD (it's short)
@AdiMohan sorry i have to decline, sometimes i need to work, but if you have specific codeparts you want to have reviewed go to codereview.stackexchange.com
@SebastianL thanks ! :) i'll try it
12:01
I DID IT
finally i was able to listen to friday from the beginning to the end
@Proxy are we talking about Selena Gomez Friday?
who?
@Proxy woah, do have enough medical equipment to withstand the aftermath?
no rebeca
i'm fine, i had a slow adjustment in the last few months for the main event
oooh, you poor thing, you must be horrified
there there * pats on back*
12:05
actually no i think i'm coming around
did you have a " kill it with fire" moment?
Afternoon
maybe that is why people start to like js after a longer time
js isnt so bad IF your using the right conventions
disagree
12:15
i was just trying to make a standard "js is bad" joke
js is pretty much the worst language ever invented
right @rlemon?
you forgot about PHP
!!giphy oh shit
!!giphy KendallFrey
12:17
!!undo x2
nudes?
send
wrong window, that was meant as a text to @KendallFreys mom
just check her instagram
12:21
drool
guess i'll go to work now
i hate this drive
cmon scotty, give us teleportation already
how long does it take you to get there
@rlemon php is literally garbage. I had to develop some project in php just once, and i hated it so much
imagine how much worse it was in the 90's
@SebastianL thanks for suggesting the code review place ! :D
@SteveG beam you over is not as good as up
12:51
I have @using System.Runtime.Serialization.Json;
at the top of my cs.html file, I have a reference to System.Runtime.Serialization in my references. I get an error: The type or namespae name Json does not exist in the namespace 'System.Runtime.Serialization' (are you missing a reference?)
What gives?
In dotnet core packages, System.Runtime.Serialization.Json is a separate dependency
@Squiggle I have that installed. same message
@juanvan lol eh?
13:10
guys, if i have synonyms, how can i connect them to my DataGridView?
@Michael are you suuuuuure?
@Michael Restore packages. Clean/rebuild.
Turn computer on/off
turning your computer off and on again removes all viruses installed
@Squiggle this stupid error is killing me
I've tried everything
@Squiggle okay.. just lowered my project .net targeting version to 4.5 that seems to fix it?
what was your .Net version before? what sort of project is this? Classic .Net or dotnet core?
gotta be aware of the changes that dotnet is going through right now
13:20
classic .net, before it was targeting 4.6.1
core is volatile right now
has been since rc1
they fucking changed the json structure of packages.json in rc1 iirc
just because
lol
@Failsafe I thought it was the other way around? I might be wrong because I'm not really paying attention to core but I thought they started with JSON but it fucked up too many other things and they had to fall back to the standard XML
Oh you piece of shit you edited your message while I was typing
fukn casul
Homodexual
13:23
i remember that i had a project created from the msft templates in RC1, and then magically they didn't work anymore
because i had to recreate the package.json because some of the components were modified/removed
!!shrug
@Failsafe That didn't make much sense. Use the !!/help command to learn more.
are you serious
The fuck cap
!!info shrug
@mikeTheLiar Command shrug does not exist.
You know how much time I spent getting that damn command working?
13:24
do you have to escape shit in the emoticon?
Yeah
!!learn shrug "<>¯\\_(ツ)_/¯"
@mikeTheLiar Command shrug learned
!!shrug
!!shrug
¯_(ツ)_/¯
13:25
ouch
Fuck's sake
!!forget shrug
@mikeTheLiar Command shrug forgotten.
!!learn Shit "Nawwww"
@Nathvi Command shit learned
!!Shit
13:26
@Nathvi Nawwww
!!learn shrug "<>¯\\\_(ツ)_/¯"
@mikeTheLiar Command shrug learned
!!shrug
¯\_(ツ)_/¯
wtf
the double escape is cancer
13:26
!!forget shrug
@Nathvi You are not authorized to delete the command shrug
It's something with how backslashes are processed
fuck you bitch
damn it XD
how you like dem apples
WOW
13:27
The ole double-tap
whoops
But you need 4 blackslashes in the learn command
Because the message posted to SO only has three
Which Cap then slurps up and it turns into two
Which when re-posted is none
lol
13:29
@Failsafe dotnet core is stabilising quite nicely - the last thing it seems they're doing is moving from project.json back to sort-of-csproj, because they want to have some sort of compatibility with msbuild
That was what I was thinking of
sounds like something msft would do
isn't this why TFS build exists?
@SteveG ya, scotty would beam you over to work, not up to the space station
@juanvan well scotty did solve the transwarp beaming equation
13:53
should i learn html or JS first?
PSA
in Sandbox, 11 mins ago, by rlemon
Mishap with the bot. We've had to revert to an old memory dump. Sorry if you're missing stuff.
@peterpep depends on what your goal is
Fuck's sake, we lost zoidberg
building websites?
html is pretty straightforward
you can tackle both at the same time
yea html isnt too bad
btw you got response for the job
14:02
my big issue with it is more when to use which type of element
havent heard back yet
well
technically not true
i emailed them my code solution to the tech question they asked
"Great – I think the approach you’ve outlined here is likely the better one. Thanks for your effort and thoughtful follow-up!"
but havent heard back regarding the position itself and if ill go to next round
That is True
technically not true was referring to havent heard back yet
so i technically did hear back but it wasnt regarding me and the position
semantics but whatever
14:27
@peterpep in that case you want to understand semantics and how display is irrelevant
Probably also want to read up on accessibility
ARIA I think it's called
ARIA is also an (incredible and amazing) anime series. #uselessinfo
@mikeTheLiar what?
Hi all. Our Server 2008 stopped serving MVC pages in one app. We had to add the following to get it to work:
<system.webServer>
    <modules>
      <remove name="FormsAuthentication" />
      <remove name="UrlRoutingModule-4.0" />
      <add name="UrlRoutingModule-4.0"
          type="System.Web.Routing.UrlRoutingModule"
          preCondition="" />
      <remove name="BundleModule" />
      <add name="BundleModule"
          type="System.Web.Optimization.BundleModule" />
    </modules>
</system.webServer>
You said "my big issue with it is more when to use which type of element"
ooooooh thats what you were referring to
thanks for the link!
14:35
Chat protip - there's two types of replies/pings - one which is just to a use and one which is to a specific message.
The arrow to the right of a reply indicates that it's to a specific message and will link you to the message being replied to
We found it out on this post: stackoverflow.com/a/16577694/21336 and this one: stackoverflow.com/a/25546906/21336. Anyone know why these would be needed all of a sudden? The app had been working fine
hey - if I edit something in the .gitignore file . then run git status and it still shows the files as modified - then I did something wrong , right?
or does the .gitignore have ot be pushed to the remote branch to take effect when comparing to remote with git status?
@ScottSelby Well assuming that you want the file to be ignored, yes
gitignore doesn't need to be on the remote
how to you ignore entire lib file?
i tried websrc/lib/* and websrc/lib/*.*
that is the path relative to where gitignore is
What about websrc/lib/
I'm just guessing, I don't remember the exact syntax
14:41
nope I tried a whole lot of other syntaxers , guess I'm just back to deleting all the dll's each time then buillding again eash pull - whatever
I'm forced to assume there's some subtly here about your project structure that you're not sharing with us
probably
there is probably another .gitignore
it doesn't matter for right now , I already spent too much time playing with it
when is angular 4 being released
@ScottSelby .gitignores work locally
otherwise your initial loads wouldn't be filtered
ok, thanks , thats what I thought
14:44
there are programs that have global gitignores, i.e. sourcetree
i have a global gitignore for anything .net related
works wonders
however, if you check something in before adding a gitignore then GIT will track those files
regardless of your gitignore
unless obviously you delete them from the remote
15:03
to deserialize json into a object do the Json property names and C# object property names need to match exactly? I assume so?
@Michael - yea unless you specificy otherwise
@ScottSelby how would you specify otherwise?
You would have to manually deserialize
or there are settings , functions you can override in the deserializing libraries that are built in , I forgot what the library is called that .Net MVC uses by default
you can google that pretty easily though
@ScottSelby okay thanks
15:23
bots fixed now but all commands learned in the past year are gone. before I get pings about it :P
soooo.. I'm trying to interact with an API.. I get a json string returned in this format:
        {
            "category": {
                "9": {
                    "xCategory": 9,
                    "sCategory": "Center for Slavic  & East European Studies"
                },
                "8": {
                    "xCategory": 8,
                    "sCategory": "East Asian Center"
                },
                "2": {
                    "xCategory": 2,
                    "sCategory": "Hardware"
and I want to iterate through it or deserialize it into an object but I don't quite know how
what would my class structure need to look like to deserailize it into a named type?
becuse I cant name propertys of a class Category with names like "9" "8" or "2"
15:38
i want to use SignalR with web api. I found this video that shows a msft guy doing it (http://bradwilson.typepad.com/blog/2012/07/webstack-of-love.html) and this github repo of it working w/ an older version of SignalR (https://github.com/bradwilson/WebstackOfLove).

The problem i'm running into is with newer versions of SignalR, when I do this:
Hub.Clients.addItem(item);

.net doesn't recognize addItem as a dynamic method to be called on the client, says it can't find it....

Looking at the documentation, it shows this being called: Clients.All.broadcastMessage(name, message);
16:04
@Michael did you write the api?
it seems like a shitty api response
@SteveG no I didn't
@SteveG the Objects that are named as numbers I think are really screwing my ability to serialize it
yeah for sure
dynamic maybe?
@Michael - that format isn't goign to work
@ScottSelby how do you mean?
this is stupid, because the API returns XML in a structure that actually makes sense. Idk why their Json is so weird.
you can't use the xml call?
whats the xml look like, i bet thats really a list of items, and they're converting xml-> json straight up and it looks retarded
16:11
I suppose so. I've never done xml thoufg
same thing, just deserialize it different
@SteveG their xml looks like this:

<categories>
<category>
<xCategory>9</xCategory>
<sCategory>Center for Slavic & East European Studies</sCategory>
<sCategoryGroup>Area Studies Centers</sCategoryGroup>
</category>
yep it's a list
lol
20 bucks says instead of serializing it as json, they serialize it as xml, and then convert it to json, which gives that shitty, non-usable output
looks like it
or something
16:14
so just use the xml then?
yeah, i wouldn't even bother w/ json, and i suspect if this json call is crappy, their other ones will be too
or, they were only expecting it to be called from javascript, in which case they maybe could have done category["9"]
16:56
@SteveG okay so I just wasted forever because I kept getting a bug deserializing the XML. It turns out that "&" is a special XML character.

and the API was returning something like this:
<sCategory>Center for Slavic & East European Studies</sCategory>
lol.
without the ampersand encoded.
i want whatever the person who wrote that api is drinking
@SteveG Is the ampersand supposed to be encoded when returned from an api?? or should that be my job to parse and encode it?
I just want to feel loved
16:58
@mikeTheLiar we love you buddy
self worth intensifies
@SteveG is this my fault or the api's fault?
user7480455
is json a derivative of ajax.. if so why? Seems just as confusing
@Michael the api's
137
Q: Invalid Characters in XML

RailsSonI am working with some XML at the moment. I have nodes that hold strings like below: <node>This is a string</node> Some of the strings that I am passing to the nodes will have characters like &, #, $ etc. <node>This is a string & so is this</node> This is not valid due to the & I cannot w...

@007 no
json is javascript object notation
it's basically javascript objects
user7480455
like pre-made controls?
17:09
you can do ajax with xml, or csv, or just bullshit if you reallllly wanted to
user7480455
wow...
user7480455
so much stuff
it's just returning strings, the client uses ajax to call the server w/o refreshing, the server responds with a string
this string can be json, xml, or w/e really
but json/xml are the norm
user7480455
I should have picked something other then computer science as major... I can;t keep up LOL
@007 you only gotta learn this stuff once though, and once you do, you know it, and you make fat cash for knowing it
user7480455
17:10
so did the browser makers make all these things up?
JSON and AJAX are fundamentally unrelated terms.
Except for the J I suppose
user7480455
well I have been doing this stuff for a while.. since 1942 I think the calculations show... but now the web stuff... that's where I made my mistake.. doing web work...
ajax = asyncronous javascript and XML
user7480455
I was going to point that out mike.. they have a cap J
If you need help with your web work, try consulting a spider.
17:12
Axe-ml
user7480455
HA! Win!
user7480455
Dear Charlotte.. your web is so pretty
i started doing ajax in like 2006, i didn't know squat about json or xml, i had all my ajax calls return html lmao
user7480455
Wow 2006 I was fresh out of the womb
that was a nightmare
user7480455
17:13
as I went back in after 1942
user7480455
yeah... it's all a horror show
you must love drugs
user7480455
if you ask mee... I am blow away by you gurus
hi.
I made a lot of changes on a project (synced with GitHub), now I want to make it another repository, I didn't commit yet, How can I do this?
user7480455
no I havebeen drug free since yester day
user7480455
17:16
Any Tennis players in the room? Table Tennis does not count!
@Michael Something similar happened for me. The data I tried to solve was like this:
{
"devices": {
"AppleTV2,1": {
"name": "Apple TV 2G",
"BoardConfig": "k66ap",
"platform": "s5l8930x",
"cpid": 35120,
"bdid": 16,
"firmwares": [
{
"version": "7.1.2",
"buildid": "11D258",
"sha1sum": "4724347f2700dfe82fb864ecc8cdf66ea33262b1",
"md5sum": "6677e7611ebed25d8dc33d2401b75de2",
"size": 698547170,
"releasedate": "2014-09-17T17:59:02Z",
"uploaddate": "2014-09-03T17:55:56Z",
"url": "http://appldnld.apple.com/iOS8/031-07202.20140917.tF6Fs/AppleTV2,1_6.2.1_11D258_Restore.ipsw",
"signed": true,
The "AppleTV2,1" contains comma which is invalid character for Json property
@Lujska did you end up trying to parse and clean it?
@Michael Yes I fixed it
I'm fixed it with c#
dynamic data = JsonConvert.DeserializeObject<dynamic>(result);
JArray _jarray;

foreach (var item in data.devices.Children())
{
string _name = item.First.name;
}
!!tell lujska format
@lujska Format your code - hit Ctrl+K before sending and see the faq
17:21
@Lujska @SteveG I just gave up and I'll loop through the dynamic object manually and pull out what I need
lol sorry that the api sucks so bad :(
@CapricaSix thank you for your help.
@Lujska hi, welcome. CapricaSix is a bot. Not a real person :)
@SteveG I feel refreshed, thank you :)
user7480455
That's dumb
user7480455
17:34
there is nothing or mars for man
user7480455
and for one country to spend that much is silly
user7480455
NASA, ESA, JAXA,Роскосмос , CNSA should pool their resources and knowledge.. that is the only way man will leave this planet and step foot on another...
17:53
@SteveG I fail to see the relationship between Trump XML, other than that they're both awful.
e.Handled = !(char.IsLetter(e.KeyChar) || e.KeyChar == (char)Keys.Back);

Which using do I need for the keychar's ?
@mikeTheLiar i like nuts
2
00:00 - 18:0018:00 - 23:00

« first day (2344 days earlier)      last day (2830 days later) »