« first day (298 days earlier)      last day (4650 days later) » 

4:11 PM
@MattMcDonald ha
 
Compiler says no -.-
Seriously, no useful error message?
 
?
 
user1385191
fun fact of the day: json on our latest project wouldn't work on the client's server because they were using IIS
 
@Loktar Im writing a blog in node right now
why would you ever not use node :\
apart from node makes me RAGE
 
I know @Raynos I saw your blog post on making a blog engine in node
excited to see it
 
user1385191
4:20 PM
we're in the same boat then
 
user1385191
it's been a tough ride so far
 
heh I was raging as well at it
Im using it for simple stuff currently just to get my feet wet
 
user1385191
I'm about to start on hashing passwords
 
making an image gallery, where it just requests json from a friends image sharing site and gives it to the client, using express, and ejs templating.
 
yeah I'll have it running once I fix it
 
4:23 PM
lol @ "does one need to know JS in order to use jQuery?"
 
user1385191
yep, that one got starred immediately
 
@Shaz Well, you don't need to know JavaScript to use JavaScript.
 
I am creating a site that has a slide deck and would like to slide deck to start out as hidden on every page but the index, How would I go about this. The URL in question can be fount here: epecho.com/tst/index.html
 
jQuery.readBrain().serialize().parse();
 
@MattMcDonald How are you going to hash your passwords?
 
4:25 PM
whats a good css reset?
 
user1385191
about to ask the PHP guys
 
@MattMcDonald why cant u do json on IIS?
 
@MattMcDonald Bad idea. One moment.
 
user1385191
it was something about the MIME type
 
27
Q: How to securely hash passwords?

AviDIf I hash passwords before storing them in my database, is that sufficient to prevent them being recovered by anyone? I should point out that this relates only to retrieval directly from the database, and not any other type of attack, such as bruteforcing the login page of the application, keylo...

 
4:26 PM
@MattMcDonald using php?
you can set mime type
 
user1385191
duh
 
user1385191
this project has 0 server-side code
 
@Raynos I like the css reset that comes with the HTML5 boiler plate.
 
@MattMcDonald so what is the issue? you can always just set mime type. even in IIS
 
@Raynos or the HTML5 doctor reset.
 
user1385191
4:27 PM
which is what they did
 
user1385191
it's just stupid it doesn't work out of the box
 
@MattMcDonald ok so now json should work
odd. well json is fairly new. Microsoft has yet to catch up :-P
 
Also a good Q on password hashing...
25
Q: Do any security experts recommend bcrypt for password storage?

Sam SaffronOn the surface bcrypt, an 11 year old security algorithm designed for hashing passwords by Niels Provos and David Mazieres, which is based on the initialization function used in the NIST approved blowfish algorithm seems almost to good to be true. It is not vulnerable to rainbow tables (since cre...

 
I hate CSS already
 
@Raynos have you looked into OOCSS?
 
4:30 PM
Hey i am trying to hide a td based on its contents
 
OOCSS is a pain
 
user1385191
hint: it's not OO
 
@PD24 ok so hide it.
 
user1385191
not a real programming language + no objects = not OO
 
1
A: hide td with jquery based on its contents

T. StonejQuery has a :contains selector which will select elements if they contain text. It's likely a lot slower than regular selectors, so you'll want to specify a target region (the table) to make it a bit more efficient. Something along the lines of this should work... $('td:contains(Email Address...

 
4:31 PM
@Raynos why do you say that/
 
1
A: hide td with jquery based on its contents

T. StonejQuery has a :contains selector which will select elements if they contain text. It's likely a lot slower than regular selectors, so you'll want to specify a target region (the table) to make it a bit more efficient. Something along the lines of this should work... $('td:contains(Email Address...

there ya go
 
@tanktery I looked at it , it was a pain
 
$('td:contains(Email Address)', '#ptkSubscribe').hide(); does not work
 
user1385191
plus that's terrible code
 
user1385191
loop though tbody.rows, check against text node value
 
4:33 PM
@PD24 do it without the 2nd part
 
Apparently Google+ link scraper uses Firefox for windows (look at goo.gl/info/CnleI)
 
@Shaz ?
 
@Raynos give me two bits of your wisdom at the given URL I am trying to hide the slide deck on every page but the home page how would I go about this?: epecho.com/tst/index.html
 
I dont have time
 
@tanktery with jquery?
 
4:36 PM
How am I supposed to do vertical alignment?
 
@Neal yes with jquery
 
@Neal When you post a link in the Stream, Google+ shows an image on the page and a description
 
can use line-height for verticle alignment (for inline items)
 
4:38 PM
@Shaz ok, whats firefoxy about it?
 
How do I learn CSS? :\
 
@Neal goo.gl statistics shows them using Firefox for Windows every time I post a link
 
use it A LOT :P
and then still be annoyed when crap wont work right in diff browsers.
 
How do I get nav to wrap around the content?
width auto does not make the width shrink
 
@Shaz ... r u using ff for windows?
 
4:40 PM
@Raynos float will
 
@Neal No, I'm using Chrome for ubuntu
 
@Raynos or display:inline-block
 
@ThomasShields I'm not a fan of inline-block - it feels like cheating
 
wow, ping fail.
@RyanKinal how so?
 
"I want my element to be block, but I want it to be inline" says the person who is confused about everything. "I guess I'll just make it inline-block instead of doing it right."
 
4:42 PM
Oh god :\
 
@Raynos when you float an HTML tag or class all percent elements wrap around child elements
 
@RyanKinal Try playing Tetris with float rather than inline-block. ;)
 
@Shaz I like to think I understand float, tyvm. I've done enough with it that it's easy for me.
 
@Shaz k
 
@Raynos for a nav bar remember to clear your child elements by using overflow: hidden or your ul will not wrap to it's child elements
 
user1385191
4:46 PM
float: left; clear: both; :)
 
user1385191
one of my favorite lines
 
RT @ChromiumDev: New in dev channel's DevTools: Disable Cache. http://goo.gl/fLwgE Turn it off completely, to avoid using ctrl-shift-del ...
RT @paul_irish: We just shipped HTML5 Boilerplate 2.0! Executive summary: http://t.co/jbnIRkB The lowdown on everything new: http://t.co ...
 
@MattMcDonald ditto. :)
 
