« first day (2660 days earlier)      last day (2513 days later) » 
00:00 - 20:0020:00 - 00:00

00:08
oh wow I just had ({})]) sequence.. And it was actually "good" code
I use eos: boolean to represent and end-of-string situation. However, I need to also represent a beyond-end-of-string situation. Is there a good name for that?
@KendallFrey Example?
Example of what?
A beyond end-of-string situation
str: "poop", index: 5
00:16
out of bounds
buffer overflow
Who inspects that state? Or rather, what do you want to gather out of it?
Is it like a stream, exhausted? A bounds check? Or rather the literal "past end of string"
@Zirak I want to terminate a loop once the pointer advanced beyond the end of the string. EOS is still a valid position.
@Zirak Yes, it's a plain old string
@KendallFrey but eos+1 isn't, right?
Yes, correct
so just terminate after you reach EOS?
while (true) {
    // do stuff
    if (eos) {
        break;
    }
}
00:24
I tried that, and got an infinite loop, for other reasons
I can't help it if you suck
essentially, // do stuff should not get reached in the first place
@FlorianMargaine Sorry if you think my solution sucks
@KendallFrey ... how do you determine if you're at eos?
just check the index compared to the string length
user4639281
while((_ =>{
      // Do stuff;
     if(!eos) return true;
})());
00:26
@TinyGiant Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
not sure what you mean then, sorry
@FlorianMargaine All I asked for was a sensible name for a beyond-end-of-string flag
out-of-bounds
hmm
Mosho also thought so
such a different name for such a similar purpose
user4639281
As far as a name of a state goes, yeah out of bounds
00:28
I'm hesitant
user4639281
or bounds exceeded
I guess the wisdom of crowds is to be heeded
00:50
@KendallFrey confidence is key
watch this
@KendallFrey hey baby, next round of drinks is on me
That's cheating, I don't drink
foiled again
disclaimer: I'd never act like this around people unless it was very very clearly a joke
12 messages moved to Trash can
ask, and ye shall receive
I usually think "oh, this story might actually be interesting", but it almost never is
unless I go in a lot of detail, and at that point even fewer people bother reading it
@FlorianMargaine cheers
on the other hand, I guess every story is interesting if told well enough
01:05
hi
hooray, my tests terminate
@FlorianMargaine twenty thousand dollars please
@KendallFrey I didn't say "ask me"...
I asked, I'd better receive
Wait, did you mean a specific context of "receive"
oh no
01:07
only 20k?
what are you gonna do with 20k$
@KevinB put it toward a house
@FlorianMargaine I guess I could take 500k and buy a house outright
yeah.. you need at least 3 times that for a correct down payment
(20k, not 500k)
i've been weighing buying outright and not
I already have that
I'm too lazy to go house shopping :/
01:09
if i buy outright, a house in the range i want... i'm going to be left with less than i'd like
@KevinB are you rich
eh,
not terribly
Or do you want a really shitty house
or do you live where houses aren't ridiculously overpriced
well, housing down here ranges between 80k and 160k
god damn
01:11
basically free
i'm looking at the 140-160 range
yea
cheaper to buy a house than rent basically
renting here is crazy
why i'm with my parents... at least my money goes to them rather than some landlord
500k down here would get you an enormous house on a large property
500k here gets you a... decent house
user4639281
500k here gets you a shack that's about to fall over
135k will get you a 3/2 on 2.2 acres of land, outside city limits
fuuuck me
01:20
(lower taxes)
user4639281
135k here gets people laughing at you
user4639281
That's not true, out in the bush you could probably get some land with no access for that.
if i buy in-city, i could get a 3/2 for 80-90k pretty easily... but i'd rather be outside city
I'm in a program with a style guide that advises against using “function statements”, any idea why?
Maybe because both the function’s variable & definition are hoisted (statement) instead of just the variable (`var go`)?

> Avoid using function statements for the entire first half of the course. They introduce a slew of subtle new rules to how the language behaves, and without a clear benefit. Once you and all your peers are expert level in the second half, you can start to use the more (needlessly) complicated option if you like.
user4639281
@JBallin Any style guide that advises against the use of a basic language construct without including reasoning isn't worth the time it takes you to consider reading it.
01:23
"of the course"
in this case, it's right though
there's no reason to use function statement over function declaration
user4639281
However, they did include reasoning, so I don't really understand the question I guess
What are the "slew of subtle new rules..."?
it should be the other way around
// bad:
var go = function () {...};

