« first day (999 days earlier)      last day (3965 days later) » 

8:01 PM
any thoughts ?
 
@CapricaSix lol wth
 
23 messages moved to Sandbox
!!tell Shmiddty sandbox
 
@Shmiddty Please use the sandbox to become familiar with the bot's features.
 
user1596138
Haha, finally, perfect.
 
1 last question is there any AOT compiler for js ? more like something .. which takes good looking code and inlines shit where possible writes crap but short and performant code.
 
user1596138
8:06 PM
@Darkyen Mind re-wording?
 
like the google's compiler?
 
@JanDvorak show me ?
 
I had a River Tam-esque moment. Went to a pizza place, ordered some pizza. They were flooded with two big orders, so they told me it'll take a while. So I waited in the corner, and when I got bored, I began following the two workers there: The guy who actually made pizza, and the guy who handled the oven and orders. While they were doing that, I subconsciously modelled what they were doing, I designed this pizza place in my head. It was fun. Mostly queues, but some managers as well.
 
@Jhawinsss remember my 400 line skin detection, i wrote procedural code for it..
80 lines was the new code with better output.. hell
 
To include a named link in a user-command you'll want to use this syntax: \[name](http://mylink.com)
 
And if you want the online version: closure-compiler.appspot.com/home
 
thanks :-)
 
@Zirak I'm going to kill you with my mind.
 
@OctavianDamiean That's an interesting idea. Definitely doable, the more difficult portion is mapping user-ids to names (to ping the user)
@Shmiddty I swallowed a bug.
 
user1596138
Damn.
 
8:10 PM
@Zirak If !!tell deep sandbox doesn't solve the problem, then just mindjailing him is appropriate.
 
user1596138
Banning him is appropriate too. He isn't that bad. But people like OkOk and that Sbaaaang guy (Maybe he was OkOk?) should have never been allowed to troll as long as they did.
 
@Jhawinsss (he was)
 
okok (who is sbaang and several other lovely names) is banned for a month or so now
 
@Neal answered
 
user1596138
wtf. Why can't I print from Sublime? Printing is a necessity.
 
8:13 PM
you print your code?
 
i am sure there is a module for it
 
user1596138
Are they forcing some "go green" initiative down my throat or what?
 
lolol
 
@FlorianMargaine commented
 
user1596138
@FlorianMargaine I often need to print parts of my code yes.
 
8:14 PM
Why?
...what editors do have an option to print?
 
user1596138
Vim. Taco. BlueFish. MacVim.
 
user1596138
I'm sure any other editor one might use.
 
huh, emacs does too. Odd.
 
user1596138
Notepad++
 
I don't see a problem with it for code reviews
 
user1596138
8:16 PM
Xcode does too. Hahaha.
 
except maybe being 100 pages of code
 
but discretion blah blah
 
user1596138
I never print more than maybe 2-3 pages of code.
 
I never print my code... seems pointless...
 
8:17 PM
@Zirak He is? Who did that?
 
user1596138
It's easier for me to actually review code on paper. Or to actually theorize my next function while sitting on my balcony with a pen and paper.
 
@Jhawinsss get a laptop
 
@BenjaminGruenbaum minitech
 
@Jhawinsss baaah. I just write stuff on paper
 
@FlorianMargaine Cool, link?
 
user1596138
8:18 PM
Drawing helps me follow my own logic also. It's nice to have an actual physical representation of how my logic will work. I don't see anything wrong with it.
 
Drawing definitely helps
 
@Jhawinsss get an android tablet / ipad or a bigass phone
 
user1596138
@BenjaminGruenbaum I have one. Two at my house actually. But I like to actually start on paper.
 
go green dude.. i mean u must save paper
 
8:19 PM
@FlorianMargaine ty, will read.
 
@Shmiddty That's again a confusion between the OO system of a language like Java and that of a language like js (or Io or Lua or NewtonScript or Self or whichever). Typing has nothing to do with objects or how they're derived.
 
3
Q: Javascript Queue Object

