« first day (1497 days earlier)      last day (3442 days later) » 

12:25 AM
I think I dislike manually working with databases
 
most people do.
 
Theres a good reason for that
 
posted on November 21, 2014 by Immo Landwerth [MSFT]

Last Wednesday, we announced the new .NET 2015 Preview and our plans to fully open source .NET Core. What an awesome week! Thank you! We knew that you guys would really dig open source but we didn’t expect such a positive response. Within a single week, our open source blog post got more than 200k views! And even on GitHub, which seems to be the place for open source these days, .NET Co

 
12:50 AM
I am now almost certain I have a strong dislike for manually configuring databases.
I am 100% positive however that I will enjoy using MSSQL once it is in place
 
 
4 hours later…
4:27 AM
This is a really screwed up industry.
 
4:41 AM
Hello All :)
 
 
4 hours later…
8:39 AM
Hi for some reason I am getting this error, it seems obvious but its not to me...

System.Windows.Data Error: 23 : Cannot convert '115' from type 'Int32' to type 'System.Double' for 'en-US' culture with default conversions; consider using Converter property of Binding. NotSupportedException:'System.NotSupportedException: DoubleConverter cannot convert from System.Int32.
 
DoubleConverter can't convert an int. It's in the error, and the name too.
 
Roel van - yeah interesting point. I know that. But its part of my binding
System.Windows.Data Error: 23 : Cannot convert '115' from type 'Int32' to type 'System.Double' for 'en-US' culture with default conversions; consider using Converter property of Binding. NotSupportedException:'System.NotSupportedException: DoubleConverter cannot convert from System.Int32.
I am guessing its my slider as I think that expects doubles so I gave it a converter.
 
morning guys :D
 
But still having a problem
How do I write in pedantic italics? I'm going to use that more often
I dont know why I come in this chat room, full of pedantic arse holes
 
Well yeah, we must be complete a-holes because we don't drop our work and help you instantly when you have questions or trivial errors, for free, and to never see you again after the "problem" is solved. We're very sorry about that.
 
8:59 AM
Hi all :)
any one here with good C# exp?
any one?
 
9:54 AM
Hi everyone :) Been a while since I popped in here
@coddey it's quite likely that several people in this group have good C# experience - rather just ask your question ;) Then the people who know about the topic you're asking about can answer
 
hi @LauraWentworth
do you know C#?
I know but I need some guy to give me solution to firmware update in GPS tracker device using command.
 
I do know some C# yes - but the thing is that my experience is limited to some stuff with WPF and EntityFramework and a few other assorted random bits and pieces. If you ask a question about WPF, I would be interested and try to answer, but if someone were to ask about Threading issues I'd be quiet, because I don't know about that. So asking "do you know C#?" is about as broad as "do you know science?" :P
 
10:09 AM
I need to build Tab Control using pure C# class and render it to html page (mvc)
sample button code pastie.org/9734112#44
 
@AbhishekBhalani Your question is about firmware on a GPS tracker - which I know almost nothing about. explain more about how you want to use c# and what you want to accomplish, and maybe someone who knows someone will help you out
@coddey afraid I haven't used MVC - so I can't help you out
 
ok @LauraWentworth thx..
I am going to build configuration tool to update device information.
 
good luck :)
 
so I am stuck to update firmware of device using .dat file
thank you..
by the way where r u from?
I am from india.
 
@LauraWentworth its alright. Thanks though
 
10:13 AM
are you .net developer or else? @LauraWentworth
 
@AbhishekBhalani I have a small amount of C# development experience in .NET (i've developed one small application). Up until now I've mostly done python scripting and as of next month I will be working at a mostly C# company, so my C# experience will improve.
 
ohh great..
best luck
 
my C# is mostly self-taught which is why I like to hang out in here occasionally, as often there are people who can point me in the right direction when I have a problem to solve.
 
huhh right.
so ,you know python very well compare to C#.
 
a little better
 
10:18 AM
huhh great.. carry on the carrier. C# and python are good choice..
 
python comes more intuitively to me - but I haven't had to build large apps in python - mostly just scripting for plotting data and doing some sql
but as I practice C# I'm sure it will become more intuitive to me too
@AbhishekBhalani Thanks :)
 
yes. @LauraWentworth
 
@coddey Forms? MVC?
 
