« first day (2139 days earlier)      last day (2810 days later) » 

C4u
8:00 AM
Nope. All on mac.
Thats why we code C#.
 
I am on a po-ta-toe
 
lol
 
@TeeSee I don't keep up to speed with that much - only when I actually need to use it :)
 
@shad0wk Im interested
 
user6438653
@C4u no, noo, nooooo! nooot apple f-ing stupid mac!
 
8:01 AM
I use DOS though :P
 
oh ffs
 
@TeeSee The real problem is that failures can be silent, which is a problem.
 
@shad0wk I'm a Mac user as well. dotnet core and VS Code FTW.
 
@Squiggle Did they solve the 'queue and return success' problem then?
 
@RoelvanUden ah that sounds familiar too. I heard that but didnt research exactly how.
 
user6438653
8:02 AM
Why is everyone following the brainwashing Apple!
 
Apple?
 
@RoelvanUden I can't remember :D ...probably?
 
C4u
@shad0wk I was just kidding. Back to business: Unfortunately your project does not compile on Windows 95. Sorry.
 
@Squiggle More like, hopefully? :D
 
user6438653
@TeeSee the main part uses winforms, if you have a look at it, sorry for my rushed messy code, lol.
 
user6438653
8:03 AM
@RoelvanUden Apple Mac with OS X!!!!
 
I'm putting this under your attention (cc @Squiggle) in case you know why:
0
Q: Cordova/UWP Windows Mobile 10 Access Violation on HTML select element

Roel van UdenIn Visual Studio 2015 Update 3, I have created a JavaScript -> Windows -> Windows 8 -> Windows Phone -> Blank App (Windows Phone) project. I then changed the default.html to include a <select> element like this: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>App1</title> ...

 
user6438653
@C4u Who dafuc uses Windows 95 now!
 
@shad0wk what exactly are you doing with it? What types of windows settings? Ill pull it in a few mins
 
user6438653
@TeeSee it's modding windows.
 
@shad0wk their hardware has always been top-notch, and the OS resumes from hibernation really quickly. Also it runs my favorite game. Pretty much everything I do is platform agnostic.
@RoelvanUden honestly no clue. I don't target Windows Mobile for this project.
(yet)
 
user6438653
8:05 AM
@Squiggle Because they steal all the good parts from others.
 
C4u
@shad0wk :D I was kidding again, you know?
 
@Squiggle Aight, thanks for checking it :-)
 
@shad0wk well if they do, that's fine. Makes my life easier.
 
@Squiggle This is just for you then
 
@Mathematics OK... what am I looking at?
 
8:06 AM
@shad0wk just forked and cloned it
 
@Squiggle Fiddle of the year :D
ok enough joking
0
Q: How to get my form in link function in angularjs in an isolated scope

MathematicsRewriting this question for clarification How can I check transcluded form's validity in directive ? Fiddle : http://jsfiddle.net/2erbF/21/ Here is my code, <div ng-app='myApp'> <div ng-controller="YourController"> <div base-template> </div> </div> </div> var myApp = angular.mod...

 
@Mathematics "How can I check transcluded form's validity in directive?"? Answer: you shouldn't.
 
@shad0wk where are the rest of the files?
 
it violates componentisation.
 
@Squiggle oh, what should I be doing then
 
user6438653
8:09 AM
@TeeSee Will add them.
 
@Mathematics what exactly are you trying to do? in terms of functionality, not code
the answers you have to your question are technically correct though scope.$watch("formModel.$valid", (a, b) => {});
but I wouldn't recommend it
 
gfycat.com/AncientDeepAcouchi GTA with Vive. Cool shizzle :P
 
user6438653
@TeeSee Why fork it?
 
@shad0wk why do you have an exe file on github?
 
@JakobMillah holy crap that looks fun!
 
8:14 AM
i thought you would be unable to upload it :O
 
@Squiggle A few more years and we'll have some fun :D
 
user6438653
@Proxy becuase how else would you download it?
 
War
sup ... mornin all :)
 
user6438653
Sup @War.
 
Have a directive for base - form with headers + footers

then create a controller for different forms like edit, update, delete, new etc...
 
