« first day (1227 days earlier)      last day (3737 days later) » 

user1804599
3:00 PM
@thecoshman compile utils module.
 
user1804599
@thecoshman yes and it has to start with -module(utils)..
 
user1804599
sleep in Erlang is rather nice. :)
 
user1804599
sleep(Seconds) ->
    receive
    after Seconds * 1000 ->
        ok
    end.
 
@rightfold well, ms but yeah
@rightfold well, it's more that the Eshell, I had to c(echo) and then c(utils). I assumed that the vm would load utils when I loaded echo, as echo needs utils.
 
user3010322
THE LOVE SUICIDES AT SONZEKAI
 
user3010322
3:02 PM
It's like Romeo & Juliet... before Romeo & Juliet
 
user1804599
@thecoshman I always use Rebar to compile stuff so I don’t know.
 
@rightfold bleh, allow callers to do that multiplication, or offer a 'sleepSeconds' :P
@rightfold ... which is?
 
user1804599
It is a build system for Erlang.
 
user1804599
Everybody uses it.
 
oh ok then :P
why fight the masses :P
 
3:04 PM
Is there an u modifier (regex) in the boost lib ? background
 
so will that scour all the referenced modules and produce one final beam that you can run?
 
It doesn't compile to one beam
 
user1804599
No.
 
user1804599
It will place all beam files in an ebin directory and you can start the shell with erl -pa ebin.
 
oh ok
 
user1804599
3:05 PM
-pa means “path add,” i.e. add the directory to the set of paths where modules can be found.
 
well I guess I will get to all this at some stage :P
 
@ThePhD vOv I wish people stopped asking me, because I have no more creative insight
Officially someone take over the project tia
 
user3010322
u.u
 
if you just need someone to make the calls, I'll do it :P
 
user1804599
Cool.
 
user1804599
3:08 PM
Ham has operator overloading.
 
I just found a 34 argument function
 
@RagingScallion Which Windows API is it?
 
JBL
@RagingScallion You should also specify the number of default args, because 34 arguments with 32 defaults is cheating.
 
@JBL either way, it's a crime
 
Will the prototype fit in a chat post?
 
JBL
3:15 PM
@thecoshman Oh sure, but with the 32 default args, it's a much harder case to solve for the C++ police.
 
@JBL no it's not. Strip all those args out into one POD struct, have 32 of those default constructed. Messy? sure. as messy? no where near.
 
JBL
@thecoshman Totally the Windows API in fact.
Just realizing.
 
'just one more parameter' is a dangerous thing :P
 
JBL
Well in this case that sounds more like "Mmmh, just 20 more".
 
0
Q: Why are there so many bins amongst Stackoverflow chat rooms

sudo rm -rf TelkittyI have been noticing for a long time the number of bins amongst Stackoverflow chat rooms. Here are a few: bin recycle bin then there are a few more ... pedantic bin trash can dust bin void /bin/gif There are a couple more if you type 'bin' in a chat room search. I understand the need f...

 
3:25 PM
lots of trash on the Internet
 
@JBL no, it's "just one more", but just 30 times over. That's the problem.
 
JBL
@sudorm-rfTelkitty A question about a fundamental design flaw of chat. Mmmh how will it end?
 
can't believe someone did not ask this question first :D
 
@JBL sorry for the late answer - I have it and it gave me a huge step in the understanding of templates. Maybe wait for a new version that includes variadic templates, tho
 
BTW thanks for the upvote
 
