instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
What is the advantage of Sql numeric data type ( like numeric(10,2)). What is the difference between decimal and numeric? And also what is the type match in .net for numeric?
| stackexchange/codereview |
This should be trivial and obvious but I can't find any examples of this. (I'm certain that's because I'm just searching for the wrong words.)
I need to merge a file from the trunk of my repository down into a branch. The file is new in the trunk, and not yet in the branch; therefore, the normal way that I know to do a... | stackexchange/codereview |
My Table Data
ID Start_Time End_Time Count(10mins slot)? Count(20mins slot)?
1 9:00 AM 9:45 AM
2 9:10 AM 10:00 AM
I would like to find how many 10 mins.( like 9:00-9:10, 9:10-9:15 and so on..) and 20 mins. slots are available for each row
Dont know how to get this with a query, can any one ... | stackexchange/codereview |
I have a quick question about setting up the mappings between [Order Details], [Products] and [Orders] in the Northwind datbase.
[Order Details] has no primary key, and looks like this
[Order Details]
OrderId (int)
ProductId (int)
...
So my question is how do I (and can I) set up my OrderDetails class to work like thi... | stackexchange/codereview |
I have two tables in a database. Tablequestions, has two columns,ID and question. Table two answers has two columns question_ID and answer. In table answers there more than one answer pertaining to a question. So there are duplicate question_IDs. How do i display all questions from table questions with all the answ... | stackexchange/codereview |
There are several languages that implement tuple spaces: http://en.wikipedia.org/wiki/Tuple_space
Has anyone worked with tuple spaces in Erlang as a means of module communication/message passing for distributed computing; if so, what is your experience?
| stackexchange/codereview |
The setup: 2 web servers and a seperate state server
I have two production web servers in a load balanced configuration. The ASP.NET web app they host shares state (like a web farm) using this line in their web.configs:
<sessionState mode="StateServer" stateConnectionString="tcpip=9.9.9.9:42424" cookieless="false" time... | stackexchange/codereview |
Our development team has 14 small applications deployed to Tomcat 5.5 currently (moving to 6.0 shortly). I say small because the number of users for each app is low. I'm wondering what performance metrics and indicators I should be looking at to decide when it is time to introduce an additional application server.
... | stackexchange/codereview |
I've created a slider track that is draw on the actual background of my app and I've also drawn the UISlider thumb image. I know how to set the thumb image for the slider. But how do I hide the UISlider track?
| stackexchange/codereview |
First I know WebKit do not allow Make synchronous requests to SQLite database. And I'm start playing with it and tried to assign result to global variable "data". I still not sure if it's possible but want to ask you.
I'm created global object to store respond from DB
var data = {};
Here is DB class
var db = {
... | stackexchange/codereview |
I want to change the size of surface view at run time when it is changed to Landscape Mode?
Thanks in advance.
| stackexchange/codereview |
I'm using signtool.exe to digitally sign auto-generated downloadable content from C# calling the command line and then stream the file to the client browser. The problem is that while the signature seems ok on the web, the downloaded file seems to be lacking a segment of it. If you right click on the generated file on ... | stackexchange/codereview |
I have an access form in which i enter some values...here once i enter n goto next textbox i want to check if the quantity entered in the text box is less than a value from a field in some table. i saw the option validation rule but dont knw how to check with a table value...thanks in advance...
| stackexchange/codereview |
I'm fairly new to usercontrols. So far, I've found them quite useful for handling large amounts of repeating user input fields. However, I'm having a problem with prepopulating a dropdownlist in the control. I add a ddl to my ascx page then I bind the ddl and expose it:
protected void Page_Load(object sender, EventA... | stackexchange/codereview |
I need to create a file that has today's date in the file name. How can I get the date just as 20111110 and no slashes?
| stackexchange/codereview |
This is ASP.NET MVC 2. Basically, I call an action in a controller with an AJAX call and the action returns me a partial view (so, some HTML).
I have a jQuery UI dialog which I populate on AJAX call back function.
$('#JqUiDialog').html(htmlResult);
$('#JqUiDialog').dialog('open');
IE7 seems to render this properly (w... | stackexchange/codereview |
So I have some XAML like this:
<Trigger Property="ItemsControl.AlternationIndex" Value="2">
<Setter Property="Background" Value="Red"></Setter>
</Trigger>
How can I set the color Red, to something like 250 200 150? I tried Color 250 200 150, and 250 200 150, but doesn't work. Any ideas?
| stackexchange/codereview |
How can you disable an HTML text box without having the browser change the visual appearance of the textbox?
We disable with JQuery: $(".datepick").attr('readonly', 'readonly');
Works fine but in Firefox the text box appears with a grey background and a thick border. We want to prevent this from happening.
Reason we a... | stackexchange/codereview |
I want to list all pages in application and create instance of these pages programatically. If you have any idea about this please help. Thanks..
| stackexchange/codereview |
I just wanted to know what is the HTML5 itemscope attribute used for basically?
| stackexchange/codereview |
I'm writing a Powershell script that will extract a set of data files from a ZIP file and will then attach them to a server. I've written a function that takes care of the unzip and since I need to grab all of the files so that I know what I'm attaching I return that from the function:
function Unzip-Files
{
param(... | stackexchange/codereview |
I have a two tables cstomers and orders table.
These tables contain 20,000 records
What i need is i want to update the orders table with the customer_id based on the email.
Can i use subquery and php OR it can be accomplished using a single query and efficient method?
customers table
id email name
--------------... | stackexchange/codereview |
Hey. I came across Protobuf-net and it seems like a great serialization library to use. Is it possible to get this working on Windows Phone 7? I downloaded the MSI but it seems that the DLL cannot be referenced because it hasn't been created with the Windows Phone Runtime. Is there another DLL I should download to use ... | stackexchange/codereview |
I got strange behaviour when I added filter for attachment_fields_to_save, when I save the images, it does not want to save image metadata such as title, description and caption.
Why I need to add this filter? Because I have lots of custom sizes using this code:
add_image_size("imagesize-940x360", 940, 360, true);
And... | stackexchange/codereview |
I was using some code to try to count the number of processors in .NET 2.0:
internal static int GetNumberOfProcessors()
{
List<string> list = new List<string>();
ManagementClass mgmt = new ManagementClass("Win32_Processor");
foreach (ManagementObject obj in mgmt.GetInstances())
{
string item = o... | stackexchange/codereview |
I have a register ecx with value 0x01ABCDEF (hex value)
I want to acces just BYTE 2 (AB) in order to perform operations on it.
I have tried using cl or ch but those do not acces the right byte.
I tried doing:
mov bh, [ecx+2]
but it just errors out...
Thank you in advanced for your time and help!
| stackexchange/codereview |
I'm still learning Scala, but one thing I thought was interesting is that Scala blurs the line between methods and fields. For instance, I can build a class like this...
class MutableNumber(var value: Int)
The key here is that the var in the constructor-argument automatically allows me to use the 'value' field like a... | stackexchange/codereview |
I have 2 tables fun (master) and blk (slave).
sqlite> select * from fun;
id mod_id name freq
---------- ---------- ----------- ----------
1 1 adpcm_coder 99108
2 1 adpcm_decod 0
I want to count how many blk's there are for fun, so I... | stackexchange/codereview |
I have two Eclipse Projects where one is a Spring Project that is deployed on a server and the second is a normal Java Application.
If I change something on my server I always need to restart the server and then start the Java Application manually. Is it possible to start both with "one click"?
Also, is it possible tha... | stackexchange/codereview |
I'm looking for a way to easily embed any external binary data in a C/C++ application compiled by GCC.
A good example of what I'd like to do is handling shader code - I can just keep it in source files like const char* shader = "source here"; but that's extremely impractical.
I'd like the compiler to do it for me: upon... | stackexchange/codereview |
How can I statically link only a some specific libraries to my binary when linking with GCC?
gcc ... -static ... tries to statically link all the linked libraries, but I haven't got the static version of some of them (eg: libX11).
| stackexchange/codereview |
I would like to navigate to a record on a form by entering the records absolute position in a textbox. So far miserable failure. Can anyone tell me how to do this?
| stackexchange/codereview |
I'm using Oracle PL/SQL.
I have a timestamped table T, and I want to set a row's value for column A to be the same as that of the previous row, if they're sorted by columns B and Timestamp, provided that the timestamps are not different by more than 45 seconds.
In pseudocode, it's something like:
UPDATE T t_curr
SET ... | stackexchange/codereview |
I have an ItemsControl that is bound to a list of Objects.
I have an ItemTemplate set for the ItemsControl... and within the ItemTemplate I have a ListView, which I want to bind to another list of Objects.
How do I gain access to the ListView within the ItemsControl.ItemTemplate so that I can set it's DataContext to th... | stackexchange/codereview |
Hey guys, this question might be a little weird worded but I was looking to see if there was a way to add on to an executable. IE: I use the pandora one desktop application which works perfectly except it doesnt have global hotkeys. The hotkeys only work when the program is the active window. I was thinking of making s... | stackexchange/codereview |
I have a situation where I need to call a method1() in class B from A. When method1() is called it creates a new Thread say(MyThread) and starts it immediately. In my case I am calling method1() from two different places in the application. I dont want to create a new instance of this thread every time. Inside method1(... | stackexchange/codereview |
I need to be able to remove events attached to an element and all its children even when I don't know what these events are. All the events are attached using jquery.
| stackexchange/codereview |
I have a class with some functions like printf("hello main thread"); and printf("hello thread created inside class");. Each can theoreticaly use class variables. How to put one of that functions into thread? (C++ using Boost libraries)
| stackexchange/codereview |
We have a very sparse cube in SSAS. The size of the cube is only 50M bytes in MOLP storage. When writing your own MDX query, you can use NON EMPTY/NONEMPTY to suppress/filter out empty results. But we have a 3rd party tool (Cognos Analysis Studio) for our Business Users to run ad-hoc analysis against the cube. At first... | stackexchange/codereview |
i all,
In a previous question, I asked how to define a custom route to handle the following URL:
http://www.example.com/User/Profile/Edit/{userProfileID}
I have a User object and a UserProfile object, but only a UserController that I want to be able to use for actions on both objects. I already have a method in UserCo... | stackexchange/codereview |
In my rails3 app I've got an image gallery where:
gallery has many images
image belongs to gallery
I'm using carrierwave to upload images to S3.
My gallery page ('show' action) displays thumbnails for each image in that gallery.
I use colorbox to display the images modally when a user clicks on the thumbnail.
Quite of... | stackexchange/codereview |
Is there any way to directly access the stemmer used in the FORMSOF() option of a CONTAINS Full Text Search query so that it returns the stems/inflections of an input word, not just those derivations that exist in a search column.
For example, the query
SELECT * FROM dbo.MyDB WHERE contains(CHAR_COL,'FORMSOF(INFLECTION... | stackexchange/codereview |
I am writing an Android application that uses some functionality that has been published under the Apache 2.0 license. The functionality is available in 2 ways:
As java code
As an intent in an Android application.
Being the typical developer that I am, I don't want to make the user install a separate application so ... | stackexchange/codereview |
I want to develop a little os x widget which fetches data from an xml source and then displays the results.
My problem is I never used javascript XMLHttpRequest before and I'm not sure what I'm doing wrong.
To start my project I want to create a simple script which returns the response header and alert it.
I've trie... | stackexchange/codereview |
This new feature in google called google instant preview (where you click the magnifying glass) that shows a snapshot of the page doesn't produce any ajax request or such as far as firebug can see. How is that possible? Is there another magic way of retrieving content without using an XMLHttpRequest (ActiveX for for th... | stackexchange/codereview |
I have many constants I need to move around in one of my classes but I'm not allowed to use member variables. What are some options?
Here's my initial try:
private void MyConstants(out int textSize, out int paddingValue, out int borderType, ...)
{
//Set them here
}
private Method1()
{
int textSize = 0;
int paddi... | stackexchange/codereview |
So here's a strange one. I have this method to take a Base64-encoded deflated string and return the original data:
public static string Base64Decompress(string base64data)
{
byte[] b = Convert.FromBase64String(base64data);
using (var orig = new MemoryStream(b))
{
using (var inflate = new MemoryStre... | stackexchange/codereview |
I have a legacy application implemented as windows forms .net application. It allows to script it events (with vbs) but doesn't allow to improve it's UI.
Is it possible to inject some custom user controls into legacy application controls tree in order to communicate with them from script-abilities further?
p.s. lega... | stackexchange/codereview |
I've installed the following module - http://drupal.org/project/og_reg_keys This module adds an additional field to your Organic Group Node types, to allow auser to specify a registration key for users to use to join the group.
The problem is that field is not required to be entered by the user.How can one make this fi... | stackexchange/codereview |
I have an ItemsSold model which has the total number of magazines, books, videos, greeting_cards, pens sold for a single day. How do I elegantly return an array with the weekly sold totals for each item for the last arbitrary number of weeks?
I have a model file:
#items_sold.rb
class ItemsSold < ActiveRecord::Base
... | stackexchange/codereview |
| Windows 7 Ultimate | Visual Studio 2010 Professional | - Is it possible to write and test an iPhone/iPod touch application through Visual Studio 2010? If so, is there a template to do so? Thanks!
| stackexchange/codereview |
I am sending emails in a background job using ActionMailer. Users can create new email templates but they aren't recognized until the background job is restarted. Used to use
ActionView::TemplateFinder.reload!
which forced reloading of templates (now deprecated on 2.3.4). I have tried
ActionView::Base.cache_templ... | stackexchange/codereview |
I am receiving this error when Im trying to crop a image, I just uploaded. The image i just uploaded is around 3MB.
Here's the error
<br />
<b>Fatal error</b>: Out of memory (allocated 45088768) (tried to allocate 15552 bytes) <br />
And its happening when im trying to use this function: imagecreatefromjpeg($src);
I ... | stackexchange/codereview |
I want my primary key of my table in oracle to start with a letter. The primary key is a nvharchar. A possible primary key might be: S1, S291912873123, S123123123. How can I do this? Trigger? Any example?
| stackexchange/codereview |
I am having trouble getting the moues enter mouse leave functionality work. I know there is a .hover option I can take, I want to get the mouseenter/mouseleave working before i go up to that.
What i am seeing is, I have chrome opened up and am inspecting the img, it says that the src file is changing but i am not seei... | stackexchange/codereview |
I got the following scenario:
Process A create process B, and then B try to get a handle of A with OpenProcess(). I want B to have PROCESS_ALL_ACCESS rights to A.
How should I achieve this?
Thanks.
| stackexchange/codereview |
Working on a data warehouse, a suitable analogy for the problem is that we have Healthcare Practitioners. Healthcare Practitioners have a number of professional attributes and work in an open number of teams and in an open number of clinical areas.
For example, you may have a nurse who works in children's services acro... | stackexchange/codereview |
List<DTOeduevent> newList = new List<DTOeduevent>();
foreach (DTOeduevent e in eduList.FindAll(s =>
s.EventClassID.Equals(cla)
&& s.LocationID.Equals(loc)
&& s.EducatorID.Equals(edu)))
newList.Add(e);
cla, loc, edu can be (null or empty) or supplied with values--
basically how can I simply... | stackexchange/codereview |
Given this HTML:
<div>
<img id="image">
</div>
How do I get the image to go in the center of the div?
At the moment it is located in the top left of the div.
I tried
img#image
{
text-align:center;
}
But it made no difference.
| stackexchange/codereview |
Hi
Is it possible to invoke an Android App from a Web Page that i am displaying on the phone browser to the user. I know that this is possible from an another Android App using Intents. But i am not sure if this is possible from a WebPage.
Thanks in advance.
| stackexchange/codereview |
Let Os be a partially ordered set, and given any two objects O1 and O2 in Os, F(O1,O2) will return 1 if O1 is bigger than O2, -1 if O1 is smaller than O2, 2 if they are incomparable, and 0 if O1 is equal to O2.
I need to find the subset Mn of elements is Os that are the minimum. That is for each A in Mn, and for each B... | stackexchange/codereview |
I would like to have one model (event) that has multiple polymorphic HABTM associations to the same user model.
It should work something like this:
Event < ActiveRecord::Base
has_many :admin_users, :through => :event_users, :source => :userable, :source_type => 'User'
has_many :participating_users, :through ... | stackexchange/codereview |
I have a list of dictionaries, and I want to use it to create another list of dictionaries, slightly amended.
Here's what I want to do:
entries_expanded[:] = [{entry['id'], myfunction(entry['supplier'])} for entry in entries_expanded]
So I end up with another list of dictionaries, just with one entry altered.
The sy... | stackexchange/codereview |
This gives me all my articles that contain both the mentioned entities.
SELECT COUNT(ArticlesEntity.article_id) AS article_count
FROM articles_entities ArticlesEntity
WHERE ArticlesEntity.entity_id IN ('ENTITY_ID_1','ENTITY_ID_2')
GROUP BY ArticlesEntity.article_id
HAVING article_count>=2
I now want to add somethi... | stackexchange/codereview |
I've installed MySQL on Windows 7. When I'm trying to start MySQL service I'm getting error 1067: The process terminated unexpectedly. Log message:
101111 22:27:11 [Note] Plugin 'FEDERATED' is disabled.
C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Table 'mysql.plugin' doesn't exist
101111 22:27:11 [ERROR] Can't ... | stackexchange/codereview |
I'm running mediawiki on an apache on a regular pc running vista (don't know the specific specs, but a regular pc, one year old, nothing special).
Edit: I'm guessing something like duo core 2 2 giga hertz processor, broadband connection (500 kb/s at least) and most of the time the requests will be sent through LAN (but... | stackexchange/codereview |
My requirement is to create a diagram which can represent the object relationship which is stored in an xml.
For example
This needs to get translated as Class abc has a field which is xyz. This heirarchy can be multi level. and we need to represent
a) high level struturing of classes
b) contents of these c... | stackexchange/codereview |
I have created a custom field type (derived from SPFieldText) and added a custom property "MyProperty". Now what I am looking for is, I need to use this field type in my Content Type feature.
How can I specity my custom property within a Content Type definition file, just like what we do with OOB field types?
I've see... | stackexchange/codereview |
How can i apply jquery on all elements with same id attribute ?
i want to apply a focus() and blur() function on a textarea elements that have same id?
| stackexchange/codereview |
OK, I have to make a nim game and try to find the strategy to always win with the following nim game:
21 matches, player 1 and 2 each take 1, 2, 3, 4, or 5 matches each turn, and one cannot take the same amount of matches the previous player takes. Th eplayer wins if/when they take the last match.
I have to program som... | stackexchange/codereview |
I'm trying understand how to pass a parameter by reference in C language.
So I wrote this code to test the behavior of parameters passing:
#include <stdio.h>
#include <stdlib.h>
void alocar(int* n){
n = (int*) malloc( sizeof(int));
if( n == NULL )
exit(-1);
*n = 12;
printf("%d.\n", *n);
}
int main()
... | stackexchange/codereview |
I found this function in a plugin I'm trying:
$result = $wpdb->get_row("DESC $wpdb->comments comment_subscribe", ARRAY_A);
I thought the first argument in the get_row('SQL', ARRAY_A) was suppose to be a SQL query. Is the above "DESC $wpdb->comments comment_subscribe" a shorthand way to do a query in WordPress or somet... | stackexchange/codereview |
Since I need to place images along all 4 sides of the iPad, I assumed that I could use one of these methods to put the image's orientation 'up' relative to the respective side.
I'm relatively new to the iOS, but I read through the Apple doc. Because the Apple documentation seems to suggests that I could accomplish thi... | stackexchange/codereview |
I already have a pretty decent syntax highlighter in my Rich Edit control but I have one final problem before it is fully useful:
Whenever I run the syntax coloring it records those coloring actions in the undo buffer, which I do not really want. Is there any way to temporarily disable recording undo actions so that af... | stackexchange/codereview |
Possible Duplicate:
Scheduled run of stored procedure on SQL server
I have a stored procedure with the name transere_orders. I have to run it every day at 22:00
How can I set scheduled tasks with SQL Server 2005
Thank you
| stackexchange/codereview |
I wish to set a cookie that expires in 90 days using PHP, how could I do that? Thanks in advance.
| stackexchange/codereview |
Running SQL 2008 R2. This proc passed the validation in VS 2008 DB Project, but failed in management studio. Any idea?
CREATE PROCEDURE [dbo].[WRHS_chkBinTransferItem]
(
@BinFromID int,
@BarCodeNumber varchar(50),
@Count int,
@Message varchar(500) OUTPUT
)
AS
DECLARE
@LotTrackIND int,
@ItemID int,
@QtyAvail int... | stackexchange/codereview |
Is there a way to have multiple loop variables in a for statement? Here would be a hypothetical representation of what I'm talking about:
for (NSString *foo in bar;
NSString *bob in example) {}
If not what is a good way to accomplish this?
Thanks,
Kolin
| stackexchange/codereview |
var arg3:Vector.<String> = new Vector.<String>;
var rescJar:String = File.applicationDirectory.nativePath + "/java/test.jar";
arg3.push("-jar",rescJar,"-n "a string"");
"a string" contain 2 separate words.
| stackexchange/codereview |
Is there a straight forward CSS way to make the border of an element semi-transparent with something like this?
border-opacity: 0.7;
If not, does anyone have an idea how I could do so without using images?
| stackexchange/codereview |
I'm Using Visual Studio 2008. At
http://gotspeech.net/elearning/
Building Voice Workflows
Create Voice Response Application
it says to
open Visual Studio 2008, choose new
project c# and choose "speech"
but it doesn't appear ...
I installed the speech Server on an IIS and there Visual Studio is installed, too.
An... | stackexchange/codereview |
I have a ListBox that uses a custom control as the ListBox.ItemTemplate DataTemplate.
I guess my first question (and the rest are relevant) is how to you create unique names for the children in a listbox?
I ask because I am attempting to invoke a ListBox.Resource Storyboard from codebehind. The error I am getting is ... | stackexchange/codereview |
I hope/suspect this is easy, so I will ask here and make a fool out of my self if it is.
I have a foreach loop in my view, mind you this is a Razor view. I dont know if the ASP.NET View engine does the same... but it might. I want to flip a bool on each loop, but it does not see to let me. The view engine chokes to ... | stackexchange/codereview |
I'm developing a rails application with MYSQL and I've created a migration for adding indexes to tables.
Also I have a rake task that truncates some of the tables and writes data.
ActiveRecord::Base.connection.execute("TRUNCATE #{Model.table_name}")
Do I need to add indexes again after truncate ?
Thank you in advance ... | stackexchange/codereview |
I have the code
from struct import pack
self.data = {'SYNC' : 0x16, 'SOH' : 0x01,
'FnCode' : 0x55, 'pacingState' : 0,
'pacingMode' : 6, 'hysteresis' : 0,
'hysteresisInterval' : 300, 'lowrateInterval' : 1000,
'vPaceAmp' : 3500, 'vPaceWidth' : 4,... | stackexchange/codereview |
Considering my question "Should snapshot transaction isolation be avoided in client ADO.NET applications? then, what was its main purpose?",
what is the purpose/rationale/sense under SQL Azure Database rigid limitation:
"Both the READ_COMMITTED_SNAPSHOT and ALLOW_SNAPSHOT_ISOLATION database options are set to ON in ... | stackexchange/codereview |
Can anyone tell me why the positioning via offsets is not working for Internet explorer when it works perfectly fine for all other browsers? Thank you in advance.
<script type="text/javascript">
var waitTime = 0, blackout = new AC.Blackout('blackout', {
showOnce: false
});
if (nav... | stackexchange/codereview |
I am trying to create a Timer/TimerTask that will run the same day of every month. I can't schedule a repeating Timer because a month won't always be the same lenght of time.
So, here is my solution:
public class MyTask extends TimerTask {
public void run(){
//do process file stuff
if(scheduledE... | stackexchange/codereview |
I am using ActiveRecord's as_json integration with ActiveSupport::JSON to render custom output in my controllers. A basic setup I have in my model looks something like this:
def as_json(options = {})
{ :guid => id,
:title => title,
:body => body,
:date => created_at }
end
I want to take this setup a s... | stackexchange/codereview |
var dataset = {"read_data":[{"date":"2010\/11\/02 03:30:05","value":"2"},
{"date":"2010\/11\/02 03:30:06","value":"1"}]};
var append = {"read_data":[{"date":"2010\/11\/02 03:30:07","value":"3"},
{"date":"2010\/11\/02 03:30:08","value":"4"}]};
I have two data ... | stackexchange/codereview |
Here is the scenario I want to fix for a commerce store:
Site admin logs in, creates orders for users, creates payments and/or applies credits on orders for users.
Watchdog logs all of this, but as the admin user, when we need it to be as the customer user the action is taken against (so we can list out on that persons... | stackexchange/codereview |
I've got a ManyToMany Relationship with composite key between a User and a Group in JPA EclipseLink. My Implementation looks like that:
User Class:
@Entity
@Table(name="mbm_user")
public class User extends CanAccessBook{
@Id @GeneratedValue(strategy=GenerationType.IDENTITY)
@Column(nullable = false)
private Long id;
... | stackexchange/codereview |
I'm looking for a SIP client on Linux which I could control through a pipe, or a high level library to incorporate one in my software.
I tried Linphone, which is quite good, but seems to have some instabilities, as dropping sound when talking with an Asterisk server.
I'm currently looking at OpalVoip, but I thought I'd... | stackexchange/codereview |
How can I view the page headers sent by the current page I'm viewing in Firebug ?
| stackexchange/codereview |
where is the drupal global variable in ,it's say in developer/global.php.but in drupal install file,i can't find this file. what's the difference of the global variable and the avariable variables in page.tpl.php and node.tpl.php...... where is the declaration of the template avariable variables in.thank you
| stackexchange/codereview |
IE has a limit of 31 style sheets (there are ways around that) but is there a limit to how many javascript files i can include? if i go above it, what happens?
i've got a page now with 40+ included js files.
| stackexchange/codereview |
i will take either python of c# solution
i have about 200 numbers:
19.16
98.48
20.65
122.08
26.16
125.83
473.33
125.92
3,981.21
16.81
100.00
43.58
54.19
19.83
3,850.97
20.83
20.83
86.81
37.71
36.33
6,619.42
264.53
...
...
i know that in this set of numbers, there is a combi... | stackexchange/codereview |
I've been converting to version 3 of the Google maps API, and keep getting an error returned when I call directionsService.route(). The map renders fine, but in Firebug I see that google throws the error "a is undefined (main.js line 16)".
Here's the relevant code:
self.gmap = new google.maps.Map(document.getElementBy... | stackexchange/codereview |
How can I use jquery on the client side to substring "nameGorge" and remove "name" so it outputs just "Gorge"?
var name = "nameGorge"; //output Gorge
| stackexchange/codereview |
I am trying to download a list of movie titles, dates and length from this website http://www.fancast.com/movies The code that I have is:
// used to build entire input
StringBuilder sb = new StringBuilder();
// used on each read operation
byte[] buf = new byte[8192];
// prepare the web... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.