8:14 AM
source ^^
 
user6438653
@Proxy you can upload exe's.
 
@Mathematics and you want to put validation messages in your header/footer?
 
@Squiggle yes
no
 
XD
 
I want to disable button I have in footer
create/delete/save etc..
 
8:16 AM
a 'next page' button?
ah OK
 
I can use jQuery but...
then I have to write it down in every controller, edit/delete/save etc..
 
can't you put the <form> outside the directive?
 
user6438653
@TeeSee how ye going?
 
@Squiggle can I ?
that's what I thought
but... I think there is something in directives I can use
 
what I did previously was create a bound attribute on the directive called "isValid"
 
8:18 AM
I tried but failed on that
@Squiggle going to use this trick - jsfiddle.net/PwXQx
 
@shad0wk ?
@shad0wk I can just contrib to your repo if you want. Let me know when you got everything up
 
user6438653
@TeeSee okay, well it would make things easier, only if you want. Yep okay.
 
Btw, this pretty sweet: github.com/OpenRA/OpenRA
Its a Command and Conquer Red Alert C# Remake
 
@Mathematics jsfiddle.net/jervamn4 works for me
 
@Mathematics What exactly was the problem with stackoverflow.com/a/39101096/259953? When I change the input, the watcher runs and prints the validity of the form. I thought that's what you're trying to achieve?
 
8:27 AM
@OliverSalzburg it's not worded so well, but I believe he needs to access the validity outside the scope of the directive. But your answer is correct for his question.
(have an upvote)
 
@OliverSalzburg I tried it but I honestly don't know why it didn't worked for me
+1 from me as well
seems like working, going to try in angular app, I think problem comes up when we don't hardcode transcluded html

but we will find out in a bit, let me try on my system
 
If you need to access the validity outside of the directive, expose it through a binding
 
@OliverSalzburg I want to check validity of a transcluded html in directive, does it makes sense ? :)
so I want to check child form's validaty in it's parent's directive
 
@Mathematics it's probably a scoping issue. Note that in my example you can't reference isFormValid outside the containing controller.
so your controller would have to 'bubble' the bound property out as well
 
anyone know good open source alternatives to nservicebus?
 
8:36 AM
in the same way
 
@Squiggle well that's what my issue is
I can confirm it's not working now
 
@Mathematics I thought that's what I'm doing in my answer to your question O__o
Does this help? jsfiddle.net/9cb6asda
 
@OliverSalzburg it is working in fiddle because we are hardcoding transcluded html
 
@QuietNaN what features? messaging?
 
@Squiggle yes, command / events handling
 
8:38 AM
@Mathematics Then I don't know why you're posting example code which doesn't relate to your real-world use case
 
RabbitMQ?
dunno
 
@OliverSalzburg I just realized :S ?
 
It seems to me like you've been working on this problem for like 3 weeks and, in all that time, you still haven't been able to produce a piece of code that clearly illustrates what you're trying to do :\
 
let me create a plunker
@OliverSalzburg I just figured out the problem that's why :(
 
Alright. Let's see that new plunker then ;)
 
user6438653
8:44 AM
@TeeSee there's some more code now.
 
cool thx
 
user261020
Hi I have a class library project that uses entity framework and that class library stores my entities and context. I then have A MVC web app that is using that class library. I am finding I am needing to add entity framework to both of these projects?
 
user261020
Is this something whereby I should be using DI for the context to avoid having to add a referrence to entity framework in my MVC project?
 
You can abstract the context through an interface. But it takes some work to make that interface, and just expose the tables as IQueryable. Then you won't need that reference to EF.
 
8:50 AM
but I am not sure why it's not working at all
 
user261020
@RoelvanUden Where abouts to I expose the tables as IQueryable. Is it in the context where I have DBSet?
 
@Richard Yeah. That's the only way. Or install EF in MVC proj (which I find ugly)
This is what I would have:
	public interface IContext : IDisposable
	{
		int SaveChanges();
		IContextMapper<Account> Accounts { get; }
	}

	public interface IContextMapper<T> : IQueryable<T> where T : Entity
	{
		T Create(T entity);
		T Delete(T entity);
		IContextMapper<T> Where(Expression<Func<T, bool>> predicate);
		IContextMapper<T> With(Expression<Func<T, object>> path);
	}
 
