« first day (1692 days earlier)      last day (3255 days later) » 

4:00 PM
I have to write java again
I'm starting to like this language
 
Xeo
haha
aaaand you're out.
go.
 
Ven
@AlexM. what do you like in it?
 
Xeo
Consider yourself exiled.
 
@Ven it seems to do what I want it to with little effort, a lot like how it feels when I write C#
it's just simple stuff so..
 
Ven
@AlexM. ...what's the usual language you write in?
 
4:02 PM
Why make it simple when you can be so convoluted?
 
@Ven C# and C++
mostly C++ these days
 
Ven
@AlexM. okay, then I might understand why.
 
Boom... Template shenanigans
 
Ven
@Rerito "Boost... Template shenanigans" FTFY
 
I wanna try the lambdas, I think I have 1.8 installed
hope the prof doesn't go crazy at me for not using java 1.6 or w/e
I dunno versions
 
4:05 PM
My boss explicitly forbade me to use variadic templates
 
why?
 
Coz MSVC
 
I made a lambda haha
nice
 
Ven
@AlexM. from experience, using java8 is an instant "fuck off" from teachers :(
 
@Ven meh I don't think there's room for anything java8 in this lab anyway
 
4:07 PM
(Though I build on Linux, our stuff is multiplatform and some of my coworkers still work on windows)
 
it's just adding two matrices and multithreading
 
@Ven Ask if you can bring your own notebook for presentation and roll with it
 
Ah, like this one project where I shat them a great piece of C(rap) code and I was solely marked on a f##ing poster
I made an awesome demo and the teachers never gave a fuck
 
@Rerito try again
this time in understandable english
 
I had a task to do (we had to code using C)
 
4:09 PM
you can also use words like "fucking", I promise your mother would never browse this chatroom anyway
 
...unless you tell her to
 
Xeo
@AlexM. His mother probably knows more about "fucking" than him.
 
@milleniumbug ( ͡° ͜ʖ ͡°)
 
@Xeo You shouldnt assume that
Well so I prepared the crappy poster they also asked me to do (I'm not a designer or anything so it was kinda shitty I must admit)
 
I ordered food and crepes and there was too much food and I can't eat the crepes :<
 
4:10 PM
But on the other side I made a cool demo, with the program running and showing them the stuff
They didnt care about the demo, just about that fucking poster
 
no wonder the place is called "Big Belly" you have to be fucking fat already to be able to eat these portions
they're huge
 
Like my code could have not worked at all, I could've have photoshopped the results and boom A
 
@Rerito yes
it's called
don't be a tryhard
 
Ask for a doggy bag.
 
@AlexM. Just a story, I don't care I gratuated since then
 
4:13 PM
@Ven Look, I don’t want to leave any bad blood between us. I do point out what I think is wrong on occasion. I don’t do it to make me right, and it doesn’t. I don’t do it for 'trolling' or annoying people, and I do think it’s in the spirit of the Lounge to ruthlessly try to stick to accuracy when it matters.
Admittedly I don’t do it as often as I used to (there’s too much wrong stuff flying all over the place). So I’m sorry.
 
@Mr.kbok do you do that in France?
 
We do many things in France
 
Like winning wars that are not against Germany.
 
Alex isn't French
 
I haven't seen this practice very much, hence why I'm asking.
 
4:18 PM
@Mr.kbok He's Romanian. Almost the same thing.
(for some value of "almost")
 
Actually this isn't done a lot but almost all restaurants will do it if you ask
 
I ordered the food
I'm not in the restaurant
I'll have to wait several hours until I'll be able to eat the crepes :<
 
lol first world problems
drink a can of coke maybe. it helps me eat more than I should
 
Internal compiler error: Error reporting routines re-entered.
0x608661 push_tinst_level_loc(tree_node*, unsigned int)
        ../../gcc/gcc/cp/pt.c:8503
 
@MarcoA. lol
 
Ven
4:26 PM
@AlexM. :'(
@LucDanton no bad blood
@LucDanton it just seemed like a unnecessary comment since you started what was a precision with "that's wrong". anyway, it doesn't matter.
 
user1804599
Hi.
 
@EtiennedeMartel No. But I agree with the others that mics are a better way to play.
 
user1804599
Nice, some schools finally started prohibiting consumption of energy drinks.
 
seeing how much drug/alcohol is used at schools... I'm not sure this is very useful.
 
user1804599
31º tomorrow :[
 
user1804599
4:35 PM
@FlorianMargaine … very little?
 
@rightfold Huh? Why would they do that?
 
@caps because parents told them they don't like their pupils drinking stuff that they think damages the body.. hypocrites ;)
 
user1804599
@caps because the pupils become too distracted and troublesome.
 
user1804599
Because of all the caffeine.
 
user1804599
Also perhaps because that stuff dangerous as hell.
 
4:45 PM
@rightfold alcohol too.
 
@rightfold Is it?
 
user1804599
@notch cross the street, get one. you're rich.
 
if it were discovered just today it would be banned
 
user1804599
:p
 
user1804599
@Gizmo Yes, and that's already banned in pretty much all schools.
 
user1804599
4:47 PM
As are weapons, fireworks and recreational drugs.
 
meh so many ways to die today,. so many harmfull stuff, and they going to rage over some energy drinks
yet everyone misses the real problem, capitalism!
xD
 
user1804599
There's many ways to cause a car crash. Better allow driving through red traffic light.
 
user1804599
Capitalism isn't a problem.
 
user1804599
It's good.
 
Well if production of "bad stuff" was prohibited there wouldn't be the need to ban the bad stuff in the first place ;P and with capitalism you're free to produce anything you like?
 
user1804599
4:50 PM
There's plans to prohibit selling energy drinks to people under 18.
 
not that I know a better way to run the economics... communism wasn't that good either
 
user1804599
I consider this a very good thing.
 
@rightfold Will coffee also be prohibited to people under 18?
 
user1804599
No, why would it?
 
Red Bull doesn't have any more caffeine in it than a cup of coffee. They actually got sued for misleading marketing recently over that.
 
user1804599
4:51 PM
It's not solely about caffeine.
 
let's prohibit work for people under the age of 21 too, it's bad for your back
 
user1804599
No, that's bullshit.
 
user1804599
There are some jobs that are bad for your back.
 
just like not every energy drink is THAT bad xd
 
@rightfold What's it about, then?
 
4:52 PM
I dirnk the very cheap ones, in one night I drank 24 of them, I'm alive and well?
but that was 2yrs ago
 
What makes Red Bull "dangerous as hell"
@Gizmo Must have been a miserable night.
 
@caps old skool lan party
 
user1804599
Now the very best solution would of course be to sterilise people who can't properly raise children.
 
@rightfold Haha, you totally lost me here.
 
user1804599
The problem is that this is difficult to judge before they get any, and once they do it's already too late.
 
or just make a rule like china does, 1 kid, then: if you are a good parrent we'll allow you to have more? :P
 
@Gizmo Only barely less terrible than wrongfold's idea.
 
Xeo
@Gizmo Just make a deal with Japan to ship off any extras to over there - they need them!
 
damn, I would be rich!
...if I had the dictatorship power to do that
 
Ven
5:12 PM
@rightfold rightfold please.
 
Is it possible to use std::find and other algorithms with std::string::iterator's? It seems like it should be, but my attempt to find a single char in a std::string using that method never found the match.
 
creduce does it again, although that testcase still needs help
 
@LucDanton My poor eyes!
 
a tiny bit of help, really
alright I actually have no idea what to do with the testcase
@caps well
 
> NOTE: JSON encoding for the output failed due to invalid UTF8.
 
5:25 PM
Yeah you can edit & run it to see the output for yourself.
@caps Kinda spoiled the whole experience didn’t it?
 
Ell
@Gizmo why the hell?
how much is that in volume?
and how much caffeine?
 
each 0.25L?
so yeah a few liters
 
@Gizmo That is extremely unhealthy.
 
Thank you for your concerns but I'm fine? :P
and I didn't drink a energy drink in a loooong
time
 
I don’t know what this is about. GCC dumps it after the ICE backtrace.
 
5:33 PM
@LucDanton yeah.. have fun and good luck
 
That headline bugs me. I mean, why is that news? Giving you such an option is what Deus Ex is about. That's like saying "Call of Duty lets you shoot people".
 
> variant<int, long int, long long int>
There has to be a better way to write that -.-
 
variant<int, long, long long>?
also isn't int==long on almost all platforms except embedded systems?
 
@Gizmo They’re always separate types.
 
But I mean, that variant feels so useless to me. I can't imagine a case where I'd actually want that.
 
5:36 PM
@Griwes then use the biggest type you'll ever use there? :)
 
long long it be then
hellow
 
@Griwes Sometimes unit tests kinda have to be boring :)
 
@Gizmo Exactly my point.
 
5:37 PM
@LucDanton blergh. If anyone does that, even in unit tests, they are doing something wrong.
 
…the unit tests for variant specifically
 
where's @Mr.kbok
 
@LucDanton Still silly. Especially since = 0 or = 1 is (should be?) ambiguous in that case. :P
 
It’s as ambiguous as calling void f(int); void f(long);, which it isn’t.
 
Ell
using longer = long long int;
variant<int, long, longer>
 
5:45 PM
variant<small, long, longer>
using S = small; using M = int; using L = long; using XL = long long; using XXL = long long long;
 
Xeo
except M is almost always the same as L, there
 
lol geralt in 1993 i.imgur.com/Btp3fCX.jpg /cc @Rapptz @Borgleader
he looks like some kind of creepy viking porn actor
dual mustache and all
 
Ell
Lol
 
6:04 PM
@Griwes FTR I also support e.g. variant<int, int> although you have to initialize with e.g. V v = emplace<0>(42);. For the sake of usability though e.g. product_with does not give rise to those kind of variants (i.e. discriminated union vs variant type).
 
GRAPHICS CARD COMBUSTING IN 30#
 
Ell
Does your whole computer sit inside an oven or something?
Get a new PC
 
Xeo
@Ell It is an industrial oven
 
6:21 PM
guys
my graphics card did not melt yet.
what th fuck.
apparently all you need is to start building Wide in VS 2015.
 
is anyone here using the preview version for VS15 with the msvc thing, does it explode on contact
I needed generic lambdas and realized that I'm using the vs2013 toolkit with the community ed
 
@AlexM. Don't use VC++, your nose might catch fire
Even UB with Clang is better
 
Xeo
@AlexM. doesn't
So far VS'15 has been pretty nice
 
@Columbo I'm only targeting windows and I intend to do some C++ <-> metro thing written in C# or w/e interop
figured MSVC was the easiest way
@Xeo nice to hear, let's see if I can just upgrade the usual community to 2015
 
Xeo
There's the VS'15 Community RC
Is what I'm using
 
6:26 PM
did you happen to also have VS2013 community installed before installing that?
 
Xeo
@R.MartinhoFernandes istderberschonfertig.de
@AlexM. I had VS'15 Ultimate Betasomething installed.
I also have VS'13 Community installed side-by-side with it
Since work stuff needs VS'13
 
so it won't replace VS13 :<
I'll just wait until it gets released
I don't want to turn my PC into a clusterfuck of IDEs
> When Visual Studio 2015 is released later this year, all active Visual Studio with MSDN subscribers will be upgraded to the new editions as described in the following table.
it says here that when it gets released community edition -> 2015 community edition
 
Xeo
@AlexM. Why the sad face? That's good.
 
oooh, uncon is comming up fast. I'm rather looking forward to it.
Jeeves! Fetch me a fresh altar boy, I need to slap a tight arse!
 
@Xeo I want it to replace 2013 ideally
also from what I see 2015 RC won't be autoupgraded to 2015 on release (?)
(what I want to avoid is uninstalling and reinstalling VSs)
couldn't they just provide a way to upgrade the compiler inside VS13
JESUS CHRIST MICROSOFT
 
6:46 PM
shit
I need music transcription
hmfph
 
@AlexM. is 2015 here now?
 
nope
 
im green XD
 
6:53 PM
hey
people :D
whats up
 
change nicks when you join btw
so we can know who's such a master
 
a mate and i had a argument today about GPAs. He tells that GPA matters a lot and even when the time comes for you to do a job. I say, GPA doesn't matter (coz i personally dont give a fuck about my GPA).
who's right? :)
 
my coworker just said that he wants to switch to node.js. What do?
@AlexM. Can I smoke you?
 
no
 
ok :(
 
7:00 PM
0
Q: How do you create a BigInt type in Botan?

erotavlasI'm trying to create a C++/CLI wrapper for Botan for use in C# project. I need to create the Botan types from the .Net types in order to pass them to the methods. The first is BigInt. How do I create this? My initial value coming from .NET is going to be a BigInteger. What do I convert this ...

 
user1804599
@Ven why?
 
user1804599
Because you feel bad for the otherwise parents?
 
user1804599
I feel bad for the children.
 
user1804599
Alright, let's write something in Go.
 
@rightfold What are green threads?
I just took a survey and didn't know what they were.
 
user1804599
7:09 PM
They are threads that are cheap to spawn and context switch.
 
user1804599
So they're typically scheduled in user space to avoid kernel objects and system calls, and they have small call stacks.
 
user1804599
It's what Erlang, GHC and Go offer.
 
well then I updated my graphics drivers in safe mode and now my machine is not, in fact, dying.
apparently.
let's play some super poorly optimized games and roll with it
@erotavlas That question is deleted so that I cannot downvote it.
 
@Puppy I deleted it. I figured out what I needed to do :)
 
that's incredibly disappointing and not how SO works at all.
 
you're supposed to answer it so that other people can benefit from your knowledge
and so that I can downvote it
 
lol sorry
 
you should be
 
user1804599
 
user1804599
Look at my awesome underground train station.
 
7:25 PM
Your underground train station is bored, and you should feel bored
 
@JohanLarsson impressive
 
user1804599
I should make banners with london's underground logo.
 
mm I got it I think
 
user1804599
You can make circles and stripes so it should be possible.
 
welp
piano would be such a nice instrument
if not for the fucking music notation
 
user1804599
7:36 PM
Piano numbers.
 
unreadable crap
 
user1804599
Cool, xs := []int{1, 2, 3}; append(xs, 4) doesn't compile.
 
those fucking notation changes are the worst
 
@rightfold I'm looking but I don't see awesome or a train station
 
also when you think you got it
BAM bass key to fuck you up even more
more abritrary things to remember
I'd rather read fucking letters
how the hell this is still a thing I don't even
 
7:40 PM
you sound like a C programmer
 
C++ lambdas are awesome
(except one thing really, but that's minor)
 
user1804599
@milleniumbug What is it?
 
@rightfold The mutable thing being inconsistent
[=](){ } - no mutation inside
[=]() mutable { } - mutation can happen
[&](){ } - mutation outside can happen, which is even more interesting
 
Also applies to C++:
 
but is allowed by default
 
7:53 PM
(or any other language where ; are used)
 
[&](){ } could do const references and [&]() mutable { } could do non-const references
 
user1804599
@milleniumbug that's consistent.
 
inb4 const references aren't references to const
 
user1804599
D is better because constness is transitive.
 
7:55 PM
> Well they're full of shit when it comes to the witcher universe. It's a Swedish dev team making a medieval universe, no shit they don't have racial diversity, criticize after cyberpunk.
Idiots. Idiots everywhere.
 
user1804599
@milleniumbug Using const on a reference type has no effect.
 
@rightfold Which is irrelevant to language user
 
@milleniumbug Well, speaking of inconsistencies…
 
So add const on referenced type in references and add const normally on non-references
 
Ell
This swedes are so diverse
 
7:57 PM
Which is inconsistent, yes.
 
...or if you don't want to do it my way, just make it
just like the rest of the language does
[=](){ } mutable inside, [=]() const { } non-mutable inside
 
user1804599
lol
 
user1804599
These guys are pair programming, but one uses Vim and another uses Emacs, so they use auto-refresh and shared disk.
 
@Shog: Someone's burning through FP queue by just upvoting, like here: stackoverflow.com/questions/30652106/…
 
why would shog be here
go to tavern on meta
 
8:02 PM
going, thanks
 
Hello, Lounge!
 
@Rapptz Who is Shog?
 
Shog9
the guy who prohibited leading -1s.
 
What's a leading -1?
 
-1: your code sucks because X, Y, and Z and you should feel bad.
 
8:07 PM
@milleniumbug "your code sucks because X, Y, and Z and you should feel bad. -1"
 
Actually, what he mostly wanted to hinder was more like "-1 that's wrong" "+1 You are awesome" and such. At least that's how I read it.
 
leading +1 was prohibited too?
and when was this?
 
And he took it back partially: Long comments aren't in any way restricted.
You didn't hear that clamour? A moment.
-151
Q: Should we discourage leading +/-1 on comments?

Shog9Update: The test is over; results and the final form of this restriction detailed here: Remove the limitation that stops comments from starting with +1 or -1 I'm getting really sick of finding folks arguing about votes, only to see that the bickering started with a comment of the form, -1,...

173
Q: Am I still supposed to explain my downvotes or not?

Mark AmeryOver in Should we discourage leading +/-1 on comments?, Shog9 introduced a comment filter that prevented us from posting comments starting with -1. Okay, fine. But what are we supposed to post instead? I think it's fair to say that I'm a pretty conscientious Stack Exchange citizen - I read Meta,...

 
user1804599
Pro-tip: when a mod asks a question on Meta Stack Overflow, it's not a question but an announcement.
 
@rightfold Sometimes, it's actually a question. Or a strawman. Or a strawpoll.
There's some variety.
 
8:15 PM
this is unneeded prohibition.
 
I get that this is satire (might be missing the humour though), but does it actually reflect what is generally believed in Germany? @Xeo @Sbi @R.MartinhoFernandes ?
 
@khajvah Already read it all?
 
no
I was talking about +/-1 prohibition
 
@khajvah Now I have no idea whether you read those questions, their answers and the comments on them...
 
@rightfold why do you read meta?
 
8:26 PM
@Deduplicator forget about it. I am too lazy to think about -/+1s :)
 
@thecoshman lol this is great
 
well
I need to pick out parts for my new PC then
 
@rightfold Also note that Shog is a Community Manager, so he's basically a step (or more?) above mere moderators (so your comment is probably even more true in this case).
 
Hadley Wickham
 
8:40 PM
@JerryCoffin well, he's an SE employee
 
Xeo
@Puppy i5 4680k, GTX 760, 16gig RAM, 700W PSU, appropriate MoBo
works great!
 
@FlorianMargaine Yes, all CMs are.
 
@FlorianMargaine Shog9 is an employee?
i thought he was just a mod
 
@Blob Yup.
@Blob I think he was at one time, but he's been an employee for (quite) a while.
 
How you guys prevent huge names in functions?
 
8:43 PM
how huge?
 
For example I have this functionname right now: MeanAnomalyToEccentricAnomaly - which is a longer name than actually the function content.
 
@paul23 Organise patrols with hounds.
 
@paul23 MeanToEccentric
 
Well I also have "MeanMotionToAbsoluteMotion", and if I would name that MeanToAbsolute confusion arises..
 
MeanToAbsoluteMotion
 
8:45 PM
@Xeo I haven't purchased yet
 
MeanToEccentricAnomaly
both look fine to me
 
Xeo
U ToEccentricAnomaly(T MeanAnomaly)
 
@paul23 anomoly::mean(eccentric const &); motion::absolute(mean const &);
 
but I'm looking at i7 4790, gtx 960, 16gb
 
Xeo
@Puppy well, if you've got the money
I'd go with a k version of the CPU
just 10 bucks more, usually
sometimes even the same price
 
8:47 PM
well
 
@JerryCoffin That will add many more bugs (they're just radians & meters, so I'd need to overload a huge amount of functions to like all trigonometry)
 
I may want to consider building it myself instead of ordering a prebuild
my tax rebate was not so high as I thought
 
Just to show eccentric anomaly in geometry: en.wikipedia.org/wiki/Eccentric_anomaly
 
stupid git question: when you're managing 2 repos and one uses another as a submodule and you wanna use ssh because typing in user/pass is annoying but your buddy who's also working on the project may not be using ssh, how do you manage crap?
 
hmm
and apparently the 960gtx is pretty weak compared to the 970 and 980
 
Xeo
8:49 PM
@Puppy It's a previous-gen GPU, IIRC
 
confusing for them to not increment the generation number for a new generation.
 
Xeo
They do that all the time
9xx is "new generation"
but the lower numbers use previous-gen chips
something like that
 
@paul23 I'm not sure it's particularly likely to add bugs, but it might be a lot of work--perhaps an unjustified amount. I suspect there's something cleaner to be found there, but the overall patter is impossible to guess from the names of only two functions.
 
what I don't really know anything about is motherboards
 
@JerryCoffin The bugs was me thinking of making a generic top level class for all trigonometry and then deriving for this for the different anomalies. Sure I guess I'll prevent bugs by introducing only explicit constructors, but then that opens another can of conversions of simple numbers to the correct type, not sure that reduces the amount of interfacing in code.
@JerryCoffin The goal is to (see wiki linked above) allow "conversion" from all different systems to describe a position on an ellipse (true, mean and eccentric anomaly, given semi major axis/eccentricity - or semi minor axis).
 
8:59 PM
0
Q: Delete more book lists!

Andrew ArnoldThe list of books every programmer should read has now been thankfully deleted with community support. But there's still a couple floating out there; I found these two very quickly but there may be more. They're both already locked, but we can do better! The Definitive C++ Book Guide and List T...

 

« first day (1692 days earlier)      last day (3255 days later) »