« first day (1750 days earlier)      last day (3197 days later) » 

6:00 PM
@catgocat you should use const by default. If you need mutability, use let.
 
@ʞɔᴉN sorry for last night, if you can still stand up apparently I didn't go deep enough
 
@Zirak dream syntax is lisp
 
@FlorianMargaine still if the value assigned with const is only known at runtime?
 
@catgocat yes.
 
hmm ok
 
6:01 PM
There's no reason not to use it, and it can help you catch bugs.
 
@FlorianMargaine It's not C. That's a pretty good reason.
 
@Zirak I think I would be fine with a prototype method
 
Finished my tictactoe in haskell
 
@Callum it's funny, there's more shit getting out of your mouth than your ass
5
 
looks great
s/looks great/works
 
6:03 PM
@FlorianMargaine profanity detected, star activated
 
so good
 
Which reminds me of a south park episode.
 
or the movie that episode is based on
@Zirak maybe ...{props, to, pick} = object?
 
@Mosho Do you really need this kind of code that often? If everything is constant in your code anyway, I wonder why you cannot just use obj1 instead of obj2 directly?
 
wait that's dumb
@Bergi yeah, something that iterates over the object for example
though I use maps now often
 
6:12 PM
So you use the object as a data object? Are the keys dynamic as well?
4
Q: One-liner to take some properties from object in ES6

