I have this code in a Grails 1.0.4 Groovy console:
def devices = Device.getAll()
def found = devices.findAll {
if(it?.localNumber && it?.areaCode){
def pattern = ~".*${it.areaCode + it.localNumber}"
def matches = "$msisdn" ==~ pattern
println "$matches == msisdn: $msisdn ==~ pattern: $pattern"
matche...
I've touched on these issues before, but that was using a system with vs 2005, 2008, vwd, and 2-3 years of associated junk on ;)
Now I'm running a fresh install of Visual Studio 2008, on Vista. I still have some very annoying issues.
The first, is that when creating a new asp.net site, and a default blank page - it won't run. I get a...
Well yes i know this is an anecdotal question - and if you want to close, do it.
But i'm hunting one for 18 month now. Everytime when i think i have a reproduceable use case i have someone coming in telling me we have other things to do.
The longest "on session" time seems to be yesterday 2 full working day to track down a multithreadi...
I work at a company where maintenance is being done by the same team that brings life to a piece of software.
Very often I hear about organizations that have a separate maintenance team or a maintenance programmer. What I wonder about is -what- the reasoning behind this is?
Apart from ditching 'old code' to lesser mortals, is there any...
Not sure if I've just missed something but this doesn't work:
$(this).children('td.threadtitle a').html('thread title');
However this does
$(this).children('td.threadtitle').children('a').html('thread title');
I'm just trying to understand why this is occuring. But is this a bug?
...
I have a bug in IE8 when trying to get a property from css for an element with background image.
el.css({ 'background-position': "10px 10px"}); //set some
alert(el.css("background-position")); //get the value
In Opera, FF, Chrome, Safari works I get "10px 10px". Not in IE8 where I get undefined.
I opened a bug report, but until then ...
Why the following code could/will result in infinite loop?
x=0;
y=0;
while(x<100)
{
minnum=100;
maxnum=100;
while(y<150)
{
if(random[x][y]<minnum)
{
minnum=random[x][y];
minX=x;
minY=y;
y++;
}
else if(random[x][y]>maxnum)
{
maxnum=random[x][y];
maxX=y...
I have a TextBlock in a Grid with its Padding attribute set to 5. Sometimes the last character is cut off, depending on what string the Text property is set to.
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="SomeClass">
<Scrol...
I did a code in jquery and ajax with working very well in Safari, FF and IE8, but dont work in IE6.
He can 5 Group of forms editable, which should not be showing, but only the first works, the ajax is also not working in IE6 and IE7.
scintillation only put in 2, but is 5 how can you see the link below.
$(document).ready(function(){
...
Hi guys , i found the following bug when using jquery ui tabs ,
when i selected the event as mouse hover and added animation to it
$("#Tab").tabs({ "event":"mouseover",fx:{ opacity: 'toggle' , duration:'slow'}});
when i move the mouse over the tabs quickly , two tab contents remain open at the same time .
this is the bug confirmed ,...
I've been searching around for an answer to this one and I can't seem to find the solution. When I mock-up a simple HTML page with a single text input on it, I'm not able to type in it in IE6 or IE7. The HTML below is exactly what I'm testing this on.
<html>
<head>
<title>Input Test</title>
</head>
<body>
<input t...
I have a page that renders differently in each flavor of IE7.
IE7 for vista is a different version than IE7 for XP, and they have subtle differences between them. This results in having the two versions render my page differently. The same, of course, goes for IE8 in compatibility mode.
What I need is a list of every version of IE7 out...
hello guys I'm having 3 months with codeigniter so today I discover an error on my pagination script :
$this->db->where("by_id",$user_id);
$this->db->order_by("date","desc");
$this->db->limit(10,$from);
$query = $this->db->get("status");
well the url is look like this : server/demo/page/10
so if user type server/nedjma/baniss/10...
I am working with a small group on a C++ project in NetBeans.
For some reason, NetBeans is reporting things like "string", "endl", "cout" as "Unable to Resolve" even though the correct libraries have been included.
The project compiles and runs as expected, so at the end of the day, it is no big deal, it is just that having everything ...
I believe I have found a bug in WebKit. It involves outerWidth(true) (and I assume outerHeight(true) ) in jQuery.
In every browser but Safari and Chrome, the third box is 200. In Safari and Chrome, it is (almost) the width of my screen.
Click here to see my results:
You can test is for yourself here: http://ramblingwood.com/sandbox/w...
Hi Guys
I have a very interesting situation , i have figured out that Singleton pattern is not all possible with .net framework (Any version)
look at this code below
namespace SingletonPattern
{
class Singleton
{
private static readonly Singleton instance = new Singleton();
private static int mcount = 0;
private ...
I need to create a table to save the bugs of an application that have access on it many users, in a way to stock the bugs and manage them lately.
So I need to have a key field that will be unique but identify the bug, have a meaning and also light on the server
Does anyone have an idea about that case ?
...
I'm having a small issue with just IE8 in standards mode. The issue is with the vertical margin between the first 2 in a vertical list of blocks elements being 1 pixel too little .
This is a subtle bug and most noticable with a 1 pixel margin when it collapses completely but I can't think of an easy fix. It doesn't seem to be a margin c...
http://www.crtaci.info/
I have some absolutly positioned menu in footer.
Tested in FF 3.5.3, Safari, IE8, Chrome... But in opera im getting big gap below that menu in footer.
ps title is margin problem, because i think it is some margin issue... :)
...
I have a C++ program (GCC) and when I add one or more int members to an abstract base class, the program starts crashing. In the case I've exampled, it seems that by adding this member, a member in a derived class quits getting initialized (or gets stomped on at some point). If I add more members, it starts (not) working different. This ...