« first day (317 days earlier)      last day (4627 days later) » 

7:00 PM
Plus: you get a lot of aluminium
I mean, 1cm object, at 20.000km/h
Good luck surviing that in your little spaceship
 
@IvoWetzel I actually didn't see the googletechtalk, or knew such things existed, I saw it on space.com yearssss back.
 
@Incognito Ah okay, the talk was very recent just 2 weeks ago or so, they still need to get the price below that of a new launch because people don't want to spend money on cleanup
 
hi
 
@IvoWetzel The kinds of telescopes we've invented just to find areas to launch into is crazy. I don't feel like humanity has the right objectives as a species to bother with space.
 
has anybody tried to log into gmail recently using php-curl?
i tried using but failed
have they recently changed something
wheni try to login with curl it keeps redirecting me to the login page
i asked in the php room but no response
 
7:02 PM
@lovesh I never really mess around with google services.
And you don't curl with JavaScript.
 
@Incognito i know but php rooms seems to be dead right now so asked here
 
user1385191
(dot)(dot)(dot)
 
@lovesh Do you know enough about CURL to diagnose your own problem?
 
@RyanKinal probably yes
You will need async http handlers of course
 
@Incognito well i dont knw how to answer that
if i could have diagnosed my problem i wudnt have asked here
 
7:07 PM
@lovesh Sure you might have. You might have seen the specific problem.
But here's my question. You're set out to fix a car which won't start, so you're asking people why a car won't start.
You either need to take it to a mechanic, or learn mechanics.
 

The sound of Source Code

A room to share music you enjoy programming to.
 
i m learning mechanics but stuck on something i cant figure out
 
@Incognito I keep wondering who your talking to
then I fgiure out I have them blocked
 
@lovesh What are you intending to learn?
 
7:10 PM
i have used curl before for scraping puposes but never actually used it for logging in to some site
 
@lovesh This wasn't my question.
 
i have used curl with gmail api too but that was all when i was doing things google was interested in allowing me
@Incognito i m trying to learn how to automate log in process
 
Do you understand how the log-in process works the normal way?
 
i guess i do it in general
 
Hey if anyone has a second to take a quick peek. When you click the Video link, it loads in ColorBox. BUT when you try and click the NEXT or PREVIOUS ARROWS, the JWplayer does not load. Is this a JW Player issue? OR ColorBox?
Thanks Again, Appreciate it.
 
7:13 PM
@lovesh That's not very confident. Can you go write a blog post about how it works for me?
 
user1385191
btw, lose the "back" button
 
user1385191
it's redundant and confusing
 
I agree, but its a client request.
 
rofl
 
@Incognito may be yes
 
7:15 PM
Its like the trump card
 
user1385191
57 mins ago, by Matt McDonald
When I get UI req that is flawed, I raise the issues; I don't just do what I am told. Don't like it? Hire someone else.
 
user1385191
an educated client is a happy client
 
@lovesh Do you understand how HTTP works, and how CURL talks to pages with HTTP, and the how it can do the log-in process?
 
yes
 
@lovesh Explain it to me. In a blog post.
 
7:16 PM
i dont hav a blog
 
Anyone have a chance to take a look at the ColorBox/JWPlayer issue?
 
@Incognito i can do it in this room if u want
 
@lovesh I'd have asked for you to do it here if I felt that was the best.
 
so where do i do it?
 
blogger.com = free, 30 seconds to set up, less if you have a google account like the one you're trying to log into.
@MattMcDonald That song you posted in the other room is awesome.
 
7:19 PM
@Incognito i think i hav a better option i ll write the process in pastebin and give u a link
 
Sure.
 
user1385191
yeah, figures you'd like it since it's got some industrial in it
 
Hrmm, does $(ele) work on DOM fragments?
I can't seem to do work on it.
 
