« first day (1252 days earlier)      last day (3700 days later) » 

2:00 PM
I give the server a certificate, a valid one
 
You are trying to access something using anonymous authentication that apparently doesn't accept anonymous authentication
 
Hm, I'll try to fix it and give the feedback, brb then
 
@BrockHensley According to the message, msi is doesn't exist but when just launch the installer separately it works.
 
I've never tried combining InstallShield and WiX... I've just used WiX to do everything
Does that ProgramData\PackageCache\7070... folder exist when its ran?
 
@BrockHensley I'm trying to combine wix with installshield
 
2:03 PM
thats where they extract themselves and refer back to themselves when in add/remove programs
 
I don't know because it's an exe file and launches itself and extract itself
 
mornin' c#
 
mornin @deltree
 
my blog post last night seems to have gotten quite a bit of attention while I slept
wanna see it?
dzone shows over 400 clicks, as does blogger, +14 on G+ and a couple of comments. Not bad, all things considered
if anyone wants it, here's the link deltreey.blogspot.com/2014/03/…
 
2:19 PM
Microsoft.AspNet.Identity.UserManager :)
 
hehe
 
posted on March 21, 2014 by Eric Lippert

A very common unanswerable question I see on StackOverflow is of the form "my assignment is to solve problem X and I don't even know how to get started. How do I get started?" That's too vague and unfocussed for … Continue reading →

 
hey hey! I have a NHibernate question (I guess it's the same with the most ORM's)
So I have a two tables `Books` and `Authors`, I also have a `AlinkB` table to connect them. In my ORM model I have made it so I don't have to see the link table, but can just go myBook.Authors and get a list, same the other way around. However, in the link table I have a created date, now: is there anyway for me to set that value?
 
Yes
 
@Laoujin neat blog post. I occasionally have seen it, but most of the time, I write tiny "manager" classes just for decoupling/DI purposes, so it does not negatively affect my code. This code smell seems to be specific to a certain type of org
 
2:34 PM
ok @Shoe? and that way is?
 
the kinds of code smell that I tend to encounter tend to be classes called "StaticUtilities" or similar
 
or wasn't that to me?
 
@deltree reading now
 
thx
 
@deltree Yes, "Utils", "Utilities" and other groups of static functions
 
2:37 PM
@Markus What do you want to do with your Date field?
 
Hehe, the source I'm working right now is full of Managers, static Utilities, lots of switches over (growing) enums and FeatureEnvy smells
I guess that's why I'm here and not really working :)
 
Most often I don't want to use it at all, but for example when adding the link I want to set that date to a certain value, I also want to be able to read it sometime, but I would like to avoid using the link to get the connected books and authors (avoid myBook.AuthorLinks.Autors or something like that)
 
Whats the date for
 
it's just an example... but it could be the day the link was added or the date the book was written....
 
Are you not supposed to put a <nav> in a a header like this:

<header>
      <div class="Logo" />
      <nav>
              // Menu
      </nav>
</header>
 
user2985029
2:49 PM
@Greg i dont think so
 
user2985029
on this page the example looks like the code you have w3.org/TR/html5/sections.html#the-nav-element
 
I'd just use <div role="navigation"
 
@Shoe you loose the HTML5 friendlyness of using the tag though
 
@Shoe The link seem to take up the same subject, but I don't really see how I'm supposed to convert it to C# and NHibernate
 
Someone said that all header and nav are, are div elements. That the nav and header both anchor.
 
2:52 PM
@dav_i Isn't the purpose of using nav for accessibility? role accomplished that
 
@Shoe oh sorry, missed the "role" there
 
so, i have one app config in my main project, and I would like to include those settings in my test projects app.config, i can't seem to google a solution very easily, is there some sort of "include the properties from another config into this one"?
 
anyone here use npm or other javascript package managers?
 
@deltree somewhat. Why not ask in the JS room?
 
that would be a wise thought
 
3:10 PM
@deltree I use npm frequently. Any specific question?
 
28
Q: Loading custom configuration files

AdamI know I can open config files that are related to an assembly with the static ConfigurationManager.OpenExe(exePath) method but I just want to open a config that is not related to an assembly. Just a standard .NET config file... Thanks for taking time to read this and I look forward to your answ...

 
this is exactly what i'm looking for: stackoverflow.com/questions/6233174/…
 