user1385191
1 message moved to Sandbox
 
user1385191
1 message moved to Sandbox
 
user1385191
4:48 PM
he asked the same question in the PHP room
 
jAndy.remove();
 
meh inline-block is perfectly valid albeit a bit weird
 
Obama.impeach();
 
what ul?
Why would I have an ul in my nav bar?
 
@Shaz that's not right; It'd be Congress.impeach(Obama)
:P
 
4:53 PM
I don't know if anybody else has seen this before, but I just stumbled across it: The Story of Mel
 
@ThomasShields :P
 
@RyanKinal cool. reads
 
I have to wonder: who is the singular person that stars my frustration with .NET?
 
@RyanKinal is it really .NET you hate? or .NET combined with ASP.NET WebForms 2?
 
@ThomasShields I suppose the .NET itself isn't that bad. It's mostly the technology that goes along with it.
Visual Studio version too-damn-old, for instance
 
5:06 PM
@RyanKinal yeah. :(
 
And the crappy "server" that comes with it
 
Ok how do I vertically center a navigation bar at the top? :\
 
user1385191
show the code/layout
 
"vertically center" and "CSS" don't get along too well.
 
clearly float left won't do.
width: auto; margin-left: auto; margin-right auto; also fails
 
user1385191
5:08 PM
you can't "center" a floated object
 
Yes
 
 
then I dont want to float it
@Neal I dont want to fix width it
 
you need to give it a width...
 
I want the width to be auto
 
5:09 PM
or else how it is being centered?
 
wrapped around the content
I want the width to be the minimal amount
 
@Raynos What do you mean by "wrapped around the content"?
 
I mean if the content of the element is 100px then the width is 100px
 
user1385191
you can only center something with a fixed width
 
if the content is 500px then the width is 500px
I just want to wrap arbitary content and center it vertically.
Is this really that hard?
 
5:11 PM
@Raynos Ah. Yeah, that requires float or a position other than static or relative
 
@Raynos one sec.
 
can u please help me to fix grid report printing
 
it can be position absolute
 
@Raynos That should do it.
 
RT @joelambert: Blog: Flux Slider WordPress plugin released http://t.co/qPI8yYt #html5 #css3 #wordpress
 
5:11 PM
It will break the rest of the flow though
 
@Raynos Yep.
 
@Raynos HERE U GO :-) jsfiddle.net/maniator/SeVSS
 
how do I center something absolute?
@Neal ¬_¬
 
CSS is a strange beast. You have to get away from what you literally want, and move towards what you want it to look like
 
@Raynos jsfiddle.net/maniator/SeVSS sorry rong person
that should work ^_^
@Raynos good answer?
 
5:14 PM
No
 
