VERY IMPORTANT! PLease have a look!
HI Champs,
We have a daily load to Cube through Process Chain,and it has got 2 aggregates on it.
The steps in the Process Chain is as follows:
1.Delete Index from CUBE1.
2.Load data to CUBE1.
3.Create Index On CUBE1.
4.Delete Overlapping request From CUBE1.
5: Roll Up of CUBE1.
Note: We have kept COMPRESS AFTER ROLLUP SETTING ON in the Aggregate.
Now The problem is everyday while performing 4th steps i.e.Deleting Overlapping request.
First it deactivates previouse aggregates and then delete overlapping request and fill the aggregates again in this step only and later on it failed by giving following error: : Error when structuring the index of aggregate 100079 for InfoCube ZCOPA_C05. Each day we have to repeat this failed steps.And 5 steps is no more use as aggregates filled by previous steps only.
So, can anyone suggest me how to overcome from this probs.
Please....I m tired by repeating the failed steps..Please
10zin
hi,
hope the load is full load to cube. we have faced the same issue.
first step before the load deactivate the aggregates using the program, then you can have the dlelete index lod cube delete request and create index then add the activate and fill program for the aggregates.
rollup and fill in this case going to have same time(full load )
SAP_AGGREGATES_ACTIVATE_FILL Activating and Filling the Aggregates of an InfoCube
SAP_AGGREGATES_DEACTIVATE Deactivating the Aggregates of an InfoCube
Ramesh
Similar Messages
-
Waveform peak detection ...Please have a look
Hi folks,
I am trying to acquire 2 signals and then detect the peaks of each of them and divide the peaks and display it in a waveform chart.But my Peak detection doesnt work at all...I tried plugging in values from 3 to 10000 but it just doesnt work...Please have a look at my VI and feel free to point out any errors in my VI..
Thanks
Attachments:
slope 2 channels3.vi 51 KBHi,
Had a look at ur VI
tell me, do u need a single peak for every iteration or a series of peaks above a certain threshold?
If it is a single peak for each acquired waveform , then extract y array from the waveform cluster( you have already done it in ur VI) and connect it to 'find array min max' function found in array functions palette and u get the single peak for each waveform.
If it is a series of peaks u are interested in, then compare all these values inside a for loop.
Index each element inside a 'for' loop, check it for threshold using a conditional case structure and put it inside a shift register.
regards
Dev -
Material staging in WM - Jurgen please have a look at this
Dear Jurgen,
I'd kindly like to ask you to please have a look at this issue.
Re: Requesting urgent reply
Thanks in advance,
Csaba
(sorry for sending message this way...)I answered in the other thread.
-
Can a moderator please have a look into my connect...
Hi Mods,
Over a few weeks now my connection has seem to of deteriorated quite badly now to a point everything runs terrible. I have tried to do a pin reset on my HH5, no joy also I have reset my Openreach box no joy there, I have also connected straight to my HH5 without the Openreach box connected and nothing changes, I keep the openreach box connected because the HH5 seems to reboot and this makes my connection worse but it reset about a few days ago with the Openreach box connected and now it is really bad also no difference also connected straight to the HH5. My Download has plumeted from a steady 24.2MB down to now 18.8MB and my Upload has gone from 1.91MB down, now to an awful 0.67MB, surely something is really wrong with the connection and needs looking into also my Pings are just awful as well, its hitting 66ms from a steady 15ms and no Jitter, my estimates back when I first had Infinity installed where 19.1/2.90MB so its below my contract anyway, the strange part about it if I connect direct to my HH5 and look at the stats in the Helpdesk section it reads max attainable rate 24558/2208 but my actual speeds are no where near that. I will post an img below taken via ethernet cable today, could someone please seriously have a look at it for me. I don't want to take this as I am just complaining cause it is not good at all it seriously needs looking into for me please, thankyou:-
Please click on pink star to the left and say thanks if I have helped you at all!. Thank you. Home Hub Page- http://bthomehub.home/
BT Speed test- http://www.speedtest.btwholesale.com/
Speedtest:-http://diagnostics.bt.com/login/?workflow=Speed
Net Connect test- http://netalyzr.icsi.berkeley.edu/index.htmlCan a mod please please help me out or someone from BT I have ran another test now and its going down further this time now and all the time something is wrong. I've asked my parents and they have said they don't want an engineer coming out at all they have made this very clear to me and bothering them again they say, my backs against the wall with this issue, I have explained to them an engineer needs to come out to fix the problem but my dad seems to think they can fix it without an engineer coming out to the house cause one did before a while back without coming out so hes remembering that and trust me hes a rite stubbon git when it comes to this sort of thing the internet is really unusable at this moment, its just awful and I don't know what to do for the best???!.:-
I have filled in the contact form if it helps me but hopefully they will read this thread and understand my difficult position so they know where I am with the problem.
Please click on pink star to the left and say thanks if I have helped you at all!. Thank you. Home Hub Page- http://bthomehub.home/
BT Speed test- http://www.speedtest.btwholesale.com/
Speedtest:-http://diagnostics.bt.com/login/?workflow=Speed
Net Connect test- http://netalyzr.icsi.berkeley.edu/index.html -
Procedure ..Please have a look and give ur suggestion
Hi all,
Please have a below procedure.
Suggest me if I do anything to make it more efficient?
Because I'm very very new to pl/sql .
I have to send this to code review.Before just to make sure everything is good and all logic and everything.
Thanks in advance.
PROCEDURE proc1 (
in_report_parameter_id IN NUMBER,
in_date_format_mask IN VARCHAR2,
in_start_date_time IN TIMESTAMP,
in_end_date_time IN TIMESTAMP
AS
my_current_date_time TIMESTAMP;
BEGIN
my_current_date_time := TRUNC(in_start_date_time);
DELETE FROM table1;
LOOP
EXIT WHEN my_current_date_time >= in_end_date_time;
INSERT INTO table1 (
date_time )
VALUES (my_current_date_time);
my_current_date_time := my_current_date_time + numtodsinterval(1, 'DAY');
END LOOP;
DELETE FROM table1
WHERE TRUNC (date_time) IN
SELECT TO_TIMESTAMP(report_parameter_value, in_date_format_mask)
FROM report_parameters
WHERE report_parameters.report_parameter_id = in_report_parameter_id
AND report_parameters.report_parameter_group = edr_rpt_constants_pkg.date_format_mask_group
AND report_parameters.report_parameter_name = edr_rpt_constants_pkg.excluded_date_name
END proc1;Hi,
I meant something like this:
INSERT INTO table1 (date_time)
WITH all_dates AS
SELECT in_start_date_time
+ LEVEL - 1 AS dt
FROM dual
CONNECT BY LEVEL <= 1 + in_end_date_time
- in_start_date_time
SELECT dt
FROM all_dates
WHERE dt NOT IN (
SELECT TO_TIMESTAMP (report_parameter_value, in_date_format_mask)
FROM report_parameters
WHERE report_parameters.report_parameter_id = in_report_parameter_id
AND report_parameters.report_parameter_group = edr_rpt_constants_pkg.date_format_mask_group
AND report_parameters.report_parameter_name = edr_rpt_constants_pkg.excluded_date_name
;If you post CREATE TABLE and INSERT (or CREATE TABLE AS) statements, then I' can test it.
As Tim said, TRUNCATE TABLE is not a PL/SQL command, so to use it in PL/SQL you have to use EXECUTE IMMEDIATE, like this:
EXECUTE IMMEDIATE 'TRUNCATE TABLE table1';The word TABLE before the table name is required. -
Please have a look at this, problem loading images from jar.
I made a post at the wrong place..
Pleae have a look at it:
http://forum.java.sun.com/thread.jsp?forum=422&thread=434524&tstart=0&trange=15Answer (hopefully not totally useless) posted over there.
-
Hi i've just uploaded a site i'm working on. See it
here and the css file
here.
It displays ok in Firefox but in IE 6 it looks awful. Have a
look and you'l see what i mean. Can anyone explain to me why this
is happening?
Also before i added the "contentfooter" div the site was
centred in the browser (well in FF at least) but now it's aligned
to the left.
Another thing i would like is to be able to set the height of
contentleft, contentcenter and contentright to vertically
auto-stretch if possible.
Any help would be greatly appreciated.
*EDIT, i played about with it and fixed the issues with IE.
I'm still trying to iron out a few problems though. Now the top
shadow doesn't look right in IE but it's nearly there. I created a
"bluetext" style for some of the text but it's not showing up. I'm
still interested in auto-sizing the site vertically.
thanks guysThere was a great explanation from Murray on 10th September.
Find this
thread and see if it sorts you out. If not, post back.
"Horizontal alignment of text boxes with css"
Jo
"ali_chisholm" <[email protected]> wrote in
message
news:ee4j9d$mll$[email protected]..
> Hi i've just uploaded a site i'm working on. See it
>
http://www.mensanafitness.co.uk
and the css file
>
http://www.mensanafitness.co.uk/mensana.css.
>
> It displays ok in Firefox but in IE 6 it looks awful.
Have a look and
> you'l
> see what i mean. Can anyone explain to me why this is
happening?
>
> Also before i added the "contentfooter" div the site was
centred in the
> browser (well in FF at least) but now it's aligned to
the left.
>
> Any help would be greatly appreciated. I need to get
this sorted asap.
> -
Please have a look, its to do with JLists
Hey guys I have been searching for the information online and in books but i cant find anything that works.
I am inserting a name (string) into a JList.
But before I do I need to search the JList to make sure the record dosent already exist in the list.
Becuase if it does, i dont want to enter in the name again.
My problem is searching through the list, becuase JList has no list iterator...and i must use a JList
For this reason I am trying to do it with loops...Will someone please look at my code and try help me. My problem is that: tn does get a value, but tmp never gets the value of that position in the list.
String tn = new String("");
int j = 0;
int y =utwoModel.getSize()+1;
int x = uModel.getSize();
while (result.next())
tn = result.getString("UserResponsible");
while(j<y)
for(int f = 0;f==j;f++)
String tmp = new String(uModel.elementAt(j).toString());
System.out.println("tmp:"+tmp);
if(tn.compareTo(tmp)== 0)
uModel.addElement(tn);
break;
j++;
y =utwoModel.getSize();
isStringInList is a simple method to check if a String exists in a JList:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class TestList extends JFrame
JList list;
public TestList()
String[] tabs = { "one", "two", "three", "four", "five" };
list = new JList( tabs );
getContentPane().add( list );
System.out.println( "six in list: " + isStringInList( "six" ) );
System.out.println( "one in list: " + isStringInList( "one" ) );
public boolean isStringInList(String value)
for (int i = 0; i < list.getModel().getSize(); i++)
Object o = list.getModel().getElementAt(i);
if ( o.toString().equals( value ) )
return true;
return false;
public static void main(String[] args)
JFrame frame = new TestList();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.pack();
frame.setVisible( true );
} -
I have made a blog about Web templates...please have a look
Hello Everyone,
In my quest to make web templates I could not find a whole lot of relevant info. I feel like I am flying blind. I had asked, in a previous thread, for anybody with knowledge on making templates to share this info. Well, we did not get a whole lot.
So, I have decided to make a public spectacle of my adventure in creating them. Please visit the blog, and please chime in if you have relevant info, or questions (please note though, any questions may not be answered right away. At least not by me-'cause as of right now I have no answers LOL). The more people that participate the faster we will all learn how to do this.
http://lrwebtemplates.blogspot.com/
My goal is to create a pdf of this knowledge once we have ironed out out all the bugs. Thanks for looking. And thanks in advance for any help/participation in the effort.Thanks for doing this, Paul. Hopefully you'll get some useful stuff to add to it soon. A n additional item is the entry on Goerge Jardine's Lightroom Journal from Andrew Rahn. Nothing new there for us who have worked on trying to figure thsi stuff out and hardly the direction I had hoped things would go, but maybe it will lead to more in the future.
-
Help making a treepage in htmldb- Carl/Scott please have a look
How do I make a tree page of this data?
create table Flatfile
(Pgroup varchar2(30),
Pclass varchar2(30),
Manufacturer varchar2(30),
Article varchar2(30),
Price Number(6,2));
Insert into Flatfile Values
('Application Software','Database Software','Oracle','Oracle 10G',115);
Insert into Flatfile Values
('Application Software','Database Software','Microsoft','MS SQL Server 2000',200);
Insert into Flatfile Values
('Application Software','Spreadsheet Software','Microsoft','Excel',100);
Insert into Flatfile Values
('Monitor','15"','Acer','Acer 15"" TFT superscreen',199);
Insert into Flatfile Values
('Monitor','15"','Sony','Sony R1500 flat',225);
Insert into Flatfile Values
('Monitor','17"','Philips','Philips Flatscreen',250);
Insert into Flatfile Values
('Monitor','19"','Viewsonic','Viewsonic PLasma Monitor',275);
Insert into Flatfile Values
('Processor','AMD','AMD','FX-55',600);
Insert into Flatfile Values
('Processor','Intel','Intel','P4 3 GHZ',399);
I tried alot, but simply can't figure it out, please help:
A fixed level of two or three would be fine. I just don't understand the concept in creating one in htmldb. So:
Pgroup
---Pclass
Or
Pgroup
---Pclass
------Manufacturer
How must my query be written?
What do I fill in for these parameters:
Identify Query - You do not code the query. Instead, you identify the following:
ID - The primary key column of the table that is then used as the foreign key reference.
Parent ID - The foreign key column of the table that references the primary key column, thus forming the hierarchy.
Leaf Node Text - Select the column to display. Although this is a singular selection, you can edit the resulting query after it is defaulted to concatenate in other columns.
Link Option - If the tree is for informational purposes only, a Link Option is not necessary. If the tree will be used for navigation, select Existing Application Item.
Sincere,
Peter
Message was edited by:
PetePete,
Your example begs the question - if it's too hard for you to navigate it, then it will DEFINITELY be too hard for your users.
Let's say I was looking for a Monitor on your site. I would have to search the entire top-level of the tree and come up with a list of several nodes which MAY contain what I'm looking for:
- LCD TV
- Monitors LCD
- Monitors CRT
- Plasma Displays
- Screens
- VGA
Instead, why not have a higher-level category called "Displays", then list each one of these sub-categories under it? Something like this:
+ Displays
+ CRT
- VGA
+ LCD
- Monitors
- TVs
+ PlasmaI think that if you consolidate your tree, it will 1) solve your scrolling problem and 2) make your site more usable.
Thanks,
- Scott - -
I have a problem since I bought my iPhone 5 it can find wifi only when I'm very near to the router( about 1 meter ). I tried to restore it, rest network settings, restart it, update it to the iOS. But it doesn't work. I heard that iOS 6.0.2 will fix it but doesn't work too. I hope it's not a hardware problem, anyone have any ideas about this please take a minute and tell me.
"a store" is just a little to vague to provide any useful information.
The only supported carrier in Morocco is Meditel. All service and support for the iPhone in Morocco is provided by Meditel.
If you purchased the phone from an authorized source there, you can take it to Meditel for service. Here is a link to their support page: http://www.meditel.ma/Contactez-nous
If you purchased it from an un-authorized source (gray market) or in another country, you will have to take the phone back to the country of origin for service. -
EtreCheck Report: Could somebody please have a look at this?
Hello guys (m/f)
I just did an EtreCheck after I read about it a whilke ago here on the Apple Support Communities. I'm using a late 2012 iMac now, but my previous iMac (2009, not sure when exactly) seemed to be slow too. It's slow opening tabs, sites, etc. And it's slow shutting down.
BTW I switched off Time Machine a while ago, as my external WD started reporting bad block. (Wanted to get my NAS to take over, but can't figure out why. That's why I've been going without a Time Machine backup for way to long.)
Here's the report:
Hardware Information:
iMac (21.5-inch, Late 2012)
iMac - model: iMac13,1
1 2.9 GHz Intel Core i5 CPU: 4 cores
8 GB RAM
Video Information:
NVIDIA GeForce GT 650M - VRAM: 512 MB
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0
AirPlay: Version: 1.9
AppleAVBAudio: Version: 2.0.0
iSightAudio: Version: 7.7.3
System Software:
OS X 10.9 (13A603) - Uptime: 0 days 9:23:21
Disk Information:
APPLE HDD HTS541010A9E662 disk0 : (1 TB)
EFI (disk0s1) <not mounted>: 209,7 MB
Macintosh HD (disk0s2) /: 999,35 GB (607,16 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
FireWire Information:
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Kernel Extensions:
com.iospirit.driver.rbiokithelper (1.21)
com.eltima.ElmediaPlayer.kext (1.0)
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
[invalid] com.avermedia.installerPlugin
[loaded] com.adobe.fpsaud.plist
[not loaded] com.avermedia.installerPlugin.plist
[loaded] com.bombich.ccc.plist
[loaded] com.eltima.ElmediaPlayer.daemon.plist
[loaded] com.iospirit.candelair.daemon.plist
[loaded] com.iospirit.candelair.sync.plist
[loaded] com.leapmotion.leapd.plist
[loaded] com.memeo.Memeod.plist
[loaded] com.prosofteng.DriveGenius.locum.plist
[loaded] com.wdc.WDDMservice.plist
[loaded] com.wdc.WDSmartWareServer.plist
[loaded] com.zeroonetwenty.BlueHarvestHelper.plist
Launch Agents:
[loaded] AVerQuick.plist
[loaded] com.leapmotion.Leap-Motion.plist
[loaded] com.synology.SynoSIMBL.plist
[loaded] com.synology.SynoSIMBL_RefreshFinder.plist
[loaded] org.glimmerblocker.updater.plist
User Launch Agents:
[loaded] com.adobe.ARM.[...].plist
[loaded] com.divx.agent.postinstall.plist
[loaded] com.google.keystone.agent.plist
[loaded] com.plexapp.helper.plist
[loaded] com.prosofteng.DGMonitor.plist
[failed] de.writeitstudios.cookiestumbleragent.plist
User Login Items:
DiskLed
FontExplorerXAutoload
iTunesHelper
System Events
Mippy
Mail
Safari
Camino
blueharvestd
Mippy
BlueHarvest
BlueHarvest
Sony Ericsson Bridge Helper
WDDriveManagerStatusMenu
CNQL2410_ButtonManager
WDQuickView
3rd Party Preference Panes:
Candelair
Flash Player
Flip4Mac WMV
FUSE for OS X (OSXFUSE)
GlimmerBlocker
Perian
WDQuickView
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Default Browser.plugin
DirectorShockwave.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
Flip4Mac WMV Plugin.plugin
Google Earth Web Plug-in.plugin
iPhotoPhotocast.plugin
JavaAppletPlugin.plugin
PDF Browser Plugin.plugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
VLC Plugin.plugin
User Internet Plug-ins:
Bad Fonts:
None
Time Machine:
Mobile backups: OFF
Auto backup: NO
Time Machine not configured!
Top Processes by CPU:
2% WindowServer
1% EtreCheck
1% fontd
0% Leap Motion
0% SystemUIServer
0% DiskLed
0% dpd
Top Processes by Memory:
336 MB Safari
279 MB Finder
229 MB WindowServer
221 MB Camino
205 MB com.apple.IconServicesAgent
123 MB com.apple.WebKit.WebContent
115 MB Mail
57 MB PluginProcess
49 MB com.apple.WebKit.Networking
49 MB mds_stores
Virtual Memory Statistics:
3.10 GB Free RAM
3.55 GB Active RAM
497 MB Inactive RAM
878 MB Wired RAM
734 MB Page-ins
0 B Page-outs
Hope you guys find something. (and that this is the right place to put my question!)
Sincerely
MathyYou have a lot of potential for things to go wrong. If any of the red items are old they could be doing a lot of damage to performance, since they are loaded into the system level.
Synology appears to be doing something with SIMBL - follow the removal instructions at http://www.culater.net/software/SIMBL/SIMBL.php
It is a hacky way to inject code into apps. Check the synology site for updates.
The failed launchd job [failed] de.writeitstudios.cookiestumbleragent.plist could cause issues within your user account.
Your login items are duplicated.
BlueHarvest
BlueHarvest
blueharvestd
Mippy
Mippy
That isn't a great idea. I'd suggest you logout, log back in but hold shift as you click the login button it will disable all those apps & show you if they are part of your issues.
'Safe mode' will disable all third party extensions & startup items (hold shift after the chime until the spinning 'cog' appears). Ensure the login window says 'safe mode'.
https://support.apple.com/kb/HT1455
Be aware that some features will be disabled like wifi on some models, graphics drivers will be in a reduced mode - this is normal in safe mode. Reboot to go back to normal.
Hopefully the notes below will help you understand the report better
Mathy Van Nisselroy wrote:
Kernel Extensions:
com.iospirit.driver.rbiokithelper (1.21)
com.eltima.ElmediaPlayer.kext (1.0)
Launch Daemons:
[invalid] com.avermedia.installerPlugin <<-- WTH !?
[loaded] com.adobe.fpsaud.plist
[not loaded] com.avermedia.installerPlugin.plist
[loaded] com.bombich.ccc.plist
[loaded] com.eltima.ElmediaPlayer.daemon.plist
[loaded] com.iospirit.candelair.daemon.plist
[loaded] com.iospirit.candelair.sync.plist
[loaded] com.leapmotion.leapd.plist
[loaded] com.memeo.Memeod.plist
[loaded] com.prosofteng.DriveGenius.locum.plist
[loaded] com.wdc.WDDMservice.plist
[loaded] com.wdc.WDSmartWareServer.plist
[loaded] com.zeroonetwenty.BlueHarvestHelper.plist
Launch Agents:
[loaded] AVerQuick.plist
[loaded] com.leapmotion.Leap-Motion.plist
[loaded] com.synology.SynoSIMBL.plist
[loaded] com.synology.SynoSIMBL_RefreshFinder.plist
[loaded] org.glimmerblocker.updater.plist
User Launch Agents:
[loaded] com.adobe.ARM.[...].plist
[loaded] com.divx.agent.postinstall.plist
[loaded] com.google.keystone.agent.plist
[loaded] com.plexapp.helper.plist
[loaded] com.prosofteng.DGMonitor.plist
[failed] de.writeitstudios.cookiestumbleragent.plist
User Login Items:
DiskLed
FontExplorerXAutoload
iTunesHelper
System Events
Mippy
Mail
Safari
Camino
blueharvestd
Mippy
BlueHarvest
BlueHarvest
Sony Ericsson Bridge Helper
WDDriveManagerStatusMenu
CNQL2410_ButtonManager
WDQuickView
3rd Party Preference Panes:
Candelair
Flash Player
Flip4Mac WMV
FUSE for OS X (OSXFUSE)
GlimmerBlocker
Perian
WDQuickView
Internet Plug-ins:
AdobePDFViewer.plugin
AdobePDFViewerNPAPI.plugin
Default Browser.plugin
DirectorShockwave.plugin
Flash Player.plugin
FlashPlayer-10.6.plugin
Flip4Mac WMV Plugin.plugin
Google Earth Web Plug-in.plugin
iPhotoPhotocast.plugin
JavaAppletPlugin.plugin
PDF Browser Plugin.plugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
VLC Plugin.plugin
Red items are loaded at the system level (not necessarily bad, but they have the potential to modify the OS).
Blue items are loaded at the user level
Cleanup:
All the usual caveats apply, backup before you modify the system, delete the items (or move them to another disk or folder if you are worried about deleting the wrong thing) but ensure the originals are gone or updated.
Use the Finders "Go menu > Go to Folder…" when you need to open the hidden ~/Library (your users library).
Reboot for the system changes to take effect.
How to find updates:
The critical launchd jobs & kernel extensions use reverse domain notation e.g.
com.logmein.hamachi.plist means look at http://logmein.com for updates (if you don't recognize it removing it may be appropriate)
In short: You want to try to update or remove all the system level items.
Startup Items: Stored in /Library/StartupItems/
Startup Items have been discontinued by Apple since Mac OS 10.4. They are responsible for making changes at a system level. Remove them all or spend time ensuring ALL related software is up to date. You need a very good reason to have anything installed in here. The developers are ignoring Apple guidelines by installing these - not a good sign.
Kernel Extensions: Stored in /Library/Extensions/
Kernel Extensions also load third party code, but they insert it into the 'core' of the OS. These can be safe, however you must ensure the related tools or apps are up to date, otherwise the system is basically built upon quicksand. Remove them all & see if the OS works better.
Launchd jobs: several types
LaunchAgents - Stored in /Library/LaunchAgents
LaunchDaemons - Stored in /Library/LaunchDaemons
User LaunchAgents - Stored in ~/Library/LaunchAgents
These are all background jobs, they are not necessarily bad, but if they are loading old code it could be doing untold damage to the performance & stability of the entire OS. Focus on the System level jobs (the ones inside /Library - the system level) also remove ['failed'], non-system jobs.
EtreCheck gives a status on launchd jobs…
[loaded] - a running job
[not loaded] - jobs that are set not to run, basically harmless, remove them unless you plan to use the associated software (if it is up to date)
[failed] - jobs in a crashed or unknown state, it could be forking processes or using all the system resources, remove these.
User login items:
Applications and helpers that are managed inside 'Systems Preferences > Users and groups > Login Items tab'.
These are loaded at the 'User level', consider removing all of them whilst you troubleshoot. When you decide to re-add them ensure the software is up to date.
3rd Party Preference Panes: & Internet Plug-ins:
/Library/PreferencePanes/ and ~/Library/PreferencePanes/
/Library/Internet Plug-Ins/ and ~/Library/Internet Plug-Ins/
Once again these items all must be up to date, or remove them from your system. If the prefpanes manage additional software use the uninstaller or see the developers site for uninstall instructions. You can also right click to remove 3rd party preference panes in System preferences
Read the list of Internet plug-ins carefully, there are often duplicate Flash player versions that won't help stability, it's just wasted space too.
Don't forget to also update Safari's extensions in it's preferences (if you have any).
Re-run EtreCheck after cleaning up to see if items have returned (some apps will reload the background jobs when re-opened, so either update or remove the software).
Hope that isn't too daunting, the OS should be better if there are less old items running at the system level. -
Arrrrrrr! Someone please have a look at this code!
Ok! I'm pulling my hair out! I've got this code!
import mx.transitions.Tween;
import mx.transitions.easing;
function turnOn() {
new Tween(camel_shoe_mc, "_alpha", Regular.easeIn, 0, 100,
1, true);
camel_bt.onRollOver = turnOn;
function turnOff() {
new Tween(camel_shoe_mc, "_alpha", Regular.easeIn, 100, 0,
1, true);
camel_bt.onRollOut = turnOff;
function turnOn() {
new Tween(fudge_shoe_mc, "_alpha", Regular.easeIn, 0, 100,
1, true);
fudge_bt.onRollOver = turnOn;
function turnOff() {
new Tween(fudge_shoe_mc, "_alpha", Regular.easeIn, 100, 0,
1, true);
fudge_bt.onRollOut = turnOff;
Now this is what is happning! you rollover the camel_bt the
camel_shoe_mc show's up, great! Then you rollover the fudge_bt and
the camel_shoe_mc come's up!! Is there a way of having this code in
the same layer? Or do I have to make a new layer for each. Or is
the code written wrong? I do have about 50 "_mc" so I would like to
have the code in one place as well as the images. I hope someone
out there can help! If you need to butcher the code by all means
do! That's for having a look!!!!the code is great! Even if it should be "i++". The whoe thing
work's like a charm! It's just what I wanted! Christmass comes
again! Hay, seeing as I have you hear. Do you have any idea what
code I should add to the _bt's so when you click on them it fills
in a form at the bottom of the page? i.e rollOver the button it
inform's you waht the color is and you click the button and it
fill's out a combo box form at the bottom. -
Please have a look at this query
hi there,
i'm implementing a wildcard search utility in my app (restricting usage by allowing to use '*' & '?' only, so no hectic job here), i've achieved the correct matching of a given text & a text with wildcards but to some extent by manual check which very hectic to me, now i want to try with new code which is (incomplete) as follows, please correct & suggest me,
class WildcardSearchUtility {
static boolean isNodeStringMatchingWildcardText(String wcText, String nodeText) {
char c1[] = wcText.toCharArray();
char c2[] = nodeText.toCharArray();
int n1 = c1.length;
int n2 = c2.length;
int i1 = 0;
int i2 = 0;
for ( ; i1 < n1 && i2 < n2; i1++, i2++) {
if(c1[i1] == '*') {
// don't know what to do
if(i1 != (n1-1)) {
i1++;
} else if (c1[i1] == '?') {
// don't know what to do
if(i1 != (n1-1)) {
i1++;
} else if(c1[i1] != c2[i2])
return false;
return false;
}when i implement the code it should correctly match the given text and a wildcard search text, for example:
String wildcardText = "*L?st*";
String nodeTexts[] = {
"List", "ActionListener", "JComponent", "SomeText",
"Last", "AbstractList", "JButton", "Component"
"Like", "ABCDLastPQRS"
System.out.println("Search text is " + wildcardText + "\n");
for(int i=0; i < nodeTexts.length; i++) {
boolean matching = WildcardSearchUtility.isNodeStringMatchingWildcardText(
wildcardText, nodeTexts);
System.out.println(
"\tmatching with \""+ nodeTexts[i] + "\"\t" +
(matching ? "[Matched]" : "[Not Matched]\n");
System.out.println("Done");
the output must be like the one below
Search text is "*L?st*"
matching with "List" [Matched]
matching with "ActionListener" [Not Matched]
matching with "JComponent" [Not Matched]
matching with "SomeText" [Not Matched]
matching with "Last" [Matched]
matching with "AbstractList" [Matched]
matching with "JButton" [Not Matched]
matching with "Component" [Not Matched]
matching with "Like" [Not Matched]
matching with "ABCDLastPQRS" [Matched]
Donei'd appreciate any suggestions, sample codes, corrections by you experts
thanx in advance,
Afroze.the jdk1.4 comes with regular expression treatment ...
here it is a sample code:
to test:
* A class which provide a way of filtering a folder relative a set of filename masks
* @version 1.0
* @author Felipe Ga�cho
public class teste
static public void main(String[] args)
MyFileFilter t = new MyFileFilter(new String[]{"*.jpg","i*o*u","*88*"});
System.out.println(t.accept("teste.jpg"));
System.out.println(t.accept(".jpg.jpg.jpge"));
}The filter class:
import java.util.*;
import java.io.*;
* A class which provide a way of filtering a folder relative a set of masks
* @version 1.0
* @author Felipe Ga�cho
* @date september - 2001
class MyFileFilter implements FileFilter
/** The array of valid masks */
private Object[][] masks = null;
/** The wildcard. The default wildcard is the character '*' */
private String wildcard = "*";
/** The description of this filter. For example: "JPG and GIF Images" */
String filterDescription = "";
* The constructor
* @param setOfMasks A set of masks which will be used as filter
MyFileFilter(String[] setOfMasks, String description)
filterDescription = description;
masks = new Object[setOfMasks.length][];
for(int i=0; i<setOfMasks.length; i++)
masks[i] = parseMask(setOfMasks);
* The constructor
* @param setOfMasks A set of masks which will be used as filter
MyFileFilter(String[] setOfMasks)
this(setOfMasks, "");
* Sets the character used as wildcard
* @param wildcard The new wildcard character
public void setWildcard(String newWildcard)
wildcard = newWildcard;
* Returns the current wildcard character
* @return The current wildcard character
public String getWildcard()
return this.wildcard;
* Creates an array with all tags of a mask
* @param mask The mask which will be used to filter a folder
private Object[] parseMask(String mask)
StringTokenizer maskParser = new StringTokenizer(mask, wildcard, false);
ArrayList maskTags = new ArrayList();
// Fill the array of tags representation of the mask
while(maskParser.hasMoreTokens())
maskTags.add((String)maskParser.nextToken());
// Check if the first character of the mask is a wildcard (open mask on left)
if(mask.startsWith(wildcard))
maskTags.add(0,wildcard);
// Check if the last character of the mask is a wildcard (open mask on right)
if(mask.endsWith(wildcard))
maskTags.add(wildcard);
return maskTags.toArray();
* The validation process: the filename is parsed from the left to the right
* seeking the mask tags. If a tag in the mask can�t be reached
* in the filename it return false, otherwise it returns true.
* @param filename The filename to be test
* @param mask An array containing the mask tags
private boolean valid(String filename, Object[] mask)
// Test if the first tag of the mask is present at the start of the filename
if( ! mask[0].equals(wildcard) && ! filename.startsWith((String)mask[0]))
return false;
// Test if the last tag of the mask is present at the end of the filename
if( ! mask[mask.length-1].equals(wildcard) && ! filename.endsWith((String)mask[mask.length-1]))
return false;
for(int i=0; i<mask.length; i++)
// If the tag is a wildcard, then ignore this tag and continues the verification
if(mask[i].equals(wildcard))
continue;
// The index of a non-wildcard tag in the filename
int indexOfTheTag = filename.indexOf((String)mask[i]);
if(indexOfTheTag == -1)
return false;
// The tag were found. Continues the verification from the tag index plus its length
filename = filename.substring(indexOfTheTag + ((String)mask[i]).length());
return true;
* Check if a filename is like one of the masks
* @param filename The filename to be checked
public boolean accept(String filename)
for(int i=0; i<masks.length; i++)
if(valid(filename, masks[i]))
return true;
return false;
* The FileFilter method overwrite
* @param filename The File which the name should be verifyied
public boolean accept(File filepath)
return accept((filepath.getName()).substring(filepath.getName().lastIndexOf(File.separator)));
* The FileFilter method overwrite
* @return The description of this file filter
public String getDescription()
return filterDescription; -
Please have a look at this.
There is something that happens in my code that I can't figure out. I have some varaibles defined in my main class, it's just one class anyway and the rest are inner anonymous. When I come to use them from an inner class, the code doesn't behave as I want it to unless I write the variables I'm using again inside the inner class, which is or are, actionListener/s.
here's the code to see what I'm talking about:
final String year = yearField.getText();
final String id = idField.getText();
final String student = studentIdField.getText();
final String section = sectionIdField.getText();
final String project = projectIdField.getText();
final String mark = markField.getText();
final String grade = gradeField.getText();
final String pass = passField.getText();
insert.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
String year = yearField.getText();
String id = idField.getText();
String student = studentIdField.getText();
String mark = markField.getText();
String section = sectionIdField.getText();
String project = projectIdField.getText();
String grade = gradeField.getText();
String pass = passField.getText();
if((year.equals(""))&&(id.equals(""))&&(student.equals(""))&&(mark.equals("")))
JOptionPane.showMessageDialog(jf,
"Please enter a value"
else if(year.equals(""))
JOptionPane.showMessageDialog(jf,
"Please enter a value for Year"
else if(id.equals(""))
JOptionPane.showMessageDialog(jf,
"Please enter a value for ID"
else if(student.equals(""))
JOptionPane.showMessageDialog(jf,
"Please enter a value for Student Id"
else if(mark.equals(""))
JOptionPane.showMessageDialog(jf,
"Please enter a value for Mark"
else
try
DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433","admin","admin");
Statement statement = connection.createStatement();
String query = "Insert into Results (Student_Id,Result_Year,Term,Degree,Pass,Project_Id,Univrs_Fac_Dept_Id,Grade,Univers_Fac_Dept_Section_Id) values ('"+student+"','"+year+"','"+term+"','"+mark+"','"+pass+"','"+project+"','"+department+"','"+grade+"','"+section+"')";
statement.executeUpdate(query);
connection.close();
catch(SQLException sqlerr)
System.err.println(sqlerr);
);Now, if I don't include the variables again inside the actionListener, the code doesn't move outside the if statement. Does anybody know why is that happening?
I just have another small question. When I need to check that a Chooser isn't empty, how do I do it? I mean with a string, you say: if(object.equals("")), what's for the items?
Thank you very much and sorry for the lot of talking.you have to be careful with your variables:
the declared variables inside the actionlistener(s) are not these in your main class!!
what you might do:
a) let your main-class implement ActionListener
public class MainClass extends PARENTCLASS implements ActionListener {
public static void actionPerformed(ActionEvent ae) {
}b) create your own event handler
public class MainClass extends PARENTCLASS {
public MainClass() {
insert.addActionListener(new YourActionListener(this));
public class YourActionListener extends ActionListener {
private MainClass main;
public YourActionListener(MainClass parent) {
main = parent;
public void actionPerformed(ActionEvent ae) {
main.year = "abc";
main.id = "id";
// or implement setXXX methods -> main.setYear("abc"); main.setId("id"); ...
}hope it helps...
Maybe you are looking for
-
Safari doesnt load but Chrome does. Any guesses?
Hi guys Cant operate Safari. Open it but it stops loading half way. Its not WIFI at home as Chrome runs. Also, Safari does run when I connect to the internet via my iPhone! If in other places (different WIFI), it also runs smoothly. What problem do I
-
In a plain UITableView, is it necessary for me to explicitly call insertSections to create the number of sections in my table or is it sufficient to just return the number of sections via my numberOfSectionsInTableView data source method? I've been u
-
Network and Bandwidth Monitor Suggestion?
I was wondering if anyone had a suggestion for a network monitor application that runs well on Leopard Server. I would hope it could provide statistics on different ethernet interfaces as well as filter down to ip addresses. I've used Network Monitor
-
Can anyone help with this error code# 2038. I can't install the DPS App Builder?
I keep trying to install this Adobe Air file and it will not install. Any help? Thanks, WM
-
ITunes does not automaticly start on connecting iPhone.
As above really, when i connect my iPhone 3G iTunes does not automaticly come up and sync the phone like it used to. I now have to connect the iPhone and them click on iTunes. Any ideas how to change this back, i've checked the iPhone settings in iTu