« first day (809 days earlier)      last day (4144 days later) » 

4:15 PM
posted on January 02, 2013

Cody Brocious of Mozilla has been working on Qtzweb, a Quartz Composer to WebGL compiler.  Quartz Composer, for those who don’t know, is a node-based visual programming environment from Apple included with the Mac developer tools.  You connect together various nodes which represent sources and effects and can very quickly design cool visualizations and the like.  On the Mac, you can play

 
@Abhishek How is "not boning her" out of human control? :P
 
@ThiefMaster tequila my friend
nd an unexpected orgasm ?
 
It's so annoying when you trip and fall into someone's vagina, just as you orgasm.
 
@Abhishek Oh yeah, because WHEN YOU HAVE SEX an ORGASM IS UNEXPECTED
 
@Zirak lol
 
4:29 PM
But yeah, it's pretty unsympathetic. Abortions suck. I imagine it's quadruple that in India.
 
@Zirak lmfao
 
Unless you're planning on having the baby. In which case you're going to need more tequila.
 
@Zirak not for next 5 years unless tequila
 
Anyway, I bought one of the Sitepoint Holiday Bundles. One of the books is called "Everything You Know About CSS is Wrong". The first sentence of meaningful content?
 
But that's what got you here in the first place, so yeah...it sucks.
 
4:30 PM
> The problem with CSS is that it's too hard
O_O
 
@RyanKinal who wrote it ? a help vampire ???
 
Rachel Andrew and Kevin Yank
 
...well, that isn't vague at all.
 
never heard of them
 
@RyanKinal LOLOLOLOL
 
4:31 PM
Me either, though honestly I don't remember names all that well
The table of contents scares me. The phrase "CSS Table" is used.
I'm not sure what it means yet
 
@RyanKinal when was the book written / revised ?
and you might wanna set it to fire , you know more CSS then most of css-authors
 
Aw, fuckin'A. 2008.
Bastards sold me an out of date book.
 
@RyanKinal LOLOLOLOL
 
/translate "Holiday bundle"
> We want to clear our warehouse of old crap
 
Protip: When you buy a motherboard, don't be cheap...
 
4:34 PM
Ah well, it only cost me like $4
 
2011 in css is outdated
2008 is museum !
 
I hate more and more Drupal ecosystem webomelette.com/cool-module-floating-block
 
@RyanKinal but hey it will teach u a lot about IE specific cSs
 
... maybe
 
:P
see the +ve side you will be more free writing ASP.net websites that run in IE only :D [kidding ]
 
4:36 PM
Let's see... an AWS book from 2010... and a project management book from 2008. Maybe the last one will be moderately helpful.
@Abhishek Psh. I only test in IE once it works in a real browser.
 
@RyanKinal LoL
I have data-structure's viva tomorrow :-/
not sure what sould i read
 
I don't know what that means
 
^ FROM that
 
I remember Data Structures
such an awesome class
 
@SomeKittens yeap
 
4:40 PM
When we first started moving from "person who knows syntax" to "programmer"
 
Agreed
I suspected it was a class, but I'm more unaware of the word "viva"
 
Taking Software Engineering next semester. Awesome class, great people, excellent professor. Except all the work will be in Java/SVN (still looking forward to it)
 
SVN is still useful to know
 
@RyanKinal vocal question answers
 
@Abhishek Ah, I see. And you're wondering what to read to make sure you pass?
 
4:44 PM
 
@RyanKinal i will surely pass
 
:looks at bookshelf: Yep, I have that book.
 
@Zirak purchased
 
@RyanKinal It seems like everything's in git these days (admittedly, I have no corporate experience...)
 
Corporate environments are where you're going to find the old/odd stuff. At my current job, we were using Visual Source Safe when I got there. We moved to Team Foundation Server briefly, and now we're on Mercurial/Kiln.
Me might, at some point, move to git/GitHub. I think it would be cheaper, and more suited to our needs.
 
4:48 PM
I plan on avoiding corporate environments if possible.
 
Okay here is my amazing problem , out of my mind in data-structures
 
I was talking with a PM from Boeing, and he said they were using IBM's source manager(!)
 
in our syllabus they are explaning hash maps in context of trees
so i am wondering what the heck they want to do init -_- ?
basically just save the key values ??!?!?
if not then what ??!?!
they have completely mixed hashing with trees :-/ and am just having stackoverflows understanding it
 
