« first day (2442 days earlier)      last day (2505 days later) » 

12:00 AM
@monners I just picked up a Giant TCR Advanced 1 in February. I also have a 6 year old Trek Madone 2.1. I have a Giant XTC for mountain biking and a Trek Crocket 5 for cyclocross and an old anonymous steel single speed
 
Okay, I just don't want to learn something that changes in the new version.
 
mostly things are just being added
ofc some changes, but nothing breaking I can think of
and MDN should be quite complete for that kinda thing
 
I found this tc39.github.io/ecma262, but it seems a little massive. I will see what I can get from MDN :)
 
damn where do you store all those bikes @hsimah?
 
the homes of his victims
 
12:08 AM
and there's room for 1 more
 
man, I was going for larceny, but I guess storage works as well.
 
nice
you never know @rlemon, it might not be his home
he murderised some guy, ate him and now took over his house
and identity
 
@SterlingArcher reddit.com/r/sex/comments/6ivksw/… lol funniest /r/sex post I've read in a while
 
lol
thatd have been cheaper than buying them all ;)
 
ofc consider the subreddit if you're at work.
 
12:11 AM
Ill consider it for my N+1
 
plus...if you eat the guy. no dead body and you save money on lunch
 
i do need calories
 
You can have some of mine.
 
@hsimah Nice. I'm a cannondale guy myself. So instead of the Madone, I've got the Synapse (hi-mod carbon, Envy disc wheels, Di2 Dura Ace groupset)
 
FIXED YA
was in a hook called by an npm module in the node_modules of another npm module by the generator
 
12:23 AM
you guys have some expensive bikes
 
@Luggage we need some spearheading on that technology
eat as much as you want, send excess cals to 3rd world countries.
 
We already have knives and fire.
 
magically.
 
your way sounds less painful
 
the knife's name is magic
 
12:27 AM
@KendallFrey youtu.be/IUhxsIjxZo0?t=2m53s tee hee
 
@monners I was into Treks to start with but I find theyre overpriced. It was a toss up between a Super Six and the TCR and the TCR won because the rear hub makes such a lush noise when freewheeling lol
 
I feel so accomplished
I actually did something
in a thing that nobody actually uses tbf
so I wasn't a great help to society
 
yet you still don't have rainbow coloured eyebrows
still waiting for that
 
@towc wanna upgrade my npm packages. im in upgrade hell atm
 
12:33 AM
@derp did you just assume the color of my eyebrows?
 
@hsimah Super Six geometry is too aggressive for me. Prefer the grande fondo frames
 
pics or it didn't happen :P
 
 
@monners yeah, I get that. im still into racing crits and stuff, though I feel my next bike may be a gran fondo frame. my lower back is starting to hate my slammed stem
 
Heh, gots ta get dat aero advantage :P
Never done criterium racing before.
 
12:36 AM
damnit, i know that's a fake but i don't know enough about you to prove it
 
A K
i'm new to typescript and react
how do i import components?
i know react, but first time using typescript and react
 
same as javascript
well. mostly.
show me what you tried.
 
A K
// import * as Search from './Search';
 
try uncommenting it
 
I hate typescript, but it's nice to know you can fall back to javascript in typescript
 
12:45 AM
j/k :)
Have you used babel?
 
A K
OH you're absolutely right luggage!
haha
jk, yea i used babel;
 
so, same as babel, except the handling of "default" exports is slightly different.
 
A K
working on a project and typescript must be used
 
wazzzzuppp guys
-1
Q: How to find a object value from prototypes

