« first day (1663 days earlier)      last day (3511 days later) » 

00:00
@JustGreg Chat data cached
Ah
Can you see the thing I typed?
@JustGreg wow... fancy. How ?:D
shouldve done Hello world instead :P
Those are unicode characters I typed with this script that I wrote, for typing math
@Mehrad should'a thought of that :)
However, only awesome people can see the font characters, and some applications just aren't awesome enough :(
00:03
@JustGreg go edit before anybody figures out :D
Looks interesting. had a look at the git repo. Interesting work
Nah I need to acknowledge my mistakes v_v
AHK is pretty good at what it does, but it's a major headache for the same reasons Bash is a major headache.
80% of the work was debugging :(
Another cool thing it allows me to do is this: ` `. It's a TAB! In a browser! Gasp!
Huh. That's weird.
test
` test`
Inline code blocks really hate tabs apparently
:D
bypass inline
Test:
test
@Mehrad DirectX API for dealing with cameras, webcams and the like
I'm sure it does other stuff as well
I actually have working code
it just doesn't work with this device :(
Well, I have this at least ` test `
00:10
@BradleyDotNET what are you building this time?
That was an EM space.
Trying to build a system such that when we detect a game has ended, we capture the game screen and save it off
And we are using commercial screen capturers to do it
except they are expensive, and half don't work with my code
so far just 1/4 worked
and it didn't support digital video signal
so we still need one for that
@BradleyDotNET didn't know you're in the gaming industry
sounds intresting
it is (gambling form of gaming)
your stuff has to run 24/7/365
and never crash
I have stopped PC gaming years ago but what I know is that, in the new PS4 the share button let's you screen shot every moment and the unit actually records the whole game incase after you finished you would like to save it :D
@BradleyDotNET emmm... even more interesting
00:14
and there are a million arbitrary rules you have to follow
so is this an application which runs on the units for casinos or an online sort of gambling game
@BradleyDotNET Oh yeah. the moment money comes to picture things get super complicated
it runs on a peripheral for devices in casinos
a little green box that goes in the slot machine
so we are a 3rd party to all the actual games/manufacturers
@BradleyDotNET get's more and more interesting. I always thought they never let the developers to program on Windows in case of loop holes and security issues. Was thinking they will have their own dedicated chip and operating system
Nope, they all run on standard OSs
not all windows mind you
but all of our stuff is windows
I am really surprised
00:17
Old school had what you described
but thats mostly because they hadn't developed the OSs yet
The first question comes in mind is that, what do you do when the application crashes?
cuz we have this crappy security camera system in the gym, and sometimes I notice, it crashed and now it's showing a windows desktop :D
I find that line of coding really interesting. bulletproof coding with everything thought out
if it does crash you have to have a dedicated error screen
but crashing is bad :)
In theory the whole thing could go down to windows
but no one could do anything to it with just the touchscreen
but I don't think that has ever happened
I think even ATMs run on windows
And as far as security goes, the CPUs are in a locked box
and nothing is hooked up to the web
so an intruder getting in would be hard
most cheaters exploit bugs in the software
this is the 2nd super interesting thing I have heard this year. The first one was when I found out most of bank passwords (including mine cuz I tested it literally 1 ms after I read the article) are not case sensitive and you can go all caps if you wish for the same password and it works
@BradleyDotNET That's right. If you can physically secure the unit you literally overcome 100% of the problem in the non networked under surveillance unit. That's what army does as well.
00:23
What is the best method for adding new sessions?
I'll admit, I was very surprised to see how... normal the code seemed for the games
I'm currently using a queue
but is a thread a better option
They even apparently pot their USB ports and stuff in the army with silicon
Gaming doesn't go that far
just all the brains have to be behind a locked door
Which is already behind a locked door
In a casino with lots of surveillance cameras
likelyhood of getting in = very small
Anyways, time for me to go. Have a nice evening/morning!
@BradleyDotNET that's right. a pokie machine isn't something the staff would move around :D
00:25
anyone!?!?!!?!?!
just for the record, your question made no sense to me
so you might want to add some context /o
00:41
@BradleyDotNET sure. interesting chat. cheers
01:02
@KendallFrey :(
What's the weirdest thing anyone ever asked you how to do?
Programming related, I mean
02:01
Adult Gift Baskets
 
2 hours later…
04:20
 
1 hour later…
05:43
GOOD MORNING WEDNESDAY
06:26
Good morning!
Morning
I'm following the video @ playit.pk/watch?v=gAWiXbT599E
It goes fine until it says to enter, git commit -m 'first commit'
Error prompts :
Please tell em who you are.
06:43
@yeungLeone you need to fill in your config with your name and email
Run git config--global user.email git config--global user.email to set your account's default identity
@BenjaminDiele would u plz elaborate?
Where should i ?
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
The name & email should be same as acc on github.rite?
@yeungLeone not necessarily. It makes it easier for other people though, so they can click on your name and go to your github account
@yeungLeone The only thing that needs to be the same as on github, is your SSH key. But you can see that on github
07:01
morning
Morning.
@BenjaminDiele solved :)
morning, and nice!
@RoelvanUden Afternoon :)
Now the last step:git remote add origin git@github.com/user_name/project_name.git
fatal:remote origin already exists
07:08
@yeungLeone Do you know how git works? It might be worth investing some time in reading up on it
but i don't find my project files on github.com
Why should i worry for its working...the video says it all
i am following its steps
because following steps isn't the same as understanding it :)
Any reason you're not using a GUI instead of Git bash?
@RoelvanUden no.......I just randomly selected
@RoelvanUden I always hated GUI's for git. Confused the hell out of me because I never knew what it was gonna do. Command line is ez pz.
07:13
You're all fools! We're supposed to be lazy! Clicking once > remembering and writing a bunch of stupid commands. :-D
You create a new repository and is thus presented with commands by default......why would anyone worry to remember commands :)
07:36
Delta compression and then writing objects.........
is it normal to take ample time to upload ??
Depends on your upload and the targets download ;)
Hmmm :)
Hello World!
Hello Basel!
what is ur fav.game dudes
07:43
TF2.
Depends on the week
Definitely TF2
I've wasted a lot of time playing wow
@yeungLeone I've played quite a lot of Cities: Skylines this week
I played a lot of GW2 :P
07:50
@RoelvanUden I have no friends that can play at the same time to play mmo's :D
How very fucking dare you @Feeds
@BenjaminDiele That's why Guilds exist (or Clans, or Legions, or Squad, or whatever the MMO calls it)
@RoelvanUden I lack the dedication to make that stuff work though
You just join one and be a fucking leech. It works
I hate being a leech though, nothing sucks more
07:56
Woww....nice
A good programmer needs to be a good gamer or vice versa???
Neither.
Some games developers I know are terrible at playing their own games
@Squiggle but those reflexes from counterstrike though ..
@BenjaminDiele yes, certainly. Writing lambda functions requires fast reflexes. Or something.
08:01
wtb lightning fast reflexes
Not a leech as in, I'm weak. I'm a leach as in, I don't show up when I don't feel like it.
Most guilds have a schedule
and you sign if you know you can play at the given time
@scheien the problem is that most of these dudes play waaaay more than I do each week.
Always someone who plays more than you.
:)
You can be good without having a complete latest tier gear
Sure, but I play like 5 hours a week, and that's a lot.
08:08
hi there all
is some one here to help a newbie :P ?
Of course :) What's your problem?
@MirzaJhanzaib ask away
tumbleweed.gif
you scared him
08:24
@BenjaminDiele: 5hours/week is nothing in an MMO :p
wikipedia on my tablet is just returning a small json payload of geo data
it loads the webpage on my phone and on my computer
not sure what's going on
but i'm very curious
@scheien that's why I don't play those kind of games :D I'm more of a simulation / strategy kind of gamer
and those you can play slowly
I used to be well into RTS. At one time I was good enough at StarCraft that I could actually beat (some) Koreans.
08:40
I play sc2 from time to time with a friend of mine. He's in masters league. I usually fuck up, and he runs around owning the enemy team :(
haha
@Squiggle you really scared him :D
\o/
Must be the whole British thing.
09:05
hey all
how can i get horizontal scroll bar in gridview control.
how can I do it
?
@nitesh.kodle123 have you tried google?
4
Q: Horizontal Scrollbar is not visible on DataGridView

