« first day (3393 days earlier)      last day (1562 days later) » 
05:00 - 15:0015:00 - 22:00

mr5
5:06 AM
@JonathonChase C# uglify
seems like they are following C++ footsteps
 
 
2 hours later…
6:47 AM
GoOoOoOoOoOoOoOoOoOoOoOd Mornin' neglecterinos!
 
hi
 
7:09 AM
anyone here worked with DispatcherTimer before ?
 
7:24 AM
morning
time to de_dust VS and make something to fix MS' sloppy approach at handling playback devices
...I don't remember how to get started
 
So I wrote this guy that I'm waiting on to perform a verification. I wrote him on the 23rd without response, so I wrote him again on the 27th, no response. So I call him up yesterday and he says he'll work on it immediately. I have yet to hear from him, so I wrote him again.. this time with my boss in the e-mail
We'll see what develops now..
 
Hmmm
Good luck with that
 
I get that one can be busy, but not responding to inqueries is not excusable
if my boss is okay with it though, meh
 
can you guys help me get started with a C# project? I barely remember what I'm supposed to do xD.
I remember I shouldn't add stuff to MainWindow.xaml
 
you double click on visual studio..
from the menu, go to new.. then select project..
 
7:32 AM
Ye, got that.
I have a grid
Now I'm putting a couple listboxes in it
 
a grid for a window you mean?
ok, how did that go?
 
yep
Nobody died yet
So it's cool
 
well that's good news
 
Good morning.
 
Hola
 
7:35 AM
o/
well I'm genuinely struggling, didn't expect to be so rusty
 
well what specifically are you having trouble with?
 
Sounds like you're doing a WPF app? Maybe do a web app instead ;-P
 
the listboxes don't do much until you give meaning to them
 
I want to do a small app that replaces Windows' shitty sound device selector
because, for some reason, it fails to change the device correctly, only sets the default sound device
 
Why not fix your Windows installation instead?
 
7:37 AM
but the communication device stays the same, and I start hearing half the sound in 1 place, half in another
 
too hard XD
 
I'm doing that soon actually, as soon as I finish the battle pass in 1 game, which ends in less than 10 days
Can you check if it happens to you?
Right click the sound tray icon, open sound settings, then click Sound control panel
Now change the playback device in the former window and see if the latter actually has changed the defaults for both.
 
it won't let me change it because I have only one
but I'd think that the moment you understand the mechanism for changing the device, you'd simply set it and you're done
no need to make a window to do this unless you plan on doing it with some frequency
 
sorry, had a power outage
I need an UPS
@Neil The problem is I do it 2-3 times a day
 
this isn't normal behavior though. have you tried reinstalling the drivers?
 
7:48 AM
What drivers?
 
drivers for your audio devices..
 
Oh right, yes I did
 
no improvement?
 
Nope, it would seem to me like the problem is with Windows
Maybe you have some disabled devices you could use?
to test the default device thingy
Like the expected behavior is to change what device plays music, not the one that plays back your comms app sound
I don't see why I'd like different sound out of my speakers and headphones at the same time
When I'm playing FPS games I need the quality of headphones, when I'm chill it's more convenient to use speakers
So after all, I want a small window to pop up where I can select just that
 
well at home, for instance, I simply plug in my headphones to the 3.5mm and it works
I don't have to switch anything
I think this is the expected behavior
 
7:59 AM
I can't use the front panel jack
 
well why not?
 
among other reasons, because my cans run 600Ohm impedance, and the front panel doesn't support that much
Sound gets terrible.
Also it's more convenient to use the rear panel because the cable doesn't stand in the way
 
but if you use the rear panel, it doesn't automatically switch?
 
8:21 AM
no because I never uplug it
the rig is under the desk
 
mr5
Just so you know, there's recently a confirmed case of nCoV in our country, ...and our government chose not to disclose the whereabouts of the hospital.
 
8:36 AM
Fellas
How do I get the complete signal from dowork in backgroundworker?
It seems it stuck at "ShowDialog();" in "var resultArgs = progressForm.Run(doWork);"
Does it fail to get complete signal ?
`public RunWorkerCompletedEventArgs Run(DoWorkEventHandler doWork, object argument = null)
        {
            backgroundWorker.DoWork += doWork;
            mDoWorkArgument = argument;
            ShowDialog();

            return _mRunWorkerCompletedEventArgs;
        }`
 
Yeah no that's completely wrong
 