You can present a hash-map as a tree
It's not very efficient or nice, but it's certainly possible
 
@SomeKittens there's still plenty of hg/svn/cvs stuff out there though
for the liberal kind, git is the way though.
 
4:51 PM
@Zirak i know that but .. seems like an overkill to me in a B-Tree
probably the author messed things up .. reading about it on wiki :D
 
{
    key : 'value'
}
//=>
     k(null)
    /
   e(null)
  /
 y('value')
 
heh
I don't even know what's a b-tree
didn't have a formal CS training :>
 
@FlorianMargaine There goes the rest of my day.
 
Binary Tree. A data-structure where each node has at most two child-nodes.
 
@FlorianMargaine Usefulness of formal training is incredibly variable.
 
4:53 PM
@FlorianMargaine Neither did I
 
@Zirak oh, that's the difference with a normal tree
@Zirak yeah, but you're 92
 
BIM
 
@dievardump :D
heloz
 
Okay room i am heading offline :-) to study see you all laters :-)
 
4:55 PM
later
 
See ya
 
5:11 PM
@dievardump hey!!
 
Okay, out of sadistic curiosity, I've been reading the 2008 CSS book. It's recommending use of display: table
I may take a sharpie to the cover...
 
Is there no jQuery chatroom?
 
:-P
Forgive me if I'm not one to deface my books
Even if they are old and terrible
 
@GnomeSlice Just ask your question here.
 
5:18 PM
@Nile I don't have a question, I just thought you guys might be interested in this: mcpants.github.com/jquery.shapeshift
 
Gotta ask whats wrong with display:table? better than having table tags all over I thought that was the point
maybe I just read about display:table wrong info
 
either one is just wrong
it makes your CSS code unmaintainable
seriously... experience speaking.
 
hi all
what is rong with my answer here: stackoverflow.com/a/14126232/561731 ?
 
from first glance it could be spelling but thats just my funny side talking
 
problem: shitty speakers on my desk have some dull whitenoise when not playing music (only on the headphones when plugged into them). Also front panel audio jack mysteriously stopped working.
Do I now: A) Fix my front panel audio plug. B) Buy new speakers.
 
5:30 PM
C) plug in back and act like no problems ever occured
 
cord isn't long enough to be comfortable.
 
turn speakers up, stick under desk, profit
I'd at least test back port for static
 
:-\
 
but that doesn't solve the headphone issue.
 
if you get it on back port its probably the speakers
 
5:31 PM
I know it's the speakers.
 
if your headphones get static on the front port its probably that
ah ok, why wouldn't you get new speakers then 5 bucks for cheapos
 
shitty speakers work fine, headphones give static when plugged into shitty speakers.

front panel plug is borked... cord isn't long enough for back panel.
 
m59
Anyone here an OOP pro?
 
@m59 u r
 
m59
nope lol, I suck really bad.
No matter how much I study / learn / discuss this one problem, I can't find a solution.
 
5:36 PM
@m59 did she say that?
 
m59
lol
 
@gdoron are you here?
 
Pé de Leão you there ?
 
Just showed up.
 
Hey anyone here, can help me with this stackoverflow.com/questions/14126064/develop-an-e-book-reader ? please
 
5:41 PM
I use CodeIgniter which uses the CMV model.
Are you familiar with that?
It's a good way to start.
First of all there is a user's model which is a class dedicated to accessing the users table of the database.
It controls who can login and what they have access to.
Are you there user15371?
 
ya
iam
but i want to build a e-book reader
does codeigniter help ?
 
Sure. Can anyone access the reader, or do they have to log in?
 
@PédeLeão
 
@Esailija in standard de-coders how is the multichannel audio placed usually
as in how to differentiate among different channels
 
In case you're not familiar with the CMV model, there are also classes called controllers and simple PHP files called views.
 
5:47 PM
iam familar to MVC architecture on codeigniter
 
Great!
 
i am familiar with your mom.
This is a List of burn centers in the United States. A burn center or burns unit is a hospital specializing in the treatment of burns. Alabama *Children's Hospital of Alabama Medical Center *UAB Burn Center *University of South Alabama Burn Center Alaska *Providence Alaska Medical Center – Thermal/Wound Services *Fairbanks Memorial Hospital Arizona *Arizona Burn Center at Maricopa Medical Center *Carondelet Burn / Wound Care Center *The Grossman Burn Center at St. Luke's Medical Center Arkansas *Arkansas Children's Hospital Burn Center California *The Grossman Burn Center at West Hil...
ohh burn!
 
