What is parent process of all the processes in iOS? Just as in UNIX based system the init process is the parent of all the processes and similarly, the zygote process in Android OS has the sole purpose of launching other processes.

What is the name of the iOS equivalent process?

The name of the equivalent process on iOS and macOS is launchd.

It is run with PID 1 and it the parent of all other running user-space processes. The objective of launchd is similar to initd - having the responsibility of launching other processes during boot and various other phases of the system lifetime.

This is in thread with traditional Unix-based systems, where PID 1 is reserved for the process that is responsible for launching the user space part of the system. This was traditionally initd, but on modern systems that is often replaced with alternatives such as launchd (on macOS), systemd, upstart, and other init systems.


Do not hide number when calling friends? A friend has an iPhone 4 or 5 running iOS 7, and has configured her phone to always hide her number when making calls, as a safety measure.

As a result, I can't tell it's her calling, since all her calls says "Private number".

Is it possible to configure an iPhone to hide its number for all out calls except for such and such person in the phone's list of contacts?

Possibly.

Your mileage may vary, as this is a carrier dependent function.  I was however able to achieve the following using two AT&T phones in the U.S.

First I opened Settings > Phone > Show my Caller ID and turned the switch off.

Next I placed a test call to the second phone, the other phone correctly displayed "no caller id".   (Note: it does NOT matter who the carrier is for the second phone, all the magic relates to what the first phones carrier offers.)

Next I google "AT&T star codes" and located this list.  *82 looked like the best choice.

I then modified the contact for the second phone, adding *82 before the phone number.

Calling that contact then allowed my caller id info to be displayed on the second phone, while still being blocked for others.

It's my understanding that *82 is reasonably standard for the code itself in the U.S.  I have no idea which carriers support it however (other than AT&T where I did test).  I also have no idea what carriers in other countries might use, or if it's supported with a star code.  Consult Google for "(carrier name) star codes" or check with the carrier.


Can i reset my iphone using my laptop? I dropped my iPhone 5c and the right hand side of the screen doesn't work but I need to wipe all my data from it, how can I do this using my laptop?

From Apple's article on restoring iDevices using iTunes:

  Connect your device to your computer using the cable that came with it.
  Select your iPhone, iPad, or iPod when it appears in iTunes.
  In the Summary panel, click Restore.
  Click Restore again to confirm that you want to restore your device to factory settings and delete all data and content. iTunes will
  download the device software file and restore your device.
  After your device is restored to factory settings, it will restart. When it does, you’ll see the "Slide to set up” welcome screen. Follow
  the steps in the device Setup Assistant. You can set up your device as
  new or use a previous backup. If you restored an iOS device that has
  cellular service, it will activate after you finish setting up your
  device.


Access iPhone through emulation My friend's iPhone just faded out today. The screen is just white when she turns it on. The apple store told her she is going to lose everything... this is stupid because I'm 100% positive a hard drive failure has not occurred. Alarms are still going off. Reminders work. Notifications are being received. We know this because each has it's own respective sound that is getting sporadically emitted.

When I hook the iPhone up to her computer to backup it's contents, it wants us to enter the phone's password. We are not able to simply enter the password into the blank white screen. The phone doesn't registered this touch input. Moreover, we've tried holding down every combination of buttons imaginable to make the screen responsible again to no avail. So I'm inclined to say that the screen completely failed.

So here's my question. Is there a way from the computer that I can mimic touch input on the iPhone to input the password to initiate the backup process? Is there another way to access the phone's file system recover it’s contents? The phone has been rooted, so it needs to be a legit strategy. The last iCloud backup was too long ago, in case anyone asks.

Thank you for any help,
Nick

You can use VoiceOver to control the device from a USB keyboard. You can usually use a keyboard to enter the passcode, but you also need to press Trust from a keyboard, which you can't do while connected to a computer that is not already trusted. In essence, either

enter the passcode with a USB keyboard and connect the device to a trusted computer, or
use VoiceOver to control the device from a USB keyboard to perform a backup to iCloud, steps for which are provided at https://deciphertools.com/blog/iphone-passcode-broken-screen/.


Constant VPN issues on El Capitan I installed an el capitan update about two weeks ago, and since then I've had constant issues connecting my macbook pro to my work VPN.

I can connect ok, but after only a few minutes (usually-- it can be as long as 45 min and as short as about 2 minutes) the VPN dies off.

Tailing the VPN logs, it all looks ok for a while, then starts repeating the following:

Thu Apr 14 13:01:03 2016 : No DHCP server replied
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0x5 88 ce 83 e3 a6 12 ea 7b 43 ac 98 7f de 47 5c 2c 6f 86 f7 7c 8a 5e 0a c6 1d b1 23 c7 95 92 a1 f0 ...]
Thu Apr 14 13:03:08 2016 : Protocol-Reject for unsupported protocol 0x88ce
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0x6 62 7b 8e 7c b2 95 42 8f 7e 38 88 37 32 bb bb 79 7a 10 e5 e8 35 76 99 20 7b bd 83 1c bc b7 b0 4c ...]
Thu Apr 14 13:03:08 2016 : Protocol-Reject for unsupported protocol 0x627b
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0x7 00 4d fb fc 33 73 bc 0c 25 9b f0 eb 3a 6c 93 21 d6 9f ec e1 f5 19 71 6d ff 7d 8b 3a 02 f2 e6 e4 ...]
Thu Apr 14 13:03:08 2016 : Protocol-Reject for unsupported protocol 0x4d
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0x8 d8 ac 17 1e 35 e3 59 3b 7d 0c 34 0b 4f 87 d3 86 6a 5c 03 dc 09 7b e0 a7 17 79 5f 5e 73 b6 ac 26 ...]
Thu Apr 14 13:03:08 2016 : Protocol-Reject for unsupported protocol 0xd8ac
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0x9 00 3b d8 5e 73 a1 e5 fd ff 33 3c 27 0d 5c aa 46 8c 1c 85 33 e0 ac 5d e0 f5 fc 50 bc 30 af 23 23 ...]
Thu Apr 14 13:03:08 2016 : Protocol-Reject for unsupported protocol 0x3b
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0xa 00 ef a9 de 91 fe 98 7b a3 db f4 32 08 c0 af 6b ff 86 31 09 e4 23 dd ef 53 df b4 18 b2 33 81 c0 ...]
Thu Apr 14 13:03:08 2016 : Protocol-Reject for unsupported protocol 0xef
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0xb 00 27 41 a2 f0 b1 53 69 71 fa ae 58 fb 33 c2 5a 1e dc 10 ce 4d f8 ca bc 28 d6 ef 8a 95 7a 60 03 ...]
Thu Apr 14 13:03:08 2016 : Protocol-Reject for unsupported protocol 0x27
Thu Apr 14 13:03:08 2016 : rcvd [LCP ProtRej id=0xc 00 c5 76 9b 78 e4 44 b6 df 7c ea 61 41 a2 17 12 e3 ab 42 2c 11 a6 37 72 15 30 93 10 81 7b 69 7d ...]

Has anyone seen this before? Any idea of workaround or things to try?

I'd recommend using TunnelBlick. Whenever I run into issues with the default VPN client TunnelBlick works much better. It even has options (like forcing full tunneling) that the built-in one doesn't.


Is it possible to allow usage for an app or program for a specific times on a Mac? I was trying to achieve this using a second account (which is the admin account) and Parental Controls, but it seemed this isn't possible to do so.

I know there are some programs which you can download that help you with this, (Cold Turkey, for example). But, it would be much easier if I could do this using only tools already available on macOS.

You can do this with two built in tools:

