« first day (2432 days earlier)      last day (2531 days later) » 

1:00 PM
Guess who just kicked the on/off switch of his multiple plug to off accidentally :D
 
I just noticed that my encrypted signing keys gets sent along when I publish an Azure Cloud Service. Doesn't that seem like a bad idea?
 
@Nerdintraining hmm. A cat?
 
@ntohl Nah i was the brain for that operation!
 
1:15 PM
Yeee looks like me alright
Only my tactics didn't help me take over the world!
 
Hello everybody
 
Hello @Bechi
 
good morning
 
o/
 
May I ask you a possibly dumb wpf question?
I have to create a "Grid Of Checkboxes" with WPF, so I googled "Grid of Checkboxes C#" and found this wonderful solution on SO:
https://stackoverflow.com/questions/4490989/grid-of-checkboxes-in-wpf

However, what I have to do next is to put labels in front of each row and above each column. I also googled a lot for this question, but I do not find an easy solution to this problem.
Before I start to adopt one of the more complicated ones, I want to kindly ask you for your suggestions.
 
1:28 PM
@RoelvanUden you should learn how to play Megalovania on violin :D
 
In the end, the UI should look similar to this one:
https://satservicegmbh.de/tl_files/images/products/lsm/lsm-web-switch.png
 
@Kieran is back!
!!kieran2
 
I never left @Nerdintraining
 
1:35 PM
Do you all prefer BindingContexts or manually setting each item value for when navigating to a new view?
 
Hi guys
Can anybody please explain me this below line :
You can configure IIS to manage the
SessionId
 either way. InProc mode is the default set
-
ting and means that the web sessions are stored in the web server’s local memory. This option
provides the best performance but is not clusterable. I
 
@Bechi fyi no idea, but tehre is a wpf chat asweell
 
@Learning it means session crap is stored in memory by default, instead of having it stored in something like a db
 
This option
provides the best performance but is not clusterable
Whats the meaning of this line?
 
memory is faster than writing to disk
so memory is faster than having it stored in a db
but, you can cluster multiple systems for a db server
i guess you can't do that with multiple servers sharing memory?
 
1:43 PM
Sorry but i am not sure what does that line means
 
i just explained what it meant
 
Does clustering means that session stored on 1 server memory cant be transfer to other server memory?
 
no
i'm pretty sure you can transfer, but i'm not a guru in iis, so
!!idk
 
@Steve'saD That didn't make much sense. Use the !!/help command to learn more.
 
@KamilSolecki It did sound familiar.
@KamilSolecki Then I remembered youtube.com/watch?v=nQc5pMBwzF0
 
1:50 PM
Right!
 
I have an application built in VS2012, i Built it and compile it then place the .exe on my desktop but nothing happens when i double click on it, any reason for this?
 
Im currently learning how to play it on guitar
 
Sweet! It's probably a LOT of repetition :)
 
yeah, but its both catchy and actually fun to play ^^
 
I'm just working on boring songs atm :P
Moldau is nice though
And FINALLY started to use high 3 :P
How long have you played guitar btw?
 
1:54 PM
I'm still pondering if I should get a violin or not.
 
hmmm, around 4 years will it be. Although I should be practicing much more
 
@satibel Do you like the sound of it? Do you play an instrument? Do you want to take lessons?
 
hello?
 
@KamilSolecki Nice, senpai. :P
 
Is it me you're looking for?
 
1:56 PM
It's me. *
 
is there a reason why a compiled/built exe won't open when placed on desktop
 
Dependencies missing?
 
sampleItem = (SampleItem)BindingContext;
Any thoughts on why this would this not work in the constructor of ItemView.xaml.cs but it does work in async void OnSaveButtonClicked?
 
What do you mean "won't open"?
 
@RoelvanUden hahaha :) I once told you I'll show you my tube Marshall replica
Here itis
With the rest of my setup
 
1:57 PM
Hey sensai,
Am i doing OCR wrong if i am playing around with the picture bevor processing it?
Like right now i am trying to modify the contrast, birghtness, sharpness ect. to see what produces the best result.
 
@Nerdintraining kind of
Instead of trial and error
why dont you read a paper on ocr on text files
 
Right. That's cool. :D
 
they usually specify what algorithms provide what results
and when to use which
 
I double click on my .exe and the application does not launch, it works perfectly fine in VS2012
 
