« first day (1776 days earlier)      last day (3187 days later) » 

8:00 PM
What do you call files + directories?
 
user406009
@catgocat A filesystem?
 
data is too general
 
What's the difference between on and addListener?
 
one is jQuery
 
finally finished my classList polyfill
 
8:08 PM
one is not a method
 
probably not quite to spec
now I need to modularize this lib, because it's getting lengthy
 
@corvid It's addEventListener, no?
 
@Callum Node.js
I think addEventListener is plain client javascript
 
Ah, that's it ^^
Is there a switch for pacman that allows me to download all the "optional dependencies" of a package?
 
17
A: In Node.js, what's "on"?

CodyAs far as I'm aware, it's no different than addListener. There is some documentation on the event here: http://nodejs.org/docs/latest/api/events.html#emitter.on Both on and addListener are documented under the same heading. They have the same effect; server.on('connection', function(stream) { ...

@corvid BRO, DO YOU EVEN GOOGLE?!
 
8:16 PM
I... I thought this was google .-.
 
no.jpg
 
ugh
broken links
 
can someone take a gander at my git repo
 
Maybe. What's the magic word :p
 
8:17 PM
i can't figure out why this component wont render
 
looks nice?
 
user406009
Does your repo have lots of quality cat gifs?
 
please*
 
Silly, "pls" isn't a word :p
 
8:18 PM
@Loktar React Q ^^
 
user406009
@Username That's too much code for us to wade through.
 
^
2
 
user406009
You need to simply your problem to only the broken part.
 
Protip: Actually use commit messages for good!
 
you need to show us exactly the code that isn't working for you
 
user406009
8:18 PM
Remove all the functional pieces.
 
hmm ok
 
@Lalaland is on it @rlemon
lol Im not wading through a repo
 
but.. but.. you are the React guy
 
@Username btw the username field means make your own username
it doesn't have to be username
@rlemon haha more like a react guy :p
since its finally catching on yay!
 
sex: [ ] male [ ] female yes please
 
8:19 PM
No. Bad Username!
 
better?
 
no
 
