« first day (747 days earlier)      last day (4217 days later) » 

8:01 AM
Hmm, I need to digitalize my identity card.
 
Guys, if any moderator there, please help me. http://stackoverflow.com/q/8203018/800639
I asked this question when I was new to SO
Now I'm getting downvotes nearly every day
Can't do anything. Question closed but I'm getting downvotes
Please delete this question
I don't want to get downvotes anymore
 
The question is not closed.
 
user142019
It’s a terrible question so you get an extra downvote from me.
 
You can't delete your own question?
 
None of us are moderators here. We can't do anything.
 
8:03 AM
@Pubby Not if there are upvoted answers.
 
And why are you asking here? This isn't the PHP room.
 
user142019
@TuralTeyyuboglu just flag it for moderator attention, explain why you want it closed and someone will close it for you.
 
Upvote harald's answer so he gets reversal
 
only one more
 
user142019
If you cand reverse an MD5 hash, you found yourself the best compression algorithm ever.
 
8:05 AM
What?
 
user142019
Whatever you compress, it’s always 128 bits.
 
user142019
Here, have a reversal badge. — Zoidberg'-- 25 secs ago
 
Not very good compression for compressing <128 bits
 
@Zoidberg'-- >_> I just today explained to someone why a hash is not a unique identifier
 
user142019
8:07 AM
Use a UUID if you need a unique identifier.
 
Use the data itself if you need a unique identifier
 
@Pubby <-
 
@TuralTeyyuboglu Maybe a mod can lock it so you won't get any more downvotes
 
user142019
@Pubby Problem if you have the same data twice.
 
Then what?
 
8:07 AM
@Zoidberg'-- Then it's the same data, and you know that.
 
If you have indistinguishable data...
 
user142019
@R.MartinhoFernandes Then you have the same unique identifier twice.
 
Technically, you can ask for it to be disassociated from your account. It's within your rights of CC to do it. But, it's also within the rights of SE to suspend you for abusing this loophole.
 
user142019
“Unique” identifier.
 
user142019
You may store it elsewhere.
 
user142019
8:08 AM
In a file with a unique identifier as the filename, for example.
 
user142019
And if you ever want to change the data, and the data is the unique identifier, you’re fucked.
 
user142019
And it would lead to a lot of duplication wherever you need to refer to the data.
 
I think you're taking this way too seriously.
 
user142019
Me too.
 
Two files having the same data are still two files
 
user142019
8:11 AM
 
The disassociation card is a pretty powerful card actually. You can even get out of a question ban with it. But if you do it too much, you might get your account suspended for a very long time.
 
All I'm saying is that comparing hashes isn't comparing data.
for a hash of length N, and data of M, where M > N, the lower bound of hash colisions is 2^(M-N)
 
oh wtf... FFFpeeps got tagged by google as "suspicious"... um...
 
user142019
I like how Git stores its data. Since the data isn’t ever going to change, Git stores the same blobs under the same name by SHA-1 hashing it and using that hash as the filename; this saves very much space, especially for blobs, and it makes branching cheap as hell. For commits, Git includes the SHA-1 hash in the file contents, which makes sure that you only need to compare the latest commit’s hash of your repository and you are sure you have exactly the same history as another repository.
 
@Mysticial What is that?
 
8:13 AM
@R.MartinhoFernandes It's a fansubbing site.
 
Sounds suspicious to me.
 
One of about 10 of them that I've been regularly visiting for a long time.
 
I have no idea what "too heavy-duty" means (does it mean "zero-overhead"?), and I have no idea why you can't provide the right interface while keeping smart pointers underneath. — R. Martinho Fernandes 2 mins ago
Silly people that can't use smart pointers because stuipd.
 
user142019
Also
 
user142019
Room topic y u so old.
 
8:15 AM
@R.MartinhoFernandes I'm don't know how to use smart pointers either...
 
@Mysticial So? I doubt you would discard the choice of using them for no valid reason whatsoever.
 
user142019
@Mysticial Silly person. :P
 
