« first day (2056 days earlier)      last day (2891 days later) » 

9:00 PM
at least, they didn't tell you that you were, :p
 
@KevinB OH SHI-
flashbacks
 
@bitten I did something similar to that when I went to Japan. I failed so hard, but fortunately the locals took it with a grain of salt and laughed it off.
 
@Megaplex heh. there's a weird risk.. it's easier to make mistakes yet you can't apply your native grammar so you're also less likely to make grammar mistakes and so you sound less.. foreign
 
anyone have any Atom themes they recommend?
 
@bitten The only play I've ever been where the locals got snooty if you didn't speak the perfect dialect was France. They got all sorts of snoobish.
 
9:03 PM
something dark
 
@Megaplex yes actually
fairyfloss
 
> snoobish
 
i really like it
it has really nice contrasts, but it's still soft
 
@NathanJones UI: One Dark, Syntax: Predawn
 
i don't like Atom
 
9:05 PM
@bitten Made by SailorMg That's adorable, yet hilarious because I get it on both levels.
 
came back to ST
 
@Megaplex sailor mercury?
and what's the other level? :p
 
@bitten Well, that Mg is Mercury, and that it's from Sailor Moon. :P
 
:3
hg is mercury!
(btw)
:3
 
@KarelG ST and Notepad++ are my least favorite editors, besides the objectively bad ones like IDEA and NetBeans
 
