« first day (1313 days earlier)      last day (3643 days later) » 

8:02 AM
uh what the fuck is going on with my internet connection
 
do I have to setup include paths for nuget installed packages myself, or does it happen automagically?
 
for C++?
 
yea
 
no idea.
 
thanks :D
 
8:03 AM
for C# it works, obviously.
 
oh well, I'll figure it out later ._.
time for work :p
 
@BartekBanachewicz dat table top and specular highlight
@melak47 it happens "automagically" (for VS) - what else would possibly be the point?
 
@sehe it's C++, and you're asking for reason
 
@BartekBanachewicz how can you fix the fact that the stdlib hasn't got ranges without fucking around with templates, a lot ?
 
C++ is literally the only mainstream language which community was unable to create an open package center and package manager
 
8:08 AM
@BartekBanachewicz worse. It's MSVC
 
user1804599
@BartekBanachewicz C
 
@sehe create <rvector>, <rlist>, <ralgorithm> and phase out the old ones
 
@BartekBanachewicz you seem to be forgetting about the naked fact that a laaaaaaaaarge percentage of packages in all linux distributions are based on c++ libraries being package-managed
 
yes and that's linux only
 
@BartekBanachewicz how does that answer the question
 
8:09 AM
@sehe well obviously you have to use templates, I meant useless template wanking
I'm grumpy because I have to turn in an assignment today
which I might fail not because my project is bad, but because my tutor is a fucking idiot
 
Sorry for not magically understanding what you meant to say. Perhaps we need a package manager for automatic intention propagation
@BartekBanachewicz Orrrr... because you're stuck wasting time in template-wanker-land
 
@sehe cabal, npm, pip, rubygem and whatnot somehow manage
better or worse, admittely, but they do.
 
Ven
how old is nuget ?
 
and C++, as so crossplatform language, fucking fails to do that
 
each and every single one of them being for languages with modules
 
8:11 AM
oh that's fucking embarassing too alright
 
no not "too". That's it.
 
Ven
languages with modules ? what does that mean ?
 
@Ven that they have modules, duh.
 
a non-broken compilation model
 
Ven
language with a module keyword ? npm certainly doesn't have that.
 
8:12 AM
@Ven JS has a module keyword also irrelevant
 
what use are keywords
 
what year are you from?
 
Ven
ES6 has.
 
yes and that's javascript
 
Ven
But commonjs existed far before ES6 added the module keyword.
 
8:13 AM
who cares
 
plonk
 
yeah I guess.
 
Ven
nice circlejerking
 
let's ban him just for fun
 
Nope. And no flagging.
 
Ven
8:13 AM
:)
 
anyway, C++ might become usable around... 2023?
 
Woah what's with the flag?
 
I forgot why I unplonked Bartek
 
25 secs ago, by Bartek Banachewicz
let's ban him just for fun
 
@Ven No. Way to spam a topic without listening. Remember you asked a question?
2 mins ago, by Ven
languages with modules ? what does that mean ?
 
8:14 AM
4 mins ago, by Bartek Banachewicz
I'm grumpy because I have to turn in an assignment today
 
Ven
sehe: I tried to explained to bartek why his remark was incorrect : npm didn't wait for JS to have modules to exist
 
get off your high horse, prince charming
 
Ven
thus invalidating his point about "those package managers belonging to languages with modules"
 
@BartekBanachewicz So, leave?
 
8:15 AM
Just because you had a bad day doesn't mean you have the right to be an annoying ass.
 
eh, you're right. 'cuse me.
 
Ok dudes, it's handled.
 
Ven
sehe: that was a rethoric question
 
@Ven however, node shimmed modules for as far as I remember. It's simply necessary to reasonably handle libraries. And that's what @sehe pointed out.
 
@Ven but it has non-broken compilation model, which is to say, implicit modules already were possible. C/C++ is crippled by lack of standard ABI and the compilation model
 
Ven
8:17 AM
Explain "shimmed modules" ? NPM still doesn't use ES6's "module". It's just functions registered in an object and lazy called
sehe: oh, I agree with you. I don't agree with "it needs a module thingie built into the language"
 
