To celebrate an important event, I hastily cobbled together an HTML canvas-based animation.
A few concerns I have include:
Performance: Does it run reasonably smoothly on most modern machines? How can I make it more efficient?
Portability / Compatibility: Does it work correctly on all modern ...
I am pleased to announce that effective from September 22, Code Review Graduated! It has taken a bit of time for this announcement to filter through the red tape, so, today is the day we found out.
Let's use this as a place to discuss, celebrate, and otherwise commiserate.
To celebrate an important event, I hastily cobbled together an HTML canvas-based animation.
A few concerns I have include:
Performance: Does it run reasonably smoothly on most modern machines? How can I make it more efficient?
Portability / Compatibility: Does it work correctly on all modern ...
I am pleased to announce that effective from September 22, Code Review Graduated! It has taken a bit of time for this announcement to filter through the red tape, so, today is the day we found out.
Let's use this as a place to discuss, celebrate, and otherwise commiserate.
Notes:
Code Review i...
To celebrate an important event, I hastily cobbled together an HTML canvas-based animation.
A few concerns I have include:
Performance: Does it run reasonably smoothly on most modern machines? How can I make it more efficient?
Portability / Compatibility: Does it work correctly on all modern ...
To celebrate an important event, I hastily cobbled together an HTML canvas-based animation.
A few concerns I have include:
Performance: Does it run reasonably smoothly on most modern machines? How can I make it more efficient?
Portability / Compatibility: Does it work correctly on all modern ...
To celebrate an important event, I hastily cobbled together an HTML canvas-based animation.
A few concerns I have include:
Performance: Does it run reasonably smoothly on most modern machines? How can I make it more efficient?
Portability / Compatibility: Does it work correctly on all modern ...
btw, @kleinfreund, I'm working some days at a place now where I do HTML, CSS/LESS and JS all day long. Didn't expect that of me, did you? (At least I did not...)
@kleinfreund I'm trying to learn about the CSS stuff, but it's hard... not many hours go by without me asking someone else about assistance.... I hope I will learn :) LESS seems really handy though, I gotta say. Also using Node.JS to 'compile' the thing with some grunt script (not sure how it all works, it just works!)
@rolfl a [pretty much] identical query on sized orders (335K rows) - starts outputting results almost instantly, and outputs 561,667 rows in 4:34. ...and the query plan is pretty much identical.
It came up in chat that one particular user was in the habit of:
Posting a good question;
Receiving good answers;
Posting his/her refactored code as community answer, after adapting some things using advice from answers, sometimes with little to no explanation about what they did different and ...
I am implementing a finite element code using MPI. Obviously, when using MPI I will have to include communication between different nodes so that all processors have all relevant information. As this is my first time doing something like this, I have implemented a very naive algorithm to get upda...
It came up in chat that one particular user seemed to be in the habit of:
Posting a good question;
Receiving good answers;
Posting his/her refactored code as community answer, after adapting some things using advice from answers, sometimes with little to no explanation about what they did diffe...
> Every programmer occasionally, when nobody's home, turns off the lights, pours a glass of scotch, puts on some light German electronica, and opens up a file on their computer. It's a different file for every programmer. Sometimes they wrote it, sometimes they found it and knew they had to save it. They read over the lines, and weep at their beauty, then the tears turn bitter as they remember the rest of the files and the inevitable collapse of all that is good and true in the world.
> The Web site you are trying to access has been blocked by the Web Filter because it is in the Game Playing & Game Media category, access to which has been blocked by the infrastructure team.
If you believe this is an error, please submit an SOS ticket.
I have the following girth-counting algorithm on a large 0-1 matrix and I need to optimize it for speed. The code is this:
function CountG8()
M = 512
N = 1024
H = rand(0:1,M,N)
girth_8 = 0
for i=1:M-3
for j=1:N-1
if H[i,j]==1
for j1=j+1:N
if H[i,j1]==1
...
I have the following girth-counting algorithm on a large 0-1 matrix and I need to optimize it for speed. The code is this:
function CountG8()
M = 512
N = 1024
H = rand(0:1,M,N)
girth_8 = 0
for i=1:M-3
for j=1:N-1
if H[i,j]==1
for j1=j+1:N
if H[i,j1]==1
...
"It does exactly one, mundane, specific thing, and it does it well. It was written by a single person, and never touched by another. It reads like poetry written by someone over thirty."
But if you're trying to speed up an update, have you considered trying to drop the indexes on the target table prior to the update? Then rebuilding them afterwards?
> skiwi2 is a champion Javavore (one of the 9% most active Java users) who loves pushing code. skiwi2 is a fulltime hacker who works best in the afternoon (around 1 pm).
Few days ago I was looking for simple pagination example and I decided to write my own version. It is one of my first apps using MVVM Pattern, so I am not sure I did right. I would appreciate if you could tell if I did something wrong, or used bad programming practises or whatever.
github.com/De...