« first day (1011 days earlier)      last day (3941 days later) » 

7:00 PM
Thanks to metacritic user ratings I discovered diverse stuff like Meshuggah, Kendrick Lamar, St Vincent, ...
I guess I'm easy sold.
 
yay it compiled
now only to get it to link
 
Compile, link and run.
and crash
 
@StackedCrooked How about... The Books?
 
never heard of them
 
7:05 PM
Pretty weird experimental stuff.
 
@StackedCrooked I like that. That's my new motto I think
 
I see.
 
You should check out Lost and Safe.
 
@EtiennedeMartel sweet
 
7:10 PM
1>c1xx : fatal error C1001: An internal error has occurred in the compiler.
1>  (compiler file 'msc1.cpp', line 1468)
1>   To work around this problem, try simplifying or changing the program near the locations listed above.
> try simplifying or changing the program near the locations listed above.
for. fucks. sake.
 
@BartekBanachewicz Report!
 
@wilx Dear Microsoft, Your compilers sucks. Regards, Bartek
 
@BartekBanachewicz been there seen that
 
I am fucked right now.
v110 won't compile lundi
 
@BartekBanachewicz connect.microsoft.com
 
7:13 PM
hm wait maybe v120_Nov will handle it
I have like 10 toolchains installed :/
 
OMG MSVC french error messages :( I'm gonna die
 
@wilx it's a preview, it's pretty normal it will suck
 
I know.
But it is still important to report the bugs or they will stay there. :)
 
Error	433	error C2665: 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>::basic_string' : none of the 17 overloads could convert all the argument types
 
@BartekBanachewicz when that happens, it's usually because of a bug in your code (in addition to a bug in their code, obviously). Using GCC/clang to find and fix that bug will allow MSVC to compile your code again
 
7:16 PM
@MooingDuck hm, right.
 
Ahoy o/ I'm trying to track down a website based on a description of what I remember, anyone keen for some detective work / memory racking?
 
@MooingDuck So it's their bug handling code which is buggy?
 
user142019
 
@Tuntuni usually
 
user142019
Syntax highlighting just saved my ass.
 
7:18 PM
@MooingDuck Oh the irony :D
@rightfold wut?
oh, the pic
lol
 
user142019
:tabe isn't a command in Z shell.
 
user142019
Command show up in green, not red.
 
@rightfold fail :)
 
user142019
Razor blade just shaved my ass.
 
@LostSalad you would be surprised how helpful typing random words into google is
 
7:20 PM
Pics or it didn't happen
@EiyrioüvonKauyf No need to tell him that
Also: hi
 
@sehe no it's ok please no pics
 
user142019
@sehe Dat request.
 
@EiyrioüvonKauyf I have done multiple Google session that's why I'm reverting to asking here xD
 
@LostSalad :c uhhh internet archive? - wayback
 
it was a website for a tool that is used to create custom DSLs, rather recent
the homepage showed off successful projects that used it, including build automation tools
 
7:21 PM
@LostSalad ANTLR? CoCo/R? Spirit?
 
@LostSalad: Is there no board on SE network that could do it?
 
@wilx, not sure, @sehe none of those unfortunately
the combination keeps getting me hits for visual studio tools, or gradle
 
@LostSalad Platform (.NET or C++?)
 
@LostSalad .. dsl dsl ... dsl ..?
._.
 
@EiyrioüvonKauyf
 
7:22 PM
oh
 
user142019
Lol
 
user142019
 
@sehe generic I think, and they seemed to boast that it will help support syntax highlighting etc
 
36 mins ago, by sehe
Why don't you start getting into the habit of thinking before you speak yap?
 
@LostSalad: Boost.Proto?
 
7:23 PM
@LostSalad ISTR the same thing. Darn.
@wilx No chance
 
Haskell? :)
 
@wilx it wasn't that but I remember reading about that at a similar time, maybe related
 
user142019
HASKELL<3
 
@sehe calm down ~ it's a question. and DSL is fairly ambiguous
 
user142019
Wait, what's with Haskell?
 
7:24 PM
@EiyrioüvonKauyf exactly, it might not even have been a "DSL tool" per-se, but something similar
but it was definitely for developing your own syntax, not in another language
 
@EiyrioüvonKauyf It's a question you don't know the answer to. Yet you are sitting there yapping and creating all this line noise. And acting all "better" and pointing to google. TYVM
 
lol. no but i've found some people here do not google
 
are there any other common language tools out there other than antlr/coco ?
 
/me peruses links
 
VisualLangLab (Visual Language Laboratory) is a completely visual, open source parser generator for JVM (Java Virtual Machine) languages. VisualLangLab allows users to create, edit and test graphical grammar-trees that represent grammar rules, without any textual (BNF, EBNF, ABNF, etc.) grammar specification. VisualLangLab was The Java Posse's Project of the Week for episode 364. A Quick Tour and Rapid Prototyping for Scala are tutorials that use examples from other sources. An introductory article, Grammar without Tears is available online. Ease of Use VisualLangLab provides a gra...
 
