« first day (688 days earlier)      last day (4257 days later) » 

1:00 PM
@BartekBanachewicz Answers of size 1 and n.
but fundamentally, I'm smelling NP-Complete on this problem.
 
Then why is 3 a possible difference between x{i + 1} and x{i}?
If it's a sequence, shouldn't it always be negative?
 
@Neil Because it's in the set {-2, 0, 3}, which is specified in the original problem.
i.e., x(i + 1) - x(i) = one of {-2, 0, 3}.
 
@DeadMG I thought so after seeing the -2 stepsize. But, really, given that any xi is positive, things will be bounded by n, anyway
 
@DeadMG So we're leaving that information in just to make it harder?
 
So can I just build a 3-tree with all possible "next" numbers?
 
1:01 PM
@DeadMG Awh gawd, dat iz awhfawl.
 
@BartekBanachewicz You could. But NP-Complete.
 
hi guys
 
@sehe Naw. That's one solution- not every solution.
 
Brace yourselves
 
1:02 PM
i have a problem
 
@DeadMG with sufficiently small bounds, that's not a big problem.
 
“interesting” take on the braces-or-no-braces debate:
-1
A: Defensive programming - what's the purpose of using { ... } for a single line?

PureferretLooking through the answers no one's explicitly stated the sort of practice I make a habit of, telling the story of your code: int j = 0; for (int i = 0 ; i < 100 ; ++i) { if (i % 2 == 0) { j++; } } Becomes: int j = 0; for (int i = 0 ; i < 100 ; ++i) { if (i % 2 ...

 
Repeat: emergency procedures in effect
 
i have this question a long long time ago, yet it received downvotes
and i had edited it to make it concise, clear and neat
 
@R.MartinhoFernandes Quite true.
 
1:02 PM
 
@user963499 Google.
 
@user963499 Fisher-Yates. This has been answered a zillion times on Stack Overflow
 
yeah, but i had now make it cleared yet its still in a down vote
because of that, i cant ask any questions
 
@user963499 That sounds like a conceptual problem
 
i already fixed questions, and provided answers to them
 
1:04 PM
0
Q: c++ implementation of k-d tree

datoafter reading this tutorial http://ldots.org/kdtree/#buildKDTree,i have started to convert this pseudo code tuple function build_kd_tree(int depth, set points): if points contains only one point: return that point as a leaf. if depth is even: Calculate the median x-value. Create a...

 
@user963499 Give it some time.
 
@user963499 If you were to write a deck program which deals cards to players. How would you go about doing that?
 
this guy again
 
ah,,tnx DeadMG
 
@LuchianGrigore I think my comment sums things up.
 
1:04 PM
btw, i was getting this message. Sorry, we are no longer accepting questions from this account. See goo.gl/C1Kwu to learn more.
 
@LuchianGrigore dupe /edit ah, you noticed
 
@user963499 Yeah. It's what happens if you ask many questions which all get downvoted or barely upvoted.
 
@user963499 There's good answer for this on meta
 
@user963499 Really, just search: stackoverflow.com/questions/6569422/… :) Also, can you not delete the question (as it's a duplicate anyways)?
 
@BartekBanachewicz He seems to have read it already (hence his mention of fixing his questions and providing answers).
 
1:06 PM
@DeadMG um, i think its already buried in stackoverflow, any ideas for mods to notice it and upvote it? editing it doesnt bring the question to life (like making it on the recent questions again)
 
@sehe Asking a dupe isn't a downvotable offense.
 
So he didn't read it well enough. It clearly states you can answer to get rid of this
 
greetings!
 
@user963499 Uh, actually, I think it does.
 
@LuchianGrigore Not only two previous questions … tons
 
1:06 PM
@KonradRudolph from the same guy?
 
if you deleted a question, it will worsen the situation, coz the more you delete, then it will affect your reputation
 
How is everybody?
 
@LuchianGrigore All basically the same.
 
@DeadMG No, but it was a bad question, first. That explains downvotes. Now it has become closable
 
@user963499 Just give some good answers
 
1:07 PM
@sehe Deleting doesn't matter for the question ban filter.
 
@user963499 Most questions you could possibly think of have been answered, so you should be sure you can't get help in any other way first
 
@R.MartinhoFernandes Oh. aha. That's... a shame
 
@bartek, what do you mean, ill answer my own question?
 
@sehe To be fair, he did edit it and it is now perfectly fine (if still a dupe) and I think it's not unreasonable to reverse the downvotes.
 
@LuchianGrigore Not sure but essentially the identical question and identical code so I’d say yes
 
1:07 PM
@user963499 No, answer the questions of others.
 
@sehe There's a bunch of users of zero questions out there that have a history of terrible terrible questions.
 
ah,, if i do that, then will the ban lift?
 
Yes, it helps.
 
that good huh? Me? Oh yeah, doing well thanks. :-)
 
