I'm looking for a Java ORM that works from database reflection - I need to just point it at a DB, and start being able to walk through the entire set of tables, etc.
Ideas?
I want to detect the presence of a scroll bar in a DIV using jQuery. I was thinking to use $('div').scrollTop() but that returns 0 in both cases when the scroll bar is at the top and when there is no scroll bar at all.
Any ideas guys?
This morning our game is not working on my computer under IE9. The error I get is:
access denied on
http://static.ak.fbcdn.net/rsrc.php/v1/yL/r/X3oFUDWWu05.js
When I load this URL in Chrome, FF, and IE 8, everything works fine. But under IE9 I have the following error:
'window is undefined'
Error : 800A1391
Execution Error Microsoft JScript
This is a Facebook script that I have no control over. I've cleared my cache but still get the error.
Any ideas?
Getting the subdomain from a URL sounds easy at first.
http://www.domain.example
Scan for the first period then return whatever came after the "http://" ...
Then you remember
http://super.duper.domain.example
Oh. So then you think, okay, find the last period, go back a word and get everything before!
Then you remember
http://super.duper.domain.co.uk
And you're back to square one. Anyone have any great ideas besides storing a list of all TLDs?
John
Being stuck with a scala 2.9 compiler bug I've decided to try moving to Scala 2.10 RC. As a part of the switch I was trying to install SBT 0.13 snapshot.
The official web page lists a broken link:
http://scalasbt.artifactoryonline.com/scalasbt/sbt-native-packages/org/scala-sbt/sbt//0.13.0-SNAPSHOT/sbt.tgz
There is nothing about 0.13 in the directory, the link gives Error 404.
Any ideas about where to get the file?
With the tool "mysql administrator" i get a complete connection to my database, I can change userthings and so on.
But not PHPMyAdmin nor Joomly Installation will get a connection, they timed out.
Any Ideas?
Hiya.
I'm using Services_Facebook pear package with php 5.3.2 to create a facebook app,
it seems that some users can see the application and the application can fetch their info properly, and on some users that script detects as they're not logged in.
using the default example as shown in the following URL:
http://wiki.developers.facebook.com/index.php/PHP
using latest Services_Facebook version.
any ideas?
thanks
Hi, guys, I've been developing an iphone web application for a while, and encountered a weird problem:
when open the web app in safari(with safari chrome, not starting it from home screen), safari can generate proper "If-Not-Modified-Since" and "If-None-Matches", so the server simply gives 304 Not Modified to speed up the process.
however, when starting the app from home screen, safari seems to forget these two headers, and server always replies with 200 OK...
any ideas for this?
I want to detect the presence of a scroll bar in a DIV using jQuery. I was thinking to use $('div').scrollTop() but that returns 0 in both cases when the scroll bar is at the top and when there is no scroll bar at all.
Any ideas guys?
I have a hash in Perl which has been dumped into from some legacy code the name of the key has now changed from simply reqHdrs to reqHdrs.bla
$rec->{reqHdrs.bla}
My problem is now I cant seem to access this field from the hash any ideas?
The following is my error
Download Script Output: Bareword "reqHdrs" not allowed while "strict subs" in use
I have a ajax asp.net modalpopupextender, I wont when I desplay popup, the popup cover all the browser window.
The popup display a panel ane is inside the form not other container.
My .aspx code is:
< asp:Panel ID="OptionPanel" runat="server" CssClass="mp"
Style="display: block; width:100%; height:100%"
But don't work!!!
Any ideas????
The following query won't work, but it should be clear what I'm trying to do: split the value of 't' on space and use the last element in that array in the subquery (as it will match tl). Any ideas how to do this? Thanks!
SELECT t, y, "type",
regexp_split_to_array(t, ' ') as t_array, sum(dr), (
select uz from f.tfa where tl = t_array[-1]
)
as uz,
sc
FROM padres.yd_fld
WHERE y = 2010 AND pos <> 0
GROUP BY t, y, "type", sc;
I have a SQL Server Express database that has a query that should return about 230 thousand rows.
Problem is the query returns about 5 more rows each time you run the query.
What would cause something like this?
I ran 'DBCC CHECKDB' but that did not change the behavior. Any ideas.
thanks
My table looks like this with duplicates in col1
col1, col2, col3, col4
1, 1, 0, a
1, 2, 1, a
1, 3, 1, a
2, 4, 1, b
3, 5, 0, c
I want to select distinct col1 with max (col3) and min(col2);
so result set will be:
col1, col2, col3, col4
1, 2, 1, a
2, 4, 1, b
3, 5, 0, c
I have a solution but looking for best ideas?
I have a level class and a Enemy_control class that is based off an vector that takes in Enemys as values.
in my level constructor I have:
Enemy tmp( 1200 );
enemys.Add_enemy( tmp ); // this adds tmp to the vector in Enemy_control
enemys being a variable of type Enemy_control. My program crashes after these statements complaining about some destructor problem in level and enemy_control and enemy.
Any ideas?
hi there
Have switched to windows authentication in the debug mode, set NLTM in the project options but when i press play it just gives me a blank screen! Any ideas what I can do now?
thanks!
Hay i need help.
I want to find all muliples of a number in PHP.
I'm using something like this
if($count != 20 )
to work out if $count is not equal to 20.
but i also need this script to check if $count is not equal to 20,40,60,80,100,120,140,160 etc.
Any ideas? I think i need to use the modulus symbol (%), but i don't know.
Thanks
Hi. I need to set datetime variable to two days from now but it's time part must be 18:00.
For example if i call getdate() now i'll get 2010-05-17 13:18:07.260. I need to set it to 2010-05-19 18:00:00.000.
Does anybody have a good snippet for that or any ideas how to do it right?
I have a listbox and its bound. and i have tooltip on listbox item sometihng like this
--
--
Now i want to show a datagrid inside tooltip which databound ....
Any ideas please???
thank you
I'm trying to use a simple mysql database but tweak it so that every field is backed up up to an indefinite number of versions. The best way I can illustrate this is by replacing each and every field of every table with a stack of all the values this field has ever had (each of these values should be timestamped). I guess it's kind of like having customized version control for all my data..
Any ideas on how to do this?
I moved my php application to the new server. i use mysql5 db. When i'm Updating or Inserting something to db, every " and - sign changed to ?. I use SET NAMES UTF8 and SET CHARACTER SET but it don't work. Any ideas?
I have an object, 'Response' that has a property called 'submitter'. Submitters can be one of several different classes including Student, Teacher, etc...
I would like to be able to execute a criteria query where I select only responses submitted by teachers - so this means putting a class restriction on an associated entity. Any ideas on this? I'd like to stay away from direct SQL or HQL.
I'm using ExtJS on a registration page which should have no effect on this.
<form name="registerform" id="registerform" method="POST" action="registerProcess.php">
I have that form and the javascript
document.registerform.submit()
will not submit the form.... any ideas?
Hey guys! Any Alfresco experts out there?
I have created a document type in Alfresco and am trying to associate it with an image -- Somehow. I don't really mind how it's done - an image uploader in the metadata section when saving the actual document would be nice, but I can live with having to upload the image first and then associating it somehow with the document.
Any ideas..?