9:08 PM
@bitten You knew what I meant, it's hg on the screen name too. I'm just tired. :(
 
IDEA is almost similar as IKEA. both content and context wise
 
@Megaplex it's okay :33
 
@KarelG works equally well
 
@ssube on my debian server, i still use Vim ...
 
@bitten I spent the whole weekend dog sitting for my sister, now it's just weird not having to dogs in bed with me.
 
9:09 PM
:P
 
add a dot to it after a moment
 
@KarelG I use vim on servers and Atom with vim bindings locally
mostly because I've never been able to get vim's colors and highlighting to work how I want
 
SOMEONE SAID IKEA SO DEADPOOL
 
@Megaplex :p
@ssube how did you set up your vim bindings?
also, how did you learn so many vim bindings?
that's the important question >.>
 
9:10 PM
@bitten Despite the bruises and scratches, I miss the little turd munchers.
 
@bitten what do you mean? It's just a plugin you install in Atom
 
yes, but i should use other editors like nano. But it's a part of habit to issue vim /etc/<a file that i need to check>
 
why would you ever use nano?
 
forgot sudo
;|
 
@ssube oh i really didn't know, my bad
 
9:11 PM
it's not like you're going to find a system without vim
 
it's at least more convenient than vim
 
@bitten I've linked it a million times already, but: atom.io/packages/vim-mode
 
@ssube i used nano before i knew vim
@ssube aw, well thanks man
 
everybody accidentally opens a file in vim once, can't figure out how to close it, uses nano for a month or two, then goes back to vim :P
that's just part of vim's learning curve
 
@ssube predawn is nice but uses brown a little too much for me to use it
 
9:13 PM
it's sometimes not clear where you are
edit mode or command mode
i was like ... "uuhmmm where am I"
 
"i've been using vim for about 6 months now.. mainly because i can't figure out how to exit it"
 
i'll stick with ui: Atom Material syntax: Ayozint Seti
 
so i randomly hit a key to see where i am
 
@NathanJones I don't use the UI side of it, just the syntax.
and have never seen brown in it
 
@ssube i wasn't using ui either
 
9:15 PM
found the source
#notMy_joke
 
@NathanJones what is it highlighting in brown? I ran through a few files and don't see any.
 
what am i doing wrong
 
@NathanJones not using enough spaces, or by using a low tab width
nah but what do you want to happen?
 
@bitten that screenshot doesn't go to the left edge
 
@NathanJones is this predawn?
 
9:18 PM
and i'm using JavaScript as the language, not Semantic JS
so maybe that's the difference?
 
Woman tried to cure skin cancer naturally with herbs: unexpected result sauce
 
@NathanJones that's orange though
 
@KarelG thanks for bringing my hopes up for a horror tag
and then dashing them
 
your code needs less Object.keys. Cache that shit, it's probably expensive.
 
lol i knew that screenshot would get ripped to shreds...
i'll fix it
 
9:19 PM
that code is pretty good, in general
I wouldn't filter inline, but caching the keys is the only obvious thing
 
@ssube how should i improve the filter inline? move it into its own variable assignment?
oh, and duh, it's orange. still don't like how much it's used...
 
not sure, tbh. I just don't like inline stuff like that.
ooh, I know what you should do
the predicate is shared, move it out of the filter
 
@NathanJones why doesn't displayCols just return fieldNames?
 
so you have cachedKeys.filter(sharedPredicate).join(',') instead of the long bit inline
then just const sharedPredicate = (elem) => (elem !== 'id' && elem !== 'foreignKey'); before the object
in fact, that allows you to pre-compute the list and just use it twice
 
@ssube ooh, that is better. is there a reason you surrounded the single param in parens?
 
9:25 PM
@NathanJones IMO it makes it easier to read. foo => bar looks like not much, (foo) => (bar) looks a lot more like a function.
it doesn't matter at all, you can write that line without parens
 
Hi! I'm not dead, I'm super busy. luv u. kthxbai.
 
@ssube agreed. i think i'll do that from now on
 
although when I have a single unused variable, I don't use parens
_ => bar is pretty obviously a lambda
but () => bar is technically more consistent
 
@KarelG I guess she nose better than to try that again.
 
9:29 PM
hey guys whos good with angularJS? :c
 
I'll leave you with this:
 
You liiiive <3
 
Does anyone know who was that guy who submitted a new picture to "10 Most Wanted" list because one posted by FBI was unattractive
 
Are you saying that a guy on the list submitted his own photo to them?
 
@AndyMason Welcome to the JavaScript chat! Please review the room 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.
 
9:42 PM
so what does everyone think of HyperDev?
 
a playground
 
@bitten with that kind of name, probably not good
 
heh
 
@AndyMason yeah - but I forgot his name
 
i also don't really like the name Trello but it's bretty gud
 
9:43 PM
@ssube it's Spolsky's last startup
their approach is "git is hard, let's avoid it"
 
@FlorianMargaine that gives it a better chance than most
@FlorianMargaine and they're doomed
 
"version control is hard, let's do something we know will break"
 
it's literally that
they give you a web IDE, and every time you edit, the changes are done live on the hosted website
 
so it provides some of the features jsfiddle has?
 
9:46 PM
apples and oranges
>Professional software development teams will continue to use professional, robust tools like Git and that’s great.
 
yeah, except it's a live site
 
@FlorianMargaine i'm wondering if you can toggle that
 
@bitten I'm surprised he didn't say "mercurial"
 
!!afk Time to kick some tires and light some fires.
 
:p
i think it's great for demos
 
9:47 PM
@FlorianMargaine there's being difficult and then there's intentionally trolling
 
it's not suitable for any of our client's websites
 
making a fiddle for node is potentially useful, potentially just being difficult
suggesting mercurial or bazaar is intentionally trolling
 
but imagine hosting this at a node conference, i'm thinking node game development and so on
i can also see myself using this to teach a few friends node
 
9:58 PM
@KendallFrey you missed the obvious pundemic
 
@Shmiddty he was in the eye of that storm
 
is it possible to use a different function on an ng-click in angular depending on a condition? like if (condition1){ngclick = function1()} else {ng-click = function2()}
 
no, but you can do ng-click=function() { if (condition1) function1() else function2() }
 
ah i see...thanks
 
10:35 PM
Hi, does anyone know the difference between a Twitch stream vs a Twitch channel vs a random video on Twitch? How are they related? Can't seem to figure out their API documentation on github.
 
@NathanJones sharing
 
10:56 PM
hey guys
can I ask a $git question?
I have two branches

-master
-passport


-master is uptodate and merged and the version I want.

i want to apply the master changes to the passport branch.

I do:

$git checkout passport
$git rebase master

and get:
First, rewinding head to replay your work on top of it...
Fast-forwarded passport to master.

what can I do? I don't want to make an horrible error.
 
there is no error, no?
 
@avdg Welcome to the JavaScript chat! Please review the room 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.
 
@avdg what?
 
its just saying that git is watching commit history
 
so how can I apply the master changes to passport branch?
 
11:00 PM
fast-forward means git knows it can add commits to passport to match master
 
Is it done?
hmm
 
afterwards it means passport and master refer to the same commit with identical history
 
"Fast-forwarded passport to master."

what does that mean? I wanted to push the master code on top of the passport
have I done the opposite??
 
nope
 
so is everything ok? and the rebase was ok?
hm hehe sorry for those nooby questions
 
11:03 PM
trust me, if you want to merge and you see fast forward, it's almost always what you want
 
I have big fears of this git thing
ok thank you very much :)
 
if you don't see fast forward, you need double checking sometimes :-)
 
aha soo :)
 
but meh, I know git internals bit better than average :-)
 
why do you know that?
don't say, you work on git
 
11:04 PM
nah I don't write c
 
git is done in c?
hm interesting
yeah I think you won't write that in java haha
 
there is wikipedia and google for that :-)
and there are many clones :-) but only the c implementation is the trusty one
 