user261020
@RoelvanUden Would just using DI get around this?
 
You still need an interface to DI.
The only way to be lazy with this is to include EF in MVC.
Or put in the effort to make it nice.
 
user261020
you mean a referrence to DI in both projects?
 
user261020
8:53 AM
I'll give some more thoughts on this. Thank you very much
 
whats with all these projects on GH that seem to have just died or fizzled out? I keep getting all excited when I find a new MVC repo to work on, then I find out the last update was in 2013 and its a ghost town.
 
@Squiggle do you want to try this please ? - plnkr.co/edit/pfFHyoV7miqKVDGuX7ul?p=preview
 
@Richard FWIW here is the entire thing I use gist.github.com/Deathspike/77dbd33c781971e36eab
 
user6438653
@TeeSee it kinda seems like GH is dying.
 
shadow I wouldnt go that far
You think so???
There was plenty of pokemon GO bullcrap on it lol
 
8:56 AM
@TeeSee Because we developers work on this shiny cool new thing, throw it out into the wild, and then go "Ohh! Look at that shiny thing!" and move on to work on that instead. Maintaining and continuously improving software is harder work than most realize, and requires some real dedication.
 
user6438653
@RoelvanUden Agreed.
 
@RoelvanUden sounds like relationships between men and women
 
FYI all my projects are 'dead', except one. That's simply the way it is.
@TeeSee I hope not. lol
 
user6438653
@TeeSee oh-kay. Lol.
 
@RoelvanUden Im on a hunt right now to find some current MVC projects that need coding. So far, nothing current.
 
8:57 AM
@OliverSalzburg ignore last lunkcer this is latest - plnkr.co/edit/V1rRA1MpZsUwMyJm4OcO?p=preview @o
 
but if I go look for JS bs, I can find 19390418 projects right now
 
@TeeSee Why not make something you find interesting, from scratch?
Well, JS has a much larger community for obvious reasons.
 
user6438653
Who is Loetn? github.com/Loetn
 
@RoelvanUden well, I actually am... I just dont know if I have the tenacity to do it all alone with it being as big as it is...
 
@TeeSee Make something small instead! :-D
 
8:58 AM
I am currently working on a full-fledged web app that will take easily at least a year for me
 
Design and make a MVP, it's easy to think of all kinds of bells and whistles
Just don't do that. Build something minimal that still adds value.
 
Damn, thinking outside the box, I like that. :D. What are "small" examples I could do in MVC though? I feel like small sites can mainly be written in HTML/CSS/JS at most... But then big ones take a year of work lol
 
@OliverSalzburg @o ignore everything I said, brb
 
@TeeSee I don't know what you find interesting. It could something like a "Site where you manage your TODOs."
 
That could work... I initially thought my project was small, but soon found out it wasnt lol I enjoy it but I sometimes get hung up on design stuff
 
9:02 AM
I honestly believe it would be best to be in line with some other hobbies of yours
 
that sorta hinders my coding flow
 
War
Anyone here interested in a mid level role as a front end developer?
based in Andover (UK)
 
user6438653
Hi @TehWardy.
 
@War :) I would like. If there's a chance. :)
 
@RoelvanUden what is the best way you recommend allowing a user to select mutliple items from the DB in the context of a form? For example, I have a "Add your business" page and I want the business rep to be able to select items from within one of my database tables that they currently have at their location
 
9:04 AM
@shad0wk I wouldn't know... -_-
 
@Mathematics get the names of your app and controller right, then it might work ;)
 
user6438653
@Loetn Ahh it's you. I just didn't know because I didn'ty see you here.
 
I initially thought a dropdown menu, but that wont really work for multiple items unless I somehow have the dropdown add items one by one to a list
 
@TeeSee In MVC, you could make check boxes and post them back. Just look them up int he controller. :-)
 
Good idea, I'll probably go with check boxes
 
War
9:06 AM
@shad0wk morning
 
But ill have to display them right, especially when the list grows lol
 
