Suggestions for doing this rose petal design?
How would I best integrate these petals on this page, to give the impression that they are lying on a floor or stage without drawing one? I am going to photograph new petals so this picture is only preliminary to figure out how to do it. It would be good also to have a few falling. Open to suggestions also for this. I'd also like to have them work with the smoke - shadows, depth etcetera.
I'm not an illustrator so keep that in mind. =)
I have Adobe CS.
This will be a web page.
Suggestions welcomed. Thanks in advance.
http://www.flickr.com/photos/31397194@N03/3502118140/
Sorry about that. Here you go:
http://www.flickr.com/photos/31397194@N03/3502118140/
No wonder I'm not gettting any responses! =)
EDIT
Looks like the link is working, at least on my end.
I'm not sure how to make the petals appear layered in the smoke, with realistic lighting.
Also open to ideas on the page design. This will be a background for a web page.
Do you guys even think the design could work, if done right?
I have a vague impression of what I want to do, but am having trouble integrating it into a working design.
Similar Messages
-
Give Me Some Tips For doing this report.
hi frd. help me in this report.
parameter : plant,material no,company code,storage location.
display: material no, material desc, UOM, ROL, warehouse, open po, open po qty, open pr no, open pr qty.
Kindly Give me tips for doing this report.
thank u
Pari Vendhan.RHi,
Its will not fullfill ur requirement but upto some extent...just have a look.
TYPE-POOLS : slis.
TABLES : mkpf,
mseg,
t001w,
t001l.
TYPES : BEGIN OF ty_t001w,
werks TYPE t001w-werks,
name1 TYPE t001w-name1,
END OF ty_t001w,
BEGIN OF ty_makt,
matnr TYPE makt-matnr,
maktx TYPE makt-maktx,
END OF ty_makt,
BEGIN OF ty_t001l,
lgort TYPE t001l-lgort,
lgobe TYPE t001l-lgobe,
END OF ty_t001l.
DATA : BEGIN OF it_mat OCCURS 0,
mbln LIKE mseg-mblnr, " Number of Material Document
zeile LIKE mseg-zeile, " Item in Material Document
mjahr LIKE mseg-mjahr, " Material Document Year
bwart LIKE mseg-bwart, " Movement Type
matnr LIKE mseg-matnr, " Material Number
erfmg LIKE mseg-erfmg, "Quantity in unit of entry
erfme LIKE mseg-erfme, "Unit of entry
werks LIKE mseg-werks, "Plant
lgort LIKE mseg-lgort, "Storage location
umwrk LIKE mseg-umwrk, "Receiving plant/issuing plant
umlgo LIKE mseg-umlgo, "Receiving/issuing storage location
bldat LIKE mkpf-bldat, "Document Date in Document
budat LIKE mkpf-budat, "Posting Date in the Document
maktx LIKE makt-maktx, "Material description
name1 LIKE t001w-name1, "Name
name2 LIKE t001w-name1, "Name
lgobe LIKE t001l-lgobe, "Description of storage location
lgobe1 LIKE t001l-lgobe, "Description of storage location
END OF it_mat.
DATA : it_t001w TYPE TABLE OF ty_t001w
WITH HEADER LINE,
it_makt TYPE TABLE OF ty_makt
WITH HEADER LINE,
it_t001l TYPE TABLE OF ty_t001l
WITH HEADER LINE.
DATA : ls_layout TYPE slis_layout_alv,
it_fcat TYPE slis_t_fieldcat_alv ,
wa_fcat TYPE slis_fieldcat_alv,
"lh TYPE slis_t_listheader,
" ls TYPE slis_listheader,
i_events TYPE slis_t_event WITH HEADER LINE ,
"ls_event TYPE slis_alv_event ,
w_var TYPE i.
DATA : l_date(10).
DATA : l_date1(20),
ztabix LIKE sy-tabix.
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_werks FOR mseg-werks,
s_lgort FOR mseg-lgort,
s_umwrk FOR mseg-umwrk,
s_umlgo FOR mseg-umlgo,
s_bwart FOR mseg-bwart,
s_budat FOR mkpf-budat,
s_mjahr FOR mkpf-mjahr NO-EXTENSION.
SELECTION-SCREEN END OF BLOCK a1.
AT SELECTION-SCREEN.
SELECT SINGLE * FROM t001w INTO t001w
WHERE werks IN s_werks.
IF sy-subrc <> 0.
MESSAGE e000(8i) WITH 'Enter a Valid Supplying Plant'.
ENDIF.
SELECT SINGLE * FROM t001w INTO t001w
WHERE werks IN s_umwrk.
IF sy-subrc <> 0.
MESSAGE e000(8i) WITH 'Enter a Valid Receiving Plant'.
ENDIF.
SELECT SINGLE * FROM t001l INTO t001l
WHERE lgort IN s_lgort.
IF sy-subrc <> 0.
MESSAGE e000(8i) WITH 'Enter a Valid Supplying St.Loc'.
ENDIF.
SELECT SINGLE * FROM t001l INTO t001l
WHERE lgort IN s_umlgo.
IF sy-subrc <> 0.
MESSAGE e000(8i) WITH 'Enter a Valid Receiving St.Loc'.
ENDIF.
START-OF-SELECTION.
PERFORM field_cat.
PERFORM get_data.
*END-OF-SELECTION.
IF it_mat[] IS INITIAL.
MESSAGE i000(8i) WITH 'No data Found'(m01).
* EXIT.
ELSE.
PERFORM process_data.
PERFORM display_data.
ENDIF.
*& Form field_cat
* text
* --> p1 text
* <-- p2 text
FORM field_cat .
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'MBLN'.
wa_fcat-key = 'X'.
wa_fcat-hotspot = 'X'.
wa_fcat-ref_fieldname = 'MBLNR'.
wa_fcat-ref_tabname = 'MSEG'.
wa_fcat-seltext_m = 'Material Doc'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'ZEILE'.
wa_fcat-ref_fieldname = 'ZEILE'.
wa_fcat-ref_tabname = 'MSEG'.
wa_fcat-seltext_m = 'Item No'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'MJAHR'.
wa_fcat-ref_fieldname = 'MJAHR'.
wa_fcat-ref_tabname = 'MSEG'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'BWART'.
wa_fcat-ref_fieldname = 'BWART'.
wa_fcat-ref_tabname = 'MSEG'.
wa_fcat-seltext_m = 'Mvmt Type'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'BLDAT'.
wa_fcat-ref_fieldname = 'BLDAT'.
wa_fcat-ref_tabname = 'MKPF'.
wa_fcat-seltext_m = 'Document Date'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'BUDAT'.
wa_fcat-ref_fieldname = 'BUDAT'.
wa_fcat-ref_tabname = 'MKPF'.
wa_fcat-seltext_m = 'Posting Date'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'MATNR'.
wa_fcat-ref_fieldname = 'MATNR'.
wa_fcat-ref_tabname = 'MSEG'.
wa_fcat-seltext_m = 'Material No'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'MAKTX'.
wa_fcat-ref_fieldname = 'MAKTX'.
wa_fcat-ref_tabname = 'MAKT'.
wa_fcat-seltext_m = 'Material Description'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'ERFMG'.
wa_fcat-ref_fieldname = 'ERFMG'.
wa_fcat-ref_tabname = 'MSEG'.
wa_fcat-seltext_m = 'Quantity'.
wa_fcat-do_sum = 'X'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'ERFME'.
wa_fcat-ref_fieldname = 'ERFME'.
wa_fcat-ref_tabname = 'MSEG'.
wa_fcat-seltext_m = 'Uom'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'WERKS'.
wa_fcat-seltext_m = 'Supplying Plant'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'NAME1'.
wa_fcat-seltext_m = 'S.Plnt Desc.'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'LGORT'.
wa_fcat-seltext_m = 'Supplying St.Loc'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'LGOBE'.
wa_fcat-seltext_m = 'Su.St.Loc Desc.'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'UMWRK'.
wa_fcat-seltext_m = 'Receiving Plant'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'NAME2'.
wa_fcat-seltext_m = 'R.Plnt Desc.'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'UMLGO'.
wa_fcat-seltext_m = 'Receiving St.Loc'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
wa_fcat-col_pos = w_var.
wa_fcat-tabname = 'IT_MAT'.
wa_fcat-fieldname = 'LGOBE1'.
wa_fcat-seltext_m = 'Re.St.Loc Desc.'.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ADD 1 TO w_var.
ENDFORM. " field_cat
*& Form get_data
* text
* --> p1 text
* <-- p2 text
FORM get_data .
SELECT a~mblnr a~zeile a~mjahr a~bwart a~matnr
a~erfmg a~erfme a~werks a~lgort a~umwrk a~umlgo
b~budat b~bldat
INTO CORRESPONDING FIELDS OF TABLE it_mat
FROM mseg AS a INNER JOIN mkpf AS b
ON a~mblnr = b~mblnr
AND a~mjahr = b~mjahr
CLIENT SPECIFIED
WHERE a~mandt EQ sy-mandt
AND a~werks IN s_werks
AND a~lgort IN s_lgort
AND a~umwrk IN s_umwrk
AND a~umlgo IN s_umlgo
AND a~bwart IN s_bwart
AND b~budat IN s_budat
AND b~mjahr IN s_mjahr.
IF sy-subrc EQ 0.
SELECT matnr maktx
INTO TABLE it_makt FROM makt
CLIENT SPECIFIED
FOR ALL ENTRIES IN it_mat
WHERE matnr = it_mat-matnr AND mandt EQ sy-mandt.
ENDIF.
SELECT werks name1
INTO TABLE it_t001w FROM t001w
CLIENT SPECIFIED
WHERE mandt EQ sy-mandt.
IF sy-subrc <> 0.
MESSAGE e000(zmss).
ENDIF.
SELECT lgobe INTO TABLE it_t001l FROM t001l
CLIENT SPECIFIED
WHERE mandt EQ sy-mandt.
IF sy-subrc <> 0.
MESSAGE e000(zmss).
ENDIF.
ENDFORM. " get_data
*& Form process_data
* text
* --> p1 text
* <-- p2 text
FORM process_data .
LOOP AT it_mat.
ztabix = sy-tabix.
READ TABLE it_makt WITH KEY matnr = it_mat-matnr.
IF sy-subrc = 0.
it_mat-maktx = it_makt-maktx.
ENDIF.
IF it_mat-bwart+2(1) = '2'.
it_mat-erfmg = - ( it_mat-erfmg ).
ENDIF.
READ TABLE it_t001w WITH KEY werks = it_mat-werks.
IF sy-subrc = 0.
it_mat-name1 = it_t001w-name1.
ENDIF.
READ TABLE it_t001w WITH KEY werks = it_mat-umwrk.
IF sy-subrc = 0.
it_mat-name2 = it_t001w-name1.
ENDIF.
READ TABLE it_t001l WITH KEY lgort = it_mat-lgort.
IF sy-subrc = 0.
it_mat-lgobe = it_t001l-lgobe.
ENDIF.
READ TABLE it_t001l WITH KEY lgort = it_mat-umlgo.
IF sy-subrc = 0.
it_mat-lgobe1 = it_t001l-lgobe.
ENDIF.
MODIFY it_mat INDEX ztabix .
ENDLOOP.
ENDFORM. " process_data
*& Form display_data
* text
* --> p1 text
* <-- p2 text
FORM display_data .
REFRESH i_events.
i_events-form = 'TOP'.
i_events-name = 'TOP_OF_PAGE'.
APPEND i_events.
CLEAR i_events.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = SY-CPROG
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
i_callback_top_of_page = 'TOP'
* i_callback_html_top_of_page = 'TOP'
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
i_background_id = 'ALV_BACKGROUND'
* I_GRID_TITLE =
* I_GRID_SETTINGS =
* IS_LAYOUT = LS_LAYOUT
it_fieldcat = it_fcat[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
it_events = i_events[]
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_mat
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " display_data
*& Form top
* text
FORM top.
DATA : idate(10),
idate1 TYPE sy-datum.
DATA : ls_line TYPE slis_listheader,
i_listheader TYPE slis_t_listheader .
CLEAR ls_line.
ls_line-typ = 'H'.
ls_line-info = sy-repid.
APPEND ls_line TO i_listheader.
CLEAR ls_line.
ls_line-typ = 'S'.
ls_line-info = 'MATERIAL DOCUMENT LIST'.
APPEND ls_line TO i_listheader.
CLEAR ls_line.
idate1 = sy-datum.
WRITE idate1 TO idate USING EDIT MASK '__/__/____'.
ls_line-typ = 'S'.
ls_line-info = idate.
APPEND ls_line TO i_listheader.
CLEAR ls_line.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = i_listheader
i_logo = 'LOGO'.
* I_END_OF_LIST_GRID =
ENDFORM. "TOP -
I use an Macbook from 2006 with OS X 10.7.5
MyDay starts up every time I switch on. I don't use it, so want to remove it from the list of programs which start automatically. I have followed all instructions for doing this, and have of course unlocked and relocked the relevant page in Systems Preferences, but the instruction never 'sticks', and MyDay still starts every time. Anyone know what to do?Check StartupItems...
Open a Finder window. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following:
/Library/StartupItems
Click Go. If you see any reference to MyDay, delete it. That does not delete the app Just keeps it from launching when you startup your Mac.
Just to be sure, you checked System Preferences > Users & Groups > Login Items ??
Unlocking or locking the padlock icon only prevents other users from changing your preferences. -
After migrating my old iMac to my new one, every time I start iTunes, I get the following message: "We could not complete your iTunes store request. An unknown error occurred (4002). Any suggestions for curing this?
Perfect - thanks so much!
For anyone else wondering, the clue was in what was displayed on the screen after I turned iTunes Match on again: it asked whether I wanted to add this computer. Having copied my iTunes library over from the old machine, I'd completely forgotten that iTunes Match identifies each computer uniquely (not each iTunes Library), so was never going to work with this one until I specifically added it. Sorted! -
My computer is functioning really slowly since downloading Mavericks. My programs lag opening if at all. Any suggestions for fixing this?
I installed it maybe 2 weeks ago, Here are my results:
Hardware Information:
MacBook (13-inch, Late 2009)
MacBook - model: MacBook6,1
1 2.26 GHz Intel Core 2 Duo CPU: 2 cores
2 GB RAM
Video Information:
NVIDIA GeForce 9400M - VRAM: 256 MB
System Software:
OS X 10.9.2 (13C1021) - Uptime: 0 days 22:44:15
Disk Information:
TOSHIBA MK2555GSXF disk0 : (250.06 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Marshmallow (disk0s2) / [Startup]: 249.2 GB (125.02 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-898
USB Information:
Apple Inc. Built-in iSight
Apple Inc. Apple Internal Keyboard / Trackpad
Logitech USB Receiver
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information:
Gatekeeper:
Mac App Store and identified developers
Kernel Extensions:
[kext loaded] at.obdev.nke.LittleSnitch (4052 - SDK 10.8) Support
[not loaded] com.devguru.driver.SamsungACMControl (1.4.14 - SDK 10.6) Support
[not loaded] com.devguru.driver.SamsungACMData (1.4.14 - SDK 10.6) Support
[not loaded] com.devguru.driver.SamsungComposite (1.4.14 - SDK 10.6) Support
[not loaded] com.devguru.driver.SamsungMTP (1.4.14 - SDK 10.5) Support
[not loaded] com.devguru.driver.SamsungSerial (1.4.14 - SDK 10.6) Support
[not loaded] com.mobile-stream.driver.EasyTetherUSBEthernet (1.0.4 - SDK 10.4) Support
[not loaded] com.motorola-mobility.driver.MotMobileMS (1.0.0 - SDK 10.5) Support
[not loaded] com.motorola-mobility.driver.MotMobileMTP (1.2.2 - SDK 10.5) Support
[not loaded] com.motorola-mobility.driver.MotMobileUSB (1.2.2 - SDK 10.5) Support
[not loaded] com.motorola-mobility.driver.MotMobileUSBLAN (1.2.2 - SDK 10.5) Support
[not loaded] com.motorola-mobility.driver.MotMobileUSBLANMerge (1.2.2 - SDK 10.5) Support
[not loaded] com.motorola-mobility.driver.MotMobileUSBSwch (1.2.2 - SDK 10.5) Support
Launch Daemons:
[running] at.obdev.littlesnitchd.plist Support
[running] com.adobe.ARM.[...].plist Support
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.adobe.versioncueCS4.plist Support
[running] com.autodesk.backburner_manager.plist Support
[running] com.autodesk.backburner_server.plist Support
[failed] com.autodesk.backburner_start.plist Support
[loaded] com.google.keystone.daemon.plist Support
[running] com.motorola-mobility.mmcfgd.plist Support
Launch Agents:
[running] at.obdev.LittleSnitchUIAgent.plist Support
[loaded] com.adobe.CS4ServiceManager.plist Support
[running] com.Affinegy.InstaLANa.plist Support
[loaded] com.google.keystone.agent.plist Support
[loaded] com.motorola.MDMUpdater.plist Support
[running] com.motorola.motohelper.plist Support
[loaded] com.motorola.motohelperUpdater.plist Support
User Launch Agents:
[loaded] com.adobe.ARM.[...].plist Support
[loaded] com.adobe.ARM.[...].plist Support
[running] com.akamai.single-user-client.plist Support
User Login Items:
iTunesHelper
Skype
Dropbox
Android File Transfer Agent
GrowlHelperApp
TWC-WiFi Menu
KiesViaWiFiAgent
KiesViaWiFiAgent
fuspredownloader
Internet Plug-ins:
o1dbrowserplugin: Version: 5.3.1.18536 Support
Default Browser: Version: 537 - SDK 10.9
AdobePDFViewerNPAPI: Version: 11.0.02 - SDK 10.6 Support
FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
DivXBrowserPlugin: Version: 2.1 Support
Silverlight: Version: 5.1.20913.0 - SDK 10.6 Support
Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
googletalkbrowserplugin: Version: 5.3.1.18536 Support
iPhotoPhotocast: Version: 7.0
AdobePDFViewer: Version: 11.0.02 - SDK 10.6 Support
CouponPrinter-FireFox_v2: Version: Version 1.1.6 Support
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
Safari Extensions:
DivX HiQ: Version: 2.1.1.94
DivX Plus Web Player HTML5 <video>: Version: 2.1.1.94
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins:
fbplugin_1_0_3: Version: (null) Support
3rd Party Preference Panes:
Adobe Version Cue CS4 Support
Akamai NetSession Preferences Support
Flash Player Support
Growl Support
Time Machine:
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Marshmallow: Disk size: 232.09 GB Disk used: 115.65 GB
Destinations:
Patrice [Local] (Last used)
Total size: 465.44 GB
Total number of backups: 42
Oldest backup: 2012-07-09 21:31:08 +0000
Last backup: 2014-04-28 23:46:05 +0000
Size of backup disk: Adequate
Backup size 465.44 GB > (Disk used 115.65 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
5% WindowServer
3% plugin-container
1% firefox
0% ps
0% Dropbox
Top Processes by Memory:
381 MB firefox
86 MB plugin-container
51 MB Finder
39 MB WindowServer
33 MB softwareupdated
Virtual Memory Information:
30 MB Free RAM
548 MB Active RAM
523 MB Inactive RAM
363 MB Wired RAM
1.04 GB Page-ins
151 MB Page-outs -
What is the obsession for doing this?
Ok, it's a part rant and a part question.
I have a developer who uses code peppered everywhere for something like this.
select max(column1), max(column2)
into l_column1, l_column2
from table
where unique_key_column := p_value;My guess would be to avoid writing the code this way.
begin
select column1, column2
into l_column1, l_column2
from table
where unique_key_column := p_value;
when no_data_found then
null;
when too_many_rows then --this is a different rant. I explained why this is too_many_rows -- this will never fire for unique key lookup.
null;
end;Question:
Since I cannot ask the developer(anymore) why they wrote the code as such, I am just guessing that they don't want to deal with writing the no_data_found. Is my assumption wrong?
Also,
I remember, asking them about this and I think the reply is: What if somebody gets rid of unique key?
If it is indeed true, have you had somebody write code that is peppered everywhere as such either because they don't want to trust the data or even if they know the data, they are afraid of somebody getting rid of the 'unique key'? Didn't look like a valid argument to me. If somebody were to get rid of the unique key, wouldn't that change the whole design?
Also, in my view, if somebody were to write a too_many_rows exception everywhere just because they are afraid of somebody getting rid of unique key, then, that's bad too. They have to trust the design of the table.
Thoughts? Suggestions?
Thank you.Hi,
RPuttagunta wrote:
Ok, it's a part rant and a part question.
I have a developer who uses code peppered everywhere for something like this.
select max(column1), max(column2)
into l_column1, l_column2
from table
where unique_key_column := p_value;
Let's call the code above Version 1, and let's call the code below Version 2.
My guess would be to avoid writing the code this way.
begin
select column1, column2
into l_column1, l_column2
from table
where unique_key_column := p_value;
when no_data_found then
null;
when too_many_rows then --this is a different rant. I explained why this is too_many_rows -- this will never fire for unique key lookup.
null;
end;
Sorry, I don't understand. Is Version 1 or Version 2 the one you prefer?
It looks like Version 2 has a syntax error; it looks like the keyword EXCEPTION is missing before the first WHEN.
Question:
Since I cannot ask the developer(anymore) why they wrote the code as such, I am just guessing that they don't want to deal with writing the no_data_found. Is my assumption wrong?It looks like they are dealing with it in Version 2, though it would be better to add a comment, and maybe even explicitly set the variables, depending on what the reuriements are.
For example:
EXCEPTION
WHEN NO_DATA_FOUND -- This is not really an error, the procedure can
THEN -- continue with NULL values
l_column1 := NULL;
l_column2 := NULL;
...Of course, if the procedure can't automatically continue after a NO_DATA_FOUND error, then you shouldn't hide the error. If you have an EXCEPTION handler for it at all (say, to log the error in a table), then you should RAISE the error anew at the end of the exception handler.
Also,
I remember, asking them about this and I think the reply is: What if somebody gets rid of unique key?
If it is indeed true, have you had somebody write code that is peppered everywhere as such either because they don't want to trust the data or even if they know the data, they are afraid of somebody getting rid of the 'unique key'? Didn't look like a valid argument to me. If somebody were to get rid of the unique key, wouldn't that change the whole design?
Also, in my view, if somebody were to write a too_many_rows exception everywhere just because they are afraid of somebody getting rid of unique key, then, that's bad too. They have to trust the design of the table.I agree. It seems like the chances are very slight of correctly predicting what the code should do if the uniqueness constraint is changed. It's better to have something that will raise errors in the testing process. -
Suggestions for improving this update in batches of 100 records
I'm currently using the following PL/SQL code to update batches of records in groups of 100 records at a time.
- DB Version : Oracle9i Enterprise Edition Release 9.2.0.7.0
- There is an index on columns : AHS_CONTACT_TYPE, SYNCSTATUS
- I have to commit the records in batches of 100
-- Mark all the Agents "In Process" (regardless of Owner)
-- Update last_modified_by_id to 'SALESFORCE_LOADED' if the
-- last_modified_by_id column is 'SALESFORCE_SYNC' and
-- the ID column is NOT NULL
ln_count := 0;
FOR C IN (SELECT tmpsf_CONTACT.ROWID
FROM tmpsf_CONTACT
WHERE ( AHS_CONTACT_TYPE = c_sfContactType_AGENT ) AND
( SYNCSTATUS <> c_sfsyncstatus_IN_PROCESS )
LOOP
UPDATE tmpsf_CONTACT
SET SYNCSTATUS = c_sfsyncstatus_IN_PROCESS,
LAST_MODIFIED_BY_ID = decode( LAST_MODIFIED_BY_ID, c_username_SALESFORCE_SYNC,
decode( ID, NULL, LAST_MODIFIED_BY_ID,
c_username_SALESFORCE_LOADED),
LAST_MODIFIED_BY_ID)
WHERE ( tmpsf_CONTACT.ROWID = c.ROWID );
-- Commit every 100 records
IF (ln_count >= 100) THEN
COMMIT;
ln_count := 1;
ELSE
ln_count := ln_count + 1;
END IF;
END LOOP;
-- Catch last batch with any records less then 100
COMMIT;Does anyone have any suggestions about further improving this performance?
Thanks,
JasonOkay, I have to do it batches per our DBA group.
This is not up for debate...unfortunately. Their
r reasons :
- To keep the rollback segment small Very small apparently, in fact in this test, updating 100 rows of 2 varchar2(200) columns uses 56 KB of rollback. Updating the whole 10,000 rows uses 5 MB. Is this database running on a pocket USB flash drive? Currently costing $30 for 512 MB from Amazon
http://www.amazon.com/gp/product/B0000B3AKR/qid=1136558252/sr=8-2/ref=pd_bbs_2/103-9580563-3995040?n=507846&s=electronics&v=glance
SQL> create table t as select rpad('x',200,'x') a, rpad('y',200,'y') b
2 from dual connect by level <= 10000;
Table created.
SQL> update t set a = replace(a,'x','y'),
2 b = replace(b,'y','x')
3 where rownum <= 100;
100 rows updated.
SQL> select
2 used_ublk undo_used_blk,
3 used_ublk * blk_size_kb undo_used_kb,
4 log_io logical_io,
5 cr_get consistent_gets
6 from
7 v$transaction, v$session s,
8 (select distinct sid from v$mystat) m,
9 (select to_number(value)/1024 blk_size_kb
10 from v$parameter where name='db_block_size')
11 where
12 m.sid = s.sid
13 and ses_addr = saddr;
UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
7 56 337 227
SQL> rollback;
Rollback complete.
SQL> update t set a = replace(a,'x','y'),
2 b = replace(b,'y','x');
10000 rows updated.
SQL> select
2 used_ublk undo_used_blk,
3 used_ublk * blk_size_kb undo_used_kb,
4 log_io logical_io,
5 cr_get consistent_gets
6 from
7 v$transaction, v$session s,
8 (select distinct sid from v$mystat) m,
9 (select to_number(value)/1024 blk_size_kb
10 from v$parameter where name='db_block_size')
11 where
12 m.sid = s.sid
13 and ses_addr = saddr;
UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
626 5008 31898 594
SQL>>
- To prevent tying up the entire table
They don't know much about Oracle these DBAs do they, what exactly do they mean by "tying up the table"?
Maybe they didn't get past the 2 Day DBA manual to the Concepts guide yet?
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i13945
>
- And the most important, replicated transactions
must be reasonably small for throughout across the
WAN
I don't know what replication engine is being used, but the loop approach uses a huge amount more of REDO than a simple set based update. Most replication applies the REDO to the remote database to synch it up. The loop will cause more data to be transferred over the WAN than a single update.
>
Either way, I want to optimize this code as much as
possible. In fact, today I found a need to do a
similar update again...
Just do the update. It uses less resources and is faster becasue of it. The slow approach does not use fewer database resources because you are throttling it. It is slower because it requires more of everything. -
What is the sql statement for doing this?
Hi,
I am currently doing a simple search engine that allows a user to key in a filename and display all the files' name close to keyed filename(the first two letters are the same).What is the proper sql statement to select from Document according to DocumentType and the first two letters of the filename? Am i doing it the right way? I am currently use Access 2002, dunno if it will affects me.Thanks in advance
[What i did]
String filename="doc,txt"
SELECT DocumentType from Rule where UserType='1' and Action='Search';
DocumentType=1,5,9,13,17,21,25,29,33,37,41,45 // This is all the document Type the user can see.
Next i used StringTokenizer break the DocumentType.
DocumentType[0]=1;
DocumentType[0]=5;
SELECT * from Document where DocumentType and Name <<< I want to select from Document according to DocumentType and the first two letters of the filenameOne more try - from what I can follow?
If I assume you have a table named for example "UserRules"
which has fields UserID,UserType,UserAction
and has records like this that controls the document types
a user is allowed to see
UserID UserType Action
TOM 1 Search
BILL 7 Search
ROY 2 Search
And if I assume you have a table named for example "AllowedUserDocumentTypes"
which has fields UserType,DocumentTypes
and has records like this that controls the document types
a user is allowed to see
UserType DocumentTypes
1 1,3,4,5,6,19
2 7,9,12,18
3 1,19,33,27
And you have the document table which has
fields are DocNo,Name,Title,Date,Filename,DocumentType
and it has records like this
DocNo Name Title Date Filename DocumentType
12345 BILL Cars CarTypes 18
12346 ROY Trucks TruckTypes 2
12347 TOM Toys ToyTypes 17
12345 JACK Car Colors CarColors 19
12345 TOM Car Shapes CarShapes 7
Then the select statement
Select DocumentTypes from AllowedUserDocumentTypes
join UserRules where UserRules.UserType = AllowedUserDocumentTypes.UserType
and UserRules.UserID = 'ROY' and UserRules.Action = 'Search';
will return 7,9,12,18
If the DocumentType field is numeric and the user entered "CarCrap" the
select statement would have to look like this
SELECT * from Document
where left(Filename,2) = 'Ca' and DocumentType in (7,9,12,18);
If the DocumentType field is say varchar
select statement would have to look like this
SELECT * from Document
where left(Filename,2) = 'Ca' and DocumentType in ('7','9','12','18');
You will have to build these select statements related to the user.
Note you should also allow for upper and lower case differences. I
would suggest you convert the user entry into uppercase and do a select
like below
SELECT * from Document
where Ucase(left(Filename,2)) = 'CA' and DocumentType in (7,9,12,18);
This is all written from memory, not tested and I have not done this
in several years.
I was showing approximately how to build the statements before.
rykk -
Need Suggestion for doing XI Project
I have to work with project like Inter-distribution of stock availabilty check, Request for goods,Purchase Order,Invoice....
Can u give me idea how to proceed with this project in XI.. I am new to SAP also...
Wht kind of scenarios i have to work with to complete the project...
It would be very helpful to me if u give the suggestion...
Thanks & Regards.
Pushparaju.BHi,
of course we can help you:)
you will need to familiarize youself with interfaces from the SAP point of view
IDOCs, RFC, ABAP proxies
then you need to find out how to manage this from XI point of view
(what kind of interfaces will be used by the non sap partner)
then you need to model the flows in XI
for IDOC scenarios (purchase orders and invoices configuration is described in my book):
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
My iPad2 is freezing while using Facebook app. Any suggestions for fixing this?
While I am using my Facebook app, the iPad2 freezes at times. Not all the but sometimes. Has anyone experienced this and what suggestions do you have to fix it?
Try This...
Close All Open Apps... Perform a Reset... Try again...
Reset ( No Data will be Lost )
Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
http://support.apple.com/kb/ht1430 -
It usually seems to occur when I'm trying to get into a secure account (my 401k) or download something, but not always. Sometimes it just seems to occur when I've been on-line for awhile. I just downloaded Firefox v3.6.
That is exactly what I just experienced. Firefox is open on one tab, google search has just been run so nothing should be going on but 50% of CPU is sucked up doing who knows what.
Occasionally when I'm typing in, there is not echo back for several seconds. This sucking up 50% of the CPU goes on over and over again. 50% is the tops but you can't do anything at that point. -
How good is Imovie09 for doing this...
I want to make cool effects like the first 20 sec. of the youtube video you find on... http://www.fourhourworkweek.com/blog/2009/06/01/tim-ferriss-and-kevin-rose-discu ss-their-top-5-must-read-books/
Can you do this in Imovie09 or do you need something like Final Cut (Express)?Essentially, iMovie '09 has a few built-in 'transitions' (..ways to change from one video clip to another..) but you can't add any more transitions.
These are the ones you can use..
Final Cut Express offers more than one video track (..iMovie has only one, really..) so it can be easier to mix/cut/swap/change from one clip to another in FCE ..but I don't know how many transitions are provided in FCE ..you really have to "build" your own.
As I explained above, a company called 'GeeThree' sells transitions for a previous version of iMovie, "iMovie HD 6", and they also sell ready-made transitions for Final Cut. This is their website:
http://www.geethree.com/
So,
(1) you can adapt those transitions which are built into iMovie '09 (see picture above)
(2) if you can find an earlier version - iMovie HD 6 - you can buy extra transitions for that
(3) you can get Final Cut, and buy extra transitions for that.
"..Sorry guys. But Im still very confused of what I should do.." ..You have to decide between:
(1) using the free built-in transitions in iMovie '09, and maybe "tweaking" them by speeding them up, etc
(2) looking for iMovie HD 6, part of the "iLife '06" program - possibly on eBay or from a friend, possibly still in some shops - and buying some "plug-in" transitions for that
(3) buying or using Final Cut and creating your own transitions, or possibly buying some "plug-in" transitions for that.
Using iMovie'09 won't cost you anything, if you already have the program - nor will FCE, if you already have it - but you may need to spend 15 minutes adjusting one or more of the built-in transitions to give you what you want. You'll feel great when you've used your cleverness to achieve what you wanted, without having to buy anything.
P.S: Thanks to those links which Karsten provided, I see that at http://www.apple.com/finalcutexpress/#compositing the description says "..Out of the box, Final Cut Express provides more than 200 transitions, filters, and effects.."
I didn't know how many it has: "more than 200". -
I have saved an update file as suggested. Does this mean it is installed?
I was urged to accept this update for security reasons etc. But I don't know if it is installed.
Thanks for THAT tip: iTunes acct. history DOES show my (few) Mac app purchases, buried in with my MANY iPhone and iPad apps! So I CAN prove I bought it (7 months ago, not 6), but you wouldn't know it from the App Store app on my Mac! But that does leave a few other ?'s hanging: like how could I download it again, or check for updates (as I said, the version installed has the "update" button greyed out! Ancestry.com (who sells it online and support it for other buyers said update info for App Store purchasers comes through the App Store.
I may just be out of luck with this because after 7 months of ownership, they (Ancestry) just replaced FTM with a new version (Family Tree Maker for Mac2) that is NOT an upgrade (though prior owners get $4.00 off on a $52.00 purchase!!). I'll probably just plump for that....direct from Ancestry.com...and give up on the Mac App Store, because the new version reportedly has major enhancements in sync-ing your family history record between your computer and the cloud program available online. Genealogy software, like everything else is migrating to the cloud, but one really does need a resident program on their device because you're often collecting data "in the field" in libraries, historical archives, cemeteries, etc. where you really can't get online in many cases. Fortunately, more and more of the source data is coming online, so more and more can be done from home! -
Suggestion for turning this into one case structure
This is a snippet from some exisiting code we were hired to modify/clean up. I have to assume there is some way I can reduce this to only have one case structure, maybe with a not-and or not-or. Or maybe I'm overthinking this. Basically I keep confusing myself in relatively simple code when thinking about the booleans being compared. Any help is appreciated.
CLA, LabVIEW Versions 2010-2013
Solved!
Go to Solution.
Attachments:
cleanuppls.PNG 11 KBKathrynB wrote:
This does look to be just a NAND, pure and simple.
The truth table I came up with was:
old new write to global
0 0 1 (< is false, new is false)
0 1 1 (< is true)
1 0 1 (< is false, new is false)
1 1 0 (< is false, new is true)
Classic not-and.
Your logic works in the case where you want one result if both inputs are TRUE, and another result otherwise. That would require modifying the original logic. In the case where the original logic persists, then you need one result if one input is TRUE and the other is FALSE, and another result otherwise. In this case, you need Implies.
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman -
Newto NI: Options for doing this job
Hello Everyone!
My name is Micky and I am a Mechatronics Engineering student at UNB (University of New Brunswick, Canada). I am just starting out with Labwindows and NI's hardware for some of my projects. I am indeed very happy to see such a wonderful and expert community.
I am workig on a project and I am a bit confused as to the approach. Here's what I have on hand:
There is a disk with 22 slots on it(like a roullette wheel and then covered by a disk...so basically two disks 1" apart with 22 pockets).This is mounted on a shaft. All this is housed in a box with an opening the size of the slot opening on the disk.
I need to :
1. Rotate the disk so that each step is one slot >> approx 16 deg and then execute a bunch of commands.
2. Time interval of about 3-4 hrs
3. Rotate again 16 deg to align the next slot opening on the disk with a external opening on a box
4. Continue untill the 22 slots
Now my approach is this:
1. Have an optical encoder on the shaft.
2. Use a DC motor to turn the shaft in conjuction with a gear set(to reduce the speed)
3. Use A
CNZ1021 transmissive photosensor to count the number of edges(in conjuction with the encoder above)
4. Then program the logic so that :
The motor starts at count 0
then stops when the count = # counts that equal to 16 deg rotation
then wait for 3-4 hrs
then again start the motor and run till the total is now equivalent to 32 deg...and continue untill all 22 slots i.e 360 deg rot
Or use a stepper motor to do the same task.
Please advice what you think is a better approach. I have no knowledge of working with stepper motors but will learn if it is a better option to wht I have in mind.
Thanks for all your help and time.
MickyHello MickyM,
You should be able to drive the stepper motor using the output of the DAQ card, provided the current required to run the motor falls within the range of the current output of the DAQ card.
If the current needs to be amplified, a stepper motor driver is required. There are many stepper motor driver ICs available, so you will have to choose one corresponding to the input required for your motor.
To answer your other question, here is some information that should answer your question: LabWindows/CVI is an ANSI C Compiler. If the PIC that you are using is ANSI C compatible, there is a chance that it will be able to run the code that is compiled. You can check if the PIC is ANSI C compatible from the datasheet. However, there are lot of low-level calls which may not work as the CVI compiler will compile for an x86 computer (like PCs). The compiler that comes with the PIC, on the other hand, will surely work as it is familiar with the architecture of the PIC.
I hope this helps!
Vivek Nath
National Instruments
Applications Engineer
Machine Vision
Maybe you are looking for
-
How To Create A Website Background Video In Adobe Edge ?
Hello, I have video file in my computer SSD drive and i want it to play as background on my web page (page that i am creating).I did try to follow this video: How To Create A Website Background Video In Adobe Edge Animate Using Edgehero - YouTube but
-
Will Lightroom 2 be bundled with any CS4 Creative Suites
I am about to purchase Lightroom 2 but now that the CS4 Creative Suites have been announced I'm wondering if it will be available as part of one of them. There is already a bundle with PS CS3 and LR2 so it would make sense for there to be another off
-
ok here goes a while ago a friend of mine got satellite internet. hughes?.. the required technition came hooked the modem by ethernet to the laptop.. they ask since this instalation do you think it would be possible to connect our wireless router.. n
-
What is the best way to keep 7 days most current data in tabledata
Hi, Can anybody help me to keep most recent 7 days data in a table? any data older than 7 days should be removed which cen be done once a day. What is the best way to do this? partition, re_create table or anything else? Thanks George
-
Widget Browser Issues...
I am a student at SCAD and downloaded the Adobe Creative Suite from the school. I am trying to launch my widget browser but always get an error message. I also noticed that I was unable to access any adobe site no matter what browser I used.I am havi