« first day (1848 days earlier)      last day (3099 days later) » 

7:00 PM
That wouldn't be the weirdest race condition ever, but it would be non-javascripty, unless you and the chat operate in two different javascript execution contexts.
 
that is why I just said it doesn't really fix anything now that I think of it
because it is still an additional check -> swap
 
@Zirak but even if there are 2 threads and it is a race condition, how can the said code solve it? It doesn't wait for anything, just checks and goes on.
 
// rlemon land:
let spinner = node.qS(...);
// chat land:
changeThatSpinner();
// rlemon land
if (spinner && ...) { ... }
 
but
 
Far fetched and weird and doesn't inherently solve the problem, just moves it downwards
 
7:03 PM
// rlemon land:
let spinner = node.qS(...);
// rlemon land
if (spinner && ...) {
// chat land:
changeThatSpinner();
... }
I just realized that
I really can't block it if it happens.
 
yeah
@AwalGarg I dunno
Ask rlemon
 
it's only happened (afaik) once.
so I'm not really concerned, I tossed in that code quickly without really considering it apparently.
 
awal@bookstro:/etc$ file extlinux.conf
extlinux.conf: broken symbolic link to ../boot/extlinux/extlinux.conf
~_~
 
crl
me not trust cdnjs anymore.. cdnjs.cloudflare.com/ajax/libs/babel-core/6.0.20/browser.js empty file
 
7:06 PM
bugs happen
seriously, @CouchStore, where are my couches?!
WOOHOO
they're here!
!!afk couches
 
@Zirak LOL good times
 
It's saturday night, I've got a 6-pack with beer and just started a Vagrant tutorial
Shoot me
 
Okay fuck git
 
7:28 PM
omg new couches
<3
old sofa had a sink in the middle.
I jumped on it once and broke a couple springs
 
I think I did it
 
crl
!!s/i//gi 26743502
 
@crl think I did it (source)
 
@rlemon picture ?
of the new couches ?
 
7:37 PM
@crl think I did it (source)
 
crl
grr
 
@crl thnk dd t (source)
 
crl
github.com/Zirak/SO-ChatBot/blob/master/source/plugins/… possible to put no order in this regex?
probably
 
@rlemon they look so comfy
 
7:40 PM
they are stiff, but comfortable.
no back pain
 
@Cereal seriously though, what do you need?
I know a lot of git
 
@SomeKittens correct me if I am wrong, but a tin-foil hat actually causes lensing effect, instead of protecting against EM radiation
 
@tereško As a secret robot, hehehehehe
 
@FlorianMargaine what's new?
 
7:42 PM
@FlorianMargaine commit at me, bro!
 
@BenjaminGruenbaum Spion's comment makes me uncomfortable because of the smiley
> [...] out (preferably into a companion Stream library :)
 
@rlemon house! that's a lot already
 
@SomeKittens what robot?
 
hows the fam?
 
7:43 PM
!!xkcd ted talk
 
@tereško I'm a secret robot, don't tell anyone.
@CapricaSix Used to have the first panel as my avatar
 
@rlemon pretty good, tired though. We spent last night and today unpacking stuff
 
...why did I ping caprica?
 
@rlemon Phrasing?
@SomeKittens It's begun
 
7:44 PM
@FlorianMargaine why don't we have many many pics of the little croissant
 
coz they're private
 
@rlemon He can't figure out when it's his time to bring him to work
 
but I can definitely share a folder with some of you
 
@FlorianMargaine Yes!
 
please
 
7:45 PM
@Zirak We're secret robot friends. We like to stay up late and chat about you puny humans and your vulnerabilities
 
will do
 
like nerve gas. hahahahaha
 
@SomeKittens Cuddle under the blanket, tell scary stories about screwdrivers
 
