« first day (1468 days earlier)      last day (3463 days later) » 

12:06 AM
Welp I'm back
 
@MrDoom I've definitely automated tasks for people that were laid off soon after
 
12:25 AM
oh cool I can get a free copy of visual studio 2013 professional
 
 
2 hours later…
2:05 AM
posted on October 23, 2014 by Scott Hanselman

You may have watch my YouTube series on being an effective user of Windows 8 and 8.1. I've made a short URL for you to give to your friends and family http://hanselman.com/windows8. It'll take you to a YouTube Playlist that includes all my best tips and tricks on using Windows. The most popular is "Learning Windows 8 in 3 minutes" but if you're looking to get yourself, or perhaps non-technical

 
2:50 AM
Why does VS need 7gbs on ALL of my drives? TF
My one drive is like packed to the brim lolol
 
 
4 hours later…
7:07 AM
what it here patten?
hi)
 
7:29 AM
with workers
 
@GLeBaTi No idea what your question actually is..
 
7:43 AM
this is my architecture
Does exist a pattern like this?
 
@GLeBaTi I don't know of any. You should probably look into n-tier and MVC tho.
 
Hello, people!
Where do I start from to get into 2D (3D) graphics programming.
I just wanted to try XNA, but MS stopped supporting it as it seems.
Shall I give a try to Unity or is there something else to start from?
 
@Denver That's just C#. If you want to do HTML5/JS, d3 and melonjs are great.
Of course there are also things like UDK
 
Great, thanks!
 
8:06 AM
@RoelvanUden MVC - to many controllers for all my views
 
8:16 AM
@GLeBaTi sounds vaguely like Facebook Flux? facebook.github.io/flux/docs/overview.html
but i think Flux is only for frontend
 
8:37 AM
I have a database, there is table which has avaiabilities for each day, i should save stuff only if availabilities is greater than 0. how can i make shure things don't get changed between checking and saving?
 
@SCHTAILian Availabilities for each row?
 
well the availabilities are in a separate table. Each day is a row with the number of available things
 
@GLeBaTi That architecture has the potential to get really, really convoluted.
 
8:55 AM
@SCHTAILian table row locking?
 
9:28 AM
anyone knows how to make a POS
for a fuel pump.
:|
or have ever made one
 
Rofl
Why
 
coz apparently one wants his gasoline sales monitored w/o manual intervention.
 
This is for your job?
Well duh.
 
hahaha i was kidding.
 
Ignore that question lol
 
9:30 AM
sorry im not a native english speaker. no pun intended
 
No I asked a stupid question
dw
 
for my job, yeah i guess you can say that.
 
Uhhhmmmm
They want you to build this by yourself, inhouse?
A quick google search seems to show that a number of companies make their entire revenue by selling POS systems for fuel stations lol
 
9:45 AM
yeah. but the client wants to get developers individually
i dunno what the deal is with getting it from providers.
 
I'm guessing it's contractual and not a saleable product
And the client wants a saleable product.
But that'd also mean he won't get support for it unless he pays you for that too
Oct 16 at 16:25, by Steve
HAPPY FRIDAY BITCHES.... jk its thursday, suckers
 
lol.
no, he owns a gas stop
 
HAMMERTIME!
 
cappy got u man
xD
Well, it's not gonna be a cheap solution :/
Firstly he's gonna need pumps with sensors in
 
through research i came over this hardware that can be integrated to a gas pump
 
9:57 AM
So he'll probably need new ones
 
thats what im thinking too. what if it was old.
 
Link?
 
looool.
non digital pumps lol
nice right
leave me messages lol im going home
 
10:20 AM
@c0dem0nkey Lol gl
 
Hey guys, how do I find out what classes in my solution isn't used?
some sort of coverage thing
 
@ton.yeung @CharlieBrown RE the ESB conversation yesterday: Unless you're prepared to write code to do most or all of these - you need a product/framework that will do it for you
 
@TomW In writing code for all of those things, haven't you then created a framework? Lol
 
you have, but it won't be as good as ones that already exist
 
Ok, please ping me if you come up with something
 
10:41 AM
 
 
1 hour later…
11:42 AM
@ton.yeung You shouldn't put timer loops in objects to begin with. all your timing should be done with update and render functions
 
