« first day (2152 days earlier)      last day (3021 days later) » 

11:03
Yes, but still C# is a high level programming language. What do you "understand" from coding "UdpClient _myClient = new UdpClient()"?
Al lthe knowledge is "inside" the classes of the standard libraries
maybe its just me lol i always have the mindset of doing it yourself, that way i can tweak it to how i want aswell and make it my own u know
plus when i went to college we started out with c# as our first language so its always just been the norm for me
Yeah, don't get me wrong. Using high level languages is a blessing
@GotaloveCode Yeah.
And it's absolutely fine to try solving problems with a high level of abstraction (using standard libraries for example)
@RoelvanUden how can I sort out my combobox problem
0
Q: Windows Phone 8.1 Combobox not scrollable

GotaloveCodeI can't seem to get my combobox to scroll on dropdown on windows phone 8.1 emulator and/or device.Initially it was working fine but after adding some controls it now opens up and seems to get trimmed once it has reached the next control. Below is my xaml inside page: <Grid> <Grid.RowDe...

11:07
However, this is possibly only the starting point of digging deeper into theory / history / basics of programming
The big difference between UDP and TCP is the way they handle latency and bad connections. You're right that in TCP, packets are acknowledged and in case of dropped packets, they're re-transmitted. TCP also ensures that the same order of packets arrives on the other end. UDP has no acknowledgement whatsoever, and no ordering. It's really quite difficult to manage this appropriately.
Is creating two udp streams a possible solution? One in each direction?
UDP is not a stream.
well thats what i thought of at first, but the client is always waiting for a connection so if i was to add a sender, it would crash unless i find a way to only make a sender when a connection is established
Sorry for that. UDP is a protocol, so I would have better said UDP based connection?
11:10
even then it would be on 2 different ports which in my eyes is kinda ott
It's not even a connection in my opinion :P
You just send a packet somewhere and it may or may not arrive.
That's it.
yeh but thats perfect for voice and video
@RoelvanUden First of all it is a protocol, you need a connection to send data using the protocol?
Nah, there is no connection. That implies both parties know of each other and talk to each other. They don't.
UDP is a connectionless protocol, that's why people use it.
low overhead.
one side sends packets to the other side and then promptly forgets about them.
11:13
You just receive packets. And send packets. That's it. No acknowledgements, connections, re-transmission, ordering, or anything fancy. Everything like that is going to be your custom code.
If you even want something like 'This packet was received' you'll have to program that.
@MichaelEdenfield That's interesting for me. So to be correct, one should say: UDP is a protocol that defines (enables?) sending data (but it does not state anything about receiving data)?
well, obviously it defines how to receive data. but the sender doesn't know if the data was received.
> UDP uses a simple connectionless transmission model with a minimum of protocol mechanism. UDP provides checksums for data integrity, and port numbers for addressing different functions at the source and destination of the datagram. It has no handshaking dialogues, and thus exposes the user's program to any unreliability of the underlying network and so there is no guarantee of delivery, ordering, or duplicate protection.
the primary reason it's used in real-time a/v applications is that losing a few packets is not usually the end of the world; you get audio or video glitches on the receiver. the reduced overhead is considered worth the risk.
FWIW there is almost no reason to ever use UDP, so only for real-time where-it-doesn't-matter-anyway situations, like VOIP/video calls really.
Video and audio streams like radio and twitch and youtube? TCP.
11:18
though with bandwidth being so abundant these days, even that excuse is becoming obsolete
everyone just uses TCP for everything.
Pretty much that these days.
I think Skype is still UDP
i dont suppose anyone knows a property of udpclient that shows if someone is connected to it or not
i tried Console.WriteLine(udpListener.Client.Connected.ToString()); but that stays false when listenening and when someone connected
There is no such thing.
It's connectionless.
How on earth could there be a connection?
i thought there must be some way to tell if its connected or not lol
i think doing it manually is my only option
You'll have to come up with it on your own.
e.g. send a 'ping' packet after 5s of inactivity and time out when no such thing is received
11:23
@RachelDockter UDP is connectionless by definition. You'll have to manage your own connections, or else maintain a parallel TCP connection that only sends heartbeat/keepalive messages.
And TCP has its own fair share of problems.
hmm for now ill just use a button and click it when im connected lol
just for testing
@RoelvanUden should be UDP
Speed is more importnat and one doesnt notice if a package gone missing
during voice stuff
Skype, I believe will do either.
I know you have to open TCP and UDP ports up on the firewall... I believe it prefers UDP for data, though.
the TCP ports might just be for "dialing", I forget the details.
https://en.wikipedia.org/wiki/Skype_protocol#UDP
it looks wiked going down from there..
11:33
i just tried to send data from the same udp client thats receiving but the socket isnt connected, that makes sense with that u guys said
thats weird because i would have to use 2 different udp clients, 1 to send and receive, but they would both need my ipv4 address to send to
but a client just normally uses ipaddress.any
Why dont you use TCP @RachelDockter?
i might have to use tcp to send a packet to the client, pick up what ipv4 address its connected to, then connect to that ipv4 address uses a udp client for voice
but overall tcp isnt that good for voice calls
hi roomies
Hiho
True @RachelDockter but as said erlier on, with the speeds we are getting nowadays, the speed difference might be to minute to notice
u think so? i never actually tried it with tcp, might be worth giving a go
and it would make it a whole lot eaiser
@RachelDockter Try it. Once you got your TCP/IP connection (this is a real connection, hm?) you can still use it for different porpuses
Testing is the mother of all (appperntly)
anyone observed facebook status box overlay ? can anyone know how to doit?
@Bechi and you could always switch back @RachelDockter
@RoelvanUden did you read this one? :') bash.org/?104383
true, ill give tcp a try
11:43
@AvnerShahar-Kashtan observed facebook status box overlay ? You know how to do it?
@arun I have no idea what you're talkin about.
ok
hello chat
in facebook.com while updaing status textbox is highlighted and other contents are over layed
11:51
If DDD says : The types of names that you want to avoid are XXXXService and XXXXManager, what name should i choose for my CustomersService in Application Layer?
@arun Ah, I see. Bootstrap has support for it with the modal() feature, which is probably the easiest way to do it.
@AvnerShahar-Kashtan ok
will check
Anyone has idea how to read epub file in asp.net
We want some free library
you mean display?
War
War
@arun isn't that a microsoft publisher file?
I think you'll have problems there ... isn't it a proprietary format
@War ok
we have some requirement for showing epubs
11:58
@arun did you google? github.com/futurepress/epub.js is one of my first hits
War
War
@arun then you'll probably have to write something
@War ok
War
War
unless I have missed something / got the file type wrong
ok
@War no, you're thinking of a different file type.
War
War
12:04
then i will defer this to someone else lol
but it's mostly just compressed HTML, IIRC
War
War
hmmm ... should n't be too hard to decompress and render (perhaps with a transform like xsl)
or use the Javascript library @Squiggle just linked to
12:42
guys im trying to convert this from udp to tcp:
byte[] encoded = selectedCodec.Encode(e.Buffer, 0, e.BytesRecorded);
udpListener.Send(encoded, encoded.Length);
i got this so far:
Stream = TCPClient.GetStream();
byte[] encoded = selectedCodec.Encode(e.Buffer, 0, e.BytesRecorded);
Stream.Write(encoded, encoded.Length);
but stream.write takes 1 more constructer
im not sure if anyone has any idea
@RachelDockter I assume you mean "1 more parameter".
Its name should be a good indication.
yes paramter lol
it takes byte[] buffer, int offet and int size
i assume the encoded.lengh is its size so im not sure what to put for the offset
Did you check out Stream's MSDN page for more information?
nope, normally its all jibberish to me but ill take a look. when sending a string i just put the offset to 0
Getting past the "it's all gibberish to me" is essential. If you can't read documentation and half to have it chewed for you, you'll never manage to get things working.
12:45
MSDN's documentation is my go-to before I start even asking questions here
highly recommended.
ok im on it now,from what i can gather, the offset is the byte number it will start copying the bytes from
so if i put 0, it will start from the beginning
i think
hi hi hi
im sick : (
@RachelDockter Yup.
13:01
@AvnerShahar-Kashtan is it stupid to use .WriteLine("Some Text") instead of encoding "Some Text" to a byte array and then sending it?
@Nerdintraining ...where?
If you want to write a line of text, write a line of text. Don't encode it as a byte array if you don't need to.
Generally speaking when using TCP Client/ TCP Hosts
hello chat
@Nerdintraining This is what StreamWriters are for. A NetworkStream doesn't know what a string is,only bytes, which is why I wrap it in a StreamWriter which gives me the more abstract WriteLine.
If my logic revolves around reading and writing text to the network, I want to stay at the text level of abstraction.
Ah ya, as soon as one wants to send audio/pictures ect. it doesn't make sense to use that anymore
13:05
I am building a web application that has an angular2 frontend, asp.net core as a backend in DMZ, and now am looking at the best way to implement a private backend. Would you suggest a second asp.net core or ODATA v4 or something else ?
Need your string to be UTF-8? StreamWriter can do that. Need it in Win-1255 encoding? Sure.
I read ODATA and my mind goes like " I SEE DOTA! MUST PLAY DOTA!!!!... Oh wait no it reads ODATA... Now I'm sad."
nerd in if u need any help sending stuff though tcp let me know, i have functions that convert strings, images etc to byte arrays
@AvnerShahar-Kashtan UTF8-Love is UTF8-Life
@Nerdintraining Tell that to a mainframe using EBCDIC.
13:07
@RachelDockter thanks for the offer, just like Avner i use a "StreamWriter" to send stuff over the network :D
Hello mainframe, UTF8-Love is UTF8-Life

happy now @AvnerShahar-Kashtan^^?
@Nerdintraining Perfect!
So where is my promised cookie? :D
/me scans the chat transcript.
/me fails to find promises of pastries, explicit or implied.
@AvnerShahar-Kashtan I had a friend pick my up halvah straight from isreal the other day
he is a flight attendant
its way better from the source than what i can buy here
tbh
ooh it's Jewish cookbook club this weekend. @AvnerShahar-Kashtan you know that sort of food, right? What am I missing out on?
13:11
@Squiggle make halvah
its like crack
(cookbook club, every month a potluck based on a chosen cookbook - this month is some book on Jewish food)
@Failsafe Great halvah available here, yeah.
Though there are fantastic turkish ones as well.
@Failsafe might do. I've had that before plenty of times though.
@Squiggle I'm guessing "Jewish", in this context, is Ashkenazi Jewish food.
13:12
Theres a turkish coffee shop near me that makes some marble
...not a cuisine known for it's particularly refined tastes.
btw turkish coffee is 11/10
@AvnerShahar-Kashtan it's got 800 recipes from old Ashkenazic and Sephardic food all the way through modern New York etc.
no idea where to even start
@Squiggle Oh, cool.
But extremely varied.
LATKAS
always a good choice
everyone loves potatoes
13:14
Because Jews spent the last 2000 spread out around the world, there isn't really one single Jewish cuisine.
indeed
but I know, like, bagels.
@Failsafe Potatoes! Frying! Can't go wrong.
there are a lot of jews in NY
Though I've read that the institution of the Jewish Deli in New York has mostly vanished.
my synagogue was very popular
13:15
:(
In my country, the jewish cuisine is the best
@AvnerShahar-Kashtan the jewish deli turned into just regular deli
its all just considered regular now
although, in NJ, jewish delis are very good
i can find some really good matzoh ball soup/bagels in NJ
i dont know why
i think all the old jewish people retired to jersey
like my grandparents lol
we love a kebab in glasgow
or a curry
13:20
@Squiggle seriously though, latkas are probably the easiest way to delve into it
@AvnerShahar-Kashtan is there any chance sending audio 20 times a second through tcp would cause this error:
super easy to make, super tasty
Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.
i was reading someone on SO said it was like ddos protection
never heard of them...prob eaten them
13:35
@Failsafe "it", here, being ashkenazi jewish cuisine. It's fine, but specific. :)
yea
thats what i meant
i took the short way out
It's common in the US to conflate "Jewish" and "Ashkenazi Jewish". The familiar American Jewish culture came from Ashkenazi Jews that came over to the US.
@AvnerShahar-Kashtan You know the most famous deli in the USA is a jewish deli
carnegie deli
Motherfuckers.
3
I've been in a queue for support for 2h.
I didn't respond in 5 minutes = abandoned chat.
ASS-HOLES.
I waited 2 hours, wait 10 minutes at least.
@RoelvanUden if your patience goes down is it considered a vector
13:44
Hi
because it has direction?
and a tremendous velocity
Is it right to say that this:
private bool _myBool = true;
public bool MyBool { get { return _myBool; } }
Is equal to this:
public bool MyBool => _myBool;
I have small query regarding flow of execution flow of action and events in wpf?
0
Q: Password change event behaviour not working properly in prism using mvvm

stylishCoderI am triggering password change event and command action xaml <PasswordBox VmWindow:PasswordHelper.Attach="True" Height="25" Width="180" HorizontalAlignment="Left" FontFamily="Arial" FontSize="11" BorderBrush="#FF959BA0" TabIndex="2" Vm...

@RoelvanUden you actually expect Microsoft tech support to support Microsoft products? You sweet summer child.
13:45
They have to. HAVE TO.
OMAI
I got a dutch support. Awesome.
are you dutch?
only the oven
Any idea ?
Yeah I am
@stylishCoder I'm not a WPFman
13:48
@stylishCoder you should tag your question with WPF instead of mvvm
you will get more views
or both mvvm and wpf
ok sure
@Failsafe have you ever come across with this type of issue
idk i havent done wpf in like ~4 years
@RoelvanUden shall i go and kick some tech support ass sensai?
Naaaahhh I have hopes for this one. Who knows.
13:56
you feel the force is stronk in this one?
I'm just not ready to panic since this one just put me on hold lol
lol :D
anyways have a nice day i'll split
and good luck with tech support .)
14:11
my flatmate is dutch...he loud but funny
I too know of some dutch people.
I know a lot of dutch people.
lol
Know 1 called Mario V
Does anybody here have any clue about Visual Studio error: "An item with the same key has already been added."?
78
Q: An item with the same key has already been added

user650922I get this error whenever I submit the form also the action method is not being called because of this: An item with the same key has already been added. And the exception details: [ArgumentException: An item with the same key has already been added.] System.ThrowHelper.ThrowArgumen...

14:26
@OmegaExtern is this being thrown by your code or by the IDE?
@OmegaExtern Is that an error in Visual Studio or in your code?
@mikeTheLiar screw you :(
#rekt
Visual Studio 2015 (update 3). It is IDE. <<
@KendallFrey gonna have to line up behind your mom
14:26
@OmegaExtern He means is it an exception thrown in code or an error with the IDE itself
You're obviously going to have to tell us what you were doing when the error happened, since it isn't happening for me.
@KendallFrey Are you saying the errors I get don't happen to you in exactly the same format?
the stack trace contains System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContex
it's not a VS error.
it's a .Net exception because it's trying to model-bind duplicates to a dictionary
@Squiggle What stack trace? He never gave us any of that info.
@KendallFrey From the question I linked probably
14:30
sorry I was looking at Failsafe's link
thought it was his own stack trace
@KendallFrey Ok, for me, it is C++ (library) project, when I go ahead and invoke "Build Solution", at some point it just stops and shows already said error message in Errors window.
sorry I'm not paying attention and I have had too much coffee
wait c++
I don't deal with C++
You're getting that error on build?
14:31
@mikeTheLiar Yes
You're in the wrong part of town friendo
hey, an octothorpe is basically just two '+' symbols superimposed
oo there were some nice words in that sentence
mind blown
@Squiggle or better yet 4 + stacked together and italicized
that means it's 2x the power of c++
14:33

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
dont doubt me im a mathematician
@Squiggle It's also 4 +. And 3 +
But it is nothing to do with C++ really.
@Failsafe doesn't the actual Sharp symbol lean the other way?
It is Visual Studio..
It's also 1 depending on your geometry
@OmegaExtern this has not yet been confirmed
@OmegaExtern put your stack trace in a gist and link it here
@mikeTheLiar no it leans left just like me
> put your stack trace in a gist and link it here
14:34
@Squiggle Ough
^ 30 years ago that sentence would have meant absolutely nothing
Can you post the actual error at least?
> put your stack trace in a gist and link it here
@mikeTheLiar It is literally the only text that shows up.
highlight error in VS.
Press Ctrl+C.
Paste into chat window.
????????
Profit, maybe.
14:36
@OmegaExtern but in the Errors window?
there's normally much more going on in the output
Anyone have an Amazon Echo speaker... jeez they aint half going on about it
Jervis from Ironman like device
@OmegaExtern it's possible that your project file (or whatever C++ has?) was merged badly and contains two entries for the same file. That might do it.
If you want a screenshot of that, ok, but I told you, it is literally all.
2 mins ago, by mikeTheLiar
highlight error in VS.
Press Ctrl+C.
Paste into chat window.
????????
Profit, maybe.
@OmegaExtern also the 'output' window (viewing the 'build' output) will tell you more
14:41
@Squiggle Thanks for pointing that out, I've forgot about Output window. Lets see.
@Ggalla1779 yes
i use it to tell me the weather every morning before i leave for work
pretty much nothing else
I thought you were talking about the Output window for a second and I was very confused
I mean, I suppose putting your head out a window will tell you the weather. So it's not 100% wrong.
Well jokes on you i live in a dark bunker with no windows
Linux only shop, huh? That explains the bunker.
whirring intensifies
14:55
@mikeTheLiar Nailed it. Looks like it isn't C++ project at all. It is one of C# projects. Hah!
To be more precise it is a NuGet package. Right now I have no idea why it just blown up.
Your build throws and exception when restoring NuGet packages? You don't need a debugger, you need a stake and some holy water.
It says "... Solution\packages\NuGetPackageName.1.0\tools\net.FileName.targets(52,10): error : An item with the same key has already been added." Apparently it is coming from NuGet package's targets file.
my advice, if your are going to quit your job, besure to quit 2 weeks before a 3 day weekend. Thus you get to have a holiday as one of the last 10 days
15:20
... in many workplaces, if you quit before the end of the year, you don't get all of the holidays paid out.
Well no, you don't get paid for holidays that haven't happened yet. You almost always get paid for unused vacation.
aye, usually when you give your two weeks, they escort you out that day, and clock you out
I've been with the place for 9 years, they want me to stay. They don't have a replacement for me to train yet.
@mikeTheLiar true, but you also don't typically get all of your vacation.. it gets prorated.
like, if you quit in June you get 1/2 your vacation days paid out
@ton.yeung Maybe. What genre?
Installing it now
I could guess, but I'd probably be wrong
@MichaelEdenfield well yeah. You get paid for the vacation that you've earned but not used.
15:27
@gmail?
is it possible to use visual studio on mac ?
@Guffy "Visual Studio Code", yes.
@ton.yeung Funny concept.
15:28
not quite the same, though.
Then idk
Atom is better then visual studio code :P :D
@CapricaSix I am stealing your content.
@RoelvanUden It looks very similar to red remover (IIRC it's called)
Is upload image from web broken?
15:29
@ton.yeung Using gravity for puzzles where some must remain and some don't
Actually I can't upload any image
production value is boring
Either from the web or from my computer
red remover is a brilliantly simple game
Oh and blosics
sleep is a dangerous part of you.

it made me search this:

visual stupid wpf controls properties window
15:31
almost forgot that one
i sleep google.
Apr 24 '15 at 15:23, by Kala J
Also Misual Visual Academy has good videos
I started to to some experimental stuff in unity, and build my first game. Rotate the cylinder!
Guy's What is difference between class {} and public class {} ? both are public and .. I don't understand
first one looks private to me
if you do not specify public it will be private
15:39
But i can use it everywhere
I was wrong "If the class is not nested within another class, then its default access modifier is 'internal'. If the class is nested within another class default access specifier is private."
The internal keyword is an access modifier for types and type members. Internal types or members are accessible only within files in the same assembly, as in this example:
Since you are "probably" in same assembly, that class is accessible.
@Guffy If you don't specify, a class is internal
Basically always specify access modifiers and don't rely on defaults
IMO
Aaa i understand
Ty guy's
Hello everyone, i have just discovered this chat :)
15:54
Hi
@miki this chat in particular? or stack overflow chats?
@betarunex
stackoverflow chats in general
you can press up arrow to edit your message
@Guffy I had some uncertainties in the past, so maybe it will help you - internal access specifier is referencing belonging assembly, although it makes sense to reference belonging namespace - but it is not the case.
Yea bro thank you for helping
I was thought both are public and now i understand
I have one more question
What is func<>. why and when to use it ?
16:09
@Guffy that question would take hours to answer
Thank you friend

« first day (2152 days earlier)      last day (3021 days later) »