« first day (1023 days earlier)      last day (3930 days later) » 

user1596138
9:00 PM
Also they fucked up the entire project by making it a limited run only available to contributors. That's just asinine.
 
@JoãoRosa 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.
 
@OctavianDamiean do you uppercase first letters in nouns? like in German language?
 
@san.chez Yea.
 
user1596138
I think every language does that...?
 
Metric is good, except for gas. When our gas goes up $0.05/gallon, theirs goes up $0.05/liter (~four liters in a gallon)
 
user1596138
9:01 PM
@SomeKittens Why doesn't it just go up 25% of what ours does...?Lol
 
@Jhawinsss because capitalism and human psychology.
 
user1596138
Guess so. I'm bored and can't get any actual work done for some reason. I'm going home.
 
Wait, why are you at work on a Sunday afternoon?
 
Most of you guys use linux ?
 
9:06 PM
I do.
 
I do when programming
 
@JanDvorak :-> thanks for helping , now no memory leaks on my code.. but i guess some RAII and using C++'s structures would be much better
@san.chez I do
 
I wish I had more motivation to try to learn to use one. I tried to install it few times, never succeeded to pass the installation :D
 
@san.chez Try Ubuntu.
 
but the last try was 6 years ago
 
9:08 PM
It's what it excels in.
@san.chez Oh then you should try it now. ;)
 
^
 
The problem is I am not familliar with any of the commands
can I do all in the graphical environment?
 
yes!
 
@san.chez That's the good thing about it. You don't have to be familiar anymore.
 
9:09 PM
You can try it in a virtual machine.
 
basically ubuntu looks like that now ^
 
I hate stupid code: jsonModel = _.extend(jsonModel, {BPChecklist: bpChecklist});
why the fuck would you use extend for that?
 
@san.chez Mint is like Ubuntu, but with a few more nifty features.
 
@phenomnomnominal because the cool kids do it I guess.
 
9:10 PM
Cargo cult FTW
@san.chez Yep.
 
@OctavianDamiean gaaaaaayyyyyyy
 
@SomeKittens not as hassle free though.
 
Ubuntu's the best in terms of googleable problems.
@OctavianDamiean It doesn't have Unity, so Mint++
 
@SomeKittens Don't forget, he's a Linux newbie, you're not.
 
I am downloading 13.04
 
9:12 PM
While for you and me it might not be any problem at all to fix some issue for him it is.
@san.chez Great!
Ping me if you run into any trouble (which I don't expect).
 
I feel like Cinnamon provides a more familiar environment
 
my first linux was puppy!!! then i tried ubuntu but landed on fedora :-|
@OctavianDamiean since i am removing windows from this system as major os ... suggest an OS ?
 
@Darkyen Either Arch or Ubuntu.
 
why no fedora or rhel varients ?
 
Maintainability.
 
9:14 PM
hmm.
 
Yum is still inferior compared to apt.
 
lol @SomeKittens
@OctavianDamiean agreed completely
 
@SomeKittens that just can't be true.
It must be some sort of troll.
 
@OctavianDamiean I think I am going to disconnect all the drives for a moment(after 2 beers now) and install it on a spearate drive.
 
9:19 PM
@san.chez You should try it on a virtual machine first.
 
going late in the chat, but I tried Ubuntu and faced issues when trying to expand the installation drive (that was a year ago)
 
How do I do that ? :)
 
@OctavianDamiean do you think its normal for valgrind to bug up about nodejs things without any errors ?
basically cause gc can confuse it ?
 
@nsawaya Well, that's not really a Ubuntu problem though, it's a partition manager issue (probably).
 
@BenjaminGruenbaum Had to use some library, its windows building support included using horribly outdated mechanisms. But it had normal build under cygwin.
 
9:20 PM
@san.chez either install vmplayer or virtualbox, then just use the downloaded iso as an installation disk
 
@san.chez Download VirtualBox.
 
