« first day (1795 days earlier)      last day (3151 days later) » 

6:00 PM
because it's an issue of relative vs absolute urls
 
var icon = document.querySelector('[rel="shortcut icon"]'); icon.href = icon.href.split('?')[0]
 
ermahgerd finally I can do screentogif gifs
 
fixes the chat icon
 
@benlevywebdesign slashes are part of relative urls, eh?
 
@rlemon thank you :D
 
6:02 PM
well, I've saved the icon locally.
I'll work it into dark theme and just hope no one notices/cares
 
if I linked to this directly that would be absolute
and if I used (../images/benlogo.png) that would be relative
 
got any good avatar for root?
 
Is it just me or are chat icons smaller?
 
on the side here << or on the right >>
 
6:06 PM
I love my clients.
 
idk I'm not focusing on that right now. I have another thing to work on
 
just got a call complaining I sent the wrong type of sd card
it was a micro card in a regular adapter.
he needed to pull the micro card out
XD
 
was XD a card type or an emoticon?
 
@benlevywebdesign your not-found page works perfectly
 
6:09 PM
no
It's not supposed to look un-styled
 
oh, I thought that was just some kind of avante garde ultra-minimalistic design you were using
 
BYO CSS
 
@ssube it is supposed to look like this
 
design has become so clean now that it just uses the browser stylesheet
 
back to the roots of www
 
@benlevywebdesign your CSS files as 404ing, which is ironic. Fix the urls?
 
Your axis were confused
 
@ivarni thats not the issue. check out
that works
 
6:11 PM
@benlevywebdesign that's awful. The font you're using for the red text has horrible kerning and the tops of the characters are just cut off.
Are you sure you're a designer?
 
@Cereal still doesn't work bruh ;)
 
what browser are you using?
 
a current one
 
@benlevywebdesign that's because on that one the CSS paths are correct
 
6:12 PM
worked for this person(forgot who) i.imgur.com/ysIe3Gc.png
 
looks ok to me. The ' in CAN'T does touch to T, though.
 
@benlevywebdesign It didn't work, the kerning is still completely wrong.
 
yeah I see that
 
@Luggage And the top of the C and A are too thin.
 
G looks funny at the top
gets thinner
 
6:13 PM
The A is cut off and C and G rise above the other characters.
 
that font sucks
 
@Nathan its not getting the right 404 page
@rlemon well I like it.
 
it's objectively bad
 
Hello! Why doesn't work this trick:
function foo(f) {
  var lol = 4;
  f();
}

boo = function() {
   console.log(lol)
}

foo(boo) //didn't print '4'
 
characters shouldn't touch or go over the top line in a normal font like that
 
6:14 PM
> there is no I in team
> yes you aren't in the team indeed
 
@QueueOverflow closures apply to where the function is defined, not where it is called.
 
@KendallFrey Thanks. Dammit, I should think out how make it works :)
 
that doesn't change the fact that my 404 page still does't work correctly
 
@Cereal thanks man!
 
6:19 PM
@towc It's still broken, but I think it's broken somewhere else
 
@QueueOverflow var is 'function scoped'. meaning if you use it in a function, it doesn't exist outside of it.
 
@Cereal the rotation is kinda weird, yeah
 
Spin in circles for a bit while moving, you'll start going backwards
I think
 
the direction is very good tho. How did you figure out the maths?
 
any other 404 page I have works
 
6:20 PM
function foo(fn) {
  fn(4);
}
function bar(val) {
  console.log(val);
}
foo(bar); // 4
@QueueOverflow
 
@rlemon It was simple example :)
 
and this is a simple way to solve it
if you can define lol inside of foo, you can pass it
 
function foo(f) {
  var lol = 4;
  f();
}

boo = function() {
   lol += 4
   console.log(lol)
}

foo(boo) //didn't print '4'
 
pass lol from foo to bar
function foo(f) {
  var lol = 4;
  f(lol);
}

boo = function(not_lol_but_same) {
   not_lol_but_same += 4
   console.log(not_lol_but_same)
}
 
I can pass it as argument to function, but it is not beautiful solution. Anyway, thanks for the answers.
 
6:22 PM
the other solution is a global, which is less elegant.
 
@towc I've done it before. Long time ago, but still remembered bits
Just had to figure out what axis were what
 
@rlemon And it has the another problem: I can't change the value of lol (it may be string, number and etc) inside the function f
 
cool, thanks!
 
@QueueOverflow make a demo on jsfiddle of your actual problem
there is likely a clean solution
 
@AwalGarg Firefox 40
 
6:28 PM
@rlemon I did it: jsfiddle.net/pbnrz067
 
@NathanJones what browser? what is this set to?
 
@rlemon Shiet, that's great. Do love a bit of Asimov from time to time..
 
