« first day (2280 days earlier)      last day (2670 days later) » 

2:00 PM
whatever you do, just don't try to make a scuba bong
 
what
oh right lol
 
severed testicles
I still can't even...
 
it's the future of web browsing
says so at the end
 
touchpad? gross
@rlemon technically not
 
2:05 PM
don't trust opera too much anymore :/
but NEONS and RAINBOWS
 
@towc It's fine
 
> "The Opera browser has always brought you the web the way it should be"
Heh, yearight
 
always? maybe not
 
 
i've been going through some angular 2 tutorials that use the quickstart solution. someone in this room said previously that there are things you can do so that the *.js and *.map files will be created some where other than alongside your *.ts files as not to clutter your codebase. can someone help me out here? is there a best practice?
 
2:07 PM
what rootkit does opera have in it?
 
@rlemon Beethoven
 
@rlemon chromium
:D
 
it's a rather new one
it's called chineese
 
does your tinfoil hat at least have a rim to protect you from the sun?
 
I mean, you do realize that opera was known to be very good because all of your data would be VPNd and minified for better/cheaper browsing in servers that were very trustable, right? Now that the servers are in China, they're subject to chineese policies and corporations. And they're clever
@rlemon if we had a sun, yeah
 
2:09 PM
@towc Haha, forgot about the free VPN
 
the minification is one of the main best features in Opera, I think
 
@towc because the other 90% of your traffic being routed through the USA is any more safe?
 
and it's how so many countries in development get advantages using Opera, so the company may now have almost complete control over the market over there
@rlemon not in a centralized location
 
mhm
I'm not ignorant to the fact that there are men in the middle. I just don't give a shit. you wanna know what porn I view? what documentation I read? what youtube videos I watch? knock yourself out
just don't get in my way
 
> let me watch my porn in peace - rlemon 2017
it's not about that as much as about the fact that they'd know exactly what we want and can use it for so much financial/political gain
 
2:13 PM
how?
 
The financial / political gain to be gotten from my browser history is pretty overrated.
 
^
 
I don't "do" adds
And I don't "do" politics online.
 
I read about them. with popcorn usually recently
 
knowing what sites we browse is surely a part of it, but think of all the google/bing/duduckgo/etc searches, what people do on amazon and shopping sites, including all sorts of statistics that those sites use themselves to better grasp what appeals and can make money
 
2:14 PM
@towc and you don't think.. you know.. nvm. enjoy your paranoia
:D
 
I mean, it doesn't affect us directly, nor anyone, but it can't be good
 
why?
 
it's a monopolization of information, which means market and similar
 
where is the monopoly?
and why is information farming negative?
 
And why is that bad?
Who cares if they gather statistics on the colour of a dress
 
2:16 PM
it means they can choose the 100,000 dresses they will make for next year with less waste
 
@rlemon it's not for who does it or people in that class, but it puts an even bigger gap on classes
 
@towc HOW?!
you're making a lot of claims with no backing
 
Anyone here care to go explain to someone why PHP sucks, and why JS is so much better?
 
@TrojanByAccident no
 
well then
 
Anyone here care to explain why sewer water sucks, and why orange juice is so much better?
 
> HEY! WHO WANTS TO COME HAVE A LANGUAGE WAR?! FUN TIMES!
 
@TrojanByAccident Nothing wrong with PHP
 
well, nothing more than JS
 
How does one register an alias to cap again?
 
2:19 PM
both suck
 
j/k. php is just out of style. There may be objective reasons for that, but I don't know them as I am unfamiliar with php.
 
@Cerbrus !!learn <>link
<> keeps her from replying to the invoker
 
@rlemon say that corporation found out that in Congo people are looking for cotton or something. Now, maybe there are local cotton farms that give already low-pay jobs. The corporation finds out that they can sell some valuable pieces of information about it, take over the cotton farming completely, eventually leaving the working class there with even less jobs because of competitiveness, and the country goes to even more shit than it is now
corporations are known to be ok with turning people's life to shit for money
 
@towc that doesn't have much to do with information farming
that is shitty trade deals
 
this is just a very efficient filterable way to do it
 
2:20 PM
@rlemon Where do I put the alias word?
 
er, sorry
learn commandName <>link
 