ScorpionI have a DataGridView on Window form which is populated with 30 columns and thousands of rows. ScrollBars property is set to Both, but still horizontal scroll bar is not visible. even I am unable to scroll with arrow key from keyboard. I tried it by setting ScrollBars property to Horizontal as w...

@BenjaminDiele yes I tried a few thing but not working dats why I asked here
Great, but you might try asking a complete question instead of something so vague that nobody can help.
09:23
@BenjaminDiele thanx for respomnding
*responding
I will take care of this next time
Hello Everyone!
@LayaleMatta hi
Hi @Harish
Hi @BenjaminDiele
I have a little question if anyone can help me with
0
Q: ICommandBarElement throwing System.InvalidCastException

Layale MattaI am trying to implement this Sample and I am having a System.InvalidCastException' on ICommandBarElement child in the ToggleIsCompact(bool isCompact) function. Any idea what error I'm doing here?

09:41
@LayaleMatta Heya there. It's common courtesy to wait for more than 10 minutes before asking the same question here after you posted in on SO though ;)
@LayaleMatta what is the collection type of panel.Children in your foreach?
also - your question is quite short. Perhaps provide more code snippets of the problem, rather than expecting people to click the link to the sample?
also debugging
also search SO for the exception - it should tell you more about what's wrong: stackoverflow.com/questions/949798/…
10:28
Though off-topic but can benefit from experience: I updated my opera from Version 22 to Version Opera29.0.1795.47 Setup last day and eventually now don't able to find my bookmarks .How can i recover them or they are permanently lost? -
Opera? Wow.
Why is SQL pivot so difficult to understand?
for me, it's because it's difficult to visualise.
I'm not sure I buy that. I can visualise what I want just fine. I just don't see how the syntax represents doing that
oh. The it's a problem with SQL, clearly.
10:42
Why does everyone always go on about aggregates? I don't want to aggregate anything
Take rows and make them columns. Why is that so complicated?
@TomW have you tried turning your screen 90°?
Guys I have quite a "difficult" question. Microsoft Kinect has a 43° vertical by 57° horizontal field of view. How do I calculate the distance between my Kinect and my object, if I want the whole object to be visible by the Kinect?
^ best solution ever
@ErwinOkken Trigonometry!
Do you know how big your object is?
2
Yes I do
But an example size is okay. I just need to know how to calculate :D
Simple trig.
you studied maths, right?
10:48
Ehh, nope, definitely not D:
Information Sciences, but math has always been a problem for me :(
do you know the height of the kinekt sensor as well?
Lets see
I have no idea why that is important, but im 100% that you know more about it than I do :D
you need to find the length of the horizontal line (adjacent).
You know the length of the vertical line (opposite), and the angle of the view (theta) - 43 degrees
tan(theta) = opposite / adjacent
Learn trig.
10:54
How can anyone finish school not knowing trigonometry?
I'm trying to figure it out :D
It wasn't a part of my education :P
@TomW oh geez don't go all Benjamin Gruenbaum on us
Which is really, really, really bad, I know.
Thanks for that last link you sent me. That is useful :D
This looks like pythagoras :3
@TomW I must admit I'd have to look it up too after not using it for almost 8 years
Thanks, now I don't feel shit anymore :-D
10:59
@ErwinOkken No problem, but don't forget I'm dumb as a bag of bricks.
But yeah, you definitely need to know trig if you're doing anything related to games.
Two things helped me learn trig better than school ever taught me:
1) Coding a simple clock face in VB6
2) Writing a 2D physics engine
collision detection is a ballache
Basically I just remember the graphs of the functions, and choose a function based on the value I'm looking for
If I know I want 1 for 0deg, cos it is
We have a pooltable and we want to place the Kinect above the pooltable to analyse the game. At this moment I only know the field of view of the Kinect sensor and the width and height of the pooltable.
11:06
@ErwinOkken Not the length of the table?
length, indeed. sry :D
Too late to edit
Why a Kinekt? Why not a normal webcam?
Kinect API gives all kinds of analyzing capabilities afaik
neat
I guess it's way easier than OpenCV
Tried to do some image detection in OpenCV a while back. It hurt my brain and I gave up.
11:09
@ErwinOkken you can treat the two angles independently and take the largest answer, I think. Draw a triangle with the width of the table as its base, and the angle at the top as 43 degrees. Draw another triangle with the length of the table as its base and the angle at the top as 57 degrees
Exactly what I was thinking @TomW. I tried to convince someone that we have to calculate both angles, but I was confusing myself bigtime :D
Presumably the table surface will not exactly match the viewport of the kinect, but its longest dimension has to fit in the longest dimension of the viewport; there will probably be some floor visible either side.
Matching the width of the table to the shortest dimension of the viewport would miss the ends of the table (probably); no?
That's what I want to calculate =)
so the width of table = width of viewport answer should be discarded and the one you want is the length of table = length of viewport answer is the more correct one.
@TomW But I have one length (width or length of the pooltable) as 1 line. I have the angle. But I need another length of 1 line of the triangle to calculate the third, right? :D
11:16
This is very difficult to express in words
Well, it takes some rearranging of the equations.
tan a = b/h (a = angle, b = base, h = height)
But you know a. So what you're actually solving is h = b / tan-1 a (tan-1 = arctan = inverse tan)
How do I do arctan on windows calc :DDSXD:d
Had to look myself. Hit the Inv button
go tit
:p
just had it haha
Oh. I didn't mention - trig relations work on right-angle triangles. The one you (mentally) drew isn't a right-angle triangle, but halve it, and you can use that
so the base is half the length of the table and the angle is half the viewport angle you mentioned
Ehhh :D
I'm about to just buy the freaking Kinect without trying haha :')
h = tan-1(43) = 88
b = 380 cm
b / h = 380/88 = 4.31

