« first day (1048 days earlier)      last day (2974 days later) » 

3:00 PM
:)
 
Kaz
@Mat'sMug The Source Control will be fixed for V2 though, right?
 
@Hosch250 has been working like crazy on it for a couple of weeks now, it's almost ready to be merged
as far as I understand, everything works
and it's thoroughly awesome
 
> almost
Famous last words.
 
It is ready to be merged if you don't care about not having any unit tests.
 
I had the resolver code released 17 times without any tests
 
3:04 PM
What's this rubberduck magic?
 
our little side-project :)
 
Grr too late
 
Isn't VBA supposed to be chaos?
4
 
Why have chaos when you can have ducks
 
in VBA Rubberducking, 8 hours ago, by Mat's Mug
look ma, I fixed a bug and wrote a test for it right away! ...looks like I'm finally learning
 
3:05 PM
Welcome to the rebellion!
VBA in anything non-M$ is quite hard though.
 
@BernardMeurer No, it is a bug.
 
@Mat'sMug Nice nice :)
 
SolidWorks, Altium, a lot of software does VBA nowadays.
 
1
Q: Spring, Java : Edit method, doing multiple checks for tracking changes vs the one in database, is too complex.

We are BorgI am working on a Spring-MVC application in which there are around 2-3 methods which are quite big and complex, but only one of them worries me, especially for maintenance or changes. As changes in the method can immediately change some critical functionality in the project. The application is ba...

0
Q: Simpler method to find users in child categories

Graham SlickI am using the ancestry gem to organize my post categories tree. I have 8 parent categories, and they all have many child categories. To retrieve an array of child categories, I use: parent_category.children I defined these relations in my category model: has_ancestry has_many :posts h...

0
Q: Hackerrank Cut the sticks Solution

Dhrubojyoti BhattacharjeeI have started learning Java recently and I solved the following problem on Hackerrank. The challenge is to : You are given NN sticks, where the length of each stick is a positive integer. A cut operation is performed on the sticks such that all of them are reduced by the length of the small...

 
@Mat'sMug Joel Spolsky: Look, Gates, I wrote a bug, and it doesn't have any tests!
2
 
3:06 PM
@Hosch250 S I've heard
 
@BernardMeurer not when you make its IDE halfway decent with custom folders to organize your stuff, code inspections, unit testing, IDE-integrated source control, refactorings, and enhanced navigation :)
 
@Mat'sMug So not with rubber duck?
 
these are all Rubberduck's features...
 
That product placement :p
 
That isn't all.
 
3:08 PM
lol, that is product placement:
 
There is auto save and smart indenter (broken).
 
I'm still waiting for Spolsky's github star on my repo
 
Well I gave you a star, just because I currently work on an Open Source dev company
 
I'm convinced he hates you.
 
and I feel the pain
 
3:10 PM
thanks!
 
retail huh?
 
Kaz
@Mat'sMug TS
 
@Hosch250 lol, why? because I spent the last month cursing at his work? :)
 
Because you think his baby isn't good enough.
 
3:17 PM
well he wrote the language specs, not the IDE implementation
 
@Mat'sMug More like the last year, isn't it?
 
lol yeah
 
hoho
I'm RDP'd into my AppVeyor instance
NOW WHERE'S THIS SHIT BREAKING STUFF
 
@JeroenVannevel does VSD have an inspection for C# code written in Comic Sans?
 
We don't analyze code without a future
4
 
3:31 PM
well technically an anonymous function inside an interpolated string is a "future" ..even if written in Comic Sans
 
;-) So you saw Twitter as well huh
So nasty
 
apparently you didn't see my reply
 
oh I haven't looked yet
I'm enjoying the love that is faulty build systems
 
That is ugly.
And not just the Comic Sans part.
 
Could someone create an empty console app and add VSDiagnostics as a NuGet reference and tell me the layout of the files&subfolders in /packages/VSDiagnostics.1.9.3/ ?
 
