« first day (832 days earlier)      last day (4119 days later) » 

sbi
9:02 AM
@CatPlusPlus Actually, you have a very limited tolerance no matter what it comes to.
 
duh, mumble is hosted on sourceforge. How 20th century
 
@CatPlusPlus interesting how "binging" is ambiguous these days (to Bing, or to binge)
I reckon archaic spelling could be used to reveal intended etymologies: "bingeing"
 
Bing bingeing is an unhealthy habit.
 
@Mysticial did you send the guy your address? I'm really curious of his proof.
 
sbi
9 hours ago, by Jerry Coffin
Everyday is lame pun day in the lounge.
 
9:08 AM
oh wat this interface is even worse than I've remembered it. Is there any particular reason we're NOT using Teamspeak?
 
What is it
 
@sehe the most popular VOIP software for gaming
 
@BartekBanachewicz oh. okay. I could replace mumble. Maybe over the weekend. If anyone cares
I'd prefer to run it alongside for tests
 
sbi
@thecoshman When one of those come up in my calender, I just mark as "not participating". If it's a nice day, I'll even tell them that I need to be home at that time. But I don't feel obliged to bother.
 
9:11 AM
Or, you could also show up on my server; I'm hosting TS3
 
@BartekBanachewicz Oh, better :) Spreading of risk and effort. You could just announce it. People like choice (not)
 
Please choose whether you like choice or not.
5
 
Teamspeak 3 (as alternative to mumble for tests) - server: tomalka.no-ip.org Channel: Lounge<C++> Channel Password: cats
Right now I've set Speex on it, but some might prefer GSM; we're using GSM when gaming from well connected locations
 
sbi
@R.MartinhoFernandes Oh, that is why you weren't there!? Hadn't you got an invitation? Too bad, you missed a great evening.
 
An oh, it would be nice if I could copy a part of my old mc world into ours. My laboratory took a while to build, and it's using hell of BUDs, which are pain in the ass to rebuild. I have a world snapshot somewhere, so if there's a possibility to do it, it would be great. I'd like to work on my redstone LAN switch, but without printer it isn't nearly as fun.
 
9:20 AM
@BartekBanachewicz Talk to Etienne or Luc, I guess. Luc has full access to the server
 
Xeo
@BartekBanachewicz I don't think that's the best idea.
 
user1182183
ok um, if I want to pass a std::vector to a function, do I have to create it outside of the function parameters , add values to it and thenn pass it or is it possible to do something like foo(std::vector<int> | here my int values|); ?
 
user142019
Hmm.
 
It's your world
 
user142019
I should stop within six days.
 
@GamErix fun(std::vector<int> const& v); fun(std::vector<int> { 1, 2, 3});
 
@Zoidberg Make your mind up time
 
user142019
@sehe I ONLY HAVE SIX DAYS
 
user142019
:P
 
9:22 AM
@sehe Well, I know, but it anyway was a) underground laboratory b) I'd like to continue working on that topic.
@Zoidberg what's it about?
 
@BartekBanachewicz ending his study on good financial terms requires a decision within 6 days. Probably LESS with a written request of sorts /cc @Zoidberg
 
user1182183
	std::vector <std::vector<cell>>  NodePoints;
	NodePoints.push_back(
		std::vector<cell> {amx_ftoc(xPOS) /*float to cell*/,amx_ftoc(yPOS),amx_ftoc(zPos)}
	);
 
@sehe decision about what?
 
user1182183
error typename s not allowed...
 
user1182183
: $
 
9:24 AM
@GamErix that's fucking unreadable.
 
@BartekBanachewicz stopping
 
user1182183
@BartekBanachewicz ok now it is
 
Also don't use vectors of vectors.
 
user1182183
@BartekBanachewicz then use what to get data[NodeIdentifier][X,Y or Z pos] ? O_o
 
@sehe well so he has to resign or what? I still don't get it, sorry.
@GamErix Why are you using vector of vectors? Don't be so close minded
 
user1182183
9:26 AM
@BartekBanachewicz so I can do Position[NodeID][0],Position[NodeID][1],Position[NodeID][2] in Pawn
 
