« first day (1642 days earlier)      last day (3308 days later) » 

5:00 PM
@Jhawins flair has been around for a while
 
user1596138
FU
 
sometimes works, other times not so much
@Jhawins OK AdrenalinFix
 
 
Hot dog themed for a got dick shirt? classic
 
my retinas
 
5:01 PM
You should really change your clothes
 
nope
only so flair has themes :?
wait! wrong account
haha
 
@JanDvorak someday lol
 
THERE WE GO
 
yous gots to be tricksy
 
meesa tricksy
 
5:03 PM
yousa not in this episode, gtfo
 
@ssube xD
 
!!are you alive
Why isn't Cap working? :p
 
||are you alive
 
!!/help
 
!!live
 
5:04 PM
"NetworkError: 409 Conflict - chat.stackoverflow.com/chats/17/messages/new";
 
!!live
 
she's in a network error loop
 
NUUUU CAP
BREATHE DAMN YOU!
 
!!are you alive?
 
rip cap
rep cap
bad pun
 
5:04 PM
rap cap
 
Ohhhhh
chat logged her out
that would break it
 
> Sorry, your request could not be completed because it looked suspicious. If you meant to perform an action on Stack Overflow, please return to the previous page and try again.
the fuck?!
 
@SterlingArcher nap crap
 
RAGE AGAINST THE MACHINES!
 
5:06 PM
RRRRRRAAAAAMPAAAAAAGE
 
!!youtube archer rampage
 
user4330208
document.write doesn't seem to be working when the body element has content
 
user4330208
interrrrrrrrrresting
 
don't use document.write
 
5:11 PM
@carb0nshel1 very interdasting indeed
 
you need to use document.overwrite
 
user4330208
just using it for testing purposes, but i remember being able to use it like this before
 
not really
If I trash that, will you rage?
 
user4330208
doesnt work
 
fiddle pls
 
user4330208
5:12 PM
Rage, rage against the dying of the light.
 
hi I am having a problem with backbone my backbone collection collection doesn't populate when i just pass it in as props to a react compnent. jsfiddle.net/tx2ytsq6/1 I have put the code for the backbone router, decks collection and decks component
 
@user3769323 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.
 
thanks
 
user2620028
5:14 PM
Wait have i missed episodes of archer
 
will
 
user4330208
guess what. Its working.
 
should point to jsfiddle, though
@carb0nshel1 What is?
 
user4330208
i had height set to 100% so i just didnt see the document.write() was being pushed to bottom of page (off screen ) lol
 
user4330208
^^
 
5:15 PM
You're doing it wrong anyways
 
user4330208
did u see what I was using it for?
 
What for?
 
user4330208
I was writing the dimensions of the browser viewport to the page for device testing :)
 
user4330208
I doin it right!
 
Then you're using it wrong
 
5:16 PM
 <script>
    var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);
    var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);
    document.write( w + ' x ' + h );
  </script>
you're using it wrong
 
user4330208
....
 
console.log, perhaps? alert?
 
user4330208
but cant see console log on iphone lol
 
dumb question, but is there a way to pass the context of this across functions without putting it in the parameter?
 
document.body.textContent=...?
 
5:17 PM
 
@corvid functionName.apply(this, argumentsInAnArray)
 
user4330208
you guys know too much
 
get better tooling then.
don't abuse the code
@corvid bind
cc @Unihedro
 
@rlemon Never heard of it - frantically rushes to google
 
fn.bind(thisArg, [additional arguments to be seeded in the beginning of the arguments list ])
 
user4330208
5:19 PM
I'm curious about your fascination with lemons, R
 
.apply() is valid, too, when you don't need to get a new function pre-bound.
 
user4330208
more so worried.
 
Ah I see, that makes sense, thank you.
 
@Luggage I like .call better ;)
 
m59
I'm doing this crazy thing and it's working out really well. I'd love some thoughts. I'm using React and styling like this:
var style = {
  color: 'white',
  queries: [
    function(elem) {
      if (elem.parentNode.offsetWidth > 768) {
        return {
          color: 'red'
        };
      }
    }
  ]
}
 
5:19 PM
@rlemon is lemonjar yours? I like the name
 