@Raynos it does what u want
 
It uses js
thats a dirty hack
I should be able to center something absolutely positioned
 
@Raynos haha there is no real other way without js
 
@RyanKinal Hi
 
@RajkumarReddy Hi
 
user1385191
 
Wait not that
I wanted horizontal centering >_<
 
@MattMcDonald thats not the same dom
@Raynos whats wrong with 3 lines of js?
 
user1385191
...because using JS to fix CSS problems is dumb
2
 
@RyanKinal I'm working on grid report printing that i used java script but i want to set default print orientation landscape how can i do that one please help me
 
@MattMcDonald ugh thats width 50%
 
5:17 PM
@RajkumarReddy Sorry, no idea. I usually only deal with computers, not mobile devices.
 
@RyanKinal i'm asking in web applications
 
@RyanKinal lol i just did the same thing
 
user1385191
I keep forgetting about display: inline
 
@RajkumarReddy cheater :)
I want the bg colour on the nav
 
5:20 PM
@Raynos why?
 
@RajkumarReddy wrong perosn
@RyanKinal cheater :)
 
@webRat Come to the conference and it's all yours :)
 
@RyanKinal now i'm working on .net
@ZackTheHuman Hi
 
@RajkumarReddy Howdy.
 
@ZackTheHuman can u help me fixing print problem using javascript function
 
5:31 PM
@RajkumarReddy Do you have a fiddle of the problem? I'm going through previous messages now for context...
 
@RajkumarReddy whats the codez?
 
@Raynos CSS is all about cheating
2
 
@ZackTheHuman function FnPrintPreview() {
document
javascript: location.reload(true);
var WebBrowser = '<OBJECT ID="WebBrowser2" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser2.ExecWB(7, 2);
}
 
@Raynos It's about working with the rules of layout, rather than against them. It's all about flow
 
@RajkumarReddy INNNNDENTTTTT.
 
5:35 PM
@RajkumarReddy whaaaa -- put it in a fiddle!
 
@Neal i have following code it will work fine but my requirement is to get default print orientation like landscape hw to fix this
 
@RajkumarReddy Yes, please do put it in a fiddle: jsfiddle.net
 
@RajkumarReddy no idea what u are saying
 
@Neal please see this jsfiddle.net/Kcz7h/4
 
@RajkumarReddy huh? thats @Raynos's fiddle
 
5:37 PM
lol
I'm so confused.
 
@ZackTheHuman as am i
 
@Neal sorry first time i'm using this
 
...
@RajkumarReddy why did u post someone elses fiddle? lol
 
@Neal see this url jsfiddle.net/L6haT
 
@Neal He doesn't undestand jsfiddle.
 
5:40 PM
@RajkumarReddy wt-ef is that code?
 
@RajkumarReddy How's that a function?
Errors:

Line 2 document
Expected an assignment or function call and instead saw an expression.
Line 2 document
Missing semicolon.
Line 3 javascript: location.reload(true);
Label 'javascript' on location statement.
Line 3 javascript: location.reload(true);
Label 'javascript' looks like a javascript url.
Line 6 WebBrowser2.ExecWB(7, 2);
'WebBrowser2' is not defined.
 
whats it supposed to do?
 
@RajkumarReddy How much JavaScript have you written previously?
 
I know only basics
 
@RajkumarReddy well u dont. read more
:-D
its like i know the basics of being a woman
but im a man
 
5:43 PM
He grabbed it from here: justtalkaboutweb.com/2008/05/09/…
 
@Neal (O)_(O)
 
@Incognito ha. and he ddnt even copy it right
@RyanKinal B-)
 
@neal I think he's trying to mix a series of things he's seen before. Note the Javascript: psudo-protocol.
 
@Incognito i saw
 
user1385191
(which is poison in 95% of use-cases)
 
5:44 PM
@RajkumarReddy Can you explain what each line of that code is trying to do for us?
 
@Incognito (thanks for the anser check lol)
 
@Neal Lol, yeah I looked at my page and noticed I've had some outdated stuff :P.
 
@Incognito lol. so i assume it worked
 
I desperately need to redesign and rebuild my website.
But... I'm lazy :-D
 
@RyanKinal and thus they invented SO :-) where we do it all for u :-P
 
5:46 PM
@neal Yeah, it did what I asked, but it ended up being different from how I should have approached it.
 
@Neal You'll do it for me!?!? Sweet. Get on that. ryankinal.com
 
@Incognito ahhh kk
@RyanKinal well i never said for free B-)
 
