« first day (2617 days earlier)      last day (2556 days later) » 

13:08
Don't know how I feel about being inspired by wendy's first thing in the morning
I honestly don't see the inspiring thing about it :/
because you're an autismo cringelord who lives in the woods
isn't it basically saying "we were lucky, then we just said fuck it to a lot of things, and they worked out"
var selectSize = document.getElementById("selectSize")
 var lengthSelectSize = selectSize.options.length
 for(var i = 1; i < lengthSelectSize ; i++) {
     selectSize.remove(i)
 }
I wouldn't expect you to relate to the rest of us normies
13:10
I want to remove all options unless the first one
how can I?
it is removing just the second one
@towc Hey, you just described my life!
is your life inspiring?
I got kicked out of university in 3rd year for poor grades, came back and graduated with straight As, so a little bit
It's my life, and it's now or never
I live my life by that one justin beiber movie
13:13
#NeverSayNever
Company of heroes 2 is free: humblebundle.com/store/…
I have all of the company of heroes games, but I've never played a single one of them
Same!
I tried playing it once and got bored
I played gorn and racketnx for 2 hours last night and my body's so sore
why does vr require movement
its a subversion plot by the obama administration to make people more healthy by making them move
wake up sheeple
@Cereal Because you virtually touch yourself at night
13:16
while (selectSize.options.length > 1) {
              selectSize.remove(1);
          }
Finally I did with that
@BenFortune Ive had this thing for a year and I've still never tried vr porn
i cant get over how utterly stupid one would look while watching VR porn
the entire time i'd just be imagining myself as another person watching me do it and I just can't handle that in my life
I feel like if you're in a position to be watching vr porn, something like that wouldn't bother you
vr porn first thing I tried
then all my friends tried
if watching someone watching porn or being watched while watching porn bothers you you need to lighten up
13:23
@Cereal thanks
@hilli_micha do you do that when watching regular porn?
nah man, i'm too busy being vigilant on whether someone is going to walk through my office door
@Mosho did you whip out your jimmy and give it a yank?
only with my bestest friends
did you like all try it together?
like pass the blunt, except with a headset that contains porn?
13:30
pretty much
13:41
You could have just given each other reach-arounds
VR is so unpersonal
if im gonna whip my willie out infront of my friends im going to stare them dead in the eye the entire time
cant do that with vr
You shouldn't whip your willie
when I was about 13, I invited a good friend over, and after a few minutes of playing with ipad games, he took his belt out while saying "I haven't masturbated in so long. Do you want to masturbate?" completely serious. By the end of the sentence, he had his dick out
If performance (yet to be tested) is comparable to or better than React, would you use a library like this? github.com/ndugger/duluth#example
0
Q: check box tree view enable disable function not working in mvc

Ivin RajCheck box Bootstrap Tree View function. we are getting the data from the database by using repater function we are viewing the parent and child view. when i click on doctor it enable the checkbox for all the child value. but doctor check box is not enabled. when i click on patient checkbox it di...