@Shmiddty nope, coincidence
 
user4330208
oh lol
 
first link on "ios console.log"
 
Someone stole your name!
 
user4330208
dude thats like plagerism
 
5:19 PM
i choose .call() or .apply() based on if an array or individual arguments is easier for me at the time
 
@carb0nshel1 my name is Robert Lemon
 
you should use your very particular set of skills to find them
 
user4330208
Yeah. And my name is Carb0n Shel1
 
m59
lol
 
@m59 why not media queries?
 
m59
5:21 PM
Because they're wrong =D
 
user4330208
?
 
My earbuds just stopped working D: no music today...
 
media queries are wrong?
 
user4330208
media queries for what?
 
@Luggage es6 rest params make apply more useful
 
5:21 PM
he hates css and thinks js is better to style with
 
user4330208
rotfl
 
@m59 or attribute queries, I guess
 
m59
Modules don't want to style themselves based on the screen size, they want to style themselves according to the space available to them.
 
user4330208
funny
 
@Luggage well that is just wrong.
 
5:22 PM
Another dumb question: is there a good way to select all child nodes that have height that are NOT among another list of nodes?
 
You don't have to tell me. I'd do everything in css if I could.
 
user4330208
use JS instead of media queries. GL
 
using js to 'correct' styles or visuals is wrong.
that is the job of css
 
You can't make a discrete gradient with CSS
 
@JanDvorak yea there is a bunch of stuff css sucks at. so you are forced to do nasty things
 
user4330208
5:23 PM
ive been using window.matchMedia to add JS for media queries.
 
but media queries?
 
using JS to add/remove classes is where I draw the line. That's often needed.
 
user4330208
only when CSS can't do the job tho
 
when it's data driven, css can't.
 
user4330208
CSS can't add or remove classes, tho. Correct?
 
m59
5:24 PM
This article smashingmagazine.com/2013/06/25/… and React's use of inline styles got me thinking, why not just have a full programming language that can do anything... so I just started using JS. It's been amazing so far.
 
> why not just have a full programming language that can do anything
 
in jQuery, can you use bracket notation to have a dynamic variable method call?
 
it's called jQuery and it's a mess
 
I still refuse to use inline styles
 
user4330208
@m59 JS still can't create human life
 
5:25 PM
@SterlingArcher Can? Yes. Should? Hell no.
 
