« first day (1875 days earlier)      last day (3296 days later) » 

06:00
@RahulDesai - Hi !
@HelloWorldNoMore wassup
06:14
@RahulDesai - I am a newbie in front end. I know the basics of html, css, js. I have done a few simple projects (1 or 2 page) using those. But don't really know how to go beyond basics. I am looking for big projects where I can learn and build something big and not silly hello world type of projects. Would appreciate it if you could suggest something.
Almost every textbook in the IT/CS field feels like a hello world to me.
I never see a book which teaches you a project from design, development to testing and deployment.
@HelloWorldNoMore Why dont you start a project yourself? Lets just say 'Library Management System'. You will learn things along the way. What you need to do and what you not need to do.
@HelloWorldNoMore first of all, you should stop thinking "I'm from IT / I'm from CS". You have to think, "I'm a programmer. I like to code. I'm an explorer'. Come up with something. Some idea. Try to make it using the things that you already know. If you get stuck, there's always google.
thanks. but, how do create some sort of scope ? as a beginner, I might think its nice to have X feature and later realize its hard to implement with my knowledge. So, i need some kind of gradual approach.
If you think it is hard to implement, improve your skills.
well, when you think about a feature, then you have to implement it. that's the point
06:22
There is a solution to every question.
otherwise, if you run away,coz it's hard to implement, you won't be able to grow.
@HelloWorldNoMore Have you read the book Introduction to Algorithms by CLRS?
pretty sure its not just Hello World.
@RahulDesai - Yes, i saw it once and its not hello world. Thats why i said most books.
anyway...
so...which was the first project you made ?
HTML form validation
:D
It was fun.
FYI - I know SQL and Java also. But, I don't think I can do any backend for my projects. I'll have to stick to front end initially
06:26
i made social network with php. :D
After I completed it, I felt on top of the world! lol
Yes, form validation is hello world++
i did that
before knowing form validation. :D
@nickB I did too!
kinda like LinkedIn
ya, but before knowing shit, i jumped into making a social network.
and learned many things while doing
06:28
One mistake that I regret is that I learned jQuery before Javascript.
FML
I wish I knew the order.
@RahulDesai - Luckily I learned JS first and then used it for jQ
I did that as well
haha
but still a newbie
You know why? Coz, I'm always in a hurry
:D
@HelloWorldNoMore Great!
@nickB Same here. I just want to see results and feel proud of myself. lol
06:30
:p
What I missed is knowing things to the core.
and what would that be...
Wish I had Douglas Crockford as the professor at my university.
:D
@HelloWorldNoMore Like, what is the replacement for document.write
06:32
no idea...
find it out
what is? innerHTML? lol
I'm newbie too and I also get confused what to learn next?
I would suggest you guys to go through this for Javascript: livestream.com/accounts/4894689/events/4550345/videos/106027249
Its a 3 day workshop by Douglas Crockford.
Tomorrow is the 3rd day but the recordings will be there.
@Harish Learn ES6.
Before that, learn basics of Javascript.
Go through all Youtube videos of Douglas Crockford. He is a badass. lol
06:35
without knowing basic javascript es6 will go beyond the head, coz of the difference in syntax.
True.
I still dont know what is ...
@RahulDesai - ok...i can see the video. but can you give some hints ?
I need to look it up.
chromium.googlesource.com/chromium/src.git/+/… <-- Chrome will start respecting autocomplete="off" again
I could then google it
06:36
@HelloWorldNoMore hints of what?
@ivarni that is always not good.
Hint or keywords to search in google which will tell you what is actually happening inside document.write
if you just search document.write, you get apis and tutorials
So, would it not autofill the saved password now?
@nickB There's a legitimate usecase for disabling autocomplete, and that's when you make fields with typeahead search functionality
Having chrome pop up a box over the search results is terrible
@HelloWorldNoMore First, find out why document.write is bad.
Work on your googling skills. It is going to help you all your life.
06:39
@RahulDesai - thanks. this has some interesting results: document.write bad practice
Googles "how to work on googling skills" >>
@HelloWorldNoMore document is an object, write is a property of it just like getElementById etc. Here it is a function. Hence, write().
google
I did not know what keywords to use with document.write until you mentioned its a bad practice.
that is my hint
Can I earn money while learning the new things?
@Harish Yes, it's called having a job :)
06:44
:)
haha
@ivarni I wonder what it is like :/
DW executes where encountered: it cannot inject at a given node point ???
DW is effectively writing serialised text which is not the way the DOM works conceptually, and is an easy way to create bugs (.innerHTML has the same problem) ???
@HelloWorldNoMore Start writing code using document.write and then you will know. :)
Hands-on is far better.
i did it. it seemed simple.
maybe because i only printed hello world
06:48
Try to have something before Hello World. Like some HTML.
run document.write('hello world') in the console on this page
^
Note to self - 'try' should be removed from the dictionary.
@Loktar Jerk
@RahulDesai - I did this in the console of chrome developer tools. Not sure what I should be looking for.
document.write('<h1>Hello World</h1><p>Sucks...</p>');
06:53
Do it on stackoverflow.com
Oh fuck powerpoint
It wiped out the whole SO page...just like the SO answer mentioned
There you go.
06:56
But that's not the point of not using it.
@AwalGarg - then what is the point of not using it ?
There are better ways to do what it does.
Some ad agencies still use this document.write garbage to mess up your site.
no, document.write before the document loads completely in synchronous script tags won't mess up your site.
I think you are right.
22
A: Why is document.write considered a "bad practice"?