@avdg daa?
trusty, c? wat?
trusty != popular
 
ok nice to know ^^

hey when I have some old branch X, and I worked for some weeks on other branches and the master is now really different from the X branch, should I try to rebase or just delete the local branch and create a new branch ?
 
you can try either
too much change, you better start from scratch
small changes are good, modular code too
that can avoid a lot of rewrites in code
also, did you try gitk (or gitk --all if you want to see all the branches)
 
11:27 PM
wow Oo wat was that? gitk never seen that before
 
@PomeGranate Git, as a protocol, can be done in Java or any language.
 
hm maybe it can, but would you do that in java? hm maybe yes
 
But C has the advantage of no external dependency on any platforms, a very small size, and very high speed.
 
yeah true
 
java is done for "portability"
 
11:29 PM
@Sheepy did you know this gitk thing?
java will die ( I am java developer at work)
 
JGit is integrated into many IDE. One of them I use a lot, so I do occasionally use JGit.
 
is it also in intellij?
 
@PomeGranate I used to believe that too. But it's hard to say. I use a lot of languages and Java is indeed the most stable. I can open, edit, compile and test twenty years old project without much hiccups. Can't say that for PHP or .Net.
@PomeGranate No. IntelliJ use your machine's Git.
@PomeGranate I prefer TortoiseGit, so... no. I have never used gitk :/
 
thats true, I work 60% and study
at work I do java - I hate it, I'm a noob
and than I thought I'll do my Bachelor thesis with node.js ( sails.js) and that was the biggest mistake I've done, sails is so unfinished
I thought with node.js I'll be sooner finished, but now I think java ( spring mvc) would be the better choice
*would have been? my english is also very weak haha
yeah, there are maybe better tools, but I didn't know this gitk is already built in in git
 
I used to chase cutting edge technologies, too. Java was one of them. Now I think I have failed enough to tell which tech is too immature to jump into. (shrug)
They are great for learning. Not very good for production.
Have you tried git gui? ;)
 
11:37 PM
there is so much things to do before one can code ;-)
including coding other things
 
@avdg funny, that was C's selling point
 
^
 
hmm didn't know
but yeah, I've read the linus quote on datastructures being more important than code
actually, it's mostly true :-) especially for big projects
 
Java has many strengths. But portability... is one of its dreams.
Or, rather, not exactly a dream. Java is portable. But real life is more complicated than it looks.
 
meh, how deeper you go, the less things exists in their most used form
today watched a video with 2 guys complaining about the definition of when 2 atoms touch
 
11:41 PM
They don't
Depends on your definition of touch, I guess
 
so if I touch you, did I touch you etc...
bleh, all this stuff is a trap
 
At molecular level, nope.
 
There is a Chinese idioms about the "three stages of life". At first, things looks like whatever they appears to be. At the second stage, "mountains don't seem like mountains, water don't seem like water". That last until you understand their true natures and they are what they are in your eyes again.
 
quantum mechanics...
only if you see it, it happens
 
@PomeGranate depends on your interpretation
 
11:47 PM
The modern double-slit experiment is a demonstration that light and matter can display characteristics of both classically defined waves and particles; moreover, it displays the fundamentally probabilistic nature of quantum mechanical phenomena. A simpler form of the double-slit experiment was performed originally by Thomas Young in 1801 (well before quantum mechanics). He believed it demonstrated that the wave theory of light was correct and his experiment is sometimes referred to as Young's experiment or Young's slits. The experiment belongs to a general class of "double path" experiments, in...
 
@PomeGranate um, no
 
i did that one
 
no?
@Sheepy yes I have git GUI installed, but I dont use it that much
when I read about that experiment... for me now everything is possible, it's so fucked up! haha
it also says the for example, the moon doesn't exist if you dont watch it
 
It doesn't?
 
if you dont watch no
its kinda like shrödingers cat
 
11:50 PM
@PomeGranate I mean the one that comes with Git, triggered by the command git gui :)
 
if you don't open the box and dont see the cat, the cat is dead and alive at the same time
 
It's not. There's an equal probability of both.
A cat can't be alive and dead at the same time
 
@PomeGranate I think moon is too big for a quantum mechanics example...
 
@Sheepy wow no didn't know that either thx
 
@PomeGranate what happens when you're not watching is part of your interpretation of QM
 
11:53 PM
all I know about quantum physics comes from this german youtube video haha
https://www.youtube.com/watch?v=L-zC2k13nMM
 
Yes. Quantum is interesting. The more it gets proven the more interesting it gets.
 
Also, you cannot explain quantum events when you think of electrons as homoeopathic sugar balls.
 
Or purely as wave / cloud.
 

« first day (2056 days earlier)      last day (2891 days later) »