« first day (1588 days earlier)      last day (3350 days later) » 

10:00 PM
@Zirak you need message to send to *Messages*
@Zirak send
 
@SterlingArcher for my dark theme
 
oh man fuel mixtures and shiz
this is getting really complex
 
@FlorianMargaine same question to you
 
@Shmiddty ?
 
user1596138
@KendallFrey Eh most of that is easy to find
 
10:01 PM
pick your top three hex colors, please avoid greys, blacks, and whites
 
not to simulate
 
@Shmiddty none
 
unless you hardcode fuel mixture
 
@FlorianMargaine ok
 
user1596138
@KendallFrey carburetors brah.
 
user1596138
10:02 PM
I'm not going to simulate EFI haha
 
yeah, I'm boring, sorry
 
@Jhawins well yeah
 
user1596138
Fuel/air mixtures can be hardcoded
 
user1596138
And thermodynamic properties obviously hardcoded.
 
@Shmiddty I think I did F5F5F5 lol
 
10:03 PM
but the whole pressure thing depends on fuel mixture
 
@SterlingArcher Pick something else
 
@Zirak print send the printed representation of an object to a stream
 
user1596138
@KendallFrey It's alright. I don't need the most accurate thing in the world. It won't be a true simulation
 
Hmm maybe like a dark purple?
 
user1596138
I'll cheat lol
 
10:04 PM
ok lol
 
user1596138
It;s just for fun I'm not even going to work on it too much
 
@SterlingArcher #404?
 
user1596138
It's a learning exercise mostly.
 
@Shmiddty yus!
 
10:07 PM
yus
 
user1596138
It's funny if you put it on only calculating 2 angles it's like the most violent sex machine ever
 
wat
how is it like me
 
@KendallFrey You're the most violent sex machine ever?
 
@Shmiddty how'd you implement the square.
 
user1596138
10:08 PM
Jus do it and use your imagination lol
 
I've done it now as well. I'll show you mine if you show me yours
 
do what
 
user1596138
angles to calc = 2
 
user1596138
Nvm lol it's not worth it it's not really that funny
 
user1596138
10:09 PM
I just had a perv thought and shared it
 
@rlemon Modified that code that you wrote. gist.github.com/Shmiddty/703b268721c779e74d5d
 
omgwtf
 
better than mine
:D
who needs css :P
 
user1596138
lol I used requestAnimationFrame and "faster" just requests another. I am so quality
 
I just refactored some of the inline CSS because the extension that I'm using makes it easy
 
10:11 PM
why do i like these
 
ohhhhhhh @Shmiddty you have to change it
I found a bug
in the if condition in parseNode add this !node.querySelector('.onebox')
 
@Jhawins 2.9 = vibrator
 
.
 
user1596138
@KendallFrey shit you used a decimal? What'd that even do?
 
10:13 PM
broke it :D
 
user1596138
HAHAHAHAHHAA
 
user1596138
Omfg
 
@rlemon ah. good call
 
user1596138
haha that's awesome
 
user1596138
Yeah that breaks it good lol.
 
user1596138
10:14 PM
That's kinda strange how it breaks the head if you do that... There is a lot of sloppy code in there for sure.
 
not as sloppy as the sex that thing makes
your init is so broken dude
every time I click it goes faster
 
user1596138
Yeah I know
 
user1596138
5 mins ago, by Jhawins
lol I used requestAnimationFrame and "faster" just requests another. I am so quality
 
user1596138
Same with init
 
user1596138
There I removed the rotate(Infinity) from the end of init
 
10:17 PM
@Jhawins that shouldn't matter unless you are performing updates on the animFrame... You should only be rendering on that one
and do your updates separately
physx loops!
 
user1596138
@Shmiddty No you can totally do another rwquestAnimationFrame and it will just be faster
 
@Jhawins The browser doesn't control animation frames?
 
user1596138
Idk I read other places that that would happen so I left it be and it works
 
hmm
my understanding of requestAnimationFrame must be wrong
 
user1596138
myEngine.rAF = window.requestAnimationFrame(function() {
    // rotation
});
 
user1596138
10:20 PM
If I do this twice it will be twice as fast
 
set angles to 31, click faster 15 times
 
user1596138
@KendallFrey Does it reverse? I noticed that happen
 
user1596138
whoa
 
no, it gets sexier
 
user1596138
That was cool
 
