« first day (586 days earlier)      last day (4360 days later) » 

2:00 PM
@RMartinhoFernandes never question it
 
@EtiennedeMartel that's what she said!
 
...
 
.. to you that is
 
But I never really liked the whole "that's what she said" thing.
 
not me.. hrm.. I guess I need practive too..
 
2:00 PM
The fun with innuendo is that it's subtle.
"That's what she said" ruins the subtlety by making it obvious.
 
@RMartinhoFernandes I'm sure that you could manufacture a gunbow shark with a laser on its head
 
@thecoshman ok. Thanks for teaching me your communication protocol.
@EtiennedeMartel Subtle. Quebec. Yeah.
Yat's Yhat Yhe Yaid
 
We don't put Y everywhere, ya know.
 
2:07 PM
By the way, that ^^ really is what she said
@EtiennedeMartel 'ya' know - lol
 
(That was intentional)
 
Erm, "you" has a "y" anyway.
 
I bet even y-combinator was invented there
 
I don't get it.
 
Hi anyone know how to rotate a video by 90 degrees using ffmpeg
in c code
not in command line
 
2:09 PM
@RMartinhoFernandes Back to the tropes
@Satheesh I bet the docs know
 
@sehe sehe i googled a lot but cant find a solution
 
The operative word is transpose. Good luck re-googling
 
@sehe i know that, how to implement that transpose into c?
 
> So, again, I got some error that shouldn't be allow[ed] to exist.
lol
0
Q: another g++ compilation error without any sense

widggSo, I'm still working on this big project to make it compiles on Linux. So, again, I got some error that shouldn't be allow to exist. Here's some error that I got: (1) error: expected identifier before numeric constant (2) error: "Value" doesn't name a type Here's a sample piece of code, simp...

 
@sehe i want to rotate a video by 90 degrees using that transpose function in c code.. how to implement that?
 
2:15 PM
preprocess your source. Also loose the attitude — sehe 20 secs ago
 
@Satheesh Ask someone who { knows | cares about } C.
 
@sehe "lose"
 
@sehe It is suck.
 
@Satheesh You already asked that
 
user406009
system("ffmpeg -vfilters "rotate=90" -i input.mp4 output.mp4")
 
user406009
2:16 PM
Done
 
@EthanSteinberg if these commands are directly work in our c code?
 
@Satheesh you could try it, you know
 
user406009
@Satheesh You are going to have to look at the docs. ffmpeg is a large, confusing library.
 
@sehe ok thanks
@EthanSteinberg ok thanks
 
user784668
2:20 PM
@sehe ew, C
 
@Fanael Nope it is a hyperlink, as specified by W3C
 
what happened with the ffmpeg/libav feud anyways?
Is it still something like LibreOffice/OpenOffice.org?
 
user784668
@sehe There are no hyperlinks.
 
@sehe Thanks sehe that link help me a lot, but there is no information to rotate the video using that transpose function
 
2:24 PM
@Fanael There is no spoon
@Satheesh Your screen name really evokes a spontaneous response.
 
user784668
@sehe All spoons are forks of knives.
 
woohoo, is there anything more fun than fixing manifests?
 
someone is trying to use ffmpeg?
 
@jalf windows manifests?
 
@RMartinhoFernandes the last comment says: VC++ is like stupid proof, so it makes code acceptable when it shouldn't! - what does that say about their programmers..
 
2:25 PM
@stdOrgnlDave brave young soul. may he rest in piece
 
@rubenvb What feud?
 
@sehe yup
 
you know I tried to suggest a fix to the team, they asked me to make sure it conformed to their style guidelines
I was like, WTF? ffmpeg? style guidelines?
 
those are nice
not
 
@Default Sounds like my wife who thinks you should literally be able to explain what you want the program to do and have it written for you.
 
2:26 PM
@Neil You can. It is called 'hire a professional'
 
@CatPlusPlus check out march 13, 2011: libav.org
 