@KamilSolecki well actually this sounds like a great idea.
i ate a franzbrötchen this morning :)
Nice to meet you!
 
2:00 PM
i use costura.fody for my references so that all sould be in one single .exe
 
should
 
@BobSki also hard referenced images, icons, wav, ...?
 
@RoelvanUden Its 100W tube, so with a speaker big enough I could blast my neighbors. There is the downsides of that, too. Playing at 'low' volumes decreases quality, as it doesnt let the amp to put its full potential in.
 
@RoelvanUden I don't play except guitar a long time ago and a steel tongue drum, but I saw some Chinese 100$ electric violins which seem decent for a beginner. And I would play casually with youtube lessons.
 
// I use something like this to log the uncatched exceptions. Can be useful.
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
private void MyHandler(object sender, UnhandledExceptionEventArgs e)
{
    _logger.Error((Exception)e.ExceptionObject);
}
 
2:03 PM
oh, and I like the sound of it.
 
@satibel join me on the undertale quest! youtube.com/watch?v=65HidYKtwxU
 
@BobSki You might use the same logging, and check the missing stuff
 
(Yeah i cannot read notes (at least fluently))
 
@KamilSolecki I don't care about notes, I read midi :p
 
haha lol
 
2:05 PM
@satibel Then, no. Experience in another instrument is a con, because you'll be expecting to progress at a similar rate (which you don't). And lessons are absolutely mandatory. YouTube lessons are great supplements, but without a direct feedback line about your posture and technique, I can't recommend the Violin. Something like the Guitar or Piano is far better to self-learn.
Also, no, cheap violins are terrible. They start at 300-400$ for a good one reasonable one. A terrible violin hampers your studies, demotivates, and makes it harder to play.
 
@RoelvanUden well I'll be doing some photoshopping post processing anyways.
 
lol
@KamilSolecki I don't know note names, but I know how to play them :P
So my teach can go "Play from the A there" and I'll look at her.. righht.
 
once my cnc is running, I'll make a hurdy gurdy.
 
@satibel also, the music theory is very very useful
at least on guitar, but I believe it goes for each and every instrument
Because it takes a shitload of practice and time to be able to play a track just from hearing it (I cant)
and also music theory = u can improv much better / easier
 
I agree, for instruments where you actually play chords and such.
... Which you don't do on the violin so ... meh?
 
2:10 PM
oh.
right
 
@satibel It won't be good. These (usable quality) instruments are hand made.
tho my favorite instrument is hudry-gurdy.
 
@ntohl well, I'll do some tuning, but getting +/-1 mil close is nice.
 
@satibel I know that special case of violin, to put in the "soul" of the violin requires special skills and tools for work with that tiny part. I don't know if hurdy-gurdy is that straight forward to make with just cnc.
 
or fuck it and bang on a computer carcass somewhat following the rhythm.
 
lol what
did i walk into
 
2:19 PM
Intelligence. I know, it's not something you see in the mirror, @Steve'saD, but that's what it looks like.
 
Quick opinion if anyone would care to oblige ... this is pseudocode bad?
string sql = "INSERT some stuff into a db";

if(there are any existing records)
{
string sql = "UPDATE that stuff instead";
}

ExecuteSql(sql);
I'm just concerned it's not very clear - the "presumed" insert, unless a match is found
 
I have not found a better solution for a "upsert" operation in MSSQL unfortunately. I'm more than willing to be proven wrong but I don't have anything better.
 
There's merge, but arguably it makes things even less clear.
I know what I've written will work. I'm just trying to make it clear and tidy without a mess of flow control
 
@RoelvanUden ohhhhhhhh rekt
 
@Steve'saD :P
 
2:32 PM
haha
 
@MattThrower we had to make scripts replayable without exception, so we did it a lot of time before
 
okay, points of interest in the US
 
anyone used firebase for messaging?
 
where should I visit, I need ideas
 
@Steve'saD white house
 
2:33 PM
i suppose i can send messages without mz own backend server
 
@ntohl eh, i'd be too tempted
any other ideas
doing a roadtrip idk what to do or where to go
 
@Steve'saD Dubai
 
@Steve'saD :D one less regular in C# chat. Powered by: body-guards of president
 
@ntohl lmao
 
The actual code was making me uncomfortable. So I put it on Code Review codereview.stackexchange.com/questions/165662/…
 
2:44 PM
I think the real answer is going to be something like "stop using ADO and start using EF and then worry about your problem" but that doesn't really help you right now
 
