Whenever I upload a document in the document library, it says new. What is the timeframe of the "newness" of that document. Also, can that timeframe be controlled?
class Item
include DataMapper::Resource
property :id, Serial
property :title, String
end
item = Item.new(:title = 'Title 1') # :id = 1
item_clone = Item.first(:id = 1).clone
item_clone.save
This does "clone" the object as described but how can this be done so it applies a different ID once the record is saved, e.g. #
I've recently been looking into the topic of programming languages and from what I've seen, few to none serious languages try making really "new" things that were not seen before their creation.
Why do all more or less successful programming languages since 1980 or so just combine aspects of their predecessors?
I just can't believe that programming languages "can't get any better"..
Hi,
After I read Bloch's discussion http://www.infoq.com/news/2010/04/bloch_java_future
I started to think about "Do I have to switch to scala for new web developements" or is java preferred in all cases. What is your opinion ?
Thanks,
I have this new project I need to build. I want to have at least started on it by the end of this month. So which version should I use though? Should I just stick with the stable Rails2 or try to use Rails3 so I won't have to migrate later? Which one would you suggest for someone that is still learning Rails?
Hi,
I have a DNN module which renders a user control (view.ascx)
All is ok ( I am logged in ) and I get the DNN settings menu.
however when I add another control and load it like so:
string url = Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "View_Details", "mid=" + ModuleId.ToString());
Response.Redirect(url);
I lose the settings link when the new control loads.
Any ideas? Is there a property somewhere to turn on settings for the loaded user control?
I want to make a text highlight in flex textArea but its htmlText doesn't support <font bgcolor='#FFFF00'> part of my text </font> so I'm searching for a font witch is the opposite of Courier new, when I embed it in flash, and write with that color I get this effect part of my text , as I type <font family="negativeOfCourier" color='#FFFF00'> part of my text </font>
When I execute this line:
$client = IO::Socket::SSL->new("pilot-payflopro.paypal.com:443");
my IO::Socket::SSL::errstr() is
configuration error
failederror:00000000:lib(0):func(0):reason(0)
my $! is 'invalid argument'
Has anyone run into this before?
Hi all,
I installed the latest version of Cygwin with a number of packages.
I soon realised that I need more packages (such as wget, etc) and I coudln't find a way to install the new packages without running the set up again and reinstall everything from scratch.
What I'm looking for is the equivalent of apt-get on Cygwin (if such a thing exists).
Cheers,
Mulone
I have: http://windows.github.com/
My current project has around 20k files, around 150MB (and not speaking about how slow it is and I cannot do a thing now) it doesn't even let me commit! I get this error: Commit failed: Failed to create a new commit.
That seems that nobody is having.
I've already deleted the folder and cloned again, no escape. What to do?
If I choose to open shell, all this * crashes!
Hi
I would like to zip a bunch of files (.exe and .dll) before I overwrite them with the new build. Is there a simple way to zip files without using some sort of dll?
Just creating a folder with the build number / date time stamp will also work great. How do I pass parameters from the cruise control build process into my Powershell script that will do the work then?
Is this a sustainable way to do things?
Thanks
I am working on class project which required to work with Windows Application and this issue occurred to me that i don understand how to solved it can anybody help please?
I want to show the NATIONALITYNAME instead of showing NATIONALITYID in the grid view
SELECT
COACH.COACHID
, COACH.COACHFIRSTNAME
, COACH.COACHLASTNAME
, NATIONALITY.NATIONALITY
FROM COACH
INNER JOIN NATIONALITY
ON COACH.NATIONALITYID = NATIONALITY.NATIONALITYID
Error Message: "The Schema returned by the new query differ from the base query"
Hi, i looking for guide/document/tutorial on how to use this new feature write-behind-cache in ehcache? Is there any demo in spring+jpa+ehcache+hibernate?
just to clariyfing, write-behind-cache mean each time we persist entity, it will be written into cache rather than into database correct?
I'm deveoping a big project, I have the dev folder (connected to a specific subdomain) then the "real" folder, the live one. When I'm ready to push patches or whole new versions I'm currently copying the files individually, is there a program that can help me do this task?
Keep in mind that some files (the config one and the htacess) must never change in the live version.
Thank you
Hi
Does anyone know what's the replacement method for FB.CanvasClient.startTimerToSizeToContent() to resize iframe content in the new javascript SDK for Facebook?
Or maybe if there is an alternative technique for achieving the same effect?
Thanks
I am developing a custom Web Interface Browser for Subversion Repositories with C#/ASP.NET and SVNKit (Converted to .NET assemblies using IKVM.NET). Is there any clean way to add a new subversion user (that is added by the administrator) using C# code?
Hi
I need an event/message/notification in an outlook addin, which fires when a new mail form is open by an user? I don't know how to determine which window is opened.
Hope somebody can help me?
thanks
Mark
I am working on Mac os X.
I want to create a new sqllite DB.
I am using http://www.sqlite.org/quickstart.html as a refernce:
I am entering: sqlite3 test.db
and getting the response:
SQLite version 3.6.12
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
why is this happening?
Hi,
I need to add a new action to the ActionList in the Invoices page
I don't know where magento creates this list and how it call the selected action, so I thought you guys would know where I should start looking...
Thanks!
Jonathan
Hi
Does someone know if if i run PSEXEC (or WMI) N times in the same program -
does it open N new sessions?
or does it uses the same session over and over again?
Hi, I'm inserting a date in grails using "new Date()" and when I read the record, it's three hours ahead the O.S.'s system time. Is there a configuration to fix this ?
Thanks in advance.
It didn't always do this, but ever since I split my database and made the front-end an ACCDE file, any time I try to compact and repair either file, a new file called "Database 1" is generated and my original file size doesn't change.
Is this normal?
My ACCDB is roughly 20MB, and my ACCDE is just over 1M after being used the first time. Before opening, the ACCDE was only 600k (I have lots of forms and queries, and regularly store PDF attachments.
Hi,
I am using the Apache commons logging library and log4j to generate my log files.
Now I want to create a new file every time I run my program. The current count should be appended to the log file's name.
For example:
program_1.log
program_2.log
program_3.log
Do you know how I could achieve this?
In my item table, I have a itemname column which is currently a dropdown list taking values from DB.
<%= select 'item','itemname' ,
Item.find(:all).collect{|c| [c.itemname]},{:include_blank = 'Select Name'}
How can I add a new value to this dropdown list through the application. Is there a provision to directly add value to the list?
Thanks