It wasn't about the language constructs. It was about the concept.
5 mins ago, by sehe
what use are keywords
@Ven I don't see anyone who claimed as much
 
Ven
"each and every single one of them being for languages with modules"
 
@sehe and the lack of standard ABI might well be relevant to the fact that FREESTANDING (and weird platforms)
 
user1804599
Node.js modules are great and npm is the best thing ever.
 
@Ven yup. You took that a bit literally. Which is funny, because that's usually what we (pedants!) do in this room :)
 
Ven
8:19 AM
Fair enough
 
user1804599
I'm gonna use "Even the Node.js guys get this right" from now on.
 
@BartekBanachewicz not really. they could still exist, just outside the standard ABI
 
Ven
hhahahaha
 
@Ven even though node didn't have modules before, it's still considerably easier to cope with that than in a language like C++, where lookup rules take like 100 pages of standard
 
Ven
Yeah, definitely. I actually prefer node's current stuff to the ES6 modules.
 
user1804599
8:20 AM
@BartekBanachewicz 19, actually.
 
user1804599
But with lots of references to other places!
 
I like node because its logo is green.
 
user1804599
I like Node because it's simple as hell. But callbacks :<
 
@Ven Don't tell me, I spent three days getting Traceur to finally load mine.
 
user1804599
GENERATORS <3
 
8:20 AM
@BartekBanachewicz Shoo. Get to work :)
 
Ven
Yay generators.
 
lolwut :( sigh
 
Ven
And that's what I really like about JS, it only has basic blocks but people built lots of cool stuff with just the base. That's why I'm kind of scared of ES6 modules
will probably make it easier for static analysis tho
 
> "easier"
yeah, "probably" :)
 
user1804599
8:23 AM
lol static analysis of javascrypt code.
 
@sehe no work for me today (except that assignment and a few hours of labs)
 
Ven
you'd be surprised with what IDE creators get us, even for ruby/js/php etc
 
eh, I saw that
 
user1804599
I use a PHP IDE and it is amazing.
 
did this to my chooks :x
 
8:23 AM
using JSdoc annotations for type checking
 
user1804599
TypeScript.
 
plz no
Roy.
 
Ven
soudness pls
PureScript :)
soundness*
 
@Ven is this a thing?
@Ven use up arrow to edit posts
 
@BartekBanachewicz swottamean
 
Ven
8:24 AM
my bad, still new :)
 
Ven
Yep, PureScript. Roy's creator (puffnfresh) is a core contributor
 
Is there any algorithm that will break two sets {0, 10} , {8, 14} into three sets {0, 8}, {8, 10}, {10, 14} ? I am not getting a keyword to search
 
@Ven does it have H-M?
 
Ven
8:25 AM
it's really like haskell, plus row polymorphism
 
well Roy was already like Haskell
 
@Ven do you like it?
 
Ven
I merely toyed with it, but haskell fans seem to enjoy it.
Except for the fact that it's not lazy, but ghcjs etc already have a hard time with that
 
user1804599
The website has no sample code.
 
8:26 AM
can I keep him? :D
 
Ven
keep who
 
anyone listening me ?
 
@Ven hurr durr cc @rightfold
@NeelBasu what about {0,14}
 
@chmod711telkitty finally proved you're probably more of a girl.
A guy would never position the chook's beak so dangerously while handling it
 
@BartekBanachewicz That will merge all in one I want to split them on conflicting points
 
8:28 AM
@NeelBasu Boost Interval
 
user1804599
@BartekBanachewicz dat mapM_
 
@Ven jk. I like to storm JS room and evangelize haskell. You're prolly the first js developer to come here and Just talk about haskell
@rightfold EXPERIMENTAL
 
@NeelBasu s/conflict/overlapp/
 
@sehe But what algorithm ?
 
(if I say that it can have anything right)
 
Ven
bartek: I actually work on livescript, which takes some syntax from haskell, but is closer to coffeescript
 
