I don't fully understand hashing algorithms. Anybody care to explain it to me in a very simply understandable way.
Thanks
EDIT: Using it with Usernames from a text file.
What does it mean for a method to be public/private/other in java?
What are the advantages and disadvantages of these options?
What is my impetus, as someone trying to be a good programmer, to care?
When using java threads, one has to take care of the basic problems that come with concurrency through synchronization etc.
AFAIK Tomcat also works with threads to handle its workload. Why is it, that I don't have to think about making my code threadsafe when it is running in Tomcat?
I have a class UserProfile defined which takes the default user as a foreign key.
Now another class A has a foreign key to UserProfile.
So for saving any instance in class A, how do i give it the userprofile object.
Also, does making a class UserProfile mean that class user is still used and class UserProfile is just some other table?
I need to know this as I have to take care of the user profile creation, so I should know what gets stored where?
--
Confused
I'm creating some business logic in the application but I'm not sure how or where to encapsulate it, I've used the repository pattern for data access, I've seen some projects that use DDD that have some classes with the "Service" suffix and the "manager" suffix, what are each of this clases suppose to take care of in DDD?
If I don't care about less than seconds, what should be the recommended type to store my datetime values in sql-server 2005, is it datetime or smalldatetime or else?
I keep getting this as a warning but but I don't care if its not set so how do I get rid of the warning and still achieve my goal
here is the context
var url_items = array("foo");
$article_id = db_escape($url_items[1]);
$article = get_article($article_id);
function get_article($article_id = NULL) {.....}
I'm interested in an online application like the tool that comes with XCode, that shows the keys and values as rows, in an editable manner and handles xml plists (I don't care if it hadles binary ones as well).
Hi everyone,
Is behavior of SHA-1 algorithm defined for Unicode strings? I do realize that SHA-1 itself does not care about the content of the string, however,
it seems to me that in order to pass standard tests for SHA-1, the input string should be encoded with UTF-8.
For desktop browser all modern browser uses Zoom functionality so we can use PX but if same site can be seen on mobile then would px not be good for zooming in mobile browsers. or use of px is also fine for mobile browsers.
even if we don't care for IE 6 , should we use em in place of px still if we are not making different site for mobile, same site will be seen on both desktop and mobile phones (iphone, blackberry, windows mobile, opera mini, android etc?
I need my regexp to match, all the highlighted words, in order, following:
Fri/Feb/10 - *Nesta* manh\303\203\302\243,* @*anestesya *entrou* \303\240s 08:18AM
Fri/Feb/10 - *Nesta* tarde,* @*pernas *saiu* \303\240s 08:18AM
I was trying something like: /[?=Nesta.?=@.?=(entrou|saiu)]/
So I don't care what is in between as long as it has: ' Nesta ' AND ' @' AND ' entrou ' OR ' saiu '
<asp:TextBox ID="TextBox5" runat="server" Font-Size="12pt" Width="92px">10</asp:TextBox>
<ajaxToolkit:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server"
TargetControlID="TextBox5">
</ajaxToolkit:NumericUpDownExtender>
So... problem is : My TexBox5 becomes very small at width and it doesn't care what width I setup.
Hi guys, im thinking about a project, but my project need to be linked to cellphone company, the problem is that i don't know how ill take care about make the presentation to the cellphone company and the company don't steal my idea, i dont know if is clear, sorry with my English
some tip's?
thanks
This Wordpress site works fine in Firefox and Safari.
However viewing in Explorer 7 (don't care about 6) breaks the header/navigation area.
Weirdly enough, refreshing the page fixes the alignment issue, but then hides the header.
http://anothersideof.me
Any suggestions would be greatly appreciated.
Does anyone know of an Objective-C framework that takes care of registering an app? I'm interested in the GUI/30-day trial side more than the actual verifying of serial numbers.
Hi guys,
I'm working on this site - http://dev.chriscurddesign.co.uk/mayday
It works in everything other than IE7 and IE8 in compatibility mode (don't care about IE6), where the vacancies lists on the right aren't hidden correctly by their parent overflow property.
I have been pulling my hair out trying to get to the bottom of this, its driving me up the wall, anyone got any ideas whatsoever?
Below is an image of the issue, chrome on the left, IE8 compat mode on the right.
Cheers, -Ben
Hi ppl, Im starting a new project that consist in a game made in Flash, I use PHP for the server counterpart and a MySQL database.
My question is, what do I need to host my game?.. I mean, how good (connection, HD space, procesor, ram, etc) should be my hosting to be able to take care of all the stuff I need...?
And, if you know some good web hosting for this purpose, even better :)
Thx in advance.
Using
Sun Glassfish Enterprise server v2.1.1
I am using "alternatedocroot" via sun-web.xml for my web application to abstract out static content from actual deploy-able code (EAR/WAR)
What I have is a cluster of two server instances distributed across two physical hosts - HOST1 and HOST2. "alternatedocroot" points to /data/static-content/ on both HOST1 and HOST2.
Would DAS (Domain application server )take care of syncing /data/static-content between HOST1 and HOST2 if I use syncinstances=true option while starting up the cluster?
Thanks!
Hi all
I'm attempting to replace a pattern in all my .aspx and .ascx file when I Publish my Webapplication.
When I am running the application locally, I don't care about the replace. But as soon as I need to Publish the solution I need a sequence of characters, let's say "ABC", replaced with "DEF" in all my .aspx and .ascx files.
How would I go about performing this?
Our company wants to upgrade from Sql Server 2005 to Sql Server 2008 and I wanna ask about:
What are the steps I should follow to upgrade from 2005 to 2008 ?
At what point should I take care of it while upgrading ?
Given the adjacency matrix of a graph, I need to obtain the chromatic number (minimum number of colours needed to paint every node of a graph so that adjacent nodes get different colours).
Preferably it should be a java algorithm, and I don't care about performance.
Thanks.
What is the fastest sorting algorithm for a large number (tens of thousands) of groups of 9 positive double precision values, where each group must be sorted individually? So it's got to sort fast a small number of possibly repeated double precision values, many times in a row.
The values are in the [0..1] interval. I don't care about space complexity or stability, just about speed.
I'm trying to write a script to make generating Lift projects quicker but I believe i'm running into a white space issue.
val strLiftGen = "mvn archetype:generate -U-DarchetypeGroupId=net.liftweb\
-DarchetypeArtifactId=lift-archetype-blank\
-DarchetypeVersion=1.0\
-DremoteRepositories=http://scala-tools.org/repo-releases-DgroupId=" + args(0)"-DartifactId=" + args(1)"-Dversion=1.0-SNAPSHOT */"
Anyone care to hit the newb with the stick of wisdom and tell me a smart way of handling a long string like this?
A few years ago, I did a survey of DbC packages for Java, and I wasn't wholly satisfied with any of them. Unfortunately I didn't keep good notes on my findings, and I assume things have changed. Would anybody care to compare and contrast different DbC packages for Java?