« first day (1466 days earlier)      last day (3481 days later) » 

10:00 AM
@AwalGarg that's true. however when I copy paste your URL in my browser, it works.... But I agree that a shorter URL would be better. It can easily be done, i'll work on that
@AwalGarg why is that a problem ? ;)
 
@Basj twas a joke
 
@AwalGarg ok ;)
 
@Basj indeed, but you know UX and things....?
 
@AwalGarg true! There are some validations, but I forgot that one!
 
10:02 AM
@copy rofl
 
@AwalGarg well, average :)
I disabled PHP parsing, in case someone tries it ;)
 
@copy awsome bro
 
@Basj dude....... bugs!! BIG BIG BUGS!!!!!
SECURITY HOLES!
 
@AwalGarg yes of course! I coded this in one day, so now I'm waiting for bugs... So thank you :)
 
but its in production
 
10:04 AM
@Basj You should really know the common things you need to validate and sanitise :P
 
put a big banner on the top saying that this service is in pre-pre-pre-alpha
 
'Currently in the stage before the stage before the pre-alpha.'
 
also, you might wanna put a noscript tag explaining that the site won't work without javascript
 
'So, really, you shouldn't even be here.'
 
10:05 AM
@AwalGarg is the direct call of upload.php with no file solved for you now ?
 
@Basj seems so
 
but i am playing games on your photo upload website (Game courtesy : copy)
 
@Sippy I'm learning !
 
@Basj I should've said 'You should really learn'
 
10:09 AM
thats not fair. its game over on page load
 
lol
 
@argentum47 *that's, *it's
 
:P
i will also make games.
no canvas
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
X O % X
X * X
X * X
X * X
X * X
X * X
X * X
X *************** X
X X
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
21 | GAME OVER
 
@AwalGarg I added this noscript thing
 
10:12 AM
@copy It traverses y axis much faster than x axis which is offputting
 
it seems to work.
 
Cool though
 
@copy I didn't have to do any
 
@BadgerGirl Nice
 
I agree there might be some bugs.... But most of these bugs are potentiel problem for me (being spammed, etc.) , not for the user
 
10:13 AM
and I had 3/4 right
 
and we didn't do the 4th one, so 3/3
 
@AwalGarg can you help me on this ? :)
 
I would consider being able to have spaces in links to be a bug that affects users (since if they paste it somewhere like, say... here, then people can't click it)
 
@Basj sure :) My pay rate is just 3 billion dollars an hour... j/k
 
10:15 AM
php? escape the html , add some filter_var , check file extension size, meta tags maybe to be sure they are images.. bla bla
 
@copy but I still don't get anything :(
 
@BadgerGirl 3/3
 
also, your backend ain't no giving content-type header!!! which is absolutely crazy.
 
<!--?php var_dump($_SERVER); ?--> <-- what is this
 
@Basj No, this isn't a support room
 
10:17 AM
_
 
@Basj ping @SecondRikudo on codementor
 
@Psychemaster yes, probably.
 
@argentum47 What does it look like to you?
 
lol
 
kungfu panda
 
10:19 AM
It looks like a mess :)
 
A last question on this : if I shorten the URLs like MyExcelFile.xls to gget.it/qsd567 ... Then when someone clicks on this link, will it be possible that the file is downloaded as MyExcelFile.xls again (and not with filename 'qsd567') ?
 
> <?php var_dump($_SERVER); ?>
 
exactly
 
^it is this btw
@Basj apache url rewriting, I think. But I am not sure.
 
why wud someone dump his server :D
 
10:20 AM
@argentum47 debug info
 
also, for your purpose, I think nginx would be a better choice since most of your work would be to serve static content
 
@AwalGarg well I tried (of course, I use URL rewriting) but for this specific thing, I don't know if it is possible (to have a short URL that would downloaded with the full original Filename)
 
Yes, it is possible
 
@argentum47 do you mean someone could do var_dump on my server?
 
PHP = Primitive Html Processor
 
10:22 AM
Now do the work yourself
 
i meant it should have been removed not commented. i can't push my codes to github with
print @user.name . i get to listen 1000 lines for that 1 silly line. and explain why such code is in my resulting code
 
