|
Hi,
I want to buy a new laptop. I would want to do large scale dataset computations on my laptop. I dont intend to play high graphics games on my laptop. Mostly I program in Java and I would want parallel algorithms and data intensive computations like...
Started by ajay on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
The only real need for....
Be sure however to have a 64 bits system, or you won't use all that RAM .
Graphical card is sufficient (you can find more details about it at this link ) .
Powerful CPU and lot of RAM.
I think that would be matching to your needs.
|
|
G'day all, I have a Player class, which inherits from an ArmedHumanoids class, which inherits in turn from a Humanoids class.
Where and when should I create the Player object so that it is accessible in all my other classes - for example, a selectPlayerRace...
Started by elwynn on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Why not just pass this Player object.
To be a universal object accessible in all my other classes.
|
|
I've been successfully using Django's admin panel for internal users for a while but I recently hit a brick wall while trying to customize it and I'm curious if I'm spending too much time on it. So, my question is:
Is Django's admin panel intended to ...
Started by guidoism on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
The zip-code to state mapping, for example, that no end-user should... .
Databases are full of lookup and administrative tables.
Django Admin is for things where there's no value in doing anything more than the default add/change/delete processing it offers .
|
Ask your Facebook Friends
|
I recently bought a 22" (LG) TFT to replace my old 17" CRT monitor. The very first thing I noticed was how bright it was. I reduced the brightness from 100 to just 20 and toned down the gammma and contrast. Then I opened my videocard settings and reduced...
Started by Manos Dilaverakis on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at superuser):
Are these things supposed to run in bright environments only are are my eyes just sensitive?
Nah.
|
|
When I am editing my aspnetmvc views, I begin my code brackets:
<%
and intellisense pops up items like
<%@ Assembly... <%@ Control... <%@ etc...
which is fine, but when I continue my line and press the [=] key, it automatically selects <...
Started by Hal on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Environment > Keybord
In the "Show commands containing:" textbox I typed the name of my macro.
|
|
Level: PHP Learner
I'm stuck with a checkbox problem. I have a db that contains names and unique id numbers.
Using a query, I am pulling a selection of students and showing them to a user in an ultra simple HTML table on a form. Each row begins with a...
Started by dave on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Rest of row
Now, in PHP, you can get the selected ids like this:
$ids = $_POST['ids'];... .
Rest of row <input type="checkbox" name="ids[]" value="5577" /> ...
Just do something like this:
<input type="checkbox" name="ids[]" value="2233" /> .. .
|
|
I'm using php DOM to build an XML file of data, it works fine but it all outputs on one line, like so:
<property><something><somethingelse>dfs</somethingelse></something></property>
However in all examples I've found...
Started by citricsquid on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can ask it to by setting
$doc->formatOutput = true;
See the corresponding entry... .
Set the formatOutput attribute in your DOMDocument object to true :
$domDocument->formatOutput = true;
By default, DOM won't add extra whitespace to your document .
|
|
Occasionally in my code I will intentionally use a thrown exception as an event trigger. For instance, I will loop UNTIL an exception is thrown and then break; in the catch clause. Is this bad practice? Would it be more efficient (or cleaner) to query...
Started by lim on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
One important reason is that exceptions are expensive in terms of CPU ... .
Conditions that are true errors that should not occur in the normal course of operation .
Exceptions should be used for things that are exceptional - e.g .
Yes, this is bad practice.
|
|
I'm rebuilding a site with a lot of incoming links, and the URL structure is completely changing. I'm using the stock mod_rewrite solution to redirect all old links to new pages. However, as I'm sure a few links will slip through the net, I've built a...
Started by Pickledegg on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You could maintain your old virtual folder structure during a transition period and put redirect pages... .
The referrer alone may not always put you into the right context .
You could determine from the logs what happened a short time earlier for that user .
|
|
Hi there,
we have a C++ class which basically reads and writes vectors from a binary file. An exemplary read function that loads a single vector into memory looks like this:
int load (const __int64 index, T* values) const { int re = _fseeki64(_file, index...
Answer Snippets (Read the full thread at stackoverflow):
However you still can't pass a FILE * structure to... .
If you use the Microsoft multithreaded C runtime all the functions that need global or static variables will simply work properly (such as printf and fread, don't ask me why they need globals though) .
|