next step: move the old sofa to teh basement
:(
it's an apartment sofa, but still not small.
 
crl
can sleep in it?
 
7:48 PM
if you are short, or don't mind your legs hanging
I've passed out on it many a time
 
@rlemon btw I used Lorem Pizza for work yesterday :p
had to mock up something really quick for Monday
used it for the placeholders.
 
:D
 
People chuckled
 
next use filldunphy.com
 
hahah will do
 
7:51 PM
see how many Modern Family fans you have in your office
 
dude I will always remember that guy as the asshole from Dawn of the Dead 2004
 
lol
 
you should watch it if you haven't since you're a fan of his
 
I think I have? but I'll re-watch/watch if regardless
 
he does an awesome job playing a snobby asshole
I also like modern family
 
7:52 PM
yea modern family is funny
I quite enjoy it
 
Hi! What do you use for getting up the local server? Apache, grunt or something else?
 
that curry is still fucking up my stomach
 
@QueueOverflow nginx + node
 
@QueueOverflow npm install http-server
then I just run http-server in any directory I need it (for testing locally only of course)
 
I use nginx to manage virtual hosts and sometimes static files
node for everything else.
 
7:54 PM
@Loktar But how do you test the correctness of work your frontend part and backend part of the server?
 
webpack-dev-server :)
 
crl
var express = require('express');
var app = express();
app.use(express.static('/public'));
app.listen(3000);
 
@QueueOverflow on the test server
@Luggage ah yeah that as well
 
Do anybody use grunt? I like its livereloading :)
 
I use gulp
 
7:54 PM
@crl cool kids make their own framework github.com/ndugger/blackbeard
 
woo! I'm now relevant!
 
@QueueOverflow when doing everything in a seperate environment (frontend vs backend) I usually just mock up backend data
since the front end doesn't really care about the backend, just the data its receiving
 
A while ago I read this article which told about some picture I believe that had resolution of tens of thousands (or even hundreds of thousands) pixels and was dangerous to web servers for some reason, does it ring a bell to anybody? Can somebody give me a link or something to some info on this?
 
@JustMichael sounds like the elusive hacked jpeg
I remember hacking peoples jpgs back in the day.
 
even seeing the link makes one dizzy.
 
7:56 PM
lol
 
@Loktar Could you describe how do you mock up backend data in a nutshell? There are many various ways to do it, so it is interesting for me.
 
scaffolding is pretty common
 
crl
@Nick nice
 
I assume Loke is talking about scaffolding
but I might be wrong. I am a lemon
 
^ nah thats a good term
it just depends on the project really
 
7:57 PM
yea
 
I mean one project I just had the backend dump the data into a var on the page
 
@Loktar Can you please give me some link on the subject? Like the attack's wiki page or whatever? Can't google anything
 
since I didn't need to do any additional requests
 
@rlemon wonderful
 
if you're describing my new sofas, ty.
 
7:58 PM
@JustMichael actually I was totally joking... but lol look up hacked jpgs there are a lot of legit articles on it
 
can't you 'hack' an image to be endless in size?
just like that .ico hack
@BenjaminGruenbaum I believe you introduced us to this, the .ico hack where you killed the bandwidth?
transcript search sucks.
 
@SomeKittens Nothing, I just did a rebase and fucked it up
 
@Cereal I'd say that's a little more than "nothing"
rebase makes it easier to do everything, including completely borking your repo
 
git blame
^ my newest discovery
 
@Loktar I understand. Let's imagine, that we need wok at frontend and backend simultaneously. In my practice it's not rare situation. What the best solution for start local server in this case? I use Apache, but maybe it is overwhelming solution?
;)
 
8:04 PM
@QueueOverflow I mean apache is fine
personally I just use a static webserver for testing frontend locally
 
@rlemon I "invented" this sort of.
It's on my github.
 
@QueueOverflow also ask @Jhawins
 
link for the lazy please
 
@Loktar "static webserver"? Like http-server?
 
he uses a program to proxy requests to the test server, so he never has to run a local server
@QueueOverflow yea
 
8:04 PM
@SomeKittens I took mine changes instead of the HEADs at some point in the rebase, and then blindly did a PR because I'm retarded
I fixed it, though
 
fun!
 
@Loktar thanks!
 
ty
 
yeah np. Moral of the story everyone uses something different, as long as it works haha
 
8:06 PM
possibly this?
 
Which topics would you like to know more about? git add -p, reflog or cherry pick
 
I don't know what any of those do
 
@Loktar but there is always chance to stick in the old and ugly technologies and approaches, so I prefer to find out what my colleagues use now :)
 
yeah I understand
 
@Cereal guess they're all good candidates
 
8:14 PM
good candidates foooooor?
 
Monster Truck rallies
 
@SomeKittens I'm curious about this one
 
@Cereal Next entry in The git's guide to git
 
