« first day (1868 days earlier)      last day (3081 days later) » 

12:11 PM
@sippy u on stea atm?
 
I'm at work.
 
whats wrong with this
Unable to cast object of type 'System.DirectoryServices.AccountManagement.GroupPrincipal' to type 'ActiveDirectory.Extensions.GroupPrincipalExtension'.
When

public class GroupPrincipalExtension : GroupPrincipal
 
 
12:17 PM
Skittles? good food?
plz
 
it doesn't say anywhere that GroupPrincipalExtension inherits from GroupPrincipal
It contains extension methods
 
Can you cast a parent to a child anyway?
 
@Feeds maple syrup and nachos
 
@scheien oh yeah, no
wait
dunno
 
if you have a Tiger, and a Hippo. When casting an Animal to Tiger, it can be a hippo. Which wouldnt make sense.
 
12:26 PM
these canadians with their maple syrup
 
@scheien runtime exception
but anyway, I don't think there is the inheritance relationship, if that's the docs for the class being discussed
 
another good thing from Canada -> The Expanse (tv show)
 
yep. Maybe someone can shed some light?
 
Parent x = new Child();
(Parent)x; // valid
Parent y = new Parent();
(Child)y; // nope
 
the lesson here is don't use inheritance
 
12:27 PM
@TomW: yeah, I just took it from his comment
> When

public class GroupPrincipalExtension : GroupPrincipal
@DavidDV: I agree. Inheritance can get really messy
 
just use interfaces and adapters when needed
 
and if you have used that inheritance, you cannot inherit another one, which can lock you into some fubar situation at some point
 
OO is bunk. Use Haskell :)
 
inheritance so that you can store your app state in different classes :D
 
Write it in JavaScript and put blind trust in duck-typing.
 
12:30 PM
Hello everybody.
I need to download images (from images.google.com) programmatically (is for a neural network).

I think that I can put images.google.com?q=myscustomterm in a iframe and then download each of it.
This is the best approach?
Or maybe a web crawler for .net?
 
@ErickAstoOblitas are you talking about web-scraping Google? If so... no. Bad approach.
 
javascript > *
 
@Squiggle How can i do?

I need a lot (20 - 50) images for training NN?
 
@ErickAstoOblitas 20-50 images is not a lot of images :P
 
lol
 
12:33 PM
@ErickAstoOblitas but if you're automating something, use Google's API developers.google.com/custom-search/json-api/v1/overview
there are code examples and everything
 
7
Q: set of training images for a simple neural network

Manudo you know any good set of training images for my test neural network preferably a tagged set of images of numbers or letters or simple symbols faces or real images might be too complex at this stage. (i am tiring to implement a Boltzmann machine)

 
@Squiggle ha ha ha 20 -50 images for term, 10 terms = 200 or 500 images.
 
@ErickAstoOblitas what sort of images are you requiring?
 
@DavidDV Also some interesting books.
 
omg great book :)
 
12:35 PM
err...nsfw
 
