« first day (1613 days earlier)      last day (3349 days later) » 

4:00 PM
Levels of competance
I dont have all the answers, im just starting a discussion
 
Coder, Programmer I, II, III, Developer I, II, III, Engineer I, II, III, IHaveNoIdeaHowToCodeButImHereHAHA, I, II, III
 
It needs to be industry certification, board review style
no, pmp is a joke, you pay people lots of $$, you get certified
 
@KendallFrey @SpencerRuport what I mean is, you delete something on OS and it goes to recycle bin. you delete a file on your flash drive, it doesn't go to recycle bin
 
interface IHaveNoIdeaHowToCodeButImHereHAHA{
Meeting LetsTalk();
Meeting LetsDoIt();
void ItWillTakeADayOff();
}
class Meeting {
//i just put some comment here so there won't be nothing
}
 
posted on March 17, 2015 by Visual Studio Blog

dotnetConf is a free, live web event featuring speakers from Microsoft product teams and the .NET community at-large. Together, across two content-packed days, we’ll cover .NET 2015, ASP.NET 5, .NET open source, and cool community presentations – including several from our MVPs, Xamarin partners, and internal Microsoft teams. For the complete list see: dotnetConf 2015 agenda Jo

 
4:05 PM
Is there an easy way to access:

<input type="checkbox" ..... />

From code behind?
 
@NETscape - That's because the recycle bin is really just a special folder windows moves files to when you "delete" them. The folder has to be on the same partition as the file being "deleted". This isn't practical for USB drives so it just deletes the file.
 