m59
Just in case anyone is able to answer this - I want to make two (or more) objects that contain a bunch of functions. When I make a new object 1, it should do what object 1 does (in a specific order, not alphabetical) OR if I make a new object 2, it should do what object 1 does in order and THEN what object 2 does in order. Is this reasonable, or am I trying to do OOP like the procedural lame-o I am?
 
@rlemon xD
 
so you want object inheritance in js.
!!/google javascript class inheritance
 
m59
5:49 PM
I can inherit like a boss.
 
So how do you get the texts into the database?
 
@PédeLeão , ok , so how do i go ahead , like where did you start from , for buidling the e-reader ?
 
@rlemon how the heck should i even google for what i need :-/
cause whenever i google i am bombarded with irreleavent stuff :-(
how is the multichannel audio placed in stream
 
m59
@rlemon ^familiar with all of that.
 
5:50 PM
You can start with the database.
 
@m59 so then you want to call new foo() on the new bar() constructor passing in 'this' reference from the new foo() call?
 
m59
@rlemon The problem is that if the object 1 can actually do something when a new one is made, then it does that when object 2 inherits it's prototype. Then when I make a new object 2, object 1's action happens AGAIN.
 
did u use javascript/jquery ?
 
can you show me what you are trying to do?
 
m59
@rlemon sure
 
5:54 PM
Yes, but that is the last consideration. What is most important is developing a database to provide the text to the readers. Without that, there's nothing to read. Javascript just provides the frills.
 
provide text in epub format.
store in epub format.
read in epub format
love epub format.
done done and done.
next!
 
i aint being help-vampirish but seriously somebody help me T.T
 
@Abhishek ok sorry re-state problem
 
@PédeLeão did you use MySQL ?
 
m59
5:57 PM
@rlemon
oops
 
I have read about Node.js the last couple of weeks and I want to start with Express
 
Where did KO come from? — Neal 6 secs ago
 
@rlemon in standard de-coders how is the multichannel audio placed usually
as in how to differentiate among different channels
 
Is KO the new "jQuery"?
 
However I do not find any documentation on Express or Connect
How do I learn it?
 
5:58 PM
Yes. Everyone says that it's better to use MySQLi, but I'm still using MySQL.
 
So little
 
Do you know how to create a database?
 
@PédeLeão Ancient code, or do you not frequent SO PHP chat?
 
@Neal Is that all
 
5:59 PM
@Andy use google. that took me less than a second to find....
 
@m59 ok so what do you want this to log? A, B ??
 
@Event_Hori Fine, but it's not easy to just update all my sites.
 
@PédeLeão because if you don't need to keep legacy code, you should switch to MySQLi or PDO immediately if you want any security
 
oh thanks @PédeLeão
 
and by need I mean its your job and you work at a company that requires it
 
m59
6:00 PM
@rlemon The closest I got to accomplishing what I want was to loop through all of the inherited functions of testIT, but it did that in alphabetical order, which won't work for what I'm doing.
 
ctrl+f "MySQL" replace with "MySQLi" then fix whatever doesn't work
 
why am I drawing a blank on how to get a container to got to the bottom of a page even if there is not that much content
 
m59
@rlemon If I call the basic object, I want to console log "basic action". if I call the complex, it should log "basic action" THEN "complex action".
 
@Event_Hori Yes, I'm maintaining legacy code, and I don't work at a company besides my own.
 
@rlemon see its the most important part and its completely omitted -_-
 
6:02 PM
If you have a choice, you should change it.
Reason 1) By not changing it, your leaving yourself vulnerable to many more attacks
Reason 2) By not changing it, your leaving yourself vulnerable to many more attacks
 
I didn't understand the following: ctrl+f "MySQL" replace with "MySQLi" then fix whatever doesn't work
What program?
 
it means open the script, go to edit>replace in your editor menu, and replace MySQL with MySQLi
the default for most programs to replace something is either ctrl+r or ctrl+f
 
I use CodeIgniter. I don't want to try and modify all their core files.
 
