« first day (1127 days earlier)      last day (3819 days later) » 

8:00 PM
that object is an instance of/...
and that progarm can be written in ANY language!
 
Someone told me there's no such thing as unicorns. But what about this? Don't believe everything people tell you.
 
@JuzzCoding http works over text, that's it. You need to deserialize into objects. Look into json libraries if your framework doesn't already provide one
 
@JuzzCoding was it kamal ?
 
@JuzzCoding and btw that's why SOAP is liked by some people.
 
8:05 PM
<kamal is the guy who claims to write glow hockey for android in turbo c with graphics.h >
 
@AbhishekHingnikar nope, a person on SO with 12.7 k rep
 
@JuzzCoding yeah don't even trust good reps :P
 
I'm gonna make a question on stackoverflow, but I'm not really good at making titles... What would you suggest for this fiddle? jsfiddle.net/jHgkp/3
 
actually i see his point aswell but we are used to off making objects :-|
 
@phenomnomnominal That's not a unicorn. That's a space station!
 
8:06 PM
i mean in socket.io i can actually do socket.emit("hi",{ /* really nasty object here */ });
and the server can be in any language :P
so can the client
 
@Zirak The author is a genius. He clearly deserves all the jellybeans
 
He deserves seven seasons and a movie.
 
IIRC, the discussion went like this: "Oh, that's kinda fun. But it's not really good style. Guess we'll ask Zirak when he's back"
 
"Javascript hover direction according to container size" for jsfiddle.net/jHgkp/3 - It's a good title? :p
clear and stuff
 
8:21 PM
Anyways
0
Q: Hover direction according to container size

Lucas BI would like to alter the hover direction based on the container size, if there's not enough space on the container to show the hover to the right, it should then show on the left. See fiddle for details: http://jsfiddle.net/jHgkp/3/ I use hoverIntent, but FULL details are on the Fiddle above:...

 
okay i shall be on windows the next time i boot wish me luck
and windows's ntfs exfat support should fix this issue out of the box :D lol
@ThiefMaster sorry but fsck couldn't find anything :-/
 
what is the problem @AbhishekHingnikar
 
@MirkoCianfarani i lost some stuff on an ntfs-3g partition
 
fun question, why is it sometimes adding whitespace? Is that a jQuery bug?
 
you can recovery data and partition using Testdisk @AbhishekHingnikar
 
8:26 PM
(Note how sometimes whitespace is added between tiles making the margins inconsistent)
 
@MirkoCianfarani how ?
i installed it it was able to revert my exfat file system ( which i didnt expect )
on one of hte drives
 
WAIT
Before how analyze partition? Using Linux, Ubuntu or other SO?
59 mins ago, by Abhishek Hingnikar
user image
 
when using a js file seperate from an html file how do you actually run any of the js code?
 
Because I use systemrescuecd for recovery partition and data
Note: Testdisk for analyzing partition of 1 Tb , need time of 10 hour
 
Why would an IDE have line numbers turned off by default...?
 
8:37 PM
They're not really useful
You usually have something which indicates on which line you are, and a function to jump to a specific line
 
Definitely not. They should get rid of indentation while they're at it.
 
anyone here using tmux?
 
What use do you find? How do they help you?
 
Same thing you said except sometimes quicker
 
oh blah, <script stuff /> and <script stuff> </script> are different.
 
8:39 PM
@Zirak 32G for example :P
 
Even if that is your opinion, what is the point of having a blank placeholder for line numbers, but no line numbers by default? haha
 
But...constantly having line numbers decreases editor size. Unless you frequently want to know which line you're on, I don't see a reason having them in your face constantly.
 
@Zirak As said, very useful in VIM. Also, if I have one file open in multiple split windows I know where I'am in the file (it's not unusual to have 2 splits for the same file if I need to edit something at the top and the bottom or move stuff around between the two)
 
Because what good is it to not have them in your face constantly...
 
They take up screen space
 
8:42 PM
4 characters ain't that much
 
To me it's just constant useless data
 
no, the placeholder takes up screen space haha
 
But if that works for you, do whatever you want
 
@theHeretic you figure it out?
the js code runs the same if included as it would if you put it directly in the script tags fyi
only difference is the wait time for the file to load
 
While were at this, we may as well have an argument over spaces and tabs. Personally a prefer both at the same time. I also end every line with 1 space and 1 tab just for good measure
 
8:44 PM
yep. its wierd that <input /> will count as ending it but <script /> won't.
 
I love the code view on ST line numbers are meaningless to me unless Im debugging
 
TRAILING WHITESPACE IS NOT A JOKE
 
hahaha
 
and.. I used to be a tabs guy, but over the past few months switched to spaces :?
was sick of my code looking retarded on github due to tab issues
 
<<what would you use spaces for other then separating stuff, like var i=new Array rather than vari=newArray?
 
8:46 PM
@Loktar people keep talking about that, but I have no clue what the issue is...
 
idk man mine would be formatted all weird
like lines would be 30 spaces over for no reason
 
No, no!! It was a joke. NO SPACE vs. TABS ARGUMENTS!
 
yet in my editor looked fine
 
Spaces. 4 of them. Period.
 
Oh shut up
 
8:47 PM
@IvoWetzel I use 4 as well, but apparently 2 is pretty common?
someone did 2 spaces at the last JS meetup and everyone clapped
2 spaces feels too cramped for me
 
