« first day (850 days earlier)      last day (4099 days later) » 

5:00 PM
It'd be odd if it were possible from a live system. Meh, ok, seems like I'll do that
 
okay so u guys want me to remove same from home page.? @rlemon
 
Such social sharing buttons should blend in nicely with the theme not stand out.
They should also be just for the site in general not for every article.
 
@OctavianDamiean here I want to say something..
having same in article.. you can share a perticular article text to everyone
automatically
did you guys not like my presentation?
 
I'm well aware what's intended however it makes your website look like a TeleTubby puked on it.
 
Ubuntu One for Ubuntu Ubuntu One for Mac Ubuntu One for Windows Ubuntu One for Android Ubuntu One for iPhone
Why no Linux ?
 
5:05 PM
Ubuntu == Linux.
 
Other Linuxes
 
8
Q: Ubuntu One for other Linux Distributions?

PhoenamandreOn one of my computer I'm using Mageia Linux and I would like to sync with my Ubuntu One account, is this possible?

 
Yeah, got it. But they could offer the binary or source code on their website
 
I agree.
 
blog.anoopkumarsharma.com Does it feel better?
 
5:13 PM
@AnoopSharma Looks better. Less like a Care Bear playground.
 
m59
@OctavianDamiean do you happen to have a few minutes to check this out? codereview.stackexchange.com/questions/21605/…
I'm still willing to pay anyone that can give me an ideal solution.
 
dudes why i can not do window.user.id = "34";
?
i just want to store the user id inside window object
 
m59
is user defined?
 
or is there a better way or better object i can use?
nope
:P
 
m59
5:21 PM
there ya go.
also, why do you need to use a global? This suggest a bad approach already...
 
yes but i can't do not also window.user_id = "56";
doesn't works
@m59 it's just a routine data
 
I feel now you people are a bit satisfied with me
 
i usually use localStorage or SessionStorage
 
not sensible data
 
5:23 PM
Hey all. is there any way to console.log a line/column of a file that will highlight it in the source when clicked on?
 
m59
session??
are you in the right language??
 
it's html5
sessionStorage
 
Is it just me, or is the TechStars website terrible?
 
localStorage
doc on them ;)
browser session and browser cookie (bad explained)
 
m59
ah I see.
 
5:24 PM
but it works only for html5 so i need window or wsomenthing else this time
window.user_id = "34" can't be ? :/
 
m59
If window.user_id = "56"; doesn't work, you've got serious problems...
 
WHOA! 3.8-rc6 just landed in 13.04! \o/
 
@m59 you scaring me :D sure?
 
@Badaboooooom Waitaminute... are you expecting it to be persistent across page views?
 
m59
@Badaboooooom
window.user_id = "56";
console.log(window.user_id);
 
5:26 PM
@RyanKinal no not needed , just on page load
@m59 already tryed man not working
 
Then I don't know what's going on
 
m59
If that doesn't work, I can't even fathom what kind of disaster you have created.
 
ahah
 
Unless you're trying to access it from an iframe or some crap.
 
m59
I'd accept Jesus and ask God about it.
 
5:26 PM
let me check deeper sec
 
m59
LOL :)
 
window.user_id = "56";
console.log(window.user_id);
this works like a charm can't understand why i can not omg my fkn god
 
m59
what are you trying to do with it?
 
function foo(){ alert(window.user_id) }
maybe i need to pass it trough the method? :/
 
Shouldn't matter
 
m59
5:28 PM
no...that looks good.
@RyanKinal not funny?
that one was for you lol
 
@m59 Vaguely amusing ;-)
 
m59
=D
 
so strange
doesn't works
function update_user_points(){
alert(window.user_id); }
 
m59
are you actually running the function!?
 
m59
5:29 PM
where?
 
at bottom of the page
on top i define window bla bla
 
m59
update_user_points();
like that?
 
@Badaboooooom ...you shouldn't have to define window....
 
m59
better yet, change the alert to alert('WORKING');
 
omg can you believe this !?
 
m59
5:30 PM
and see if that works
 
i did not run the method :/
 
lulz
 