user6438653
@War morning/night.
 
@Roel can probably use a DataTable
 
War
lol
 
@TeeSee I'm not sure what you mean with a datatable?
 
9:07 AM
@RoelvanUden Oh its a jQuery DataTables plugin thingy
 
Oh, yeah, no idea then.
 
basically, it nicely formats your lists with pagination and a search box built in
 
@shad0wk I'm mostly lurking around here :)
 
But, I heard you shouldnt use it for lots of data because it can really bog stuff down if youre working with lists of like 1000+
 
user6438653
@Loetn Well that's all good, yeah I just didn't see you here, lol.
 
9:10 AM
@RoelvanUden how do you feel about tangents? Im pretty focused on my app but for example, I sucked terribly at CSS and I got sick of my ugly default page, so I ended up going on a CSS tangent to improve my skills... I often do this, but it can sometimes detract from the actual project.
Or I'll realize I need to implement something and dont know how it works, so I have to go watch vids/read about it... Which takes several days sometimes lol
 
CSS tangent? you mean you work with css then or is that some kind css library?
 
War
@TeeSee use server based pagination for that
that way you can pull much smaller sets and have the db server deal with large amounts (what its built for)
 
@TeeSee Tangents?
 
@War Yeah I only use DataTables for a couple small apps but I may have to implement server pagination for this one Im working on
@RoelvanUden yeah, basically having to run and go learn something in order to work on the bigger project at hand. Is that pretty typical? I sometimes worry I dont want to lose focus, but hit walls and then I gotta go on a little CSS aside, or jQuery aside, etc...
sometimes these asides take days for me to really get familiar with something, then return back to my main project
 
@Mathematics Alright. Ignored :)
 
user6438653
9:23 AM
Salt And Vinegar.
 
what am I looking at?
 
same problem with proper code now :)
I want to disable "Save" button when form is not valid
 
@TeeSee That's completely normal. When you still have so much new things to learn, it's a good long-term investment to understand what you're doing prior to using that thing you found on SO. Once you get passed a certain stage, you don't get distracted as much by new and interesting things (You still do, mind you, we all struggle with this)
 
user6438653
@Mathematics what save button.
 
9:25 AM
Hellp ever one i want to help for
 
user6438653
@PramodGehlot what?
 
0
Q: Error:"invalid_grant", Description:"Invalid JWT: Token must be a short-lived token and in a reasonable timeframe", Uri:""

Pramod GehlotI am trying to access google calaender with the help of google service account but i got belloing error An exception of type 'Google.Apis.Auth.OAuth2.Responses.TokenResponseException' occurred in Google.Apis.dll but was not handled in user code Additional information: Error:"invalid_grant", D...

i have post ask my question
 
@RoelvanUden got it. Thanks for the insight. Just gonna keep chuggin along!
 
@shad0wk you can't see this ?
 
user6438653
@Mathematics okay it worked now.
 
9:29 AM
@Mathematics why not just put the form in the dialog markup instead?
works for me
:)
 
please chekc my question
 
@PramodGehlot could be this, a clock skew issue : stackoverflow.com/questions/36189612/…
 
@PramodGehlot did you search, bro?
 
Yeah that is the top google result btw
 
9:43 AM
stackoverflow.com/a/38433986/1034004 for other potential issues around that
 
If you must wrap the form in an additional div, then it'll get more complicated. Because that div will be the root scope for the directive and the form will live on a child scope. If you can avoid that, do so :P
It's a really interesting problem btw
And it pretty much touches every nasty bit of Angular :P
 
@Squiggle I did it once, but I didn't thought about using ng-disabled="!myForm.$valid" !!
let me try it, thanks
@OliverSalzburg yeah you guys are right, that is the best way to do :)
let me see if I could make it work in my system
@Squiggle I think I can use a variable to pass if form is valid or not to child scope too ? @OliverSalzburg
 
9:59 AM
hey xpath doods
can you return an XmlNodeList which contains a list of Attirbutes?
 
@Mathematics You usually don't want to pass data to child scopes
 