11:56 AM
@Sippy give some advice?
 
@GLeBaTi On?
 
@Sippy which architectural pattern do I need?
 
@GLeBaTi You might wanna look at M-V-VM.
Otherwise consider MVC.
You can extend controllers to nest them if your application has complicated logical routes.
That will reduce the amount of repeated code.
Using n-tier solution structure with MVC front-end project structure tends to be universally applicable.
 
12:35 PM
@RoelvanUden Have you set up activity based authorisation before?
Trying to think of a good way to do it
 
@Sippy there's a microsoft sample that basically does it for you, let me see if I can find it
 
@TomW Ah sweet, thanks
 
Hi. Anyone from WP8 dev? I am having trouble with ApplicationBar that pushes my whole content up of its width. Any suggestions on that? I would like to make the application bar to overflow the content, not to stretch it up.
 
Note to self: you could think something will never happen because you would be stupid to do that, but that only ensures that when someone does do it, you end up with a broken application
 
@all hey guys why often intelisence is not working in my vs2012
 
12:43 PM
'it would be stupid' is a pretty good reason to assume someone will do something
2
 
My coworker thought noone would be stupid enough to make 2 options with the same value. Guess what I accidentally did earlier today
@dazzlingkumar have you tried turning it off and back on again?
 
@nate yes dude i tried it
 
@dazzlingkumar you mean you only tried it with VS. if at all possible, try a full computer reboot.
If that does not work, see if it's for all languages and for all projects
if it's just for 1 language, it might be some setting somewhere, or a new extension
 
@NateKerkhofs yup i have to try ur things jus wait
yes its working for another project @NateKerkhofs
 
you might also find ThinkTecture.IdentityModel useful
 
12:50 PM
@dazzlingkumar If it's just for 1 project, try deleting the user settings files that come with it (DotSettings).
 
@NateKerkhofs ya now its working but i dont know when it will off :/
ohhhhhh now its stopped @NateKerkhofs how to delete that where it will be
 
@dazzlingkumar It's in your project root.
you won't find it in VS though, you'll have to turn that off and use explorer
If it's recurring, check if it's caused by a keyboard shortcut.
 
its not working in a particular page in other pages its working @NateKerkhofs :/
 
Hi people! Anyone of here using google music api ??
 
@NateKerkhofs its irritating when its not working ahhh :/
 
1:04 PM
@dazzlingkumar What is different in that page from other pages? is it a different language?
I know that VS has limited Javascript intellisense support
 
@NateKerkhofs no lang difference
all c#
 
All same file extension? all same project?
 
@NateKerkhofs ya now i found y its happening because the page is automatically exclued from the project , when i include it it starts working
 
good to know
 
another doubt is rasing in my mind how it automatically excluded :/ @NateKerkhofs
 
1:42 PM
I need to show some data from a webservice call to the user, but in a nicely formatted way with some text around it, in an aspx page, about 10 things in total. I got access to the Telerik ASP.net ajax controls. is there something that can simplify this?
 
@TomW Sorry forgot to thank you, looking at this now
 
I'm considering just using an asp.net formview with judicious use of embedded code blocks and Eval. The user doesn't have to change it anyway, it's read-only
would stop me from having to manually bind a dozen controls from code-behind
Or would that violate some kind of programming prime directive? thou shalt not use embedded code blocks or something like that?
 
@NateKerkhofs People tend to avoid it
Alternatively you could stop using outdated technology
Webforms is a piece of shit.
 
I wouldn't say it's a piece of shit.
 
I have no control over that. and besides the application is WAY too far now to switch to MVC
 
1:50 PM
It was quite the system when it was brand new.
 
What would you use to replace "piece"?
 
It's just old at this point.
 
