« first day (856 days earlier)      last day (3165 days later) » 

8:03 AM
@SimonForsberg You've earned the "Popular Question" badge (Question with 1,000 views) for "Hello, Brainfuck".
That was yesterday, it's at 1505 now.
Never expected that ^^
Surpassed my C++/CSV question with 1378 which also made HNQ
 
Can you please describe your needs? I think that Core Review is a more suitable place for this question. Anyway, I would log the title of the emails, and the From: and other headers if you use them. — A.L 49 secs ago
 
@Mast Monking
 
@Duga Core Review, right...
 
Well, I am not looking for a code review. As far as I know, the way of doing the addition of a day in JavaScript is pretty much a text-book example. I was curious if there was a construct/feature in knockoutjs that I was missing that would allow me to move the "ugly" code in my markup. But I'll take a look at codereview.stackexchange.com :-) — Jesper Lund Stocholm 18 secs ago
@A.L No, we don't do database design reviews at Code Review, it's too high level. — Mast 15 secs ago
 
@Duga "It looks like you're trying to manipulate datetime values with JavaScript. #HaveFun"
 
8:11 AM
@Phrancis You have fun with it, it's incoming to CR ^^
It's way too snippety for my taste anyway.
 
If a Python function doesn't return anything, is it wrong to document """ :return: None """?
 
@Phrancis None implies the return has no type
Which would be highly confusing at best.
 
Zak
#Times I've crashed Excel today: 1 (and counting)
 
@Zak I read your discussion about XML parsing from earlier today and it seems like it's definitely worth it to re-write that in the long run.
 
@Mast Is it better to just not document any :return: at all, if the function doesn't return anything?
 
8:21 AM
@Phrancis That's what I'd do, unless your specific coding standard forces you to always document a return.
 
Zak
@Mast Quite possibly, but this is something I can potentially get to a reasonable runtime today. And right now, I'm willing to take a short term victory for the chance of being allowed some breathing room for extended learning
 
@Mast Coding standards LOL
 
@Phrancis Python in a company should have a coding standard, even if it just says "follow the PEPs"
 
true
Well, first time writing Python and I'm asking about proper documentation. I hope I'm doing things right
 
@Zak And that's probably your best bet. But perhaps you can bring it up as a project for when there's some extra time available.
@Phrancis If you start writing documentation with the first code you write in a new language, you're definitely doing things right.
 
8:23 AM
ᕕ( ᐛ )ᕗ
 
@Phrancis I turned my monitor a couple of times to make sure I wasn't missing anything, but I have no idea what that smiley is supposed to say
 
So, happy face?
 
1
Q: Adding 1 to JavaScript Date while binding using knockoutjs

Jesper Lund StocholmI am using knockoutjs to bind some values in an array. For each entry in the array I have a date value TimeByDay that I bind like this: <span data-bind="foreach: entries"> <span data-bind="text: new Date(TimeByDay)"></span> </span> But I would also like to transform the date on a different l...

 
8:30 AM
@Mast Happy Gary, walking happily around the neighborhood Python IDE
 
Zak
@Mast my time isn't as structured as that. On the plus side, it means I get a LOT of freedom on how I spend my time. On the other hand, it means that my job requirement is "Have stuff ready before we expect it to be". So I like to keep a wide berth on the "fast" side of that expectation.
 
Feature request instead of asking for CR:
0
Q: Minimize number of loops

