« first day (1410 days earlier)      last day (3555 days later) » 

m59
6:00 PM
@Neil The issue was the latest version of express being incompatible with express-session. While that makes no sense, it just seems to be the case.
I updated everything else and left express at 4.4.1 and all is well.
 
@SomeGuy after almost everything becmes automated
"communism" sounds like a great option :P
humans will probably just be thinkers but ... darn it so many thinekrs
 
I'm going to miss ! && || ;(
 
@towc what do you mean
 
@taco trying to learn python for my raspb pi
 
o
I've only written one script in python, but it is great
 
6:05 PM
also true false instead of True False :(
 
I really liked their module system, node's is similair
yeah Javascript caught me with that
 
@taco I guess it is supposed to be better than js in some terms
 
I was using to typing constants in capitals coming from PHP
 
@taco you started with PHP?
 
I'm thinking it's more like python > perl
 
6:07 PM
no, perl > *
 
lol @FlorianMargaine
 
m59
@SomeKittensUx2666 GOLD: github.com/angular/angular.js/issues/5217#issuecomment-50993513 <--- and other Angular devs
 
python is supposed to be more low-level than js, therefore better performing I guess
 
@Florian You're the epitome of a hipster, aren't you?
 
If I learned perl, I'd lose half of my childhood memories
 
6:08 PM
@towc lol
 
Prolog > Perl
 
python does compile to machine code, so that is nice
 
@towc .... you're kidding right?
 
@FlorianMargaine am I completely wrong?
 
Prolog isn't really comparable, is it?
 
6:08 PM
@taco what?
 
@SomeGuy no
but prolog is wonderful
I wish I knew it
 
So I've hard
 
@towc yes, yes you are
 
Hahaha heard*
 
6:08 PM
^ +10, prolog is incredible
 
@m59 I'm missing something
 
python compiles to machine code on execution. @FlorianMargaine but I'm guessing you knew that
 
Prolog is a totally different world
 
@FlorianMargaine uhh... then why the hell is raspberry pi's stuff written in that and not c++ or something?
I think I should learn some python background before the language itself
any good links for that?
 
@towc protip: you can code it in whatever you want
 
6:10 PM
@towc its not like the rpi is underpowered.
 
user1596138
@AbhishekHingnikar In how many days?
 
/me grew up on machines in single digit mhz
 
user1596138
It's hardly anything lol
 
@Jhawins 8
 
lol
Loktar rocking the 8mhz
 
user1596138
6:11 PM
If I find 1 artist I like I could tear through 2 right there
 
haha @rlemon pretty much until I got my 386
the c64 was 1mhz
 
I just skipped past those days
133 was my lowest iirc
 
the 128 had fast mode, made it 2mhz!!
 
user2620028
Yep.... my first computer was a pentium 1
 
user2620028
bahahaha the turbo button loktar?
 
6:11 PM
no you had to type the command :P
 
@towc did you install the cloud9 ide?
 
My first computer was an 8008 based machine with 512 bytes of RAM.
 
user2620028
 
@taco no, I have VS
 
I remember the 118 meg hard drive I thought I would never fill!
 
user1596138
Ok... Issue
 
Look at all of that memory!
 
@rlemon is there a reason I should learn prolog?
 
Here’s how to first switch into 80 column mode, then go fast:

GRAPHIC 5
FAST
 
@towc because iz awsm
 
user1596138
6:12 PM
tasks = localStorage.getItem('_tasksToCreate');
        if (tasks) {
            var tasksArr1 = eval('([' + tasks + '])');
            while (tasksArr.length) {
                task = tasksArr.shift();
                if (task.name) {
                    create_service.execute({
                        data: {
                            task: task.name
                        }
                    });
                }
            }
            localStorage.setItem('_tasksToCreate', '');
        }
 
^ 2mhz wooooooaah
 
no
 
user1596138
This is ridiculous isn't it?
 
learn Python if you want
 
user2620028
:) I wanna go fast!
 
6:12 PM
it is a really nice language
 
user1596138
Wide fucking open??
 