I am already doing this though
see,
templateUrl: 'dialog.html',
scope: {
  dlgTitle: '@esDlgTitle',
  dlgPosText: '@esDlgPosText',
  dlgPosClick: '&esDlgPosClick'
},
maybe I can do this,
dlgIsValid: '!myForm.$valid'
 
Yeah, that's a binding though. That's what I did in my plunkr, isn't it?
 
I just need to check, 1 moment
 
LOL who named their app 'plunkr'
Sounds almost identical to BritE plonker
!!urban plonker
 
10:04 AM
@TomW plonker dope, idiot, moron, wally, pillock, dunderhead, dimwit
 
no no no no no
 
@OliverSalzburg @OliverSalzburg @Squiggle I am bit confused now, should I keep form on dialog or keep it in edit :S
if I move it out to dialog, I am not sure how to add binding for it
but Oliver's way is working if I keep form within edit -- yet to test on own system though
 
sure
just understand your scopes ;)
 
@Squiggle I do. they are isolated scopes :(
 
which is good
 
10:08 AM
can't disagree
 
;)
 
Quick question: in MassTransit IConsumer is used for both EventHandler and CommandHandler right?
 
You're using all these foreign libraries and I have no idea what the question is about.
 
@RoelvanUden foreign
@OliverSalzburg did you updated your answer
I am about to accept it ;)
 
@Mathematics I can do that now
 
10:31 AM
for some strange reason, this isn't working on my real system

Valid: {{myForm.Name.$invalid}}
 
@Mathematics Different form name maybe?
 
10:46 AM
nope, going to dig deeper
 
What's the catch? ^
 
still digging, it's amazingly complex !!
 
You are digging into ..
 
More like, you made it amazingly complex :3
 
Guys, can joins always replace cursors?
Or do cursors have a unique case use?
 
user6438653
11:19 AM
Who likes lemons?
 
@OliverSalzburg if I add a div above form and add directives to it, then error messages work on form fields but then button stops working
 
War
@ElieSaad they have different uses
joins are for combining sets of data cursors are for iterating over them as I understand things
 
Yeah joins runs by sets, cursors run by rows. But how sql works. I am reading something about that. With procedural approach, you tell how you want it to work. That is main difference. Still scratching its surface
 
@Mathematics There are probably new scopes being created
 
@OliverSalzburg you are sort of right :|
while testing I forgot to take form out of dialog.html
stupid me
now it works
 
11:46 AM
thanks
 
Shiet
 
user6438653
@JakobMillah What's up?
 
Not much
@shad0wk You?
 
user6438653
So why did you say Shiet?
 
To leave people hanging. That's what I am good at
:D
 
user6438653
11:51 AM
The WinMod project I'm working on looks like this now:
 
user6438653
 
Nah but, searching for jobs.. Hoping to get something going soon. I got declined project manager job since I was too honest
Well, that is a step in the right direction!
 
user6438653
Dangit. Too honest aye? Sounds like a load of "Shite".
 
Yeah. I said that I don't know if I should stay in the business or pick up another direction
So they felt scared I wouldn't stay with them. Which I find weird, since that is in my book a way to say that they have a flaw within the team
That there are signs of boredom or...something
I wouldn't have accepted the salary anyway and don't know if they would have accepted what I wanted
 
user6438653
Yep, guess they don't like honest ones. They like the worker bees.
 
user6438653
11:56 AM
That will work for anything.
 
user6438653
By the sounds of things.
 
Yep, pretty much. If I stay in the business, I really want to be a project leader/manager for a team. Or some scrum master position.
 
user6438653
Yeah, yeah you don't really want to be a little guy. Little guys can be swapped out too easily.
 
12:14 PM
I hoping for another type of job though where I can satisfy the social me and then focus on programming in my spare time :P
 
12:29 PM
bake peach cookies ^^
 
@JakobMillah they might have declined you, because when you change jobs back, there will be a process and they will need the new guys to get up to date
so why do that ..?
Bad for business.
 
@ElieSaad The new company is focusing on longevity, as every other company in the business. But if they believe in their own company, they would still be confident enough that I would enjoy my time there. They will still have a hard time finding a guy for that position
 
