« first day (2551 days earlier)      last day (2389 days later) » 

10:00 PM
uh huh
if I roll it back, I don't think I can hammer it
 
well, he deleted it
 
oh, it's gone anyway
 
problem solved
 
wouldn't it be useful if the browser had events like "swipeleft", "swiperight"
 
this one also seems questionable, however
unclear/too broad/opinion all sort of apply
 
10:02 PM
and should be tagged javascript
heh
has nothing to do with node
 
0
A: How can I get all mongoDB collection names using Node.js code?

jmcgui05A quick Google of this shows several posts, and this would be the most useful, but again, you should be posting code in a question: Listing all collections in a mongo database within a nodejs script

are these all from today?
 
yup
 
this is approaching mod worthy
 
wow, that's actually an answer
well, an attempt anyway
 
they also answered stackoverflow.com/questions/46654080/…, which is terrible on its own
not a bad answer, necessarily, but a "best way" Q
 
10:05 PM
I don't believe boxShadow is being applied correctly on the 2nd one, the code below. jsfiddle.net/1xmkespg/1
 
guys, can anybody tell me what is wrong with this code? I have been trying to figure out for 30 minutes. Some brackets are missing or extra
 
They both use box shadow
 
why is it all inlined?
because that's completely unreadable as is.
 
why didn't cap catch that?
 
1 message moved to Trash
!!tell G.Rust format
 
10:09 PM
@G.Rust Format your code - hit Ctrl+K before sending and see the faq
 