@Octa
that was a mistake
what do I get for using the server one instead of the desktop one?
 
@nsawaya A headless version of Ubuntu.
 
I am going to do a normal install. I have a drive which was lonely for 1 year on the shelf. I undusted it a minute ago. I can't tell him that he is going back on the shelf
 
@san.chez That might induce some complications.
First of all, you'll have Grub installed as a bootloader.
 
9:24 PM
yep that will override your windows one
 
That's not a problem by itself but depending on harddrive mapping Grub might not pick up your Windows install by itself sometimes.
You have to know what you do when multiple hard drives are involved.
 
So is it better to not disconnect them before installation, or that doesn't matter?
 
If you disconnect them Grub can't probe for any other OS.
I mean it'll probe but it won't find any for obvious reasons.
 
How much info doeas the installer show about available drives? I could distingish them by the size, they are all different
 
@san.chez The installer is quite smart, it can do a whole lot of things.
I recommend reading some Ubuntu Wiki articles on how to install Ubuntu alongside Windows.
There are multiple strategies.
 
9:28 PM
If I did disconnect those drives. Would it not work setting the boot drive in bios?
 
If you disconnect the other drives it'll use that one drive by default.
 
0
Q: Advice on loading iframes in a custom post class

StenWSo I wrote this custom post type that works as it should. The post type consist of a table of titles, when the heading is clicked a twitter bootstrap modal is loaded. Now I realized that I need to add an iframe to one of these modals and I need some advice how to do this. My initial solution was ...

 
@san.chez If you just want to try it, then you can go ahead but if you plan to use it alongside Windows then you have to do some extra work afterwards.
 
@san.chez just skip the headache and do a vm installation, it's portable, pretty fast on new pcs and easily replaceable
 
9:33 PM
VM is nice, but really not the same as a full install.
 
@san.chez Yea but again, you don't have a default setup there, you have multiple disks and you plan to install it on a separate disk, you have to know where to install Grub and so on.
 
ok downloading virtual box :)
 
You can go ahead but don't expect it to be as easy as you think it'll be. ;)
 
@SomeKittens yea but if u are planning to use it for work and try to create a dev environment with servers and stuff its better especially if used within a team
 
The advantage of a virtual machine is that you can recreate your exact setup and simulate the installation process.
 
9:37 PM
nice :)
 
already downloaded what kind of internet speed you have?
 
@SomeKittens why so ?
except for performance, but ... err modern power houses can do it.
 
I've you're just starting with Linux, it's hard to make the switch. I had a VM for a long time, and just never used it.
 
@nsawaya Most likely 24mb+
 
I'd just do things in Windows, crippled as it was.
 
