« first day (2687 days earlier)      last day (2485 days later) » 

20:00
@SaitamaSama It's after 2:30pm here. My mind is basically mud. lol
heh, it's almost 2am here as well :P
It'll probably unmud itself later tonight when I'm trying to unwind.
wow its still 9.00pm here
"still"
20:01
it has been for hours
your clock might need new batteries
it's an atomic clock, it doesn't need any batteries
it just needs some new Cs-133
perharps
have you seen where a snake swallows government money?
20:05
@Cereal noooooo
damnit man I should have tried to get 2
It was a last minute meeting, I didn't think for a second it was going to last for an hour and a half lol
@KevinB we're like the internets leading authority on JS they can't shut us down
i mean blocked by the firewall we use
pfft firewalls. who needs em
firetrump
20:11
trumpwall
Hey guys I can't seem to figure this out. I run npm run-script prestart and I keep getting missing script. Here is my package.json
"scripts": {
"prestart": "mongod --dbpath data --fork --logpath /User/brandonsharp/Desktop/aptinventorynodejs/mongod.log",
"start": "node server.js",
"poststop": "mongo admin --eval 'db.shutdownServer()' > /dev/null"
},
is there something you need to do before scripts become available?
user1596138
What is the exact output where it says missing script
user1596138
Just missing script: prestart?
npm ERR! missing script: pretest

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/brandonsharp/.npm/_logs/2018-02-23T20_13_51_446Z-debug.log
user1596138
You have a prestart script
user1596138
20:14
Not a pretest one tho
user1596138
> missing script: pretest
whoops
user1596138
:P
that was just my bad it does the same thing lol
npm run-script prestart
npm ERR! missing script: prestart

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/brandonsharp/.npm/_logs/2018-02-23T20_14_34_654Z-debug.log
user1596138
Oh lmao
user1596138
20:15
You're sure it's right this time lol
lol i am sure this time :P
Are "pre" ones special?
they shouldn't be...i can try to rename though one sec
user1596138
Afaik you can manually run them always regardless
user1596138
Like prepublish
20:16
ok
user1596138
Post entire package.json?
): npm run-script baboons
npm ERR! missing script: baboons

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/brandonsharp/.npm/_logs/2018-02-23T20_16_33_973Z-debug.log
ok 1 sec
{
"name": "aptinventory",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"baboons": "mongod --dbpath data --fork --logpath /User/MYDESKTOP/Desktop/aptinventorynodejs/mongod.log",
"start": "node server.js",
"poststop": "mongo admin --eval 'db.shutdownServer()' > /dev/null"
},
"author": "CaptainKoopa",
"license": "ISC",
"dependencies": {
"body-parser": "^1.18.2",
"express": "^4.16.2",
"mongodb": "^3.0.2"
}
}
user1596138
Maybe you redefined scripts or something. Should work tho
any idea on how to fix?
you in the right directory?
20:18
yes
can't fix it if it isn't broke
user4229770
Maybe is there anyone good with data structures ? Just a question.
pwd = /Users/MYDESKTOP/Desktop/aptinventorynodejs
ls = ManagerAccess.html node_modules public
data package-lock.json server.js
index.html package.json
user1596138
@Parakoopa I pasted that into a empty directory and did npm run baboons, it worked
well what the french
20:20
I give up. reboot.
should i remake package.json?
user1596138
Idk maybe try the same and then try to find the difference
im rebooting 1 sec
user1596138
Start with a working one paste everything else into it until it stops working
reinstall windows :)
user1596138
20:21
Install NodeOS
there was some firefox os iirc
does anyone know what am I doing wrong here ?
Promise.resolve("value").then((arg) => {
if (arg) {
console.log(`arg in promise 2 is resolved to ${arg}`);
Promise.resolve(arg);
}})
.then((data) => {
console.log(data);
})