@user963499 Only if you have good answers :)
 
1:08 PM
tnx sehe and bartek
 
@user963499 You have to redeem your sins
 
@Chimera Sorry. Missed that
 
@Luchian Did one of his questions today get deleted? Because I can’t find it anymore
 
@user963499 Put some thought in your answers, or you might be downvoted again.
 
@Chimera Fine, thanks.
 
1:08 PM
I'm ok. Sick at home
 
so unless it got deleted he’s actually using several user names
 
@sehe Heh no worries.
 
@KonradRudolph 2 actually.
 
@sehe Oh.
Sounds fun.
 
yeah, i learn this situation the hard way. i have to repay my sins
 
1:08 PM
I see a very active conversation...
 
@KonradRudolph Yes. Two in the past hours.
 
@R.MartinhoFernandes Not really. I have a mush head. carn't think nor type. Will be seeing my bed soon
 
@user963499 Yes. And I'm all for helping you do that.
 
@Chimera Psychic ability!
 
1:09 PM
tnx deadmg
 
Yeah, me too.
 
@LuchianGrigore Shit, can't read it... under 10K
what is that site? stackprinter.com?
 
@Chimera It's pretty similar to this one: stackoverflow.com/questions/12248436/…
 
yey! the ban was lifted!!!
 
@Chimera Yes.
 
1:10 PM
thank to the people who upvoted it!!!!
who upvoted it?
it came from -4 to -2
 
stackprinter.com doesn't have it yet?
 
@Chimera It's really recent, man. Also, AFAIK it only archives popular ones.
 
@R.MartinhoFernandes oh
that C++ implementation of K-D tree doesn't use much C++. :-)
So it's 6:15AM on a holiday and of course I can't stay asleep.
I woke up thinking, "Maybe I will experiment with Linux Kernel real-time extensions, might make our product at work better". WTF?
 
@user963499 Do the maths, 2 people upvoted it :)
@user963499 I have further completed the correct answer with a link to the answer of the existing duplicate question. Welcome to stackoverflow — sehe 2 mins ago
Now - can we have some close votes - as it is still a duplicate
 
yeah ill vote for a close
if its closed, will it lower my reps?
 
1:18 PM
No.
 
Nope
@user963499 Also, it has a bounty, so it can't be closed. Be sure to award the bounty to the correct answer though
 
Closing duplicates is a way to avoid duplicating effort on issues already solved.
 
@R.MartinhoFernandes as well as preventing inflated rep by just answering the same basic question over and over. This would lead to copy/paste answering for reputation
 
ok tnx sehe
it says award bounty in 23 hours
 
1:24 PM
ok as soon as its 23 hours, ill award it so it can be closed
 
@KonradRudolph Huh? What's he trying to achieve. ...
 
Don't use singleton at all? — Bartek Banachewicz 1 min ago
 
0
Q: k-d impossible structure for implementing

