« first day (720 days earlier)      last day (4454 days later) » 

15:02
sure
but i warn you - i just woke up
Super question time! Using all browsers, everything is fine! Using Safari, it's taking the post values in the controller as null. What gives?
Is Safari just dumb?
@SpencerCole - yes
@KyleTrauberman - i'll let you know in just a second , i think im getting closer to fixing it
Is there a way I can fix it to not be finding nulls when the values aren't null?
can you inspect the actual post request in safari?
15:06
I... don't know.
I try to not use safari whenever possible.
@KyleTrauberman , there was one stupid <a> tag in my page with a width of 10000 and messing up everything else on the page
yea- I don't either , you can try fiddler with safari open
@SpencerCole - you might get really really lucky and there is some bad html , like quotes missing , and chrome , firefox and ie9 are smart enough to realize and re-render proper html but safari isn't , that happened to me once
All my html should be fine. I'm a stickler for it.
id go to fiddler next then
or see if the exact function you're using has known safari troubles
Ah, three quarters of my todo list (by volume) has been cleared off.
Sup dudes
15:18
I might make it to the weekend after all!
Hey Hans
anyone familar with mericural over a network?
+ hows everyone hangin
Thankfully not on a noose.
@HansRudel Me again.
@LewsTherin always good!
@KendallFrey man, u know everything
@HansRudel :P
15:20
No, I just use hg at work.
Mercurial, for the uneducated.
@KendallFrey alright bro, im reading a book about mercurial and its talking about secure shell. Is this how u ensure secure connections to ur server in windows?
I... don't think we do.
15:22
what do u guys do?
It just uses HTTP.
Why is it nicer to code in VS than Eclipse?
over the LAN/VPN
HTTPS, I hope?
@LewsTherin Better intellisense, the IDE introduces fewer problems at compile time, and it's generally more responsive.
15:23
I think HTTP is fine over a local network, but the internet might be a good idea to use HTTPS.
@ANeves no, HTTP
hmm 'k
@Billdr Pretty much. I wonder if IDea is any better.
@KendallFrey ok so SSH is just for LAN's. N HTTPS is what u would use if u had to access a server via the net?
no no
Always use a secure connection over the internet.
But on a LAN, it isn't as important. Still a good idea though.
@HansRudel (before the above) ssh is the default way to connect to another machine via console in UNIX systems.
I think in Windows usually RDP is used. (Remote desktop.) :|
15:25
@LewsTherin Not sure. I don't see a full screenshot of the IDE on their website. That makes me nervous.
@Billdr I will give it a go. Eclipse is disappointing.. on Windows anyway.
Now I'm confused about the difference between SSH and SSL.
Are you using SSH?
meeting bbl
@LewsTherin Let me know, I do a good amount of android development.
@KendallFrey me or @ANeves?
15:27
@Billdr Will do.
@HansRudel you
Im not using either. Im trying to get an idea of whats available and whats good/bad. Ive connected one laptop to another via an ethernet cable, pulled from 1->2 but couldnt push back from 2->1 because i needed to have a config files(or so i was told)
as u can see, i havent messed with this much
@HansRudel Are you trying to do FTP kinda ting?
sorry, it's mercurial.. I only know C# :(
@tranceporter ... umm im not sure. im trying to figure out how to use mercurial over net and lan
I am using SSH for Secure FTP in C#
does this help @Hans?
<== gonna shut up
15:33
@tranceporter where u traansfering ... stuff, from and to?
in laymans terms
cheers for the link
from my local machine, to one of the servers we have in the cloud (e.g Rackspace etc)
using SFTP protocol over SSH
this is the library i use, it implement SFTP over SSH
something here as well
14
Q: Mercurial over ssh client and server on Windows

Ben Von HandorfI'm trying to configure Mercurial for use with both a windows server (freeSSHd) and client (both command line and TortoiseHG). I'm using the most recent versions of everything... all downloaded in the past few days. Using public key auth, I have been able to get connected to the server and I'm ...

