« first day (2159 days earlier)      last day (2789 days later) » 

8:00 PM
and he would look so excited
> Ok so I need to hide this item
> SHADOWDOM!!!
 
I hate how much battery it uses though
 
user1596138
@KevinB Data is tied to headings, so in any normal case you would have to explicitly move it over for the caret
 
Like usually I don't charge my phone overnight
 
@Loktar :( I thought it would be a joke about you going #1
 
So already I wake up with 90%
 
8:00 PM
@Loktar yeah that is a typical manager behaviour, opening issues with expensive terms just to feel important :)
 
@rlemon that's json with extra padding
jsonpp
 
Then I go for a run w/ it and then it's below 50% by the time I finish
 
@Meredith Magic phone?
 
Which is honestly not that bad but kind of a pain to charge my phone at work
What?
 
How do you lose so little battery?
 
8:02 PM
10% overnight?
 
@Loktar "jsonpp?" "depends"
my shortest joke
 
How much do you lose?
 
no while playing go @Meredith
 
so, back to my "should go to bed question": which component falls in the category of most usefull, easily importable into a project? a combo box? a simple form? or a slide show maybe?
 
How much do you use?
I usually get about 2-3 hours per battery charge
 
8:02 PM
GPS drains my battery very fast
I get 1-2 days normal use, but if I'm doing anything with GPS -- 2-3 hours max
 
depends on the complexity required of each component
 
@rlemon no it isn't
> looks down
 
lol
 
@KevinB true. Just wanted to make a demo with Alkali and maybe doing something that ends up being usefull
 
that is a tiny pinky toe
 
8:04 PM
@Loktar how's life without pants?
 
@rlemon it's cool I can go to the bathroom ANYWHERE
 
lol
have you stopped showering yet?
 
haha nah
I shower every morning I have to
 
shaving + pants would no longer be a thing tho (If I worked from home)
 
been doing it since like 6th grade
 
8:05 PM
yea I'm a morning showerer as well
those crazy night-time people like @SterlingArcher freak me out
 
If I worked from home I'd have the biggest beard
 
yeah I don't care as much what I wear for the day until we go out somewhere
I've been growing mine out
 
Oh please I was only up till 2am last night
 
no, I'm talking about you showering before bed and not in the morning
that shit is weird yo
 
8:07 PM
I hate showering at night
 
I hate doing anything in the morning
 
@SterlingArcher I would have sworn it was you who did that
maybe I'm wrong.
 
I refuse to sleep dirty, I feel so gross. In the morning, if I sweat, I take another
 
I would love to shower at night, but dealing with bed head in the morning is the bane of my existence.
 
I always re-wash my hair in the morning though
 
8:08 PM
+ if you sweat at night
Gross
 
I wear pyjamas now. keeps the bed cleaner.
and we change the sheets weekly.
 
Yup, beds are to be cleaned weekly.
And bath towels can be used for a month.
 
Uhh
Wash your towels more often
 
like, if I'm really sweaty from working outside I shower as soon as I'm done. shower once dirty
towels get 2-3 uses usually. no more than 3 for me
 
Or maybe I have them backwards, bed monthly and towels weekly. One of them is month long before germs creep up.
 
8:10 PM
Nope
Towels twice a week, sheets once a week
 
I'm staring to look like Jihad Jason
 
@Meredith You're washing your towels too much. They did a study on that shit, and it's up to a month before they become nasty.
 
@Loktar you remind me of brent burns
keep it growing
 
@Loktar ohh hello php_penisbetter
 
8:12 PM
@rlemon hahah fu
 
You look like Redbeard just took you on the casting couch
 
terrible pic but idgaf :P
 
the expression probably is what is tipping it over :P
 
@Neal, @Trasiva: I've asked for votes to surface that answer to the top if it deserves so. It's an old question, and a bunch of lower quality answer have a lot of votes.
 
you don't normally look like him
 
8:13 PM
haha nah
I was just being retarded
 
@DanDascalescu but your answer was not that good... (I am sorry)
 
@Loktar terrible pic? bro, you know nothing about terrible pic. i am the king of terrible pic.
 
s/pic/thumb/
 
lol
 
8:14 PM
@DanDascalescu You asked to try and get over 350 upvotes to a question that's still a better solution as a whole to the OP's question.
 
@rlemon Are those chat commands or something? I see you guys type stuff out like that, but don't get it.
 
There are over 200 people watching KSPTV and it hasn't even started yet
 
@Loktar Dude, I warned you about gluing ball hair to your chin.
 
