« first day (1467 days earlier)      last day (3476 days later) » 
00:00 - 18:0018:00 - 00:00

6:00 PM
@MrDoom lol. And it should perform very well. Did they thought their system was too fast ?
 
Fortunately they thought ahead. The C# part is a sort of caching system. The whole end to end process only happens once.
 
if it's not for realtime use and mapping is automated (no hardcoded DTO for xml to json and so), it is may be not so bad, but I don't really see the point of all the translations
 
@MrDoom must know the team that im consulting for then, very similar approach. awfulsauce
 
and I'm not a very big fan of XSLT for this kind of use ;)
 
using xslt to convert c# into json for use in angular
the concept of a viewmodal escapes people
 
6:04 PM
@Richard I still don't understand the reason for starting with XML. It's hand written. hand written XML.
Now, being handwritten, there are naturally shortcut words for the various element declarations
So "checkbox" becomes "cb"
And I have no idea what "ckmf" means.
There are like, 3000 lines of this XML.
 
funny. hope there are OTHER things to enjoy in this company if you plan to stay :)
 
Fortunately I'm not the one rewriting this awfulness. My coworker/friend is.
I'm the one writing Selenium tests against the systems that use this, then chewing them out when they change stuff without letting anyone know.
 
Does anyone know a good way to invoke another job from within TeamCity that DOESN'T require calling a RESTful API and passing your user creds to it?
 
@ton.yeung Hm, eh. Was debating on using TypeScript.
 
6:27 PM
the "M" in mvc and "VM" in mvvm does not mean your domain model
 
@CharlieBrown I know that, who said it did?
 
the world doesnt revolve around Greg :)
i wasnt targeting that comment at you bud
 
@CharlieBrown Of course it does, I'm fan-freaking-tastic!
@ton.yeung Looks really neat.
@ton.yeung That is quite true.
@ton.yeung How are things at your company?
Ah, sorry to hear that.
 
Sublime Text is kinda nice....
@ton.yeung It started to annoy the fuck out of me.
Well, yes, it's nice if it's up to date.
But packages are behind all the time.
 
@RoelvanUden do you use the Bower plugin for Sublime?
 
6:33 PM
I occasionally updated them myself but I got bored of it. Sublime did it better, they just depend on certain packages being installed globally via npm
@TomW So far, DocBlockr, SublimeLinter, JSCS and JSHint linters.
At least now I can stick with JSCS ES6 features and not be annoyed by slow Brackets package updates. :P
SCP?
@ton.yeung Dunno, can't find it
 
6:51 PM
assumes its local
 
7:29 PM
file bug report
 
its typical of all dates in diff api's
i use moment() to normalize all dates first in angular
 
is it a wont-fix?
 
think about it though... how would it know its UTC vs local?
 
what sort of timestamp?
what format, I mean
 
that is true, but what happens when you format something as local for display, then bind it back to ng controller?
 
7:39 PM
so, millisecond unix time?
 
or when users input into a form field, should it get converted to utc?
it gets so ugly. we used to try to figure it out, then we just starting asking the user to make a time zone setting choice in their profile
 
wtf, internet. This has to be a Solved Problem.
 
32gb is .... expensive
position: absolute, z-index: 999
 
7:58 PM
Is there a place to paste code and for someone to check that its decently written? and that the author isnt doing anything he shouldnt?
 
Who's from Hungary here?
You poor guys
 
> Hungary wants to tax internet data transfers
That?
 
Yeah
 
Yet not a word about the fact that a man was shot dead in my nation's capital
 
8:04 PM
DATA? like, d-a-t-a?
 
How do I align two Textblocks in Stackpanel on same level, please?
 
@KendallFrey Yeah I read about that too.
 
as did i
 
@KendallFrey Didn't think it was worth mentioning though. Shit like that always happen there. Or the States?
 
The States
 
8:06 PM
@Marek use a grid
 
We don't have guns in Canada
 
or depending what its in, try setting the horizontal alignment?
 
@KendallFrey - Actually it would seem domestic terrorism is on the rise in Canada.
 