@NateKerkhofs In that case I am very very sorry for you.
And your sanity :(
 
I also have no experience with MVC, apart from a few weeks in Java
 
@MrDoom It's old and awful.
MVC is like learning OOP for the first time
It takes some time to click.
 
1:51 PM
@Sippy Can confirm. When it clicks it's a wonderfully simple system that just works nicely.
 
posted on October 23, 2014 by ericlippert

Last time I showed how to use an immutable stack of Booleans to act as flags indicating whether a particular element of a sequence should be chosen as one of the combinations of exactly k elements. A reasonable criticism of … Continue reading →

 
@Sippy It's from 2002 designed to replace the original ASP application layer. It's old tech from before the Javascript era.
 
Look, I work in a .NET environment, I have no experience in MVC, the project is already taking twice as long as it's going on and because of that I just got fired. I need to finish this project before I can stay hom for the rest of the year
 
@MrDoom Before JavaScript. Wait. JavaScript appeared 19 years ago!
 
so I just want to know what the best way to show a single data object to the user is that preferably does not involve 20 lines of code-behindto bind my controls
apologies if that sounded a bit too much like Gandalf in the first LOTR movie, but this is one of the last things I need to do
unfortunately, the last thing, and second to last thing, are a lot trickier
 
1:55 PM
@RoelvanUden JavaScript era ;) Back then "interaction" was "Use a little javascript to postback the whole goddamn page". And it was a step up from the ASP applications.
 
@MrDoom Oh, you meant it like that. Phew. Wipes forehead
 
Would a formview with an ObjectDataSource and a whole lot of and <%Eval(fieldname)%> be good enough?
or am I hopelessly antiquated in my ways?
Or should I just ask this in SO itself and be done with it?
 
@NateKerkhofs i still don't understand the context at all... what have your tried, what is wrong, and why isn't it "working?"
 
2:22 PM
and if you just got fired... why are you still working on it?
 
Hey anyone knows a good windows GIT client? - Something integrated into visual studio?
 
@paul23 Uh. VS2013 has it built-in.
 
2012 -.-
 
@paul23 GitExtensions has an extension (hah) for VS.
 
2:24 PM
I got premium VS 2012 from university, so "slightly" reluctant to go to express version.
 
@paul23 um, Visual Studio :)
@paul23 Just use an external tool if you have to. I recommend SourceTree
 
Hmm but then I have to think for myself about excludes etc..
 
The built-in from 2013 is available as a download for 2012 if you'd just read the link I just pointed out >_<
 
@RoelvanUden TIL, that's neat. Thanks.
 
@paul23 I like githubs windows git client
no integration though
@NateKerkhofs scary
 
2:29 PM
Seems kind of defeating the purpose of a generic "open" control scheme when you limit yourself to one site to me..
 
one site? what are you talking about?
 
githubs client works with anything
not just for the github.com site
 
Can you use github's client for -say- googlecode?
 
but
why would you use google code? :)
 
2:31 PM
Yeah. Besides, Github for Windows is an AMAZING GUI
 
-cause not following the masses to github-
I hate doing what the masses are doing
 
ive always had issue with vs integrated source control, vs takes liberties with what it decides to check in at times
 
@paul23 In that case, stop breathing. It seems to be what the masses are doing.
 
@RoelvanUden no gui is amazing gui
 
2:32 PM
then stick with cvs
 
@paul23 Do you have a particular reason for that? 'Cause really, GitHub makes everything nice and easy and Google Code does not.
 
Yeah, I know, I plan to document it soon
 
Well real reason is that i use mainly svn for personal projects
+ projects with other students...
 
I think you'll find that Git is significantly better suited to projects with other students.
 
I'm an aerospace engineering student, not a programmer..
 
2:34 PM
As soon as you publish code to the public, you don't want svn
 
fucking hipsters.
 
Most friends never programmed before (well we got 1/2 a year of education in python).
 
SVN was a nightmare for us during Uni
 
@paul23 Why use versioning at all?
 
So adding an extra interface really gives them the look "no this is just too difficult, we don't have time to do this let's just mail things"
 
2:34 PM
Just use flash drives bro
That's what people used to use
 
That's what they want
 
That's a hipster thing to do now.
 
Or actually dropbox
 
Dropbox works if you all work together all the time
 
So I need a client that's almost as intuitive as dropbox
 
2:35 PM
So that no one overwrites something you need.
 
@paul23 And the moment you start getting merge conflicts from Dropbox your project is going to go to hell.
 
source control is not about sharing information
it's about tracking it
 
Pretty buttons and everything.
 
@paul23 so they are lazy engineers?
 
@MRDoom - and at that point people suggested using google docs for code (yes that happened)
No we just don't have time to learn programming
 
