« first day (1818 days earlier)      last day (3129 days later) » 

5:01 AM
@ElimGarak Because that was some nasty burn you doled out there
XD
 
which talk
 
@ElimGarak Isn't that a common practice anyways
 
5:04 AM
also active on the GCC bug tracker
 
@LucDanton Active on ALL the Matlabs
 
I wouldn't watch a talk by a < 10k rep user
 
Retcon inbound the first time he actually does something. Cat Plus Plus cons: dog-unfriendly, mental overhead.
 
> Currently unemployed and looking for work.
VLAD FROM ITALY
 
@GregorMcGregor lol
 
5:09 AM
There is a huge tide of people who are becoming obsessed over how things need to be done without actually ever doing things or working on things. It's kinda creeping me out.
 
I recognize myself in those
 
Because working on things sucks
 
@Stacked Coliru: feature request: focus on the textarea on page load, otherwise I have to move my hand, reach the mouse, and click, which is very disruptive.
 
@ElimGarak That's me too!
 
Currently the focus is who knows where but nowhere useful and not tabbable fast enough to the textarea
 
5:11 AM
Lazy McLazy
 
@ElimGarak Haskell must be the language for me
 
@ElimGarak Hands-free interneting is a fundamental right.
 
@ElimGarak Seriously, reaching for the mouse is unacceptable in any self-respecting software
@VermillionAzure @Bartek
 
@BartekBanachewicz hah
 
He's using framesets so the default focus is probably somewhere outside of everything
 
5:14 AM
Also shortcuts for compiling (are those already in there?)
 
Also the frameset is added to the page via document.write
 
it actually needs more jquery
 
perhaps I should work on a personal project
 
Yes, but whose.
 
@LucDanton My own or something
 
5:37 AM
For some reason, the lab computers at my school had boost removed, so I have to package the library with my code. What g++ command do I need? I can't seem to get g++ -I. *.cpp to work (where the "boost" include directory is under the current folder)
 
-I"boost/include"
Do you not look at the directory structure at all?
 
I did that
 
Is there a reason why there is no overload for the exception constructor that takes string (by that I mean, other than just "it wasn't proposed")
 
@GregorMcGregor Huh.
 
@ThePhD In truth, I added the entire boost/include directory to my zip file
 
5:40 AM
To your... zip... file...
 
Yes. It's a requirement for the class
 
fmt::MemoryWriter w;
w.write("connect to {}:{} failed", host, port);
throw std::runtime_error(w.str());
 
Zip up the code, submit it. The TAs download the zip file and unzip.
 
@Justin What are your expectations with that command? What do you want to do with *.cpp?
 
2 silly copies
 
5:41 AM
@GregorMcGregor Right in the exception path? yer fukked
 
Okay, so the directory I run g++ in looks like this:
boost
mycppfiles.cpp
myhppfiles.hpp

(except those are multiple files)
 
<.>
 
@LucDanton my microseconds!
 
Hey it appears to be working now.
 
bwack
 
5:43 AM
I just re-zipped everything together
 
Oh it's just a space dick
 
6:08 AM
hi guys. how can i implement a hash function? i'm using char as the key while String as a value but an error appears: "error C2039: 'map' : is not a member of 'std'" how is that so? I've already included map in my code.
 
you seem hopelessly confused
 
@GregorMcGregor i'm really confused, actually
 
who would've guessed
 
can you explain why is there an error appearing? i've looked for sample codes and all they did was to include the map library then add std::map upon implementing a hash map
 
you have made a mistake on line 42
 
6:13 AM
Well it means you didn't #include <map> as far as I can tell
 
i've already included it
 
I don't think so and neither does your compiler, apparently.
 
i'm using visual studio 2005
 
Are you an archaeologist
 
that's the only c++ compiler available here at the office. :/
 
6:19 AM
If you have never filled a resignation form now is the dreamed occasion
Seriously if you were recruited to work as a farmer and your employer told you "you can only use hoes and gravels, and water the potatoes by hand, no modern technology allowed", would you accept?
 
I had a dream today that Luc unplonked me
 
So ask for actual dev tools or a resignation form
 
@GregorMcGregor does 'gravel' mean 'blackjack' here
 
Marc Gravell ♦, Forest of Dean, United Kingdom
563k 123 1540 2038
 
@BartekBanachewicz Luc plonked you?
 
6:24 AM
Getting plonked by Luc is a rite of passage
 
Bad Luc.
 
@GregorMcGregor have you ever tried to use a GUI in visual studio?
 
More than tried I even succeeded
 
@ElimGarak about two years ago
 