@R.MartinhoFernandes I don't use them because I don't know how to use them. :)
 
unique_ptr takes 5 minutes to learn
 
std::auto_ptr< > would do, in this case
 
user142019
8:17 AM
std::unique_ptr is uncopyable and owns ur resource.
 
user142019
@rvalue but it’s deprecated.
 
@Zoidberg'-- if you're using C++11, yes
 
I dunno... I've never actually had a problem with new and delete. Never had a problem with memory leaks...
 
@rvalue In the question I linked to?
 
user142019
@rvalue see the question’s tags.
 
8:18 AM
Probably because I write so much C, that by habit, I always remember to free/delete things.
 
@Mysticial Never had to deal with exception safety?
 
auto_ptr does not work inside standard containers.
@Mysticial If you don't have C++ exceptions, it's easier.
 
@Pubby nope
 
Accepted
 
And even in those cases, there were always trivial ways around it.
 
user142019
8:19 AM
 
@Zoidberg'-- hehe
 
@Zoidberg'-- Give him some slack. He doesn't even know C.
:P
 
:)
 
If you find yourself having to write more than one delete/free for a single new/malloc then you should probably use a smart pointer
The rules of SO say that question should be downvoted and not closed
Again, speak to a moderator rather than spamming here
 
user142019
@R.MartinhoFernandes quickmeme.com/meme/3rle7y :P
 
8:21 AM
Expand it and I will star it.
and pin it
 
user142019
user image
5
 
Fuck Quickmeme.
3
 
user142019
@R.MartinhoFernandes oneboxing cleargif. I AdBlock’d it.
 
@Mysticial looks like a damn fine woman.
 
user142019
ITT: @StackedCrooked is in love with @Mysticial.
 
8:23 AM
What animu is that from?
 
thanks
@Mysticial It says you are only 14 and you weigh 48 kg
 
haha
 
No info on blood type :(
 
And 5'3"
 
8:25 AM
@Pubby Wait, why would you want to know that.
Are you a vampire?
 
@R.MartinhoFernandes It determines personality apparantly
 
Apparently, it's bad for a positive and a negative type to have kids.
 
Yep, I hate shared_ptr.
 
I have a friend who's AB-.
 
8:27 AM
I'm AB+ IIRC
 
I have no idea.
 
I can accept any type of blood!
 
morning
 
evening
 
wassup?
 
8:29 AM
Stuff.
 
user142019
@Pubby I can make any type of blood flow!
 
except for the fact you don't know C. :P
 
user142019
@TonyTheLion Mysticial doesn’t know C.
 
@Zoidberg'-- That's who I was talking to
 
user142019
@TonyTheLion Me too.
 
8:30 AM
lol
 
user142019
My humor is bad, I am bad and I should feel bad.
 
Nah, that was a pretty good one.
I'd pin it if there weren't already 3 pins on the starboard.
 
user142019
Unpin the other three!
 
user142019
I’m going to write my web app today; I have development class.
 
user142019
Hey Say Hey
 
8:33 AM
Can't unpin Vinayak's until after Friday.
 
user142019
It was a joke. :P
 
I know.
 
You could set it as the room description
 
IIRC, we've done that before.
 
user142019
I’m going to wear my Wintersun T-shirt today.
 
8:36 AM
@Zoidberg'-- Because it seems I'm the only one that changes it these days.
 
user142019
Is it “T-shirt” or “t-shirt” in English?
 
tea shirt
 
@Zoidberg'-- both work
 
@R.MartinhoFernandes I've changed it a few times too.
 
user142019
In Dutch it’s always “T-shirt”, since it’s shaped like the letter T.
 
user142019
8:40 AM
Anyway
 
user142019
Closing a question doesn’t prevent people from voting on it, does it?
 
no it doesn't
but then you can vote to delete it
 
-2
Q: Why aren't there operators to get/set a bit in newer languages?

GeotargetI've worked extensively with the bitwise operators << >> | & ^ so I'm not asking about those. I've also worked with some low-level assembly languages which have opcodes that can work with bits and bitfields - get/set a bit, check if a bit is set, etc, in a single opcode. So you ...

Can we get this closed?
 
user142019
Stack Exchange’s voting rules are more complex than C++’ name lookup rules and syntax combined.
2
 
user142019
@Mysticial Oh okay.
 
user142019
8:42 AM
Meh.
 
Which is one if the reasons why I was bitching like crazy when that matrix question got closed.
 
user142019
Here, have a downvote. — Zoidberg'-- 10 secs ago
 
user142019
I love to post such comments, but they always get flagged and removed.
 
There's a small group of people who I've seen to be very trigger happy with deletions.
They delete everything they don't like.
 
user142019
I only downvote and close.
 
user142019
8:44 AM
Deletion prevents terrible posts from being downvoted, so I never delete.
 
user142019
Terrible posts should be downvoted to death.
 
@Zoidberg'-- Because they only serve to inflame.
 
user142019
:P
 
After -2 you're really just beating a dead horse
 
@Zoidberg'-- You should consider growing up. At least, maybe, partly. Like, in public places, maybe
 
8:44 AM
@Pubby It depends. Some things deserve -100.
 
@Mysticial Nope
 
user142019
@sehe lol
 
user142019
Maybe.
 
Good morning :)
 