@Trasiva I have a weird fetish where I dip my face into super glue and then mens thighs, what can I say
5
 
That's bhole hair though
omg
 
8:16 PM
they scream I laugh
 
@Waxi perl substitutions, fairly ubiquitous
 
@Loktar That's a hairy situation right there.
 
@Loktar "I laugh, ohh how I laugh"
 
haha alright headed out to eat with my bhole hair
lol see you guys later
 
@Loktar Remember to wipe!
 
8:17 PM
@Loktar bye bae
 
@Loktar later o/
also, I'm going to gimp you as a hobo tomorrow
 
Do iiit
 
@rlemon lol remember when he died
 
good times
lol
 
Make sure to have the 'Suck for a buck' cardboard sign too.
 
8:20 PM
nahh, gonna s/HTML/React/
 
I love it.
 
10/10 would not hire because you don't code HTML. HTML is markup >:(
 
HTML is code, but it's not coding. What about CSS?
 
HTML is a real language you bigots
 
jquery or node?
 
8:22 PM
@Yazsid Welcome to the JavaScript chat! Please review the room 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.
 
@SterlingArcher it is a "markup language"
 
I...what?
 
it is in the name you pleb
 
@Yazsid php
 
@Yazsid you're asking "rollerblades or apples"
the question doesn't make sense
 
8:24 PM
teen pregnancy or iPhone7?
 
@rlemon But can you put apples on your rollerblades?
 
@ndugger in LA you get both
 
KSP DEVS ARE STREAMING NOW
HYPE HYYYYYPE
 
@KendallFrey I closed it
link again
 
8:30 PM
@KendallFrey KSP -- flat earth mod...
that would actually be kinda fun
 
I'm just thinking aloud
 
Oh you mean the original version of KSP?
 
:P
I'm talking about implementing all of the crazy stuff they think would happen.
 
That's right, the first version of KSP (before release) had flat Kerbin
(IIRC)
 
8:31 PM
like flying into space ripping you apart
 
Old versions also had that. The Kraken
 
that can still happen
 
WOA
deploy when safe parachutes..
 
that sounds... op
 
8:36 PM
this is good. now I can disable my updates till my mods are updated
last time I updated KSP when it released, none of my mods worked for weeks
 
haven't played ksp in a few months at this point, probably get back into it when wow activities die down. I'm looking forward to subnautica releasing though, i love that game
 
I installed real solar systems and remotetech
whole new game
spent a week just prepping for landing on the moon
 
spent quite a while planning out a refueling base on minmus, just to not be able to put it together when landed. realized it would be so much better to just build it in orbit then land it
but stopped playing before doing it
 
I have no idea about my base yet.
I'm going to attempt to land a rover with drilling / fuelling capabilities.
 
i tried rss twice. the first time, procedural wings/tanks annoyed me and i gave up
second time, save got corrupted
 
8:41 PM
I didn't take realism overhaul.
just RSS
try just installing RSS, and not the entire overhaul.
 
@KevinB procedural tanks are the best
 
@Neal: huh? How exactly is my answer "not that good"?
 
@Trasiva: I didn't ask for any number of upvotes. The answer I gave doesn't need to be #1. 3rd or 4th would do, so other users who actually know JavaScript (that excludes Neal), can see it and upvoted.
Actually, looks like Neal knows JavaScript. Pray tell, how is my answer "not that good"?
 
8:46 PM
I like the procedural tanks, but... i don't like how they sort of become the only tank you use.
 
Kev, I feel the same way about part-scaling
but then you get odd mismatches
but tbh, I couldn't get into space in RSS without part scaling
 
choosing between a giant 4400 tank vs 4 smallers and 4 engines is an interesting choice
if you could instead just make the procedural the exact size you need, with one engine, there's no reason to ever go back
 
do you have part scaling installed?
 
user1596138
@DanDascalescu LOL
 
i dont
 
8:48 PM
it lets you scale by factors of 10X iirc
 
never used it
 
!!afk Hospital time.
 
so it isn't universal, but you can make most parts fit
 
think being able to put the nuclear engine on the 50L liquid fuel tank
so nice for probes
 
8:49 PM
I usually just run with stock parts revamp/eve, and maybe a few QOL things like mechjeb/ker/contract organization
the stock parts revamp comes with a larger nuclear
but i've yet to put it to use
 
I need smaller nuclear engines.
 
Oh
 
:P larger ones are covered in my near future propulsion mod
 