Does any one know if there are known gotcha's with JQuery's hide/show? I have to 2 elements on my web page, both have click events which hide each independantly, but, when I try to hide one element (element1), the other's (element2) position on the screen alters? Oddly, if I try to hide element2 then element1 remains in the correct position
 
u may have display:none
 
@argentum47 are you in office?
 
@copy a small hint? I tried for hours on this specific question already.
 
10:24 AM
@Dave because jquery
 
i am getting bored in my office. i completed some silly work. using a remotipart gem for file upload using ajax. that iframe based thing
 
yes, I know... but I really don't want to re-invent the wheel (or re-write the wheel) ...
Although maybe I can just append the display:none....
 
@Basj php reads file from disk -> sets content header -> outputs file -> boom!
@Dave display none would cause a reflow on the page, if you don't want that, use visbility: hidden
 
@Basj Content-Disposition
 
try visibility: hidden. or maybe, use a position: relative on the parent and position: absolute; top: somevalue on the chilren
 
10:26 AM
hmmmm, nice ideas
 
@AwalGarg oh yes of course with PHP! But this will require much more resource from server if for each reading of a file, PHP needs to produce the output !
 
append a display none. :/ bleh
 
why does 'display:none' cause a reflow? Surely it would 'collapse it' ? WOuld it not? @AwalGarg
 
@Basj this is what I can think from the top of my head.... other than that, listen to @copy
 
because display: none . means display none. XD . the element is gone. but its there. its like a paradox. like air. u know its there but u can't see it
 
10:28 AM
@AwalGarg ok thanks
 
surely I can see air
 
Yes, I see that.
 
!!afk
 
Oh, I see what you mean now. Yes, sorry! :)
 
i mean not the word air . lol
 
10:28 AM
@copy I'll try on that then
 
@argentum47 Just look outside the window in any upwards direction. There should be plenty of it.
It's best visible during daytime.
 
Thanks everybody for all the bugs finding, it'll help me. Of course it is an alpha.... But on the other hand, I think it's really useful to have a tool which allows to send files with just ONE drag/drop , no email, no "accept conditions dialogbox", no annoying questions...
 
And just like that, all the problems go away! Thanks @AwalGarg, thanks @argentum47
 
/me looks up.
/me sees ceiling
 
but yeah it's alpha version, of course
 
10:30 AM
@argentum47 I said "outside the window"
 
Problem with a 'no vetting' file upload service is it's going to end up being used for unscrupulous activity (read: illegal file sharing)
 
salute
 
@user3764893 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@user3764893 \o
 
icy
 
10:32 AM
easy bro
 
@Psychemaster this is a false problem for me now... If it is widely used for unscrupulous activity, then this means that this service is working well... Then I'll invest time/money for hunting unscrupulous activity :)
 
@user3764893 \o is the emoticon of a person waving.
@Basj That's an incredibly bad idea, especially for a startup
 
@user3764893 o/
 
You want to nip that shit in the bud before you even start
 
how do we get live tweets using php
?
 
10:33 AM
Moreover, the fact of asking people to "accept conditions" doesn't protect at all against unscrupulous activity
 
There's a reason other file sharing mechanisms place limits on uploading stuff
 
The same for email : illegal users can provide a fake email address
 
It covers their asses
 
@user3764893 . ask php
 
@Psychemaster true, of course
 
10:34 AM
I meant JS
if possible
 
look into their api
 
@Psychemaster the true real problem is that such a service (if working, if all the bugs corrected) doesn't have an economic model at all : it could not work if millions of users
 
ok thnx
have a nice day
 
whats so thankful about it
 
IDK
why do you want to argue?
selfish
just said thnx
and that's all
 
10:37 AM
congratz
 
Guys, you're burning precious screen real estate here.
 
appreciate that
bye
 
!!/google Tornado Jonsi
 
@argentum47 you are given good freedom to chat in office hours
Even I got that freedom too! :-p
 
10:38 AM
Listen to that song fellas, it'll make your day
 
Good to know you aren't in North Korea
 
Maybe later.
 
Any prototype guys here?
 
@udaysagar If by prototype you mean the library, probably not.
 
10:44 AM
I might be able to fit into the "guy" type, though
 
Key word: -might-
 
@Psychemaster Might Guy?
 
