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

9:00 PM
The "transform" function is a mystery to me. So sometimes there is a return value, sometimes there is no one.
 
@rlemon Ever watched two galaxies collide?
 
@MadaraUchiha noted
@MadaraUchiha seen pictures and models (animated CGI)
neat stuff
 
@rlemon With most galaxies, the star systems are so far apart, it's actually very unlikely for any collisions to happen.
 
@MadaraUchiha gravity is a bitch tho
 
Why don't websites which're basically galleries (either of pictures of stories) have hotkeys. This is so wrong.
 
9:01 PM
Yeah, solar systems get thrown off into space all around :P
 
Let's burn people
 
@Zirak Lack of talent?
 
@taco Is "coffee()" function exactly this line github.com/wearefractal/gulp-coffee/blob/master/index.js#L10 ?
 
!!afk paying taxes then heading home to play video games.
 
9:02 PM
@MartyIX Yes
 
ohh, ignore that, @MartyIX I'm domb, i was thining that was the gulp config
dumb, too.
 
@Luggage haha, ok :)
 
@Luggage maybe you should change your avatar to someone ... dumb
 
@MadaraUchiha Thanks!
Great, I'm a bit smarter and I can go to sleep in peace :)
 
@MartyIX yeah module.exports is passing that function back up as the gulp-coffee function. It sounds like you kind of get it
 
9:05 PM
wow, mdn has a nice console output when you visit their page. (my firebug was still active)
 
the jobs thing i take it
 
I think he is using regular JavaScript, rather than jQuery. However, I agree with this post, learn jQuery and you'll life will be a lot easier. — Fata1Err0r 2 mins ago
another soul for the hell
 
@KendallFrey what's the difference between string.Empty and ""?
 
the number of characters required to type it
 
9:11 PM
That's what I thought
 
also in theory string.Empty could change
but as is, they compile the same
 
you mean string.Empty can change to not be an empty string? Isn't that the same as ""?
 
Anybody ever get a "406 Not Acceptable" HTTP code
 
user1648409
Hi, when sending a attaching a triple of values to an input field. Whats the best solution here? name="" is the key - value="" ist the value. However i need to pass a triple. Currently i am doing it with value="Sebastian|3" which is ugly. Another option i think would be passing a JSON with the two values in the value tag? Any ideas? :D
 
string.Empty can change just like Math.PI can change
the thing it's describing won't change, but some implementation could in theory break code that depends on it
 
9:13 PM
ok
 
Co-worker refactored my code, I get this 406 error, and now it's my problem. wat
 
@taco do you have tests?
 
@phenomnomnominal that's where I'm getting the 406 lol
 
Totally their fault then
 
@taco I think I get it in general. I was interested where pipe() function is defined but I haven't found it on Github. So my conclusion is that pipe() is a stream function - i.e. this one nodejs.org/api/… - is that right?
 
9:15 PM
yeah, just gonna look at my code and see what changed for this POST
 
@taco 406 ? Then there is a conflict with the content-type
 
@KarelG yeah so it seems
 
just check at both accept and request
@KarelG: OMG, that was the problem hahaha — Lucas Padilha 3 mins ago
my answer is as a comment here because it's a small mistake. /feelsgood
-3
Q: how to make this program,anyone can help me

Hareth ShalashIn this phase, you need to implement the major parts of the functions you created in phase one as follows: void displayMainMenu(); // displays the main menu shown above This function will remain similar to that in phase one with one minor addition which is the option: ...

 
@MartyIX i don't know. It looks like the return for gulp-coffee uses "through", so maybe it's part of that? Don't have time to look
 
please cv it
 
9:25 PM
I'd like to profess my love for handlebars. That is all.
 
@taco Thank you very much
 
@Luggage wut ?
 
handlebars template engine, probably
 
ah
was going to try that once a day
 
9:33 PM
templating once a day?
 
yea, the template engine.
 
@MadaraUchiha /r/nocontext/
 
Mr. Krabs ^
 
@MadaraUchiha I saw that. I meant the actual image.
Looks like a boy handing out water.
Is that the truth?
 
@Shmiddty Baltimore riots?
 
9:39 PM
Or is it "$3 water, get your water!"
 
My sarcasm detectors are off at this time of the night. Apologies if I don't catch on as quickly.
 