// good:
function stop () {...}
user4639281
01:25
@JBallin "slew of subtle new rules" === "I cba to tell you why, but they're different"
why a semicolon after the function declaration? ~~
because
yea that's a typo clearly haha, not suprrised
oh yeah that one
given the advice, I don't know if it's a typo
01:25
nvm
@JBallin that course is BS
just fyi
haha it has a good reputation actually but yea their material is confusing sometimes
That's a bold statement from one example, but it's at LEAST suspect.
I wonder if JavaScript is the language with the most bad examples and misinformation.
In the top 5, at least.
JavaScript is the youtube comment section of the programming world.
@Luggage I don't have a ton of experience with other languages but I question everything I read about JS now...sucks
even SO
user4639281
@JBallin I think it's just an over-simplification. You're not expected to be able to understand the explanation of the differences at that point in the course, and presumably using defined functions (they mixed up the terms for defined functions vs function expressions) interferes with the examples used in the following part of the course.
01:30
There is a lot of bad info on SO, but the votes and comments help identify some of it.
That's a reasonable, if generous, interpretation.
user4639281
@Luggage I'm assuming it is an effort to avoid this mind melting situation (x however many people are in the room)
?
is that the right link?
user4639281
@Luggage If it links to a Louis CK skit on youtube then yes
user4639281
I'm so angry at the Canadian government for pushing this whole "Let's give teachers the resources to teach themselves how to teach our kids how to mangle code and say they're coders".
user4639281
It is the very definition of the blind leading the blind, and they want to put it in every school.
user4639281
01:36
I should not rant.
I know nothing about it but that one sentence, but I have an opinion anyway (because internet). It is as follows: The teachers will be lousy programming teachers but it exposes kids to programming so they can see if it interests them. School is best used to expose kids to many things.
teachers are the ones that weren't good enough to get a real job
"School is best used to expose kids to many things." The judge disagreed. :(
user4639281
facedesk
user4639281
My thing is that it is going to breed a generation of "Coders" who don't actually know anything about what they're doing and just make a mess for the rest of us.
user4639281
01:38
Though I'm sure that matches the same sentiment as when Pascal was introduced.
like, if you're interested in programming, you'll figure that out, i mean,
That will happen regardless because businesses will throw money at codes when there aren't enough. Exposing more kids will FIND the good coders.
@TinyGiant At least it's breeding a generation of coders
like, it's just a different kind of person. Sure, anyone can learn how to program, but it takes a certain mindset to really excel at it.
There will be X coders due to demand. If more people code then companies can be more selective.
user4639281
01:39
@KendallFrey But then what about the people who actually do know what they are doing, but can't get a job because Everyone's A Coder?
I knew I wanted to try computer programming before I even knew how it worked.
user4639281
I knew I wanted to try computer programming before I had a computer that worked
i was at school writing, with pencil and paper, scripts that i was going to re-type into mIRC scripts when i got home in middle school
modifying ut99 mods
etc
@TinyGiant If they can't outqualify the guy who can't do fizzbuzz, maybe they aren't as good as they think they are.
if you have interest in that, you'll get exposed to it
user4639281
01:41
That's the thing, if you're interested in programming, you're interested. You don't need a teacher that doesn't know anything trying to teach you something that they don't understand themselves and just confusing you more.
there doesn't need to be a class on it in the first 12 years of school
@KevinB not in some social contexts
i guess, if you're parents don't let you on the computer
or don't have one
@KevinB Some form of programming is basic computer literacy for the coming decades.
user4639281
@KendallFrey Yeah, and the guy who is interviewing everyone doesn't know what a fizzbuzz is
01:42
I think the future world will need more low-skill coders. They will be like data-entry, just giving commands to robots.
time for some deep sea diving
aaaand by the time I do some exercise, have a shower, and clean the bathroom up real good, it's almost 3am :/
Or just 'operating' the software made by higher-skill programmers
I am already in the water, but paused.
for example, I could really use someone who would just sit around and build excel sheets from sql databases all day
part time even
waking up in 4hrs and will be trying to look dashing for the slovak girl. I'm so doing things wrong
01:43
that would save me SOOOO much time
@KevinB Sounds like a job for a script
yeah, i have a few scripts that do it'
user4639281
^ that
but there's always some nuance
that doesn't quite get resolved by what i have
sometimes data cleaning needs a human... for now.
user4639281
01:45
I spent a decent amount of time automating a time consuming task related to shipping parcels through one of our shipping carriers, only to find out that at the end of this week we will no longer be using that carrier
that's my primary storage/crafting room
wtf why did that paste twice
eww, you mount stuff on the ladder?
I call 'immersion breaking'.
01:47
or.. SUB mersion breaking..
eh, i guess i could place it on the walls of the entrance i'm standing in
but it'd be cramped
I thought the moonpool was at jellyshroom degasi place..
@KevinB Cramped interior -5
it's at keen wreck
01:48
ohh, ok.
what? this is super not cramped
lol
ohh yea, i can go there now. forgot i have the depth upgrade
@KevinB RW reference ;)
I hope there is a thermal plant there, too. Sitting and waiting for sun to charge batteries
is cramped
01:50
you trying to fit into one room?
no, but i like to have the things i use the most in the same room
so, yes
but that's a good point, the room above this is really more of a hallway
between my scanner room and my moonpool
i could put up a locker or two and place these things on the back of the locker
Man, Tegmark is just listing off ideas that I've already had
damn
it won't let me build on the back of a locker
yeah, there's no good option other than putting things in a corridor or taking up one of the multi-purpose walls
or a ladder
here's the garden
need one more
what
01:57
one more plant bed.
i mean, for what
gel sacs
i have acid shrooms, gel sacks, yellow oil things, and blood oil
ohh, then the white mushrooms
i have a solution
i'll place a T corridor next to my crafting room, and put chargers on either side of it
01:59
I swear the music plays less often now...
eventually i'll want 3 powercell chargers, but 1 battery charger is good enough
ohh, to charge a full cyclops load
i'll probaly never need more than 2
ham and cheese
timecapule
My mechanical keyboard is going to arrive by monday / tuesday
can't wait!
02:07
had a bulb bush sample, water, and a dead battery
...
i still haven't found one
i've actually never collected a bulb plant sample
i usually nope out of that area asap
@KendallFrey This is actually awesome
haven't seen a diff take on Friday in for freaking ever
@Loktar There are a bunch of them I found in the related videos
can I append 1 textnodes in 5 different place?? and does they be equal to each other
no, a node can only exist in one location in the dom
you can however clone it
02:15
No, you will need to create 5 different ones
so how can i access 5 textnodes together
With a loop or something? Your question doesn’t make sense
ok I got it thanks for response
my capsul was full of fish
dude wrote a novel
I’m not a fish
02:22
gonna release them all near my base
assuming they're still alive by then
nice
if not, bioreactor
all alive
now i need to just not run them over with my seamoth before i get an alien containment
 