:(
 
nsfmods
 
@Squiggle numbers, deformed numbers, common images that contains numbers
 
just single numbers
 
destroyallsoftware.com/talks/wat is still one of the best programming talks of all time.
3
 
12:44 PM
@ErickAstoOblitas So you're trying to crack captchas
 
@Squiggle +1
 
@ErickAstoOblitas aha OK - you'll probably find a decent API to retrieve images here: programmableweb.com/search/images
 
that wat talk is pretty meh
 
@DavidDV flags
 
@DavidDV The link of Kaggle contains csv, I'm searching for images format.
@DavidDV And the training are in csv.
Yes maybe like captchas.
 
12:48 PM
wat talk is sometimes used by C# only developers to piss on javascript
all I can say is, keep making those Silverlight websites :p
 
https://www.kaggle.com/c/digit-recognizer/data
CSV has the images normalized to 0..1, maybe from real images.

I want to do this pre-work, because in my real problem I will need to do this.
Take raw 'native images' normalize it..then work with it.
 
I should make a wat talk on C#
problem is, the audience would have to be Haskell programmers
 
^ you can talk to yourself
 
1:06 PM
So many bugs so little time
http://stackoverflow.com/questions/33958090/null-exception-while-calling-a-database-to-populate-datagrid-rows
 
don't you need to do a new something
.GetUsers() is not static
or am I missing something
 
I ♥ C#
 
Maybe.... But the error is thrown at the point of the list being called
 
and why use datasets, use Linq2Db :D
 
thus the whole line is null, not just GetUsers
Never used them :/
 
1:10 PM
someone already get you an answer, the UserRepository just never get initialized
 
yep
 
where do you set your connectionstring?
 
looks like the source you are copy/pasting code from is using property injection, but you didn't, so easiest fix would be simply init it yourself
 
...he has a repository within his viewmodel...
 
I see about the repository
@tweray yeah they said I could use property injection, but left it out
 
1:15 PM
property injection?
just try making sth simple that works
 
That's what I'm trying lol
Crud, I didn't set connectionStr
 
connection string + instancing your "repository"
and check out Linq2Db instead of these datasets
I mean it's 2015
:p
 
@Squiggle lol
Stay calm
 
believe it or not, i just read some of the same thing wednesday in our code base, so i'm relatively calm about that now lol
 
I never make repositories only dataaccesors
 
1:23 PM
in my case, all db read happens in constructor, i don't know if i should call it better or worse D;
 
Anyone in the uk
EE are selling the trackr beacons for £2.50
...go buy ten
They should be £25, each
 
the most important thing is that your application is fast, robust and easily changed / maintained, all the rest is BS
 
lol i thought you are talking about bacon
 
@KaelanFouwels ?
 
1:27 PM
 
I want something that'll help me find my phone when I lose it in my own house.
 
@Sippy Isn't this guy just ripping off the WAT talk?
 
talks were both in 2012 and javascript still ownz :p
 
--- javascript still ownz :p --- javascript is still broken
kek formatter thanks
i give up.
 
lol broken
this chat uses javascript
OMG
BROKEN !!!
:p
 
1:30 PM
It's difficult to find websites that don't use it.
 
scuse me
this was programmed in jquery
(/s)
 
correct
 
what's javascript?
 
jquery is much better than javascript.
 
lol
trolls
 
1:31 PM
I mean... kinda
but also yes
 
jquery is obsolete
 
jquery is the best web dev language ever written.
 
bad ass rockstar tech*
 
heretic.
@KaelanFouwels In answer to your question no. Not really.
dotjs talks go into more detail about js alone
 
fair enough.
 
1:33 PM
wtf do i know though I didn't even know how to code in 2012.
 
I was busy writing mad vbscripts
(no, really)
 
pls
I might just sack work today and leave
Having a defeat day.
 
already finished all the work i was supposed to do till monday... installing commandos 2
 
@NicolásCarlo same
 
men of courage?:P
 
1:45 PM
yup
 
love that game
 
one of my all time favorite games
 
0.79 $
 
lol, question is, are you still able to run it?
 
takes patience tho
 
1:50 PM
i have XP on VBox
i keep it around for this and other games like medal of honor
 
hours and hours of frustration :p
 
they should do a commandos but then with a zombie-theme
avoid the zombie horde
 
i have the CDs from years ago
also have destination berlin but prefer men of courage over it
 
only played the first one
 
1:53 PM
wish they still made games like this
 
Me making my school assignments for C#
 
you can always play the desperados games
 
I picked up this beauty yesterday store.steampowered.com/app/285330
 
i played desperados back in the day. i don't know, didn't have the same charm, good game still
 
I was thinking about buying CS:GO
but didn't :p
 
1:56 PM
You should
 
cs:go?
 
That was a really good story
 
last CS I played was Beta 6
 
oh nvm
 
Wow this sale is pretty shit.
 
1:58 PM
i bought fallout 2 last year, never able to get it work on my computer though
 
I have 260 hours of cs:go. Definetly worth it
 
There's only 1 game I can't afford this sale. Wildlife park 2
 
it was 5,6 euro, and I selled crates and weapon skins for 5,3 euro
0.3 euro for cs:go is not bad :D
 
I have 1400 hours on rocksmith 2014 :p
best game ever
 
1661 hours of dota 2
 
2:01 PM
4K hours on league here
 
750 on TF2, IIRC.
 
so many games to play tho
:(
 
I'm going to go play some rollercoaster tycoon :D
 
4000 hours is basically a 40-hour work week over 2 years...
 
@Squiggle Been playing since beta though
So almost 7 years
 
2:05 PM
I've been playing TF2 for a little longer than even that
 
Well to be fair
I started league when I was 12
I'm 19 now
 
oh god everything on my wishlist is on sale
wat do
 
Buy it all
 
my friend has almost 5k hours of dota 2. And it was released in July 9th, 2013
 
what is on your wishlist?
huniepop?
 
2:06 PM
har har
 
hatoful boyfriend?
:p
 
try natural selection 2. It's a nice concept. Haven't seen other games like that
 
There are currently 4 games on steam that are more than 100% off
 
lol
so that means i get money for "buying" it?
 
2:09 PM
it got to be some really shitty game, that they are like "please, here's $15, please buy it"
 
Roller coaster tycoon keeps crashing fucking man
 
yes, it happens to me too
 
@KendallFrey Because they're under 0 you cannot buy them. I tried
 
@tweray It's a Steam display bug
 
run it under winXP compatibility mode, and turn off bgm
 
2:10 PM
@MaartenWachters love that game, even the way it fucks up computers
 
I can't get it to run though
I'm trying to figure out how I can start a sandbox mode
 
rct3 is also nice, but rct1 and 2 are classic
 
RCT3 was too expensive
I'm a student, I just got my own appartement
I can't even buy wildlife park and that's a game I enjoyed as a kid a lot
 
@tweray yep
 
I sold all my steam items for RCT2 :p
 
2:12 PM
the greatest thing for rct3 is you can ride your own craziness in first person mode
 
Antichamber is 90% off, highly recommend
 
anybody bought that Elite game? the spaceship one
is it anything close to freelancer?
 
Wow that takes me back
 
Didn't think that the reviews were that great
for elite
 
I've had several people tell me it's amazing on Oculus
 
2:13 PM
I bought it but haven't played it yet
 
I should maybe buy it
 
but fairly light on content atm
 
yeah Elite is known for great oculus support
 
next year finally the release
<- original oculus kickstarter backer :p
 
freelancer is one of my favorite game, so fuck msft
 
2:22 PM
RTS2 so buggy holy fuck
 
This fucktard that decided that getting some freakin data from the database using JSON objects instead of using code behind that has been used for EVERY OTHER DAMN THING in this project....
He should get something up his ass
Sorry for the language... But I am close to committing suicide
 
does it really matter?
maybe there is a good reason :p
 
To be honest... I don't see any reason for it :/
And it matters to me since I just stopped as I saw JSON
#NotMyField
Can tell you that this project is confusing enough ^^
 
at least it is not XML :p
 
XML any day
 
2:29 PM
lol
 
XML is fantastic.
 
How do I even work with this JSON...
I have no clue
How can I see it
 
is this 1999?
 
json is simply a text representation of an object graph
xml is ... xml
 
I'll just side with the "fucktard" on this :p
 
2:31 PM
XML is namespaced, well defined, type safe, universal and human-readable text serialization format. I like it.
JSON is a lovely hack
 
are you trolling?
seriously :p
 
I'm not sure any more :-/
 
@KendallFrey Off topic. Got RTS2 to work finally :D
 
I honestly like XML, and JSON does have some flaws.
 
I just talked for 4 hours straight. Devs aren't made for that.
 
2:33 PM
but JSON is so much easier <3
@RoelvanUden my god. Get this man a beer!
 
I would consider taking up alcohol consumption at this point!
I fear for your sanity if you like XML over JSON tbh.
 
if you like XML you should check out SOAP
its FANTASTIC !
 
Even more well defined!
 
It was designed by idiots
 
I like serialize into byte stream, and deserialize. I think it's a little bit better than XML JSON SOAP
and a class with a proper view is a bit more human readable than <\>
 
2:38 PM
Yeah, because you can easily just grab a random text editor and look at the structure of the binary file and totally make sense of it :-)
(>_<')
 
XML sucks primarily because the people you are working with are unlikely to understand it and will screw it up
 
So.. My question is.. They are calling a JSON in this project. What can I do to see the actual JSON result? I don't seem to be able to see it through the debugger in chrome?
 
It incorporates good ideas. Like many good ideas; very few people understand them
"Calling a JSON"?
 
Tom.. Please:/
 
@MaartenWachters What is RTS2?
 
2:40 PM
well I can walways see my JSON in chrome
 
@JakobMillah grab a random texteditor.
 
@KendallFrey Meant rollercoaster tycoon 2. Got it to work finally
 
Sending XML to the browser is just so wrong
I did that in 1999
times have changed
ppl should know better now :p
 
I don't know what you call it.. Creating a JSON object? They are calling a function which does some JSON magic and boom, I see no result
 
2:45 PM
Nope, not really... Might be because it's Friday and all I want to do is to take the weekend off for some massage and shit.
I am just going to leave it.. Adjust something that happens behind that shizzle.
Sorry for my mood.. Felt like delivering the stuff to the customer today ^^
 
@DavidDV I worked on a system once which stored XML in the DOM instead of in a javascript object.
 
@JakobMillah "JSON object" isn't a thing. JSON is a string.
 
Commaseperated,right?
or semi-colon
"No, I did not googl"...
 
@Squiggle Also did that around 2000 get xml from vb6 into the client with XHR
 
<div id="ajaxData" style="display:none">
    <pages><pageone title="Workflow"></page></pages>
</div>
:(
then we had some javascript that referenced the nodes by index.
:( :(
 
2:57 PM
and then transform with xslt to create tables :p
 
oh no, XSLT was far too advanced
protip: Do not inhale tea.
 
@Squiggle ??? Why? I usually haven't drink tea, but 2 sniffs of hot tea already fresh me up
 
#TheSniffer
 
@Squiggle Or the tea got into Your lounge?
 
my lounge?
it mostly stays in the kitchen
 
3:09 PM
ok. Keep calm, and pretend You are dead. It will not come after You
 
I am confused..
 
hopefully it won't tea'r You apart
 
but yes, I inhaled tea and it went down the wrong way into my lounge via my sarcophagus .
tear me to dead
 
I even started the debug for wrong project 6 times in a row now and wondered why the f something went wrong... #TooManyMonitorsForFriday
 
I misunderstood 'inhale', I thought it's just breathing in the hot steam of the tea
 
3:11 PM
hmm does someone know a tool that I can post a stacktrace in and that then let's me jump through the mentioned code lines in Visual Studio?
 
that is a useful tool. I'm interested in it also
 
huh, that's the same thing my colleagues said :D
 
I f***ing did it... GG EZ GAME WELL PLAYED
 
:D You saw a JSON string?
that's some achievement
 
You just need to relax, here some soothing music
:s
 
3:15 PM
Hell no @ntohl I did a work around in c#
I avoid as much Javascript as possible...
@DavidDV At least you don't hide the video behind something else... pointing at @Squiggle
 
JSON != JavaScript
Just sayin'
 
@JakobMillah grin
 
Well, the JSON got handled by javascript
It's not JSON itself that is the problem
 
So because C# can read XML we should now call XML C# instead?
 
:)
:(
 
3:17 PM
Oh ok.
 
I feel mega bullied today
 
I'mma sowwy.
 
JSON is like micro aggressions for old C# developers
:p
 
I dunno. JSON is pretty neat, especially when you learn neat tricks like jsfiddle.net/smtdeagu/1
 
ooooh neat :)
 
3:22 PM
:)
 
@Squiggle I got nothing I wasn't expecting
 
Should tattoo Kappa onto his forehead
 
theeeere we go
 
Its friday
 
Friday
Gotta get down on Friday
Everybody's lookin' forward to the weekend
 
3:32 PM
Pretty sweet upcoming weekend
Even better when the last function is complete... WHOO
 
@color-grid-header-background: #FAFAFA; /* fafafa far better */
 
#BADA55
 
Eurgh that's a horrible colour
 
well, that is better, than #DEADBEEF
 
CSS hex colours don't support alpha
 
3:40 PM
There's a little 'nice web colours' widget out there somewhere
Problem statement: randomly generating hex codes tends to produce mostly mud-ish or puke-ish colours
 
So many things for sale on black friday...
I feel slightly overwhelmed
 
Oh you Americans and your first world problems
 
Kappa
 
I had to visualize variable number of tiles with 4 triangular sides. The colors of the triangles were generated with variable number(say n) of different colors. The algorithm of the coloring was creating rgb colors with r = i * (256 / n), g = 256 - i * (256 / n), b = i * (256 / n). Those were interesting colors
 
Swedish though
But I guess it applies to us as well ;)
 
3:46 PM
black fraud
 
I am just looking for a couple of monitors, but want to best for best price... Of course
 
my only problem, is which youtube vid should I watch to amuse myself of black friday madness
 
hmm
 
last week a xone was R$ 1200,00
during this week te xone was R$ 1800,00
today is R$ 1200,00
this is black friday
 
Stupidity tax
 
3:52 PM
why would you buy a xone to begin with
 
i just bought an xbox one
last week
so much better than my ps4
 
why?
 
well, the two trigger finger buttons can be used with 1 finger, easily, without moving my finger far, i can press both triggers with one finger at the same time. the R3 / right stick click button isn't as sensitive on the xbox one
i'm not a huge fan of the xbox one ui
it seems hard to find stuff, like, what i'm downloading, whats the progress of that download, and how fast am i downloading seems to be hidden away in some sub window that i can't find
but in all honesty, the controller makes enough of a difference where i'll live with microsofts subpar UI
 
ah ok
 
+ the xbox one loads some screens from azure, when it should really just be doing it locally, which introduces some lag into basic functionality that shouldn't have lag
so thats kind of annoying too, but again, at least i can use all the buttons easily
 

« first day (1868 days earlier)      last day (3081 days later) »