« first day (1134 days earlier)      last day (3820 days later) » 

user3010322
6:00 AM
Oh
 
user3010322
I had it in reverse order
 
user3010322
There we go, all better.
 
user3010322
TRUE RUNTIME TYPE INFORMATION
 
user3010322
HELL. YEAH.
 
user3010322
Life = complete <3
 
user3010322
6:03 AM
@DeadMG I wuvvvs yeeew <3
 
don't say that,
 
@ThePhD Almost as useful as grass-stain resistant pants, just in case you ever decide to cut your lawn with fingernail clippers.
 
lol
 
user3010322
@JerryCoffin Hey, it helps. :c
 
@JerryCoffin It has some value.
 
user3010322
6:14 AM
@ScottW You can't be pathetic when you're that good in Bed. <333
 
Well, I'm sleepy -- see you all later.
 
user3010322
Night.
 
user3010322
IT'S USEFUL.
 
user3010322
Good night. :D
 
Well, it's fucking 7am and I still have to go to sleep, so good night everybody.
 
6:17 AM
2048 or 4096 bit SSH keys
decisions
 
user3010322
9182 !
 
@CatPlusPlus just match your baud rate
 
I don't think there's a CPU capable of real-time encryption with this sort of key
 
user3010322
Which key?
 
user3010322
A 9182 bit SSH key?
 
6:19 AM
Baud rate, pay attention
 
@CatPlusPlus could be done an FPGA
 
Anyway, I have lot of dead keys, time to get rid of them
 
user3010322
@ScottW <33
 
I should encrypt my backups individually instead of using TrueCrypt container, so inflexible :/
 
user3010322
@DeadMG For any_cast, do you think it should return a parent type by default, or should that behavior be explicitly requested with another type of cast?
 
user3010322
6:32 AM
e.g. any_base_cast ?
 
user3010322
inherited_any_cast?
 
user3010322
Hm.
 
@ThePhD Wat? It should return T if the contents is T or derived from T, else exception/nullptr/etc.
 
user3010322
Ah. So it should just be the regular behavior?
 
yes.
 
user3010322
6:34 AM
Got it.
 
user3010322
That will require some extra finagaling, though.
 
> finagaling
?
 
user3010322
currently, any stores its type in a type-erased pointer. TDervied* to void* to TBase* is not a proper conversion, and can screw up offsets, so you have to go to TDerived* -> TBase* -> void* -> TBase* (or just directly from TDerived to TBase)
 
user3010322
Not sure how I'm gonna do that juuust quite yet.
 
why are any void*s required?
 
user3010322
6:37 AM
@DeadMG any_storage is type erased. It can only give you a void* pointer to the data, not a T*.
 
user3010322
 
@ThePhD Under my original implementation, you don't have that problem.
you can catch T* in any_cast itself.
if any_storage will throw Derived*.
 
user3010322
Ooh.
 
user3010322
I was just going to do the manual type check.
 
in fact
 
user3010322
6:38 AM
Guess I'll insert the catch/throw stuff inside any too.
 
user3010322
(manual type check as in through runtime_type)
 
the original implementation I showed pretty much implemented any_cast.
 
user3010322
Mmm. Got it.
 
user3010322
struct any_storage {
	furrovineapi virtual void* data( ) = 0;
	furrovineapi virtual void* cast( ) = 0;
	furrovineapi virtual any_storage* copy( ) = 0;
	furrovineapi virtual ~any_storage( );
};
 
user3010322
the cast one should do the trick, I think.
 
6:40 AM
wtf is furrovineapi?
 
user3010322
__declspec( blah )
 
... and what's blah?
 
user3010322
__dllexport, __dllimport
 
you know, that would be completely incorrect on a virtual function like that
 
user3010322
It would?
 
6:41 AM
well, it's not loaded from a DLL is it
 
user3010322
I guess not, it's pure...
 
user3010322
What about for the destructor?
 