user1182183
0 - x, 1 - y, 2 - z..
 
umm, use vector of struct { x, y, z };?
 
@BartekBanachewicz ah well :(
 
user1182183
@BartekBanachewicz then if I pass it as .data will it be accessible like Array[0][0], Array[0][1] .. ? ;o
 
@GamErix why it has to be accesible like that? Are you iterating on x, y, z by loop?
 
user1182183
9:28 AM
@BartekBanachewicz in the Pawn Code yes, ofcourse I would 've used a struct if it was C or C++ only
 
@GamErix Sorry, but I honestly don't give a fuck about that shitty pawn thing. I've told you a dozen times already why it sucks, but if you still want to get into that pile of crap, feel free.
Just don't spam here asking about C++, because it's only annoying. Writing terrible C++ code because you use pawn is something so terribly, terribly wrong...
 
Just plonk, you know
 
user1182183
mkay, well then another vector will do which I pass every time and clear ;>
 
@sehe I'm just going to take a shower.
 
user1182183
@sehe you can't plonk me, I'm already plonked ; >
 
user1182183
9:31 AM
and plonkception doesn't make sense
 
9:43 AM
@GamErix he meant that I can plonk you
 
user1182183
@BartekBanachewicz Well I can't demand to unplonk me, nor say anything that you must do, nor control you, so you may do what you want :p
 
user1182183
which concludes.. that I don't care if I'm plonked or not xD
 
word joke, worder joke, but the worst joke is no joke...
 
@sbi What are you talking about?
 
@GamErix How about a std::vector of a std::array?
 
user1182183
9:55 AM
@FredOverflow hm, you know, I need to try that
 
Of course that only works for fixed dimensions like 3.
 
user1182183
@FredOverflow X Y Z pos is fixed : D
 
user1182183
lucky me ^.^
 
std::vector<std::array<int, 3>> it is, then :)
 
user1182183
NodePoints.push_back(
	std::array<cell,3>{xPOS,yPOS,zPOS}
);
 
9:59 AM
@Code-Guru lol
 
user1182183
@FredOverflow hmm, error :>
 
> this website says my question doesnt meet some quality standard thing. i am going to keep adding stuff into this question until it works. somebody remove that from the website it is annoying.
std::array has no range constructor, it's a POD.
 
user142019
@BartekBanachewicz if I quit school within six days, I don't have to pay back any money to the government.
 
user142019
I get about a hundred bucks each month.
 
std::array<cell, 3> temp = {xPOS, yPOS, zPOS};
NodePoints.push_back(temp);
 
10:00 AM
@Zoidberg umm... Okay. But then you'll be left without diplomma, right?
 
user1182183
@FredOverflow hm ok, the way I wanted to avoid because it looks so ugly XD
 
user142019
@BartekBanachewicz Yes, but I don't care.
 
@GamErix AFAIK, you cannot do it any other way.
 
user142019
The number of fucks I give about that diploma is equal to how much that diploma is worth.
 
user1182183
@FredOverflow hm okay, then post an answer here, seems someone replied, but you deserve some + for helping
 
user1182183
10:02 AM
if that' okay with you
 
@FredOverflow NodePoints.push_back(std::array<cell, 3> {xPos, yPos, zPos });
@Zoidberg I wish Intel thought the same :/
 
@BartekBanachewicz NodePoints.emplace_back(xPos, yPos, zPos) (might need {})
 
@BartekBanachewicz emplace_back does not work with arrays, right?
 
@FredOverflow it's not an array? it's a std::array. Why would it not work?
 
@sehe Because std::array has no constructors?
 
10:03 AM
so I think explicit constructor is required
 
Xeo
@FredOverflow I think so. I think it was specified to do new (storage) T(args...), not T{args...}
 
Mmm. Is it explicit
 
user142019
Explicit is better than implicit.
 
:7371391 Wokay. I never realized that
 
@Zoidberg it's also longer
 
10:04 AM
@Robot ohai :)
 
