instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I am wanting to port my application to a web app.
The app should:
Be able to access the local hard drive
The data should be stored locally (in case of denial of service attacks to my web server).
Take advantage of the local CPU.
Run in any browser, in any OS
No plugins required.
Basically, I want an web app that will... | stackexchange/codereview |
I'm making an attempt to learn C++ over again, using Sams Teach Yourself C++ in 21 Days (6th ed.). I'm trying to work through it very thoroughly, making sure I understand each chapter (although I'm acquainted with C-syntax languages already).
Near the start of chapter 5 (Listing 5.2), a point is made about unsigned int... | stackexchange/codereview |
Can anyone clarify if Enterprise Library's Database object can be made static without any thread-safety issues?
| stackexchange/codereview |
I am using Android 2.2 (API Level 8). The camera is enabled in the manifest. When I try the camera icon provided by the emulator model, it runs for a few seconds showing a gray box moving around a black and white checkerboard, then dies with the error message:
Sorry! The application Camera (process
com.android.came... | stackexchange/codereview |
Is there a fast and efficient way of removing all children listeners etc from my app. If everything is contained in a display object on the stage called View? I have lots of dynamically called children and their listeners do not get removed when I remove the View they reside in.
public function _discard ():void
... | stackexchange/codereview |
I have a huge file made up of the characters "0", "1", "2", "3". No spaces, not anything else. Just these 4 characters. I have used bzip2 to compress it and the file decreased size from X to 0.05*X. I'd like to know what were the strings/patterns that bzip2 found to achieve that compressed version of the file (e.g. 012... | stackexchange/codereview |
Is there any way to query an excel 2010 spreadsheet, without using Jet or exporting as a CSV and querying the csv file.
The reason why I cannot use Jet is because the application needs to run as a web service, on Windows Server 2008 R2, with no 32 bit support - hence Jet will not work. This is a given, as WOW 64 is not... | stackexchange/codereview |
how can I dynamically generate a .jnlp file ? Is there a mime-type that needs to be specified for this extension ?
| stackexchange/codereview |
Been running into an issue lately with Facebook canvas iframe applications. I've set our settings to "auto-resize" and implemented the correct FB JS call to do the resizing of the height (to avoid unwanted scrollbars), but it doesn't seem to be working.
Has anyone else had this issue or come up with a solution?
Thanks!... | stackexchange/codereview |
I'm struggling to come up with a good way of adding a bidirectional relation in OO model. Let's say there is a Customer who can place many Orders, that is to say there is a one-to-many association between Customer and Order classes that need to be traversable in both directions: for a particular customer it should be p... | stackexchange/codereview |
I was wondering what the purpose of the function onSizeChanged() is while building custom components. I was going over the tic tac toe sample, and can't really seem to get why it is needed, and how the size of a view can change. Sorry if this is a stupid question :)
Thanks
| stackexchange/codereview |
I have a simple modal dialog that I developed on my own linux server, running php 5.3. The script (shown below) runs fine on my server. However, I moved it to my client's linux server and instead of echoing the text/html that it apparently is supposed to do, it echos ALL the actual php code from the > (greater than) ... | stackexchange/codereview |
I am trying to stream mp3 stream from my local http server indeed hosted on my phone to android media player.When local server gets the new socket , it starts writing some http headers followed by mp3 stream. but mediaplayer socket is throwing "Broken pipe" exception.Wat may be the issue causing this.
Thanks in advance... | stackexchange/codereview |
int main ()
{
struct bit{
char f1:1;
char f2:1;
};
struct bit b;
b.f1= 0x1;
b.f2 = 0x1;
printf("%d\n",b.f1);
return 0;
}
compiled using gcc the code outputs -1. Should it not be 1? Is it because I am compiling on a little endian machine?
Added:While debugging using GDB i see that the value... | stackexchange/codereview |
I have a table which have 4 fields.
Col1 Guid Primary-Key (FK to another table)
Col2 Guid Primary-Key (FK to another table)
Col3 Int Primary-Key
Col4 Int
Now i want to do this: when a new record inserted by user which have same value as a record exist before on the table like below:
There was this Record:
X Y Z 2
Ne... | stackexchange/codereview |
This one is a bit of a tricky one. I have a contents.xml file that references a host of other files. These other files use to be .xml, and have been altered to .dita, my question is how can i renames all the .xml file extensions to .dita? The file paths are a varying levels in the tree and have an inconsistent numbe... | stackexchange/codereview |
I'm writing an app which has a function asking users to type a filename into a BasicEditField on a PopupScreen. The app works fine with Blackberry Storm 2 -- both the simulator and a real device.
The problem is that the app doesn't work on a BlackBerry Torch -- neither the simulator nor a device. I can't enter text i... | stackexchange/codereview |
I need collapsible menu with first <ul> is opened and others are closed in jQuery
<div class="accordion" id="list1b">
<a href="/index.php/jstride/vehicle"> Rides</a><ul class="navigation">
<li>
<a class="menu_user_profile_ride_edit user_add_ride" href="/index.php/jstride/vehicle">Post My Ride</a>
</li>
<li>
... | stackexchange/codereview |
I know that TimeSpan's are immutable.
I have a object which contains a TimeSpan field. This field is updated frequently. Every time I update the object in the db, db4o updates the TimeSpan field. So far, so good.
But the old TimeSpan structs are remaining in the db, so the db grows and grows.
How can I prevent db4o for... | stackexchange/codereview |
I am trying to learn assembly for windows and see that there are 2 assemblers:
masm : https://www.microsoft.com/downloads/en/details.aspx?FamilyID=7a1c9da0-0510-44a2-b042-7ef370530c64
masm32 : http://masm32.com/index.htm
are these equivalent? which one should i choose to learn assembly for windows?
| stackexchange/codereview |
What structure to use when one needs
ordering of elements by key
ability to hold non-unique keys
Structure<Integer, String> struct = new Structure<Integer, String>;
struct.add(3,"...");
struct.add(1,"John");
struct.add(2,"Edwin");
struct.add(1,"Mary");
struct.toString() == {key-> value;} [1->"John",1->"Mary",2->"Edwin... | stackexchange/codereview |
I have used XML in the past, but it is very verbose and clunky. We are currently using YAML, but I am finding that most developers have alot of trouble with the whitespace. Is there a YAML like format that is whitespace insensitive, but not as verbose as XML?
| stackexchange/codereview |
I am trying to make an empty custom activity so that I can have comments in the workflow designer. I have an activity designer that does not do anything but has a text block so the comments can be added. What is the easiest way to get this into my workflow toolbox? I have an empty activity that is currently in the work... | stackexchange/codereview |
I've currently got the following foreach loop:
List<SearchResult> searchResults = new List<SearchResult>();
foreach (Transmission trans in Results)
{
searchResults.Add(new SearchResult(trans));
}
return searchResults;
And I'd like to convert this to a Linq expression, I've tried the following which looks like it a... | stackexchange/codereview |
I have a select that has several options. No empty option.
Before calling the trigger none of the options are selected, after it runs the first option is preselected, and I want that the select to stay as it was, no option selected
$("#selProduct").trigger('change');
How to fix this?
I still want to trigger the change... | stackexchange/codereview |
dbcc checkident (MyTable, NORESEED)
Will show the identity value in a message. I can't see the message as I need to select the identity value through a DataReader.
Anyone any ideas?
Thanks folks
| stackexchange/codereview |
I am searching for data flow diagram creator for Java source code. Please suggest me any tool for the same.
| stackexchange/codereview |
I need to change the order of the TabItem.
I've tried with Remove / Insert and it doesn't works.
void UserControl_Loaded(object sender, RoutedEventArgs e) {
if(condition) {
TabControl.Items.Remove(TabItem);
TabControl.Items.Insert(0, TabItem);
}
}
InvalidOperationException:
Element already has a logica... | stackexchange/codereview |
I have a lot of perl scripts that are on infinite loop running on my windows system. It is terribly inconvenient to have that many command prompts open not to mention the likelihood of closing them by mistake(strangely, they also seem to pause when I click on the prompt)
Is there someway I can handle this? Like maybe m... | stackexchange/codereview |
The following is my tables
table1
=========
id col1 col2
=====================================
1 firstrow firstrow2
2 secrow secrow2
table2
===========
id orignalvalue updatedvalue
===============================================
2 sec... | stackexchange/codereview |
Since GMail made it possible to import and export the mail filters, I'd like to manage the XML files that are exported from GMail using a PHP script, as there are some known issues with the number of characters in the search filters.
I've found the simplexml_load_file function in PHP, and have performed var_dump() agai... | stackexchange/codereview |
I have a class with an API that allows me to ask for objects until it throws an IndexOutOfBoundsException.
I want to wrap it into an iterator, to be able to write cleaner code. However, I need to catch the exception to stop iterating:
static IEnumerable<object> Iterator( ExAPI api ) {
try {
for( int i = 0; ... | stackexchange/codereview |
I would like to be able to keep two separate branches in a git repo that cannot accidentally be merged even though the branches may contain similar content.
Is there a trick for forcing a branch to remain separate in git? That is assuming I have branch A and branch B, something like git merge B //assuming A is checked... | stackexchange/codereview |
When I install my application onto a device or emulator it appears multiple times in the apps menu, in my case I get 4 icons showing my application name.
It seems that each icon is representing an activity, and since my application contains 3 tabs(with activities) the first 3 icons on my menu go to a particular activit... | stackexchange/codereview |
I'm making an application that your typical CRUD scenario. I also need to scan a document and save that image to disc.
I don't really need complex image manipulation, just a simple "call scanner to scan, catch the scanned image" approach.
What's the easiest way to accomplish this on a Windows Form .NET 3.5 c# applicati... | stackexchange/codereview |
Update
As nobody has still given a good enough answer, I will reformulate it:
How would I know within a shell script in Linux if there's support in the current bitmap font for a given unicode character?
That's it: not within gnome-terminal with its fancy TTF support and different charsets: the plain metal tty without X... | stackexchange/codereview |
I've learned a lot of programming language, and I think that Java or C# are most likely the best for getting a job, but I was wondering if I am correct in thinking this, or are there other popular languages I should know about?
| stackexchange/codereview |
On MacOS using Mono, when I list files and dirs with Directory.GetFiles() I get System.UnathorizedAcessException and it stops enumerating. Anyone knows how to make it continue or maybe a different approach to enum files
EDIT:
I wrote my own method, seems to work.
static void DirSearch(string sDir) {
try... | stackexchange/codereview |
I am trying to comsume a self-hosted WCF service which simply returns a String in JSON format. It takes a very long time around 2-3 minutes to get the response on Android Device, where as on any other computer it works fine. Could anyone help me on this? Thanks in Advance.
Below is my code to access the service.
try{
... | stackexchange/codereview |
I have a script, which has been causing me quite some issue today. :-) The script is apparently placing inline styles on the target element, but I can't find where they are defined.
So the script is a slider called EasySlider. It works quite nicely to display featured content in a slide fashion. However, the script is ... | stackexchange/codereview |
Is there a way to declare a skin inline in a Flex 4 MXML Component? If not inline in the component then in the declarations or library tag? Thx
| stackexchange/codereview |
What would be the best way to intercept multiple fields via PHP? Currently I have a login.php file which is pretty simple:
<form method="POST" action="auth.php">
Code:<br />
<input type="text" name="code" />
<input type="submit" id="submit" value="Submit" />
<br />
Pass:<br />
<input type="text" name="pass"... | stackexchange/codereview |
Question I've been given at the job interview. I was close to the solution but did not solve it unfortunately.
Assume we have a sequence that contains N numbers of type long. And we know for sure that among this sequence each number does occur exactly n times except for the one number that occurs exactly m times (0 < m... | stackexchange/codereview |
Experts,
I use ajaxFileUpload for my image upload. I created an API using codeigniter to do the image cropping and save the image to the server and return a xml response. I configure the ajaxFileupload to use the API and it works just fine in Firefox and other browsers but not in IE.
The ajaxFileUpload always returns s... | stackexchange/codereview |
I was writing an rspec test for the destroy action of my sessions controller (Authlogic 2.1.6). I can't puzzle out what method I should call, either on the user object or the session object to determine whether the session is still "alive" (that is, that the user is or is not logged in).
My first instinct was to use @... | stackexchange/codereview |
Im reading about Linq , and i came across this paragraph:
"In fact, when programming with .NET 3.5/C# 2008, you can (and will) certainly make direct use of ADO.NET, the XML namespaces, reflection services, and the various collection types. However, the basic problem is that each of these APIs is an island unto itself, ... | stackexchange/codereview |
I think I do understand "the basic IDEA" of move semantics, but now when I'm on the stage of implementing my own map I stopped and started to think about it when I was going to write a use case and walk through for move ctor of map. Correct me if I'm wrong but what I do understand how the whole business of move semanti... | stackexchange/codereview |
I have a simple form with a bunch of fields. each of them is required, and each has a different name:
city
state
when the form is submitted i check if each field is empty and add a unique message for each validation to the context like:
city is required
state is required
i cant simply use the required=true attribut... | stackexchange/codereview |
Is there any way to optimize the following line of C code (to avoid branching)?
if (i < -threshold || i > threshold) {
counter++;
}
All variables are 16-bit signed integers. An optimized version should be highly portable.
| stackexchange/codereview |
howdy - good morning Community!
i want to parse the site - and get the results out of it:
see this URL here - a swiss-server - head over to this site
where i want to loop over - see this page here - i want to access the sub-pages in order to get the information that is shown in the "detail-pages!"
therefore i need t... | stackexchange/codereview |
What plugin it is better to use for build swing interface using Eclipse?
| stackexchange/codereview |
I saw this post:
How can I highlight certain options in a HTML select using jQuery
which is similar to what I need to do, except a bit too complicated for my understanding. In the html body, I have a dynamically changing select form. The user can select multiple items from this form, and click a button ("Display") t... | stackexchange/codereview |
I am writing an Explorer extension for Vista and Windows 7. I read that if you are making a namespace extension you can provide your own commands using IExplorerCommandProvider. This is done in response to IShellFolder::CreateViewObject.
I am not writing a namespace extension, but a toolbar that lets you perform operat... | stackexchange/codereview |
I have been wondering how much content you should typically allow a CMS to manage, in particular reference to user-generated content. I am thinking specifically of Sitecore, since I have an upcoming project that will be written with it, but this could apply to any CMS really.
Say you had a typical e-commerce site, with... | stackexchange/codereview |
I don't understand the correct usage of menu.addIntentOptions()
| stackexchange/codereview |
I have a SQL Server DB that is about 13Gb with a 1.6Gb log file. When I back it up, however, it creates a 50Gb .bak file! Why is that?
I have read some commentary here about transaction logs, but my DB runs on my laptop and there is no DB activity during the time of the backup. (It only takes 5 minutes).
My backup t... | stackexchange/codereview |
When using the ArrayResolver, if I register multiple dependencies that implement the same interface and I have registered classes that depend on an array of these dependencies, one would expect ServiceOverrides to be respected and allow control over which dependencies are injected into the contructors. Instead, I have ... | stackexchange/codereview |
I'm creating a piece of software (written in C#, will be a windows application) and I ran into this problem-
I've got a set of variables, and I need to allow the user to define a wide range of mathematical functions on those variables.
But my users don't necessarily have to have any prior knowledge about programming.
T... | stackexchange/codereview |
I am learning algorithms and need you guys to help me. I am a beginner so forgive me if my question is not clear. Whiles am learning i am seeing something like NlogN, N^2 etc.. and something like that.
I don't really understand it clearly when it comes to checking the efficiency/performance of different algorithms usi... | stackexchange/codereview |
there are countless of examples how to wait until page fully loads after navigate event
but there are not even a single example how to wait until submit of click event fired next page fully loads
how can i achive this
what i want is after webBrowser1 click or submit (form) event fired how to wait next page (after click... | stackexchange/codereview |
I understand that it is possible to close a named branch in Mercurial, so that it will not appear in the hg branches list:
hg commit --close-branch -m 'close badbranch, this approach never worked'
Is it possible to later re-open the branch if need be?
| stackexchange/codereview |
I want to set a variable in a class. But I want to dynamically choose which variable to set.
In PHP :
<?PHP
class Foo {
var $Bar="Blah";
}
$ClassVar = new Foo();
$Variable = "Bar";
$ClassVar->$Variable = "Poo";
echo "Output : ".$ClassVar->Bar;
?>
Output : Poo
I want to do the same in VB.NET
| stackexchange/codereview |
How to create a script that checks if a website is down? something similar to http://downforeveryoneorjustme.com/
| stackexchange/codereview |
In the following code, I am trying to check if an int (converted to String) contains duplicate digits.
public static boolean hasDupes(int n)
{
String number = new String();
number = Integer.toString(n);
int digit = 0;
System.out.println(num.indexOf(digit));
System.out.println(num.lastIndexOf(digi... | stackexchange/codereview |
I need to create a sort of pie chart that has slices with differing radii - similar to:
http://www.andypope.info/charts/pieradius.htm.
I also want to overlay a second series on it, as a line.
The solution needs to be ASP.NET MVC-friendly - and I need to be able to associate "drill down" links with the slices.
If ther... | stackexchange/codereview |
I would like to know how to make a deep copy of an InputStream.
I know that it can be done with IOUtils packages, but I would like to avoid them if possible.
Does anyone know an alternate way?
| stackexchange/codereview |
Lets say i have this array of movie directors:
var directors = ['Woody Allen', 'Woody Allen', 'Clint Eastwood', 'Quentin Tarantino', 'Robert Rodriguez', 'Woody Allen', 'Steven Soderberg', 'Robert Rodriguez, Quentin Tarantino' ];
A PHP print_r of the aray would look like this:
Array
(
[0] => Woody Allen
[1] => ... | stackexchange/codereview |
I'm looking to allow users to filter a GridView (with its contents coming from a datasource) by typing in text, and the GridView should refresh without a postback to display only rows where a certain column matches the text.
I think I know to do this by causing a postback, thus a reselect from the datasource, but is th... | stackexchange/codereview |
I am planning to do an app on all Mobile Platform. I found Phone gap is a solution for write once deploy anywhere.
The app just have to talk to a webservice and display information in a grid layout grouped under categories.
Anyone who has developed apps in phone gap can share your views and thoughts on this.
Does phon... | stackexchange/codereview |
I am using ASP.NET 4.0 with C# (Visual Web Developer 2010 Express).
I have successfully managed to implement a simple GridView bound to a stored procedure data source using declarative ASP.NET code as shown here:
<asp:GridView
ID="grdTrades"
runat="server"
DataKeyNames="tradeId"
EnablePersistedSelec... | stackexchange/codereview |
I have a simple html form. The built-in HTML helpers are rendering. The markup is not created. What am I missing?
<asp:Content ID="Content5" ContentPlaceHolderID="IslandPlaceHolder" runat="server">
<%using (Html.BeginForm()){%>
<div id="manifest">Manifest Option: <%Html.DropDownList("docid",ViewData["manifests"] ... | stackexchange/codereview |
I'm using jcarousel and I'm loading in a large list of image thumbnails (200 - 600). The problem is that the while the page loads, the thumbnails show up on the page briefly, and then once they finish loading the jcarousel takes over and hides them. I'm wondering if there is a way to hide them from the get go.
| stackexchange/codereview |
In MS Access I need to bind text field to cell of the table (in report). How to do this?
| stackexchange/codereview |
So i'm writing this reentrant scanner with flex and i'm using the stack option to track state. According to the documentation, it seems that
yy_push_state(SCRIPT, yyscanner);
//now yy_top_state(yyscanner) == SCRIPT; should eval true right?
but when i put the following printf() immediately after yy_push_state()
print... | stackexchange/codereview |
I have an application that involves logging the status of up to 8000 devices every 1-2mins via a java application, and storing the deviceid, time, and status in a table in the database.
The next component of this application, is a PHP interface which displays the most recent status of these devices (ones that are assi... | stackexchange/codereview |
What if the result is not OK,
What can I use instead for RESULT_OK when the result is not oK?
| stackexchange/codereview |
Is there a way to make the line of code fall on to the next line automatically when it reaches the end of the screen. For me the text just keeps on going horizontally until I manually press the return key. I want this to happen automatically when the text reaches the end of the screen. Is there a way to do this?
| stackexchange/codereview |
I have have 2 DropDownList controls with CascadingDropDown
I need set data to the first dropdownlist on server side
if i do this, and when i get page on client side, the first DropDownList without data
that i set on server side
Thanks for any help
//client
<asp:DropDownList ID="ddlAjaxManufacturer" runat="server">
... | stackexchange/codereview |
Here is a nested select with include:
@items = Item.where("complete = ?", true).includes( :manufacturer, {:order=>[:supplier, :agent] })
This is a taxing query as it pulls 1000s of rows of data from all the above included tables.
How can I get the query to only select specific fields?
user.name, user.created_at
order... | stackexchange/codereview |
I have 3 questions to clarify my workflow of AIR apps:
Can I use Spark components when I'm making a game with Flash CS5?
Can I import SWC (created in Flash) in my AIR for Android projects when I'm using Flash Builder?
Can I load a full SWF game (created in Flash) in an AIR for Android app (example: Main menu of the ga... | stackexchange/codereview |
I'm trying to use PHP to create a script that searches all the days between now and one year's time and lists all the dates for Fridays and Saturdays. I was trying to use PHP's date() and mktime() functions but can't think of a way of doing this. Is it possible?
Thanks,
Ben
| stackexchange/codereview |
I have some HTML-text, where I need to replace words to links on them. For example, I have text with word "PHP", and want to replace it with <a href="glossary.html#php">PHP</a>. And there are many words that I need to replace.
My code:
public struct GlossaryReplace
{
public string word; // here the words, e.g. PHP
... | stackexchange/codereview |
I have this:
List<string> fields;
fields[0] = "firstFieldName";
fields[1] = "secondFieldName";
...
fields[n] = "nthFieldName";
I want to get this:
var selector = p => new {p.firstField, p.secondField, ..., p.nthFieldName}
// selector is of type Expression<Func<Entity, object>>
GoofBallLogic had this code that was s... | stackexchange/codereview |
I have a tabWidget in my application and I want to add icons near the titles.
how can I do it?
thanks!
| stackexchange/codereview |
i have an xml i load within my air app which looks like this:
<chapter title="hello" nr="111" src="">
<page>
<text>To adjust <br/><br/>. . .</text>
<text>To adjust <br/><br/>. . .</text>
</page>
</chapter>
when i trace or debug what is between the text element ... i get:
To adjust <br/>
<br/>
. . .";
Why do i get tho... | stackexchange/codereview |
in asp not asp.net how to change XML encoding from UTF-16 to UTF-8
my code write xml to string then i use
Response.ContentType = "text/xml"
response .write xmlstring
but encoding always come UTF-16 and miss some words
thanks in advance
| stackexchange/codereview |
I'll be building this in Google App Engine and I'll be Building it using Python.
What I'd like to do is have a template that holds each section. With the sections probably being header, sidebar, content and footer.
The way I would build it is so that I can call page.header(arg) and it will load the header that the arg... | stackexchange/codereview |
I have a project in Java that is pretty much done, except I need to make just a couple of more CRUD frames. Now the easiest way to do this would be through the NetBeans auto-code with a couple of clicks. I know how to do this when NetBeans gives me that option WHEN I MAKE A NEW PROJECT, but I don't know how to add CRUD... | stackexchange/codereview |
I have a Moose::Role that I would like to call some extra subs on the class when that role is applied to the class.
Is there an easy way to modify what happens when the role is applied, without having to dig too much into Moose::Meta::Role type coding? Ideally, I'd just like to after 'apply' => ... to add the extra st... | stackexchange/codereview |
In delphi, a method in TThread is terminate. It seems a subthread can not kill another thread by calling terminate or free.
For example
A(main form), B (a thread unit), C (another form).
B is sending data to main form and C (by calling syncronize), we tried to terminate B within C while B is executing by calling B.term... | stackexchange/codereview |
I have a v3 Google map being loaded exactly as I expect and the marker does what I intend. However when I change the zoom, the zoom_changed event that I have added does not appear to fire. Would anyone be able to shed any light on why? My code is below.
function map_initialise() {
var mapCentre = new google.maps.La... | stackexchange/codereview |
I would like to create an h264 or divx movie from frames that I generate in a python script in matplotlib. There are about 100k frames in this movie.
In examples on the web [eg. 1], I have only seen the method of saving each frame as a png and then running mencoder or ffmpeg on these files. In my case, saving each fram... | stackexchange/codereview |
So right now I have the code
$('[name=dept]').live('change',function() {
$('#course').load('getCla.php?dept='+$(this).val());
$('select.speedC').selectmenu({style:'dropdown',maxHeight: 250});
});
Basically, what it does is propagate a form select menu after a value is chosen. The problem is, the third line doesn't ha... | stackexchange/codereview |
My app requires from users to login with their twitter acount! I am using tardate oauth lib (from Paul Gallagher). That works fine. I wanna create an API for my website (actually the user authentication part). Twitter Basic Auth has been deprecated and now twitter uses twitter echo. If a user wants to upload a file vi... | stackexchange/codereview |
Does anybody know if it's there any way one can change the mode of an existing table in a HSQLDB? By default, all of them are in memory mode, but by the time, some of the became very huge and thus they eat all my (RAM) memory. I want to convert them to the "cached" mode, but I did not find any solution. However, it is ... | stackexchange/codereview |
So I've been getting this feeling that I should turn off lazy loading, for two reasons:
queries become non-atomic, so could result in concurrency errors.
me or another programmer could end up causing a huge performance impediment.
Of course, both of these problems can be avoided as long as we're careful, but it seems... | stackexchange/codereview |
I using a treeview in C#. everytime i scroll down, im getting lines all over the treeview.
any help?
Thank you in advanced.
Jad
| stackexchange/codereview |
What would be the best approach to create the function getMostFrequentlyOccurringItem() below?
//should return "paragraph"
echo getMostFrequentlyOccurringItem(array('line', 'paragraph', 'paragraph'));
//should return "line"
echo getMostFrequentlyOccurringItem(array('wholeNumber', 'line', 'line', 'line'));
//should re... | stackexchange/codereview |
I have a date string of the following format '%Y%m%d%H%M%S' for example '19981024103115'
and another string of the UTC local offset for example '+0100'
What's the best way in python to convert it to the GMT time
So the result will be '1998-10-24 09:31:15'
| stackexchange/codereview |
I have a NAS (Synology) and it is accessed via Windows. It works fine except for Subversion.
I get the same issues whether I use tortoiseSVN, svnadmin or visualSVN server and whether I access it via direct file access, http or svn protocols.
Simply, I can create a repository on my NAS and all files, etc. are created, b... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.