« first day (2324 days earlier)      last day (2625 days later) » 
00:00 - 17:0017:00 - 00:00

5:00 PM
no
 
!!should Nick Subway or Chipotle
 
I want chip[otle more
 
@Luggage Chipotle
 
@Stephen did you try a question on main?
 
I have an eslintrc in root of React native project..eslint plugin is installed in Atom but the lint errors don't show in file
any ideas what I'm missing?
 
5:00 PM
first of all, vim
 
@towc um.. you mean a question on SO?
not yet
 
is eslint installed locally in the project?
 
most casper related questions i came across had basically no useful responses, which makes me doubt i will get much response
 
I did an npm install and "eslint": "1.10.3", is in package.json
or did you mean I need to do like -save dev in console?
 
in which order?
 
5:02 PM
are there rules turned on in your eslint?
 
@AndroidDev There's a way to do it, it requires a bit of fiddling with git hooks
 
^ this guy scrolls up the chat for 2 days
 
There are usually better solutions
Depends on what you need.
@towc He pinged me, I haven't read it yet... vOv
 
i suggested he push to a bare repo on the server, then clone/pull to another non-bare repo on the server
 
1 message moved to Trash can
@BrianJ 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
 
5:03 PM
ah ok
"dependencies": {
    "babel-eslint": "4.1.6",
    "eslint": "1.10.3",
    "eslint-config-airbnb": "2.1.1",
    "eslint-plugin-react": "3.12.0",
    "react-native": "0.19.0",
    "react-native-swipeout": "2.0.12",
    "redux": "3.3.1"
  }
 
@Luggage Yes, but that sucks
 
the order of package.json does not matter.
 
And it's not that hard to get into a dirty state and break your deploy.
 
@BrianJ oh no, I meant, did you install after adding to package.json? If you installed first and then added to package.json, there's going to be a problem
 
he was struggling with the difference between bar/nonbare. I didn't want to get fancy.
 
5:04 PM
@Luggage They were already told multiple times to read on the concept of a bare/nonbare repo.
 
Also a bare repo to act as a central store is pretty simple, i think.
 
@towc no the eslint was in package.json from the start
 
3 mins ago, by Luggage
are there rules turned on in your eslint?
 
I have no more questions your honour
 
@Luggage that I'm just checking
 
5:05 PM
and you installed linter and linter-eslint in atom?
 
@BrianJ Do you have eslint installed globally?
 
not according to the package.json conversation we just had
 
Also, look into the configuration in Atom, to see which eslint binary it uses.
 
it should use the local one.
 
Or tries to use.
 
5:07 PM
@MadaraUchiha nope just in the project
 
Also, @BrianJ What happens when you cd to the directory and run node_modules/.bin/./eslint?
 
I have linter-eslint and lint packages installed
*linter
will try that
@MadaraUchiha
eslint [options] file.js [file.js] [dir]

Basic configuration:
  -c, --config path::String   Use configuration from this file or shareable config
  --no-eslintrc               Disable use of configuration from .eslintrc
  --env [String]              Specify environments
  --ext [String]              Specify JavaScript file extensions - default: .js
  --global [String]           Define global variables
  --parser String             Specify the parser to be used - default: espree

Caching:
  --cache                     Only check changed files - default: false
@Luggage actually not sure where to find if rules enabled for eslint plugin in Atom
 
Okay, add the -c flag with the path to the configuration
 
the eslintrc file
or just give it a path, like src
it should find the eslintrc automatically
 
oh yeah rules are defined
 
5:13 PM
node_modules/.bin/eslint src
 
@Luggage _
 
you mean like:
$ node-modules/.bin/eslint C:\Users\Brian\Documents\Visual Studio 2013\Projects\plural-todo\node_modules\eslint
 
no. the path of your code, releative to where you are
and with an _. I messed it up
 
ah ok
you mean the file I'm working on?
main.js
bit confused
 
sure, try that. I mean tthe whole directory, though
what is the path of main.js?
 
5:17 PM
C:\Users\Brian\Documents\Visual Studio 2013\Projects\plural-todo
its in root
 
it's right in the root?
ohh, well, then you have to sepcify the file so it doesn't eslint all of node_modules.
 
ok
 
i suggest a src/ directory in there.
but that's another issue.
 
so did that nothing happened, I'm assuming it set lint to lint that file only?
ok so it only lints my source files
 
what did you type? node_modules/.bin/eslint main.js
 
5:20 PM
node_modules/.bin/eslint C:\Users\Brian\Documents\Visual Studio 2013\Projects\plural-todo\main.js
ah I'm already in root so main.js would do
Error: Cannot read config package: eslint-config-defaults/configurations/eslint
Error: Cannot find module 'eslint-config-defaults/configurations/eslint'
Referenced from: C:\Users\Brian\.eslintrc
 
do you have an .eslintrc in your home directory? what about project directory?
 
think I seen this error before, I might have a global eslint causing the conflict
 
it's saying you have a global config..
 
yeah but I should only have a local right? don't want that to conflict with future projects
 
yes..
that's why i asked:
3 mins ago, by Luggage
do you have an .eslintrc in your home directory? what about project directory?
 
5:27 PM
ok fair point
sure enough I do actually have one in home directory
 
make destroy on that
 
done
when I run that command the lint error shows in console but not in Atom
 
close and re-open the file in atom?
maybe even restart atom. Also make sure no eslint is installed globally through npm
 
ok
 
the linter in atom always showed errors when something wasn't right for me..
 
5:32 PM
yeah still same after re-open
 
got me
 
yeah gonna Google
 
5:52 PM
do you guys get this feed modal every now and then on the chat? is there a way to disable that thing?
 
ignore the feeds user
that's what I did
 
@ndugger thanks will do that
 
A modal? no.
 
Model, then?
 
6:15 PM
@Luggage I can finally move to US forever :D
 
ohh, yea?
 
Yeah, although this might be the worst time to move to US
x|
 
meh.
 
but still am happy :D
more on that later
Yesterday I tried to work at a cat-cafe
 
wtf? where is that?
 
6:20 PM
@Luggage Crumbs & Whiskers, Georgetown, DC
 
They have those cats well-trained to lay on keyboards.
 
@Luggage They lay down on anything
hell am so damn tempted to adopt one
but I'm worried my constantly traveling right now life will rekt it :(
 
yea..
 
Do you own a cat?
 
Used to.
 
6:23 PM
what's a cat cafe?
 
!!rentacat
 
in C#, Feb 19 '15 at 16:57, by Steve
i'm looking for a new apartment and this one rents cats, wtf
 
They are programmed to go against productivity items
that for instance are my tax returns :P
 
or just move to japan and have some maid cafe instead :P
maid > cats btw
 
6:25 PM
They all apparently find papers the most awesome toy
@Luggage the next time you are in DC lets goto Crumbs and Whiskers ;D
 
er.. ok, maybe.
 
:P
btw I did end up falling ill
:D
 
shit, that sucks.
 
do they bbq them?
 
6:31 PM
I think you have to pay extra for that.
 
@Abhishrek from the cats or?
 
possibly from me. I started getting a little coughy when i hung out with @Abhishrek and woke up with full blown flu the next day.
 
@Luggage definitely not you
I fell ill very recently probably its just a strain of flu running around in DC
almost everyone I know here have fallen ill for a day or so :S
 
aye, it's that season.
 
how does this chat update?
 
6:40 PM
very carefully
 
lol
 
@FlorianMargaine issue tracker in git: github.com/neithernut/git-dit
 
wish there was some way to silently send messages on Slack :\
 
7:00 PM
Finally it updated :D
@FilipDupanović you can ping people directly
 
even then I'd like to stash some links in a private convo and pin them without disturbing someone
 
7:16 PM
Why is this false? They string looks like what I am comparing it to...
!!> re = /\.js$/, console.log(re.toString()), re.toString() === "/\.js$/"
 
@Luggage false
@Luggage false Logged: "/\\.js$/"
 
ohh.. backslash...
 
@FilipDupanović You can just create a new room
and then invite them later :P
thats the most painless way :D
[and have that room as private]
 
7:57 PM
@Shrek awesome, that will work!
 
8:29 PM
@FilipDupanović of course it will, shrek says so :D
 
I've found this example stackoverflow.com/a/25596217/342740 about livestamp, to change its display format past 24 hours, however I can't get it to work, it doesn't even seem to trigger the console.log I've added on the if/else, could it be perhaps because my selector is a dynamic class or have multiple entries(as in exist in multiple different elements)?
since my class is called .timestamp, I changed it as follow $('.timestamp').on('change.livestamp', function(event, from, to), in short it doesn't change the format but remains working with the default one.
 
@Shrek oh Abi it's you :D
 
8:49 PM
Anyone have experience with EJS?
 
9:00 PM
Nvm
(My issue was that an ejs partial was loading dynamically but the scripts inside were not executing, this SO thread gave me the solution: stackoverflow.com/questions/75943/…)
 
- Grate cut apples : $gc_apples
- 1/3 each (Semolina, Sugar & Flour) : $mix
- 0.5 cm $mix layer
- loop_until ( $gc_apples < 1 || $pie_thickness >= Preferences.OPTIMAL )
	- 1 cm $gc_apples layer
	- Sprinkle apples with cinnamon
	- $mix layer until you can’t see the apple layer
- slight more $mix
- Cover Slices of Butter
 
Is it just me or you people write tasks with code aswell ?
 
my fam uses more cryptic recipies... you see statements like "use enough sugar", "cook until done"
 
9:16 PM
I don't like them
I prefer absolute measurements
 
does any one know of a good alternative to livestamp / timeago?
 
Hey guys - relatively easy question I believe, since I'm absolute beginner. I have 5 <input> objects that user puts their information to. I'd like to create a script that uses onchange= event and saves users input to HTML5 localStorage - is it possible without assigning an ID to every input, so I can reuse the script?
 
@Koliat 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.
 
Thanks in advance
 
9:33 PM
Yea, but without an id, how will you tell them apart when you get the values back out of localStorage?
What key would you use?
 
Well, initally I thought "dirty" way - create a seperate JS function for every field... got bored at 2nd input and realized there should be that way
I think I might have figured it out by now though
 
 
1 hour later…
10:44 PM
anyone here?
 
what else could we do on Saturday evening
 
write javascript and watch hockey is the only thing I know
you have any idea why dynamically added json content put in a <pre> tag is not showing up on the page? It's showing up when I inspect element , but the user can't see it
 
Absolutely not. I'm happy enough I managed to write a working piece of jQuery and I hope im done with this language for long :-)
 
lol
I'm supposed to be a javascript "expert" whatever that means , and I was tasked with writing code that can not use any libraries not even jQuery . Which sounds simple enough but you run into all these little damn edge cases that are annoying and remind you why you want a library with people that already figured this crap out
 
I'm suppoused to be a sysadmin but I was tasked with creating a website for ordering new VMs and stuff. So I had to learn webdev at least for the basics
:-)
 
10:53 PM
@ScottSelby sounds good to me :D
 
do you have any idea @KendallFrey why code isn't showing up in the <pre> tag that was dynamically added?
 
I'm just doing document.getElementByTagName('pre').innerHTML = 'my json';
 
Isn't there a <code> tag that is similar? Depending on what you want, you could try that.
 
no, I'm not allowed to touch the html
lol
 
10:55 PM
yet you're using innerHTML
yuck
 
I tried .innerText
I even tried reading the source fo rjQuery's .val() , then I just realized what the hell am I doing
 
11:22 PM
Anyone worked with QuillJS before?
How can I add custom HTML in QuillJS editor
 
@ScottSelby jsfiddle?
 
Can anybody please help me a bit? How can I make it to work?
I really tried but I can't figure out how it works
 
11:43 PM
mmh yeah
imgur shrunk the image :(
or something
 
it's certainly compressed :P
put a pixel with a .99 alpha value on a single pixel somewhere, then upload again, and I think it will stop trying to compress it
works with twitter
 
transparency prevents compression?
nope
 
(jpeg only works on 3 channels afaik)
 
the white background was transparent
 
oh lol
well, it's not transparent now
the imgur image, that is
and imgur surely allows for transparency
 
11:48 PM
I think I just implemented a screenshot feature so I could show off my work here
#priorities
@towc it does
 
but the image you posted here isn't transparent, unless I'm missing something
yeah, definitely not transparent
(background-color the img on the image viewers on any browser)
 
@towc yep
mentioning imgur supporting transparency reminded me of
Dec 7 '16 at 15:46, by Kendall Frey
http://imgur.com/a/xHON5
 
you bastard
we can't be friends anymore, mom
nice job though
on both the biomes and the amazing graphics in that last image
 
Any help guys? :/
 
It was harder to make than it should have been
the illusion
 
11:56 PM
oh wait, you made that?
let me restate my opinions
3 mins ago, by towc
you bastard
 
@towc correct
 
how's it work btw?
 
00:00 - 17:0017:00 - 00:00

« first day (2324 days earlier)      last day (2625 days later) »