NealI created a Queue object when answering this question and I was wondering if it could do with some improvement. Here is the current code: var Queue = (function () { Queue.prototype.autorun = true; Queue.prototype.running = false; Queue.prototype.queue = []; function Queue(auto...

 
user1596138
@Darkyen I have an iPad. I hate drawing or typing on it. The only thing it gets used for now is when my sisters use it in my truck on long drives.
 
hmm your personal choice
 
@rlemon For the protocol, I asked for him to get banned in the first place:P
 
8:20 PM
i like "reading" on something wihtout keyboard
 
@Zirak Sure it does, it just does more
 
You really have two main schools of OOP: Class based, and object based. They're separate and certain things come naturally with them (you can have strict typing with prototype-based languages, and you can have duck-typed class-based languages).
 
user1596138
Exactly. I'm not saying anyone else should agree with me, I'm just saying this is my opinion.
 
Thanks @Feeds
Wonder who downvoted the CR Question. Odd.
 
@Jhawinsss got it
 
8:20 PM
@BenjaminGruenbaum minitech maybe
 
@Zirak Yeah, I got to that convo, thanks
 
@BenjaminGruenbaum Yeah, I meant to say it backwards, but the main point comes across hopefully
 
user1596138
Cool. But yeah, I don't like Sublime as much now. I also wish it has a live preview window like Taco for running PHP/JS code. It helps a lot with debugging .
 
@FlorianMargaine see my comment update.
 
@Jhawinsss taco?
googling isn't useful.
 
user1596138
8:25 PM
@FlorianMargaine Taco HTML. It's a Mac only editor. But I like it a lot.
 
user1596138
It does have an "organizer" for shitty drag-drop stuff. But I only use the editor half of it.
 
user1596138
 
user1596138
The preview pane on the right runs code live. That's what keeps me using it, otherwise I'd find something else but nothing has this in such a simple way. DW has it's own stupid shit, but it's not just a simple eval window.
 
eclipse can have something like this iirc
 
@Shmiddty If you want an example of a strongly typed prototype-based language: ioke.org
 
8:28 PM
@Jhawinsss Isn't taco just for markup?
I'd suggest Sublime Text or Brackets
 
user1596138
@Jeremy It's a text-editor with syntax highlighting and a preview pane... It's for anything that Sublime is for haha
 
Oh, just saw your comment about Sublime
@Jhawinsss Oh, okay. Didn't know. Well whatever makes you most productive is the best one
 
@BenjaminGruenbaum man you really read the entire transcript for days you've missed?
 
user1596138
Nothing I can find has this eval/preview functionality. It's the most useful thing I've seen in an editor. I don't get it.
 
I tried to do it a few times and soon stopped that shit
 
8:31 PM
@Jhawinsss look at lighttable. Or litable
@Zirak look at litable ^
 
@JuusoPalander 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.
 
user1596138
@FlorianMargaine Ugh. 10.7+... Be back after I swap machines.
 
@FlorianMargaine Neat
 
@Neal re: Queue object: don't you need to do this.queue = [] in the constructor, or have I misunderstood?
 
@Jhawinsss Are you looking for something split-window, or just a live preview functionality?
 
8:33 PM
@Zirak Yeah. litable is made by a guy idling on #emacs
 
!!weather Denver
 
@Shmiddty Denver: 94.3159F (34.62C, 307.77K), scattered clouds
 
!!weather Cleveland
 
@rlemon Cleveland: 73.3819F (22.99C, 296.14K), Sky is Clear
 
!!weather grenoble
 
8:34 PM
@FlorianMargaine Grenoble: 18.33C (291.48K), sky is clear
 
oh cool, context sensitive units
 
!!weather Saturn
 
@rlemon Mangalia: 21.949C (295.099K), Sky is Clear
 
seems a bit cool for saturn
!!weather Kitchener, Ontario. Canada.
 
@rlemon Kitchener: 22.85C (296K), overcast clouds
 
user1596138
8:35 PM
@Jeremy Definitely the live-preview functionality. But it has to literally just be a browser as preview. It needs to run absolutely anything a full browser would.
 
@Jhawinsss I've seen a few editors, mostly html editors, with it. There's Espresso, which seems to do more, and I'm certain I saw an Emacs mode for it (or maybe it was just for LaTeX?)
 
there's an emacs mode that previews latex?
damn you, I might have to go back to it.
 
!!weather Los Angeles
 
@Shmiddty Los Angeles: 73.1119F (22.84C, 295.99K), light rain
 
user1596138
@Zirak Thanks., I'll check it out! Most of them are technically HTML editors. But honestly, a text-editor with syntax highlighting is whatever kind of editor you want it to be.
 
8:35 PM
9
Q: How to preview LaTeX in Emacs?

hhhI want a similar layout as in SO, I use it currently as my editor but I would like to find such tool under my fingers. I am more vi-prone so having hard time to get preview-latex working with emacs. I don't know whether it is the right tool but I want to see things shortly after typing some long ...

 
@rlemon No, just wondered why okok was banned :P
 
@Jhawinsss Why don't you just put the browser window and the editor side-by-side? Then you could go with something like brackets
 
!!weather San Francisco
 
@Shmiddty San Francisco: 71.222F (21.79C, 294.94K), Sky is Clear
 
user1596138
Taco has built in highlighting for most web-based languages too.
 
8:36 PM
@BenjaminGruenbaum long time coming.
 
@rlemon also, I would probably not, and I quote, loose my shit.
 
user1596138
@Jeremy Then I have to constantly reload the browser...
 
:P
Yeah, long time coming, I was expecting a year the last time tbh
 
minitech decided enough was enough
 
@Jhawinsss Nope, it has built-in live preview functionality.
But so do a lot of text editors
Let me find a video, give me a second
 
8:37 PM
then he came back in with his second account and mocked us for the ban and minitech banned that account
and if he creeps back in with new accounts in the meantime we ping minitech and he bans them as well
we <3 minitech
 
@Jhawinsss But if you have multiple monitors like I do, it's trivial. All editors with a plugin system have a web-refresh plugin (or you can use some npm package which does it), you open the editor in monitor A, browser in monitor B, voila.
 
user1596138
@Zirak I'll have to get a second monitor then!
 
user1596138
Haha that'd be pretty nice.
 
@Zirak Yeah I don't see why simply having a browser pointing at http://localhost/ is so hard.
 
@rlemon Link?
 
8:38 PM
@Jhawinsss css-tricks.com/video-screencasts/107-livereload. Chris introduces a program called live reload
But brackets has similar functionality built in, regardless
 
user1596138
Will have to check it out when I'm off the clock.
 
@BenjaminGruenbaum it was shortly after. :/ I'll grab it
 
@Zirak JetBrains also comes with such a plugin.
 
user1596138
Won't have time to play with Light Table and read something :P
 
@Jhawinsss well, they're just suggestions. If taco is great for you, there's no need to change
 
8:39 PM
@Jhawinsss But I usually don't have to use the other monitor. My editor is always 80 columns wide (162 columns if I want 4 buffers), and I have a decently sized screen, so a browser easily fits in the rest.
 
user1596138
 
user1596138
Looks pretty nice.
 
Your indentation...
 
@Jhawinsss what editor is that?
 
user1596138
@OctavianDamiean Light Table
 
8:40 PM
@loikkk 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.
 
@Jhawinsss Fix your indentation I mean it
 
what indentation? I can see no indentation
 
user1596138
@Zirak I told Sublime 3 to convert all my indentation to tabs... And it removed all of it.
 
user1596138
It was a few minutes ago... Geez guys.
 
Did you fix your indentation?
 
user1596138
8:42 PM
 
user1596138
Little bit better now :P
 
four spaces is too much IMO
 
user1596138
I use tabs.
 
@Jhawinsss ew
 
@JanDvorak ew back
 
8:43 PM
Good. Now, about the second half of the code...
 
TABS > SPACES
 
user1596138
I just threw that at a beautifier. I don't have access to the server with the original script on it right now. That's before Sublime raped it.
 
@rlemon if you mean "bigger", then yes
 
NO SPACE/TABS ARGUMENT
 
@Jhawinsss Have you used it much? I tried it not long ago on Win7 and it crashed frequently.
 
8:44 PM
@JanDvorak 1 byte TAB vs 4 byte spaces ??? your argument is invalid
 
user1596138
@NagaJolokia I'm using it now on a Mac and it's pretty nice.
 
Mhmm, that Light Table thing looks interesting.
 
They're worse than religion arguments...
 
@Zirak but so much fun
 
user1596138
@OctavianDamiean lighttable.com
 
8:44 PM
so far i'm not liking light table.
 
Cheers, I'm already done downloading it. ;)
 
what the hell is with the side text on it's side?
horrible to read
 
Did you read up on its philosophy and goal?
 
user1596138
@Zirak This was a script sitting on this machines desktop from about a year ago. I started actually developing about 14 months ago. So it is one of the first things I wrote. I take no shame in it :P
 
@Zirak I did a long time ago (when it was first announced) but never checked it out
I just don't like it is all
 
8:46 PM
Basically.
 
n++ has a lot of annoyances but when i'm on windows it is still my goto
 
user1596138
@Jeremy That's the problem. Taco is Mac only and I hate using OSX.
 
good night everybody
 
user1596138
What? Why?
 
user1596138
8:48 PM
@FlorianMargaine You suck.
 
blasphemy is not allowed
 
@Jhawinsss Oh, so you want a live preview editor for windows? Or linux?
 
user1596138
@Jeremy I'll need both. I end up stuck with Windows often. But Linux is definitely my main OS.
 
Live preview = F5
 
user1596138
8:50 PM
@NagaJolokia What editor?
 
Chrome
;)
 
user1596138
Refresh!
 
:-)
 
Hey hey hey
 
user1596138
No getting out of that. You got me.
 
8:51 PM
I use both tabs and spaces AT THE SAME TIME
 
@Jhawinsss I HURD DREAM WEEVER HAZ LIVE PREEVIEW! U SHUD CHECK OUT!
 
user1596138
@rlemon Hahahahahahahaha. Yeah, sure.
 
no really they do
 
user1596138
I know it does.
 
but why do you need live preview
 
user1596138
8:52 PM
I meant "yeah, sure" to the sarcasm.
 
the integrated browser will NEVER be your target browser anyways
offers little value
 
^
 
user1596138
It's useful. It's great for debugging or just playing around with things.
 
chrome console/dev tools is awesome for that
 
Have you considered what I said above, putting them side-by-side with an auto-refresh plugin?
 
user1596138
8:52 PM
@rlemon My target audience uses Safar 5. The preview window in Taco HTML is Safari 5. Your argument is invalid ;)
 