Why do azure powershell commands for deploying roles require me to set CurrentStorageAccountName on the subscription context? It isn't even used since I explicitly pass in a cspkg url. Hell, I can set CurrentStorageAccountName to "herpaderpathisdoesntexist" and everything still works.
 
now, how to make it include a file from another project
^not a real question
okay i lied, maybe it is :p
 
@RoelvanUden I moved to javascript
 
3:15 PM
@deltree Have fun then~
 
lol, it's scary in there
 
If it's the regular attitude, that's exactly the reason I don't hang out there.
 
worse than C++?
 
Just a little, yes.
 
I only hang here. As you say JS is a bit scary
 
3:20 PM
Pretty much all of 'Murica ends up in the Indian Ocean
 
fortunately, I have decently thick skin
 
Old news
sorry, knee jerk reaction
 
It isn't finalized yet.
 
xamarin is overpriced
 
it is
IKVM is free
 
and google is aparently in love with Unity as of yesterday's GDC
 
3:58 PM
Hi guys, I have been searching for all the possibilities why I am getting error "unable to connect to any of the specified mysql hosts" as soon as I debug/release my code on my university's PC. Connection string should work fine because it works on my laptop. Anyone can shed some light about it? :/ On university's PC, Workbench is able to connect to my database, even the Visual Studio's Server Explorer itself is able to connect and read my database tables.
 
@Shyuan What is the connection string?
 
Not sure what are the discrepancies between my laptop and uni's PC
 
Connection string should work fine because it works on my laptop
 
@RoelvanUden private string strProvider = "SERVER=localhost;" + "DATABASE=crawleralpha;" + "UID=root;" + "PASSWORD=mypassword;";
 
^^ whats the connection string - public address?
 
4:01 PM
port is 3306, and trying to connect to locahost. I tried using 127.0.0.1, but still the same
 
Are you sure the connection string is coming from that C# string instead of your app/web.config?
 
Well "it should work because it worked locally" doesn't apply, ever really. You're talking about 2 different machines/environments, anything could be different.
 
e.g. when you connect a EF model first database via edmx it will auto-generate FULLPCNAME\SQLNAME..
 
If you're trying to connect to 127.0.0.1 then the server you deployed to possibly isnt running MySQL on that IP/Port
 
@RoelvanUden since I am quite new to c# programming, I am not quite sure where to seek for app/web.config? University's PC is troublesome, I can't access/modify files in certain locations
 
4:04 PM
@Shyuan yeah, definitely compare the two web.config files
 
@Shyuan I'm not sure what approach you are using, but usually we don't keep configurable stuff in C# code. We use configuration files for that (hence the name). A desktop application has an app.config, while a web application has a web.config. There should be one in the root, with a clause saying <connectionStrings>
 
@Shyuan how did you build your project? You're using VS on both machines?
 
@deltree I started building up my c# project using VS on my laptop (since at that point I wasn't yet given a machine in the uni), so I am crawling some required info from the web and I will have to store into mysql. I did this on my laptop. I then transfer my codes to my uni's machine, so that i can continue working using uni's machine, but that connection bit just couldn't work
 
but you have VS on the college's computer
 
@Shyuan doesn't sound like the uni's machine has mysql... or that you are configured to connect to it properly.
 
4:12 PM
@deltree yeap I use VS Ultimate 2012 in uni, but on my laptop it's VS Professional 2012.
@BrockHensley uni's machine has MySQL 5.6.16 and workbench CE 6
 
k, so you said you have mysql workbench on the college box, and you can connect fine there and in VS
right?
 
With the same IP/Port/Username/Password too
 
@deltree yes, I can connect workbench to mysql database (using standard TCP/IP with details: localhost/root/mypassword/3306), and I can add the mysql database in VS (by going to VIEW > Server Explorer > Connect A Database)
 
but your program can't
so then the problem is your program :)
 
@BrockHensley yes same IP/Port/Username/Password
@deltree even if the program works in my laptop?
 
4:18 PM
you've done a good job of eliminating all other factors
so as we said before, the problem in your program is probably with the way that it connects to the database, which would be your connectionstring variable you called strProvider
 
would it be a firewall issue or port blocking issue?
 