apparently g++ can't compile its own STD
 
8
Q: Grammar Writing Tools

copproI am trying to write a grammar in EBNF (barring a really good reason, it has to be EBNF) and am looking for a couple of utilities for it - if there's a GUI interface that can make one, that would be great, but the thing I'm looking for most is something that can check the grammar, for instance to...

 
yargh none of those ring a bell unfortunately :(
but all interesting in their own right so thanks :D
 
7:27 PM
My ears are hot! It's the wine.
 
I think I'm going to have to let this one rest as one of those "tip of the tongue" things until I stumble on it again
 
c:\dev\mingw32-4.8\mingw32\include\c++\4.8.0\bits\stl_pair.h:121:38: error: no type named 'type' in 'struct std::enable_
if<false, void>'
       template<class _U1, class _U2, class = typename
amazing, g++.
 
user142019
@BartekBanachewicz kudos for proper use of "its"
 
@BartekBanachewicz using SFINAE in an invalid way?
 
@MooingDuck I swear this code compiled before
 
7:29 PM
I had an interview today
 
it's somewhere inside std::map
 
But this side, I was on the other side
 
@BartekBanachewicz post a link to the rest of the error?
 
@kbok I am eagerly waiting for the story behind those statements.
 
@BartekBanachewicz actually, SSCCE
 
@wilx The guy sucked. Hope you liked my story
 
:)
Sure. :)
 
He was a C++ expert with 10 years of experience
 
@BartekBanachewicz use of deleted copy constructor of your Chunk class
 
But hasn't been able to cite one smart pointer
 
7:32 PM
@MooingDuck indeed.
 
Or RAII
 
@kbok: Lol, that's bad.
 
@BartekBanachewicz you're copying the map
 
Or exception safety
 
@MooingDuck Am I?
 
7:33 PM
@BartekBanachewicz didn't you read the error?
 
@EiyrioüvonKauyf I've found people here who speak without patience. Next time, see if others will know. It's what I do too. This is a communal room.
I haven't exactly scolded you for not googling about fmod, right. There's a reason. Live and let... patience.
 
@MooingDuck not really, no. I was stunned by the wall of text. But I've noticed the lack of const near Chunk copy-ctor a while before
 
@sehe i did google fmod . the irony is great in your statement
 
@kbok That plot twist!
 
@BartekBanachewicz last two lines (copying pair of coord and chunk). five lines above that: copying map<coord, chunk>
 
user142019
7:34 PM
Named return values are great documentation.
 
@MooingDuck ugh
 
@wilx that's not bad; that's scary; think of all the code he's written in 10 years
 
He was all like "templates are not my thing except for the STL which I use sometimes"
2
 
@BartekBanachewicz though I cant see the top of the error to tell where said copy is happening
 
I know where.
 
7:35 PM
@kbok how do you do C++ without templates and STL? did he use structs for everything?
 
@BartekBanachewicz oh good
 
@EiyrioüvonKauyf Essentially object-oriented C
 
@EiyrioüvonKauyf "C with classes"
 
... so he rewrote them everytime?
 
@EiyrioüvonKauyf no exceptions too I would guess
 
7:35 PM
o_o
 
@EiyrioüvonKauyf that's how C works yes
 
@EiyrioüvonKauyf: IME most devs do not know these things well. It is the rooms like this and #C++ on IRC that have really clever and in C++ interested people that know a lot.
 
@MooingDuck what is the error handling paradigm in C generally? let it segfault up the chain?
 
IME, most devs just care about their paycheck and do not pursue C++ knowledge outside their work.
 
@BartekBanachewicz wait, no, it's at the bottom. minefield.h line 147
 
7:36 PM
@wilx are they not bored as hell? imho clever solutions are cool
 
@EiyrioüvonKauyf returning error codes
 
@EiyrioüvonKauyf: Maybe they have other hobbies or families?
 
@EiyrioüvonKauyf C has no exceptions, no throwing, no stack unwinding
 
He was very weak for a "C++ expert", that makes you think twice about required technical levels in job offers
 
@wilx ..... i feel like good programming devs have programming as a hobby
 
7:37 PM
@kbok fizzbuzz?
 
@kbok where do you work o-o
 
@EiyrioüvonKauyf: True.
 
Hey guys - do any of you have experience with pthreads
 
@AviC: Sure, but should you not rather ask on SO proper?
 
@EiyrioüvonKauyf In a financial company. But that's unrelated, also the guy did not meet the requirements for us
 
7:39 PM
I did
 
@AviC yes, but we're a lounge, and don't answer questions. Choose your nest post carefully :P
 
@kbok then how did he even apply? shouldn't HR have not let him interview?
 
@AviC: Paste the post link.
 
Also that one team member who's supposed to be a performance expert does not know about NRVO
 
@wilx not in chat. Don't link to new questions in chat for answers
 
7:40 PM
@MooingDuck: Why not in chat?
 