user142019
8:45 AM
Hello.
 
A nasty comment is worth more than -100
 
user142019
LOL
 
user142019
That answer has reversal eleven times.
 
But this one does deserve -100:
 
8:46 AM
@sehe Don't worry, he's not 18; he's not expected to behave like a grown-up yet.
 
user142019
@Mysticial morons gonna moron.
 
@R.MartinhoFernandes When's his birthday again... I think I remember something about that being Real Soon Now(TM)
 
user142019
@sehe in 2012.
 
This one deserves +100:
 
user142019
The 23th of December 2012.
 
user142019
@Mysticial haha I asked it as suggested by the robot.
 
@Mysticial Still doesn't make sense. -100 doesn't mean anything, really. If you mean that it is more than just a bad question, a ban would apply, not some random meaningless flood of downvotes
 
23rd of december would suck with christmas
 
@Zoidberg'-- :)
 
Hey, don't shift the blame to me!
 
user142019
8:49 AM
Oct 16 at 16:33, by FredOverflow
Just like no beginners says "I forgot to put a semicolon at the end of the class, what do I do now?"
 
@Pubby ? sounds like a good thing; you know, that cold time of the year...
 
user142019
@R.MartinhoFernandes I blame nobody but myself.
 
user142019
You know what I should have done?
 
user142019
clang told me: “error: expected ';' after class”
 
user142019
So I should have done this and ask why it was still incorrect:
 
user142019
8:51 AM
class; Animal {
    bool alive;
public:
    Animal() : alive(true) {}

    void kill() {
        alive = false;
    }
}
 
@sehe What?
 
And then we have this classic: stackoverflow.com/questions/10029651/…
 
@Pubby "I suck with christmas". Hmm. You are right. I'd prefer the inverse, in most positive scenarios I can think of
 
Oh that Eric Lippert quote is great
 
user142019
@Pubby In the Netherlands we don’t really care about Christmas.
 
user142019
8:53 AM
Or at least, you get no presents and stuff.
 
user142019
It’s not the holiday of holidays.
 
Only one more vote to undelete...
 
user142019
@Mysticial fixed.
 
@Mysticial Not even that deserves -100 (or -58 for that matter). It deserves to be pointed out as ludicrous, closed, deleted, and then forgotten. All the rest is emotion/sensationalism.
 
I won't though, I already voted undelete once. I rather stay out of the delete/undelete war.
 
8:54 AM
A thing you learn when you have kids (or possibly - preferrably - before that): negative attention is attention too
 
@sehe That one doesn't need -100. It's just funny.
 
user142019
It should be locked.
 
@Mysticial Wut. This is a contradicting statement. You can't both "vote to (un)delete" and "stay out of the ... war"
 
