« first day (361 days earlier)      last day (3672 days later) » 

2:00 PM
I got myself a new desktop, when I get a better Desk I may fork out for more monitors after I get an SSD for the lagginess of Windows 8, sometimes it is horrible
I only run two monitors at home right now, 3 at work, and it's sweet
 
@Malachi I have four monitors at home. But that's three computers, so that doesn't really count.
 
@Donald.McLean I have 2 extra laptops, one of them is running Ubuntu 13.10 ( <- I think) another is windows 7, but I only have 1 charger and both batteries are toast, so guess which one I have turned on?
 
@Malachi Santa doesn't venture on SU ;)
 
@Mat'sMug too many people need coal there....
2
 
0
Q: Lunr backed client side search module - Need opinion

tallandroidI created a client side search module. Could anyone please provide review pointers on it ? var search = { "use strict"; var _instanceMap = {}; var maxLimit = 50; //TODO: add a perf test to determine the scale. /** * @constructor * @private */ function _IndexCreator(_searchConfig){ this.r...

 
2:13 PM
Lovely asp issues in coworkers code, yes a switch to newer technology is planned long there
 
0
Q: Finding the nearest Rational to a double - is there a more efficient mechanism

OldCurmudgeonI use the following code to find the lowest denominator Rational that is within a certain delta from a double. The rationale is that the I am pulling float numbers from a database and in many cases summing them. All of the numbers are calculated using simple maths such as +, -, * and /. No trans...

 
nice
thank you @CaptainObvious
5
I really love that name
can we please keep it?
 
@Malachi I'm on a laptop right now with the screen on three displays, one HDMI, one VGA, and the laptop screen itself.
Though I might be cheating since it's in a dock, and the VGA is through that.
3
 
@jmblack the dock probably helps
 
2:29 PM
It was a necessity, but I'm not sure why, technically.
 
0
Q: What's your opinion on this approach to creating a repetitive string in Common Lisp?

Wojciech GacI needed to have a Lisp function that could produce a string of a certain length, created by repeated concatenations of a another string given as argument (so for example by giving 10 and "abc" i could obtain "abcabcabca"). I came up with a perverse idea of using a circular list of characters in ...

 
2:44 PM
@Malachi If it's any comfort, at least we know they're wrong. Of all the pompous jerks around here, you seem the least interested in taking over. :-)
3
 
@CaptainObvious The title suggests "opinion-based" question. I may be wrong though.
 
@Morwenn Looks like a pretty straightforward request for a review to me.
 
Is it just me, or picking on @CaptainObvious is much less awkward than picking on @StackExchange? :D
@JeroenVannevel I removed the tag... and gave a review ;)
 
@Mat'sMug It's just you.
How's that for making you feel awkward?
 
lol
 
2:52 PM
@JerryCoffin You're right, the question seems fine.
 
@Mat'sMug much better!
 
By the way, did anybody ever close a question for being "primarily opinion based" on Code Review? Does it even actually make sense?
 
I have. (digs up close vote history)
-1
Q: Which code looks better?

BJ_I've got a question on what code style is better. There are two arrays containing some codes. One array consists of string elements, the other consists of integer elements. The corresponding values are the same. I need to iterate through those arrays and get a result of some function on each ele...

that's one ^^
 
@Mat'sMug Gotta give an upvote to anything that says (in bold-face letters, no less): "Avoid Java".
 
@Mat'sMug I see. Wasn't there a meta discussion about code comparisons?
 
2:57 PM
@Morwenn that one was quite hard to not close as opinion-based:
> could you please say what code of the two above is better in your opinion?
 
xD
 
@JerryCoffin thank you
 
@Mat'sMug If I'd been around that particular day, I'd have found it extremely easy. I'd have voted to close as off-topic because it needed to contain real code.
 
also
 
@Malachi Now I'm worried that somebody might be taking something I said seriously (again).
 
3:01 PM
I still think A vs B questions, even with real code, are primarily opinion-based. CR isn't about debating whether A is better than B - implement A or B, then get reviewed and we'll tell you if B would be better than A or whether C would do a better job...
2
 
@JerryCoffin oh were you being sarcastic? I didn't see the <sarcasm> tags
 
@Malachi I don't think all the pompous jerks around here was serious ;)
 