but you couldnt use everything in fast mode :(
mostly graphical stuff couldnt run which made it useless for me
 
vegan cheese
 
@rlemon is it another funny facepalming language or is it actually smth good?
 
there is so much going on in the chat right now I don't know who is talking to who anymore
 
user1596138
6:13 PM
Or is localStorage considered "secure" and nobody told me
 
@towc it is older, and associated with AI's a lot
 
m59
@SomeKittensUx2666 Angular suppresses the sourcemapped error and gives you a verbose stack of minified code locations (I was complaining about that the other day). They propose decorating Angular's exception handler and rethrowing the error so that you get Angular's message and the browser's sourcemapped message.
 
@rlemon if I can code in any language I guess there's no reason for me to learn python, specially if you say it's not any better than js
 
It's better than JS
 
6:15 PM
@copy shut yet dirty mouf
 
will I ever use prolog in my life if I learn it?
 
apples are better than oranges
 
yet... fail.
 
Not in every regard, but definitely the more powerful for many circumstances
 
@towc have you needed to?
 
6:15 PM
oranges are better than vegan cheese
 
@towc yes, in a sense
 
@Jhawins what are you using localStorage for
 
learn something to better your career
people with their hipster languages
 
@Loktar nope, but I haven't actually had the need for any language other than italian and (arg) latin
 
learn some cool shit like opengl
and shaders
 
user1596138
6:16 PM
@taco ugh it just makes me sad to talk about
 
learn all of the languages you can. FOCUS on the ones that will help your career.
 
@SomeKittensUx2666 like?
 
there is no harm in spending a week tinkering with a language though
 
^
 
No, focus on the ones that are most fun for you
 
6:16 PM
@towc It influences the way you think about problems.
 
Also, sell your soul
 
@Loktar I don't know enough maths to understand them and write in them yet
 
basically don't ask other people their opinions on language x you should learn :P
 
@copy I would hope we take careers using languages we enjoy writing in
 
because everyone has strong opinions
 
6:17 PM
otherwise I'd argue you took the wrong career
 
@SomeKittensUx2666 ok then, I'll give it a try
 
if I could write nothing but javascript forever, I would be a super happy chap.
 
@Jhawins sounds like a requirement you don't like.... I was just curious what a real-world use for it would be, since I haven't used it
 
@NickDugger why cant you?
 
@rlemon Yeah, but you wrote it like he should only consider the top 5 languages or so
 
6:18 PM
1 min ago, by rlemon
learn all of the languages you can. FOCUS on the ones that will help your career.
 
@Jhawins Google apps use it I think
 
user1596138
@taco An app, cordova shit.
 
user1596138
I mean, it's not like you can use anything else lol
 
@Loktar Because sometimes I need to step in and do some C# because the back-end guys are super busy. Work work work.
 
all I meant by that is, if you wanna be a webdev learning prolog probably isn't so important. but if you are interested in learning it, by all means sit down and learn it
^ using prolog as an example now
 
6:20 PM
I'm thinking about picking up a few programming books that I'll never read.
 
I learned PROLOG once for a week, not a fan.
Maybe it was just a bad teacher, not sure.
 
I tried to learn brainfuck once.. esoteric languages are nice to learn because (for me at least) they forced me to learn a lot more about how languages work behind the scenes.
 
!!doge syntax, logics, confusing, prolog
 
        wow
so syntax
                  very  logics
                       such  confusing
many  prolog
 
I highly recommend trying LOLCODE when you're drunk
 
6:23 PM
I highly recommend REBEL
 
Yes, you biased mofo
 
@rlemon I agree
 
Absolutely, and Golfscript
 
I highly recommend learning JS better.
 
user3961151
6:25 PM
Hello.
How can I detect a div resizing in jQuery?
For example, if a big image being loaded into div.
 
@NickDugger I recommend it for the same reason I recommend Haskell
 
Basically, do whatever you want, just do it
 
$('#someDiv').bind('resize', function(){
console.log('it was resized');
});
 
6:26 PM
learning new languages seems like fun but man..
I look at all the shit happening in the front end world
I don't have time to stop learning what I need to do awesome shit/stay ahead of the curve
 
Your idea of awesome shit is different than mine
 
Javascript moves faster than anything I've seen yet (since node came out)
 
I think running tic-tac-toe in kernel mode is awesome
@taco You haven't seen my weewee yet
 
> Malbolge is a programming language invented by Ben Olmstead in 1998, named after the eighth circle of hell in Dante’s Inferno. The name was not chosen randomly – the language was specifically designed to be impossible to write useful programs in. A few years after its introduction, weaknesses were found in the design which make it possible to write Malbolge programs. You still have to be a cryptography scientist to write a meaningful program in it, though.
 
I think defecating on common park equipment is awesome.
3
 
6:28 PM
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
that's hello world in Malbolge
I wanna learn that
 
@KendallFrey what do you mean?
 
@rlemon Do it on a merry-go-round
 
Malbolge is insane on a whole new level
 
for example Web Components === awesome shit
shadow dom === awesome shit
I mean all this new(ish) stuff to learn
 
didn't it take like 7 years or something for someone to write a quine in Malbolge?
 
6:29 PM
0
Q: Node.js Promise.all() hanging

James_1x0Kind of stuck on this one. Working with https://github.com/then/promise on node.js exports.count = function ( models, callback ) { var promises = []; models.forEach(function ( name ) { promises.push( countOne( name ) ); }); Promise.all( promises ).then(function ( res ) { callba...

 
I'm learning the Windows API Console functions
for me, that's awesome
 
yeah I guess thats the point too everyone has opinions of awesomeness :P
 
interesting @KendallFrey
 
I really wish web components had greater support :?
 
matthias-ernst.eu/malbolgequine.html nvm 14 years before someone wrote a quine in malbolge
 
6:30 PM
I had strep throat Friday-Monday, so I spent the past few days digging back into the Canvas api. It's been a while.
 
I want to use them here today damnit
but we have to support at least IE9
 
I'm a very nerdy nerd. I don't care if it doesn't look pretty, I just wanna do nerdy stuff.
 
user3961151
@taco doesn't work
 
I remember using sendKeys for the predecessor to cmd.exe and the windowHandle... don't remember an API @KendallFrey
 
I wish I'd been around in the days of punch cards
@taco you mean interacting with cmd.exe?
That's not what I'm doing
I'm interacting with the Windows console
 
6:32 PM
@KendallFrey yeah, but it wasn't cmd.exe. It was just dos at the time I think. Maybe that's why. The command line was a kludge
 
I'm personally disappointed that fullscreen text mode isn't supported anymore
 
user3961151
8 mins ago, by GINCHER
Hello.
How can I detect a div resizing in jQuery?
For example, if a big image being loaded into div.
 
user3961151
Bind doesn't work
 
try on?
 
@GINCHER your user profile "about me" is awfully silly. Also - did you try googling your question?
For example - "How do I detect a div changing size in JavaScript"?
"What are mutation observers and how do I make friends with one?"
 
user3961151
6:35 PM
@BenjaminGruenbaum I tryed. It sugested "watch", but it makes problem for some reason. The page just stucks.
 
(Although mutation observers are probably way overkill for what you want which is probably just checking the width() and height() before and after - which a google should have told you)
 
> (S)Exually?, you are welcome to visit Israel.
 
@GINCHER Please use proper English, use a spell checker if you're unsure how to spell a word. Also, what do you mean by "watch"?
 
brainfuck seems more like a game/puzzle rather than a programming language
it will be fun
 
user3961151
6:36 PM
@BenjaminGruenbaum a jquery plugin
 
I put a bounty on webmasters.stackexchange.com/questions/68415/… - any help still appreciated everyone.
@GINCHER no no no, no jQuery plugins those suck.
 
@towc TBH, there are much more interesting languages
 
@GINCHER learn how the DOM works, and how you find out the size of an image there.
 
Befunge is one of my favourites
 
@KendallFrey piet? Or was it called?
 
piet
 
@BenjaminGruenbaum agreed. and contradicting :P
 
Piet is an awesome language
 
user3961151
@BenjaminGruenbaum finding the image size it's easy, but I use also max-height to the image
 
6:38 PM
@GINCHER see if it fires on change api.jquery.com/change
 
@GINCHER so... ?
 
@rlemon I liked it, besides the terror. :P
 
!!mdn MutationObservers
 
@Loktar last line is a contradiction
 
6:39 PM
^ I <3 mutation observers
 
I like to see the theory put into practice with languages like piet
Who needs ASCII?
 
I'm not sure, but I think Mutation Observers will see the dimension changes
 
Have you seen that question where someone tried to compile a .png?
 
@rlemon they will (if set up appropriately) but that's not the problem he has.
 
yea I just came back from the can :P
I'm like 5 minutes late
 
6:40 PM
lol, you know it's a bad sign when you call pizza delivery and they remember location and what pizza you are ordering just by looking at the phone number
 
user3961151
@taco nope...
 
user3961151
@BenjaminGruenbaum So..?
 
reading back my first suggestion is "look where the image is loaded into the div and work from there"
 
@GINCHER create a fiddle on jsfiddle.net illustrating your issue - what you tried and what did/didn't work.
 
!!wtfjs
 
user3961151
@BenjaminGruenbaum gincher.net/works/yergraphics click at the gallery and you'll see the image pop-ups. I want to palce it in the middle.
 
@GINCHER A fiddle containing a self contained code example.
 
@BenjaminGruenbaum say it in hebrew maybe
 
@FlorianMargaine it really doesn't :P
 
translate he: A fiddle containing a self contained code example.
did they remove it finally?
translate heb: A fiddle containing a self contained code example.
 
6:47 PM
translate: קוד מבודד וקצר שמשחזר את הבעיה
oh bugger.
 
disabled.
 
feeds is dead, having caused too much damage recently
 
good
it was an interesting feature but WAY over abused
 
not that kind of damage
 
was it what crashed the servers?
 
6:48 PM
what the hell?
 
the translation crap?
 
Did you see the flag spam this morning?
 
!!> var a = 1
b = 1;

(function(){
var a = 2
b = 2;
}())

[a, b]
 
nope
 
@towc "undefined"
 
6:48 PM
On the plus side, my meta question got lots of views
 
too rude?
I love how you gave me that -_- - clearly you understand this topic better than me and I should back off, happy coding and good luck. — Benjamin Gruenbaum 7 secs ago
 
user3961151
@BenjaminGruenbaum jsfiddle.net/ze48hk27/1
 
@BenjaminGruenbaum I wouldn't worry too much about an emoticon
 
6:53 PM
so who here is like super good with nginx
??
 
@GINCHER Just a heads up, using max-width and probably also max-height on an image only works in Chrome.
 
I know how to setup multiple 'sites' on apache, but never done it in nginx
at the moment I have one domain/one site on my server but need to add N sites/domains
 
@JanDvorak clearly I have nothing to teach him :D
 
I've never ever touched nginx. I only just heard of it last year.
 
holy shit! so much unusefullness! esolangs.org/wiki/Language_list
 
6:55 PM
31
Q: Nginx Different Domains on Same IP

berkaykI would like to host 2 different domains in the same server using nginx. I redirected both domains to this host via @ property. Although I configure 2 different server blocks, whenever I try to access second domain, it redirects to first one. Here is my config. server { listen www.doma...

 
@GINCHER the JS fiddle isn't loading for me, for what it's worth I like your site's design :)
 
Google is getting even better - but the misses are funny.
 
Oh there, it's up
 
"Cake The Distance" gives me not only the song, but how far away the nearest bakery is
 
@GINCHER do not use .bind, use .on instead. .bind is deprecated.
 
6:55 PM
@FlorianMargaine thanks
I'll ping you when I can't figure it out :P
 
"TK 421" gives me updates on Turkish airlines flight 421 (in addition to the stormtrooper)
 
sure
the last project I had was funny...
 
user3961151
@BenjaminGruenbaum jsfiddle.net/8cuhrjom on doesn't work too
 
it was a drupal with htaccess, so apache. For caching matters, we had a varnish in front of it. Then, to handle the https/http switches (special rules), since varnish doesn't support HTTPS, we had a nginx in front of varnish.
 
@GINCHER what are you trying to get it to do - specifically?
 
6:57 PM
so... basically, any http request from a user: nginx -> varnish -> apache -> php :D
 
@GINCHER note: this does absolutely NOTHING more than your original code
I just don't like duplicated code
 
sooo yeah, I know about configs :(
 
@rlemon Y U HAVE 4 $("img") selectors :(
 
because I only corrected half of it
:D
 
was bored
I <3 mutation observers
 
6:58 PM
dear sterling archer please write code for me please.. — Syed Arif Iqbal 2 hours ago
4
well that's one way of being direct
 
lmao
 
@Loktar oh haaayyyy that's cool!
 
> Dear Sir or Madam...
 
@SterlingArcher well, he might be getting that from your T-shirt
 
@GINCHER you need to learn English, as your code has a lot of typos. They're red in JSFiddle
 
6:59 PM
@SterlingArcher yeah its kind of a weird example, but you can do lots of fancy stuff with them
like watch for newly added/removed elements ect.
 
Hi!
 

« first day (1410 days earlier)      last day (3555 days later) »