« first day (656 days earlier)      last day (4295 days later) » 

12:00 AM
@DeadMG: where are you from?
 
UK
 
not much difference
we call it "the Anglo-Saxon system"
 
lol
 
See, DeadMG is smart. Very smart. And very knowledgeable about C++. However, he is young, and acts like a little brat. He refuses to acknowledge that there are some things that you just have to do. Sometimes you have to suck it up and swallow your pride.
6
 
@KianMayne: it looks like he had some shitty professors
and he is mixing that with the intrinsic value of the topics taught at university
 
12:02 AM
*Keith Layne
 
it's hard to argue with this mix
@KianMayne: fix your nick, then
I love using tabs.
 
It's my name!
 
It's kind of a lost cause...
tab twice
 
oops
 
nah, I can tell the difference
 
12:03 AM
it's 2AM here
I guess I'm just too tired and need some sleep
goodnight, folks
 
I'm arguing against both the content and the method.
night
 
He's right though, at least in my experience: schools are pretty shitty almost everywhere.
 
I just had a "wasn't expecting that to work" moment :)
 
@KeithLayne Well you really only get out of school what you put into it.... as they say.
 
yeah, I quit school the first time too. It was a good school, and more rigorous than anywhere else I've been.
But I've learned much, much more at terrible schools. It's a function of me, not the school
 
12:09 AM
@KeithLayne Agreed!
 
DeadMG might have done better at a school that was super easy. He could have cruised with all A's and still had time to basically do his own thing and keep learning. I wish often I'd gone that route.
Now, because of the GI Bill I am back in school, and I'm 95% sure I'm going to continue to grad school.
 
@KeithLayne That's awesome.
 
"I didn't sucked cocks to acheive X" is meme-worthy.
 
Lol
 
12:32 AM
Hi.
 
I hate MFC's linking conflicts with the CRT. Makes life a nightmare.
 
@KeithLayne I cruised with all A's through high school. When I reached university I realized I had no idea how to study. That was really annoying.
 
I also did. I still haven't learned. At least for classes.
 