@NETscape Thx. got it
 
from one death a year to 3 deaths a year
 
8:07 PM
@TravisJ today anyway
 
There was the guy that shot all those cops last month also
@KendallFrey - yesterday there was a guy who tried to ram his car into a city building
 
death in Canada, get shooters name quick so we can send it to US and see who he is. 'merica
 
news travels funny nowadays
I first heard that the hockey game was being postponed.
Then I had to figure out why.
 
8:20 PM
@CharlieBrown what is hocky
 
exactly
 
@KendallFrey Can I get your help.
I've got this Expression Validator, I'd like to allow before the @ that - or ' are allowed, how could I fix this Expression?
 
Maybe!
 
[\w\.-]+(\+[\w-]*)?@([\w-]+\.)+[\w-]+
 
you mean [-']? ?
 
8:29 PM
I didn't see that, but yes.
So, this?
[\w\.-']+(\+[\w-']*)?@([\w-]+\.)+[\w-]+
 
uh, i don't know
I would have literally put that before the @ based on your question
that might be right as well
 
That didn't work.
Eh, got it. Stupid x-y order issue.
Thank you for the assistance.
 
8:44 PM
 
8:55 PM
Are there any guidelines for C# and putting whitespace between lines of code within methods?
 
Stylecop says empty line after }
 
If you need whitespace, your code might be too complicated
@JohanLarsson even inside a method?
 
pretty sure yes
 
ew
unless it symmetrically recommends space before blocks
 
@JohanLarsson Whitespace after a closing bracket unless immediately followed by another closing bracket, in which case no whitespace.
 
8:57 PM
then... eh
 
void foo
{
    {
        derp;
    }
}
 
yeah lots of scrolling if following all cop rules
 
That's what outlining is for ;)
 
I always do fuu instead of foo. Makes it more readable.
 
void Foo()
{
    var x = GetListOfStuff();

    foreach(thing in x)
    {
         // Do stuff
    }

    return something;
}
So like that?
 
9:00 PM
not required after the var x line I think
try stylecop, it is free
 
Okay, thanks!
 
rules can easily be disabled and version controlled
I think stylecop is the MS style guidelines
 
I hope not even MS follows StyleCop. Seriously, that thing is insane on the default settings. It's a shame it borrows on the good name of FxCop.
 
FxCop doesn't exist anymore, it was baked into VS.
 
I know. But they didn't name StyleCop StyleCop for nothing.
 
9:03 PM
And AFAIK StyleCop just puts into raw requirements what Microsoft had written out. Things like writing out "Gets or sets" in comment blocks and such.
I have two non-programmers committing code to my codebase. At this point I <3 stylecop.
 
When last I tried it (and that was admittedly a while ago) the default rules had such doozies as recommending that you put "using" directives in local blocks. I've never seen that even in MS' own source...
 
I used to have a team member that'd randomly put 3-4 blank lines in 50+ line methods to separate out logical chunks.... time to refactor! ;)
 
We solved the style issue locally by saying "configure your VS to use these settings, thanks". Works for us...
 
@JeroenMostert Well that works for things like spacing rules, but not for phrasing or requiring complete comment blocks.
 
Hello efriends :)
 
9:06 PM
And I won't disagree that I had to go in and disable a bunch of the default rules.
 
Question: Is there any equivalent of Window.TopMost property ?
 
@MrDoom: right, comments. I knew I was forgetting about something. cough :-)
 
We used stylecop with warning > build error in the beginning of the project. Quite a bunch of the rules turned off.
Think it was a good way to get a coding standard in place
removed the build thing now as it slows things down when things gets big
 
I'm building an utility for a game and i need the program to run on top of the game always, if the game is reduced (user press cltr+tab) the program disapeares too
any ideas ?
 
@User1 Build your own mapper that translates visibility and canvas of your target application (observing the process main handle) to your own application. Basically, poll the hell out of the target window to detect changes and change accordingly. You probably want to use an extended transparent window yourself, too.
 