`
            void doWork(object sender, DoWorkEventArgs args)
            {
                // SLEEP
                System.Threading.Thread.Sleep(1000);
                // cancel procedure
                if (backgroundWorker1.CancellationPending)
                {
                    backgroundWorker1.CancelAsync();
                    return;
                }
                OpenToolData(myMmrFile);
                ExitFlag = true;
            }

            backgroundWorker1.WorkerReportsProgress = true;
It doesnt cancel and it doesnt stop
 
HAMMERTIME!
 
@CaptainObvious How so?
 
8:52 AM
Well the completed stuff is returned via an event
 
mr5
!~>1+1
 
!=>2
 
Because it's running on another thread it wouldn't be able to stay there. Also ShowDialog is modal, so the method won't return (not that it should return anything anyway) until the dialog has closed
 
mr5
Is there something like RunOnThread(id, action) in .NET?
I wonder how does await Task().ConfigureAwait(true) works
 
9:13 AM
@mr5 Task.Run?
For the default scheduler, that is.
 
mr5
@RoelvanUden I mean, how does it resume to its previous sync context
I'm interested on how the internal works
 
So I got a DataGrid in my WPF app, displays stuff just fine. Now I want to find out what row was clicked in my MouseDown event handler.
Problem is, there are no DataGridCells in the tree
just Border elements
So I can't find the row from that
or do these not display in the debugger?
 
guys I want to built a dashboard in web application using c#
 
 
can you tell me any good website to get templates for my project
 
9:17 AM
Oh I was reading wrong
@Maximious get a good layouting library like bootstrap for foundation
 
@Maximious Ehh... a front-end template for a web application depends on your front-end choices. C# has very little to do with it.
 
Also that, C# just provides the data
I think you might get better help in a webdev/webdesign channel
 
I know how to design a template in php but not in asp.net
 
It's the exact same.
 
so that's why I want to download some ready made template for my project
 
9:20 AM
A template is HTML/CSS/JS. PHP and C# have nothing to do with it. If you already have those skills, you can use them with a C# back-end.
 
ok
@RoelvanUden
but how can i add template into my c# project
 
what you want is a view iirc
thats what puts the data into the html
(thats the most basic way, you could also expose your dashboard data as a json endpoint and get that with js)
 
Create a MVC project. Make a controller (HomeController). Make an action (Index). Return View(). Add a View/Home/Index.cshtml. Put your HTML inside.
 
@RoelvanUden thank you soooo much :D
 
9:51 AM
Turns out those christmas adverts may be true
"Dont plug high power things into extension leads" and "especially if they're wound up"
 
@RoelvanUden you are absolutely right . I designed your way
it's working
 
Great :-)
 
I learned something from you today . A big thank you :)
 
How wholesome
 
mr5
TIL: omnipotent
TIL: omni means all
 
10:05 AM
and potent means powerful! I am so smart! I am so smart! S-M-R-T! I mean S-M-A-R-T
 
mr5
Omni Knight = All Night
Omni Slash = All Slash
Omnigiri = All Rice with something inside
 
then what is Nigiri supposed to mean?
 
o\
ah tits
2
 
mr5
@Neil Omnigiri = Omni + Onigiri
 
10:14 AM
!~shiba
 
thats a lot better
than the one yesterday..
 
mr5
My hand is getting cold. I'm afraid I'm having Wuhan symptoms
 
puts on mask
humans are bad, humans make hans sick
hans stays away from humans...
 
mr5
 
10:34 AM
:o
 
So we build insurance compare software.
I just found a "ToRome" method, converting a number to roman numerals.
What the hell.
 
All paths lead to rome.
 
When in Rome, do as the Romans.
@Squirrelkiller Call it with 0.. I'm curious :)
 
I'm afraid I just deleted it.
Pasted it
Do what you will
 
mr5
11 hours ago, by Jonathon Chase
This is a neat online compiler
 
V.7
10:51 AM
 
Ah, I give up on the programming thing
I didn't remember it so boring
Maybe it's because I've been away for a long time?
 
V.7
Same haha
 
@Squirrelkiller The logic is sound though
 
maybe there's a solution already made
Thx Google Fu
 
mr5
I read that as Google Flu
 
10:55 AM
 
hi
why does fresh Angular .Net Core application fail to compile citing some Python library issue?
 
Maybe you need to isntall python?
 
@CaptainObvious well... i don't need Python .. why should i install it?
 
because apaprently you do need python
Welcome to the stupid javascript frameworks which have about a trillion dependencies and take about 30 years to compile "Hello World"
 
11:04 AM
@CaptainObvious Its obviously the reason Mr.Obvious
i don't think Angular 8 is stupid
in fact its cool ... its .Net core app on Visual Studio [ Angular 8 ] that fails to compile
compiling using npm works fine..
it don't ask for python... but VS does
 
Tell me it's not stupid when your 18TB node_modules folder is taking over your systme
 
it's not stupid when your 18TB node_modules folder is taking over your systme
 
wow thanks
 
> systme
 
systme32
 
11:31 AM
it's friday soon..
 
Box
throwing error at add
 
perhaps ask in Java room?
none of these C# plebs understand these generics :D
 
yeah
you need to ask superior java ppl instead
 
which would be Hansuru or me actually...
 
yup
but this is not the java chat so go ask there
 
12:05 PM
@Hans1984 now that is too cute... is it real? how can it be so real? x)
 
yeah its real
it's a squirrel sleeping
 
since squirrels are VERY lazy
 
only topped by roaches
 
12:06 PM
squirrels are ninjas
 
hehe
they sure are
 
12:18 PM
oh good lord why is a regular automobile carrying a nuke
 
/o\
of course
just kidding ;)
 
guess who has two thumbs and has a 95% chance of not catching the coronavirus?
didn't catch h1n1, not gonna catch this
 
@Hans1984 angelic ninjas haha
 
hehe
 
@AlRey so you're saying you have a 5% chance of catching the virus?
that's way higher than I would give myself
 
12:23 PM
I'm being generous
 
only very well trained squirrels can do this
not the ones in our chat...
 
if you give yourself a 5% chance of contracting a virus, you're not being generous
 
literally
 
the squirrels in our chat just program.. and badly I might add ;)
 
12:40 PM
so i started to play half life again yesterday
since its free on steam right now
it's still fun
 
yep
I think I played it a year ago start to finish
 
it's surprising how much fun it still is given that it is 22 years old
 
ew fok, Armored core games are unstable on RPCS3
 
even knowing what I needed to do, I was still overwhelmed by the amount of content
 
it's like it hasnt aged a lot
of course the graphics are outdated but besides that its still feels great
 
12:41 PM
I'd go around the corner thinking the next section was going to be something because that's how I remembered it, but turns out there was a lot more
 
@Hans1984 I hsould finish this game at some point
I've finished HL2 twice, but not HL1
 
I can see how the graphics might be a little off-putting
but I mean really that's all you can say that's bad about it
they nailed everything else
 
nah the graphics are fine with the HD pack ;P
 
@HéctorÁlvarez wow realy?
yes you should
hl2 is great but i think hl1 is even better
 
there's black mesa
they've done a killer job of modernizing hl1
 
12:47 PM
yeah i played black mesa like 2/3 of it
 
omg I forgot I was in the middle of Xen
I cannot believe how well they reimagined it
 
I played until the part before Xen
it wasn't ready yet, so I stopped playing
I need to see what they've done with it
 
it really does feel like an alien world...as opposed to hl1's Xen which just kinda feels like they barely tried to make it truly alien
hl1 they're just like "idk let's put a handful of weird plants and a bunch of floating asteroids all around"
Black Mesa the environments are lush and manage to feel like a believable world
 
then I'll have to play it
it'll be a shame to beat it though
 
I know the final boss with that fetus is way more intense
 
12:56 PM
I read a theory that suggested that the gman is one of the species of Nihilanth
afterall, they have a common enemy
 
1:13 PM
I played HL1 ages ago it was great :)
 
@Neil I don't think that's true just because after Nihilanth is killed, he tells Gordon "the border world...is now under our control thanks to you"
 
@AlRey he isn't Nihilanth
hes just one of that species
 
possibly if Nihilanth was able to transport you around and do all those weird magical things
they're certainly not on the same side, though
 
1:46 PM
I heard a theory that G-Man is Gordon from the future
 
that's an interesting thought
that must mean things will get a lot weirder before the end
 
Anyone working with Cypress? I'm trying to assert that an element is empty, but it won't accept that the element is indeed empty.
 
2:18 PM
hi there is there anybody to ask a question?
 
possibly; I just don't happen to know anything about Cypress
 
i'm using quart library
@AlRey I need to instatiate a class name when creating the cron job
i give you an example
 
quartz-scheduler.net you mean this?
sorry to say: not sure I know anything about this
 
yeha
IJobDetail job = JobBuilder.Create<Activator.CreateInstance(type)>()
you see I'm trying to tell quartz to point to a parameter not to a specific class
because that parameter contains the name of the class depending on the case
what I've found on the docs is this
IJobDetail job = JobBuilder.Create<class reference for the job>()
 
oh boy the last update to this library was over a year ago
 
2:28 PM
IJobDetail job = JobBuilder.Create<myjob>()
i know
but the customer I'm working for needs Quartz
 
mr5
I thought China population was 3B lol
@AlRey I feel like I have it :(
 
anyone knows a web application of a map, where I can create multi pins with lat and long values?
Found this mapcustomizer.com
 
2:44 PM
China population is 1.4 billion
still the largest of any country, and a good 18% of the world's population
 
not for long
corona
 
the death rate is like 5%
the threat is a little exaggerated
 
it always is
 
now its 5%
 
not that I'd want to catch it
 
2:49 PM
but it might change
but then china seems to have a good way approaching that virus
 
yeah it might change to 3% :D
 
maybe, but 5% would be probably on par with a serious flu that goes around every now and again
 
they managed to build a hospital for that virus in 10 days !!!
 
China -- the same country where women give birth to children on the streets while standing up
 
10 frnkg days
 
2:50 PM
for healthy people, of course that rate would drop probably to 1% or less
 
from the ground
thats just incredible
 
that building is probably gonna collapse in 10 days
 
still
we had 3 ppl infected in germany so far
but they are all in quarantine basically
 
symptoms of this virus may include
- mild hunger
- thirst when eating salty things
- tiredness at night
 
also germans in china will be flown back to germany
by the german army
they said
 
@AlRey Don't forget tendency to want to use the bathroom after drinking water.
 
eventually a lot of ppl will die to virus diseases I think
might not be this time but eveventually it will happen..
since antibiotics are getting more useless by the day
 
that's where stem cell research comes in
I think the only way we could possibly have another black death is if aliens come and give us their disease
 
05:00 - 15:0015:00 - 22:00

« first day (3393 days earlier)      last day (1562 days later) »