Showing posts with label in. Show all posts
Showing posts with label in. Show all posts

Monday, August 4, 2014

What is typically the requirements criteria for a cell to be added removed replaced to from in the active set

For addition (Event 1a), candidate cell needs to have an Ec/Io value that is within a T_ADD threshold of the primary/reference (usually the best) cell for a specify time hysteresis. For removal (event 1b), cell needs to have Ec/Io lower than T_DROP margin for a specific time hysteresis. For replacement (event 1c), cell needs to have an Ec/Io better than the worst cell in the active set by the T_REPLACE and for a specific time hysteresis.

Read More..

Wednesday, July 16, 2014

How to Perform a Record Search in a Java Application

Searching for records in a Java application is a common database operation involving JDBC (Java Database Connectivity) classes. The tasks needed for the search (or any other database-related task) are the same as for non-Java platforms: connect to a database, run a query on that database, then loop through the resulting record set.

Instructions

Things Youll Need:

  • Database-creation application (e.g. MS Access)
  • IDE (integrated development environment)
  • JDK (Java Development Kit) from java.sun.com
  1. Step 1

    Create a test database and table. Open up Microsoft Access and select File>Blank database. (You can use other database-creation applications; the instructions are generally the same.)

    Create a table with the following fields: "title," a text field, "director," another text field, and "year_released," an int field.

  2. Step 2

    Enter the following to create two rows of data for the table. Row one has "star wars," "lucas," and 1977, corresponding to the title, director and year_released fields you just created. Row two has "excalibur," "boorman," and 1980.

    Choose File>Save As to initiate saving the database. Enter "movies" when prompted for the name of the table, and enter "mydb" for the name of the database. Accept the .accdb file extension.

  3. Step 3

    Create a Data Source Name (DSN) from the database you just created, so the Java JDBC-ODBC driver can talk to it: Click Start, enter "ODBC," then click the Data Sources (ODBC) icon when it appears.

    On the Data Source Administrators User DSN tab, click Add, then choose the Microsoft Access Driver with extension *.accdb from the list that appears. In the Microsoft Access Setup window, enter "mydb" for the Data Source Name, then press Select.

    Navigate to the mydb.accdb database file you created earlier, and click OK to accept your selections and back out of the dialog boxes. Close the Data Source Administrator.

  4. Step 4

    Create a new Java project using your preferred IDE (integrated development environment). (NetBeans will be used for the remaining steps, which will generally apply to other IDEs like Eclipses or Aptanas.)

    Enter "mydb" for the project name and allow the IDE to create a Main class file.

  5. Step 5

    Enter the following program code in the code window:

    //////////////////////////////////////////////////////////////////
    package mydb;

    import java.sql.*;

    public class Main {

    public static void main(String[] args) throws Exception {
    //get a connection from driver manager
    //create a blank query
    //execute an sql stmt on that query
    Connection cxn = DriverManager.getConnection("jdbc:odbc:mydb");
    Statement sm = cxn.createStatement();
    ResultSet records = sm.executeQuery("SELECT * from movies where year_released=1977");
    String title="";
    String director="";
    int year=0;
    while (records.next()) {
    title = records.getString("title");
    director = records.getString("director");
    year = records.getInt("year_released");
    System.out.printf("title:%s, director:%s, year:%d%n", title, director, year);
    }
    records.close();
    }
    }

    //////////////////////////////////////////////////////////////////

  6. Step 6

    Build and run the program: select Run>Run File, and notice the results of the query appear in the output window.

Read More..

Wednesday, April 9, 2014

Tips In Finding The Best Computer Repair Plantation Fl Expert

By Gwen Lowe


When your computer breaks, and you know that trying to fix it may cause more damage then try to find an expert to fix. It is recommended that you check with the manufacturer of your computer if you are having problems and you are still under a warranty. This is actually the cheapest as well as typically download option. On the other hand, if the warranty is invalid, the other option is looking for a technician. You have quite a number of options given that there are many experts you can choose from. However, this does not mean you hire the first computer repair plantation FL professional you find.

You should bear various things in mind before hiring a computer expert. You can decide to choose a local shop for the service. Here you can visit a few shops in town and see what they have to offer. You could also talk to a few people you know like friends for recommendations. Find out if anyone you know has had a similar problem with their PC and if so ask how they went about the process of finding a good technician.

The internet can also be a good source when it comes to finding these experts. You can visit a few websites belonging to these providers and find out more about their services. You could also read reviews from past customers to know if they were happy with the services offered. This may however not be a reliable option since the shipping is usually expensive, there are no guarantees and the machine can be damaged.

When one decides how he wishes to have the problem fixed, he must make sure that he chooses a person that knows what the process entails. The tech must be familiar with the operating system, software as well as the hardware. A good technician should be certified and well trained in computer repairs.

Find out the number of years the provider has been in the field. The right provider ought to be polite and ready to help. In addition, he should explain to you what he plans to do with the machine. The best thing is to stick around when the PC is being fixed. This will help you avoid any fees from services that were never done in the first place something that is quite common in the field.

Before you settle on any shop, ensure the costs are competitive with other providers in the area. The repairs ought to be done in a timely manner. The expert should back-up your data prior to commencing on any work with software because this can cause data loss.

One should find a shop that has a physical address. He should also be careful about taking his PC to someone who is not willing to provide a substantial address. Getting the address is not the point, the key thing is being able to compare it with something like the companys websites to be certain that it really exists and also that it relates to the shop.

Good computer repair shops should also be insured. This way, in case more damage is caused to the machine you can be sure of getting compensation. Someone with a good background will be worth your time and money.




About the Author:



Read More..

Monday, March 31, 2014

Browser in the middle attack tool

Browser-in-the-middle is a bashscript that uses ettercap, metasploit and the beEF framework to make attacks that injects code in pages users visited on the internet from the local network.

- uses ettercap to launch a man in the middle attack 
- ettercap modifies traffic so evil javascript or iframes are added 
- victims browser will be redirect to the attackers webserver 
- the webserver will be running the msf autopwn module or the beEF framework to launch browserexploits are other browser related attacks. 
Read More..

Thursday, March 6, 2014

A Major Security Hole in the Medicaid Enrollment Part of HealthCare gov

David Steinberg at PJMedia points to a serious security flaw that allows persons not even resident in the U.S. to apply for Medicaid and get it for at least 90 days:
While troubling, final approval of fraudulent applications represents a lesser element of the problem regarding non-citizen enrollment. The greater concern is initial approval:
  • Applicants attempting to register for Medicaid as non-citizens by using Healthcare.gov will have their identification checked in real-time by the SAVE (Systematic Alien Verification for Entitlements) database. But if SAVE verification fails, the applicant is not prevented from enrolling in Medicaid/CHIP.
  • In fact, the opposite occurs: the applicant is likely enrolled in Medicaid immediately.
  • The applicant is then given a 90-day period to clear up the identification problem.
  • This “enroll first, confirm later” regulation, combined with the ACA’s easing of verification requirements, allows anyone, from a computer anywhere in the world, to successfully auto-enroll for 90 days of Medicaid by entering fraudulent information about being a certain category of legal alien living in the United States.
  • There is no guarantee that state governments will take action to cancel these enrollments at the end of each application’s 90-day period if identification is never provided. The cancellation of unverified enrollments is left to each state’s available manpower and political will.
To say that this is troubling does not even begin to describe it.  This does not seem to be intentional -- but think of the Nigerian spammers all doing this at once, and then supplying Medicaid information to Medicaid fraud doctors in the U.S.
Read More..
 
Powered by Blogger .
Converted To Blogger Template by Anshul .