it's running on the same machine, so no
 
okay, thanks for eliminating another factor :)
 
is something changing your strProvider after you set it?
 
do you mind if i share my small piece of sample code here?
 
4:24 PM
@Shyuan use gist if it's a long small sample
 
nope it's only a function calling a table, and button click code
but i will use gist as you suggested :)
 
@Shyuan :)
 
thanks guys for looking into it :)
 
whats the error you get
 
@Shoe Hi Shoe, I believe these two lines are the essential ones:
Sample.vshost.exe Error: 0 : Unable to connect to any of the specified MySQL hosts.
A first chance exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll
the rest of the output were just "'Sample.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:..............."
 
4:38 PM
Ho ho, a moderator!
 
ho ho, A Canadian
SO C# just got a bit better
!!doge
 
       wow
             so fail
                             such user
very pro
 
!!doge Canadian C#
 
         wow
such Canadian C#
 
4:43 PM
!!doge code,canada,eh,progamer
 
  wow
so code
            such canada
                       very eh
much progamer
 
!!doge Kendall,smart ass, young,innocent
 
     wow
much Kendall
           many smart ass
                             so  young
very innocent
 
opposite of innocent is guilty, you are calling me innocent, so you must be GUILTY
 
4:44 PM
Under all of that friday morning sarcasm, Kendall, you are one of the brightest young adults I have met in the tech industry
 
hand over that weed, sir
@RyanTernier haha thanks
its all that maple syrup, eh?
 
!!doge modrator,illaya,flags,annoy,spam
 
       wow
                        so modrator
very illaya
                 much flags
                            such annoy
many spam
 
7 hours ago, by The Dictator
@Illaya
 
True that. Granola, real Yogurt, fresh barries and Mapple syrup. Favorite breakfast
 
4:45 PM
ah, him
!!wiki barrie
 
{{Infobox settlement |official_name = Barrie |settlement_type = City |nickname = |motto = The People are the City |image_skyline = Barrie_Waterfront.jpg |image_caption = A view of downtown Barrie from Kempenfelt Bay. |image_blank_emblem = Barrie logo.png |image_flag = Flag of Barrie.svg |image_shield = Barrie, Ontario Coat of Arms.jpg |image_map = |map_caption = |pushpin_map = Canada Ontario |pushpin_mapsize = 220 |pushpin_map_caption = Location of Barrie...
 
hi all
 
ANy tool that can compare 2 directories, and look at similar files in the file structure and do a "code compare" on them?
 
Hi, can anyone help with my TCP client?
 
I have 2 branches in SVN, and SVN buggered the merge, so I need to check the files and I don't want to do it manually
 
4:47 PM
@RyanTernier I believe WinMerge can do directory comparison
 
@KendallFrey WinMerge is the best thing ever
 
beyond compare?
 
@Shoe hur hur :)
diff is awesome. I wrote a unit tester with it
 
wat
 
for testing filter programs
pipe the output to diff, compare with expected output, bam, unit test
 
4:51 PM
@KendallFrey DID YOU SOLVE YOUR ISSUE FROM YESTERDAY?
 
WHICH ONE DO YOU MEAN?
 
oh caps
the test bs
 
IS IT CAPS LOCK FRIDAY
 
don't searw
:D
@JohanLarsson test bs? hmmm, don't remember what I was talking about
I'm still debugging unit tests, albeit different parts
 
write unit tests to test your unit tests
 
4:53 PM
Unit tests causing other unit tests to fail is bad
:sadface:
@Shoe turtles all the way down
 
@KendallFrey Thx. Trying it now.
 
@KendallFrey yeah that was what I was thinking about, I have some exp with that kind of bs
 
unfortunately you probably need to be familiar with our framework to be any help
 
ok / help then :)
 
its not really a unit test at that point is it?
 
4:55 PM
I just discovered that it's not deleting an entity simply because cmdSave.CanExecute() is false
@NETscape We don't do TDD, we make regression tests
 
@NETscape dat username
 
I suspect most unit tests never were tested for failure
 
This project we got from another contractor had a lot of unit tests.
test 1)
-COpy everything from [Very Important Table] to a dataset.
-Delete the table
-Add crap to table
-Try to select crap using code methods
-Delete Crap
-add in very important information into [Very Important Table]
**IF test fails very important table remains empty
 