1 hour later…
03:40
i've decided that the bulbo tree is better than melons
faster/easier to harvest, gives good chunk of water
04:00
@Zirak I agree, it's very weird
 
1 hour later…
05:05
be careful, the pizza is aggressive
🍕
has anybody used egghead.io?
i signed up for the monthly subscription and literally cannot find a way to cancel the subscription
05:34
login click user, click manage subscrition, cancel @AlexBollbach
turns out i had to accounts
clicked sign in w/ github when i was logged into my second account
confusinggggg
yeah... that's why i'm kinda against adding social login to our site
I don't want to have to deal with users forgetting how they signed in or trying to figure out where their shit is just to find out they used the wrong facebook account or some shit
05:51
well that is what happened
and i contend it wasn't my fault either
pretty confusing
 
4 hours later…
10:19
123
Q: Can (a==1 && a==2 && a==3) evaluate to true in Java?

Taylor SenWe know it can in JavaScript. But is it possible to print "Success" message on the condition given below in Java? if (a==1 && a==2 && a==3) { System.out.println("Success"); } Someone suggested: int _a = 1; int a = 2; int a_ = 3; if (_a == 1 && a == 2 && a_ == 3) { System.out.println...

So they actually did it?
Wasn't the Ruby one downovted to hell?
10:53
I don't know whether I should cry or be impressed
11:44
hey guys, i'm trying to build a request/response handler, and i am considering implementing custom transformers on the response objects, to be able to map them to different results. what's a safe way to do this? i assume i wouldn't want to immediately use eval, but are there any client-side alternatives that are considered safe? (safe-eval is said to only work for node)
 
1 hour later…
13:08
@OliverSalzburg o cool
i can do that in java the same way as it was done in javascript though
13:19
ok I finally know what I want as a starting point of my new dish
Asparagus Espuma
14:19
With fish
14:43
so, girl in the woods got scared because I used the hatchet to open a plastic honey container, because we didn't have anything sharper
did you have a huge creepy smile and your eyes locked with hers as you swung it full force to open it?
@towc ugh honey should be kept in glass
who tf is girl in the woods
@TravisWhite absolutely
she looked really panicked actually
that is your problem, should've lightened the mood with a creepy clown like laugh
14:57
we had hiked for 1h45 mins before we found a pub, and we sat inside so she could warm up and we could eat the food we brought
she had something similar to hasbrowns, and some honey, but couldn't open it with her fingers because they were cold, and she asked me, but so were mine.
what was the temperature? camping in extreme cold isn't a ton of fun
so I was like "I got exactly the thing for this"
the froze for 2 seconds while I opened it. I assured her it was clean, I had washed it, thinking that was the problem
the honey thing was like the 1-use containers you get in hotel breakfasts
the next thing she asked was "are you a maniac?"
that's when I knew I fucked up, so I immediately put the hatchet further away from us on the table and helped her realize I wouldn't hurt her at all
the next 45 mins of the hike were nice. Loads of fog which was super irritating, and she was somewhat ill, so we went slowly and following paths
then she took me to this place where you walk stray dogs
and found this very asocial one, who according to the managers behaved really badly with other dogs. She said he probably won't go for a walk, and I took it as a challenge
turns out with enough love and some discipline it can be a great dog
didn't even want the treats she gave him
and stopped running aggressively towards other dogs towards the end
so now I kinda want to adopt him
she preferred small dogs, so we went to get 2 of them. One of them bit her for no apparent reason
then she got really moody and my chatting skills weren't good enough to bring her back up. If anything, it felt like she needed some time not to feel any social pressure at all and be herself, so we just walked in silence with the occasional joke
15:23
did u smash
smash what?
sorry lemon, blame dugger if you see this
@towc [smash](http://smash.urbanup.com/169288) 1. The action/process of fucking someone good.
1a. Hittin' it
1b. Tappin that ass.
fun stuff
So you’re never going to smash, then?
no
15:30
What?
what what
> Please prove that you are human by solving the captcha.
> Until you verify yourself as human, your browser will mine the Cryptocurrency Monero for us in order to recover server costs incurred by bot traffic.
Wow.
@Daemonk Solution: make bots that don't run the mining script
16:01
!!s/captcha/sudoku/
@KamilSolecki Please prove that you are human by solving the sudoku. Until you verify yourself as human, your browser will mine the Cryptocurrency Monero for us in order to recover server costs incurred by bot traffic. (source)
16:13
wut, I can't close my own question for a duplicate because "This question does not have an upvoted or accepted answer"
16:30
the duplicate target?
the duplicate walmart
bad dum tssss
16:46
@KamilSolecki I confirm civ VI is now in my steam library for a nive 12$ us cc @ssube
Well I just upvoted the "answer" there :P. (Answer was annoying "this is not possible")
17:03
@Meredith why do you think the kid that wanted to join the military is weird. Its a man's world seems pretty ideal to me.
17:24
is it weird to say "cya" on the phone to people you are never going to see
why are you pointing at that
@Mosho If it is, I'm in trouble
are you a good role model for something that is un-weird though
17:38
@FélixGagnon-Grenier real cool. I guess I will sign up too then we can have a CIV war! :D
@KendallFrey did you join in on the offer as well?
yeah
played the tutorial this morning
I gave enough of my life to civ
17:59
youtube poop's are my favourite thing in the world
@Mosho How do you even judge that
I'm not one to judge people's life choices
lmao
amazing
18:21
0:47
I can't
@Mosho It's Chris Christie
I don't know who that is
oh my
US republican politician
am I supposed to know him?
not unless you followed the last election runup
@KendallFrey I did not
I never liked reality shows
except wipeout
though I guess that's a game show
it's the tits either way
no it's the big balls
to each his own
to each, my will
18:36
are those things deployed doing anything meaningful yet
All the late night shows are cancer these days. The worst thing about Trump's presidency is that it ruined comedy
19:09
@ndugger the best thing is all the money I'm making 😉
wtf it's raining
and not freezing rain
just rain
canada I am disappoint
19:27
two plus two is four
minus three is one quick maths
everyone has their own opinion of what 2 plus 2 is, and you should respect that
every day man's on the block
@Luggage shut up 007
for Kendall, 2+2=007
19:29
chmod 700 Luggage
rm -rf Luggage
poof
npm install rimraf
npm remove Luggage
error: redundant joke
19:35
Daytona 24h about to start: imsatv.imsa.com
(blocked in the USA I think)
19:58
wat
racing is for hicks
and canadian degens
I have eaten too many pancakes
00:00 - 20:0020:00 - 00:00

« first day (2660 days earlier)      last day (2513 days later) »