!!learn nottouchingthat <>http://i.stack.imgur.com/zgaan.jpg
 
@Cerbrus Command nottouchingthat learned
 
I think I did the right thing and waited for 9 years before I touched PHP
 
zgaan!!!!!
 
2:21 PM
now I am off to do the same for Angular 2
 
!!tell FlyingGambit nottouchingthat
 
aww, no one-box
 
-_-
!!nottouchingthat @FlyingGambit
 
2:22 PM
!!undo
 
^ you can still do that
 
@towc doesn't work like that m8
 
@CapricaSix No posting unformatted code, please.
2
 
Hehe
 
!!tell FlyingGambit "You are beautiful"
 
2:22 PM
@FlyingGambit Command "you does not exist. (note that /tell works on commands, it's not an echo.)
 
@rlemon oh, what's wrong with it?
 
XD FAIL
 
Sorry
 
:35070706 thanks
 
@towc it doesn't change how cap works. you're just pinging the user
 
2:23 PM
@rlemon oh yeah sure, that was the point
ping the user to tell him it's directed at him, and make cap show the image anyway
 
Guys which lodash function is best for making an object from two arrays? Like the constructor for a map
 
would be the same as some kind of !!tell FlyingGambit nottouchingthat that oneboxed
 
@corvid Depends on the arrays
 
@towc like edit the message after the ping, to remove the mention and make it one-box?
 
@Cerbrus I get a payload with an id and some other data. Want to map it to an object where the id is the key
 
2:25 PM
@MadaraUchiha the problem is that getList returns List<something | undefined>
 
@Luggage or that, sure
 
meh
 
at least I think so
 
2:27 PM
I have work to do
 
it isn't a problem with cap.
 
@corvid give ma a before/after.
@rlemon right. I think we get that, now. I was proposing a work-around
Not that it's important or anything..
 
s/work/reach/
 
[{ id: '1', name: 'corvid' }] => { '1': { id: '1', name: 'corvid'} }
 
oh.. hm..
I'd use a plain reduce..
 
2:29 PM
so, arr.reduce((obj, item) => ({ ...obj, [item[key]]: item }), {});?
 
inputArray.reduce((prev, next) => {
    prev[next.id] = next;
    return prev;
}, {});
Yes, but my way doesn't re-make the object for each item.
 
that might be considered good practice
 
Also, I find it more readable for the future, but longer (not that that matters).
btw, all problems are solved with a .reduce.
or two.
and maps are just reduces.
 
prev is a terrible parameter name in a reducer
 
"acc"?
 
2:32 PM
better
 
it would be even better to have a proper reduce function in JS
 
What's a proper reduce?
 
what'd you mean?
 
i used VS Code for the first time yesterday and was pretty disappointed. it didn't automatically create closing tags for eg. HTML elements, didn't automatically format code, etc.
can anyone suggest an editor that does those things?
 
user2620028
2:37 PM
@im1dermike oh shit i hate when editors do that stuff for me
 
@towc @Luggage more functional
random rant
@corvid _.keyBy([{ id: '1', name: 'corvid' }], x => x.id)
 
it at least needs to format the code
 
how can you have a purer reduce?
 
if you use lodash
 
meaning tab
 
2:38 PM
even haskell has it in the same way
 
@Mosho Awesome, that makes sense, thank you
 
AFAIK notepad++ and sublimetext2 don't do that either
unless there are plugins
 
there are always plugins
 
@towc in haskell it's curried like anything else, iteratee first etc.
 
user2620028
atom does the things you want
 
2:38 PM
@im1dermike anyway, are you sure you selected the right language type?
 
I am surprised vcsode doesn't but it is heavily pluging based, so I would also be surprised if no one has added that.
 
it appears to auto detect correctly
 
I've kinda grown to like non autocompletion
although sure, it can be satisfying
maybe in the same html file, I use unclosed and closed <p>s. And I hate having to cancel out the ones that I don't want
 
unclosed? You animal.
 
I like to live dangerously
or those editos/plugins that close the top tag when you type </... it's nice, but it sometimes closes something I may not want it to close
who ever closes their inputs? Not even /> is used much anymore (for inputs)
 
2:42 PM
@im1dermike use sublime text with Emmet
 
question for mac users
 
"how can you sleep at night?"
 