In case you didn't hear, I recently became the resident Unit Test Czar at work.
 
NIce
 
4:59 PM
 
oh internet
 
oh merica
 
@JohanLarsson those wacky Canadians
 
I liked how Robbaz commented on the wonderful health care system of Canada in one of his videos
Swedish people are awesome
 
how can you tell?
 
5:02 PM
also, these unit tests are taking a bloody long time
@JohanLarsson Because Robbaz, PewDiePie, and you
 
Wpf undo/redo thing might have elements of useful.
 
what does it do?
 
it lets you undo & redo stuff, view only nothing needed from viewmodel etc.
handles textboxes, selectors and togglebuttons as of now
 
what kind of stuff?
 
try it if you have time
 
5:06 PM
view controls in general?
@JohanLarsson I don't :(
 
45 secs ago, by Johan Larsson
handles textboxes, selectors and togglebuttons as of now
 
Busy today, but tomorrow I may push code for a new Ninja Echo
 
<GroupBox Header="Undoscope 2"
  data:UndoManager.UndoScopeName="Data2"
  BorderBrush="Red" Background="Transparent" Focusable="True">
    <ContentPresenter Content="{Binding Dto2}" ContentTemplate="{StaticResource DtoTemplate}"/>
    <GroupBox.InputBindings>
        <KeyBinding Modifiers="Control" Key="Z" Command="Undo"/>
        <KeyBinding Modifiers="Control" Key="Y" Command="Undo"/>
    </GroupBox.InputBindings>
</GroupBox>
 
undoscope lets you manage multiple undo stacks?
 
Sample ^ the attached prop data:UndoManager.UndoScopeName="Data2"
@KendallFrey yeah, the stack is for all controls that are children of the container it is declared on via dp inheritance
 
5:08 PM
nicely done
 
@KendallFrey try it it is really fast
@KendallFrey pretty hacky, could not tdd it since the events fired differently when in test
 
don't have time to download and build stuff :/
 
@BrockHensley Sorry for taking so long to give you the feedback, I had a meeting and I went to lunch. Thanks for the help, worked like a charm.
I changed the Anonymous access in the app.Config to Digest and it started working. Really appreciate
 
@KendallFrey meh, take the two minutes, don't look at the code, just type and click some then ctrl+z ctrl+y away
then look at the code tomorow and come back with anger :D
 
hey all
 
5:18 PM
ah well, the brief period of usefulness of the Javascript channel seems to have run out
did that kid ever get his mysql db connection working?
 
yay good answer badge
 
@Pheonixblade9 nice
 
@JohanLarsson It's not 2 minutes. I have to set up a repo and everything
heck, it takes more than 2 minutes just to start VS
 
hmm for me cloning would be 20 seconds and I don't even know how to use git
vs starts in six seconds
 
I have to point out that kendall needs a better pc
 
5:22 PM
@KendallFrey 's PC suuuucks
 
I have to point out that it is an Alienware.
Albeit an old one
 
7 year old alienware is still a 7 year old PC
 
let me click my vs2012 button
 
not that old
 
3 seconds
 
5:23 PM
until you have a project loaded?
 
@deltree just like your mother, trebeck!
 
;)
 
my projects take a lot longer, but that's the C++ projects :S
they're slow to load
 
you want me to load up 5 instances of VS
with projects?
 
So is ours
 
5:23 PM
@KendallFrey yep, it took 3 seconds for a solution with 4 projects to load
 
4? hehe
 
I have a top end MSI
 
ours has about 30 maybe?
 
I know how VS runs on a crappy machine (i.e. my work laptop)
 
I can't figure out how to register office 2013
 
5:24 PM
you need a better lappy kendall
 
I know
 
laptop is a joke for writing code
 
They were trying to convince me to upgrade to Win8.1 today
 
I am using a laptop right now @JohanLarsson
 
@JohanLarsson hell no, I love it
 
5:25 PM
but I have a wireless keyboard/mouse plugged into it
 
writing code on the go is awesome
 
puppy chewed my keyboard cable and broke the usb so been coding on laptop for a while, #sucks
 
#selfie
 
@KendallFrey that's what I'm running on my lappy, it doesn't seem much different from 7, except for the two versions of the same program thing, I hate that
 