10:21 PM
61/30 is better
 
user1596138
I shouldn't even be using requestAnimationFrame since I kinda want control over the speed
 
user1596138
I'm new to this tho
 
I tend to schedule my updates in RAF, I just use delta times
 
user1596138
10:25 PM
@KendallFrey What?
 
delta times are the best thing since sliced bread
 
user1596138
Example
 
user1596138
plz
 
user1596138
Save me the googling lol
 
ugh, it's long
 
user1596138
10:25 PM
Oh it's fine
 
user1596138
I can check it on my own
 
user1596138
Bookmarked. I am about out of time
 
@BenjaminGruenbaum Chat client, I showed it to you before.
 
10:27 PM
oh ok
 
I now hate io.output
 
hey guys, I have a jQuery AJAX question.

Is there a way with `$.ajax()` to post some of the data in the body? or will it always be in the query string?
 
@Zirak prefer first to car most of the times
you have first, second, rest, etc
 
Debugger entered--Lisp error: (void-function first)
  (first (quote (1 2 3)))
 
10:30 PM
user image
2
 
It may be because I have (require 'cl) somewhere
 
._.
The accuracy is astounding
 
@Zirak does cdar work?
(instead of (elt foo 1), for consistency with car)
 
@FlorianMargaine There's cdar, but I used elt because it's a vector and not a list
 
ah
my bad
 
10:32 PM
I hate the elt too
 
uuuh
why did you use car?
 
Somebody help @Pheonixblade9, he's a good guy
 
A package looks like (package-name [vector-of-stuff]), so to get the package name I use car, to get stuff within the vector elt
 
lies and slander! I'm a terrible person
 
10:33 PM
Wanted to use (elt package 0) but it complained that the argument is a list
 
but the good kind of terrible
 
oh, I see
 
Fine @Pheonixblade9, drop your pants and I'll go get the hose, but swear to god it's the last time
 
@Zirak boy howdy, it's been almost 3 hours since my last backyard enema!
with friends like these, who needs enemas?
 
Apparently you do
 
10:35 PM
@Zirak I wasn't able to find anything clarifying if it was possible to send stuff in the body rather than the query string for $.ajax, or if I should be using something else.
 
@FlorianMargaine I dunno why, but let still feels weird.
 
I get it, but...weirdness
 
Basically I have an HTML editor and I'm doing a POST back to the server to save it
 
@Zirak really?
feels pretty natural
 
10:36 PM
@Shmiddty does the fact that it's a POST make it not use a query string for the data arguments?
 
That extra nesting
@Pheonixblade9 uuhh, if you post then I think jquery puts it in the data section automagically
 
@Pheonixblade9 jquery makes some assumptions about what you want
 
ahhh, that makes sense
I have been using fiddler to inspect the posts, I'll give that a shot and see if it's in the body
just seems completely ridiculous to me to have a chunk of HTML in the query string, that's why I'm doing this
 
devtools?
 
Fiddler's the one thing I miss on linux
 
10:37 PM
fiddler?
 
@Shmiddty I'm locked down to using a very restricted VM for the project I'm on. I can't even use Chrome. I'm lucky I could use Firefox instead of IE to debug
 
how does it handle https connections?
 
@FlorianMargaine http proxy/interceptor. Allows you to see traffic, change requests before they're sent, change responses before they're received, even script it.
@FlorianMargaine By default doesn't do anything, you can enable decryption by installing a root certificate.
 
@Pheonixblade9 *smh*
 
ah. Cheating.
 
10:39 PM
@Shmiddty yeah. It's for a very large insurance company.
 
@FlorianMargaine Besides some bad naming in save-archive, looks legit?
 
Yay the life of a consultant.
 
Hi there
Happy Saturrrday!!
 
@Zirak uh sorry. Yeah the naming is bad for all the functions, usually you prefix with the thing. You'd have package-get-name, package-get-version, etc. You're right that the data structure sucks, so make your own (for example, you have to do (cdr package) twice). Use (require 'cl), it'll just help your life. Really. Otherwise, nothing to say, your code is beautiful as always.
 
@darkyen00 I read it, seems good.
 
10:43 PM
:D
 
@FlorianMargaine oke doke, thanks
 
also @darkyen00 I am not sure if bluetooth is such a good option :/
 
@AwalGarg its not, but we always can fall down to sms ;-)
 
Also, in case you were wondering, melpa is 210mb total
 
for the first efew demo it should work
 
10:45 PM
With 2327 packages
 
@Zirak last thing: if you're going to share this... prefix with either a pseudo-namespace (i.e. zirak/package-get etc) or prefix in the function/symbol names
 
@AwalGarg wanna start writing code ?
 
@darkyen00 cool. So how did it go with SBI? ^_^
 
@Zirak heh
 
i can give tyou a good starting point
 
10:45 PM
@darkyen00 yep
 
@AwalGarg going mumbai soon to finalize it.
@AwalGarg I need you to write a SIMPLE
completely CLIENT SIDE
 
@FlorianMargaine oohh, zirak/get-package wink wink, nudge nudge
 
ecommerce "web-site"
just use react + flux
 
@Zirak ><
 
on the payment i will give you a simple api to hit ;-) deal ?
 
