« first day (821 days earlier)      last day (2967 days later) » 

4:02 PM
Well if someone has inspiration I drop that their :
0
Q: Better way than Js to place an element relative to his parentS.?

BaldrániI've got a box; supposed to be duplicated and I want an element of the box to be position relatively to this box. In my case Have a look at the Fiddle : I want the price to be position right and bottom to the bigger box with shadow. Something like position:absolute; right:5px; bottom:5px; An...

 
https://github.com/anhr/InputKeyFilter/blob/master/InputKeyFilter.js

I know this is very subjective, but that's some ugly code right there
@mikedidthis <3
 
After accidentally opening Adobe Bridge… http://t.co/VQSmLuhcTy
 
@StephanMuller is there javascript that isnt ugly?
 
the javascript Jon Skeet writes
 
4:13 PM
does Jon Skeet write javascript?
thought he was a C guy
 
@cimmanon Jon Skeet can program in Hieroglyphics :)
 
@TylerH hah, thanks
 
@RonaldUlyssesSwanson so true! happened to me like million times
 
@easwee and when you want to actually use it, it's even slower
slowest gui ever
hangs at every click
 
@cimmanon pft
fiet me 1vs1
 
4:27 PM
@rlemon my haskell vs your javascript? :D
 
no, we're using technologies people actually care about
so you'll have to use SQL
 
lol
people care about haskell, you just dont realize it
 
9 people don't count as a proper metric :D
 
its popular in the finance industry
also, facebook uses it
 
Facebook uses Haskell to manage all their other code
and for spam I think
 
4:31 PM
@cimmanon facebook also uses php. you sure you want haskell to be there? :D
 
@RonaldUlyssesSwanson they are using it to clean up after the mess they made with php in the first place :p
 
> How do you stay productive and avoid interruptions?

I reject the premise of the question! I’m constantly interrupted, whether naturally due to other commitments (taking the kids to Cubs or Scouts, getting off the train etc) or because I can’t resist checking Stack Overflow every so often. I’m quite good at context switching though, which has proved very handy in a number of ways.
by Jon Skeet
 
@cimmanon seriously, source?
 
> If you weren’t a developer, what else would you do?

No idea. I’ve expected to be a software engineer since I was about 12.
rofl
 
how did you make that page so quickly?
:P
 
4:58 PM
@RonaldUlyssesSwanson crazy italians
2
synchronized drumming is mesmerizing
 
foo fighters, meh
 
5:31 PM
@rlemon hah, awesome
 
http://www.commitstrip.com/en/2015/07/30/coders-weaknesses-1-the-trycatch/
CommitStrip - Blog relating the daily life of web agencies developers
Coder’s Weaknesses #1 – The Try/Catch
CommitStrip
1438277738
 
@easwee where are these from?
 
5:58 PM
i'm having a thousand heart attacks trying to figure this thing out. I have <body><header></header><footer></footer></body> and body{width: 100%; height: 100%; 	background-image: url('../Images/Backgrounds/JWSSB.jpg');
	background-repeat: no-repeat;
	background-size: cover;} header { width: 100%; height: calc(100% / 2); } footer {width: 100%; height: calc(100% / 2); }

which works perfectly if i DON'T put a background image there. BUT if i put the background image there, then the footer is pushed down (or cut off at the top) by about 100px. leaving a gap between the bottom of header and top
 
a thousand?
 
all you need is 1
 
maybe you should seek medical attention
 
@SE13013 can you recreate your issue in a fiddle?
 
I'm Jason. I don't seek attention. Attention seeks me.
 
6:00 PM
also I have to laugh pretty fucking hard at calc(100% / 2)
you realize you can write 50% right?
 
lol
I don't look at code when it's in wall format
 
@rlemon i wanted an excuse to use calc lol. i've never used it before.
 
that is a crappy use for it
 
@rlemon it is. but it's a personal project so i can get away with it
 
clearly you can't, I just called you on it
 
6:02 PM
@rlemon no consequences from boss, mister! don't hate me pls :(
 
NO SOUP FOR YOU!
NEXT!!!
 
lol
soup nazi
 
@SE13013 make a fiddle
 
sooo about that fiddle
 
kk
i make it
 