3:39 PM
How do you make sure the Code Request is linked? I have opened a couple of code review requests and I cane see "Associated Context" info containing references to the shelveset and changeset respectively, but I only see links to Code Review Responses under the the "links" tab. — Techromancer just now
 
Not you @Hosch250 -- someone that hasn't tainted their system with VSD yet
I need to see how it behaves as a newborn
 
yeahhhhhhhh
1
A: Edit method, doing multiple checks for tracking changes vs the one in database

Pimgdif (fromUserDate.after(savedDate)) { groupNoteHistory.setWhatHasChanged("generalchange"); noEdit = true; } if (savedDate.after(fromUserDate)) { groupNoteHistory.setWhatHasChanged("generalchange"); noEdit = true; } This sort of thing can be merged: if (savedDate.after(fromUserD...

Massive duplication removal
 
@Mat'sMug Yep, retail software
 
I r dragonslayer
 
@Maxhirez: FW/1 does have examples in Github. I recommend trying stuff and posting it here or on codereview.stackexchange.com . Lastly, in my profile there is a link to my Gibhub work which almost all FW/1. — James A Mohler 21 secs ago
 
3:40 PM
@BernardMeurer nice! I used to work in the retail industry (my github account still has the scars lol)
 
@Mat'sMug I'll be honest I don't like it all too much. Not enough low level stuff
 
try automating merchandise assortment planning and store clustering :)
 
0
Q: Protecting code 'Copyright'

Mpizos DimitrisI am not sure if its the correct place to ask that question. My apologies if its not. I was reading the other day an article that mapmakers in the past where inputing a fake city(a city that doesnt exist) in the map that they created. And they did that in order to understand if another person wh...

 
Hi, @TamoghnaChowdhury.
 
@CaptainObvious definitively off-topic
 
3:44 PM
Heeyo
 
Thanks @Hosch250
 
today is long answer day, I think
if I stare too long at javascript/css I go crazy and have to tear apart some java code to calm down
 
Well, at least Java makes more sense than some C I've seen.
@Pimgd do you have any idea how to paste code while keeping the indentation? The preformatting is good for only 1 line.
 
Okay so what you do is
CTRL+C CTRL+V from IDE
then select all the codes and hit CTRL+K
If that doesn't work, try pasting to notepad first; it should keep indentation
and from there copy-paste into question
 
10 mins ago, by Jeroen Vannevel
Could someone create an empty console app and add VSDiagnostics as a NuGet reference and tell me the layout of the files&subfolders in /packages/VSDiagnostics.1.9.3/ ?
Look alive, people
 
3:49 PM
zzz
 
I believe that's called a planted Easter eggMat's Mug ♦ 8 secs ago
 
Also @Pimgd, can you tell me what IDE you used to get the whitespaces? I'm not patient enough to do it manually.
 
@JeroenVannevel gonna sound mean, but is there anything stopping you from doing this yourself?
@TamoghnaChowdhury IntelliJ
 
11 mins ago, by Jeroen Vannevel
Not you @Hosch250 -- someone that hasn't tainted their system with VSD yet
 
but try NetBeans or Eclipse if you don't want to pay money
 
3:51 PM
11 mins ago, by Jeroen Vannevel
I need to see how it behaves as a newborn
 
@Pimgd Obviously already did it myself -- I'm receiving a different folder structure on my own machine and on AppVeyor's build
 
Configurations for IntelliJ formatting differ. Mine is set up to minimize blank lines and SLOC, so it will look worse
 
So spin up a VM
 
which is super totally weird
 
@TamoghnaChowdhury I'd recommend setting up a separate profile then
 
3:51 PM
I would, but I just lost all my VM's.
 
so you can switch profiles
@Hosch250 there's a hole in me bucket
 
Setting up a VM, installing VS and all that stuff for a 30s task seems a bit much if I can just ask my lovers here
 
I have a 7K+ SLOC project in IDEA, so it does help to keep stuff in line :P
 
hmmmh
I prefer more whitespace
 
@Pimgd yours will be the default config, I assume?
 
3:52 PM
no
but the default config is gonna be pretty good, I think
 
OK I'll try that.
 
beats scrunched up code, for sure
 
Default config in IntelliJ is quite good indeed
 
it might do weird things to long lines
and I do format my answers by hand at times,
but the IDE helps for most of it
 
Well, I don't have a SSD, so IDEA takes about 20 minutes to start up.
 
3:54 PM
...
Don't forget the time you spend finding the chart to look up what you save. And the time spent reading this reminder about the time spent. And the time trying to figure out if either of those actually make sense. Remember, every second counts toward your life total, including these right now.
2
How often do you start up your IDE?
Because it might be worth getting yourself a hardware improvement if it really takes 20 minutes
 
Twice a week, and on for anywhere between 1 to 7 hours.
It doesn't really take 20 minutes, but it does take 3-4 minutes for a fresh start after a system reboot.
 
@TamoghnaChowdhury sounds similar to my visual studio start up time
 
Well, says if you can scrape off 5 mins on weekly basis then it's worth spending "21 hours"; the less extreme variant of this is that if you could save 1 minute, it's worth spending about 4 hours
so ... yeahhh, you might want to look into that
 
I suggest posting this question on codereview.stackexchange.comauburg 58 secs ago
 
Although "I'll buy an SSD in 2017" is a perfectly valid plan for that; it's not like you should do something about that right now
 
4:00 PM
@Pimgd oh hello my fellow xkcd fan(atic)
 
we're pretty much all xkcd fanatics here
 
Dilbert is better.
 
@Mast I'm not an academic. And I really like Scala and the JVM.
 
@Hosch250 And then a holy war started
 
4:01 PM
@Hosch250 The new Dilbert isn't great though.
 
Pretty funny, I thought.
 
The drawing style changed.
 
They are having guest artists for 6 weeks right now.
 
Not a fan.
 
It is on the third week (new guy each week), and they've been getting better.
 
4:02 PM
I'm not a fan of Scott's blog either.
Bunch of random crap.
 
@Mast You sound exactly like all the commenters.
@Mast That's right.
 
@Hosch250 grins suggestively
XKCD FTW!
 
@Pimgd Notepad++ and its indent option to the rescue!
 
0
Q: Are deliveries on time/not on time. Check box choce

BrentFairly new in VBA. I have a userform that populates a Date asks for a user, combobox 2 checkboxes and 2 option buttons. My issue is with the check boxes, I don't want to be able to check both of them. I have written logic that text to see if both are checked but do not know how get them back to...

0
Q: using static methods in a class

CharyI am writing a method to get data from database using third party assembly. Is it good to declare the method as static as below, because there are no instance varialbes. public class Department { public static DataTable GetDepartments() { Sql sql = new Sql(); List<SqlParams>...

0
Q: haskell bubble sort

dopatramansort :: (Ord a) => [a] -> [a] sort [] = [] sort (x:xs) = insert x (sort xs) where insert el [] = [el] insert el (x':xs') | el >= x' = el : x' : xs' | otherwise = x' : (insert el xs') When I run this code I get an infinite list of el. Why? Doesnt...

 
@TamoghnaChowdhury totally forgot about that
to be honest, my company enforces a stupid style guide (at least, you'll find it stupid, others might say "man, isn't C# awesome"), so I tried using an online formatter but it was pretty bad
because I don't feel like formatting code like
if (condition)
{
    //true case
}
else
{
    //false case
}
so, because it's long and that's not needed and rarely helps
 
4:09 PM
opening braces on the same line please?
This looks kiddish and wrong to me, no offense intended
 
company standard is company standard
 
@TamoghnaChowdhury in C# you don't do that
In C# the standard is opening braces on new lines
 
@DanPantry "man, isn't C# awesome"
 
That's not a stupid company standard, that is the accepted style for C#
 
Except we're programming in Java over here
 
4:11 PM
well, yeah, java you use egyptian braces like javascript
 
Well, i didn't know that, but I sure as hell won't use that for Java
 
(which FWIW I prefer)
 
Welcome to CR! This answer will cover your question. I downvoted your post because you're asking what boils down to a yes/no question, as opposed to posting your actual code up for a peer review. Please see our help center - questions about best practices in general, are off-topic on this site. — Mat's Mug ♦ 24 secs ago
grr... it would be considered a dupe on any other site
I'm not hammering because, well, it's debatable whether the code is there for being reviewed, or whether it's there only as an illustrative sample to support the yes/no question.
 
@TamoghnaChowdhury Post the main method anyway
It's better if things are self contained for questions,
even if you're linking to another question
 
4:15 PM
possible answer invalidation by justmo on question by justmo: codereview.stackexchange.com/posts/77324/revisions
 
@Pimgd done!
 
0
Q: Base Changing in Java, improved version

Tamoghna ChowdhuryThis is a follow up to my previous question, Base-changing numbers in Java I have followed @Pimgd's advice in the answer to that question, and I'm posting the improved code for any further review. /** * Converts a number in digit representation from one base to another * Not guaranteed to wor...

 
...
Are all the bugs fixed?
 
Well.. we have a higgsbugson
 
It begins.
@Mat'sMug Meta time?
 
4:23 PM
Uh-oh. A "hot fix" was released to all of production an hour ago, now DBAs are up in arms because it might be causing entire production servers to crash. #Fun
 
what's a "hot fix", what's a "release", when your tests are done in production anyway?
@Mast if you'd like
 
@TamoghnaChowdhury System.out.println(BaseConverter.changeBase(""+100000, 10, 70000, true)); gives "time limit exceeded" in ideone
 
Right. Fix one issue and create a new, unforeseen, bigger issue
 
0
Q: Any stylistic suggestions? The code works well. I just want to make it more presentable

FloamNote, this is from a COMPLETED course. This is not a ploy to get help with homework as I have already received a 100% on this assignment (last year). I just want become a neater programmer. package java_labs.GameOfLife; import java.util.Scanner; import java.io.*; public class GameOfLife { ...

0
Q: Select data from MongoDB

AnatolyI return all documents from the collection products where info have tags which name contain password. Then I want to destroy values of all of this tags. db.getCollection('products').find({info:{$regex: /<.*?password>/i}}).forEach( function(document) { var info = document.info; document.i...

 
New?
 
4:27 PM
the community ads have been up for a little while now (a week? two?)
@CaptainObvious they gave you 100% for that while {if { else { while { if block?
 
Kaz
@Mat'sMug I think I've been seeing for them for about that long.
 
@Mat'sMug Oh no, not me, I'm not feeling meta today. I'd make multiple mistakes in the post and the focus would be off. Remind me next Wednesday if it hasn't been taken to meta by then.
@Mat'sMug Yes, but I didn't recognize this particular one. Never seen it before.
 
@Pimgd that will actually throw an exception once the loop finishes. Try a local system, ideone doesn't help.
 
@TamoghnaChowdhury looks like the limit is about base 40000 for ideone =)
 
@Mat'sMug 100% often just means it's working for all testcases and (if applicable) within the time limits.
 
4:29 PM
ah!
IDEA GET
 
s/IDEA/IKEA
 
now I get to write a review =)
 
Why is my to-do list so long...
 
@CaptainObvious ugh, please don't do this with regex m8
 
@Mast because you chat here all day
 
4:30 PM
> This will replace <password>asdfghj</password> in the info XML to <password></password> for each record that contain a <password> entry in the info field (assuming the password value doesn't have a < in it)
 
;p
 
Fair point.
 
> Now you have 2 < problems
 
regex with xml noooooooo
what the fk he is using regex to select data from mongo?
 
ikr
 
4:32 PM
someone explain. mongo stores json.
he is storing xml inside of his json model..
 
You could... just use Mongo... grab the field and update it to "<password></password>"
 
btw also...
> Do I have a bugs in my code?
broken?
and why is he storing a password with a product? wat
 
@DanPantry many xml... such regex... very bugs... wow
 
now i know why javascript developers are paid so much
because on the rare case you dont' get a bad one you want to keep him around
 
@DanPantry I rephrased it, erring on the "good faith" side of the fence
 
4:34 PM
@Mat'sMug fair enough
 
oh, and @PinCrash got any better title idea for YAGOLQ?
0
Q: The Game of Life that scored 100%

FloamNote, this is from a COMPLETED course. This is not a ploy to get help with homework as I have already received a 100% on this assignment (last year). I just want become a neater programmer. package java_labs.GameOfLife; import java.util.Scanner; import java.io.*; public class GameOfLife { ...

 
@Mat'sMug YAGOLQ?
 
Yet Another Game Of Life Question
 
@PinCrash you have no idea how long I thought that's what GOL was
 
4:36 PM
well that's something i haven't played in a long time @PinCrash
 
Someone should write some code for The Game of Life and tag it just to mess around with reviewers
 
@Pimgd the actual limit is base 65451, as noted in the docs.
 
Yeah, but it dies before that
anyway, posted review
 
I changed my mind and hammered the static database question as hypothetical code. there's no db connection happening, Sql isn't defined anywhere, it looks like it would be a SqlDatabase object but then it can't possibly work as posted.
 
@TamoghnaChowdhury ideone.com/kjb6rD
it runs sorta fine now too
 
4:42 PM
hence, it's stub/illustrative-purpose-only code
 
7FFFFFFFFFFFFFFF
Infinite loop handled via java.lang.IllegalArgumentException: Not enough available characters for substitution. Number of available characters is 65451 , minimum required number is 70000
0
-0
--1 handled via java.lang.IllegalArgumentException: The supplied number (-1) for base conversion is invalid.
1-1 handled via java.lang.IllegalArgumentException: The supplied number (1-1) for base conversion is invalid.
I don't like --1 handled via java.lang.IllegalArgumentException: The supplied number (-1) for base conversion is invalid. that case
as --1 goes in and -1 is in the error
 
0
Q: Getting all possible letter combinations of a word

KodnotI wrote a simple algorithm for finding all possible letter combinations of a single word. I want to know if my code can be improved in any way, although I'm mostly interested in efficiency. You can ignore my notes if you wish, they are mostly for myself and the questions in them are not the ones ...

 
@Quill es6 array destructuring is awesome
const arr = [1,2,3]
const arr2 = [...arr, 4, 5, 6]
const [one, two, three] = arr2
:/
I'm doing nothing other than viewing a .html file.
 
@DanPantry wth does const [one, two, three] = arr2 do?
 
@PinCrash selects the first 3 elements from arr2 and assign them to one, two, three, respectively.
so arr2 is effectively [1, 2, 3].concat([4, 5, 6])
 
4:55 PM
wtf
it looks nice
but it will probably get abused
 
that makes one = 1, two = 2, three = 3
 
like with dom manipulation?
 
0
Q: Converting javax.security.cert.X509Certificate[] to java.security.cert.X509Certificate[] keeping order

sceilerI have got an array of javax.security.cert.X509Certificate and need to convert it into an array of java.security.cert.X509Certificate. My thoughts when I implemented the following code was that I must keep the order of the certificate thus I used a LinkedList. In the first step I am converting ...

 
@Pimgd wat?
 
const [header, content, footer] = pageElement.children
 
4:56 PM
that... might work, but .children is a DOMList and not an array, so I don't know.
 
It reeks of multiple return though
hmmmh
time to go homeee
 
@Pimgd well yeah you wouldn't want to use it that way. object destructuring is probably the most common one
 
byeee
 
Seems to not work with DOM elements..
var children = document.documentElement.children
var [head] = children
> undefined is not a function
that could be a bug, though
 
Can JS merge 2 arrays together to make a K:V map?
var keys [1,2,3], values ["a", "b", "c"];
 
5:15 PM
Hmm, either the power dropped off in my house for like 0.1 seconds or an EMP has been launched
 
0
Q: PHP POST request / reply

MickMy website receives a POST request. I use the following code to process POSTed parameters: $raw_data = file_get_contents("php://input", true, stream_context_get_default(), 0, $_SERVER["CONTENT_LENGTH"]); In order to POST a reply, I need to contact another website for information to be included in...

 
@skiwi Ever heard of Occam's razor ;)
 
@PinCrash No?
 
Occam's razor (also written as Ockham's razor, and lex parsimoniae in Latin, which means law of parsimony) is a problem-solving principle attributed to William of Ockham (c. 1287–1347), who was an English Franciscan friar and scholastic philosopher and theologian. The principle can be interpreted as stating Among competing hypotheses, the one with the fewest assumptions should be selected. The application of the principle can be used to shift the burden of proof in a discussion. However, Alan Baker, who suggests this in the online Stanford Encyclopedia of Philosophy, is careful to point out that...
 
> The principle can be interpreted as stating Among competing hypotheses, the one with the fewest assumptions should be selected.
 
5:18 PM
^^ Ok
So, an EMP has been launched, confirmed
2
 
eletromagenic pulse?
 
@Mat'sMug I don't now language name. Please look at docs.mongodb.org/manual/mongoAnatoly 36 mins ago
 
5:34 PM
0
Q: Refactoring code to optimize the processing of HUGE arrays in Ruby

Alexander SwannI have created a program which takes a value x and uses this value to create a power of ten value like so 10 ** x. This has then been used as the maximum number of a range 1..(10 ** x), which has been expanded using the splat * method to create an array of numbers, and then assigned to the vari...

 
5:52 PM
I'm voting to close this question as off-topic because it should be migrated to Code Review. — twernt 17 secs ago
 
o/
@PinCrash uhhhh i don't think so
not with destructuring
 
0
Q: `Maybe` handling in Matrix manipulation in Elm

JulianoI'd like to learn if my rewrite is worse than the original, less clear or less "idiomatic". I've found this code that handles updating two dimensional matrixes in Elm: type alias Matrix a = Array.Array (Array.Array a) type alias Location = (Int, Int) get : Location -> Matrix a -> Maybe a get l...

0
Q: Scalable client server communication

Abhishek Bhatiaimport socket,time s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(('',0)) port=s.getsockname()[1] s.setblocking(0) lines=[] while True: try: data, addr = s.recvfrom(1024) if addr not in clients: clients.append(addr) if not lines: ...

 
if I create an element in javascript, and then append it, can I change the values and use it again?
 
Someone just asked if I wanted cotton candy and I replied "No thanks, I don't need content ID"
Maybe I'm working too much
 
lol
 
6:01 PM
@Malachi how do you mean "change the values"
as in
 
@Malachi Btw, I checked my history, it was me at your blog :)
 
var el = document.createElement()
el.innerHTML = '<h1>Foo</h1>'
document.body.appendChild(el)
el.innerHTML = '<h2>Foo2</h2>'
document.body.appendChild(el)
that?
 
do I need to create the element again? or can I change the values like
 
you'll need to create another element
elements are objects, objects are references
 
gotcha.
 
6:03 PM
if you modify innerHTML twice in my example you'd be modifying both the new and old element
 
so I can't create it outside of a loop and then just change the values and append the element inside the loop
 
I think you would need to create the element multiple times
in the loop
 
This should be on Code Review. — ᴉʞuǝ 5 secs ago
 
which would really hurt performance
 
is it faster to add a bunch of elements to a DocumentFragment and then add it all at once to the parent?
 
6:05 PM
Honestly, I don't know
cloneNode might be faster using a <template>, but I'm not sure.
0
Q: createElement inside a for-loop just replaces created item

CammyAlright so I googled a lot about creating multiple items with appendChild, but I'm not understanding how it works. My appendChild just replaces instead of adding many. var startGame; var cards = 16; var newDeck = []; startGame = function(){ var startBtn = document.getElementById('start'); ...

 
@DanPantry versus ngOption over 18k items
 
@Malachi wait wat
are you using angular for this?
ng-options='item for item in $ctrl.items | limit: maximumLimit' if you're using angular
where maximumLimit is an integer
 
we kind of need all of them.
 
how the fk are you gonna display 18k items ? :P
 
it's a select, it scrolls
 
6:07 PM
you are going to MURDER your performance with 18k items.
Trust me on this, we have a select with 500 items and it lags
 
we are trying to fix it for IE it lags in Chrome and dies in IE
 
Though I don't have an alternative, if you can find a dropdown list that has paging or infinite scrolling, that might help
but trying to display 18k elements is gonna make any browser crap itself (or it should)
 
but this document fragment works for both
 
by all means, try that
if it works
 
well that is what I am doing. but the code that was given needed a little cleaning up, or so I thought.
 
6:09 PM
shrug
 
we were appending a documentFragment when I was like, why don't we just append the element to the Select tag instead of to the fragement and then the fragment to the select tag
 
give ui-select a look either way
 
that's jQuery right?
 
yeah, but there are pure angular wrappers around it
there's an example of infinite scroll in the jsfiddle i linked
 
selects with more than 100 items need basic filtering options and a datasource that renders lazily, else you can kiss performance goodbye
 
6:11 PM
The example I gave is almost 99% likely what you want.
(Even if you don't realise it)
 
sounds like it is what we want to me, I personally don't like the design of this page
there are two input boxes for the dealer
 
yeah you can modify it and such using theme
 
one auto complete and one dropdown
now to name the directive that will hold it.....
probably going to be a really long name, too
inputFilterScroll
I like it
 
6:27 PM
that already has a directive though....
 
6:43 PM
0
Q: Best way to refactor C# .net forms app?

VinnyGuitaraI have a form code behind and it has what are called "Common Utilities". Basically the original author made a super class that is embedded into the main form code behind. What is the best way to refactor this? And what methods can stay in the main form? I think my issue is in each of these me...

 
@CaptainObvious drop that and use jQuery instead.
 
possible answer invalidation by Abhishek Bhatia on question by Abhishek Bhatia: codereview.stackexchange.com/posts/123130/revisions
 
At that point you might as well include the entire class; reviewers would be able to work off the full context. Also, please edit your post's title to tell us what your code is doing, not what you want to get out of a peer review. If your title looks like a question, it's most likely a bad title for CR ;-) — Mat's Mug ♦ 15 secs ago
 
@DanPantry at least MVC....
That said, have you heard of the Model-View-Presenter pattern? — Mat's Mug ♦ 47 secs ago
 
it's , and quite possibly code.. I'd go with
 
6:48 PM
No @Mat'sMug, OP has obviously not.
 
IKR :)
 
some files are getting locked by my text editor randomly
 
@DanPantry if system uptime is over a month, it might be time for a reboot. especially if it's a laptop.
 
Any place I can view system uptime?
Windows 10
 
task manager, under the performance tab
 
6:50 PM
Meh
it has only been up for 5 days
 
lol
 
If you want suggestion to your code, post this on Code Review, not on Stack Overflow — DH. 17 secs ago
 
looks at own latptop's uptime
> 29:04:21:50
2
 
LOL
Ah yes
Your laptop has been up longer than the last time I gave a single frick about what I am doing
That sounded funnier in my head, blah
LOL
Spotify put a song in my Discover Weekly
but I can't play it because it isn't avaliable in my country, go figure
 
No I have not heard of that - does that cover what is going on here and if I implemented it would that require an entire rewrite of the application? — VinnyGuitara 4 mins ago
 
6:54 PM
oh hun
 
poor soul. I'll write him an answer if there's still nothing tonight
 

« first day (1048 days earlier)      last day (2974 days later) »