10:46 PM
@Zirak I'm sorry but that seems to have returned a 413
 
Do I have to make it pretty with css?
 
@AwalGarg yes.
 
:'(
 
should i give you a dribbble to rip-off ?
 
@Zirak your fiddler seems interesting...
 
10:47 PM
I need it for a demo. bro
and i am too busy working on react-canvas
atm :-x, funny enough ? my demo with react-canvas is a e-com app
 
Cool. lemme try.
 
@rlemon It's usually a 417
@FlorianMargaine Like wireshark, it'll change you.
 
Also, is it just me or do any of you read the !important in CSS as not important everytime?
 
@Zirak oh I know wireshark. But it's boring to just show the network packets (even if there is filtering...)
 
@AwalGarg do it this way
Have the screen divided in 2 halves
8 col / 4 col
8 col present a product list with a search on top (just name)
and the 4 col show the items in cart
 
10:49 PM
@Zirak mine was funnier
 
does that sound like a reasonably simple website ?
 
so just one page? ^_^
awesome :D
 
yep
and for images use LoremPizza
by @rlemon
add some beverage images by yourself
@rlemon y u no make loremdrink.com ?
 
hahahaha
 
you just selling pizza no sides :-(
 
10:50 PM
lorempizza lol it is such an awesome service @rlemon
 
@darkyen00 github.com/rlemon/lorempizza.com make it yourself :P
 
now, @AwalGarg this is most important you must call the pizza selling service
LemonKnows
@rlemon no time :-(
 
bahahahaha I remember your "placeholder" names from cookaroo lol
 
the entire thing is 57 LoC
you make the front page and dump the images into the specified folder
done
 
oh btw @darkyen00 wassup with cookaroo?
 
10:52 PM
@AwalGarg idk.
I am working for a much better company now
 
eh?
oh
ah
 
They probably are stll recursively changin b-plans
ps they hired a developer who asked me c-panel details for gh-pages !
 
lol
give him some funny commands to execute and shit his system :D
@darkyen00 why react and flux? I have never used either, and JSX just looks shit to me :P
 
Because our whole client is written in React + Flux
you can use react without JSX (good luck on that though)
 
52 reps.. how hard can it be !
 
10:56 PM
Yeah, but then react looks weird :D
 
addyosmani.com/resources/essentialjsdesignpatterns/book //anyone has read this book? Good/bad? I skimmed and saw he uses libraries a lot :/
 
hi anyone can help me to solve this for my youtube video downloader bookmarklets

I want to keep only youtube video ID in following code

javascript:(function(){window.open('http://wapdude.com/download/Download?id='+encodeURIComponent(location.href)+'')})();

Result should be : http://wapdude.com/download/Download?id=LIQZ6CjpHUA

but when i test above code i found that it takes whole youtube URL instead of youtube video ID

Instead of above result i got this : http://wapdude.com/download/Download?id=https://www.youtube.com/watch?v=IUeqywml0SU
 
@PawanMall 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.
 
@AwalGarg @BenjaminGruenbaum recommends it, I don't like it
 
10:59 PM
@AwalGarg it's a bit outdated.
I still recommend it, but not as much as two years ago.
 
Yep, you take the whole `location.href` when you only want a part of it. Look into `string.match` and basic regexps:
!!tell PawanMall mdn string.match
 
The way we apply patterns in JS changed, and I think some of what the book has is sort of an anti-pattern
 
@Zirak I don't like it either purely because of my strong inclination towards Vanilla JS and his 'too-much' use of libs.
@BenjaminGruenbaum ahh
 
@AwalGarg He uses too much libs? I don't remember that part
 
11:01 PM
@BenjaminGruenbaum well, a better alternative then? Looking in to read about design patterns.
 
Only talked about them
 
Don't really have any. Sorry.
 
@AwalGarg Don't bother, it's pointless.
 
@Zirak I just skimmed and I saw a lot of $$, _ and stuff.
@Zirak oh, so just a buzz-word it is, then?
 
@Zirak can you send me the update version of the bookmarklets code if you can because i'm beginner and just start learning JS
 
11:04 PM
Well, I was googling good stuff to read on programming before I sleep :P found it, thought would ask here.. :D
 
I don't like design patterns because after learning them, you try to apply and "identify" them, most of the times badly because patterns are usually just things which resemble other things. So you rewrite some code to make it fit the pattern and resulting code is horrible.
@PawanMall Nope!
Hit F12, discover that your browser has a js console, and start playing
 
@PawanMall Opinionated Recommendation for playing with JS: FF's scratchpad.
 
Look at the functions strings have, find the one which looks relevant
 
Thinking about how to write fiddler... The architecture would be quite simple. Make a proxy that just naturally proxies in normal conditions, and just doesn't send the http requests to the internet but to your app if the app is connected. Then let the app send the request afterwards
 
@Zirak so other than design patterns, anything good to read about?
 
11:08 PM
@AwalGarg Programming material? Technical (like "here's an awesome API or language") or "meta" (like "here's a way of thinking about things")
 
Opinionated recommendation to play with js: jsh :P
 
@Zirak the latter!
 
Steve Yegge is always highly recommended
 
thanks :)
 
Crockford's website is also good (keep a sharp mind though, don't let him lure you too deep)
 