@Loktar Depends actually. I use 4 for code and 2 for markup (e.g. jade)
 
@MirkoCianfarani i am going with micrsooft windows
a better bet since i know the files are there
 
I never had a problem with tabs getting messed up in anything I've put on there. Maybe github gets confused if you accidentally get some spaces in there or something?
 
if testdisk can find it so can microsofts tool :-)
sooo bye people see ya from windows :P
 
@AbhishekHingnikar see ya :P
 
8:48 PM
testdisk is the tool of linuk @AbhishekHingnikar
 
why are you using windows all of a suddenly anyway?
 
The thing I hate about tabs, you can't align stuff in a consistent way when you need to wrap lines
 
Been seeing you mention it for the past few days
 
you have to use live cd for recovery data
and saving in a pen drive
 
@IvoWetzel Definitely. Tabs for indentation, spaces for alignment.
That's what I do. NOT ARGUING.
 
8:50 PM
@Loktar Just adjust your tab width then. I think GitHub needs that option too, like every other editor
 
@Zirak Well, actually that's the exact reason I need for arguing :P
 
@Shea I fixed it by just converting tabs to spaces and using 4 spaces instead now
 
Meh, CoffeeScript.
 
@phenomnomnominal Are you a witch?
 
@Loktar Do you push space four times every time you want to indent??
What a hassle
 
8:51 PM
yes
 
nah still use tab :P
st2 just throws in 4 spaces
 
like any decent editor would do :)
 
^
 
@Shea Any decent editor will have a soft tab option
 
Oh okay, then your editor is half way decent, but how about pressing backspace four times, if you want to unindent?
 
8:52 PM
Shift+Tab
 
@Shea Also handled by the soft tab option
 
I just shift tab always out of habit
 
I hate it when I copy & paste code off of some thing that uses spaces. You never know how many spaces you'll have and you have to go crazy reindenting everything
 
@Loktar @Zirak wut? VIM just removes 4 spaces
 
I realize that, but not every editor is very good
 
8:52 PM
What do you guys mean with alignment?
 
Emacs has auto-indentation anyway! I just press tab and it automatically indents/deindents.
 
@Shea Why would you use more than one?
 
cough Dreamweaver cough
 
Let's all just use GO.
 
Does Dreamweaver still exist?
 
8:53 PM
How do you not use more than one? Is jsFiddle not an editor?
 
@twiz yea
 
Everyone runs their code through the formatter (which even can do refactoring across files based on context..... very cool)
 
@Shea jsfiddle has the amazing tidy button
 
Yeah I love go for the fact that the language itself defines a standard and has a tool to format the code according to this standard
 
@twiz yeah, and it's autocomplete is superior to any other I've seen
 
8:53 PM
@Shea Why would you write code in jsfiddle?
I mean, more than a few lines
 
I do all the time, nothing more than 200 lines probably though
but god that tidy button is so nice
 
Switch to editor -> write -> copy&paste -> run
 
I wish jsbin and codepen had it
 
@Shea I used to use it as an editor a long time ago, but I just didn't like how cluttery it was.
 
Because sometimes I just want to do a few quick things, without loading some IDE
 
8:54 PM
Then don't use an IDE
 
@Shea Then use a real text editor and not a "IDE" (nobody needs a IDE for web development)
 
yeah just use NP++ or ST or something light weight
 
@twiz Yeah I agree with that. I have to have every toolbar/sidebar closed
@IvoWetzel No, that would be too easy
 
@Loktar write a userscript
 
haha
@Shea Then just use VIM :)
 
8:55 PM
If Adobe made just a basic editor without all the junk and WYSIWYG, it would probably be pretty nice.
 
...or emacs
 
@phenomnomnominal that's a good idea but idk if it would hold my attention
 
@IvoWetzel Sure they do. IDEs give you a lot of tools that editors don't have.
 
@twiz I heard some praise on Brackets, never used it myself though.
 
I tried VIM, but couldn't get over not having Dreamweaver's autocomplete.
 
8:56 PM
If you use emacs with a ton of plugins that's an ide.
@Shea A what now?!
Dreamweaver has horrible autocomplete.
 
Good thing I don't have a ton of plugins
 
@BenjaminGruenbaum I beg to differ
 
^ the reddit effect on my blog
 
@Shea Tried webstorm?
 
8:57 PM
just checked it
tanked hard yesterday lol
 
@Zirak hmmm I might actually have to try that out. Based on the single screenshot I saw, it seems pretty cool.
 
from like 400-500 daily to 3k then back down to normal levels
 
can anyone identify a reason for downvoting this answer? stackoverflow.com/a/20023214/1331430
 
Yeah, but iirc it didn't have autocomplete for popular libraries
 
Seriously, put enough time and effort answering just so some random anon downvoter comes by
 
8:59 PM
@Loktar HN gave me from 100 daily to 40k then back to 400
 
@copy damn thats a nice ass jump
 
@BenjaminGruenbaum Depends on the language IMO. Yes, I would never write Java without a IDE but IMO that is a issue with Java.
 
zombiegames.net only gets like 20-25k on a good day
do you have ads on your blog at all?
 
@FabrícioMatté probably because another guy just came along and posted an answer? haha
and he wanted a head start
 
@twiz lol now I see :P
 

« first day (1127 days earlier)      last day (3819 days later) »