« first day (1781 days earlier)      last day (3161 days later) » 

2:17 AM
@SebastianL Thank you I will try that .
 
2:44 AM
Can anyone direct to me into a making an app advanced app but basic at the same time. For example, "make X app make it do X things" Or maybe taking an old app of someone and having me re-making it for myself since I'm not very business orientated. I will not steal any ideas . It is just for my own benefit.
 
You can't have advanced and basic at the same time
 
Hmm
 
heheeee
@KendallFrey want to race?
 
fuck, I should probably be falling asleep about now
 
me too
lol
 
2:48 AM
I want to program
 
well, get at it
 
I have nothing
 
make a game
 
I don't know how
 
figure it out
start with tic-tac-toe or something
 
2:51 AM
In wpf ?
 
could be
I made my computer boot to a tic-tac-toe game once
you can make games in lots of ways
 
That is incredible !
Well cool I mean
 
It is pretty nerdy
 
Not really
 
 
3 hours later…
5:56 AM
aww yeah, almost weekend
 
posted on September 01, 2015 by Scott Hanselman

You may have noticed that I'm on vacation these last few weeks. It's the first vacation of any length I've had in a while. In fact, I do have trouble disconnecting sometimes. I've mentioned before that my wife and I have gotten married a few times. As my wife is a Zimbabwean there was the matter of lobola and a judge wedding, a white wedding, a wedding in Zim, and on and on. We like weddings.

 
6:22 AM
Morning :)
 
6:43 AM
!hi
!!hi
 
@Rush.2707 Hello
 
!!morning
 
@Rush.2707 Very Good Morning :)
 
7:14 AM
I don't think I can make games. I don't understand the logic behind it
 
@june1992 There's resources enough online. Is there a specific thing you don't understand?
 
Yes Ill post code up and see
 
hey guys
 
@GotaloveCode sup man!
 
anyone know if it's possible to have sharepoint webpart show data from microsoft social listening
am good @BenjaminDiele just been bouncing around technologies
 
7:19 AM
@june1992 Games, like anything else, is merely an accumulation of simple techniques.
Learn small parts, bit by bit, and you'll get it in the end.
 
morning guys :D
@june1992 start with something simple, like a textadventure in a consoleapplication ;)
 
maybe i don' t understand the else if
 
@june1992 The event handler sender object IS the button that was clicked. You should handle THAT particular button, not try all of them.
 
Listen to this guy ^
 
@june1992 And what is for (int i = 1; i < buttons.Length; i++ )? Do you need to loop if you're not even using i in the loop? You're creating and discarding buttons?
 
7:31 AM
Idk why that was there I was trying to do it all at once but I kept getting a IndexOutOfRangeException or something like that
 
try the designer in VS it wont bite you ;)
 
I'm not sure I follow the sender part though ??
I like the designer to
 
sender means object that raised the event
in this case the sender is the button control
so you can write
Button theButton = (Button)sender;
 
i would use
var button = sender as Button;
 
why safe cast if you know it's a button
or if you at least expect it to be a button
 
7:38 AM
damn that was dope !
Because it worked
 
@StevenLiekens I have trust issues
 
better to let the code crash if it's not a button even though you thought it would be a button
at least that's my opinion
 
I'm a little confused with both of those though. Which is better ?
 
I bought The Witcher 3 this weekend. Holy shit is that game fun. And pretty, but my pc can't handle it
 
@june1992 Crash and burn is the preferred solution. Fail fast. thus, var button = (Button) sender.
@BenjaminDiele Really, everyone is raving about how great it is, and I just can't get into it. It's slow, the story is boring, Gerald is boring, the combat is way too easy, magic is pretty silly, the monsters are just boring, the world is boring.. I don't know. You really like it?
 
7:44 AM
@RoelvanUden ITS FUCKING AWESOOOOOME
yeah i kinda like it
But then I also finished TW1 and TW2. Both cool games. I'm only a few hours in though, but so far it's fun. Pretty varied quests so far. The only thing bothering me right now is the crafting / alchemy part. It's fucking hard to make potions.
 
@june1992 for the Sender thing in your event take a look at this ;) github.com/hrkrx/TicTacToeTemplate
 
SO we can have as many sender buttons click
as long as the button is being type casted
or is it safe casted
 
ok the diferance is if sender isnt a button "Button theButton = (Button)sender;" will throw an exception
but with "var button = sender as Button;" button will be null.
 
