« first day (1130 days earlier)      last day (3827 days later) » 

1:09 PM
oho twitter dominates topic again
I've bought myself a sandwich today to prevent me from death from hunger
Too bad there's nothing to prevent me from boredom of my task,
 
Xeo
hack some Haskell together
 
I prolly will
I am happy about that average-calculating program, I made it in like 30 minutes
wooo
 
@Xeo ..and boredom becomes frusrtration.
 
meh, type errors are not frustrating
as long as you remember that the time lost fixing them will be given back to you when debugging... or lack of such
my tic-tac-toe validation took me 40 minutes to compile, but it worked flawlessly on the first run
 
user1804599
Would it make sense to enable gzip compression for image/jpeg and image/png in Nginx?
 
user1804599
1:15 PM
AFAIK they’re already compressed.
 
@rightfold nope.
zipping compressed images leads to a bigger file most of the time
 
Oh FFS I have found my tape and assembled my package but my activity has now thrown a constraint violation - I am constrained to the house. My car is at the club, ('cos pissed last night), and Anne has gone out for the day. So, I still cannot send my package :((((
 
unless it's a RLE TGA, but when you use those, you don't want to compress anyway
@MartinJames and when I come to think my GF tells me I drink too much when I get 3 beers for a LoL night
 
steal a car, not a big deal
 
@Koren and you are?
 
1:20 PM
@BartekBanachewicz Anne never tells me I drink to much - glass houses and stone-throwing. She can outdrink me.
 
Well, not on beer, but she can drink rum & coke until forever, it seems.
 
hm, I don't know
This whole >>= thingy seems way less useful than liftM
I mean, lift allows you to take any function (i.e. "normal" one) and make it operate on monadic values/computations
however, bind takes a function that's already aware of the monad it's operating on
 
Xeo
it lets you chain them
 
why don't you chain normal functions and lift that?
 
Xeo
1:30 PM
because that's not what you always have?
 
I mean, in our TicTacToe example
State is superfluous. I could just pass around (Something, Board)
 
Xeo
ugh
and doing that automatically is exactly what State is for
 
for "automatically" it requires an awful lot of boilerplate :/
 
@MartinJames Don't you often walk between house and club?
 
Xeo
@BartekBanachewicz eh
 
1:34 PM
@Xeo I need more usage examples
 
@BartekBanachewicz She's right! You need to keep a clear head when playing games! Drink after, not during! :P
Games are serious business!
 
@jalf I'm better than my terrible teammates anyway, so who cares.
until we assemble proper Season 4 team, the games we are playing now will have mediocre level
 
anyone else finds youtube's not working properly? @Mysticial, what is happening?
 
runState ((return 5) >>= (\x -> do { modify succ; return x; }) :: State Int Int) 0
(5,1)
 
@DeadMG Yes, I could indeed go and fetch my car. I'm thinking about doing exactly that. There is an annoyance factor in that the dog would go bonkers unless I took him with me. Also, the parcel-dispatch place is just across the road from the club and my parcel is too big to carry down there so I would be walking to my car so I can drive it home and then drive it back to where it was originally:(
 
1:38 PM
@MartinJames You could attempt some sort of rucksack-like device.
 
Oh, and also: the specific error you got was not because of that bug: it was because of using _1 instead of _r1 (see coliru.stacked-crooked.com/a/854d1f1cca5b92c4) — sehe 29 secs ago
I hate when people insist on blaming the tools.
To the point of semi authoritatively referring to "revelant" (cough) bug reports
 
hello to everyone individually, and on average
 
JBL
I'm not average !
 
@JBL Yet
 
@DeadMG Oh fuck it, I'll take the dog and fetch my car back.
 
1:39 PM
@JBL are you above average in weight?
 
JBL
@sehe No, I'm tall.
 
@JBL ..when lying down:)
 
Xeo
> After reading most of the posts, especially the one who said that

Even in C++11, raw pointers are still perfectly valid as non-owning references to objects.

something becomes clear in my mind. Men, if using raw pointer is still the recommended things to do in that case, isn't it the sign that something is missing in the standard?
 
@JBL so you're an average tall person?
 
JBL
1:41 PM
@BartoszKP Yup. But hello to you too ! :)
 
i.stack.imgur.com/g3laQ.png i just wanted to make some plots in matplotlib - after installing tons of dependencies this is what ActiveState Tk installer gave me :|
 
Xeo
@BartoszKP How helpful!
 
JBL
@BartoszKP Tk stands for Tonkin ? Considering the error message...
 
