instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I have a requirement where in I have a set of jobs to be executed from the screen (each job could take hours to execute) and I need to put some rules in place to execute those jobs. it can be represented using a graph. each job is given a sequence number and jobs should be executed in sequence however there are set of...
stackexchange/codereview
I'm trying to connect a button click to a function, and pass an int value, but keep getting an error: no matching function for call to Main::connect... I'm guessing that I'm not initializing something correct? mainwindow.cpp #include "mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { ...
stackexchange/codereview
SQL Azure has a really handy command for copying databases: CREATE DATABASE NewDatabase AS COPY OF ExistingDatabase Is there anything similar in SQL Server 2008 R2? I just want a command to do a simple local copy without any DTS, SQL Server Agent, etc. Ideally, I'd like to create multiple copies efficiently.
stackexchange/codereview
I'm trying to debug an application for an ARM processor from my x86 box. I some followed instructions from someone that came before on getting a development environment setup. I've got a version of gdbserver that has been cross-compiled for the ARM processor and appears to allow me to connect to it via my ARM-aware g...
stackexchange/codereview
I have a project that uses the built-in IntelliJ build system. What's the quickest/best way to migrate the project to Maven?
stackexchange/codereview
We have an issue on one of customers servers, where something seems to close the java application HTTP socket, and not let it open afterwards for some time. Meaning it goes like this: 1) Application works fine, then something causing the socket to close. 2) Any subsequent attempts to open it, including application rest...
stackexchange/codereview
I am trying to apply the custom grammar for speech recognition. I have found a lot of documentation about android.speech.recognition package, it seams as the good place to start, but it seams that it doesn't exist in the Android SDK.. Is there a way to apply a custom grammar rules to the android speech recognition at a...
stackexchange/codereview
I recently made the decision to develop our new company website (http://www.idealcode.net:8005/AboutUs.aspx) with Umbraco. I hired an Umbraco developer and we started work. Please don't flame me or anything but I'm starting to worry about my decision. The main reason why is because I seriously cannot find anything tha...
stackexchange/codereview
I'm new to Rails, and a bit confused about routes: I have a Devices controller: #devices_controllers.rb class DevicesController < ApplicationController def index @devices = Device.all end def show @device = Device.find(params[:id]) end def new @device = Device.new end def create @devic...
stackexchange/codereview
I have imported some data into Mathematica. The data will look similar to {{0,2},{2,3},{4,3},{5,4},{8,4}} I want to throw out all elements for which the x-values are smaller than a given value or create a new list that contains the data for which the x-values are larger than this value. I assume that Select should do ...
stackexchange/codereview
I am able to put a Facebook like button on my website, but how do I make it to be right-aligned within the div/iframe it is in? I tried applying various CSS properties, but I could not get anything to move in the iframe.
stackexchange/codereview
I want to count native threads of the current Windows process via C/C++. I see there's a related question with a .NET answer, but I can't use that solution. I suspect that there may be a solution via PdhOpenQuery/PdhCollectQueryData but I haven't explored that direction yet, and I'm hoping there's an easier approach....
stackexchange/codereview
I have a set of interlinked dynamic web pages. When the user clicks from one page to another, I don't want any caching to happen - the request must go to the server, which will return an up-to-date page. But when user clicks Back, I do want the cache to be used - some of the pages can take some time to generate, which ...
stackexchange/codereview
Right, since watching Rasmus Lerdorf's talk on PHP performance I've been wanting to profile the ERP / Accounting application I am working on, not least because I know there are performance issues with it, profiling should highlight the major problems for me to investigate. So downloaded xdebug and put the following few...
stackexchange/codereview
So I have a list: <ul> <li> bla bla </li> <li> bla bla </li> ... </ul> <a> click me </a> when you click the link a ajax request runs that retrieves more list items. How can I append these new items to the existing list (where the dots are), and animate them one by one, using for eg. slidedown, small pause, next it...
stackexchange/codereview
Possible Duplicate: Is there any difference between type casting & type conversion? I personally use the terms cast and conversion interchangeably. Is that correct? If not, what is the difference?
stackexchange/codereview
I'm wondering if anyone has experience building an application like Skype (peer-to-peer), and what technologies and software packages you leveraged? I haven't been able to find a .Net API to build a web conferencing application, but I guess I'm open to any platform. Thanks!
stackexchange/codereview
Look at this script please var src="some.jpg"; var img = new Image(); img.src = src; img.id = "crop_image"; $("#crop_image").load(function() { $("#crop_cont").append(img); }) why in my .load function i can't access to img element? Thanks much UPDATE: But the following works $('<img src="'+src...
stackexchange/codereview
I have a set of nested resources -- :users and :messages. resources :users, :only => [:show,:index] do resources :messages end And also a formtastic form in the "new.html.haml" template for the Message model and it needs to use these resources: =semantic_form_for [@user,@message] do |f| =f.input :title The ...
stackexchange/codereview
I want my application to detect whatever has been typed applications like text edit or text area of any other applications. I am using Mac. Thanks, Rahul
stackexchange/codereview
The following script evokes the following exception in the UPDATE command. What I think should happen for this simple UPDATE command is that the value of db_2.foo.bar should be doubled from 1 to 2. My guess is that I have some subtle syntax error in the UPDATE statement (or else a bug at the Python or sqlite3 level); h...
stackexchange/codereview
I am trying to use AddThis button on a web page of mine, which you can share, like (facebook), and tweet (twitter) - the AddThis code is pretty straight forward below, <!-- AddThis Button BEGIN --> <div id="share" class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="b...
stackexchange/codereview
How can I show a single category tree on the sidebar? Not a product, only the category tree.
stackexchange/codereview
Your opinion about HTML5 and longterm SEO.
stackexchange/codereview
I used to execute this query with no problems what so ever, but lately i've been having exceptions. (on a mysql server) 48442 [NioProcessor-1] ERROR c.x.xpofacebook.mysql.MysqlDb - SQLException: Before start of result set 48443 [NioProcessor-1] ERROR c.x.xpofacebook.mysql.MysqlDb - SQLState: S1000 48443 [NioProcessor-...
stackexchange/codereview
I wish so the users can only send to their friends. Right now I have this: $qur = mysql_query(" SELECT users.id, users.firstname, users.lastname, (users.firstname = '$firstname' AND users.lastname = '$lastname') AS full FROM users WHERE (users.firstname = '$firstname' AND users.lastname='$lastname') OR (users.fir...
stackexchange/codereview
In MS SQL Server Manager Studio for 2008 Express, the "Included Columns" field is always grayed out in the "Indexes/Keys" window in the Database Diagram designer. Per the help, this should be available so long as I'm not creating a clustered index. Further, if I run a query to create the index (which runs fine), the cr...
stackexchange/codereview
There seem to be several differe method of taking screenshot of a webbrowser control: BiBlt, Printwindow, etc. There seem to be several ways, and all have different pros and cons. Does anyone have detailed info of each of these options and their pros and cons? I am mainly looking for method that would work when the O...
stackexchange/codereview
I am creating a document in LateX and the following multivalued function has been giving me trouble for a while. The Latex code for the above as I gave is $\[delta \tau_{i,j}^{k}$ = $\left\{$ \begin{array}{l l} \frac{1}{L_{k}} & \quad \mbox{if ant k travels on edge \textit{i,j}} \\ 0 & \quad \mbox{otherwise} ...
stackexchange/codereview
I need a Diagram Tool with ability to extend set of diagram types and diagram primitives and save them as templates for future use. User-scripted exports or export formats for my diagrams would be nice, too. For example, I want to make something like this in my game programming: http://www.bigbluecup.com/yabb/index.php...
stackexchange/codereview
I'm masochistically writing an open-source text editor for Mac and have finally reached the point at which I want to add syntax highlighting. I've been going back and forth on various solutions for the past few days, and I've finally decided to open the question to a wider audience. Here are the options I see: Define ...
stackexchange/codereview
I wanted to use SASS on our company's web app but I can't install any programs on production machines. Everything I searched about SASS required you to run an installation program like gem and also required HAML. I was hoping to find just a script that processes scss files without needing to install anything else.
stackexchange/codereview
how to highlight strings that begin with sql_ and are inside quotes? My Logfile: MGPostgreSQLConnection.OpenQuery; "sql_p_factory_history"-ExecTime: 47ms 2010-11-12T17:28:18+01:00;custom; MGPostgreSQLConnection.OpenQuery; "sql_p_factory_history"-ExecTime+FetchTime: 47ms 2010-11-12T17:28:18+01:00;custom; MGPostgreSQLCon...
stackexchange/codereview
I'm trying to use the OnClick callback to call a C# function, however javascript throws an error saying the function is undefined (even though it is in the C# code). This only happens if I add the control via Controls.Add in the page_load of the C# call behind section. In other words if I do this (in the Page_Load func...
stackexchange/codereview
What i need some help with is removing a label and creating a new one with a button click. At the moment this will add a new label but won't remove the old. I can't find a command that will work, northpanel.remove() will destroy the panel and the previous label, but then i can't create any new ones. import java.awt.*; ...
stackexchange/codereview
ServiceController service = new ServiceController("MyServiceName"); if ((service.Status.Equals(ServiceControllerStatus.Stopped)) || (service.Status.Equals(ServiceControllerStatus.StopPending))) service.Start(); else service.Stop(); its working on xp 32 bit but not working on win 7.ti throws a excep...
stackexchange/codereview
I need to change locale in the thread to parse a double with strtod() correctly, I'm using setlocale() for this (C++). Is it thread safe? Update: Another problem. When I invoke setlocale() in my main() function it doesn't affect in other routines deeper. Why??? There is a lot of code, so it's problematic to write the ...
stackexchange/codereview
I am getting an error I do not understand. There was even a similar question asked on SO that I found, but the fix given is already in my code. I am getting an error in this line: ForestNode<NODETYPE> foo = new ForestNode<NODETYPE> ForestNode(bar); that reads : \project 4\forest.h|85|error: expected ',' or ';' before...
stackexchange/codereview
How does one determine which peer you are connected to has the fastest connection(upload rate)? Does the actual connection of the peer dominate who is fastest or will the peer who needs the most chunks cause him to upload the fastest as less people are downloading from him? I want to write an algorithm which takes all ...
stackexchange/codereview
I'm trying to use NSManagedObjectModel through NSTreeController and NSBrowser. I found some simple tutorials on the Net but they don't solve all my problems. Right now I can: add nodes (except in the leaf); to show children's nodes selecting the parent. My model is heterogeneous, all entities are different, but have th...
stackexchange/codereview
Updated Here's an even simpler example showing the failure (it should hide the img after press "z" and show it after press "x"): My test.xul: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="chrome://test/content/test.css" type="text/css"?> <window id="desktop" width="640" height="480" xmlns="http://...
stackexchange/codereview
The following is possible using Python: $ apt-get install python $ easy_install Flask $ cat > hello.py from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run() $ python hello.py 4 commands and 7 lines of code to get a web server run...
stackexchange/codereview
In Perl, by using Template Toolkit, here is what I do Perl my $vars = { name => 'Count Edward van Halen', }; $tt->process('letters/overdrawn', $vars) || die $tt->error(), "\n"; HTML Dear [% name %], In Mako template, how can I do so? Check through their render function, doesn't get much hint.
stackexchange/codereview
I'm binding a Grid View inside a for loop which executes more than once.Now when the loop ends the Data in grid view is the data binded at the last run of For loop i.e all Previous Binds in the For loop over overwritten.I dont want this .I want new rows to be Inserted at each run of the for Loop ..Plz help somebody. I ...
stackexchange/codereview
I am making an application which is almost done but there is one thing that is bugging me. There are about 12-13 files that must be in the directory of the folder (some .dlls, some .xml files etc.) for the application to run, and I want to make my application as compact as possible, meaning I want as fewer files to go ...
stackexchange/codereview
I'm trying to update some code to use CSS sprites. In some situations it works fine, in others it screws up the page layout, and I can't figure out what I'm doing wrong. Here's a fragment of the html .... <div id="footer"><!-- footer --> <div class="footer-top"> <div class="footer-left"> <div class="footer-r...
stackexchange/codereview
If I have the following array my @header_line = ('id', 'name', 'age'); How do I create a hash from it equivalent to the line below? my %fields = { id => 0, name => 1, age => 2}; The reason I want to do this is so that I can use meaningful names rather than magic numbers for indexes. For example: $row->[$fields{age}]...
stackexchange/codereview
Recently we redesigned one of our pages and suddenly page has been increased from 1MB to 1.98MB. I compared the no of DOM elements and its increased from 1600 to 2300. I found the no of elements from the below command document.getElementsByTagName('*').length We did a load test and found the load time also increased ...
stackexchange/codereview
I want to test the 500 error pages in my Rails app using the development environment. I already tried this in config/environments/development.rb: config.action_controller.consider_all_requests_local = false But this does not seem to have any effect.
stackexchange/codereview
I am switching to GNU emacs for my python and bash scripting. I really enjoy this, but I don't like the X-window portion of emacs. As such, I always use emacs -nw <my_file> to edit my files. However, when I associate my .py and .sh files with emacs, I end up opening emacs in X-window mode when I double-click on them fr...
stackexchange/codereview
Is there a R package for a Nested Logit or Probit model? I've checked the bayesm and mnp packages, and they don't appear to have the capacity.
stackexchange/codereview
I have a vector of Key-Value pairs, where each Key-Value pair is also tagged with an Entry Type code. The possible Entry Type codes are: enum Type { tData = 0, tSeqBegin = 1, // the beginning of a sequence tSeqEnd = 2 // the end of a sequence }; So the Key-Value pair itself looks like this: struct KeyVal {...
stackexchange/codereview
EXACT duplicate of Datagrid View Button repeat I have added button to datagrid view but when ever the function is called more than once then new button adds I need to stop this addition void AddtoGrid() { try { table = new DataTable(); bcol = new DataGri...
stackexchange/codereview
I am by no means a sql programmer and I am trying to accomplish something that I am pretty sure has been done a million times before. I am trying to auto generate a customer number in sql every time a new customer is inserted, but the trigger (or sp?) will only work if at least the first name, last name and another val...
stackexchange/codereview
i have the following problem, maybe you can help out: The text i want to match is like this : Data Generated using Turbine's method Stuff more Stuff Full speed : 0.87 Data generated using My method Stuff more stuff Full speed : 0.96 Data Generated using Turbine's method Stuff more Stuff Full speed : 0.83 Data generate...
stackexchange/codereview
I am creating a drawing app on iPad which allow the user to create primitive shapes like rectangles, polygons, arcs, etc. This app enables the user to rotate and scale these shapes. So, which would you prefer: OpenGL ES or Quartz?
stackexchange/codereview
Is there any timeout options I can set in jqGrid to display an error, if any delay in server processing happens, more than a set value?
stackexchange/codereview
Just trying to understand why they didn't use a REST API.
stackexchange/codereview
I have tried using the following code to run excel regression analysis on the specified range of data. I am getting a com inter-op exception: Cannot run the macro 'C:\Program Files\Microsoft Office\Office14\Library\Analysis\ATPVBAEN.XLAM!Regress' The macro may not be available in this workbook or all macros may be di...
stackexchange/codereview
I'm making a start on an MVC project, having gone through the MvcMusicStore tutorial. I'm trying to get my head around how the POCO-generated data/entity context is intended to be stored. In the samples, the controller generates a copy of the entity context, and all operations complete there: MusicStoreEntitie...
stackexchange/codereview
JDE xmlinterop.dll giving error code 14 when trying to do a pinvoke from C# in Visual studio 2010 environment - can anyone help?
stackexchange/codereview
I have a datagrid w/ a custom item renderer, as follows: <mx:AdvancedDataGridColumn dataField="file"> <mx:itemRenderer> <fx:Component> <mx:HBox paddingLeft="2"> <fx:Script> <![CDATA[ import mx.core.BitmapAsset; [Embed(source="components/download.png")] [Bindable] public var imgCls:Class; public function IOErrorEventE...
stackexchange/codereview
I have a fresh install of Magento 1.4.1.1 using MAMP 1.8.4 on OS X Snow Leopard 10.6.4. I'm unable to load magento/downloader (the Magento Connect Manager) successfully. My browser displays a blank white page. Safari's Activity window tells me it's an Internal Server Error, which tells me my permissions may be incorrec...
stackexchange/codereview
Here's how I set up my xmlWriter and xmlWriterSettings: XmlWriterSettings settings = new XmlWriterSettings(); settings.Encoding.Equals("UTF-8"); settings.Indent = true; settings.OmitXmlDeclaration = true; settings.NewLineOnAttributes = true; settings.CheckChar...
stackexchange/codereview
I'm trying to create a function which can be called with a lambda that takes either 0, 1 or 2 arguments. Since I need the code to work on both g++ 4.5 and vs2010(which doesn't support variadic templates or lambda conversions to function pointers) the only idea I've come up with is to choose which implementation to cal...
stackexchange/codereview
If anyone can suggest a better place than stackoverflow for css questions please let me know. I have an outer div with background and border and then I need to have two columns within the colored box. Some reason when I place the floating divs inside the outer div, the outer div does not grow. Here is my HTML: <div cla...
stackexchange/codereview
I need some advice on how to write a Python program where it gives you a list of the first n perfect squares in list format. The output should look like this: How many squares?: 5 [1, 4, 9, 16, 25] This is what I have so far: n = int(raw_input("How many squares? ")) Now for the next part I need to create a list ...
stackexchange/codereview
I read the documentation http://www.playframework.org/documentation/1.1/tags#ageta and I don't get it. Can someone provide a better, easier to understand example ?
stackexchange/codereview
eol chars are substituted by white spaces by xerces parser in attribute value <prolog> <metadata name="my_name" value="my value"/> </prolog> Is there any way i can keep eol?
stackexchange/codereview
What does it mean?
stackexchange/codereview
I'm interested in finding out people's experiences and preferences for communication with backend servers from Siverlight client apps, specifically the use of web services (ASM, WCF or other) over http. Do people use the clientside proxy classes you can generate in VS.Net or do you roll your own and use the WebClient &...
stackexchange/codereview
Alright, so I've successfully added a custom order field to my page layout in magento. I require a "dealer" from which the user has to select a "dealer state" and then I use ajaxt to pull in all the dealers from that specific state into another field called "dealerid". The value of this field is in fact the dealer id ...
stackexchange/codereview
Ok I'm really confused about something about recursion in Java. Say I have the following code: static int findShortestString(String[] paths, int lo, int hi) { if(lo==hi) return lo; int minindex=findShortestString(paths,lo+1, hi); if(safeStringLength(paths[lo])<safeStringLength(paths[...
stackexchange/codereview
I just want to see my own datatypes/functions/function parameters with a different color. I have used Visual Assist X before, but it stopped working for some unknown reason. It doesn't color the custom functions or function parameters every time. Also, my trial time is over soon, and I am not going to buy something tha...
stackexchange/codereview
i have got these two coordinates x and y from an external database. X = 30490, y = 31430 was trying to figure out how to plot these coordinates on to google map? As google map only accept lat and lon value... Any help is most appreciated!! Thanks...
stackexchange/codereview
We are creating an open-source group with a large emphasis on introducing designers to programming. I have a library of material that I believe is important but I want the opinion of Stack. What do you guys believe is a good path for the casual programmer to start out on? Since this is an open group and we do not rea...
stackexchange/codereview
When I went to the "new server wizard" I can't find the category for JBoss AS. When I clicked "Download new server adapter" I don't get any JBoss AS adapter in the list.
stackexchange/codereview
How can we turn automatic brightness off in android?
stackexchange/codereview
I am making a website and I want to spread my traffic out to avoid crashing and to make sure I can offer 100% uptime. I will do this by having 5 different servers and one main server. Allow me to explain. I have one website (domain.com) and on the homepage of that site there is a cURL frame that connects users to one o...
stackexchange/codereview
I am using Jquery to do a disjointed hover effect. I have a div with a background image and when you hover over one of the menu items, it adds a class to the div and changes the background image. It works great however, it flickers (slight delay) in every version of IE. See the code below: $(document).ready(functio...
stackexchange/codereview
I have a table that store "Tags" like so: ProductTags TagID PK Name nvarchar(50) [not null] and a M2M map table like this: ProductTagMap ProductID PK TagID PK Now let's say I remove a tag relationship (or all of them) from a Product like so: // get our Product we are working o...
stackexchange/codereview
I never dealt with R, so I was wondering if anyone can recommend (either from personal experience or some reviews/comparisons) which of the several Perl/R integration modules are considered "best practices"? Ideally something which could somehow qualify for production readiness. Google shows several different modules ...
stackexchange/codereview
I am trying to list the users/group members of a specific AD group in Powershell. I dont want to list everyone and everything, just the group members that I am interested in. For example: I have a AD group called SqlAdmins. I just want to list the members/users in that group. I tried this: " Get-QADGroup -sizeLimit 0 |...
stackexchange/codereview
I want people to be able to perform operations in ruby scripts using an API. What options do you have in rails? What if I want certain operations to be authenticated?
stackexchange/codereview
I deleted my certificate file in my Provision Portal page, then I wrote a email to apple to apply a new certificate, 10 days past I received no answer, do I need to pay another 99usd to get a new certificate? or Could I upload my old certificate file to Privision Portal? Thanks zhimakaimen
stackexchange/codereview
I am trying to distinguish PNG-8 and PNG-24 images with getimagesize or Imagick, but I don't quite know how to to it. getimagesize does not return channels for my PNGs and displays the mimetype instead. It works well for other images and shows the correct values, but for PNG it just shows nothing. edit: Imagick is not ...
stackexchange/codereview
I am getting this error while I am trying to debug my app on device. I created development provisioning profile as it is mentioned at the developer portal. My development device is selected in the profile and I am selecting the correct profile from Target's code signing identity menu. I recreated provisioning profile f...
stackexchange/codereview
I am trying to sort an item in datastore by age by using auto_now=True and auto_now_add=True. I managed to solve datetime problems but I am unable to sort correctly by age. I appreciate any suggestions. (Sorry for the capitalized variables, I will fix them eventually.) My model is: class Rep(db.Model): mAUTHOR = ...
stackexchange/codereview
I want to charge people to watch my video. They buy and get a link. How can i make that link destroy after usage? any ideas? third party?
stackexchange/codereview
I'm trying to configure Emacs as my preferred application when the user clicks on a mailto: link. Emacs has facilities for this: emacs 23 on OS X: mailto links & calling compose-mail? http://www.emacswiki.org/emacs/MailtoHandler and I'll do it by creating a shell script that then calls emacsclient ("emacs-mailto-handle...
stackexchange/codereview
I have built a project using 4.0 , how can I convert it to 3.5?
stackexchange/codereview
I want to implement auto-completion feature for my CLI application. The default behavior of getc() is returning only when the following list of characters are entered: NEW_LINE or EOF. I want to add TAB to this list so that I can trigger my auto-completion algorithm. Is there a way to do it, for instance, using termios...
stackexchange/codereview
When marking an entity for deletion, and saving changes, sometimes the operation fails due to foreign key constraints for example. In this case, i notify the user and refresh the entity. The problem is that the entity does not get fully refreshed - its foreign keys stays empty. For example : //EditableEntity.SomeColle...
stackexchange/codereview
I understood that calling boost::asio::ip::tcp::socket::async_receive (or boost::asio::ip::tcp::socket::async_send) two times may result in a bad behavior.. Is it OK if i call boost::asio::ip::tcp::socket::async_recive and boost::asio::ip::tcp::socket::async_send at the same time? I am going to have 2 or more threads r...
stackexchange/codereview
This here is a little test class that I have. Problem is that it is not rolling back the transaction after each test run. What have I done wrong? :) @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = { "/META-INF/catalog-spring.xml" }) @TransactionConfiguration(transactionManager = "transactionMa...
stackexchange/codereview
So I have this problem I am trying to solve - I wonder if anyone can comment on/help me with the approach. The thing is, I have it partly solved, but with the rest I'm not quite sure. Here's the deal: I have a fairly large DB online which I want to load on first start of the App. After that I am only going to load it i...
stackexchange/codereview
Possible Duplicate: In jquery: Use attr(“class”) value as a selector? I have fields with multiple classes. I want to use one of those classes as a selector, how do I do this? generic example: <input id="from"/><div class="error from">errormessage</div> <input id="to"/> <div><input id="when" /></div><div class="erro...
stackexchange/codereview
I have created a jFrame using NetBeans that opens when a button on the main GUI is clicked to add a new entry. I want to know if there is a way to supply a unique id for each new entry that shows when the jFrame form is displayed. Along with a unique id I want to also have a text field createdOn that is auto populate...
stackexchange/codereview
I'm writing a two-project solution with a class library designed for re-use, and an application which will consume said class library. The library has a Properties file which is needed both in the library itself and in the application. Unfortunately when I tried to implement this the "obvious" way, by keeping the pro...
stackexchange/codereview
I need a bash script that lists files recursively in a directory in the following way: filename,size (in kb),numeric value (in filename) e.g.: /directory/1/file-100.txt,50,100 /directory/1/file-200.txt,45,200 /directory/2/file-100.txt,20,100 /directory/2/file-500.txt,100,500 Also, I need it to ignore directories that...
stackexchange/codereview