2:36 PM
this is too hard... lets do something easy like build a bridge
 
like 0 time, just last weekend I spent 2 all nighters fixing a report (for which I had to write some small script)
 
Those people don't want to learn... while attending school. Really? :3
 
it's also that we don't program to make programs: we program to find a solution to something we can't calculate ourselves
Don't want to learn programming... is that so strange?
Ok maybe asking that question in the wrong chatroom...
 
@paul23 For someone who wants to use code to solve tasks in an efficient manner, yes, it is quite strange ;)
 
@MrDoom quite frankly that's the boring part :P
 
2:39 PM
Something to really understand is that, for the most part, someone has already solved the problem you're going about solving.
They've been there, done that, and come up with a better solution than your first draft.
 
The fun part is actually finding a solution..
 
People ran into issues working on code at the same time, so VCS was created.
VCS sucked, so SVN was made to make it better
SVN sucks, so Git was made to make it better
Much like how you have a bajillion different hammers to get different jobs done, there are better tools for what you're working on
 
and that sucked so now we use dropbox and google docs :)
 
If you ever have to go into the real world and write code, you will likely need to work with these tools. It's good resume material to already have them down.
And school is a good place to get them down
 
In 3 weeks I start on my thesis for my bachelor's degree.. It's a project with 12 other students to design an airplane, with equal payload/passenger capacity as the A320, but the range of an A330/A340.
The fun part is solving the problems, and actually designing the airplane (mmmm CATIA & aerodynamics). We will have to "write" a model for the aerodynamic body though..
 
2:42 PM
You said you're a student?
 
next house i build, im going to cut the trees down myself and make my own 2x4's
 
Everyone loves doing the equations - but getting the equations into code: meh that's annoying.
yes?
 
its solving the problem of making wood that is interesting
 
That'll give you a few private GitHub repositories, so your code and stuff isn't wide open for other teams to steal.
 
2:43 PM
sure, i could buy the lumber at Home Depot, but there is no problem solving fun in that
 
Once you get that set up, download the GitHub for Windows client and use that. There's a few tutorials floating around.
We're serious when we say it's one of the easiest ways to get into using Git for version control.
 
heh nice been wondering about that: what do companies use who really, really need to keep their code in house.
 
Private Git servers, TFS, Perforce.
 
@paul23 We use TFS, but previously we used a mercurial server
 
Hmm we can use TFS at our uni servers; is that any good lol?
 
2:45 PM
All you need for a git server is a server with git on it
 
Probably not.
 
@paul23 Probably not.
 
@paul23 It's... enterprisey, but it does cool things
 
Hmm best thing would be just 1 thing which has 2 buttons "here, put this on the source tree" and "get everything that changed". And nothing else we'll be sitting 10 hours a day next to each other anyways.
Not like anyone is going to do much at home other than a bit of idea-fetching
 
2:47 PM
@paul23 TFS can do that. It even locks files if someone is editing them!
facepalm
(Assuming TFS doesn't bug up... again)
 
ew that site is... annoying
 
@paul23 as soon as two people edit the same piece of code, you're fucked
nice merge tools are nice
 
Then I say them "hey call me when you do fuck up again, I"ll merge it for ya"
But like I said: we're not making 1 application
 
And thus you spend your time merging crap code :-3
 
We'll split in teams of like 2 people and they make small scripts (that's the better word) to solve problems.
 
2:51 PM
Morning everyone.
 
1 task specific programs (IE: calculate moment of inertia would be a script)
 
@paul23 Will your uni give you anything you ask for?
They've asked you to do a businessy project
So you'd expect businessy resources.
Within reason ofc
 
No: I asked them for a free doctorate but they didn't give me anything :(.
 
Gonna answer the question?
 
Well not really for programming...
 
2:59 PM
How do I make selection from list like this please?
            var list = JObject.Parse(e.Result)
                ["btc_usd"]
                .Select(x => new
                {
                    high = (string)x["high"],
                    low = (string)x["low"],
                    last = (string)x["last"],
                    vol_cur = (string)x["vol_cur"]
                })
                .ToList();

            var config = list.First(a => a.high);
 

« first day (1468 days earlier)      last day (3463 days later) »