« first day (1685 days earlier)      last day (3263 days later) » 

12:31 AM
@drch going to netherlands, belgium, italy, and germany for 17 days starting this friday. :)
 
awesome
 
1:28 AM
@drch - I do not. I've tried learning another language several times but I can't stick with it because I'm a terrible person D:
 
1:38 AM
anyone play with akka.net framework?
 
 
3 hours later…
4:28 AM
@Jeremy awesome man. Drink beer!
 
 
2 hours later…
6:06 AM
@Jeremy: That sounds awesome!
 
thanks guys. looking forward to it :D
hope it's not too much travel
but should be quite nice
 
@Jeremy go to bed. its late in the midwest! wait, what am i doing up too?
 
@Jeremy: Holland and Belgium are fairly small countries
Germany is a bit bigger, but it comes down to what cities you will be visiting for the travel distance/time.
 
@scheien Yeah - originally I was thinking to see cologne and dusseldorf, but we decided to instead just spend time in Berlin
I've never been to Germany, and my girlfriend insisted on returning to Berlin
So, there is some air travel in the itinerary
 
@scheien we're tiny countries man
 
6:12 AM
I've never been to Berlin, but I've heard many times how amazing it is.
@BenjaminDiele: You can almost drive from Hirtshals (top of Denmark) and to Amsterdam in the same time I use to drive from coast to coast in Norway
:p
@Jeremy: Yeah, I guess planes are better than trains, time wise
:)
 
@scheien Yeah. Currently, I don't have much vacation time at work, so spending the entire vacation day on a train seemed a bit sad.
Germany is quite large
 
It is indeed
 
@NETscape Hah. I don't sleep much. :P
 
@BenjaminDiele: A county in Norway (Finnmark, top north) is 18000km^2 larger than Belgium.
with a population of ~76k people
vs 11.2 million in Belgium
Quite the difference
 
See, nobody wants to live there! :D
 
6:20 AM
Well, yeah.
:)
 
Just looked it up on here.com. Holy shit that is way up north
 
aye
 
It's awesome imagining how people started living there. So far north.
 
6:37 AM
That would be the natives
Sami people
 
There was a castle built in 1300 or so there. That's old for being so far from "civilization"
 
Norwegian population has always been a bit decentralized. Sure, we have some cities, but they're nothing major. Oslo has a population about 700k (iirc), and the second largest city, Bergen, has around 200k. All of these are minor cities when compared to other cities in Europe, and other continents.
 
6:53 AM
It makes it a bit strange to see that it became 1 country then.
 
Hehe
All the courtesy of Harald Hårfagre
Harald Fairhair (Old Norse: Haraldr Hárfagri, Norwegian: Harald Hårfagre; c. 850 – c. 932) was remembered by medieval historians as the first King of Norway. According to traditions current in Norway and Iceland in the twelfth and thirteenth centuries, he reigned from c. 872 to 930. Most of his life remains uncertain, since the extant accounts of his life in the sagas were set down in writing around three centuries after his lifetime. A few remnants of skaldic praise poems attributed to contemporary court poets exist which seem to refer to Harald's victories against opponents in Norway. The...
but yeah, still a bit strange
 
Do you have the using System.Linq amongst the using statements?
 
using UnityEngine;
using System.Collections.Generic;
using SDataEntities;
using SDataEntities.Enums;
using System.Collections;
using System;
using System.Linq;
using CLogic;
using SharedLib;
 
Probably VS acting up.
 
Probably.
 
Sup @Squiggle?
 
7:49 AM
open/close document resolve my problem)
 
open/close VS, more like
'lo @scheien
 
clean solution, close/open vs, rebuild.
 
8:02 AM
How many pixels do you have when programming in VS at work? I have 1x fullHD and I think it is not enough ...
 
@PeterDub 1920x1080 is pretty shitty though
At home I have a 2560x1440, which is pretty neat
 
@PeterDub I have 2x1080p and I only use one screen of the two
But, the second screen is useful for things like SQL studio or data sources (excel?)
Otherwise, meh, one is fine.
 
I have 2x 1920:1200 (16:10). Use both screens as much as possible. 1 with vs, other with whatever else I need to do.
 
nice :) I don't know how to force my supervisor to get me more screen ..
 
I feel that 1 screen limit my workflow
by having to tab through every window now and then
 
8:11 AM
I use half-screen VS and half-screen browser, and full-screen external crap.
 
8:30 AM
I have heard that 2 normal monitors are better than one big. Because of task separation.
 
And you wouldn't have to battle with the minimize/maximize for each window.
 
WINDOWS+LEFT or WINDOWS+RIGHT
Try it. :P
 