Then stop using codeigniter.
 
this ^
codeigniter is horrible PHP (sometimes) anyways
 
6:07 PM
am off but if anybody has any clue on how audio is stored in channels ping me , i knew it a while back ... now i forgot it :4
 
I'd bet most people would say codeigniter is horrible PHP always
 
That's not even an option at this point.
 
anyone that knows PHP anyways
 
m59
@rlemon this may be totally stupid to begin with. I'm open to better approaches to the whole program. I wrote a nice procedural youtube player and I'm trying to re-write it as a jquery plugin. When I want to use it, I'd just use $('selector').youtubePlayer({type:'basic'}) and jQuery would make a new youtubePlayer.display();

youtubePlayer.display will have switch statements to use "type" from the options to determine which object to use.
 
function Person() {
    this.Age = 42;
    this.Gender = 'male';
    this.Height = 123;
    console.log('Person Constructor');
}
function Hero() {
    this.Name = "Superman";
    console.log('Hero Constructor');
}
Hero.prototype = new Person();
var superman = new Hero();
console.log(superman.Gender); // Person Constructor, Hero Constructor, 'male'
@m59 first things first. Write the 'plugin' without jQuery as a stand alone script. Show me you have the knowledge to write the player and I'll help you understanding how to turn it into a plugin
to convert vanilla code to a plugin is easy peasy.... so long as you have the original code working order
 
m59
6:13 PM
@rlemon I don't need to reset the constructor?

Do you mean with no jQuery library, or not as a plugin? My example was without jQuery.
 
@Event_Horizon I think that is just ridiculous. CodeIgniter is excelent in many ways. I'm not going to give up CodeIgniter because your wild ego is telling you that you have somehow surpassed the developers who created it.
 
@m59 do the entire thing without jQuery (or at least not as a plugin, just a script) first... then convert it to a plugin
don't get all bent outta shape about the 'plugin'
 
m59
@rlemon yes, that is what I am doing. My main goal is to be able to do:
new youtubePlayer.basic(); or new youtubePlayer.thumbnails; etc and that will display my logic. The plugin is just going to take that and run with it.
 
@PédeLeão Actually as a developer who knows he is no where near the php abilities that went into creating CI.... and as a developer who uses CI for his web based projects..... CI is crap.
it's a very nice crap... but it's still crap.
most PHP frameworks are... kinda sucks...
I hear good things about Symfony2
 
@rlemon @PédeLeão most all regulars in the PHP room would agree with this, and they are almost all extremely experienced in PHP and even some with the PHP backend in C++
 
6:20 PM
yup, I have to imagine the problem is spawned from the language itself being a little hodge podgy. But then again, my last real 'experience' besides jumping on a framework (CI) and quickly pressing out some working spew was back in like 2004ish.... Web was quite a different place back then.
 
m59
@rlemon the example you gave me above, that is what I have been doing. The issue is that when you set the Here.prototype, "Person Contructor" gets logged rather than when making a new Hero();
 
Javascript in late 1990's early 2000's was "fun". now it's actually quite a pleasure to write... sad that a lot of people still hold the old mindset (php I assume gets this a lot as well).
so when I create a new Hero you want the Hero constructor > Person constructor? like reverse inheritance?
 
m59
ermmm...
 
@rlemon At this point, I have to stick with the very nice crap. The only real problem with CodeIgniter that I'm aware of is that it is maintaining it's old code - backward compatibility. And maybe it's inefficient because it has generic code to make my life easier, but that is exactly why I use a framework. I want my life easier.
 
m59
The problem is that the more objects I make, I lose the ability to strip away functionality.
 
6:22 PM
well that is exactly it, when you use the framework you give up your freedoms and are now locked into how the framework wants you to code.
 
its not about that it makes life easier its that the coding practices they use are broken and messy, there are other frameworks that handle things better than CI
 
@m59 you would have to provide a working real-world example for me to help. TBH I think i'm just not understanding what you are trying to do.
 
m59
@rlemon give me a sec
 
@FlorianMargaine how is it going?
 
And when you don't use a framework, you spend twice the time developing your own inadequate framework.
 