6:04 PM
@Kitler tell me
const parseTextNodes = (container, callback) => {
	return recurse = (node)  => {
		node = node || container;
		if( node.childNodes.length ) {
			for( let n of node.childNodes ) {
				recurse(n);
			}
		}
		if( node.nodeType === Node.TEXT_NODE && node.nodeValue !== '' ) {
			callback(node);
		}
	}
};
or
const parseTextNodes = (container, callback) => {
	return recurse = (node)  => {
		node = node || container;
		if( node.childNodes.length ) {
			Array.from(node.childNodes).forEach(recurse);
		}
		if( node.nodeType === Node.TEXT_NODE && node.nodeValue !== '' ) {
			callback(node);
		}
	}
};
or ???
actually I don't need the if check :/
if there is no length it won't loop
 
FUCK i hate jsfiddle. i have to click Run a thousand times for it to actually run
 
so the question is Array.from or for...of
 
still can't accept that domnodelist is not an array
sucks too much
 
sec
node.nodeType === Node.TEXT_NODE && node.nodeValue !== '' && callback(node);
also return recurse = (node) => {} can be written return recurse = node => {}
 
@rlemon fuck it! jsfiddle NEVER reproduces layout correctly.
 
6:10 PM
@SE13013 false
 
nope
 
@Kitler yea I always wrap the arugments with ()
 
you can click "run" once and it will run
 
easier to read for me
 
Alternatively you can press [kbd:ctrl] + [kbd:enter]
oh, chat doesn't support kbd
 
6:11 PM
 
Further, I find that JSFiddle always reproduces the layout exactly as I have it coded
@rlemon tags != keys
 
close enough
@BenjaminGruenbaum you lost?
:P
 
lol
 
@rlemon punk ass. Telling me to get lost.
 
6:13 PM
You lost bro? You lost?
 
actually I asked if you were lost
 
not get lost
fucking noob
 
I was joking
 
(I know)
also, why were you owner here?
you are in this room like once a year?
 
6:14 PM
I don't know, I keep getting added as RO here.
 
he used to be in it twice a year
 
I have no feelings about it one way or another :D
 
ah stuff it. i can't do this shit. jsfiddle not reproducing layout properly. i copied everything between body tags into html section. then copied ALL css into css section. result: NOTHING LIKE ORIGINAL.
jsfiddle can kiss my ass
 
@rlemon everyone is an RO here
 
@BenjaminGruenbaum so.. for( let node of nodelist ) foo(node) or Array.from(nodelist).forEach(foo)
 
6:15 PM
@SE13013 sounds like you have external resources that are missing
 
i replaced the 1 external resource with an actual http source: wallpaper.thaiware.com/upload/wallpaper/2009_09/…
and it exists
 
@rlemon I try not to forEach and I don't mutate outside world things in .map and .filter. So I'd for... of
 
any reason why you avoid forEach?
 
and its not working... it won't do the thing properly ;-( why does jsfiddle want me to have another heart attack?
 
It's pretty simple by my logic, if it's a query it's declarative array methods, if it's iteration it's forEach, although I mostly use Seqs anyway and I rarely touch NodeLists directly.
 
6:17 PM
 
@rlemon Nothing in particular.
Just a stylistic preference.
 
gotcha
now, why are you here?? do you actually have a HTML/CSS/webdesign problem? or just hanging out?
(just curious)
 
okay, why can't I move messages to trash? are feeds message no longer trashable?
 
Feeds never were
 
that's not correct. I know I've moved Feeds messages to the trash before
 
6:19 PM
@rlemon "join favorite rooms" button.
 
ahh
 
Morning all
 
damn
was hoping I could help you for once
 
CSS is easy :D
I suck at design.
 
moved there by me
 
6:20 PM
Oh, I was promoted today, that was kind of fun.
 
@BenjaminGruenbaum Congrats
 
congrats
 
fire Sharon
:P
 
I'm in charge of development except financial-algorithmic research and NLP at TipRanks.
@rlemon I'm gonna cut him more slack, I'm hoping it pays off.
 
6:21 PM
@rlemon yup, just doesn't need it when it's 1 argument
 
@Kitler I'm aware, I still prefer to wrap it. it is more readable to me
 
1 message moved to Trash
 
scrub
 
Yep, not browser specific, and only feeds
 
@rlemon any tips?
 
6:22 PM
@BenjaminGruenbaum woot always thought you were the boss
 
@TylerH but those are not 'action' messages
 
@Kitler I was the senior, but now I'm actually in charge administratively, like work hours and vacation and shit.
 
@BenjaminGruenbaum I only have one, and you'll have to fight my gf for it
 
@rlemon rss messages are different soemhow?
 
cool cool, congrats :D
 
6:23 PM
@TylerH they appear to be
@BenjaminGruenbaum on design? my protip is vamp in this room
 
I have a very "as long as shit gets done well - do the fuck you want" attitude.
 
