« first day (1599 days earlier)      last day (3344 days later) » 

4:02 AM
Night
 
@chmod711telkitty IS has proven to use the media already in very drastic ways. Missing subleties (or suppressing these) blatantly.
@orlp Casting such a lot of rays it's cist.
 
there are probably a lot of young people nowadays who don't own a house or a car but know how to use online media - online gratifications are cheap.
(^ hint only aims to upset terrorists who use online medias to gain attention)
 
4:22 AM
@chmod711telkitty It never was about physical estate. Though I have to admit, in earlier times that made access to media easier. Now media broadcasting is ubiquitous, and available for anyone.
No matter how stupid/awkward the contents are.
 
user3010322
4:33 AM
Oh, man.
 
user3010322
Do I really, REALLY hate R.
 
user3010322
Fuck this shit.
 
user3010322
I'd rather compile eigen and write my own DBSCAN Algorithm in C++.
 
Man.
Templates + type traits + recursion + enable if + typo = 4.2 GB usage when compiling
I forgot a parentheses and there it goes eating my RAM
 
This is why text-based source code is inherently flawed.
Or just C++.
 
user3010322
4:46 AM
You'd think it'd stop after a while.
 
user3010322
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 
it didn't finish printing errors
which I found odd
until I looked at the task manager
and it was just eating RAM bit by bit.
 
user3010322
"I need to read a csv file and read a bunch of files from a directory"
 
user3010322
C++: "HOW CAN DO?"
 
user3010322
Fuckin' need a library for everything.
 
4:47 AM
what kind of scrub needs a library for CSV files
 
user3010322
> read a bunch of files from a directory
 
#include <filesystem> in C++14.
 
user3010322
I wonder if my school supports C++14.
 
user3010322
HAAAAAAAAAAAAa HAHAHAHAHAHA
 
user3010322
gcc 4.6.4
 
user3010322
4:49 AM
Whatever, fuck their faces.
 
<filesystem> is WIP for GCC
 
I once asked the teacher that "thaught" C++: "why don't you teach C++11?" His answer: "the compilers are difficult to install, and besides, what's the difference with regular C++ anyway?"
 
user3010322
Fuckin' GCC always behind shit.
 
doesn't exist in libc++ either
not even WIP there
 
The same guy who said int const foo() and int foo() const was merely a syntactical difference.
sob
 
user3010322
4:51 AM
Surprise Surprise, VC++ the only one even with their shit compiler actually having a fully rolled out std library.
 
user3010322
@ParkYoung-Bae Ouch.
 
@ThePhD STL is a great guy
 
VS <filesystem> is massively outdated
Based on Boost.Filesystem v2
 
user3010322
Better than the void of nothingness. :v
 
> Is using a getter in a for-each loop inefficient?
 
user3010322
4:52 AM
Might as well just go use Boost.Filesystem
 
Boost.Filesystem v2 is D E P R E C A T E D.
Boost.FS is the best boost library anyway
 
@ThePhD As in, not.
@Rapptz It's not.
 
@R.MartinhoFernandes It was when I checked!
VS2013.
 
It's V3-ish in the V2 namespace.
@Rapptz Ah, that, yeah.
 
user3010322
#include <filesystem> exists.
 
4:53 AM
I'm well aware.
It was added in VS2012 iirc.
 
user3010322
When I was in STL's office he was fixing some <filesystem> bugs, I wonder if he rolled out the changes...
 
I tried implementing Boost.FS myself
I forget why I stopped
I think it had to do with locales.
Or codecvt.
Yeah codecvt sounds familiar.
and converting std::wstring to std::string and stuff.
 
user3010322
Eww.
 
triggers my PTSD
forgot to close cc1plus.exe
 
user3010322
WTF
 
4:56 AM
?
 
user3010322
I can include filesystem BUT IT DOESN'T HAVE THINGS IN IT?!
 
lol
 
user3010322
Oh.
 
user3010322
It's not in std:: or std::experimental
 
user3010322
It's in std::tr2
 
4:56 AM
PEBKAC
 
user3010322
Why is it in std::tr2?
 
3 mins ago, by R. Martinho Fernandes
It's V3-ish in the V2 namespace.
 
3 mins ago, by Rapptz
It was added in VS2012 iirc.
 
5 mins ago, by Park Young-Bae
@ThePhD STL is a great guy
 
user3010322
I thought std::experimental was the offici- you know what nevermind I'm just dumb.
 
4:57 AM
now, not back then
Oh yeah.
GCC 5.0 boasts fully complete C++11 stdlib
I bet they don't have the locale shit
 
@Rapptz do they have <regex> now? :D
 
4.9
don't use
 
lol?
 
slow implementation and slows down compile times massively
Boost.Regex is way better
It's so slow that it exceeds Coliru's default 15s compile time limit
 
@ThePhD std::tr2::sys, innit?
 
user3010322
5:00 AM
@melak47 Yeah.
 
user3010322
std::tr2::sys::path matricesdir("matrices");
 
@Rapptz jeez :S
 
takes 2.8s on my machine
#include <regex>

int main() {
    std::regex r("\\d\\s*?\\d");
    return std::regex_match("1    2", r);
}
 
Is it possible to statically compile an std::regex through some constexpr magic?
 
5:07 AM
real 0m7.821s
user 0m7.208s
sys 0m0.564s
on coliru
 
> Copyright © 2007 Eric Niebler
I don't know what I expected
 
lol
Boost.Xpressive is actually really nice IMO
it's not actually constexpr though
it's static compile time in C++03 though
 
That's nice already
 
@melak47 See! Slow. And it's a really trivial program.
 
user3010322
Lol
 
5:10 AM
Nov 23 '13 at 13:03, by Rapptz
boost regex takes 30s to compile a single regex
 