lemme take a selfie
!!youtube #selfie
 
5:26 PM
 
why...
you just killed the internet, you know that right?
it's dead.
 
@KendallFrey I could open our solution with 50 projects if you want
 
hi has anyone find a way to override asp.net identity error message?
 
50 projects = 5 seconds
 
the concept of a wireless world is over
 
5:28 PM
@Pheonixblade9 what version of VS, OS, and hardware specs plz
 
their are children in africa whom no one cares about that will never again--well, I guess they never did to begin with, but you know what I mean
 
2013, Windows 7 x64 enterprise, and a Xeon from 2010
 
how much RAM?
 
all of the lost accidentally jokes, the loss of 4chan! The world is so unclear now, where do I anonymously insult people while watching scat porn?
 
@KendallFrey 32 GB
 
5:30 PM
k, done, sorry
 
@AndréSilva cool
 
@KendallFrey I'm pretty sure that 8GB is more than enough RAM for VS
 
I have 6
 
if you have a 4GB machine, then you start to experience slow downs
 
VS is a 32 bit program
 
5:33 PM
I usually have about 5 programs running
including 2 browsers (memory hogs)
 
There is no 64bit VS
 
@deltree Ime >12 is nice, looks like windows wants around 10 GB when no upper limit, had 8 at work a while ago and it was always full
 
my MSI is 12, and my other high-end rig is 32, the main difference in my VS performance has been the SSD, not the RAM
 
I wonder how much virtual memory I have on my machine right now
probably tens of gigs
wow, devenv is only using 615MB
 
believe me, it's the SSD that makes the difference
 
5:40 PM
yeah - Disk IO is usuallyt eh bottleneck for loading C# projects
 
no SSD here
 
there's the 2 minute lockup
 
:)
 
my gawd <3 VS project on SSD
 
SSD is cool, but just not practical
 
5:41 PM
what, not practical? lol
 
They aren't big enough
 
dual HD is the way to go, SSD for the OS, HDD for extra space
 
dude, you haven't looked lately
 
my co-worker isnt on SSD and complains his build time is so slow
 
they have 1tb ssd's, 5 stars on newegg, for like 400 bucks
 
5:42 PM
really? since when?
 
Yeah all you need is your OS and VS/Projects on SSD
 
like a week ago at least
 
my projects are all on my HDD, but the SSD gets VS & its dependencies up quickly enough that the project loads nearly instaneously
 
Rest can go on secondary SATA
 
Moore's Law, baby!
 
5:42 PM
I have a 100 GB SSD, 2GB free 8)
 
Whenever I've seen computers specs with SSDs it's 128 or sometimes 256
 
no, $400 is accurate
 
I have over 128GB of just databases for our system
 
we just looked at laptop hard drive ssd pricing yesterday
 
5:43 PM
I have a 64MB HDD somewhere
 
@BrockHensley what about games?
 
I dont have time for that ish
 
I'd sooner put games on SSD than code
 
id' rather put everything on ssd
going to get two 1tb's, maybe 3, and raid em together
 
you need a big enough one though
 
5:44 PM
$389 SAMSUNG 840 EVO MZ-7TE750BW 2.5" 750GB SATA III TLC Internal Solid State Drive (SSD)
$469 SAMSUNG 840 EVO MZ-7TE1T0BW 2.5" 1TB SATA III TLC Internal Solid State Drive (SSD)
 
@KendallFrey games rely on your OS libraries to a greater extent, this means that if your OS is on an SSD, your games run faster, it's that simple
 
@Steve jeebus man
 
@KendallFrey i'd settle with 2, but i'd like parity
 
you mean error correction?
or am I confused
 
5:46 PM
yeah, 2 drives gives you parity, the third gives you error correction
 
4 gets you a party!
 
oh i thought parity was the third drive w/ error corrrection
 
@KendallFrey 12GB
 
@Pheonixblade9 yeah that helps
@Steve the parity from the first 2 is stored on the third to provide error correction
 
and I'm trying to get an SSD
 
5:48 PM
@KendallFrey gotcha
 
what I don't get is why not just triplicate the data
 
Yeah you can only RAID1 or 0 with 2 drives
 
my mojo's so dope, bitch
 

« first day (1252 days earlier)      last day (3700 days later) »