it's what I do.
 
@rlemon that depends, does she have a black belt in kung fu?
 
@BenjaminGruenbaum maybe
 
@BenjaminGruenbaum ask @ZachSaucier
 
6:25 PM
@BenjaminGruenbaum you guys hiring defectors? :P
 
he is a big design fan; and has a growing collection of resources to point you toward
 
@Kitler kick rlemon and we can talk
@Kitler we're always hiring, but I think it's on hold until we're moving to the new bigger offices next month.
 
I m a stone throw away from you guys :P
 
yea @Kitler needs a new job.
his current job only stocks lots of booze
 
I need to build up a portfolio, got 0 personal projects to show
And all my commits are to work repos
 
6:27 PM
One of the things I want to start doing at work is open sourcing stuff
 
how many employees does TipRanks have?
 
vs 31 public commits
 
@Kitler not in the shape of a dick, -1
 
lol
 
6:28 PM
@BenjaminGruenbaum congrats
 
@rlemon dude that massive concert looks awesome
 
@rlemon about 30? A bit more.
 
@BenjaminGruenbaum so how many devs you got under you now?
 
over 9000
 
@rlemon 3, but 4 in a week.
 
6:33 PM
how many devs in total?
 
nice
 
Not a lot but more than I feel comfortable with. I was in positions where I managed 20 people before (in other companies) but I like coding better.
@Kitler around 10 I think, 5 QA too.
 
nice
 
@BenjaminGruenbaum Congrats
 
@mikedidthis thanks
Any protips
 
6:37 PM
protip #1 buy the team breakfast on fridays
does wonders with morale
 
We don't work fridays
 
Where do I send in my cv?
 
haha
 
And I m gonna need coordinates in order to dig a tunnel
 
Valid point though, shouting any sort of meal / treat works massively.
 
6:39 PM
!!afk shower
 
@Kitler best morale boost for me would be to be able to wear jeans and t-shirts to work
 
@Kitler We work Sundays though :D
@TylerH I come with shorts, a t-shirt and flip flops to work
 
flipflops cc @easwee
oh wait, it was @PeeHaa wasn't it
 
I was what? :)
 
talking about wearing sandals to work yesterday
 
6:44 PM
Yeah twas me. Don't do that :-)
Hippies... cc @BenjaminGruenbaum
 
@TylerH i'm in a white tee, floral print shorts, and flip flops :P
at work.
 
@PeeHaa sometimes at lunch break I go to the beach.
 
i don't even have pants on
 
lol
I believe it
 
but i work from home
:D
 
6:45 PM
@BenjaminGruenbaum I hate you even more now :P
 
@rlemon snickers
floral print
@RonaldUlyssesSwanson preparing for the auditors already, eh?
 
@PeeHaa I can see it from outside my window, so I know if the weather is good before I go
 
these
they are awesome
 
@TylerH yeah, they sell undies, so...
 
@BenjaminGruenbaum Damn. /me looks outside and see his garden which really needs some love and terrible weather
 
6:49 PM
@PeeHaa /me looks outside and sees a wall because he doesn't have a window in his cubicle
 
You win lose. That is worse
 
cubicles are terrible
 
brb going to get a drink to drown my sorrows
 
I go in shorts and flipflops as well
Screw pants
 
my office windows have a nice view of a window that sees the outside
:?
 
7:02 PM
windowception
 
my boss wants to swap offices.
mine is warmer
so Ill get his office with nice windows as soon as we get off our asses to move the stuff over
 
offices or cabin or places?
:)
 
@rlemon yall recruiting?
 
@Kitler we might be looking for engineers in a little
but not any coders
 
shakes fist
 
7:16 PM
@Kitler get a cv together, I'll pass it around
just because we're not hiring doesn't mean I don't know local people who might be
 
@rlemon Neat
Kitler seems to be on a job-hunt today :P
 
kitler is depressed and is looking for change
 
wtf
SharePoint never ceases to give me grief
 
also kitler is underpaid :P
 
my page started looking hella weird, turns out its because my styles are being overwritten by styles in another stylesheet that my coworker is working on
only this page isn't linked to that stylesheet at all
it's like, "Oh you're using this stylesheet? There are other stylesheets in that folder. Here, I'll grab them all for you"
 