r/nocontext/
@MadaraUchiha Not being sarcastic. I could see either being equally likely
If I weren't such a lazy child, I probably would have earned money in the summers doing the same thing
 
9:57 PM
who is mr. krabs
 
0
A: Loading gif is not animating?

GuffaNo, there is no work-around. It's not a problem with how the image is loaded, it simply won't be animated while the script is running. Javascript is single threaded. As long as a script is running, there is no visual updates in the browser. This includes GIF animations, while the script is runni...

Web workers?
 
So ctl + p then :<number> works in Sublime as well. Neat.
 
@rlemon Cannot be used to load styles
 
I should look at webworkers more
 
Recently I found out that you can post the arraybuffer of imageData to a web worker and then use putImageData without posting it back
 
10:14 PM
I ordered that 2 hours ago from Amazon. :O
 
what is it?
@copy sounds very interesting
 
I was close to ordering a mirrored RAID system (that I asked for opinions on earlier), but I think I need to look a bit more, so I ordered a backup drive for now
 
got a link handy to where you picked it up?
ohhh to live near a distribution center
that would be the life
 
@rlemon Amazon Prime Now iphone App. It was delivered to my door. $7.99 for 1 hr delivery. I chose free delivery
 
@rlemon I figure that out by myself, but the transferList parameter of postMessage is relevant
 
10:16 PM
@copy noted
 
@rlemon I don't think it's a fully stocked distribution center. Either that or they limit what they'll deliver on Prime Now
 
the closest center to me is only like an hour away, but they don't stock much if anything
pretty sure they are just an over night stop for the larger ones
 
@taco Pretty sure we run a mirrored RAID system at home. Had a few close calls, but RAID saved the day. (We maintain about 10TBs of media, so that would have been a nightmare)
 
I should've ordered groceries or something weird. Like lube
@monners, yeah I need a backup system. I was close to getting a WD My Cloud Mirror, since I don't want a PC to be my backup system, but I'd like to see if there are better options
I'm gonna go with RAID-1 since it's all I need
 
I just filled my second 2TB
 
10:20 PM
@rlemon Rookie
 
the idea of having to buy larger drives than 2TB seems like an impossibility
@monners 0 porn
wait that is a lie
I still have those 100000 random imgur images
best estimate is 80% is porn
 
why do you have them?
 
@rlemon I keep all of my porn under the mattress, next to my gold bouillon and stamp collection
 
@taco needed sample images for demos
many many sample images
so ran the scraper over night.
 
@rlemon lol, porn in sample images? that's a bit dangerous
 
10:22 PM
I didn't expect it to be all porn
when I checked the next day what I had gotten...
well that project has never been completed.
 
can anyone think of a magical way to prettyprint html?
 
Parse it with regex
 
@phenomnomnominal View source?
 
@monners programatically :P
 
10:23 PM
@phenomnomnominal Automator > View Source :P
 
I basically want npm install htmlPrettifier
yay
 
That's a bad, non-descriptive name for that module. He just wanted to seem like he got a good name for it. Jerk.
 