I just saw a const void return type :| ... :)) :( :)) :( :( :(
 
I study a lot of stuff constantly, but it's what I want to study.
 
12:41 AM
owch
 
hmm, I can't link against MFC and CRT at the same time because they both define... everything.
 
What the fuck
Somehow
I managed to turn on FilterKeys and I got really confused as to why I couldn't type
@R.MartinhoFernandes What do you mean about not know how to study?
 
hey robot
up for some more SHA-2 cracking discussions?
 
error LNK2005: "public: __thiscall std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >::~basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> >(void)" already defined in myfile.obj
 
@DeadMG Sure.
 
12:48 AM
I've implemented some upgrades
and they seem to be better, but it's not enough.
the main problem I'm facing right now is that I have no way to effectively see the blockage.
 
@KianMayne Erm, dunno, I just really had no idea what to do when me and my roommates took time out to study.
 
I've just got a tree of expressions, and it's not a match for the existing solver, and that's all I know
I printed a bunch of them, but it's not yielding any useful information
 
Up until then I just learned stuff in class.
 
By study, do you mean like revise for exams?
 
Or by answering my colleagues doubts.
@KianMayne Yeah, stuff like that.
 
12:50 AM
Yeah, that's something my Biology teacher always said to me
During my GCSEs she told me that even though I could probably learn it all, I should get good technique now for university
Because her son had a similar experience to you
 
@DeadMG I'm not sure what I can say to help :(
 
I usually find simply asking you can oil the cogs, as it were.
 
lol
I had a hilarious thing happen to me
well, not really hilarious, more unfortunate, but y'know.
my constant folder had Constant objects, which held a known value, and everything else was unknown.
and the actual solver had a map of expression to known value.
so of course, when I ran the folder, first, it didn't find anything because I hadn't told it to look in the map.
and second, it blew everything up because it didn't inform the map of the new expressions it had found.
genius move by me
 
lol
@KianMayne Now I've found a really nice method to get my brain to learn stuff. I simply read about the subject matter, like cover-to-cover style. Then I wait about a week and get back to it. And magically everything makes sense.
 
12:58 AM
@R.MartinhoFernandes For me, I rarely need such things.
if I observe something interesting, then it's usually sealed in concrete forever more without requiring any further action on my part.
 
Mmm
I have a pretty damn good memory
 
and a simple trigger, like, being asked a question about it, can usually bring it right to the surface
 
and a long attention span
 
I'm not talking about memorizing, I'm talking about actually understanding.
 
and I mainly learn from understanding something
 
12:59 AM
I don't have memory problems.
 
@R.MartinhoFernandes Same
I suck at memorizing things, though.
hardcore
 
Yeah but when it's a huge subject I always feel that I might have forgotten something. But my revision cards have never been very not empty
 
Well, I do. Sometimes I remember conversations I had years ago and think about what I should have said. That's annoying.
 
@R.MartinhoFernandes Agreed. Real-time conversation isn't one of my strengths.
I can't even keep up with conversing with more than a couple people in a normal social setting.
 
I don't have a problem with that, as long as it's people I'm comfortable with. That's not something that comes easy to me, though, and that's why I treasure my friends.
 
1:03 AM
I'm alright with people, although, the other day
 
If it's someone new, I won't even open my mouth.
 
I was in town and it was pretty busy and cramped and I was getting pretty stressed which is new for me
I did acting and singing before secondary school, so I've never really had issues with social situations
One thing I'm not very good at
Is listening/reading to something
and then remembering it verbatim
 
well, this is supremely curious.
why would my blockage be composed of entirely known = a xor b?
 
When I've learnt some languages before like when I had to learn SQL, I didn't really use it so I forgot about the syntax pretty quick
 
why no known = a and b or a = known xor b?
or even 0 = 0 and b?
well, I guess that's just what you get when you solve a specific formula instead of a general formula.
well, on the plus side, a brief inspection proves that there is no useful information here.
I'll have to output to a higher depth.
 
1:17 AM
@R.MartinhoFernandes well, I finally figured out how to make my semantic actions work with Phoenix lambdas
it passes the most basic tests.
but I'm not optimizing, and the compile is pretty slow, and the code is pretty huge.
well, not so bad after it's stripped
Tell DeadMG that I'm disappointed in the London weather. It's impinging on my ability to enjoy Olympic beach volleyball.
@R.MartinhoFernandes by the way, what do you do with Ogonek on an illegal codepoint or bad encoding? Do you throw in that case?
 
@KeithLayne Each decoding function has two variants: one takes only the input range and throws a validation_error, the other takes an additional callback that can be used to replace the bad data. I have three default callbacks for this: use_replacement_character replaces with U+FFFD, ignore_errors just drops the bad data, and throw_validation_error throws.
 
@KeithLayne Welcome to London. It's much better now than it was prior. A few weeks ago, much of the country was flooded.
 
@R.MartinhoFernandes So you can essentially default it to the throw functor?
I was experimenting with auto const lambdas yesterday. How bout a static lambda?
 
Yes.
But I'm not doing it.
 
@R.MartinhoFernandes So, where did you learn what you know about C++?
Because you know an unhuman amount
 
1:31 AM
oh, robot
 
@KianMayne Here.
 
I also discovered an amusing bug in my previous iteration.
 
@R.MartinhoFernandes In this chat?
 
turns out that I had written a hash function for a pair of pointers that did not return the same hash if the pair's values were reversed
then I promptly attempted to use them as if they were interchangable.
 
@KianMayne Well, mostly on my own.
 
1:32 AM
From where? Books?
 
I read TC++PL, and C++ Templates: The Complete Guide.
Then I read stuff around SO.
 
@R.MartinhoFernandes defaulting, or static lambdas?
 
@DeadMG Wouldn't that also require a special equality comparator?
 
yes
which is what I just realized after writing that to you
 
You only say that to look smart :P
@KeithLayne Ah, mine can't be lambdas because they have to be polymorphic.
 
1:35 AM
not that the incorrect operation of my program depended upon that more-than-slight flaw.
 
They're constexpr instances of unnamed structs.
 
ah, fuck.
I increased the depth of my printing function to 2 instead of 1.
 
Wait, I made a mistake when I described it to you. The variant that takes no replacement callback does not throw. It UBs if the input is invalid. It's meant for when you know the input is valid and don't want validation at all.
 
now there are 700 variables, and probably fifty or more which appear in multiple places.
 
@R.MartinhoFernandes can you do:
template <...>
constexpr struct {} your_mom;
 
1:39 AM
Only the operator()s are templated. I'll show you.
 
I get it
just thought of that after I typed it.
 
maybe I should go for the contradiction solver..
 
constexpr use_replacement_character = {};
why not leave off the = {}? Doesn't that do nothing really?
 
Because it's not valid for constexpr to leave that off.
Don't ask me, I don't make that shit.
 
1:44 AM
I didn't imagine it had different rules. Minus constexpr, that's not the case, right? Doesn't that actually make the unnamed struct a public base?
 
No, that just makes an instance.
 
Sorry for bugging you with these questions. It's helped me a lot.
 
It's okay.
Being bugged with questions is what I do, it seems.
 
Oh, duh, never mind. I've got Java anonymous classes creeping in the back of my head.
I will try to bug the others from now on. :)
 
@KeithLayne I'd see a doctor about that if I were you.
 
1:46 AM
@KeithLayne It's really fine.
 
@DeadMG I'm bald, so they're easy to spot.
 
I imagined they would be subdermal
 
Java is way too superficial for that, lucky me.
 
lol
time for some CS:S, I think
 
FFS.
Whenever you need to do some superficial thing to a binding in XAML you need a great big converter class.
Example: I want to bind to a value +1
 
2:03 AM
Then expose the value+1 instead.
 
I would, but then that would mean changing this Slider control to have start from 1, and that would be messy
and break several other things when it's implemented
Well, I was just reading a question that you commented on last year
 
hello everyone..
 
about WPF without XAML
and there was a link to this
Which basically makes XAML better
 
2:28 AM
if you have multiple possible elements that can send post requests on one page, how do you tell which one made the request after it has been clicked? (I know...Noob question...)
(html)
 
Why would you care?
Explain your situation some more
What are you using for your server-side stuff
 
What are some good challenges to practice workign with templates?
 
for example, if i have a page that has something like blog post's, and each one has a "remove post" button, how would i know which post sent the request. Im using Python Bottle micro-framework
 
Ahh
 
you have to send that data back to the server
 
2:41 AM
I don't know Python
or that framework
I'll have a look at my old code
 
well, i posted the question on SO but i figured id ask here as well :)
 
Oh right I've remembered
basically
One solution (likely not the best)
Is to create new <form> tags
Like this
Never mind, I don't think that would work
 
my idea is to map a page specifically for sql requests so that in the template i can just suply the ID in the action link.
but im thinking there has to a better way
 
you need to just send additional CGI parameters.
 
@ITNinja Just write something in Javascript
 
2:52 AM
@KianMayne i was thinking that javascript could do that, but i dont know any javascript at all haha
 
If you're doing any web stuff
You need it :L
 
i know.. i know..
i just havent gotten around to learning it >.>
IDK, ill wait until the morning and see if i get an answer. If i dont i will look around at some JS examples
 
Don't use Codecademy
It teaches so many bad practices
 
o.o never heard of it
 
Wow. Crypto benchmark was just .1MS too slow.....
 
user1182183
3:01 AM
hey everyone, what would be the best place to ask for volunteer c++/c programmers?
 
user1182183
ah ok thanks : P
 
No problem.
Let me know if you have a hard time finding any volunteers there.
 
user1182183
well I have to think a while about how I would search for volunteers there
 
Closest StackOverflow site I could think of to a programmer search
Anyways; back to my COM-like FS driver.
 
user1182183
3:06 AM
gl ;]
 