m59
module.exports = function(myThing) {
  return {
    foo: function() {
      // do stuff with myThing
    }
  };
};
// performance vs
module.exports = {
  foo: function(myThing) {
    // do stuff with myThing
  }
};
 
On a more serious note, how do I (from the command line) resolve a conflict on a file by either using all of my changes and overriding the remote or using all of the remote changes and override my own
 
m59
8:23 PM
The latter is more memory efficient right? Or is there some kind of magic optimization?
 
@ivarni merge has auto-merge strategies, two of them being ours and theirs
See man git-merge
 
My brain explodes every time I try to figure out who's who during a rebase
but I guess that'll come with more experience
But thanks for the tip :)
 
You know, I've never had to do complex git things. Working on three-people-max projects is fun.
(one of the three likes these kinds of things, so he did the voodoo if something went wrong)
 
We've got a 5 person team where everyone does things on branches and makes PR to master so conflicts happen on a fairly regular basis
besides, with code review it might take a while for a PR to get merged so I've even had conflicts with my own fucking changes
which makes the whole our and their thing even more fun
 
8:29 PM
!!play halo or program
 
@Nick program
 
k
 
Is a such nice console for Windows 7? Screenshoot is taken from here: github.com/sindresorhus/jshint-stylish
 
I've been using sourceforge.net/projects/console at work but as soon as they get me a bigger HD I'll say bye to windows entirely and just use a VM
so I guess not entirely
 
Safe Netflix and chill https://t.co/bSwbjHM4zc
 
8:34 PM
@ivarni Nothing beats ConEmu
And by "nothing" I mean "nothing under windows"
 
That's ADSL!
Maybe not even ADSL
 
Perfectly safe from all sorts of network nasties :)
 
@Zirak Looks like a standard phone plug so could very well be ADSL
 
8:36 PM
@Ṣhmiddty It's true, but it's half of true.
 
24 baud, ya'll
 
I was very happy when I got my first 24400
 
going from 48.8 to 56k was a big moment in my childhood
 
Git desktop app problem
 
Github Desktop? That program is pretty crappy
 
8:43 PM
My dad was working with the state telephone company so we were one of the first households in the country to get dual ISDN, meaning parents picking up the receiver was no longer an issue
 
@Zirak It's decent on osx; windows one definitely sucks ass, though
 
@Nick I couldn't find a way to merge branches
 
@Zirak ewwww, git UIs
 
Third that. I tried to use Git for Windows. Ragequit.
 
am I the only one who thinks "netflix and chill" sounds lovely without the sex?
 
8:43 PM
@rlemon you and everyone who's married
 
@rlemon ...there's sex?
 
!!urban netflix and chill
 
Netflix offers that?
 
currently: Netflix and Contract
 
@rlemon Netflix and Chill It means that you are going to go over to your partners house and fuck with Netflix in the background.
 
8:45 PM
I much prefer using command line git, if someone sets up my ssh keys for me. I only use command line at work (which seems rare for our front end devs for some reason), but lean towards the UI git for personal stuff
 
@SomeKittens so you
 
@SomeKittens Sometimes you gotta try new things
But magit > other git UIs
 
@Nick That's a future topic I'll be writing about
 
I'll only pull out a UI if I got a particularly nasty conflict and doing it in the editor becomes too much cognitive load
 
8:47 PM
Sourcetree is fucking garbage on wheels, though. In the hands of a complete noob, it fucked up our repos at my last job.
 
@SomeKittens I know several developers who use emacs only for magit
 
Coworker had never used git before
 
it's that good
rebasing is a breeze
what I find lacking is the error reporting. I'd like it to be a little more verbose, because sometimes I don't see it if I haven't changed branch because of a change I should stash or something like that
 
There are those annoying times, but you can get over them by hopping over to *magit-process*
Not as noob friendly though
 
yeah, $ is often hit
but by the time I see it, I've already committed something in the wrong branch and have to cherry pick and delete the commit
 
8:52 PM
git reset HEAD~1, change branch and commit again
 