Rex AdrivanIs it possible to make a function that can find from an object's prototype? How do you find the value "5" on the Object's prototype and what is the right algorithm to use? var rex = { "Name": "rex", "Age": 16, } te = { "to": 5, } rex.te = Object.create(te); function find(a,b){ ...

 
well, it's only different then the library does't use es6 default exports. example coming
// babel
import react from 'react'; // non-es6 export used as default
// typescript
import * as react from 'react'; // non-es6 export imported as-is
 
A K
12:47 AM
oh wait
nvm, it works; i was getting errors because i wasn't rendering it
 
but if it's an es6 (or TS) module, they are exactly the same.
 
A K
i forgot that typescript throws more errors
i went to a hiring hackathan test; and i had to open my mouth while speaking to a manager
and they decided to send me additional project
instead of just hiring :(
if anyone wants to do it for me and it gets me the job, ill pay :D
 
isn't that exactly what they're doing to you?
they have some work that needs to get done and if you do it, they'll pay you a wage
 
does anyone know what this means?
WARNING in ./~/css-loader!./~/postcss-loader/lib?{"plugins":[null]}!./~/stylus-loader?{"use":[null]}!./src/style/site.styl
(Emitted value instead of an instance of Error)`
 
Anyone good at javascript want to answer this?
-1
Q: How to find a object value from prototypes

Rex AdrivanIs it possible to make a function that can find from an object's prototype? How do you find the value "5" on the Object's prototype and what is the right algorithm to use? var rex = { "Name": "rex", "Age": 16, } te = { "to": 5, } rex.te = Object.create(te); function find(a,b){ ...

 
A K
12:53 AM
that looks like a build tool error, like webpack
what build tools are you using hsimah?
 
it is
im using webpack
 
A K
do you have the loaders installed in your dev dependencies?
 
i have css-loader, postcss-loader, stylus-loader
 
A K
what does your webpack config look like?
specifically the module section?
 
i was following a tutorial that used a very old version of these packages. it worked fine. i figured now I am done I would update to newer versions and now I get the warning
 
A K
12:56 AM
lol, well versions change a lot
 
it's pretty empty to be honest and I think that is the issue
 
A K
and its really easy to fun into a lot of issues
run*
 
I think I need something like this
module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/,
        use: [
          'style-loader',
          { loader: 'css-loader', options: { importLoaders: 1 } },
          'postcss-loader'
        ]
      }
    ]
  }
}
 
A K
which version of webpack are you using and what's it for?
 
"webpack": "^2.2.0"
 
A K
12:57 AM
try removing the object and use placing css-loader
 
it's for my first foray into using react
ok
 
A K
you need an entry point
 
@RexAdrivan Posted an answer to what I think you're asking
 
A K
are you building servers and api endpoints?
or just building out a basic ui
 
ive built the server/api already. its in a different project entirely
this is just the ui
 
A K
12:58 AM
is the server local ?
if its not local, then it's a lot easier to handle
 
yeah, and it works too
 
A K
hmmmm
 
the server bit was really easy to set up. using express.js
i think i need to learn about webpack, but it seems like a lot to take in on a friday lol
 
A K
well yea, but to have webpack work with react and a local server is a bit challenging and time consuming
look into proxying webpack with express
 
ok
thx
 
A K
1:00 AM
you need to use webpack as middleware in your express routes
yea, it takes time
dont worry about hot reload
but worry about being able to serve your react content
 
youtube.com/watch?v=IZ-INsq2k_o @ndugger @rlemon oh my god
 
A K
check to see if react successfully communicates with your api endpoints
and then work on hot reload last
 
oh, it does that. its working in the browser just fine
other than this warning
 
A K
its being used by default
but you need to set it up when building it out in your local server
 
1:02 AM
ah ok
 
first gut nails it
 
is this considered O(n)
function mergetwosorted(a, b) {

  var c = new Array(a.length + b.length),
    ai = 0,
    bi = 0,
    ci = 0;


  while (ai < a.length && bi < b.length) {

    if (a[ai] < b[bi]) {
      c[ci] = a[ai];
      ai++;
    } else {
      c[ci] = b[bi]
      bi++;
    }
    ci++;
  }

  while (ai < a.length) {
    c[ci] = a[ai];
    ai++
    ci++
  }
  while (bi < b.length) {
    c[ci] = b[bi];
    ci++;
    bi++;
  }
  return c;

}


console.log(mergetwosorted([1, 2, 3, 4], [2, 3, 4, 5, 6]))
 
@ndugger @rlemon another one
 
the thumbnail for the next vid is interesting
 
1:09 AM
@Arrow yes, because there are no loops inside loops
 
How can I use custom url path with github.com/nodejitsu/node-http-proxy
 
even though you loop 3 times, the overall operation count grows linearly with the number of input items
 
nice I nailed it
 
@monners bro thanks for replying.. It's getting harder to find the solution of the problem.. hehehe
 
Arrow that first while while doesn't increment in a predicable way like the other two, but I don't THINK that changes the O(n) situation...
 
1:12 AM
wha wah
I only incrementing once no nested increments
nice
 
@RexAdrivan Left a comment
 
Luggage I stole your jargon and put it my answer. Man I nailed that hard. all the other answer just talking blah blah blah.
 
I assumed you wanted the key, but it's trivial to return the value instead
 
@monners I guess the right algorithm is using regex?
It's hard because I'm finding the value from the prototype of the object..
 
@RexAdrivan Huh? You're trying to check if a value exists on an object, right?
 
1:25 AM
Checking if the value is inside the object :D
value or key
 
Right. And that's exactly what my answer gives you
 
which is inside the object's prototy0pe
 
Then pass in the object's prototype
findVal('foo', rex.prototype)
 
 
Or whatever you called your object
 
1:27 AM
what is this nonsense?
 
omg I just noticed that was a non-javascript question. Does my answer make sense for that question
 
ah nvm target: es6
 
@monners shuld be automated
 
@RexAdrivan I'm starting to think you don't know what these words mean
 
@AK figured it out: postcss-loader now requires a sourceMap option in the new version I have installed. thank you for your help.
 
1:29 AM
@rlemon hah that is awesome
 
@monners you are using direct calling bro.. It should be a variable.. hehehe
since .prototype is part of the variable
or object
 
1. Why do you keep calling me bro?
2. Direct calling? You asked for a function. Functions must be called.
3. A variable is a reference to a value or an object, it has nothing to do with prototype.
 
I am unable to set custom content type for github.com/nodejitsu/node-http-proxy
 
Ugh, this is why I don't contribute to main anymore
 
@RexAdrivan call him "mate", he prefers that
 
1:31 AM
@Mosho Don't you start, hun.
 
1 message moved to Trash can
@RexAdrivan Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
@monners we need your ideas for energy. hahaha
@monners and so you must contribute..
 
hm.. what do I need from amazon.. I know I'll remember after I finish this order
 
1:46 AM
paper towels
 
Go to bed
 
it's only 9:47
 
8:47 here
 
9:47 where Luggage East Coast
 
Bedtime
 
1:47 AM
yea, east coast
 
11:48am
 
East Side Omg, West Coast!!!
Move out to California
It's better in the sun
 
Make me.
 
the Pet Shop Boys and the Village People said to
if thats not enough...
 
No
🎅🔫👮
 
1:51 AM
Don't you guys have the polar vortex
 
Is it anything like bipolar disorder?
 
where God punishes you with rain and bipolar disorder
 
You forgot to capitalise g. You're going to hell.
 
No caught it just in time
 
Third day of driving:
Drove: 11 km
Kills: 0
 
1:55 AM
nice
 
@littlepootis you really need some practice
not many people score 0 even on their first go
 
!!> [1,2,10].sort()
 
@Mosho [1,10,2]
 
^ amazing
 
fuck off javascript
 
1:56 AM
alphabetical not really. IIRC it depends on the charCode.
 
@littlepootis really
I thought I was counting wrong all these years
 
@Arrow "ReferenceError: a is not defined"
 
@Mosho you're not alone
 
!!> ['c','b','a'].sort((a,b)=>a.localeCompare(b))
 
@Arrow ["a","b","b"]
 
2:02 AM
O those were already in order
 
@Arrow ["a","b","c"]
 
!!> [1,10,2].sort((a,b)=>a.localeCompare(b))
oh no
 
@littlepootis "TypeError: a.localeCompare is not a function"
 
I was looking in my spam folder, just to see what was in there. So many crappy obvious spam. Do these people not even try?
 
I've been getting spam phone call recently like crazy
I use google voice to block them
They keep calling trying to sell me viagra
I tell them I run a porn business and need to buy it in bulk powder form
 
2:08 AM
lol
how does one render a react component in some JSX?
 
@hsimah what do you mean?
> North Korea: Trump a 'psychopath' who may launch strike to distract from US problems
 
content = (
    <h2>{transmittal.title}</h2>
)
 
I love how people trying to sell their homes for half a million bucks can't be bothered to take pictures with something that isn't a potato
 
I have this, and I have a react component called Octicon
 
2:10 AM
@hsimah when you find out, you should write a tutorial. The world needs one for react.
 
but if I just put <Octicon /> in there it doesnt work
 
that's funny because it implies mac users are retarded
 
who uses search to open apps?
 
i do whenever i use a mac because they scare and confuse me and I know option space will get me an application
 
2:15 AM
Be smarter
 
4-finger squeeze, I use
 
i use a mac about once a decade
 
hey ladies
 
Hey bro
a/s/l
 
17/f/cali
u?
 
2:27 AM
69/m/your mom
 
eww creep
 
jesus chist
 
Sorry... I'm not sober
 
I have no excuse
 
when are you sober (no need to answer it was a trueism )
 
2:30 AM
Ugh, this girl banned me for dank memeing.
She called my meme "pathetic".
 
@ndugger how's target going?
 
This is harassment.
 
@BadgerCat really well. Great team, fun project, nice working area, flexible hours
 
@ndugger ?
 
?
 
2:32 AM
did they find a cure for depression
 
Seratonin pills
And therapy
 
Serotonin
 
depression is not a sickness.. its just a state.. do yu agree?
 
@RexAdrivan no
 
@RexAdrivan state is evil
 
2:34 AM
in that case any illness is just a state
then you get treated and get over it
or die
 
Cancer is just a state of mind
 
btw, I have a cold
:(
 
cancer is probably consumed.
 
@BadgerCat :(
 
It's just a state of mind
 
2:36 AM
I need to be pampered, but bae is playing Overwatch
 
you know what I do when I get a cold, makes it go away in a couple hours
 
you have a cold, spread it, it might cure global warming
 
what?
 
@BadgerCat deadlifts
 
global warming? maybe we need more solar panels to consume the heat? hahaha
 
2:37 AM
If everyone has a cold then how can the planet be warm? Duh
 
I didn't go to the gym today because I thought I should get better first
 
my experience is that working out expedites getting better
 
If global warming exists how come it's very hot right now
 
it depends on the weather and what you are consuming.
 
There's a guy in the office that hates us
everytime I begin talking, he puts his headphones on
 
2:39 AM
does he hate you because you have a cold
 
No, I have no idea why
I'm always looking over his shoulder to see what he's doing on his computer
And try to find any hint on why he hates me
So far nothing
 
well, I guess your ideas are not precise? hahah
 
so you are harassing the guy
 
@BadgerCat uh, don't
 
He probably hates you because you keep looking at his screen over his shoulder
 
2:41 AM
@Arrow <= harras = true;
 
oh.
 
You should ask him out, that's one sure fire way to find out if he likes you
 
I already have a boyfriend
 
Badger.Cat.female = true;
 
so have two
 
2:44 AM
With whom I'm going out right now, tschüss
 
Bye
 
What's tschüss?
 
bye
 
It means bye
 
it's german
 
2:45 AM
ok, tshuss!
 
> Black and white exists because old people only see in black and white
 
black =1;white = 0;
 
> This high school dropout who invested in bitcoin at $12 is now a millionaire at 18
I hate my life
 
congrats! the high school student has a big NUMBER. HAHAHAH
 
I took German in highschool, and dated the only German exchange student in our school
 
2:49 AM
cool...
 
Her name was Nina
she was always spitting in my face. She said it was how Germans taught their children German. I was much more naive back then.
 
ya, I know. I didn't realize it at the time. but Germans have a stoic sense of humor
 
hello can I ask a question?
 
no
 
2:55 AM
me, I saw on youtube germans using snipers.. hehe
 
no questions allowed
 
@PureRhymerOrganization hello, I accept questions today :D
 
@PureRhymerOrganization yes
 
i was just joking
about the question
 
:))
 
2:59 AM
you can ask
 
!!welcome @PureRhymerOrganization
 
@@PureRhymerOrganization Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
 

« first day (2442 days earlier)      last day (2505 days later) »