11:10 PM
sounds like Crockford is the devil in person :p
 
This one is pretty cool swtch.com/~rsc/regexp/regexp1.html
 
@Zirak I honestly don't believe in one fourth of the stuff I have read from Crockford.
 
If you have the stomach for academia: media.proquest.com/media/pq/classic/doc/1917964651/fmt/ai/rep/… this will change you
 
@Zirak thanks, bookmarked
 
Chris Granger sometimes says interesting stuff
 
11:13 PM
The good thing in Addy Osmani's book is that he starts with an overview of design patterns.
 
Paul Graham...sometimes. Also take everything with an enormous grain of salt.
 
@Zirak this one looks awesome!
@Zirak not good :(
 
tbh I haven't read any programming books which stuck with me. There're the books I recommend to keep you human, like The Little Prince, Catch 22, Ender's Game, Alice in Wonderland, Winnie the Pooh, etc
 
thanks for all the links Zirak! gonna read a lot :D
@Zirak You didn't mention any Harry Potter book :( </3
 
@Zirak /me rants on about how great pg is
 
11:17 PM
Practically every talk by Bodil Stokke, Rich Hickey, Joe Armstrong is recommended; videos though
 
Chris Granger hasn't said anything interesting in a while...
 
I am unable to watch videos because of ... stuff...
 
@SomeKittens Oh, he's a little bitch with a big mouth and you know it deep down
 
There are a lot of jsConf talks I would like to watch
 
11:19 PM
@AwalGarg many videos have subtitles (if that's your "stuff")
 
@AwalGarg If it's bandwith, some download-from-youtube sites can reduce the quality for you
 
On YouTube though. Not so much on vimeo.
 
@FlorianMargaine bandwidth is the problem
 
Then what Zirak said.
 
@Zirak that's how I downloaded a UX and algs talk in 4 hours :/
 
11:21 PM
oh. That sucks. Mail you some usb sticks?
 
:O ^_^ yea
oh btw, jsfiddle.net/0jz4qt95 anyone click the dam button and see what's happening? (@Zirak)
 
@Zirak ...right
 
why does it goto bar first?
 
Because capturing happens before bubbling
 
...please tell me this is not written in the spec and you know this because of some magic
I read the thing like three times :/
 
11:26 PM
It's in the spec
There's even a diagram IIRC
 
yep, saw the diagram. didn't read that capturing happens before
oh right, it is there
 
@Zirak have you read "Altered Carbon" ?
 
@tereško Nope! Good enough to be in the "Must Read" list?
 
why can't they write things in normal english :/
 
yeah, it was quite awesome
 
11:31 PM
Added, thanks
@tereško The Knife of Never Letting Go?
 
and from the serious books I found "The Prince" really good
 
@Zirak then also read HP6 if you haven't.
 
@tereško We've argued about The Prince before, didn't we?
 
@Zirak nope
 
11:33 PM
@AwalGarg HP = Harry Potter? If so, read the entire series, first two books were good, rest was a gradual decline in quality
 
as for children books, I guess I have only read Harry Potter and the His Dark Materials series
 
@Zirak I found the first two and the 6th one too good :D and yea, the others are just meh :P
 
@tereško oohh, His Dark Materials was exceptionally good, considering the genre. I can still read it today, while things like Septimus Heap and Artemis Fowl are now meh
 
Time machine by HG Wells is probably read by every single book lover :D
 
@Zirak true
there was one more childern's book that I read about a girl who was a necromancer
but I cannot remember the name
 
11:37 PM
Dragonkeeper?
 
In here we have "panchtantra"
 
"Darkest Powers"
it listed under YA, but the protagonists were in the early teens
didn't finish the series though
 
my brain hurts
 
but I still remember it because the contrast between characters and themes was kinda disturbing
 
oh, I saw those books in a book store, but the...uhm...not sure the English term for it, but book description on the back made it sound like yet-another-teenage-drama.
 
11:39 PM
it kinda is, but I liked how it was made ... then again , I did not finish the series
 
synopsis
 
@FlorianMargaine facepalm thank you
 
you're welcome. It's not every day I make you facepalm, so I'm kinda proud
y'know
 
Mistress of Dragons (and later books) were pretty decent dragon fantasies, as guaranteed by Margaret Weis
 
heh
the only high-fantasy that I have read extensively has been J.Butcher's "Codex Alera"
it's kinda what you get when you cross roman legion and pokemons
 
11:43 PM
codex/pokedex... fair enough
 
tries to imagine hoards of Roman soldiers yelling out their names
If you're like me and kinda got fed up with fantasy, The Name of the Wind is amazing
 
actually, I can even recommend it, bit I must warn you that the first book start out when protagonist is quite young (and he gets older with each new book at the rate of +3 years or so per book)
 
Why's that warn worthy?
And thanks, noted
 
because the series starts out with a kid as protagonist
 
it's not always bad...
 
11:46 PM
oh , and it also has talking/walking wolves, which happen to be 9+ feet tall
 
@Zirak you got me there. I'll write fiddler for linux in lisp.
but tonight I'll just go to sleep. It's almost 1am.
 
@Zirak I have lately been sticking with mix of urban fantasy and cyber punk
 
@tereško I admire people like you who still have the stamina. After burning through several fantasy books in my teens, I simply can't stomach any more, unless they bring something exceptionally new to the table.
 
I'm looking for a post asking to explain one of those cryptic [[]++,+[]][[]-[],{[]--}] things.
I remember seeing it but can't figure out the right search.
 
@SuperScript the console can teach you all of it
 
11:53 PM
I need to flag a duplicate.
So I want to find the original...
 
ahh
 
532
Q: What is the explanation for these bizarre JavaScript behaviours mentioned in the 'Wat' talk for CodeMash 2012?

SLCThe 'Wat' talk for CodeMash 2012 basically points out a few bizarre quirks with Ruby and JavaScript. I have made a JSFiddle of the results at http://jsfiddle.net/fe479/9/. The behaviours specific to JavaScript (as I don't know Ruby) are listed below. I found in the JSFiddle that some of my res...

 
oh, a post
 
@Zirak try this one .. you can also get it as audiobooks (read by James Marster) , genres is urban fantasy
 
@tereško Remembering the different factions and religions and political systems...it's too much. Murakami, Asimov and Philip K. Dick are "softer"
 
11:55 PM
@FlorianMargaine that only mentions [] + [], there was one with more...
I'll keep looking myself.
 
@tereško m'kay, thanks
 
Any manjaro user here? or arch?
 
hey guys :D
 
@user2147483648 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.
 
yeah, for reading high fantasy you kinda would need and access to a spoiler-free wiki, that you can use to "recall" what you have (or expected to) learned up till page 1328
or something like that
 
11:59 PM
@AwalGarg I use arch, what manjaro is based on.
 
otherwise you get confused .. then you google and get spoiled
it as fucking loose-loose situation
 

« first day (1588 days earlier)      last day (3350 days later) »