Sean McMillanIt can block your page document.write only works while the page is loading; If you call it after the page is done loading, it will overwrite the whole page. This effectively means you have to call it from an inline script block - And that will prevent the browser from processing parts of the pa...

07:05
What does this mean "no, document.write before the document loads completely in synchronous script tags won't mess up your site." ?
What do you think it means?
!!afk : snorring
synchronous script tags ???
@RahulDesai That didn't make much sense. Maybe you meant: afk
@RahulDesai That didn't make much sense. Maybe you meant: afk
How the F is afk suppose to work?
\o
07:10
hey how to block the sublime text's do you want to buy popup.
!!help afk
@Cerbrus afk: Set an afk message: /afk <message>. Invoke /afk again to return.
it's highly irritating
/afk snorring
does that mean, it's gonna keep showing up forever if i don't buy or what?
07:11
@nickB Its kinda like Winzip in Windows.
Free but not really free.
that means it's gonna show up till the last day of my developing career
ahhhrg
Unless you buy it.
that i won't
@nickB By buying it
did you?
07:13
I've bought it. I use the software and I like it so I pay the people who made it
I asked my manager for a Sublime license. She's like - even I dont use the paid version.
hahaaa
In my mind, I was like - dont you know its not open source?
@ivarni ya but they could have used a donate button or something if it's open source. that made sense.
07:15
and it is not supposed to be used for free if its for a commercial purpose.
@nickB Decompile the binary, add a JMP statement just before the trigger of the popup, and recompile.
@nickB Its not open source though.
@AwalGarg that made sense.
@RahulDesai ya, i said if it were.
how's atom? used it?
07:18
Used it a while ago.
I like Sublime better.
Then there's Brackets too, if you wanna try.
LightTable
i started with notepad++ then jumped onto sublime.
when i used notepad++ most of the guys used to use dreamweaver
i never really liked it
Microsoft should fire the entire powerpoint team.
@Ṣhmiddty gotta try it, seems cool
@Ṣhmiddty LightTable is cool
07:25
/help afk
and also you need to change your name to make it pingable ?
me?
!!help afk
@RahulDesai afk: Set an afk message: /afk <message>. Invoke /afk again to return.
no not you I was talking to @Ṣhmiddty
!!afk : snorring
07:29
I am gonna make a levenshtein difference calculator function which orders words based on their order on the QWERTY keyboard layout instead of the standard alphabet series.
levenshtein ain't working for my typo corrector :(
also @Abhishrek hangouts
07:42
WHO THE HELL EDITED MY ENTRY ON THAT MAP
Hi guys...

