« first day (1846 days earlier)      last day (3121 days later) » 

9:02 PM
@SomeKittens really? I thought I did really bad.
(Good was the test)
 
Aug 5 '14 at 14:36, by Gordon
@NickDugger You've been flagged multiple times for calling a user "anal greg". Numerous people, including the user himself, asked you to stop it. So please stop it. Once and for all. Thanks.
never forget
 
The questions are pretty tricky, the fact these are not obvious makes me doubt ES's progress :D
@SterlingArcher lmao. I remember that.
Don't diss on @AwalGarg though he's our bro
 
There's a lot of gems if you search "anal" in the JS transcript
6 hole pages of anal to be exact
 
crl
!!> [{b: 3}, {b: 4}].reduce((acc, e) => ({[e.b]: e, ...acc}), {})
 
9:03 PM
@crl "SyntaxError: invalid property id"
 
@BenjaminGruenbaum lol remember when he died
 
@KendallFrey what?
 
lol
Oct 29 at 18:53, by Zirak
@Cereal "Well, we know people hate gut-wrenching anal sex, but we did make it opt-out after it begins, so it should be okay"
 
Have you not seen that before?
 
9:05 PM
@SterlingArcher Thanks for that, always wondered myself how to combine this with a selector.
 
I remember when @Jhawins got banned for a week :D
 
The visualization of that sentence is astounding
 
user1596138
@BenjaminGruenbaum Month
 
user1596138
I got banned network wide for a month.
 
@BenjaminGruenbaum was that when a twitter warrior saw our gamer gate discussion and got triggered?
 
9:06 PM
Is there such a thing as non-gut-wrenching anal sex?
 
user1596138
^ yep
 
there is?
XD
 
user1596138
Yeah there is
 
I can't get past the smell or I would be into it. I want to be into it, but as soon as my beak picks up a scent...it's game over.
 
@Jhawins woah
 
user1596138
9:06 PM
Have you never had anal sex @KendallFrey
 
Prolapsed-anal
 
@SterlingArcher yeah, that was super lame.
Still better than the time the lounge was named "rightfold's vagina"
 
lmao what
 
Or that time @Zirak had sex with a goat and posted pictures on the chat... that was like... 2013 haha
79
Q: Offensive, inappropriate, and un-professional chat room names

anonI was browsing the front-page of Meta, and I noticed off to the right a very strange and kind of inappropriate name for a chat room: However, when I look at the chat room info directly, the name of the room appears as Lounge<C++> Questions Are chat rooms allowed to be named after genit...

 
Are chat rooms allowed to be named after genitalia?
 
user1596138
9:08 PM
> Questions

Are chat rooms allowed to be named after genitalia?
 
The fact that's even a question is lulsy.
 
user1596138
LMFAO
 
user1596138
@AmericanSlime Ah you win
 
That's a glorious meta
 
return new Promise((resolve, reject) => {
  // ...
}).then(result => {
  console.log('I did the thing');
  return Promise.resolve(result);
})
is this roughly equivilent to bluebird's .tap?
 
9:11 PM
@corvid that's just stupid - but yeah.
You don't need to wrap it in Promise.resolve
 
crl
!!> var x=1; (_=>(x++, x+2) )()
 
@BenjaminGruenbaum Then won't it not return a promise if I just return result?
 
@crl "SyntaxError: expected expression, got keyword 'var'"
@crl 4
 
@corvid Promise.resolve is implicitly called on anything you return from a then handler
 
Is this specifically in bluebird, or any promise based library? I am using plain ES6 promises
 
9:13 PM
Who wants to make fun of my lack of Angular skills?
Just trying to do an ng-repeat
 
eat-sleep-ng-repeat
 
Fucking hisenbug
Day 3
 
you need ng-app="App"
 
I read Angular committed suicide.
 
crl
you can edit messages :p
 
9:17 PM
@ExplosionPills: Still errors
 
