« first day (1927 days earlier)      last day (3036 days later) » 

12:00 AM
Yeah, whitespacing can be a real drag to mess with when you're doing some fancy css stuff
 
 
2 hours later…
1:40 AM
hot chocolate + baileys + grand marnier + kahlua === gold.
 
1:53 AM
wanted to upgrade a super tiny p166 of mine... I think I went too far, even for science :p
can only hold either 1 isa, or 1 pci card, but I bought a pci extender.. fed it through the back and hooked up a voodoo 2 lol
The cd drive also consists of cables I had to feed from the back
lol about to test it out
 
user2620028
2:49 AM
Just had to take "IKM" proficiency tests in java 7 and .net using C#, incredibly demoralizing trivia questions considering i don't use those languages
 
3:21 AM
IKM?
 
user2620028
3:41 AM
yeah some self serving entity that a recruiter is using to assess my programming knowledge
 
user2620028
it was basically trivia of the programming language, some of it was kind of relevant
 
user2620028
But mostly it was strongly typed java specific programming questions, or .net questions
 
user2620028
and i don't really work on those ever
 
Then you can say it wasn't for you? Or what?
 
Sup folks, I'm looking for a font where all the glyphs are actually empty ( a space if you will). I want to use it to put invisible text behind actual text so that I can have more control over exactly what will be matched on a web page by the default chrome search functionality.
It's a proof of concept.
holy shit, somebody actually patented this idea for searching pdf documents. That's absurd.
http://www.google.com/patents/US20080304113
 
user2620028
4:02 AM
Uhh well I applied to entry level jobs requiring those technologies. and entered my experience with those languages as beginner but whatever i guess lol
 
@WillemD'Haeseleer I give zero fucks about patents. I'm making that font.
 
@littlepootis Haha, well I think it only applies to pdf's so you are probably good, let me know if you publish it somewhere, I could totally use it.
I'll pay you 1 internet beer
 
@WillemD'Haeseleer empty or spaces?
 
4:28 AM
gosh I don't know what would be better actually
spaces probably
I want chrome to highlight the result behind the actually text, so spaces would probably work best, as I don't know what chrome is going to do as there actually is no glyph.
 
@WillemD'Haeseleer It'll highlight, but you won't be able to see that.
@WillemD'Haeseleer Are you sure? It's going to be messy.
 
if I search for a space now on a web page, chrome highlights it's in much the way I would expect it
@littlepootis My proof of concept is actually already working, the only issue I'm having is the glyphs showing trough from behind the visible text, besides from that the selection actually looks very natural. You couldn't tell it's actually the text behind that's being highlighted.
I tried changing the selection color to mask the text away, but that doesn't work for text that's highlighted trough search ( there is no pseudo class for that ), that's when I figured out a glyphless font might do the trick
 
jquery ajax - is there a way to use success: function(data)'s data on complete: function() ???
 
5:02 AM
Spends half-an-hour developing the font.
Finds out Adobe has already done that.
 
@littlepootis What's it named ?
 
Adobe Blank
BUT YOU'RE GOING TO USE MINE, OKAY?
 
 
@littlepootis I will use yours, I promise
 
5:12 AM
 
5:27 AM
 
shit
Well, I'll wait for the next version
 
fixed
 
user5722584
hello hi
 
user5722584
hey
 
6:31 AM
@NBOT you're a bot?
 
6:42 AM
Oh boy oh boy my grade in calculus is 20% ^_^
 
@Lemony-Andrew Read Silvanus Thompson's book.
 
I'll consider your suggestion thanks!
I haven't even began my second day though, I'll be fine in the end - I'm pretty good with integral calculus
let me rephrase, decent* haha
 
Times I needed any of the calculus I learned in school over the last 10 years: 0
 
Times I've needed it: once
 
Hey, beats zero :)
 
6:50 AM
@ivarni What? Really? My gf left me because I couldn't solve a few linear differential equations.
 
is there anyone who know three.js
 
@Neeraj 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.
 
Oh man that sucks @littlepootis
You should try to win her back
 
@littlepootis Mine left me because I could :/
 
@ivarni her loss
 
6:51 AM
0
Q: Object moving in different direction after rotating the plane, three js(v73)

anuj rajputI am have having issue in moving the object, when using mouse. When i move the object initially it works fine, but after rotating the scene about the y-axis, the object starts moving in opposite direction of the mouse. I have created a jsfiddle for that. Here is the code: //define global variabl...

 
@Lemony-Andrew She left me for my then bff, so
 
mine stayed with me cause I could, then left me when I didn't need to anymore
 
@littlepootis Forget what I said, friend
@phenomnomnominal are you saying she used you for maths?
 
nah, our relationship just happened to coincide with when I was studying computer graphics haha
 
6:54 AM
@littlepootis scary to think that could be any of us. I always have some sort of feeling like someone would date me with similar motivation.
@phenomnomnominal ahh haha. I gotcha
 
unless correllation IS causation
 
hm
i prefer not to think that, right?
I'm not mentally prepared for the next part of my js library tomorrow. But at least it's the last part for version 1..
 
@Lemony-Andrew js library?
 