Ankit GoelIs it possible to remove the inner loop by assigning data.Data.Tables[0].Rows[i].ItemArray directly? object[,] arr = new object[52784, 21]; for (int i = 0; i < data.Data.Tables[0].Rows.Count; i++) { for (int j = 0; j < data.Data.Tables[0].Columns.Count; j++) { arr[i, j] = data.D...

@Zak You could re-write it on-the-side while maintaining the old version, in that case.
 
-1
Q: Minimize number of loops

Ankit GoelIs it possible to remove the inner loop by assigning data.Data.Tables[0].Rows[i].ItemArray directly? object[,] arr = new object[52784, 21]; for (int i = 0; i < data.Data.Tables[0].Rows.Count; i++) { for (int j = 0; j < data.Data.Tables[0].Columns.Count; j++) { arr[i, j] = data.D...

 
Zak
@Mast Probably what I'll end up doing. I've rewritten quite a few of my old things when I've found some spare time.
This is quite amusing. Copied a function from the internet for getting filenames into an array. It was throwing an error. Reason? It was using an integer to count files. Evidently they didn't anticipate files on the scale I'm working with either :)
 
Think bigger ^^
 
8:42 AM
I'm voting to close this question as off-topic because code reviews belong on codereview.stackexchange.comtripleee 52 secs ago
I'm voting to close this question as off-topic because it belongs on CodeReviewYuval Itzchakov 17 secs ago
 
@Zak Are plug-ins allowed?
In the past, there was ZMath, but I can't find it anymore.
 
Greetings
 
@triplee While it's true that Code Reviews are done on Code Review, your custom reason doesn't explain why the question is off-topic on Stack Overflow. What you mean is that there is no specific question to be answered. — 200_success 14 secs ago
 
8:57 AM
Second opinions?
@Mast thanks for down voting. But, this is not a feature request. It is a code refactoring task. — Ankit Goel 6 mins ago
 
Isn't that asking us to change the code but keeping the same functionality?
The question as-is is off-topic
 
Zak
#Times I've crashed Excel today: 2 (and counting)
 
If it was edited to something like "I'm not happy, this code makes my a$$ look fat. And I'm worried about that inner loop"
Then that would be on-topic
 
JSONArray ary ... Variable naming at its best. Boy, am I glad I don't have to code review this. — 2Dee 57 secs ago
@Yuval Your custom closure reason doesn't explain why the question is off-topic on Stack Overflow. What you mean is that there is no specific question to be answered. — 200_success 55 secs ago
@200_success I mean that he is better off putting this in code review, because that's exactly what he's asking for, a code-review. I think that's pretty self explanatory. — Yuval Itzchakov 32 secs ago
 
@IsmaelMiguel Yea, but now it's a specific question.
 
9:05 AM
Now it is very specific and that specific question is off-topic
That's my opinion
 
Feel free to drop votes/flags
Which is off-topic at Code Review. See this answer for a handy table and our on-topic help center for details. — Mast 2 mins ago
 
I've voted with your custom reason
 
Zak
#Times I've crashed Excel today: 3 (and counting)
 
By the end of the day you'll crash it 15 times
 
@Mast What part of "code refactoring task" is off-topic here?
 
9:12 AM
@SimonForsberg General code refactoring is very on-topic.
 
Which is off-topic at Code Review. See this answer for a handy table and our on-topic help center for details. — Mast 8 mins ago
 
"Is it possible to remove the inner loop by assigning data.Data.Tables[0].Rows[i].ItemArray directly?" however is very specific.
 
what part of that is off-topic?
 
Very.
It's a feature request.
 
No, it's asking for a simplification.
 
9:13 AM
It's not "Do I want critique on any and all points of the code"
 
It's asking about if that specific simplification is possible.
that part I can agree with, but I cannot remember any situation we've closed questions because of that reason. It seems like we tell them what we think that they should hear anyway.
 
Which would make it a good SO question.
 
Just because it might be a good SO question doesn't mean that it's off-topic for CR
 
@SimonForsberg I know, which is why I didn't close it as such.
But he's not asking for a Code Review in my opinion.
 
I'm voting to close this question as off-topic because it's asking for a feature request, not for a Code Review. — Mast 41 mins ago
 
9:16 AM
Which is kind of what this site is all about.
 
He's not asking for a feature-request in my opinion.
He's asking about changing how the code does things, not what the code does.
 
Simon is right
 
He's asking for a specific re-write.
 
And Mast is right too
 
We're not a code writing service.
 
9:19 AM
He's asking if a specific re-write is possible, which is a question we usually are qualified to answer.
 
What do you suggest?
Retract close-votes?
 
We are. And he's perfectly allowed to ask if he's doing it wrong and get what he wants as a suggestion.
However, we don't deal in specific questions IIRC.
 
Zak
#Times I've crashed Excel today: 4 (and counting)
Also, do I sense, controversy!
 
Somewhat
 
@Zak Going great ^^
 
Zak
9:24 AM
I make it 3 / hour at the current rate
 
@Zak !¤%"() grey areas of Code Review...
 
Indeed.
I think this about sums up what I think the possibilities are IMHO
I think you're looking for a very specific alternative. You can either ask for a full review on the current code, in which case we need context. Or you can go with a specific question to Stack Overflow and use the current code as proof of prior research. — Mast 2 mins ago
Meta-time?
 
"Questions containing broken code or asking for advice about code not yet written are off-topic, as the code is not ready for review. After the question has been edited to contain working code, we will consider reopening it." – Zak, SuperBiasedMan
 
@IsmaelMiguel @Zak @SuperBiasedMan Wrong close reason?
 
@Zak @SuperBiasedMan -> codereview.stackexchange.com/q/104007/53773 Are you sure it is broken?
 
9:30 AM
I do agree that the question lacks a bit of context. It's not a very good question really, but I wouldn't say that it is off-topic
 
It isn't "Code not yet written" for sure
I'm seeing myself forced to click "reopen" due to a wrong close reason
 
Zak
ah, that's my bad. I was intending to go for "feature request" but must've clicked that one out of habit
 
The only thing now is to fix it, I guess
 
@IsmaelMiguel You can't 'fix' a close vote reason. Retracting it will disallow you from voting again on that question.
Besides, you can't retract after closure IIRC
 
You can open and close it
 
9:37 AM
That's like swatting a fly with an elephant.
 
@IsmaelMiguel please don't. If you click reopen, it should be because you want to see it open, not because you want it closed as another reason.
 
Crap
I want to answer that question, but I don't want to answer an off-topic question
 
@IsmaelMiguel You can't.
 
@Mast Not because it's broken, because they're asking "How can I do X?"
 
@SuperBiasedMan So note that instead. There's a thing called 'custom closed reason'
 
9:39 AM
ie. They don't have the code they want written, and they're asking about how they'd write it that way
 
That's not the same
That close reason is for // do something
And similar placeholders
 
Oh, I thought that reason was also about asking for code alternatives.
 
@IsmaelMiguel that would be example code, which is a different close reason.
 
@Mast I can't now, but I still want :/
@SimonForsberg Sorry then. What would be a good example of "code not yet written"?
 
@IsmaelMiguel People posting a problem statement instead of code. Posting pseudo-code, etc.
 
9:45 AM
That sounds a good example then
 
codereview.stackexchange.com is probably a better place for this question. — publicgk 56 secs ago
 
Zak
I've taken what is likely the smart step of ordering my lists of filenames before I start trying to compare them :)
There goes me getting my hopes up
#Times I've crashed Excel today: 5 (and counting)
 
I told you, you'll crash it 15 times
 
Zak
at this rate, it'll be WAY over 15
 
Please, keep your hopes high
 
10:01 AM
0
Q: Rewriting specific parts of the code

MastThis question got closed. Initial close comment: I'm voting to close this question as off-topic because it's asking for a feature request, not for a Code Review. 3 counts on that and 2 for broken code/code not written. In chat it turned out one of them hit the wrong button and the other had...

Writing meta while taking different opinions into account is prone to mistakes, so feel free to point out mishaps.
So let's define the colour of one small part of the grey area :)
2
 
Zak
#Times I've crashed Excel today: 6 (and counting)
 
@Mast I hope it is either black, white or gray
 
0
Q: Board-tile game click event OOP pattern

nkmolThis is actually a old 'problem' that I never really knew how to impove, but I'm wondering now if there is a better approach for this problem. **Problem: ** So I'm creating MineSweeper with Java and struggling with an OOP aspect of the game. Basically I have a class Square.java, SquareBoms(exte...

0
Q: My code is suppose to check for 3 tiles in a row, instead the app crashes

James111Okay, I don't want to say this. But I feel as though i don't understand OOP fully :\ This really stops me from creating an OOP program. Im so use to programming in PHP that I have trouble understanding how OOP works! Could someone point me in the right direction? Below I've got a program that is...

 
1
Q: Rewriting specific parts of the code

MastThis question got closed. Initial close comment: I'm voting to close this question as off-topic because it's asking for a feature request, not for a Code Review. 3 counts on that and 2 for broken code/code not written. In chat it turned out one of them hit the wrong button and the other had...

3
 
@IsmaelMiguel I prefer black or white. Gray should no longer be acceptable after we sorted this out.
 
10:07 AM
But those are my favorite colors
 
@Zak Doing 6 different things or 6 times the same thing?
 
Zak
#Times I've crashed Excel today: 7 (and counting)
Difficult to say. At this point, it gets part-way through the main loop and stops displaying debug.prints
 
Does removing the debug prints help?
 
Zak
it might. But then I'd have no way of knowing what's going on in there.
I've set them up to only print infrequently
for some values of "infrequently"
 
Does it matter where it fails?
 
Zak
10:10 AM
Not really. IT's doing one simple thing over and over again (I haven't even tried adding in doing stuff with the files yet)
 
Can you trace why it's failing with the debug prints?
Otherwise you may need a different way of debugging to actually get rid of the bugs.
 
hi
 
hi
 
Zak
I don't think it's bugs
I think it's just overwhelming the application
 
I just tried writing a genetic program to generate a brainfuck program to print a string. It absolutely does not work
 
10:13 AM
@Zak How's that not a bug ^^
@Caridorc genetic?
 
Zak
IT may have been the frequency of prints
I reduced them by a factor of 10 and it's running good so far
 
:-)
 
Can you feel this?
 
@Mast, yes, there are random mutations and each generation I keep the best fit (Darwinian selection)
13
Q: Genetic algorithm for “Hello World”

CaridorcThis programme uses a genetic algorithm to get the string "Hello, World!". It can be summarized as follows: Create a random initial population. Let the best reproduce and kill the worst until we get a 'good_enough' result. I used doctest to verify correctness. import doctest import random d...

 
@Caridorc You're generating Brainfuck and analysing the code afterwards to see how good it is?
 
10:17 AM
I am compiling it to C and executing it with a timeout
Than I see how similar the output is to what I wanted
The question link I put, was written by me same time ago, but only works with strings
not programs, it is considerably simpler
Also it is hard to write a valid (not infinitely looping) program in brainfuck
So the selection has trouble even starting
 
So you're randomly generating Brainfuck, hoping it does what you want it to?
That won't work if you don't put in some boundaries.
 
@Mast kinda, the fact is, if even a single char of output is right, I will keep the program
and maybe after some mutations it will output 2 correct chars
and so on..
 
You'll be keeping a lot of garbage then
 
At each generation the less fit (the more garbage-like) are killed
but still, I can not get even a single char of usable output
 
1
Q: How can I write my program better to be more Object Oriented?

James111I don't truly understand how OOP works and It's stopping me from creating good programs! Below I have a program that will check to see if there are 3 tiles from a gridview in a row. At the moment it's all in the one class (game.java) which I don't think is very OO. The Items() class will just s...

 
10:24 AM
@Caridorc Sounds like it actually works.
 
@Mast, the program I wrote with strings only works
 
It can't work and not work at the same time.
 
The one with brainfuck programs does not
 
5 mins ago, by Caridorc
and maybe after some mutations it will output 2 correct chars
Is that the Brainfuck version or the string version?
 
The string version actually works
The brainfuck one only generates garbage
 
10:28 AM
Ok.
7 mins ago, by Mast
That won't work if you don't put in some boundaries.
 
Of which kind?
 
I'm voting to close this question as off-topic because it belongs on codereview.stackexchange.com, if anything. — deceze 7 secs ago
 
0
Q: Implementation Async/Await

MegaTronPlease check whether I properly implemented Async/Await in my project. I had implemented mathods like below in my repository: public T GetById(object id) { return this.Entities.Find(id); } public void Insert(T entity) { try ...

 
@deceze Hypothethical code is off-topic at code review — Caridorc 19 secs ago
 
@deceze Hypothethical code is off-topic at code review — Caridorc 31 secs ago
 
10:32 AM
I am faster than a bot
 
Zak
so, on the plus side, my list-matching part of the sub seems to be running fine.
On the minus side, it seems to be constantly slowing down, despite the fact that I'm not asking it to store anything.
 
This question rather belongs to code review than on SO — m02ph3u5 56 secs ago
 
0
Q: code repetition in specialized template methods

Alex Goftsupose i have a class of complex numbers 'Complex' and i wish to implement a class of generic matrices with transpose operation. doubles and int dont require special care, but Complex numbers have to calculate conjugate transpose. therefore, i implemented a "specialized transpose()". template <...

 
This one looks a bit too hypothetical: stackoverflow.com/questions/32436557/…
 
What triggers a reopen vote review? Is it just if a closed question gets edited or does someone have to initiate it with a reopen vote?
 
10:42 AM
1
A: Rewriting specific parts of the code

RubberDuckThis question is on topic in my opinion and I've voted to reopen it. It's OP's code. Even without context, it's a pretty clear question. The code isn't broken. OP isn't asking for new functionality, but for a better way to do the same thing. (i.e. not a feature request). Is it possible...

@SuperBiasedMan either.
 
@RubberDuck That makes sense. I just saw one appear because the OP edited in one line "Does this code even work?"
 
Thanks, @RubberDuck. Totally agree.
 
Yeah. No problem. Sorry if the tone is kind of harsh. I've not finished my first cup o' joe yet.
And I seriously don't understand why it was closed.
 
I'm writing up an answer now to explain why I chose my reason, I'll link it when I'm done.
 
Thanks @SuperBiasedMan. I'd appreciate that. I was trying to find the chat conversation, but was having trouble finding it.
And thank you @SimonForsberg. Good edit. That's exactly what I meant.
 
10:50 AM
Monking again
 
Monking @Heslacher!
 
Zak
Interesting. My macro's runtime seems to be increasing according to a rough triangle number sequence.
> First 25k files: 2 1/2 minutes
> Second 25k: 5 minutes
> Third 25k: 7 1/2 minutes
> Fourth 25k: 10 minutes
 
Just saw the meta with the answer of @RubberDuck . I need just need to ask now after seeing the question of interest, why didn't the OP try this ? He/She is asking is it possible but just testing it would be sufficient. IMHO it should stay closed because of that.
 
Maybe they did, but were doing it wrong @Heslacher.
It's not a good question, I admit that.
 
It isn't our responsibility to imagine what they did. It is their responsibility to tell us.
 
10:55 AM
Agreed, but how does that particular piece of info affect the on topicness of it?
 
If they tried but couldn't do it -> off topic
If they didn't try -> off topic
 
Okay. Why do you feel that way? Help me understand your perspective on this.
 
If they had asked without having that idea about assigning -> on topic (with more context for sure)
 
@RubberDuck I'm still a baby here, so I'm not under the illusion that I'm right, but I figure this is still the best way to explain my reasoning for posterity.
 
For the first off topic -> asking for a feature
The second off topic could be on topic like I have written
 
10:59 AM
I don't agree that it's strictly off topic to say "here's what I have done, I know I can do it another way but can you show me how?", technically that's punishing someone for having more knowledge than someone asking "is there any better way to do this?"
I just think that particular question seemed singularly focused on "How can I do X?"
 
but... @Heslacher, how is it a feature request if it doesn't change what the code does?
Thanks @SuperBiasedMan. Going to read now. I agree with the things you said here in chat. I don't want to punish those people either and this question would be on topic on SO.
 
I just asked a question containing a single line of code. It accomplishes something sensible and the code is not golfed. It is on-topic right?
 
Ok, so feature request is wrong. My bad. Let me rephrase to just say I have the feeling that it should stay closed. Maybe because it is just so easily to test by themself.
 
Yes, but there are people here who systematically downvote such questions @Caridorc. Just FYI. Not saying it's right or wrong.
 
@Caridorc yes, I'd just recommend adding "Can this be done better?"
 
11:06 AM
1
Q: Print the length of words as input as a histogram with horizontal bars

CaridorcInput A list of words separated by any number of spaces. Output A horizontal ASCII art histogram, where the n-th line is composed by as many asterisks (*) as the n-th word is long. Example usage The > signals user input, you should not input it when testing the program. > This is an example...

 
I think that question is one of the best "one-liner" questions we've had on this site, @Caridorc. Maybe even @Mat'sMug would like it?
 
@RubberDuck Well, life is a risk, I can stand the risk of a pair of downvotes. @SimonForsberg can this be done better is implicit in each codereview question
 
Oh wow. @Caridorc, I think that should be the example of how to ask a question about a single line of code.
3
 
@Caridorc tell that to the potential down-voters ;)
 
@RubberDuck Want a more thorough explanation or should we stick with the meta?
 
11:08 AM
Let's stick with meta. I think I get why it was put on hold now. I just don't agree with it.
 
@RubberDuck, thanks, nice to hear this from you :)
I practised writing input/output description and testacases writing thanks to a pair of CodeGolf Challanges I wrote
They are very strict about how you should write your question to make it a good one
 
They are. As strange as that site is, it has its benefits.
They write the best questions on SE, and the worst code.
But I like golfing from time to time. It's an interesting challenge. I've even managed to write reasonably competitive answers in VB6.
 
19
Q: Dead code elimination

CaridorcDead code sits there doing nothing, staring at us knowing it will never be executed... but today we can take revenge. Specification The input will be a multiline string. Each line may either be an assignment or an expression . Assignment An assignment is of the form <name> = number where nam...

Writing the specification for this challenge and its testcases has been a challenge in itself.
 
@Caridorc It could be argued the whitespace in the code is also dead.
 
That's a really cool question. Static code analysis in as few bytes as possible. That's awesome.
@Mast I don't think so. Removing the white space could break the imaginary lexer. =;)-
 
Zak
11:27 AM
My macro is doing some very, interesting, things
 
@Mast whitespace can be said to increase readibility
 
Zak
I think I've figured out why it's slowing down
 
And making it more advanced would be overkill, because programs to golf should be relatively easy
 
Zak
In essence, it's because we start matching filenames from the smallest company numbers. And, in essence, earlier company numbers belong to older companies, and there are far fewer of them (number-density-wise) than newer companies. SO it takes far fewer checks to determine whether a low-numbered compnay is present or not
and the macro hit a REALLY dense patch around the 1Million Mark, which I take to be because at some point CH, started issuing new numbers from 1 Milion
Also, it just finshed a whole month :)
Total runtime - about 70 minutes
Now to do some proper Benchmarking :)
 