@GregorMcGregor can you help me with my exercise. I'm need to create a GUI which gets a value then checks if it matches a value in a hash map. Visual studio 2005 was used to teach us and i want to use VS 2013. now, i'm having difficulties because in 2003, upon creating a form, 2 .h and .cpp are created while in 2013, only 1 pair is created. i don't know where to put my the other functions in 2013 and the main method.
:/
 
6:33 AM
regrettably neither do I
 
I would have expected you had a strong opinion on the matter
 
Well I would very much suggest you to use a real UI toolkit such as Electron
 
yes, but where to put the other functions
 
It uses actual modern technologies such as Javascript so that your UI be modern responsive scalable and other eloquent adjectives that are rarely seen in this context
 
such as 'gallivanting'.
 
6:38 AM
> Visual studio 2005 was used to teach us and i want to use VS 2013. now, i'm having difficulties because in 2003, upon creating a form, 2 .h and .cpp are created while in 2013, only 1 pair is created.
That's what's wrong with teaching using VS /cc @orlp
 
s/teaching//
 
should i create a new .h and .cpp file for my main function? or should i just include in in the .h of my form?
 
@GregorMcGregor My point is a different one though
You do whatever the fuck you want.
It's just C++
 
heh adding "Live On Coliru" to Haskell answers
@rocky it doesn't matter where you put the code, it matters what's in the files
 
So, as long as you write proper C++, you don't need to wait for the IDE to do things
4269
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

 
6:40 AM
i just need guidance @sehe you don't need to be rude.
 
@sehe inb4 VS-specific extensions.
 
@BartekBanachewicz Well, it matters. But not essentiall
 
@rocky This Lounge was not been established for guidance.
 
@rocky Huh. I just gave guidance, no need to play victim.
 
Sep 23 at 19:55, by Columbo
By clicking "send" you agree to the terms and conditions.
 
6:41 AM
@BartekBanachewicz Nah. IRTA "where do I put main"
 
@sehe Which is inappropriate given his pseudo
 
When you sent your first message, you agreed to the T&C.
 
you just cursed. well, thanks for the book.
 
@ElimGarak Lounge 2 Literal
 
@ElimGarak That's the trick: I never click send, I press enter!
 
6:43 AM
we need immediate sanctions
 
rebelito le rebeu
 
now to badly hide the crime before the smurfs come in
 
hiding the bodies of messages in the dumpster
 
@GregorMcGregor wesh prends pas la confiance wallah
 
@rocky Oh. No harm intended. Just a concise way of showing how tedious a subject is (really it means you don't know what you're doing, which is why I linked the book list :))
Sadly we can't afford drawn-out help sessions in Lounge
 
6:45 AM
wallah wakbar
 
that's okay. thanks again for the book. @sehe. I'll use it.
 
The Lounge is happy to help regulars, help vampires are frowned upon. But there are always limits. Various folks here specialize in different things. And the usual questions we like are the ones where everyone gains by answering them. Not just the help vampire. Only exceptions to that are good natured regulars. We've got folks as young as 15.
 
@sehe Yeah I know, I'm as hot as James Dean
 
@ElimGarak I do tend to answer, but I prefer if it can be swift
 
Still, better err on the safe side and leave message estate for puns, private jokes, and ample cursing.
 
6:47 AM
Say a library defines a traits template that clients are supposed to specialize, is it acceptable to have the specialization live in the library's namespace? Global namespace seems weird.
 
@GregorMcGregor yeah it’s fine
 
Cool :)
 
Clients have to reopen the namespace (after closing theirs) so you can put it deep inside to grief them.
 
c++17 fixed that a bit, no?
 
I am also the client so I'd appreciate myself to not grieve me further
 
6:49 AM
@sehe I don’t know I am/was/will be no time lord.
 
provisionally...
 
3 levels of grievance that's reasonable
 
I agrief
> Libjpeg-Turbo 1.4.2 features at least five known bug fixes resulting in crashes and other problems.
Gosh. I so want these fixes
 
I went with just plain jpeg-9a.
 
6:53 AM
Even if I couldn't get the fixes.
 
I'm especially psyched to know what other problems we will get
 
traceM is flat out not working
 
INB4PEBCAK
 
dang not enough of my dependencies are Turbo libraries
 
@sehe no srsly
unless I directly use the value of trace, lazy eval is kicking it out
this is hilarious and stupid at the same time
and traceM is flat out not working
 
6:55 AM
luckily I can probably rig b2 to ditch the ugly -mt-d suffixes when building Boost and use -turbo instead!
 
There's a hackathon this Friday
I'm going to go enjoy it.
And do work on Furrovine! \o/
 
do you have tests yet
 
Uh.
.... maybesortofkind've.
 
I have some, but.
 
7:00 AM
but what? not in CI?
 