user1596138
@Zirak Absolutely. I think that's what I'll do.
 
@Jhawinsss no, it is a version of Safari 5 they forked.
it is not Safari 5
 
user1596138
If I can do that with Sublime I'll be golden.
 
(assumption, never used Taco)
 
What if the integrated browser is a good one? code.google.com/p/chromiumembedded
 
user1596138
8:54 PM
@rlemon Same engine.
 
chromium is awesome, but still has inconsistencies with Chrome to the point that you can't really test on chromium for chrome
 
Like what?
 
last I used it (<1 year) there were inconsistencies with layout
how css was rendered
 
user1596138
I've never once found the Live Preview windows rendering to differ in anyway whatsoever from the actual Safari rendering of a document.
 
I use both, there are some inconsistencies but they're pretty minor.
 
8:55 PM
some other strange presentation issues I had
 
We even see different behavior on mac chrome sometimes, so we've added it as a tested platform.
 
@Jhawinsss Even if that's true, you are constraining your choice of editor.
 
enough to make me not use Chromium
 
but chromium sounds sexy
 
mmhmm. and (was)/is the default for Ubuntu
 
8:56 PM
Hey guys
 
^ default Google browser, FF was the Default
 
user1596138
@NagaJolokia Which is why I wish all editors had this.
 