@Xeo I though I'll have some time to write the message after uploading the image : D
 
@Xeo lolwut
Asylum?
 
Xeo
1:43 PM
ya
 
I drunk 2 litres of juice n water in 90 mins, yet I am still thirsty ...
 
what the fuck, aren't we grown ups? why would you require user to chase numerous dependencies on the internet? :|
 
I must be dehydrated :(
 
My vita says clearly I have some experience in business application development, mainly in C++ and some Java. They approach me for a Job as a web developer and Tester in Perl and PHP, some Javascript
 
@JBL hell if I know, it's called Tcl/Tk or something like this actually
 
1:45 PM
and chatoverflow chews on my messages -.-
 
@ArneMertz they clearly want you to broaden your horizons ;0
 
@BartoszKP "why would you require user to chase numerous dependencies on the internet" // sounds like an online pedophile training tutorial
 
I can't see how even owning pointers can be sensibly avoided in some cases, (usually with C-style API's that setup callbacks).
 
@BartoszKP if so, I'll get involved with Haskell to understand what you guys are talking about half the time here :P
 
JBL
@BartoszKP Haha, no, Tk should stand for "Toolkit".
 
1:46 PM
@BartoszKP but not Javascript and PHP
 
@Xeo Oh well, tweeting.
 
@ArneMertz I got an offer that required "C/C++ and HTML, JS or CSS"
 
@ArneMertz yeah, I'm plan to do this too :D
 
@BartoszKP dooo eeet
 
@BartekBanachewicz What a wonderful combo. Don't forward it to me.
 
1:48 PM
do
    it
 
@BartekBanachewicz was it intended to "eeet" resemble "eet" from dutch? -.-
 
Hmm.. an AJAX snake...
 
@BartoszKP nah
 
@BartekBanachewicz phew. I though you started becoming belgian
wait, they don't use dutch in Belgium right?
wait, they do
nvm :B
What is equivalent of Linq in Java side? haha, you'd wish, looser ;0
 