I have no idea who that is.
 
Guy sensei
he opens gates
 
10:51 AM
XD
 
back... I have a problem using svg-edit on my website, there are lot of things that are written here : https://code.google.com/p/svg-edit/wiki/ConfigOptions
But i can't just apply any function on the "svgEditor" object... it's just like it does not exist at all on my page... (even if the editor is visible), i have this error : svgEditor is not defined... any idea?
 
11:08 AM
anyone? here is a fiddle about my problem : jsfiddle.net/by4m48kk/5
 
!!urban thx
 
@JanDvorak thx Bastardization of 'Thnx,' which is a bastardization of 'Thanx,' which is a bastardization of 'Thanks,' which is a bastardization of 'Thank You.'
 
@SecondRikudo yes, i meant library
 
11:37 AM
@Julo0sS how do you always manage to run into problems?
 
@AwalGarg idk... lol
@AwalGarg here i'm tryin to "customize" svg-edit from google.. its kinda difficult, but i'm sure it's possible since all files are on server now
 
@Julo0sS whose server?
 
@AwalGarg mine^^
@AwalGarg i downloaded svg-edit v2.7.1
 
@Julo0sS first of all, your editor loads in an iframe... it is different than having an element directly on the page
also, just open the console once... just once!
17Uncaught SecurityError: Failed to read the 'frame' property from 'Window': Blocked a frame with origin "http://fiddle.jshell.net" from accessing a frame with origin "http://jsfiddle.net". Protocols, domains, and ports must match. firebug-lite-debug.js:11437
16Uncaught SecurityError: Failed to read the 'frame' property from 'Window': Blocked a frame with origin "http://fiddle.jshell.net" from accessing a frame with origin "http://jsfiddle.net". Protocols, domains, and ports must match.
 
x-frame-origin, learn it, son
 
11:47 AM
Installed Notepad++, pinned, unpinned pspad
 
Try vim
 
on Windows?
 
Try Linux
 
I don't think vim has code folding
@copy Give me a reason. Vim isn't a reason.
 
vim has code folding
@JanDvorak There are better window managers than … well, the Windows desktop
 
11:50 AM
For some reason, I like to advocate open-source stuff.
 
@JanDvorak Bash
SSH
And don't give me the putty crap, it's not as good as Linux's built in tools.
 
@copy 99% of the time I run with one window
 
Also, free.
 
I don't have the screen estate to handle more
@SecondRikudo I don't use remote cli
 
@JanDvorak You suck :P
 
11:52 AM
@JanDvorak Before I used Firefox for the first time, I only had one browser window open
@JanDvorak I'm not using more than one per screen either
Just multiple workspaces
 
@copy hahahahaha .... dude....
 
I've tried installing suse but I kinda failed
 
btw, windows 10 is coming with built in workspaces
 
@AwalGarg i enabled firebug in jsFiddle, how do you open console in it??
 
@JanDvorak was that 20 years back?
@Julo0sS disable firebug then :D
 
11:53 AM
on this machine. 1 or 2 years
 
@Julo0sS ^ like that
 
@AwalGarg what do you use to share screenshots?
 
@JanDvorak ubuntu/fedora/mint ftw...
2 hours ago, by Awal Garg
Other than that, ubuntu comes with a very nice, powerful and lightweight gnome-panel addon for screenies
 
The problem with linux: a kingdom divided upon itself cannot stand.
 
2 hours ago, by Awal Garg
I luv it and use that with dropbox!
@JanDvorak wat!
 
11:56 AM
Too many distros to choose from, everyone offers a different one
 
Ubuntu is a good way to get started
 
does it come with a usb installer?
 
@JanDvorak they all can be tested before install, chose what you like. I would say ubuntu.
 
@AwalGarg lol ok...^^ i do not have these errors on my website...
 
@Julo0sS indeed. if your environment is jsfiddle and you try to rape it, you will get punched.
 
11:58 AM
x)
 
rep
 
@JanDvorak wanna see a pic of my present setup? You will feel home as a windows user...
 
@AwalGarg does this mean that it is not possible to make some elements on the page interact with my svg-edit iframe? (instead of using its default buttons, use mine)
 

« first day (1466 days earlier)      last day (3481 days later) »