@Neal Aw :-(
@Raynos Looks like
 
@Raynos yes
 
5:48 PM
@Incognito this javascript function i wrote in aspx page(in .net) there we have a web browser on click of button iam loading web browser to javascript doc is it correct
 
thanks for that ¬_¬
do you mind
 
@RajkumarReddy NO. nien. lo. niet.
any other langs?
 
@RajkumarReddy JavaScript is JavaScript, it doesn't matter if it came from an ASPX page or PHP or it was carved onto stone tablets and handed down to the chosen people by Charleston Heston.
 
@Incognito (or moses?) :-D
 
Let my functions go!
 
5:51 PM
@Raynos you shouldnt be giving out links like that? Lol i have a couple large json files I could bulk import into your db
 
@GregAgnew well yes
 
@GregAgnew ^_^
 
but its public anyway
I need a way to secure it
Anyone knows anything about couch can hack it
 
Yeah, I've decided for my couch applications, to just handle all db requests securely in php, and only allow local connections to couchdb
 
@RajkumarReddy That's not really you giving me an explanation of what each line does. For instance, what did you think document would do? What did you think javascript: location.reload(true); would do?
 
5:53 PM
@GregAgnew but I want a couchdb hosted in the cloud
 
Still, you can allow connections that are only from your specific server, rather then just the general public. To be honest I haven't really read up on ways to secure couch, do you know of any better ones?
 
@Raynos Make sure to have a coffee script server in front of it! Don't believe the couchdb reference that you can write views of all sorts. You need to write a coffee script server as a proxy for that!!!!
 
@IvoWetzel ... Are you mocking buzz words?
 
@Raynos Hey! That's what our US guys do! They know the stuffs!
 
@IvoWetzel \o/ /o/ \o/ \o\ \o/ /o/
 
5:56 PM
(and we had to get rid of the crap and rewrite stuff from scratch...)
 
@Raynos That's a great way to synergize the glass envelope.
 
HA
 
@Incognito hate you
 
I'd consider using coffeescript if the dubbuging scheme wasn't so horrendous
 
At times you gotta question whether anyone at this company knows how to do server side stuff :D
 
5:57 PM
@IvoWetzel I dont know how to do SS
node is hard
 
that's why everyone uses monolithic bloated PHP apps
 
@IvoWetzel how so?
 
legacy, organic growth
and all other excuses for never doing any kind of refactoring
 
@Raynos You should see some presentations i did for tech/business courses, such as... docs.google.com/present/view?id=dc8qztwn_19cqxvpqd6
I got 98 on that. Mostly because I'm an ace presenter.
 
@Incognito ...
 
6:01 PM
@Incognito that was filled with some really random slides..
 
@GregAgnew It sure was.
 
still public
i will now add a document to my database lol
 
@GregAgnew :-)
 
6:17 PM
Lol who uploaded the picture to @raynos's db?
 
ha
 
@Raynos ^_^
 
0
A: Weird self object in window object

ShazIn a response to one of my comments: It is a circular reference, so it doesn't end. The compiler only creates one reference. It just happens to be a reference back to the original object on which the reference was created. That's why you can do window.window.window... Like this: var obj...

 
user1385191
LOL
 
6:24 PM
Try again
I clamped it down
 
@Raynos yay u did it
lol
 
That worked, both futon and curl give me access denied
 
6:39 PM
RT @ChromiumDev: If you cannot attend, tomorrow's HTML5 Web App hackaton presentation is streamed live http://goo.gl/LW2NG ^mi
RT @slicknet: BTW, the behavior of empty-string URLs is defined in HTML5. Followup blog post: http://t.co/Xln8SjW HTML5 Diff: http://t.c ...
 
@Neal did you make that? What is it?
 
@ThomasShields ha, no i got it from here: diveintohtml5.org/canvas.html#halma
 
Dear god
look at that coding style :(
 
@Raynos lol snot me
 
6:46 PM
@Neal ah cool
 
0
Q: Nested gridview to produce treeview effect with asynchronous binding of child grid in asp.net/C#/AJAX

Seraph812Essentially, I am attempting to create a treeview effect via nested gridviews. It'll look something like this: -col 1 col 2 col 3 col 4 childcol1 childcol2 childcol3 childcol1 childcol2 childcol3 +col 1 col 2 col 3 col 4 +col 1 col 2 col 3 col 4 +col 1 col 2 col 3 col ...

 
Lol looks like they used to be a java programmer
 

« first day (298 days earlier)      last day (4650 days later) »