13:44
I said "no, no, no, no"
and the rest of the evening was somewhat awkward
god, I do have issues
tbf it wasn't traumatic or anything
towc ... tmi ... tmi ...
@towc I was at a birthday party once, sleepvoer, maybe 16? and it's like 3am
and someone switches to showcase
which is obviously porn at 3am
dude, same!
but I know I don't want to see my friend's dicks
So we're reaming this shitty porn
13:46
except it was HBO
but one of the guys there
is covered by a blanket
and swear to fuck he's going to town
Girl with the Sex-Ray glasses
fapped there? :P
I remember it fondly
@towc now I understand that you're completely mental deviated
13:47
"Sex-Ray glasses" thats fucking genius.
@Cereal his house?
I'd like to get an answer in my Ethereum SE question
i walked in on my younger brother going to town while watchng she-male anime porn once. most awkward moment of my life, bar none.
either way, that's still no-no-no-no-no zone
I walked in on my parents once
I wasn't even shocked. I just wanted to go to sleep and they were making a lot of noise
they were watching she-male anime porn?
13:48
is that why you hate your parents?
s/parents/life/
@hilli_micha or maybe I love them so much that I left the house all for themselves
do you live alone?
I live in a house full of strangers
strangers are literally invited here
and given beer and coffees
so it's your house
13:50
I don't own the place, nor am I paying rent
or you're the stranger
you're an okupa
I'm one of the strangers
oh nice
but the only one who actually lives here
it's a hackerspace
!!hackerman
13:51
@Neoares That didn't make much sense. Use the !!/help command to learn more.
shame on you, @CapricaSix
!!afk visiting the doctor
says "shame on you, Cap" -> A wild Zirak appeared
why you bustin my cap
how do I do this elegantly in a shell script: perform commands only if a condition is true
arbitrary, multiline commands
foo && bar ?
if [ ... ]; then ?
multiline
arbitrary
13:57
What can't you execute inside a then?
how do I get the commands there
they don't belong inside the script
I'm confused by your confusion
I want something generic
source them beforehand, or execute another script
hmm what does sourceing them give me
13:59
It executes another shell script in the current context, making anything declared there visible inside your script
Think #include
I don't see how I can use it
@towc No, one of the guests
what I want to do is pass commands from the shell to that script
Can you give a concrete example?
without putting those commands in another script
14:00
oh
because then I would have a lot of little scripts
and I don't want to
You're asking way too much, you have to put them in a 3rd script or use a shitload of IPC
well that sucks
Unless I don't get what you're asking
I want to execute echo wat only if a condition is true
14:02
Can you give a "dream syntax" or a js equivalent or something?
the specific case is running build commands only if a folder changed
but the build commands vary
I have 4 folders with different builds in the same repo
So you want to pass a bunch of shell code as an argument to the script
and I don't want to build them all on every commit
you can write shell functions ...
@Zirak yeah
@KarelG I prefer not to
14:03
eval or bash -c "$1" or something like it
dream syntax
I like that
that is designed for what you are trying to do :|
it's in a circleci config file
I prefer having everything shoved in there
eval is probably the easiest
14:04
except something that's generic, like the script that checks if the folder changed
wow
i should frame this talk
that's a nice folder.
@Loktar probably too late now
One of a kind!
Hi Oliver
@Zirak I guess
14:06
yea, it's still mass produced, but the pattern welded steel will never be alike
Hi Shrek :D
so they get to call them 'one of a kind'
but I need to do multiline somehow
then you come back at functions 😀
hmm
apparently I can do this :o
test:
  post:
    - >
      if [ -n "${RUN_NIGHTLY_BUILD}" ]; then
        ./bin/run-functional-tests.sh ${FUNCTIONAL_TEST_TARGET};
      fi
14:07
lol
@OliverSalzburg I am way too overloaded at work (juggling too many things). So probably I'll apply for you guys in X-mas break. I really like what you guys are working on :P (after doing some market study).
rolls eyes
pokes eyes
rolling things make me uneasy.
to return from a script I exit 0 or exit 1?
for false/true?
I dunno why I ask instead of trying it
exit 0 is always for successful thing
14:10
yeah
other numbers is "error"
does if check success
or do I = 0
whatever, I'm just going to try :P
@ShrekOverflow Take your time. Now it's too late to participate in the office xmas party anyway
sh build_if_changed.sh
if [ $? = 0]; then
    echo building