FS driver looks a lot like COM...
The external interface that is.
 
user1182183
and fs is the shortcut for? :$ It has many meanings in my life.. 'fs'
 
File system
And the encryption is also .1MS too slow
 
user1182183
ah ok ^^
 
user1182183
0.1 ms too slow? How is that a big difference?
 
3:09 AM
.10000289 to be more precise
@GamErix .1MS extra time for every random seek can cause noticeable performance loss when transferring large database files.
It could be made faster with caching; but that has security implications as well.
 
user1182183
ye that's true heh. I always wonder how you pro programmers do it. And '0.1ms TOO SLOW', Like you know your target : o
 
user1182183
ok on careers it's imposibru to find volunteers
 
Think if I speed up my memory allocator a bit I can get the encryption libraries running a bit faster.
 
please suggest some open source projects for beginner
 
user1182183
@AbhinavPriyadarshi try reinventing the dijkstra implementation, just this time in asm? :x
 
3:12 AM
I've always had fun modding V8 --- code.google.com/p/v8
Or if your interested in games; there's Xonotic --- xonotic.org
That's all C and QuakeC though
no C++ there
Very nicely organized structure though once you get used to it.
 
user1182183
now you mention it I can say that I look for a volunteer who can do c++ and modify a game I have
 
In terms of source organization.
Funny: IIDWUtils seems a bit redundant.
Maybe I should call it PIDWUtils, but then it sounds like a pointer type
Or like Process ID
 
