Modifier keystrokes ignored at startup - 10.4.2
Apologies if this has been discussed before but I've not found anyone with quite my problem.
Running a Dual 2.7 G5 machine on 10.4.2 in a lab of 7 similar machines. This is the only one online though...
Can't start it up in single user mode (needed for Applejack) which is fine for all the other 6 machines, also on 10.4.2
Plus the startup time before the grey apple screen appears is long. At any rate, can't start up in single, verbose or even safe mode. Reckon it may have something to do with Open Firmware but I can't seem to find any mention of "Open Firmware" when I spotlight the mac or do a find.
Any takers? It's driving me nuts.
Aha, I just came across this:
http://docs.info.apple.com/article.html?artnum=302001
Specifically it says:
Power Mac G5: Keyboard commands don't work during startup
Normally, when your computer starts up, you can use certain keyboard shortcuts to tell the computer to start up from an optical disk, reset PRAM, start up in FireWire Target Disk mode, start up in verbose mode, and so forth.
In some circumstances, a Power Mac G5 may no longer function as expected. If you find the computer isn't responding to any of these startup keystrokes, follow these steps to troubleshoot the issue.
1. Disconnect all USB devices except your Apple keyboard and mouse. (Make sure the keyboard and mouse work correctly before you shut the computer down.) Test from this configuration to see if a USB device is interfering in any way.
2. Make sure that the Open Firmware password is not enabled.
3. Start up the computer and keep the power button held in until the Open Firmware screen appears. When you see the Open Firmware screen and prompt, type reset-nvram and press return to clear NVRAM. On the next line, type reset-all and press return to restart the computer.
If the issues persist after trying all these steps, your computer may require service. Please contact your local Apple Retail Store or Apple Authorized Service Provider for further assistance.
Writing from home which is why my gear below is different. Off to try this out tomorrow when I'm back in the studio.
Will report if it fixes it.
Regards.
Similar Messages
-
ValidationTextField in IE6 IE7 problem, 1st keystroke ignored
hi,
i have a very interesting problem with "ValidationTextField"
in IE6 and IE7.
the validation on textfiels starts at 2nd keystroke, the
first keystroke in the field is ignored,
if iset the values by javascript like
$('theMovieTitle1').value = $('theNewText1').innerHTML;
$('theMovieTitle2').value = 'Hallo ';
$('theMovieTitle3').value = 'Hallo ÖÄÜ';
$('movieDescription').value = 'Austria Österreich
Fräulein ';
hmm??
you can see/test it here:
http://www.startup-service.com/Spry/demos/formsvalidation/testvalidate.html
thanks
herbertI don't see that behaviour on your example in IE7 or Firefox.
If i highlight the text in the field and then begin typing the
validation occurs immediately
Can you explain how you are seeing it so i can try to
recreate? -
Not sure if this should be posted here or within the OS thread, but as I first noticed this on Snow Leopard and it's also the case on Lion, I'll try here.
Whenever I return to my Macbook after a few moments absence (not long enough for screensaver or sleep etc) the first keystroke is always ignored. Often, indeed usually, this is in Google, so that the search is rendered meaningless.
It's not just Google though and not just safari. Does anyone know what causes this? Is there a simple fix?HI Chris,
Not sure if the keyboard glitch is a result of the repair by Apple, but you could try resetting the PMU, instructions here http://support.apple.com/kb/HT1343. Read through this article all the way. Resetting the PRAM might do the trick first.
Did I get the right iMac?
Carolyn -
Lion update - modifier keys ignored
I have a Logitech Cordless MediaBoard Pro - though there's no command key, in 10.6 I had remapped the caps lock key to the command key. In Lion, this same setting (System Preferences -> Keyboard -> Modifier Keys) doesn't seem to be functioning. The default key mappings and their associated functions do seem TO BE RECOGNIZED (hardy har har) - so I don't think it's entirely keyboard driver specific. Help? I'd really like to copy, paste, switch apps, and quit apps seamlessly!
Yes, I think that I figured out that for some reason there were two keyboards listed. Also, once I installed the Microsoft Keyboard preferences plugin, it seemed to work allright as well.
I've bought a new Mini since then, and haven't seen those issue there (I use my old mini as a headless server, so no keyboard attached). -
SORT gt_tabsum.
DESCRIBE TABLE gt_tabsum LINES gv_tabsum_entries.
MODIFY ztabsum FROM TABLE gt_tabsum.
IF SY_SUBRC = 0.
COMMIT WORK.
ENDIF.
Do i have any problem with my modify statement?
The issue is - the number of entries in internal table gv_tabsum_entries = 1630000
However after Modifying it to database table. I can see only 1140000 entries. Some entries are missing.
I am not sure if it has duplicate entries. Do you this it is becase of duplicates or something else.
Regds,
SenthilYes Senthil, You are right some of the entries must be already present there in the table so MODIFY just ignores them & updates only the new entries unless there is no change in the already present entries.
Hope this clears your dobut.
Regards
Abhii -
Reading values from a file and inserting to array
What can i modify to ignore a line if what it reads is a non-numerical value? This just stops when it reaches it - but it doesn't keep reading the rest of the file.
// Reading values and creating array
while(condition != null){
int input = Integer.parseInt(condition);
newArray.insert(input);
condition = in.readLine();
catch(NumberFormatException e){
System.err.println("Exception caught: " + e.getMessage());
// Not an integer value
//Ignore
}int input;
while(condition != null){
try {
input = Integer.parseInt(condition);
catch ( NumberFormatException nfe) {
condition = in.readLine();
continue;
newArray.insert(input);
condition = in.readLine();
}or more simply:
while(condition != null){
try {
int input = Integer.parseInt(condition);
newArray.insert(input);
catch ( NumberFormatException nfe) {
condition = in.readLine();
} -
Hey guys,
I enabled the feature of launching a network drive every time I login. Right when I put my computer to sleep by closing the lid and then, open later on.... The drive goes away. The only way I can make it come back is manually or by logging off and logging back on. How can I have the drive permanently on my computer?If the computer that supplies the drive being linked
to, will the computer, during startup, just ignore
that startup item if the drive is 'missing?'
If when the computer that starts up if it cannot find the drive you will get a dialog window appearing stating that it cannot connect to the server.
Is there a way to have the drive just connect when
present?
If you drag the mounted network volume into your dock next to the trash then you can manually click that as and when you want to connect to the network volume. -
[SOLVED]laptop suspend when LID close, even set HandleLidSwitch=ignore
i've modify
HandleLidSwitch=ignore
systemctl restart systemd-logind.service
But when close LID, it suspend.
Then i click some key on keybord , it come back.
/var/log/everything:
Mar 21 11:20:59 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:21:06 localhost dbus-daemon[317]: dbus[317]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.229" (uid=1000 pid=22838 comm="systemctl stop laptop-mode.service ") interface="org.freedesktop.systemd1.Manager" member="StopUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/sbin/init ")
Mar 21 11:21:13 localhost systemd[1]: Stopped Laptop Mode Tools.
Mar 21 11:21:15 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:21:37 localhost systemd[1]: Reloading.
Mar 21 11:21:37 localhost systemd[1]: /usr/lib/systemd/system-generators/systemd-fstab-generator exited with exit status 1.
Mar 21 11:21:37 localhost [358276.901952] systemd-fstab-generator[22955]: Failed to create mount unit file /run/systemd/generator/tmp.mount, as it already exists. Duplicate entry in /etc/fstab?
Mar 21 11:21:47 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:02 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:23 localhost logger: LID opened
Mar 21 11:22:31 localhost systemd[1]: Starting Sleep.
Mar 21 11:22:31 localhost systemd[1]: Reached target Sleep.
Mar 21 11:22:31 localhost systemd[1]: Starting Suspend...
Mar 21 11:22:31 localhost logger: LID closed
Mar 21 11:22:31 localhost systemd-sleep[23159]: Suspending system...
Mar 21 11:22:32 localhost kernel: [358330.844138] PM: Syncing filesystems ... done.
Mar 21 11:22:32 localhost kernel: [358331.305611] PM: Preparing system for mem sleep
Mar 21 11:22:47 localhost kernel: [358331.412348] Freezing user space processes ... (elapsed 0.02 seconds) done.
Mar 21 11:22:47 localhost kernel: [358331.439427] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Mar 21 11:22:47 localhost kernel: [358331.452995] PM: Entering mem sleep
Mar 21 11:22:47 localhost kernel: [358331.453150] Suspending console(s) (use no_console_suspend to debug)
Mar 21 11:22:47 localhost kernel: [358331.466400] e1000e 0000:00:19.0: irq 48 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358331.749415] sd 0:0:0:0: [sda] Synchronizing SCSI cache
Mar 21 11:22:47 localhost kernel: [358331.749546] sd 0:0:0:0: [sda] Stopping disk
Mar 21 11:22:47 localhost kernel: [358332.106062] i915 0000:00:02.0: power state changed by ACPI to D3hot
Mar 21 11:22:47 localhost kernel: [358332.242667] PM: suspend of devices complete after 497.619 msecs
Mar 21 11:22:47 localhost kernel: [358332.243146] PM: late suspend of devices complete after 0.473 msecs
Mar 21 11:22:47 localhost kernel: [358332.243658] xhci_hcd 0000:03:00.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.269361] ehci_hcd 0000:00:1d.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.282850] ehci_hcd 0000:00:1a.0: wake-up capability enabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.309313] PM: noirq suspend of devices complete after 66.169 msecs
Mar 21 11:22:47 localhost kernel: [358332.309974] ACPI: Preparing to enter system sleep state S3
Mar 21 11:22:47 localhost kernel: [358332.310597] PM: Saving platform NVS memory
Mar 21 11:22:47 localhost kernel: [358332.317339] Disabling non-boot CPUs ...
Mar 21 11:22:47 localhost kernel: [358332.320383] smpboot: CPU 1 is now offline
Mar 21 11:22:47 localhost kernel: [358332.323050] smpboot: CPU 2 is now offline
Mar 21 11:22:47 localhost kernel: [358332.325460] smpboot: CPU 3 is now offline
Mar 21 11:22:47 localhost kernel: [358332.327433] ACPI: Low-level resume complete
Mar 21 11:22:47 localhost kernel: [358332.327483] PM: Restoring platform NVS memory
Mar 21 11:22:47 localhost kernel: [358332.328066] Enabling non-boot CPUs ...
Mar 21 11:22:47 localhost kernel: [358332.331542] smpboot: Booting Node 0 Processor 1 APIC 0x1
Mar 21 11:22:47 localhost kernel: [358332.355520] CPU1 is up
Mar 21 11:22:47 localhost kernel: [358332.358971] smpboot: Booting Node 0 Processor 2 APIC 0x2
Mar 21 11:22:47 localhost kernel: [358332.587540] CPU2 is up
Mar 21 11:22:47 localhost kernel: [358332.590984] smpboot: Booting Node 0 Processor 3 APIC 0x3
Mar 21 11:22:47 localhost kernel: [358332.605172] CPU3 is up
Mar 21 11:22:47 localhost kernel: [358332.610534] ACPI: Waking up from system sleep state S3
Mar 21 11:22:47 localhost systemd[1]: Time has been changed
Mar 21 11:22:47 localhost systemd[1]: systemd-tmpfiles-clean.timer: time change, recalculating next elapse.
Mar 21 11:22:47 localhost acpid: client 328[0:0] has disconnected
Mar 21 11:22:47 localhost systemd-sleep[23159]: System resumed.
Mar 21 11:22:47 localhost kernel: [358332.611098] i915 0000:00:02.0: power state changed by ACPI to D0
Mar 21 11:22:47 localhost kernel: [358332.661492] ehci_hcd 0000:00:1a.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.688143] ehci_hcd 0000:00:1d.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.715055] sdhci-pci 0000:01:00.0: MMC controller base frequency changed to 50Mhz.
Mar 21 11:22:47 localhost kernel: [358332.741549] xhci_hcd 0000:03:00.0: wake-up capability disabled by ACPI
Mar 21 11:22:47 localhost kernel: [358332.741712] PM: noirq resume of devices complete after 130.745 msecs
Mar 21 11:22:47 localhost kernel: [358332.743008] PM: early resume of devices complete after 0.206 msecs
Mar 21 11:22:47 localhost kernel: [358332.743043] i915 0000:00:02.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743146] mei 0000:00:16.0: irq 46 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743195] ehci_hcd 0000:00:1a.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743215] e1000e 0000:00:19.0: irq 48 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743301] snd_hda_intel 0000:00:1b.0: irq 49 for MSI/MSI-X
Mar 21 11:22:47 localhost kernel: [358332.743481] ehci_hcd 0000:00:1d.0: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743508] ahci 0000:00:1f.2: setting latency timer to 64
Mar 21 11:22:47 localhost kernel: [358332.743611] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
Mar 21 11:22:47 localhost kernel: [358332.744213] mei 0000:00:16.0: wd: failed to find the client
Mar 21 11:22:47 localhost kernel: [358332.811881] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
Mar 21 11:22:47 localhost kernel: [358332.981624] usb 4-1.2: reset high-speed USB device number 3 using ehci_hcd
Mar 21 11:22:47 localhost kernel: [358333.061455] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Mar 21 11:22:47 localhost kernel: [358333.061936] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.061944] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._SDD] (Node ffff880149a55cf8), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062035] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062041] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._GTF] (Node ffff880149a55d20), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062591] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062599] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._SDD] (Node ffff880149a55cf8), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062690] ACPI Error: [GTF0] Namespace lookup failure, AE_NOT_FOUND (20120913/psargs-359)
Mar 21 11:22:47 localhost kernel: [358333.062696] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SAT0.PRT0._GTF] (Node ffff880149a55d20), AE_NOT_FOUND (20120913/psparse-536)
Mar 21 11:22:47 localhost kernel: [358333.062739] ata1.00: configured for UDMA/100
Mar 21 11:22:47 localhost kernel: [358333.074899] sd 0:0:0:0: [sda] Starting disk
Mar 21 11:22:47 localhost kernel: [358333.246448] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
Mar 21 11:22:47 localhost kernel: [358333.253820] iwlwifi 0000:02:00.0: Radio type=0x0-0x0-0x3
Mar 21 11:22:47 localhost kernel: [358333.391539] restoring control 00000000-0000-0000-0000-000000000101/0/2
Mar 21 11:22:47 localhost kernel: [358333.391541] restoring control 00000000-0000-0000-0000-000000000101/1/3
Mar 21 11:22:47 localhost kernel: [358333.391543] restoring control 00000000-0000-0000-0000-000000000101/2/6
Mar 21 11:22:47 localhost kernel: [358333.391544] restoring control 00000000-0000-0000-0000-000000000101/3/7
Mar 21 11:22:47 localhost kernel: [358333.391545] restoring control 00000000-0000-0000-0000-000000000101/5/9
Mar 21 11:22:47 localhost kernel: [358333.693001] PM: resume of devices complete after 950.103 msecs
Mar 21 11:22:47 localhost kernel: [358333.694210] PM: Finishing wakeup.
Mar 21 11:22:47 localhost kernel: [358333.694214] Restarting tasks ... done.
Mar 21 11:22:47 localhost kernel: [358333.706265] video LNXVIDEO:01: Restoring backlight state
Mar 21 11:22:47 localhost logger: ACPI action undefined: PNP0C0A:00
Mar 21 11:22:47 localhost acpid: client connected from 328[0:0]
Mar 21 11:22:47 localhost acpid: 1 client rule loaded
Mar 21 11:22:47 localhost systemd[1]: Started Suspend.
Mar 21 11:22:47 localhost systemd[1]: Service sleep.target is not needed anymore. Stopping.
Mar 21 11:22:47 localhost systemd[1]: Stopping Sleep.
Mar 21 11:22:47 localhost systemd[1]: Stopped target Sleep.
Mar 21 11:22:47 localhost systemd[1]: Starting Suspend.
Mar 21 11:22:47 localhost systemd[1]: Reached target Suspend.
Mar 21 11:22:50 localhost logger: ACPI action undefined: PNP0C0A:00
Last edited by whille (2013-03-21 05:26:24)You are still using acpid. That is triggering the suspend, not logind.
Edit: Also use [ code ] [ /code ] tags (without the spaces) for things like your logs. Hit the "quote" button if you are more of a visual learner.
This is how you use code tags.
Last edited by WonderWoofy (2013-03-21 03:38:53) -
Since 32.0.3 Firefox restores all my previous tabs on restart.
Firefox restores all my tabs from my last session on startup.
I've verified that I have the start up option set to only show homepage, but Firefox continues to restore all my tabs from my last session. I've even changed the startup option to 'blank page' but to no avail. Firefox seems to be ignoring the startup option entirely.
Any help would be appreciated.Here it is:
Application Basics
Name: Firefox
Version: 32.0.3
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Crash Reports for the Last 3 Days
All Crash Reports
Extensions
Name: Garmin Communicator
Version: 4.1.0
Enabled: true
ID: {195A3098-0BD5-4e90-AE22-BA1C540AFD1E}
Name: iCloud Bookmarks
Version: 1.2.12
Enabled: true
ID: [email protected]
Name: LastPass
Version: 3.1.1
Enabled: true
ID: [email protected]
Name: Norton Toolbar
Version: 2014.7.8.23
Enabled: true
ID: {2D3F3651-74B9-4795-BDEC-6DA2F431CB62}
Graphics
Adapter Description: Intel(R) HD Graphics Family
Adapter Drivers: igdumd64 igd10umd64 igdumdx32 igd10umd32
Adapter RAM: Unknown
Device ID: 0x0112
Direct2D Enabled: true
DirectWrite Enabled: true (6.2.9200.16571)
Driver Date: 1-27-2011
Driver Version: 8.15.10.2291
GPU #2 Active: false
GPU Accelerated Windows: 1/1 Direct3D 10
Vendor ID: 0x8086
WebGL Renderer: Google Inc. -- ANGLE (Intel(R) HD Graphics Family Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: false
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: cairo
AzureSkiaAccelerated: 0
Important Modified Preferences
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
browser.cache.frecency_experiment: 3
browser.places.smartBookmarksVersion: 7
browser.search.useDBForOrder: true
browser.sessionstore.upgradeBackup.latestBuildID: 20140923175406
browser.startup.homepage: https://finance.yahoo.com/portfolio/pf_1
browser.startup.homepage_override.buildID: 20140923175406
browser.startup.homepage_override.mstone: 32.0.3
dom.mozApps.used: true
dom.w3c_touch_events.expose: false
extensions.lastAppVersion: 32.0.3
font.internaluseonly.changed: true
gfx.direct3d.last_used_feature_level_idx: 0
gfx.direct3d.prefer_10_1: true
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1413129148
places.history.expiration.transient_current_max_pages: 104858
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
plugin.state.npgeplugin: 2
plugin.state.npgoogleupdate: 1
print.printer_hp_psc_1300_series.print_bgcolor: false
print.printer_hp_psc_1300_series.print_bgimages: false
print.printer_hp_psc_1300_series.print_colorspace:
print.printer_hp_psc_1300_series.print_command:
print.printer_hp_psc_1300_series.print_downloadfonts: false
print.printer_hp_psc_1300_series.print_duplex: 0
print.printer_hp_psc_1300_series.print_edge_bottom: 0
print.printer_hp_psc_1300_series.print_edge_left: 0
print.printer_hp_psc_1300_series.print_edge_right: 0
print.printer_hp_psc_1300_series.print_edge_top: 0
print.printer_hp_psc_1300_series.print_evenpages: true
print.printer_hp_psc_1300_series.print_footercenter:
print.printer_hp_psc_1300_series.print_footerleft: &PT
print.printer_hp_psc_1300_series.print_footerright: &D
print.printer_hp_psc_1300_series.print_headercenter:
print.printer_hp_psc_1300_series.print_headerleft: 3. Bristol Motor Speedway to Hotel (via The Snake)
print.printer_hp_psc_1300_series.print_headerright: &U
print.printer_hp_psc_1300_series.print_in_color: true
print.printer_hp_psc_1300_series.print_margin_bottom: 0
print.printer_hp_psc_1300_series.print_margin_left: 0
print.printer_hp_psc_1300_series.print_margin_right: 0
print.printer_hp_psc_1300_series.print_margin_top: 0
print.printer_hp_psc_1300_series.print_oddpages: true
print.printer_hp_psc_1300_series.print_orientation: 1
print.printer_hp_psc_1300_series.print_page_delay: 50
print.printer_hp_psc_1300_series.print_paper_data: 1
print.printer_hp_psc_1300_series.print_paper_height: 11.00
print.printer_hp_psc_1300_series.print_paper_name:
print.printer_hp_psc_1300_series.print_paper_size_type: 0
print.printer_hp_psc_1300_series.print_paper_size_unit: 0
print.printer_hp_psc_1300_series.print_paper_width: 8.50
print.printer_hp_psc_1300_series.print_plex_name:
print.printer_hp_psc_1300_series.print_resolution: 0
print.printer_hp_psc_1300_series.print_resolution_name:
print.printer_hp_psc_1300_series.print_reversed: false
print.printer_hp_psc_1300_series.print_scaling: 0.50
print.printer_hp_psc_1300_series.print_shrink_to_fit: false
print.printer_hp_psc_1300_series.print_to_file: false
print.printer_hp_psc_1300_series.print_unwriteable_margin_bottom: 0
print.printer_hp_psc_1300_series.print_unwriteable_margin_left: 0
print.printer_hp_psc_1300_series.print_unwriteable_margin_right: 0
print.printer_hp_psc_1300_series.print_unwriteable_margin_top: 0
privacy.sanitize.migrateFx3Prefs: true
privacy.sanitize.timeSpan: 0
security.warn_viewing_mixed: false
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1412425713
user.js Preferences
Your profile folder contains a user.js file, which includes preferences that were not created by Firefox.
JavaScript
Incremental GC: true
Accessibility
Activated: false
Prevent Accessibility: 0
Library Versions
NSPR
Expected minimum version: 4.10.6
Version in use: 4.10.6
NSS
Expected minimum version: 3.16.5 Basic ECC
Version in use: 3.16.5 Basic ECC
NSSSMIME
Expected minimum version: 3.16.5 Basic ECC
Version in use: 3.16.5 Basic ECC
NSSSSL
Expected minimum version: 3.16.5 Basic ECC
Version in use: 3.16.5 Basic ECC
NSSUTIL
Expected minimum version: 3.16.5
Version in use: 3.16.5
Experimental Features
--------------------- -
Overriding DPI of images when displaying them in WPF
Posting following because it might help someone else. It took me quite
while to figure this one out.
I started learning C# and WPF recently. I hadn't had so much fun since the
late 1990s when I learned Java.
But I stumbled on one major irritant working on my project, a picture viewer.
Contrary to just about every environment I've encountered, WPF insists on
taking the DPI of images into consideration when displaying them. What I want
is to display the images in some area of my app, pixel-for-pixel unless that
results in the picture going beyond the frame, in which case the image
needs to be scaled down so it fits. I don't want to have a larger image because
the DPI is smaller than 96, and I don't want a smaller image because the DPI
is higher than 96.
As far as I'm concerned, DPI is more often than not a useless number. Two
examples.
1) My camera arbitrarily assigns a DPI value of 72 to all pictures it takes.
But what "inches" are we talking about here? Obviously there is no answer
to that question. So it's a meaningless number.
2) If I scan a 35 mm color slide, I will probably do so at a DPI value of
something like 2400, but I'd sure want to display the resulting image much
larger. By default, WPF will show it at original size, totally useless.
The DPI here is certainly meaningful, but not as a display parameter!
I compared two images from same original (leware.net/photo/dpi.html),
one resized to a DPI of 48, the other to a DPI of 192. In a hex editor,
except for the one byte that encodes the DPI value, the two files are
identical. It's the same image, with a different DPI value, but no other
differences.
So how do I get a WPF picture viewer to display images without taking their
DPI into consideration? As every browser and viewer I know will do?
At first, I thought that I would be able to do something like:
BitmapImage img = new BitmapImage();
img.BeginInit();
img.UriSource = new Uri(somePathOrUrl);
img.DpiX = 96.0; // override
img.DpiY = 96.0;
img.EndInit();
But DpiX and DpiY are "get" only, not "set". Yet, it's just a simple number,
and changing it before WPF does anything with the image does not sound like a
big challenge (even when waiting for DownloadCompleted event). It's almost as
if the WPF designers decided that WPI was sooo important that they would never
allow anyone to modify the value...
The first approach I tried used RenderTargetBitmap (created at 96 DPI),
DrawingVisual, DrawingContext classes. Seems quite complex. It worked, but
I wouldn't call it elegant.
After much browsing (and with improving understanding), I found a better approach.
In simple terms, I set the Image's Width and Height to PixelWidth and PixelHeight
(which essentially makes the resulting DPI to be 96), and I set the Image's
MaxWidth and MaxHeight to the space available to the Image in the app, to force
scaling if the source is too large. I used Stretch=Uniform. Code fragments below.
The Image is placed in a UniformGrid container which provides the MaxWidth and
MaxHeight, and which centers the Image inside.
This approach is quite a bit more elegant, it removed nearly 100 lines of code
from the app. I still think though that it's not as simple as it could be.
I had also read about "DPI awareness", didn't really understand it, but it seems
to deal with DPI of display device, not of source images.
So two questions:
1) Is there a even easier way, esp. a way to directly modify or ignore an image's
DPI values before using it (without copying the image into some new bitmap)?
2) Barring that, is there something simpler than above?
Note that I'm fine with the application being otherwise DPI aware (fonts,
buttons, &c).
Thanks
WPF code fragments of the trivial application I used to fine-tune the second
approach. The two images are 160x100 pixels (but any pair of images smaller
than the display will do the trick), one at DPI 48, one at DPI 192, and named
IMG_6726s48.jpg and IMG_6726s192.jpg. The both show at the same size, as I
wanted.
To see the original problem as I experienced it, set Stretch=None and comment
out the two pairs of lines that set image.Width and image.Height.
XAML
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="512" Width="512">
<Grid>
<TextBlock Name="lpvMessage" Text="(messages)" Margin="2,2,10,0" VerticalAlignment="Top" TextWrapping="NoWrap"/>
<UniformGrid Name="grid" Margin="48,48,16,16" Background="LightGray" SizeChanged="gridSizeChanges">
<Image Name="image" Stretch="Uniform" HorizontalAlignment="Center" VerticalAlignment="Center" MouseDown="onClickInImage"/>
</UniformGrid>
<Button Content="48" HorizontalAlignment="Left" Margin="10,68,0,0" VerticalAlignment="Top" Width="32" Click="buttonClick"/>
<Button Content="192" HorizontalAlignment="Left" Margin="11,93,0,0" VerticalAlignment="Top" Width="32" Click="buttonClick"/>
</Grid>
</Window>
XAML.CS
namespace WpfApplication1
public partial class MainWindow : Window
public MainWindow()
InitializeComponent();
grid.Background = new SolidColorBrush(Color.FromArgb(0xFF, 0xF0, 0xF0, 0xF0)); // shows grid for testing
changeImage("48");
private void changeImage(string dpi)
BitmapImage img = new BitmapImage();
img.BeginInit();
img.UriSource = new Uri("R:/IMG_6726s" + dpi + ".jpg"); // IMG_6726s48.jpg or IMG_6726s192.jpg.
img.EndInit();
image.Source = img;
lpvMessage.Text = "Loading :/IMG_6726s" + dpi + ".jpg";
private void onClickInImage(object sender, MouseButtonEventArgs e)
BitmapImage isrc = image.Source as BitmapImage;
image.Width = isrc.PixelWidth; // "ignores" DPI
image.Height = isrc.PixelHeight;
image.MaxWidth = grid.ActualWidth; // prevents scaling larger than 1:1
image.MaxHeight = grid.ActualHeight;
bool shifted = Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift);
if (shifted) // shift-click to toggle Stretch between Uniform and None
if (image.Stretch == Stretch.None) image.Stretch = Stretch.Uniform;
else
image.Stretch = Stretch.None;
lpvMessage.Text = "grid.ActualSize=" + grid.ActualWidth + "x" + grid.ActualHeight +
" image.ActualSize=" + image.ActualWidth + "x" + image.ActualHeight +
" isrc.PixelSize=" + isrc.PixelWidth + "x" + isrc.PixelHeight +
" image.Stretch->" + ((image.Stretch == Stretch.None) ? "None" : "Uniform");
private void gridSizeChanges(object sender, SizeChangedEventArgs e)
BitmapImage isrc = image.Source as BitmapImage;
image.Width = isrc.PixelWidth; // "ignores" DPI (redundant here
image.Height = isrc.PixelHeight;
image.MaxWidth = grid.ActualWidth; // prevents scaling to larger than 1:1
image.MaxHeight = grid.ActualHeight;
lpvMessage.Text = "grid.ActualSize=" + grid.ActualWidth + "x" + grid.ActualHeight +
" image.ActualSize=" + image.ActualWidth + "x" + image.ActualHeight +
" isrc.PixelSize=" + isrc.PixelWidth + "x" + isrc.PixelHeight +
" image.Stretch->" + ((image.Stretch == Stretch.None) ? "None" : "Uniform");
private void buttonClick(object sender, RoutedEventArgs e)
Button b = sender as Button;
string dpi = b.Content as string;
changeImage(dpi);Being able to ignore DPI is all I'm asking for, and what I've always done for decades
If the objective is to fill the Window, then yes, it's simple, as the following example of a thumbnail image shows:
<Grid>
<Image Source="http://leware.net/temper/42fp.jpg"/>
</Grid>
Result below. DPI doesn't matter, pixel sizes don't matter, the source fills the Image control, while respecting the proportions.
But I don't want the image to fill the space available if it doesn't have enough pixels, it looks fuzzy and I don't like that.
So I add Stretch=None to the Image control, and it solves my problem, the image is shown at a size that corresponds to its pixel size (63x87), centered.
<Grid>
<Image Source="http://leware.net/temper/42fp.jpg" Stretch="None"/>
</Grid>
The above two XAML fragments give the following results:
The second is what I want. So Stretch=None, unless the image is larger than display area, in which case Stretch=Uniform.
Now I try my two test images, also with Stretch=None because they are smaller than display area.
These two images are both 160x100 pixels, and, when compared in a hex editor, differ
only in the couple of bytes that store the DPI value (0x0030 vs 0x00c0),
all the rest is the same.
<Grid>
<Image Source="http://leware.net/photo/IMG_6726s48.jpg" Stretch="None"/>
</Grid>
and
<Grid>
<Image Source="http://leware.net/photo/IMG_6726s192.jpg" Stretch="None"/>
</Grid>
Here's what I see:
DPI obviously does matter here, much to my surprise. WPF's behavior was unexpected. That was my original problem.
The DPI 48 image is enlarged by a factor of 2, the 192 DPI image is reduced by a factor of 2. What I want is in between, and the same for both images, a display based only on pixel sizes, like most browsers and picture viewers do.
In other words, I want one image pixel to be one display pixel, downsized to fit if the image is too large, but never enlarged beyond 1:1 to fill the available space.
I had a hard time figuring out how to get those two small images to show identically.
I finally got what I wanted with the solution at the top of this thread (overriding size of Image control instead of DPI). I'm sharing because it might help someone else.
Is there a better way to handle this when the DPI is arbitrary? Isn't there a way to just tell WPF to ignore images' DPI values or simply override it (force an image's DPI to 96)?
Quite possibly I'm trying to do something which does not quite fit in the philosophy of WPF. Maybe I'm closer now, I'm still learning (this discussion is helping).
I won't be surprised if my application misbehaves when the DPI of the display is not 96. Not a concern for now. -
Downgrade from windows 8 to windows 7
I went to best buy and bought windows 8. I think it a awful operating system. I thought windows 7 was a good operating system. best buy won't refund my money for windows 8 and I don't have any money left to buy windows 7 is there any way I can downgrade to windows 7 for free?
Well, you can downgrade... And, you can manage to do it for free -- at least initially. What you do for free, though, may well come back and bite you hard.
HP urges customers: do not downgrade new PCs to Windows 7
That is not the worst of it.
There may not be HP Drivers for your computer. If you have the skill to deal with this, you are OK -- if not, then you may be unhappy. The Drivers are what makes the hardware work with the operating system. Like Sound, Graphics...
You can turn off many of the Windows 8 "Metro" bits in the Startup Screen -- you can ignore the Startup Screen altogether.
Free
Start Button for Windows 8
Classic Shell
Start8 - $5
Stardock Start8
6 Start Menu Replacements for Windows 8
General Information:
Learning About Windows 8
All about Windows 8 -- multi-lingual
Windows 8 Support
Kind Regards,
Dragon-Fur -
ListenerConfigure not rendering correctly
Hi,
I have just deployed the APEX Listener app into OC4J 10.1.3.5 (SOA Suite) and I have created the required roles and users.
I have modified the OC4J to startup using JDK 1.6.0 u21 (64-bit).
However when I access the listener configuration page http://<server>/apex/listenerConfigure all that is displayed in my browser is the content of the adminTemplate.html file, i.e. the page is not correctly rendered.
Am I missing some configuration?
Thanks,
RizThe application.log doesn't contain anything useful:
10/08/13 22:04:13.157 apex: 10.1.3.5.0 Started
10/08/13 22:18:49.37 apex: 10.1.3.5.0 Stopped
10/08/14 00:17:41.219 10.1.3.5.0 Started
10/08/14 00:17:55.229 apex: 10.1.3.5.0 Started
The OPMN log file for the OC4J process (default_group~apex~default_group~1.log) contains:
10/08/14 00:17:11 Start process
Aug 14, 2010 12:17:31 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
INFO: Legacy datasource detected...attempting to convert to new syntax.
10/08/14 00:17:55 WARNING: Code-source /u01/oracle/product/10gAS/10g_J2EE/j2ee/apex/applications/apex/apex/WEB-INF/lib/ojmisc.jar (from WEB-INF/lib/ directory in /u01/oracle/product/10gAS/10g_J2EE/j2ee/apex/applications/apex/apex/WEB-INF/lib) has the same filename but is not identical to /u01/oracle/product/10gAS/10g_J2EE/jlib/ojmisc.jar (from <code-source> in META-INF/boot.xml in /u01/oracle/product/10gAS/10g_J2EE/j2ee/home/oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader apex.web.apex:0.0.0.
10/08/14 00:17:55 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
10/08/14 00:19:40 Using Config file:/home/oracle/apex/apex-config.xml -
ASA 5505 Username and Password
Hi All,
I am trying to configure an ASA 5505 with a username and password. I set all the pass words:
password xxxxxxx
enable password xxxxxxx
username xxxxxx password xxxxxxx
When I reload the device it prompts me for the username, then the password and it fails and just asks for the username again. I have even tried to delete the username/password combo but it still prompts me for it. When I do password recovery the confreg is 0x00000001. I am no ASA expert and this is getting a bit frustrating.
When I first configured the device and reloaded it, everything worked fine.....once. Upon the second reload it just keeps prompting me.
Thanks for any help.
BillHello Carter,
Hmm, it sounds like a config-register problem.
So when you are in rommon you got to set the confreg to be on 0x41 so you can ignore the startup-config.
Then when you enter to the ASA please do the following:
enable password cisco
username password cisco
config-register 0x01
wr
and then finally reload,
Regards,
Julio -
Is there any way to add a hyperlink to text in Messages.app?
Is there any way to add a hyperlink to text in Messages.app?
I frequently share links via Messages and would like to have clickable text with a hyperlink beneath vs an ugly URL.Hi,
In iChat and early versions of Messages this used to be CMD + K keys together
This no longer works.
It seems CMD + K is free as a Modifier keystroke.
I would have added it as an item in System Preferences > Keyboard > Shortcuts.
The issue with that is the fact that there is also no longer an Menu item for it. (so it does not work).
You can add a URL and then Right Click and there is an Edit option but this only allows you to change the URL and not add a URL to existing unsent text.
Right Clicking unlinked Text does not allow you to Edit it either (well there are some format option but not Hyperlinks)
I can't find away around this.
I know in the past the AIM service suffered from malicious code sent in Hyperlinks so this might be the reason.
9:56 pm Monday; January 5, 2015
iMac 2.5Ghz i5 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
[SOLVED] sed: unrecognized option '--follow-symlinks'
I tried to build AUR package linuxcnc-sim and I got this error:
sed: unrecognized option '--follow-symlinks'
I thought that my sed command is outdated, so I tried to update it:
[ziga@Ziga-laptop linuxcnc]$ sudo pacman -Syy
:: Synchronizing package databases...
core 120.1 KiB 125K/s 00:01 [##############################################] 100%
extra 1793.4 KiB 191K/s 00:09 [##############################################] 100%
community 2.5 MiB 384K/s 00:07 [##############################################] 100%
multilib 123.9 KiB 1239K/s 00:00 [##############################################] 100%
[ziga@Ziga-laptop linuxcnc]$ sudo pacman -S sed
warning: sed-4.2.2-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) sed-4.2.2-3
Total Installed Size: 0.76 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
What I discovered was, that my sed command already is the newest version... does anyone have an idea what is wrong?
If I use man sed I get user manual where it says that unrecognized option '--follow-symlinks' is supported:
SED(1) User Commands SED(1)
NAME
sed - stream editor for filtering and transforming text
SYNOPSIS
sed [OPTION]... {script-only-if-no-other-script} [input-file]...
DESCRIPTION
Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input
from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making
only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline
which particularly distinguishes it from other types of editors.
-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
--follow-symlinks
follow symlinks when processing in place
Last edited by 71GA (2015-02-13 07:14:59)This could really be it. And my PATH is really weird - some inputs are doubled:
PATH=/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/opt/opencascade/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin
I modify my PATH at startup using ~/.bashrc
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export PATH=${PATH}:/opt/ARM/cs_lite/bin
export PATH=${PATH}:/opt/ARM/unsimgcr
export PATH=${PATH}:/opt/ARM/ds/bin
source /opt/ARM/eldk/eldk_init arm
What am I doing wrong in the .bashrc ?
Last edited by 71GA (2015-02-13 06:21:23)
Maybe you are looking for
-
I had a bunch of junk entries in the address book on the mac, so I never synced the 2 when I had an iPhone 3GS. I got an iPhone 4 and even after deleting everything in the bunk address book, wasn't able to sync the iPhone 3GS's contacts (it had them
-
Issue with G_FXX while creating a Process
Hello Friends, I have a Manual Tabular form made with APEX_ITEM, I am trying to create a process to perform DML operations based on the values from the G_FXX arrays of APEX_APPLICATION. Below is the error I am getting ORA-06550: line 9, column 30: PL
-
AFS Inventory Management in BI
HI All Can anyone provide me material step by step process for AFS Inventory Management in BI? Praveen
-
SMQ2 contain many entries.
Hello All, We are facing problem with Queue processing. SMQ2 contain many entries around 122500, entires are processing very slow. We need find out the where the problem exist. Configuration details. ERP 6.0 / NW7.01 Data base ORACLE --10.2.0.4.0 OS
-
Create a small list from a bigger list, on some criteria
I have a list of java objects, i want to create small list on some criteria for some calculation, so i dont have to loop through all the big list, but create a small list, what is the best way to do so, i can loop through the big list and then add ob