« first day (1653 days earlier)      last day (3296 days later) » 

8:00 PM
but that usb port has been in use for over a decade. they need the port for convenience
in addition to the new one, i mean
 
the new macbook is too thin to fit the old usb port
 
i use the hdmi port on my laopt occasionaly, and think that should stay, too. Just on the pro is an acceptable compromise
 
either way, the old usb standard should be slowly phased out
but usb-c can cover hdmi, right?
 
if it's too thing to plug in the tings i actually use, it's too thin
with an adapter, i'm sure it can
i'd also miss mag safe, which i like
 
I guess only time can tell what will happen
 
8:03 PM
ohh, i think the new port will take off
no doubt about that
but, i think my current macbook pro has all the right ports for me
i've never used the thunderbolt or the card reader, though
but i've been eyeing a 4k monitor so that may change
 
Anyone on Chrome 41 or below right now?
 
anyone familiar with mongodump
I'd like to set up backups
 
k
 
8:21 PM
@AwalGarg sorry, 42
 
Can you downgrade? :P
 
no
I just ran sudo dnf upgrade for you
 
You are no fun :(
 
I hate you too
 
I'll never give you cookies
 
8:23 PM
I already took yours through XSS
 
They are all in my belly, you fake.
 
You should have turned off the WiFi module first
 
I thought IRL was a myth, was I lied to?
 
dry land is a myth
 
you're a myth
and @AwalGarg is a meth(-head)
 
8:27 PM
you have no head
 
I was hoping to learn Docker the past few weeks and get Docker containers setup using existing Docker images, but they don't ever seem to play nice with each other
 
@taco I can help if you want
 
When the a MySQL query doesn't find what it was looking for, what kind of response would it return in NodeJS?
 
@FlorianMargaine wow, ok thanks
 
$ sudo docker ps -a | wc -l
379
I can totally help.
 
8:28 PM
wow
lol
I was about to install mongo locally
 
ugh
I'm looking for an image about meth and wookies that I saw... can't find it. But I found this.
 
If using the official mongo DB container - how do I put data into it?
using Kitematic and docker CLI to manage since Kitematic doesn't have many features
 
@taco do you know the difference between docker container and docker image?
 
@FlorianMargaine yes. I can rmi images, I can look at docker ps, I know a little about linking containers, etc
 
because there's no "official mongo DB container"
 
8:31 PM
Following a tutorial, I made a Dockerfile for putting a git repo on a Centos docker container
 
you don't need a Dockerfile to start with
 
> One should not sleep more than six hours daily. One who sleeps more than six hours out of twenty-four is certainly influenced by the mode of ignorance. (source)
 
@FlorianMargaine this one says its the offical repo registry.hub.docker.com/_/mongo
@AwalGarg I just downloaded an iPhone app "Sleep Cycle". Best 99 cents I've ever spent!
 
@taco yes, it's the official image
 
oh
 
8:34 PM
Hence my earlier question :)
 
@FlorianMargaine dockerhub kind of sucks. It's got a lot of problems, imo.
 
@taco link?
 
but that's beside the point I guess
 
Uh? Dockerhub is fine
What's wrong with it?
 
@FlorianMargaine sorry I digress about dockerhub. Nevermind that
 
8:35 PM
@taco sweet. Thanks.
 
Nah I'm interested in feedback
@taco anyway, by default, when you start a container, there's no persistent storage
 
registry.hub.docker.com/_/mongo example: it only says it's a page for an image in one spot ..... for new people like me, a lot of dockerhub is confusing in this way. Okay maybe more than one spot, but put it in a header
 
ah
well, dockerhub is not necessarily the place for tutorials
@taco so, what do you want to do?
 
everything all right folks?
 
yeah, anyways
@FlorianMargaine I want to get this MEAN stack running. github.com/meanjs/mean .... I made this docker file.... gist.github.com/funkytaco/8f1caf7d085e6d4c2625 .... but I need to setup an empty MongoDB with it, etc....
So I had done a git clone then ran that Dockerfile build
 
8:40 PM
@taco hm... I'm going to introduce you to a new tool
because it just makes life easier
it's called "Docker compose": docs.docker.com/compose
 
FYI, I'm on OSX
 
ah
docker compose just has a small gotcha then
but otherwise it's fine
 
I think I looked at this, but composer page pointed me to Kitematic which is still in development
 
