« first day (980 days earlier)      last day (3984 days later) » 

8:00 PM
I sshed to a friends machine who suffered from inode-problems, I started rm'ing some old cache-files but didn't free any inodes.. "weird", I thought to myself.. before I checked the global zshrc and found out that rm as an alias for /usr/bin/move_to_trash, a script ignore anything starting with - and just mved shit
 
JBL
@refp How can you end up with such aliases ?
 
@JBL you as in me, or "you" as in "why do others tend to create stupid aliases"?
 
JBL
@refp The latter.
 
@JBL if I knew that I'd solve this alias madness
 
user142019
@BoltClock Some people have the IQ of a potato.
 
JBL
8:02 PM
Oh well. My question could very well be "Why are there stupid people ?" anyway.
@rightfold In this case, that's mean for potatoes.
 
I have three aliases in my zshrc:

alias vim='/usr/bin/vim -i NONE'
alias top='top -d0.6'
alias feh='feh -f /dev/null'
 
user142019
@JBL I don't care about the feelings of tubers.
 
anyhow.. weed time, I don't know why I haven't smoked that yet.
 
user142019
Have fun.
 
@Code-Guru I'm at
\title
 
8:08 PM
@CaptainGiraffe What's that?
 
@CatPlusPlus What were the things to exclude from a repo based on VS solutions?
It was like
*.user
*.suo
*.sdf

?
 
Output directories, too.
And .opensdf
 
Oooh, opensdf
Damnit I forgot that one. D:
I got x86 x64 Debug Release and the likes of those.
Christ LLVM source so beefy. x_x
So many files to commit... Hg has frozen.
 
check out the Wide repo's .hgignore
 
Probably also want to exclude *.ncb and *.opt (if either is present).
 
8:19 PM
@DeadMG YOOU
 
hi
 
You forgot to commit files! My wide build is broken!
 
which files
 
lexerstatics and all them!
 
oh
really? I'm pretty sure that should have been in
 
8:20 PM
Nope. I checked out from source and a big fat "NOPE" happened.
Look in the Wide/source yourself. :O
 
=[ WHy am I not getting these changes?
Damnit mercurial, I haetchu. ;~;
 
are you failing to build the primary Wide project, or CAPI?
 
All of them.
 
huh
undefined reference to the lexer's constant static variables?
cause the lexerstatics.cpp file clearly exists for me and bitbucket thinks it exists too
 
8:23 PM
Yeah
Hm...
Let me just... fresh pull and everything.
 
I'm not gonna commit my latest changeset because I'm part way through fixing up some Clang code
 
Oh.
 
and it almost certainly won't execute correctly
@ThePhD lexerstatics should still be in the most recent commit on bitbucket.
 
Well tell me when that's done. Then I'll do the renaming and the environment variable stuff. :D
 
@DeadMG I have a question for you
say I've created a few operator== functions for a class
can I implement operator!= as a template that takes any type and is written as !(*this == other) ?
 
8:26 PM
no
 
@ThePhD I just learned that you can commit only part of your changes. Go ahead and pull again.
@BartekBanachewicz Because you can't make it findable for all classes. Even if you could, the overload resolution is ambiguous for all types that already have !=.
 
Uh. But if I pull/push, I'll be changing solution files and stuff. Are you sure? :c
 
Gee why am I still here.
 
@DeadMG "already have !=" ?
 
8:27 PM
@ThePhD Feel free not to pull. It's a tweak really. I don't know what the issue is with lexerstatics, you could just download it from bitbucket and add it yourself.
 
@BoltClock Because you're the Unicorn to save us all.
 
@BartekBanachewicz As in, x != y is already valid.
 
@BoltClock good question
 
I can't see a situtation when this could happen, really.
Wouldn't then defining != by hand break it anyway?
 
imagine std::string. It has an operator!=. If you introduce your global !=, then now std::string() != std::string() is ambiguous- your global one, or std::string's?
 
8:29 PM
@BartekBanachewicz Erm, take any type in the stdlib with op==. They all have an existing op!=.
 
@DeadMG but the first type would always be my type...?
I meant that the template should be only on the thing I am comparing to
 
@BartekBanachewicz If it's only your type/template, then how would this be beneficial compared to CRTP-based implementation, which already exists?
 
Just use Boost.Operators.
 
@DeadMG I've lost you there.
@R.MartinhoFernandes oh!
 
@ThePhD So does lexerstatics just not exist, or what?
 
8:31 PM
It somehow self-deleted itself after the pull.
I managed to just stick it in manually.
 
ok
 
@MonadNewb ok bye
 
@JerryCoffin derp.
 
so what are you actually up to with Wide right now?
 
8:36 PM
@DeadMG I forgot how to write helloworld with Wide. :c
 
@ThePhD I pushed it in the latest commit.
 
@JerryCoffin Hm?
 
guys
what happened
 
We're divorcing C++.
 
@BoltClock Clearly a user in need of some...serious guidance. :-)
@ThePhD C++ got divorced from C long ago. Did it remarry while I wasn't looking?
 