it's gonna be empty.
just define it inline empty
 
user3010322
I think typeid(void) will be my marker
 
user3010322
for an empty any
 
user3010322
6:43 AM
Seeing as any<void> is just plain invalid
 
user3010322
Damnit, I forgot how to friend free functions
 
user3010322
Uh oh
 
user3010322
@DeadMG Think I'm in a bit of trouble here...
 
you suck.
what's the trouble?
 
user3010322
I don't! :c
 
user3010322
6:55 AM
It's just the interface. I can't propogate the call up inside of the any_storage
 
user3010322
Oh, er.
 
user3010322
Wait, nevermind
 
user3010322
@__@
 
user3010322
I'm a dummy.
 
you suck.
^^
 
user3010322
6:57 AM
:c hey now, cmon, it's not totally my fault u.u
 
yes, yes it is.
 
I dropped my phone and it snoozed the alarm
(in the next episode of 'exciting life of cat plus plus')
 
lol
 
There, I've generated a 4096 bit key for my local virtual machines
I'm a huge nerd
 
Huge nerd is pretty much a requirement to being a regular here
 
user3010322
7:03 AM
 
user3010322
@ScottW You're my huge dork. <3
 
user3010322
I had to leave, yo.
 
@ThePhD Wow, that was awful.
 
user3010322
@DeadMG :D
 
user3010322
Does boost.any export its functions to a dll?
 
user3010322
7:14 AM
I don't think it does...
 
not really.
pretty hard to export a template to a DLL.a
any might not be a template itself, but the implementation certainly needs it.
 
user3010322
any isn't a template?
 
user3010322
Oh.
 
user3010322
Hm.
 
user3010322
So if part of the implementation is templated,
 
user3010322
7:15 AM
it's better to leave the whole thing non-exported?
 
depends on which part.
 
user3010322
7:36 AM
Goodnight, Cutiecakes.
 
> Password cannot be longer than 16 characters
Good job Microsoft
I was wondering why this password was so short
 
7:53 AM
Security revamp day
 
@CatPlusPlus wtf?
 
Microsoft is not very good at computers
(this is live dot com account)
 
user3010322
I hate arbitrary password limits
 
user3010322
And character limits.
 
Most limits are arbitrary
 
user3010322
8:05 AM
I think, for kicks, passwords to any site I make will be inputtable as a sequence of unicode characters.
 
user3010322
and can be any length long.
 
You do want some upper bound on password length, to avoid DoS, but 16 characters is laughably short
128 would be more like it
 
user3010322
That way I can have こんにちは。 as a password and confuse every single rainbow table hacker in existence.
 
I'm upgrading my passwords from 20 characters to 24 with a new symbol set
 
user3010322
I just wish so many sites didn't restrict to A-Za-z0-9 and some punctuation.
 
8:08 AM
Also starting to cycle passwords on most important stuff
 
user3010322
Well, that's a bit too much effort for me.
 
user3010322
I just make sure every password is completely different. :3
 
user3010322
Like when my Battle.Net account was cracked.
 
user3010322
They tried to get my e-mail with it, failed miserably.
 
user3010322
They did manage to spam the tries so hard, though, that my Battle.Net Account was locked
 
user3010322
8:09 AM
And I don't remember my security answer, so I have to call it in to Blizzard someday.
 
hmm
 
Security questions are retarded
 
KeePass 2 is 20 characters, A-Za-z0-9
by default
so that's about 6 bits, 20 characters, so 120bit.
 
That's a safe profile, because people are dumb and don't know shit about programming and restrict password character sets
 
well
I do like the way that KP2's generator can be configured.
I could increase the range if I wanted to
 
8:12 AM
Yes
 
I've used KeePass for years and enjoy it
 
I've bumped default to 24 with symbols
 
user3010322
Most password prompts except the really old ones can handle symbols (basic symbols)
 