@Malachi Sarcastic? No. I'm never sarcastic. Merely trying for a bit of humor (but apparently failing).
@Mat'sMug C is usually better (but C++ better still).
 
@Mat'sMug oh yeah, lol I should have said assertive in there, apparently that doesn't describe me at all, they said I am unsure of myself. I think I am just being humble to the fact that I do not know everything there is to know
@JerryCoffin I still took what you said as a compliment, whether or not I am a pompous jerk.
 
@Malachi reminds me of that song by Arcade Fire.... normal people...
 
3:05 PM
why doesn't the math markup work on tag wikis? codereview.stackexchange.com/tags/mediant/info
 
@Malachi Having to really work to keep from writing something about: "no, of all the jerks around here..." :-)
You just have to quit feeding me such obvious straight lines...
 
@Malachi there's no markup in the excerpts. keep wiki excerpts simple, save the nice formatting for the full-blown description ;)
I joined another beta site 2 days ago. Not sure that one's going to survive though :/
0
Q: 1000 jours en béta: voyons les chiffres

retailcoderDans quelques jours, ce site atteindra le jour 1000 en phase béta. À quel point cette communauté est-elle vivante? Je viens tout juste de débarquer et ce que je vois sur Area51 m'indique qu'il y a du travail à faire, notamment au niveau des questions posées par jour (2.9, alors qu'on en voudrait ...

 
someone want to SuperPing OldCurmudgeon and have them check out my work on that tag wiki?
 
@Malachi wouldn't that benefit from some MathJax?
 
now see I thought that is what that was, I am trying to do things fast. I don't know all the markup for mathjax
 
3:09 PM
@rolfl I created a tag btw, you might want to fill in the wiki ;)
And I should be available later today to see if we can debug the document building time there
 
@Malachi I have to question whether Code Review needs at all. Is there really much chance that anybody is going to follow or anything on that order?
 
@Mat'sMug how does beta site creation/survival work anyway? I know there are some graduation terms somewhere, but I don't know about the first part of it.
 
what about ?
 
@Malachi that's a python framework
 
didn't we have a conversation about oddball frameworks in different languages?
 
3:13 PM
@jmblack SE 2.0 sites are born and incubated on Area51. The public beta is at least 90 days; graduation terms are, I believe, subjective conditions in the hands of The Powers That Be.
Otherwise CR would obviously be a graduated site, right? ;)
 
figured it out, that was MathJax but it didn't have the $$ before and after, so it didn't know it was mathjax
@OldCurmudgeon I edited the Tag and it's wiki, would you please take look at it?
 
Hmm.
So CR is in public beta status, or?
 
@Malachi IMO, it at least borders on being reasonable. I think it's reasonable to have a tag for a library/framework, so the only question is whether beautiful-soup is a popular enough example to qualify. , however, is a mathematical concept, not about code at all. We don't have or either (and they're enough more widely used that they'd probably make more sense).
 
@jmblack yup. and has been for 1196 days!
 
But I don't think we really need/want either of the latter two as tags either.
 
3:24 PM
@Mat'sMug I see that now, on the Area51 site. Interesting.
Thanks!
 
compare to 200 days ago:
19
Q: 1000 days in beta: let's make CR t-shirts

Mat's MugAs of 2013-09-05, Area 51 stats for CodeReview are as follows: Days in beta: 960. Questions per day: 19.4. Healthy at 15, need work at 5. Check. Answered Questions: 89%. Healthy at 90%. So we're anywhere between 88.5% and 89.4%: I'd love to see the actual decimals. I'm sure we can bring this m...

 
Answers/Question is definitely the weak link there. Everything else is improving.
 
yeah we're doing great!
:D
 
=)
I like CR because it really fills a niche that SO handles poorly, since the idea there is to get a direct technical answer so a specific technical question. But a lot of the time more general or design-focused feedback is the most useful feedback to the asked.
I wish I had known it existed sooner than I did.
4
 
I don't consider CR a beta site at all though, seeing the popularity and functionality we have and offer.
 
3:33 PM
@JerryCoffin I just edited it. but I think I agree
 
We need more Java reviewers though.
 
@jmblack The metrics should be adjusted here for CR; answers are usually of such quality that 1 or 2 is often all you need
 
@JeroenVannevel even that metric has gone slightly up recently ;)
 
@Mat'sMug Except on my questions.
 