wow
 
hi guys can anyone help with mapping foreign keys in ef please?
I have the following
but when I run the migration i get the error
The ForeignKeyAttribute on property 'Device' on type 'InsurancePolicy' is not valid. The foreign key name 'DeviceId' was not found on the dependent type 'Device'. The Name value should be a comma separated list of foreign key property names.
i assume this is because its looking for DeviceId instead of ID on the relatig device table? (or am i wrong?)
 
7:55 AM
as @RoelvanUden said for what your doing its probs better to let the thing die if you get something that unexpected
 
8:22 AM
Hi Guys , Am doing something related to IOT . For this I am using EventHub and Stream Analytics in Azure. I can see input Events in Eventhub . But it's StreamAnalytics it's not reflecting
Not sure why this happening
any guess ?
 
@Midhun No idea here. It sounds like fun technologies to use, but I haven't yet had the chance to play with 'em.
 
Thanks Squiggle , As it's new technologies documentation are very less
tuff find solution when something unexpected occurs
 
what IoT-style devices are you playing with?
 
I fucking hate Microsoft's support bullshit. It's terrible. Absolutely and fundamentally terrible. What the fuck is wrong with those people? Let's make it a fucking forest of obnoxious redirecting pages that don't give you shit
 
@RoelvanUden that's why we have C# chat! ;)
 
8:31 AM
You guys dont know
YOU HAVE FAILED THE CHAT.
 
just repeat after me:
"hey guys im tryin to do [insert technology here] an i dunno where to start lol"
 
<insert image of arrow with a laptop here>
 
;_;
 
8
Q: Push message for Windows Phone (WNS): Blocked channel URL

Roel van UdenI have a Windows Phone application running on a Windows Phone 8.1 device, and I am using Windows Push Notification Services (WNS) to deliver a push message to the device. Delivering push messages has worked for approximately 8 days, until I received WNS headers in the responses similar to these: ...

Answer that bitch :P
 
@RoelvanUden Did you try turning it off and on again?
 
8:33 AM
@Loetn that's where the problems started!
 
Well, and thus I continue to wait.
Meanwhile, I'll dive into the hellhole that is Apple push services.
 
@RoelvanUden ^ it's dangerous to go alone. Take this.
 
If I would drink Alcohol, I'd take it.
 
