This is the cycle my life has become: Wake up -> Turn on device -> Check CR -> Check email -> Check twitter -> Play games -> Develop -> Go back to checking CR
@EthanBierlein Alternative cycle of life: Wake up -> Check if there is a Steam Sale -> Nope -> Go to bed -> Wake up -> Check if there is a Steam Sale -> Yes! -> Buy Game -> Play Game -> Get bored of game -> Go to bed
BEGIN WakeUp
CHECK CodeReview IF NOT Tired ELSE END Awakeness
CHECK Email IF NOT Tired ELSE END Awakeness
CHECK Twitter IF NOT Tired ELSE END Awakeness
BEGIN Develop
IF Bored
GOTO CHECK CodeReview
IF Tired
END Awakeness
There has been a fiber cut in Milton. Both Phone and DSL are affected. Please keep an eye on this link for updates. https://help.teksavvy.com/hc/en-us/articles/200313830-Current-DSL-Outages
It was suggested on Meta for July 2015 Community Challenge to make a bot that can find questions with bad titles. I wrote this query to help others find examples to help them make write their code.
I made it a point to document as I wrote it so that someone who is not as familiar with SQL could...
It was suggested on Meta for July 2015 Community Challenge to make a bot that can find questions with bad titles. I wrote this query to help others find examples to help them make write their code.
I made it a point to document as I wrote it so that someone who is not as familiar with SQL could...
I have a class that I use to manage a list to/from an API in Swift. Using a clean code approach, I'm wondering if, how, and why I should change it when I have a class that uses it for just one or two functions.
Here's the class:
import Foundation
protocol ApiWishListManagerDelegate
{
fun...
Now the title of your question matches nearly every post on this site. Could you make it more specific please? E.g., How to improve my MVC design? — dzieciouSep 30 '12 at 8:55
It is calling the "wrong menu". Looking to correct
<script>
//<![CDATA[
$(function(){
//Drawer Subnavigation Accordion
$('#DrawerMenu li ul').addClass('drawer-subcat');
$('#DrawerMenu .drawer-subcat').prev('a').after('<span class="subcat-expand"> </span>');
...
I have invoices list as below
def invoices = [
'LEDES98BI V2',
'LINE|INVOICE_DATE|INVOICE_NUMBER|INVOICE_TOTAL',
'1|20150301|INV-Error_Test1|22',
'2|20150301|INV-Error_Test1|24',
'3|20150301|INV-Error_Test2|26',
'4|20150301|INV-Error_Test2|28,']
I am trying to do groupBy on the above collectio...
I have the following three macros all running in the same module. Each one is attached to its own button (3 buttons total). All three buttons take an average of 6-12 mins to run. As I am working on figuring out additional buttons that will check/review other criteria on the sheet, I am looking to...
Below is a problem I encountered during an online course. There are a lot of similar questions asked on this, but I couldn't find a solution there as well as I believe my specific issue is a bit different from the rest.
Given a string s, find the first non-repeating character in the string
...
A lot of what you are doing is repeated code so you should DRY it out. For instance, widthPerc is the same code except for the values of widthTop and widthBottom. We can also simply all of our checks by setting them up as vars. So that could be re-written like this:
var isFirstTwo = !!( i < 3 ...
This question isn't really on topic on SO, as there isn't a problem to be fixed. It could potentially be on topic on Code Review, but you should read through their guidelines before posting. — Servy38 secs ago
@Phrancis I agree. I am trying to find information on how to make a validator work the way I want it to, but everything I click on takes me to stack overflow and I get sucked in again
I wrote this java code. The sorting part is working correctly. But the binary search is giving incorrect results. Can someone please help me to find the error?
SAMPLE RUN ON BLUEJ
Enter the no. of rows: 2
Enter the no. of columns: 2
Enter item to be searched
1
Enter the elements: 2
Enter th...
This sounds like two questions: "Is my code good / idiomatic" and "how do is find multiple chars in a string". These should be split; the latter is a good question for Stack Overflow, but the first one should be submitted to Code Review - make sure you follow their submission rules! Working code is required there. — Shepmaster13 secs ago
Some of my questions were recently editted and headings were removed in place of bold. ie. ## heading was replaced with ** heading **. Should I avoid using headings when asking questions? I just want reduce the amount of work that mods have to do.
Use Case
_.pick creates a shallow clone of an object given a predicate that identifies which keys to keep. pickDeep would perform a deep clone of the object and would "pick" up all nested objects containing the given keys. All containers containing the nested objects would remain and would not b...
The use case is to convert an array of objects into a hash map where one property is the key and the other property is the value. Common case of using this is converting a "link" object in a hypermedia response into a hash map of links.
jsfiddle
function toHashMap(data, name, value) {
retur...
If @one_of_you_people tried to reopen this, it has broken code: But as the room instances are created in _game.py, not in rooms.py, how can I have the room returning another room instance which has been initted in _game.py?
I'll have a good generalist look it over to make sure the right Tags are in the right place
I went with the top 500 tags from your query, they were starting to get really obscure so I don't feel bad leaving those even more obscure ones afterwards
Stack Overflow is a community-run website where programmers answer specific coding issues. Unfortunately, questions asking the community to provide code given a set of specifications are outside the scope of this site. Please see how to ask and the help center for all the details. — Mat's Mug1 min ago
not that this addresses the problem, but just a friendly code review comment -- you don't need to perform the .IndexOf() again in the else if...just do else if (indexOf == -1) — ethorn1053 secs ago
Please advise on the code below. Its part of an implementation of Rabin-Williams signatures as described by Bernstein in Section 6 of RSA signatures and Rabin–Williams signatures: the state of the art using Tweaked Roots.
The code works fine without OpenMP. It also works fine with -fopenmp and -...