@skiwi ah, so you're the one dragging the metric down!!
 
3:45 PM
hides
Though I completely understand it takes time
These are not neccessarily the shortest questions you will see:
5
Q: Trading Card Game's Hand and HandView implementation and unit tests

skiwiThis question continues on my previous implementations of the Hand class of a Trading Card Game, earlier questions can be found here: Earlier model: Trading Card Game's Hand class and tests Older model having similar functionality as this one, likely deprecated for current one: Trading Card Game'...

4
Q: Saving an XML file created by Tesseract OCR as a traversable object

skiwiMy project here works upon output that comes out of a Tesseract OCR scan using hOCR format, then I read it with JDOM 2.0 and finally save it one of my own objects, which at a later point needs to be serializable. I have spotted one major codesmell, which is a for-loop of 5 levels deep. An exampl...

It even takes loads of time to just read those questions
Let alone implement :D
 
0
Q: RequestHandler: Is my code clean?

Kid DiamondI've built a simple class RequestHandler that does exactly what I want without any extras I won't be utilizing. When needed I will expand. I'm passing this object to my Router class, to route URls to the correct controller. Is my code clean? Would it be a good idea to make it a singleton as the...

 
And it's just a single part of all code I have here...
Dinner now, can somebody watch this answer?
It's just posted, give him 5 mins to expand it, but else it stands as a NAA.
Nevermind, he commentized it
 
0
Q: ISBN Number Check - Does this code work or is it flawed?

