Has anyone else noticed this phenomenon where dbms_output.put_line is unable to print more than 2000 characters at a time?
Script is:
set serveroutput on size 100000;
declare
big_str varchar2(2009);
begin
for i in 1..2009 loop
big_str := big_str||'x';
end loop;
dbms_output.put_line(length(big_str));
dbms_o...
Expressions class should be more accurate while searching for user-defined operators?
sealed class Foo
{
// just the private static method!
private static int op_Implicit() { return 1; }
public static implicit operator int(Foo foo) { return 2; }
}
public class Program
{
private static void Main()
{
var param = Expression...
This is not "close to real" situation, but it shows that Expressions API doesn't look for operators in the destination type of conversion if it founds the suitable operator in the source type.
sealed class Foo
{
public static explicit operator Bar(Foo foo) { return null; }
}
sealed class Bar
{
public static implicit operator Bar(Fo...
Hi
i have a tab control with 2 tabs. the content of each tab is binded to a ListCollectionView and the data template has a grid showing the items. The problem is that if you click on any of the columns to sort, if I select the other tab and return to the first tab the sorting is cleared. Is it a known bug?
here is the code:
<Window x:...
I don't understand why developers continue to program things to accommodate IE6. People should update the browser they use, right?
I've already seen many firms completely stop developing for IE6, with a big article on their front page stating their update recommendations.
What are your reasons to continue developing for this buggy old ...
Anyone of you guys experiencing an issue when deleting a list from Twitter? It is not working...The list still remains in my Twitter account...
Thanks
...
im part of a dev team thats tired of being used as a crutch by the rest of the organization. I want to start to build a document repository of how-tos, work-arounds and other information that instead of doing the work for others, or having problems that users can resolve on their own being dropped on our laps i want to be able to send li...
When I put this code outside of the <table>...it will work.
<script type="text/javascript">
$(function(){
$("#stars-wrapper1").stars({
oneVoteOnly: true
});
});
</script>
<form>
<div id="stars-wrapper1">
<input type="radio" name="newrate" value="1" title="Very poor" />
<input type="radio" name="newrat...
How come FILE_FOUND is 0 at the end of this bugger :
FILE_FOUND=0
touch /tmp/$$.txt
ls -1 /tmp/$$.* 2>/dev/null | while read item; do
FILE_FOUND=1
echo "FILE_FOUND = $FILE_FOUND"
done
echo "FILE_FOUND = $FILE_FOUND"
rm -f /tmp/$$.txt 2>/dev/null
??!!
On Unix FILE_FOUND stays at 1 (as it should), but on Linux (RedHat, Cygw...
hi!
if you'll look here
http://clients.ventu.co.il/getapp/
in IE7 there is a strange extra gap between the footer and the content above
which isnt supposed to be there
anyone can help me remove it?
...
On this project
http://jackson.collegeman.net
In IE 7 on WinXP and IE 8 on Vista, when the page loads, the background image behind my nav bar buttons scales to fit the anchor tags it's set on.
The background-image is a composite of all the buttons for the navigation bar, containing both normal and hover states. For some reason, in IE,...
Hi all,
I've run into what I believe is an issue with the BinaryReader.ReadChars() method. When I wrap a BinaryReader around a raw socket NetworkStream occasionally I get a stream corruption where the stream being read gets out of sync. The stream in question contains messages in a binary serialisation protocol.
I've tracked this dow...
Ok, so I've only recently started getting serious about learning how to program, and I've started using Mercurial to manage my projects. I chose Mercurial over SVN because of it's ability to commit changes to a repo while not connected to the internet (these days I find myself in areas without internet access). I'm looking for a piece of...
What are the ways to ensure that minimum or no bugs are found when a .net project goes live? Your tips can be generic.
My first project is about to be hosted in a week's time and I am slightly intimidated by that fact, since I am a uni student and not an expert programmer.
...
Hello,
Long story:
I am doing a project for my functional programing class, and I thought of writing an AI controller in Lisp, for the Mario AI competition.
I was looking over frameworks/libraries/ways of calling Lisp code from Java, or even better Lisp-Java intercommunication.
I have looked at Jacol, but it is old, and it does not ...
Hello All,
There is a table in the page which is pre-populated. The table has a check box to approve/reject each row item and there are buttons (SAVE, CANCEL) in the page to save the changes and to cancel the changes.
A BUG saying "if there are no data in the table, then the SAVE and CANCEL button should be hidden" is raised.
Is this ...
While trying to implement support for conditional GETting in a rest system, we have come across the fresh_when and stale? methods.
The following code works fine with 304 and not further rendering:
if stale?(:etag => resource, :last_modified => resource.updated_at.utc)
respond_to do |format|
format.html # show.html.erb
...
I was recently trying to find a bug in some scripting and I discovered this very interesting behavior when loading a page with jQuery.
File #1: Test1.htm
<div id="test"></div>
<script type="text/javascript">
$(document).ready(function(){
$('#test').load('test2.htm #content',function(){
alert('done loading!');
})
})
</script>
Fil...
I've encountered buggy behavior:
import groovy.xml.DOMBuilder
def filePath = "MestaXml.log";
def doc = DOMBuilder.parse(new FileReader(filePath));
def docElm = doc.documentElement;
-
$ groovy SaveTransformer.groovy
Caught: java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>)
previously initiated lo...
Strange visual studio (TS 2008) problem: The IDE completely freezes whenever I switch from Release to Debug mode in a specific project. It happens right as I switch, before I try to build or do anything else.
The whole thing started out of the blue, without any abnormal change I can think of.
I tried to clean the solution, but it didn't...