9:21 PM
@JohanLarsson We're running that at the moment. When (soon(tm)) we deploy TFS2013 we're going to be setting up for CI.
 
maybe on a night build task?
Our sln got big and tfs is really slow for us, checking in takes ~10 minutes
 
@JohanLarsson - That sucks :(
 
I removed everything that slowed the build down like code analysis & cop
 
Whoof, that's quite the delay. Currently our build times are pretty quick, but code analysis can take its sweet time
Stylecop is pretty quick at the moment.
 
@RoelvanUden ty for replying, so basically i need to see if the process of that game is running, if it is run my app too , the app needs to be transparent... but can you say a bit more about "Build your own mapper that translates visibility and canvas of your target application"
 
9:23 PM
@TravisJ yep, can't do anything useful meanwhile. Staring on something new would mean dirty commits if rejected.
 
Do you really need the canvas polling? Wouldn't a window hook (or something else simpler to observe visibility) and SetWindowPos() work as well?
 
@User1 Sure. Observe the target window, if it changes position or dimensions, you need to know and apply the same changes to your own transparent-on-top window. Otherwise you'll get weird crap and you will confuse the end user.
 
also refactored out stuff to a local nuget so fewer projects would need to be built
 
ah, got it , what about the technique i need to use to make the game on top i read that topmost doesn't always work
 
I want to find a way to refactor the IT-department who runs the servers also.
 
9:28 PM
@JohanLarsson Oh you have that problem too?
 
think it is universal, all it-departments operate soviet-style.
 
We've got 6 or 7 remote workers who have to work in VMs
Well their VMs were crazy slow because they were all on one physical machine
IT starts migrating them to a new machine
Halfway through everything was great, because the loads were split
IT finished the migration and it was back to terrible.
 
Of course that's nothing of the malware that was installed when I got my shiny new development laptop.
But I'm glad to hear it's a common problem.
 
@User1 It doesn't. You just need to re-apply the top-most flag.
 
9:32 PM
hmmm, ty very much will work on it :)
 
	RenderLoop.Run(Form, () => {
		Form.TopMost = false;
		BeginDraw();
		Draw();
		EndDraw();
		Form.TopMost = true;
	});
That's what my render loop is like. Best efficiency? Nope. But it works.
 
 
1 hour later…
10:38 PM
@OMGtechy I have arrived
So I want to make an app that stores times in a database, but I know nothing of databases. Anyone have any good reading material for me?
 
sure
Third normal form is the third step in normalizing a database design to reduce the duplication of data and ensure referential integrity by ensuring that the entity is in second normal form and all the attributes in a table are dependent on the primary key and only the primary key. == Definition of third normal form == The third normal form (3NF) is a normal form used in database normalization. 3NF was originally defined by E.F. Codd in 1971. Codd's definition states that a table is in 3NF if and only if both of the following conditions hold: The relation R (table) is in second normal form (2NF...
Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy. Normalization usually involves dividing large tables into smaller (and less redundant) tables and defining relationships between them. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database using the defined relationships. Edgar F. Codd, the inventor of the relational model, introduced the concept of normalization and what we now know as the First Normal Form...
 
Maybe something like...uhm beginner friendly?
 
@Tokencodingnewbie - The second one is a better starting point, it will show you the basics of identifiers and how to structure relationships in the database. The first one is pretty much how standardized to get.
@Tokencodingnewbie - If you can write a set of classes for it, you can write tables for the data.
 
I use sql for this right?
 
In what way will you be accessing this database
 
10:48 PM
I guess through a network?
 
from a website, mobile device, desktop application, etc. ?
 
I'd like to be able to pull it up from a tablet and anyone with the application be able to look at the data.
Mobile Device.
 
ok so it will be a hosted sql server instance, where will it be hosted? on a machine you control or through a service?
 
On a machine I control.
 
Xampp
 
10:54 PM
BCNF
 
Just saying
 
Take a look at Xampp, makes like easier when you're learning about databases
Life*
 