user142019
Closed, locked, deleted and protected.
 
@Mysticial Agreed as to funny. But as we all know, Stack Overflow isn't about funny :) (that's funny)
 
8:55 AM
@Mysticial Oh, I remember the guy with one of the fastests computers in the world.
 
@sehe More like, I don't want to repeatedly vote undelete. That would be plain abuse.
 
> George Lucas to Donate Most of His $4 Billion from Lucasfilm Sale to Education Charity
That's nice I guess
 
user142019
@Pubby He could have given it to me instead!
 
@Mysticial So what you ended up with was veiled abuse :)
 
I honestly don't think it should be deleted. It serves as a good example of orders of magnitude. But it should be vote-locked though.
 
8:56 AM
@Pubby At least some good can come out of it.
 
@R.MartinhoFernandes Let's not ponder the odds
 
He probably spent $5 billion trying to destroy all copies of episode 1
 
user142019
I’m going to learn more about SEO.
 
user142019
Is there a Stack Exchange site about that?
 
user142019
 
8:59 AM
FFS, SEO?
@Pubby Haha, Lucas? lol
As if he wants anything like that.
Remember, Episode 1 was back on theaters a while ago.
 
user142019
@R.MartinhoFernandes it’s important if you have a website.
 
@R.MartinhoFernandes My image of him is sadly based off of redlettermedia
 
@Zoidberg'-- It's important if you have a website full of crap.
 
Isn't SEO just about being obnoxious?
 
user142019
@R.MartinhoFernandes Which is certainly possible if your content is user-generated.
 
9:02 AM
 
user142019
@Pubby lol
 
@Pubby Well, that's about destroying the original trilogy, not the crapquels.
 
Yeah
 
user142019
Dude.
 
user142019
-1
Q: how to find digits in html by C++ regex?

Giorgi  GelavaI have html like this http://dl.dropbox.com/u/95326037/regex.png and i want to find digits in this html and words(word1,word2 and word3) how to find it by regex? (c++)

 
user142019
9:04 AM
Why do people use a fucking screenshot instead of pasting their code in directly.
 
@Zoidberg'-- Sadly, it's missing the wooden table.
 
user142019
If you’re too stupid to find the formatting options on Stack Overflow you shouldn’t be answering questions in the first place. Sorry.
 
user142019
Oh “answering”. lol
 
I didn't learn how to format code until like my 4th or 5th answer.
 
You're turning out quite the farce.
 
9:09 AM
me?
 
why?
 
You're a noob!
;)
 
But we knew that already. :)
 
user142019
Yeah, you also use new and delete and you don’t know C.
 
user1182183
9:11 AM
@Zoidberg'-- how do you line text like that? :P
 
user1182183
hhh-------hhh-------
 
user142019
@GamErix ---like this---.
 
user1182183
ah got it
 
user1182183
oh no
 
user1182183
9:11 AM
test
 
=
 
user142019
 
Hint: you can look at a post's history to see the source.
 
user1182183
- - - like this - - -.
 
= _ < scar face
 
user1182183
9:12 AM
:P
 
user142019
TONY LOVES PORN
 
user1182183
[at least I know how to link](link here)
 
user142019
(added)
 
user142019
High.
 
9:14 AM
Too bad my font no support those characters
 
Is that a brainfuck derivative?
 
I think so
 
user1182183
@Pubby now just wait till some aliens make emoticons with it
 
user142019
Yeah it’s brainfuck but with a different syntax.
 
@Zoidberg'-- you liar.
 
9:15 AM
@Zoidberg'-- So you can write a masarakki -> BF compiler using UNIX tr(1)?
 
user1182183
Please note that GitHub no longer supports Internet Explorer versions 7 or 8.
We recommend upgrading to Internet Explorer 9, Google Chrome, or Firefox.
.
 
user1182183
How can I force my school IT admin to install chrome?
 
user142019
@Pubby here is the syntax compared to Brainfuck’s:
 