@Caridorc It's a code-golf challenge. I doubt they care about whitespace in output.
@RubberDuck Probably.
@Zak In one go, without crashing?
First Good Question badge ^^
 
Zak
11:36 AM
@Mast yes :)
 
@Zak In 70 minutes, while the previous version took 300 hours?
 
Zak
@Mast ah, no
 
@Mast yes, output for the testcases should be as requested, verbatim
 
Zak
@Mast 300 hours to filter every file in the whole data set (Millions of files)
 
They need objective rules to make the challanges fun
 
Zak
11:37 AM
70 minutes to Determine Which of 140,000 files would need to be opened
 
@Zak Ah, so this is the first phase of the whole thing.
 
Zak
yes
I'm going to focus on benchmarking the matching process for a bit
see what I get
 
Good idea.
 
Zak
then move onto the file filtering process
also, that 70minutes included liberal use of DoEvents
 
Good.
 
Zak
11:42 AM
I've learnt through experience that once you start getting to the 1-minute mark, if you don't give the CPU a chance to keep up, it'll end up crashing
 
@Mast Here's something you might be interested in:
0
A: FizzBuzz in Brainfuck

Simon ForsbergSimplifications Thanks to implementing some analysis of while loops in my BrainDuck project (which I worked on thanks to reviewing "Hello, Brainfuck"), I managed to find a bunch of loops that were always performed x times. By expanding these loops (copy-paste their content x times and remove the...

My first Brainfuck selfie!
 
@SimonForsberg Definitely
 
well someone apparently reads fast...
My while loop analysis was extremly helpful, really.
I'm quite sure there are more things that can be improved though
 
@SimonForsberg Scanned it first, read it later, now scanning the repo
You basically went scanning for useless combinations. That's doing major clean-up.
 
11:55 AM
yup
a lot of the work was done manually, but I couldn't have done it without my Brainfuck-analysis tool.
 
Your README.md could use some work though ^^
 
erhm...
 
settings.gradle holds rootProject.name = 'brainjava', may want to update that as well
Oh wait, this was Code Review, not Project Review, never mind me rambling :-)
 
