Need help ...new to this DSLR video HD editing.
Hello everyone,
I wanted to ask and see if i could get some help here. I previously did all my filming on my Canon Xl2 and mini DV tapes and would edit with Final Cut Studios 2. Aside from usual learning curve I was able to pick it up pretty well and get what i needed done.
I recently started filming on a Canon T2i. I am having an issue of the clip showing up larger in my canvas and being outside the title safe lines. So basically I am worried once I export, peoples heads are going to be cut off and sides as well. Now the option selected is "fit to window". I know this is probably a newb question, but I never previously had to ever mess with this option when i was working with my mini dv and xl2. So how do i ensure nothing will be cropped out once exported?
I am not sure what settings i need, but when i pull the clip onto my timeline, i get the error "attention- This clip does not match this sequences settings or any of your sequence presets. For best performance your sequence and external video should be set to the format of the clips you are editing."
At this point i just click yes to change sequence to match clip settings, and this is when its get really large in the canvas. I usually never mess with my presets and settings so i am not sure what they should be at either.
Just to give a bit of background on the actual clip, it was recorded on 1920 x 1080 at 24p on the T2i. I then put the clip through "streamclip". I transcoded to apple ProRes 422 (HQ). Hopefully I have given enough information to help you guys answer my questions thanks.
Hi Erick. First of all, you're wasting disk space transcoding to ProRes(HQ). That's overkill for your footage. ProResLT will serve you fine. You did the right thing in changing your Sequence Settings to match your footage. Yes the footage is large - it's HD. All footage is going to have areas that fall outside of title/action safe. You frame your shots with this in mind when you shoot. Nothing will be cropped as you say. Just export as a Quicktime Movie with current settings.
Later you'll need to consider the delivery format. If you're going to the web, you don't have to worry about title safe. If you're delivering to standard DVD, the footage will be reduced to SD resolution and letterboxed. Just make sure any titles you create in FCP fall within the title safe area.
Hope that helps.
Joey Foreman
Editor, Compositor, VFX Designer
Similar Messages
-
My old iMac and OS 10.4 will not accept the New iTunes Version 10 application and I can't get past the screen offering to download iTunes 10. This is wrong and I need help getting past this situation. Help!
Sure, you can get around it if you don't need the newest version of iTunes. I still use version 7.5 because the newer versions didn't strike me as offering anything I needed.
If you do need a version 10-something then you will have to upgrade your operating system to Leopard (fi your computer will support it) at least. If you need 10.5 for some reason then there's no getting around it, you will have to buy a new computer. -
I need help instantly on this program please
import java.util.*;
public class D3
private static int[] z = new int[100000];
private static int first=z[0];
private static int last=z[n-1];
private static int n=100000;
public static void main(String args[])
Scanner input=new Scanner(System.in);
for(int i=0;i<z.length;i++)
z=2*i;
int seqSearch(z;50000;n); //method call 4 key where key=mid
int binSearch(z;first;last;50000);
int seqSearch(z;35467;n); //method call 4 key where key in the left half
int binSearch(z;first;last;35467);
int seqSearch(z;89703;n); //method call 4 key where key in the right half
int binSearch(z;first;last;89703);
public int seqSearch(int z[];int key;int n)
long start = System.currentTimeMillis();
int count=0;
int ans=-1;
for(int i=0;i<n;i++)
if z[i]=key
count++
{ans=i
break;}
return ans;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
public int binSearch(int z[];int first;int last;int key)
long start = System.currentTimeMillis();
int count=0;
if(last<first){
count++;
index=-1;
else
count++;
int mid=(first+last)/2
if(ket=z[mid]{
index=mid;
else
if(key<z[mid]){
index = binSearch(z[];first;mid-1;key);
else
index=binSearch(z[];mid+1;last;key);
return index;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
// if anyone could tell me whats wrong with my code i'd be greatful...the program is supposed to perform binary and sequential search on a sorted array of 100000 numbers.once on an item in the middle of the array once on the right side of it and once on the left side...i also need to count the number of basic operations for the same number in both sequential and binary to see whats better.and i need to check the time...plz i need help now,,,"Guide to a first-time poster"
you need to add exclamation marks to signify how urgent it is
e.g.
i need help instantly on this program please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
capital letters is better
I NEED HELP INSTANTLY ON THIS PROGRAM PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
starting the italics on line 1, better again
import java.util.*;
public class D3
private static int[] z = new int[100000];
private static int first=z[0];
private static int last=z[n-1];
private static int n=100000;
public static void main(String args[])
Scanner input=new Scanner(System.in);
for(int i=0;i<z.length;i++)
z=2*i;
int seqSearch(z;50000;n); //method call 4 key where key=mid
int binSearch(z;first;last;50000);
int seqSearch(z;35467;n); //method call 4 key where key in the left half
int binSearch(z;first;last;35467);
int seqSearch(z;89703;n); //method call 4 key where key in the right half
int binSearch(z;first;last;89703);
public int seqSearch(int z[];int key;int n)
long start = System.currentTimeMillis();
int count=0;
int ans=-1;
for(int i=0;i<n;i++)
if z=key
count++
{ans=i
break;}
return ans;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
public int binSearch(int z[];int first;int last;int key)
long start = System.currentTimeMillis();
int count=0;
if(last><first){
count++;
index=-1;
else
count++;
int mid=(first+last)/2
if(ket=z[mid]{
index=mid;
else
if(key><z[mid]){
index = binSearch(z[];first;mid-1;key);
else
index=binSearch(z[];mid+1;last;key);
return index;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
and what about the dukes, offer 10 (never to be awarded, of course)
do this, then sit back and watch the replies roll in. -
I can't log into the Itunes store. I type in my Apple ID and my password and the message "This Apple ID cannot be used for the iTunes Store." "Enter another Apple ID." I need help on fixing this.
Yeah I'm starting to see a ton of forums posts right now about the same thing :/ I wonder what's going on
-
Need help regarding "Macbook Pro Distorted Video or No Video issues"
Hi there, I'm new and I'm kinda need help or opinion from all of you Mac users.
I have a MPB which is the first generation released 2005-2006, which its 4 years back. Now, the main problem is after 4 years of non-graphic problems, I encounter the NVIDIA graphics processor problems, which make my screen scrambled and unable to click or do anything. For some reason that Apple did say they will change/replace the graphic processor for free due faulty issue of the NVIDIA. But what I wanted to know and reconfirm is, since my MPB was 1st generation and version 2005/06, will Apple cover the change/replacement NVIDIA processor for free? Because I really need to have a confirmed answer before I went to the AASP in Malaysia, which I know they will make a fuss by asking me to pay with my previous incident which my battery deflect and charger/adapter melted. So, please kindly reply this post. Thank you for you time.
Message was edited by: dannflamerWelcome to Apple Discussions!
How about printing out the Apple article about this and taking it with you?
http://support.apple.com/kb/TS2377
However, if you really do have the first MBP introduced in January 2006, it actually has a different video chip, the ATI Mobility Radeon X 1600, which unfortunately is not the NVIDIA chip covered by the NVIDIA program. So if that's what you have, you are out of luck for a free repair. ATI Mobility Radeon chips can also go bad, but there is no program that I know of that will cover them.
Sorry to not have better news for you.
Good luck! -
Need help timing titles on black video
Here is what I’ve been doing but maybe there is another (better way) to do it… I select Black Video from Edit and it automatically shows up at the beginning of the timeline. Next I select Title from Edit and type the title, intros, etc. The title will play for 4.5 seconds, but the Black Video will play longer or shorter (if I increase or decrease the duration). I would like to be able to increase or decrease the duration of the title within black video. Like have the title, intros, etc., fade in and out on a black background after so many seconds. Thanks for any and all help.
Possibly an easier way to do what you want is to not use the Black Video beneath your Titles. So long as you do not change the background of the Title, you will get black.
Now, in Timeline View Mode, use a small segment of Black Video. Normally, I start all Timelines with 02 sec. of Black Video for a couple of reasons. I create the Black Video (New Icon>Black Video) and then Dbl-click it to open it in the Source Monitor. There, I set the Out Point, so that I get 02 sec. Duration. I drag this to the start of the Timeline. Then, create you Titles as needed, and place them behind the Black Video on the same Video Track. If you wish another Title Duration, than the default, in Edit>Preferences>General, set the Duration for Still Images (note - this is in Frames, so you might need to do a bit of math). Between your Titles, use the Dip-to-Black Transitions. You will get the same effect as having the Titles over Black Video.
Hope that this is what you need, and that this helps,
Hunt -
Need help to draw recangle on video
Hi guys ,
Below I have pasted my code . In this code I have defined frame and in that frame stored video run. The other class has defined rectangle in cnvas . My problem is that I want rectangle to be drawn on video player and I havnt been successful.
So its my reequest to please help me out.
Thanks a ton in advance........
public class Map extends JFrame
* MAIN PROGRAM / STATIC METHODS
public static void main(String args[])
Map mdi = new Map();
static void Fatal(String s)
MessageBox mb = new MessageBox("JMF Error", s);
* VARIABLES
JMFrame jmframe = null;
JDesktopPane desktop;
FileDialog fd = null;
CheckboxMenuItem cbAutoLoop = null;
Player player = null;
Player newPlayer = null;
//JPanel glass = null;
SelectionArea drawingPanel;
String filename;
// code//
//ArrayList<Rectangle> rectangles = new ArrayList<Rectangle>();
// boolean stop=false;
* METHODS
public Map()
super("Java Media Player");
drawingPanel = new SelectionArea(this);
// Add the desktop pane
setLayout( new BorderLayout() );
desktop = new JDesktopPane();
desktop.setDoubleBuffered(true);
add("Center", desktop);
setMenuBar(createMenuBar());
setSize(640, 480);
setVisible(true);
//add(drawingPanel);
//drawingPanel.setVisible(true);
try
UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
catch (Exception e)
System.err.println("Could not initialize java.awt Metal lnf");
addWindowListener( new WindowAdapter()
public void windowClosing(WindowEvent we)
System.exit(0);
Manager.setHint(Manager.LIGHTWEIGHT_RENDERER, new Boolean(true));
private MenuBar createMenuBar()
ActionListener al = new ActionListener()
public void actionPerformed(ActionEvent ae)
String command = ae.getActionCommand();
if (command.equals("Open"))
if (fd == null)
fd = new FileDialog(Map.this, "Open File",
FileDialog.LOAD);
fd.setDirectory("/movies");
fd.show();
if (fd.getFile() != null)
String filename = fd.getDirectory() + fd.getFile();
openFile("file:" + filename);
else if (command.equals("Exit"))
dispose();
System.exit(0);
MenuItem item;
MenuBar mb = new MenuBar();
// File Menu
Menu mnFile = new Menu("File");
mnFile.add(item = new MenuItem("Open"));
item.addActionListener(al);
mnFile.add(item = new MenuItem("Exit"));
item.addActionListener(al);
// Options Menu
Menu mnOptions = new Menu("Options");
cbAutoLoop = new CheckboxMenuItem("Auto replay");
cbAutoLoop.setState(true);
mnOptions.add(cbAutoLoop);
mb.add(mnFile);
mb.add(mnOptions);
return mb;
* Open a media file.
public void openFile(String filename)
String mediaFile = filename;
Player player = null;
// URL for our media file
URL url = null;
try
// Create an url from the file name and the url to the
// document containing this applet.
if ((url = new URL(mediaFile)) == null)
Fatal("Can't build URL for " + mediaFile);
return;
// Create an instance of a player for this media
try
player = Manager.createPlayer(url);
catch (NoPlayerException e)
Fatal("Error: " + e);
catch (MalformedURLException e)
Fatal("Error:" + e);
catch (IOException e)
Fatal("Error:" + e);
if (player != null)
this.filename = filename;
JMFrame jmframe = new JMFrame(player, filename);
desktop.add(jmframe);
if (player.getVisualComponent() != null)
getContentPane().add(player.getVisualComponent());
player.start();
jmframe.add(drawingPanel);
drawingPanel.setVisible(true);
/*validate();
public void paint(Graphics g)
drawingPanel.repaint();
public void update(Graphics g)
paint(g);
drawingPanel.repaint();
class SelectionArea extends Canvas implements ActionListener, MouseListener, MouseMotionListener
Rectangle currentRect;
Map controller;
//for double buffering
Image image;
Graphics offscreen;
public SelectionArea(Map controller)
super();
this.controller = controller;
addMouseListener(this);
addMouseMotionListener(this);
public void actionPerformed(ActionEvent ae)
repaintoffscreen();
public void repaintoffscreen()
image = createImage(this.getWidth(), this.getHeight());
offscreen = image.getGraphics();
Dimension d = size();
if(currentRect != null)
//Rectangle box = new Rectangle();
//box.getDrawable(currentRect, d);
Rectangle box = getDrawableRect(currentRect, d);
//Draw the box outline.
offscreen.drawRect(box.x, box.y, box.width - 1, box.height - 1);
repaint();
public void mouseEntered(MouseEvent me) {}
public void mouseExited(MouseEvent me){ }
public void mouseClicked(MouseEvent me){}
public void mouseMoved(MouseEvent me){}
public void mousePressed(MouseEvent me)
currentRect = new Rectangle(me.getX(), me.getY(), 0, 0);
repaintoffscreen();
public void mouseDragged(MouseEvent me)
System.out.println("here in dragged()");
currentRect.setSize(me.getX() - currentRect.x, me.getY() - currentRect.y);
repaintoffscreen();
repaint();
public void mouseReleased(MouseEvent me)
currentRect.setSize(me.getX() - currentRect.x, me.getY() - currentRect.y);
repaintoffscreen();
repaint();
public void update(Graphics g)
paint(g);
public void paint(Graphics g)
g.drawImage(image, 0, 0, this);
Rectangle getDrawableRect(Rectangle originalRect, Dimension drawingArea)
int x = originalRect.x;
int y = originalRect.y;
int width = originalRect.width;
int height = originalRect.height;
//Make sure rectangle width and height are positive.
if (width < 0)
width = 0 - width;
x = x - width + 1;
if (x < 0)
width += x;
x = 0;
if (height < 0)
height = 0 - height;
y = y - height + 1;
if (y < 0)
height += y;
y = 0;
//The rectangle shouldn't extend past the drawing area.
if ((x + width) > drawingArea.width)
width = drawingArea.width - x;
if ((y + height) > drawingArea.height)
height = drawingArea.height - y;
return new Rectangle(x, y, width, height);
}Chances of someone reading a gazillion lines of unformatted code: < 1%
Paste your code (from the source), highlight it and click the CODE button to retain formatting and make it readable. -
I need help to run this package and i got some error
create or replace
PACKAGE BODY SUBS_INS_API_sun
AS
PROCEDURE SUBSCRIBER_INS_sun
(SOURCE_SYS_ID IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_NO IN VARCHAR2,
prepaidActDevDetails_tab IN prepaidactdvcdetailsobj_sun,
ERROR_CODE OUT VARCHAR2)
IS
Input_Parameter_Is_Null EXCEPTION;
pragma exception_init(Input_Parameter_Is_Null,-2000);
prepaidAccountDetails prepaidActDevDetails_tab:= prepaidActDevDetails_tab(NULL,NULL,NULL,NULL,NULL);
STATUS VARCHAR2(1):='1';
cust_no VARCHAR(10);
m_mac_id VARCHAR2(20);
subscriber_master_Rec subscriber_master%ROWTYPE :=NULL;
flg NUMBER(1);
BEGIN
IF(Source_Sys_Id IS NULL OR Tracking_Id IS NULL OR ACCOUNT_NO IS NULL OR prepaidAccountDetails.LAST=0) THEN
RAISE Input_Parameter_Is_Null;
END IF;
BEGIN
select cm_cust_no into cust_no from customer_master where cm_cust_id=ACCOUNT_NO and cm_status in('A','P','0');
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:='0';
END;
BEGIN
FOR i IN prepaidAccountDetails.FIRST .. (prepaidAccountDetails.LAST) LOOP
prepaidAccountDetails1:=prepaidActDevDetails_tab(i);
prepaidAccountDetails1.Status_of_device:='1';
IF (prepaidAccountDetails.Account_id is NULL OR prepaidAccountDetails.Mac_Id is NULL or prepaidAccountDetails.LOB_value is NULL) THEN
RAISE Input_Parameter_Is_Null;
END IF;
IF(prepaidAccountDetails.LOB_value = 'VDO') THEN
IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
Error_code :='SI002';
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
END IF;
END IF;
begin
select 1 into flg from subscriber_master where pm_phone_no=prepaidAccountDetails.Mac_Id and pm_status in('P','0','A','B');
EXCEPTION
WHEN NO_DATA_FOUND THEN
flg:=0;
END;
if(flg=1) then
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
END IF;
begin
select md_mac_id into m_mac_id from mac_details where md_mac_id=prepaidAccountDetails.Mac_Id and md_start_date<=sysdate
and md_status='A';
EXCEPTION when OTHERS then
Error_code :='SI004';
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
end;
if(STATUS= 1 and prepaidAccountDetails.Status_of_device='1') then
SELECT PM_SUBS_ACT_NO_SEQ.nextval
INTO subscriber_master_rec.PM_SUBS_ACT_NO
FROM dual;
subscriber_master_Rec.pm_phone_no :=prepaidAccountDetails.Mac_Id;
subscriber_master_Rec.pm_open_date :=sysdate;
subscriber_master_rec.pm_status :='P';
subscriber_master_rec.PM_CUST_LVL_YN:='S';
subscriber_master_rec.PM_EQUP_CODE:=prepaidAccountDetails.LOB_value;
subscriber_master_rec.PM_HOME_AREA:='HOM';
subscriber_master_rec.PM_USG_CODE:='USG';
subscriber_master_rec.PM_NO_TYPE:='S';
subscriber_master_rec.PM_TCG_CODE:='DEF';
subscriber_master_rec.PM_APLN_DATE:=sysdate;
subscriber_master_rec.PM_USER2:=prepaidAccountDetails.LOB_value;
subscriber_master_rec.PM_USER3:=prepaidAccountDetails.Channel_Line_Up;
subscriber_master_rec.pm_cust_no:=cust_no;
INSERT INTO subscriber_master VALUES subscriber_master_rec;
END IF;
END LOOP;
END;
END SUBSCRIBER_INS_sun;
END SUBS_INS_API_sun;
and
i got this error
Package Body PREPAID_TESTNEW.SUBS_INS_API@PREPAID_TESTNEW
Error(73,4): PL/SQL: Statement ignored
Error(73,99): PLS-00302: component 'LAST' must be declared
Error(87,6): PL/SQL: Statement ignored
Error(87,37): PLS-00302: component 'FIRST' must be declared
please help to run this package if anyone knowsnow i corrected my package. It working fine. But, how to run this package via procedure. my procedure check below. I give all the details about my package check below.
---pkg specification
create or replace
PACKAGE SUBS_INS_API_SS
IS
PROCEDURE SUBSCRIBER_INS_SS
(SOURCE_SYS_ID IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_NO IN VARCHAR2,
prepaidActDevDetails_tab IN prepaidActDeviceDetails_tabobj,
ERROR_CODE OUT VARCHAR2);
END SUBS_INS_API_SS;
-----pkg body
create or replace
PACKAGE BODY SUBS_INS_API_SS
AS
PROCEDURE log_error (ip_code IN VARCHAR2,
ip_message IN VARCHAR2,
ip_description IN VARCHAR2)
IS
BEGIN
INSERT INTO ERR_LOG (IEL_REF_ID,
IEL_DATE,
IEL_CODE,
IEL_MSG,
IEL_DESC)
VALUES (IVRS_ERR_LOG_SEQ.NEXTVAL,
SYSDATE,
ip_code,
ip_message,
ip_description);
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END log_error;
PROCEDURE INSERT_WS_LOG (SOURCE_SYS_ID IN VARCHAR2,
STATUS IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_ID IN VARCHAR2,
MAC_ID IN VARCHAR2)
IS
ws_log_rec WS_LOG%ROWTYPE := NULL;
BEGIN
SELECT WS_LOG#REC#ID.NEXTVAL INTO ws_log_rec.rec#id FROM DUAL;
ws_log_rec.VER#ID := 1;
ws_log_rec.CRE#TS := SYSDATE;
ws_log_rec.wl_source := SOURCE_SYS_ID;
ws_log_rec.wl_status := Status;
ws_log_rec.wl_tracking_id := tracking_id;
ws_log_rec.wl_account_id := account_id;
ws_log_rec.wl_mac_id := mac_id;
INSERT INTO ws_log
VALUES ws_log_rec;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END INSERT_WS_LOG;
PROCEDURE REPLICO_DEV_INFO( Acc_id IN VARCHAR2, Mc_Id IN VARCHAR2,channel IN VARCHAR2,
LOB_VAL IN VARCHAR2, outlet1 IN VARCHAR2, kit_cod IN VARCHAR2,
serial_No IN VARCHAR2, shipperr IN VARCHAR2, estm_recived_date IN date)
IS
Replico_device_info_det_Rec Replico_device_info_det%ROWTYPE := NULL;
REC_ID NUMBER;
BEGIN
SELECT REPLICO_DEVICE_INFO_DET#RECID.nextval INTO REC_ID FROM dual;
Replico_device_info_det_Rec.REC#ID := REC_ID;
Replico_device_info_det_Rec.ACCOUNT_ID := Acc_id;
Replico_device_info_det_Rec.MAC_ID := Mc_Id;
Replico_device_info_det_Rec.CHANNEL_LINE_UP := channel;
Replico_device_info_det_Rec.LOB_VALUE := LOB_VAL;
Replico_device_info_det_Rec.OUTLET := outlet1;
Replico_device_info_det_Rec.KIT_CODE := kit_cod;
Replico_device_info_det_Rec.SERIAL_NUMBER := serial_No;
Replico_device_info_det_Rec.SHIPPER := shipperr;
Replico_device_info_det_Rec.ESTIMATED_RECIVED_DATE := estm_recived_date;
INSERT INTO replico_device_info_det
VALUES Replico_device_info_det_Rec;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END REPLICO_DEV_INFO;
PROCEDURE SUBSCRIBER_INS_SS (
SOURCE_SYS_ID IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_NO IN VARCHAR2,
prepaidActDevDetails_tab IN prepaidActDeviceDetails_tabobj,
ERROR_CODE OUT VARCHAR2)
IS
Input_Parameter_Is_Null EXCEPTION;
PRAGMA EXCEPTION_INIT (Input_Parameter_Is_Null, -2000);
prepaidAccountDetails prepaid_act_dvc_details_obj
:= prepaid_act_dvc_details_obj (NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
STATUS VARCHAR2 (1) := '1';
cust_no VARCHAR (10);
m_mac_id VARCHAR2 (20);
channel_lineup VARCHAR2 (25);
LOB_VALUE VARCHAR2 (25);
subscriber_master_Rec subscriber_master%ROWTYPE := NULL;
Replico_device_info_det_Rec Replico_device_info_det%ROWTYPE := NULL;
flg NUMBER (1);
plan_code VARCHAR2(10);
subs_aact_no NUMBER(20);
m_plan_code1 payment_transaction_history.TH_PLAN_CODE%type;
m_payment_mode1 payment_transaction_history.TH_PAYMENT_MODE%type;
pm_phone_no_cur subscriber_master.pm_phone_no%type;
pm_status_cur subscriber_master.pm_status%type;
pm_user2_cur subscriber_master.pm_user2%type;
pm_user9_cur subscriber_master.pm_user9%type;
pm_cust_no_cur subscriber_master.pm_cust_no%type;
pm_cust_1 subscriber_master.pm_cust_no%type;
cm_i customer_master.cm_status%type;
CURSOR subs_rec is select pm_cust_no, pm_phone_no, pm_status, pm_user2, pm_user9 from subscriber_master
where pm_cust_no = cust_no and pm_status= 'S';
BEGIN
IF ( Source_Sys_Id IS NULL
OR Tracking_Id IS NULL
OR ACCOUNT_NO IS NULL
OR prepaidActDevDetails_tab.LAST = 0)
THEN
RAISE Input_Parameter_Is_Null;
END IF;
BEGIN
SELECT cm_cust_no
INTO cust_no
FROM customer_master
WHERE cm_cust_id = ACCOUNT_NO AND cm_status IN ('A', 'P', '0');
EXCEPTION
WHEN NO_DATA_FOUND
THEN
ERROR_CODE := 'SI001';
log_error ('SI001',
SQLERRM,
'No Customer exist with Active or Pre Actiavted');
INSERT_WS_LOG (Source_Sys_Id,
'F',
Tracking_Id,
Account_No,
prepaidAccountDetails.Mac_Id);
STATUS := '0';
END;
BEGIN
FOR i IN prepaidActDevDetails_tab.FIRST ..
(prepaidActDevDetails_tab.LAST)
LOOP
prepaidAccountDetails := prepaidActDevDetails_tab (i);
prepaidAccountDetails.Status_of_device := '1';
IF ( prepaidAccountDetails.Account_id IS NULL
OR prepaidAccountDetails.Mac_Id IS NULL
OR prepaidAccountDetails.LOB_value IS NULL)
THEN
RAISE Input_Parameter_Is_Null;
END IF;
IF (prepaidAccountDetails.LOB_value = 'VIDEO')
THEN
/* Commented as channel lineup is not coming from the input request */
/*IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
Error_code :='SI002';
log_error ('SI002', SQLERRM, 'Channel line up is mandatory for Video');
INSERT_WS_LOG(Source_Sys_Id,'F',Tracking_Id,Account_No,prepaidAccountDetails.Mac_Id);
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
END IF;*/
SELECT EC_CHANNEL_LINEUP
INTO channel_lineup
FROM ELIGIBLE_CUSTOMER
WHERE EC_CUSTOMER_NO = cust_no;
END IF;
BEGIN
SELECT 1
INTO flg
FROM subscriber_master
WHERE pm_phone_no = prepaidAccountDetails.Mac_Id
AND pm_status IN ('P', '0', 'A', 'B');
EXCEPTION
WHEN NO_DATA_FOUND
THEN
flg := 0;
END;
IF (flg = 1)
THEN
ERROR_CODE := 'SI003';
log_error ('SI003',
SQLERRM,
'Customer Already Exist with given Mac Id');
INSERT_WS_LOG (Source_Sys_Id,
'F',
Tracking_Id,
Account_No,
prepaidAccountDetails.Mac_Id);
STATUS := 0;
prepaidAccountDetails.Status_of_device := '0';
END IF;
BEGIN
SELECT md_mac_id
INTO m_mac_id
FROM mac_details
WHERE md_mac_id = prepaidAccountDetails.Mac_Id
AND md_start_date <= SYSDATE
AND md_status = 'A';
EXCEPTION
WHEN OTHERS
THEN
ERROR_CODE := 'SI004';
log_error ('SI004', SQLERRM, 'Invalid Mac Id');
INSERT_WS_LOG (Source_Sys_Id,
'F',
Tracking_Id,
Account_No,
prepaidAccountDetails.Mac_Id);
STATUS := 0;
prepaidAccountDetails.Status_of_device := '0';
END;
select pm_cust_no into pm_cust_1 from subscriber_master where pm_cust_no = cust_no;
IF (STATUS = 1 AND prepaidAccountDetails.Status_of_device = '1')
THEN
SELECT DECODE (prepaidAccountDetails.LOB_value,
'HSD', 'HSD',
'VIDEO', 'VDO')
INTO LOB_VALUE
FROM DUAL;
OPEN subs_rec;
LOOP
FETCH subs_rec into pm_cust_no_cur, pm_phone_no_cur, pm_status_cur, pm_user2_cur, pm_user9_cur;
IF subs_rec%FOUND THEN
IF
( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = prepaidAccountDetails.outlet and pm_status_cur = 'S')
THEN
update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id
where pm_cust_no = pm_cust_no_cur and pm_user9 = prepaidAccountDetails.outlet;
select cm_status into cm_i from customer_master where cm_cust_no = pm_cust_no_cur;
IF( cm_i = '0')
THEN
update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
END IF;
REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
ELSIF
( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = null and pm_status_cur = 'S')
THEN
update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id, pm_user9 = prepaidAccountDetails.outlet
where pm_cust_no = pm_cust_no_cur and pm_user9 = NULL;
update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
END IF;
ELSIF subs_rec%NOTFOUND THEN
SELECT PM_SUBS_ACT_NO_SEQ.NEXTVAL
INTO subs_aact_no
FROM DUAL;
subscriber_master_rec.PM_SUBS_ACT_NO := subs_aact_no;
subscriber_master_Rec.pm_phone_no :=
prepaidAccountDetails.Mac_Id;
subscriber_master_Rec.pm_open_date := SYSDATE;
subscriber_master_rec.pm_status := 'P';
subscriber_master_rec.PM_CUST_LVL_YN := 'S';
subscriber_master_rec.PM_EQUP_CODE := LOB_VALUE;
subscriber_master_rec.PM_HOME_AREA := 'HOM';
subscriber_master_rec.PM_USG_CODE := 'USG';
subscriber_master_rec.PM_NO_TYPE := 'S';
subscriber_master_rec.PM_TCG_CODE := 'DEF';
subscriber_master_rec.PM_APLN_DATE := SYSDATE;
subscriber_master_Rec.PM_NAME := prepaidAccountDetails.Mac_Id;
subscriber_master_Rec.PM_STAFF_id := '16';
subscriber_master_rec.PM_USER2 := LOB_VALUE;
subscriber_master_rec.PM_USER3 := channel_lineup;
subscriber_master_rec.pm_cust_no := cust_no;
subscriber_master_rec.PM_USER8 := 'Y';
INSERT INTO subscriber_master
VALUES subscriber_master_rec;
REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
END IF;
END LOOP;
CLOSE subs_rec;
SELECT TH_PLAN_CODE,TH_PAYMENT_MODE
INTO m_plan_code1,m_payment_mode1
FROM PAYMENT_TRANSACTION_HISTORY
WHERE TH_CUSTOMER_NO = cust_no
AND TH_LOB = LOB_VALUE
AND TH_SUBSCRIBER_NO IS NULL;
IF(LOB_VALUE = 'HSD') THEN
IF(m_plan_code1 = 'SIKI') THEN
plan_code := 'SIKI';
ELSE
plan_code := 'KIT';
END IF;
ELSE
IF(m_plan_code1 = 'SIKT') THEN
plan_code := 'SIKT';
ELSE
plan_code := 'TV';
END IF;
END IF;
UPDATE PAYMENT_TRANSACTION_HISTORY SET TH_SUBSCRIBER_NO = subs_aact_no, th_writeback_status = 'Y' WHERE TH_CUSTOMER_NO = cust_no AND TH_PLAN_CODE = plan_code;
COMMIT;
END IF;
END LOOP;
END;
END SUBSCRIBER_INS_SS;
END SUBS_INS_API_SS;
--- type object
create or replace
TYPE prepaid_act_dvc_details_obj--prepaidAccountDeviceDetailsObj
AS OBJECT ( Account_id VARCHAR2 ( 25 )
, Mac_Id VARCHAR2 ( 25 )
, Channel_Line_Up VARCHAR2 ( 25 )
, LOB_value VARCHAR2 ( 25 )
, Status_of_device VARCHAR2 ( 25 )
, outlet VARCHAR2(25)
, kit_code VARCHAR2(25)
, serial_Number VARCHAR2(25)
, shipper VARCHAR2(25)
, estimated_recived_date date )
type---
create or replace
TYPE prepaidActDeviceDetails_tabobj as table of prepaid_act_dvc_details_obj
---- i need to run this package via separate procedure. but i don't know how to pass the variable. because the passing argument contain object tab variable. please help me.. give me suggestion or procedure to run this pkg. -
I need help getting my music and videos to have sound again.
Today I noticed that the sound (music, games and videos) was not working on my Iphone 4. I can still hear updates, phone calls, ringing, text messages etc. I have backed up the phone and restored it, but that didnt work. If I plug head phones into the phone that works. I dont understand. Does anyone have any suggestions beforeI take it an Apple store or just get a new phone.
Hi jenanoch,
Welcome to the Support Communities!
The article below may be able to help you with this.
Click on the link to see more details and screenshots.
Phone: No sound or distorted sound from speaker
http://support.apple.com/kb/TS5180
Cheers,
- Judy -
Hello!
I have my cod which needs some bug fixing. This is a drag and drop application where the user will drap the correct answer on corresponding targets. My problem here is, when one target is already occupied by an object i can still drop another object there, which shouldn't. can you please help me fix this?
thanks in advance!
Sincerely.
Milo
Here's my code:
var startX: Number;
var startY: Number;
var correct: Number = 0;
var attempt: Number = 0;
var currentlyDragged:MovieClip;
// collection of objects stored in array
// so that you can reference them programmatically
var objects:Array = [at1, in1, in2, in3, in4, in5, in6, in7, in8, on1, on2];
activateObjects();
// assigns listeners and other functionality to the objects in objects array
function activateObjects():void {
for each(var mc:MovieClip in objects) {
mc.addEventListener(MouseEvent.MOUSE_DOWN, pickObject);
mc.buttonMode = true;
// assign drop targets based on names
switch(String(mc.name).substring(0, 2)) {
case "at":
mc.dropTargets = [targetAT1];
break;
case "in":
mc.dropTargets = [targetIN1, targetIN2, targetIN3, targetIN4, targetIN5, targetIN6, targetIN7, targetIN8];
break;
case "on":
mc.dropTargets = [targetON1, targetON2];
break;
function pickObject(e:MouseEvent):void {
currentlyDragged = MovieClip(e.currentTarget);
currentlyDragged.startDrag();
startX = currentlyDragged.x;
startY = currentlyDragged.y;
stage.addEventListener(MouseEvent.MOUSE_UP, dropObject);
function dropObject(e:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_UP, dropObject);
stopDrag();
var droppedOn:MovieClip;
if (currentlyDragged.dropTarget) {
// loop through targets belonging to the currently dragged clip
for each(var mc:MovieClip in currentlyDragged.dropTargets) {
if (currentlyDragged.hitTestObject(mc)) {
// get the target
droppedOn = mc;
currentlyDragged.removeEventListener(MouseEvent.MOUSE_DOWN, pickObject);
currentlyDragged.buttonMode = false;
currentlyDragged.x = droppedOn.x;
currentlyDragged.y = droppedOn.y;
correct++;
correctCounter.text = String(correct);
// stop loop - it is not necessary to continue
break;
attempt++;
attemptCounter.text = String(attempt);
// return to the initial position if there is no hit
if (!droppedOn) {
currentlyDragged.x = startX;
currentlyDragged.y = startY;
if (correct == objects.length) {
var congrats:CongratsMC = new CongratsMC();
// place i in the middle of the screen
congrats.x = (stage.stageWidth - congrats.width) * .5;
congrats.y = (stage.stageHeight - congrats.height) * .5;
addChild(congrats);Try the code below.
Also, use int instead of Number whenever possible - it is smaller and faster.
import flash.display.MovieClip;
import flash.display.Sprite;
var startX:Number;
var startY:Number;
var correct:int = 0;
var attempt:int = 0;
var currentlyDragged:MovieClip;
// collection of objects stored in array
// so that you can reference them programmatically
var objects:Array = [at1, in1, in2, in3, in4, in5, in6, in7, in8, on1, on2];
var congrats = new CongratsMC();
congrats.addEventListener("close", closeCongrats);
activateObjects();
// assigns listeners and other functionality to the objects in objects array
function activateObjects():void {
for each(var mc:MovieClip in objects) {
mc.addEventListener(MouseEvent.MOUSE_DOWN, pickObject);
mc.buttonMode = true;
// assign drop targets based on names
switch(String(mc.name).substring(0, 2)) {
case "at":
mc.dropTargets = [targetAT1];
break;
case "in":
mc.dropTargets = [targetIN1, targetIN2, targetIN3, targetIN4, targetIN5, targetIN6, targetIN7, targetIN8];
break;
case "on":
mc.dropTargets = [targetON1, targetON2];
break;
function pickObject(e:MouseEvent):void {
currentlyDragged = MovieClip(e.currentTarget);
currentlyDragged.startDrag();
startX = currentlyDragged.x;
startY = currentlyDragged.y;
stage.addEventListener(MouseEvent.MOUSE_UP, dropObject);
function dropObject(e:MouseEvent):void {
stage.removeEventListener(MouseEvent.MOUSE_UP, dropObject);
stopDrag();
var droppedOn:MovieClip;
correctCounter.text = String(correct);
if (currentlyDragged.dropTarget) {
// loop through targets belonging to the currently dragged clip
for each(var mc:MovieClip in currentlyDragged.dropTargets) {
if (currentlyDragged.hitTestObject(mc)&& mc.notUsed) {
// get the target
droppedOn = mc;
mc.notUsed = false;
currentlyDragged.removeEventListener(MouseEvent.MOUSE_DOWN, pickObject);
currentlyDragged.buttonMode = false;
currentlyDragged.x = droppedOn.x;
currentlyDragged.y = droppedOn.y;
correct++;
correctCounter.text = String(correct);
removeTarget(droppedOn);
// stop loop - it is not necessary to continue
break;
attempt++;
attemptCounter.text = String(attempt);
// return to the initial position if there is no hit
if (!droppedOn) {
currentlyDragged.x = startX;
currentlyDragged.y = startY;
if (correct == objects.length) {
// place i in the middle of the screen
congrats.x = (stage.stageWidth - congrats.width) * .5;
congrats.y = (stage.stageHeight - congrats.height) * .5;
addChild(congrats);
function removeTarget(target:Sprite):void {
var i:int = 0;
for each(var mc:MovieClip in objects) {
for (i = 0; i < mc.dropTargets.length; i++) {
if (mc.dropTargets[i] == target) {
mc.dropTargets.splice(i, 1);
function closeCongrats(e:Event):void {
removeChild(congrats); -
Need help in changing this simple method
This method searches an inventory vector for an object that wants to delete. It works successfully for the first occurence of the object....ignores the other occurences...
If I have three titles "Mash" it deletes the first one only ...I need to delete all of teh occurences....please help in improving this method... this method returns true if deleted succesfully, otherwise it returns false... your help is very much appreciated.
public boolean deleteMovie(MovieItem movie)
{ MovieData aMovie = new MovieData( queryTitle(movie.getTitle()) );
if ( isEmpty() || aMovie.getMovieSpecs() == null )
return false;
MovieData actualMovie = null;
int i = 0;
boolean found = false;
while( i < inventory.size() && !found )
{ actualMovie = (MovieData)inventory.elementAt(i);
if ( actualMovie.getMovieTitle().equals( aMovie.getMovieTitle() ) )
found = true;
else
i++;
if (found && notRented( actualMovie.getMovieSpecs() ) )
{ inventory.removeElementAt(i);
return true;
else
{ return false;removeElementAt removes only one element from the vector. If you want to remove N items from a vector you need to call removeElementAt N times. But you currently call it only once.
Here's your code formatted a bit more nicely:public boolean deleteMovie(MovieItem movie) {
MovieData aMovie = new MovieData(queryTitle(movie.getTitle()));
if (isEmpty() || aMovie.getMovieSpecs() == null)
return false;
MovieData actualMovie = null;
int i = 0;
boolean found = false;
while (i < inventory.size() && !found) {
actualMovie = (MovieData) inventory.elementAt(i);
if (actualMovie.getMovieTitle().equals(aMovie.getMovieTitle()))
found = true;
else
i++;
if (found && notRented(actualMovie.getMovieSpecs())) {
inventory.removeElementAt(i);
return true;
} else {
return false;
}As you can see, "inventory.removeElementAt(i);" is not in the loop -
NEED HELP? Read this first. Also, NOODZ.
Ok, first, noodz (caution: may not be work/school-safe*).
Now, if you need help, follow these guidelines.
Do your homework first.
Many of the questions that get posted here are directly answered in the Wiki or easily found on Google or through an Arch forum search. The Latest News will sometimes address known issues too. Finally, you can check the bugtracker to see if anyone else has reported the same problem. Do some research before posting to save yourself and others time. Don't just post a problem and expect everyone else to do your work for you. Archers help those who (at least try to) help themselves.
Use an explanatory subject title.
Titles such as "this doesn't work, wtf???" do not help and make people roll their eyes. Try to summarize the problem in the title so someone opening the thread has an idea of what your post is about. This will also increase the chance of someone who can solve your problem finding your thread.
Explain the problem clearly and provide detailed information.
Again, "it's just broken" and similar "descriptions" don't tell anyone anything. Give all the relevant information that you can think of, such as the specific error that you're getting, system information (e.g. soundcards for audio problems, network setup for connection problems), when the problem started and what might have caused it, relevant logs, relevant system configuration files, etc. Include information about anything that you've tried so far to solve the problem. You can also read this extensive guide on getting help.
Be patient and polite.
Sometimes it takes time to get a reply. Do not bump your thread every 3 hours with messages like "come on, help me!!!". Also, don't be rude to people who misunderstand your problem or reply with suggestions that don't work. Instead, politely try to explain your problem more clearly.
Mark the thread as [SOLVED] once you've found a solution.
Once you've found the solution, edit your original post and add "[SOLVED]" to the beginning of the subject title. This way others with similar problems will be able to find the solution faster.
@mods
This is my suggested consolidation and replacement of the following stickies:
http://bbs.archlinux.org/viewtopic.php?id=16152
http://bbs.archlinux.org/viewtopic.php?id=50160
http://bbs.archlinux.org/viewtopic.php?id=50161
*actually, it's a joke in response to Mr. Elendig's comment and it's perfectly worksafe
Last edited by Xyne (2008-11-15 14:25:33)tomk wrote:
Thanks for the suggestion, we'll have a look at it.
Tip for the future - if you want to make effective contributions, it would be better not to include random links to pages that may not be work/school-safe. Whatever merit your suggestion may have has been completely undermined by this unnecessary nonsense, which clearly belongs in the Off-topic area.
Um, it's a joke. If you check the link, you'll find a wikipedia page.
EDIT: The joke is a direct response to Mr. Elendig's post and my reply to it here: http://bbs.archlinux.org/viewtopic.php?id=50161
Last edited by Xyne (2008-11-15 14:12:54) -
I give up! I need help to solve this problem.
Just a heads up you will need coffee.
Please this is driving me mad and I cannot solve it I really, really can't! So here it is in a nutshell because I'm done! With trying to solve this by myself because clearly I'm not getting it.
So here is my understanding in short say 101 of networking put simply just as a base of understanding..... you get a IP from your ISP with a gateway IP in a subnet range and within that range you ARP to send from your IP to another IP in that range for the MAC (technically this MAC can still be the ISP gateway MAC and route by IP without knowing MAC for that other IP in your subnet but....works either way) and to send from your IP to an IP out side the subnet your in you send to the ISP gateway MAC where it will be routed.
This is from windows 7 and when you ARP that MAC e6-1f-6d-6c-db-da is my ISP for all of 10. for all of 172.16. to 172.31. for all of 192.168. and 169.254. replys with that MAC every-single-one! From a request by ARP IP sender like 77.96.238.3 (if that was my IP) in 255.255.254.0 for them target IP's! (except the ones in the subnet of the subnet your in) The reply comes from my ISP gateway basically saying for sending to IP's in 10. for all of 172.16. to 172.31. for all of 192.168. and 169.254. is over where my ISP gateway IS! ITS NOT!
C:\Windows\system32>arp -a
Interface: 77.96.238.3 --- 0x13
Internet Address Physical Address Type
10.0.0.1 e6-1f-6d-6c-db-da dynamic ]< NOT
10.0.0.2 e6-1f-6d-6c-db-da dynamic ]<-NOT
10.0.0.3 e6-1f-6d-6c-db-da dynamic ]<-NOT
10.0.0.4 e6-1f-6d-6c-db-da dynamic ]<-NOT
77.96.238.1 e6-1f-6d-6c-db-da dynamic }-OK
77.96.238.2 9d-d3-6d-4d-ad-c5 dynamic }-OK
77.96.238.4 20-8e-f2-0a-ef-c1 dynamic }-OK
77.96.238.5 4c-d3-3d-cd-7f-cd dynamic }-OK
77.96.238.6 80-e5-2a-c4-7e-31 dynamic }-OK
77.96.239.0 0c-b0-5d-09-d5-01 dynamic }-OK
77.96.239.2 50-1f-33-4b-bd-05 dynamic }-OK
77.96.239.3 8c-b0-5d-15-d0-79 dynamic }-OK
77.96.239.4 1c-d3-6d-ea-5c-0d dynamic }-OK
77.96.239.5 60-e5-2a-c8-94-59 dynamic }-OK
172.16.0.0 e6-1f-6d-6c-db-da dynamic ]< NOT
172.16.0.1 e6-1f-6d-6c-db-da dynamic ]<-NOT
172.16.0.2 e6-1f-6d-6c-db-da dynamic ]<-NOT
172.16.0.3 e6-1f-6d-6c-db-da dynamic ]<-NOT
192.168.0.0 e6-1f-6d-6c-db-da dynamic ]<-NOT
192.168.0.1 e6-1f-6d-6c-db-da dynamic ]<-NOT
192.168.0.2 e6-1f-6d-6c-db-da dynamic ]<-NOT
192.168.0.3 e6-1f-6d-6c-db-da dynamic ]<-NOT
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.252 01-00-5e-00-00-fc static
224.1.1.1 01-00-5e-01-01-01 static
255.255.255.255 ff-ff-ff-ff-ff-ff static
The XP TCP/IP stack does not do this and you might think that my windows 7 has a problem it does not because the TCP/IP stack in windows 7 is a rebuild of what the TCP/IP stack was like in XP but whats done is done and that how the windows 7 TCP/IP stack is and that should be a eye opener as to why nothing has been done about this but thats just me saying that but its not really a TCP/IP stack problem. So is that my ISP problem? The answer is no because even if my ISP did not reply you still can send requests from a valid IP like 77.96.238.3 to your ISP a ARP with a target IP that does not and should not exist out to your ISP gateway like 192.168.0.1 yet you can.
The simple fact is this there is no, none and nothing to make a ACL for ARP to drop the target/sender IP's for the 0806 Ethertype.
And I have tried this Dynamic ARP Inspection with both DHCP Snooping/Relay and ARP Inspection in a two port VLAN on the right port for this Trusted Interface to be on and Enabled VLANs for ARP Inspection is set with ARP Inspection Status & ARP Packet Validation enabled and in DHCP Snooping/Relay with DHCP Snooping Status & Verify MAC Address enabled and VLAN set for DHCP Snooping. Does not stop this.
Maybe just maybe if the DHCP Snooping looked at the Option 1 & 3 for the Subnet Mask & Router to know the range that the ARP Inspection can drop ARP for target IP's outside that range because like I said to send from your IP to an IP outside the subnet your in you send to the ISP gateway MAC where it will be routed only then would that Dynamic ARP Inspection work as I was hoping for but sadly no.
So please tell me why I can't simply drop ARP for given target/sender IP's is their another way (and NAT is not a solution) that ideally makes ARP for from 77.96.238.3 as the sender for a request for a target IP of 10. for all of 172.16. to 172.31. for all of 192.168 and 169.254. NOT reach my ISP BUT allows ARP from 77.96.238.3 as the sender for a request for a target IP within the given subnet to my ISP for a reply.
A million THANK YOU to anyone for helping me with thisI really do not get why providing a config would help because if you have a config that does what I need should it not be you to provide a config or tell me how? Why not tell me how if you know how? because I need to understand how if you know what I need to do.
But here is how its setup:
Administration
System Mode L3
VLAN Management
Default VLAN Settings 20
GE1-GE7 and GE10 VLAN 20 Trunk Untagged with GE8-GE9 Forbidden
GE8-GE9 VLAN 10 Trunk Untagged with GE1-GE7 and GE10 Forbidden
IP Configuration
IPv4 Interface VLAN 20 Static 192.168.1.254 255.255.255.0 Valid
DHCP Snooping/Relay
DHCP Snooping Status: Enable - ticked
Verify MAC Address: Enable - ticked
Interface Settings
VLAN 10 DHCP with Snooping Enable - ticked
DHCP Snooping Trusted Interfaces
GE9 Trusted Interface Yes
GE1-GE8 and GE10 Trusted Interface No
ARP Inspection
ARP Inspection Status: Enable - ticked
ARP Packet Validation: Enable- ticked
Interface Settings
GE9 Trusted Interface Yes
GE1-GE8 and GE10 Trusted Interface No
VLAN Settings
Enabled VLANs VLAN 10
Access Control
IPv4-Based ACL – note this is based on Ethertype 0800 it will not help me drop ARP which is Ethertype 0806 this really does not help it really does not but works for 0800 not for 0806 Ethertype.
Dropsetin
Dropsetintoout
IPv4-Based ACE for Dropsetin
Priority---------Action--Protocol------Source IP Address----------Destination IP Address
100--------------Deny---Any (IP)------Any-----------Any --------------192.168.0.0--0.0.255.255
101--------------Deny---Any (IP)------192.168.0.0--0.0.255.255-------Any----------Any
102--------------Deny---Any (IP) -----Any------------Any--------------10.0.0.0-------0.255.255.255
104--------------Deny---Any (IP)------Any------------Any--------------172.16.0.0----0.15.255.255
105--------------Deny---Any (IP)------172.16.0.0----0.15.255.255----Any------------Any
106--------------Deny---Any (IP)------Any------------Any--------------169.254.0.0---0.0.255.255
107--------------Deny---Any (IP)------169.254.0.0---0.0.255.255-----Any------------Any
2147483647---Permit--Any (IP) -----Any------------Any---------------Any-----------Any
IPv4-Based ACE for Dropsetintoout
Priority---------Action--Protocol------Source IP Address----------Destination IP Address
100--------------Deny---Any (IP)------Any-----------Any --------------192.168.0.0--0.0.255.255
101--------------Deny---Any (IP)------192.168.0.0--0.0.255.255-------Any----------Any
102--------------Deny---Any (IP) -----Any------------Any--------------10.0.0.0-------0.255.255.255
103--------------Deny---Any (IP) -----10.0.0.0-------0.255.255.255---Any------------Any
104--------------Deny---Any (IP)------Any------------Any--------------172.16.0.0----0.15.255.255
105--------------Deny---Any (IP)------172.16.0.0----0.15.255.255----Any------------Any
106--------------Deny---Any (IP)------Any------------Any--------------169.254.0.0---0.0.255.255
107--------------Deny---Any (IP)------169.254.0.0---0.0.255.255-----Any------------Any
2147483647---Permit--Any (IP) -----Any------------Any---------------Any-----------Any
ACL Binding for Dropsetin
GE9
ACL Binding for Dropsetintoout
GE8
And added a IPv6-Based ACL not that thiers any piont yet.
And added rules for modem status Source IP 192.168.100.1 0.0.0.0 Source port 80 Dropsetin before 192.168.0.0 drop and Destination IP 192.168.100.1 0.0.0.0 Destination port 80 before 192.168.0.0 drop in Dropsetintoout
Message was edited by: Peter __ -
Need help setting up the ultimate video editing system!
Hi,
I own a cinematic wedding film business. We have pretty significant client traffic, about 40 wedding films per year and still growing. We've decided to switch our post production studio from FCP to Premiere. We've also decided to start from scratch and invest in all new equipment for this switch. We are an apple based facility and will stay that way. We don't really have money/budget limitations. We don't allow budget to to bottle neck our company's efficiency or productivity. We want this editng system's speed, efficiency, and reliability to be priority #1!
On to my questions....
1. We will be purchasing a new mac pro as the primary editing station. What is the fastest, most efficient, and most reliable setup for running the entire adobe creative suite on a Mac pro? Or maybe another way of asking....what is the ultimate Mac pro setup for Adobe CS, and why?
2. I would like to go with an external raid system for all our projects. (We'll use the internal drives primarily for running applications only.) For the external raid, we'll need about 9-12TB of usable space. We need this system to be extremely reliable. What is the fastest connection for achieving the fastest read & write transfer rates between the raid system and the computer (esata, scsi,etc)? Also, what raid systems do you recommend that will meet our needs and why?
3. I would like to make a backup of all current projects twice a week to a seperate hard drive. My business partner will then take this drive home at the end of every day for safe offsite keeping. What do you recommend we do for this? Should we buy another duplicate raid system (same as the primary) and just mirror it, or should we buy a different type/name hard drive system? Should we make the backup system Raid 0 for easier access to files if needed? How should execute the backing-up process...drag and drop, time capsule, or some third party solution?
As you can probably tell, I'm hoping to get specific equipment recommendations and well as process recommendations. Advice in any of these areas would be much appreciated!
Thanks so much!Copy and Paste your question to either the Adobe or Creative Cow forums and you'll probably get a great deal of ideas about what's ideal..
Russ -
Need Help in creating this trigger
I need your help to create this trigger. I need to set the default fl in this table depending on various conditions:
If there is only one indvl with end date as null then set the default_pk column for that indvl as 'Y'
ELSE
If there are multiple indvl_pks in this table with NULL end date then set the default_fl column to 'Y' for the indvl_pk with the earliest start date .
ELSE if there are multiple indvls with same start date then set the dflt_fl to 'Y' with the minimum br_pk
I am unable to get this to work due to the mutating trigger problem.
For example in this one rows with emplt_pk with 1001 and 1003 will be set to 'Y'.
create table emplt
emplt_pk number,
indvl_pk number,
start_dt date,
end_dt date,
lct_fl char(1),
sup_fl char(1),
br_pk number,
nro_pk number,
default_fl
char(1) default 'N' );
INSERT
INTO emplt
values(1001, 101, to_date ('01-01-2005', 'MM-DD-YYYY' ), NULL, 'Y','N' ,123,NULL,NULL );
INSERT INTO emplt values(
1002, 101, to_date ('02-01-2005', 'MM-DD-YYYY' ), NULL, 'Y','N' ,NULL,0001,NULL );
INSERT INTO emplt values(
1003, 102, to_date ('02-01-2005', 'MM-DD-YYYY' ), NULL, 'Y','N' ,NULL,0001,NULL );
Thanks in advancethe Easy Tabs could be useful for your requirement
http://usermanagedsolutions.com/SharePoint-User-Toolkit/Pages/Easy-Tabs-v5.aspx
/blog
twttr @esjord
Maybe you are looking for
-
I'm using the mouse that came with my eMac and didn't have any issues for a long time. The problem I'm having now is that when I click on a link to download a file, nothing happens. Most sites suggest right clicking, but I've never have been able to
-
What is going on with Layer styles??
For the last few weeks I have been having problems with my photoshop. One day I opened it and all the layer styles (6 gigs worth) were just gone. No one knew how to restore them here so I did them all over again and saved 3 sets at 2gigs each. Now ev
-
Hi to all! Unfortunately, I didn't find package DBMS_PIPE in this database edition! How I can walk it around? Or may be there is a trick ? Thanks in advance, Konstantin.
-
Please find below the code when I select gv_zpersnr1on screen I want to fill second field gv_pername1 and display after we select.But it cannot be displayed PROCESS BEFORE OUTPUT. MODULE status_0100. MODULE init_screen_0100. PROCESS AFTER INPUT.
-
Order: ADxxxxxxxx It is unacceptable that since August 2 I have placed an order on your website and even today this is not processed. Message was edited by: Geoff the kiwi Order number removed for safety..