npmjs.com/private-modules so they add this, but still no offline npm support baked in
@SomeKittens npmjs.com/package/ruby ? :(
 
@Zirak How would they be able to charge you money for it if it were to support offline?
 
@MadaraUchiha What I mean is that having adding offline support to npm is more trivial and more beneficial than private modules, yet they chose the latter
 
10:29 PM
@Zirak offline npm support?
 
1 min ago, by Madara Uchiha
@Zirak How would they be able to charge you money for it if it were to support offline?
 
@FlorianMargaine Host my own npm
@MadaraUchiha Tampon sales
 
@Zirak uh, you can?
 
@FlorianMargaine Not trivially.
 
@FlorianMargaine Not sanely.
 
10:30 PM
hosting a couchdb server is not trivial/sane?
 
It used to be easier
 
@FlorianMargaine Cloning the main one and keeping it up to date is not sane.
 
@MadaraUchiha couchdb uses replication
you don't have to do anything
 
@FlorianMargaine Again, that's not trivial.
 
it's a config to set
 
10:32 PM
@FlorianMargaine Come on, you're not being practical here.
 
@FlorianMargaine I don't want all of npm, I don't want to change everyone's DNS, or even better, if I have the package's archive locally, on disk, with all its dependencies, I can't install it with npm
 
You're suggesting I clone 100% of the database for the 0.0001% of packages I'll ever use.
 
@Zirak if you have the package locally, you can npm link it
 
I invite you to try
 
@MadaraUchiha that's a different matter
 
10:33 PM
@Zirak To be fair, you can npm install from a git repo
 
@Zirak npm link?
 
And that git repo can be behind VPN and the such.
 
@FlorianMargaine Cool. So I have the package and its dependencies. I have to visit every one of them and link it? That's global.
 
But yes, something like a private nexus and RPM would probably be the better solution.
 
@Zirak no, just the package, or I don't get it
 
10:35 PM
everyone chill the fuck out... I got this.
 
@MadaraUchiha No you can't, because you just have the package archives and no internet connection
 
I wonder how big npm registry is
 
@Zirak Eh?
 
Here's the thing: I have express.tgz, connect.tgz etc all under /var/my-awesome-npm. I have 0 internets. cwd is ~/project/. Install express.
Go on. Do it.
Oh wait, you can't tell npm to not go to the registry
They removed that flag
 
@FlorianMargaine 552046098
 
10:37 PM
You can't tell it to assume the package has been downloaded
They removed that flag
 
I have no units
 
@Zirak It sucks, I know
In your case though, you can still use git
Git works with the file:/// protocol, FYI.
 
How? You have no internet
And how will it resolve express' dependencies?
 
but if that is kb, ~550gb
 
Ah yes, I have to parse the packages, and change their dependencies to point locally.
 
10:38 PM
@Zirak I'm assuming express.tgz is already packaged with all of the dependencies in it.
 
@MadaraUchiha Why would it be? It's a standalone package
 
@rlemon more like ~526
 
@Zirak Exactly because it's a standalone package?
 
You just downloaded express on a version, that archive doesn't contain all its dependencies
 
round to the nearest half I do
 
10:39 PM
@Zirak If I knew I'd be getting it into an environment without an internet connection, I'd get the dependencies beforehand too :P
 
npm works by downloading a package, extracting it, reading dependencies, download each dependency, recurse.
 
what am I doing wrong here:
wrap.innerHTML =+ append(load_more/results.php);
 
@MadaraUchiha So your solution is to install the package when you have internet.
That's not acceptable.
 
also, @FlorianMargaine according to google 552, but they're stupid and do 1000 not 1024
 
@Zirak Well, you did download express when you had internet.
 
10:40 PM
I want offline npm. I want npm install express. It's bullshit that I can't, that npm physicall can't let me.
 
i just want to get the html adder to work
 
@MadaraUchiha there's always the one you miss though
 
todo: get wife small gifts for birthday dinner.... I'm gonna forget
2
 
@phenomnomnominal Not really
In an internet-abled machine:
 
i've tried a lot, but it just doesn't want to work
 
10:40 PM
read the documents. nothing about your code is right.
 
any of you guys do any woodworking?
 
@MadaraUchiha That's irrelephant, I don't want to be a package manager, I want to install things.
Any decent package manager does this
 
cd some/dir
npm install express
npm install # get dev deps too
tar -whatever
 
Even fucking apt, one of the worst package managers I've dealt with, has this.
 
@Zirak Like it or not, you need to get all the dependencies from the internet, and into your machine which doesn't have an internet connection.
 
10:41 PM
the other day I was gonna be on a train and wanted to do some work, knew I needed markdown in an angular app, so did npm install angular-marked. Got on the train, realized it needed the actual markdown module
 
@rlemon that was an example of what i was trying to do within a $.ajax
 
@MadaraUchiha I did, as their own bundles, their own archives, exactly as they are on npm
Why can't I npm install
 
@Zirak Because npm sucks, there're no arguments there.
 
Then what is the argument
 
@Zirak The argument being that you do have workarounds. Crappy, hacky ones, sure. But you do have them.
 
10:43 PM
your mother is a hamster
 
The fact that npm disabled the flag and then magically added paid private modules smells a lot
And I hope dearly that they pull together, or they're facing an iojs level fork.
 
@MadaraUchiha Of course there are workarounds...but they're shit as bricks.
 
@Adam Khoury can you please put full tutorials into your videos?
 
@phpPluginMaster I have no idea who Adam Khoury is. But he isn't here.
 
10:45 PM
The "best" solution I found is installing stuff while online, and keep the .npm cache for offline
 
he may have a SO account
 
@phpPluginMaster Doesn't matter.
 
he could see it
 
@Zirak so I have been half paying attention, but is the issue that npm always tries to look outside for dependencies?
 
The fact that I just pinged @Robert doesn't ping every single user on Stack Overflow whose display name starts with Robert
 
10:46 PM
@rlemon Yeah, sorta
 
@phpPluginMaster if he was never in the room, he wouldn't get the ping/
 
can you help me figure out what I need to do to get my ajax to work?
 
can you not trick your router/pc/network to just turn every outgoing request back to a single location
 
Oh gawd it's too late in the night for this
 
proxy the outward back?
 
10:47 PM
years ago he could've been
 
I can. But I can also stab myself with a rusty fork.
 
or you could stop bitching and use one of the workarounds ;)
 