@mikeTheLiar I can't with this. Normally I would use EF but this is speed critical - every milisecond counts. So I need total control over what's issued to the DB.
 
If this is "speed critical" I would say put the logic in a stored procedure to minimize round trips to the database
Then again, I am also very against premature optimization and would probably say that you should wait until this actually becomes a problem before attempting to fix it
 
Much of it is. "GetAddressMatches", for example, is. But part of this process uses a third-party tool which we can only sensibly access via C# partly because we want to control threading. This function takes the result of that and squeezes it into the DB
It's already a proble,
problem
This isn't premature optimisation.
 
Do you have control of the db?
 
2:51 PM
@Steve'saD Romania
 
It's MySql which makes things worse - I'm not at all convinced of the reliability of the EF layer on MySql
 
Because I suspect that if you're going to be squeezing milliseconds out of this operation it's going to be due to indexes/db structure more than anything
 
Nerdi's ventures update
I just used tesseract to get the words out of an image without preprocessing the image in any way.
I decided i'd like to know how many words get recognized
so i also hand typed - like the lovely little monkey that i am - all the words in that document into a text file
It ended up with the wordcount of 99% as in the actual textfile
 
Well you need test cases! But did the monkey do it properly?
 
i was amazed so i checked unique word count, it was roughly 90% the same
so then i decided to filter out the words that are the same as in the original list and calculate the percentage of same words
this was 60%
and 40% with the unique words where the same
sooooo i have a long way to go^^
and @RoelvanUden no the monkey has some mistakes like 10/300 words are mistieped i'd estiamte
mistyped*
maybe more, now that i read how i type^^
But that's a story for a diffrent day, improving algorithms and reading papers.
So have a nice day off work you guys
seeing you tommorow!
 
3:01 PM
Why won't this work? Any way to do what I'm trying to do?
       var test =
            from ch in chars
                let chars = (from cVal in Enumerable.Range(Convert.ToInt32('A'), Convert.ToInt32('Z') + 1 - Convert.ToInt32('A')) select Convert.ToChar(cVal))
                select ch;
it doesn't recognize chars
of course declaring it beforehand is the simple option but it seems odd that the above doesn't work
 
what is the error? @j.i.h.
 
the name 'chars' doesn't exist in the current context
 
@ntohl eh, I made a somewhat decent wood mouthpiece for a trombone using a jigsaw, a 1x4", and some silicone.
 
@j.i.h. sounds like chars IEnumerable wasn't decalred / doesnt exist in the scope
 
yeah but why wouldn't it recognize it from the let expression?
 
3:04 PM
why should it, it's the inner context
 
from ch in chars
is above
its like doing:

if (x == 5) { int x = 5 }
@j.i.h. you should read about programming scopes
 
it's as if you did chars.Select(ch => { var chars = (from cVal in Enumerable.Range(Convert.ToInt32('A'), Convert.ToInt32('Z') + 1 - Convert.ToInt32('A')) select Convert.ToChar(cVal)); return ch; })
 
3:42 PM
f anybody likes hip-hop, then you probably never heard this - but you should now
 
3:52 PM
I usually listen to country and pop, but I will listen to almost anything :)
 
@Sometowngeek Clearly :/
 
What's that supposed to mean? :P
 
The implication being that listening to country and pop involves lowering your standards to the point that you will indeed listen to anything
 
Heh.
I'm hard-of-hearing, so I generally like listening to music I can easily pick up the words.
 
Country and pop are the Kendall's mom of music genres.
 
3:56 PM
Really?
 
@Sometowngeek I intentionally avoid music where I have to listen to words.
 
@KendallFrey So what do you listen to?
 
hai
 
@Sometowngeek Nothing much
 
Heya Steve :)
 
3:57 PM
XD
 
I think you can barely pick up the words over the banging, blaring instruments in heavy metal and rock music
 
But when I do listen to music it's either chill for coding or something like dubstep
 
did you guys see john mcain's questions to james comey yesterday? sad!
 
@Sometowngeek Which is fine, but even better is purely instrumental music
 
Steve, are you high?
 
3:59 PM
No I didn't
 
@mikeTheLiar unfortunately not :(
 
@KendallFrey Tiesto, Deadmau5, Daft Punk, and the like? :)
 
deadmau5 sure
 
Crap... I'm up against 5 coeurls
 

« first day (2432 days earlier)      last day (2531 days later) »