var x = "click";
$("#derp")[x](function() { // });
That's valid? Ew
 
yea
assuming x is a string with a method name like "click", etc.
 
m59
@SterlingArcher of course, lol.
painful to the eyes, I guess.
 
user4330208
codepen always makes me question my existence and reality itself.
 
5:26 PM
you on lsd?
 
He must be on something
 
Don't worry, I suggested $(el).on(evt, myEventHandler); initially
 
user4330208
never not been on lsd
 
Was just curious if bracket notation worked like that
 
not much better
 
5:27 PM
@SterlingArcher yep
 
@JanDvorak how would you go about it?
 
object["something"] is 100% equivalent to object.something
 
m59
So, no one wants to present actual thoughts about JS only styling?
 
@SterlingArcher do what?
 
@m59 it's certainly not good
 
m59
5:27 PM
but why?
 
!!> var foo = {bar:{baz:{banana:function(str){return str;}}}}; foo["bar"]["baz"]["banana"]("two point nine")
 
@Shmiddty "two point nine"
 
@JanDvorak dynamic event methods
 
m59
I'm doing it and it is very, very good.
 
CSS styling will be more flexible, more concise, and better supported/documented
 
5:28 PM
@m59 more CPU intensive, relies on javascript being enabled
 
css is MADE for it.
 
@SterlingArcher why?
 
@Shmiddty "SyntaxError: expected expression, got '}'"
 
There's a thing that does it better, so use that.
 
5:28 PM
Just curious
 
zzzz
 
@Shmiddty "two point nine"
 
JavaScript Style Sheets (JSSS) was a stylesheet language technology proposed by Netscape Communications Corporation in 1996 to provide facilities for defining the presentation of webpages. It was an alternative to the Cascading Style Sheets (CSS) technology. Although Netscape submitted it to the World Wide Web Consortium (W3C), the technology was never accepted as a formal standard and it never gained much acceptance in the market. Only Netscape Communicator 4 supported JSSS, with the rival Internet Explorer web browser choosing not to implement the technology. Soon after Netscape Communicator...
 
m59
@JanDvorak agreed, for sure. I wouldn't use it for anything major "yet". Performance, perhaps, could be figured out somehow...
 
@SterlingArcher your .on(x, function() { ...}) is 'better' than the [x](function() { ...}) because it makes it clear you are using an event
 
5:30 PM
@m59 It's a maintenance nightmare. Especially if the design of the project you're working on changes frequently
 
> Although Netscape submitted it to the World Wide Web Consortium (W3C), the technology was never accepted as a formal standard and it never gained much acceptance in the market.
:'(
 
@Luggage I agree, on() was my go-to
 
m59
@Shmiddty why?
 
@BoltClock That's... not terrible
 
@m59 Also consider theming. You can swap out the .css if you need, say, a high contrast version.
 
5:30 PM
@m59 also, hard to handle dynamic content. Also, it makes a mess of innerHTML
 
@m59 Because CSS allows you to apply the same style to multiple elements with a single statement. Inline styles are duplicated on any element that needs them.
Which means more code points to touch to make changes
Which means more potential bugs and mistakes
 
m59
nah, man, you use a shared module.
 
Even if you were to use element selectors to apply themes everywhere, you're still applying them to every element.
 
= more memory usage
 
m59
Actually, I'd probably use CSS for defaults like that, and inline for specifics.
 
5:32 PM
There's no way in JS to say "here are my rules, apply them as appropriate," you have to go element-by-element.
 
@m59 don't
 
Only use inline styles for animations
and only for animations that CSS doesn't support
 
it's good to use for anything CSS doesn't/can't support
 
They are also handy for scaling elements programatically
 
although you should generally avoid such things
making styles that dynamic tends to hurt UX
 
5:33 PM
@Shmiddty so is display:table
@ssube "reactive design"
 
@JanDvorak Well, I'm talking about scaling interfaces. E.g. scaling a rectangle in a drawing tool
 
I made a coffee, did anyone bitch about separation of concerns?
 
@Shmiddty Yeah... too dynamic
 
@rlemon I hope you used separate grinder and brewer, you heathen
 
@rlemon not yet; plenty of other concerns
 
5:35 PM
@SomeKittens He made a raspberrypi grinder/brewer module
 
@SomeKittens k cups. fuck the environment
 
Like in Honey I Shrunk the Kids
 
coffee { color: black; }
 
@Shmiddty AND I'LL BET YOU STUFFED THE MODELS ALL IN THE CONTROLLER, DIDN'T YOU.
 
@SomeKittens the models are in the views :D
 
5:36 PM
@SomeKittens It's just a prototype!
 
Hi @all.
 
yea.. everything is just a prototype until it goes into production
 
Hi @darkyen00
 
hows everyone ?
 
We're upset, @darkyen00
where have you been all night?
 
5:36 PM
why so serious ?
 
We were worried sick.
 
they were
 
@Shmiddty oh i was abducted by a zirak + unicorn offspring.
 
Morning
 
I've been cleaning it up for hours
 
5:37 PM
@darkyen00 kinky
 
@darkyen00 @Zirak doesn't sleep with Unicorns. just goats.
 
Yeah, I had to feed it my pet rainbow :'(
 
@darkyen00 I think you mean by Zirak, a unicorn, and The Offspring
 
@rlemon oh he is a secret sperm donor for the legion of unicorns.
oops, I wasn't supposed to mention it here
 
The Offspring's first album was great
after that...
 
I love the Offspring... my earbuds are broken, though :(
 
user4330208
is that boltclocks real pic
 
I really only like Smash
the rest of the albums were too "pop" ish for me
 
nvm just see the history.
 
@carb0nshel1 yes, Stackoverflow invented magic.
 
5:40 PM
// asked by carb0nshel1
 
and turns mods into cartoons
 
I saw them open up for Marilyn Manson. That was cool.
 
user4330208
just sayn, she kinda pretty doe
 
I would have loved to see them live
@carb0nshel1 Bolt is a dude
 
@carb0nshel1 they also get free rainbow coupon cards.
 
5:41 PM
ahh @rlemon the issue I was having last night's solution is so dumb.
 
@Rooster refresh my memory?
 
user4330208
...
 
well, when last we left our heroes.....we had determined I was scope blocking myself
 
@rlemon CTRL+F5
 
it was a jsonp issue
 
5:42 PM
@JanDvorak funny. you're a funny guy.
how you get so funny?
 
so its a really weird issue, well its not really an issue
 
Clown college
 
Any postgres super ninja
 
sorry :-/
 
can tell me how much punishment a 512 mb digital ocean server
can sustain ? (its just running postgres)
 
5:43 PM
I'ma postgres noob that is interested in your question.
 
@darkyen00 exactly 7
 
7 connections ? requests per second ? 7 million records per second
add a unit bro.
 
yes
 
I am punishing mine very badly.
 
7 millimeters of punishment.
 
5:44 PM
so I deployed my production script on a clients page. It was deployed via adobe tag manager. Then, to work on a new feature for the same client, I straight up just copied the page source and through it in my dev enviroment. So I was working on a a new feature that will use a jsonp request to load stuff, but the callback method wasn't being found.
 
@rlemon lol that "is" a punishment :3
 
@darkyen00 it might witchstand a hit from a mallet
 
@JanDvorak but the crossbow kills it
 
I am hitting it about 250 requests per second (write)
 
it turns out what was happening was that my dev script was firing the request, but I apparently copied over the adobe tag manager loading script, so it was overwriting and object in my dev script and removing the jsonp call back method.
its a really stupid thing
so like I said, a non issue issue
 
5:45 PM
but since its starting to stall only at this mere rate
 
just took me a while to figure out what was ahppening :)
 
i wish to find the culprit.
 
but I needed to tell somebody about this nonsense because I've been working it out for a couple hours
thus ends my vent :)
 
We've all been there.
not with adobe tag manager, whatever that is..
 
@darkyen00 250 req/sec is good for a single virtual node
if you want more, you're going to need a real server
 
5:46 PM
\o/ okay then :D
 
user4330208
Why is there some starred text of rlemon discretely cursing us out. Instant permaban if I was mod.
 
yeah, idk some nonsense I'm forced to interact with because clients use things that I don't get a say in
 
it really does depend on what those requests are.. I think in reality you just have to profile your own workload.
 
@carb0nshel1 probably why you aren't.
 
@carb0nshel1 that message was directed at a mod
 
5:48 PM
> Mod.requirements.contains('humor'); // 'absolutely'
 
@carb0nshel1 navigate to his message and see the context.
 
> Mod.requirements.contains('analysis'); // 'yep'
 
@carb0nshel1 W̛͕̯͍͔ha̮̪̳̘͔ͅṭ̳͖̹͙ ͖t̺͕̙͎h̼̯̲e͔̳̹͇̺̕ ̲͎͕̖ͅƒ͔̳̲̮͔̠̖͡u͔̼͜c͔͖̯̭̹̗̮k͖͖̤̫̕ d̹̭̜͟į̹̰̫̤d̯ ̙̻̟̲̲y̳̜̯o̬̬̲̝͇͙ų j̗͔̪̪u̠͚̰̠͎̺̮s̹t̪͔͓͓͚ ̲͎͕ƒ͎͈̩̘u͍̘̭͕̹͝c̪̙̮̫̳ͅki̷̮n̸͚̝̰͙̘̼̬g̶̫͚̳̼̻̯̦ ̥̻̼ͅs͙̯̱̩͙͙͕ą̝͕̝̘̻y ̺̦̺̩͇̳a̫̳͠ͅb̳̳̳̥͈̀o͏̳͓͙ut́ ̵͚͇͓̲m̞͉̮̥̲̕e̪̹͜,̝̭͝ ̴̳̟͕̭͚ͅy̙̟͈̻͎͚͎o̘u̙͢ ̷l͓̼̼͙̬̝i̤̤̹͈̯̠͠ͅt̻̘͜t̙͙͉̳̲͈l̩̭͓̮e̱͕ ̶̮͚ß̡͈͕̰̩̥͉i̷t͈̱̫͡c̯̭̱̗͡h̢͇̺͚?̱̖͈̹ͅ
5
;)
 