10:35 AM
Does anyone know how/whether it's possible to get the type that is being injected into in the context of a unity registration?
i.e. container.RegisterType<IThing>(new InjectionFactory( /*factory method*/ c => GetThing(typeof(???)));
where if IThing is being resolved to inject into a constructor of a registered type; GetThing takes the type that the constructor is a constructor of
 
o/
HI ALL
HOW ARE YOU GUYS
I MISSED YOU
 
10:52 AM
Hi @Sippy! Hope you are well. I'm ok - moving to a new city and a new job next weekend so all a bit crazy. :)
 
@LauraWentworth sik
@RoelvanUden I wanna die already
Web forms is like a cult
I do have a christmas jumper on though
 
@Sippy haha, already?
 
@RoelvanUden MVC
 
Christmas jumpers have never been a thing here - Christmas is during Summer. :P
 
@LauraWentworth I figure it's cold here all year round anyway so why not lol
 
10:58 AM
fair enough
:)
 
Well apprently the answer is - you can't
Unity sucks.
 
@TomW :(
ooh. lunchtime. yum. :)
 
@TomW For what?
 
see my last
Some people have written horrific and not really production quality hacks to do this for the specific case I was interested in, but I'm not having that in my code
 
@RoelvanUden there?
 
11:06 AM
@coddey There is no concept of tabs, just HTML and requests. Just make a HTML tab appearance and hook up partials via AJAX or something along those lines.
@Sippy Can I help :P
 
@RoelvanUden Yes, go and delete all references of web forms from the entire world.
 
@RoelvanUden pastie.org/9734112#44 i need to follow the approach as in the button code
 
You can leave compiled code.
 
@coddey That's just silly. Why would you "need to follow" that?
 
instructions :(
from manager @RoelvanUden
 
11:08 AM
I never understood why managers micromanage how you write code
My manager says "go make this, if it's shit I'll punish you"
 
Not possible. MVC doesn't work like that
 
Doesn't change the fact that you're trying to emulate Web Forms in MVC (YUCK EEK ARGHH!! RUN!!)
It won't work.
 
@RoelvanUden WAT THE FUK
W
WHY
 
@Sippy My manager doesn't micromanage anything. We talk among the dev group and decide on the correct approach to tackle the problem that was presented by the manager, and do it like that. Nobody except devs talk about how to code here
(which is how it should work imho)
 
@RoelvanUden so any help ?
 
11:10 AM
@RoelvanUden Same, I've heard a lot of people recently saying they have to do something because their manager says so
 
@coddey Like @TomW and I pointed out, MVC doesn't work like that. You're trying to emulate a Web Forms-way of thinking and MVC just doesn't work like that. I can't help you achieve something that (should be) impossible.
 
I just sit here like well, who's the fucking developer
 
@RoelvanUden
hmm
 
@Sippy Indeed.. I think most that say that are just locked into one mind set and don't bother changing, while their manager doesn't actually care :P
 
Also, that code is horrible
Writing javascript in the code-behind by concatenating strings?
 
11:14 AM
Don't even mention that.. why is there even JS to submit something with a button.
Something like "I don't know how HTML works so I'll smack some JS against every element and hope my user will have JS enabled and nothing causes an unhandled error"?
 
@coddey ignore the manager, he doesn't know what he's talking about. Get a good set of requirements for what you need to do in the context of what should appear in the browser, and then do MVC properly to achieve that. Tons of good tutorials out there. If you have specific questions about MVC, happy to try and answer them
I think if you mimic the html that comes out of that horrible class, you can tell the manager you thought you were doing what was asked
Throw every other aspect of it away
 
@TomW i cant :(
 
Tough then. Can't help you
 
@TomW Its alright :)
 
The fact that what you're being asked to do is not possible is for you and your manager
 
11:20 AM
@TomW how you can say that
 
Quite easily.
 
@coddey You asked if there were professionals in here, professionals are telling you that your manager is asking you to do the impossible
 
@Sippy i m not affending any one but the sample my manager gave
 
MVC doesn't have a concept of controls. Trying to fit a control class into MVC just won't work, there's nowhere for it to go
 
11:24 AM
@coddey It's not about being offensive
 
its pure c# class
 
Your code is wrong
Your concept is wrong
@coddey The only way you can emulate 'reusable controls' is by using partial views.
And even then you're not building the control as a class.
 
@Sippy jus look these codes, 1. pastie.org/9734227 , pastie.org/9734112#17,21,44
 
Pretend for a second that MVC is nothing like Web Forms
 
@coddey Stop thinking C# classes should be used to generate HTML. Use HTML to generate HTML. Think in the way the browser actually works, that is, request/response with a clean slate each time (possibly layering on some cookies)..
 
11:27 AM
Cos it's not
 
Ugh, christ. Nobody who knows what they're doing writes views like that
 
@Sippy i understand but i do need to follow the requirement as well.
 
Don't do it.
 
A HTML helper is quite fine, but you're not making one; you want a control or component from Forms.
 
I acknowledge it's possible to make a mess like that, but I won't help you do it
 
11:29 AM
@TomW but the requirement is to make a mess like this :)
 