Xeo
NodePoints.push_back({xPos, yPos, zPos}) should work, though.
 
user142019
@BartekBanachewicz irrelevant.
 
@Xeo main.cpp:11:26: error: no matching function for call to 'std::vector<std::array<int, 3ul> >::push_back(<brace-enclosed initializer list>)'
 
user1182183
@Xeo expected expression, 6 errors ; o
 
Xeo
Hmm
 
10:07 AM
you can get rid of 3 by using as_array
but it isn't exactly an improvement here
 
Xeo
@BartekBanachewicz You guys suck.
 
@Xeo link or it doesn't happen
 
@Xeo I was sceptical to the whole idea.
 
Xeo
$ cat main.cpp
#include <vector>
#include <array>

int main(){
  std::vector<std::array<int, 3>> v;
  v.push_back({1,2,3});
}
$ clang++ main.cpp -std=c++11 -stdlib=libc++
$
 
Xeo
10:11 AM
$ clang -v
clang version 3.3 (trunk 173043)
@FredOverflow GCC 4.5, seriously? :P
 
It also doesn't work on VC6 ;)
 
Xeo
hrhr
GCC 4.7 also sucks, btw.
 
@Xeo I just wanted to say that Coliru is on 4.7
Anyway, tis standard or not?
 
Xeo
Should be
 
that's not an answer, though I agree
 
Xeo
10:13 AM
std::array can be list-initialized, so I see no problem.
 
@GamErix Just use the portable two-line temp solution and be done with it :)
 
@Xeo Brace elision only applies on assignment AFAIK.
 
Xeo
@R.MartinhoFernandes C++Next
 
1 min ago, by Bartek Banachewicz
Anyway, tis standard or not?
You suck.
 
user1182183
10:14 AM
@FredOverflow I would like but that two line portable solution seems to give an error in Visual Studio 2012 O_O which suprises me.. I use the C++11 compiler. I think..
 
user1182183
at least my dll needs the VC++2012 runtime
 
post error message
 
user1182183
std::vector<std::array<cell,3>> arrx;
arrx.push_back({1,2,3});
 
@Xeo {{ mmkay }};
 
user1182183
1>------ Build started: Project: RouteConnectorPlugin, Configuration: Release Win32 ------
1> main.cpp
1>RouteConnector\main.cpp(168): error C2143: syntax error : missing ')' before '{'
1>RouteConnector\main.cpp(168): error C2661: 'std::vector<_Ty>::push_back' : no overloaded function takes 0 arguments
1> with
1> [
1> _Ty=std::array<cell,3>
1> ]
1>RouteConnector\main.cpp(168): error C2143: syntax error : missing ';' before '{'
1>RouteConnector\main.cpp(168): error C2143: syntax error : missing ';' before '}'
 
user1182183
10:15 AM
on push_back it begins
 
isn't it Visual Studio? ^
 
Xeo
@GamErix That's not the "two line portable solution"
 
@GamErix That's the one-line solution. I meant this one:
15 mins ago, by FredOverflow
std::array<cell, 3> temp = {xPOS, yPOS, zPOS};
NodePoints.push_back(temp);
 
Xeo
Also, no proper list-initialization yet in VC
 
10:16 AM
"no overloaded function takes 0 arguments" lol
 
user1182183
@FredOverflow Z:\Programs\Microsoft Visual Studio 11.0\VC\include\xmemory0(617): error C2664: 'std::vector<_Ty>::vector(const std::allocator<_Ty> &)' : cannot convert parameter 1 from 'std::array<_Ty,_Size>' to 'const std::allocator<_Ty> &'Z:\Programs\Microsoft Visual Studio 11.0\VC\include\xmemory0(617): error C2664: 'std::vector<_Ty>::vector(const std::allocator<_Ty> &)' : cannot convert parameter 1 from 'std::array<_Ty,_Size>' to 'const std::allocator<_Ty> &' ;o
 
user1182183
and 1000 lines of this error ...
 
"cannot convert parameter 1 from 'std::array<_Ty,_Size>' to 'const std::allocator<_Ty> &'"
VS error messages are hilarious.
 
