« first day (2439 days earlier)      last day (2524 days later) » 

user7627726
12:08 AM
What is a good environment for running C# programs? I use Eclipse for java, but Eclipse does not support C# Thank you!
 
@GoJavaAndCSharp uh, the CLR or Mono, I guess
Did you mean writing C#?
 
user7627726
yes sorry
 
Why not Visual Studio?
 
user7627726
I'm having a lot of problems with that. I've tried downloading it about 5 times, and it's not working
 
user7627726
Can you possibly give me a link or something?
 
12:54 AM
@KendallFrey finished chatper 4
lets go
 
do we include @KamilSolecki too
@Steve'saD bloop
 
bloop
idk
 
then i guess not
 
mr5
1:39 AM
o/
@KendallFrey don't you sleep?
 
@mr5 of course not
 
 
4 hours later…
5:14 AM
Anyoone here working at asp.net?
 
6:00 AM
GoOoOoOoOoOoOoOoOoOoOd mornin' negelcterinos!
@KendallFrey some of the most profounding words utterd (or written) in the c# chat :)
9 hours ago, by Kendall Frey
A scientific theory is an explanation or model of some phenomenon, that makes use of data, facts, and laws.
 
6:31 AM
'morn
 
6:45 AM
Morning!
6 messages moved to Sandbox
!!tell nerdintraning mac
 
@KamilSolecki ha that didn't ping and i don't know why you would want to send me that message Oo
anyways can someone star kendalls message so that it is pinned to the starboard?
 
We already have 3 pinned messages
that already causes a quick af rotatation of funny things off the starboard
The jesus of stars was very generous yesterday tho
 
ohayou
 
For the second time I am seeing misha and proxy joining / leaving at the exact same time
 
6:53 AM
Bonjour!
 
same work hours
 
are yall the same person XD
 
we are all the same person :DDD
 
I still think it's too early to comment on the quality of the morning...
I missed some fun with 007 yesterday again?
 
Early? I've been up for four hours.
 
6:54 AM
@KamilSolecki didn't you merge in the collective consciousness? BURN THE HERETIC!
 
Then again, when you've been up for four hours before 10am, that says something about the quality of the morning.
@MadaraUchiha All the good drama happens in US hours.
 
@AvnerShahar-Kashtan That's my secret Cap', to me, it's always early.
 
Then again, these last couple of weeks, getting up at 6:00am is late. It's been 4:30-5:00, more often than not.
 
@AvnerShahar-Kashtan do you sleep at 8pm?
 
@satibel I do not. Usually go to sleep around midnight.
 
6:58 AM
9 hours ago, by 007
my point is air is water
@MadaraUchiha u sure did
 
@KamilSolecki That's some serious early Greek philosopher shit, right there.
Thales, specifically.
 
The reasoning behind that was: tornadoes are spinning air. Water vortexes are spinning water. vortexes and tornadoes look kinda the same. Air is water
 
@AvnerShahar-Kashtan gyaaaaa... missed sleep!
@KamilSolecki air and water are fluids is correct.
 
yeah, but that is something else entirely from the assumption that air is water :D
 
I mean, his point was that they behave identically, thus they are the same thing.
 
7:05 AM
I suggest you go read what he wrote yesterday and you will change your mind in trying to justify his thoughts ^^
 
@satibel Babies will be babies.
And then they'll stop being babies.
*shrug*. Still beats "Mozilla are using CSS to spy for the NSA".
 
@AvnerShahar-Kashtan If I have less than 8 hours of sleep, I can't do stuff.
@AvnerShahar-Kashtan Border-radius is EEEEvil.
 
@satibel oh boy I feel sorry for ya
 
@satibel I'm usually fine with 5-6 hours. I can do with less than that, but then I collapse after a week or so.
 