thats nice but you always need to search the window which you want to show
 
Search...?
 
sql manager, iis, fiddler, git extension, browser, visual studio ... just to turne head is more intuitive than alt tab, can be done without noticing
 
8:38 AM
Oh wow, I just use VS+Browser. Git is integrated into VS, Fiddler is needed almost never (you have a browser with dev tools, right?), IIS requires no configuration and fiddling with SQL when you have EF is a bit meh. :P
 
neat @RoelvanUden. Still wouldn't trade a screen away for that :p
you forgot spotify
 
@scheien Once you've adapted to half-screens the context switching of looking at another screen is meh :P
I use mini MusicBee :P
 
git integrated to VS is not sufficient for me. I hope that 2015 will be better
 
@RoelvanUden: yeah, I guess it comes down to personal preference and habits.
:)
 
:-D
That said I've fully adapted to single-screen workflow. I don't want two now :P
 
8:41 AM
Deserializing POS data is so freaking time consuming
ofc it's heavily nested xml
with a gazillion elements with another gazillion attributes
 
And no documentation!
 
Speaking of documentation would be like swearing in church
:(
 
I think that is same across all companies
 
What if they had an assembly, with all the god damn types, which I could just reference, and use XmlSerializer? meh, that would have been way to easy
 
they provide you with a valid XSD though, right?
 
8:47 AM
nah, they don't provide shit
 
Use Visual Studio to generate an XSD given an xml file
then generate some serializable pocos from that using xsd.exe
then tweak until it works
 
hm
maybe I'll give it a try
 
it'll get you about 90% of the way there, depending on how complete the original XML document is
 
As long as I get the stuff I need, it will be okay :)
 
you could always parse the XML using regex if you want
 
8:53 AM
uhm, no.
 
@scheien embellish. Tell them it's not possible without a schema.
 
Best approach I saw was loading as an XmlDocument and referencing nodes by index.
 
Anyone who doesn't do XML properly should be forced to learn.
 
@TomW the more forceful the better
 
yeah, that's what I've been doing, but using hard paths to every element is very rigid.
 
8:55 AM
USE SCHEMAS AND NAMESPACES
ahem
 
Use parsers..
I see people doing substr in a xml too often
"It's just text, right?"
No it's not. Fuck you.
3
 
XPath can get you quite far
 
@RoelvanUden: ewww :(
 
I still hope for greater adoption of RDF
 
9:18 AM
@Squiggle does RDF play well with SOAP? I'm imagining that one could define a soap message format entirely in RDF semantics, but that would be a bit of a perversion
 
Gah. I might have just finished this 421 LOC SQL script :/
 
9:47 AM
Getting Value does not fall within the expected range for Writeablebitmap
Randomly
When the UIElement is so big ..
How to solve?
 
@TomW in its XML form it is perfectly compatible. No reason why not. But it's purpose is for semantically describing resources, and makes better bedfellows with REST.
@RoelvanUden you missed an opening bracket on line 112.
 
@Squiggle SQL opening brackets are rare! :P
 
10:03 AM
any solution ?
 
I am sending hex commands via Bluetooth SP with Binary Writer

bw.Write((char)0x1B);
bw.Write((char)0x44);

I am trying to convert number e.g. 9 to the hex format 0x how do I do that please?
 
@Marek an integer to a string representation of it's hex value?
myNumber.ToString("X");
you might need to prepend with "0x"
 
@Marek Are you sure you want to send chars? Not bytes?
 
^ this is the question
 
10:23 AM
I tried to send bytes earlier and the printer couldn't consume that. This way it is working well for me :o
I htink that BInaryWriter does the transformation for me. @RoelvanUden
 
10:50 AM
You just need to follow the protocol. BinaryWriter writes exactly what you put in.
 
11:34 AM
@Squiggle in particular I was wondering how easy it would be to get a WCF service to express its WSDL using RDF semantics. Probably horrible.
Custom metadata binding I expect.
 
11:47 AM
hello! : ) Anyone familiar with OpenTK library? ;>
or at least OpenGL 3.3+ (without GLUT)
 
hellow guys
can anyonne help me
i have a problem with desktop application using c#
hello guys
 
hi @r.hamd what is the problem?
 
i have deployed a windows form application using C#, i have installed on three computers. on one computer everything works perfect. but one the other two computers, just in one form, when i click on datagridview the data from datagridview does not go to matching textboxs @user1970395
i have several columns only two of the colomuns go to the matching textboxes.
its very strange and i have never experienced this problem
the the most pecuilar thing is, it works perfectly on my computer, on one other computer. but on the other two computers it does not work
 