user1182183
well in solfs they have like SolFSWideChar and in functions PSolFSWideChar (as for pointer :P)
 
user1182183
hey abhi do you know c++ quite well? :P
 
user1182183
(especially the VC++6 version)
 
3:17 AM
@GamErix i am comfortable in c++, but i have not used vc++.
 
user1182183
do you think you would be able to re-create a multiplayer server, when the lan source is provided (along with the whole game)? :D
 
i have never worked upon games.
 
user1182183
well it's basicly just networking in c++ xD
 
user1182183
or am I wrong? :P
 
3:20 AM
By the way; if you are new to C++; you should perhaps think about writing documentation as well. Here's a good way to provide documentation for IntelliSense in Visual Studio:
///<summary>A high-performance dynamic memory allocation function</summary>
///<param name="utils">A pointer to the utilities structure</param>
///<param name="elemtype">The TYPE to allocate</param>
///<param name="constructor">The constructor parameters</param>
#define FastAlloc(utils,elemtype,constructor) new(utils->IDWALLOC(sizeof(elemtype)))elemtype (constructor);
Example of providing documentation for a method
Works both for C++ methods and preprocessor methods.
 
user1182183
I was always wondering if it is possible to use the VS IDE to edit another language, with using intellisense, and changing the compiler? ;d
 
@GamErix By the way; if you're looking into a career in game development; please note that you will most likely be extremely disappointed when actually trying to find a career.
You'll have better luck getting a job in a field other than game programming.
 
user1182183
@IDWMaster i'm not going to be a programmer or doing any it stuff ; P I just like hobby programming, the ocasional program
 
i am a undergrad. student, have never done any project in c++. how should i start?
by the way, i have worked on a android project https://play.google.com/store/apps/details?id=com.ap.MyDiary_Events&hl=en
pls suggest how should i start?
 
@AbhinavPriyadarshi cplusplus.com
 
user1182183
3:27 AM
@AbhinavPriyadarshi you know how i get my ideas... I get my ideas when I need something, I try to make it. if not in C++ then in VB.net XD
 
@IDWMaster i think most people use doxygen instead
 
@Cheersandhth.-Alf Depends who you work for.
If it's just libraries meant to be used internally we don't use doxygen.
 
@AbhinavPriyadarshi just explore things. do some graphics. that's always fun.
 
Perhaps if you're into graphics; learn OpenGL
 
user1182183
@Cheersandhth.-Alf that's true, winapi + opengl
 
3:28 AM
It's easier to start with OpenGL than DirectX
I've done coding in both
Although DirectX does teach a lot about smart pointers, and not-so-smart things you can do with them
 
user1182183
xD
 
Passing CComPtr<T> into some standard library functions can quickly get messy
It overrides the & operator
Tries to "perfectly" immitate a pointer.
 
@IDWMaster IIRC there's an ATL fix for that.
 
It works great if you use it "right", but there's some things that work strangely.
 
why would you use CComPtr
 
3:30 AM
but it's many years ago
 
@IDWMaster Not in C++11. std::addressof, bitch.
 
user1182183
O_O you can directly get an address of a var?
 
yep
 
user1182183
ah wtf i'm talking about
 
user1182183
& gets the address
 
user1182183
3:31 AM
nothing new
 
user1182183
but that addressof stuff is probably not overidable? ; p
 
@GamErix It is; actually
But if you're new to C++, don't do it
We've already had this discussion in this room
 
user1182183
I was also wondering, you guys know a program called "Cheat Engine"?
 
user1182183
its kinda a memory editor
 
user1182183
allows you to search through memory
 
user1182183
3:33 AM
edit it etc
 
user1182183
and you have something like
 