@coddey Your requirement is wrong, it is bullshit.
 
You're on your own, I refuse
 
Fuck your requirement, get a new one and tell your manager that his requirement is dumb as hell
Lol
 
@TomW alright :)
@Sippy lol
 
You're making a mountain out of plain flat ground
 
11:30 AM
:P
 
Requirements should be functional things, y'know? "A user wants to see his orders in a list.", and not "A user wants to see his orders in his list that was implemented using a Web Forms style HTML generating control in a ASP.NET MVC backend running on a ASP.NET 4.0 and IIS stack on Windows Server 2012 R2"
 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
:|
 
I'm left to wonder why Civilisation hasn't been ported to iPad properly
It doesn't require a keyboard.
 
@Sippy because Apple wharrgabl
 
11:42 AM
@TomW Touché
Considering getting a Surface or just generic windows tablet
So I can play civ on it hahahaha
 
Surface Pro 3 looks niiice
hanselman reviewed
pros: everything
cons: the fan is a bit noisy when it gets hot
sold.
 
@TomW Yeah I was looking at the pro 3
Genuinely looks like a fantastic piece of kit.
£1600 is a bit steep atm though ;)
 
shell out for ALL the RAMs :P
 
12:01 PM
Hahaha
I do want one though ..
I'd be more tempted if my employer had a "bring your own device" policy
 
@Sippy Would love to play Civ on a touch screen like that. There's a Civ game for ipad but it's nothing like Civ V...
 
@LauraWentworth Yeah I looked at it, it's freakin awful
I'm enjoying beyond earth atm
 
A Civ game would be a cool PoC for my project, I should try that
 
Finished a 500 turn game last night. Lost by 2 turns.
 
Civ is a bit BS. My first game I was trying for a science victory, but I accidentally got a diplomacy victory
 
12:10 PM
Lol ..
 
@Sippy I actually played it and got into it a bit because it was the first time I'd ever played any Civ, and then bf was like: "Ok, I bought you a copy of Civ V (give back my ipad)" and since then I haven't enjoyed the ipad game much
 
@LauraWentworth Ah, Civ V isn't an easy one.
Beyond Earth was simplified to appeal to newer players
 
@Sippy I'm waiting until the price comes down a little or it goes on special. It's just a little bit too expensive considering I just got the Borderlands Pre-Sequel.
 
I like it cos it has aliens and stuff
 
hahahah
 
12:12 PM
:D
 
good enough reason to like it! :)
 
@LauraWentworth I looked at getting that but I didn't enjoy Borderlands 2 very much
 
pre..sequel? We're making pre-sequels now, instead of sequels?
 
@RoelvanUden They like being strange.
 
@RoelvanUden Welcome to 2014
 
12:13 PM
@RoelvanUden it's set inbetween 1 & 2
so it's the prequel to BL 2, and the sequel to BL 1
 
I must have missed some years, apparently.
 
@Sippy Ah, see we enjoyed borderlands 1 & 2 quite a lot. :D
 
Then again I remember when games were numbered, instead of getting a different title each time and leaving it up to you to remember.. (Looking at you, Assassins Creed)
 
I remember when games were good enough they didn't need sequels
 