user3010322
I'm using <filesystem> and <regex> in this assignment.
 
user3010322
Uni computers can eat shit.
 
true benchmarking software
 
user3010322
std::regex r("([A-Z]+)_([0-9]+)_([0-9]+)(.([0-9]+))?");
 
user3010322
Fufufufu
 
5:15 AM
My last benchmark for std::regex was 157x slower than Python regex.
Not a fair comparison though
 
@chmod711telkitty IS has proven to use the media already in very drastic ways. Missing subleties (or suppressing these blatantly)
 
@ThePhD Is there a reason sol's tests are all in a single file?
 
user3010322
@ParkYoung-Bae Complete and utter laziness.
 
Alright.
 
Because I stole the tests from bartek.
 
user3010322
5:20 AM
I'm planning on fixing it after I finish this program and this stats assignment.
 
and they were in a single file
 
Sometimes it’s about Data.Monoid.First, sometimes it’s about Data.Semigroup.First.
 
@Rapptz Bartests
 
user3010322
5:37 AM
@ParkYoung-Bae A test to become a lawyer!
 
user3010322
What's the opposte of atoi?
 
user3010322
itoa?
 
user3010322
ftoa?
 
user3010322
.... Grr, goddamnit C++
 
std::to_string :p
 
user3010322
5:38 AM
Maybe it's stoa
 
user3010322
@melak47 I'm looking for std::from_string, basically.
 
boost::lexical_cast :p
 
@ThePhD std::stoi
 
user3010322
stoul!
 
user3010322
@ParkYoung-Bae Or that.
 
user3010322
5:39 AM
:D
 
user3010322
LMAO
 
user3010322
There's no std::stou
 
user3010322
But there's a std::stoi
 
user3010322
SMH C++ be consistent pls.
 
oversight
 
user3010322
5:44 AM
Is it going to be added in anytime soon or do they just figure nobody's gonna ask?
 
no one has asked for it
outside of SO
 
user3010322
Guess I'd better Formally Complain™.
 
Morning!
 
Meowin ... Da afternoon
 
My conclusion is that prisms are weird.
 
5:57 AM
@chmod711telkitty Hello, Skippy.
 
@LucDanton Is that the name of some functional construct
 
@ParkYoung-Bae Optics!
> _Just = prism Just $ maybe (Left Nothing) Right
see, the thing that bothers me is that you can have maybe (Left undefined) and I don’t see any difference. so no clue why there’s an Either for implementing that stuff.
…this looks to be horrific Profunctor abuse. I think I’m done for the day.
 
6:33 AM
yay
I'm not sure why I thought this was illegal.
 
hello!
 
> One of the main reasons why the non-copyleft LLVM project was started was to allow Apple to entrap customers with proprietary extensions (embrance and extend) that don't exist in the open source version of LLVM
 
@Rapptz Yeah, I think I spent around ~1y writing forward decls everywhere :/
 
@ParkYoung-Bae bs. it was just pissed of engineers
 
@Rapptz You can even define in-class and declare outside. Which results in the same thing: a friend which address can be taken.
 
6:38 AM
@starmole Yes but it's a good troll. I will reuse it.
 
@ParkYoung-Bae yes. baited me. you should have followed through :)
so... modern c++ style question: should everything just be references, or use wrapped pointers?
 
> I hope you guys understand it. This program is stressing me out for real and I have no single idea to come up with it. Thanks pls do contact me if you have further questions.
/cc @LightnessRacesinOrbit
@starmole Naked pointers
 
@ParkYoung-Bae of course. but that is C. out of style. also i am bored. i can try to help with your problem. results not guaranteed
 
7:08 AM
Stop getting trolled bub.
It's hurting my head.
 
TIL Firefox wasn't 64 bits yet
How could I not notice
Thanks a lot. I can solve my curiosity because of you. Have a nice day — lhc 4 mins ago
omg someone being nice on SO
 
7:44 AM
what the hell gdb.
 
lol
 
Program received signal SIGSEGV, Segmentation fault.
0x00007ffe5abe3eb5 in ntdll!RtlFreeUnicodeString () from C:\Windows\SYSTEM32\ntdll.dll
I don't know how I can fix this.
 
NT dll .. Sweet
@Rapptz are you sure the json you are trying to parse is correct?
 
It's not parsing that's crashing.
It's dumping to stdout.
Parsing is actually correct. Thankfully.
I'm not even sure why it crashes.
 
Use a simple Jason to test The functionality
 
user1804599
8:24 AM
@wilx no
 
@Rapptz love those template logs
 
Yeah that's how I roll.
 
8:41 AM
anyone else here used 'gerit'
 
You mean gerrit?
 
it's a code review tool
for git
but it seems painful to me
not sure if it is the tool itself, or the way we have it set up here.
@ParkYoung-Bae ¬_¬ yeah
ever used it?
 
qt guys use gerrit
 
It's odd... at least how we use it here.
You squash all your commits down to one commit, and then push it with some special hook.
Gerrit then takes that and makes a patch that people can review and if it passes review it can be applied to master for others to pull down.
 
8:49 AM
Be happy you have code reviews
Actually, be happy you have source control
 
ergh, but this code review seems so tedious. Either changes are so small as to be nearly meaningless, or so large you can't really tell what's going on.
Plus there doesn't seem to be an easy way to look at the changes locally.
At least they do have a wee compilation check job
 
Is EUW down?
 
@park wait... where you are now... they don't///
 
@thecoshman Nah, here we have. In my previous place they didn't. Oh well they did have an old version of SVN that didn't support branches but they barely used it anyway.
 
what time is it you mad land there?
 
8:57 AM
5pm
 
oh ok, so not too far off proper time :P
 
7 hours or so
 

« first day (1599 days earlier)      last day (3344 days later) »