The builtin hex key profiles are annoying
@ThePhD You'd be surprised
 
user3010322
Really, though, I don't see why they don't just open it up to all byte values at teh very least.
 
8:14 AM
Because idiots
 
issues with encoding I'd guess.
 
user3010322
Restricting the symbol set just makes it easier for hackers to guess the password space and create rainbow tables to fuck people over after they link 2 GPUs together.
 
Eh, salting takes care of rainbow tables
 
user3010322
I've never understood how salting works
 
user3010322
Is the salt stored with your account or is it generated based on the password itself?
 
8:16 AM
You just attach some non-constant stuff to the password
It's stored with the password hash
But it means that even if two users have the same passwords, they won't have the same hash
 
user3010322
So stuff pulled from a true random generator, like that special rand() place in Linux systems
 
And that you can't pregenerate common hashes
It doesn't have to be really random, it just have to be different for every user
 
user3010322
Okay.
 
user3010322
But if it's stored, what happens if they get at it?
 
It's not meant to be any more secure than password hash
Without it you can't authenticate the password so
It really exists just to throw off precomputation
 
8:18 AM
Hi everyone
 
So you can't generate a list of hashes for weak passwords and scan the hash database without doing any computing
Also strong KDFs take care of fast computation
So really even with a basic character set passwords that are >16 characters are rather safe, if the person who created the system isn't a fucking moron
But still, SECURITY gotta have those symbols
Invalid characters
Allowed are: A-Z ä ö ü ß 0-9 ! " § $ % & / ( ) - = + _ , ; . ^ ° ? ~ # * @
:lol: can't use '
 
@ThePhD Nothing important.
salting isn't designed to prevent brute-forcing or hash algorithmic weaknesses.
it only prevents rainbow tables.
 
You could use a global additional salt that's stored in app config or whatever, so when only database gets compromised you have some extra layer of security, but it's not something you should ever rely on
(And it's not a replacement for user-specific salts)
Ahahaha PayPal limits to 20 chars and blocks copy/paste
I've also changed GH username :v Fuck that old nickname
 
8:51 AM
morning
 
Bitbucket don't work
 
@CatPlusPlus Github?
 
You can simply change the username there?
 
9:01 AM
cool, didn't know
 
Also on Twitter
Origin is another place with 16 char max limit
Also restricts character set
GOOD JOB EA
I should make a list of this
 
user1804599
9:45 AM
@CatPlusPlus that would make the INSERT query fail. :)
 
9:58 AM
Woa thats not many user for the not java room
´s
 
I usually hire one of those machines from the supermarket:
http://stackoverflow.com/questions/20160861/how-could-i-get-best-carpet-cleaning
 
Ell
dr who google is kewl
 
@MartinJames What programming language is he reffering too?
 
@DavidKron Don't know but, aparently, it unrolls loops well.
 
I almost feel inclined to vote it up, or even star....
 
10:11 AM
huh..
you can do for(; ;) if(true) else if(false) else without braces?
that's weird..
 
user1804599
@Rapptz That’s a syntax error.
 
nope
 
user1804599
for (;;) if (true); else if (false); else; is fine.
 
well yeah
 
Networking status on the server: KILLED
I'm really good at this
 
10:14 AM
@CatPlusPlus Did you get that talent naturally, or did you have to train?
 
I'm trying to setup VM bridging
But of course documentation for this shit is awful
 
@CatPlusPlus Yes - I just sorta select different options till I get a connection:)
 
@Rapptz Yep.
strictly, if (blah) else is one statement.
 
10:24 AM
@MartinJames I'm doing it on a remote Linux host for extra fun!
And if networking goes down I have to reboot to rescue
 
user1804599
Cat Plus Plus to the rescue!
 
only found out because Dinkumware does it in their headers
 
user1804599
My English teacher used to say “to do to the rescue!”
 
made me confused a bit
coliru's dead apparently
 
@Rapptz Cat's entropy-field killed it.
 