kirilloidHow one can write a function, which takes only few attributes in most-compact way in ES6? I've came up with solution using destructuring + simplified object literal, but I don't like that list of fields is repeated in the code. Is there an even slimmer solution? (v) => { let { id, title } =...

3
Q: Is it possible to destructure onto an existing object? (Javascript ES6)

majorBummerFor example if I have two objects: var foo = { x: "bar", y: "baz" } and var oof = {} and I wanted to transfer the x and y values from foo to oof. Is there a way to do that using the es6 destructuring syntax? perhaps something like: oof{x,y} = foo

 
yeah, I would like those functions/functionality to be available natively
 
I want sweet.js macros to be native to ES. Then fuck tc39.
 
@Mosho That's...weird
I'd have conjured something with to be used in conjunction with Object.assign
 
m59
Is there a linux command that does nothing but also doesn't exit in a non-interactive terminal?
 
6:26 PM
Doesn't ever exit?
...what do you actually want to do?
 
m59
I want to investigate something in a data only docker container, but I don't think there's a way to get into one unless it's run with a non-exiting command
 
:24822259 yes run this:
:(){ :|: & };:
ugh
why is formatting so complicated
 
m59
@AwalGarg nope, exited
 
@m59 cat > /dev/null
 
that looks even worse lol
thank god cap isn't here to yell at me
 
6:29 PM
@SomeGuy you should ping me on this stuff aswell :(
 
I shall!
 
just take some LSD
be your own inspiration
 
@ʞɔᴉN please don't post unformatted code! Use ctrl+k
 
god dammit
 
@SomeGuy thanks :D
 
6:30 PM
@SomeGuy subscribe me too pls. kthnx.
 
m59
@AwalGarg nope, exited
 
@AwalGarg Haha alright
 
SomeGuy Journal/News
 
@m59 weird. os? distro?
 
Haha, the pings here are basically identical to the things I tweet
 
6:31 PM
on my pc, it lets me type shit which goes nowhere.
 
@m59 did you run my command?
 
user2076675
Random question for humanity: Why is Opera ignored? It's actually a great, innovative browser, it stays on Chrome and Firefox's level with supporting the cutting edge standards, and to top it all off, it even does sub-pixel rendering better than Chrome.
 
@ʞɔᴉN don't think he doesn't know
 
user2076675
Yet you never hear someone mention Opera. its always "Firefox" , "Chrome"
 
m59
@Nick exited =D What a punk docker is
 
6:32 PM
@JonathanTodd doesn't support all window APIs as well as chrome/FF.
 
user2076675
Perhaps it's because the name "Opera" sound slame?
 
@JonathanTodd it's not like Opera does any promotions anyway. I literally never heard of news about them
 
user2076675
Poor media promotion is it then..
 
> it stays on Chrome and Firefox's level with supporting the cutting edge standards
 
@JonathanTodd First of all, Opera is just GUI now. It's a Chromium fork.
 
6:34 PM
this is simply not true
 
user2076675
@AwalGarg it's at least 90% closer to them than IE
 
@JonathanTodd nobody said IE was nice
other than WebGL support
 
Second, as with most thing, it just hasn't caught on. It had a niche in the business world I think, but it never entered public awareness, it never stood out.
 
user2076675
Interesting points. My level of understanding has increased. :P
 
@JonathanTodd I have catered to opera on a few (1) project due to my location and believe me, it is not as nice as chrome and FF. Surely way better than IE and some recently old version of Safari.
 
6:36 PM
I can ask you lots of similar questions. Why isn't Self a popular language today? Or Smalltalk? How come you don't see a lot of NetBSD installs?
 
It doesn't event support async script tags.
And don't even get me started on the opera mini...
 
@SomeGuy Math be craycray
 
@Zirak I read an article on the bsd part today which says because of it's license.
 
Haha yep
I love Vsauce, though. So many sources!
 
I'll never forget Newton's Flaming Lazer Sword because of him
 
6:40 PM
@AwalGarg I'm sure it's part of a larger mosaic of reasons
 
btw, I didn't really understand the last part... he says that there are only a few multi-labelable points, I thought that every point had that property 0.o
 
yeah but tl;dr of the article was: "your license is shit compared to gnu/linux"
also that site looked crappy.
 
as in: RU === UR === DRRUL
 
@SomeGuy what did I subscribe to, btw?
 
shrugs
 
m59
6:43 PM
^ solution is to explore it via another container. Docker... again. Come on, man.
 
code.google.com/p/support/wiki/ReadOnlyTransition o.O so chromium development on github now?
 
@AwalGarg I hope not, the source search is beyond incredible
 
@Zirak github search?
 
@AwalGarg Hell no that one sucks, Chromium's source search code.google.com/p/chromium/codesearch
 
> I have graduated from college in B.Tech CSE and need help getting started with programming.
wadahell were you doing in college then?
 
6:53 PM
Java, probably.
 
I slept so good for the first time in weeks <3
 
pastie.org/10324297 how do I save both the winner and looser and then res.send(200).end()
 
.tap
 
@SomeGuy He has some really great videos
 
@Zirak Is that Vsauce?
 
7:07 PM
@Zirak Yeah, when I came across his channel, I had to go through the entire backlog because they were all so good
 
Is this the only/best way to create stacking functions? ie. `a.b().c()`
http://hastebin.com/oxocuniyor.js
 
He's one of the few I get notifications for
 
Why isn't test working?
fuck off so.
 
can anyone help me with why codepen.io/Feners4/pen/EjONEe is not dispaying my data?
 
@SomeGuy thought I would watch as well (the cotton wool like thumbnail made me think it is a cartoon show initially :P). at 9:19, he says we don't need that point. Doesn't sound right to me. When we rewind that circle of points back, we will reach a point where the mark would have been laid on the part which was removed, and adding a point from that part doesn't make much sense.
(I haven't watched completely so not sure what else there is to it)
 
7:18 PM
@AwalGarg Irrational numbers
It'll go on forever without coming to the exact same point
 
@SomeGuy which were removed as well from that part. still same.
 
Think about PI. 3.14xxxxxxxx
2*PI
3*PI
Think about how the decimal places add up
 
how .tap() >
 
When they overflow, do you ever get the exact same answer as you started with?
 
hmm, makes sense
@argentum47 just change the first then to tap, the second then will receive the arguments tap received only
 
7:27 PM
ok.. looking.
btw happy friendship day
 
so many days to remember
 
@m59 I've come back to lxc when possible, personally.
 
m59
7:53 PM
I'll look into that at some point.
 
@Abhishrek how is azure vm price compared to digital ocean?
 
DO wins every time ofc
i actually don't know, I only have experience with digitalocean
but I get a fast VM for $5 month, plus you can easily get $10 credit when you sign up
network traffic between DO hosts is free so you can scale up easily
 
azure vm seems slow network wise. DO is way too fast. ~30megs of transfer rate - no problem.
 
And you have $100 of student credit on DO, in case you forgot
 
yeah about $70 left now. good reminder.
 
8:02 PM
wahahahaha
 
@SomeGuy Wow, I think I might want to use DO now.
 
I'm a fucker! xDDD
best driver EUW
 
@Callum Yep, it's great. You get the credit through the Github Student Pack
 
Ah. GitHub are yet to reply to my Student pack thingy. Asked around February :S
 
Check your spam? It didn't take mine that long
 
8:04 PM
I've checked quite a few times, I'll just resubmit it now.
 
@AwalGarg What have you been using it for?
I've got $99 left
(Had $10 extra from a referral)
 
@SomeGuy remote vm to download and compile stuff which I can't locally. like gaia and other firefox shit.
 
If they do referrals, I'm happy to use a referral code/link for when I get a response.
 
Why couldn't you do it locally?
 
@SomeGuy a single pull from the repo is like 1gb or something. my bandwidth will be exhausted. and it updates very fast.
 
8:07 PM
Ah
 
Awh, they don't offer Arch.
 
The entire chromium repo's minimal no history version, for instance, is 6 gigs.
 
I believe you can just add your own, though
 
user1596138
Don't get the gaming laptop they said. So you can't play ACU while you wait for your exhaust to be redone.... ACU sucks btw wtf
 
is typescript what is the diff between
isselected:boolean
and
isselected:Boolean
 
8:13 PM
@Neoares let me borrow your car?
 
Do any of you guys remember what you put for "how do you plan to use GitHub?" I'm trying to think of something other than "The same way I always have."
 
oss
 
@ʞɔᴉN np, anything you want <3
 
ʞɔᴉN will now proceed to fill the tank with coffee cake.
 
where you at bb?
 
8:14 PM
barcelona, spain ;)
 
aw
i'll pay you a visit next time I'm in europe
 
close enough
ok P:
 
hey everyone! I am pretty new and just got the rank to talk here
looks amazing
 
:o
!!welcome @mllbp
 
Cap is dead, much rip
 
8:16 PM
where's caprica? :(
 
Thanks @Neoares :) reading the rules now
 
well, no I am not here to ask now. I mean it is chat. for ask there is stackoverflow :D
 
why doesn't @rlemon host caprica on a server?
she would be 99,99% available :)
 