Same version Chrome/Chromium? The only difference I know of is that Chromium is barer (Chrome has some proprietary plugins, like pdf viewer and mp3 support)
 
FF is default now, Chrome was default.
 
user1596138
I saw a plugin once for live-refresh or whatever in Sublime using any browser. I think I'll use that.
 
8:57 PM
@Zirak yea it was the same.
there was issues about the stuff I found. never checked to see if they were fixed.
 
huh, I thought Chrome wouldn't be available as a main Ubuntu package because of Debian's software licensing (again, proprietary stuff)
 
like for instance: chromium didn't inherit background colours for the expanded select list, where Chrome did.
 
user1596138
Yup. That's what I'll do. Sublime with the Browser Refresh plugin.
 
@Zirak wasn't from the Software store or w/e
 
I've got a reputation around the office
 
8:58 PM
you had to include your own ppa
 
I'm "the guy that wins all the crappy raffle prizes"
 
@Jhawinsss Any editor that can run an external command has this.
 
n++ ftw
 
It may have something to do with my first win. Room with 100+ people, they're raffling an umbrella, they call my number, I (without thinking) let out a moderately loud "AWWWW."
(bear in mind they were also raffling HD tvs, kindles, ipods, etc)
 
9:00 PM
Haha
 
@Jhawinsss ^
 
Hey! Komodo edit has a similar thing
 
I use sublime
 
user1596138
@rlemon Yes, I know about that. But I want another window to sit and update as I change things.
 