Ah, I thought you meant libavcodec.
That libav is something I've never heard of.
 
@sehe That's the sad part though. I am the professional.
 
sbi
@Neil The problem is that non-programmers are notoriously unable to literally explain what they want the program to do.
3
 
Unless we're talking about creating a perpetual chain of programmers hiring programmers to do tasks until due to some magic of recursion, the work returns finished.
 
sbi
2:29 PM
Anyway, gotta go now.
 
@sbi Programmers are notoriously unable to literally explain what they want the program to do, for that matter.
We just do it in style.
 
@sehe no worries, thanks for being needlessly pedantic
 
@sbi So soon?
 
WTF is with that weirdo officer at the beginning of dances with wolves without blue monkeys?
 
So spoon?
 
2:32 PM
SO swoon?
 
No! God no! :(((
It's bad enough being unable to find good documentation, but then when I find it and it abruptly ends..
 
@CatPlusPlus No, because as we all know, there is no spoon.
 
Don't suppose anyone knows how to implement custom tags in jsf 1.2?
 
I can't seem to find any documentation on it. jsf 2.0 comes along and jsf 1.2 documentation literally vanishes. Any remote indication of jsf 1.2 has some sort of side note implying that you probably should have already upgraded to jsf 2.0 by now.
 
2:36 PM
You thought you were eating that soup with a spoon, eh? No! You were using a fork! A fork with some sort of hologram around it that makes it look like a spoon. And that's why you cannot eat the soup. No matter how hard you try, the soup stays there, in your bowl, as the fork is unsuitable for such a task. YOU CANNOT EAT THE SOUP.
There.
 
@CatPlusPlus it bugs me that some of those 'forks' are clearly tridents
 
Now I'm hungry.
 
@EtiennedeMartel braaaaaiiiins
by the way, your hunger sucks
 
It sucks. EVERYTHING.
Sluuuurp.
 
2:41 PM
Hmm, Stack Exchange makes their API far from easy to find …
 
@EtiennedeMartel Ah, is it? That was my first try, doesn’t load
 
I actually can't load stackexchange.com at all
 
@DeadMG So you managed to get an IP ban?
 
I doubt it
else how could I be here
 
2:43 PM
∀x: sucks(x)
 
logical notation sucks
 
@DeadMG chat is secretly sold and hosted by facebook these days
 
There is no chat. We're only a figment of your imagination.
 
does that mean I can bend you like a spoon?
 
imaginaaaation
 
2:45 PM
If this wasn't your imagination, could I do this?
 
I wrote an answer yesterday, then deleted it and wrote a better. I dreamed last night that you guys undeleted the first one because it was decent/helpful, if not the best. :/
 
this weather is too hot for me :(
@MooingDuck I think you need to take a break :P
 
if I intend to have a platform-independent abstraction
should I hide boost::asio?
 
Boost.Asio is a platform independent abstraction already.
What do you need boost.asio for, btw?
 
2:48 PM
true, but I don't want it including the Windows headers or someshit like that
networking
 
Oh, right.
> Anything is possible when your man smells like Old Spice and not a lady. I'm on a horse.
 
graphing my primary component dependencies in my RTS game, and some of the dependencies are two-way, which makes me kinda nervous
 
@DeadMG is there anything to see yet of this game?
 
you can see a teeny eensy pre-pre-pre-alpha build if you like
 
@DeadMG I'll get link of you later, is it linux friendly?
 
2:51 PM
although props to you if you're ballsy enough to DL an executable from a random dude on teh interwebs
and technically, I did leave a Linux port open, but it's not currently done
 
if you were to replace the renderer with an OpenGL one, you could do it
you know, I could really use a proper graphing tool, not Paint
oh well
 
@DeadMG I doubt I know enough modern openGL to do much good
 
@DeadMG all power to the virtual machine :P
 
2:55 PM
@thecoshman Very true
@thecoshman The rendering interface isn't complex- there's no lighting or anything like that, just simple models and camera
 
@Neil Awesome.
 
@DeadMG huh, I might be able make something of it, care to share a link to the code?
 
bitbucket.org/DeadMG/source is the current source code
 
great repo name :P
 
lol, you still have everything in the same repo?
 
user784668
lol volatile
 
ew, you store project shit with in the repo?
 
@Fanael hm?
@thecoshman What kind of project shit are you referring to? I'm pretty sure I excluded virtually all VS files
 
user784668
@DeadMG volatile auto rentime = (rend.QuadPart - rbegin.QuadPart) / (double)frequency.QuadPart;
 
user784668
@DeadMG What do you need that volatile for?
 
3:02 PM
so that I could break and look at it's value in optimized builds
 
not that it actually worked in that respect- I'm pretty sure it's gone in the uncommitted changes
 
@thecoshman That's the project file itself.
 
@thecoshman Well, if I want to keep my directories/settings/etc, then how else am I going to store them?
 
It's just like keeping build scripts in the repo. Nothing wrong with that.
 
3:03 PM
oh yeah
it depends on some libs which I didn't commit, like GLM and the DirectX SDK (which you won't need for OGL)
and maaaybe Boost, although I don't think I use it for anything now
 
And actually, that is really a build script, for MSBuild.
 
meh, I've not used VS for ages, nor do intend to
 
oh yeah
and the Parallel Patterns Library, which you would have to either serialize or replace with TBB
although serializing won't break anything, the logic would look a bit odd, since I made many changes to support concurrency
 
bool still_alive = true; hehe.
 
damn, got a graph tool but apparently it won't let me add simple textual annotations
@RMartinhoFernandes what?
 
3:07 PM
I thought it was a reference to Portal.
 
grrr, I’ve spent the last half hour trying to figure out why Perl can’t find the package after I installed it using pip
 
struct GLaDOS { bool still_alive = true; };
 
and now I wanted to try using easy_install instead and that’s when my mind did a reality check …
 
@RMartinhoFernandes If so, then subconciously.
 
@KonradRudolph Isn't pip for Python?
 
3:08 PM
@RMartinhoFernandes You don’t say …
 
@KonradRudolph:
Pip is a software tool used to install and manage software packages written in the programming language Python. Many packages can be found in the Python Package Index (PyPI). Command-line interface One major advantage of pip is the ease of its command-line interface, which makes installing Python software packages as easy as issuing one command: :pip install some-package-name Users can also easily implement the package's subsequent removal: :pip uninstall some-package-name Most importantly pip has a feature to manage full lists of packages and corresponding version numbers, possible th...
 
guys, I know
that’s the whole point
 
:-P
 
Hiroshi "Chocoball" Mukai (チョコボール向井 - Chokobōru Mukai) is a Japanese male pornographic actor and a former professional wrestler. Life and career Born in Gunma Prefecture on December 15, 1966, Mukai's nickname stems from the resemblance of his dark brown scrotum to Chocoball candy. Mukai is best known in the West from Karl Taro Greenfeld's 1994 novel Speed Tribes where he appears as the thinly-veiled character "Choco Bon-Bon" who is depicted as struggling with methamphetamine addiction. Mukai has since kicked that habit and in 1999 launched a successful side career as a pro wrestler. M...
My boss just told my about this guy.
 
3:10 PM
...
That must have been an interesting conversation
 
.....
 
user784668
…….
 
........
 
 for(int i = 0; i < N; ++i) { std::cout << '.'; }
 
........... ................................................ ... ... .............
 
3:11 PM
(choose some odd value for N)
 
there.
someone star that ktxbai
 
My boss is somewhat funky.
 
@Insilico Wut?! std::cout << std::string(N, '.');
 
It's funny how people say C++ is hard because of pointers, to me, templates are a lot harder to understand; they are far more complex
3
 
3:15 PM
Templates are simple!
 
@thecoshman Prove your claim
 
pointers will kill you, templates will just give you a headache, or automate killing you if you're stupid
 
@stdOrgnlDave kthxbai sigh
 
@sehe Because I obviously remember every single constructor in existence ever
 
bye she!
 
3:16 PM
I'm not saying you can't fuck up with pointers, but they are easier to use then templates. especially as for the most part, you don't need raw pointers
 
@sehe And what pray tell, do you think that constructor does?
 
No, templates are easier!
 
@thecoshman anything that is not a "raw pointer" is a template
 
@Insilico That's not just any constrictor. It is the boa constrictor. There is no excuse for not knowing it. Like container::insert(it, N, value) and container::container(It first, It last)
 
@sehe how can I prove that I think something is harder then something else? Stop being deliberately awkward
 
3:17 PM
Boa constructor.. you know that'd make a great name for a band...
 
if I'm describing an entire application, then the dependencies should be somewhat complex, right?
 
user784668
You need constructors for that? What happened to replicate?
 
@DeadMG not 'should' more 'probably will be'
 
@thecoshman That's the point dude. You make a subjective claim, you should probably acknowledge that you find it more complex. I'm with the other repliers.
 
3:18 PM
@sehe Constrictor? :-P
 
lol
not quite like that :P
 
@sehe I did, 'to me'
 
@thecoshman Sorry. Missed that part?
 
@sehe ¬_¬
 
Interestingly I use <container>::insert() way more often than std::string(N, 'str')
 
3:20 PM
Cloning of Ronald Reagan no longer possible. Sample of his blood pulled from auction site: http://cbsn.ws/JLQP0z via @Adampasick
 
So I got my ECG/EMG/EEG thing working
The problem is that radio controlled cars fuck with the signal
 
The basic concept of templates is easy enough, using things like std::vecotr but when you starting doing things like CRTP, it just goes right over my head
 
@Neil Create a string with N copies of '.'.. Google broken? Besides all sequence containers have similar constructors
 
@thecoshman But it's the easies!
 
@thecoshman: You should take up template metaprogramming.
 
3:21 PM
@Insilico You have redeemed yourself
 
I don't know why string::substr() doesn't use iterators
 
@sehe No, I meant in all probability, it's implemented like that
 
Using string indices confuses the hell out of me with substr()
 
@Insilico Because std::string sucks donkey cock.
 
I don't know why string::substr is a member function.
 
3:22 PM
@RMartinhoFernandes perhaps I need a better example. I can't even work out what it is for :P
 
@Insilico What the puppy said
 
@thecoshman Generic code.
 
I always get one character off using the stupid std::string::substr() function
 
@RMartinhoFernandes :P that's just templates in general, no?
 
@Neil No f. way. Imagine std::cout with unitbuf() set :)
 
3:23 PM
@Insilico write your own substr function or stop complaining.
 
@thecoshman Oh, you mean what CRTP is for?
 
So my perfect code has these stupid '+1' or '-1' things to deal with substr()'s stupidness
 
@RMartinhoFernandes yeah :D
 
@RadekdaknokSlupik: Yeah I have my own substr() function for that purpose
 
3:24 PM
To add stuff to a type that depends on that type.
 
Although it's called SubString() because that's Obviously The One True Coding Style.
 
it's some sort of mad, having a derived class based of off a base class that is templated of the derived class... I think
 
A good example is Boost.Operators.
 
@Insilico You and I live in different worlds. Substring is one word. Call the function Substring.
 
@sehe Granted, perhaps slightly optimized
 
3:26 PM
@RadekdaknokSlupik Oops. Did I fucking write 'SubString()`?
<go gets coffee>
 
It's 8:26 AM here and I'm still tired.
 
time to head home, at last
 
time to create a text editor
 
Xeo
room topic changed to Lounge<C++>: They stole our collaboratively edited topic and it is suck. [c++] [c++11] [c++-faq]
I thought it was time for that again.
 
3:29 PM
@RadekdaknokSlupik if you want it to handle utf8, thats so much harder than it sounds
 
@MooingDuck piece of cake.
Cocoa® handles it Out of the Box™.
 
@RadekdaknokSlupik oh, excellent
 
@RadekdaknokSlupik data structures for text editors with multi-level undo and fast handling of large files are really interesting. are you familiar with them?
 
I'm bad at coming up with names.
@stdOrgnlDave multi-level undo?
Cocoa® handles it Out of the Box™.
 
@RadekdaknokSlupik you know, so you can hit undo a few times
 
3:32 PM
 
@stdOrgnlDave I never found undo/redo hard, as long as it's there from the beginning
 
oh so by "text editor" you mean "put a text widget inside a window"
 
And add syntax highlighting, clang code completion, other nice things.
 
ofn you're using boost::asio for a game? you poor soul
@MooingDuck an efficient data structure for it isn't trivial
 
that's what I've got so far
 
3:33 PM
Getting syntax highlighting to work is the hardest part of all.
 
@DeadMG Doesn't look that bad. No big hubs in sight, other than WinAPI, which isn't that concerning.
 
@stdOrgnlDave a rotary queue and a virtual heirchy. Piece of cake.
 
@RMartinhoFernandes Didn't include Standard library :P but that wouldn't be concerning either
 
@stdOrgnlDave now an efficient data structure to hold large text files is non-trivial
 
the main one which concerns me is the Controller
it doesn't connect to that many components, but they're nearly all two-way
 
3:34 PM
What does it do?
 
@DeadMG you will find regret in your heart when you work further with networking if you rely on boost::asio :-(
 
@stdOrgnlDave I've never heard anything bad about asio other than figuring out how to use it, why do you think it's bad?
 
I think packaged_tasks would fit neatly in boost.asio.
 
the controller does things like inform the remote players when an order is issued, it limits the information going into the untrusted UI components, it controls how the render displays the sim (stuff like which units are visible)
@stdOrgnlDave I can swap it later
oh, I left Player off the list
 
@MooingDuck it's great for lots of stuff, although it's dubious that there's any benefit to it at all (see youtube.com/watch?v=bzkRVzciAZg for an amusing comment on the topic of asynchronous I/O). but gaming is not a place for boost::asio.
 
3:39 PM
@stdOrgnlDave can you give me a specific problem? (I don't know anything about asio)
 
@stdOrgnlDave Is that from the same author of the MySQL thing?
 
@RMartinhoFernandes yes
 
If so, that guy is totally not creative at all.
 
sup yall
 
3:39 PM
It's the same thing as the other one!
 
"do you know what this reminds me of? it reminds me of the invention of threads. threading libraries do exactly what you're doing manually. they break up pieces of code to be executed intermittently, switching from instructions that are waiting on I/O to instructions that are ready to run." hehe
@RMartinhoFernandes these are by the same guy, but different (especially #3): youtube.com/watch?v=5GpOfwbFRcs youtube.com/watch?v=4OstpOap9KU&feature=relmfu - they are sequels to mongodb
 
@RMartinhoFernandes Nah, I changed one component- the player and introduced a new component, the HumanPlayer
also broke direct dependency between { RemotePlayer | InGameUI } and Controller
 
@DeadMG Oh, I meant the video about Node.js, is exactly the same thing as the one about MongoDB, but with different product names.
 
@RMartinhoFernandes Oh, ok
now all I need to do is write down what each of the components does and exactly what is contained in each dependency
also which are hypothetical, like all of the POSIX implementations and DX11 renderer and such things
 
@stdOrgnlDave I totally knew the discovery of the circumference of the earth was several hundred BC, just not the details.
Unrelated: chromes spellchecker is lousy. Is there an addon to address that?
 
3:44 PM
Unrelated: what's a spellchecker?
 
also, you know what? the UI does not depend on the InGameUI and FrontEndUI classes
 
@RMartinhoFernandes a trie! :-P
 
@RMartinhoFernandes A function in a browser/word processor/text editor/etc which tells you when something you've typed is not in it's dictionary
 
@RMartinhoFernandes in episodes 2 and 3 (sequels to mongodb) the guy goes to therapy after his stint on the farm
 
so when you splel shti wrnog, it shotus ta yuo
 
3:45 PM
It didn't shout when you typed "it's" above :P
 
spellchecker, not grammarchecker
hmmm, for the OS I enumerated all the interfaces it creates, but not for the render
and there's other subcomponents which I did not enumerate
although they're kinda minor
should I be adding, like, nearly every class to my list?
 
@RMartinhoFernandes I typed "circumfrance", and it suggests "circumferential", "circumstantial", "circumcised", and "circumvention". And yes, it knows that "circumference" is a word.
 
> I totally knew the discovery of the circumcised of the earth was several hundred BC, just not the details.
 
@MooingDuck circumfranc : firefox only suggests 'francium'
 
hi everyone
 
3:50 PM
@DeadMG I promise you that in the context of your game you want to take boost::asio out and throw it away. promise. if you've ever considered any piece of advice that I ever gave here, consider that.
 
@Atif Hi there
 
hello @Atif
 
how are you guys @Insilico @stdOrgnlDave
 
@stdOrgnlDave I must admit to not thinking much of your advice in the past, and you have yet to give any reason for hating boost::asio other than "it's bad"
 
@MooingDuck I don't hate it, I said it's bad for a game
 
3:52 PM
give me a reason and an alternative, and I will fairly weigh your opinion
 
@Atif: I'm connecting an R/C car controller to my nervous system
Except the R/C car controller's radio fucks with the amplifier
 
@stdOrgnlDave can you give a specific reason?
 
@DeadMG the complexity of interfacing it to your game code is the reason. the alternative is a simple threaded network architecture like you'd make for any program: give each socket a thread.
 
@stdOrgnlDave The interface I've seen specified in the ASIO documentation appeared quite simple.
 
btw: After the Deadline adds a secondary spellchecker to chrome textboxes with much better spellchecking, but I have to manually toggle between spell/grammarcheck and editing :/
 
3:54 PM
giving each socket a thread manually would require that I write my own socket and thread abstractions
 
@stdOrgnlDave Would your opinion change if you had to deal with many connections?
 
@Insilico lol bro ... keep slogging it would work eventually :)
 
@Atif: Naw I just moved the R/C part like 20 feet away and it works fine. :-)
 
@Insilico in a game? how many games have to work with upwards of 32 connectionsS?
 
arguably, the number of players in the game is unbounded
although, of course, in reality, the players will likely not wish to play with unbounded players
 
3:55 PM
@stdOrgnlDave If one computer was used as a server for a local multiplayer network
I can easily see one game having to deal with >32 connections
 
packaged tasks make the interfacing much simpler
 
peer to peer, I don't need client/server arch. for this program
 
@Insilico you know >32 player player real-time games? have they advanced so far? what's the limit now?
 
@stdOrgnlDave we've have 64+ player games for a while
 
@stdOrgnlDave Battlefield 3 frequently plays with 64. There's an FPS on the PS3 which can do 128.
 
3:57 PM
@stdOrgnlDave Actually I have seen people at my school play a multipler game over that many computers (more than that I think, actually)
And it definitely didn't connect to some outside server
 
@stdOrgnlDave first I knew of was "Savage" in 2003. 64 person FPS
 
but this is an RTS arch, which is peer to peer and realistically probably limited at 8 players, plus one connection to a master server
 
wow that's cool, I should get into online again, Tribes Ascend is free2play
 
make a packaged task, get its future, post the task to asio.
 

« first day (586 days earlier)      last day (4360 days later) »