@GamErix that's 1000 lines because std y u no static checks. -.-
 
@GamErix What line is causing that error?
 
10:18 AM
@FredOverflow include\xmemory0(617)
 
user1182183
@FredOverflow trying to find out
 
Did you make a vector of allocators?
hehe
 
user1182183
@R.MartinhoFernandes std::vector <std::array<cell,3>> NodePoints; I hope that's not a vector of allocators..
 
> (...) OK these are in flower brackets {} (...)
 
flour brackets
 
user1182183
10:20 AM
@BartekBanachewicz _VARIADIC_EXPAND_0X(_ALLOC_MEMBER_CONSTRUCT, , , , )
 
fleur brackets
 
Why the heck does that use variadics.
 
user1182183
obviously this line: std::vector <std::array<cell,3>> NodePoints;
 
floor mounting brackets
@R.MartinhoFernandes I can't see anything going on there (plonks) but I have a sneaking, evil, suspicion: "because of polar bears". LOL
 
One of VS or Gam Erix is terrible. Or both.
 
10:23 AM
@R.MartinhoFernandes hrhr
 
Who am I kidding? I already know that VS is indeed terrible.
 
@R.MartinhoFernandes He's using Pawn.
 
Oh. Nah. I once suggested horrible use of variadics. But it wasn't with gamerix
 
What the fuck is that?
 
Not a Rook
Polar bearn have strong pawn
 
10:26 AM
@R.MartinhoFernandes you don't want to know
 
Why is it that people insist on copying crap from C?
 
They think it's "old school" and nifty.
 
@R.MartinhoFernandes They even wrote a book I pasted recently (21th century C)
 
@BartekBanachewicz Yeah, but that is about C.
 
user1182183
fuck VS, srsly, fuck it. So hard behind. Where is it? Still in 2006?
 
10:31 AM
I am talking about making new stuff (like that Pawn thingy) and copying the bad ideas from C.
 
hrhm Objective-C
 
@BartekBanachewicz That is old as heck.
 
They might just thought these features are nice. Well it's old but fits the pattern
 
> Appeared in 1983
 
Even in 1983 C was already crap
 
10:41 AM
Crap has always started with C
 
user142019
Use Haskell.
 
user142019
PROBLEM SOLVED.
 
fucking over engineered solutions
 
user142019
Confluence is FUCKING TERRIBLE.
 
ohhh confluence
 
10:43 AM
hmm It's made by Atlassian
And while the latest - 1 version of Jira sucked balls, the newest one seems legit.
Didn't have the chance to use it yet
 
Xeo
Hm. Clang 3.3 vs GCC 4.4.6, GCC rebuilds the whole project faster. I'm confused.
 
@Zoidberg I thought as much
@TonyTheLion used it?
 
yes
unfortunately I've been exposed to it
 
@Xeo clang is conformant, but ain't exactly optimized
 
Xeo
@BartekBanachewicz Eh, it was always advertised as compiling faster than GCC.
 
10:47 AM
I think some one high up here has friends at Atlassian
 
Xeo
(And yes, I did use a release build for Clang)
 
guess what our company uses for "corporate wiki".
In it's defense, I can say it is very fast
 
@Xeo advertising
 
@Xeo So what? GCC sucks for political reasons and FUD.
 
fucking demo videos are filled with so much bullshit
 
10:48 AM
well it's just a fucking wiki, what's the fuss about
 
Xeo
@R.MartinhoFernandes Yeah, but I'm trying to find reasons to make the guys here switch to Clang, and "slower compiles" isn't exactly a good argument. :)
 
@Xeo I've seen gcc outperforming clang a lot in compile times. By considerable margins. Dunno how that happened.
 