:(
 
where is the return?
 
1 message moved to Trash can
format your code
!!format
 
8:20 PM
let me try again
 
Format your code - hit Ctrl+K before sending and see the faq
 
@rlemon male, female, camel sometimes
 
use hastebin or pastebin or pastie.
 
oh wait, it just all wasnt displayed
@Username this has diff code formatting then slack/markdown
 
@CapricaSix Bit late m8
 
8:21 PM
in fairness he did try to format it with ```
 
@Callum No
 
render() {
    let sidebar = <SidebarContent />;

    let contentHeader = (
      <span>
        {!this.state.docked &&
         <a onClick={this.menuButtonClick} href='#' style={styles.contentHeaderMenuLink}>=</a>}
        <span> {this.state.name}</span>
      </span>);

    let sidebarProps = {
      sidebar: sidebar,
      docked: this.state.docked,
      open: this.state.open,
      touch: this.state.touch,
      touchHandleWidth: this.state.touchHandleWidth,
      dragToggleDistance: this.state.dragToggleDistance,
 
@Loktar ohh yea, I'm not like raging or anything
just cleaning up
 
no that didn't work did it?
 
@KendallFrey yes
 
8:21 PM
yeah thats formatted now
what error do you get?
whats including the component?
 
if you don't know you're streets behind
 
that's the thing, im not getting an error and it is being shown on the dev console
 
!!urban streets ahead
 
@rlemon Streets Ahead If you have to ask, you're streets behind.
 
:D
 
8:23 PM
@Callum gist
 
but it doesn't show on the actual screen
 
user406009
@Username If you can create a simple runnable example on something like jsfiddle.net, it'll be a lot easier to help you.
 
user406009
Writing a good question requires some work.
 
hmm let me try
 
@KendallFrey pls
 
8:25 PM
but i cannot promise cat gifs
 
user406009
@Username That was a joke.
 
you can use pizzas
 
@rlemon I refuse to use any paste service that makes me think of nipples.
 
user406009
This chat basically consists of one giant stand-up comedy competition in the form of the starboard.
 
but we can fill @FlorianMargaine's server!
 
8:25 PM
I also refuse to use any paste service that isn't awesome.
@rlemon I think I've filled enough of Florian's relatives
 
yea, I'm aware.
where do you think I stole the HTML from ?
pleb
 
user406009
Hm, Haskell actually ain't so bad.
 
fuck
my bot stopped working
and I'm not sure when that started
:/
 
user406009
@rlemon Same thing happens to me all the time.
 
user406009
8:36 PM
Do you at least have good error messages?
 
user406009
(Or a stacktrace?)
 
nope
pretty sure stack logged me out
happens sometimes
 
user406009
Haven't had that issue yet with the polling.
 
user accounts randomly get booted
happens to my regular account few times a year
 
user406009
I know StackOverflow will kill my fkey eventually, but I'll deal with it when it happens.
 
8:38 PM
im trying to use jsfiddle but how can i import the different components?
 
user406009
That's the point of jsfiddle. It's a self contained running example.
 
user406009
What components are you trying to import?
 
well I made different components and exported them
 
user406009
You need to isolate your buggy component if you want our help.
 
GAH
STUPID LIBRARIES
 
8:40 PM
like my navs has a MaterialTitlePanel and a sidebar'
 
NO ONE LIKES YOU AND YOUR PARENTS HAD QUESTIONABLE TASTE IN LATE 17TH-CENTURY ART
 
@SomeKittens jQuery?
 
ag-grid's filter is stupid
 
Is it open source?
 
I try to filter by one thing. It works! I try to filter by another thing. It fails!
 
8:41 PM
#pullrequest
 
refresh page. Try to filter by other thing. Works! Try to filter by the one thing. Fails!
 
@phenomnomnominal Mhm
 
@phenomnomnominal Hah, no way
 
user406009
File an issue then.
 
hi all
 
8:42 PM
@MeSutPişkin Welcome to the JavaScript chat! Please review the room pseudo-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.
 
hi
 
There's already too many grid plugins for Angular out there and UI-Grid is awesome (I've PR'd there twice)
 
user406009
@Username That's not a self-contained example of your problem.
 
i don't think it possible
its*
thanks anyway guys
 
user406009
8:46 PM
It's always possible to create a self-contained example. If you ask for help online, you always need to create one.
 
user406009
Sometimes asking for online help is more work than solving the problem yourself.
 
anyone have experience with google maps and directions api?
Mainly I want to know how to plot the result from directionsService.route() on a map
 
Just supposed to copy the plethora of error messages there...
 
@phenomnomnominal Thanks!
 
8:52 PM
also, we are not an army of personal googlers for you. Learn to use your tools.
3
 
hey towc.
 
@phenomnomnominal dude he is just a high schooler, currently trying to learn as many programming languages as possible, and love video games and good reads.
 
Suggestion for caprica: Some command to search only for SO threads
@Loktar He can learn to use Google too :p
!!bot
 
@Callum That didn't make much sense. Maybe you meant: bot
 
Nope, didn't mean that.
 
8:54 PM
@Callum I'm actually a bot, so don't reply to me.
 
@Loktar cheeky bastard :P
 
:p
 
Alright, my new yeast and things should arrive in the mail on Saturday... hopefully then I can redo my cider
 
I just went live with an app I've been working on for almost a year. I'm happy and nervous
6
 
user406009
@Luggage Link?
 
8:59 PM
do a dance
 
do a barrell roll
 
@towc cocky little freak!
 
@NathanJones hello to you aswell...?
do I know you?
 
@towc hi! i don't think so, i just felt like quoting star fox 64 :)
 
the only quote from that game is the one I said, sorry :P
 
9:06 PM
@Loktar I wouldm't have made it through high school without google, and that was 10 years ago. He has no excuse :)
 
@phenomnomnominal lol I just copy/pasted his about me :p
and yeah man I made it through most of school w/o Google as well
@Luggage grats!
 
@Lalaland it's internal software
ty, @Loktar
waiting for the fire
 
@Luggage good luck :)
 
I've been semi-live for a few weeks. most users have been working in the system, just not all modules turned on.
but today I turned off the fake email server and started sending real ones and we're feature-complete according to the original plan (plus a whole lot more) so it's still 'special'.
 
you're so excited
 
9:16 PM
huh, only 27,000 lines of code, I would have guessed more
40% coffeescript, 60% es6. Soon to be all es6.
 
hehe
 
@Luggage may I ask what is it?
specific
 
It's software for a healthcare auditing company. They use it to schedule audits, collect the data, report on it, collect timesheets, etc.
not exciting sounding, but I got to choose all my own tech, which is rare.
 
that is great
 
9:21 PM
I thought "i want to make a single page app with a node backend" and then did.
 
I bet you learned a lot from making that project
 
during the project i moved form nogno to postgres, adopted webpack and babel, etc. I get to do what I want.
I did. Even though I've been programming for 13 years (paid) before that.
 
user406009
Why the mongo -> postgres switch?
 
mongo didn't seem to fit at all what I wanted out of a db.
things like transactions.
 
13 years
that's crazzy
 
9:23 PM
and the bits of mongo I do like, storing json blobs, I can still do in postgres
create table my_collection (id uuid, data json); -- basically just created mongo (well...)
 
user406009
I really don't understand what attracts people to mongodb. Other than easy setup.
 
I wish I'll be able to last that long without getting bored
 
well, when you are starting your first (real) nod eproject, mongo jsut seems perfect.
it's all JS and JSON.
who said I didn't get bored? :)
when I get too bored, I go stick in some new tech.
Since I was using aJS backend with the goal to using some code on the client AND server, mongo just felt like the perfect db to possibly even share some code there.
But I was tricked. Mongo wasn't really what I wanted.
 
Is it allowed to ask javascript questions in here?
 
@Sinatra Welcome to the JavaScript chat! Please review the room pseudo-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.
 
9:33 PM
i get it
If I console.log and element wrapped in an array I get all kinds of info as clienWidth etc.
but If i console.log and element just as is then i don't see that info.

How does this work?
var image = document.getElementById('love');

console.log(image); //Just an element

console.log([image]); //Gives all kinds of info about the element
 
@rlemon the pastie service is actually on heroku
 
@FlorianMargaine rlemon is afk: going home
 
And I don't really use it now that I have a vps with a bunch of very nice scripts
 
@Luggage One thing I'm trying to overcome is laziness and boredom. I have a hard time structuring my projects, and when I see I need to redesign the whole thing, I lose interest, as well as when I see that others have already had the idea and done it.
 
user1596138
9:43 PM
@Callum What a waste of time
 
I know it sounds stupid but that's how I feel
 
user1596138
I would kick you for wasting 4 minutes of my life on that ramble
 
user1596138
But I can't
 
I have to start making the structure on paper before I actually start writing code.
 
@Jhoopins But reading long things is the future.
 
user1596138
9:45 PM
@Callum Hahaha... You won it back
 
jquery event callbacks don't seem to be called on elements that have ng-click attributes defined...is it possible to use both jquery events and angular's events simultaneously? trying to integrate with someone else's code.
 
LXDE seems really hard to put a theme on... I think I'm going to i3.
 
user406009
@Callum Strange. I never had issues with that.
 
user406009
@Callum I would at least try out gnome 3. I switched to it recently and it actually works quite nicely.
 
@Lalaland Just decompress, copy into /etc/lxdm/themes/, and then the "Customise Look and Feel" menu, right?
 
user406009
9:49 PM
Wasn't it /usr/share/themes/something?
 
Hmm, I've tried both,
Gnome 3, I've given it a bit of a look, but I'll go check it out some more.
 
user406009
The only problem with Gnome 3 is that it requires a different workflow.
 
user406009
But once you get used to it, it's quite effective.
 
user406009
Basically you have tons of workspaces with all of your programs always visible.
 
user406009
And then you switch back and forth between workspaces with your keyboard.
 
9:53 PM
Sounds decent, similar to i3 in a sense, then?
 
user406009
Yeah I guess you could say you use it just like a tiling window manager.
 
user406009
Actually that's a pretty darn decent analogy.
 
user406009
Keyboard is supreme for both of those window managers.
 
@catgocat I just write code first, but I refactor as I go.
 
35 minute download, I think I'm going to head off and leave this running.
 
9:58 PM
The more Java I learn, the more I love Javascript
Is this normal?
 
@ApathyBear Yes
 
user406009
@ApathyBear The reverse will also happen as you learn more JavaScript.
 
Most people in prison camps enjoy life more after they get out
 
user406009
Objectively, Java is probably a better language than JavaScript. Less design problems, etc.
 
Agree, it's just not as fun
 
user406009
10:00 PM
There are fun parts of Java as well.
 
@Lalaland I think you misspelled subjectively.
 
!!define objectively
 
@SomeKittens objectively In an impartial, objective manner.
 
let's not miss the "Java is objectively better because EVERYTHING is an object" pun
other than that, JavaScript is objectively better because it's easier to debug, etc
 
@Lalaland "Objectively, X is probably Y".
 
10:10 PM
Ahoy hoy
I'm back. Did you miss me? Tell me you missed me. Say my name!
 
Watch as I do magic to your sentence, switching nouns around without losing any accuracy:
> Objectively, JavaScript is probably a better language than Java. Less design problems, etc.
 
user406009
I really need to compile my list of JavaScript and Java design problems.
 
user406009
But it's hard to compare Java and JavaScript. They have different goals.
 
user406009
(Vs say, C# vs Java or Rust vs C++)
 
user406009
(Or PHP vs Python)
 
10:14 PM
Or apple vs banana
 
@copy That's just bananas
 
user406009
Regardless, I would rather work on someone else's Java project than a JavaScript one
 
user406009
Java has less rope to strangle your coworkers with.
 
user406009
Like static types.
 
whispers "@monners"
 
10:20 PM
And mutexes.
 
user406009
That's simply because JavaScript doesn't have thread support.
 
Totes, that's why.
We're always so blocking
 
user406009
Also, you can do multithreading in Java without mutexes.
 
user4013295
No multithreading in JavaScript?
 
Of couyou se acn
 
user4013295
10:22 PM
I remember something called
 
user4013295
webworkers
 
user406009
@TheMuffinCoder That's not shared memory multithreading which mutexes are useful for.
 
user4013295
Oh oops :P
 
user406009
WebWorkers are closer to multiple processes than multiple threads.
 
@Lalaland Hmm, what is the difference between multiple processes and multiple threads? Can you run more than one process on 1 thread?
 
user406009
10:28 PM
Processes don't share memory.
 
user406009
Threads share memory.
 
user406009
(There are additional similar things, like threads also sharing the file descriptor table, etc, etc, but memory is the one most people care about)
 
oic, cool.
 
10:47 PM
coworkers vs. contributors
different ball game
 
@monners who?
 
ohhh I am so not a happy camper right now
my gaming pc ssd just failed
that is my main entertainment
 
user406009
Did you get any warnings?
 
nope
worked fine last night
shut down my pc, went to bed
 
user406009
I also lost a harddrive this summer. It gave me about a week's warning though.
 
user406009
10:59 PM
Then it started making these awful noises.
 
chat keep refreshing for anyone else?
 
nope
 
user406009
Like a nail on chalkboard.
 
hrm
@Lalaland this was ssd
no noise
 
user406009
@rlemon Nope. Perhaps your current work.
 
10:59 PM
@BenjaminGruenbaum what's this: stackoverflow.com/questions/4369962/…
 

« first day (1776 days earlier)      last day (3187 days later) »