9:40 PM
true that :-(
 
@nsawaya 80M , was going through install and making new drive.
What hard drive file type should I choosE?
 
@san.chez should prob change country
 
@san.chez Leave it at ext4.
 
Why can I flag for migration only for meta, SU, tex, dba and sharepoint?
 
I have no ext4 option
 
9:44 PM
@san.chez Wait, where are you?
 
VDI, VMDK, VHD HDD QED QCOW
 
haha
 
Oh there. leave it to its default setting.
Oh nice, we have 3.11-rc4 already.
 
FATAL: No bootable medium found! System halted.
I choosen that iso file and this is what I get
 
Hah, linux.
 
9:50 PM
@san.chez did you select the .iso file from the virtualbox new installation preferences?
 
@san.chez You should read a guide on how to install Ubuntu in a virtual machine.
 
hold on
 
@BenjaminGruenbaum You shut up!
It's not the time for a Windows vs. Linux discussion.
 
it's doing something now I can see Ubuntu 13.04 and four dots
 
9:51 PM
when will the darn gc run ?
 
@OctavianDamiean It's always time for a Windows vs. Linux discussion!
 
@ruda.almeida Don't make me hate you, you don't want me to hate you.
 
@OctavianDamiean Why?
 
@ruda.almeida because it wouldn't be as fun for you as it would be for me.
 
9:54 PM
@OctavianDamiean when is a javascript garbage cleaner supposed to run ?
 
@OctavianDamiean Definitions of "fun" can vary.
 
@Darkyen garbage collector?
 
yeap
 
All I know about garbage collectors is that only god knows when they are supposed to run.
 
i stressed out my node by copying a buffer 7mb
and it crashed :-|
when my code was fairly simple
var d  = null;
for(var i = 0; i < 2000 ; i++){
  d = new huge_buffer_from_cpp();
}
 
9:56 PM
All looks quite nice and easy
 
@san.chez My advice is, toy around with it a bit in that environment, then try to recreate your hard disk setup, including a Windows installation and then install Ubuntu the way you'd do it on bare metal.
 
@RowmanPirce 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.
 
@OctavianDamiean That's what I am going to do. Thank you for good advice. Now I just clicked try (not install). Should I install it ? That wouldn't mess up the boots or anything like with the normall install?
 
@san.chez Nah, you can do all you want in that virtual machine.
 
Am killing my computer :->
 
10:01 PM
It's a sandbox environment.
 
ok :)
So the 8GB of disk space I choosen in Virtualbox that will be my space available for ubuntu?
BTW. My mouse wheel doesn't seem to work (maybe because it is through the vm)
 
@san.chez That'll be your available space for that virtual hard drive.
 
@OctavianDamiean i found it :->
well found a way to make it run
 
Yea, I have no idea what you're trying to do there by the way but good for you. :)
 
well i am trying to decode audio :->
like a baws on server side
and play with it in node.js using self written binding for ffmpeg :->
 
10:10 PM
FluendoMP3 any good?
:)
oh sorry I though that is a player
 
!!Zrub's Foundation 4 or Twitter's Bootstrap 3
 
@OctavianDamiean Twitter's Bootstrap 3
 
^
 
Damn, that should have been Zurb not Zrub ...
 
u ninjaed
 
10:12 PM
 
@Datsik lol
alright fella's good night
 
good night
 
if anybody can send me stuff about RAII and or C++ memory management tips and tutorials ping me ... i will send u chocolates in return
 
wow realy nice keyboard detect feature:)
the install process seems a bit more easy then 6 years ago hahah
 
10:18 PM
Fuck off CodePen!
 
!!should i reactivate facebook ?
 
@Darkyen Both!
 
@san.chez RATM ftw!
 