I have been working on app called Boomerang - SOAP & REST Client.

If you are working with webservices this tool would be very helpful for you.
@AshwinK 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.
@AshwinK 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.
Betting $7 it is one of @Cereal or @ndugger
I'm further north than all y'all
07:50
@AwalGarg : your position was india yesterday also, i think
so you said it was changed?
the description, icon, and layer was changed.
ohh
the Dark Lord Awal Garg aka Rash
:v
08:10
Hello guys,
Is it possible to use BOM feature to take screenshot of a webpage in browser ?
@Ajay 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.
Error 404 occured, I will call the maid (@Zirak)
@Ajay What is BOM feature? Do you mean DOM? If DOM, Lord Awal says yes.
If DOM, yes.
Browser Object Model (BOM), like we do window.console() or window.print()
Wow. I miss this name.
08:13
!!tell Ajay google javascript take screenshot of webpage
ignore the middle link, please. Kthnx
yes already saw them, not accurate result
welcome to the browserland
;)...little tricky ...when u run window.print it opens the image for print, i just need to make that to save
@CapricaSix i am cheking the middle link, it seems to be promissing ;)
08:17
That is not possible without escalating to chrome code via an extension. If you can elaborate on what you mean by "not accurate result", we might help further.
For even the most terrible of the layouts, canvas printing works fine, though.
yes, canvas printing is not taking some CSS properties
Can you show an example fiddle?
I am not sure an extension can do it. Is there such an extension?
I mean, for a full webpage, not the visible area.
yes, i also feel there is not extension but just to make sure i am right
also visible area
not full page
@Sheepy you take screenshot, scroll by 100vh, take screenshot... repeat.
then join them all with canvas APIs
08:21
@AwalGarg Ok. That would work.
!!google chrome extension awesome screenshot
^ this one does it
Except on parallax pages.
@Sheepy well in those cases, it is not the API lacking, it is the concept of screenshotting itself which fails.
08:22
i want those feature to be cross browser and need to be part of feature
You can't capture a still which shows something moving...
@Ajay Simply no. No browser objects do that.
Well, unless you count IE's ActiveX Shell, which you can use to call powershell to run .Net code. Been there, done that.
ok i think that is pretty much what i need, surety that it is not possible
No, it is not cross browser. And it will show a very scary security dialog to the user. And IE is dead - it has ceased development.
08:26
but also in JS code i got from here @cap
i am using D3 and not able to see CSS's
only a balnk image ;(
i am using D3 and not able to see CSS's
open development tools and see if all resources are loaded
@Ajay That is not really taking screenshot. It is just copying the HTML to a new window and disable mouse.
certain ears, I tell you
@Sheepy: yeah !!! it is html not image ;(
08:33
Well, I guess that is screenshot enough for most users.
So how does these browser plugins that take screenshots of the entire page work?
genuine question, I've no clue
@AwalGarg Ah, I see
@ivarni Extensions can access more browser internals.
Would be cool if that was exposed via document
08:35
@ivarni would introduce all kinds of security issues
@BenjaminGruenbaum clojure?
And people will then request full webpage capture, too.
W3C tried that w3.org/TR/screen-capture, they forgot cross domain iframes :P
Yeah. Create a phising site that iframe gmail and takes a screenshot. Done.
08:37
@BenjaminGruenbaum at work the only html we generate is a bunch of static html files, so obviously no
think constructively
They've managed to lock down serviceworkers pretty good though, so I suppose it wouldn't be impossible but the benefits might not outweigh the problems
;)
@Ajay We may think constructively. Browsers and API spec may not.
(and a drupal website.)
in Firefox, there is shift-f2 "screenshot --full-page"
08:39
You can also send it directly to imgur :P
crl
crl
@Loktar .setState is a bit 'asynchronous' right?
08:55
@crl setState?
loktar will not be awake until a few hours, so you're not getting an answer soon.
crl
crl
hehe, yes react's .setState, can't figure if it's synchronous or not
@AwalGarg pfff
hahahaha
Oh right, ofcourse, sunnababitch.
@Julo0sS are you here?
crl
crl
@emporio he's booting up
hold on
08:58
@AwalGarg hey dude, I didn't change no nothing
crl
crl
julo-OS
I am laughing at the fact what is written there.
Apparently we have a lot of dicks lying around who can't dare face me even in an internet chat.
:D
@AwalGarg lol
09:04
how do I add myself to this map?
@crl where do you live?
@FlorianMargaine I added you, you can edit it now?
crl
crl
@FlorianMargaine Antibes
@crl oh cool
crl
crl
you're not so far now, in Bouches du Rhones right?
crl
crl
09:08
ah, slightly at the North
map is updated :)
Who in here uses powerpoint ?
crl
crl
@FlorianMargaine he you're not far from the Mont Ventoux :)
would be happy to climb it in bike :d
yup, I can see it
Can this code be written like this? Assuming this is a member property of window object
09:13
i'm doing a 5 minute talk about a diy hardware project (github.com/ThiefMaster/rotaryboard) in about 35 min. if anyone is interested; there's a livestream at indico.cern.ch/e/ITLT-8 (already running with some other interesting talks)
@ThiefMaster that's pretty cool!
@ThiefMaster how do i know it's you? what's your name?
@ThiefMaster nice!
@ThiefMaster OT, but working at CERN must be nice!
crl
crl
it's like the NASA of Switzerland ('like' because they are maybe not too much on space research)
@nickB adrian; it's the last talk
@crl well, we do have this
09:25
@crl in the light of recent events cern may get an edge over nasa (Tyson is worried)
@ThiefMaster i wish to watch it, uploading on youtube later ?
livestream + my current internet = no go
@Abhishrek there will be a recording; maybe ping me tomorrow (usually takes a day or so until it's uploaded)
same here
crl
crl
if you put the style attribute before class it's possibly overriden by classes?
@ThiefMaster 2nd one in this page is you right?
09:34
@crl no
element style attributes iirc override all css
crl
crl
ah, interesting.. thanks
But using !important is pretty much never a good idea
crl
crl
yes the !veryimportant shit
gah chrome changed the console tab of position, I'm confused
@Abhishrek !important !thegame
@jAndy hai there !
09:39
o/
and @ivarni oh yes the !important accident of css :-< never used it
next one is mine
anyone using PHPStorm (or Webstorm or whatever)?
and is probably using a german keyboard layout :/
I'm getting increasingly frustrated with this shit
starting now!
09:53
Is Pycharm (JetBrains) related? If yes, I tried it for a while. It is the worst thing ever made in the history of last 1e895 trillion years.
@ThiefMaster Stop live-chatting xD
@ThiefMaster are you live chatting? lol
(kind of hoped to hear a ping sound in the video now… xD)
yaaa
exactly :v
A notification from us would have been surprisingly appropriate at that moment xD
09:55
You get IRC notifications but not so :(
he disabled that most probably. the desktop one. XD
Loading Flash player ...
not gonna be able to watch you @ThiefMaster :)
crl
crl
hehe flash and linux, works fine for me on chrome/windows
Ya. video stops after every one word. too bad :/
chromium showed loading flashplayer.
@crl oh, flash works fine on chrome. I just don't have flash installed
nor chrome
crl
crl
09:57
ah ok
pretty hardware-ish talk :s
@AwalGarg epic success
i have no idea what you are saying dude @ThiefMaster :(
That was way more “lightning” than expected
@Abhishrek on?
I got in midway and now I have no idea what that was all about
09:59
the current branch am working on
move to hangouts

« first day (1875 days earlier)      last day (3296 days later) »