Gatekeeper to allow/disallow access to apps (I've written about it in this post)
Launchd to handle the schedule

Gatekeeper

Using Gatekeeper, we can create "rules" that allow you to block/enable apps.  Using your example, we can create a list of Apps that is only allowed to run on Fridays:

spctl --add --label "FridayApps" /Applications/SomeApp.app

The benefit of this, is that you can add multiple apps with the same label and enable/disable them in one single command:

sudo spctl --disable --label "FridayApps"   <---- For Saturday thru Thursday
sudo spctl --enable --label "FridayApps"    <---- For Friday

Launchd

For this you will need  a simple script to enable/disable the apps and you need to run this as a daemon (needs sudo privilege) so it has to reside in /Library/LaunchDaemons.

I used the naming convention com.user.FridayApps.plist and FridayApp.sh for the script.

Bash Script:

#!/bin/bash

DOW=$(date +%u)   # Sets the Day of Week; 5 = Friday
TOD=$(date +%T)   # Sets the time of Day
start="12:00:00"  # Sets start time
end="23:59:00"    # Sets end time

if [ $DOW -eq 5 ]
then
    if [[ "$TOD" > "${start}"  &&  "$TOD" < "${end}" ]]
    then
      /usr/sbin/spctl --enable --label "FridayApps"
    fi
else
    /usr/sbin/spctl --disable --label "FridayApps"
fi

Launchd .plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.user.FridayApps</string>
    <key>ProgramArguments</key>
    <array>
        <string>/User/MyName/script/location/FridayApps.sh</string>

    </array>
    <key>StartCalendarInterval</key>
    <!--  Weekdays are 1 - 5; Sunday is 0 and 7   -->
    <array>
        <dict>
            <key>Weekday</key>
            <integer>5</integer>
            <key>Hour</key>
            <integer>12</integer>
            <key>Minute</key>
            <integer>01</integer>
        </dict>

        <dict>
            <key>Weekday</key>
            <integer>6</integer>
            <key>Hour</key>
            <integer>00</integer>
            <key>Minute</key>
            <integer>00</integer>
        </dict>
    </array>

</dict>
<key>RunAtLoad</key>
<true/>
</plist>

##Load the `.plist`

sudo launchctl load com.user.FridayApps.plist

How this works

What's happening here is two things:

launchd is running a script twice.  Once at the time to run it on and another time to turn it off
a simple bash script to turn on/off the enabled app.  It verfies the date and then runs the appropriate command


Active Directory login takes from seconds to minutes on OSX Login screen loads a very long time occasionally. It's annoying to wait for 5 minutes just to be able to use the MacBook. I have not been able to find a reason why it sometimes takes a very long time and sometimes loads instantly.

I have a MacBook Pro with in OSX 10.6.6 and Active Directory corporate Windows network  controlled username and password. I also use a setting that requires password login after 15 minutes of sleep or screensaver in case I forget my laptop on a train or something.

What can be done to solve this issue?

There are several ways to get a Mac to work on an Active Directory network. Apple has some issues with it's Samba implementation that seem to cause these sorts of issues. I have been using software from Likewise to join our Macs to our domain. Starting with version 6.1 (currently in pre-release) the issues that you describe are greatly reduced (not eliminated) -- it still takes me about 45 seconds to log in.

If you have administrative control over your Mac, then you will certainly want to read up on migrating from your current AD implementation to Likewise. If you are not a admin, then you will need to speak to your IT department. It is important to note that Likewise should be installed as a local admin, and upgrades should not be applied as a domain user (even if they are an admin), but as a local user.


Backup keychains from hard drive During the installation of Yosemite, I got locked out due to my hard drive having some errors.  Thankfully I had a Windows partition and am able to access my files.

However, how do I backup my Keychain keys when I only have access to the files?  I am specifically trying to backup my developer private key.

You have two ways to copy the Keychains directory

Finder -> Go -> Go to folder... -> /Library/Keychains

or something like

cp -r /Library/Keychains ~/Desktop/MyKeychainsBackup [in terminal window]

However, the Keychains is saved with iCloud; you don't really need to make a local backup.


iPhone Email - How to prevent a datestamp from being turned into a Link to Create an Event I have an email that has something like:

XXXX 4:20pm Feb 11 assdaasddsadsa
XXXX 4:20pm Feb 11 assdaasddsadsa
XXXX 4:20pm Feb 11 assdaasddsadsa

The iPhone keeps turning 4:20pm Feb 11 into a link to create an event on the iPhone which looks real ugly, dark blue link.

Is there a way to prevent this, and tell iOS to ignore this in the Mail App?

Thanks

From my experience no,

Apple is just trying to make your life and the recipients lives easier by using microformats, an in this case the hCalendar version so that they can be understood by other programs {like a calendar app}.

see:

http://microformats.org/wiki/hcalendar for a full explanation of the format.

The only way-tat i know of-to solve this would be to jailbreak your iphone and change the style of the formatting [or remove the format altogether].

There is an issue with microformats that you may want to consider if you email blind people, see:

http://www.bbc.co.uk/blogs/bbcinternet/2008/06/removing_microformats.html

I know that this does not explicitly tell you how to sort this yourself, but I hope that with this knowledge you may just overlook the bad style in favour of the time savings that the hCalendar offers you and others.


Stop macOS VNC server from rendering remote mouse pointer Currently running macOS 11.2.3, and noticed that the system VNC server (enabled in System Preference -> Screen Sharing) always includes the mouse pointer in the video feed sent to the client, causing a shadowed mouse pointer on the client side (As VNC viewers would also render the mouse pointer locally to make a smooth motion). And the behavior is the same no matter if I use the Screen Sharing as the client on another Mac, or some third party VNC viewers on PC. While the Vine VNC Server does not have this issue and works perfectly.
So I wonder if there is a way to stop the system default VNC server from rendering the cursor of the remote machine. I have heard the rumors that the $80 Apple Remote Desktop can somehow configure this, but I haven't yet made the investment. Can someone confirm?

It depends on where you take the screenshot.
Even with Apple Remote Desktop if you invoke the screenshot on the local Mac it will include the cursor on the remote instance - which has no clue a screenshot is being taken.
If you invoke it on the remote instance the cursor will hide.
If the key commands are the same for both local & remote, then the local instance will launch in preference to the remote.


Changing Photo thumbnails We have one photo that overrides all the photos in iphoto thumbnails.  When we pull the photo up it is different than what is on the thumbnail.   We want to get rid of the thumbnail photo and have the actual photo underneath show.

Since it's only one photo you might find it easiest to Export it from iPhoto (as a .png perhaps) as "Current", then open it in Preview and rotate it four times, then Save it (if it's .png then you won't lose quality). Preview should have made a new thumbnail for you— now you can re-import into iPhoto and check to make sure everything is ok. You will have to redo location, Faces, and tagging info. But if everything is satisfactory then you can delete the messed up version you had before.

If you have lots of images with wrong thumbnails then you should launch iPhoto while holding CMD Option and rebuild the database.


Site Blocker for Mobile Safari Google Searches Is there a way to block content scraper sites from Google searches on Mobile Safari?  I would like something like the "Personal Blocklist" now available for Google Chrome.

Mobile Safari does not support browser extensions, which is what powers the block list.

We may see something in the future, but you're out of luck until then.


Lost disk space after removing bootcamp Apologies if this has been posted before, but none of the cases seem to match mine exactly and I don't want to mess anything up.
After removing my bootcamp partition I am missing about 250Gb from my disk that was previously allocated to the bootcamp partition.
I'm using a 2017 iMac with a 1TB Fusion drive.
Can anyone offer any help?

I solved it by following the instructions in the link below, but in my case I used:
sudo diskutil apfs resizeContainer disk1s2 0
Lost space after removing bootcamp


Pinch to lock iPhone I've been having issues with my iPhone 5's lock button recently, I'm having to press it more forcefully to get it to work. Then I saw this video and got to a part where the person does a pinch gesture to lock his phone.

Is this a feature to iPhone 5S only or can this be unlocked through some set up in accessibility?

It's a custom gesture set up on the jailbroken iPhone. Pinch to lock is not a feature available in Accessibility or any other method on a non-jailbroken phone.

The gesture can be set up using a tweak such as Activator. Go to Settings → Activator → On Lock Screen → Icon Pinch → Lock Device to set it up.


Shortcut of zooming out in Windows in Parallels Desktop I have a french keyboard. I try to use Windows 10 via Parallels Desktop under Mac.

In Mac, in Chrome we use cmd + = and cmd + - to zoom in and zoom out. It is the same in VS Code.

But in Windows, it does not work well:

1) in Chrome, control + - can zoom in, whereas I have not found the shortcut to zoom out.

2) in VS Code, control + - can zoom in, whereas I have not found the shortcut to zoom out. In the setting it is written that the shortcut for zooming out is control + NumPad_Subtract, but what is the key?

Could anyone help?

Per Google, it is Control++ to zoom in and Control+- to zoom out on a French keyboard.

I'm not sure exactly which shortcut you're referring to since there's multiple zooms (12 by my count), but a full list of French shortcuts can be found here.

It's possible that your keyboard layout is misconfigured. Ensure it's properly configured by performing the following steps:

  Click on the Start Menu.
  Click on Settings.
  Click on Time & language.
  Click on Region & language.
  Click on the language you wish to add a keyboard layout to.
  Click on Options.
  Click on Add a keyboard.
  Click on the keyboard you want to add.


Aperture crop tool stopped working I just got back from a hike, slurped the pix off my camera to my Mac, and can no longer crop my pix:

The usual shortcut C leaves the cursor as an arrow, not the crossed carpenter's squares.

If I add a crop brick to the adjustments pane, entering numbers there makes no difference.

I can make other adjustments -- e.g. levels -- so it's not like I've got it in quick preview mode.

Mac Pro 2012 24 GB
macOX Yosemite 10.10.5
Aperture 3.6

Reinstall of aperture (actually, copied the app from another computer) fixed the problem.

This is a windows-esque heavy handed solution that lacks elegance.


OS X computer name not matching what shows on terminal My computer name in System Preferences > Sharing is set to "archos", but is showing as "iphone" on Terminal. It just started doing this after I loaded Xcode for doing iPhone development:
Last login: Mon Nov  7 14:46:55 on ttys001
iphone:~ travis$

Any ideas what could be causing this?

It's perfectly normal for this to occur; when you login Terminal remotely bash does a reverse DNS lookup. It will only be the same if the hostname is not specified on the network you're connecting from and there is no reply from the DHCP server, or the reverse lookup against the remote DNS server fails to resolve.

You can easily over-ride the default setting by using this command in Terminal:

# sudo scutil --set HostName archos

You can check it by using:

# nslookup nn.nn.nn.nn
( or )
# host nn.nn.nn.nn