10:29 AM
just finished writing getline_until
pretty neat :D
 
10:56 AM
Moves demystified, I hope it's worth reading...
 
user1804599
It’s not.
 
11:12 AM
@FredOverflow Is that your blog?
 
@bamboon Why would I read my own blog?
 
@FredOverflow I did understand it as a recommendation to us
 
user1804599
11:25 AM
I’m a geocentrist.
 
I'm a lion
 
Coz you might have spelling errors in your blog?
 
@Telkitty I don't even have a blog. Also, spell cheek is yuor feirnd.
 
> One way to minimize the use of global variables is to create a single global variable for your application
6
What the fuck am i reading
 
struct god { all_the things; }; int main() {...}
 
11:36 AM
Yeah totally not global
 
@BartekBanachewicz linky?
 
@BartekBanachewicz don't fight it
 
@fred the one and only JS book
 
user1804599
I wonder if it’s possible to do unsigned arithmetic in JavaScript through some hack.
 
Using value types mostly
 
11:39 AM
@rightfold Why do you care?
 
user1804599
Perhaps with >>> 0.
 
user1804599
> (0 - 1) >>> 0
4294967295
 
user1804599
@FredOverflow Styx has unsigned integers. :v
 
The hell is styx
 
One of his many languages.
 
11:41 AM
Why dont you just say "my another language"
 
user1804599
It is a river in Greek mythology.
 
Way clearer
Oh i know the mythological meaning
 
@ThePhD @DeadMG what are you doing to those poor exceptions
 
@melak47 Proving that implementing them is equivalent to implementing an RTTI feature not currently provided by Standard.
 
so is @ThePhD still making his own any<T> ?
but without the <T> ? :p
 
11:44 AM
yep, and it'll actually be better than boost::any in at least one respect thanks to my intervention.
 
@melak47 any<T> would kinda defeat the purpose :)
just woke up
 
@rightfold I thought the language was named after a moon?
 
user1804599
@FredOverflow Yes.
 
user1804599
And the moon is named after the river.
 
You know what? The next time I need an account, I'll use the name Styx. It'll be named after the language that is named after the moon that is named after the river.
 
11:48 AM
why not Zoidberg.
 
user1804599
Why not, Zoidberg?
 
@DeadMG your intervention? :)
 
@melak47 Well, I came up with the idea and designed the system.
 
got a coliru link or something?
 
Ell
You came up with the idea of any? O.k
 
11:54 AM
@Ell and he invented Programmings.
 
He invented us too
 
trying to build bcp..
getting a ton of warnings..
why don't they check those?
 
then again this warning is pretty retarded
 
^ This is the first time I find a picture that shows the real distance between the earth and the moon.
 
11:56 AM
"unused typedef" well okay.
 
Uh the more i learn about js, the more i realize how fucked up in the head it is
 
@DeadMG I just saw this:
extern "C" IMAGE_DOS_HEADER __ImageBase;
inline HINSTANCE GetHInstance() { return ((HINSTANCE)&__ImageBase); }
....beautiful.
 
Just what the hell
 
but you already included windows.h :p
 
If those are good parts i never want to see the bad parts
 
11:56 AM
@Ell Not that. I designed a means to retrieve the contents covariantly, which was previously thought impossible.
@melak47 And?
 
dangling reference either way
dude there are so many warnings :/
 
@DeadMG so what's that for :E
 
Ell
retrieve the contents covariantly?
 
@melak47 It's for getting the HINSTANCE I need without having to pass it through every API ever.
@Ell Yes. So if the any holds a Derived, you can request a Base*.
 
but you already have all the APIs at your disposal ^_^
 
11:58 AM
with boost::any this would fail, but with ThePhD's any with DeadMG's upgrade, it would succeed.
@melak47 And?
 
Ell
Really? I didn't know boost was lacking this
 

« first day (1134 days earlier)      last day (3820 days later) »