@tranceporter ahh ok cool
@HansRudel I'm back.
@tranceporter cheers bro. I will have a read first n then made come back with some more specific questions as im not familar with connecting one pc to another/server etc
So what exactly is your question?
Are you wondering about pull/push to a remote server?
15:38
@KendallFrey basically ive never used any form of connections to either servers or other pc's, so was wondering what was the correct way to do it
yeah
n why ssh is important etc
In my experience, I've always pulled/pushed via HTTP or HTTPS.
@KendallFrey what would necesitate the use of ssh then?
not sure
when do u use https vs http
?
Use HTTPS when you are connecting through the internet. On a LAN, either.
I think SSH is maybe just an alternative to HTTPS
15:45
so how do u configure a server with https? I know the "hg serve" sets up a server via http (i think it does anyway) and the default port is 8000
I know nothing about setting up a server.
I just use it, be it at work, or a github repo, etc.
howd u push and pull via https then?
Just push to the address you are given by the admin.
(i may have misunderstood. I thought "hg serve" gave u a http web address. and any pc trying to push/pull used http)
I don't know the hg commands. I use tortoise.
15:47
ok, so what would stop me from pushing to it, if i managed to get a copy of the address?
@HansRudel This might seem like a stupid answer, but anything that requires user name and password, or essentially requires authentication, shoould by rule of thumb be https
failed authentication, or an invalid address.
im assuming a username/password exists
that would be your email, code repository etc
so is this the info contained in ur config file?
15:50
if you do not care who reads the data you send over the internet, you use http, because it is unencrypted
if you want to use public key/ private key encryption, you can achieve that over https
the only config I have in mercurial.ini is my name and email, and a bit of hg extension config
Hey guys. I got a quick question. MVC 4 internet application has a build in login system. I would like to have something similar (with roles) in my basic application and my own database (SQL Server 2012). Is there any solution for this?
How does one in MVC4 provide authentication(with roles) in their own database scheme? It's pretty unclear to me.
@tranceporter, hows the key pair work? Is it similar to strongly named assemblies
HAHAHA I just looked at some old code of mine.
15:56
and?
key pair will have 2 parts.. public and private
so if want all the people on the internet to encrypt a piece of document
you share the public key with them
they will use the public key to encrypt it
So, I have to represent a year, either absolute or relative, either fiscal or calendar.
only you will have the private key
// 2000 - absolute calendar
// -1 - relative calendar
// 20002001 - absolute fiscal
// 1000000001 - relative fiscal
@tranceporter holy cow that is amazingly easy :o
15:58
once you receive the encrypted document from anyone in the world, you can use the private key to decrypt the document, provided they have used the public key you gave them to encrypt the document
something about asymmetric encryption that is very cool
Also this comment:
but I can't put my finger on it
@tranceporter but how does it implement the code? I don't have to implement it myself, just reference the lib?
// I couldn't think of a really good way of distinguishing calendar and fiscal relative years
15:58
@Mittchel lol yes.. they made Membership easier to implement than in MVC3 :)
I am brilliant a funny guy.
It's magic :o
@tranceporter so basicly when I add the reference and build and run it auto generates everything?
@KendallFrey not sure i fully follow but... lol
@tranceporter so everyone ur working with, will have the same public and private key?
1000000001 means the previous fiscal year. Crazy, huh?
16:02
@Mittchel If you create new MVC4 website project (internet application), you can see all the code that is needed to implement membership
Primitive obsession right there.
I'm 32 and I am watching a music video youtube by taylor swift
@Mittchel Just check, if System.Web.Providers is referenced. If not, follow the instructions in the document. If it is, then run the app. The first time you run the app, MVC4 will create the database tables for you, in the sql server you specified as a connection string in your web.config file
ok I closed it
@tranceporter Alright cool. and when the tables are there, I can use the code from an internet application template, right?
16:05
@HansRudel no, everyone else apart from you, has the public key only. The Public has public key (hence the name), but the information in the document is for your eyes only, hence you have the private key to decrypt and read the document. That is the general concept
@tranceporter is it a good idea to handle user authentication over webservices?
@tranceporter so how would this work if ur part of a team, pushing/pulling to a central repository which is on a server?
@Mittchel yes, that's correct
The fact I'm asking this is because I'm following a minor for school at a company. They teach us to develop with SOA. So, I've to build a WCF service where the logic is handled. Lets say they want an authentication system, should I build that on the WCF side? (They want SOA to be easily maintainable and loosely coupled, so that they can add easy different UI's).
And if I'll build the authentication system on the MVC4 side this means it's not reuseable and that I've to develop a different authentication system for every GUI.
Long story
@Mittchel we authenticate over web services. Just create a WebMethodParams class, which has the user information you need (username and MD5 hash of password), and then in any webmethod call made in the web service, pass in the WebMethodParams , and authenticate it against your Membership database
16:12
@tranceporter sounds obvious. Do you pass the WebMethodParams class to every call that is made?
@HansRudel it seems you can use SharedSSH over mercurial
Shared in the sense that one login is shared by many users to push data in the repository over ssh
and yes your are right, in this mechanism, each user gets his own private key, esp, if you are using HgAdmin, to set up authentication
@Mittchel yup, so any webmethod call is authenticated
Isn't that much overhead?
Authenticating after every call
@Mittchel You do not know before hand, as to which webmethod the end user is going to call, beforehand
since each webmethod is a separate piece of functionality handling a single responsibility
Hmmm does this work
if you are going to expose you web services api to public, you would want to authenticate every call
if you are going to use it internally, you might even do it unsecured
@HansRudel Sorry if i was not much help :) Our resident canadian vampire will definitely know more. :D
16:24
@tranceporter nah u were pretty helpful. I was just speaking to the guy i might be working with and he said they just use https
im still a little unsure about this key thing though. @KendallFrey did the admin give u a password? Do u have to send a password or something?
Today I sucked again, yesterday was temporary
@tranceporter sounds great. So in MVC I've a login form. User fills in data, I instantiate a WebMethodParams class and send that over the line to the WS. The WS returns success or failure. On success, place the username of logged in user in session (or maybe even the WebMethodParams object, is this possible?).
Is it something like that?
I just ate lunch. My motivation to do anything has gone away.
if(workToDo>0){workToDo=0; Billdr.goHome();}
else{Billdr.goHome();}
lol:PO
@Mittchel one more thing. Instead of directly writing WCF service, why not have a look at ASp.NET web api?
is helps you write RESTful wcf services
16:33
@HansRudel Now that I think of it, no.
and is much easier to write (IMO)
and you can use them in MVC4
Basicly I'm required to use WCF
also why would you want to call web service to authenticate the user? can't t u just connect to the database yourself ?
Today is a good day. It's Friday, and I don't have to touch a certain beastly application. Ahhhhhhh...
have a look at asp.net web api, it used wcf underneath
just a new way of writing wcf services
gtg home now :)
laters guys
16:35
later!
@KendallFrey I work in a beastly application on a daily (hourly [minutely]) basis. I have no choice :(
Me neither, but luckily I get a few small tasks on other stuff.
It's hopefully going to be done by ... waitasec. I don't have any idea. :(
Another meeting!? Doesn't my boss know that I'm allergic to meetings?
Kyle you lucky dog!
You get to go to a meeting.
16:53
@Billdr The sarcasm is strong with this one.
I need to get viewdata from my view to jquery, which is stored in a separate file. There must be a CLEAN way to pull this off.
@KyleTrauberman meetings suck anus, hopefully they will be a thing of the past soon
hah
16:57
Because of that iris or whatever it's called?
whatchu talkin bout, Kendall?
yes that is a key feature!
@JohanLarsson I noticed you followed the Whitepad project. If you have suggestions, please post them!
@KendallFrey Btw, Lexxe is me.

« first day (720 days earlier)      last day (4454 days later) »