7:29 PM
@Kitler proper chat text parsing.
NodeList.prototype[Symbol.iterator] = [][Symbol.iterator]; // browsers suck
const parseTextNodes = (container, callback) => {
    let recurse = (node = container) => {
        for (let n of node.childNodes) {
            recurse(n);
        }
        if (node.nodeType === Node.TEXT_NODE && node.nodeValue !== '') {
            callback(node);
        }
    };
    return recurse;
};
const parseNode = (node) => {
    if (node.classList && node.classList.contains('user-container')) {
        [].forEach.call(node.querySelectorAll('.content'), message => {
I am not using Array.from in places because Chrome sucks and I am too lazy to add the polyfill
but those two places can be corrected later.
 
@Kitler Aww :/
 
@Kitler WHAT SHOULD I DO TO PEOPLES MESSAGES?!
I have all of this power and no ideas
 
@rlemon ?
oh.
oh dear.
 
@rlemon write algorithms for detecting how often you insult them. At certain thresholds, change their text to random excerpts from popular culture.
 
7:41 PM
That's groovy, baby.
 
@Sippy well I was always able to parse new chat messages
const parseTextNodes = (container, callback) => {
	let recurse = (node=container)  => {
		for( let n of node.childNodes ) {
			recurse(n);
		}
		if( node.nodeType === Node.TEXT_NODE && node.nodeValue !== '' ) {
			callback(node);
		}
	};
	return recurse;
};
got off my fat-ass and wrote an actual text node parser
so I don't fuck with the markdown formatting
 
Lol
 
@rlemon is there a way to easily remove/unload a css file on page load via JS?
 
a css file?
<link rel="text/stylesheet" ??
or w.e
!!mdn document.styleSheets
 
7:48 PM
in any case, this is a disabled property
disables it in memory iirc
stupid mdn command
[].forEach.call(document.styleSheets, function(sheet) {
  sheet.disabled = true;
});
kills all external stylesheets
 
@rlemon yeah there's a css file that's being loaded somehow in this stupid sharepoint site even though it's not linked anywhere that I can find, I will just change the offending class names for now I guess
 
if it isn't in document.styleSheets then it is inline
<style> .. </style>
 
I think it is a SharePoint control somewhere that is loading it in
just saying "I'm gonna load all the stylesheets in this folder, screw what you want"
 
CSSLink doing it?
 
huh?
nah
at least not in this file
there might be something going on on a master page, probably
 
7:59 PM
Is it bad practice to use opacity to dull colour of text instead of changing the actual colour attribute?
 
@Matthcw usually not
if what you want is a fade effect, use opacity
 
Ok that's fine, thank you
 
if what you want is just to change the color, then just change the color :-)
 
No i mean to permanently keep the colour grey
Ok, I'll change it
 
@Matthcw Always use the most appropriate tool.
 
8:05 PM
my kind of maps weedmaps.com
 
hey i'm using this plug-in but don't understand how to change where the errors display i tired what they said jqueryvalidation.org/reference
 
8:27 PM
@rlemon sup
 
holla
 
@Phreak can we see the code?
 
yes
i'm using that plugin just trying to make the errors show in a specific section not by the label
 
you forgot to include the external resources
 
8:46 PM
ummmmm
i think i added it now jsfiddle.net/3or4ofk0/1
 
8:57 PM
I think that the HTML version you pick will determine the CSS version and some Javascript aspects, like HTML5 libraries. — Ismael Miguel 54 mins ago
 
^ lol
 
his top tag is javascript, btw. not css
 
For some reason it reminds me of: HTML9 Responsive Boilerstrap JS
2
 
man, the commodore 64 was awesome. we had like 3 of them when i was a kid
well, only 1 functioning c64 at any given time!
 
9:08 PM
^ cool
 
@ZachSaucier I want to go deep water solo those
 
9:24 PM
@joshhunt I've never seen that before but it's hilarious
 
@joshhunt o/
 
\o
 
9:37 PM
looking for any resources such as google meetup to link up and pitch ideas
make that 'similar to' google meetup.
 
@Kitler fuck you then
@user1740058 ?
 
9:57 PM
@Sippy wat
 
10:16 PM
@Kitler NO SAY HI
 
HI EVERYONE
 
HIIIII
Darksiders 2 is epic
like really epic
 
11:14 PM
I improved my little battle simulator es6fiddle.net/icqtj0ne
 
11:53 PM
okay I'm done for the night. es6fiddle.net/icquwerp
@RonaldUlyssesSwanson LOVE IT
 
Everybody loves a good comeback story http://t.co/x1oBRK79nG
you will love this more
 
seen it
chris prat is the shit
!!youtube chris prat bloopers
 
@rlemon That didn't make much sense. Use the !!/help command to learn more.
 
yeah seen it
 

« first day (821 days earlier)      last day (2967 days later) »