how do you test chakra based browsers on your device to see if your js code would run ?
 
browserstack.com
 
but that's money...
 
2:44 PM
a free alternative ?
 
virtualbox
 
I use virtualboxes for IE/Edge
 
I think MS has pre-made images for IE testing.
 
@littlepootis is emmet a plugin?
 
although I haven't got a windows box running on my current laptops :/
@im1dermike I suggest googling it
@Luggage never heard of that 0.o
 
2:47 PM
They used to, at least.
free
 
-_- they couldn't just have an ISO for all of those, right
 
ISO are CD images, for installs
 
> Please note that these virtual machines expire after 90 days. We recommend setting a snapshot when you first install the virtual machine which you can roll back to later.
wtf
 
These are VM images
in virtualbox, vmware, etc formats
 
yeah sure
 
2:48 PM
90 days is fine for a FREE os install for testing.
 
I say ISO for everything. Which is wrong, I admit to that
 
Hey guys, I have a problem. I'm using bootstrap modals and when I open one modal ($uibModal.open(...)) with some specific width, everything's fine, but when I open second modal on top of the first one, the width of both is set to the width of the second one. Is there any solution for this? I want the first modal to have X width and the second modal to have Y width. I've searched, but I can't really find anything... :?
 
@Luggage oh no sure, but they then tell you you can bypass it by doing the snapshot. Or is that not what they're saying?
 
yes. That point of that is, by using snapshots to get around it, you can't really keep "state" and use it for purposes other than testing
 
oh, makes sense
good job MS
I mean, I don't have the same operating system on any of my machines for more than 90d anyway because I'm a fag :3
maybe, in a post-arch-succesful-installation phase...
 
2:51 PM
I never kept desktop linux for long, myself.
But I always tried to run it side-by-side with another OS to try to get the best of both.. that's not ideal.
 
oh no, I mean that I switch between distros
 
wait... shouldn't using .json() on a fetch that yielded a status of 204 just create an empty object?
 
probably not leaving linux any time soon
 
Hi
Im learning some more about plain vanilla js.
 
Right.. I know. I just mean that I have a similar "fickle" relationship, but for different reasons.
 
2:53 PM
alright :)
 
@towc Might wanna delete that
 
I would like to know how I can make a variable show the return value of a method. so you can do like $totalAmount = ReferToTheMethod();

function ReferToTheMethod() { return 'xyz' }
 
@Duikboot shoot any questions you may have. If anyone's around and wants/knows how to answer, they will
 
While I don't regret OSX, I would love to get the same out of linux as some point.
 
linux is a pipe dream
 
2:54 PM
@BenFortune is it offensive?
 
It's way too late to delete.
 
@Duikboot exactly like that
 
realy
oO
 
@towc I feel offended now
 
@Duikboot what have you been using that's not 'vanilla'? Calling functions is the same throughout.. that's just JS.
 
2:55 PM
@FlyingGambit good
 
@SterlingArcher imgur.com/gallery/ZPZET
 
@towc It's a derogatory term, I'm not bothered but someone might be
 
hello guys,
 
@ElHoussineTalab 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.
 
@BenFortune well, if anyone complains I'll make sure to throw myself out of the window
 
2:56 PM
\o/
 
@Luggage jsfiddle.net/hv661y1x/1 just doing some more js
 
anyone need help with js? :D
 
I would like to create som 'page' viewer :p fully in JS
 
you got the JS god in the house
 
@ElHoussineTalab Read the message that just replied to you
 
2:57 PM
news.instantmagazine.com/year-in-review/?name=Javascript#!/2016 this is soooo col I wish I could create something similar unsure it's hard to create
 
@Duikboot explain thyself please
 
@BenFortune ohhh, I just understood it.
 
@ElHoussineTalab list the differences between function foo() {} and foo = () => {}
 
@Duikboot it's fairly simple, actually not really well done
 
Really? not well done?
That instat magazine one?
instant*
 
2:59 PM
@Luggage the first one is a method, the second is called an anonymous function
 
well, it's good, but could have easily been better
@ElHoussineTalab you know nothing, John Snow
 
Half true.
 
@Luggage lol! whats the ans?
 
you're the god, you should know
 
You tell me. you are the JS god.
 

« first day (2280 days earlier)      last day (2670 days later) »