Same sort of situation (but not in a crowded room) this time. Everyone gets an email with the winners from the raffle. Lo and behold I'm on the list... winning a coffee mug.
 
user1596138
9:01 PM
I also hate notepad++
 
2 messages moved to Trash can
 
@Jhawinsss why?
 
He's trying to hide dissent!
 
bad experience?
 
user1596138
9:01 PM
This is the answer guys.
 
user1596138
8
Q: Does the Sublime Text 2 editor support real time HTML & CSS preview?

user1528138Does the Sublime Text 2 editor support real time HTML & CSS preview?

 
user1596138
Problem solved haha.
 
JetBrains IDEs :P
 
anywho
5pm
 
----- – Samsung Tablet
----- – DTV Cooler Bag
Corey Hart – DTV Coffee Mug
----- – X-Box
----- – Samsung HDTV
----- – IPod Touch
----- – Kindle Fire
 
9:02 PM
l8trs
 
bai mark
 
^ what do you guys think ? its my first attempt to modelling probability distribution in js
 
like ten seconds later, my boss' boss sends a reply Corey wins all the sweet prizes!
 
@Shmiddty At least in 2 year's time you'll still have a state-of-the-art model.
 
haha
 
9:04 PM
Then who'll be laughing?
 
Everyone else when I've got 13 umbrellas and 10 coffee mugs lining my desk
 
@Darkyen First comment, throw instead of console.error
 
I hate jam-packed UIs. So that includes N++.
 
I then sent a response "Please don't raffle any tube socks next time, I'm all set."
 
:-D
 
9:07 PM
@OctavianDamiean N++ is pretty minimal...
 
I need a new umbrella. :-/
 
I've got two
 
@Shmiddty UI-wise, no.
 
@OctavianDamiean ever worked with visual studio?
 
Anyway, catch you later, gonna get some sleep.
 
9:09 PM
Good night
 
@Shmiddty Comparing it with something worse doesn't make it good. ;)
 
@Shmiddty Visual Studio is very useful, you do have to set the UI correctly yourself.
 
@OctavianDamiean You may as well call Notepad itself "jam-packed"
 
@BenjaminGruenbaum k
 
9:12 PM
@BenjaminGruenbaum But, by default, it's pretty "jam-packed"
 
I'll take a screenshot :)
It's usually a lot neater
 
Quick, steal all his code
 
Linq, I miss linq.
 
Lol, and with nasty old code opened too :P
 
when do we get lambdas in JS again?
 
9:25 PM
Note how I have both jQuery and jQuery.min in the Scripts folder - indicating a good design.
 
@JayLane 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.
 
ewwwwww
w
thats windows 8
 
array.filter(x => x.prop === "value").sort((a, b) => a.prop < b.prop); want.
 
@Cygwinnian You ain't got shit on my setup :)
 
bananas are great for potassium
 
9:28 PM
I wonder if it can be made shorter. Not saying that it should :)
I mean, technically you could do something like
array.filter($0.prop === "value").sort($0.prop < $1.prop);
Wait nvm, that would be retarded - something you'd expect at an abomination like perl. Forget I said anything.
 
yeah.
 
Why did you delete those messages @BenjaminGruenbaum
 
context.
 
@Cygwinnian They 're were both about you .
 
/afk smoke
 
9:33 PM
Something like this is my usual setup
 
Oh, I use two desktops, one for development and one for internet nonsense, both have browsers but the development one has less :)
 
@Jhawinsss Imagine that ^, but get rid of the two IRC buffers, and replace the terminal with a browser.
 
I never got javascript#freenode
 
It's a weird place
 
@BenjaminGruenbaum Oh yeah! Well say it to my face!
 
9:37 PM
There's an entire internet between the two of you
 
@Cygwinnian No, it was nasty, and used very bad language.
 
user1125394
the person who invented the singleton pattern should be..
 
@cx What about the singleton pattern?
 
@BenjaminGruenbaum say it say it
 
@Cygwinnian No. I will not buy this record. (it is scratched)
 
user1125394
9:46 PM
 
@NagaJolokia why should I need to?
 
@Zirak top-docked console? you rebel!
 
FF console is top docked by default iirc
 
@Neal What if you've got more than one queue instance? Won't they share the queue array?
 
@NagaJolokia nope.
Try it out.
 
9:59 PM
Okay, must have misread!
 
@rlemon Not for me (Windows 7)
 

« first day (999 days earlier)      last day (3965 days later) »