m59
you silly goose :(
 
now it works :/ thank you guyz
 
m59
I forgive you lol
 
5:30 PM
@m59 don't worry my frined in a new life we will be all reach
rly thx and sorry rly
 
m59
heh I was kidding man
np
 
oh .. one more quest, how can i check better in js if a var is setted ?
i mean does if(var) is always ok?
 
m59
I think that works unless var foo = false; or var foo;
 
@Badaboooooom By set you mean if it is defined?
 
var foo; IS BAD
 
5:34 PM
yep
sry
 
so noone?
 
m59
just saying, if it is false or has no value.
 
@dievardump How's that?
 
@OctavianDamiean in strict mode, it fails. So it's bad
You can not var foo; without value
 
Oh yea.
strict mode ...
 
m59
5:35 PM
rather var foo = '';
 
it depends, is foo a string?
 
@m59 yep
 
@m59 no, rather var foo = undefined
 
var foo; if(foo){}
is false right?
 
var foo = false; is you want it to be a boolean
not var foo;
 
5:36 PM
i need to know if foo !== ''
 
@Badaboooooom It is falsy because it is undefined.
 
not if foo == false
@OctavianDamiean as i was assuming thx
 
So var foo = ''; if (foo !== '')
 
@dievardump oh yeah thanks
 
r u guys talking to an invisible person?
 
5:36 PM
@Neal Yes.
I can see dead babies.
 
You perfectly know that you ignored him. Don't be again a smartass @Neal
 
hmmmm it seems like it...
 
m59
var foo = '';
//var foo = false;
if (!foo) {
console.log('no foo');
}
 
It really depends on what you want foo to be.
 
@dievardump he always is
 
Want it to be a string? var foo = '' will be falsy. Want it to be a number? var foo = 0 will be falsy. Want it to be a boolean? var foo = false will be - you've guessed it - falsy.
 
I went off this answer. but the line source is not a link: stackoverflow.com/a/12095712/561731
 
Don't know yet what foo will be (don't know why you wouldn't know)? var foo = undefined will be falsy.
 
This is what I have:
PPM.prototype.log = function() {
  var arg, args, isChrome, line, lineAccessingLogger, stack, _i, _len;
  if (window.console) {
    args = [];
    args.push('[DEBUG]');
    for (_i = 0, _len = arguments.length; _i < _len; _i++) {
      arg = arguments[_i];
      args.push(arg);
    }
    isChrome = navigator.userAgent.indexOf("Chrome") !== -1;
    if (isChrome) {
      stack = new Error().stack;
      lineAccessingLogger = stack.split("\n")[2];
      line = lineAccessingLogger.split("/");
      args.push(line[line.length - 1].replace(')', ''));
 
why such ugly variable names?
 
5:43 PM
@FlorianMargaine that is just how I am.
 
an ass?
 
@FlorianMargaine Ugly is the new pretty. Didn't you know? :D
 
eh?
I do not get why they are "ugly" per se.... but I am just trying to figure this out...
 
var arg, args, isChrome, line, lineAccessingLogger, stack, _i, _len;
:'(
What did I just say?
 
again. coffeescript made those underscore vars:
 log: () ->
    if window.console
      args = []
      args.push('[DEBUG]')
      for arg in arguments
        args.push(arg)
      isChrome = navigator.userAgent.indexOf("Chrome") isnt -1;
      if isChrome
        stack = new Error().stack;
        lineAccessingLogger = stack.split("\n")[2]
        line = lineAccessingLogger.split("/")
        args.push(line[line.length - 1].replace(')',''))

      window.console.log.apply(window.console, args)
      return
 
5:45 PM
Ah
Stupid CS
:-P
 
what idea to use coffeescript?
 
and the lineAccessingLogger I got from that answer.
Just a copy/paste
@dievardump mine. i like the syntax
 
Why does CoffeeScript make var names with an underscore prefix?
 
coz it's hipster
 
Figures!
 
5:47 PM
BBye friends..
Good night..
:)
 
anyone have any ideas?
 
Huh, Smuxi is pretty darn awesome.
 
s!!/an /a dumb/
work?
 
any good template engine that does not use HTML in javascript?
like... will generate dom elements and not just add .html(myTemplate)
 
5:51 PM
@Neal Uh, if I've got an error I want to look at it in a proper editor.
 
@rlemon yes but I do hate your syntax
^^'
 
@xtal huh?
 
@dievardump eh - you can change that
 
I want something more readable. like haml
 
mostly it is for readability
 
5:52 PM
being able to do:
ul(collection)
  li.{{item.class}}
    {{item.value}}
or something like that
 
spin your own :P
you seem to have a good idea of what you want
 
And it will parse that and do real dom manipulation
 
I have no idea how to rephrase that.
 
yes, but I'm currently developping a game, I do not have time
and this is for work
but yeah, I know what I want
I had, some times ago, developed a ZenCoding syntax templater engine
 
@dievardump So you want whitespace scoping?
 
5:55 PM
not really Octavian, it's more "a template engine that will parse and create DOM elements and not just .replace({{}}) on plain text and .innerHTML"
 
@OctavianDamiean like fragbuilder but with a sane syntax.
 
Yea got that but it apparently has to know that if you indent li below ul it has to be a child of it.
That's what I meant.
 
json ftw
 
it can also be like that: div>(ul(myModel.list)>li[value={{item.value}}]*5+span[class=trout,value={{myMod‌​el.spanValue])
 
I would hate it if I had to write templates like that
 
5:57 PM
I like the whitespace scoping idea.
 
@OctavianDamiean I prefer that too.
it was just an example
 
You should keep it like that.
 
div{
  li(value={{item.value}},class=trout) {
    span(value={{item.value}})
  },
  ....
}
I wouldn't mind that syntax
 
Why don't you just do it as function calls, then you don't have to do any parsing.
 
Nah, I don't like that.
A pythonic syntax would be pretty unicorn.
 
5:59 PM
Do the simple thing!
 
I like my markup all taggy
 
autocomplete=off - I HATE IT.
 
so screw you all
 
So get it working as function calls, then if you have time, prettify it.
 

« first day (850 days earlier)      last day (4099 days later) »