JBL
3:31 PM
@ArneMertz Thanks for the advice, though I think I'll still get it (I'll buy an "update" if needed, but for now, this one should be good).
And waiting for new versions is hard :( (e.g. Scott's Effective C++ for C++11)
 
JBL
@RagingScallion Yum !
 
@rightfold is it 'right' to think of modules as classes?
 
user1804599
No.
 
user1804599
You cannot create instances of them.
 
3:35 PM
or do I just need to try to not think of classes at all?
 
user1804599
The thing that is closest to an object is a pid.
 
obviously no. well, namespaces is probably a better equivalent then?
 
user1804599
Yes.
 
but I meant more in that each module should have a single focused role, like a class should.
 
user1804599
Yes, duh.
 
user1804599
3:38 PM
SRP doesn’t apply only to classes but also to modules, functions, programs, variables and everything.
 
user1804599
(No wonder most software is terrible.)
 
right right fold right
 
@sudorm-rfTelkitty :D
 
3:54 PM
Delphi has had modules since forever. Interface section only compiled once, no header shit and compiles order-of-magnitude faster than C++, (if only the resulting executable was as good:).
 
user1804599
Objective-C also has separate interface. I like it.
 
user1804599
But with header files. :P
 
@MartinJames To be marginally more precise than "since forever", most of this came from UCSD Pascal, which formed the basis of Turbo Pascal, which (in turn) formed the basis of Delphi.
 
@JerryCoffin Whatever - it's about time C++ caught up. I can't remember ever having a linker error in Delphi - if it compiles, it links. With C++, however....
 
ah shit
half an hour stacking firewood and I can hardly stand.
 
JBL
4:06 PM
@DeadMG Damn I want to play. Gnnn 2h15 to wait...
 
@DeadMG FYI puppy from 40 minutes ago, when you lift stuff, don't bend from your back :P
 
yeah
it wasn't "I can hardly stand because my back is killing me"
it's "I can hardly stand because I'm super dizzy and weak".
i.e., the side effects of not eating
 
@DeadMG Yeah - you need to stop all that physical exercise stuff till you get fixed. If you just sorta waste away to nothing, we'll have to operate all those bins ourselves:(
 
yeah
I already spend the maximum amount of time possible doing as little as possible and I can barely maintain my current weight.
if I actually did shit I'd starve to death
 
Xeo
@DeadMG you should've tried not-eating with Haskell. now you gotta deal with side-effects.
9
 
4:12 PM
Pinging google.com [173.194.70.113] with 32 bytes of data:
Reply from 173.194.70.113: bytes=32 time=997ms TTL=50
Reply from 173.194.70.113: bytes=32 time=996ms TTL=50
Reply from 173.194.70.113: bytes=32 time=994ms TTL=50
Reply from 173.194.70.113: bytes=32 time=994ms TTL=50
Reply from 173.194.70.113: bytes=32 time=993ms TTL=50
Reply from 173.194.70.113: bytes=32 time=992ms TTL=50
Reply from 173.194.70.113: bytes=32 time=992ms TTL=50
WTF
 
pretty sure that eating and not eating are part of the IO monad.
 
user3010322
One second pings. Wow. o.0
 
@DeadMG I hate being sick for the 2-3 days it takes to get over a cold, never mind what you have had to put up with :(
 
200ms of that is just to the router. WTH
 
user3010322
Dat cable.
 
Xeo
4:14 PM
@DeadMG here, here, I qualify!
 
user3010322
Your network being flooded?
 
if someone moved the fucking router again I'm gonna fucking kill them
 
@Xeo heh
what I'm gonna do I think is get some multivitamins or someshit from tesco and see if they can make a difference
 
Xeo
in other news, customs fucked up my package. ugh.
 
people like me is exactly what they're made for.
 
4:15 PM
@melak47 time=30, 29, 35, 33 from here to Google.
 
yeah that's usually what I get
wtf is happening
 
user3010322
@DeadMG I guess you could say you're becoming a Vitaman!
 
disconnect from wireless, reconnect, back to normal. 1ms to router, 29 to google....
 
user3010322
ba-dum-tss!
 
user3010322
/cc @Borgleader You're rubbing off on me ^
 
4:17 PM
@Xeo oh yeah, the WeightLoss monad is such a life saver.
 
@melak47 OH - wireless, hahaha..
 
user3010322
@melak47 :D
 
@ThePhD Sounds like I'm participating in a terrible advert for the PS Vita.
 
user3010322
Look on the bright side: you're a puppy, not a squirrel.
 
4:21 PM
I'm not seeing what the bright side is about this.
 
@LightnessRacesinOrbit lol what did you do
 
Xeo
@LightnessRacesinOrbit you suck
did you flag one of his messages?
 
user3010322
Lightness was flagged from the chat? o.0
 
@ThePhD theCoshman has been coshed.
 
user3010322
4:29 PM
The stir has been stirred.
 
I hope google doesn't mind if I perma-ping them so I can tell when my router/wifi is fucking up again~
 
@melak47 Batch file with a ping/wait loop?
 
ping -t google.com :p
a batch file with a wait to lower the frequency might not be a bad idea though :p
 
@melak47 That's flat-out:( Google will not notice though.
 
tomorrow on the news: Berlin C++ Hacker arrested for DDoSing google >_>
 
4:34 PM
I've Google-pinged all night from multiple clients before, when testing network connections.
 
0
A: Why are there so many bins amongst Stack Overflow chat rooms?

DeadMGThis question presupposes that the bins are created for some kind of logical reason. They're not. They're created as a filthy hack around the fact that the chat is not actively maintained so you can't delete messages. None of the bin rooms should actually exist. But until the developers start d...

 
Oh look - waited a long time today for the 'j = i++ * ++i;' in C
 
@DeadMG no need to be rude.
> this shitstorm of hacks is what we're stuck with.
 
that's a factual appraisal of the situation
 
LoungeSpeak™ is not acceptable in meta. It's not very convincing.
 
4:38 PM
"shitstorm of hacks" is rude?
They are hacks.
 
@R.MartinhoFernandes ... seriously?
 
Yes, seriously.
 
Thinking something and formulating that something into an argument is not the same thing.
 
I'd say 'shitstorm' is an inaccurate description of the situation but that's a different matter.
 
well, arguably it is not literally a storm of shit, but, you know.
 
4:40 PM
A "shitstorm of hacks" sounds disrespectful.
 
user3010322
Clusterfuck of workarounds, maybe.
 
@DeadMG No, I mean it's not shitstorm because there's really no big controversy around it. It's more or less accepted by most chatizens. Quite the opposite of a shitstorm.
 
@BenjaminGruenbaum It is disrespectful.
 
@BenjaminGruenbaum Sounds like something you find in the pub over the road from the newspaper offices on a Friday evening.
 
4:41 PM
the purpose of stating it that way is to be disrespectful.
since the current situation is not really worthy of respect.
 
@BenjaminGruenbaum I think "hack" is a pretty accurate formulation of this idea. In fact, I think it's probably the best formulation.
 
You're SE, you have this chat feature you don't really care about all that much. You use it internally and the mods coordinate their QA in it, but it's generally not a very popular tool that doesn't really drive traffic in.
 
It's pretty much like kings (SE) and poor citizens (us): "I'm hungry :(" -- "Yeah, yeah, whatever. Hold my gold goblet, I need to take a piss"
 
As long as the 'cost' of the chat is lower than its value, or they have sentiments about it - they keep it.
However, the chat does not generate revenue, it does not drive traffic in and it is not a really fundamental part of SO.
 
4:43 PM
yeah, except many of their high-rep thousand-answer users basically only stick around because of it.
 
@R.MartinhoFernandes Sadly 'disrespectful term for a journalist' is a missing definition.
 
You've got to be kidding me, the chat as a whole has around 100 users.
 
@DeadMG Not so many, actually.
 
Even if you have 20 people here who are hardcore users and will quit if the chat is down, that's still less than the cost of the server, maintenance, QA, staff time, overhead etc of the chat - not to mention actual development.
 
well
not that I'd ever admit this on meta, but I probably lost my active value to SO years ago
 
4:45 PM
I think the logical move would be to open source the chat and accept PRs - that would be really nice and would totally solve the problem. Then again, that's still more overhead than nothing.
 
..but I did notice this:
http://www.catb.org/jargon/html/V/vadding.html
..which I misread as 'Vladding'.
 
I pretty much only chat and grump on Meta now
 
@BenjaminGruenbaum how so?
 
For it to be "economical" for them to continue developing the SE chat they'd have to get a staff member volunteer to run and manage the repo.
@Jefffrey I'd make PRs for common & annoying bugs like flag number
afk
 
... or they could simply trade it off by adding adverts in the bottom right or something.
 
4:47 PM
@BenjaminGruenbaum how's that "expensive"? You just have to check the diffs and accept
 
@Jefffrey lol?
 
@Jefffrey What happened to your avatar D:
 
The word "hack" was first used to address Fleet Str blunt nib brigade by "Private Eye" Males were "hacks" and females "hackettes".
Usual definition, "hack" was a pen for hire to write quick lurid and sensational script, also for promotion blurb.. Sometimes paid by the word, so the more words the more money.

So, JavaScript/PHP developers:)
 
@Borgleader Oh, right...
I changed primary email
lemme fix that
 
The "logarithmic" generation of TMP indices is actually O(log^2 N), right?
 
4:58 PM
yep
 
hah hah hah! yet another ban that coincides with me heading home.
ps, fuck you @LightnessRacesinOrbit
 
is it possible to remove files from a pull request in stash or git?
 
@R.MartinhoFernandes no?
 
@Crowz no...
 
hm I'm not quite sure how to handle this problem then.
 
5:15 PM
Namings in Haskell seems as fucked up as PHP's
 
@thecoshman :D
 
For example, with Product you have getProduct, with pairs you have fst. Why not prd or getFirst?
also suddently you have prefixes, like in fmap or mappend...
 
Well, look at the time. It's almost time to feed myself.
 
couldn't they have Data.Functor.map or something like that?
or Data.Monoid.append
 
@LightnessRacesinOrbit why?
 
5:20 PM
lol, then you have newtype
 
Hello, Cruel World
 
I might be the only one not seeing the patterns here, but this seems really fucked up.
 
@thecoshman life isn't fair
 
My understanding is that modules came later in the design.
 
you said it yourself; if I should get suspended for it then so should you ;)
 
5:28 PM
sup biatches?!
 
up in dis joint
 
I'm bored in this joint
 
user3010322
Work on your regex parser. :D
 
user3010322
Orr, find a cute girl.
 
user3010322
Orrrrrrrr, build a rocket.
 
5:30 PM
@LightnessRacesinOrbit ¬_¬ the solution is that you shouldn't get suspended in the first place
 
@thecoshman I shouldn't have been. The exact same logic applies to you, sir!
 
@ThePhD ugh
 
Consider yourself a valuable part of a social experiment and demonstration
Your feedback is important to us
 
IMPAHTANT
 
user3010322
If you could stay on the line, we will offer you a survey of your experience today
 
5:31 PM
@LightnessRacesinOrbit except you weren't flagged because someone was upset about getting a wee ban of their own.
 
@LightnessRacesinOrbit lol that was pretty good, I'll give you that one
 
user3010322
Why was lightness banned, anyways?
 
BYOS. Bring Your Own Strawman.
Sounds like Le Dîner de Cons.
 
user3010322
Usually Lightness is a stickler for the rules, if ready to troll and skirt them from time to time.
 
It's time for lunch.
The most exciting part of the day.
See you guys when I get home in like 6 hours.
 
user3010322
5:34 PM
Lol.
 
user3010322
Okay.
 
user3010322
Buhbyyye~
 
@ThePhD he said 'nigger' vOv
 
user3010322
Oh.
 
user3010322
Lul.
 
5:35 PM
@thecoshman I didn't flag you because I was "upset". In fact, I was not upset
 
user3010322
Spiteful is a better word, maybe?
 
@ThePhD Sums it up!
@ThePhD I wasn't
 
@LightnessRacesinOrbit but you did flag me vOv
 
@thecoshman Correct!
 
@melak47 I think we might have crew for another ship soon :3.
 
5:36 PM
@LightnessRacesinOrbit ... you were
 
Just sharin' the love
@thecoshman No, SO chat doesn't have bans
 
@LightnessRacesinOrbit fucking call it what ever you want
 
@thecoshman thank you for your consideration :)
 
mapFst
you got to be kidding me
 
5:37 PM
@Jefffrey fuck that. Lenses.
 
@EtiennedeMartel teehee
 
Haskell's naming is officially fucked up equally or worse then PHP's.
 
@LightnessRacesinOrbit Hey, come to think of it, it's your idea.
Go out and make money with it. Or something.
 
@Jefffrey it's consistent camelCase
 
@BartekBanachewicz newtype
fmap
 
5:39 PM
lol
 
newtype is a keyword
fmap is.. well, okay
maybe they wanted to express that fmap is a new word really
 
mappend, mconcat, mwhatever
 
like, fireTruck and firetruck can still both be valid
 
except firetruck is not "consistent camelCase"
 
@Jefffrey slow down I'm going short on made up arguments
3
 
5:41 PM
@BartekBanachewicz fmap sounds like a Lisp function.
 
@Jefffrey it can be
 
lol
 
@EtiennedeMartel There's a donate button on my profile
 
@LightnessRacesinOrbit You're so greedy.
 
and what's up with those "let's save few characters" functions like fst and scd?
also what do we use: getX or x?
 
5:42 PM
@EtiennedeMartel om nom nom
 
@Jefffrey Lenses.
 
What are Lenses?
ELI5
 
@TonyTheLion something to overcome the fact that Haskell is not so good to express "state"
 
@TonyTheLion Control.Lens is a library for traversing data structures
@Jefffrey not really, MonadState additions to Lenses are... well, additional.
and Haskell is perfectly good in expressing state
 
hmmmm
 
5:44 PM
look, it has it in standard library.
 
well, ok. I don't know much about that so I'll give you that
@BartekBanachewicz is it in the "default" package?
the standard library?
 
@Jefffrey mhm. Try :m + Control.Monad.State
 
Xeo
@Jefffrey Lenses and State are orthogonal
 
@BartekBanachewicz any data structures?
 
Xeo
it just so happens that they work together extremely well
 
5:45 PM
@TonyTheLion yeah.
 
I see
 
I still don't know what a monad is. And, no, I don't care.
 
so a lens is not a construct but a library?
 
> Could not find module `Control.Monad.State'
 
5:46 PM
@BartekBanachewicz I'm talking about the standard library. They both use getX and x and xinshort interchangeably
 
@Xeo is this ^ supposed to happen?
 
Xeo
State is not actually part of the stdlib, IIRC. cabal install mtl
 
OIC.
@LightnessRacesinOrbit for the purposes of following future conversations, s/Monad/Context/
 
user3010322
Hm.
 
user3010322
Transliterating "yolo" to Japanese...
 
5:47 PM
oloy?
 
user3010322
よぉ!
 
user3010322
That's going to be the title of my paper about the Hakagure (The Way of the Samurai)
 
Xeo
that's just 'yoo'...
 
@TonyTheLion yes.
 
user3010322
@Xeo Close enough, right?
 
user3010322
5:48 PM
I mean, there's no real "lo" sound, right?
 
user3010322
Unless i made it "yoro"
 
user3010322
よろ!
 
@ThePhD よろ
 
@BartekBanachewicz rather for the purposes of following your future conversations about Haskell, s/.*//
 
user3010322
Sounds weirder.
 
Xeo
5:49 PM
the 'r' sounds are actually something between l and r
 
ah you were faster
 
Xeo
and often function as 'l'
 
user3010322
Is there a "Yolo" in Japanese?
 
Xeo
dunno
 
@LightnessRacesinOrbit you must really enjoy being ignorant :)
 
5:49 PM
@BartekBanachewicz it's great
#haroo #yoro
 
ignorance is bliss
 
user3010322
Hee.
 
ignorance makes you happy like a motherfucker
 
Xeo
@LightnessRacesinOrbit y'know, then just don't say anything and ignore it
 
user3010322
@Xeo I'm gonna spell it ヨロ! And have my teacher get mad.
 
5:50 PM
@LightnessRacesinOrbit Do Monads have no "proven value" to you? :P
 
git why doth thou torment me so?
 
so I started writing an Arkanoid with my library
and improved some code
    let when' b a = do
        b' <- b
        when b' a

    let whenK k a = when' (glishaGetKey k) a

    whenK GLFW.Key'Right $ player.inst.position.(element 0) += 0.01
    whenK GLFW.Key'Left $ player.inst.position.(element 0) -= 0.01
    whenK GLFW.Key'Up $ player.inst.position.(element 1) += 0.01
    whenK GLFW.Key'Down $ player.inst.position.(element 1) -= 0.01
I have to do something about those pesky xs and ys
Vectorable typeclass or something
 
lol
 
Xeo
@BartekBanachewicz ew, zoom it
 
@Xeo eh, it will be replaced by some logic-checking code anyway
 
5:54 PM
Why do I bother? 'pthreads' is up the the expected 'multithreading' standard today - an incorrect/misleading answer gets accepted, I get one upvote:(
I think I'll go to the pub early.
 
> Meta Stack Overflow is currently offline for maintenance
 
user3010322
Smart dog.
 
user3010322
Taking out the cat before it does any real damage.
 

« first day (1227 days earlier)      last day (3737 days later) »