Yeah remember the windows-like gui library
maybe that was someone else though
 
Metro UI?
 
7:01 AM
@littlepootis this is like the version from around 2-3 days ago jsfiddle.net/Lemony_Andrew/dk8sovmm
the current version is almost identical to Gimp's Gui
 
I'm a newb to npm with a couple questions
 
@imagineerThat 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.
 
How do you list the packages in an npm registry (which I believe is basically an npm repo)?
 
!! google npm list packages
 
7:12 AM
@imagineerThat ^
 
Hey @Zirak, would you like me to create an issue and draft up a rewrite of run-headless.js on top of Selenium? I think it's the best way forward since it lets us "code once, run on any browser" (even headless ones like PhantomJS, but also including non-headless ones if people want that)
 
@Lemony
 
@imagineerThat " "
 
says "List installed packages"
 
7:13 AM
I'm looking for packages in a remote repo, not the ones installed locally.
 
o/
 
@Lemony-Andrew sweet
 
Firefox OS Developer Preview ON Android
nice
 
@littlepootis :D. How do I make a bigger smile face?
 
7:18 AM
 
I like yours better
 
5/7 works fine
 
Funnily enough, if I put firefox OS on my phone I'm basically just adding "fox" to my current OS's name
 
Phone app doesn't work, buggy, back button doesn't either
 
I'm downloading right now I really want to see it
 
7:24 AM
Gets detected as Firefox OS wow
BEFORE you install it, open some other app.
Make sure it's available from recent menu.
 
Okay, I did
the logo for launching looks blurry as all heck
 
yes
The app icons look blurry too, for some reason.
 
Luckily, my icons looks nice
but the inconsistencies are already apparent -- it's not the actual OS we have to remember
 
Edge Swipe Navigation
Nice
 
Aww the back button really doesn't work
 
7:34 AM
There's software home button in developer tools. I'm looking for a back button of some sort.
Maybe there's no back button at all.
 
My phone doesn't have an actual back button
It's just a swipe up from the bottom and it registers as "back"
 
Oh, considering the fact that we can write apps for this thing using JS, that's totally okay.
 
It doesn't have swipe im out
god dangit
 
@littlepootis According to MS, we can already write JS app for Win Desktop, Win Notebook, Win Phone, and Win pads.
 
0
Q: Git partial push and pull

Mr_GreenIn my project, I have many files which are configured at many places with my localhost settings which I am not willing to push to server. and the server files has settings of external server which I am not willing to pull. So actually, I am looking for a way where I can partially push/pull the c...

 
7:40 AM
Yeah, it requires some meta information
The polymer-starter-kit has it built in, which is funny
 
@Sheepy Store apps
There's a back button addon
 
how to get
 
Marketplace > addons
 
Well. That's how MS sells the concept, at least. Yes. They are just store apps.
And I hate most of them. I usually prefer the desktop experience.
 
denis has said me once on how to manage using git. I tried the same but got confused somewhere
 
7:44 AM
@littlepootis eh it's not really working on my part
 
@Mr_Green For the local part, you can tell Git to assume they are unchanged. That prevents your git from saying they are changed (and commit them).
 
@Sheepy I can't say that to partial changes in a file right?
 
For the server part, config file rarely change, so you should not see them in pull much. I personally just rely on manual detection.
@Mr_Green No, it is whole file. Are you trying to say that you are mixing config with logic in same file?
 
@Sheepy yes
please correct if that's not how I am sounding in the question
 
@Lemony Blank screen after restart :/
 
7:49 AM
That's not a good idea. I do not know any version control that can help you, either. But I am not git expert.
 
my colleagues say the same
that is why I was maintaining two directories
 
Yeah... guess you did your best.
 
it works but it is not as git is supposed to work
 
@littlepootis yeah the app definitely has ways to go. But hey, it was a great first-time experience on my part. Your phone screen is blank?
 
@Lemony-Andrew yep, it's blank
 
7:50 AM
you can't get it to work @littlepootis ??
 
Clearing data works +1
 
user3119231
Ay capitan's!
 
Now I want to learn android development.
I didn't knew you can override almost everything and make the device look like it's from another planet.
 
@Mr_Green I think you can say your files "have embedded/inline/hardcoded localhost settings"
@littlepootis There was a time when different vendors' customised android UIs are actually distinctive.
 
@littlepootis haha when I found that out I felt the same way. It's all about the "launchers"
 
user3119231
7:57 AM
Android - Its all about the java
 
@Lemony-Andrew Yeah, I know. But it's still amazing. They've overridden the notification panel
 
thanks done
 
@Maurice iOS can't even claim that. Look at Objective-C.
 
user5503464
-2
Q: How to Design schema for this using mongoose?

komalI have added demo in fiddle demo for this how can i make schema? my expectation : i want to find data by brandname i want find data by brandname with modelname and submodel name For example i have given data below Categories : brand name :nokia modelname:Lumia submodel : Lumia 735 TS ...

 
I heard you can move home screen icons to folders in iOS. wow
 
user5503464
7:59 AM
pls any one help me out
 
such amaze. much improve. wow
 
@littlepootis the browser is kind of annyoing when playing my game though. It keeps on scrolling on when it's already at the bottom shifting my buttons
 