yeah i usually just stuck a monoprop engine on my probes
get 2500 dv, deliver with ssto, good to go
if it needs to go outside of kerbin, attach it to a single liquid tank + nuke
 
when I make probes to get telemetry from other planets I like to at least equip them to fully scan the planet and a few moons
so need to make a few hops once in orbit
having 5 small nuclear engines with feeds to the center lets me drop mass and have a long running craft
just be sure to have something to do during the 12 minute burns.
 
8:53 PM
Does somebody have a couple of minutes / is bored enough to do a quick sanity check on the JS I have written to see whether I am not doing things too stupid?
 
what i started doing was including docking ports on probes so i can refuel them... but i never actually refueled one
 
a sure fire way to get your code picked apart is to post it in here
you know that Pee
 
@PeeHaa 5 seconds in
var?
no
 
8:54 PM
what where?
 
app.js
 
I thought I removed all of them
Oh damnit
 
lmao
 
don't blanket lets
 
user1596138
@DanDascalescu you answer a lot of terrible questions.. Sometimes in odd ways lol
 
8:54 PM
@PeeHaa HOW DARE YOU!
 
rule of thumb is use const until you can't
 
oh
 
@rlemon global everything!
 
@Neal those are not related
 
@Neal ?
 
8:55 PM
why is players an array when you only use one value in it?
 
@rlemon Yea... but the amount of window.variableName in some of our legacy code is frightening... (and people are still doing it...)
 
@Neal yesterday my cat threw up
 
Because it will be a multi player game (once said sanity has been checked)
 
@PeeHaa k
        document.addEventListener('keydown', function(e) {
            if (e.code === 'ArrowLeft') {
                this.players[0].turnLeft();
            }

            if (e.code === 'ArrowRight') {
                this.players[0].turnRight();
            }
        }.bind(this));
use lambda expressions
 
@rlemon mmm cool. Yesterday I painted my sons room some more.
 
8:56 PM
then you can skip the rebind
 
> It does not mean the value it holds is immutable, just that the variable identifier cannot be reassigned.
holy shit
mind blown
 
yea, just don't change reference
const poop = [];
poop.push('this is fine');
poop = []; // will throw
 
/me is going to awk let -> const
 
@PeeHaa Errors everywhere!
;-)
 
then use let when you do change reference, for example, a for(;;) loop
 
8:58 PM
maybe
 
but outside of loops, you don't often change references
 
@Neal The refences hardly ever change
 
at least, I'm finding
 
It's somewhat sane ;)
 
Also let is block scoped (as is const @PeeHaa)
 
8:58 PM
function scoping is almost never beneficial over block scoping
 
wow dat pings :P
 
I'm sure there are edge cases, but in real world.
 
@PeeHaa sorry, I hate it when stuff isn't formatted nicely
 
lol
!!kick neal
 
The user has been kicked and cannot talk for 300 days
 
8:59 PM
huh?
 
What?
 
I need that too
 
@PeeHaa if you still need review ping me in like 30 minutes
I'll add comments where I see fit
 
What does that message mean?
 
user1596138
LOL
 
user1596138
8:59 PM
> Congratulations!

This was only a test, designed to make sure you were paying attention. You passed.

Next
 
user1596138
Edit queue is sneaky
 
@rlemon yeah sure. Let me go in and fix what you found first
 
!!kick Peehaa
 
The user has been kicked and cannot talk for 300 days
 
@Jhawins Most of them are really obvious
Like durrrrrrrrrrrrrrrr obvious
 
@SterlingArcher #HAMMER
 
user1596138
@PeeHaa Yeah it was hilariously obvious I was like wtf is this lol
 
I don't trust your gold badge qualifications >:(
 
@Jhawins :P
 
user1596138
It was random words in random places. It looked like a form spam bot
 
9:01 PM
@SterlingArcher So say we all.
 
And yet people fail on them... :)
 
Wow I got that badge 4.5+ years ago
 
user1596138
0
Q: make cookie from the input of a prompt box

user645607okay im trying to make something where you have text and when you click on it, it displays a prompt box then whatever you enter gets put into a cookie, but also at the same time the text gets replaced with the input. i know it sounds kinda confusing so i made a jsfiddle. http://jsfiddle.net/megaL/

 
user1596138
This has survived 5 years somehow
 
Vote to close @Jhawins ? or just for looking?
 
user1596138
9:05 PM
@Neal I mean it really shouldn't exist lmao
 
@Jhawins sooo vtc.. then delete?
 
user1596138
> Halp plz !important here is the jsfiddle
 