Oliver PerringIve recently coded a way of checking a 10 digit ISBN number (wiki page : http://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digits). I was wondering if the code works to check the numbers and if there are any flaws in my code. def isbn(number): try: number...

 
Probably just a silly mistake of him
 
4:08 PM
0
Q: On writing HTML and CSS in Javascript

Hermann IngjaldssonI made a system writing HTML, CSS and Javascript. But then there were more feature requests and it became evident to me that whatever I wrote in Javascript directly was I felt, more powerful. I could take much more control over what the syntax was like and the general appearance of the whole thin...

 
4:20 PM
Urgh, std::string str={}; is not equivalent to std::string str="";...
 
So, I'm thinking that my Code Review question probably belongs on Stake Overflow. What's the best/most appropriate way for me to get the question over there?
 
I just lost one hour on that.
 
Monking
 
@Dane Your VARCHAR question?
 
"I'm not gonna say "hello" to Nobody" is not a double negative on this chat.
4
 
4:27 PM
:P
Our questions are now delivered by Captain Obvious?
 
@Monking Yes.
 
@all: do you consider questions on project (file) layout OT or OT?
2
 
I see you've already asked a new question on SO. You can just delete it here.
 
I mean, what VARCHAR question?
I don't know what you're talking about...
 
Yes, you should be able to delete your own question on Code Review.
 
4:41 PM
@Morwenn That's... unfortunate
 
@skiwi That's probably undefined behaviour. One of the most evil aspects of C/C++.
 
Well... at work there was more fun. There was some old ASP script still around, and they set the XMLDOM object to preserve white spaces (else it strips at the start and end of strings)... All fine
Then ASP decides to duplicate all XML nodes with totally empty nodes, but they still participate in the node count
Resulting in the creation of an array with empty elements at the end
 
1
Q: Converting snake_case to CamelCase

Rohit SubediIs there an effective way to change the following text pattern. May be a regex way. I have a string like abc_def_ghi_jkl. I want to replace it to AbcDefGhiJkl. Currently I used the following code to change it. Is there some more effective way than this? implode('',array_map('ucfirst',explode('_...

 
Resulting in all other code crashing, because it expects fully-filled arrays
@CaptainObvious Silence. I was talking here.
@CaptainObvious When someone writes camelCase in PascalCase... You know something's off.
 
The terminology isn't that strict.
CamelCase (camel case) or medial capitals is the practice of writing compound words or phrases such that each word or abbreviation begins with a capital letter. Camel case may start with a capital or, especially in programming languages, with a lowercase letter. Common examples are PowerPoint or iPhone. Variations and synonyms Although the first letter of a camel case compound word may or may not be capitalized, the term camel case generally implies lowercase first letter. For clarity, this article calls the two alternatives upper camel case and lower camel case. Some people and orga...
 
4:46 PM
"So essentially, you're benchmarking how fast you can check whether you're done with benchmarking." <- That's done deep stuff....
@200_success Ah okay, I see
From:
2
Q: Does this code actually give a valid representation of how quick a system is?

Oliver PerringSo I wrote this code a while ago as a way of seeing how many times it could compute a simple sum in a second (one tick). I was wondering if this gives me valid results or is in fact giving me bogus ones. from datetime import datetime from datetime import timedelta start_time = datetime.now() ...

 
I think it's a duplicate, and am debating what to do.
4
Q: Measuring Execution Times

Oliver PerringI was wondering which time.time() of from datetime import timedelta was the quickest and best way to find how long a programme had been running for example. import time start = time.time() #do stuff print(start - time.time()) or (although longer) from datetime import datetime from datetime ...

 
@Mat'sMug How on earth did you get different names on different SE sites?
Can CR have duplicates? Though this one is from the same OP seemingly..
 
@skiwi you can apply changes to just the profile of the site you're on when you're modifying your profile...
 
Ah... so you do all of that to confuse us and the bots monitoring you? ;)
 
I'm not answering that without my lawyer ;)
 
5:01 PM
0
Q: On writing HTML and CSS in Javascript

Hermann IngjaldssonI made a system writing HTML, CSS and Javascript. But then there were more feature requests and it became evident to me that whatever I wrote in Javascript directly was I felt, more powerful. I could take much more control over what the syntax was like and the general appearance of the whole thin...

Doesn't belong on CR imo
 
(I'll actually revert back to @retailcoder when I sign the offer I'll be getting soon-ish - back into the wonderful world of retail!)
 
Where (rough branche) are you hoping to be working?
Retail is still very... broad
 
Apparel. I used to plan seasonal buying budgets in fashion retail industry (namely, @TommyHilfigerCanada). Somehow I ended up in IT ;)
 
interesting path there
But you'll still be doing IT for the job then? Or full retail
 
hybrid. I'm being approached for developing reporting dashboards and going beyond the numbers. The IT guy would say "give me the specs" - and deliver that. I'm expected to deliver that, plus whatever I deem useful. So I kind of "make my own specs" based on my business insight and experience, while having the technical ability to build whatever tools I need to achieve that.
 
5:12 PM
interesting
So you got in the meeting for the job then, I assume?
As you were talking about signing the offer a bit ago
 
it's a bit of a slow process, there's a form I have to fill up (got it yesterday) and send them back, then they'll make me an offer that I'm expecting will make it a no-brainer to resign from the shitty position I'm currently in.
There's positiveness with that shit job though: I learned the difference between coder and programmer. The hard way.
 
hehe....
that's a sad story
 
oh, no! the only sad part is that they'll have to find a coder to do the job, but that's the least of my concerns!
 
:)
Oh wow, someone just submitted a patch in the JDK 9 to change quite some stuff... It's fine in my opinion that people try to improve it, but why do those people always have to come with such arrogancy?
Well, just is 3 days ago, there was quite some discussion about it afterwards
And I learned somethign new
"verylongstringof1000characterslong", is present in the classfile as a constant and will take up quite some space. Though will forever be a constant
"verylongstringof1000characterslong".toString(), is not present in the classfile, and will be interned at first call in the runtime
Something went wrong there with editing just now ^^
 
5:30 PM
0
Q: Unique type ID, no RTTI

iavrFollowing my answer to Unique type ID in C++, I have worked towards a "safer" version that I am posting here. This is a lightweight type that can store a unique (also across compilation units) ID per type for use at runtime, without RTTI. Instead of using a built-in type for ID representation th...

 
5:41 PM
iavr... this will be a tough question.
Finally finished my new INI module. Writing parsers, even small ones, is a pain...
 
0
Q: What is an proper way of routing to the right controller in MVC patterns?

user3123545I always been curious on how to build great application with proper routing to my controllers, but after seeing some sources of applications like Xenforo, Joomla, it seems completely different, and mostly I can't understand them. From my understanding the user sends a request to the web-server,...

 
6:00 PM
@Nobody @all two stars and still no answer?
wow, it is possible to ping yourself
 
@Nobody It's even possible to post a message as a reply to the message itself (sounds confusing, I know...)
Example:
@ProgramFOX Reply to the message itself.
 
0
Q: calculating complexity

LukePSo I have written this Perl program to prove a conjecture given a set of clauses. I've actually posted some code from it on here in another question. This time its all done and I've made it as fast as it need to make it. Now, I want to calculate the big(O) notation of the program. Its somethi...

 
Pff editing is cheating ^^
 
Ok, then let's try without editing:
 
you gotta be fast
because the IDs are chat global
 
6:09 PM
:15261784 Test
Argh, too late...
 
Does anyone of the java crowd here want to check my answer?:
0
A: Finding the nearest Rational to a double - is there a more efficient mechanism

NobodyNaming You definitely need to improve your variable names. Here are some suggested changes with the reasoning dbl -> value (does not change much but repeating the type of a variable as its name does not add value (no pun intended)) delta -> epsilon (the name epsilon is much more common if you ...

 
score more
 
I am a noob in java
 
> You've earned the "Necromancer" badge for VS11 Black Background when printing.
that was on Super User
 
0
Q: Create better Base DAO class

Jakub PolákI created a DAO class which is base class for all other DAO classes. I use Spring Framework 4 and Hibernate 4. Question: Is there anything that could be done better? public class GenericDaoImpl<E, I extends Serializable> implements GenericDao<E, I> { private Class<E> entityClass; @A...

 
6:20 PM
Just to confirm (I'm totally illeterate about this), the Sort() method here is bubble-sort, right?
basically:
Public Sub Sort()
'Sorts the elements in the entire List.

    Dim tmp As List
    Dim minValue As Variant

    If Not IsSortable Then RaiseErrorMustImplementIComparable "Sort()"

    Dim isRef As Boolean
    isRef = IsReferenceType

    Set tmp = New List
    Do Until Count = 0

        If isRef Then

            Set minValue = Min

        Else

            minValue = Min

        End If

        tmp.Add minValue
        Remove minValue

    Loop

    AddRange tmp

End Sub
 
List<T> (generics) and VBA/VB6 together make me cringe...
 
haha
call it a List(Of T) then...
 
@rolfl another 18 up votes and I will be a positive player in the election...lol
 
I feel like implementing a MergeSort method in there...
 
it looks like insertion sort
 
6:24 PM
o.O
 
if I understand this code correctly
 
the complexity is astronomical on that one
 
we consume a collection of numbers by repeatedly removing the minimal object and appending it to the result list
 
yup
 
anyone think that it is a bad idea to have a moderator that is a mod on several sites?
 
6:26 PM
@Malachi I don't see why it would be a bad thing.
 
it is a strange implementation of insertion sort because most of the time insertion sort takes the first/last element from the input and sorts it into the result
 
here @Malachi have another vote... I need my badge there after all
 
@Nobody should I extract that method into its own CR question?
 
@Mat'sMug the person would not have all their attention on one site?
 
@Malachi some beta sites are way, way less active than CR ;)
4
 
6:27 PM
you know I don't think that I have that badge there either? I should have gotten it already???
 
Well... you didn't vote
 
@Mat'sMug If you are talking about the sort function then I would say no because I don't see what you want to achieve with this
 
It's a member method on a custom List type - it's sorting itself.
 
yeah, why not say this in the original question/answer?
 
Man, I don't have time to read all questions and answers here on CR...
 
6:29 PM
@skiwi especially if you read your own questions! ;)
 
I'm afraid I can never post my trading card game implementation though...
 
@Nobody the Sort method is burried in lots of code, putting it on its own question would make it more focused. Plus I'm curious about the of that naive implementation.
 
insertion sort is O(n^2)
without having looked more deeply into the code I would guess the implementation is O(n^3)
 
wouldn't surprise me - calling Min() (or Max()) already iterates the list once, I can only imagine how inefficient that sorting is...
 
Is that your code @Mat'sMug you are talking about? Or VBA standard library?
 
6:34 PM
@skiwi it's my code. The VBA standard library has a Collection with 4 members (Add, Remove, Item, and Count) - this List is encapsulating a Collection and exposing a bunch of methods, but I haven't given much thought about algorithms and efficiency of anything.
 
Ah, I see
 
@Nobody I think that depends on the collection you're inserting into. I think it can be reduced to O(n log n).
 
hm at closer look the sorting seems to be O(n^2), the min function is O(n) and the sorting will call this for each element on a shrinkink list
 
I have the fun job right now of getting my Github issue tracker and git itself up to date with my latest development code
 
@Mat'sMug: It depends on the insertion method but I hope this one is O(1)
 
6:36 PM
@Nobody That sounds like a selection sort rather than an insertion sort.
 
ohh
you're right @Donald.McLean
 
Mic'ed carrots? wtf!
 
but it is the same
runtime wise
 
From the producer Igorrr: "Today, I was recording carrots.".
 
6:37 PM
@Nobody A selection sort can be reduced to O(n log n) if you use something like a priority heap to do the selection.
 
You can already hear a chicken on one of the songs.
 
Sound bites?
 
@Donald.McLean: yeah but that is clearly not done here
 
and I consider it somewhat cheating to use another "half sorted" structure for sorting
 
6:38 PM
@Nobody I was just speaking in theory.
 
yeah you are right, I should not have stated that insertion sort/selection sort is always O(n^2)
 
@Nobody If you aren't cheating, you're doing it wrong.
3
 
pff
where is true honor these days?
 
does it make any difference that I'm not sorting an array here?
 
I bet that people with true honor were the more likely to die (because of honor, y'know). If honor is genetically transmissible, then it's only normal that there is less and less true & blind honor these days.
 
6:42 PM
Honor's father is red-haired with green eyes!
 
To run an insertion sort at O(n log n) you have to use a tree variant in the destination collection. Preferably one of the self-balancing trees to handle pathological cases.
 
"I want to solidify this song and make love to it." <- I love YouTube comments.
 
Speaking of YouTube, I'm glad the Top Comments section went away. No more "thumbs up if you like this song!!!!!!!!!!!!!" comments.
 
@Jamal You weren't lurking in the good part of YouTube :p
 
@Donald.McLean wow I really need to read up on algorithms. When I dropped out of CS, algorithms were about "how to make coffee"..
 
6:45 PM
@Morwenn "I'm in the weird part of YouTube again" XD
 
@Mat'sMug This may help you then.
@Jamal For some reason, I read that kind of comment more than often :p
 
@Mat'sMug Why did you drop? :(
 
@Morwenn LOL!
 
@Mat'sMug The college I went to, Algorithms required crude mathematical proofs of each algorithm's performance.
 
@Donald.McLean Hence I dropped algorithms last semester... No way that is ever possible
 
6:50 PM
@skiwi long, long story.. I lost motivation, the first two semesters are intended to weed out people that don't belong there... I struggled with math classes and seeing that the programming classes were about stuff I did when I was like 12, I "weeded myself out"... and after a decade or so I ended up as a programmer anyway!
 
Just remember that every algorithm is bound to work in O(inf).
 
Fortunately, I was doing a double major CS & math, so the math parts were pretty straightforward.
 
@Mat'sMug So you quit ver quickly relatively?
@Morwenn Untrue, take a look at the halting problem
 
yeah, but there were other circumstances.. wasn't the best part of my life :/
 
@Mat'sMug I worked with a woman who had a music degree and worked as a programmer.
 
6:53 PM
I'm struggling on uni aswell (3rd year), but will manage
 
@skiwi Let me reword that: "every program deemed to halt is bound to work in O(inf)".
Or something...
Well, bogobogosort may work in O(inf^3) though.
 
^^
My work on the issue tracker is done here: github.com/skiwi2/TCG/issues?state=open
 
I might replace the Sort method with a SleepSort implementation before I leave.. could be funny...
 
It had only one open issue earlier today
 
now that there is more activity here, let me repost:
2 hours ago, by Nobody
@all: do you consider questions on project (file) layout OT or OT?
 
6:58 PM
I say they're OT
 
I consider it OT
 
thats a tie
 
(You get what you ask)
 
we need at least one more vote
 
@Nobody seriously, I'd deem it on-topic for Programmers.SE (i.e. off-topic here)
 
7:00 PM
why?
 
it's high-level architecture stuff, nothing to do with code review..
 
so we can't review architecture?
 
nope. we review code ;)
 
Though, I would dare to say that reviewing the package structure of a Java program could be ontopic...
 
otherwise we open the door to class-diagram questions
 
7:02 PM
architecture is an emergent property of code
 
Programmers should deal with the question: "How do I structure my packages in general?"
 
the reason I am asking is that I have a project which does not fit the needs because of the layout and I don't know where to ask
 
@Nobody right. But by looking at the code and only the code, can you tell if a file in a given namespace is physically located in a folder by that namespace's name? (C#)
 
I guess not (I don't use C#)
 
you'll get compiler warnings and ReSharper will guide/assist you with renaming the folders and/or the namespaces, but I think architecture is a neat boundary between P.SE and CR.
(does this sentence even make any sense?)
 
7:06 PM
I can guess what you want to say :)
 
Pfft, I can't push changes to github as I haven't completed all unit tests for them yet
 
@Morwenn if the video for select-sort is twice as long as that for insert-sort, does that mean select-sort is less efficient? youtube.com/watch?v=Ns4TPTC8whw
 
maybe you can simply assist me with this problem in chat :)
I have a project with about 200 .cpp files that are compiled independently
this project is used for educational purposes and each 90min exercise the students get a fresh version of the project which means a complete build that takes 6min on the shitty computers in this pool
incremental builds are very fast
how should I go about cutting down the full build time?
I already tried precompiled headers but ran into this wall:
0
A: PRECOMPILED HEADERS not working in debug build with Qt Creator / qmake / MinGw

NobodyI have (probably) run into the same problem and took some time to find out what is going on. After some fiddling around to create an MWE I found, that the size of the .pch file seems to be crucial for this problem. Using a PCH that is greater than 128 MB aborts the compilation without any mes...

 
Anyone for AC/DC - Thunderstruck?
 
@Mat'sMug LOL. No.
 
7:12 PM
 
@Mat'sMug What the hell?
What the acutal hell?
 
I like that one of the "related videos" on the right bar is "Hacking websites with SQL injection"..
 
also with video?
 
there's bubble-sort, too: youtube.com/watch?v=lyZQPjUT5B4
 
0
Q: Executing a file through a swing button

Sillicon TouchI am making a Swing application for light local database management and I have the button Run XAMPP. When that button is pressed this code is executed: private void jRunXAMPPButtonActionPerformed(java.awt.event.ActionEvent evt) { ...

 
7:19 PM
@rolfl I've associated with lang-csh syntax highlighting.
 
@Donald.McLean it appears it's a selection-sort I've implemented in that VB6 code
..at least some variant: I'm using a temp list instead of swapping items.
 
@Mat'sMug It's the MatSort!
 
Looks like MatSort is O(n^2) then ;)
 
evening all
 
hey @chillworld!
 
7:34 PM
@Mat'sMug hey :)
 
@skiwi epic!
 
quick sort in dance form, how do they think of it
@Mat'sMug do you use java?
 
7:50 PM
I can read Java, I've fiddled with Eclipse a bit, but I can't say I'm fluent ;)
 
I created an answer today, it works but not sure the right call
1
A: Initializing JTree

chillworldpublic enum PieceGroups{ BITWISE(BitwiseAnd.class, BitwiseNand.class, BitwiseNor.class, BitwiseNot.class, BitwiseOr.class, BitwiseXor.class, BitwiseXnor.class, BitwiseLeftshift.class, BitwiseRightshift.class), ARITHMETIC(Add.class, Substract.class, Multiply.class,...

An enum that use reflection :)
mine boss was staring at that code and asked how the fuck I get on that :)
 
Off-topic incoming...
 
0
Q: First time jQuery.getJSON() What am I doing wrong

user3271518So my endstate is to pull this Json and plot it on a google map. I am trying to get there a little bit at a time. I just cant seemt o get the json file to pull into mycode and be parsed. I have tried the following. function insertReply(content) { document.getElementById('output').innerHT...

0
Q: How do I loop using array names in variables?

user41613I am new to programming and Matlab. I am trying to process large files of chemistry data. I need to organize the data by year, by month, as time series etc. There are lots of missing values. I have done the above,but not efficiently. I would like to stream line the process for analyses that I do ...

 
That question deserves another look @chillworld, but too big for me to do it now
 
Thank you, Captain Obvious...
Oh wait, two off-topic. I saw the first one first.
 
7:58 PM
Well, we're lucky here compared to SO... @Jamal
 
Of course. They would get even more, and of much lower quality.
 
It's really a hell over there ;(
 

« first day (361 days earlier)      last day (3672 days later) »