the gotcha is for volumes, the local path must be absolute (you'll understand what I mean after reading about it.)
ah
I thought you used boot2docker
but it should be fine anyway
 
they're basically the same
 
8:42 PM
read about docker compose, really
it'll make your life easier
 
ok
I was hoping to build this today though
and just get my app out ASAP
not sure how much more I want to spend time learning something else
 
@taco here is what I have in my projects: github.com/Ralt/drupal-docker/blob/7.x/example/…
docker compose just interprets this file and creates the containers for you
 
okay :|
 
you see what I mean when I say it's easier?
 
I guess so
It looks like this meanjs project was using fig (which sounds like what people used before docker composer)
 
8:47 PM
2
A: You do love me, don't you? I am?

IEhaterInternet Explorer for sure. I call it a breathe of fresh air whenever I (re)install windows, his cousin Chrome is hot (and IE thinks of himself as sweet). And it is white skinned because it takes a long while to show webpages thus giving me a blank screen only after which it crashes (bleeds) an...

 
@taco yes, fig is the old name of docker compose
 
Do you know what file fig up reads?
i think maybe fig.yml?
web:
  build: .
  links:
   - db
  ports:
   - "3000:3000"
  environment:
   NODE_ENV: development
db:
  image: mongo
  ports:
   - "27017:27017"
 
user2620028
nyantacocat
 
sup lady boy
things going ok?
j/k about lady body :3
 
8:51 PM
@FlorianMargaine merci!
I'll try that
 
@taco refresh
I removed the COPY mean-auth/ /src
it's not necessary
@taco note the volumes keys in the docker-compose.yml file
in one case, it's to map your filesystem to the container's
in the other case, it's to make a persistent storage
you should just have to run docker-compose up -d to get the containers running
 
wife called
 
tell her an internet stranger is more important
 
she's coming home to pack her things
 
you're divorcing?
 
8:57 PM
yeah because I told her what you said
 
ah
good to know
 
lol
 
she wasn't worth it anyway
:P
@taco anyway, to try out that the thing is correctly working, replace your server.js with something like console.log(process.env);
 
!!Is keeping awake at night bad?
 
@AwalGarg Not at all
 
9:02 PM
Why are you not my mom :(
 
netflix has a show called "scrotal recall"
I can't even
 
Game show?
 
typo, or porn?
 
@deostroll yes, but it's annoying to write
@rlemon hah
wait, that's a series?
 
9:12 PM
@rlemon Scheme, Lisp, ... who else?
 
yup
 
so.. porn?
 
@BenjaminGruenbaum like "My Name Is Earl"
 
Hey, My Name is Earl was (occasionally) good.
 
Syntactically Transmitted Diseases are bad news.
I'm here all week.
 
9:20 PM
I'm glad they're making a second... indiegogo.com/projects/super-troopers-2 but I hate to see this shit on crowd funding
the people in the project have the means to fund it themselves
 
user1596138
@rlemon that's what I said... They're going to make this huge financial gain from it, why can't they do it themselves?
 
they already have the finances as well.
crowd funding to me, should be reserved for people who can't fund it by more traditional means
 
user1596138
Yeah that's the part I don't like. They have the means
 
9:33 PM
Mornin'
How goes it?
 
user2490157
9:55 PM
stackoverflow is not for questions about debugging, right?
 
user2490157
so where do I go if I have a question about debugging
 
Google
 
user2490157
I'm pretty sure google doesn't know whats wrong with a very specific block of code that isn't working
 
$10 says google will autocomplete the words out of your mouth
 
user2490157
Can I get your paypal
 
10:00 PM
ok so is there a way to make this...
continously pressed keys?
 
@Jouster500 That sure as hell don't look like JavaScript
 
its batch files and javascript
 
pass
7
Q: Press Keyboard keys using a batch file

RupeshI am trying to develop a batch file which can automatically press left arrow and right arrow key for n number of times with some pause in between. Could anyone please help me in this? P.S :I tried installing Auto keyboard softwares but i couldnt install them since i am at work. I need this progr...

thats the link for reference
 
angular inspector is not working need to check what the controller is for a part of my app
 
10:04 PM
so yeah any way to make keys continuously pressed down using javascripts?
 
Which environment?
If you mean in the browser, you're doing it wrong
 
no, just on an operating system
 
I'd like to write some ES6, and serve it translated to ES3/ES5. This is just for local development, it doesn't need to be production-ready. Is there a typical go-to configuration for that kind of thing these days? I was thinking possibly IO.js + gulp + babel plugin + http-server, or IO.js + express + babel middleware? I'd have preferred to do the translation client-side if possible, but I don't think you can get proper source maps without a ServiceWorker, which I don't want to use -- maybe wrong
 
@Jouster500 so... jScript? Node.js?
 
@JeremyBanks just babel
 
10:07 PM
Your the professional. All i want is for the core manipulation of it on a batch file. I dont care what environment is needed but it just needs to be so i can understand it through a batch file like the link i provided
 
@FlorianMargaine Oh... it has a --watch argument. I guess I should have anticipated that.
Thanks! That's simple.
 
Windows Batch does not support javascript AFAICT
 
hogwash. The link i provided is a living proof of that defiance
 
The one I just closevoted?
 
mhmm
 
10:10 PM
JScript and JavaScript are not quite the same thing
FYI
 
care to enlighten then?
 
JScript is a MS thing
 
ms is...
 
MicroSoft
 
JScript was microsoft responding to netscape's fancy new livescript/javascript
 
10:12 PM
not that jScript
unless Windows machines still contain an interpreter for a really old version of javascript-ish
 
consulting the wiki on that. If what you are stating is true, that would mean java had to come before java script which had to come sometime in or before the era of windows.
 
to put it shortly because MS was dominant IE6 era,they did everything differently,making it difficult for people to write JS even after standardization by W3C
 
@Jouster500 Java has nothing to do with Javascript aside from the name and where they borrow some syntax
 
I remember when you could only use <div> tags in netscape...
 
@FlorianMargaine It looks like Kitematic doesn't have docker-compose....
 
10:15 PM
I remember thinking activeX components were cool.
 
now that they are losing their browsers are compliant but the desktop bits are not
(i guess)
 
which in theory, all languages all goes back to the original language, or binary if you will
 
@rlemon o_o
 
On attempt to run my app it runs for a second, crashes after that with:
goose>node server.js
Server running on port: 8080

C:\Users\Asus\node_modules\mongodb\lib\server.js:228
        process.nextTick(function() { throw err; })
                                            ^
Error
    at Object.<anonymous> (C:\Users\Asus\node_modules\mongodb\node_modules\mongo
db-core\lib\error.js:42:24)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
 
@Jouster500 not at all.
 
10:16 PM
The only other dialects of ECMAScript I have worked with are JScript and ActionScript, and both are horrible.
 
AS3 was at least useable
 
AS wasn't terrible
 
flash is, though
 
yes
 
speaking of ActiveX, Java & Silverlight is being removed from Chrome ... FYI
 
10:17 PM
It is. Compared to what we have today.
 
bye bye NPAPI
 
@taco I've never heard of kitematic
 
@FlorianMargaine Kitematic was bought by Docker docs.docker.com/installation/mac
 
@nderscore I'll be honest, I miss NPAPI in chrome
 
I'm just gonna go back to boot2docker I guess. I want to try docker-compose
 
10:19 PM
you can still enable it in flags
 
yea but that is a pain
 
until septermber.
 
and people are not working on shit for it anymore
 
@FlorianMargaine it sounds like eventually docker-compose will be a part of Docker as docker up
 
wow, TIL NPAPI
 
10:20 PM
@taco ok
@taco all this space is very fast-changing tbh
 
:/
 
@FlorianMargaine What happened to your avatar?
 
@monners gone
 
Noooooooo
 
He realized something...
 
10:21 PM
I was using the bytecode of that avatar as my banking password!
 
Is javascript useful at all when working on cloud apps?
 
@FlorianMargaine was getting too many sexts because of his picture
his wife was getting angry
 
@vamsiampolu yeah I don't like boot2docker, so I was using Kitematic
 
i will try kitematic now
 
10:24 PM
@vamsiampolu docker-machine ssh dev ... to SSH in to docker host
 
!!should I buy GTA V
 
@rlemon Absolutely not
 
I mean good morning
 
@monners .... bytecode?
 
when working in the "watch expressions" bar in the JS debugger in Chrome, is proto actually synonymous with with whatever prototype evaluates to?
 
10:26 PM
@taco what do you think of chocolatey?
 
Pump your brakes @CapricaSix GTA V is a national treasure
 
!!is GTA V fun?
 
@rlemon All signs point to no
 
@vamsiampolu no idea what chocolatey is
 
@shmuli if I understand you correctly, yes
 
10:28 PM
@FlorianMargaine I don't know; whatever ya call the code representation of an image
 
@monners ... the code representation of an image?
 
@vamsiampolu I use OSX not windows.... I use homebrew on OSX
 
then why do i have this returning 'Object'?
@JanDvorak
 
10:32 PM
@FlorianMargaine Well, ya see, a bitmap image is actually stored as an array of values. The name of that array escapes me atm
 
Hi Guys I am unable to read a json file on my ubuntu server using jquery($.getJSON()). but having error that cannot read file. I am using tomcat server to deploy my code. Can anyone help please?
 
@monners matrix
 
guys, I'm so far behind as a developer... I've got the coding down real well, but I missed a huge time management step, before learning how to code.
 
Bam! that.
 
I'm still stuck in the whole bulky, everything goes in one file thing
I never came to terms with methods to make large projects more manageable
Which has caused me to never really finish a project that I start
 
10:36 PM
1 message moved to JS trash
don't do that
your question is above, don't ping random users
 
@rlemon but i thought that may be no one read it.
 
we can read it
 
I searched a lot on google but found no solution thats why I am here
OKay let me post it and paste link here
 
Is it possible to bind Ctrl+L to console.clear instead of the internal console..<clear> method in Chrome Dev Tools?
 
userscript
 
10:39 PM
@Mr37037 post a JSFiddle on jsfiddle.net
 
clear()
@AwalGarg
 
i am stuck with an ng-click,the code is on github,can anyone take a look at it github.com/vamsiampolu/angular-jspm-todo/blob/…
 
@rlemon Doesn't seem to override the default shortcut :/
@shmuli ?
 
in this,the ng-click=display() does not get called
 
I thought ng-click needed to be on an a anchor tag
or maybe not, I'm not sure
It looks like I'm wrong
 
10:41 PM
i used it on a <i> tag successfully in the display-todo.html
the function that i would like to assign is at line 85 in app/app.js
 
Before I dive head first into this, does anyone know of a good (book, article, summary, etc) piece of literature, to start me on the right track to learn methods, on how to manage large projects? Maybe something one of our regulars was able to benefit from in the past?
 
@vamsiampolu I would guess your scope is wrong
 
onkeydown = function(e){
  if(e.ctrlKey && e.keyCode == 'L'.charCodeAt(0)){
    e.preventDefault();
    console.clear();
  }
}
console.log('hello world');
seems to work in chrome
 
doesn't in my chrome
 
10:46 PM
i am inheriting the scope using scope:false
 
@FlorianMargaine not in the console.
 
if I run ctrl + l in the page, yes
@rlemon yup
 
but I don't know how to attach to the console. although I'm sure it is possible
 
not sure it is
 
10:47 PM
@Zirak would know
I think
 
@rlemon It should be possible, but somehow it doesn't work.
See this:
 
yup, if someone knows it's him
 
this._shortcuts = {};
		var shortcut = WebInspector.KeyboardShortcut;
		var section = WebInspector.shortcutsScreen.section(WebInspector.UIString("Console"));
		var shortcutL = shortcut.makeDescriptor("l", WebInspector.KeyboardShortcut.Modifiers.Ctrl);
		this._shortcuts[shortcutL.key] = this._requestClearMessages.bind(this);
		var keys = [shortcutL];
^this is where devtools.js defines it, and although I can register my own listener
the default one just happens
no matter what :/
 
are you cancelling it?
and adding it on keydown
 
Yes
 
10
A: adding custom functionality into chrome's console

dfsqWell it's pretty easy to accomplish. What you need is to create a content script. This script would be injected in any page and create some necessary global functions you would use in your console. The most challenging part is how to make those custom content scrtipt functions to be part of your...

maybe
@AwalGarg
enable developer tools experiements and write a native script for it
that is my last idea
 
It is technically the same as running that code in the inceptioned devtools because it is transferred the WebkitInspectorBackend anyways, but lemme try.
 
if they can style my console. you should be able to override console crap from it
 
Can anyone please give suggestion on this question:
http://stackoverflow.com/questions/29884560/unable-to-read-local-json-file-in-jquery-using-ubuntu-server-and-tomcat
 
@Mr37037 you can't make an AJAX request to a local directory. You can only make HTTP requests.
 

« first day (1653 days earlier)      last day (3296 days later) »