8:49 PM
Yes
AND THEY'RE HAVING KIDS
Good thing C++ has dominant genes
I wonder if it'll be a C++14
 
ERROR 1136: Column count doesn't match value count at row 1

SQL Statement:

DELETE FROM products WHERE id = '438'
MySQL, ladies and gentlemen.
 
MySQL is COBOL's resurrected twin brother
 
"Delete a row? What do you think I am, a database?"
 
TIL about "cargo cult programming". This soooooo describes my friend. He's stuck on using threading for everything!
 
room topic changed to Lounge<C++>: Die in fire, MySQL. [c++] [c++11] [c++-faq] [no-helpdesk]
 
8:56 PM
Ugh I shouldnt have answered that linked list question. OP thanks me for my answer, no upvote no accept...
rep whore questions ftl
 
I thought I was merely drunk, but lounge full of SQL. Must be slaughtered.
 
@Borgleader maybe the accept timer isn't up yet
@Borgleader I often forget there is a delay before a questioner is allowed to accept an answer...
 
@MonadNewb Accept timer? I answered that yesterday
 
@Borgleader ahh...then that's not the problem ;-)
well, go rep whoring other questions
that's what I do
need 110 rep for 10k priveleges
 
Or play a slightly less dumb game, like candy box.
 
8:59 PM
@Borgleader Provide a really good answer to my linked-list question and you'll get an up-vote (but my standards for "really good" are high).
 
lol, if I was the robot I might take on that challenge but as it is, no ty
 
@JerryCoffin Bjarne actually had a video about std::vector vs std::list
 
Agggh damnit
Merging pulled in another hardcoded path @__@
 
@Rapptz Yes, I know. I asked that well before his video (though the intent was roughly similar).
 
I know your question was older. I felt as if it was relevant to it though.
 
9:08 PM
@DeadMG Everything builds, everything's been renamed, and all hardcoded paths are gone. I think it's ready to be pushed
 
@Rapptz It is, sort of. My point when asking the question was mostly that assuming linked lists generally have poorer performance (the subject of his video), are there good reasons to use them anyway? I was frankly pretty impressed -- people came up with some pretty good answers about reasons/situations where they made sense anyway.
From there, my original intent was to refer to that essentially every time somebody asked a question about linked lists, with a note that "if what you're doing hasn't been upvoted here, you probably shouldn't be using a linked list", but I've never quite had the heart to do it.
 
I use vector by default and have never really run into a case where i had to use lists so far
 
@Borgleader Chances are pretty good that you won't any time soon, either. At times I've thought the standard library should just have one "sequence" class, with template parameters to give hints about how you think you're going to use it, so it could switch between vector-like and deque-like (and ignore list-like completely).
 
Apparently, "ugabuga" is not LIKE "%ugabuga%" with % being wildcard, according to MySQL.
Why is this shit allowed to exist.
Why.
 
9:23 PM
hehe
 
@DeadMG Going to commit now.
 
@CatPlusPlus Because misguided people continue to use it.
 
I've almost never used a list either.
 
Woo, it's not MySQL stupidity after all.
 
<3
I contributed to wide.
 
9:28 PM
listening to yeezus, and now I wanna write some pointless shiznit.. anyone got any ideas (c++, but I guess that's given)?
 
I did some error handling improvement and made it so other people can pull and use it without much trouble. <33
 
Someone thought it'd be a good idea to inner join on dependent objects we're counting.
 
The last thing I need to do is set up an automatic sym-linking step.
I need to make a symlink wide.exe that links to the current version being output by VS.
 
I don't have to write workarounds, woo.
 
Anyone know how to make symlinks in Windows?
 
9:29 PM
@ThePhD in windows they are called shortcuts
 
@ThePhD mklink
@refp No.
 
Shortcuts are different from symlinks
 
@refp I think ThePhD is referring to something like this: en.wikipedia.org/wiki/NTFS_symbolic_link
 
@CatPlusPlus fony attempt at trolling ;-)
 