Hi
I have a problem with Debug.Assert() --> pastie.org/10389152
/home/kame/Desktop/main/programme/monodevelop/abc/abc/Program.cs(23,23): Error CS0200: Property or indexer `System.Text.RegularExpressions.Capture.Value' cannot be assigned to (it is read-only) (CS0200) (abc)
 
I think Linux is your problem.
 
8:42 AM
:(
 
@kame Did you just really use '=' for comparison?
 
oops
but == also doesn't work
wait
 
morning all
i've got a linq expression which doesn't seem to be sorting a collection, what is wrong with it?
 
@user1892991 Did you assign it to a variable?
 
_equipColl.OrderBy(o => o.RecordID);
 
8:45 AM
@user1892991 _equipColl = _equipColl.OrderBy(o => o.RecordID);
 
And.. you don't do anything with the resulting enumerator? :P
 
@user1892991OrderBy returns a new list.
 
It returns an enumerator or queryable, not a list :P
 
@RoelvanUden Sorry Sir van Uden! :)
 
@Loetn ohh okay, but i get a "cannot implicitly convert type" error if i do that
 
8:47 AM
@user1892991 Try _equipColl.OrderBy(o => o.RecordID).ToList()?
 
@Squiggle Amazeballs!
 
inorite?
it's pixel-perfect!
 
@Loetn still doesn't sort :/
 
@user1892991 What? Can you show us your code?
 
8:50 AM
okay. I understand Debug.Assert now :)
 
Ok, which one of you guys is this? i.imgur.com/JLw4BoO.jpg
 
//RecordID Property:

            public Guid RecordID
            {
                get { return (_equipment.RecordID); }
                set
                {
                    if (_equipment.RecordID == value)
                        return;

                    _equipment.RecordID = value;
                    base.OnPropertyChanged("RecordID");
                    {

                    }
                }
            }

// Observable Collection Code:
 _equipColl.OrderBy(o => o.RecordID).ToList();
 
@user1892991 You've to assign your ordered list to a variable..
 
@Loetn doh >.>
Thanks!
 
MORNING TEAM
 
9:03 AM
Hi chief!
 
eyup champ
 
Paid my parking ticket this morning
begrudgingly
Gotta get on the phone to HMRC now and tell them I don't actually think I do owe them £1000 ..
 
best of luck with that. They play hardball on the phone IME.
"the figures are wrong" is a lot more compelling than "it's not fair and I'm broken" ;)
 
vOv
They reckon I had two tax allowances in the last year, but my payslips all have income tax out of them so
Even the ones I have now, which I should be on a new allowance for lol
So I think they actually owe me about £1200, nerds.
 
9:21 AM
\o/
I'm wading through legacy WebForms stuff right now. It's horrid.
 
Hahaa
SUCH IS MY LIFE.
 
"...is an ambitious project that seeks to replace HTTP with a peer-to-peer content addressed architecture. It is best imagined as a radically improved BitTorrent that enables the development of completely distributed applications. It merges 3 battle-tested technologies - BitTorrent, Git version control and SFS (Self - certifying File System) to result in a system more powerful than the sum of it's parts."
I was tempted to go to a talk tonight, but blurb has just put me right off
 
Well. Why did it put you off?
 
It smells like buzzwords.
 
It sounds like a proper attempt to decentralize web content by approaching it over a P2P mechanism, proper version management (updated web content pushes revisions) and avoiding all security issues of decentralization with signed certificates. It sounds really interesting actually..
 
9:29 AM
I just read "that seeks to replace HTTP" and was like ".... why?"
 
@Alex Because we're not utilizing power correctly. There are millions of devices that are mostly unused (the one you're using right now) and bandwidth nobody really uses, and all load and effort falls onto ONE POWERFUL SERVER that costs quite a lot.
Other than that, you can't ever "stop" a web site or bring it down in P2P
 
I mostly understand the technology, but I'd be interested to know how they handle trust.
 
So, imagine, "pirates" sharing a movie still need a web site to find their magnet links that map in the hash tables to a certain bit of information. If you can decentralize that as well, well, there is no central organ involved in sharing information at that point. It's a win/win.
 
@RoelvanUden and that's why it won't work or be allowed to.
 
9:32 AM
for those who are interested
 
@Squiggle That's the self-certifying file system
@BenjaminDiele It's technology. You can't ever stop technology.
 
@RoelvanUden Sure you can.
With weapons and threats
 
No matter the tantrum some company throws, you can't stop developers like you and me making something awesome in our basements.
 
SKYNET, man!
 
It's not a company that will object, it's the government.
 
9:33 AM
@Squiggle Cool :-)
@BenjaminDiele "People should not be afraid of their government, the government should be afraid of its people"
3
 
Sure, and then they come with tanks and weapons. What good is that line then?
 
any government that does that is no government of mine
 
Who mans those tanks and weapons? The people. That's right. Politicians have no real power if people don't accept them.
 
Sure, but what will they do when they first go after the "terrorists"? And then the "pedophiles?" And then the "trouble makers"?
 
But seriously, it's technology. You can't stop it. And why would you? :-)
 
9:35 AM
I wouldn't, but technology should be regulated.
 
Because some companies think it's a bad idea to better the world, we shouldn't? We'd still be without television if we'd accept that.
 
Why do you keep talking about companies? I'm talking about the government.
 
so in a distrobuted web does every node have a full copy of the site in question?
 
@BenjaminDiele Why is the government an issue?
 
Because technology should be regulated.
 
9:37 AM
Well if you're not going to get any real argument in, this is pointless.
@Alex Not necessarily. You can just hit some pages and get the content via P2P for those pages, then continue to share those particular pages to other uses that want the same page :)
Imagine the cost reduction for something like wikipedia..
 
I'm sorry, you're right. It's a bit dumb of me to try and argue when I should be focusing on finishing my work before my holiday.
@RoelvanUden The problem then is the cost increase for all other people. That data needs to be transferred. At home I have a limit of 150GB.
 
Time to abolish the Belgium artificial limits of bandwidth capacities. ;-)
 
You won't hear me arguing against that
 
Costs would often reduce though.
 
For the server owner yeah
 
9:41 AM
If you can share web content between users of your own ISP, the ISP won't have to hit remote connections and keep everything quick, lean and mean, without too much overhead.
The same principle as the current cache technologies they employ, only cheaper.
 
That's when you hit cache invalidation issues I suppose.
 
The government would silently reject it lol
UK govt would anyway
You'd need to get ISPs to jump on board otherwise you can't get people to switch to it either.
 
Q: how do you implement websockets in say, a windows forms application?
 
Cos the majority of people are scared of torrenting, if you tell them torrenting is P2P they'll be scared of P2P, then your engagement rate is gonna be so low that it makes no difference anymore.
 
you run into problems of node poisoning as well
 
9:46 AM
A websocket client...I mean...
 
anyone ever debugged through .NET corefx?
 
if we had a distrobuted web i expect it would need to be some sort of hybrid with lots of Web API like servers providing auth and data services to javascript (or other client side scripts)
 
10:01 AM
@Alex node poisoning was my concern as well - that's what I meant when I say I have concerns about 'trust'.
 
10:19 AM
@Squiggle Can you point me to a definition for node poisoning
Guessing it is nothing to do with route poisoning
?
 
I guess it's something I don't fully understand
 
Ah
Actual hijacking as opposed to MITM with ARP
vOv
P2P is a dangerous game :D
 
only 4 teh l33t3st
 
hey guys can any one tell me whether or not ef6 relies on the foreign keys for linking the entities? or does it just reply on the class links in the models?
i.e. i have classa which has virtual classb instanceb;
when i add a migration it would create the fk from classa to classb
but if the fk were to be deleted from the database side of things would it have an impact when trying to query through the dbcontext and linq?
 
10:38 AM
Pretty sure it would, yeah.
 
11:10 AM
@TomW You don't work for a company with the initials NVM do you?
 
 
1 hour later…
TBH you shouldn't commit keys like that to any repository, public or private
 
@CharlieBrown I think I read somewhere it was a bug in GitHub's VS extension.
 
aye, it wasn't VS it's self. It was a b0rked extension.
 
The borked extension was part of the whole story.
Even after revoking the compromised keys, -bitcoin miners- were still able to use the old keys to create amazon instances
 
@CharlieBrown That's the most worrying part IMO
 
12:35 PM
yeah, bugs are bugs, but not being able to turn it off is scary
 
aye. That's broken. AND the key he committed was only for Alexa integration.
not for Amazon EC2
 
Yeah. It seems like AWS was the suspicious party here.
 
Indeed, revoking AWS keys which are then used to sign up for EC2 is ... bad
 
I know I also got some unexpected AWS bills after doing some testing on it. I chalked it up to my fault - I failed to notice that an instance was left running, and the grant total was about $19 - but it was still an arcane bit of configuration, and I thought I'd specified to never use paid-for instances and shut down if usage becomes billable.
 
Its a really great writeup though. Love that he took the time to so thoroughly document the situation
 
12:37 PM
@CharlieBrown Good god
 
@CharlieBrown Wow. That's insane.
 
The insane part is that they could still exploit his account even though he revoked all access keys AND changed the password.
 
^ truth
 
And Amazon seems to know it's an issue and yet has no solution
 
yep
 
1:01 PM
Hello all, i know it isnt the right room to ask this question, but u guys mostly know a lot so could anyone help me with this problem please: networkengineering.stackexchange.com/questions/21074/…
 
@wouter just buy another switch and plug a network port form one into the other... it works like magic
 
but how do i stack those switches?
 
nothing special needed, just a regular cat5e or cat6 cable
 
but dont i need a glassviber cable?
 
are they rack friendly? as in 19"?
what do you mean about stack?
 
1:03 PM
and a glassfiber module, for the 56mbits per sec?
making 1 switch of 2 switches
 
@wouter thats pretty low?
 
i ment Gbits per second, sorry
 
You could go awesome on the backbone between the switches, but do you need the performance? 1GBit should be enough unless you have high demands.
 
you can use the SFP ports to link them
 
1:04 PM
its a office and we download a lot from our server on the network
 
How much is a lot?
 
when we download 50GB from the server, we dont want to wait long
 
@wouter you all have SSDs i assume?
 
yes we have SSds
I can stick this cable into one of the 4 SFP ports, right?
 
1:07 PM
Though you might want an SFP+ cable, not sure on that exact model
Yeah, you just use the SFP ports... but make sure a LAN is not connected to the linked network jack, they share a bus
 
and this way I can download on a client which is on swtichA form the server which is on switchB?
 
Correct, and in your management screen they will look like one big switch instead of 2
 
perfect!
 
Its all plug and play
 
and this way i can still go to the internet, right?
 
1:09 PM
Correct
 
thanks Charlie!
 
no worries
 
I almost wanted to buy some glassviber modules and glassviber cables
BTW, I only need 1 SFP-cable, right?
 
just one
 
and this cable manages to get 10GB or 10Gb thru it?
 
1:13 PM
Right, SFP cables are called minigigabit cables, they are rated for 10Gb
Cisco calls them SFP, other companies call them minigigabit
 
so, if im correct, there can only be downloaded 1.4GB / second from the 1 switch to the other?
is 10GBASE the same as SFP and minigigabit cables?
 
Close, in practice its less b/c of frames. Either way, its much much faster than your desktop machines network card or your servers network card anyway
10GBASE, SFP+
You probably want SFP+ anyway, it will say in the manual for your router if it supports it
 
I think it doenst support it, because I have a SG300-28p and not a SG300-28SFP
 
I lack self-confidence and would rather take the opinion of strangers online:
Would you prefer `(JObject) shape`or `shape.ToJObject()`
(where JObject is used to build JSON)
 
1:21 PM
id prefer var jsonshape = (JObject)shape;
 
interface IFoo
{
    string ToString();
}
discuss
 
do aim for a discussion about this like the enterprise fizzbuzz?
 
@CharlieBrown cisco.com/c/en/us/products/collateral/switches/… it doenst support sfp or sfp+ if im correct
 
@StevenLiekens Discuss this
 
Hey everyone.
@CharlieBrown I need a new router, any recommendations?
 
1:33 PM
not really, I buy COTS stuff for my office, its good enough
 
@Greg at home, computingcentre, small office ?
 
I have a CM500 modem and a netgear AC1600 wifi router
 
@SebastianL Home, maybe at some point I'll do a local server at my house.
 
For home and small office enviroment i really like AVM products ^^
 
@CharlieBrown Good to know, that bug is pretty incredible.
I couldn't imagine a public GitHub Repository that should of been private.
 
1:41 PM
i checked in my personal email password to github once... totally dumb move, had to change passwords all over
 
should HAVE been private
 
@Squiggle of of of of of of of of of of of of of of of of of of of of of of of of of of of
 
GAAAAAAAAAAAAAAAAAAAAA
 
Sorry chum
 
1:43 PM
/ragequit
 
o/
xD
 
high five
 
@CharlieBrown that's sad, what's your github repo url btw ;)
 
@CharlieBrown AC1600 sounds like a badass gunship.
 
Is MBA worth it? If you want to be a manager? Tired of being a developer and being bossed around by stupid managers :/
 
1:45 PM
@Obviously I would get a different job where you don't have stupid managers.
 
yeah, modified the commit history, deleted repo. someone smart could probs find it somehow, who knows
 
My managers are awesome :D
 
Still I want to be a manager
So I can boss people around
 
nooo, let me folk it before you delete xD
 
bad reason to want to be a manager imo
But do what you want
 
1:46 PM
@Obviously trust me, keep ppl happy and working is harder than being bossed
 
I know being a manager is lot difficult
You get to deal with more shit
 
ARRRRRRRRRRRGH i hate to maintain old projects with a crappy codebase ..... :@
 
Have anyone of you guys have done Project management certification or something similar?
 

 
@Obviously pmp is bullshit, that's what i can tell, the bright part, it's hell easy to pass the exam
 
1:50 PM
hello there
 
Everything is bs, even mba from a good uni is bs, but what matters is that will it get you interviews or not?
 
It isn't a BS, it's an MBA :)
 
Formal qualifications in project management are not particularly universal. Better to enter project management via being a domain expert, IME.
 
does anyone here worked with bdd? what about?
 
@SebastianL Depending on how free of a rein you're given, doing serious deep refactoring can be fun.
 
1:56 PM
@JúlioMurta sure. I use Specflow.
 
Of course, such projects rarely have any unit tests to maintain sanity, and usually don't even have clearly defined specs so you don't even know if you broke something.
 
@AvnerShahar-Kashtan if id be allowed to do CTRL+A, DEL then id be glad, but i've to fix it as quick as possible .........
 

« first day (1781 days earlier)      last day (3161 days later) »