user1182183
static adresses and dynamic adresses
 
pffft
 
user1182183
and if you want to make a woring, let's say 'hack'
 
user1182183
then you always have to use the static adres
 
3:33 AM
that won't make you a real cheat for any modern game
 
user1182183
ye I know I'm just going to this question:
 
Ha! I got an answer :D Hidden field with ID to be accessed by server. lets see how well that works tomorrow. for tonight im done working >.>
 
user1182183
how the hell in C++ can you define a static address and how an dynamic (changing at each startup)
 
user1182183
for example the adress of the money in the game GTA is static
 
user1182183
and the addres of money in Red alert 3 is not, you have to get multilevel pointers
 
user1182183
3:35 AM
I wonder how this internally works in C++
 
a static address would be a global variable, or perhaps at best a fixed stack offset (e.g. on the stack of main).
a dynamic address is any memory dynamically allocated
 
user1182183
hmm sounds logical
 
user1182183
Cheat Engine can detect if a address is static or not, how the heck would you detect that?
 
user1182183
is the kinda some special memory addres range reserved for static vars?
 
Sounds like Cheat Engine would need more info about the specific game
Probably has some kind of built-in symbol table
 
user1182183
3:38 AM
well you can use it for ANY application you want
 
user1182183
and it always works
 
@GamErix Yes.
the PE file contains information about statically allocated memory.
you can simply parse the PE structure
 
user1182183
aa
 
user1182183
ach soooo xD
 
user1182183
sometimes it's rly hard for me to find the right pointer using CE, it's just imposible sometimes and always I see people releasing working hacks. I also wonder how they got the pointers.
 
user1182183
3:41 AM
that's also something special, you actually do some address calculation
 
user1182183
and you wil always have a pointer to the dynamic addres... O_O
 
user1182183
I've never be thinking bout that but now I do, I think there has also to be a logical explaination?
 
for what?
 
user1182183
well, Cheat engine ataches a debugger
 
user1182183
and , letme look a while :P
 
user1182183
3:43 AM
1 min
 
user1182183
it ataches a debugger
 
user1182183
then you see the executed opcodes
 
user1182183
Change of mov [rbx+00000750],esi
 
user1182183
like this
 
user1182183
then you click more info*
 
user1182183
3:44 AM
and it shows a window rtelling for what address you need to search for
 
user1182183
and you get an offset
 
user1182183
well I think you It's better to lookup a video
 
user1182183
would save up many explaination
 
user1182183
gimme a second ^^
 
nah
I simply don't care enough to view a video.
 
user1182183
3:45 AM
well you just search for a value and offsets until you find a static addres
 
user1182183
so working from a static address with offsets can eventually always lead you to the variable you want...
 
user1182183
I wonder how that works!
 
believe me, I am currently contemplating a far more difficult conundrum
 
user1182183
@DeadMG I believe ;)
 
Think we all have other things to worry about than a cheat engine.
 
user1182183
3:50 AM
;p
 
IIC80Filesystem
Too many Is
Perhaps I should just call it IFilesystem
 
user1182183
well what's your project about?
 
@GamErix A file system for a distributed database system.
For solid-state drives
on portable devices
 
user1182183
hmm
 
I only need to find another few hundred bits, and I'll have achieved something incredible.
 
3:53 AM
@DeadMG What are you doing?
 
user1182183
POSDBFS?
 
user1182183
xD
 
working on breaking SHA-2
 
Cool
 
user1182183
like breaking the algo or breaking a key?
 
3:55 AM
@GamErix Both.
if I succeed, it will be both a preimage and a collision attack.
 
user1182183
and then you prove the world, mainly US government their hashing is.. is nothing but a simple text?
 
user1182183
xD
 
user1182183
c'mon they cracked WEP but I don't think SHA will be cracked, or will it?
 
lol
@GamErix It will if I have anything to say about it.
in fact, I'm nearly done. Only 600 bits to go out of 102549.
 
@GamErix Laugh out really loud. HAHAHAHAHAHA images.sodahead.com/polls/000396575/…
 
user1182183
3:57 AM
well can't wait until you release the mass destruction tool ; p
 
@DeadMG Crack RSA and you'll really have something to brag about!
 
user1182183
what about whirlpool?
 
lol
 

« first day (656 days earlier)      last day (4295 days later) »