@NeelBasu it's called a power set
 
@Ven oh wow (I know what livescript is)
 
user1804599
@Ven omg i love livescript
 
user1804599
We use it at work a lot. :v
 
Ven
8:29 AM
oh wow :D.
That's great !
 
you know this is really a haskell room
 
@Rapptz ummmm not this one exctly I think
 
so that might be surprising to see alright
 
Oh wait. I'm thinking of the wrong thing.
I saw one set not two
 
@NeelBasu I have no idea what that would mean in this context TBF.
 
8:31 AM
@Rapptz See I am splitting on overlapping point. does power set split on overlapping points ? and break there to create new set ?
 
Ven
@rightfold Feel free to add yourself to the wiki (using LS)
 
It looks like a cartesian product to me
 
user1804599
@Ven do you know if it's possible to partially apply .~ operator?
 
@NeelBasu just insertion
 
Ven
nightfold: I think I fixed that in 1.2
 
module Main where

import Debug.Trace

main = trace "Hello, World!"
okey that's the kind of JS I could write
 
user1804599
@Ven nice.
 
I dont know what TBF is but the requirements is simple. I've two sets {0, 10}, {8, 14}
I want to split on overlapping points So expected output is {0, 8}, {8, 10}, {10, 14}
 
In mathematics, a Cartesian product is a mathematical operation which returns a set (or product set) from multiple sets. That is, for sets A and B, the Cartesian product is the set of all ordered pairs where and . The simplest case of a Cartesian product is the Cartesian square, which returns a set from two sets. A table can be created by taking the Cartesian product of a set of rows and a set of columns. If the Cartesian product is taken, the cells of the table contain ordered pairs of the form . A Cartesian product of n sets can be represented by an array of n dimensions, where e...
 
I dont know what TBF is but the requirements is simple. I've two sets {0, 10}, {8, 14}
I want to split on overlapping points So expected output is {0, 8}, {8, 10}, {10, 14}
 
8:33 AM
@NeelBasu I saw it the first time
 
user1804599
@BartekBanachewicz trace :: String -> a -> a not String -> IO a :V
 
Ven
@rightfold uh, actually that's not in 1.2. That'll be in 1.3
 
user1804599
Ah, okay. :P
 
user1804599
Cool.
 
Ven
answered on SO too.
 
8:34 AM
hm purescript is written in haskell
and roy in JS
 
@BartekBanachewicz I can't understand How can this problem be mapped as cartesian prroduct. cartesian product doesn't know about overlaps
 
@NeelBasu I agree.
 
user1804599
@BartekBanachewicz As is Gear. :>
 
Ven
bartek: purescript is getting rewritten in purescript, though :)
 
you have IRC habits :)
anyway for my needs Roy would be better this time I think
I will need a DSL
compiled on clients, most probably
 
8:36 AM
 
Ven
I definitely do. Is there not a "reply to last" keybind ?
 
@sehe that's not me in the video, but I bathed my chooks in the ash to prevent mites/fleas etc
 
user1804599
 
@Ven I don't think so :( you can hack the system a bit to show the messages' IDs and type them directly
 
Ven
@rightfold yeah, I've used that one several times, but using the mouse is slow :P
 
user1804599
8:37 AM
Ok keybinding. Nope.
 
@sehe Owwwwwwwwwwwwww; Thanks Man
 
@Ven in general that's just :<message_id>
 
@Ven yes
43
Q: SE Chat Modifications -- Keyboard navigation and commands for chat

Tim Stone Screenshot Use /command shortcuts to perform common chat tasks: See message history inline: Easily preview replied-to messages: And much, much more... About Legends tell of a prolific Meta Stack Overflow chatter who despised using their mouse above all things. In an effort to keep t...

 
@sehe But I need to write the algorithm and need to make it distributed if necessary
 
@NeelBasu you what?
 
8:38 AM
@NeelBasu it's already written
 
Ven
@sehe Nice =)
 
@NeelBasu Sorry. Being dumb. I'm stuck thinking sets rather than graphs.
 
