How would I move the first word, if it was the word 'the', to the end of the cell in MySQL?
As an example:
before: The Good, the Bad and the Ugly
after: Good, the Bad and the Ugly, The
Thanks
I'm looking for a list of reasonable use cases of putting attributes in a parameter.
I can think of some good cases for attributes in a method, but can't seem to see a good usage of a parameter attribute. Please, enlighten me.
And what about attributes on the return type of a method?
I am using Enterprise library 3.1 to log application logs in Windows event logs, and I want to read this log by passing the date parameter.
Please note that I will be accessing the remote machine and the performance should be good. Is there any method that can be used to read these logs using Ent Lib, or please suggest some good method.
Hi,
A co-worker asked me to change a signature from using a primitive "boolean" to using a classed "Boolean". He didn't offer a very good explanation why?
Have any of you heard of this and can any of you explain why it matters or doesn't matter?
Edit: He mentioned that it was good practice for public methods.
Hi friends
I am new to Programming.During last year I learned flash programming as well as Asp.net
I am good at both.
But i am confused about choosing asp.net or flash programming
As per career which one will get me good salary and
which one will me more secure
Please help me on this with reasoning which one i should choose
hello i am trying to bind multiple applications running on different pc's across a single lan network is it a good idea when all applications are receiving on same port and sending at same port for example.
app1 (receiving at 10000 port , sending at some ip2 and 10000 port)
app2 (receiving at 10000 port , sending at some ip1 and 10000 port)
any other good idea for performing this task is also accepted .
I have a dynamic php website which index only has around 800 errors according to the w3 validator online.
I have tried checking major websites like ebay, stackoverflow and others also, all with around 400 errors.
So my first thought is, what good is that validator when it always displays errors?
Secondly, will the errors affect my SERP ranking? ie, will me fixing these errors as good as I can increase my Google search position?
Thanks
Hello
I've been searching for a while for a good example of localizing an C# ASP.NET MVC 2 application but storing the data in the database instead of .RESX files. Unfortunately I've had no luck finding a good example and was hoping someone else may know and could point me in the right direction?
Many thanks for any help/advice/articles
Hi,
I'am imnplementing real-time sound (voice) recording and transferring to another point in my application.
I would ask who knows good codec or compression algorithm to transfer low-quality (max 32 kbit) sound data through the network. I know skype uses good compression, what codec use it?
Thank you.
I need to learn how to develop PHP extensions.
So, I assume I have to refresh my CPP skills (or is it C?).
What IDE should I use (auto-completion, object browsers etc). I plan to develop on Ubuntu 32.
Is there a good book or good website I can learn from?
Say I only need to find out whether a line read from a file contains a word from a finite set of words.
One way of doing this is to use a regex like this:
.*\y(good|better|best)\y.*
Another way of accomplishing this is using a pseudo code like this:
if ( (readLine.find("good") != string::npos) ||
(readLine.find("better") != string::npos) ||
(readLine.find("best") != string::npos) )
{
// line contains a word from a finite set of words.
}
Which way will have better performance? (i.e. speed and CPU utilization)
So I want to have an "Exit" option on my menubar, NP. The JFrame already has the DISPOSE_ON_CLOSE in it's setDefaultCloseOperation method. I've looked around and have yet to find what I believe is a good example... What's a good or right way? A little help please!
As Always...
Can we call send from one thread and recv from another on the same socket?
Can we call multiple sends parallely from different threads on the same socket?
I know that a good design should avoid this, but I am not clear how these system APIs will behave. I am unable to find a good documentation also for the same.
Any pointers in the direction will be helpful.
I'm trying to do something quite simple, but I'm having a hard time finding good examples on the net to what I want specifically.
I'd like to somehing very similer to what it's here:
Dao
It's a simple game called DAO and I just need to have a background image with 16 squares (4x4) and drag and drop the images (pieces) on each square to the others. I'm developing the interface using swing and I simply want to know a good place to find tutorials for such implementations or a simple suggestion on how to do it.
Thanks in advance
I'm looking for an example of a good update trigger to update the ModifyDate field of a table.
It would be nice to handle the case where an update command updated more than one record in the table.
Is there a good template or tutorial for this?
Thanks
I'm looking for some resources that demonstrate good graphic design for generated (PHP/HTML/CSS) reports.
The website I'm designing is essentially a long test. Everything is finished except the report generation, and this part needs to look good!
I'd appreciate any advice/resources you can point me to! I know this isn't directly programming related, but my purposes do encompass coding and output.
Hi.
As I know, it is possible to add my app's info on incoming call screen on Android. (As WhitePage's CallerId)
There are posts about it but I didn't see any good sample or instructions on how to do that.
Can anyone write down a good example for that?
Thanks.
I want to have a class named ProjectDirectory and a class named MetaDirectory. Each project has a MetaDirectory which contains some meta data. Is it the good way to write the classes like this:
class ProjectDirectory(object):
def __init__(self, directory=None):
self.directory = directory
self.meta_directory = MetaDirectory(self)
def __repr__(self):
return self.directory
class MetaDirectory(object):
def __init__(self, project_directory=None):
self.project_directory = project_directory
self.directory = "%s/.meta/" % project_directory
ProjectDirectory has a reference to MetaDirectory and MetaDirectory has a reference to ProjectDirectory.
Is there an other solution or this solution is good ?
I have 3 tables in a database:
image of the database
I have been looking online for a long time trying to find out how in linq and vb.net how i can do a query that has access to both the event and individual table for example showing all the events individual 1 is taking part in ect. i was wondering if anyone could point me in the right direction or know of any good tutorial sites with good examples of things similar.
Thanks in advance :)
Luke.
I've been looking for a decent network library for C#.
It is going to be used with XNA 3.1, and .NET Framework 3.5.
The multi-player style is going to be Server and Client.
Currently I have been looking into Lidgren Library Network, but it seems outdated.
Anyone got some good suggestions for a good network library. It should be able to handle easily 30+ client connections at a time.
How good is this book?
Seems good to me but I would like to know your opinion about it before I buy it.
Has anybody used this book?
Introduction to algorithms - CLRS
Thanks
The last time I worked with Zend_Db I recall I used to write SQL Queries manually. I've been searching for some ORM application, but, since I read something like Zend_Db is also capable of doing so, I started to try it, but I can't find neither a good tutorial explain it or a good documentation.
I read something lake Gateway pattern and ModelMapper class but I can't figure it out.
Can someone shine my path? :P
I've been trying to explain Java threading to a colleague who has never been exposed to multi-threaded applications, but apparently I'm not a very good teacher.
Can anyone recommend a good online or offline resource that can explain threading in a simple, step-by-step manner? I know it's a complex topic, but surely there exists an article, book, or other explanation that can result in an "Aha! I get it, finally!" moment.