SO was very different 5 years ago
 
user1596138
And the question is what exactly? — jmbucknall Jun 30 '11 at 21:05
 
could be rewarded as a "how do i do x"
 
user1596138
9:06 PM
Lol it even got called out back then tho
 
user1596138
@KevinB Then it would become a duplicate
 
close it as such
 
user1596138
> Make cookie from the input of a prompt box
 
user1596138
How are we going to fix that lol it's like 3 questions :P
 
user1596138
> How to make cookies
 
9:07 PM
^
 
user1596138
And
 
user1596138
> Basic webdev
 
user1596138
Meh, someone can trash it if they want or fix it Idc. I just thought it was odd it somehow survived without a negative vote count
 
it's actually a typo question
and a "show the code you're having a problem with" question
 
Just kill it already :P
 
9:27 PM
NEVER!
 
@rlemon those things should be fixed now
 
@PeeHaa ruh roh... you updated the bundled code github.com/PeeHaa/tronix/commit/…
oops?
or was that intentionally still es6?
 
intentional
 
Where do you have your webpack config?
Y U COMMIT NODE_MODULES?!
 
@Neal I have a config? :P\
@Neal Re that:
 
9:36 PM
@PeeHaa ...
?
 
9 hours ago, by PeeHaa
Sanity check tuesday: when I npm shrinkwrap I do not commit my node_modules directory right?
 
@PeeHaa you never commit your node_modules...
 
I was reading about it but some people say commit it because npm sucks and some people don't commit it
 
its like committing your composer stuff in php @PeeHaa
 
Yeah that's what i was thinking
 
9:37 PM
also you have no configs anywhere for webpack etc
so how did you build?
 
70
A: Should "node_modules" folder be included in the git repository

ivoszzThe answer is not so easy as Alberto Zaccagni suggests. If you develop applications (especially enterprise applications), including node_modules in your git repo is viable choice and which alternative you choose depends on your project. Because he argued very well against node_modules I will con...

That ^ threw me off
@Neal uhmm webpack ./src/app.js ./js/app.bundled.js
 
@PeeHaa Yea... bad answer (in my opinion)
 
@Neal Will remove
 
@PeeHaa ... ew. Add that as an npm script please :-) (and add a README so people know what to do).
@PeeHaa k cool :-D
 
@Neal What does an npm script look like?
 
9:39 PM
in your package.json in the scrips hash
add something called build which would be webpack ./src/app.js ./js/app.bundled.js
then you can run : npm run build
 
oh nice
 
also consider adding a webpack config so you can do some transpiling etc for browser coverage :-)
 
That's something like babel?
 
@PeeHaa babel, typescript. something ;-)
 
coolio
 
9:42 PM
also consider not committing the built code (unless you plan on distroing it as a module)
Also with webpack you can bundle in your css and js etc. with hot reloading and other fancy stuffs @PeeHaa
 
Yeah was reading about their devtools tonight. But was too busy setting up my ide to just work
 
For example these are my npm scripts:
 "scripts": {
   "build": "cp -R server/. lib/server && babel server --out-dir lib/server && npm run dll && npm run compile",
   "buildMini": "NODE_ENV=production npm run build",
   "packageProd": "npm run build && node lib/server/server.js",
   "prod": "NODE_ENV=production npm run packageProd",
   "predev": "npm run dll",
   "dev": "NODE_ENV=development nodemon --exec babel-node server/server.js",
   "compile": "webpack",
   "dll": "webpack --config webpack.config.dll.js",
   "pretest": "npm run dll",
 
!!google karma js testing
Still no google...
 
@PeeHaa Yep I have got that too.
 
I should probably add some tests soon. They always make it painfully clear where your code sucks
 
9:46 PM
@PeeHaa sometimes
 
wow.
He's writing a.... tron clone...
This is.. overkill..
poor peehee.
 
:P
 
peehee? hoozat?
Also you may have overcomplicated a lot of it with class sugar @PeeHaa tons of files for no real gain
Why is there a reason for every direction to be a class?
 
cuz es6!
 
...
 
9:51 PM
Yeah probably, but that makes it easier for me to see what's going on
 
There is no reason for it. Just overcomplicates things
 
true.
 
object literals might be a better way to go...
const right = {
    direction: '...',
    heading: '...',
    /// etc
};
or something like that...
 
kk
 
directions object maybe?
 
9:53 PM
@littlepootis The good / bad thing is that it even kinda works
 
idk
 

« first day (2159 days earlier)      last day (2789 days later) »