@rolfl I'm disappointed that's your point of critique. In hindsight, I should've edited the proper formatting in it to make it more comprehensible/readable.
How would you simplify the following block of jQuery code?
I use this in a tab-box to size the tabs to style the tabs to the full width of the box no matter if it's 2 or 10 tabs...
It works perfectly, just interested if there's a better/shorter way to achieve the goal.
$(document).ready(functi...
Yes, it works, and yes, I'm looking for feedback and ways to optimizing it, including rewriting with SSE. I didn't know about CodeReview... is there a way to move it? — senseiwa5 secs ago
I found the problem. I was calling my sub using this syntax:
FilterSheetArrayForColumns (ArrAggregatedArrays(i))
When I should have been using:
FilterSheetArrayForColumns ArrAggregatedArrays(i)
In VBA, whenever you use parentheses around a variable, it forces VBA to evaluate it. So, in this...
I'm working on https://github.com/jadekler/git-java-websiteskeleton. It's a multi component skeleton with two components - products and users. I define an acceptance test gradle task at the root (https://github.com/jadekler/git-java-websiteskeleton/blob/master/build.gradle#L53), but then I have t...
I have a following code:
class Program
{
static void Main(string[] args)
{
List<int> li = new List<int>() { 1,2,3,4,5,6,7,8,9,10 };
ProcessCollection(li, x => x);
}
static IEnumerable<TSource> ProcessCollection<TSource,TResult>(IEnumerable<TSource> c, Func<TSourc...
@EBrown I have learned from this experience, that I don't like finding a job through a recruiter. it's nice, because they do the work of finding employment for you. but other than that it is a setback IMO
@Malachi This is a pretty basic seeming question, but can I extend the time those notifications stay by changing the number in setTimeout(n.close.bind(n), 15000);
@rolfl @Phrancis @Mat'sMug or anyone who is interested, my Swedish friend Elin just finished a video from my latest trip to France. I appear in the video a few times, and overall it's a really nice video (at least I think so), I'm wondering what impressions you will get from the video though :)
I try to make a program that adds two floating numbers and displays them.
Example :
2.0+2.0= 4.0
This is the code I have written.
import java.util.Scanner ;
public class Hello {
public static void main(String[] args) {
float x,y,z;
System.out.println("Enter t...
@Vogel612 yup :) I was slightly disappointed that not a single person recognized it though! (and at the same time somewhat happy, proof that there's more to the world than Stack Exchange)
@IsmaelMiguel well, one thing you can do is stick #SOReadyToHelp somewhere in your SO profile. and then participate in the Meta.SO contests when they occur.
@DanPantry I want to sell the game for like $5 a pop, I haven't figured all that out yet though. I was thinking maybe a Donation style Beta version. where it is completely free to play.
I am very interested in your session handler but can't figure out how to use it (I mean adding variables to the session, passing variables to another script, etc.) I am in dire need of such code because my hosting company migrated PHP on no notice, messed everything up and now they are not provid...
Don't recreate your random engine everytime
Here:
std::random_device randomDevice;
std::mt19937 engine(randomDevice());
std::uniform_int_distribution<int> distribution(minimumExperience, maximumExperience);
This does not make it more random and can affect...
Sorry, it is called Cruise Control, NOT crucible. Crucible is a different kind of tool. Although it may come in handy since is good for code reviews, so look at it too — RAEC33 secs ago