I'm not looking for workarounds, I have about a dozen. I want npm to support this, because it should
 
<3 you
 
@rlemon Because it's mutually exclusive :P
btw, getting a package along with all its dependencies (in their archive form) is not easy
npm is so shitty
 
10:49 PM
@Zirak how many days do i need to try getting something to work before becoming a help vamp?
 
Why do people like it
@phpPluginMaster Yes
 
@Zirak Because serverside JavaScript!!
 
if i'm trying to do this within a success, what do i need to do:
wrap.innerHTML =+ append(load_more/results.php);
 
you're showing us incomplete code which will never work with no improvements whatsoever
most of it is straight syntax errors
 
        success: function(wrap){
            //load more data to "wrap" div
            //more.append(results.php);
            wrap.innerHTML =+ append(load_more/results.php);
            console.log('success'+i);
        }
 
10:51 PM
            wrap.innerHTML =+ append(load_more/results.php);
syntax error
open your console.
 
wrap is a defined div
 
:sigh:
 
@phpPluginMaster I recommend you pick up some js tutorial/primer, and read up on a few simple projects
 
Uncaught ReferenceError: append is not defined
 
@rlemon technically it's a TypeError
Reference in his case due to append
 
10:52 PM
do i need to put a innerhtml.append?
 
!!> function foo() {} /* imagine this was actually defined */ foo(load_more/results.php);
 
But load_more and result.php could both be valid variables, potentially with numbers.
 
@rlemon "ReferenceError: load_more is not defined"
 
well FF still thinks it is a ref error
well done
that makes sense as well
 
1 min ago, by Zirak
@phpPluginMaster I recommend you pick up some js tutorial/primer, and read up on a few simple projects
 
10:53 PM
load_more is a file
 
Have fun, toodooloo
 
no pls
 
!!> function foo(b) { return b; } var load_more = 5, results = { php: 2 }; foo(load_more/results.php);
 
@MadaraUchiha "ReferenceError: results is not defined"
@MadaraUchiha 2.5
 
@rlemon ^ :P
And with that, I'm off to bed.
 
10:54 PM
@phpPluginMaster you are too far off from assistance at this point. that is not to be rude, but we'd basically be teaching you the very basics of JS. Please go get a proper tutorial (I recommend MDN tutorials or eloquent js) and come back when your code is more coherent.
 
i just want to dump it to the end of a div
 
@rlemon You should probably link him to my canonical about properly passing data from PHP to JavaScript
Good night!
 
lol
 
CodeCademy is a good place to start
 
canonical?
 
10:55 PM
should only take a few days to get yourself on the right track
then we can help
 
what about the jquery primer?
 
don't
 
don't bother with jQuery
 
not until you know how to properly pass shit to functions (just an example, you'll wanna know a bit more)
 
10:56 PM
i do in php
 
CodeSchool is good if you need lots of hand holding
if you're a "php plugin master" you should be able to figure out JS pretty quickly.
 
i'm building a few framing objects
js is a lot harder than php
 
seriously, it won't take long. bite the bullet and take a proper course on JS . a lot you can do in 2-3 days
w3schools and youtube links are not proper courses
 
what video class should i take in js?
 
we've suggested a few already
 
10:58 PM
k
 
we just linked half a dozen up there.
 
Why does it need to be video?
 
i like lectures more
 
@NickDugger some people learn better
I prefer video lectures, but they are not always going to teach me everything I need. concede and take a course.
 
I have a hard time learning from anything. CodeCademy was great for me since it was very hands on, and you learned by doing. I've learned a good bit of C# from exposure like this as well
 
10:59 PM
if you have a few $$ to blow, pluralsight has videos as part of their courses. but it is a paid service.
 

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