Xeo
> or $ map even $ (^. _1) $ ([1],[2]) -- works
> let f = or . map even . (^. _1) -- fails with some instance error :(
 
1:58 PM
Sounds like monomorphism restriction.
 
welp
I loaded up Ubuntu.
 
lol
Not only Ubuntu sucks, but now Canonical is openly evil too.
3
 
Xeo
@R.MartinhoFernandes oooh, I totally forgot that
thanks, that helped
 
@R.MartinhoFernandes openly?
 
2:01 PM
yeah didn't rms talk about that?
 
if they really wanted to help us find anything they would add google
 
@R.MartinhoFernandes how are they openly evil?
 
Can't you read?
 
huh.
apparently Ubuntu comes with gcc but not g++?
 
2:04 PM
@GamesBrainiac they just made one of those ie search bars part of their distro
@DeadMG thats it , now ubuntu must die !
 
@DeadMG They keep it in a separate package. Appropriately named g++, I think.
 
@R.MartinhoFernandes Yeah, I found that, it's just strange.
also, fuck apt-get install hardcore.
apt-get install svn -> nope.
 
Prolly subversion.
 
dunno, I didn't check
 
synaptic
or whats its name
 
2:06 PM
omg, stupid fucking "compile from sources" linuxcentric shit. I want to use Python with Python modules on this machine, why the fuck would I want to have another compiler and spend days compiling from sources hundreds of dependencies. fuck this childishness
 
ok, hang on, I know that libstdc++ has this whole binary compatibility thing going on, is that true between debug and release as well as between versions?
 
@DeadMG like backward compatibility ?
 
@CatPlusPlus Probably the vowels
 
Yes, I had more then one error in my code. I've probably mistook one error with another. Thanks again. As you guessed I'm using Spirit V2 - this version is a requirement for the product I'm working on. Cheers! — Marcin 21 mins ago
Oh god. So dismissive.
I hurts
Please read more closely. BOOST_SPIRIT_USE_PHOENIX_V3 is very much Spirit V2. In fact, in my experience PhoenixV2 support in SpiritV2 is more of a legacy thing (many many errors have been fixed in PhoenixV3 and I've never seen anything break in Spirit due to using PhoenixV3) — sehe 32 secs ago
 
@GamesBrainiac Apparently not openly enough...
 
2:12 PM
He's been dismissing all feedback - however spot on - since the very first comments.
Now he's still rejecting the solution, all because he can't be bothered to read the actual messages. <mind blown/>
@GamesBrainiac by harvesting/tracking/targeting online activity and advertisements
 
what on earth is a release + debug + asserts build? :(
 
it's a white raven
an immaculate conception
a bug free build
 
Optimised build with debug info and asserts on?
 
you won't get much use out of debug info after optimizations
 
@R.MartinhoFernandes Sorry, my internet is a little slow, those comments just popped up
 
2:18 PM
@DeadMG You can get half-understable stack traces, I guess.
Instead of ??? ??? ??? ??? ???
 
not really saying an awful lot.
I'm used to a lot more than just a stack trace
 
Xeo
Argh, navigating lens docs is a pain
 
@DeadMG better than nothing if you encounter a bug reproducible in release and not in debug (like if 5 years ago someone happened to be so stupid to use gsoap :| )
 
yeah, but I'm not in release so I don't give a shit
but turning on all the debug options in ../configure doesn't seem to have had much effect, unfortunately
 
@DeadMG sometimes you have no choice, e.g. if there is some error appearing only in release build
 
2:22 PM
yeah, but that's not me and I don't even want a release build but the stupid configure file didn't have the courtesy of coming with a "--debug" option.
 
@DeadMG but the tester whose release build crashe gives a shit - even if you can't reproduce the error in debug build ;)
@DeadMG ah ok, well - then make one?
 
you are kidding, right?
replace some other projects configure with my own configure?
 
What are you building?
 
LLVM.
 
@ArneMertz easier said than done
 
2:24 PM
Did you look at configure --help?
 
yes.
 
FUCK, I just wanted to make a simple plot in 5 minutes, and I've spent 1,5 hour downloading dependencies, compiling libs and other shit, and this fucking matplotlib still doesn't work, what a piece of shit
 
it clearly states that not only should configure build in Debug mode by default, but I even passed an explicit flag saying "Fuck off, no optimizations!".
neither of which is stopping Make from saying "Oh hey, it's release + debug + asserts!".
 
@DeadMG what about the --disable-optimized option? :-)
ok just scrap that
too slow today
 
2:28 PM
oh whatever
I guess I'll just have to live with release + debug + asserts.
 
and gmake ENABLE_OPTIMIZED=0 won't do it either I suppose?
 
welp, now I just need to wait for three hours whilst LLVM and CLang build, and I download and build Boost, and I can't even play Starcraft 2 whilst it's happening.
 
Xeo
@R.MartinhoFernandes How do you lensly map over a list?
@DeadMG Huh, LLVM/Clang by default built with just debug for me.
 
that's what the docs say should happen.
 
@DeadMG you might have CFLAGS / BUILD / CPPFLAGS stuck in your environment?
 
2:41 PM
oh gawd, environment variable shit
don't even wanna think about it
 
does haskell compile to binary?
yes, it does. I'm losing my head :(
 
does anyone have some code that implements an intelligent way of comparing 2 names that I can borrow?
 
@GamesBrainiac yes
 
> The Boost libraries requiring separate building and installation are:
link.jam: No such file or directory
nice job Boost.
 
TIL that long double exists and it's 16 bytes long on average.
 
2:53 PM
for example "lizzy whitening" & "liz whitening" will return above 80% match but it will return less than 50% match to "louis whitty"
 
Mornin
 
@Jefffrey extension?
 
@Pawnguy7 If you mean C++ extension, no.
 
@DeadMG Yum, jam.
@Jefffrey No, it's not.
 
@User17 you need to define your distance measure more precisely. also, seems like just a good name synonym database would help
 
2:56 PM
@R.MartinhoFernandes Listen, I've tested on Coliru and sizeof says it's 16 long. The average of one test is the result of that test, ergo what I said.
 
@Jefffrey lol
 
;)
 
IIRC in MSVC it's just double under another name.
 
they used to have it as 80bit x87 FP type, I think
 
(And IIRC, even on GCC it only has 80 bits of precision)
 
2:58 PM
@BartoszKP my current method works for names that contain ascii characters, but breaks when using other characters in the utf8 strings. not practical to have a database of synonym for all languages
 
I've posted 4 bug reports
 
for?
 
and I'm already dying from boredom
 
Make a snake clone.
 
@Pawnguy7 super secret special stuff.
 
Xeo
2:59 PM
@BartekBanachewicz find out for me how to lensly map over a list :/
 
@Jefffrey I'll make one in haskell soon enough
 
Good.
 
@Xeo Lenses are still on To-Do list for me
Anyway, I think I should focus on Haskell more
 

« first day (1130 days earlier)      last day (3827 days later) »