12:12 PM
Dikjstra might have been a genius and I still don't understand how he managed to come up with Smoothsort but it seems that it wasn't worth the trouble :/
 
@Morwenn Aren't the rest derived from smooth?
 
@Mast Nope. Smoothsort is a derivative from heapsort using a Leonardo numbers-based heap.
And it's pretty much the only one using that.
 
Looks like heap is way faster.
 
Introsort uses a quicksort log n times then falls back to a heapsort to guarantee a log n complexity.
pdqsort is derived from introsort but uses some additional mechanisms and falls back to an insertion sort for small inputs.
Timsort is a derivative of a mergesort and also uses insertion sort for small inputs.
Vergesort tries to merge sorted or reverse-sorted sub-collections bigger than n / log n where n is the size of the original collection and falls back to pdqsort otherwise. It also uses pdqsort for small inputs.
It's the sorting algorithm I designed yesterday :p
So basically, I guess that vergesort shares some things with timsort and mergesort, and since it falls back to a pdqsort, it also shares things with introsort, quicksort, insertion sort and heapsort.
 
in Cardshifter TCG, 22 secs ago, by Duga
[Zomis/BrainDuck] Zomis pushed commit 2cf793d7 to master: Update README.md
 
12:24 PM
lol
 
in Cardshifter TCG, 38 secs ago, by Duga
[Zomis/BrainDuck] Zomis pushed commit c77d9245 to master: Update projectname in settings.gradle
 