@crl Thanks babe.
 
I'm saving it, so it should update on refresh.
 
crl
yw
 
The functionality they built into these chats is pretty damn cool.
 
@Plummer I wouldn't make fun of someone for lack of jQuery skills.
 
9:19 PM
Oh, hey! It works
@Loktar: I don't discriminate in my shit talking.
 
@Plummer no errors; seems to be working okay just doesn't look right
 
Yup
Thanks @ExplosionPills
 
crl
e.preventDefault();
e.stopPropagation();
//everywhere, the only way to make shit work jsbin.com/pujabew/edit?html,js,output
 
"Listen here, DOM! You don't do shit unless I tell you to! Sit the fuck down." - Most Devs probably
 
Hrmph... process.stdout.write is behaving strangely
 
9:24 PM
did you try using jquery?
 
crl
event bubbling is the shit
 
We can't sometimes endorse jQueer and sometimes do. Either yay or nay. Stop sending mixed signals!
 
Stop confusing him with decisions and thinking, it's unhealthy.
 
I woke up today feeling jQ is the devil incarnate and must be eradicated from my code.
 
Welcome to stage 3 of JavaScript development.
You have begun to hate jQuery. Stage 4 is realizing that jQuery is good in the right situation, and respect its abilities.
Stage 5 is realizing you don't know jack shit about anything. Ever.
 
9:33 PM
lmao
 
!!afk i vape, do you?
 
crl
still an error, gah
 
so disconnecting the Ethernet kills my serial connection, but nothing errors, and it only dies 20% of the time, and there is no consistency..
no errors. nothing in the logs. as far as the OS and software go, the communication never stopped
but I have physical leds and a history report proving it did.
fuck me running.
 
crl
people still use serial port?
 
we make industrial control systems
 
crl
9:42 PM
ah, I see, used it for 2 years too (embedded systems)
 
@rlemon wouldn't disconnecting the ethernet trigger your disconnection redundancy?
 
@SterlingArcher yes, and it should continue to attempt to reconnect, which it does.
the serial comm and the network comm should be 100% separate
 
But it's not registering?
 
function foo() {
  if( condition ) {
    bar().then(baz).catch(errors); // this never errors, and the timing isn't important, it just stores averages to a db. async is no issue outside of the block
  }
  foo();
}
for whatever reason, disconnecting the ethernet stops this recursion (~20% of the time)
the db is local. there is no errors there
restoring ethernet for the ones that did stop, 75% of the time resumes the loop
 
That's really weird
 
9:46 PM
Well shouldn't process.stdout.write be flushed on the callback, and shouldn't carriage return allow me to write to the same line? Use:
 
am I fair to consider this possibly a hardware error?
 
I can't see a connection between ether disconnect and code condition not running
 