and if that doesn't work, use jsfiddle or gist.github
@david she's not perfect
 
    function newUser(app) {
  return function(request, response) {
    const id = request.params.id;
    const item=request.body
    if (typeof item === 'undefined') {
      response.sendStatus(BAD_REQUEST);
    }
    else {
      const find=request.app.locals.model.users.getCart(id);
      if( find==='undefined') {
	request.app.locals.model.users.newUser(id,item).
		then(function(id) {
			response.sendStatus(CREATED);
	}).
        catch((err)=> {
		console.error(err);
		response.sendStatus(SERVER_ERROR);
Sorry, hope that is better
I am using cloud and try to copy the file from filezilla. Sometimes, it makes problem
 
that indentation is atrocious
 
I am just a newbie js
 
fix your indentation and you'll probably find the problem
 
10:13 PM
function newUser(app) {
  return function(request, response) {
    const id = request.params.id;
    const item = request.body
    if (typeof item === 'undefined') {
      response.sendStatus(BAD_REQUEST);
    } else {
      const find = request.app.locals.model.users.getCart(id);
      if (find === 'undefined') {
        request.app.locals.model.users.newUser(id, item).
        then(function(id) {
          response.sendStatus(CREATED);
        }).
        catch((err) => {
          console.error(err);
 
-2
A: Microsoft Translation API - Bing Translator Response

Microsoft TranslatorWould you mind telling us more about your translation use case? You can contact Microsoft Translator directly at www.aka.ms/TranslatorContact. Scroll to the bottom and click the green "Contact" button.

wtf
 
great example of why to not end a line with a .
 
and it just looks weird
 
move the . to the next line, or move the function call to the previous
 
foo
  .bar()
  .bing()
  .bango()
ohh wtf youtube
when you move from the sidebar to the main body on a user page the scrollbar toggles.
shifting the entire content (on windows)
 
10:17 PM
so, apparently I got a documentation badge
I'm not sure what I did
maybe I edited a spelling mistake or something a long time ago
I thought the docs were discontinued and no further changes allowed
and did I just now noticed a "review queues" button in the top bar? Did they just add it now, was it there all along, or is 834 somehow a rep at which it gets unlocked?
 
they've been moving it around recently?
 
gosh, what do you say to people who answer a question with "I'm also having this problem"?
is there a link you send them to?
 
the review queue button has been there for a while
with a red dot
 
downvote, comment, and link it here
 
comment with "this is not an answer"?
 
10:23 PM
some of us can delete vote
 
just flag as not an answer if it isn't an answer
 
-1
A: Spring Profiles, different Log4j2 configs

NewbieI am having similar problem. Dennis Ich how did you resolve it.

 
there's a user script with canned comments
 
will be gone soon enough
 
oh, I didn't realize you could flag answers
I guess I also shouldn't have downvoted if I flagged, right?
 
10:24 PM
doesn't really matter
uses up one of your 40 daily votes
that's why i wouldn't
 
makes it easier to delete
 
damn, who clicks buttons 40 times a day?
 
i do, daily
:p
 
I've used up my votes many times
 
it's so irritating to run out of votes
 
10:25 PM
I've used mine up twice?
maybe
 
burned through all my close votes too, haven't run out of delete votes yet
 
well, I guess it just speaks to how much of a vamp I am
I'd love to say I have things to do instead of babysitting people online, but sadly that's not true
or happily?
 
I have answering questions and doing reviews on one of my todo lists, the one where learning new libraries and documenting useful patterns goes
 
!!stats ssube
 
@towc ssube (https://stackoverflow.com/users/129032/ssube) has 25755 reputation, lost 5 rep today, asked 41 questions, gave 687 answers, for a q:a ratio of 41:687.
avg. rep/post: 35.37. Badges: 4g 59s 98b
 
10:28 PM
a true hero
 
> a q:a ratio of 41:687
god those ratios are useful
 
@towc you gained access to the review queues back in april
 
I seem to remember something like that, but the button is new
 
i have it hidden
did they change it?
 
it's in the top bar, near the trophy thing and the inbox thing
for me
 
10:30 PM
right
this is what my header looks like
 
@towc if you want to have some fun (sick, twisted fun) pick a tag (or two) and answer at least one question every day
 
@ssube but that requires commitment I don't have :/
again, joke. I could try though
 
and the ability to answer questions
which I rarely have
 
you could have it if you want
@hsimah if you find one you can't answer, learn the answer
then pass it on
 
I have less than 100 over here
 
10:33 PM
that's kind of the point, you'll have to learn a few new things
 
less than what one starts with
very reputable
 
true
 
i've answered too many garbage questions
 
@hsimah just follow my lead and spout some random stuff. In a small portion of the infinitely many parallel universes, you'll have helped someone
 
but now i can enjoy the rep from it
 
10:33 PM
i did go through and answer a heap of outdated powershell questions with new solutions
 
:p
 
but no one ever accepted or upvoted the answers
 
heh
 
link so we can downvote it to hell?
 
today feels so odd. i lost 2 and a half hours getting my license renewed
30min till closing and i feel like i just got back from lunch
 
10:35 PM
0
A: How to find all users in active directory for a given set of groups

hsimahYou will want to use Get-ADGroupMember from the Active Directory Cmdlets. You can pipe your list of group names into it and it will output the group members. To get all the members of groups I am in: Get-ADUser 'hsimah' -Properties memberOf | Select-Object -ExpandProperty memberOf | Get-ADGroup...

 
also, @ssube, forgot to mention. my worries about db were pre-optimization. looking up the values takes 300ms, storing them to the db takes 12ms
 
oh, that's actually nice
 
looking them up at the end, when you pass them on?
or looking up a single one
 
don't care about lookup
well, I do, but not really.
 
right
 
10:38 PM
don't really care about store speed. tbh, but I for whatever reason was worried it would be atrocious
 
12ms is pretty bad for postgres, relatively speaking :P
 
my bottleneck will always be shitty internet speeds from device => server and more locally speeds over rs232.
@ssube it's running on a rpi basically.
 
yeah
yep, I remember you talking about the hardware a number of times
that's good latency for a processor like that
 
and my 'timing' is console.log( Date.now() - start ) because I can't profile properly
mostly because unless that shows me stupid times, who cares
 
oh, that's even better (probably)
Date.now isn't accurate below 10-15ms
 
10:40 PM
how does time pass so fast :/
 
so it's essentially telling you < 1 time segment
 
how do you make it stop
 
HAMMERTIME!
 
^
 
yea, those types of tests are good tho when you expect small amounts of time but get 1500ms
 
10:40 PM
I think that chrome, after reaching a certain threshold of using system resources, should apologize and then kill itself
 
that's one way
 
@Mosho but operating systems are like a jungle full of warlords, so that's the colonel's job
 
am I the colonel?
 
sir, apparently sir
 
colonel/kernel
my puns are bad and my gf is home, so I'm gonna leave now :P
 
10:42 PM
@ssube i found it punny
 
ok I'm starting to make a carousel
let the record show
 
objective of the mission?
 
making a carousel
 
you'll be awarded a medal for your efforts
 
I'll take a carousel instead
 
10:44 PM
the report says there are no spare carousels in the armory
the tax payer money allocated to carousels has been spent on cokes for the president
ok, I better go to sleep now. My sister expects me to wake up before 12pm. I really bloody hope I don't disappoint her
 
what for
oh no, someone downvoted a bunch of my answers/questions, i wonder who that was
 
nope, can't sleep yet, too many unresolved mental issues
 
11:03 PM
are you making people mad @KevinB>
 
i think so
 
@KevinB santa claus?
 
all i did was link him to a duplicate and the documentation
 
escalate it. Grab a rocket launcher and show him/her who's boss
hint: it's you
 
no need
he downvoted answers, so he lost rep anyway
:p
 
11:04 PM
but he doesn't know who's boss :/
or maybe he does and he's just a rebel
and while I can respect that, he's a jealous rebel
 
he also downvoted my most downvoted question
ouch
 
how many?
inb4 total is +3
 
3 answers, 1 question. i doubt it'll be reversed
doesn't really matter
 
as long as there's a spoiled little brat under our watch, it does
release the hounds?
 
Hey guys! What can I use to document my API?
 
11:13 PM
pen and paper, then scan and fax to everyone who might need it
or any improved version of that
short answer: depends. Are you looking for automatic documentation markup creation? A nice way to display it? Somewhere to host it?
 
what did you attempt googling already?
the "I'm just here asking for opinions before I do any research" is not a valid approach
 
I get "getpostman"
and lots of documentations
not automatic ones
 
did google know you wanted an automated one?
or bing or duckduckgo or your favorite search engine
 
I expect that
hahaha
 
11:19 PM
ask jeeves doesn't count
users, always expecting something
 
Swagger is the de facto standard at the moment
you can do good things with most formats, though
 
I had found this one
should I use swagger tho?
 
what kind of API are we talking?
 
classes and methods or a web API?
 
11:32 PM
web API
 
jsdoc is meant for code, swagger for web APIs
 
both good tools, though :)
 
When I read swagger I saw "framework"
so I thought would be a framework for js
 
they have some tool to generate APIs from the docs, but I mean the OpenAPI spec and their doc format
 
11:36 PM
I don't believe box-Shadow is being applied correctly on Code 2. Can someone tell me what I'm doing wrong? And they both use Box Shadow.

This is weird cause if they are both applied in the same exact manner, what is causing the 2nd code to act differently? I can't seem to figure it out.

Can anyone figure this out for me?

Code 1, and Code 2.
https://jsfiddle.net/1xmkespg/5/
 
@QuicoLlinaresLlorens swagger.io/specification
 
You have to 1st click on the code to see the box shadow applied.
 
apihandyman.io/… looks like it has some good pointers
 
whats different about the box shadows?
 
11:39 PM
Thanks
 
this is for youyr play button on your tumblr page?
lookin waaay to complicated
heard of rollover states?
 
Blogger
 
I'm not an expert, im a graphics guy but Ive seen you struggling for a couple days trying to get your play button to react
 
Got it!!! I was missing: playButton4.style.border='none';
 
when I do that its in css and like 3 lines
 
11:42 PM
almost pooped myself
 
oh, nice, congratulations
 
Thanks!!!
 
is that a gopro archer?
swo sharp
 
@SterlingArcher Well that was underwhelming
The bee was more exciting :P
 
@KendallFrey camera uses a fish eye, so it's closer than it appears, it was scary lol
I cant fight a bee everyday xD
 
11:45 PM
It was scary, but not youtube-level scary
 
Youtube level scary is like a fatal crash fam
 
your metal knuckles!
russian dash cam level of scary
we're numb these days
 
The worst motorcycle vids are india
I saw some shit man
 
oh lots of riders act stupid there, laying on the bike and standing
 
@SterlingArcher That's to be expected where everyone poops outdoors
 
11:48 PM
The big one is hauling fucking ass through an intersection and slam into shit at 100+ mph
 
If I already have it set to width / height here at the top of the code, Do I apply the same thing in the middle of the code. Or is that not necessary? <button id="playButton4" style="display:block; width: 266px; height: 266px;"

playButton4.style.width = '266px';
playButton4.style.height = '266px';
 
see that guy on a bike rear end a car, flip and land standing on the roof of the car?
 
@rlemon so what supposed to I change?
 
size only needs to be defined once.
 
@Webster Did it end with an unexpected thug life animation?
 
11:49 PM
right, shoulda, couldnt see his face
 
@Webster i did, that was crazy lucky
 
i was thinking of being thug life for halloween
 
@Webster Thank you.
 
this whole ubuntu-on-windows-10 thing is cool, but it would be way cooler if it didn't freeze at the end of my build, every single time
 
houseflies can get fucked
 
11:51 PM
by other houseflies
 
Now I'm just stuck on adding preload within DOM, then I should be all good.
 
@ssube I think a local docker machine vm works just as well as ubuntu on windows
 
user2620028
@SterlingArcher that was absolutely your fault lol, don't lane switch near intersections.
 
I'm at a crossroads when it comes to desktop virtualization.
 
I figured LOL
 
11:54 PM
New vmware workstation is out, docker machine is usable, ubuntu on windows sort of works
 
that's why i didnt rage out
mid change I was thinking "probably not smart"
 
I could also install ubuntu and virtualize windows
 
install BeOS and virtualize both
 
@HatterisMad isn't changing lanes within X feet of an intersection illegal in most states?
 
user2620028
@ssube indicated by the solid white line that he crossed
 
11:55 PM
oh, they don't indicate it here
it's just illegal
 
user2620028
yeah i don't remember the law for here either, but in his video they were nice enough to show you where not to cross at lol
 
@Luggage tbh, running linux on real hardware is painful enough
if I can virtualize it, it's gonna happen
 
@SterlingArcher yes
 
there are too many options for the desktop side, though
 
I played with VMs in windows, and I am going to try to get away with just docker (running on my same computer) for my random linux needs.
 
11:58 PM
using hyper-v or in vbox?
 
hyper-v
 
I've been using vmware for some years now, paying for a license
 
it starts/stops with my machine reliably. it "just worked"
 
it's good, but they dropped unity mode with linux, and then file sharing broke
docker is enough for my needs (of mostly shelling into other machines)
 
git w/ bash and friends provides jsut enough for native windows to get to started with sshing into a real linux machine :)
what with openssh and all
 
11:59 PM
they do
unfortunately that's only most of my use, the rest is running make and node
and yarn does not like windows
 

« first day (2551 days earlier)      last day (2389 days later) »