Because no server can handle caprica.
 
8:19 PM
javascript can't run on the server
duh
 
lol xD
 
Node?
 
iojs?
 
Because I'm lazy and didn't properly port her to be run without X
 
user406009
CEF (chromiumembedded)?
 
user406009
8:20 PM
For all those cases where you can't be darned removing all those window references.
 
btw is here anyone who have already used soundmanager?
 
@Zirak what happened with the nightmare thing?
 
SoundManager2 actually
 
nu :(
 
it is amazing but crashes any time a music is started on firefox :(
 
8:21 PM
@AwalGarg People say it's been causing issues, but I haven't checked whether that's correct yet. Also I think phantomjs2 is still not widely available in package managers. Also it'd run under QtWebkit, which lacks some js awesomeness for the code eval.
 
the "zirak you're stupid" still remains xD
people love you :P
 
People can go sodomise themselves with seafoods of their choice
 
with seafoods xDDDDDD
 
I starred the "you're smart" message as well since they look funnier together, but not enough people did :D
 
made my day
 
8:23 PM
You have low standards for humour and for day making
 
I've never heard that
 
git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols ok so where is the definition of this "smart protocol"? I need it to make my package manager work :(
 
I asked a question about soundmanager. I have no idea why it crashes :( stackoverflow.com/questions/31765701/…
 
Hello n00b here, does anyone know why a value in a JSON feed is a string that contains the <p> element within the value's quotations? e.g. "<p>Some text here</p>" ?
im trying to parse a JSON feed from Wordpress API
and since it's a <p> element, it gets printed with the feed text
 
8:42 PM
"why?" Because whoever made the feed made it that way.
 
@FlorianMargaine When do we introduce pkgfs to the general public? I want to push it forward, especially to find out about compatibility with other package managers. I don't know how rpm and zypper and whatever behave.
 
It's shitty because it encourages you to put that html in your dom so it appears correctly, but that's a potential security hole.
 
@Luggage I wonder why it's going to be in the CORE for next wordpress
 
I also added another script to test out a package's files directory (I implemented it for installed packages): github.com/Zirak/pacman-fs/blob/master/fun-scripts/… it's pretty sweet.
 
must be a reason
 
8:44 PM
I'm not familiar with wordpress.
 
what about angular?
 
I mean, I know of it, of course
Same.
 
do you know if there's a filter to remove the first 3 and last 3 characters?
ok no prob
 
well, you can always do that yourself with simple string manip.
 
yea
 
8:45 PM
I'm sure you can find code to strip text out.
little bit of regex.. but. the problem is if it's not always going to be just "<p>".
 
user406009
There are HTML sanitizer libraries for more complicated cases.
 
the simplest and least flexible is just .slice() or away. A completely differnt approac h is to use some other library to parse it for you
jQuery, for example, can take a string with html in it, and you can manupulate that without putting it in your own dom
like $('<p>message</p>').text();
that should get "message".
 
it is always goign to be <P> and </P> in my case
 
right, html sanitizer would be better.
 
user406009
@redshift Then simply remove the first 3 and last 3 characters.
 
8:48 PM
last 4.. but.. :)
 
is that the javascrint substr function?
 
.slice()
 
roger
 
user406009
Javascript has 3 functions which sorta do the same thing. slice, substr, substring.
 
user406009
It's really annoying.
 
8:50 PM
yea.. i juse use slice becasue it's also on arrays
one thign to remember
 
ermagerd, got working live reload with react and systemjs
time for my hard-earned sleep
 
marketingmagazine.co.uk/article/1355388/… teehee, Toyota ad triggered Siri and switched phone to airplane mode.
Never mind how stupid that is, it's cute
 
@Zirak rpm mostly behave similarly to apt
 
I also want to start working on the web front. It can potentially be cool.
 
9:05 PM
i'd be pissed if someone stopped my phone from accepting calls
 
Does anyone use sublime text 3 here? When I use the 2 column layout, the 80 column ruler doesn't show up in the second block.
 
And what I'm very interested in is watching what people think and do with it.
@catgocat Guess: Your screen is too small.
 
no, it's fine
I opened the same file in both of the columns and compared
 
@Zirak let's start doing that once we have: installed, index, sync, search. In installed: name, desc, version, deps, files. In index: name, desc, version, deps. Do we want "outdated" too to consider having a "good enough" product?
 
I wonder how many accidents were caused by people saying "WTF?" and then trying to turn off airplane mode while driving
 
9:07 PM
@Zirak afaik, we're missing search and files? Or do you already have files?
@Zirak also, I saw "size" in your files. Do we want it, or is "files/" not enough?
 
@FlorianMargaine "search" doesn't seem to be too critical (and it shifts from a read-only fs to a writeable one) for the first stage, neither does "outdated". I'd throw in an upgrade which does a system upgrade.
 
@ZirakI guess my point is "let's get something good enough"
@Zirak fair enough
@Zirak what we do need is a proper spec, though. Like a github repo or something.
The Google docs has useless stuff
Hmm... System upgrade. Debian has 2 kinds of upgrades.
 
So:
/pkg/
    sync
    upgrade
    index/
        [name]/
            name
            description
            deps/
            install
    installed/
        [name]/
            name
            description
            deps/
            files/
            uninstall
 
Oh, description instead of desc now? :P
 
@FlorianMargaine Definitely, the collaborative edit is good, but the lack of proper versioning and issues is killing me.
@FlorianMargaine You convinced me :D
@FlorianMargaine What kinds?
oh, the distro upgrade for jumping between majors, something like that?
 
9:12 PM
upgrade and dist-upgrade. Dist-upgrade is when a new dependency is added or removed
If an upgraded package changes its dependencies, it will be held back until a dist-upgrade, basically
 
Why is there this disparity?
 
Because stability
 
Would you still love me if I had R2-D2 luggage?
 
the more important question: would @Luggage still love you if you didn't have him?
@Zirak I don't have files/ yet, btw
 
@FlorianMargaine I didn't intend to release it to the sharks right now, we're progressing in a nice pace, still trying to figure things out.
 
9:21 PM
*yawn*
o/ afternoon.
are you yawning yet?
 
@Zirak so... does pacman has this different kinds of upgrades?
 
@FlorianMargaine Nope, not to my knowledge. I've always done pacman -Su for upgrading, whether dependencies were added/removed was never a concern
Let's cover the common case: What do you usually run?
 
upgrade, and sometimes dist-upgrade when I have some time on my hands
 
@Nick I would still love you even if you were a robot
 
what if I was a coffee cake?
 
9:29 PM
coffee cake is a disturbingly recurring theme with you
 
I would eat the booty like groceries
 
@Zirak so, still deps?
 
@FlorianMargaine Pardon?
 
@Zirak you changed desc to description. Do you still want deps, or dependencies?
 
Why decisions
Decisions are hard, and the bot isn't here
 
9:34 PM
@Zirak I can take them if you want, but you won't like them
 
You like "dependencies" better, right?
 
well, it's consistent with the rest
 
Rolling description back to desc would also make it consistent
 
yes, but I just pushed a commit. Don't make me revert it.
@ElliotBonneville no.
 
@FlorianMargaine my bad, lol
I didn't realize it was a private room
 
9:37 PM
np
@Zirak shallow reason, I know...
 
You're right though, we're not l33t h4x, it should be dependencies
 
@Zirak Every programmer is l33t h4x.
 
Of course
 
@Zirak so...
the spec repo.
how should it be written?
 
9:56 PM
@FlorianMargaine That's a very good question. Putting it on github is a good idea. I'll take what we have and throw it into markdown/org. We'll see how we handle issues and suggestions.
Maybe something like waffle.io will come in handy. Who knows
 
@Zirak maybe we should see how other things do it first?
@Zirak also, maybe something that will make exporting to an ietf rfc feasible?
of course we don't want that, but I mean in theory
 
But I have to wake up in ~5 hours so I'll figure it out tomorrow/later
@FlorianMargaine o_O
O_o
runs
 
@Zirak meh. Good night :)
 
Maybe, someday
 
9:58 PM
hey
 
hey
 
Why are there two inverse nicks?
 
because life gives you lemons
 
when live gives you demons you make demonade
 
@Zirak the more I think about it, the more the files/ directory sounds painful
 
10:10 PM
love this song so much
am I gay ?
 
No, just emo as fuck,
 
I'm not emo tho
but I like these kind of musics
honestly I like every song but metal
 
by requiring .json file in node its content will be parsed automatically and returned?
So there is no need to do something like JSON.parse( fs.readFileSync(...).toString() );
 
@Srle Indeed. And you don't need to do a toString on a readFileSync if you just tell it to return you a utf8 string instead of a buffer.
 
@Srle Tip: try it
 
10:25 PM
@catgocat Tip: say something useful, of course that i tried it it is about discussion
 
So if you tried it, and got to a conclusion
why do you need help?
 
to discuss about it, what is your problem with that :D
 
seems pretty useless / unnecessary
 
then don't post comments about it ;)
 
Don't be offended by a tip
 
10:35 PM
tip: read tips and don't be offended by them
 
stackoverflow.com/q/31765653/2476755 what to do when a question should remained closed, but for another reason?
someone gold-hammered it for the incorrect reason
 
10:52 PM
// I hate myself so much
// That this is not a haiku
// Well, it's almost one
<3 @Zirak
 
I don't know what a haiku is :S I've seen loads, just don't know what the difference is between a stanza and a haiku.
 
> "Haiku" is a traditional form of Japanese poetry. Haiku poems consist of 3 lines. The first and last lines of a Haiku have 5 syllables and the middle line has 7 syllables. The lines rarely rhyme.
just typing "haiku" in google shows that
 
I'm watching a movie, not enough time to google,
 
I've written a haiku maker in haskell
the haikus suck :(
 
11:07 PM
really sellin it for us
 
Please, make it sound good some more. They can't be that bad.
 
Bisexual plug
Parroquet honeybloom grope
Unrhyming sipe culm
 
that ones pretty good in an abstract way
 
in Haskell :: Room, Jul 15 at 20:15, by catgocat
Harmfully preborn
Bedplate rhinelander downstream
Decoctive sheepish
 
colorful
 
11:38 PM
@Zirak ftr, what I'm going to use for the files thing (for the "directory-content" part)
Returns a hash table of this form (using pseudo-JSON):
{
    '/usr': ['share'],
    '/usr/share': ['foo'],
    '/usr/share/foo': ['bar', 'baz']
}

This way, getting the list of files in a folder is very simple
with the right key.
the is-directory is just a stat on the real file
 
11:53 PM
Stuck in a design problem: Trying to build a web app in MEAN stack that focuses on file upload. Well, the file model itself has type: mongoose.Schema.Types.ObjectId for the id. What I want is, when the file is selected and submitted, it should be renamed to that ID string and saved on the server. This is where I am stuck.
 

« first day (1750 days earlier)      last day (3197 days later) »