I wrote a basic Brainfuck generator and you decided to do it totally different and way better. To the max.
Even has syntax highlighting!
 
@Mast I haven't written a Brainfuck generator.
@Mast planned feature, not implemented yet
 
No, you wrote an IDE
Which will eventually generate as a sub-feature
 
s/wrote/are writing/ , it is far from finished
yes, eventually
 
12:26 PM
Ah well, looks like you got the basics down pretty well
 
generating Brainfuck code is not that easy though, at least not "doing it right", with a good balance of code length and run-time length.
@Mast looks can be deceiving ;)
 
I'm stuck to my Windows-side today, but I'll try the real deal tomorrow.
@SimonForsberg Yea, I noticed.
 
Monking
 
Monking ^_^
 
I just got a surprise
12
Q: Can PSU cause my PC to reboot?

skiwiI'm having an issue with my PC: It is rebooting sometimes, and I am suspecting the PSU, so I want to confirm a few things. It is a new PC and the first issues started occuring roughly one month after purchase. Also they only occur after several hours of usage. And it seemed that completely shutti...

Golden badge for 10K views
 
12:36 PM
Nice
SEO may have something to do with that
 
I still have no clue if and how I ever solved that issue
 
You forgot?
 
Yes...
I think it still has the same PSU, but it's not unintentionally rebooting at all
 
0
Q: Avoid global variable

user75534I have uniform grid in application, after window resizing(when width<300) it removes right column from uniform grid, and deletes items. After revert to previous size(width>300), it adding deleted column and elements. But in code i have two global variables public ObservableCollection<CarType> tem...

0
Q: Object instantiation inside a function?

simplicis veritatisHere is piece of code that draws graphical objects (superellipse): #include "std_lib_facilities.h" #include <iostream> #include "Simple_window.h" #define PI 3.14159265359 template <typename T> int sgn(T val); vector<Point> generateSuperEllipse(double CoeffA, double CoeffB, double expN...

 
Zak
Benchmarking has yielded an exceptional success. Base: 70 minutes to match 140k files against 1Million filenames. Latest test: <1 second.
And I've checked that it is actually finding matches, not just skipping the whole thing 140k times
And I don't even need to order my lists :)
 
12:58 PM
Greetings
 
Zak
hey :)
 

« first day (856 days earlier)      last day (3165 days later) »