@KendallFrey <-- this
I get sick of playing single player campaigns that take 4 hours :(
Spyro 1, 2 and 3 took me days to complete, each
I played all three of the top rated splinter cell games through in under 2 days
cried a bit.
 
12:15 PM
Games with endings are dumb
 
Disagree!
It's like reading a fictional book except you're in it.
 
well, one game that I'm glad they made a sequel to is Portal. Portal always felt too short - Portal2 (and the perpetual testing initiative) are cool
 
@LauraWentworth Not hard enough :P
 
yeah, but you can find someone who makes nice hard maps and play those
 
@Sippy Same with games without endings
 
12:17 PM
@Sippy If you want a long time to complete a ... game, you should try visual novels. I spend 6 days (and nights, minus 6~7h sleep and 1~2h for food/toilet) to complete one "average length" one. It's insane, I'm never doing that non-stop thing again.
 
Imagine a book without an ending. Would that be cool or what?
 
@KendallFrey MMOs try to do that but they fail horrifically because their idea of content still only takes 2-3 days to get through.
Guild Wars 1 had years worth of content
 
Skyrim? :P Still haven't finished all of the things to do
 
Guild wars 2 had 2 days worth
Fucking piece of shit
 
Minecraft has a literally infinite number of things to do
 
12:19 PM
@LauraWentworth I finished Skyrim (as in did most of the worthwhile quests) in about 5 days
Minecraft was fun for a time.
I still go back to it
It's not something I'd consider playing full time though
 
MC is a good game. And if you get bored with it I can recommend trying some of the modpacks (we play a modified version of the feed-the-beast direwolf20 pack)
 
I've heard EVE is good for perpetual gameplay
 
I still enjoy Minecraft, but I don't have time to play it forever
 
I played EVE online for a bit, it was pretty cool
 
I can always go back to it
 
12:20 PM
didn't have the time to invest in it tho
 
I was gonna try WoW again with the new expansion
 
Last time I quit playing was a bit of a ragequit
 
Glad I didn't, all the guys I play with just sit nerdraging in skype now
I don't even join the call :/
 
I should do a KSP speedrun
Normally it takes hours for one interplanetary mission
KSP has a surprising amount of content, considering there are less than 20 bodies to land on
 
Might try KSP
Do I have to be good at maths to do cool shit, or is it designed for idiots too?
 
12:25 PM
You don't need to be good at maths, just orbital maneuvering
It isn't at all a hardcore spaceflight sim, it's very noob-friendly
 
Sweet I'll get it later ^_^
 
However, you will have a hard time reaching another planet without some experience
If you want me to teach you stuff, I'd be glad to :P
Also, watch Scott Manley's tutorials
 
I found it was a little hard to just go in and start messing around - then i watched a video where they did a first-flight tutorial. I needed that tutorial
 
Protip: Don't try Career mode before you can land on Mun in Sandbox
 
@KendallFrey I imagine I shall be asking questions :P
 
12:29 PM
I messed around once or twice and went back to one of the other games I was playing. Will pick up KSP sometime in the future again
 
@LauraWentworth Their next release will put it into beta!
I wonder when multiplayer will come along
 
@KendallFrey What do you envision multiplayer being?
 
urgh. I have to transcribe minutes of a meeting today... At least they still pay me a developer's salary, but it's boring as hell.
 
@LauraWentworth Can you touch type?
 
@Sippy TBH, I have no idea
 
12:32 PM
@KendallFrey Could be pretty interesting ^_^
 
I kinda hope it doesn't do what DMP does with warp and sync
but time warp is still important
 
@Sippy eh, kinda. never learnt the proper way to touchtype, but I don't need to look at the keys, so...
 
@LauraWentworth Fuck proper touch typing lol
My girlfriend taught herself and she types at 135wpm
I don't even type that fast
 
I've developed a horrible typing habit
I press Shift with my thumb
 
How the fuck
 
12:33 PM
bend
 
Right shift?
 
I tried to learn dvorak once, then I realised it was gonna be more effort than it was worth
 
EWWWWWWW
 
I always use left keys, for some reason
 
12:33 PM
@LauraWentworth It's faster apparently.
 
@Sippy Plover
 
@KendallFrey I do too, weirdly.
I think it has something to do with there only being one tab key
And I use it a lot
 
@Sippy they say so, but then every keyboard you use needs to be dvorak - and say you get good, now you have to be able to type qwerty when you're helping your grandmother on her computer etc
 
@Sippy fuu RE simplified Beyond Earth
I was hoping it'd be Alpha Centauri II i.e. complex enough to be interesting
 
@TomW Lolol
It is!
 
12:35 PM
0/10 would not buy
 
Ah yeah
When I heard about it I was hoping it'd be interplanetary
 
@LauraWentworth Supposedly Plover wants to make a wearable keyboard
 
But then if you want interplanetary civ, get Endless Space
Not a perfect game, but not bad by any means.
 
I was looking forward to the return of customisable units
 
Once KSP has ISRU, I'll be able to make proper space bases
 
12:37 PM
Plover looks weird, hadn't seen it before
 
It's kinda funny
Especially for writing code
 
Thought of a decent premise for a near-future space/scifi game: There's an alien armada on the way, friendlies fighting them stop by to warn but haven't got the resources to help, are like "Here you go, here's a space elevator and an asteroid habitat, go fish"
we'll bootstrap you, but build your own space navy, we haven't got a spare one
 
@KendallFrey Guessing the idea is to minimise mistakes by having minimal movement of the hands?
 
@Sippy speed and ergo are the main reasons
 
Smells like a fishery in here
This is a goddamn dev environment ppl!
 
12:40 PM
tell your girlfriend to put clothes on
 
She's not here yet, I'm still with your mom
 
shit
I've got nothing
 
YES!
 
that vaguely reminds me of some input software where you you used the mouse to 'sail' or fly through the letters. more common ones would be bigger so if you typed 'an' then 'd' and ' ' would be big, and the other letters would be smaller. you basically moved through left-to-right of a big alphabet fractal
can't remember what it was called tho. :/
 
lolwat
sailing mouse
 
12:42 PM
I remember using some cheesy thing that I could type with a joystick
It only used the trigger, iirc
 
That was the image i had in my head, awesome.
Good job Google!
 
Fuck you Bing, you weren't invited.
 
yeah bing
nerd
 
Is a 4mb/s bandwidth throttle on a 4G connection enough, or not?
 
12:44 PM
that's rough
 
Your mom likes it rough
 
I'm looking at a tariff that says 'unlimited data' but it's throttled, if you read the small print
 
@TomW Unlimited data, given unlimited time
 
@KendallFrey i think that lady has an adams apple
 
@Skullomania Those were your first words, 15 seconds after you were born
 
12:47 PM
@KendallFrey hahaha
 
Happy Friday, lady dogs.
 
Hm, it looks as though actually, 4mbps is so slow that you might as well not have 4G
 
@TomW It's infinitely faster than my mobile connection tho
 
I'm considering buying an M8 but if it's hobbled by dismal data plan, why bother
'buying' - taking a contract, that is
 
"buying a m8" - "hiring a h00ker"
 
12:53 PM
@TomW You can stream 1080p videos with less than 4mb/s, what are you wanting to do?
 
1440p60fps
 
@Sippy probably just that, but I might want to tether
 
Do they allow it?
OH it's mbps
That's like 500kb/s
MB/s != mbps :P
 
4mbps is 0.5MB/s
 
12:59 PM
it's 4000kbps
 
That's how they trick mutherfukaz
They express it in bits not bytes.
So for bytes, divide by 8.
 
yeah, but most people realize that
 
@KendallFrey Most people don't :P
Non techy people have no idea haha
 
Yeah, but they know how fast 4Mbps is
 
Oh. I'm not sure they express it in baud anymore...do they?
 
1:01 PM
well, baud is pretty much bitrate
But nobody says baud
 
hm, I guess it is bits. Balls.
 
@TomW 500kb/s is not worth 4g :D
 
It's 4000kb/s, get it right
 
It's 4000kbps!
 
yes, that's what I said
 
1:02 PM
Yeah, my thoughts exactly. Waste of money buying a 4G phone
 
Unless you're being pedantic about my capitalisation
in which case faku kindel
 
YES I AM
The capitalisation is what defines the unit, noob
/ and per are identical
 
ur identical
 
ur dentical
 
you two were made for each other
 
1:05 PM
There's a random hole in my desk right where I like to hold my mouse
Every so often my mouse stops responding
 
@KendallFrey That's a fairly interesting troll.
 
Course even so, when my mouse stops moving, it's usually my computer
 
Wonder if you can coat a desk in something that stops laser mice responding
@KendallFrey trolol
 
Yes. Neutronium
Superglue
 
@KendallFrey Right lemme go make some neutronium.
 
1:08 PM
I can think of a few things
 
@KendallFrey hahahahaha
 
1:24 PM
the whole sticky-tape over the laser trick works well on people who aren't very tech savvy.
of course when I was a kid we just took the ball out
 
1:37 PM
@LauraWentworth You could feel that though
 
yeah
we got one of our people here at work with the sticky tape on april fools though :)
 
1:51 PM
you know how you can see javascript errors in chrome by opening up the developer tools and going to console?
I did this on facebook and they have a custom message in there....how is that done?
 
@Skullomania Uhm, you console.log it.
 
that is the first time I have seen that
or heard of that
 
Has it too
 
i feel that everytime I learn something new...I find 100 things I did not know about
 
Which is good! What fun is programming if there is nothing new to learn
 
1:56 PM
@RoelvanUden true
 

« first day (1497 days earlier)      last day (3442 days later) »