@GamErix TRWTF you were able to find that information
 
user142019
> = (」・ω・)」うー(/・ω・)/にゃー
+ = (」・ω・)」うー!(/・ω・)/にゃー!
< = (」・ω・)」うー!!(/・ω・)/にゃー!!
- = (」・ω・)」うー!!!(/・ω・)/にゃー!!!
[ = CHAOS☆CHAOS!
] = I WANNA CHAOS!
. = Let's\(・ω・)/にゃー
, = cosmic!
 
9:16 AM
@GamErix threaten with violence?
 
user1182183
@jalf without getting into jail..
 
user1182183
or dying..
 
Do you have permissions to install programs per-user? Or you can probably run firefox from a USB stick or something
what about installing the ChromeFrame plugin for IE?
 
@GamErix Run before the cops arrive.
 
user1182183
ChromeFrame is installed
 
9:17 AM
or just talk to the IT admin and say "I need a newer browser, please"
@GamErix then you basically have chrome. Fiddle with settings and make it activate on github
 
Just run a portable installation of FF or Chrome.
 
user1182183
and you aren't "allowed" to run any 'exe's'
 
user1182183
@jalf all settings are blocked :P
 
user142019
class Nyaruko < BrainFuck. Brainfuck library y u no rule #3.
 
... so why are you asking us?
 
user1182183
9:18 AM
@jalf maybe you guys would know
 
user1182183
who doesn't try, doesn't know
 
user142019
It’s called “Brainfuck”, not “BrainFuck”.
 
@GamErix know what? How to do something when you can't do anything?
 
user1182183
oof my many mottos
 
you're basically telling us that "nothing is possible", and then asking us if anything is possible
 
9:19 AM
Why are you oofing? Are you the puppy?
 
user1182183
@jalf Erm I wasn't askign about PC/OS/program stuff but about human being, how to force a fucking IT admin to listen to us :D
 
oof oof oof oof oof
 
@GamErix I told you: threats
 
user1182183
@jalf well then I need to find someone who ll do it for me XD
 
alternatively, tell him why you need this for relevant school work
Or tell the teacher that he/she needs to tell the IT admin to let you do your school work
 
user1182183
9:21 AM
ah we will see :P my last year at this school, I hope Ill survive 6 more months
 
> What is the ratio of the error?
 
user142019
9:33 AM
@sehe what?
 
user142019
By the way, I fixed that error in a pull request. :P
 
@sehe The language is named "nyaruko". "masarakki" is the author's username.
 
0
Q: Exception handling and member variables.

NoSenseEtAlI have a simple Q. If we have a class that has dynamically allocated member(or member that used dynamic allocation) and we often use that member what is the best way to handle some operation failing on that member. Ofc there is try catch but Im not talking about that. Im talking about the fact...

zoidberg
 
Does that make sense to any of you?
 
user142019
Stop stealing my identity. (\/)(;,,;)(\/) — Zoidberg'-- 16 secs ago
 
9:42 AM
You're the one stealing The Real (or is that imaginary) Zoidberg's identity ;)
 
@R.MartinhoFernandes ah well
 
user142019
lol :P
 
That question is very hard to understand
 
user142019
9:58 AM
Windows 8 commercial on TV. ಠ_ಠ
 
Hmm, I don't have an umbrella.
 
user142019
The robot is getting rusty.
 
He isn't wet yet.
 
10:19 AM
I just realized that in some internal calls I'm calling public functions without meeting the preconditions specified in the public API.
Because this is internally I know how the function works, and it works ok because the actual preconditions are laxer than the publicly documented ones.
Is this evil?
 
user142019
Yes, it’s evil. You should use the API as it’s documented.
 
user142019
Because tomorrow the actual preconditions aren’t laxer than documented anymore.
 
Meh, I'll just make that function private, and have the public one call it.
 
user142019
> static std::vector<int> m_Some[3];
 
user142019
lol
 
10:34 AM
Hmm, I don't have enough data to do composition without linearly searching through the whole codepoint space. That's bad. Time to do some work on my UCD compiler.
 