That's not trolling.
 
9:30 PM
@CatPlusPlus to me it is
@CatPlusPlus any "1337 windozer" would reply with something similar
 
That's still not trolling.
 
@CatPlusPlus then, fine sir, what is trolling?
 
@refp what you are doing
 
I was hoping for a more aggrevated reply than "shortcuts are different from symlinks", if that would have happened I'd have continued being a "1337 windozer"
@StackedCrooked I don't know
 
ignorant fool
 
9:34 PM
@StackedCrooked ;-)
enough of the gibberish, I'm will try to behave myself and not write stupid crap
 
FUCK U MSVS Y U NO INHERIT CONSTRUCTORS
piece of useless crap
seriously.
 
@BartekBanachewicz saj wuut?
 
@refp inherited constructors
 
... I need to be admin to mklink?
That's pretty shity.
 
9:35 PM
MSVC is good only at one language that starts with C, and it's neither C nor C++.
 
oh come on 2008
kill me.
 
@BartekBanachewicz with using BLA::BLO? msvc is slöw, the reason that is why.
 
@ThePhD Yup. Why? Nobody knows.
 
@CatPlusPlus Cobol?
 
Welp, there goes that idea completely.
 
9:36 PM
@refp without using anything.
 
Git e.g. opted for using filesystem-agnostic software-implemented symlinks.
 
it should "just work" that's the point
 
@BartekBanachewicz it.. should?
 
and now I am copying the whole fucking code because the compiler is so dumb
 
@refp C@ or something
 
9:37 PM
@StackedCrooked cats are awesome.
 
Also I have no idea why people are using log4net.
 
@refp or wait maybe it shouldn't. Still, no using
 
Is it possible to use Windows SDK headers, etc. with GCC? (i.e. with MinGW)
 
@BartekBanachewicz it shouldn't work without using, if it did then that's another reason not to use msvc (or msvs as a whole)
 
@refp no, msvs just doesn't have any form of using
 
9:38 PM
@Insilico No, MinGW has its own set of headers.
 
@BartekBanachewicz wait, you are talking about the compiler - right?
 
WinSDK works only on MSVC due to vendor extensions for IDL and crap.
 
Plus, MinGW's headers are public domain.
 
Damn. That would solve a lot of "MSVC++ doesn't support <C++11feature>" problems.
 
9:39 PM
@BartekBanachewicz and c++? I don't work with msvc but I'm quite sure it supports using in the context we are talking about (c++11)?
 
@DeadMG Careful, renaming and new directory structure has been pushed. Watch out for things breaking suddenly!
 
@Insilico How is that even related?
 
@refp i think it doesn't, but maybe I am wrong
 
@refp It doesn't.
 
@ThePhD How could you push? I revoked your write access
 