fi
eh
I dunno if I like it
Naming would suggest that this will print "building" after building
14:17
yeah I will change the name of that script
@Mosho You don't have to sh, plus scripts usually don't have extensions: By convention you have the shebang and exec permissions
So ./build-if-changed
but I have to set the permissions
Opinions on using an external web service as cron expression validator?
fuck it I'll just use a script
@KamilSolecki huh?
whadya mean? As part of what?
14:26
"no you hang up"
.circleci/utils build-if-changed folder-name
So i'm trying to learn mocha and chai and all that. my biggest issues are around that i don't understand how to test promises. all my code looks so different to the examples and a lot of the examples are from 2 years ago and things might have moved along since then
use chai-as-promised or just return them
use async/await and try/catch in tests
but as i understand it... chai-as-promised is built into mocha
14:29
it is not
it's unrelated to mocha
it's a plugin for chai
chai.use(require('chai-as-promised'))
ahh i'm thinking of mocha-as-promised
the only thing to pay attention to is whether you're testing the promise or the results
if you're just testing a promise, you can return it, mocha knows what to do
i.e., all you care about is that it fulfulls
@KendallFrey <3
if you want the value, you might be able to use chai-as-promised for simple assertions, but you need to await the promise for more complex stuff
I want to test the happy and the sad path... e.g. my function reads a text file and adds each line to an array in a happy path... if i pass it an invalid text file, it errors in the sad path
14:34
you should always test both, but that doesn't change things for mocha/chai
i.imgur.com/2fgzG91.jpg supports for your supports
good idea
yep, maybe i don't have a broader understanding of what's going on @ssube, I would post a question but fear it'll get marked as duplicate
what are you unsure of? Mocha knows how to handle promises, there's a bit in the docs about it, and chai only cares if you want the expect(foo).to.eventually.equal(3) syntax. If you just await, chai doesn't care at all.
the only gotcha I've run into is leaking unresolved promises, which is easy to detect
i don't quite get the test setup at all. i think that's the main part of it
@Zirak my configs allow for passing a cron expression. The consumer of it is bull.js, which afaik does not have a separate validation method for the expression, so I will only know when it throws an error. But, I would rather have the application fail during the config check. Three things I could use is 1. some little lib, but honestly I dont trust that these 1-starred ones available are legit, and I don't feel like pulling a bigger one just for that (Like later.js).
2. A regex, but I found so many different ones that I cannot tell which one is good. 3. an external web service
14:40
I don't know who recommended WindowGrid to me, but it's fantastic
yeah, I do buy extra if a small extra price is required to get free shipping
is $5 worth free same day? probably
I do not understand the logic tho. eg 20 EUR needs 7 EUR for shipping costs. But if you spend 25 EUR, then it is free
because the company has bulk contracts for shipping
14:43
amazon does a lot of their own last-mile shipping now too
well, those bulks are multiple products from multiple customers, no?
Guess who gets to go through all their entire website, find all their ES6 code on all but one page, and re-write it as jquery?
no, think about a company that ships tens of thousands of items a day.
I wish I could have more things shipped without needing a packaging disposal facility
they're paying a fraction of the shipping cost they put on you
14:44
I'll take 2 $5 items and 10 pounds or cardboard and plastic, please.
filling up a box is also almost-free for them
@Trasiva that sounds straight out of a dystopia
@KamilSolecki hrm, does cron itself not have a flag asking it to verify the crontab?
its just a textual value in a json file
yeah I know, but a cool way would be to write the line to your actual crontab and ask cron to check syntax
e.g. nginx -t checks the nginx config and tells you if it has errors
14:47
oh.
That's a neat idea.
like visudo -cf ?
is there not a standalone library for that? I have a dozen cron tools bookmarked that do it...
especially crontab.guru
vicron
@ssube that was in my options, as verifying in an external service
sudo vim /etc/sudoers && fuckthepolice
14:49
If your cron expression is so complex that you need tooling to verify it, you need to stop doing that
its not, but I let the user input it in the config
if your JS is so complex you need a tool to verify that, stop doing that
Never let users do anything!
so I might go ahead and check it.
you should usually validate user input, we all know how buggy they are
14:50
users?
absolutely. Not one of my servers has ever gotten bed bugs, crabs, or anything else.
my office smells like chicken
this woman outside it resting her car door against another car
and I don't know why
it's not my car but it still makes me angry
14:51
@Luggage set off your car alarm
it's not my car.
set off her car alarm
no, but for a split second she might think the car going off is the one shes on
it's across the parking lot
14:51
oh, well then
just stare at her
i'll just go slam it shut on her legs and run away laughing
start throwing snowballs?
pretend it is your car and go have a breakdown in front of it
slam it into the other car, say "have fun explaining this," and then bill murray it
OMG! MY DOOR! :drops to knees: WHY GOD WHY?!?!?
14:52
@Luggage You obviously need to write a very aggressive note and leave it on here windshield
Secure it with dog poop
while she's sitting there and it's not even my car? That sounds reasonable.
@BenFortune yeah I already was considering later, then I thought it's stupid to pull whole later just for that, but then I imagined other uses for it and I'm going with later
The door on my car fell off while driving to saint john
@Luggage Pee on her
@Cereal lol wat
14:53
Well, someone needs to do something. This door resting can not go on like that
There was a loud whistling sound while driving, so I pulled over. Tried to open the door, and it just.. wouldn't open
so I got out, look at it, and the body of the door is just
Not attached
There's like 1 bolt holding it on
so I open the trunk and pull out the duck tape
was anyone using your car before that?
sounds like it was already broken and forced back into place so you'd think you did it
I took it in to the GMC place and they told me that it was only held on by plastic clips, and one must have broken, and then it just dominoed
14:54
or it just fell off
It's 10 years old
my last car was that old and the only thing falling off it was paint
that's why you never stay behind an Impala for too long. Something will fall off.
it happened to the passenger door 6 months later
what car doesn't have metal hinges?
this story is fishy
14:55
but we noticed it early with that door
The hinges were metal, the body of the door is what fell off
@Luggage mine, after I 3d print new ones
Like.. the
duck tape
best tape
*duct
14:55
duct*
or duck. A brand name
duck tape is a brand of duct tape
whatever towc, you're not my real dad
duck tape is the knock off
@Cereal yet
14:55
The GMC dealership replaced the door for like, 200 dollars or some shit
fun fact: duct tape sucks on ducts
Brought it to an auto body shop for the second door, they just glued it back on, 50 bucks
absolutely terrible.
duct tape sucks on most things
it doesn't stick for shit, but it also doesn't burn
14:56
So now one of my doors is silver, and the car is black
@rlemon That's because it was never intended for ducts. The original spelling was duck tape.
I'm so rich I have one door silver plated
@KendallFrey For all of your duck taping needs
@KendallFrey sure, I'm just saying. it's probably the worst adhesive for ducts
but a lot of people assume that's what it is for
@Luggage More like I'm so poor, it looks like I'm driving something from the junk yard
14:57
it was originally for making duck centipedes
I got it for free though!
It was -25 this morning and I honestly thought the car was going to give up
bill to cloaca adhesion
my last car wouldn't start below -30
few times I had to call into work because I couldn't get it started
It always starts, but boy trying to get it to move
my shifter and turn signal aren't heated :(
14:58
That's another story. Sounds like it's about to explode
@Luggage right? I want my shifter to be heated
It's just super loud in the cold, and everything just kind of happens more slowly
my steering wheel is, and my seat is
why not the shifter?
i never knew I wanted that until the steering wheel was.
I've been looking at cars recently. Everything is heated
14:59
I'm going to get a manual next time just so I can have a heated wheel
i don't even need to shift. just to rest my hand there. Is that too much to ask?
Heated side mirrors!
I never thought I'd want heated seats till I had them
it was that or flappy paddle this time around
yea, side mirrors are a necessity. Not really, but they actually have value to help clear mirrors
14:59
I was looking to buy a manual and my girlfriend said no. It was a nice scion fr-s, too. Like 18k
I really don't even need a heated shifter, but I like driving in manumatic

« first day (2617 days earlier)      last day (2556 days later) »