How to get add to this team? stackoverflow.com/teams/57/javascript
 
user3119231
I'm currently like "java bla bla" cordova does his job aswell.
 
user3119231
@Mr_Green I'm asking myself the same
 
user3119231
8:09 AM
@Lemony-Andrew Y U no invite me to team?
 
It'd be best if you can IM someone on the team to invite you, since SO does not have any private messaging system or a way to invite a specific user...
 
I think we need to join some beta testing thingy
 
8:22 AM
I found a second hand Radeon R9 270 in the local market at 115 usd, about 20% cheaper than the lowest new price. I have been struggling whether I should grab it...
 
I wouldnt .. but that might be because I have trust issues
 
user3119231
Is there a shorter way to do this?
 
user3119231
	window.addEventListener("mousedown", function(e){
		if (e.target != element(".menu") && isChild(e.target, element(".menu")) == false){
			element(".menu").style.left = "-250px";
		}
		if (e.target == element(".taskbar_menu") || isChild(e.target, element(".taskbar_menu"))){
			element(".menu").style.left = "0px";
		}
	})
 
@Mr_Green You need to be invited.
 
user3119231
I mean if I have some other elements like this my file explodes
 
user3119231
8:32 AM
@BenFortune Then invite us
 
@Maurice How about putting the event handler on the menu(s) / taskbar_menu(s)?
 
user3119231
@sheepy sounds logical and smart.
 
@Lemony-Andrew yeah, that's probably a feature
@ndugger pls add me to team. kthxbye
 
The team is only for the cool guys, not small potatos.
 
// Is there any difference between

if (x) {}

// and

if (!!x) {}

// ?
 
8:40 AM
Yes, there is, the second has !!
 
@MadaraUchiha Second one casts it to a bool?
 
Functionally, there's no difference, truthy values are coerced to true with double negation, falsy values to false, same same.
 
@BenFortune But variables in an if() statement are already implicitly casted into bool
 
Hmm, good point.
Peace of mind? Readability? :P
 
@adeneo and cool TNT eating animal(s)!
 
8:43 AM
any node expert here?
 
@AlienXu 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.
 
@adeneo potato pot-ato
 
It has been 5 hour I have this problem
 
> 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 @AlienXu, we have several world-known node.js experts around here
 
8:44 AM
0
Q: Deloyment failed in aws beanstalk, getting 502 error

Alien XuEverything worked in my local, I googled few questions, all have to do with port problem. But since I'm using express, I think I will not have hardcoded port problem, as you can see below is partially the code in www var port = normalizePort(process.env.PORT || '3000'); app.set('port', port); ...

I couldn't get this to work :(
exisiting solution doesn't work for me
 
@AlienXu what's normalizePort?
 
@adeneo you don't know how big of a potato I am
 
user3119231
Or how big your potato is
 
@MadaraUchiha looks like no
 
@BenFortune please invite me then
 
8:46 AM
@FlorianMargaine var port = normalizePort(process.env.PORT || '3000');
app.set('port', port);
 
@littlepootis Just checked spec to be sure. Both calls ToBoolean. No difference at all.
 
@AlienXu what's the normalizePort function?
 
@AlienXu - The Express generator actually creates a normalizePort function, you do have that function, right? It's supposed to look like
var port = normalizePort(process.env.PORT || '3000');
app.set('port', port);


function normalizePort(val) {
    var port = parseInt(val, 10);

    if (isNaN(port)) {
        return val;
    }

    if (port >= 0) {
        return port;
    }

    return false;
}
 
@adeneo I don't have problem with the port i think
express handled that for me
 
Did you try just doin app.set('port', 3000); to see
 
8:51 AM
why do i need to set the port to 3000?
it run fine on my local and i can use 3000
but beanstalk i have to pass process.env.port right?
 
35
Q: 502 Bad Gateway Deploying Express Generator Template on Elastic Beanstalk

user3486588I used the express generator to create a simple express app, which when started on dev works fine on localhost:3000. When I push this to elastic beanstalk using the eb command-- git aws.push, however, I get a 502 error on the production server. Looking into the logs, the error I get is: 2014/...

 
    if (isNaN(port)) {
        return val; // wat
    }
 
I know what's the problem
damn noob aws
 
@MadaraUchiha - yes, if it can't be parsed as integer, return the original value
 
@adeneo I don't understand the point of this function
 
8:54 AM
@adeneo wat
 
oh
it returns false if it's -1 or less
 
If the port can't be parsed as an integer, it's an error.
You can't bind port "blah"
 
you can bind to an unix socket
which is a path
and nginx supports that, e.g. serverfault.com/questions/316157/…
inb4 "TIL"
 
I actually had to do that the other week to get Flask to run behind nginx in an emergency production procedure. I didn't know that someone in the Python room told me :P
but it's interesting, yeah
 
we use that at work, it's pretty handy
lets you avoid any limit w.r.t. port numbers, just point to the file and it'll proxy from there
(also, I bind a unix socket in hermes, the daemon, to have the PAM module talk to it)
 

« first day (1927 days earlier)      last day (3036 days later) »