@EiyrioüvonKauyf He did not know we are elite probably
 
questions linked in chat tend to be mocked and/or deleted
 
HEh.
 
Sorry; I didn't realise; didn't mean to violate room protocol
 
His choice.
 
7:41 PM
@MooingDuck mocked alot
 
@AviC: Paste it and prepare for a showdown! :)
 
@AviC ...43 minutes ago.
 
@AviC you might get severly mocked depending if it's a good question or not <- personal experience
 
@EiyrioüvonKauyf He has 10 years in development, the majority in C++. There's no way for HR to assess his real technical level except to bring him here and have an interview, which they did. Nothing surprising about that
 
@kbok where did he work at before? (relative eliteness?) also just wondering have you had any experience with Addepar
 
7:41 PM
0
Q: Pthreads update on global 2D array segfaults on execution

Avi CHi all and thanks for your time. I am trying to parallelise a program which executes some commands and I thought pthreads would be a good option. But I am running into some issues. This is where I start the threads: void timetravel(command_stream_t s) { int *retvals[MAXTHREADS]; if (s ==...

 
@EiyrioüvonKauyf No, what is this?
 
@wilx people who post links disrupt the conversation is the primary reason. Secondary reasons include a feeling of entitlement that we must help them. They also tend to keep posting links if we ignore them
 
@EiyrioüvonKauyf Competitors mostly. I remember Natixis and HSBC
 
Well you needn't, but it is always nice. Sorry - I'm new here - will refrain. Any better places for this kind of stuff?
 
7:45 PM
@AviC not really. The people who answer questions are already looking at the new questions, and will answer it automatically. There's no need to "advertise" questions.
 
@sehe hello
 
@kbok en.wikipedia.org/wiki/Addepar ~ afaik they make some specialized trading software so they're supposed to be pretty cool in the financial field? I only really know them from their association with Palantir
@kbok are you by chance a quant ?
 
@EiyrioüvonKauyf @sehe @wilx I found it :D, xtext eclipse.org/Xtext/7languages.html
 
.. awk i found this half an hour ago but was intimidated by @sehe
 
@EiyrioüvonKauyf No, that's for tiny orgs
 
7:47 PM
@AviC Wherever you post, you should format your source so that it's readable, explain clearly what the expected and recorded results are and list what debugging steps you have already taken.....
 
whole afternoon for one plot
the legend alone took me ~ 1.5 hours
 
Alright - will make adjustments
 
is it a problem if my map value_t is constructible from key_t?
 
@EiyrioüvonKauyf No, that's more of a math job really. Most quants suck at programming
 
@EiyrioüvonKauyf Intimidated by @sehe? Why, did he threaten to sell you as well?
 
7:48 PM
Those who don't, though... Let's say they live comfortably
 
FFS
c:\dev\mingw32-4.8\mingw32\include\c++\4.8.0\bits\stl_pair.h:127:17: error: 'constexpr std::pair<_T1, _T2>::pair(const s
td::pair<_T1, _T2>&) [with _T1 = Minefield::Coord<Minefield::OuterChunkCoordTag>; _T2 = World::DisplayChunk]' declared t
o take const reference, but implicit declaration would take non-const
       constexpr pair(const pair&) = default;
 
@BartekBanachewicz can't imagine why that would be a problem, map deals with pairs
 
@EiyrioüvonKauyf :|
 
user142019
Are crocodile bones hollow?
 
7:50 PM
@BartekBanachewicz that.... that looks like a bug in the library....
 
@MooingDuck <headdesk>
 
@EiyrioüvonKauyf brain fart, thanks a lot mate o7
 
@rightfold unlikely, I thought only birds and similar had hollow bones
 
@BartekBanachewicz Why Oo
 
@MartinJames he was/is mad

http://chat.stackoverflow.com/transcript/message/10792685#10792685
 
7:52 PM
@BartekBanachewicz wait, your display chunk copies with a non-const? Why?
 
@MooingDuck now that I look at it, it should only move
 
@AviC that's C code, not C++...
 
does it have to be copyable to be in unordered map? :/
 
@BartekBanachewicz I dunno, but the error message implies that your display chunk has a DisplayChunk(DisplayChunk&) member
 
nope, it has a normal move ctor
 
7:55 PM
@BartekBanachewicz does it have an implicit DisplayChunk(DisplayChunk&) constructor? Are you certain?
 
for fucks sake.
@MooingDuck implicit constructor generation rules suck, FTR
 
what are the design rules regarding volatile ....
i need to get a nice design book
 
@BartekBanachewicz agreed
 
@EiyrioüvonKauyf excuse me?
 
7:59 PM
@EiyrioüvonKauyf Dont use it
 
@EiyrioüvonKauyf a volatile variable will read from/write to memory each time instead of caching results in the processor. Slower, but makes multithreading kinda sorta work
 
yeah but ... when you use it what should a general pattern be
 

« first day (1011 days earlier)      last day (3941 days later) »