@Tokencodingnewbie - Okay, so you should get Sql Server Express (it supports up to 10gb), and SQL Server Management Tool. Install express, install management tool, use tool to either script or UI create the database and tables.
 
Makes the getting started much smoother
Mysql too
 
10:56 PM
What does it do.
This is all brand new to me.
 
Google it, I'm off now, just popped on to say that ha
Ttfn
 
Please don't use mysql :(
 
but my boss asked if I could make something for him and I'd like to do it.
 
Value your time @Token :)
 
I do value it.
 
10:57 PM
Are you making this on the clock?
 
Especially with the new Borderlands out.
Nope.
I'm not even charging him.
How could I, I don't even know what I'm doing.
 
Then you are not properly valuing your time.
 
He is just a very. very well networked man.
 
Then he can afford to pay you for a learning curve and dev time.
 
I was paid to learn XSLT and throw together an example application that wasn't even used.
 
10:58 PM
How much does someone charge for something like this?
 
It was on normal clock for me.
 
All he wants is when someone shows up at a job they can check in the time, and check out when they are done with the job and he can view it on his phone.
Seems simple enough.
 
Everything seems simple at first :)
 
I know :(
I don't even know how much to charge, especially since I'm not a real developer :(
 
Tell him you will need time and a half to work on it at home, you will give him weekly documentation on progress, and that since you are new to some of the technology it is unclear how long it will take to complete.
If you are going to get paid for something it should be a win-win scenario with everything out in the open up front.
 
11:01 PM
seems simple enough
 
Here is what I can do this for, here are some terms and deliverables, here are some pitfalls. If it doesn't work out, then don't do it.
 
lol I'm just a student. I do landscaping, he owns the landscaping company :P
 
run for the hills!
 
I'm in school for computer science and he knows I like coding/study it.
 
Software is expensive, I would charge him an arm and a leg for something like that.
 
11:02 PM
he's going to want it to be all live and stuff
 
If anything I am just hoping he would tell his clients/friends about me.
They all own businesses and are wealthy.
 
MAKE IT CLOUD, WHATEVER THAT MEANS, DO IT! THATS WHAT I WANT
 
For something customized, I would tell him that it may take 16 weeks to complete, and it is going to cost him $500 per week.
 
you can do it, but like beavis says, put everything out on the table.
i'd assume he is rich too, so he can probably afford it anyways ;)
 
11:04 PM
That's 8,000 dollars!
 
Tell him to find one online for cheap.
8 grand for 4 months of work is pretty low
 
WHAT
lol I must be poor as fuck
 
But it was calculated as part time
 
I make like 1600 a month.
and I slave away :(
 
@ton.yeung So long as you know how to market yourself and what your skills are worth, it is ;)
 
11:06 PM
I'm a landscaper!
I'm not a developer.
 
He wants you to develop.
 
You need to charge him a developer's fee.
 
Yeah.
Yes.
 
Think of it this way. When you write software you save manual time by automating parts of a task.
If you can automate away an entire person's job, such that that person can then go on and do other things, how much is that worth to a business?
 
11:09 PM
All it is for is keeping track of times.
 
Which someone has to do manually right now, right?
 
I guess his maintenance crew has been...slacking lately and he is thinking of adding another one.
Yeah.
 
So his company needs to pay someone to do what you're going to automate
They could continue to pay that someone to perform the task from now until the end of time
Or they can drop a few thousand on you to build a system once, and never have to pay you again.
(or at least pay you for support)
 
Well I think they all do it but it's on notebook paper, all of his stuff is on notebook paper lol.
anywho I'm gonna eat dinner, I'm going to mull over this.
 
Yup, and if that is a full time position someone is probably costing them $20k a year
 
11:11 PM
When you write software you're saving someone some amount of time somewhere. That's why software is expensive. The more time it saves, the more it costs.
My company does regulation software. We charge a lot of money for our solutions.
Conversely, we just about automate everything you need to sell a product in the US. That saves a lot of time.
 
Like for LLC distributors?
 
00:00 - 18:0018:00 - 00:00

« first day (1467 days earlier)      last day (3476 days later) »