I never think about that :(
 
I use git commit and git reset instead of git stash and git stash pop these days, because most of the time what I wanted to stash is going to be relevant to the branch I'm on and totally irrelevant to every other branch
 
@Nick I've used sourcetree briefly. Seemed okay to me
I knw some git though
 
9:21 PM
 
Try Vagrant they said. It will be great they said. Now I've deleted my node_modules folder to make sure my provisioning worked and now everything fails and I can't even npm install and I regret not shrinkwrapping while I had the chance and life is terrible. And it's not even Vagrant's fault :(
 
@ivarni vagrant is fairly nice
 
Yeah, I'm not blaming Vagrant, I'm blamin NPM and myself for allowing loose versions
 
!!move sofa on my own or wait
 
@rlemon move sofa on my own
 
9:35 PM
@Zirak I blame you if I break somerthing
 
Post pics
 
user1596138
@QueueOverflow I use Fiddler for what you were asking about for mocking up backend data. It's a reverse proxy and basically in short you can choose URLs or match URLs by regex and choose what to replace the response with. So you can hit API endpoints that don't exist yet with mock data
 
and so he returns
@Zirak how do you convert a full integer like 1 to a decimal number such as 0.1? For example 1 = 0.1, 2 = 0.2, 3 = 0.3
 
You dunk your testicles in hot sauce
 
@Zirak dude come on, take it seriously
 
user1596138
9:47 PM
Wut
 
There's nothing funny about dunking testicles in hot sauce
It's a serious matter which requires serious forethought
 
dude lol
you are crazy man. What happened to you??
 
user1596138
@Loktar you get the new CoD?
 
@Zirak were you attacked by this beast?`google.ch/…
you happen to write alot of crazy things man
 
If you're not going to take this seriously then there's no point in continuing this conversation. Good day.
 
9:49 PM
@Asperger how old are you?
 
@FlorianMargaine ask Zirak who responded with some crazy comment lol
 
I see that you're not answering.
 
Come on @Asperger, use that higher intellect to figure out how you'd use that crazy math thing to turn 1 into 0.1 ;-)
 
@Zirak re dunking testicles, I'd like to see a supporting source for, uh, science.
 
Please hold
 
9:53 PM
I shall hold.
 
@Jhawins play better games, noob
 
user1596138
Play all the games, pleb.
 
hi nublets :d
 
@RoelvanUden Ya but what I tried looks like a mess jsfiddle.net/crq69edo
@RoelvanUden I feel that there is a smarter way to do it unless im over thinking it
 
@Asperger How about n / 10
 
user1596138
9:58 PM
@rlemon my avatar
 
@Jhawins Thank you very much. Though the word 'pricing' in their site troubles me :)
 
@Jhawins lol
 
user1596138
@QueueOverflow its free! Telerik, the company that makes it, sells other things I think.
 
@RoelvanUden oops.
 
@Jhawins I will try it, thank you.
 
user1596138
10:00 PM
If you need a OSX version I have used a basically identical program called Charles. It costs money tho after the trial.
 
@Jhawins I will bear it in mind.
 
It's all very scientific
@Jhawins, @QueueOverflow Fiddler is great; so is Burp Suite (even though it's in Java), but if you're under linux, mitmproxy wins
 
oh shit
that octopus cat thing is here. Bottom right of the room user list
 
@Jhawins yea
I like it
Moved my sons PC into the living room so he can play split screen with his friend that came over
they did a pretty good job with the PC version
 
10:24 PM
YES! Finally managed to npm install again, all it took was downgrading node to 0.10.22 >.<
 
Welcome to the tech industry :/
 
Much like his sex life
 
Dr. Webber, your attention is needed in the burn unit
 
10:51 PM
@Zirak sold.
on this note, I'll try dunking testicles in hot sauce in bed.
more challenge.
 
don't do it. trust me
 
but...
Zirak has a chart to prove it
 
Hi, i have an epoch value 1446936684919, i convert it to a date with var d = new Date(1446936684919), and i format it to hh:mm:ss with d.getHours(), d.getMinutes(), ..., Question: i don't want to get the local hh:mm:ss, I want to get the UTC hh:mm:ss. how can i do that ?
how to make d.getHourse() and date.getMinutes() return UTC hour and minute ?
@Zirak hi, you have answered more that one of my questions :) can you take a look at above question.
 
You can't easily do time zone conversion with vanilla JS
 
@SomeKittens i don't intend to use a library.
 
10:58 PM
Neat.
 
Sure there should be a way, 5 or 10 lines of code ...
 
1 min ago, by SomeKittens
You can't easily do time zone conversion with vanilla JS
 
@SomeKittens what are my options ?
 

« first day (1848 days earlier)      last day (3099 days later) »