I need to change them to use CATCH
Rather than just manually inspecting them.
 
what do you mean manually inspecting
 
And I couldn't CI because I'd need to get a Windows CI.
 
@ThePhD which is perfectly doable
Every company I worked for did windows builds in a CI matrix
 
I don't know, I thought Travis-CI and even Appveyor didn't do free Windows CI instances?
 
7:01 AM
@ThePhD your butt ain't tests
 
Maybe I should check again.
 
@ThePhD who said "free"? You're not developing Open-Source, so you should be pretty fine to pay, no?
 
Wow just checked the transcript
 
It IS open-source now.
 
Cinch on linear algebra so deep
 
7:01 AM
Bartek Stallmanchewicz
 
@ThePhD oh is it
 
Albeit, no open-source license.
Not that anyone would ever take the code anyways. <_>
 
@ThePhD what license does it have now?
 
@BartekBanachewicz It is completely obvious what that means
 
2 mins ago, by Bartek Banachewicz
so no?
 
7:02 AM
The "All-Rights-Reserved" license.
 
-1
Q: Size limit of arrays and vectors in c++

Khagendra Nath MahatoI want to store pow(10,12) integer numbers in an array. I know integer array can only store upto pow(10,7) integers.So what should I do now?Also, Can vector be used for this purpose? In that case what is the size limit of vector? Apart from arrays and vector, if there is any other way to accompli...

lol
 
@ThePhD where is it published?
 
Github.
 
@fredoverflow Powpowpowpow
 
@ThePhD so at least you licenced everyone to make forks
that's not all-rights-reserved :P
 
vOv
 
I think that's enough for most of the free CI tools anyway
 
How inclusive of you to leave the possibility that super computers might be priced in € — sehe 7 secs ago
 
@ThePhD Appveyor does windows builds and is free for OSS
 
7:05 AM
Well, my code technically isn't OSS.
It's Open Proprietary Software.
 
I don't think it matters for them
 
@BartekBanachewicz huh. Does github make all code CC or so?! (I think you messed up there)
 
@ThePhD The real requirement is being able to clone the repo without credentials in most cases
@sehe No, but by posting code to GH you agree to ToS which make you allow forks.
 
Yeah, that does in no way make your rights go away
 
@sehe Well how does UE4 work then?
 
7:06 AM
Nobody knows
 
> We claim no intellectual property rights over the material you provide to the Service. Your profile and materials uploaded remain yours. However, by setting your pages to be viewed publicly, you agree to allow others to view your Content. By setting your repositories to be viewed publicly, you agree to allow others to view and fork your repositories.
@sehe yeah well.
IANAL
 
@BartekBanachewicz Says the most prolific lounge pedant of an era
 
So people can fork your stuff, but that probably won't let them change the actual license on the code.
 
@BartekBanachewicz That sounds like the name of a twisted Apple sextoy
 
7:09 AM
Apple would never allow that. iAnal, of course
 
@ThePhD no license technically forbids modification I think
 
@sehe Indeed!
 
> This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work.
 
@GregorMcGregor cool
 
Sigh I'm sick of this code base
 
7:10 AM
@Rerito What do you work on
 
We've got a PKI store to... Well store certificates/crls and stuff
It is sooooooo badly designed
 
but saying "nobody may create derivative work from this" is bullshit because I can clone it and make a local modification and good luck in court
 
The requests always reduce to graph problems yet... No graph like data structure is used
It's a fucking nightmare
 
you'd need to be able to prove that anyone really violated your copyrights which might be country dependent
 
what are graphs
If it's not used by Javascript devs then who cares
 
7:12 AM
@GregorMcGregor Isn't that the thingies drawn by alien in your corn fields?
 
and unless there's money in here even if someone stamped a GNU license and an unicorn sticker on it and put it to torrents I doubt anyone would care to take legal action //cc @ThePhD
 
Sublime text generates temp files and shows them in the browser
 
Most github forks are short lived
 
7:31 AM
@BartekBanachewicz Except those that specifically do? Creative Commons has ND variant even?
 
@GregorMcGregor well, created then never really used.
 
@BartekBanachewicz "You can do it as long as you don't get caught" can be applied to literally every law
 
@BartekBanachewicz yeah, I think most countries consider the default to be 'retain all rights'
the more I use my headphones, the more I see why people would want wireless headphones
 
more cancer, faster
 
Cancer \o/
 
user1804599
7:46 AM
@ʎǝɹɟɟɟǝſ I've had enough web dev in my life.
 
Urgh web dev
 
user1804599
@GregorMcGregor Harder, Better, Faster, Cancer
 
@Bartek you can make forks but you can't push to them.
 

« first day (1818 days earlier)      last day (3129 days later) »