I can do with 4-5 everyday, then 12-15 on saturday
As beautiful as the morning is, I feel this could be some good time for a round of chess: lichess.org/yrfzCT7h
... nobody? :(
 
7:23 AM
@KamilSolecki Right...
 
@KamilSolecki still @ work.
 
@KamilSolecki I never did like crashing for 12-15 hours on weekends, even back when I had the liberty to do so. I always felt like I was wasting time.
Sleeping in until 9am? Sure. Anything more than that and I was out of sorts for the rest of the day.
 
Not like crashing, I simply wake up after 15h straight
 
@KamilSolecki It was unusual, yeah.
Also, \o
 
7:29 AM
InterOP lesson: do not use DataTable, use List<Dictionary<string,object>> instead.
 
offtop: is there anything about tuple that cannot be replaced with dynamic type?
 
Interop with what?
 
@RoelvanUden also, i challenge you to a du-du-du-du-chess duell!
 
@KamilSolecki I assume, by dynamic, you mean an ExpandoObject.
 
yes
oh oh, who is playing me?
 
7:36 AM
 
mr. feeds has disguised as @ndugger
 
@KamilSolecki A tuple, which still not strongly typed, still has more type information than a dynamically bound ExpandObject.
If I call a method that returns a Tuple<string, object> I know, at least, the count and type of arguments.
 
@AvnerShahar-Kashtan ah, this. Right.
 
Go to bed
 
Thanks
 
7:38 AM
tuple is not strongly typed?
 
@ndugger go back to US timezones
 
Pls
 
@misha130 It's strongly typed, but doesn't convey information beyond the type.
I wasn't very clear.
 
oh yes
 
It's 02:38 right now
Why am I awake?
 
7:39 AM
I just want to input to this conversation: fuck expandoObject, thank you.
 
dunno get some OKCupid gals to put your ass to sleep @ndugger
 
c#7.0 has (string first, string middle, string last) LookupName(long id)
returning a tuple with named values.
 
whoever is playing me, ruy lopez wont work
ok its not ruy lopez
 
I wanted to say that you might as well use a Dictionary<string,object> isntead of an ExpandoObject, but then I saw that ExpandObject actually implements IDictionary<string,object>
 
does it?
 
7:41 AM
Apparently.
> public sealed class ExpandoObject : IDynamicMetaObjectProvider,
	IDictionary<string, object>, ICollection<KeyValuePair<string, object>>,
	IEnumerable<KeyValuePair<string, object>>, IEnumerable, INotifyPropertyChanged
It's basically a dictionary with dynamic bindings. Kind of like javascript objects.
 
\o/ JabbaScript
 
YabbaScript*
 
@KamilSolecki this latest girl is from tinder
 
Jscript
 
7:43 AM
 
@ndugger pics pls
 
Fuck no
 
hahah
 
@ndugger s/tinder/grindr
 
she ugly, huh?
 
7:43 AM
no
I'm not gonna be creepy and post her picture all over
 
i was just kidding lol
 
Liar
🎅
📈😝💦🍆📉
 
lel
like a roller coaster
 
🌚
 
who is playing me?
 
7:48 AM
Let's play habbo hotel
 
@KamilSolecki i would, seeing sensai won't duell me, post link :)
 
public IEnumerable<Attributes> attributes { get { return this._attributes; } set {
        _attributes = value;
        joinsHandler.attributes = groupsHandler.attributes = selectsHandler.attributes = attributes;
    }
}
private IEnumerable<Attributes> _attributes;
should I stop being lazy and actually get the attributes from a service
PLS CONFIRM MY LAZINESS
 
Let's play gaia online
 
lets not
 
Let's play kalonline
 
7:51 AM
Let's play neopets
 
Let's play work
 
It's 2:51. I'd rather not
 
woah, too far
 
@misha130 Do you have similar setters in the joinsHandler and groupsHandler and selectedHandler?
 
no
 
7:52 AM
Because it seems like the setter synchronizes the attributes on all objects if set from one place, but doesn't if set elsewhere.
 
ah
 
Also, why is your public property not capitalized, and should the type name be Attribute?
 
yh I agtee
IEnumerable<Attribute> Attributes
 
I fought the law and the law won
 
Also, this is mostly a pet peeve of mine, I wouldn't call a getter from the setter.
 
7:55 AM
🔫👮
 
I mean, I can see that attributes just fetches _attributes, but it might change, so when I want to pass the value to the other handlers, just pass the value, or _attributes.
 
good (ugt) morning
 
🆓🍆
 
@ndugger you seem to be in the "I don't wanna sleep yet but my mind does" state
 
@ndugger Yeah. Feel free to continue. We'll tell you tomorrow what you were up to.
 
7:57 AM
Yes
 
I seem to be doing something wrong with Interlocked.Increment, but my mind is too foggy to figure out what.
 
🌚🚬
 
I have a method that is called inside a Task. There can be many such tasks concurrently, and I want to limit concurrency.
So I have a counter, and in the beginning of the method I call var currentCount = Interlocked.Increment(ref _counter); and return if it's over the limit. In the finally clause, I decrement the counter with Interlocked.Decrement.
 
@AvnerShahar-Kashtan valid points
 
Now, this seems to work inside a given task (this method is called several times, serially, in a loop), but after the last one is executed, my counter remains incremented.
 
8:02 AM
@AvnerShahar-Kashtan that is a hard one. I'm always bumping to theese quirks when dealing with parallelism.
 
I MADE @KamilSolecki RESIGN, BY BEEING A DICK :D
thats 1-1 now kamil!
 
fk u :D
revenge
is comming
come 1v1
 
^^
after midday
gotta manage some stuff 'till then
i wouldn't have resignd if i were you, you just lost a queen
 
Maybe I should use a semaphore or something.
 
Ill rek u m8
 
8:06 AM
nothing big now is it?^^
 
@AvnerShahar-Kashtan but... but... The code sounds fine. Interlocked is slightly a performance boost to SemaphoreSlim.
 
@KamilSolecki and i told you "you're going down whiteboy" and you did!
 
@ntohl Yeah, the problem lies elsewhere. SemaphoreSlim shows the same behavior.
 
@AvnerShahar-Kashtan Like, your own task scheduler?
 
That would probably complicate matters.
Do tasks inherit task schedulers from their parent tasks?
The main entry point is a WebApi service call that does the heavy lifting. As part of the main work, it starts a background tasks and lets it work unattached.
 
8:23 AM
Morn all
 
@AvnerShahar-Kashtan If you use Task.Factory.StartNew instead of Task.Run, yeah they inherit.
 
mr5
o/
 
8:42 AM
AHOY
 
@RoelvanUden The main Task loads some data, processes each in a loop (inside the Task). THe inner loop is the method that I want to limit.
So I have multiple tasks, each running multiple iterations.
And I want to limit concurrency of the internal iteration.
Still, my simple, naive counter should simply work. When I debug I see that Interlocked.Decrement doesn't decrement, but I don't trust the debugger with these method calls.
It's strange, though. The internal loop does increment and decrement properly. But when I get to the second task, it's up by one.
 
huh I have a selection of russian candy and french or german chocolate in my treat shelf
But the russian candy is with plums
I hate plums in candy
 
I've had spotty experience with Russian candy.
Sometimes good, sometimes filled with what feels like spoiled yogurt.
 
#plumhater
 
we have nice chocolate
sort of
no no no
we have good pastry
 
8:56 AM
@Kieran YOHA
 
Grrr.
1. Main method calls `public async Task ExecuteStuffAsync(long caseId)`. and doesn't await the resulting task, letting it run in the background.
2. `ExecuteStuffAsync` loads a set of processes to execute, and calls `ExecuteAsync` on each, running them one after the other.
They all have ConfigureAwait(false).
ExecuteAsync increments the counter, checks it, and decrements it in the finally block.
For some reason, the loop of ExecuteAsync works fine, the counter gets incremented and decremented. But when I get to the second time I get to ExecuteStuffAsync, the counter is at 1, not 0.
 
do you have a lock?
sounds like your counter isn't sync-ed properly.
 
No, that's why I use Interlocked. The counter should be incremented or decremented the given number of times.
Yeah, I definitely have one more call to Increment than I have to Decrement. Saw it in the debugger. Need to undetstand why.
(Not now. Now is meeting time)
 
9:45 AM
Tried Interlocked, tried Semaphore. TRied locks. No good. For some reason, my finally block isn't called, in the last iteration of the loop.
 
user7442629
 
user7442629
Well at least it crashes gracefully and offers to restore my content
 
9:59 AM
@AvnerShahar-Kashtan I feel Your pain. I have a project put to the bookshelf for months just because of having similar parallel bug in it. Couldn't figure out how to solve it... I wrote fake classes to TcpListener, and TcpClient and stuff, so it should receive Streams just like from normal network. I have a test, where 10 users connects in the same time, but the 10th connection does it's job just after the scheduler asserts connection count = 10
I try to manually schedule the stuff with Rx, so the Scheduler is TestScheduler, and I have control over what happens when.
tho 1 month of futile setting, it won't always giving me the result of 10
it also depends on the ordering of running tests...
madness
 
As you know, there are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
Let's try running it again with first-chance exceptions caught.
 
čače memory
 
hey guys, so I'm trying to work on System.Web.Mobile library and it doesn't seem to exist on VS 2010, any ideas?
The hing is that the controls looks so small on mobile unlike the regular browser
 
Could it be that the original task gets GCed?
Will an unattended task be GCed?
 
@satibel listening to disturbed this morning \m/
 
10:13 AM
kewl
 
o hi satibel
 
why did everyones icons suddently get smaller
 
did you get what you wwanted in steam>?
 
10:14 AM
your turned dk mode off
 
@KamilSolecki Or perhaps it's you that got bigger?
 
its either me not noticing something ealier and its normal or stuff is happening
 
kamil, are you crying?
 
It was always like that, wasnt it.
 
1. It's safe to assume that it's you that didn't notice something.
2. It's also safe to assume that stuff is happening.
 
10:16 AM
@AvnerShahar-Kashtan This is not helping my mental stability you know.
 
it seems that I can't work with the namespace in VS 2010
so is there anyway to make my site layout more mobile friendly?
 
@SamIbraheem curse the VS and it may work then. Try.
 
@ARr0w haven't checked, but I don't think I got that beta key. 5% chance though.
 
5% chance? that's really low man
 
@ARr0w I've been cursing like a sailor for the last 2 days
not working
 
10:17 AM
@ARr0w too many people qualified on that race.
 
@SamIbraheem Don't use WebForms.
Switch to Bootstrap or some other simple, responsive client-side layout framework.
 
@ARr0w @satibel waht game?
 
THE GAME
 
@towc has been steadily invading C#ess room in the last few days
Hes trying to inject JS into our blood
 
JS? Isn't that the programming language they built on top of JSON?
 
10:21 AM
yeah its that scripting Java subset thing
 
why you gotta trigger people
like that
 
What? JS is Java Scripting subset language of course
 
@KamilSolecki POE
@RoelvanUden Jscript is a thing too.
 
It is!
 
edgar allen poe made a game?
 
10:22 AM
if its MVC/WebForms @SamIbraheem try @media queries in css? :P
 
@satibel JScript is Microsofts vast improvement over JS, they thought Java Scripting subset is kinda bad, we can do better - and they were right!
Always use JScript and VB.NET
 
Yeah they recently released an awesome DLC for VB.NET, which introduces embedding C# code so you don't go mad
its 314.15$ I believe
 
I sense sarcasm.
 
also, @RoelvanUden
 
@misha130 maybe.
 
10:25 AM
!!mac
 
14 hours ago, by GoJava
can someone please give me a download for c# on mac? I can't find one. Thank you
 
This is what happens when a JScripter tries C#
 
Oh dear lol
But why not grab VSCode and .NETCore?
It's ez
 
First I needed to explain to him that you dont DL a language
then 007 spammed mono to him like 120 times
 
Well, 007 is terribad at technology
Did he ever learn about .NETCore?
Also just kick 007 :P (when he's really annoying)
 
10:29 AM
Yeh i just counted he linked mono 5 times during 10 minutes lol
.NET core is the future of cross-platform
I believe that
well, then also web dev kicks in
so maybe stuff like electron will overtake the world
dunno
 
hahahaha
wait a second
>electron
must be kidding
 
Is mono still being actively developed?
 
@misha130 you get more and more web devs every year
 
its terrible
as an idea
as performance
 
tell why.
is it a bad idea
 
10:33 AM
well the way it runs is through node
 
The whole idea allows web-oriented developers to spread towards offline applications. Even if we arent there yet (performance-wise) it doesnt mean we won't be in a few years
 
let me try not to parrot a bunch of articles that people wrote
@KamilSolecki do you like xamarin?
 
with node you can still call any of the graphical hooks to generate whatever you make with C/C++/C#
 
of course
but the amount of memory leaks
 
it's just that if you kind of just want to get something done and don't want your devs to learn a whole new thing, you can use a slightly modified browser
 
10:36 AM
depends on the scale of the project
 
sure
maybe it's just that none of the huge companies have tried seriously tackling the issue
maybe facebook will soon come up with an amazing new thing that is supposed to run on different platforms much faster than a browser
and we can start using that
kinda like react native, although that only works on mobile
 
cordova isn't bad at all
but it obviously has its performance downsides
 
but I meant, platforms as linux, windows, and mac
we got plenty of stuff for mobile
there's very little to replace electron or simply browsers on desktop
 
@misha130 never used it.
 
@KamilSolecki ready for loosing agaiN?
Got my break now and am ready to bash you again
 
10:39 AM
@Nerdintraining I wish I could wreck you, im leaving in 15 mins tho
 
#scarycat
#chicken
!!chicken
 
@Nerdintraining That didn't make much sense. Use the !!/help command to learn more.
 
10:55 AM
@Nerdintraining lets play but FAST
 
@KamilSolecki 'tis on
 
croatian news are the best
they are "presenting" news about gender equality
 
are we equal yet?
 
headlines goes as this: these are kind of heels that strippers usually wear
off to lucnch
 
ahahahhahahah
 
11:27 AM
@KamilSolecki i am playing against my boss now xD
 
11:55 AM
so i do
foreach(picture in pictures) //pictures being a string array with file paths
{
	//resize the image
	var img = (Image) Image.FromFile(picture).Clone();
	img = ResizeImage(img, img.Width * 2, img.Height * 2);
	System.Threading.Thread.Sleep(250);
	File.Delete(picture);
	img.Save(picture);
}
and i still get an IO exception saying that picture is in use by other programm why's that?
 
user7138697
Call

File.Open(path, FileMode.Read, FileAccess.Read, FileShare.ReadWrite)
 

« first day (2439 days earlier)      last day (2524 days later) »