Linux geeks!
$ ls src/*.js
returns all files in folder src with name *.js
How do I make that selector recurse?
 
@Raynos Are you not using ls?
 
7:32 PM
@Incognito happy?
 
Well, it makes a huge difference.
 
I want all *.js files in folder src recursively
 
use the -R option
 
-R flag.
There's an old linux man page... man.cx/rtfm
 
7:33 PM
That doesnt do what I want :(
I have this application called docco
 
@Incognito i have written it its not big as blog post but i think it does the job
 
src/*.js seems to pass in an array of a js files into docco through argv
I want tell docco to do it's magic on all js files in src not just immediate childen of src
 
I presume there as this magic file selector I could pass to docco that would make it do it's thing
 
@Raynos Be careful for how you deal with linux commands from a website... you might allow someone to rm / -rf.
 
7:36 PM
@Incognito I want to do it on the command line
 
@lovesh That's not descriptive at all.
Explain how it works, not 100 words on what it does.
@Raynos generally ls *.js -R would do it.
 
meh
Ill use node
 
ls -R | grep .js
Don't use node, learn the CLI.
 
user1385191
@Incognito fragments don't exist in the DOM
 
user1385191
they're separate
 
user1385191
7:41 PM
when appended, they disappear
 
But thats not good enough :P
 
user1385191
their child nodes are then appended to the parent you appended the fragment to
 
@Raynos What did you want it for?
 
cmd src/*.js passes in all the js files in the src folder into argv for said command. I wanted to run that command on all .js files recursively
 
@Raynos whend u change ur gravatar?
 
7:43 PM
@Neal hours ago
 
@Raynos ahhh haa... idk abt that
 
@Incognito never mind I think I'm just stupid
 
user1385191
just did a hard refresh
 
7:58 PM
:-)
u dont have to nm
that would just get me flagged
upvote only if u find the answer
 
user1385191
0
Q: Set width (or height) of element as percentage of higher ancestor element

Deepak PrakashIf I have a DOM structure with three DIVs A, B & C where C is a child of B; and B is a child of A - is there a way to set the width (or height) of C to be a percentage of the width (or height) of A? PS: jQuery is available, and any jQuery functionality can be used.

 
user1385191
...
 
?
 
user1385191
not a single answer mentions using CSS
 
@MattMcDonald lol go for it
and yes. one did
 
8:00 PM
He asked for JS. They're strict about that.
 
-1
A: Set width (or height) of element as percentage of higher ancestor element

Frits van CampenHTML width supports percentages. I don't see how you'd need to do anything special to make it work.

@MattMcDonald ^^
 
user1385191
that's an attribute, not CSS
 
go for it. stop complaining and just do it
...
cheese... (and crackers)
 
Oh. NM. But yeah, if the outer two can be 100% and A is in a container that is somehow defined for width...
 
user1385191
b{ width: 100%; } c{ width: whatever%; }
 
8:05 PM
Yeah but a would have to be something to inherit from along with A's container.
 
user1385191
the question is stupidly ambiguous
 
Downvote or vote to close.
 
@MattMcDonald here is a css answer for u :-D stackoverflow.com/questions/7235317/…
 
8:23 PM
@evilpie It looks like only the last one is a shop... errorlevelanalysis.com/permalink/8048d5d
 
somebody going to jsconfeu ?
 
FFFFFFFFFFFFFFFF
Noise
everywhere
 
user1385191
time to get out the scrubber
 
> Before repainting, webkit saves the old rectangle as a bitmap. It then paints only the delta between the new and old rectangles.
(emphasis mine) Really? A bitmap?
 
user1385191
17 messages moved to Sandbox
 
8:30 PM
I guess that's the most time-efficient way to do it, what with lack of compression
 
why not? i guess it's already in plain rgba
and this might be vital for performance
 
I just figured there would be some better format. But I guess there's not, really.
 
user1385191
bitmaps are pretty quick
 
'strue
 
@RyanKinal For canvas? Yeah, it's just stored as a bitmap in memory.
The whole point of canvas is to be quick, so adding in any sort of compression will just make it slower and defeat the point.
 
user1385191
8:33 PM
I'll have to start playing with bitmaps in canvas
 
user1385191
probably runs a lot like the Bitmap(Data) class(es) in as3
 
@gsnedders No, for rending in general. HTML repaints and such. Which, really, has all the same efficiency problems of canvas.
 
@RyanKinal In general, browsers just pass the content as a bitmap to the window manager. Hardware accelerated drawing complicates that, as do plugins, though.
 
@gsnedders I guess I was just kind of surprised that webkit saves a bitmap on every repaint.
 
@RyanKinal AFAIK everyone does.
 
8:46 PM
@gsnedders This article (section 6.4 "Webkit rectangle storage"), seems to imply otherwise, but maybe I'm reading it too literally?
 
@RyanKinal Okay, I don't know if people store actual bitmaps,.but certainly IIRC people store at least the render trees.
 
Oh yeah, absolutely
 
rrrg how do i make it so the box is always to the right of the logo?
 
@Neal Define a non-percentage size for #page
Or, at least, a min-width
 
@RyanKinal nope that ddnt work
 
8:52 PM
@Neal yu float so much?
 
cuz i like float
ok i fixed it
thanks @RyanKinal
 
Yu no use the design I made for you? :P
 
@Incognito what design?
 
.................... okay, searching chat history.
 
so... I'll try to grow some conker trees over the course of the next year :D
 
@Incognito lol i never saw that demo before
 
Replace example soft with your logo, expand the box when there's errors to do bullet-list of problems below the inputs and before the button..
 
@Incognito what about a screen after being logged in?
 
@Neal I never saw the after-login screen.
 
@Incognito nlubin@striketechnologies.com / root
 
8:58 PM
@Neal WHY YOU NO SANITIZE AGAINST MY SQL INJECTION ATTACKS?!
 
@Incognito ? what did u do?
 
admin / ' or 1 = 1 '
 
@Incognito what did u try?
where?
huh?
 
username:admin
password:' or 1= 1 '
security:d79687638899a655cde54be35abdf2f3
submit_login:Login
> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''diluyeljkb38o6t4lnje') LIMIT 1' at line 1
 
@Incognito lol so that means it is working
u cant do that
i dont see an issue
 
9:00 PM
=/
No neal, that means you've let me manipulate your SQL Syntax.
 
ehhh
so how do i fix that?
 
/Flips table and ragequits for the day.
 
@Neal Imagine something like this: '; DROP TABLE users; --
 
@Neal I'm actually going home, I'll tell you tomorrow :P
 
user1385191
you're supposed to turn off error reporting on the production server
 
user1385191
9:02 PM
because it exposes your code
 
@MattMcDonald lol this app is in dev. i turned on error reporting
 
user1385191
build it locally?
 
@MattMcDonald its on our local server, yes
@MattMcDonald also that code was my own.
now sanitizing posts
 
9:39 PM
So about unix
How do I learn how to do unix? I guess the man pages
 
@Raynos , you install FreeBSD/Gentoo and try to make it work for you
both OSes have good handbooks/tutorials
 
@tereško that's just a productivity killer
 
yeah , learning anything makes take a hit in productivity
keep in mind that you cannot learn how to use a NIX from Ubuntu , or other ultra-friendly distros
 
@tereško :P
but ubuntu is productive
 
0
Q: Improving speed in javascript

Ragnar123I have been playing around with tables and random colors, to generate some mosaic. See this code, and tell me how it can be improved in terms of speed, as I find it rather slow. <html> <head> <script> function generate_mosaic(cols, rows) { var i, ncol, trans, colspan, ...

 
9:53 PM
@Raynos , actually the two words i would use for Ubuntu would be : shiny and brittle
not productive
@Raynos , if you want to learn NIX, you will have to go to the deep end , where Gentoo, Slackware, Arch, FreeBSD and OpenBSD plays. There is no other way. If you want to just "use linux" , then sure - use Ubuntu, but understand one thing: you will be able to grasp only a small portion of available functionality
 
@tereško I can live with that for now
 
sure , just .. do the whole world a favor , and dont try to make a server , will you >
 
@Neal The fact it's reporting errors doesn't matter, what matters is that your code read the password ' or 1=1 ' as SQL, not a password.
 
@tereško :(
making a server isnt hard
We had our nodeknockout linode server run on ubuntu
 
i was talking about servers , not about canned goods
 
10:06 PM
canned good?
 
and if you really have guy who calls himself "an admin" and uses ubuntu as platform , i would strongly suggest to slooowly back away .. before the brown stuff starts hitting the spinning blades
 
@tereško Do I look retarded?
 
ok , i'm off .. need some sleep
@Raynos , you should have noticed by now, that i go with "lowest possible expectations"
 
Yes
butlinking me to a google page for canned goods
Thats taking the piss
I assumed "canned goods" is a slang term for something
 
10:36 PM
I used to feel the same way about frameworks like JQuery. :D
 
@Raynos There, much less creepy photo of myself.
 
11:19 PM
0
Q: Node.JS - Is there any front-end js? or all backend

klj613With Node.JS as a backend solution; is there any frontend javascript or all events controlled on the backend?

 

« first day (317 days earlier)      last day (4627 days later) »