the code condition is literally.
if( Date.now() - readTime > MAX_TIME_TO_STORE ) {
variable names possibly not being the same
my laptop is in the other room
 
insertAsset(/** ... */)
  .then(collection => {
    return new Promise(resolve => {
      process.stdout.write(`inserted ${collection.find().count()} to ${collection._name}\r`, resolve.bind(this, collection));
    });
  });
 
@SterlingArcher but the condition is irrelevant. that only triggers a store.
foo() {
  ...
  foo(); // I'm paused...

}
 
9:48 PM
Hrm, that's weird as fuck
 
So you're saying that under some weird conditions, the foo call isn't reached.
 
and I cannot for the life of me figure out why the fuck.. hardware clock isn't paused.. the activity light still moves
 
Did you litter every line of code with a console.log, try...catch blocks, etc?
 
@Zirak yes. but they are not consistently reproducible at this point in time.
@Zirak yes, no errors or logs indicating problems
as far as the software is concerned, it never stopped
the only way to see the stop is to watch the timing
 
Maybe the ethernet disconnection doesn't trigger the sigkill event status?
 
crl
9:50 PM
is it breakpoint debuggable?
 
I remember when I was trying to detect socket disconnects some methods of disconnection didn't trigger
 
@SterlingArcher then I would expect that to crap out the node proc
??
 
I mean hardcore everything, like
function foo() {
    console.log('begin foo');
    if (something) {
		console.log('in condition');
      	try {
        	somethingElse();
        }
      	catch (e) {
         	console.error('got a bastard:', e);
        }
      	finally {
         	console.log('finally...');
        }
        console.log('after something');
    }

	console.log('about to recurse');
  	foo();
  	console.log('after recursion');
}
 
Not if they didn't trigger -- it would just be ignored, right?
 
@Zirak yes
did that
I'm ending day 3 trying to identify it
the catch is never hit.
all logs chug on
 
9:52 PM
How are you identifying a disconnection? Are you using the SIG processes?
 
if I add a Date.now() to them, I see the blocks where it stops communicating
but no indication as per why the recursion went awol
 
catch isn't triggered, but "after something" doesn't show up?
 
@Zirak yes, after something shows up
 
What doesn't show up?
 
imagine there was no errors. that is the logs I see
BUT
 
9:53 PM
s/T/TT/
 
sometimes they just 'pause' while the ethernet is disconnected (adding in Date.now() shows me that)
and when I reconnect they resume
fucking strange as shit
 
Can somethingElse potentially be synchronous?
Did you write it? Does it use node extensions?
 
@Zirak yes, wrapped in promises, which catch when there is an error
it is a wrapped db call
but the flow doesn't need to to succeed
 
Wrapping in promises doesn't make it async
 
it is just a 'dump and forget' average store
@Zirak queryAsync
 
9:55 PM
It can still block the main thread
 
@Zirak but it never errors, and why would a local db be paused or whatever due to a network connectivity drop
 
crl
or you've got a node virus
 
it is very sporadic
 
Is somethingElse entirely 100% local db calls?
 
yes
 
9:56 PM
Does it touch the serial ports? Does it touch external libraries?
 
nope
 
Show us on the doll @rlemon
 
I average what I have in memory, store that in the local db, clear my local memory obj.sum = 0;
 
If you replace somethingElse with a setTimeout , does it still choke?
 
 
9:57 PM
SURPRISE GUITAR SOLO
 
If you create a dummy database, does it still chug?
 
@SterlingArcher frog?
fish?
what was thrown at her
 
A guitar, dummy
 
Comments suggest a bee
 
yea, someone just told her it was there
there is no bee
 
9:58 PM
the limit bee does not exist
 
fuckit
I'm going home to drink
 
Gym first
 
!!afk programming is terrible.
 
crl
use mongodb, it'll work, it'll scale your problem
 
ANSWER ME DAMNIT
 
9:58 PM
!!afk home then gym
 
@Zirak didn't check that. will tomorrow
right now I've been trying to determine exactly where is pauses, but it seems that isn't consistent either.
 
I like how she's worried about the bee, but more worried about her beer
 
my current thought process is that somehow the clock gets frozen?
 
I would've just noped into the lake
 
Priorities.
 
9:59 PM
idk.
 
@rlemon Why would it?
 
Live to code another day, yall take care.
 
@Zirak embedded hardware does fucky things?
 
When an ethernet cable gets disconnected? meh
 
crl
@rlemon did you try with another computer?
 
10:02 PM
I think you're depending on something you're not aware of
 
@crl 250 clients, 10% reported it, 12 test devices internally, I can seem to make them all fail around 15-20% of the time
 
crl
ah, right
 
!!afk seriously tho, need to go home
 
Does String.prototype.length include control characters?
 
crl
!!> test\n.trim().length
 
10:05 PM
@crl "TypeError: \"test\\n\".length is not a function"
@crl 5
 
!!>'\n'.length
 
@corvid 1
 
Oh der
 
@crl 4
 
m59
Do I not get this or is it just not very deep?
 
10:13 PM
I think it's not very deep
 
crl
yeah but the context? Romans? (lol Romans didn't speak English)
 
m59
I guess it's just a medieval version. I was looking for some additional substance.
 
Luke, I am JOHN CENAAAAAAAAAAAA doot di du doooo
 
See, the funny comes from taking a well-known scene and finding it in a Greek/Roman/Egyptian era piece of art.
 
10:15 PM
 
The image author hilariously put the funny by spelling out the scene for yuo
 
m59
It amuses me. Just only a lil.
 
But you had to ruin it
Fucktard
 
crl
and their random meme button is broken
 
m59
@ivarni LOLOLOL
 
10:16 PM
That you found amusing...
 
crl
!!xkcd
 
hey crl
self.images = [
{thumb: 'images/thumbs/1.jpg', img: 'images/1.jpg'},
{thumb: 'images/thumbs/2.jpg', img: 'images/2.jpg'},
{thumb: 'images/thumbs/3.jpg', img: 'images/3.jpg'},
{thumb: 'images/thumbs/4.jpg', img: 'images/4.jpg'},
{thumb: 'images/thumbs/5.jpg', img: 'images/5.jpg'},
{thumb: 'images/thumbs/6.jpg', img: 'images/6.jpg'}
];
 
@SterlingArcher nice.... she's better though: youtube.com/watch?v=3Y-J7sBT_no ;)
 
@GNi33 SterlingArcher is afk: home then gym
 
10:19 PM
suppose I have to add data dynamically to self.images
what's the best logical way to do that
 
push?
 
crl
^
 
concat?
Maybe some unshift, and if you're really fancy, splice
 
Done :)
thanks again
 
That'll be $30
 
10:20 PM
Discount please
 
$29
 
I'm too late to suggest myArray.splice(Number.MAX_VALUE, 0, myValue) ?
 
I'll do it for $27.50
 
does anyone know if it's possible to preserve the exact location of an HTML element before calling remove(). because later I want to restore it to exact location (it's a table cell)
 