@rlemon I want to create a custom wrapper for the default function "Object.defineProperty".
 
@NathanJones channel?
 
@AwalGarg ...channel? could you elaborate?
 
6:30 PM
@NathanJones release/dev/nightly?
 
@AwalGarg oh, release.
working on finding value of this
 
@NathanJones status-no-repro, in that case. you have some weird getters on global object
 
this is frustrating me
 
have you tried turning it off and on again?
 
0
Q: Express JS Node JS multer intergration issue

Ranganathan Swamyhttps://github.com/cminhho/AngularFileUpload-Express/blob/master/server.js I am implementing this tutorial and I have done things accordingly but when I am working with updated express js, it throws an errors on the express js side. Error C:\nodefiles\new\node_modules\express\lib\applic...

 
6:35 PM
ugh
27c in my office
help me
 
swap pls
 
27c? That's fucking (figuratively) boiling!
 
I am uncomfortable past 22c
 
I prefer ~17-20c
 
same
22 is pretty much my cutoff
 
6:36 PM
I've semi isolated the problem...Its not my 404 page for /aaudining/ that is the problem
 
it gets worse, because I have a standing desk
so I actually am sweating :/
coding shouldn't be so exhausting
 
because I can take that 404 page and use it anywhere else and it works
 
Damn,
 
its just something odd with /aaudining/
 
6:37 PM
@Callum only at 35mb
 
@KendallFrey ?
 
@Callum ¿
 
interrobang is the best bang
 
@rlemon That's a beautiful adaptation
 
6:39 PM
‽
 
@rlemon no, hash
 
!‽?
 
@Zirak I enjoyed it
 
@benlevywebdesign I thought we figured out long ago that your issue was with the missing /, causing your 404 page to look for stylesheets in a server directory that isn't available?
 
@Claies Its not getting the right 404 page though
 
6:46 PM
...
 
ok, so how is the 404 page chosen?
 
Web internet magic? Idk
All my other 404 pages work
 
well how are we supposed to?
 
install java
 
6:49 PM
if you give someone a javascript file and tell them to put it at the end of the body and they put it at the beginning and your code doesn't work, is it okay to make fun of them during a conference call?
 
they are chosen by the server; which server stack are you using?
 
I'm looking at some SO questions where OP wants to test if a string input is numeric. I'm surprised how wrong some 2k voted answers sometimes are
 
wtf is codechef and how many fucks do I need to give it out of 0?
 
7
 
@AwalGarg looks pretty cool at a glance
 
6:52 PM
@jbolanos yes
 
@Claies what do you mean?
 
start the conversation out with BRO! DO YOU EVEN HTML?
 
Looks like a more competitive codewars, too Awal.
 
@Callum BRO! DO YOU EVEN HTML? How is it cool?
 
I'm a fucking legend
 
6:53 PM
!!s/ing.+//
 
@AwalGarg I'm a fuck (source)
 
I mean, when you request a file from your server, if the file doesn't exist, the server sends the 404 response. so to know why you are getting a different 404, we need to know what your server is doing, starting with what software your server is running
is it ASP.Net, PHP, Java, Node, what?
 
@AwalGarg Yes, I do. And I've just had a look at it, dunno how cool it is.
 
@SterlingArcher How so?
 
6:55 PM
mmmm pear
 
I'm working on a dynamic dependency chart, and I had to transplant some d3.js code into angular d3.js code, while keeping the transition fluidity of the tooltip
Spoiler: This is my second day working with angular and d3
 
Morning guys :)
 
angular is easier than people make it
 
It's probably not even complex but I feel accomplished
 
angular is lame
 
6:56 PM
!!tell Zahid Morning
 
@Zahid Very Good Morning :)
 
Thanks :P
 
angular is not react.
 
angular is lame x 2
 
Yeah well, this project uses angular. lol
 
6:57 PM
as soon as people hear "directive" or "resource" or "transclusion", they get glassy eyed and quit seeing what angular really does
 
I was so damn happy with php and html - bootstrap
 
you didn't suggest an alternative on your first day? It shows initiative.
your co-workers will love your enthusiasm
 
First commit should always be TODO: fix this shit spread randomly over the codebase
 
@Luggage lol the project is months old and I was put on it for cleanup and learning. No way in hell I'm gonna say "we should probably redo it in coldfusion"
 
6:58 PM
angular directive, i assume, is like a knockout bindingHandler.
 
@SterlingArcher don't be that guy.
 
whoa, coldfusion..
 
ColdFusion is my second most experienced language
 
<cfdump> that shit.
 
@SterlingArcher I mean, don't be that guy.
 
6:59 PM
@benlevywebdesign again, I don't know why your server is giving out two different 404 errors; I'd be happy to help you troubleshoot it, starting with, What technology stack is your server running?
 

« first day (1795 days earlier)      last day (3151 days later) »