dato`because in spite of my attempting to solve k-d tree,nobody wants to help me,please give other guys possibility to help me,i have used debugger,many things to solve it,but no success yet,i am posting this question again from this article http://ldots.org/kdtree/#buildKDTree i am trying to ...

oh god
:)))
@R.MartinhoFernandes thx for this stackoverflow.com/questions/12248703/…
 
He's really gone overboard.
 
Xeo
> what a fucking actions,give me alone what
What does that even mean?
 
1:38 PM
@Xeo Just, you need to give him more alone what
 
he means, leave him alone so others can answer
 
Did he just post yet again the same question?
 
so please stop closing and trying to help me
please oh please
 
is this how our latest generation "learns"? I remember learning to help myself before the internet was around... sad really.
Can I haz the codez?
 
@sehe No idea but it looks interesting
@LuchianGrigore Did someone flag the user?
 
1:41 PM
@KonradRudolph Really? He's putting the cart in front of the horse.
 
@sehe Descartes in front of the whores?
 
@KonradRudolph I didn't even know you could flag users.
 
maybe so. I still find it interesting, just as an abstract problem
 
@Chimera I help myself and I'm of the latest generation
 
1:42 PM
@LuchianGrigore Well, you flag the question and then explain in a comment to the moderator
 
@KonradRudolph Necrophiliac services resumed
 
damn
gotta go
 
@DeadMG Yeah, you are right, it was probably a bit of a generalization. But i see it so often here on SO.
 
Quick, before it's too late!
Don't want to make a mess
@Chimera Sample bias. Also: negative news is repeated, positive news is ignored
In fact, the very presence of this site proves that things aren't as bad as they might seem
 
Hello, I have a problem with my k-d tree
7
 
1:45 PM
:| you kidding me?
 
Yes, sorry ;)
 
yes
^^
 
Just saw this question
;)
 
@sehe Probably so.
 
by "question" you mean "About five straight"
 
1:46 PM
@ereOn Still laughing :)
 
Which amaze me is that the guy actually has a decent reputation on several SE sites
 
including this one
 
and still doesn't know how these sites work
 
He has friends.
In powerful places
 
Really ?
 
1:47 PM
@ereOn Well, he's probably just desperate.
 
from 505 questions he got ~2700 rep
 
@LuchianGrigore HTTP Error 505 - HTTP version not supported
 
that's around 5 rep/question
 
Xeo
505 questions... man
 
@LuchianGrigore That doesn't sound good.
 
1:47 PM
not accounting for edits & whatever
so no
 
How do my stats look?
 
Which could mean 1 upvote/question in average
is that so unlikely ?
 
bad :)) @Chimera
 
@Chimera Well, as long as you even get rep, the questions must have been >pulp
@Chimera Needs more jQuery
 
So jQuery is still the way to farm rep ?
 
1:48 PM
yes, I said the P word, so what?
 
70 answers, 22 questions, 1400 rep. ( 200 of which is from edits )
 
Sadly can't allow it
 
@LuchianGrigore silly you, it's an acronym, not a word
 
oO
 
1:49 PM
@LuchianGrigore Bad? :-)
 
What can we say instead ? Flawed elephant or something ?
 
@thecoshman Look who's talking. A Nazi Pirate
 
Xeo
@ereOn Let's call it Crap.
 
@Chimera kidding
 
@sehe ¬_¬
 
1:49 PM
@Xeo: Haha. And crap it is :p
 
It's hard to make reputation here when your main skill is C... and those get answered quickly.
@LuchianGrigore lol
 
@ereOn Crap with generators
 
Generators and crap don’t go well together.
 
Make Love, Not Rep
 
I think Java & C# are easiest
 
1:50 PM
I have a friend of mine which works in Crap on a daily basis... he asked me the other day if I knew how to make rounded corners in HTML...
 
Generators are superior.
 
I'm seriously thinking that writing Crap all day long killed him from the inside.
 
@LuchianGrigore I do know some C#.. just don't use it often.
 
@LuchianGrigore Easiest to learn?
 
@daknøk easiest to get rep out of
 
1:51 PM
@Chimera That shouldn't be a problem. I mean, if you think that questions are problems, then C generates easily the most problems.
 
mostly because there's a lot of them
 
Ah. :p
 
@daknøk and definitely easier to learn than C++
 
If you’d say C# and Java are the easiest for programming noobs, I’m going to kill you. :P
 
@DeadMG Well, a lot of silly pointer and memory issue questions.
 
1:52 PM
Java and C# are the easiest to make yourself bankable for all sort of companies
 
Let’s focus on OOP rather than learning that a computer executes things in order!!!!11111111!!11!!1
 
a minimalist language MUCH easier to learn - en.wikipedia.org/wiki/Brainfuck
 
@daknøk give a C++ programmer a C-string and he'll know what to do with it. Give a Java programmer a C-string and he'll be completely lost.ffffffffffffffffffffffffffffffffffffffffffffffffioooooooooooooooooo88888888‌​888888888888888888888888888888hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh0
2
 
Python is easy to learn.
 
Only 8 commands in brainfuck
 
1:53 PM
And usually as I'm answering some high reputation person swoops in and answers before me and gets more rep.. as if 1 billion rep isn't enough. :-)
 
@daknøk lua is easier
@Chimera feel that pain, huh.
 
@daknøk Python is easy to learn and interfaces nicely with C and C++
 
C should be the first language. Those who are scared away will stop and not ask stupid questions on SO, and those who are still interested will find a better language themselves when they don’t want to do everything themselves anymore.
 
Which makes it even nicier imho.
 
@BartekBanachewicz all the time
 
1:54 PM
I learnt Python in two hours.
Only generators took me a couple more minutes, until I realized they are similar to callbacks.
 
@daknøk I learned in this order: BASIC ( Commodore 64 ), Turbo Pascal, C, VB + a few others.
 
@daknøk :))) ahahahahahahahhahahha
 
I learned in this order: C++, C, Objective-C, Ruby, Python, Haskell
 
@ereOn Oooh. Remind me to post a question on that on SO: How to make rounded corners in C++ (prefer not to use boost)
 
I took me a while to accept "a == b == c == d" constructions in Python
 
1:55 PM
It's been ~4 years and I still haven't learned C++
 
or even a < b <= c
 
Much more logical.
 
@daknøk That's when the excrements collide with the airflow generator
 
@sehe Haha, I guess it would be upvoted.
 
_eeeeeverything_ is upvoted
As long as it appeals to webbies
 
1:56 PM
def infinite_poo():
    """Generate an endless amount of crap."""
    while True:
        yield PHP()
 
@daknøk: Once you are used to it : yes, definitely makes more sense.
 
My learning order: {small bit of basic, pascal}, then forget everything, then HTML, javascript, perl, php, sql, C++, Java, APL, C#, Ruby
 
@ronalchn Oh my. And you surfaced... alive?!
 
well, the early bit was when I was really young
 
PHP!!!1
 
1:57 PM
then i didn't do programming for a while
 
Don't want to be a pain but... he said the P word
 
I remember how low level you could go with C-64 BASIC, oh I'm getting all nostalgic now. Maybe I'll get my C-64 out of the closet and set it up.
 
and then I started getting into websites - hence HTML => javascript => php
 
@ronalchn When did the HTML affliction happen?
 
HTML for static stuff, then I realise I want some dynamic stuff
 
1:57 PM
HTML is not a programming language.
 
@LuchianGrigore in meme style, it'll pass
 
@daknøk @sehe you missed one.
 
HTML because I was doing neopets at the time
 
APL is a programming language.
(haha)
 
and there was some HTML to get stuff up and running
then I started doing some websites
 
1:58 PM
@CatPlusPlus uhuh. cough
 
but I wanted more cool stuff, and soon I needed server-side scripting
 
I did all of my website coding in Perl.
 
@CatPlusPlus I know APL is A Programming Language
 
I'd tell you what you should learn, but robot will be angry.
 
For school we need to make a website for a imaginary customer. The website must take things out of a database and display them.
Instant 10/10.
 
1:59 PM
@CatPlusPlus malbolge?!
 
@daknøk Wow, that is rocket science.
 
INTERCAL, please.
 
A whole website?
 
@daknøk Wait. Can you really do that?!
 
with database support?
holy cow
 

« first day (688 days earlier)      last day (4257 days later) »