He comes.
 
!!google tony the pony
 
!!tell rlemon google IXS Enterprise\
 
cool?
 
ice cold
 
user2620028
now it is starred twice lol
 
5:51 PM
@rlemon is more of a Star Wars guy, right?
 
@darkyen00 But have you priced exotic matter recently?
 
star trek > star wars imo
but it is hard to compare a diamond to a diamond
 
@rlemon cool ?
 
And you're unimpressed with the Starship Enterprise?
 
o_O dude
 
5:52 PM
Visualized
 
or maybe you knew about the experiments way before i did :-/
 
@rlemon WRONG.
 
I've seen many Visualizations of what a star ship should look like
 
/me kickbans @rlemon
 
@SomeKittens Right.
 
user2620028
5:52 PM
@rlemon does it look like a jefferson?
 
55 secs ago, by rlemon
but it is hard to compare a diamond to a diamond
 
@rlemon oh okay, well read the latter
on that page
The White–Juday warp-field interferometer is a space warping experiment to detect a microscopic instance of a warping of spacetime with the intent of creating an Alcubierre warp bubble, if possible. A research team led by Harold "Sonny" White in collaboration with Dr. Richard Juday at the NASA Johnson Space Center and Dakota State University are conducting experiments but results so far have been inconclusive. == Motivation for the experiment == The NASA research team led by Harold White and their university partners currently aim to experimentally evaluate several concepts, especially a...
if this is successful
 