The thing is , no company cares about enjoying you. If you can benefit them, they will give you that joy. But if you are staying for a bit, and not on contract to start with .. Then why the hassle? Just get someone from first strike.
 
They are not recruiting from start. It's through a recruitment company the first 3 motnhsw
So there is no real hassle for the company
 
Then fk it
social shizzle here i come!
 
12:33 PM
hahaha
 
guys do you develop on black, blue, or white theme?
 
black for the most of time (95%)
 
White since I had to go back to default VS settings
prefer black
 
C4u
@ElieSaad Black for sure. Less painfull.
 
a praying moment for all the kids in the universities that are introduced to the white theme
 
12:36 PM
Black.
 
C4u
Even my SO chat is in black :D.
 
Hmm, in a way black is easy for the eyes. But detecting shizzle, ain't it faster with white theme?
 
C4u
Notepad++ -> VS Dark theme.
 
wtf how do you make SO black ..
 
javascript ^^
stylish
 
C4u
12:37 PM
Yeah there's a guy who created a style for the addon stylish for firefox.
 
@ElieSaad black
 
well thats kool
 
user5671675
Hello, I've moved my project to ASP.NET Core so I have database and with new project I've used scaffold-dbContext to create code for that DB. Problem is I don't know how to use Identity with it. Can someone help me with crating empty project database first and config Identity to be able to to login with existing DB?
 
DUDE, SO IN BLACK is OP
thank you for the feedback guys <3
 
C4u
^^ Yeah. White is hurting (my opinion).
 
C4u
+1 for that lol.
 
MLG CSS NOSCOPE
 
user5671675
I also created all tabels like they where in new project with user/password login templet
 
any experienced users of MassTransit here?
 
would any one explain to me why WCF Service Application is not reading my connectionString in the web.config?
 
12:41 PM
@Kob_24 only you know the answer to that
 
C4u
3 mins ago, by C4u
user image
For chrome and firefox available.
 
I have opera, and use the same
 
user5671675
or do u have any good step by step tutorial for asp.net core empty template with database first model using identity and usermanager for register/login ?
 
opera is based on chrome now
 
C4u
https://github.com/StylishThemes/StackOverflow-Dark
:O :O :O :O :O :O :O :O WH0000000000T
 
12:43 PM
@C4u so we go for oliver or stylish themes? :P
 
the first one was for chat only
 
Oh one is for the chat and the other for SO
 
C4u
Yeah! There's also one for SO itself lol. I HAVE to install it!
 
it works fine in wcf Serivce library but not in application
what is the difference?
@juanvan
 
application rights
for example
 
12:46 PM
@Kob_24 what is the error message and in what project?
 
C4u
 
I am getting no error message and i start a project WCF Service Application
 
C4u
Thats fuc'n amazing!
 
@C4u I have a derived version of that, looks better IMO
 
C4u
That has to be inspected O.o.
 
12:52 PM
kendal, that is u. Hail.
 
@Kob_24 libraries don't have config files
 
C4u
U serious?
 
unless they're test projects, but that's a special case where the test runner reads the app.config
 
@C4u it's only for chat
 
C4u
I mean.... U srsly srs?
Ah ok... that explains some...
 
12:53 PM
hahahah
 
I don't use a theme for main
 
C4u
Dude thats you problem :D.
Alright better aint always equals to better.
 
why do websites prefer white > dark colors when the later ones are easier to the eyes?
 
@Proxy [citation needed]
 
It's psychological @Proxy
 
12:55 PM
White attracts ..
 
Bright colors > upplifting and positive
 
bright not white
 
White is bright
 
i know
 
Besides, it's easier to tune down gamma/brightness than the opposite
 
12:56 PM
@C4u how did You install that?
 
C4u
@KendallFrey I customized mine to avoid things like you did ^^. Surrounding own messages and so on. Not my taste.
 
Having black can be hard to read if you are in a bright environment
 
@JakobMillah That's totally irrelevant for webpages
 
And....Black takes more battery life
@KendallFrey Is it?
 
@JakobMillah Euh?
 
12:59 PM
@Loetn Sup?
 
How would a black background use more battery?
Equal yes, but more?
 

« first day (2139 days earlier)      last day (2810 days later) »