6:25 PM
why I dislike CI: It's bulky, slow, PITA to use sometimes, almost all of the helpers are stupid
why I like it: I know how to do RAD with it (i.e. I know it), I don't have time to learn a new framework, I don't have time to press my own MVC framework, did I mention I know it and I'm lazy and don't care to take the time to learn anything else?
Important to note: This is not my job... but my hobby... so it is acceptable.
If I were getting paid for it I'd better know what in the fuck I'm doing with or without a framework.
 
Like I said... It makes life easier. It saves time, and right now, I have way to much invested in it to give it up.l
 
@PédeLeão maybe you do. but to be so arrogant to think that someone cannot develop their own framework without the backing of a corporation is just silly. The shoulders you're standing on right now were not always giants, they were just like you and I questioning the authority and wondering if they could do it better.
 
m59
function Person() { console.log('Person Constructor'); }

function Hero() { console.log('Hero Constructor'); }
Hero.prototype = new Person();

function BossHero() { console.log('Boss Constructor'); }
BossHero.prototype = new Hero();

var regularPerson = new Person();
did the formatting not work?
 
@Event_Horizon I still think your wild ego is talking.
 
m59
@rlemon See what happens with that? We get the basic action twice.
 
6:28 PM
@PédeLeão just looked at your website... stick to gardening.. flaming on the php guys isn't your strong suit (web design doesn't appear to be either).
@m59 one sec
 
@rlemom Actually, I don't think that. I know you can develop your own framework efficiently. Most people can't do that, and I'mnot ready to do so, so I'm perfectly happy sticking with CodeIgniter for now.
 
@rlemon If the speakers are shitty to begin with, buy new speakers.
 
Who's flaming?
 
Besides all the PHP talk... anyone knows if there's a nice library available via NPM that formats date/time intervals nicely? I'm sure there is but haven't found one during a quick search
 
My website is a few years old, and I admit that it needs some help.
The websites that I do now are nothing like that. Why are you all of a sudden so defensive because I'm defending CodeIgniter?
 
6:36 PM
Because PHP sucks
 
qft
 
@rlemon caption this
 
ffs. @m59 yea I'm still a little lost as per what you are trying to do. That example makes sense to me. new Func() will evaluate the function as soon as this statement is seen.
 
m59
@rlemon well, I wanted a new regular person, but I got two of them instead.
 
bewcause new Person() is called twice.
 
m59
6:40 PM
@rlemon I understand why...I just don't know what to do about it.
 
think about it. the code is evaluated top to bottom. the statement new Person() is seen twice during evaluation... both times it logs that statement.
 
> Ignore me robert... ignore me
 
so you want inheritence without instantiating new objects? I don't think you can do this without making Person a static object and not a class like object.
but what do I know
 
m59
@rlemon that is why I originally set all the actions in the prototypes and had them just inherit. Then it would go something like:
runThis = new Person();
loop through all of runThis functions
that does EXACTLY what I want
but
 
m59
6:42 PM
it does them in alphabetical order
lol
 
@rlemon now thats a good one!
with that i am going to sleep
 
m59
goodnight!
@rlemon my theory is that I am still doing something entirely that would be better in procedural and that I need to completely re-think this approach...I don't know how to get started though.
 
@Abhishek one more one more!
lol
 
lol
 
6:50 PM
@Lemon I looked at your site too. Looks like it was knitted by your grandmother! But you go with that, Hot Dog!
 
@PédeLeão It was... she had to do something to pay me. bitches aint gettin nothin fo free.
 
Good answer!
 
also you're discussing a free blogger template.
I'm not a front end designer so I don't pretend to be.
something like this ? ^^
 
m59
@PédeLeão his website still looks a lot better than yours lol.
 
Calm down people.
 
6:53 PM
@m59 I think you're just trying to do proper OOP inheritance with JS but you cannot so it's getting in the way :P
 
m59
@PédeLeão I just wouldn't insult anyone else's website if I were you.
 
It wasn't me who started insulting other people's sites.
 
Guys, remember, this is the internet. I'm right and everyone else is wrong; even if they agree with me they are wrong. only I can be right.
 
m59
@rlemon I don't think so. If you're not too burnt out on me, do you want to see some of my program? I can organize something really quick.
 
As a robot I can verify this. rlemon is always right... even when he is wrong he is right.... he's a little bitch that way.
 
6:58 PM
@rlemon You're absolutely right. Who else could be so right?
 

« first day (809 days earlier)      last day (4144 days later) »