10:44 AM
@R.MartinhoFernandes Hallo! Settling in at your new home?
 
@LucDanton I'm leaving in a moment to go see a potential new home.
 
Do we have the time to discuss Haskell? I wanted to confirm some terminology.
 
Five minutes.
Be quick.
Or come back by the end of the day.
 
a -> m b is a monadic function, m (a -> b) would be a lifted function, i.e. function in a monad. Possibly pure (and m2 (a -> m1 b) would be a lifted monadic function).
 
I don't know about the "lifted" one.
 
10:48 AM
I'm sure I've asked you before but is there a name for return ., i.e. turning a function monadic? I'm confused why there is name for lifting but not for that.
 
lift produces a m a -> m b, for example.
 
@R.MartinhoFernandes Right. No name for that thing that allows to work with ap then?
 
Not that I know of.
Doesn't seem particularly common either: haskell.org/hoogle/?hoogle=m+%28a+-%3E+b%29
 
I find that lack of names is holding me back a little. Was holding me back, hopefully.
 
Anyway, leaving now. Later.
 
user142019
10:50 AM
Später.
 
@R.MartinhoFernandes This one for later then: is there some typical use when it comes to ap? return the function, then go to town? Or are there typical situations that yield m (a -> b)? Do you recommend liftMx instead for some x?
 
user142019
GitHub, thank you for emailing me to confirm that I subscribed myself to my own repository.
 
@LucDanton You familiar with applicative functors?
 
@Pubby To an extent.
 
11:05 AM
Hi all! i am implementing a remote notification client and server.I want to use an online resource to set a parameter's values using server and read them using client. Any idea that how should I get this resource?
 
@LucDanton I was thinking there could be some terminology from there but there doesn't seem to be.
 
11:30 AM
@rahulserver You should probably ask that on main site.
 
@VinayakGarg I got my answer.I was looking for something like stackoverflow.com/questions/12800678/…
tell me if u know of something else
 
@rahulserver This is why I like stackoverflow :) Most of my questions are already answered!
 
Me2!
 
u2?
 
I love U2!
 
11:34 AM
Aw. Thank u!
I hate that spelling though :)
 
u2? thats 2much!
 
Actually, too little: you > u and too > 2
 
ohhhh
 
U2 band :p
U2 are an Irish rock band from Dublin. Formed in 1976, the group consists of Bono (vocals and guitar), The Edge (guitar, keyboards, and vocals), Adam Clayton (bass guitar), and Larry Mullen, Jr. (drums and percussion). U2's early sound was rooted in post-punk but eventually grew to incorporate influences from many genres of popular music. Throughout the group's musical pursuits, they have maintained a sound built on melodic instrumentals, highlighted by The Edge's timbrally varied guitar sounds and Bono's expressive vocals. Their lyrics, often embellished with spiritual imagery, focu...
 
3 mins ago, by sehe
u2?
@VinayakGarg ^ I wudn've guessed
 
11:38 AM
I bet he originally meant "you too" but changed it after sehe insulted his spelling
 
@Pubby NO!
 
@Pubby Wait. I insulted... a spelling?
 
It's okay, I can see the passion in your eyes
 
@sehe that was the second result of u2 google search
 
you clearly care deeply about sehe
 
11:39 AM
@Pubby What??
 
@VinayakGarg Referring to the avatar
 
@sehe Now you're insulting my grammar!
 
Which is awesome by the way
@Pubby Observer paradox?
> "Luck is what happens when preparation meets opportunity." ~ Lucius Annaeus Seneca
^ @VinayakGarg also awesome
 
I have got tons of "awesome" quotes.
Any Codechef enthusiast here?
Ah none. That's sad.
Anyway. This month's challenge on Codechef.com features one of my problem!
Here is the link codechef.com/NOV12/problems/JABO, if anyone is interested.
I am sure you will enjoy solving it. :)
 

« first day (747 days earlier)      last day (4217 days later) »