Xeo
(And with GCC 4.8, even the error messages aren't that strong a reason anymore.)
 
@BartekBanachewicz Money. The fuss is about money. Just clarifying
 
@BartekBanachewicz the bull shit and hype associated with it
 
10:50 AM
@Xeo Eww, 4.8 error messages are terrible.
I hate clang for that.
 
@thecoshman You're the one building negative hype right now
 
No, thanks, I can see my source code myself. Just tell me what is wrong.
 
Xeo
@R.MartinhoFernandes What?
 
wikimedia => free
confluence => not free
you now have to convince me why to pay money?
 
@Xeo Doesn't 4.8 have clang's style of spitting my source code with all kinds of ASCII arrows around it?
 
Xeo
10:51 AM
@R.MartinhoFernandes Well, the caret below, yeah.
 
@R.MartinhoFernandes Oh, you mean, I'm not the only one who resents 'userfriendly' compiler message formatting?
 
@thecoshman well it's not like you are paying
 
Xeo
And generally improved messages
 
I don't think that adds any value to the error messages. Quite the opposite.
 
do managers see those promo videos and automatically believe every ounce of shit "it makes you'r team faster" oh well if the video says it does, it MUST be true
 
10:52 AM
@BartekBanachewicz Indirectly. With his soul
 
Yeah, file:(LINE, COLUMN) is enough
 
@R.MartinhoFernandes The opposite, agreed.
 
user142019
@thecoshman EVERYBODY USES CONFLUENCE AND IT'S WRITTEN IN JAVA AND FROM ATLASSION SO WE MUST USE IT BECAUSE IT'S GOOD!
 
Xeo
@R.MartinhoFernandes Hm, can't quite say I agree to that. I like the caret.
 
@BartekBanachewicz file:line:column would be nicer still
 
10:52 AM
@Xeo My text editor can do that job. And it does it better.
 
user142019
The best is a bunch of Markdown files with Git.
 
There's no such thing as user friendly compiler. We're writing C++, it's supposed to be hard
 
@Zoidberg You can pay for it, it must be the best
 
@BartekBanachewicz no, but I am the one who needs a job and who's company will not be able to operate if it keeps waning money over products it does not need to pay for
 
Also, I prefer to doubleclick on error message and see it in source, underlined
 
10:53 AM
@BartekBanachewicz Keyboard for the win
 
Xeo
@R.MartinhoFernandes Jumping to source location?
 
user142019
Why are there so few geeks on this school. :(
 
@sehe or press enter, doesn't matter
 
what does confluence even offer that wikimedia doesn't?
other then a price tag?
 
user142019
MediaWiki *
 
user142019
10:54 AM
No need for a PHP server. xD
 
Xeo
Btw, -fno-caret-diagnostics @R.MartinhoFernandes @sehe
 
user142019
Real people write their own wiki software.
 
Raw output from the compiler is hardly useful.
 
@Xeo I know.
It still sucks as the default.
 
10:55 AM
@BartekBanachewicz as far as I can see, the only 'feature' is that you can have segregated wikis
 
@Xeo Try using that option with GCC 4.7.
 
@BartekBanachewicz still the wrong mode. A direct key to go the next error in the current file, or the next error in the next file. Why scroll, in order to be able to press enter on something that you first have to see, read, select? This can all be automatic
 
which isn't that big a deal, if you want that, just run two wikis
 
@R.MartinhoFernandes painful
 
but for us that is actually a bad idea due to how much integration there actually is
 
10:56 AM
I get either those lousy error messages, or break build compatibility with 4.7, or have to fuck around with my build script.
 
@sehe There are Go to next/previous error in VS
 
> Similar to Facebook, 'Likes' encourage user engagement on pages, blogs, and comments, and drive discovery of 'Popular' content.
no
 
Anyway, it can be customisable. And the point is, I want to see errors where they are, not in the Output window
 
fuck off with your stupid fucking 'lets make it like facebook' bull shit
 
It should be -fcaret-diagnostics.
I don't want to fuck around with my build script because of aesthetic reasons.
 
10:59 AM
@BartekBanachewicz I know. But you said "or press enter" and "it doesn't matter". Anyways, who uses VS (especially with gcc :))
 
@sehe I do. without GCC, of course. And I love it nearly as much as I hate it.
 

« first day (832 days earlier)      last day (4119 days later) »