instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
I have read that using fulltext searching is faster then using LIKE %%. I have updated my script but it always seems to always have 0 results.
SELECT *,
MATCH(pages) AGAINST('doodle') AS score
FROM books
WHERE MATCH(pages) AGAINST('doodle')
ORDER BY score DESC
The $keyword is longer then 4 chars and I have index the ... | stackexchange/codereview |
In the following JQuery UI widget the author has used extend to include two more functions in $.ui.autocomplete, why? Is this a JQuery specific pattern or is it something I could be considering in plain JS?
$.extend( $.ui.autocomplete, {
escapeRegex: function( value ) {
return value.replace(/[-[\]{}()*+?.,\\^$|#\s]... | stackexchange/codereview |
Is it possible to access an object that is used by ObjectDataSource to retrieve records? For example,
<asp:ObjectDataSource ID="MyDS" runat="server"
SelectMethod="getUsers"
TypeName="DataSources.UserDS"
SelectCountMethod = "getUserNum"/>... </asp:ObjectDataSource>
UserDS class has getUsers that returns D... | stackexchange/codereview |
I have a UserControl where I'd like to have some parameters of customization "radius"(double) and "contentSource" (string[]).
My UserControl is composed of a few nested controls:
<UserControl ...>
<Grid>
<my:Menu ...>
<my:Button>
</my:Button>
<my:Button>
</my:Button>
<my:Butt... | stackexchange/codereview |
I was trying to change a line of schema.rb (t.string must become t.text) but I can't change it directly through the file because when I use rake db:migrate the changes revert on the previous state.
How can I change that string?
EDIT: If I didn't misunderstood something, I must edit the file inside db/migrate. In my cas... | stackexchange/codereview |
Do files in /proc/PID directory (including /proc/PID ) have their own proc_dir_entry instance?
As I known, each normal file in /proc including /proc has their proc_dir_entry instance.
(The instance address is stored in proc_inode.pde.)
After surfing the procfs source code in Linux 2.6.11, seems that the kernel doesn't ... | stackexchange/codereview |
How can I read data from motherboard sensors in C#?
I mean: CPU temperature, GPU temperature, fan speeds, CPU and GPU usage, etc.
I have Asus P5LD2-X/1333 and Nvidia GTS 250 1024.
| stackexchange/codereview |
i want to make Mysql Database converter that can obtain the data from Database A to database B.
both database have same table and column.
how i can make them using c#.
are anyone show me flow or how i can do it
| stackexchange/codereview |
how o write vb code which can except parameter at runtime
ex. My exe is "readfile.exe" and if i want to give file name rom command line the command to be executed will be
readfile.exe filename
it should take the file name parameter and perform the action
| stackexchange/codereview |
I can't seem to be able to convert a string that contains date value of "100714 0700" (2010-07-14 7am) to a date format in vb.net 2005
When I attempt to do:
Dim provider As Globalization.CultureInfo = Globalization.CultureInfo.InvariantCulture
strPickupDateTime = DateTime.ParseExact(txtPickupDate.Te... | stackexchange/codereview |
Hi
How can I return an array from a database call.
in this format: ["141", "138", "123", "128", "137", "139"]
| stackexchange/codereview |
We have a problem at the place that I work with referencing multiple projects in our code. Basically, we have a product, which I'll call Leviathan. This project has quite a number of other versions, each of which we maintain as separate projects in Eclipse. As developers, we typically have multiple projects (multipl... | stackexchange/codereview |
This might seem a very stupid question but things are pretty complex for me ever since i start my new job.
In my earlier carrier as jr. software developer, the applications that i have worked on mainly consisted of Hibernate, Spring and UI (JSF, YUI etc). The app i am working on now is huge, running on BeaWebLogic serv... | stackexchange/codereview |
I have the following form working just fine in Chrome, but doesn't seem to work in Firefox. Some google searches have informed me that its a cross domain issue. I couldn't figure out how to fix it though?
Also, I did try sending it to local php file which would redirect to the cross domain URL with the variables, but t... | stackexchange/codereview |
I'm trying to pass messages between 2 threads using a queue, but I haven't gotten any results so far. When I print the contents of the message after it's received and before it's sent, it only seems to keep its value within the tread. I need to implement it with 1 server thread and multiple client threads, but for now ... | stackexchange/codereview |
I'm displaying some data by using SQLite. When I click on one button data come from database. It takes some time. At that time the screen is black. At that time I want to display the rotating spinner before the data dispay. Any ideas?
| stackexchange/codereview |
I am trying to parse following xml using tbxml library -
<?xml version="1.0" encoding="UTF-8"?>
<REPLY replyCode="Success" >
<TRACK track_id="1302234" track_mp3="74-Ruff_Ryders_feat_Sheek_Louch_and_Big_Pun_-_Piña_Colada.mp3"></TRACK>
</REPLY>
But when I tried to create TBXML object the app is crashing I think thi... | stackexchange/codereview |
MySQL is giving me grief when I try to recreate a particular table in a particular database; I believe the problem is that somewhere MySQL has some records of the table's foreign keys and keeps trying to check the constraint when I try to recreate the table.
The database in question is for the test environment and is p... | stackexchange/codereview |
I'm looking for a technique that isn't obnoxious like most that I've seen, that will temporarily raise attention to a small notification passage.
I've been clunking around with adding and taking away classes and wrapper divs, without much success thus far.
Suggestions appreciated.
| stackexchange/codereview |
how to write this linq query in expression tree syntax
from x in 100.To(999)
from y in 100.To(999)
let product = x * y
where product.IsEven()
select product
| stackexchange/codereview |
Because I'm a programmer who likes clear, concise and less error-prone code, I always assign my variables a default value before they are used; I'm sure we all know why this is a good idea.
The one case that I find extremely annoying however, is when it comes to pre-setting variables that are meant to hold objects. I ... | stackexchange/codereview |
I'm trying to reduce code and simplify somethings by having a reusable method for making async ajax calls. I'm actually switching to YUI 3 from jQuery and cleaning stuff up in the process. This is probably super easy for you javascript guys to spot, but I've been trying to figure out how I can get my callback called ... | stackexchange/codereview |
Can someone recommend a library for calculating SHA1WithRSAEncryption in Python?
Context: I'm trying to do some message authentication. I've looked at PyXMLDSig, but it seemed to expect the certificates as separate files. As a first step to better understanding the problem space, I wanted to calculate the digest values... | stackexchange/codereview |
I go back and forth about how to name activity classes. Activity seems to imply a verb, like EditContact, for example. But that seems more like what one would call the Intent that triggers EditContact. Should the activity be named ContactEditor instead?
| stackexchange/codereview |
We are evaluating Jira and would like to login into it using Integrated Windows Authentication or NTLM (i.e. automatic logon without providing username and password, by using the domain user).
We have Jira 4.1.2 installed on a Tomcat 6.0.29, with Tomcat fronted by IIS 7.
When a user accesses the application, he first g... | stackexchange/codereview |
I want to make library classes in Java and use them in my future programs. I want these library classes to find prime numbers upto a certain number or even the next prime number or you can say solve most of the basic things related to prime numbers.
I have never made a Java Library Class. I aim to learn that doing thi... | stackexchange/codereview |
I would like to display gif in my WP7 application.
Is there some way to achieve this ?
I've tryed this one http://imagetools.codeplex.com/ but can't make it working with WP7.
Thanks in advance for any help
| stackexchange/codereview |
I see scheduler like feature in salesforce but it is somewhat tied with existing features that salesforce provide and no sample source code is provided as far as my research goes.
What I want to do is to create my own scheduler that sends simple email based on date.
Goal:
Custom Object Player has fields
startDate : da... | stackexchange/codereview |
So I implemented my own form of Enum static classes so I can associate strings to enumeration values. One of the shared functions in each enum class, GetValue, is used to quickly look up the string value from an internal array via the offset. While all of the enum classes implement the same exact function, the data t... | stackexchange/codereview |
I'm working with recursion trying to become better at with it. My current activity is trying to program a recursive method that generates the maximum number of events one could schedule. Heres my method so far:
public int maxEvents(int n, int[] Start) {
if(n<=0) return 0;
if(n==1) return 1;
else return maxEvent... | stackexchange/codereview |
All the information I could find regarding generating RSS feeds gives examples where an indeterminate number of items is returned.
That doesn't seem too practical, especially if I have a ton of entries and a ton of clients idly polling the feed.
Is there a magic number for how many items I should return? Should I just ... | stackexchange/codereview |
Take for example the following:
Project *project = [[Project alloc] init];
project.title = @"MyProject";
project.field = @"SomeOtherField";
I want to set a flag whenever a property is changed. Is there any way this can be done when the property changed is done via dot syntax?
I could just overwrite
- (void) setValue:(... | stackexchange/codereview |
I cannot figure out how to translate model data in Rails (3.0.1) with I18n.
Example Situation:
I have a form where a registrant selects their sport. The sport select is a dropdown populated by calling:
Sport.all.collect{ |s| [s.name, s.id]}
I'm tempted to naively write:
Sport.all.collect{ |s| [t(s.name), s.id]}
But I... | stackexchange/codereview |
I'm trying to use the following switch statement in an ajax success callback:
success: function(datain) {
switch (datain)
{
case "ERROR. No ID. Try again":
$(".errors").append('There was an error.');
... | stackexchange/codereview |
I have been looking for an advanced levenshtein distance algorithm, and the best I have found so far is O(n*m) where n and m are the lengths of the two strings. The reason why the algorithm is at this scale is because of space, not time, with the creation of a matrix of the two strings such as this one:
Is there a pub... | stackexchange/codereview |
I have a flash banner in my website and it has some navigation links on it .
Because I have several different folders in my website I need address them from the root .
At the moment i use getUrl like this :
getURL("ArticleList/Default.aspx");
But it doesn't work .
Thanks in advance
| stackexchange/codereview |
From the examples below showing the loading of a DropDownList in ASP.NET which method is preferred and why?
Method 1:
Build an array of ListItem objects loaded with entity information and use the DropDownList.Items.AddRange method to load the list.
Method 2:
Build a BindableList<T> collection of entity objects and use ... | stackexchange/codereview |
One of my problem is of changing the format of chronometer in android.
i have the problem that chronometer shows its time in 00:00 format and i want it to come in 00:00:00 format.does anyone knows the answer?
| stackexchange/codereview |
hey guys, recently i worked on Repository Pattern in aspnet MVC and i was just wondering that,i mean how many different patterns are out there (i.e alternative to Repository Pattern)? please i need small explanation of each Patterns available..? and among all those Patterns what you'll recommend me to go for?
| stackexchange/codereview |
Followed instructions on Railscast but can't get server to start. It states the following error:
$ rails s
script/rails:6:in `require': no such file to load -- rails/commands (LoadError)`
from script/rails:6:in `<main>'
Saw the answer on this related question but my Gemfile has no reference to any rails 2.x version a... | stackexchange/codereview |
<jsp plugin> no works for me? anyway to include applet in JSF ?
| stackexchange/codereview |
This is the batch script I use to make the folders for a new client:
@ECHO OFF
SET /p clientLast=Enter Client's Last Name:
SET /p clientFirst=Enter Client's First Name:
ECHO Making Folders...
MKDIR "%clientLast%, %clientFirst%"
MKDIR "%clientLast%, %clientFirst%"\Budget
MKDIR "%clientLast%, %clientFirst%"\"Business ... | stackexchange/codereview |
For what reasons would I want to make my project an OSGI bundle as opposed to just a standard JAR package? Does it only make sense if it is going to be used by an application that uses an OSGI framework (eg: Equinox/Eclipse)? Or is it also useful from a development point of view, ie: being able to easily reuse my OSGI ... | stackexchange/codereview |
Possible Duplicate:
What's the difference between IEnumerable and Array, IList and List?
What's the difference between the above two?
| stackexchange/codereview |
I want to allow users only to type certain characters based on the a regex in my android applications. How do I achieve it?
| stackexchange/codereview |
How do I convert an array to a hash set ?
string[] BlockedList = BlockList.Split(new char[] { ';' },
StringSplitOptions.RemoveEmptyEntries);
I need to convert this list to a hashset.
| stackexchange/codereview |
I wrote this code for alert message shown to user when they uncheck the checkbox. It only woks when I mouse key is realized with in the checkbox. If user click the checkbox and release out of the checkbox it allow user to uncheck the checkbox and doesn't shows alert message. How can I solve this bug?
public void mou... | stackexchange/codereview |
I have a requirement to use a plug in model where I need to allow types of ITask to be created by structuremap but where I only have a string of the type name at runtime. These types need to use Ctor injection to be composed, so I can't build up an existing type.
Also, I don't want to get all types and then query the t... | stackexchange/codereview |
Is there a way to transfer big files using webservice api in wordpress or php?
| stackexchange/codereview |
we're defining some C++ coding style guidelines based on these guidelines. Number 8 says "Names representing template types should be a single uppercase letter." Explanation: "Common practice in the C++ development community. This makes template names stand out relative to all other names used."
Is it really that commo... | stackexchange/codereview |
Hi all i am having a text file which consists of some data and each and every line in that particular is fixed to 94. Now when the user opened the particular text file and if my condition satisfies i will show it to datagridview. But when displaying to datagridview even the length of each and every line is 94 the conte... | stackexchange/codereview |
I have three similar classes responsible for displaying swing frame with various components. They all are composed with JFrame and contain the same duplicating setRandomLocation() method. In order to get rid of it, what should I do?
Stay with preferred-by-everyone composition and create some Util class with getRandom... | stackexchange/codereview |
I am running a small online-community. It's all self coded and not a common CMS... After a few years I learned a lot and had to realize that I made many mistakes in the beginnings. Thats why I am planning a relaunch of the whole project, hoping to learn even more but also hoping to port most of code and the database.
T... | stackexchange/codereview |
Group Validation of Two DateTime Picker Using Javascript in asp.net
| stackexchange/codereview |
I'm using a DocumentViewer to view a FixedDocument and on 2 machines (out of over 500) the document viewer does not show the document.
Edit: ok, it's not a bug in WPF and the DocumentViewer control works perfectly, I'm leaving this question unchanged in case someone else hits the same problem, see my answer for the sol... | stackexchange/codereview |
I want to create a MySQL database with one column containing a list(variable in size for different entries). I also have to allow entries to be added to that list later.
What is the way to do this ?
| stackexchange/codereview |
I have an NSView as the document of an NSScrollView. I would like to have a few pixels of padding at the top and bottom of the visible part of the view, regardless of where the scroller is positioned (not just at the top and bottom of the document as described here). For an example of an app that does this, look at Ter... | stackexchange/codereview |
I have a QTreeView in which I wish to filter the contents. I only wish to filter these contents on the top level children (the ones immediately below the root index). Currently I am accomplishing this by creating a simple filtering method in my QTreeView subclass and selectively hiding those rows that do not match.
W... | stackexchange/codereview |
I have written matlab codes for two different block matching algorithms, extensive search and three step search, but i am not sure how i can check whether i am getting the correct results. Is there any standard way to check these or any standard code which i can run and compare my result with.I read somewhere that JM s... | stackexchange/codereview |
please refer to the link
why does the value of session variable remain even after all the code of destruction?
in the above the problem is that login function made by me fails, as the browser is displaying the cached version of the page, which also I DO NOT KNOW WHY is capable of performing all the functions for a cert... | stackexchange/codereview |
I have a table:
ID,
ParentID,
Code,
Caption1,
Caption2
ID - atribute usage = key; namecolumn = Caption1
ParentID - atribute usage = parent
Code - atribute usage = regular
Caption1 - atribute usage = regular
Caption2 - atribute usage = regular
When I browse the dimension parentid it shows in hierarhical way based on Cap... | stackexchange/codereview |
The reinterpret_cast as we know can cast any pointer type to any another pointer type. The question I want to ask regarding this cast operator are:
How does reinterpret_cast work, What is the magic(the internal implementation) that allows reinterpret_cast to work?
How to ensure safety when using reinterpret_cast? As f... | stackexchange/codereview |
How to call the Ajax ready states on the jQuery $.ajax method?
| stackexchange/codereview |
I'm trying to get an image to swap on the click event of a div class using jQuery .attr from the original image source location of "Images/origImage" to a new image source location of "Images/newImage"
When I click in the div the image Url property does change if right click on image and view the Address (URL) property... | stackexchange/codereview |
Many Java frameworks allow class members used for injection to be declared non-public. For example, injected variables in Spring and EJB 3 may be private. JPA allows properties of a persistent class to be protected or package-private.
We know it's better to declare methods non-public if you can. That being said, if I'm... | stackexchange/codereview |
in my context:
var parserManager:ParserManager = injector.instantiate(ParserManager);
parserManager.injector = injector;
injector.mapValue(ParserManager, parserManager);
in my parserManager(doesn't extend any other class) class:
public var injector:IInjector;
the parserManager is injected in some models.
Is there a ... | stackexchange/codereview |
I want to link the time on the iphone such as midnight to change the text of a UILabel to something else anyone help out?
Ive looked through the NSTimer and found nothing that works any help?
| stackexchange/codereview |
Stick with me. I'm visually impaired, have never used this site before, and will probably not post this in precisely the format that you are all used to. I apologize for any unintentional faux pas's herein.
Using Objective-C in an iOS project…
I have a singleton class, set up in what appears to be the usual way for Obj... | stackexchange/codereview |
I need to use WCF tracing in my application but it needs to be controlled from code as much as possible.
IT was suggested that I install the following sections in my app.config file:
<configuration>
<system.serviceModel>
<diagnostics>
<messageLogging
maxMessagesToLog="100"
logEntireMessage="... | stackexchange/codereview |
I am having some problem when using linq and lambda expression. I have an object of Type Trip.
`
List<Trip> trip = newTrips.Select(x=>x).ToList();
IEnumerable<Trip> data = trip.GroupBy(y=> new {
y.StartingNode,
y.EndingNode,
y.PathNum... | stackexchange/codereview |
I wonder whether there is a way using awk to number the lines according to a field. For example,
Input
2334 332
2334 546
2334 675
7890 222
7890 134
234 45
.
.
.
Based on the 1st field, I would have the following output
Output
1 2334 332
1 2334 546
1 2334 675
2 7890 222
2 7890 134
3 234 45
.
.
.
I would be grateful... | stackexchange/codereview |
I have a TraceSource object that I use to log the initialization of a VB.Net application. It has several TraceListeners attached:
ConsoleTraceListener
TextWriterTraceListener
EventLogTraceListener
For the first two I want the entry output to be "raw" - that is, without the standard header:
SourceName TraceEventType:... | stackexchange/codereview |
Different question, so different thread ;)
How can I get the facebook feed for a user? If I access /me/feed I only seem to get feed items from me and not from all the friends who posted, or the feed from their wall for that matter. I'm trying to get everything I can normally see on my wall - only further back.
| stackexchange/codereview |
I've seen \s++ but I'm not sure what it means. Could you please use an example? (\s means white space)
| stackexchange/codereview |
I'm doing a personal page in which I have to include some kind of tooltip in css like this
<a class="info" href="#">link<span>Your tooltip text here</span></a>
The css part:
a.info{
position:relative;
z-index:24;
color:#000;
text-decoration:none
}
a.info:hover{
z-index:25;
background-color: #F... | stackexchange/codereview |
In my current project we have directory with all of our third party (jQuery, dataTables, etc...) javascript files in it. A few times now we have had some developers alter these files thinking that is the only way to accomplish their tasks (they were mistaken but didn't have the experience to know it) and this has led ... | stackexchange/codereview |
When creating a table in PostgreSQL, default constraint names will assigned if not provided:
CREATE TABLE example (
a integer,
b integer,
UNIQUE (a, b)
);
But using ALTER TABLE to add a constraint it seems a name is mandatory:
ALTER TABLE example ADD CONSTRAINT my_explicit_constraint_name UNIQUE (a, b);
T... | stackexchange/codereview |
I must be doing something completely wrong, but the default value isn't getting set for the following ExtJs form:
var simple = new Ext.FormPanel({
labelWidth: 75, // label settings here cascade unless overridden
frame:true,
title: 'Edit User',
bodyStyle:'padding:5px 5px 0',
width... | stackexchange/codereview |
When running on droid X my app does not show buttons that are written in xml. I only found this after releasing my app and users reported it. This XML code does not appear on Droid X. Any ideas?
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:o... | stackexchange/codereview |
I've got some problem with sql-query I can't solve.
I have 2 tables:
players: id, name
games: id, name, player1_id, player2_id, winner_id
Now I want to get total amount of games and wins for each player.
Currently I'm doing it with sub-selects:
SELECT player.name AS name,
(SELECT COUNT(id) FROM replays AS replay WHER... | stackexchange/codereview |
I am writing the code
#include<sstream>
#include<iostream>
using namespace std;
int main(){
strstream temp;
int t =10;
temp>>10;
string tt ="testing"+temp.str();
Have a problem, it does not work at all for the temp variable, just get in result only string testing without 10 in the end?
}
| stackexchange/codereview |
I have a class within an Activity called Pdj . . .
private class ButtonListener implements View.OnClickListener {
public void onClick(View v) {
ListView myListView = (ListView)findViewById(R.id.pdjListView);
EditText screen2EditText = (EditText)findViewById(R.id.pdjEditText); ... | stackexchange/codereview |
Does a color transparency give us a new color? for example - If a color is made to be 50% opaque, would that make a new color or would it be just 50% transparent of original color?
| stackexchange/codereview |
In Objective-C, is there a way to get a class and send messages to it when you have the name of the class as a string? For example, is there a function func where func(@"NSString") == [NSString class]?
The reason that I want to know this is I am building a dynamic linker library for a language I am working on, and I wa... | stackexchange/codereview |
I have the following DB structure, and I need to create the relevant nHibernate Mapping files. The problem I am having is one-one, many-one and bag mappings. My current mapping data is also below, any help is appreciated to figure it out.
FABMatrix
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:... | stackexchange/codereview |
I have 2 questions
1) how do I i invoke a unix shell from a java.runtime library to run a command like this
Process p = Runtime.getRuntime().exec(commands);
cat alias > bias
2) How can I read and write to a unix pipe a steady stream of data from java.
Do i have to make all the system calls like open read write to a p... | stackexchange/codereview |
I am using gawk on a windows computer with cygwin.
What i am trying to do is find min and max from three columns, two are lat and lon and the third column is the value.
This is the code:
echo off
for /f "tokens=1,2,3 delims= " %%a in
('gawk "BEGIN {maxc = 0} {maxlo=0} {maxla=0}
{if ($3>maxc) maxc=$... | stackexchange/codereview |
For some reason, whenever I try to codesign in xcode, I am getting this error
(path to app): The operation was cancelled by the user.
Command /usr/bin/codesign failed with exit code 1
| stackexchange/codereview |
I have just added routing in a new asp.net 4 web forms application, and have got my route table set up ok and page requests are working fine.
What I now want to do is use the Page.GetRouteUrl method whenever I need to generate one of my seo friendly Url's. I started to implement this across various pages then thought i... | stackexchange/codereview |
I want to pop up a new browser according to the url provided, for which I am using javascript's window.open function. But, what I really want is to examine the new window popped up and change the url of it and redirect to a different site. This is how I tried to do it,
<script type="text/javascript" language="javascrip... | stackexchange/codereview |
I thought I was fairly good with C++, it turns out that I'm not. A previous question I asked: C++ const lvalue references had the following code in one of the answers:
#include <iostream>
using namespace std;
int& GenX(bool reset)
{
static int* x = new int;
*x = 100;
if (reset)
{
delete x;
... | stackexchange/codereview |
I would like some confirmation before looking into the APIs deeply. Does Game Center let developers build an app so users can connect and interact with each other seamlessly ?
I mean, if I wanted to build a simple game, like a multiplayer quizz. I want people to look for each other on game center, go to a "game room" a... | stackexchange/codereview |
Disclaimer & Long Winding Question Approaching
I know topics like this have been beaten to death here so suffice to say I'm not asking about which framework is better, I don't really care about opinions on the better framework. They all do pretty amazing things.
The Question
Given that I have an existing web applicatio... | stackexchange/codereview |
How do I determine the update site/source of an installed Eclipse plugin?
For example, in one of my development versions of Eclipse I have the plugin org.hamcrest.library. From Help - About Eclipse - Installation Details - Plug-ins I can determine that the provider is Eclipse.org, but is it possible to determine the f... | stackexchange/codereview |
In my WPF application, I have a collection to which I would like to bind a grid of controls. An example of the desired layout (TL;DR I want this from an ItemsSource):
Desired layout http://imagebin.ca/img/27UTke
<Grid ShowGridLines="True">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
... | stackexchange/codereview |
I've been trying for a while and I'm just about to give up. I need to prepare a report that displays Item Numbers, the line they were produced on, and their production date, among other things. So, as you would imagine, each row contains a line number, item number, production date, and information regarding the number ... | stackexchange/codereview |
Suppose you have a large number of users (M) and a large number of documents (N) and you want each user to be able to mark each document as read or unread (just like any email system). What's the best way to represent this in MongoDB? Or any other document database?
There are several questions on StackOverflow asking ... | stackexchange/codereview |
What is a way in C that someone could find the length of a character array?
I will happily accept pseudo-code, but am not averse to someone writing it out if they'd like to :)
| stackexchange/codereview |
I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add and commit them, I want to push them to the server:
git add xxx.php
git commit -m "TEST"
git push origin master
But the error I get back is:
error: src refspec master does not match any.
error: failed to push some refs t... | stackexchange/codereview |
I need to give my properties initial values, and I'd like to know if there is a simpler way than using a constructor.
| stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.