@ton.yeung right, so it just moves it to a new location basically, but when you're going through file explorer, nothing sucks more when you mistakenly delete a file on the flash drive and can't go get it easily :(
 
@Greg use <asp:Checkbox
@Greg or just do <input ID="someid" runat="server" type="checkbox" ..... />
 
You can get chartership in the UK
But it's just money money money
 
@NETscape When you delete a file, it behaves the same no matter what drive it's on. However, in Windows Explorer, the delete button doesn't actually delete the file.
the recycle bin is more a feature of Windows Explorer than Windows itself
 
4:10 PM
Nevermind. :P
 
i was bracing myself for some technicality
 
Nah I misunderstood what you meant.
 
ofc that's above the abstraction that is the filesystem
 
lol is this real? http://ask-leo.com/wheres_the_recycle_bin_on_my_usb_drive.html
never tried that
 
What's a regex for matching all html tags except for "p"?
Ugh nevermind.
Found it.
 
4:18 PM
... Regex. For HTML. No.
 
@RoelvanUden YES!
 
@RoelvanUden - I know. This isn't for a program I'm just trying to edit an xml file.
 
4:36 PM
talking about xml, is there any better way to translate xsd to class other than xsd.exe?
 
What's wrong with xsd.exe?
/define 'better'
 
@TomW it sometimes force you to add <schema> on top or just boycott. also the code it generates cannot read "True" and "False" and bool and will error out
 
no fix for not knowing how to use linq correctly either
0
A: Entity Framework gets progressively slow with extra join added even though SQL generated is fast

TheCatWhispererThe problem is that you are probably passing it to a data source that is running all sorts of additional queries based on you open result set. Try this instead: IEnumerable<SigmaTEK.Web.Models.SchedulerGridModel> tasks = (from appointment in _appointmentRep.Value.Get().Where(a => (a.Start < DbC...

"the linq query of doom"
 
wow this is still going on?
this guys must have bunch of time for lunch
 
just wanna run around one day and answer a bunch of questions with "RTFM"
 
4:44 PM
relax and take a tea time
http://imgs.xkcd.com/comics/duty_calls.png
how do you post a image btw?
 
@CharlieBrown agh my eyes
I don't get how people misconstrue EF like that
The fact that query syntax looks like SQL probably doesn't help ...
 
@tweray xkcd is supported directly by chat
!!xkcd duty calls
 
So I'm trying to convert SVN to Git.
Right now all my projects are under one repo.
Sounds like Git recommends a repo for each project?
 
4:59 PM
define "project"
 
@SpencerRuport i don't see too many trouble of keeping them in same repo, unless you want to share or open source one or several project separately
 
as I said earlier, the most important factor is how you want your projects organized
if you want them independent, use separate repos. If they all belong together, one repo
git also supports subrepos, if you're into that kind of thing
 
alright
 
@SpencerRuport imho you should be able to build everything in a repo without referring to any code outside that repo. It could have package/library dependencies though
 
So what if I've cloned an SVN project to a new Git repo. I don't have any remote repo configured yet. If I decide I don't like the way I cloned that repo do I just delete it from the file system or should I use a git command?
 
5:06 PM
@SpencerRuport if you want to obliterate a git repo, just delete it
 
sweet.
 
Boss just used a new word
"Correctivity"
I think he meant "the state of having to continuously rework things not done correctly"
 
You probably misunderstood him when he was talking about the activity in the core
 
I know what I heard
Speaking managerese is his style, but I kind of like that one
 
@tweray Thank you, that worked.
 
5:12 PM
management bs is usually meh
 
@Greg np
 
5:27 PM
woohoo! This is exciting.
Movin to Git.
 
@SpencerRuport It's gittin' good!
sorry, i'll show myself out
 
hi
how do you call the function, when the IDE show you all accessable commands?
 
@kame ctrl-space
the 'function' you're looking for is called intellisense
 
Thank you
 
@ton.yeung I tap it first
odd
thats too bad
yeah
 
5:44 PM
reading some C reference with pointers, and they say:
> Second point to remember is that, it is not good idea to return the address of a local variable to outside of the function so you would have to define the local variable as static variable.
 
you gotta put everything to auto to get 5 days
 
why static tho?
 
if you use the gps and such its less
odd
oh ok
that makes sense
@SpencerRuport how would you do a slideout menu in angular?
 
@NETscape IIRC static has a different semantic in C
 
10mph on your bike?
@ton.yeung lol, not yet. getting there
there were a lot of architectural issues
 
HAMMERZEIT!
 
@ton.yeung I made the mistake of not insisting on scoping and planning before I started the project
because he thought I could be done in 3 weeks
the replatforming is taking a lot longer
the architecture was pretty terrible, I had to redesign everything from scratch
he was doing home-grown authentication
 
gah
 
3 weeks was the original
I recommended replatforming, thought it wouldn't take this long
but after looking at the code I basically have to write the entire damn thing from scratch
 
can chrome-like browser would be written in .NET?
 
6:08 PM
hehe
hmm. trying to decide if a pullout menu is best for my site
 
@Pheonixblade9 don't pullout
 
@NETscape but I don't like babies
 
:D
 
@ton.yeung think facebook's mobile app. it slides out from the side
 
whats wrong with babies
lol
other than the pooping and screaming
fuck, nvm
babies suck
me neither, some day ;)
 
6:11 PM
yeah basically except it doesn't move the content over
that's what the current site does
I feel like he'll want to know why if I change that
I was thinking more like this: jsfiddle.net/iscrow/Es4L3
it serves him and his wife, basically (they both work here)
yeah. "damnit, stay still you stupid menu"
@ton.yeung at first, but they wanna sell this as a product I think.
he said "there will be at most 10 users", I said "I'm building it to support 100k users"
 
@Pheonixblade9 - I'm not sure what would be angular specific about a slideout menu.
 
@SpencerRuport mostly the partials bit
would you use a partial or just put it in the homepage?
 
I'd just put it in the home page.
 
I like this example: jsfiddle.net/fh6p4
Seems like a clean approach.
lol
Well I concur!
@ton.yeung - He said it a few messages earlier than the one you quoted.
 
6:16 PM
I like that except I want to menu to z-index and float over the page, not push it over
I don't want a mouse-over menu, I want a clickable menu
yep and they want this tablet friendly
lol
 
I'm looking for a way to serialize 1 object to Json. That object has multiple lists of data with references to one and another. Is there an easy way to fix the "references" within Json.NET? For example, give every class an ID. The code out there on the web is magic to me..
 
okay, here's another
how do I pull an element to the top right of a div and keep it on top of z-index?
 
Dont z-index that menu
 
@ton.yeung I'm serializing all the data in my class to 1 json file. (I'm not using a database)
@ton.yeung Because I want the data saved in Json? Because saving data is important? I don't know what answer you expect :P
@ton.yeung It is the database.
The original presentation of all the data I have.
This IS my database? :P
 
6:25 PM
@SpencerRuport nice!
 
@ton.yeung First I had it binary serialized. Then I wanted to serialize it to Json instead of binary, but in the source I saw that the references aren't saved as references but as a new object.
@ton.yeung Inside 1 class in my RAM?
 
@ErwinOkken JSON doesn't support references, use a different serializer
it might have to be a custom one
 
That sometimes fails in the case of a Product => ProductCategory. It doesn't fail with binary serialization
 
by binary serialization, you mean BinarySerializer?
or a custom format?
 
BinaryFormatter formatter = new BinaryFormatter(); formatter.Serialize(..); // that one :P
 
6:32 PM
ah yeah
I never use that
and probably never will
 
I have for example 100 products that all link to a category. Why would I want to save a category more than once?
 
You should consider a relational database
 
Ok, instead of serializing the State class, I can also serialize all the Lists inside it. But I don't see the difference regarding the relations :p
 
because however you serialize it, it will probably end up being laid out like a relational database anyway
 
Every day working on this "hobby" project, I change a lot, just to find out that it's still not good :P
 
6:34 PM
@ErwinOkken Think of what you're learning!
 
Oh, that's the whole reason of the project :P
 
It would probably be a good exercise to write a serializer yourself
 
But at some point, you just want to have something to look at, if you get me.
 
you would both learn how to write a serializer and why your data may not be suited for serialization
 
But if I use a database, there should also be a ID => Reference translation, right?
ID as a simple example for PK ofcourse
 
6:36 PM
I should just be able to put jquery in a controller and it'll execute like any normal js code when the controller is instantiated, right?
 
^
yeah don't do that
 
what do?
 
Mtn Do
 
use jquery and angular in conjunction
what far?
oh yeah, when you're doing dom manipulation
but at the same time
yeah thats what i was going to say
 
6:38 PM
@ton.yeung Thanks for now. I gotta go, but I will work on it tonight :)
Why is that? :P
 
(i cheated and use some jquery with angular, in the controller, don't tell ton.yeung)
 
I'm still a student, does that explain it? :P
 
@SteveG blasphemy
 
@SteveG: hehe, that is like swearing in church
 
lol
 
6:39 PM
I do 100 times as much as coursework lol :P
 
problem is... the logic in the menu is pretty closely tied to the menu
 
make the menu as a directive?
 
but do you need any jq for that menu?
isnt that just css transitions?
toggle with ngclass
 
6:42 PM
this is the jq:
$('#button').toggle(
    function () {
        $('#menu').animate({
            left: 0
        }, 'slow', function () {
            $('#button').html('Close');
        });
    },
    function () {
        $('#menu').animate({
            left: -350
        }, 'slow', function () {
            $('#button').html('Menu');
        });
    });
I'm just trying to get the menu to work first :)
right now it pops up and immediately collapses
and has display: none for some reason
the js isn't getting fired even if I put it in the controller, haha
so yeah
I'll figure it out
 
@Pheonixblade9 heyo
 
@CharlieBrown how's it going :)
I'm doing bad things
 
interesting day. sometimes you feel like too little butter spread over too much bread
 
hahahaha yeaaaah.
 
@ton.yeung I always want to do that, but never get around to it
 
6:47 PM
today my project owner asked if it would be easier to get another guy to help me with the CSS for the site. I said "uhhh I'm using bootstrap so I'm not really focused on the CSS" essentially :P
 
i hate this surface, every time my computer goes to sleep, when i wake it up, my dual monitors don't work
i have to unplug the hdmi cables, then the surface crashes and restarts, and finally, both monitors work
 
@CharlieBrown always want to pull it into a directive?
 
-8
Q: Auto article writing program in c#?

Unika InfocomI would like to build a auto content writing program as per topic. for example : I have a topic : Web Design I will type the topic in the text box and the program automaticaly genarate some unique content. How is this possible ?

 
diff conversation
 
lol
 
6:51 PM
can't for the life of me figure out why this .toggle is fired when the page loads...
 
if thats your code above, makes sense to me
 
it makes sense that toggle would fire? why?
this just seems so grody in a controller:
$.ready(function () {
    $('#button').toggle(
        function () {
            $('#menu').animate({
                left: 0
            }, 'slow', function () {
                $('#button').html('Close');
            });
        },
        function () {
            $('#menu').animate({
                left: -350
            }, 'slow', function () {
                $('#button').html('Menu');
            });
        });
});
 
wouldn't that toggle regardless if it's in an angular controller?
 
I am just trying to figure out how to make it work :/
 
6:57 PM
im by no means a jquery pro
but when you call someNode.toggle(), doesn't that make it toggle?
 
I'm pretty good at jQuery, dunno how to mix it with angular though
 
oh wait no
i'm drunk
i wish some times, i wouldn't say so many stupid things
 
I am passing in the functions :)
 

« first day (1613 days earlier)      last day (3349 days later) »