@Ven I never use the mouse, but I often use it to select repl-to subjects. If you don't otherwise use it, it's usually in the right place already
 
@BartekBanachewicz uhu no no. I need to know the algorithms behind this and then work on it.
 
Xeo
Gawd, TCL is so godawful
 
8:41 AM
@NeelBasu boost is opensource
@Xeo +1
 
@NeelBasu it's really really simple
@BartekBanachewicz doesn't scale
 
Ya looks simple and iterative
 
btw is gold badge 500+?
eh 1000+
 
@BartekBanachewicz telling exactly What I need to achive
 
Ven
Why do you want to do TCL anyway ? Eggdrops ?
It's 2002 all over again :P
 
8:43 AM
So I cannot just use the icl functions
 
omg
Bitbucket has new UI
totally not ripping off GH
 
user1804599
@Ven generators were being worked on, right?
 
but admittedly it sucks way less than the previous UI
 
Ven
nightfold: They're done -- I did them.
(also see the generators branch, which has some improvements)
 
do you think it's still worth investing effort in LS if PureScript starts to look so good?
(no offence to the effort meant)
 
Ven
8:46 AM
it's not quite for the same people, not quite for the same thing
 
could you elaborate? I thought all those "modified haskell" languages were meant to completely replace js
(compared to Haste, which aims at bringing full Haskell to web, which is not really that good for say UI right now)
 
Ven
Until I've seen purescript libraries effortlessly be used from JS, and JS libs being effortlessly used from PureScript, i'm gonna think it's still a direction to pursue
 
user1804599
@Ven :drool:
 
Ven
@rightfold I think gkz is just waiting for node 0.12 to merge that into master
 
@Ven yeah that's a major pita. I worked on foreign export to Haste for a while (and gave up, because a day later vanderman pushed his version), and it's annoying as heck, especially with seemingly simple stuff like arrays.
if JS generators were widely avalaible and standarized, lazy haskell collections would be much easier to export
 
Ven
8:49 AM
Right-y. So yeah, I still think LiveScript can be useful :-).
JS generators are standardized
 
there was an "and" in my statement :D
 
Ven
if you can use the node version you want, you can use them. But if you're restricted to the browser, I wouldn't recomend using traceur etc, for the code they produce is horrible
 
user1804599
Soon, our new pipeline: code |> lsc |> traceur. :P
 
@Ven why should I care about the produced code (as long as it runs fast enough)?
one of my teammates had similar doubts
 
Ven
because it doesn't run fast enough
 
8:52 AM
I think it will in my case. I am going to codegen raw JS myself anyway from my "compiler" probably.
 
Ven
please don't codegen raw js :). use something like escodegen
there's no values in strings
 
@Ven oh. I guess you know way more than me about that.
 
Ven
@BartekBanachewicz You should try to implement source maps on top of raw strings. You'll see, it's fun !
 
it's from visual "language" though so I guess a bit different rules apply, dunno
 
user1804599
es6fiddle.net/hvgeadcn this is so awesome.
 
Ven
8:55 AM
I also see a lot of potential for sweetJS
 
@Mysticial That's what people talk about behind your back?
 
Ven
I've seen Sorella with a bunch of macros that look really neat (one of them being do-notation, of course)
 
morning
 
@Ven lol, the "simple example" isn't very convincing though :)
 
Ven
This is how my monadic express wrapper with Sweet.js macros is looking right now. http://t.co/Vodnxce3xb
 
8:57 AM
I wonder how would I express a[i] = b;
is that an unary expression? an assignment? a compound statement?
@Ven that lambda
 
Ven
Assignment should be an expression
 
Xeo
@Ven That looks cool
 
Ven
Who needs statements anyway ?
 
@Ven anyway it looks way cool. Should be way easier to convince my teammates to use that than full haskell I guess.
 
@BartekBanachewicz assignment?
 
Ven
8:59 AM
but not easier to debug :D.
 
failed hopes crushing
 

« first day (1313 days earlier)      last day (3643 days later) »