9:40 PM
@Rapptz whaa.. I pity those stuck with msvc++ :(
 
@DeadMG ... Oooh, it failed. x3
 
@CatPlusPlus It's not so much a solution as much as it is a hacky workaround. The real solution of course is for MS to get their shit together.
 
Well, let me uh. Make a pull request then.
 
@DeadMG I wanna push, WANNA PUSH IT ALL! gimme ax
 
Thingy mahdoodlebohbber.
 
9:40 PM
@Insilico I don't know what you're talking about.
 
;~;
I can't even make a pull request.
 
@DeadMG if it's an interesting project I am interested though, please disregard my.. my.. being me
 
q_q all that work.
 
@CatPlusPlus Based on the Oracle vs. Google decision, Microsoft's probably are (at least effectively) as well.
 
@Insilico core features of c++11 can't be implemented by just "using other headers"
 
9:41 PM
HALP
should the move constructor of my "handle" class also take a deleter as parameter?
 
@refp No shit. What I'm saying is to use a non-stupid compiler e.g. GCC but with official SDK headers to make Windows applications.
 
I guess it shouldn't, but hell broke lose when I tried to use that
 
@Insilico well your last messages kinda suggested that you meant the other way around
 
@BartekBanachewicz Move ctors can only have defaulted arguments aside from the first one.
 
I am on the internet, therefore my average attention span is about 30 seconds.. any messages older than that will not be taken into consideration when replying
 
9:43 PM
So what are you trying to do?
 
@BartekBanachewicz No -- the object should continue to use whatever deleter was supplied when it was constructed.
 
@CatPlusPlus subclass it
 
let's play a game Lounge<C++>, google "gay" and you will see this rainbow border appear around the search input.. let us see what other words google consider to be in the same category. GO
 
example : subclass mywtf : unique_ptr<shit, deleter>, so I don't have to spell a deleter
 
9:44 PM
@BartekBanachewicz Is there a reason why a typedef can't do what you want?
 
I got tired of it after gay, lesbian, homosexual, and queer
 
@Insilico yes, because I also want to automagically give it the pointer to deleter (which is simple C function).
maybe I shouldn't template that class over deleter
C++ is hard.
 
I have no idea what you're trying to solve here.
 
lemme make a gist
 
<- sits tight and wait for someone to yell "never inherit from STL containers"
 
@refp unique_ptr is a container?
 
in general, VboGLId is a fucking mess, much more than I expected and I suspect that deleter template.
 
@Insilico it contains a raw-pointer, doesn't it? ;-)
jokes aside.. I could have worded that differently
 
VboGLId(VboGLId&& other)
: GLId(std::move(other)) {
}
 
also I've just realized I didn't delete old id when using op=
@CatPlusPlus I did that, and it's complaining about copy constuctor :/ maybe unrelated
 
9:49 PM
Also that class is entirely superfluous.
 
1>c:\projects\gldr\src\vertexbuffer.h(34): error C2248: 'gldr::GLId<void (__cdecl *)(GLuint)>::operator =' : cannot access private member declared in class 'gldr::GLId<void (__cdecl *)(GLuint)>'
1>          c:\projects\gldr\src\glid.h(15) : see declaration of 'gldr::GLId<void (__cdecl *)(GLuint)>::operator ='
1>          This diagnostic occurred in the compiler generated function 'gldr::`anonymous-namespace'::VboGLId &gldr::`anonymous-namespace'::VboGLId::operator =(const gldr::`anonymous-namespace'::VboGLId &)'
 
It seems to me you don't even need inheritance in this whole scheme you have set up here.
 
@BartekBanachewicz also, is there any reason operator== and it's related operators aren't const?
 
@CatPlusPlus it's just for convenience of not having to spell the deleters in actual VBO class
@refp the only excuse is that I just wrote it.
oh wait it now complains about copy op= instead of copy ctor
 
Why not make GLId a member of VboGLId? You don't take advantage of any polymorphism here AFAICT so inheritance is kind of pointless.
 
9:51 PM
That's about as best a contribution as I can give you before I learn how the fuck clang works @__@
 
@Insilico inherited constructors would probably make that worthwile
well anyway it sorta works now.
fucking stupid language.
 
Perhaps you can use non-type parameters instead? Something such that you write GLId<decltype(&vboDelete), &vboDelete> which looks stupid but you can hide behind a typedef.
 
that looks like type parameter not non-type one.
 
I felt something crawling on my arm, but since I'm bloody high I just ignored it with; "blargh, u high niggah nothing crawling".. I look down and it's a big fucking spider
 
The second parameter? It's definitely a non-type parameter, if vboDelete is a function.
 
9:55 PM
@Insilico ah wait yes.
 
bricks were shat.
 
my brain is malfunctioning.
crapfuck I could get rid of that template alltogether
 
So GLId looks like template<typename Deleter, Deleter delete> class GLId { ... }; and have typedef VboGLId<decltype(&vboDelete), &vboDelete> or whatever the hell you want for each GLId type.
 
it will break if Deleter is not a pointer type
 
No part of template<typename Deleter, Deleter deleter> requires that deleter be a pointer, no?
 
9:57 PM
non-type parameters have severe restrictions
 
Oh yeah I forget. Damn it.
But isn't OpenGL a C library, though? It has nothing but functions.
(I presume that's what GLId is for)
 
@Insilico it has two different creation and destruction schemes
 
@BartekBanachewicz What the hell kind of library has two different ways to create/destroy things.
 
one is auto id = glCreateX(); glDestroyX(id) and other is int id; glGenXs(1, &id); glDeleteXs(1, &id);
@Insilico and you think why exactly I(and others) am wrapping it?
 

« first day (980 days earlier)      last day (3984 days later) »