That IXS enterprise is still very very much science fiction.
 
"engage" :D
 
@rlemon I remember seeing a concept where the nose of the ship was a giant cone design to collect energy in order to propel the ship
 
5:53 PM
@Luggage maybe today but vulcuns are surely visiting us soon.
 
it relied on matter we don't know exists and somethign called negative energy. Sure, the math looks promiing but absolutely no practical way of acheiving any of it.
 
@Shmiddty that was the one that warped space right? and road on the wake it created or something
could work, could destroy the universe?
 
it cant destroy the universe.
 
@rlemon Different one, I think.
 
the current alcuberie theory.
 
5:54 PM
!!> '♦' === '♦'
 
@Shmiddty Buzzard ram scoop?
 
@BoltClock true
 
@rlemon ^
 
@BoltClock :D
 
smartass
 
5:54 PM
The Bussard ramjet is a theoretical method of spacecraft propulsion proposed in 1960 by the physicist Robert W. Bussard, popularized by Poul Anderson's novel Tau Zero, Larry Niven in his Known Space series of books, Vernor Vinge in his Zones of Thought series, and referred to by Carl Sagan in the television series and book Cosmos. Bussard ramscoops are also seen in Star Trek, where they are situated at the glowing tips of the warp nacelles of spacecraft, although the hydrogen is not used as nuclear fuel. Bussard proposed a ramjet variant of a fusion rocket capable of reasonable interstellar...
 
@Luggage Yeah
 
this is what I'm thinking about
 
@Luggage this is totally different.
has anybody even read acluberrie' s theory ?
 
@rlemon Easy, just arrive NEXT to them :)
 
@darkyen00 yes, Just linked it
and it can be bad news
we don't know
 
5:55 PM
somebody speaks english :D
 
it doesn't even matter anyways, since space isn't real
 
@darkyen00 The buzzard thing was unrelated to the alcubierre / ixs enterprise.
 
!!s/buzzard/bussard/
 
@Shmiddty @darkyen00 The bussard thing was unrelated to the alcubierre / ixs enterprise. (source)
 
The ring would have to be made of an as-yet unidentified kind of dense exotic matter capable of bending space-time.
wtf ?
 
5:57 PM
yes, we don't know how to pull it off yet
surprised?
 
It may very well be impossible.
 
Is there a known memory leak in chat?
 
@rlemon thats not what i have read
 
ohh, then it IS possible. :)
ohh, bussard. i was thinking of the ixs enterprise mod
 
5:59 PM
@Shmiddty yes
dunno how it is reported
but cap often needs restarting
 
I think thermal nuclear engines are our best near-term bet.
 

« first day (1642 days earlier)      last day (3308 days later) »