12:05 PM
can you post the method that sets values of textboxes?
 
@r.hamd you're certain you have deployed the same version to all machines?
any difference in OS, screen size etc?
 
@Squiggle yes i am sure
windows 7 64.bit
here is the datagridview event:
private void dgv_MouseUp(object sender, MouseEventArgs e)
{

try
{
buttonX4.Enabled = true;
buttonX3.Enabled = true;
buttonX2.Enabled = true;
// code.Text = dgv[0, dgv.CurrentRow.Index].Value.ToString();
cmbcourse.Text = dgv[1, dgv.CurrentRow.Index].Value.ToString();
cmbinstructor.Text = dgv[2, dgv.CurrentRow.Index].Value.ToString();

//c1.Text = dgv[1, dgv.CurrentRow.Index].Value.ToString();
//c2.Text = dgv[2, dgv.CurrentRow.Index].Value.ToString();

startdat.Value = Convert.ToDateTime( dgv[3, dgv.CurrentRow.Index].Value.ToString());
i will be right back
 
at the start I'd suggest you to use CellMouseClick event instead, You'll get rowindex from event args. At the beginning you should then check if rowindex is not -1. Rest of your code should definitely work from what I can see.
@Squiggle do you have any experience with OpenGL? ;)
or any other 3D stuff?
 
12:34 PM
Not really
Last time I touched OpenGL was 2004
 
12:55 PM
thank you @user1970395
 
Aghh, I think I'm too dumb, but I can't understand how 2d->3d works : ( I need to draw an object at the place where I clicked mouse button (and Y = groundLevel) and I can't figure it out :( I did unproject my position and got vector3 - now I'm stuck at what to do next :D
 
dang.
 
1:33 PM
@user1970395 if you're talking about height then you'd normally call that Z, AFAIK
ground : Z = 0
 
Z is distance from camera, or depth, Y is your vertical
 
Morning everyone.
 
alright, I believe it doesn't really matter, but Z is the depth, Y is height - but let's make it Z then, I can change it later on :)
hello @Greg
 
@user1970395 I'm just entering the conversation, but usually you a sign a value of XYZ along a three dimensional axis.
 
it's all relative
 
1:50 PM
yep and since my UpVector for the camera is UnitY (OpenTK library used here), then I'd say Y is my vertical vector. But that really doesn't matter to that problem, right? ;> What I have now (followed by an article http://schabby.de/picking-opengl-ray-tracing/) is:

Vector3 v = camera.View - camera.Position;
Vector3.Normalize(v);

Vector3 h = Vector3.Cross(v, Vector3.UnitY);

Vector3 n = Vector3.Cross(h, v);

n = Vector3.Normalize(n);

float radians = Core.fovy;
float vLength = (float)Math.Tan(radians / 2) * plane.Near;
any idea what to do with that further? :)
 
some better variable names might help, and maybe a function or 3
 
I know, I basically wanted to test it and re-implement once it works. line.Start is a point calculated with gluUnproject and line.Direction is the direction of the ray. I now need to make my "object" appear in my 3D world at the place this ray intersects with Y = 0. Any suggestions?
but I don't use gluUnproject, because my library doesn't have it - so this code is a replacement for it.
 
I get that, just hard for us to grok that quickly
 
2:25 PM
There anyway to get ∆ in a sql field? varchar & Text display ? when it saves
 
     ∆
∆ ∆
I can't triforce :(
 
:( I can't ∆
 
the column type must be an nvarchar in order to store unicode
 
ahh executing on dev
lets see if it clips anything
did not say it did, you would think it would if it happened
took the triangle:)
now what will it do in production...
and it took ℄
sweet
 
2:55 PM
Computer Programmers have a 48.1% chance of being automated.
Yet "Software Developers Applications" has a 4.2% chance.
 
I certainly feel confident I can make myself useful enough to automate 48% of my colleagues
Colleagues: *murmur murmur in inetpub*
Me: Pub?!
Colleague: ***I Net*** pub, chill out
 
So software can write software? And thus, SkyNet was born.
 
and humans were destined for death..
if a computer could determine your value to society, would it let you live?
 
SPOILERS.
 
woo that is some (what is that movie) with the twins
that on hulu?
 
3:09 PM
Meh, I still liked S2. Looking forward to the movie, too.
Surely S1 was better.
 
eh better then nothing at the end of the day
he after hulu - thanks
 
Who said that? It wasn't me.
 
T...ent
 
I am following a tutorial this morning using angularJS and MVC4. Long story short, the tutorial has you create a js file where you define a controller and a module:

(function () {
//Create a Module
var app = angular.module('MyApp', ['ng-Route']); // Will use ['ng-Route'] when we will implement routing
//Create a controller
app.controller('HomeController', function ($scope) { // here $scope is used for share data between view and controller
$scope.Message = "Yahoo! we have successfully done our first part!";
 
^ That probably. That said, mixing MVC+Angular=Meh.
 
3:25 PM
@ton.yeung here is my layout:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
@* Here ng-app="MyApp" is used for autobootstrap and AngularJS application. here ng-app="MyApp" means <body> element is the owner of the AngularJS application.*@
<body ng-app="MyApp">
@RenderBody()

@Scripts.Render("~/bundles/jquery")
@* Add Angular Library Here *@
I will try this
no
i have done some stuff on you tube
yes...I can look at the source and see what is included...I am looking at the console currently at the error
Module 'ng-Route' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
lol
 
angular.module('app', [ui.router']);
 
ng-route is it talking about the angular route js file?
 
Need to specify it as a dependency when creating the app, so it knows how to load it
 
and when to load it - before The app calling it
 
Also need the script as well, its a separate js file from angular
to make things more confusing, there are 2 of them. 'ui-router' is the new state router. 'ng-Route' is the old routing module
 
3:35 PM
when I open up angular-route.js it has ngRoute instead of ng-Route
I changed it and it still des not make a difference
where should
angular.module('app', [ui.router']); go?
 
at the top of the App.js file you are using for that part
 
Make sure its included in your js files
And ignore that ui.router if your using the old version
You already have the right code to load it, just need to include the file in your angular bundle
 
i have var app = angular.module('MyApp', ['ngRoute']);
 
yep thats fine
ok, looks good
 
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/angular").Include(
"~/Scripts/angular.js",
"~/Scripts/angular-route.js"));
 
3:39 PM
Bundle looks good, now rebuild and refresh
@Skullomania did you remember to include your js code file as well?
 
i refreshed and it worked...the angular-route file must have been updated since that tutorial..weird because I am using the same version he is
 
ok, cool
 
ng-Route should have been ngRoute
thats all I changed...confusing since it did not work when until I refreshed a second time
Thanks @ton.yeung and @CharlieBrown
There was an angular tutorial I was following a while back...it went through several examples. I am unable to find it now on youtube
im going :)
 
I think Google chat changed their protocol. Trillian can't connect anymore. :(
Skype is so bloated.
 
@ton.yeung its working, just a typo
 
3:46 PM
225mb of ram for a chat program.
Ridiculous.
 
its not that bad
My Father does this thing where I'm halfway into a project, then he says something like "You know what you should have done from the start..."
 
I only use Skype for international phone calls. Hangouts for everything else.
Has Google rolled out phone integration outside of the US yet?
ah. No.
"To receive calls, text messages, and voicemails in Hangouts, you need to have a Google Voice account, which is currently only available in the U.S. "
lame
 
skype have to adapt to the tradition phone system before they get acquired by msft. google simply just won't adapt to anything, they just want everybody adapt to them
 
skype drives me nuts that it cant do conf call numbers inline
 
It's going to be a while before call centres can be contacted via Hangouts.
 
3:55 PM
@CharlieBrown - Who do you think you are expecting features pleb? Be grateful for all the fancy targeted advertising that has been provided to you free of charge.
 
although some good progress has been made for integrating Voip with web sites...
 
@SpencerRuport I have a paid account :)
 
WebRTC (Web Real-Time Communication) is an API definition drafted by the World Wide Web Consortium (W3C) that supports browser-to-browser applications for voice calling, video chat, and P2P file sharing without the need of either internal or external plugins. == History == In May 2011, Google released an open source project for browser-based real-time communication known as WebRTC. This has been followed by ongoing work to standardise the relevant protocols in the IETF and browser APIs in the W3C. The W3C draft of WebRTC is a work in progress with advanced implementations in the Chrome and Firefox...
 
The only thing I use it for is conf calls for work, but you cant save a number that has a "," pause in it
 
@CharlieBrown - Congratulations. You've signed up for our premium ad delivery service.
 
3:56 PM
yeah, it's a good concept... but nowaday nobody really give a shit to w3c
 
one of the bonuses is that the protocol enables P2P filesharing wholly within the browser
 
@CharlieBrown - All basic ad services are still provided free of charge but in addition you get 15% more ads! And for a limited time if you check this box we'll share your email address so more ads can be delivered directly to your mailbox for your convenience.
 
google will only give some shit to w3c when they somehow love some part of their concept, and they may force it to go on the track that in their own favor. msft basically opt-out on browser end concept creation and simply follow what google feed them
 

« first day (1685 days earlier)      last day (3263 days later) »