do you guys use anything other than jquery? I mean like dojo? yui (if you're japanese)? prototype?
 
10:19 PM
@nsawaya I use mainly Vanilla.js but sometimes I use jQuery too.
 
@Darkyen Absolutely not
 
okay :->
gn... finally
 
@OctavianDamiean 1st comment: i just wanna fucking smash everything in my room when i listen to RATM - LOL
 
@OctavianDamiean what a weird naming (is there any serious reason behind this i'm missing) what about cross platform concerns? mobile?? what kind of references you use? I like Zakas's books (especially since I'm not in God mode yet)
 
Maybe not the best background music for programming hahah
 
10:22 PM
@san.chez It's great for downhill mountainbiking.
 
hahah
 
@nsawaya what do you mean?
 
vanilla!!
you follow any blogs, have some book references??
 
Vanilla.js just means pure JS. :)
 
yes I know
but you don't see Vanilla.java or Vanilla.cpp etc...
 
10:24 PM
@nsawaya Yea sure, Eloquent JavaScript and then JavaScript: The Good Parts, also JavaScript Garden.
@nsawaya There's a reason for that.
;)
 
didn't get the reason from the wink
 
Douglas is fun
 
I mean in Java you get a whole whole lots of frameworks and buzz around stuff which are mostly NOT official
yep but he does lack social dynamics
he's like a robot
and one thing weird I noticed
if Douglas Crockford is the de-facto reference on JS and he works in Yahoo
 
@nsawaya Well, in the Java world there's no framework like jQuery which gets confounded with pure JavaScript by newbies.
 
why aren't people using YUI???
 
10:27 PM
He isn't working for Yahoo anymore.
Also, you shouldn't take everything the Crock says as golden either.
He's quite opinionated on a lot of topics.
 
@OctavianDamiean on the JQuery subject, I think it's great but it's like Microsoft, taking teh developer hands even if clueless (it works but how most don't really care)
As for MR Crockford yes I don't
 
like ++ , what is wrong with that?
 
@san.chez the JQuery thing??
 
@nsawaya It's not really the hand holding I have a problem with, it's certainly useful too but the fact that a lot of younger developer pick jQuery to learn JavaScript, which is a really bad idea.
@san.chez nothing, the Crock just doesn't like it.
But that's fine, we don't like the Crock either.
 
I fell into the jQuery trap when I was starting out...
 
10:32 PM
I don't dislike him , I nothing him.
jk, The Good Parts I found extremly helpful
 
He's like the god of cargo culting in my opinion.
@san.chez It is, just don't take every word as the one and only truth.
 
@san.chez I was on your side once, thinking "why does it matter ++ or += 1?". Well, it doesn't, but now...I feel that ++ is uglier, that's it's just a hack
 
I started with jQ 1.2 before I knew a single line of plain JS, and I don't see the issue, you learn as you go !
 
Of course, there's nothing wrong with it. If you don't feel it, don't give a shit.
 
@adeneo depending where you came from
 
10:34 PM
@Zirak What's the equivalent of ++i then?
 
JS is pretty different from other languages, for example I came from Java (still use it)
 
@monners += 1 ?
 
No, I mean for incrementing THEN evaluating
 
i++ is special, as it returns the original value. And it's absolutely useless
 
@Zirak I think I know what you mean. After I switched from AS3 I couldn't stand the curly brackets on the right. But now I am changing { to the right in php scripts , when I see it, beacuse it looks wrong, and pisses me off
 
10:35 PM
@monners returning, not evaluating.
 
I mean, useless in the sense of...why the hell would you want to use that functionality?
Unless you're condensing 2 lines into 1.
In which case...why?
 
@Zirak probably to fool the developer who's fixing your bugs
 
@Zirak So your FOR loops all look like
for (var i=0; i < something.length; i += 1) ?
 
Yes
 
And yes, I know I omitted the length cache
 
10:38 PM
@monners Most modern JavaScript engines optimize that for you.
 
@OctavianDamiean I have the VM in fullscreen but Ubuntu is only quarter of the screen. Do you know what could cause this?
 
@monners eh, meaningless unless it's a live node list.
But on that note, I haven't used a for loop (outside of java) for quite a long time now.
 
@san.chez There are some settings and tricks but I can't remember them.
@Zirak Is there any particular reason for that?
 
@OctavianDamiean Array methods, they rock.
 
@OctavianDamiean ok no worries I will play around
 
10:40 PM
@Zirak Ah, yea.
 
@OctavianDamiean Better to be safe than sorry
 
Yeah, an uncached loop counter can murder your family.
 
@Zirak Laugh it up, I lost a gold fish that way
 
I'm intrigued.
 
Cindy Hopkins, 31, had two daughters and a pet raccoon. Forgot to cache. All dead.
C.H.: "It was...it was horrible"
 
10:43 PM
May their souls rest in peace
 
lol
 
And now, "what's up with that weather!?". Tell us what we should be expecting @OctavianDamiean!
Oh dear lord, did he forget to cache his loops!?
 
Easy fix...
$(Octavian).cache();
jQuery fixes EVERYTHING
 
Halp, I iz trapped in a cache with no expiry set! OH TEH NOES!
 
10:45 PM
@monners Nice you just saved Octavian one second before GC would kick in
 
... but now I iz trapped.
 
Are you saying @OctavianDamiean is trashy!?
...because you'd be right
 
trashy no but maybe loop refferenced, jk
 
@Zirak :(
For that I'll print this ʘ‿ʘ on a T-Shirt for when we meet.
 
hahah
 
10:50 PM
And on the backside this, ◉‿◉
 
It all looks good (Ubuntu) but it runs a bit slow in the VM. I will have to install it. I would like to see it run on full power
 
almost off subject, but how come caching in real life mostly goes through the fridge?
 
I actually might switch completly if it is as easy as it looks
@nsawaya You mean we are caching food?
 
@nsawaya Why do you think that'd be off topic? Haven't you read or room description?
> Everything but JavaScript.
 
@OctavianDamiean unless you cache the pc from your girlfriend or your neighbor's child
 
10:55 PM
so no js talk on Sundays?
 
@san.chez I was starting to think that we cache cars too (the human mind)
it's monday already here
 
shit, we just talked about Doug and stuff
monday in 5 min here
 
Monday morning here
9AM
 
are you from the future?
 
I live in the future!
 
10:56 PM
@san.chez He's Marty McFly.
 
aka Australia
 
I would love to be in Australia now
 
Me too. Wait a aminute... Score!
 
Boom, 11am here :P
 
I'm fine with Austria.
 
10:57 PM
You guys, living in the past and shit
 
@phenomnomnominal you're McFlyer than him then.
 
We have hoverboards.
 
No weather in UK, 2 weeks sun and the summer is over
 
Oh god, I'd love to have a bit of rain ... send some my way please.
 
10:58 PM
21C day 17C night
 
@san.chez Heavenly.
 
hahah
 
Pffft, we have hover floors! Never mind boards
 
How is life in Australia?
It is your winter now?
 
@san.chez upside down ...
 
11:01 PM
@OctavianDamiean why?
 
@san.chez christmas on the beach!!!
a happy santa and co.
 
sounds brilliant hahah
shark and chips as a christmas meal
 
well I think it's different, never been there though
 
me neither, I haven't even seen a shark
 
you shouldn't neither
for the shark part
plus it's not like they have them as pets
 
11:04 PM
yeah I suppose he would cache me in chunks
@OctavianDamiean I will try to do the install tomorrow. What should I look out for apart of that boot problem?
 
0
Q: Why is asynchronization so popular in Javascript?

Howard GuoAsynchronized programming seems to be natural in Javascript - it is the "first choice" to do many things. But in most other programming languages, asynchronization is more like a second choice rather than first choice. What makes asynchronizated programming so popular and natural to Javascript?

 
11:20 PM
@nsawaya We keep em as pets, we just don't advertise this fact to potential tourists
 
do you eat them, or only they eat you?
what IDE do you guys use for JS (on Linux)?
 
11:43 PM
Sublime Text 3 (not an IDE but not far from it either).
 
ST2
 
notepad
 
Mhmm, I think I'll use Foundation 4 for my next internal project.
 
Foundation's ok. I've had some issues with it.
 
@OctavianDamiean Be careful. It's a clusterfuck of SASS dependencies. If you don't include EVERYTHING (which makes the lib huge) it'll die
 
11:53 PM
It's nice to see @monners all grown up and complaining about terrible design choices in libraries.
 
@SomeKittens Explain
 
I'll have a local development environment which'll use SASS and then I'll have a build script, not sure which one yet, either Grunt or something else which'll compile everything to CSS for production. That'll get pushed to the CouchDB instance.
 
Works well with a middleman stack
 
According to my memory, you first showed up here knowing very little about web dev, owning a degree in psych, and wanting to change careers.
 
@SomeKittens Yeah, sorry. Just reread what you wrote and decided you weren't being sarcastic :P
 
11:56 PM
No sarcasm there, congrats!
 
Anyway, I'll sort that out tomorrow later.
Laters everyone.
 
Peace
 

« first day (1023 days earlier)      last day (3930 days later) »