yes, store it into an array or an object before removing
or just hide it (which will suck with table cells though)
 
10:25 PM
ok I'll try the array
 
Store a reference to nextSibling and use insertBefore when adding it back?
 
$4 says you don't really want to remove it, but hide it or otherwise render it unusable
 
crl
index position of the elt among the children
 
I've no idea why that first one came out in german btw, I'm on english locale in the browser and currently located in UK
 
10:28 PM
Good morning friends
 
@Sachin 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.
 
crl
10:38 PM
!!loremflickr javascript
 
Poop
 
crl
safe from?
 
0
Q: Nothing Shows Up after no error implementation of Jankuri ng-gallery

Ranganathan SwamySo I referred to this link http://demo.jankuri.com/ngGallery/ to make image gallery. I did everything as directed but nothing shows up as in no images are shown. Here is my Controller var check123 = function() { for (var i = 0; i < z; i++) { var a = {thumb: '../images/offers/...

 
sdd
With safe I mean they can't see my IP
 
there is some problem where the array of objects must be fed to the gallery
I guess
 
crl
11:00 PM
@RanganathanSwamy include a jsbin.jsfiddle
 
sdd
@crl
 
@sdd Stop spamming chat rooms
 
@sdd Cyberghost? That was made by NSA
they're tracking everything
 
crl
maybe use TOR but I've no idea about that
 
crl as you can see the data to arr is fed using my node server
 
crl
11:02 PM
put some fake data for testing
 
I cannot show a working demo using jsfiddle
okay
done
 
crl
try also asking on angularbuddies /help also sometimes they help a bit or angular irc if it exists, I'm not too much on angular right now
but fix your problems as much as possible yourself
 
I am trying to fix it myself
if I fail at it
I will come back
 
crl
noprob
!!> 'test'.match('^t\\ws')
 
@crl ["tes"]
 