I have something done completely wrong I guess =) (Not even tried your /2)
11:25
hmm a gist for diagrams would be awesome
draw.io?
@TomW You know what I did wrong with that calculation over there? :P
It's a boat!
Sailing boat!
11:31
Sloop
ok 1 sec
Reminds me of one of my favorite technically-valid English phrases:
"The old man the boat"
i like buffalo buffalo buffalo buffalo buffalo buffalo buffalo
@ErwinOkken oh damn. I've got that wrong; sorry
nothing to do with arctan
Haha I was like
But nothing really changes..
2.17, 4.17.. etc :P
I'm calculating in centimeters so that would be quite low :D
11:36
190 / tan(21.5)
I get 456cm. That seems reasonable
I get 482 :D
ehm let me retry that
Note half the table length, and half the angle, because it relates to a right-angled triangle
When I close my eyes and I visualize the pooltable and the triangle, I get that :P
But 456 cm is quite alot
Ah typo. Yes, you're correct
Although you've chosen the smaller angle. That's the smaller dimension of the kinect's field of view
You'd be better off trying to fit the length of the table into the longer dimension, I'd have thought
I was wrong with something. I try it again
11:44
@MillieSmith The best thing is that any number of buffaloes is valid
really?
BTW for that phrase to work you need the correct capitalisation. And no, I don't think it works with any number of buffaloes.
@TomW 190 / tan(28.5) = ~350. So thats just way too much to achieve our goal. But thanks ALOT for helping me. I really appreciate it :)
11:47
@Squiggle What number is invalid?
@KendallFrey with more than 7 "buffalo", unless you have a buffalo called "Buffalo Buffalo"
@Squiggle the classic example has 8
oh, then 8.
Feh!
'mercans.
Thomas Tymoczko has pointed out that there is nothing special about eight "buffalos"; any sentence consisting solely of the word "buffalo" repeated any number of times is grammatically correct.
11:51
technically that's a bit redundant. Any "sentence" is "grammatically correct"
google defines a sentence as "A sentence is a linguistic unit consisting of one or more words that are grammatically linked. "
In regards to a pub sign for "The Fox and Hounds", the landlord took issue with the kerning of the font. He said that there was too large a gap between Fox and and and and and Hounds.
"Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo Buffalo buffalo buffalo" is fine
and it immediately rules out, for instance, one buffalo
oh actually nevermind. one buffalo is fine as a command
I love the ambiguity of language
it's a pity that c# doesn't have that
no, wait. The other thing
@Squiggle James, while John had had "had", had had "had had"; "had had" had had a better impression on the teacher.
11:53
:D
Colorless green ideas sleep furiously
Colourless.
en-gb
I use american libraries too much
hence why having natural language in programming is a bad idea
nlp in programming would just make the compiler's job excessively difficult
but in 40 years, i'll probably be eating my words
@MillieSmith that's a whole other ball game, let's not go there for now
11:59
heh
oh god i hate lync 2013. Shit is soooo slow
I want star trek. Write a program by saying "Computer..."
lync changed to skype business for me
hello, good day
@TomW I calculated that I need a 100° horizontal view sensor to be able to use it. :( :D
12:04
@ErwinOkken are you limited by how high you can place the sensor?
quantum programming is hard
@Squiggle Unfortunately yes.
We're doing a feasibility study (thanks Google Translate) for a hobby project.
@MillieSmith yeah, and it's still as slow :(
I am a fanatic pool player and I want to create a piece of software that analyses a game. But most pool tables have two hanging lights above them. So.. :(
Unless someone of you has a brilliant idea, I have to forget about this idea =P
@ErwinOkken you wouldn't have to have it directly above, I guess?
12:07
lots of image processing
@TomW What do you suggest? :d
Put it on the wall :P As long as it can see the whole table
hi folks!
@TomW They are not really near a wall :P
replace the slate and felt with a Microsoft Surface?
12:09
@ErwinOkken hang 2 or 3 camera's between the lights?
having it above drastically simplifies the image processing code
and embed RFID into the balls
hahaha
wait. That sounds kinda wrong out of context.
I don't want RFID tags in my balls. Thanks tho :D
@BenjaminDiele I have thought of that, but I'm unsure if the software keeps those camera's in sync.
12:11
@ErwinOkken extra challenge!
Meh :D
@ErwinOkken do you have a hackerspace near you?
12:27
sry, back in 30 mins
anyone knows versionone agile too?
@Squiggle Never heard of that before. And no, nothing close to me :P

« first day (1663 days earlier)      last day (3511 days later) »