//output: arg in promise 2 is resolved to value
undefined
!!afk πŸΊπŸΊπŸΊπŸΊπŸΊπŸš—πŸŒ³πŸ’€
Good evening people, if anyone has 5 minutes to spare could you look at my question to help me understand it? stackoverflow.com/questions/48955585/…
user1596138
20:23
Install ROCKBOX
"Jquery does not seem to cancel or over-ride my inline style" i don't understand that statement
there are no inline styles in your html
interessssstingggg. still no work. the built in script work fine. Start, test install etc. But any custom ones are busted
x.className === "nav-item:not(:first-child)"
wut
user1596138
Did you try making a completely empty directory with just the package.json
user1596138
Whats your npm version
20:24
like... that's a jquery selector, surely that isn't a className too
that's a regular css selector; it has nothing to do with jquery on its own
css has :first-child?
I believe so
yes, it does
@kevin
yeah it does
20:25
@Jhoverit I just did that yes. 5.6.0
You're so involved with jquery at this point that you can't even tell what's real
still doesn't make sense
user1596138
....yeah
Hi - Let me re-edit the snippet, the inline style is there hold on
user1596138
@KevinB Wait why tf is it a className
user1596138
20:26
Wtf
exactly
I think that's a logic mistake
it isn't a className
I was a logic mistake
user1596138
Who's stephen fry
20:27
I don't know why but it seemed like a Friday link at first :P
function toggleNav() {
  var x = $('mob-men');
  if (x.className === "nav-item:not(:first-child)") {
    x.className += "respond";
  } else {
    x.className = "nav-item:not(:first-child)";
  }
};
I wonder if its because this was downloaded from BitBucket...?
its a className as that is the code I was reviewing from w3schools
user1596138
Are there not nice touch screen mp3 players with wifi?
user1596138
20:28
Like android devices
user1596138
All I can find is iPods.
user1596138
nice
Oh, are you using some w3schools js/css lib or something?
I don't understand why you'd ever put a css selector into the className property.
@Jhoverit I feel sad for you
user1596138
I just wanted a portable mp3 player with a hifi dac and ability to stream with internet
20:29
@ndugger Damn, he was papa franku the whole time
user1596138
Should be like. <$200
user1596138
@KendallFrey </joke
tbh - Its not even the original code - I was going to try and do it on collision but could only get the console to log it once and not iterate the check to incorporate the change - so done some googling and stumbled across that on w34
w3*
@hilli_micha I learned how to play/sing weeaboo and STFU on the ukulele
I've been serenading traps on vrchat
and now been stuck on this for around 3 days...
20:30
How has your ukulele skills been received?
with applause
and applesauce
w3 lol i once gave it a try but..
w3s, don't confuse w3 with w3schools
sorry i mean w3schools
20:33
Trying to find the page I was looking at originally now
TIL vue fully supports using expressions within jsx: github.com/vuejs/babel-plugin-transform-vue-jsx#vue-directives
so it's basically react on steroids
"vue"
it's vue
s/vue/dare/
vue will try to slowly become react because it knows that it sucks so bad
user1596138
20:36
@towc Did I misread or did vue just catch up to React 0.13a
the one thing about react that I really liked that I thought vue didn't have, was the ability to switch components and props just like that, using expressions
but turns out vue has it
Thats what I was following after the failed collision script
and had to modify it to suit my current code
user1596138
20:37
@towc Vue has it or a babel plugin makes it work
@BenFortune was asking about this earlier
@Jhoverit a babel plugin makes it work. React doesn't have it either
user1596138
iKid
vue natively supports the "h" rendering system
just like react
I wasn't sure if it was as dynamic as react's, but apparently it is
user1596138
I almost took a Vue job last month
user1596138
But the interviewers were utterly incompetent
user1596138
20:38
Go figure
@FélixGagnon-Grenier Unsure, also not in a position to check what's up :(
Please stop talking about vue. You're the only whacko in here who actually likes it. We all know that it sucks; no amount of your banter will change that
The .static subdomain is still active though
whoa whoa whoa
20:39
🚽
@ndugger Dude, please stop telling other people to stop talking about on-topic things.
@SterlingArcher
@MadaraUchiha stop telling me to stop telling towc to stop talking about vue
user1596138
What a rude rudy
user1596138
Kick him u know u want to
20:41
either way, I think I'm going to apply for that job at the company who uses react without semicolons
user1596138
You don't use semicolons in jsx
somehow knowing that react isn't that different from what vue could be used with, makes it more interesting
user1596138
Only full colons
> React is amazing, why didn't anyone tell me?! ~ towc, 3 weeks from now
that's a link to your question @Ricky
20:42
it is amazing, tho
@MadaraUchiha well, I already know react is amazing and revolutionary and can be used to build a lot of stuff quite easily
but so was jQuery
also, "haha"
Im just gonna go sleep.....
:(
user1596138
Hold on
user1596138
$280 lol
user1596138
20:43
I figured I could get one for $40 I had one 10 years ago
WEEOOO WEEOO - WSCHOOLS ALERT
Should I explain that more in the question that I was following that?
@rlemon 2/10, not me
Get him, boys!
20:44
got eeem
user1596138
Why does he even come here. All he does is spout nonsense and noise
user1596138
Whatever lol
@Ricky your entire problem is rooted in the fact that you tried to follow a w3schools article
but isnt that revolved around teaching people how to do something?
@Ricky it revolves around really awfully teaching people how to do something awfully
20:45
don't be rude boyz
user1596138
@Ricky Nick never learned anything from w3schools, trust me
I take your word for it, I mean its not worked out for me so far haha
user1596138
In reality everyone did. Jus learn where you feel comfortable
Ask anyone in this room, and they'll tell you the same
I find sometimes that modifying it to fit your own code can work or at least put you in the right diorection (?)
20:47
No
Learn how to write your own code
can we unpin the kamil RO message?
@ndugger
no that is physically impossible
No, I'm still celebrating his RO promo.
also, I just remembered ndugger was an RO once
20:47
Hence the "modifying" part of my last statement
good times
ro?
rube oldburg machine
the m is implied
user1596138
> by ndugger
20:49
@Ricky The important part to realize that you never need w3schools. There's always better documentation on MDN or a project site.
Soooo does that mean im gonna get removed because of w3schools?
no, just fined
$4.99 per link
user1596138
Not unless someone pings rlemon
user1596138
Fuck
flag galore?
20:49
watch yoself boi
@rlemon fuck you pay me
@KendallFrey - MDN may be good but the site is hortrendous and not very attractive, which makes it awful to read :/
I don't like flags
@SterlingArcher I wouldn't be surprised if that how you actually thought it was spelled.
@Ricky Weird, it looks fine on my end.
MDN is great if you know what you're looking for
20:50
@KendallFrey iiiiiiiiiissss it not?
user1596138
Let em flag
A Rube Goldberg machine is a deliberately complex contraption in which a series of devices that perform simple tasks are linked together to produce a domino effect in which activating one device triggers the next device in the sequence. The expression is named after American cartoonist and inventor of such contraptions, Rube Goldberg. Over the years, the expression has expanded to mean any confusing or complicated system. For example, news headlines include "Is Rep. Bill Thomas the Rube Goldberg of Legislative Reform?" and "Retirement 'insurance' as a Rube Goldberg machine". == Origin == Rube...
MDN is not for things like how to i toggle a navbar, stackoverflow is better for that kind of stuff
oh i was right
i left the g off on purpose
i thought for a moment 'was it not rube?'
@Ricky MDN is technical documentation, and technical examples. No hand-holding, because you're expected to be able to use your brain and think critically. w3schools is all false information, bad practices, and awful hand-holding down wrong paths.
20:51
What a save.
@SterlingArcher even then you were still wrong
w3schools is only good for causing problems.
@SterlingArcher even with the g, nope
It seems like your real problem might be laziness
oh yeah he's right
20:51
Do you need another permanent ban?
user1596138
SOmeone shut him up
user1596138
God damn
it may give you a solution that works, but eventually it'll become a problem
like when you need to modify it to fit your needs
prude goldberg
20:52
did someone kick him?
because he's gone
laziness is never a problem - Try and get the desired output within the shortest amount of time - How can anyone say lazy is bad :)
oh hey ricky
laziness bred w3schools
user1596138
Just ignore thomas the cranky engine
20:52
so yeah, it can be bad
@Ricky Because lazy means it takes longer
hey @towc
well, i mean, you may get the result today in the shortest amount of time, but how much time will it take to fix it later?
@Ricky that's not what laziness does
I was just being predantic :)
20:53
actually, you know what? Let's see where laziness gets you
everyone ignore him
@Ricky Not to be rude, but that is a wicked bastardization of the phrase "Work smarter, not harder".
2
!!urban predantic
sigh
@KendallFrey are you going to be pedantic about the meaning of pedantic?
no
I mean yes but not now
I give up :/
haha
20:53
just use jquery
I hear it's really good
@KendallFrey so now you're being pedantic about being pedantic about the meaning of pedantic?
Okay - so would someone kindly inform me as to where I am going wrong in that code, as the console doesn't show errors?
almost anything else you'll say will stack on top
@Ricky where is your actual code? Did you make a jsfiddle or something?
20:56
0
Q: adding/removing class to :not(:first-child) with jquery

RickyJquery does not seem to cancel or over-ride my inline style - I have the visuals of it and also the code over here on a snippet or Codepen for a better view. However, When I interact with the hamburger via clicking the code, it doesn't seem to override the style as I would like or even append the...

@ndugger - here codepen.io/Ballard/pen/aqjrmy - you may need to resize to a smaller display of less than 568px
@Ricky why did you think that this was even remotely valid? if (x.className === "nav-item:not(:first-child)")
w3schools uses an actual classname there
You're doing a string comparison with your element's class and a CSS selector
w3schools - Im beginning to get the idea that w3 doesn't like me right now
20:57
w3 != w3schools
w3schools was born off w3 wasnt it?
jesus h christ no
Im just going to shut up and listen :)
20:58
w3schools is a for profit business
@Ricky your string comparison is completely wrong
that's where you start
It should be dead obvious
@Ricky lol w3schools don't like you ?'
your element's class is not that string
that string is a css selector
Additionally, var x = $('mob-men'); doesn't select anything.
I have tried it with the #mob-men
oh gees one sec

« first day (2687 days earlier)      last day (2485 days later) »