crl
11:15 PM
oh, thought you needed always /.../
 
What color should I dye my hair?
 
@BadgerCat pink
 
Red
 
crl
#33e548
 
omg I don't know :(
 
11:20 PM
Blue
 
Purple
Absolutely Purple
best colour ever
 
Red > purple, but only by a narrow margin
 
no, fuck your onion
 
Not when you're holding a camera like that
 
crl
!!learn randcolor $rand(0,255),$rand(0,255),$rand(0,255)
 
11:26 PM
@crl Command randcolor learned
 
crl
wanted to convert in hexa, but not yet..
 
@BadgerCat definitely NEON GREEN
 
dark cherry red
 
@rlemon Oh, that's actually good
 
11:31 PM
nice
 
@BadgerCat if you look as I remember, I think it will fit nice as well :)
 
@CSᵠ That's … anime
 
15 mins ago, by Zirak
Red
fuck y'all
 
@Zirak I agree, but I wanted to be more specific
red hair > other hair
*on women (imo)
 
11:34 PM
Red and violet are good choices imo
 
WAT
 
crl
damn, FileList is another shit like NodeList that isn't properly iterable
 
fake it(tm)
 
shit
dude wasn't kidding about the solos lmao
 
crl
11:37 PM
(a less shitty version of external dnd jsfiddle.net/crl/m7whsods/6)
why can't you access the absolute path (on your disk) of the file? I see just its name, type,..
 
Security
 
crl
ok
 
@crl I can make a reduced test for you
 
which brought me back to like 9 years old hearing it for the first time and falling in love
 
11:49 PM
Ill try and do that tonight
 
@rlemon happy to help lol
 
woah
one of my pens has 16k views
 
!!afk gn
 
which one
 
guy commented on it so I looked at it
thought I read the view count wrong lol
 
11:50 PM
@Loktar your pen is famous...
 
it's an awesome 'template' starter
that's why
+1
 
@CSᵠ haha
@rlemon yeah I bet thats it
 
crl
@Loktar thanks
 
seriously. so many people (myself included) would rather learn looking at other people code.
 
wait wtf?
did they mess up the ccounts I wonder..
 
crl
11:51 PM
it's up key to jump, not space ^
 
a ton of mine now have over 16k views
well nm, not a ton
like 2, and one over 14
but yeah.. my highest a few months ago was like 8k or so
like that animated wave one... thats old as shit
 
and never had too many views lol, so weird.
 
crl
til <progress>
 
can't see anything linking it
 
11:52 PM
my site does
I embed it
 
well I can't see anything linking directly to the pen itself.
not embedded
also my best is 10K views.
:P
I bet towc beats us both
that little demo whore
 
probably
yeah his top one has 17k
 
gotta give the kid credit, he's progressed a shitload in a short amount of time
 
he beat me in followers
I need to start making pens again! :p
 
he's on the front page twice a day :P
 
11:56 PM
Hey whats up
 
@JaydenFreh 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 I need to go back to working in the gov man..
 
rainbows === followers
:D
 
I used to make like a pen a week or so it seemed like
I miss those days where I could do it at work lol
 
I'm dealing with a (once again) bug that doesn't want to repo 100%
20% of the tests fail.
 
11:57 PM
haha thats par for the course with you
you always have crazy shit to deal with
 
the tests are always teh same...
that is what I don't understand :P
same hardware/software, same test, 2/10 it fails.
 
so I am fairly new to javascript and i am trying to log the distance from the top of the page that I scroll by using this function but instead of doing what i want it to do the code erases my page and prints 0. This is the code:
 
probably serves me right for trying to use JS to do SCADA
 
1 message moved to Trash can
@JaydenFreh Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
@Zirak we need to change that message
 
11:59 PM
@rlemon it's an outside variable.
 
if we bin the post, up arrow doesn't really help
 

« first day (1846 days earlier)      last day (3121 days later) »