(where nn signifies your Mac's ip address)


iPhone and Mac "Mail" app emails sync not working...? I just bought a brand new Macbook Pro 15" and I already have an iPhone 4. I'm using Hotmail (now called Outlook) for email management. Since I'm using a Macbook now, I want to use Mail.app to manage my emails since I have multiple email accounts.

Here's my problem :

I have set my Hotmail account in Mail, and everything's working well. But When I read the email (of the same email account) on my iPhone, it's still mark as unread on my Macbook Pro after reading it on my iPhone.
But if I go on hotmail.com and log in my account, if I read a new email on my iphone that appears as unread in Hotmail, it will change as "read" in hotmail. So looks like the emails are synced.

I've made some research and looks like IMAP emails accounts can do what I need. Hotmail seems to be a POP3 mail server.
But if when logged in hotmail website, it works with my iPhone, why can't it work using the Mac Mail app? Some website seems to be saying that you can't do what I need with Hotmail (only Gmails, and other IMAP mail server)...and some say it'S possible.

Thanks a lot!

(I'm on Macbook Pro 2012, OSX 10.8)

iPhone uses the 'modern' Exchange ActiveSync (which is a mobile-only protocol) to sync with Hotmail, which explains why read emails are synced to Hotmail.com.

The only other protocol Hotmail/Outlook.com supports is POP. Unfortunately they do not support IMAP, so POP is as good as you're going to get.


After uninstalling iBooks, I can't sign in to iTunes any more I am currently using El Capitan.

Every time I uninstalled iBooks so I could manage my books with iTunes, I found I simply couldn't sign in to iTunes any more. That means I click the 'sign in' button but no sign-in window pops up. I can't purchase or re-download any of my music or books.

And reinstalling iBooks fixes it all.

Is there a way I can manage my books with iTunes and can still sign into my account?

Uninstall iTunes 12.3.x
then install iTunes 12.2.x.

Seems as if 12.3 must have iBooks not so with 12.2.2.


How to remove the download tab still appearing on videos after uninstalling Wondershare AllMyTube I've downloaded and installed Wondershare AllMyTube for Mac for a quick look to see if it was any good. Then I decided that I didn't want it and uninstalled it.

However on all website videos (news) when I go to play the video it shows a download bar just above the video and if I click it, it just shows an unable to find link page via finder. I have tried all ways to get rid of this download facility but can't.

Any ideas?

To properly uninstall Wondershare AllMyTube for Mac you have to remove additionally the following files or folders - besides the app itself:

/Users/[user]/Library/Application Support/MediaDownloadKit
/Users/[user]/Library/Application Support/Wondershare AllMyTube
/Users/[user]/Library/Application Support/Safari/Extensions/AllMyTube.safariextz

If you have no other Wondershare apps you may also remove:

/Users/[user]/Library/Application Support/wondershare

with [user]: your user name

If you usually use Chrome check the Chrome extensions from inside Google Chrome and delete the Wondershare AllMyTube extension. In Firefox check the Add-ons and delete the Wondershare AllMyTube add-on.

Usually the user's Library folder is invisible. To open it use in the Finder's menubar Go -> "Go to Folder..." (shiftcmdG) and enter ~/Library.


Why does the calendar app require access to my emails? I recently ran an update to Mojave 10.14.4, and following this update, I was prompted by "Internet Accounts" to re-authorise access to my Google account.

Notice that I only wish to syncrhonise Calendars and Notes in this panel, and not my Mail or Contacts. My concern is that, when I proceed to opening Safari and enter my credentials to authorise access, this is what the permission request looks like:

As you can see, the request includes full access to my email account. I have tried disabling the synchronisation of my Notes, but this does not seem to change the request.

It would appear then, that following the update to Mojave 10.14.4, "macOS" requests a blanket permission to my Google account regardless of my sync preferences. I would like to know why that is, and if there is any way to only give access to what I would like to sync, and nothing more.

A Google account, whether added for Contacts, Calendars, Emails, or all of the above, is added the same way and requests permissions for all three. You then enable or disable them on the settings panel you see in the background.

It will not interact with your email if you leave the Mail checkbox off


What causes my Macbook to spontaneously shut down? Out of the blue today, my Macbook Pro 2015 15", running macOS Catalina 10.15.2, shut down while I was using it.

Since then, for the past half hour or so, I haven't been able to keep it on for longer than a minute or so. It either spontaneously shuts down, requiring me to manually turn it back on, or it spontaneously restarts. Now (a day later) it only spontaneously shuts down. It doesn't restart itself.

This happens when it is plugged into the charger and when it is simply running on battery. This also happens while only headphones are connected to the MacBook, or while no peripherals are connected.

Apple Diagnostics shows "No issues found."

I have tried resetting SMC and NVRAM.

Additionally, when starting up I notice weird graphical glitches, for example a white bar sometimes appears on the left side of the screen, or the apple logo repeatedly resizes itself, or a regular pattern of white rectangles appears across the whole screen.

I got a picture of that:

This flashes onto the screen after the first apple logo appears.

The Macbook does not spontaneously shut down or restart when I boot it into Recovery Mode or Safe Mode.

However, there are also graphical glitches in both of these modes; look at the terminal tabs in Recovery Mode:

Moving the mouse cursor over the tabs causes them to scintillate randomly, rectangular monochrome patterns. and glitches.

Exactly the same graphical glitch happens to Finder tabs in Safe Mode.

Why does my Macbook restart like that after I've booted it normally? How do I resolve this problem?

Your symptoms are either a bad driver / os for the video subsystem or a hardware failure.

In case of hardware, safe mode will often run since it doesn’t ask as much of the video system which runs in a fail safe / basic mode. Also, it can slow down the rendering so you can easily see the failure modes or grab a screen shot.

Before paying for a repair, consider charting how often this happens and back up / erase install to be sure this is the hardware / vram failing.

As to the shutdown, unless there’s a severe failure, you should get. A kernel panic, but if the logs show no events and no panics, then that’s another reason to suspect hardware failure.

Since your mac won’t run more than 5 minutes in normal mode, why not back it up in safe mode and try an erase install. If your Mac can’t reinstall itself, then you know it’s repair time. If it can, you’ll be back in business


"Save as ..." in Microsoft Office always brings up "Documents" folder in Finder "Save as ..." ignores the location of the current file and ignores the last save location. This means I have to navigate back to the original files source folder every time I want to save a different version of the file in Excel.

Many apps do this. Years ago a utility was released called DefaultFolderX. It lets you fix this problem for all apps, and it can even store two different locations- one for opening files, one for saving files. It’s excellent for when you open files from one directory, work on them and save them into another directory.

It is unlikely that Microsoft will do anything about this function as they would regard it as the operating system’s responsibility.


Single Key Macro for OS X I want to make a simple macro for a game I play but can't figure out how through mac programs. I'm looking to run a macro where when I press x, it outputs as pressing the x key twice in a row very fast (.5milliseconds).

Basically turning x into xx, but having the output very fast

I suggest you try Karabiner Elements where you can do what you want (but I don't know HOW fast).
You'd have to import a VERY simple "Complex Modification" to press two key presses in a row.
Something like this:

{"title": "Make single letter click twice FAST …",
 "rules": [
        { "description": "Press 'x' twice.",
         "manipulators": [
           "conditions":[{"bundle_identifiers": [ "^com.game.name" ],
                                        "type": "frontmost_application_if" }
                         ],
                 "from": { "key_code": "x",
                          "modifiers": { "optional": ["any"] }
                         },
                   "to": [
                          { "key_code": "x" }, { "key_code": "x" } ],
                 "type": "basic"
} ] } ] }

Karabiner comes with "EventViewer" which will tell you in its tab "frontmost application" what name it expects (keep "^" !).
(HERE is an example which explains the importing into K-Elements.)


Is there an equivalent to resetting NVRAM on an M1 mac? I have an M1 Mac Mini that is exhibiting some strange issues that aren't going away after reinstalling macOS. I'd like to reset its NVRAM or whatever the nearest equivalent is for M1 macs, in case something there is causing persistent problems.
Are there equivalent steps to Intel Macs with T2 chips to reset things when the symptoms are not specific?

There is no SMC or NVRAM reset on the new hardware. Same as on iOS, iPadOS, watchOS, tvOS and HomePod hardware.

https://eclecticlight.co/2020/11/28/startup-modes-for-m1-macs/
https://support.apple.com/en-us/HT201295
https://support.apple.com/en-us/HT204063

Yes, you can run a nvram command and read/write to a key-value store, but the reset at boot key command is gone.
I would open a support case for each specific item that’s strange. We now have detailed logs and a very capable recovery infrastructure for debugging boot issues so out with the old, embrace the new is my current motto.


Yosemite three-finger lookup not working I have enabled the three-finger lookup, but it is not working since I upgrade to Yosemite. How to fix it?

Are you running Scroll Reverser? It causes the bug. Just quit Scroll Reverser.


How to reformat Macbook Pro SSD to regain "Free Space" I just tried installing Windows 10 through Boot Camp. Before it actually started installing (but after I had partitioned my disk), I realized I had not plugged in a USB (which apparently you are supposed to do). So I exited the Windows pre-installation program so that I could start afresh with a USB.

I put in a USB and started up Boot Camp again. This time, however, it told me that I need to get rid of the partition. I tell it to do so, but it errors in this process! So now, I am left with 60GB of "free space" that I cannot reformat back into my main storage.

As you can see, there is no partition on the left side that I can remove. I simply have 60GB of "Free space" that I now cannot use. Please help!

You can simply create a new partition using Disk Utility to regain those 60 GB for usage. Another possibily is to change the size of your existing partition, depending on its current file system.


Is there a way to show the release dates of System software updates? I was previously hit by the Thunderbolt Update that made the iMac not bootable, so as a precaution in the future, I may check and see the release dates of all the Software Updates, and if the update is more than 2 to 3 days old, then I will install it -- if less than 2 to 3 days old, then I will not install it.

This is because if a software update has any issue, by the 2nd or 3rd day, it will be known and any correction will be made, or the update may be pulled from the update list.

But is there a way to see the release dates on the list?  Right now only the version is displayed, such as 3.0.6, but the release date will be more useful.

We can click on the link to see the details on a webpage, but it is time consuming if there are many updates, and sometimes the webpage doesn't show a release date.

If you are running a software update service on OS X Server, you can see when Apple released each update (and also when the server actually downloaded the file). This is also nice as then you can then only mark an update as viable to your machines once you have had a chance to review things.

Also, for a more lightweight solution, you can look at the downloads web site to determine when a particular package was released.


Sync photos in iPhone to new PC Sometime back I have synced my iPhone with My Pictures folder in a PC.
That PC is now gone.
I dont have those photos anywhere but in my phone.
I can't see them from iTunes when connect my phone to PC.
I can't see them thru Windows Explorer.
I can't delete them in my phone.
When I try to turn on iCloud Photo Library, it says 1600+ photos will be removed.
I would like to copy them to my PC and delete them all from my phone. How do I that?

You can use Photo Gallery [freeware - part of Microsoft Essentials] to import pictures from an iPhone/Pad to a Windows PC.

  To import photos from a camera, phone or other device, CD, or DVD

  Make sure that your device is turned on and connected to your PC, or that the disc is inserted into your PC's CD or DVD drive.
  Open Photo Gallery.
  Click the Home tab, and then click Import.
  In the Import Photos and Videos dialog box, click the device that you want to use, and then click Import. If you're importing from a CD or DVD, select the CD or DVD drive.
  Click More options to select the options that you want to use, such as where to save the files and what format to use for the folder and file names.
  Click one of the following two options: Review, organize and group items to import or Import all new items now.

  Review, organize, and group items to import

  Click Review, organize and group items to import, and then click Next.
  Define, select, and name the groups that you want to import:

  Photos are automatically grouped according to when they were taken. To change the time interval used to define the groups, at the bottom of the window, move the Adjust groups slider.
  To choose which groups of photos to import, next to each group, select the check box.
  To see all of the photos in a group, next to the group, click View all items. If you don't want to import all of the photos in the group, clear the check boxes for the photos that you don't want to import.
  For each group of photos that you want to import, click Enter a name, and then type a name for the group.
  To assign tags to a group, next to the group, click Add tags, type one or more tags separated by semicolons, and then press Enter.

  Click Import. Each group of photos is saved to a different folder.

  Import all new items now

  Click Import all new items now, and then type a name for the photos or videos.
  To assign tags to the group of photos that you're importing, click Add tags, type one or more tags separated by semicolons, and then press Enter.
  Click Import.

  To add other folders of photos into Photo Gallery (for example, from OneDrive or from another location on your PC)

  Click File, and then click Include folder.
  Click Add, and then select the folder you want to add to Photo Gallery.
  Click Include folder, and then click OK.


Why can't I paste into the password dialog when mounting an encrypted disk image? I've got an encrypted sparse bundle disk image and I've used fstab with the right UUID to mount it someplace other than /Volumes. What I would like is to just dbl-click on it, enter the password and have it show up where I want it. I use a password manager and I have intentionally chosen a long random gibberish password for the disk image. It seems that I am not allowed to paste my password into the dialog that asks for a password when mounting an encrypted disk image.

Am I doing something wrong?

No, you aren't doing anything wrong. Apple doesn't allow you to paste into certain secure dialog boxes. It's a feature, not a bug. (It makes a brute force hack of the dialog box more difficult.)

You can paste the password into the command line if you mount the secure image using hdiutil.

Open Terminal and type:

 hdiutil attach /path/to/imagefile -stdinpass

When prompted for the password, copy it from a text file or (preferably) a password vault and paste it into terminal.

If the path/to/imagefile is complex, you can type the command, a space, then drag the imagefile icon from the finder into the terminal window to automatically enter the path/filname.


Prevent closing of entire Xcode window on Command-W when "Quick Open" menu is open I have an Xcode window open with many tabs. I want to open a file through Quick Open (⇧⌘O).

When I decide to close the Quick Open menu and also close the current tab that I'm on, I'll press Esc to close the Quick Open menu, and then press ⌘W to close the tab. However, sometimes I make a mistake and press ⌘W on the Quick Open menu, which causes the entire Xcode window to close instead.

Is it possible to prevent this behaviour? Maybe prevent ⌘W from doing anything when Quick Open is open?

Here's how you unset the keyboard binding for Close Tab aka ⌘+W.

From Settings.app -> Keyboard -> Shortcuts -> App Shortcuts tap the + button
From Application dropdown select Xcode
Enter Close Tab for the Menu Title
set any keyboard shortcut you like

This un-maps ⌘+W shortcut in Xcode app completely. After this you are free to remap the ⌘+W key bindings in Xcode.

In my case I like ⌘+W to close the document so from Xcode -> Preference -> Key Bindings I have these changes (In your case you can bind Ctrl + ⌘+W to Close Tab instead and leave Close Document unmapped).


How to sync photos to iPod 6g Today I was trying to get photos onto my iPod. It is a sixth-generation IPod nano, and I was using iTunes 12.4. However, I was not able to sync photos to the iPod. Why is that? Here is what it looks like:

For some reason, Photos is not appearing below the name of the iPod.
So: how do I sync photos onto a 6g iPod?

You're looking in the wrong section.
Photos & their sync options are in the main Summary section for that specific device

Click the Device icon in the header bar to get there - you get a drop menu if you have more than one device, otherwise it just switches...


Upgrade Mac mini's graphic card I am doing well with my Mac, but I don't want to buy another computer for gaming, then I'm thinking on upgrading it.

Searching in the web, I've seen that there is no way to upgrade the Mac mini's internal card, but anyone have experienced or knows if it works well with an external graphics card?

Do you think it's worth? Suggestion for an external graphics card?

Mac mini's model is mid-2011 with 8 GB RAM.

If your Mac mini has a Thunderbolt port (which the mid-2011 models do), you should be able to add an external graphics card when those become available. Until then, there are no external graphics adapters for Macs except the DisplayLink USB adapters that @bmike mentioned, but those won't work for gaming.

An external graphics card is usually PCI-Express x16 and Thunderbolt only carries an x4 signal, so you won't get full speed out of that, but it's better than integrated (or maybe even just old) graphics. (Heck, many, if not most, PC motherboards only run x8 signals to attached x16 graphics cards, so they're not using the full bandwidth anyway.)


Is there no way to dismiss a timer/alarm with the earpod controls on iPhone that does not result in resuming playback? I have an iPhone 5 with iOS 6. This is what happens:

Audio playing in the background OR paused audio playback
Timer goes off with alarm sound
Dismiss alarm with Earpods center button
Playback resumes

I would have thought that after dismissing an alarm sound the phone would go back to whatever state it was in before the alarm, but that doesn't happen in the case of paused playback. This behavior is confusing and seems inconsistent.

Is there a way to turn of the Timer alarm using just Earpods, and without having music playback start?

What I do to stop alarm sound is to call Siri twice. First time to stop the alarm itself, second time to stop Siri from listening. This can be done with a very short interval. For reassurance, you can tap thrice each time (in case you tend to miss one of 2 taps required for the command to be registered by AirPods).

P.S. I know the question is about EarPods, but it's quite similar to what some people experience with AirPods. And for EarPods the same could be performed by double-clicking the central button.


‘sudo’ is missing on recovery terminal on my MacBook, I booted to RECOVERY TERMINAL.
I get this error “sudo command not found”
critical commands like sudo, brew, su and others are missing from
/bin
/usr/bin
/usr/sbin
i searched with
ls -la /usr/bin | grep sudo
Can a bad actor with physical access to my machine delete these from machine? (No Firmware Password Set)
how do I install them back?
When I boot my MacBook with my regular username, sudo and everything else works.
How do I make sure the system recovery software, boot loader and its components are updated.
P.S: I have upgraded to MacOS BigSur

The modern mac os recovery environment automatically logs in as root. So the su or sudo command is not necessary since you are already using superuser privilages. Try the command ls -lah to see your permessions of the current directory. Or ls -lah whoami to see your user permissions.


Where can I buy a digital version of Windows 7 for Boot Camp? I'm going to attempt to install Windows 7 via Bootcamp on my new Retina Macbook Pro.  Since it's lacking an optical drive, every tutorial / walkthrough that I find says I need an ISO version of Windows.  I can't seem to find any sort of direct download links / stores that don't seem shady though?  Where can I get a legit copy of windows in ISO format?

You can download it from here : http://www.mydigitallife.info/official-windows-7-sp1-iso-from-digital-river/

You will need to have the product key to install it. If you don't have one you can buy it from Microsoft store.


Why isn't Finder updating a folder's contents? Today I had the strange behavior that I added some files to a folder in Finder (that happens to be in dropbox) from Outlook, but Finder did not show them.  I could see them from the Open File dialog of Outlook and of Adobe Acrobat Pro XI, but returning to Finder, still not there.  Hitting the F5 key to force a refresh, still nothing.  Finally, I forced Finder to quit and relaunch, and they showed up.  This is OS X Yosemite v10.10.2.

What is going on?  Why would Finder not show the new files until forced to restart?

I've known it happen if memory was being paged heavily, or if a drive was particularly full.

F5 has no effect on a Mac, btw, it's a Windows command.

The only real equivalent - to a system that really ought to never need to be refreshed under normal circumstances - is to switch view style…

…from list to column then back again, for instance…
 Cmd ⌘   3  then  Cmd ⌘   2


iOS got a very long repeating Settings list The application list in Settings is becoming very long. I can hardly scroll to the bottom. The list might have repeated for more than 40 times.

I don't know how this happened (suddenly or one by one).

I think this is a bug, but I don't know how to reproduce.

The phone is an iPhone 5 with iOS 8.1.3.

As the picture, this app list repeats for about 40 times. I only installed about 20 apps, but it takes me quite a while to scroll to the bottom.

This doesn't affect the usage anyway, just curious.

Think app list may repeat due to multiple syncing. A restart may sort this.


How do you specify Firefox 'open file' location? Firefox documentation specifies that when you click a link to download a file and select 'open', that it downloads it to a temp folder. While this is true on a Windows system, it is not in Yosemite. It automatically downloads to my Downloads folder, just the same as if I told it to download without opening.

the firefox documentation that says 'open with' saves to a tmp location is found at the following link:
https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file

the idea is that when the dialog box pops up for a clicked link:

If I choose 'open with' and the selected application opens the file, it is saved to a temp location, whereas selecting 'save file' then automatically goes to downloads... or however else I choose to set it in the preferences of firefox.

the firefox documentations say that 'open with' goes to temp folder, but that is apparently only true on a windows operating system, not osx. If it's a big hackjob to fix this, i'll forget it, but if there's some 'about:config' line I can mod or something, that would be great. I've looked and found nothing quite obvious as of yet.

Open Firefox preferences
Select the "General" tab
In the "Downloads" section set the "Save files to" to be whatever folder you want all your downloads go to.  Alternatively, you can choose the "Always ask me where to save files" option to have it always prompt you where to save the file.


SSH not working after macOS 10.15.6 update I am experiencing a timeout connection error when using ssh from my MacBook to connect to an external server. The problem started immediately after having updated to macOS 10.15.6. I could connect smoothly before that. The server is working correctly, I can connect from other machines.
$ ssh -v T800
OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Reading configuration data /Users/XYZ/.ssh/config
debug1: /Users/XYZ/.ssh/config line 22: Applying options for T800
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 47: Applying options for *
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: connect to address xxx.xxx.xxx.xxx port 22: Operation timed out
ssh: connect to host xxx.xxx.xxx.xxx port 22: Operation timed out

/etc/ssh/ssh_config contains a bunch of commented lines and then:
Host *
        SendEnv LANG LC_*

While /Users/XYZ/.ssh/config for T800 is:
Host T800
        Hostname xxx.xxx.xxx.xxx
        User john
        Port 22
        UserKnownHostsFile ~/.ssh/know_hosts

The firewall of my MacBook is turned off, and the one on the server is correctly configured. I can ping the server from my MacBook and I can access it via ssh from other machines, including my second MacBook wich is still running an older version of macOS.
A similar (yet different) problem is described here, I tried the solution proposed but it didn't work in my case.
Any clue?

Somehow resetting NVRAM solved the issue. I am still puzzled about the cause of the bug, but at least I got ssh working properly again.
Here is a link to an Apple help-document on how to do this: https://support.apple.com/en-us/HT204063


Number of antennas inside an iPhone 7 I would like to know how many antennas are inside an iPhone 7 for the 4G connection?

Is it possible to have multiple antennas on an iPhone to make the received signal stronger and give better data throughput?

Thanks

Theres nothing you can do to improve significantly the signal, as the iPhone doesn't support hardware or software upgrades that can improve this side of things.

Here's an example:

https://www.youtube.com/watch?v=fOuYASBuWJc


How does Time Machine encrypt backups to network disk? I see other questions regarding encrypting Time Machine backups to external disks, like this one:

If I encrypt a Time Machine backup disk, is the entire disk encrypted or just the Backups.backupdb directory?

There it says the entire disk is encrypted.

But for a network disk, I find it hard to believe that Time Machine can encrypt the disk. For example, is remote encryption of an entire disk possible via SMB?

Of course, Time Machine still supports encryption to a network drive, so then what exactly is it doing?

Neither the remote disk nor the remote volume is encrypted by Time Machine. Instead a special "sparse bundle (disk image)" ("backupbundle" for Catalina) is created on the network drive. In fact it's no uniform disk image file like a dmg but a special folder containing sub-folders and config/log files.

The content of the source volume(s) is saved as AES-128-encrypted band (or chunk) files in the bands folder.

The password is merged into a special file named token in the backupbundle.

The remote disk or volume could be encrypted independently though. This depends on the (TM-)server config.


When an app on iPhone tries to log in through Google, must it be Safari? Can it be Google Chrome? On the iPhone, if you use an app and it tries to log in through Google, Safari will come up and show you a page to log in.  Can it be Google Chrome instead of Safari through which you log in?

Unfortunately, no.

It is not possible to set a different default web browser on iOS. though in some applications you can specify this, that is few and far between.

So generally speaking if you need to log in to a service and it needs to open a web browser you can have it open in any browser as long as the browser is Safari.

It would be nice if that were different but the powers that be at Apple, so far, have said no to that feature.


Unable to tap on Apple ID in app store iphone 5s I am using iPhone 5s. I checked on various site on how to sign out of apple id in app store, but I am unable to select the apple Id since it is coming in grey color (normally it is shown in blue). I also have my restriction off in general settings. Because of this error, I am also not able to download anything from app store in my iPhone. My apple Id account is already verified and I have checked it twice on net.

Trying to reset all settings works.

I don't know why it worked.


How can I stop Spaces from taking me to an app's Space when I open a new file? Let's say I have two spaces with a program open in space one. If I'm actively working in space two and open a file that uses the same program as what's open in space one, I get hucked back into space one. How can I make the default behavior be to open a new window of the program in the space I'm in?

Found an answer on Macworld.com

  You can achieve the same thing in QuickSilver with and some basic
  AppleScript:

tell application "Safari"
   make new document
   tell application
   "Safari" to activate
end tell

  Simply save this AppleScript somewhere that QuickSilver will find it.

  The good thing about the above AppleScript is that it doesn't mess
  around with focus (which can inadvertently switch Spaces).
  Unfortunately not all applications have a similar AppleScript command
  for making a new window (for example, Terminal does not).

  I saved mine in my home directory, and called it "New Safari Window".
  I also changed it so that it had the Safari icon (by dragging the
  Safari icon from the "Get Info" window of Safari.app, to the icon in
  the "Get Info" window of the new script file).


Downgrade from iOS 7.02 for iPhone 4 I'm the owner of iPhone 4. Is there any possible way to downgrade from 7.02 to one of the previous firmware versions? The whole point is I don't have and have never had SHSH blobs and have never jailbroken my phone. The ideal is to get back to iOS 4, but even 5 and 6 would be fast enough for not annoying me all the time with iOS 7's incredible slowness. If there is some way to do that I will be absolutely happy. Thanks.

Sorry to say that, you can't downgrade your iOS from 7.0.2 to previous iOS versions. Apple won't support this. Not only for iOS 7, but also from any iOS to its previous versions. As you have mentioned that you didn't have SHSH blobs and didn't jailbroken your iPhone, it's not possible to downgrade the OS of your iPhone.

But, you can make your OS faster in your iPhone. Refer this link and do the steps mentioned there to make your phone os speed.


My mac is not booting I was on my macbook today, and suddenly a flashing file with a questions mark appeared, and now i cant start my mac. It says ( support.apple.com/mac/startup) . I've tried diferrent ways, first aid the drive, but i got an error (something that is failing ), i've tried to reinstall the macos but it says " disk locked" . What can i do, really need what i have on the mac..
Note: dont want to erase may data from the mac .

To do a First Aid on your System Volume, you can try to mount/unlock it before, because il you have a crypted volume (Filevault) you can't do anything on before unlock it and give your admin password.


macOS Catalina + Mac Mini: How to (reliably) use external speaker + control volume with media keys? In Short:

I have not been able to find a reliable solution to use external speakers + media key volume control on macOS Catalina.

Is there any good / known solution for this?

Long Story:

I haven been using macOS 10.14 on my Mac Mini 2018 without any problems. An external display including speakers is connected via HDMI.

Choosing the display as output device in the system preferences "Sound" is now problem. Sound is than played using the display speakers. However, I was not able control the volume using the media keys on the keyboard which is quite annoying.

To solve this problem I have been using SoundFlower + SoundFlowerBed which worked fine.

Last week I have updated to macOS 10.15.3 Catalina. At first everything worked fine as well but soon I notices that every now and than sound stopped working. The only solution to get sound back was to restart the Mac.

Since SoundFlower is not developed anymore I found other questions / threads which recommend Blackhole as replacement. However, I was able to get sound back using Blackhole. Especially controlling volume using the media keys seems not to be included.

After some more search I found SoundControl which seems to work most of the time + allows controlling the volume using the media keys. However, media key controls also stops every now and then... It would be OK to pay the full version for $15 (however it is quite annoying that macOS does not provide a solution it self...) but of course only if this solution works all the time.

How to solve this?

I have had this problem before, especially since I use a Digital Audio Controller (DAC) connected to my Mac mini (2018), connected via USB.

To solve this, I used a piece of software called SoundSource, which supports "Super Volume Keys":

  Enables keyboard volume control for audio devices that do not natively support it.

As my DAC is just a controller, not an amplifier, it does not have native volume controls, and yet I'm able to control Mac's output volume thanks to this little trick.

It's a paid software ($35), but has so much more additional functionality you may like, I think it's worth it.

Despite my best efforts, I have not been able to solve this problem without resorting to purchasing a third-party software, but maybe you can use Feedback Assistant to send feedback to Apple about it?


Rename screencapture program I would like to rename the "screencapture" utility triggered with the shift+cmd+3 keys, in order to take screenshots from a program that recognizes and disables this utility.

Specifically, I want a different name to appear under ps when that utility is running.

Is there a way to rename or alias this utility system-wide?

I think it is not that easy, but it is possible.
When calling

  which screencapture

I get

  /usr/sbin/screencapture

I enter sudo mode and cd to /usr/sbin

  sudo su
  cd /usr/sbin

I rename the screencapure programm :

  mv screencapture capturescreen

And after that, I create a symlink to the old one:

  ln -s capturescreen screencapture

now when calling capturescreen, It is called capturescreen.
But when doing CMD+Shift+3, I get the screencapture process.

But You could fix that with creating a Service in Automator and create a Shell-Script-Action, simply calling "capturescreen ~/Desktop/Output.png"

And after that in the System-Preferences, Assign a Shortcut to the Service.

But you could also simply call Terminal and enter "capturescreen ~/Desktop/Output.png"

Even further, you can modify the screencapture action in automator to get the timestamp back and use it as the main tool for schooting screenshots.


How to transfer Clash of Clans from one iOS device to another I have two iPhones and an iPad 2. One of the phones is an iPhone 3GS running iOS 6.1.6 and the other is an iPhone 4 running iOS 7. Under the same Game Center account they each have a separate village for Clash of Clans. I just got my iPad and wanted to transfer the game on the iOS 6.1.6 device to my iPad. What I was wondering was, if it's even possible to link a game on Clash of Clans from an iOS 6 device to an iOS 7 device, and if so how do I do so?

Yes it is possible. All you need to do is have both your devices next to that you want to make the transfer with. Then tap the settings button in clash of clans and you will see "link a device". Follow the on screen instructions after that.

If you have a new account already made on your new device past town hall 4 you are unable to link them. You will need to contact supercell for further information, which is what I had to do.


Strange "open with" option in Safari I have two applications on my Mac that will open DICOM files: OsiriX and Horos.

In response to a download and display request in Safari, I get the message shown in this screenshot:

http://207.254.60.104/WebShare/OpenHoros/OpenHoros.png

The request is:
osirix://?methodName=DownloadURL&Display=YES&URL='http://207.254.60.XXX:3333/wado?requestType=WADO&studyUID=1.2.826.0.1.3680043.9.5830.1.XXX&token=5EA4A2D69BC4AA5BB4A2CD303B7FE041'

(XXXs for anonymization purposes)

It previously would simply download the data into Osirix and display them. Now, suddenly, I get the option to open the data with Horos only.

This doesn't happen with Chrome.

Update 12/22/16: It's happening with Chrome, too. Chrome opens the Horos app.

Second update: 12/22/16

Firefox Preferences still permits explicit specification of Applications. When I checked this, I got the following:

http://dsh.re/4893b

I changed this to "OsiriX" which has solved the issue for that browser. So, I've confirmed that "something" has set Horos.app as a Default. I just have to determine how to change that.

Ideas?

Have you tried downloading a DICOM file locally and then right clicking -> open with -> Other and then choosing Osirix and checking always use this app? I've had to do this before once; somehow OS X file associations got overwritten after an upgrade.


MacBook Pro (13-inch, Mid 2010) shuts down unexpectedly My wife's MacBook Pro has begun shutting down unexpectedly, at seemingly random intervals. This started occurring after I (very carefully) upgraded the machine from 4 GB to 8 GB of RAM and replaced the old battery, which had reached the end of its life.

The shutdowns are instantaneous, while there is plenty of power left. It's as if the power button was held down. It has happened twice when a USB hard drive was connected, but that might have been a fluke. I haven't been able to consistently reproduce the issue.

Does anyone know how to debug this issue, like if there are any logs of unexpected shutdowns that might provide some clues as to what's going on? Any pointers greatly appreciated.

I'm not sure if this is relevant, but the same machine was having a different issue with sleeping until I upped the RAM and changed the battery. This issue has since stopped happening.

Edit: The problem we're experiencing sounds very similar to this blog post.

Here is a Terminal command to find out what is shutting down your computer.

syslog -k Sender kernel -k Message CSeq 'n Cause: -' | tail | awk '/:/{$4=""; print}' | pbcopy

It will save a text format copy to your desktop.


Put Lion "Recovery HD" on USB In an attempt to save some space on my ssd, I used SuperDuper to clone Recovery HD to a USB drive. But when I booted up my Mac holding the option key I only got the ssd and Recovery HD as alternatives.

Does anyone have an idea as to how I can clone Recovery HD to an external drive/memory stick and then remove it from the boot drive?

The best answer is one supported by Apple.

Why not use the new Lion Recovery Disk Assistant to make your USB bootable media.

The only requirements are listed as:

A Mac running OS X Lion with an existing Recovery HD
An external USB hard drive or thumb drive with at least 1GB of free space

Detailed, step by step instructions are updated at http://support.apple.com/kb/HT4848


reboot osx from non apple keyboard I want to be able to reboot my mac mini with a wireless keyboard (non apple keyboard) and not by using terminal/ssh. I don't want to pull the power or set a scheduled time - just be able to accelerate the shutdown without using a mouse or trackpad.

Is this possible by using some pre-arranged combination of keyboard commands or shortcuts?

Alternatively to the proposed Terminal commands, you can make your own shortcut key commands, that will work system-wide to shut down or restart your Mac

System Preferences > Keyboard > Shortcuts > App Shortcuts
Add new commands to All Applications for Restart… & Shut Down…
Note that those are ellipses, not 3 full stops [periods].
3 stops will not work.
Copy/paste them from here if you're not sure how to make them.

Choose any key commands you like, but make sure they don't conflict with anything else.

The slightly odd thing is that once you've done it, the menu itself 'grows' another two commands, without ellipses.

This doesn't appear to affect anything adversely, it just looks odd.


If I put my old mac hard disk system drive with bootcamp in a USB caddy, after replacing it with an SSD, will it appear as 2 drives when plugged in? I'm going to replace my MacBookPro system drive / hard disk with an SSD. I will then re-install MacOS and Windows via bootcamp.

The original drive will be put in a USB caddy to be used as an external drive.

My system drive has bootcamp on it, so it has been partitioned HFS+ / NTFS

If I plug this drive as an external drive via USB will 2 (two) drives appear on my Mac Desktop? One for the MacOS partition and one for the NTFS partition?

(When I've put a partitioned drive in a USB external caddy and then plugged it into a Windows machine, several drives appear, 1 per partition.)

You'll see drives like as it was internally, just with a different icon.  You will even be able to boot from the external MacOS (press and hold alt-key when the system chimes on power-up), but this (boot from USB) will not work for Windows.

But the files will be accessible as before.


Magnification glass doesn't come up anymore when moving text cursor? When I type, say if I want to move the cursor to some position back to do the edit, I would hold the finger down and then it will display a magnification glass that was very handy to use to move the cursor into a new position.

But now for some reason that magnification glass doesn't come up. So to change something I have to literally erase the end of the sentence and type it again. Which is HELLUVA inconvenient!

What happened to that magnification glass? How do I get it back?

The magnifying glass has been removed in iOS 13.

Text Editing

Faster and more precise cursor navigation—just pick it up and move it to where you want

You can find an overview of the new text editing tools in iOS 13 at https://support.apple.com/guide/iphone/iph3c50f96e/ios


Where are the default system icons for folders and files stored? Where are the default/system icons for folders and files stored?

The default icons are stored in various locations inside /System/Library - is there a specific icon you're looking for?

Finder.app (/System/Library/CoreServices/Finder.app/Contents/Resources) has the Smart Folder icons and the Burnable folder icons for example.

Most of the more known icons (eg. pictures for the default folders among many others) can be found at /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources


Web development on PowerPC I'm interested in LAMP stack and Nodejs stack for PowerPC (iMac g5). Do they exist for Mac OS X 10.5.6 PPC?

I still use Mac OS X 10.5.8 for web development. It has a built-in Apache server with PHP, but I easily installed MAMP.

As for node.js, the V8 engine under the hood requires Intel CPU, but RingoJS and Rhino work fine. There is Rhinode for node.js-like API on top of Rhino, but I haven't tested it.


Block network with Network Link Conditioner? Any one know how to block all network traffic with the Network Link Conditioner on Mountain Lion? Here's the custom offline profile I made that's not working. I'm trying to block the network for the iPhone Simulator. Thanks.

Assuming you really want the answer how to block traffic rather than using the tool you have at hand, I'll suggest you use Little Snitch.

It is a firewall that works on interrupting the flow of data out from apps to the internet.

Perhaps someone will know how to bend the Network Link Conditioner to work as a firewall for the one app, but I'd start with one of the tools for that job if no one has a good recipe for the latter.


Left Shift not working for combination with [ I have an Apple (wired aluminum) Keyboard (using with Mac mini).

Left Shift + [ does not work (to type {). But Right Shift + [ works.

Left Shift key is working for all the other keys.

I tried this keyboard with my laptop and the behavior is same.

I assumed it is hardware problem. I tried disconnecting and cleaning from outside and shaking off dust and debris.

What other measures should I take to correct this malfunction? or this keyboard is gonna die?

One of the other strange behavior is on USB connection, the keyboard automatically types - until I presses a key. (only on Mac Mini)

I think it was Keyboard Ghosting problem. You can read more here

The problem was solved after I have tried pressing the key combinations (involving non-working key, in my case [).

There are a lot of combinations and so I don't include it here. In case it disappeared, here is the archive version on the archive.org.


Can log into iCloud on icloud.com but not on my mac book pro The case is that I can login on http://icloud.com with my user and password, but when I try to connect the iCloud with my mac book pro is saying "An unknown error occured":

Here is my system information:

It was working just 3 days ago.

Now when I log in to my mac everything is just clean, even on Google Chrome all cache and sessions are lost.

Fixed by:

Signing out (tried to login again but nothing)
Reboot from terminal with -l:

sudo -i

reboot -l

Signing in again.

and it worked for me.


Why is Outlook 2011 constantly writing to my hard disk? I recently installed a hard disk write monitoring program (MenuMeters), and for some reason it was reporting that my drive is constantly being written to. By closing programs one at a time, I've discovered that this is caused by Outlook 2011, but I have no idea why.

I have to keep Outlook running all the time, for work, but I'd really like to stop this constant disk writing, if possible, since I'm afraid that it's impacting my MacBook Pro's performance.

I read about some ways to more closely monitor my disk activity on another question, so I tred using sudo iotop. It revealed that something called 'Microsoft Datab' is the culprit for all these writes while Outlook is open.

Anyone have any ideas on how (if?) I can stop the constant disk writes while keeping Outlook open?

Try running the Database Utility that comes with Office to resolve any database corruptions.


exporting numbers 09 to excel with photos in spreadsheet When I export my numbers spreadsheet with photos in the column the photos do not transfer when I import it into excel. How can I do this?

There are two ways that an image can exist in Numbers.app, to my knowledge:

Within a cell (in a table) - here, the cell has an "Image Fill";
"On top of" the table.

Excel doesn't support option 1.

If you drag an image file into a Numbers spreadsheet, you'll get option 1: the image will be inserted within a cell.

Instead, in Numbers, use the Insert > Choose… menu and select the image file.  You'll then get option 2, which is correctly exported to .xls format in my limited testing.


If my wife moves from her iCloud storage to the family shared iCloud will she lose her files? As the title suggests - my wife uses her iCloud storage and is getting ready to get charged.  I'd like to move her to our family iCloud storage but want to make sure she doesn't lose any of her files in the change.

Does this change just effect the storage location of the information or would it delete any information she has in her cloud?

No, your wife won't lose her files. Turning on Family Sharing simply adds the features to her iCloud account, which can include more data, and other features. She will see options on what of her iCloud data she wishes to share.

When you leave a Family, your iCloud simply loses the Family sharing benefits, including shared apps, photos, etc. But the data doesn't get deleted, it remains unless you actually delete to make room. This way, if you rejoin the family it simply makes the data visible again. The data does remain visible on the iCloud account of whoever set up the Family share in the first place, btw.


How does the mv command work with external drives? On the same drive I assume it would change something like a FAT table to repoint to the location of files.

Question

When going to a different drive (maybe even partition) does the mv command first copy, then remove the old files - in order to prevent data loss if an exception occured ?

macOS's mv is based on the BSD source code. You can find the source code to the mv command online. Using https://github.com/freebsd/freebsd/blob/master/bin/mv/mv.c as a reference, you can see that they do indeed first try to rename the file and then if it is crossing filesystems, it does a cp followed by a rm.

    /*
     * If rename fails because we're trying to cross devices, and
     * it's a regular file, do the copy internally; otherwise, use
     * cp and rm.
     */
    if (lstat(from, &sb)) {
        warn("%s", from);
        return (1);
    }
    return (S_ISREG(sb.st_mode) ?
        fastcopy(from, to, &sb) : copy(from, to));
}


How do I keep track of the bandwidth usage through my Airport Extreme wireless router? I have 3 Macs, 1 iPad, and 1 Apple TV (using HD Netflix, mostly).

I need to keep an eye on bandwidth usage.  What is the best way to monitor the bandwidth usage (preferably per device) that passes through my Airport Extreme router?

Thanks!

Rob

The Airport Express/Extreme allows monitoring via SNMP if you enable it via the Airport Configuration Utility (version 5.6 ONLY).

Apple removed advanced configuration parameters from Airport Configuration Utility 6.0. Please download a version 5.6 of the utility from Apple’s support page to get a full access to all configuration parameters of your router. SNMP configuration is located under Advanced settings.

From there, ANY snmp polling engine can get traffic as a whole.

You would be hard-pressed to find anything that could differenciate traffic between devices that isn't a real router (Cisco, etc) or custom built Linux box.

I just found this during a quick serach: NetUseApp via iTunes Store allows you to monitor any SNMP device with a pretty interface.


Can I use a Mac mini without the power brick? I don't have the power brick for my Mac mini with me but I have cord that plugs into the back of it, can I use it without and plug directly into the wall? Any harm?

The model is A1347

If it's a 2005-2009 model then NO! You absolutely cannot plug directly from a AC power source to a computer that does not have a built in transformer power supply, which the Mac mini 2005-2009 model does not have.  The AC current must be converted to DC current first and that is what the Mac mini's power supply does.

Starting in 2010 the Mac mini used a built-in power supply and the power cord does not use a power brick like in previous modles, it plugs directly from wall to computer.


I've uninstalled Xcode and many apps were uninstalled too I've uninstalled Xcode 4 to reinstall it:

sudo /Developer/Library/uninstall-devtools --mode=all

...and now I don't have Terminal.app and the Activity Monitor.app and I don't know what else apps were uninstalled.

I'm running Lion 10.7.2. Is there a way to recover this apps?

Both of those tools should be in your /Applications/Utilities folder. They should not be removed when uninstalling Xcode using that tool.

If they are no longer there, you can copy them from another machine running 10.7.2. I would make sure to pull them from another machine running the same version of the OS. This is only if you know you are missing a particular application.

The better route, if these applications are truly missing, would be to reinstall the OS, since as noted in the comment below, there could be many other items missing as well. With Lion, there is a new recovery tool built in. Make sure you backup your data first though.

To recover, just hold down Command + R when rebooting. More information is available on Apples website.


Can't open application from unidentified developer I'm using macOS Sierra and I can't open an application because it's from an unidentified developer. I went into my Security and Privacy settings and clicked on "open anyway" but it still doesn't let me open the app. How do I open an app from an "unidentified developer"?

There's a terminal command for this. I don't remember using it, and never wrote it down in my Sierra tweaks file. However:

sudo spctl --master-disable

From OSXDaily: How to Allow Apps from Anywhere in macOS Sierra Gatekeeper


Read specific file in Time Capsule from someone else's computer I recently lost my macbook, and fortunately I have all my backups in a Time Capsule. At the moment I only have an old window PC, and a friend who has a macbook.

The question is: how do we recover the files on the Time Capsule thanks to the macbook in order to copy them into my old PC ?

We tried to navigate to the data on the TimeCapsule (i.e. /Volumes/Data/my-computer.sparsebundle) we see the bands folder that seems to contain the data, but we are not able to see its contents with the Finder. Is there any way to do something like "mount" the my-computer.sparsebundle in order to navigate into it ?

We connected to the Time Capsule with Wi-Fi, and  my friend runs on a macbook with OS X 10.11.4.

I finally got the answer to my problem from the Apple Technical support. A double click on the file my-computer.sparsebundle should mount the Time Capsule as a Time Machine virtual disk. It didn't work in my case. The guy from the Apple support just told me to reboot the Time Capsule. It worked.


Finder does not recognize all sharepoints available, opens only 1 that was previously mouned by default Finder does not recognize all sharepoints available, opens only 1 that was previously mouned by default;
runing macOS Catalina 10.15.5 acting as client connecting to AFP File Server running Mac OS Server Sierra 10.12.6)
On my server (Mac OS Server Sierra 10.12.6) my sharepoints look like this:

I should have 4 available sharepoints (shared folders) to my user jfb on the system: FAMILY-ARCHIVE, jfb, PHOTOS-ARCHIVE, and VAULT (the other two you see in the picture are not accessible by my user jfb)
However, when connecting to this server from a machine running macOS Catalina 10.15.5 (*intermitant), my client machine bypasses the sharepoint selection screen and goes directly to mount a single sharepoint that I previously have mounted
This happens even though I DO NOT have the username/password stored in teh keychain-- I just connected to this sharepoint earlier in this finder session with it.

If I disconnect the sharepoint (using the "Eject" next to the sharepoint in any finder window) and reconnect, the same thing happens.
*Please note that this worked several times before and I have seen this symptom be intermittant.

This is a disappointing answer for Apple, but if I restart my mac, the Finder apperas to reset and then prompt for my un/pw on the next connection attempt:


Bundle ID not transferred when transferring an app We received a new transferred app from other company. Now we have to update its versions and release it on the App Store.

The problem is that we can see the app in iTunesConnect. But to upload a new version we need to have the Bundle ID and the existing Bundle ID is not shown.

How do we obtain it?

Contact Apple Developer

Contact Apple Developer and ask them what to do. They are best able to help you with your account and the transferred application.

When I transferred applications the bundle identifier has remained unchanged.


When I download a text file, .txt gets added to filename. How do I prevent this? When I download a text file with extension .mac (or any extension but .txt) the file downloads but the extension .txt is added to file name. How do I prevent this from happening?

You can only in general prevent this if you control the server.

I assume you're talking about downloading using a browser - in which case the web server controls the file type and naming using the Content-Type MIME indication as well as the Content-Disposition header for specifying the file name.


Problem with displaying file path in Finder's Get Info -> Where I occasionally need to check some file's location and copy it to the clipboard. I used to use Finder -> Cmd-I then I used to copy the content of "Where" section.

Ever since updating to macOs Mojave, the format of the path displayed in the "Where" section has changed. Instead of "/" forward slash character now I see "triangle" character.

How to solve this?

Thanks!

You can select the file and press Option + Command + C to copy the pathname to the clipboard.

https://apple.stackexchange.com/a/252179/192890

You can also use Control + Option + right click in macOS Mojave (copy as pathname will replace copy file in get info modal). Little change but I just found it. Still works on networked drives too.


Transfer audio book from iPad to Mac I bought an audio book on my iTunes account, using my iPad. Now I can't transfer it to my macbook. From my macbook, it does not appear in my purchases.

Is there anyway to transfer it?

Before you transfer your purchases, make sure that your MacBook is authorized with the same Apple ID account you used to make the purchases.
And for audio books, only one download is normally allowed per purchase. You can find the answer in Apple support center.

To transfer purchases from your device to a computer:

Connect your device to the computer. Wait for its icon to appear in iTunes.
Go to File > Devices.
If you're using iTunes for Windows and can't see the menu bar, learn how to turn on iTunes menus in Windows.
Choose Transfer Purchases from [device name].


Safari keeps crashing after updating to Big Sur. Termination Reason: Namespace ASSERTIOND After I upgraded to MacOS Big Sur, Safari started to crash and the crash logs look very similar.
Sometimes it would crash when I click a link, sometimes it would crash when not doing anything. Often I would notice that Safari crashed when I was away from my computer.
The message is about the same every time:
System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGKILL)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace ASSERTIOND, Code 0xd00d2bad

Application Specific Information:
Enabled App Extensions:
com.Tab-Suspender.Extension (DZ2G3D39GP) (Version: 39 - Display Version: 2.1.1) Tab Suspender
com.adguard.safari.AdGuard.AdvancedBlocking (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard Advanced Blocking
de.APPenzeller.PiPifier.PiPifier-Safari-Extension (AW9CBV6SY7) (Version: 8 - Display Version: 1.2.4) PiPifier Button
com.adguard.safari.AdGuard.Extension (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard Safari Icon

Enabled Content Blockers:
com.adguard.safari.AdGuard.BlockerExtension (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard General
com.adguard.safari.AdGuard.BlockerSecurity (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard Security
com.adguard.safari.AdGuard.BlockerCustom (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard Custom
com.adguard.safari.AdGuard.BlockerOther (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard Other
com.adguard.safari.AdGuard.BlockerPrivacy (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard Privacy
com.adguard.safari.AdGuard.BlockerSocial (TC3Q7MAJXF) (Version: 48 - Display Version: 1.8.10) AdGuard Social

Any ideas how to debug this or what it could be?
Thanks.

The problem seems fixed as of MacOS 11.2


Headset mic too low only on Macbook I have a Macbook Pro (2017, 15-inch) running macOS 10.13.6. I am trying to use a new headset in it but the mic's volume is too low.  This problem does not appear when using the headset with my phone (an Android) not does it appear with other microphones (I have tried both cheap and expensive headsets and not had this issue).

I can confirm that the mic is being picked up by the machine and that the system settings has the external input set to the highest volume.

Is there a way to increase the input volume for the microphone beyond just the system settings?

Connect and disconnect the headset, until the microphone volume is fine. My best guess is that the Macbook "decides" what's the microphone's sensitivity when you connect it, and then it stays constant at the hardware level.


MobileBackups not being backed up My .MobileBackups folder is 32GB. I've plugged in my Macbook Air to the power and have already forced time machine to backup. However, the folder is still 32GB even after restarting...Did Time Machine properly back up the 32GB so I can delete it?

It has been my experience (with a non-full SSD in a MBA running 10.8.2) that the /.MobileBackups directory always holds hourly backups from the last day and daily backups from the previous seven days. These are kept locally (even after making a Time Machine backup to an external disk) so that you can still use Time Machine to restore recently changed files even when your external Time Machine disk is not available.

Accordingly, it makes sense that your /.MobileBackups would be large if you have made correspondingly large changes in the past week (i.e. deleted or changed big chunks of data).

I have not yet filled my disk, so I am not sure how it works in that situation. Ideally, it would “give back” some of the space /.MobileBackups earlier than normal instead of letting you completely fill up your disk.

If you are not critically short on “disk” space, you can probably just wait a week or so (while doing daily backups to an external Time Machine disk) and /.MobileBackups should automatically shrink as the locally stored data ages (assuming you are not still making “large changes”).

If you need the space (and Time Machine is not automatically giving it back as the disk gets full), or you need to constantly make “large changes”, then you can try this command (in a Terminal window):

sudo tmutil disablelocal

I have never run this command; the manpage has this description for disablelocal:

  Turn off local Time Machine snapshots and trigger automatic
               cleanup of accumulated local snapshot data.


Mac Pro 2008 3,1 memory upgrade As you can discover, there are two riser cards, each with 4 slots accepting ECC FB-DIMM modules with heat-spreaders operating at 800 MHz, and I've just upgraded from 4x1GB, all on riser A to 4x1GB on riser A plus 4x4GB on riser B for a total of 20 GB. My question is whether it is better to mix the 4GB and the 1GB modules (pairwise) on a single riser card or to do it the way I've done it, segregated.

I've had a look around on this specific question, beginning with Apple's installation manuals online, and have no guidance so far, so I suspect there isn't any reason to do things differently. In fact, the new 16 GB upgrade was not recognized right away and I had to swap the two riser cards, top for bottom, to see all the RAM. I've done one round of testing using Rember (the GUI for memtest) and it has run tests through "Bit Spread" without registering any errors in the 17 GB or so that it is testing.

My inclination is to leave well enough alone, but I am curious as to whether my installation the best for the long run both with respect to heat dissipation and memory access.

The 'pairs' on a 3,1 are rather confusing & don't map how you would expect.

The common confusion is to think that 'a pair' is one stick in the same place on each riser - because that's how the machine shipped when new.

From Apple KB - Mac Pro (Mid 2012 and earlier): How to remove or install memory

If you have            Install

Two DIMMs              One on the top memory card and one on the bottom card
Four DIMMs             One pair on the top memory card and one pair on the bottom card
Six DIMMs              Two pairs on the top memory card and one pair on the bottom card
Eight DIMMs            Two pairs on the top memory card and two pairs on the bottom card

So, in essence you currently have 2 pairs of 1GB & 2 pairs of 4GB & you have them mapped to the best configuration for dual-channel memory.

There should be no difference if you mix the pairs to have 2x1 & 2x4 on each riser, so long as you keep each as a pair, next to each other, on any riser.


Using iPad for an developing? Can i use the iPad pro as my only machine for becominb a full stack web developer?
I currently use a pc and from what i know about web development for now can be done on iPad but can i do more complicated stuff like make web apps on iPad?

You could, but it's not going to be very handy. The OS as well as the hardware aren't made for this kind of thing. If you want to become a full-stack developer, you might want to invest in proper tools :-).


Installing Apache Hadoop on Mac Mavericks I am having a real hard time installing Apache Hadoop(2.4.1) on my Mac(OS 10.9).Is there any step to step guide that fully explains and more importantly gets Hadoop running on my machine?. I followed a tutorial for installing and currently my issues are these:

I am not sure whether Hadoop is actually "correctly" installed. Typing hadoop version shows 2.4.1 but running start-all.sh shows a long list of warnings.
I thought about checking whether Hadoop is correctly installed by running a sample program(WordCount.java) as is provided everywhere on the net. Now I have Eclipse Luna installed but the guide I followed for illustrating "How to integrate Eclipse with Hadoop" tells me to import all the jars from '../libexec' but for Hadoop 2.4.1 there are no jars, at least none that i could find.
Currently in my /usr/local/ there are 3 directories named hadoop-2.4.1, hadoop(a symlink to this i suppose) and a directory named Cellar. Now all three directories have some subdirectory by name Hadoop and many other subdirectories like lib, lib exec. Now how do I know which ones for which purpose. Every other tutorial refers to a different directory to use, the one that got me Hadoop installed never mentions a bit about how to test a sample Hadoop map reduce application.

I have even tried the HortonWorks Sandbox for Apache Hadoop. But my machines 4GB RAM seems tiny for that mammoth application to run and my system hanged!! I have to get this working for my project related stuff, looking forward for sincere help.

In my case start-all.sh tells it is depraciated and i should use start-dfs.sh and start-yarn.sh. Both give no errors nor warnings on output (for both local and local cluster hdfs).
In Hadoop 2.4.1 jars with shared libraries are located under /libexec/share/hadoop/ and following subdirectories. To run simple MapReduce apps it is enough to add mapreduce/hadoop-mapreduce-client-core-2.4.1.jar and common/hadoop-common-2.4.1.jar.
I use the brew version, so mine is located under /usr/local/Cellar/hadoop/2.4.1/. To make it easier, I use env variable to point to the directory.

I'm not sure, but 4 GiB of ram should be enough to test the environment with some apps. It should not hang.


How can I get a logged user's username without the domain? I'm trying to write a script to automate a task that involves the logged user's username.  The problem is the username is coming up as domain/username and I just need the username.

LOGGEDUSER=$(stat -f "%S" /dev/console);

Any way to output the result and remove part of it?  This currently outputs domain/username I need to remove the domain/.

Local Domain

See Get current users username in bash? for a range of approaches:

logname

or

echo $USER

or

whoami

or

id -u -n

Network Domain

If you are on an (Active Directory) network domain, you can use

echo ${USER#*\\}

or

u=$(logname)
echo ${u#\\}

to just get the user name part.


Give away paid app on App Store for free I will soon release my macOS and iOS apps on the respective App Store, but before I do this I need to make sure about a few things.

Will App Store allow me to upload a paid app but still give me the right to give away free licences to people I choose? I have a few special customers who paid for it before it was on App Store, and I would like to allow them to still download from the App Store without having to pay twice. If it's possible, could you show a brief instruction on how it could be done?

Will App Store allow me to upload a paid app but still give me the right to give away free licences to people I choose?

Yes, you can generate and distribute promo codes for your apps to your existing customers. Apps bought with promo codes work similar to apps bought normally and are linked to the customers Apple ID.

However, there's an upper cap on the total number of promo codes that can be generated in a given time duration. This approach will be useful only if the total number of such customers is under the set limit.

From the App Store Connect Resources and Help - FAQ:

  How do I offer promo codes?

  Promo codes allow you to offer a free copy of your app or in-app purchase for promotional purposes and are valid for 28 days from the day they are generated or until your agreement expires, whichever comes first. You can request up to 100 total promo codes for each platform version or 100 promo codes for each in-app purchase item, with a limit of 1,000 total in-app purchase codes per app every six months (resetting on January 1 and July 1). For more information, see Promo codes overview in App Store Connect Help.

From Promo codes overview:

  When a customer downloads an app using a promo code, the app behaves just as it would if it had been purchased. For example, the customer has the opportunity to update to new versions of the app. However, customers aren’t able to rate or review an app that was downloaded using an App Store Connect promo code.

and

  To get started using promo codes, request and download promo codes in App Store Connect.


How to show programs installed with brew in Launchpad? I've installed many programs with homebrew, but only one is shown in Launchpad. How can I show also others in that menu?

I have to open them from CLI, but someone has difficult name to remember and I want add them in Dock.

If the installed package has a .app, you can add a symlink to it inside your ~/Applications folder.

Launchpad will pick it up from there.

However, most packages installed by homebrew aren't what OS X calls "Applications", so you might not be able to do it out of the box.

An alternative would be to create an Automator workflow that runs a shell script, and save that workflow as an app.


Imported tv show metadata is inaccurate, in iTunes I encoded and imported a tv show myself, to iTunes. I selected all of the episodes, and gave them all a generic date of "2013". It worked, except for two episodes, 4 and 5.

Instead, these episodes show random dates and do not accept new changes ever after I have saved them. I tried restarting iTunes, restarting my mac, and using subler - all to no avail. Does anyone know how to get these dates to disappear?

I'm running OS X 10.9 on a 2010 macbook air, with iTunes version 11.1.3 (8)

Try reimporting these two episodes. Delete the from library and import them again into the library. Sometimes the library file get messed-up and re-imporing solves the problem.


Launch a sh program at startup attached to a terminal window How is it possible to load (with terminal attached window) sh program at OSx startup ?

I see a lot of article on launchctl but it's obviously not possible to open a terminal windows attached to the process. Specifically I am looking to run a specific script which is in the sh file (call for a python program. I have to see the echo / print of the program, so to have a terminal attached to the execution).

Your use case is simple enough to just save your script to a file named with the .command file extension so that Terminal.app is chosen to open it. It needs to be user executable as well. Simply add that file to the user's Login Items in System Preferences.

The script is invoked with  an ; exit tacked on to the end so you can see and copy the results before dismissing that window each time you login.


iOS software update for iPhone 3GS I have iPhone 3GS with iOS 4.2.1

I am having lot of issues in downloading apps from app store as most of the apps do not support this iOS version anymore.

There is an update for iOS 6.1.6 available on iTunes, will my phone get updated to this version and will I be able to download apps later, after the update.

My device is jailbroken because I see Cydia on it.

Will I still be able to update by restoring my iphone 3GS via iTunes.

Yes, you can restore your iPhone via iTunes. And because you have jailbroken your device it's the only way to do it.

Many apps are compatible with iOS 6, but I cannot guarantee you every app will work. This is because some new apps are only written for and compatible to iOS 7.