« first day (835 days earlier)      last day (4113 days later) » 

5:06 PM
Holy shit all of my projects are getting new front images
screw pictures of my food... pictures of my code!
 
pretty...
 
oh, that's sweet
 
I wonder how many blogs won't have those pictures...
(brb, updating my blog)
 
Hi Lukas
 
@rlemon It's very slow, though...
 
5:11 PM
// simulated lag lulz
 
posted on January 28, 2013

There have been a lot of music related projects in the JavaScript community lately, some of which I’ve posted about.  Teoria is an interesting library for working with music theory in JavaScript, and would be a good fit for sheet music editors and viewers, and other music composition applications in the browser. Teoria has several object types: notes, chords, intervals, and scales.  Each

 
the syntax highlighting sucks for common lisp...
 
why didn't my google reader update Badass JS already ?
 
@FlorianMargaine needs more parens
 
@canon enough for you there?
 
5:15 PM
omgblarfgh
*wipes chin*
 
@FlorianMargaine LIIIIIIIIIIIIISP
 
Following the trend : canop.org/blog/?p=379
(ok, the blog article is uninteresting, and the picture brings nothing, but at least it's pretty...)
 
@Neal No. Common Lisp.
 
@FlorianMargaine CLIIIIIIIIIIIIIIISP! :-P
 
5:20 PM
@BadgerGirl This code smells like copy-paste...
 
@BadgerGirl Haskell definitely looks ugly.
 
@neal lithp?
 
@canon no
 
@dystroy nah, it's pattern matching.
 
No, it doesn't.
 
5:21 PM
@BadgerGirl It does.
 
It looks more hipsterish.
@dystroy yeah, from an old assignment.
 
@copy you are the most hipster
 
Is that brainfuck?
 
That's for sure.
@KarlZilles Yeah.
@KarlZilles see @copy's homepage: copy.sh
 
5:33 PM
nice
 
For any kind of feedback, toss me a mail to
--[----->+<]>---.++++++++++++.+.+++++++++.+[-->+<]>+++.++[-->+++<]>.++++++++++++.+.+++++++++.-[-->+++++<]>++.[--->++<]>-.-----------.
 
5:48 PM
Man. Explaining exactly what happens when you execute new Func() is confusing.
Friggin' pseudo-classical crap.
 
hello, any mod here
 
Anyway... going to get a car.
later folks
 
Why do you need a mod?
 
@badgergirl i want him/her to suspend my account
 
5:53 PM
no deletion would be too much
 
Oh, then I don't know. @ThiefMaster
 
i mean it is irreversible
 
we don't suspend on request
if you need a timeout just logout.
 
!!> --[----->+<]>---.++++++++++++.+.+++++++++.+[-->+<]>+++.++[-->+++<]>.++++++++++++.+.+++++++++.-[-->+++++<]>++.[--->++<]>-.-----------.
 
@SomeKittens "SyntaxError: Unexpected token >"
 
well... i just keep coming back again and again
 
you'll learn new stuff from time to time by being active on SO so it's not necessarily bad to keep coming back
 
thanks, I am checking out the extension
 
see this to me is kinda pointless.
if I don't have the self control to stop myself from coming here - a userscript that can be one clicked 'disabled' is not going to be any good.
 
Anyone here have django experience?
 
6:09 PM
maybe we should introduce a responsible chatting control where users can self-exclude themselfs for like.. 6 month or so
just like the reponsible gambling things :p
@Neal: I watched django unchained, does that count ?
 
:P
 
@jAndy no...
 
Maybe it should be a "buddy system". You let one person (or a few people) have access to your self-ban, and they're the only person that can unban you.
Eh? Eh?
 
That would probably be a coworker or friend who would do it anyway if you really asked him to
 
should be a random draw
oh please let me be the big boss for Zirak and rlemon
sounds like fun O.o
 
6:15 PM
@SalmanA I offer a free service : you send me your password and I change it and maybe I won't have lost the new one when you want your account back
 
Also no guarantee that your rep hasn't been given away through bounties
 
wow.. something has to be wrong with my google reader. New posts on sites come in like 1 hour late when I see the feed posted in here
 
I can't see stars. Is that broken? nope, needed refresh
 
!!> var a = [1,2]; [a.join([1,2]), a.join(a)]
 
@copy Maximum execution time exceeded
@copy ["11,22","11,22"]
 
6:22 PM
In Firefox it outputs ["11,22", "12"]
Weird
 
@copy confirmed, even if I don't see exactly why FF does that...
This looks like a bug but I don't get what can make FF fail here
 
Hey guys... What would I use to change the html within a div... based on the url? I basically have a site with two domains pointed at it... I wish to change some text at the top of the site based on which of the two urls the user is accessing the site from?
 
XY. Why do you have two different domains?
can't you just redirect one to the other?
 
Both domains point to the same site... so i wish to change the header text to match what the domain is
so if they are on x.com it says x.com in the header.... if they are on y.com it says y.com
 
@Zirak I was told to come up with interesting titles.
@DigitalMediaGuy ... why don't you redirect?
 
Sam
6:31 PM
@DigitalMediaGuy Well, the url is in window.location
 
document.title
 
@copy Is there a discussion/question somewhere about this ? It's interesting.
 
@copy: seems like FireFox engine will notice if you join with the same reference, it'll do a noop, any other array will get called with String constructor or like "" + arr before joining, which makes sense
 
I do... lol... if they ask for x.com I redirect them to the same place as if they ask for y.com.... once they get there... I wish to see what the url is and then replace the text... so look at window.location.orgin?
 
@RyanKinal Thanks, fixed.
 
Sam
6:35 PM
@DigitalMediaGuy More generally, I meant window.location. It containss all the info about the URL. Take a look at it.
 
but it still looks quite strange because the "stringification" of that array-ref you're joining with, will maintain its commas
 
@Sam Thanks!!! doing now
 
Sam
(origin does not include the full path, but it maybe be what you need)
 
which you can't achieve yourself using ecmascript // .join
 
My tag with the highest score is one I really don't want a career in, and it's what I got invited to the carreer site with. :/
 
6:36 PM
@CBredlow Ditto ()
 
THen again, I'm browsing the site going "ooh, that sounds cool, and so does that"
 
(`_´)
 
|*_*|
  |
 /*\
 
I filled out most of my form and still haven't had any hits.
 
@sam ok so that worked well to get the entire url... any idea how I can just read the base? everything up to the first /
?
 
Sam
6:42 PM
@DigitalMediaGuy window.location.origin
 
ahhhh lol
 
@SomeKittens the careers form?
 
   ,,,,,
  |     |
  |<a <a|
 (|  ^  |)
  | -=- |
   \___/
   |   |
 
@CBredlow Yeah. you?
 
@dystroy No, I just found it myself
 
6:44 PM
@SomeKittens No I haven't yet, looked at one of the forms "Academic accomplishments" and I really have nothing to put there
 
☺
 
1
Q: ECMAScript-262 implementation in C?

tjamesonI have searched around for a C implementation of Javascript, but I couldn't find one. I need this for an ultra-portable application that will run on platforms without a C++ compiler. Here are my requirements: ANSI C (C89 compatible if possible) Minimal dependencies Embeddable (not stand-alone)...

ouch, but I like the idea
 
And then I'm running into the wall of "What do i want to do?" Because now, I really don't know.
 
Heck, put that down. Good employers will understand
 
@jAndy Jan Dworak's idea is probably the most easily doable on this, if nobody made a complete javascript engine in C yet
 
6:48 PM
@jAndy If he needs ultra portable C runtime, he should probably use Lua instead of JS
 
I'd LOVE to see a full ES5 engine on C89
but then again, I can't imagine any human being is crazy/genius enough to do that
 
C89.. eww, C99 ftw!
 
looking at V8 (c++), its just a beast.. a big, mean, brutal beast
I'd have no clue where to start porting that to C
 
hacking missing features into spidermonkey would probably be much easier
 
@ThiefMaster Wouldn't be that helpful, since most of the shitty compilers for low end devices only support C89. Like for example MSVC
 
6:50 PM
Well some C99 is supported in C89 compilers, too
for(int i ...) for example
 
I'd be fine with C99 also, ok go for it :p
 
lol, come into the JavaScript room... hear people talking about C.
 
Don't tell me you don't like declaring all your variables at the start of the function! :O
> We talk about JavaScript. Sometimes
 
@IvoWetzel: I can't imagine anyone in this room won't love it !
 
@jAndy dang... you got me :D
 
6:53 PM
I would be really curious about the performance win to have a very lightweight C ecmascript engine in comparison to C++/V8/Spidermonkey
 
Why doesn't he just use C89 then? I mean both declare their variables at the top of the block / function and both have... uh... numbers and stuff
 
doing the same crazy shit like compiling/JITTING
 
unless you're a C god, I'd say chances are small that you can actually beat a decent C++ compiler
also, doing the whole thing in C without reinventing templates will be a major pain
but in other news... I spend 7 hours today setting up a single project to do some "quick testing" >_>
 
@IvoWetzel In addition, it takes far longer to write the code and maintain it than it does for either (A) it to be made obsolete, or (B) it to be done in a more capable language.
The tradeoff of speed versus development time isn't worth it, as far as doing it in C.
 
Downloaded more than 5 gigabytes of SDKs and Repositorys, a OSX Update and tons of other stuff... and it still doesn't work -.-
 
6:56 PM
ohyea.. osx can do that to you
 
Actually, the people who check in binaries into their git repositories do that (ok, and 2 gigabytes of Android SDKs are also bad...)
a single repository, 1.5gb -.-
Sure it's fun, if you're sitting right next to the goddamn server, and not on the other site of the atlantic behind a slow VPN :(
 
however, I call it a workday. bbl
 
email form does nothing ofc.
but isn't it pretty.
 
Are notifications only available on webkit browsers today ?
 
7:15 PM
10 messages moved to Trash can
 
7:29 PM
@TheGreatRupert, Kitchener, Ontario. Canada
a.k.a rlemon - Software Designer: Tickling your keyboard until fun stuff happens.
1.1k tweets, 58 followers, following 119 users
YaY! New twitter pic.
Instacode kicks so much ass
FTR: "Thankyou for Smoking" is a fantabulous movie.
 
I want to make tag system when user types ',' the tag changes to a div that can be modified, deleted, ect yada - I'm sure one like this already exists? but can't find yet..
 
5. jQuery Tags Input looks perfect
 
was just looking at it as well
 
7:38 PM
nice!, went from "couldn't find one" to "too many choices"
 
#5 looks to be almost exactly what you asked
 
Its API is horrible though.
 
didn't look at that :P
 
#5 does look like the one..
 
Puts a ton of methods into $.fn which is almost as bad as creating tons of global variables
 
7:39 PM
I find most jQuery plugins (as well as jQuery) has a less-than-desirable API
 
Something like that should use the jQuery UI API
if (val === (val = input.val())) {return;}
now that's ugly...
 
lol
 
Yeah, I find myself disliking the jQuery API if only because of all of the functionality that it hides. There are so many things that are out of your control if you don't want to hack it apart to figure out how things work, as well as many options which aren't readily apparent to the beginning user.
 
@ThiefMaster yea webspirited.com/tagit is ugly (ui) for the demo
:P
but the source looks better
 
@rlemon: I used to use that one but it has some bug where it sometimes keeps a partial tag in the underlying <select> even though it's not displayed anymore
 
7:42 PM
@rlemon hehe I did that a while ago for our internal app.. no plugin though. I did it all manually
 
that's why i switched to the other tagit (the one i linked earlier)
 
moo haha
cool beans.
ahhh python ^_^
 
Link to InstaCode, please?
 
@AmaanCheval It is right there on the side...
 
>>>>>>>
 
7:46 PM
Ah, right, thanks
 
 
too much fun with this...
This one reads like the star wars crawl:
 
@rlemon lol oy
REMIX!
 
7:56 PM
It's going to take me a while... but I will make the top bar say my name!
stoopid shifting..
and people submitting while I try to
 
Linux users; what IRC client do you use?
 
irssi
 
On linux, it's usually either "irssi" or "lol I wrote my own"
 
Thanks
 
...I actually did write my own irc client. But it was read only...too much unicode shit to bother with writing.
 
8:01 PM
Actually, maybe I should consider writing my own to get some experience with C or something
 
@AmaanCheval Writing one in C sounds scary...
 
UI is the problematic part, really.
 
For another day. Can't distract myself 2 weeks before my exams
 
But yeah, you can the basics in C if you wish
 
@ShotgunNinja Never really used C outside of basic terminal programs
Any better with C++?
 
8:03 PM
C++ will eat your soul, so it depends on whether your soul has a positive or negative value
 
:D
Python, then?
 
What @Zirak said.
 
Do it in whatever you wish
 
Oh, yeah, I will
I just want to get an overview
Probably going with C anyway to see why it sounds scary
And then, maybe, just maybe, Java
(For my phone, possibly)
 
If you want to get better with C, do it with that. If you want to poke with Python, or heaven forbid, Ruby or Perl or possibly Haskell/Ocaml or Lisp/Scheme!
Or maybe you can explore node's networking stuff
 
8:05 PM
Oooh, yeah, Node.
Wanted to actually learn more about building a UI, though
 
@AmaanCheval C# is much nicer
 
Ever heard of ncurses?
 
I have, yeah
 
Seems like these tag systems all contain the tags in a comma-separated input.. that's fine for creation purposes, but suck when editing something.. cause then have to compare the previous comma-separated tag list to the New comma-separated tag list on form submit..
 
huh, you can get them as an array or in a <select>
 
8:08 PM
ah tagit
i didn't look at that one yet, will check it now
thanks
 
you know, the more I learn about today's html UIs, the more I understand how awesome it is that stdin and stdout are separate entities.
And still...I don't get how people can say that the web is fine.
 
@Zirak Why?
 
@ThiefMaster you were right about tagit, it seems much better api - the methods are easy to work with and exactly what i need
 
@AmaanCheval Say you have something like bushdiver's case, an input area (doesn't matter what) you want to format to the user.
In practically anything nice, you have a separation of input and output - what's displayed to the user is irrelevant to the data you receive.
 
Aah, yeah
 
8:11 PM
In html, you don't. Your input data has the output data included in it.
So you have cute hacks, to make it semi-sane, but the basic system is inadequate. Which is fine for html, because it's markup and it's supposed to be dumb, but not so nice for everything else.
 
I like Irssi
Didn't think I would because generally I don't like terminal "apps"
 
Quick poll: What font face/size do you use?
 
16pt Arial
 
85% Trebuchet MS, Verdana, sans-serif
 
All of my letters are animated gifs.
 
8:18 PM
I'd probably use 100% for longer pieces of text
Or 16px
 
0
Q: Trying to test my object's ability to save. It has some dependencies on a parent, though. Which test suite should be responsible?

Sean AndersonI have an object of type PlaylistItem. In the 'real application', a PlaylistItem will always be added to a Playlist before saving. However, I am trying to use Jasmine to test my PlaylistItem's save functionality. My first thought was to create a PlaylistItem spec and, inside of that spec, test t...

 
@AmaanCheval EW
 
@phenomnomnominal Generally, I have to use a custom font, so the little time I have to use that is okay
 
No excuses for Arial. At least Helvetica.
 
hey
javascripters
whats up
 
8:26 PM
I have 9 full sized computers in my medium sized office. keeps it like 4-5 degrees warmer in here - now when I go to the main office (just leave my office) i'm always so cold.
 
8:37 PM
How do you close a notification created with webkitNotification ?
 
click on the close icon
;)
 
isn't there a cancel function?
 
@dystroy The notifications here stay for longer now, don't they?
 
There's a new API right?
 
there seems to be a cancel...
 
8:40 PM
Yeah that should do it
 
I hadn't seen it with Object.keys(myNotif)
but it doesn't always work...
 
var nt = window.webkitNotifications.createNotification('hello', 'hello', 'hello');
nt.show();
nt.cancel();
 
@phenomnomnominal There's a new API ?
 
@dystroy, yeah Chrome still implements the old one though
 
I'm just starting to play with webkitNotifications
 
8:49 PM
winforms? winforms anyone?
ListView control -> List view type -> Checkable = true && two columns:
Can I shift the columns over so the checkbox appears to be in it's own column(albeit no header) ?
 
Aww crud, accidentially applied for wrong job, thought it was just a 'create a profile' page
 
@CBredlow Don't tell the interviewer.
 
well, it's for a company in an area I REALLY want to work at
 

« first day (835 days earlier)      last day (4113 days later) »