« first day (2498 days earlier)      last day (2676 days later) » 

01:32
Im a bit confused how I should fire an event I made.
    var tosplit = Decompress(fileIn, cleanup, directoryOut);
    var retval = Split(tosplit.FullName, cleanup, directoryOut);
    OnUnpackAndSplitComplete(new EventArgs());
    return retval;
If I fire my event there, technically its not true as it hasn't returned to its caller yet... Im wondering if theres some way to fire it After I have returned Retval
Im not sure if that will matter yet though...
threading makes things complicated xD
cross-thread calling operation is depending on framework
in case on android use .Post() and .Dispatcher.Invoke() for .NET
But calling will not always get complete immediate. Because its actually send the messages.
01:48
hmm..
well im probably screwing it all up but w/e I shall find out soon.
02:07
hey guys I'm trying to add a scheduler function called scheduler to choose the next thread to run. So I need to ensure that all
thread states are correct. e.g. Threads which have completed have their state changed to FINISHED, threads
which are waiting to run are READY and only the currently executing thread is RUNNING. this is my Current code https://pastebin.com/DrGRdniE
I just need tips on how to start , this is C programming btw :p
02:26

Lounge<C++>

Today we're daydreaming about C++26 reflection
should I ask my question there instead ?
yes
@ross.c i'm not sure what your question is though; are you asking how to start writing unittests for this code?
@Cauterite nah I want to create the function so it knows when to switch threads and change states
mr5
mr5
02:55
\o/
@ross.c yes. But not because youre not welcome to ask here. Just because here are C#*ats*.
You may get more complete answer on C room.
omg its @mr5
@mr5 I changed what we did yesterday to a linked list haha
mr5
mr5
@ross.c nooo
y u make it complicated?
I'm sorry haha I needed to because it wouldn't work for the next function I did since arrays are fixed
mr5
mr5
nope. it would work.
linked list is unnecessary and overengineered
03:03
dang :/
@mr5
can I have help with my scheduler function I feel I'm really close
void scheduler(Thread currentThread, Thread nextThread) {
wait let me re type it
Void scheduler (Thread currentThread, Thread nextThread) {
	if(currentThread->next->state ==READY) {
		switcher(currentThread,nextThread);
		printThreadStatus(nextThread);
	}
Else if(currentThread->next->state == FINISHED) {
	free(currentThread->stackAddr);
    }
}
03:20
*makes choo-choo noises
@mr5 any ideas ??
Get an even bigger spoon?
03:35
??
 
2 hours later…
05:39
@mr5 is an implicit declaration due to having the functions in a different order in the code
06:25
Dan Bull ladies and gentlemen
GoOoOoOoOoOoOoOoD Mornin' negelcterinos!
Good morning ladies.
Hello me lovely
Hello all
06:40
ohayou
Yu
i need a vacation
at least a weak
Well Dan Bull can give your ears a vacation!
who what
06:46
meh
At least make an effort @Proxy
im lazy
+ we all love rebecca
hey why did you remove her :'(
Because, on the scale of effort from 0-10, you scored -1.
That's illegal.
there is no need to hide it anymore
i have come to the point where i can listen to the song from start to the end
06:51
Oh dear god
Quick sombody
BRING HIM TO A DOCTOR
Fix yourself up @Proxy, before it's too late. This will help:
that cannot help anymore.
i hear only friday,friday
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
They pushed a new youtube design?!
06:56
finally someone noticed it
:'(
I just got used to the old design :(((
i had it for 2-3 days but the it reverted to the old one lol
I had the old one untill liek 10 mins ago
and just now when i clicked on roels link it was the new one
@RoelvanUden its actually quite nice without her singing
07:01
@Nerdintraining youtu.be/AO35r6xofL4?t=18s this is actually great
it is, but the new youtube layout is ruining it kinda
that is okay @RoelvanUden
anyone know why my "bye" doesn't get printed ? I think its something wrong with my scheduler function pastebin.com/XEuUVL5k
@ross.c This is the C# room. Try the C/C++ room.
07:04
The C room has like 4 people :/
¯\_(ツ)_/¯
07:33
good morning
i do wonder, why are these chatrooms so empty
i would expect many more people in here
i come from a modding community, which has like 200-300 modders
and that chatroom actually has more people than this one
i would suspect there are more than 100 times as many C# developers
where are the remaining 99 rooms then?
I think java has the most active room
why chat, when You can earn rep with posting s*it ton of random/bad question on the site?
@Wietlol Probably because chat isn't a main feature. Hell, it's mostly hidden away from the main site, you don't get any rep here, and chat doesn't really get any love from the SO devs. So, no, it makes sense it isn't bigger
Still, I like this amount of people. Too many makes it very impersonal anyway.
true i would have never met roel if there were 100 people here <3
07:40
And did you know? We're getting married! <3 @Proxy
#everythingisadatingsiteifyouarecreepyenough
@Proxy That's so darn cute!
i know
@Proxy wat+
mr5
mr5
daaamn
I've been seeing a lot of homo these past days
07:46
!!wietol
@Nerdintraining That didn't make much sense. Use the !!/help command to learn more.
@mr5 Did you mean: yaoi
When exceptions is expected: Tests
@mr5 you my only hope right now haha
Have ever been in japan @RoelvanUden?
07:48
@Nerdintraining I live there.
mr5
mr5
@ross.c no. I ain't doin' it pal
nooooooo
is it because I changed the array to linked list
mr5
mr5
spend some time at least to learn on your own.
@mikeTheLiar did you know that my boss liks vb?
I have I wrote this function which doesn't want to work
07:49
@Nerdintraining (Without the bullshit: No, I haven't been, yet)
A friend of mine was there last newyears.
He really enjoyd it you should go! (I know you have dogs take them allong :D)
mr5
mr5
@ross.c breakdown your problem in the simplest possible way you can. that's one way you can figure out how to solve your problem
Alright ill keep trying :)
@Nerdintraining I'd love to do that for sure.
@RoelvanUden So whats standing in its way?
07:51
Right now, my dog is too young. She's a pupper.
When she's a little older, I might actually go with her to Japan.
Before the dog, I just didn't have anyone to go with. :-P
@RoelvanUden but chat is easier to ask simple questions especially when you dont know how to ask it
@ross.c i think you should have said javascript
people come there with questions because "this other room, i should have asked it, is empty"
Uncovered/Total Stmts: 40142/40340 :)
@RoelvanUden haha :D You should ask @Proxy
@KendallFrey i ned ur halp
He would love to join you :D
@Wietlol don't summon Kendall, he is a witch!
mr5
mr5
07:55
is there something like object.wait() and object.notify() in C#?
i ned his sorcery
i ned him to trashtalk
@RoelvanUden he is right, we can find tickets during the winter for 400 euros
I'll prove it to you @Wietlol
Caaaprica what is a...
!!witch
07:57
!!wat
:D
He even edited capricas message to display ... afterwards to eliminate the fotoproof
mr5
mr5
a mystery feature
in mac chrome
@mr5 something like WaitHandle?
mr5
mr5
Well, I have found this stackoverflow.com/a/209319/2304737
don't know which one is the most related to Java's object.wait/notify
08:12
Monitor is more of a global thing across all domains. I would use WaitHandle to define clusters which should be notified together
@Wietlol what kind of kendalish spells are you looking for?
@KamilSolecki i need a rant about programming languages
summing up everything that is wrong with every language
just the language, not the frameworks, ides, compilers, efficiency, etc
Haskell hurr durr. There you go.
just the language specification
can you rant about haskell?
i can rant about every language that i have ever used
but i will miss all the features of languages that i have never used
or rarely use
i know kendall is good in ranting about Java/C# which are the main 2 languages i use
so, it would be interesting
mr5
mr5
can you rant about assembly though?
08:23
i havent used assembly that much
i still want to try to make an assembler, but i think id never write assembly by hand
@Wietlol most of them don't have pattern matching, or tail call optimization.
C# 7 will have pattern matching
mr5
mr5
yeah. I have just looked in my gist and wondering why did I have that weird c# syntax
@ntohl is the feature will be officially implemented?
pattern matching?
"case Triangle(int Width, int Height, int Base):"
why the hell not "case Triangle"?
mr5
mr5
08:32
sometimes I miss else clause on loops from python.
"class Triangle(int Width, int Height, int Base) : Geometry;"
also, is that compilable?
One thing I'd like c# to have is hijacking attributes
Which is currently not possible
class Triangle : Geometry {Triangle(int Width, int Height, int Base) {}}
that is what i would assume that it does
mr5
mr5
the example Microsoft have provided is quite silly. The goal of the example could have been better if they use abstraction and implement the printing function for each shape.
08:35
im still waiting for switch cases to be able to return a value
mr5
mr5
pattern matching is like, giving you a privilege to declare a variable almost anywhere
such that "bool b = switch(myStr.ToUpper()) { case "TRUE": case "YES": return true; default: return false; }"
"public immutable class Point"
dat moment when you thought the most useless feature already existed
aka "catch {}"
mr5
mr5
var a = new { he = try {} catch{} finally {}, ha = var b = 1e9 }
will this syntax be valid?
@KamilSolecki @mr5 this is an example of language features that i really want: paste.ofcode.org/35FTAhu4kqcsPmxtxSvXJ7F
in simple terms, the implemented function returns an instance of MyInterface so it follows the interface's contract and the same counts for the input, it can recieve strings, but also other objects
so, what is the issue with it?
simply said, "C# designers"
same goes for in/out on generics
if we take a look at java, we can see a much more powerful usage of bounds
even though java is still missing another feature on generics... and ignoring type erasure
08:50
hmph. If You build Debug in F# tail call optimization is off... In release it's on...
"turn off code optimization in debug mode"
best feature evar /s
mr5
mr5
@Wietlol that does seem break the contract as well as the polymorphism. shouldn't it be object promotion instead of demotion?
I mean, from String to Object
it's a little bit more than optimization in my oppinion. One option allows endless loop in recursive call, other option does not. With the first option You can write controller of some kind (like an operating system), with the second You can't.
my VS 2015 can't see System.Array.Empty<IFoo>()
what is this BS?
I have used it several times before
MORN
@mr5 parameters should be parents
return types should be childs
iDunno which of them would be promotion and demotion though :D
not familiar with the terms
if you have MyInterface myInterface = bla; myInterface.Foo("string"); that works with a function taking in an object as parameter
the output can be written down as "MyInterface bla = myInterface.Foo("string");" which is also correct
09:07
!!angry
!!googļe Array.Empty<> can't be found
^ I have no result, just about linq stuff
09:25
Amazon webservice using sdk

using nuget package we can install Amazon Rekognition
i want to know how to pass credentials in c#?
@MohanSrinivas define pass credentials
Can any one let me know if it's possible to change the size of a link which is displayed in webBrowser , dynamically in c#.
09:46
@SebastianL what is a good/cheap german pc shop that ships components outside of germany
10:00
Anyone have any experience using the DocumentDB API? It's not using my JsonConverter for queries but it is using it for the document itself. It means I can't look up things ...
{
    "Gtin": "04001350303250",
    ...
}

{
  "query": "SELECT * FROM root WHERE (root[\"Gtin\"] = [0, 4, 0, 0, 1, 3, 5, 0, 3, 0, 3, 2, 5, 0]) "
}
Top is how it's stored in the database, bottom is how the query looks.
mr5
mr5
don't use it
create your own implementation
Obviously
Looks like it was caused by the fact that I implemented IReadOnlyList.
I should report that as a bug.
@ntohl yeah rigt, i can see the youtube link^^
10:34
I want to understand two things.
first
why when I used dbSet.Where(Expression<Func<bool,T>>) the data shown faster rether than using dbSet.Where(Func<bool,T>) .
OK, I slightly understand the relationship between IQueryable and the Expression tree, and IEnumerable and Func.. but the two ways must share the same mechanism of fetching data>> go to db, get the data, and store them in the memory then show them. so why IQueryable is faster?
mr5
mr5
gooOOOOooOoooOOd bye negroterrorinosssss!!!
10:55
@MohamedAhmed IQueryable uses indexing in memory filtering do not
more data is checked for the condition if it's pulled up to C# side, than SQL side
@Nerdintraining sneaky sneaky.
@ntohl no nto that sneaklordy
Environment.Exit(0); will terminate program. But how to output a message?
MyProg.exe -test and get output in console?
11:11
hi , good eve
Any one know , in redis cache server how many database available ? i'm using Service Stack
is there a way I can make this simpler ? pastebin.com/H8gdXs9u
Hi guys
I've an interesting problem on my project if someone can help me. I think it's due to the configuration of the session but i'm not expert
So i've a MVC project with azure authent
In Chrome only we lost the asp.net session id
and then all info relative to the user stored in the session are lost
already tried a lot of thing but i can't figure out what's the problem
11:27
@ross.c depending on which language it is, you could wrap the while logic to a different function and provide a lambda expression
I dont know much about C
:D
we've the session_id send in our first request from the front server but chrome don't store it :c
@Alexis are you visiting localhost?
it happen on each environment
we've realised a new POC and the session is set on Chrome on localhost
already seen this post :p
but it happened on local/test/UAT only on chrome each time
I already try to set a lot of config in the httpCookies, but nothing change. I think it's maybe due to something else in the webconfig or in the startup...
 
1 hour later…
13:00
WHY SO QUIET?
PARTY PARTY
ITS FRIDAY
WHOOOOP
!!giphy zoidberg
@Nerdintraining everyone is working probs
@Kieran thats what i think about work!
god dammit
13:07
!!quote get steveg
Nerd damit!
Feb 19 '15 at 16:57, by Steve
i'm looking for a new apartment and this one rents cats, wtf
!!quote help
DAMMIT CAP
13:18
kek
@Kieran owened by a bot
!!kieran2
13:59
@Nerdintraining your boss is bad and he should feel bad
@mikeTheLiar he programms in lotus script, wich is a cheap ripoff of VB
@Nerdintraining GODDAMMIT WHY DID I FALL FOR THIS
@mikeTheLiar becuase it was posted 2 mins after caprica posted hers
14:35
!!c#
May 5 '16 at 15:17, by BoltClock
THIS ROOM IS OUT OF CONTROL
user7480455
hi all
Hi all
user7480455
hi
15:00
My last word for the weekend:
Have a lovely weekend guys!
user7480455
15:20
You too!
 
1 hour later…
16:59
good day everyone
Anyone has the idea of using Win32 API in c#?
I am trying to click a button in the print dialog using Win32 API method "SendMessage();" but sometimes the method works fine, sometimes it doesn't
17:30
> Win32 API
Abandon hope all ye who enter here.
arent you using a Win128 framework?
@Wietlol NOPE
18:26
Hola people
19:21
Could an ObservableCollection<T> be considered an argument? I'm reading about a messageCenter and it's saying use it to decouple ViewModels and pass arguments between ViewModels.
19:44
....
20:21
updating VS...
 
2 hours later…
22:03
Hoiii
hya person that entered the silence
So I'm finding it hard to avoid singletons
For one case
I want to have a game with turns and rounds etc
So I want to be able to run game.Turn.CurrentPlayer
etc
However if I implement that sort of inheritence
I can't access the calling class without reflection
so obviously there's something wrong with my design
It should be noted that "game" is an instance of what should be a sort of state machine
What's my problem... should I not be using Turns/Rounds as subclasses?
Instead of doing game.Turn.CurrentPlayer
Should I do game.CurrentPlayer
and instead of game.Turn.Action
game.TurnAction
?
or should I put the game instance inside the classes?
22:47
Anyone ever have a change developing a website for mac safari users?

« first day (2498 days earlier)      last day (2676 days later) »