texts: How does macOS Sierra securely pair with Bluetooth keyboards without a code?

texts:
I have a late 2014 Mac Mini running macOS Sierra 10.12.5. When I paired it with my Bluetooth keyboard, I was not prompted to enter a sequence of numbers.

How does macOS validate and secure connections between Bluetooth keyboards without prompting for a code? Does it just use trust-on-first use? Is it possible to force macOS to use a pairing code?


texts: Update VirtualBox without losing Guest .vdi Files

texts:
I have VirtualBox "Version 5.1.4 r110228 (Qt5.5.1)" installed on a MacBook Air macOS Sierra version 10.12. Now I got an update message: http://download.virtualbox.org/virtualbox/5.1.6/VirtualBox-5.1.6-110634-OSX.dmg

But how can I update my VirtualBox version from 5.1.4 to 5.1.6? Obviously without losing my guests installations CentOS 7 64 and Windows 10 Enterprise.

Do I need to remove VirtualBox 5.1.4? And what happens with my Guest VDI installations?


texts: I canceled (control+c) rsync transfer on a large file; will it be picked up if I start over?

texts:
I am coping a about 5TB of data from a Drobo attacked to a Mac Mini running macOS Sierra to a NAS (FreeNAS). Here's the command I am using:

  sudo rsync -a --stats --progress "/Source" "/Destination"

Needless to say, it is taking days to complete, even over a 1GB network. Along the way, I had to stop the transfer due to server trouble. I remember explicitly stopping the rsync process using control + c while it was transferring a Parallels virtual hard drive file about 500GB. I later started the process again using the command above but I didn't note which Parallels VM file it stopped on and I want to make sure that the command I am using will pick that file up, despite having canceled the command the first round.

If I cancel the rsync command above, do in-flight files just get deleted, and if I run the command above again, will it see those file(s) as new files never transferred?


texts: Is there a better way to travel internationally with an iPhone (3GS/4 specifically)?

texts:
I've travelled to Europe and Asia quite a bit with iPhones with no problems (I live in the US), except for the fact that making calls anywhere outside the US is crazy expensive and of course I wouldn't dare turn on data roaming for fear of the thousand-dollar bill.

These days, though, is there not a better way? Can I not go into a shop in the UK and buy a pay-as-you-go micro-sim for 30GBP and call/data away? Is my iPhone (3GS and 4) permanently and forever locked to AT&T unless I jailbreak it, even with a different sim card?

I'm willing to jailbreak my 3GS to accomplish this mission, but I'd like to hear from someone with real-world experience before doing so.

Thanks!


texts: Can I install iOS 11 beta ipsw using iTunes without paying $99?

texts:
I want to go for beta, but OTA updates are quite buggy, and on top of that, my phone doesn't see ota updates with beta profile installed.

So I found ipsw image about 2,4GB, that I can download. If I flash that rom via iTunes without enrollment of my Apple ID, will I be able to use that beta?


texts: Any need to verify disks after hard reboot?

texts:
About every few days I need to reboot my 2012 MacBook Pro Retina.

I noticed these messages in the logs regarding "Journal is read-only and journal is dirty. Can not mount volume".

Any need to "Verify Disk" in Disk Utilities?


texts: Troubleshooting installing Xcode updates, stuck

texts:
I am trying to install the upgrades to Xcode, Xcode version 7.2. Unfortunately, the App Store shows that this installation has been "Installing --- less than a minute" for over four hours.

It appears to be stuck. How can I fix this? Why is this happening?

I tried correcting the permissions for Xcode, running

$sudo pkgutil --repair com.apple.pkg.Xcode

I get this in return:

Verifying files from package 'com.apple.pkg.Xcode' on '/'.
    ACL found but not expected on 'Applications'.
    Unable to set owner & group on "Applications". Error 1: Operation not permitted
    Unable to set permissions on "Applications". Error 1: Operation not permitted

Can I try to install these upgrades via the Terminal? I am using OS X El Capitan 10.11.2


texts: How can I check if the motherboard has been replaced?

texts:
An authorized repair center said  they changed the motherboard of my iMac 27" but I have doubts since I can still experience the problem for what I had it repaired.

I was told on a forum that if the computer's SN was invisible or started differently in the About this Mac menu it meant that the MB had been replaced.
I'm seeing the same SN so it should mean that the MB was not replaced, but on the phone the repair guy said this method is wrong.

What do you say ?


texts: Attempting to use a an IF formula to dynamically copy cell contents given the presence of a specific value

texts:
I need to duplicate cells from one worksheet to another if the associated record [row] contains a given word.

Say row 2 has "foo" in cell A, I would like to duplicate all the cells in that row to another workbook. If A3 has "floop" in it no cells should be duplicated—it would be skipped essentially (without a blank row).

The data is as so:

    A   |   B   |  C

2  foo  | blah  | blah

3 floop | blah  | blah

4  foo  | blah  | blah

The resulting table would be as so:

    A   |   B   |  C

2  foo  | blah  | blah

3  foo  | blah  | blah

--

This is as far as I've gotten:

I've created a helper table beginning at A52 to sort the data for which "foo" is present in column A utilizing the formula =IF(ISNUMBER(SEARCH("foo",a2)),a2,"")
[Which I have a feeling is redundant, but is the only bit that seems to be working.]

In the final table I'm using =IF(ISNUMBER(ISBLANK(A52)),A2,[!!!!!])
[Wherein [!!!!!] is the display code that I don't know.]
It resolves as "FALSE"

I know this is likely an elementary question, but I haven't had any luck finding an answer elsewhere.

Thanks in advance!
- p

PS  As I'm writing this I realize that I'm going to need to process the entire row as opposed to the individual cells, so I'm likely going to need another approach. Oh well! I've gotten this far!


texts: I make use of Apple Reminders on my iOS 10 iPhone SE but there never is any sound when the reminder is due. Do not disturb mode is turned off but it doesn't seem to matter. Anyone else who has had this issue?


texts: How to Enlarge Disk Image in VirtualBox?

texts:
I have VirtualBox 5 in OS X El Capitan 10.11.3.
There is an option in Windows's VirtualBox to enlarge the image here described.
However, I cannot find a similar way for OS X.

My storage looks like this

Clicking the 8.00 GB you get

Choose disk image and you get

so no similar view as in Windows.

DavidAnderson. The user manual's page 150 is here.
It just describes about the command VBoxManage modifyhd but not how you can get it in your commandline.

Terminal approach

In VirtualBox 4, there was VBoxManage command to enlarge the image size, as described here about How To Resize A VirtualBox Disk (Window and Mac)

VBoxManage modifyhd “<vdi_file_full_path_and_name>” –resize 40000

I solved the PATH problem by not changing the PATH but uninstalling Macports as described here by the recursive forceful deletes, so I can now call the function without explicitly having /usr/local/bin/VBoxManage in the start of the command.

klanomath. I run successfully

/usr/local/bin/VBoxManage modifyhd "/Users/masi/VirtualBox VMs/Ubuntu 14.04 64bit/Ubuntu 14.04 64bit.vdi" --resize 10000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

I login successfully to the encrypted system. I login successfully to my Ubuntu's user account but the session only stays in the view

where the Ubuntu on the host stays stacked infinite time. The encryption of the virtual disk should not be a problem because I managed to get the login view of the OS. I have not been able to login to different TTYs of Ubuntu inside the virtual machine, to debug the case further.

I login successfully as Guest and I get

which indicates that the size of my disk for the OS is too small.
I increase successfully the space to 20 GB by the following command but I still receive the complain about no disk space in the Guest login

VBoxManage modifyhd "/Users/masi/VirtualBox VMs/Ubuntu 14.04 64bit/Ubuntu 14.04 64bit.vdi" --resize 20000

The space looks ok inside and there should be enough space

The storage looks now like this where the actual space increases dynamically

Login to my User account still stays stucked forever, like one of the screenshots indicates.

Thread in Oracle's VirtualBox Forum

I opened a thread about the issue in Oracle's VB forum here.
I got this answer

https://forums.virtualbox.org/viewtopic.php?f=24&t=50661
Pay close attention to step 2

Also if you selected to use LVM when you installed you would need to use LVM to extend the primary partition. Seek assistance from Ubuntu on how to do that.

where I do not understand the thing about LVM and not content provided in the link.

The last point was solved by completely removing the existing disk and doing reinstallation of Ubuntu with 50 GB dynamic disk size.
For long term stability, this method is the safest. I had backups of the files in the disk.

How can you enlarge disk image in VirtualBox?


texts: Can iMac 5 (Retina 5k, 27-inch, Late 2014) be downgraded if it comes factory-installed with Yosemite?

texts:
Has anyone downgraded an iMac 5 (Retina 5k, 27-inch, Late 2014) pre-installed with Yosemite to an older version of Mac OS?

My Pro Tools 10 does´t work with Yosemite. I have two days to resolve this, if not I have to return the computer.

I have tried it to downgrade and it appears this symbol:

If somebody has done the downgrade, please give a step-by-step solution.


texts: How to resize Mac OS Extended (Journaled) partition after linux messed it up?

texts:
I've tried to use Ubuntu on my macbook pro (6,2), but it was a total and abject failure, mainly due to poor hardware support.

So, I have given up on my little experiment and just deleted ubuntu and erased the partition it used in the ssd. Now, I'm trying to make os x reclaim the former linux partition's space, but I get an error whenever I try to resize the system partition in Disk Utility:

Partition failed with the error:
File system resize support required, such as HFS+ with Journaling enabled.

OS X's partition is "Mac OS Extended (with journaling)". My OS X's version is 10.8.3 (Mountain Lion).

Any way of doing it without wiping out the disk? Even if I had a backup one, the bakcup-and-restore process would be very time consuming and I believe there must be a cleverer way of resizing a partition than deleting everything...

EDIT:

output of diskutil list:

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *240.1 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS osx                     40.0 GB    disk0s2
   3:       Microsoft Basic Data Deposit                 139.7 GB   disk0s5


texts: Moving an iMovie-11 'work in progress' moving from one system to another

texts: I just discovered that 'system a' has no DvD burner. System B has one. I can drop ilife onto system B, but ... which of the collection of 'import/export' mechanisms makes sense here to use the B drive if the movie is under construction on A? Heck, can I just somewhow share the 'media browser' and just do the DVD part of the process on System B?


texts:
I'm the Intune MDM administrator for my company, and I'm trying to ensure the required apps on our devices are updated in a timely fashion.  I've had a look around to see if I can find any details around conditions or timings for iPad (and to a lesser extent, iPhone) app updates so I can set expectations appropriately, but only managed to find one anecdotal post that was never answered when asked for references.

Does anyone know if this sort of info is available, and if so, where I might find it?


texts: Send clicks to multiple windows / spaces

texts:
Is there a way to duplicate or send clicks to multiple (specific) windows or spaces?

For instance, an AutoHotkey script would look like the following to make three different clicks in three different windows.

f2::
MouseGetPos, xpos, ypos
ControlClick, x%xpos% y%ypos%, WindowA
ControlClick, x%xpos% y%ypos%, WindowB
ControlClick, x%xpos% y%ypos%, WindowC

On Windows I'd accomplish this through AutoHotkey, but that's not an option for MacOS. Is there macOS software that could replicate any of this functionality?


texts: How to access "Faster (fine)" and "Slower (fine)" playback controls on VLC for OS X? Else, what alternative?

texts:
I'm a little impatient.  When I watch recorded technology conference sessions, I like to speed a video up during parts I can grok quickly, and slow it down to normal when knowledge isn't sinking in fast.

Until recently, I've been using the excellent VLC media player to do this on Windows.  VLC on Windows has commands to speed up and slow down in fine increments.  Witness:

The Faster (fine) permits speed-stepping from 1.00x to 1.10x, 1.20x, 1.30x, etc.  Contrast that to "Faster", which jumps directly to 1.50x.  Whoah, too fast!  (Well, I'll grant that 1.50x is sometimes useful: for keynote sessions where there's more fluff :-)

Anyway, I thought in moving to OS X that replacing VLC would be easy: Just get VLC for OS X. But, I discovered recently that VLC for OS X is missing the "(fine)" versions of the speed-stepping. There's only the too-fast one that jumps to 1.50x.  Witness:

Questions:

Is there a way to restore the "(fine)" versions of the commands to the Playback menu on VLC for OS X, or otherwise access them through some secret key-binding magick?  i.e. Are they hidden and I just can't access them? Or, does the OS X version of VLC completely lack these fine-grained controls?
Failing #1, what alternative & free video player for OS X offers such fine-grained speed-stepping controls?

Thank you.


texts:
On Wednesday I updated my iPhone 4 to iOS5 and all my 3rd party apps worked fine. Then on Friday when my iPhone 4S arrived I transferred everything over. The phone works great and all the core apps work fine, but none of the 3rd party apps work at all. They "blink" if I click on them but none of them will launch - even ones that have just been updated. I have a couple of key apps with years worth of data that I really can't afford to lose.  I have done a hard reset. I have restored the software and restored from backup and still the problem is the same.

Any suggestions as to why this is happening and more importantly how I can resolve it?

Thanks.


texts:
My MBP crashed and had some permission issue on booting. I tried some repairs with the recovery session but now it has a kernel panic...

I have an external device I can boot from, and I made a copy of my hard drive using ddrescue.

When I tried to mount the .dmg created, an error appear (obviously) but I'm looking for a way to open it like in target mode (to see all files in it like a folder). I tried target mode using another MBP with FireWire connection but nothing appears, and the backup software shows me all the files without any name for both the hard drive and the .dmg file...

Does anyone have any ideas ?


texts:
I think that Spaces can be a really nice tool to improve your day-to-day work.

I would gladly hear about the settings and usage of those virtual desktops (For instance : What's your logic behind the way you dispatches your apps between Spaces, in which order or direction (up, down, left, right ?), etc.)

I also gladly hear about the hidden tricks related to Spaces, and its usages with the other tools (The dock, Exposé, ...)

For instance I just noticed by chance that you can change an windows from one Space too another just by "pushing" it on the border of the screen for a few moment.


texts: Is it possible to install siri on iphone 3gs?

texts: I have an iPhone 3GS, and I want to know if it is possible to install Siri on it.


texts: I wanna have a background software than can press a certain spot when the notification appears immediately. Is there any app that can do that? Or can I manually write an app and execute it on my iPad?


texts:
I cannot get my MacPro 3.1 early 2008 to recognise a bootable USB stick. I'm trying to upgrade from 10.11 El Capitan, to a newer version using the unoffical patcher tools. I've tried both Mojave, and High Sierra and niether will work.

The USB stick is formatted Mac OS Extended (Journaled), with a GUID partition map.

I have verified that the stick is working using my Macbook Air. The Air recognised and booted fine from the USB stick when trying both macOS versions, so the stick is fine.

I've tried holding the Comand + Option + R + P at boot multiple times, which hasn't worked.

I've also tried multiple USB ports, including one that a timemachine external drive was connected to (which does interesting show on the boot options screen) and still nothing.

Why is this not working? Does anything need to be enabled?


texts:
I have a 500 GB SSD. At one point, it had 2 partitions--one for my regular macOS boot (430 GB), and one for developer previews (~70 GB). At some point, I deleted the developer preview partition, but the freed up space didn't flow back to the main partition. Also, I wasn't able to resize the Macintosh HD partition back to the full 500 GB. How do I get my 70 GB back on the Macintosh HD partition?

Here is the output from diskutil list showing the total drive size and only 429.4 GB available:

/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *500.3 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:       Apple_KernelCoreDump                         655.4 MB   disk0s2
   3:                 Apple_APFS Container disk1         429.4 GB   disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +429.4 GB   disk1
                                 Physical Store disk0s3
   1:                APFS Volume Macintosh HD            396.5 GB   disk1s1
   2:                APFS Volume Preboot                 43.7 MB    disk1s2
   3:                APFS Volume Recovery                509.8 MB   disk1s3
   4:                APFS Volume VM                      2.1 GB     disk1s4


texts: Open a single Pages document in two windows?

texts:
In Pages is it possible to open a single document in two windows?

Example:

I have a 10 page document called "Recipes."
I want to see pages 3 & 8 of the "Recipes" document on screen at the same time.  I can then scroll from page 3 to 4 and onwards, while page 8 remains on screen.

There are lot of work arounds (such as open the document in Word or Preview). But I would like to be able to do it all in Pages.

Hopefully, there is some terminal command or something that I have missed.

(I know I can send Feedback to Apple, but who knows how long before they create such a feature).


texts: On iPad in Chrome, How to disable address bar autohide?

texts: Is it possible to disable address bar autohide feature in Google Chrome on iPad?


texts:
I'm looking for 123d catch on the app store, but there isn't. Where can I find it?

Thank you in advance.


texts: Wont let me backup iPod because not enough storage

texts: My iPod has not been backed up in six weeks. And I need 5 GB to back it up.  5 GB is my max storage. I don't want to have to delete everything i got to back it up. What do I do? Please help.


texts: Format External Western Digital Drive to be used with only Mac

texts:
I recently ordered Western Digital My PassPort Essential. I will get it by tomorrow evening.

It comes pre-formatted using NTFS file-type.

I need to format it, to be used with My MacBook Pro (i.e., I will be using with OS X only). I don't have Windows/Linux system at my place, and I don't have any intention to be using with Windows/Linux in future.

Should I format it using HFS+ or HFS+ Journaled or something else? Why?


texts: Will the Apple Watch function properly if worn on inside of wrist?

texts: I plan to use my Apple Watch Sport predominately for tracking fitness goals. I am curious if turning the watch to the inside of my wrist will affect its performance when measuring my heart rate. (I like to use kettlebells, so I will surely smash the screen if I keep the watch on the outside of my wrist.)


texts: Bootcamp Removal: Boots back into windows

texts:
I had installed a bootcamp partition to try out windows 10 on my 15" 2017 MBP, and removed it. After removing it, the system boots onto the windows partition, revealing the "Windows is Broken press F1, F8, or F11 for boot options.

When this happens, if I hold down the TouchID sensor, there is a temporary workaround where I can hold the option key on boot to change it back to macOS.

How do I stop this tedious behaviour?


texts:
I want to run a command within an iTerm2 session like this:

tell application "iTerm"
  tell session id "/dev/ttys020"
    exec command "ls"
  end
end

But I get the following error (with and without '/dev' in the tty name)

227:255: execution error: iTerm got an error: Can’t get session id "/dev/ttys020". (-1728)

The name is the one given by the tty. I also run this script to make sure that I am using the right id:

  tell application "iTerm"
    tell the current terminal
        tell the current session
            display dialog (get id)
        end
    end
  end

Actually, I am not sure if the command must be sent to a session or to a terminal, but I cannot manage to find a tty and send a command to it.


texts: Move windows around a desktop -- and to different desktops -- using only the keyboard?

texts:
Here's what I'm trying to accomplish using only a keyboard:

Move a window to different areas/corners of a desktop
Move a window to different desktops
Set/unset a window as shown/sticky on all desktops

Yes, I know #3 could solve #2 by stickying a window, pressing ctrl+⌘+←/→, then unstickying it, which would be acceptable, but i'm hoping for something a little more elegant :)

  NB, if 1..3 can be solved in AppleScript, that would be great because Spark has been invaluable to tie an AppleScript to a global keyboard shortcut. However I don't think AppleScript can do this type of window location manipulation and a native Cocoa app may be required.

I really want to return to my keyboard-only nirvana but in my adoptive platform and shed Ubuntu Desktop.


texts: How to expand partition into free space that lies before it

texts:
I would like to expand my "journal" partition to include the free space that lies (logically) before it on the drive. How can I do this without losing the data in "journal".

I have a few more iterations to go through but I'm eventually going to move everything on the NTFS partition into journal, but I have to keep moving and expending/shrinking to make enough room.


texts: My husband accidentally rebuilt my Apple Mail on my MacBook and it seems to have wiped out the folders and local emails. The rebuild gave me a generic new folder structure with emails from the server from the past 24 hours. I do have the emails on my iPhone. How can I get these emails and the email folders restored to my MacBook?


texts: Why is there a pause before the light comes on/mac starts charging when plugging in?

texts: My mental model of a charger is that you plug it in and electricity fires out of it like a hose whether you like it or not. When I plug in my macbook charger, it often takes a few seconds before the light comes on and the menu bar icon says charging.


texts: Applescript to change Wacom Driver settings

texts: Can an Applescript change the primary monitor option within the Wacom Driver, and do it near instantly?


texts:
Everything was working perfectly last week when I left it and no-one (accessible by only 4 people in our IT department) has touched it.

Okay, we use OS X server and Deploy Studio to manage our apple devices. Today, however, deploy Studio was not reachable. I could Netboot a Macbook to the Deploy Studio Assistant, but upon logging in the server and repository could not be reached.

Now I then went to check in settings and open the URL of the repository but, again, server cannot be found. I restarted the service and it would not finish config. Restarted and had the same issue (also said repository cannot be found).

Then I tested Profile Manager. I opened the link on the server itself and 'Safari Can't Find the Server'.

Does anyone know what might cause this? I did renew push certificates last week but everything was running smoothly and no other changes have been made.

Thank you!


texts: How can I diagnose really poor performance of my 13" MBP 2011 on 10.6?

texts:
The specs are:

2011 MBP 13"
Core i7
4Gb RAM
320Gb HDD (not SSD)

I use the system for work everyday, I almost always run the following:

Mail.app
Chrome (7-10 tabs)
Terminal (2-3 sessions)
Skype
TextEdit (2-3 docs)
Adium (5 accounts across gTalk, Jabber, MSN)
Finder (1-2 windows)
PGP Encrypted Drive

Occasionally (less than 50% of the time) I also run:

Firefox (2-3 tabs)
MAMP (Apache / PHP / MySQL)
LibreOffice (1-2 docs)
MS Office (1-2 docs)

I have a menu bar icon that constantly tells me CPU / Memory usage. Best case scenario, almost after I've booted up and turned on the minimum amount of my always on apps, I'm using 2-2.5gb RAM.

After a few hours I'll be up around 3gb and it'll generally stay around that point, where loading any app seems to be much slower than required and try to run heavier stuff like Excel / Calc or VMWare Fusion is almost unusable and takes years to actually get up and running.

Once the memory gets 3gb+, I often get system freezes (throbbing mouse, no apps respond) for 5-10 seconds, and a massive spike in CPU Usage for the 5-10 second period.

I'm in an office of about 10 people, and all of us run very similar applications, including the PGP Disk Encryption.

I'm wondering if anybody could give pointers on improving performance, or how to diagnose poor performance on OSX? At home I'm a Windows/Ubuntu person, and I feel like I've figured out how to diagnose any performance issues I get on those platforms, but in the OSX world I feel totally inexperienced.

Thanks for any tips.


texts: Mountain Lion got animated GIF support for Quick Look, but the animations show as slowmotion. It renders very slow even if the GIF has a fast frame rate. Is there any way to improve this or replace the Quick Look functionality with something that works better?


texts: Does "Reset Network Settings" affect all devices?

texts:
If I reset my Network Settings in iOS/iPadOS, and so lose all my WiFi networks/passwords, will my other iOS devices also lose them?

The reason I ask is that WiFi networks appear to be stored in the cloud (when one is entered into my iPhone, my iPad also seems to learn it). So if I erase my iPhone... will the ones in the cloud be forgotten? Or will my iPhone pull them back from the cloud?


texts: Can't download previous purchases in iTunes

texts:
I'm trying to download a specific episode of 24, that I have previously bought and I keep getting an error message that is completely out of place.
I have tried to download many previous purchases and all result in the same error:

However I am on my computer, and I am connected to Wifi.
I am able to download new purchases as usual, it is only previous purchases.

How can I get around this error which is blantantly incorrect?


texts: What method of browsing the root filesystem is least likely to make any modifications to it?  Hooking to a pc is an option.  Jailbreaking is not an option for this question.


texts: 2015 Macbook pro 13" with Dell U2518D blurry font

texts:
I recently bought a Dell U2518D monitor to use as my primary display paired with my 2015 Macbook pro 13". This is a 2560x1440 1440p monitor. I used the included display port to mini display port cable and the first thing I notice is the blurry fonts on full 1440p resolution.

I tried many things; using the EDID patch ruby script, using switchresx to create a custom resolution with double the 1440p resolution and setting this resolution as a hiDpi resolution, resetting NVRAM etc. Nothing seems to work. I even tried switching to an HDMI cable but it did not make any difference.

I have attached some images I took with my phone on what I mean by pixelated. Am I really supposed to see it this way? Am I imagining things and expecting too much after using the retina display for more than 3 years?

https://imgur.com/LfUjTiN

https://imgur.com/swwWd40

Edit: I am on El Capitan 10.11.6

Edit2: The monitor is display as a TV in System preferences. Screenshot below.


texts: Reformat old windows hard drive for use externally

texts:
I have an old 100 GB hard drive from a windows laptop that I would like to make use of as a portable, external hard drive. I ordered a cheap case on Amazon and it works fine. However, the disk is still unreadable by my iMac. How do I reformat the hard drive (in Disk Utility?) so that I can use it to just store files for me?

When I plugged my hard drive into my computer, a message came up saying that it was unreadable by this operating system. I opened up Disk Utility and I can view it there.

The main essence of my question is what can I do from an application like Disk Utility that will enable me to use the hard drive for file storage on my mac.

Details on the hard drive:

Case connects to SATA which is an adapter to a USB cable.
Connected through USB 2.0 to built in USB port on my iMac 10.8.2


texts: Turn off both displays when in clamshell mode

texts:
I've been using this Macbook Pro for about 2 years now and recently got an external display for it. It is connected via a Thunderbolt to HDMI adapter.

Before I got the display, I could simply shut the lid to enable clamshell mode and the system would mostly power down (HDD would stop etc).

However, now whenever I shut the lid, the external monitor becomes the primary display and continues to work and keep the laptop awake. I do not have an external mouse, trackpad or keyboard connected.

Is there any way to make the laptop go back into clamshell when the lid is shut and turn both displays off? I would prefer if it were possible without disconnecting the external display, as every time I do that I lose my window arrangement across displays.

I found this, but I don't want point two. I want both displays to wake up when I open the lid, and both displays and the mac to sleep when I close it.


texts: Why is shell process named -bash when I configured terminal to use /usr/local/bin/bash?

texts:
I have the default Ask before closing setting on my macOS terminal -- Only if there are processes other than the login shell and screen, tmux.
But even if I open a new terminal window and close it, it asks "Do you want to terminate running processes in this window?  Closing this window will terminate the running process -bash."
Adding -bash to the "processes other than" gets rid of that dialog, but why the heck is there a -bash process, hyphen and all?  I configured shells open with to /usr/local/bin/bash, I don't know why that would show as -bash.  But it shows up that way in ps as well.  which -- -bash doesn't find anything.  This seems janky.
This is happening for me on Big Sur, and I'm pretty sure it was happening on Catalina as well.


texts:
Wife has been using iPhoto/Photos and iMovie for storing family photos and videos for roughly 5 years. Have about a 300 GB iMovie library and 100 GB iPhoto library.

MacBook Pro is getting full (less than 10 GB free) which is obviously beginning to effect performance. Have always used a NAS for Time Machine to back-up but not doing anything offsite.

Not sure what to do to move these libraries or archive them to a) an external HD or b) an offsite storage. Is it possible to just "close" the library and move it to an external HD for archiving. From what I understand in iPhoto/iMovie, if you wanted to access that library later you could simply load that library.

Is there any how-to on this or a better method? Also moving forward should I be keeping the libraries on an external an just accessing them with Photos/iMovie?


texts: How to do a complete refresh in Safari 10.1.1 on MacOS Sierra

texts:
I'm developing a website and there's a text input in my website's top menu and what bothering me is:

I loaded the site in Safari before my style.css file was edited and after that I edited my style.css and gave a border-radius styling to my text input now I can't make safari show the changes, Of course it is working very well in windows after I pressed ctrl+F5. I want to know the equal of ctrl+F5 in Safari.

Note that I've tried the shortcuts in this link but I still see the old styling of my text input in Safari.

  Also I must mention that I use this code in order to make sure that
  Safari accepts the stylings:

-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;


texts: How can I ask Siri what my current cell phone number is?

texts:
I generally buy a new SIM card each time I arrive in a new country, so when I'm traveling, my phone number tends to change. I can find out what my number is by Settings>Phone>My Number, but it'd often be more convenient to get it from Siri. I can't figure out how to get Siri to give it to me. None of these queries works:

What is my cell phone number?
What is my mobile phone number?
What is this phone's number?
What is the phone number for this SIM card?

What's the proper incantation to get Siri to tell me my iPhone's telephone number?


texts: How much capacity is good for an iPad? Does one need 3G on it?

texts:
My iPod Touch (8GB) always bothers me with lack of free space. And right now I'm considering buying the new iPad and would like to choose the right storage capacity. I'm trying to decide between 32 GB and 64 GB. Will 32 GB be short for anyone? Why?

Also, does one really need 3G on their iPad? I have a 3G phone (Android) which let's me create a hotspot for free. That's when on the move but most of the time I'm assuming I'll be in a Wifi enabled area. So is it right for me to not get 3G? Or are there scenarios that I'm missing? (I know I'll be using my phone's and iPad's batter when I'll tether.)


texts: Is this external USB3 drive really this slow for my Macbook TimeMachine backup?

texts:
I got myself this WD 2TB USB3 external harddrive for backups: http://amzn.to/1X8b3a8

I connected it to the USB 3.0 port of my mid 2015 Macbook Pro 15".

When I run Time Machine, it really takes veeeery long for the backup (about 10-20 hours for a 350 GB initial encrypted backup).

So I ran disk speed test with this result. Is this speed normal and does Time Machine backup really take that long?


texts: Shared hard drive with user-level permissions

texts:
I have a Drobo attached to an always-on Mac mini, with a bunch of files I want to be able to access from other computers. Some of them (DVD rips, photos) I want to be available to anyone on my network, and some (backups, personal file storage) I want to restrict to certain users.

I know that I can change the permissions for different folders by modifying the "Sharing & Permissions" attributes in the "Get Info" window, but how does that work if the user is coming from a different computer? Obviously that's no good if someone can just make a new user on their own computer with the same name and then have access.

All machines are running OS X Lion. Is this something I need Lion Server for?


texts: How does the Airport Access Control work?

texts:
I would like to set some rule on my Time Capsule and Airport Express in such a way that some cell phones can connect only in specific time slots.

In my network both the devices are connected to a router, which provides the Internet connection. Time Capsule and Airport Express create two networks with the same name and password (i.e. one is not an extension of the other).

I tried to set up some rules in this way:

Phone MAC address
Time slot 1: from 12AM to 1 PM
Time slot 2: from 2PM to 11:59PM

However the phone is still able to connect form 1 to 2 pm.

I also tried to modify the default rule in order to set up the time constraints for all the clients and then I added a rule for allowing the connection to my laptop all without constraints (all the day, all hours). With this second option I wasn't able to connect my laptop to Internet.

How can I configure a filter for not allowing the phones to connect from 1pm to 2pm?

Also:

What's the time my airport bases are using? It is retrieved from the net and is it based on my default time zone?
When I insert a rule and specify a time slot. Is the time slot the period in which the connection is allowed or the period in which it is not allowed?
Which is the priority assigned to the rules in case of constraints?
And finally, do I have to set up the same rules on both the stations right?


texts: Can I make the Keyboard Viewer more readable

texts:
I am using the Keyboard Viewer in recorded video screenshots to demonstrate the action of keystrokes on an app.
The keyboard window is small, the produced video is compressed, and as a result it is very hard for many people in the audience to perceive what keys are pressed during the presentation (pressed keys are outlined in dark brown/purple on a black background).
The previous UX for the Keyboard Viewer was a lot more accessible and legible.
I am not expressing an opinion - tools like WebAIM give this color combination a Contrast Ratio Fail rating across all three categories, with a very low 2.02:1 contrast rating against the surrounding background color.
Current Keyboard Viewer on Catalina:

Can you tell which keys are pressed? I didn't think so
Previous Keyboard Viewer on High Sierra:

Can you tell which keys are pressed? Yes you can! Yes you can!
Is there a way to use the more accessible, gray Keyboard Viewer on Catalina?
Given that Apple has always had very inclusive Accessibility Guidelines, I am hoping that I am missing a setting somewhere and that this poor UX decision can be reversed.


texts: Changed DNS server, now can't connect to internet on Safari, Chrome or App Store

texts:
I'm using Mac 10.7.5. Attempting to speed up my internet connection, I downloaded namebench and changed my DNS server per the suggestion given by namebench.

After restarting my computer, I can no longer connect to the internet on Safari, Firefox, or the App Store, although Chrome works just fine. Is there anything else I need to configure to enable internet browsing on these browsers?

Btw, namebench recommended I use the nameserver 205.171.2.65.


texts: Should I create a Bootcamp partition (even if i plan on using parallels)?

texts:
I just got a mac and i need to use windows sometimes.  I plan on buying parallels.  Someone mentioned that even though i plan on using parallels (so i don't need to reboot to run windows) that I should still do a bootcamp partition and then call up that partition from parallels.

Does this make sense?  I don't understand the benefit of why I would do this versus just using parallels by itself (without bootcamp partition)


texts: Does iOS app developer have access to my iCloud billing info?

texts:
I see this data in my iCloud purchase history. There are my credit card number, my first and last name, my address, and iPhone's name.

Which of this are accessible to the developer of the app?
Is it possible for developers to track reinstallation of their apps thought this data? How is that conforms with Uber's case?


texts: How to include equations in-line with text within the cell of a table in Keynote?

texts:
Answers to Add equations that flows with the text in the keynote explain that in Keynote we can insert an in-line equation when typing text. I use option-command-E or the same from pull-down Insert menu and it works fine for text in a text object.
However: when I'm writing text inside of a cell of a table this fails. No matter what I do the equation pops out of the text and becomes a floating equation.
If I copy a line of text that contains an in-line equation and paste it inside the cell of a table, the text appears but the equation is dropped.
Is there any way to include equations in-line with text within the cell of a table in Keynote?
Keynote version 9.2.1 (6529)
\int_0^{n\pi}\cos(ax^n)


texts: How do I update java manual pages with Homebrew?

texts:
I am using Homebrew to install AdoptOpenJDK 11. I want to see the documentation via the manual pages.
Symptoms
When I run man java, I see documentation from 2004. At the bottom:
SEE ALSO
       javac(1), jdb(1), javah(1), jar(1),

       See (or search java.sun.com) for the following:

       The Java Extensions Framework @
         http://java.sun.com/j2se/1.5.0/docs/guide/extensions/index.html

       Security Features @
         http://java.sun.com/j2se/1.5.0/docs/guide/security/index.html

                                 23 June 2004                          java(1)

When I run man javac, I see documentation from 2002. At the bottom:
SEE ALSO
       jar(1), java(1), javadoc(1), javah(1), javap(1), jdb(1)

       See or search the Java web site for the following:

       The Java Extensions Mechanism @
                 http://java.sun.com/j2se/1.5/docs/guide/extensions/index.html

                                 05 March 2002                        javac(1)

I find the location of the java manual:
man -w java
# /usr/share/man/man1/java.1

I see Homebrew is storing manuals for other software: /usr/local/share/man.
Based on the cask source, I do not see man pages installed, but I don't know what OpenJDK11U-jdk_x64_mac_hotspot_11.0.8_10.pkg is doing. When I run fswatch /usr/local/share/ while reinstalling adoptopenjdk11, I do not see any changes.
brew cask cat adoptopenjdk11

# cask 'adoptopenjdk11' do
#   version '11.0.8,10'
#   sha256 'c9ce3e78a7ec7f8c23041af63a66bfe18bbf75c7bfa8f8a51148a098f3653699'
#
#   url 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/# OpenJDK11U-jdk_x64_mac_hotspot_11.0.8_10.pkg'
#   appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
#   name 'AdoptOpenJDK 11'
#   homepage 'https://adoptopenjdk.net/'
#   pkg 'OpenJDK11U-jdk_x64_mac_hotspot_11.0.8_10.pkg'
#   postflight do
#     system_command '/usr/sbin/pkgutil', args: ['--pkg-info', 'net.adoptopenjdk.11.jdk'], print_stdout: true
#   end
#   uninstall pkgutil: 'net.adoptopenjdk.11.jdk'
# end

What I tried
I read Are my macOS man pages outdated?, but I do not think the answer applies here, because Java is not an old Unix tool, and I have installed Java with Homebrew.
I checked that I have the latest version of AdoptOpenJDK 11 installed:
brew reinstall adoptopenjdk11
# ==> Downloading https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jdk_x64_mac_hotspot_11.
# Already downloaded: /Users/alex.ordonez/Library/Caches/Homebrew/# downloads/1d0d41e7cf8f14ebb4df0ff39fa16e0fe2a1ac85f05ae404c62841c6ff01d4c8--OpenJDK11U-jdk_x64_mac_hotspot_11.0.8_10.pkg
# ==> Verifying SHA-256 checksum for Cask 'adoptopenjdk11'.
# ==> Uninstalling Cask adoptopenjdk11
# ==> Uninstalling packages:
# net.adoptopenjdk.11.jdk
# ==> Purging files for version 11.0.8,10 of Cask adoptopenjdk11
# ==> Installing Cask adoptopenjdk11
# ==> Running installer for adoptopenjdk11; your password may be necessary.
# ==> Package installers may write to any location; options such as --appdir are ignored.
# installer: Package name is AdoptOpenJDK
# installer: Upgrading at base path /
# installer: The upgrade was successful.
# package-id: net.adoptopenjdk.11.jdk
# version: 11.0.8+10
# volume: /
# location: Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk#

I can verify the versions are correct:
java -version
# openjdk version "11.0.8" 2020-07-14
# OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10)
# OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode)

javac -version
# javac 11.0.8

Also, I am able to compile and run Java 11 code.
Additional information: I am using macOS Catalina 10.15.6 (19G2021). My shell is Fish. I also have AdoptOpenJDK 8 installed.


texts: 2012 MacBook Air has wear spot on the bottom left

texts: My mid-2012 MacBook Air has a spot on the bottom plate. The computer has never been dropped. Does anyone have any idea what could cause this?


texts: Can an app window be minimized by clicking its Dock Icon?

texts: Something that bothers me as Windows user on OS X is that I can't minimize an app window by clicking the dock icon of the application. Is there a hidden setting for enabling this behavior or a utility that someone could recommend?


texts: Folder automatic action to rename files added to folder with random names

texts:
I'm creating a database on Filmaker Pro (FMP) of images that will be stored in a folder. I would like this folder to have an automatic action where I can, occasionally, drag one or more image files into the folder and their "basenames" will each be automatically renamed with unique random (ten) alphanumeric series string that will not clash with whatever filenames already in the folder.

Is there a clever AppleScript or other technique to get this done? I'm a mid-level user, I only know how to use Automator, where it can't be done.

Failing an automatic solution, I could use a random string generator and change filenames manually.


texts: How to export photos from a folder in iPhoto, preserving the album structures in the folder?

texts:
I have put several albums into a folder in iPhoto. Can I export the photos in this folder, so that the exported directory structure will be like

folder/
  album1/
  album2/
  ...

Thank you.


texts: Add item to Security & Privacy > Privacy > Accessibility

texts:
I am trying to give a flash application access to accessibility features.  The plug in lives in Macintosh HD > Library > Internet Plug-ins.  I cannot drag and drop this into the Security & Privacy > Privacy > Accessibility.  Adding firefox app doesnt seem to work even though the plug in seems like it should be a child process.  In activity monitor when the particular flash app is running the process name is "Firefox Plugin Process (Shockwave Flash)".

How do I enable this?  How can I add items in the Accessibility menu without having to drag and drop?

Using OS X Mavericks 10.9.


texts: Migration Assistant doesnt recognize external time machine disk

texts:
I am trying to migrate my information (including applications) from my old MacBook (OSX 10.8.5) to my new MBP (El Capitan) using a recent Time Machine backup, but Migration Assistant is not able to recognize as a source the external disk connected to the USB port. Instead it seems to be stuck on "searching".

How can I manage to "connect" the disk to Migration Assistant?


texts: I was given an iPad 2 16 GB with Wi-Fi running iOS 7.0.4. I do not know who the former owner was...I do not have a passcode...it has been wiped clean. When I turn it on it says "iPad disabled - connect to iTunes". I did that and get a message that says "This iPad is supervised by another computer and cannot be used with this computer"...I have not registered with Apple and do not have a user name. What now?


texts: How to Delete The Recovery Partition (not with diskutil if possible)

texts:
I want to delete the Recovery Partition

Before macOS El Capitan you could Delete the Recovery Partition by removing all partitions

and haven't used this but you can also enable debug mode in disk utility to see the recovery partitions seems like

so how do I delete the recovery partition above Yosemite? (prefer an answer that works above High sierra) I don't prefer to use diskutil I prefer a GUI


texts: Any way to force download from AFP as opposed to streaming?

texts:
I have a Yosemite file server that I use to host video files I've taken on my GoPro to various friends and family who want them. Unfortunately, asking "please download them (aka drag them to your machine from the mounted server volume) instead of just double-clicking them (aka opening them in Quicktime directly from the server)" has not stopped people from streaming them and asking why it's very slow to open 720p/1080p video in their choice media players.

Is there any way to prevent this "streaming" using OS X Server and to instead force people to pull down the file to their local file system? If not, what are some other suggestions (the more native, the better) to enforce this?


texts: How does my iPhone change time zones automatically?

texts: I'm curious how my iPhone knows what time zone I am in and change automatically. Does the phone use GPS to figure out where I am in the world? Or is there some other technology in play here.


texts: I'm using OS X 10.10.1 on my Mac. I use Parallels Desktop 10 and VMware Fusion 7.1. I do use windows a lot on Parallels and Fusion (Several Virtual machines). Windows 8.1,7 and XP. I've installed Avast free AV on OS X. Do i need to install separate Anti viruses on VMs ?? or do OS X Avast antivirus detect Windows viruses and malware ? Please explain. Thanks :)


texts: Will a ThunderBolt 3 (USB-C?) to ThunderBolt 2 cable allow me to use a MacBook Pro as second monitor?

texts: Yesterday I brought a iMac (Retina 5K, 27-inch, 2017) which has two ThunderBolt 3 (USB-C?) ports. I also have a MacBook Pro Late 2013 which has two ThunderBolt 2 (I think) ports. If I buy a ThunderBolt 3 to 2 cable. Would I be able to use the MacBook as a second monitor?


texts: Auto Downloaded Emails Marked As Read in Inbox

texts:
I open up my mac mail and I have a ton of emails downloaded which are marked as read even though I have not clicked on them or viewed them. This started to happen within the last month.

I have missed some really important email because they were marked as read. How do I fix this so that all emails stay UNread until I get to them?


texts: Anyone else having problems joining domain in OS X 10.10.2?

texts:
I am (have confirmed I have rights since I can remove and join a Windows 7 box) having problems joining a Yosemite OS X 10.10.2 to the domain--I receive a "authentication server encountered an error while attempting the requested operation (5202)" no matter if I use the GUI to join the "Network Account Server" or use DSCONFIGAD command-line command at Terminal.

I was able to join two Mac Minis on 10.10.x a few months ago but I am having problems with a new-out-of-the-box Mini right now. Even tried erasing and reinstalling from a OS X 10.10.2 thumb drive.


texts: Formula result does not display in Numbers for Mac - Intermittent

texts:
[Note: this is not the same issue as the post entitled "Display Blank on Formula Error" so please don't mark this as duplicate for that reason.]

Some cells containing formulae are not displaying, but are displaying correctly when changed to a literal value  instead of a formula.  There is no conditional formatting on the cell.  I have checked fill and font as well as cell offsets etc.  I have tried cutting and pasting from other cells, and also tried copying and pasting formats.

Workaround: Insert a new table.  Copy and paste the content of the old table into the new table.  Then, find all references to the old table and manually replace them with references to the new table.

Apple Support says: This is a corrupt table.  After manually
recreating the table I need to manually update all references
to the table.

Version info: Numbers 10.0(6748) / Catalina 10.15.4


texts: In Catalina, Can Fingerprint Replace Password Requests on Preference

texts: I am running 10.15.2 in a MacBook Pro15,1 (6-core, I7) and I was curious if the fact that you cannot use fingerprint authentication to gain access top Settings panel is by design or if this is a "personal problem". I am able to use it for the other typical uses such as in Safari or the App Store, but it is tedious that you need to type your password whenever you wish to make preference edits.


texts: How do I delete a backup on the time machine as well as an account

texts:
I have the following issue for which I cannot find the answers.

Problem 1: I have on my time machine a backup from a computer that I do not own anymore. I cannot delete this. Not a big thing, just eating a bit of space but how to delete?

Problem 2 (the real one): after I had to restore macOS, my mac does not want to backup anymore through time machine. It starts and then somehow stops with a message that it cannot make a backup. I tried everything out there and cannot get the routine to normally start again. So I have decided to start all over again. This however does not work since the Mac keeps recognising the backup. I tried to delete (same as above, not working). I tried to rename (not working). I tried to rename the computer and then start one (link with backup is restored in the meantime so not working).

So also on this one the question, how does one get rid of a backup on the time machine and start all over again?


texts: How can I switch applications on iPhone or iPad by keyboard like "Windows key + tab" on Windows?

texts: I like typing by keyboard while using iPhone and iPad. But when I switch applications(e.g. between Safari and memo application), I have to the push home putton on the devices'. It is very frustrating. Does anybody know how to switch applications by keyboard like "Windows key + tab" on Windows?


texts: My MacBook Pro doesn't recognize the battery after minor liquid spill

texts:
Hello and thank you in advance to everyone that will try to help me.
My MacBook Pro get water damaged with some drops of water on the left/up side and, as it should do in this cases, i rapidly shutted down and reversed it.
The laptop works perfectly fine with the exception of it not recognizing the battery, thus the laptop only turns on while being connected to the power cord. The battery icon on the top right displays an X with "No battery available". This is mirrored in the System Information interface under Power, where all values for this section display "No" and "0" (as in the battery is not recognized). If i remove the power cord it goes on kind of a sleep state because if i re-plug the cord it wakes so it doesn’t shut down.
I have tried SMC Reset and this made no difference. I’ve also tried cleaning the NVRAM/PRAM without any luck.
I’ve also tried a method described on a discussion on this site that consist on removing the battery, press 10 sec the power button, plug the magsafe while pushing power and then plug the battery in. With this method the MacBook turns on WITHOUT the power cord (so the battery is working), with the airfan at max speed but the battery icon on the top right still displays an X.
I’ve also purchased a new battery and replaced the old one but nothing changed.
I know that it is near impossible to diagnose what is wrong with the laptop via the forum, but what are the options? There are any other thing i can try do to or the only solution is asking to a service provider?


texts: iOS Messages phone storage usage different from iCloud

texts:
I have a conversation log in my iPhone (iPhone 11 Pro, iOS 14.0.1) that goes back to 2009. iOS says it is occupying 15.96GB:

I have the phone set to save everything in my conversations (e.g.: high resolution images and videos) and I don't want to change this setting.
I want to back it up in iCloud so I upgraded to 200GB and connected my phone to WiFi and a charger. It started displaying the “Uploading messages” message and progress bar at the bottom of the screen. This message and progress bar no longer shows up and it has only uploaded 8.1GB:

This number doesn't change anymore regardless of me charging the phone or not. I don't have Messages iCloud sync activated in any other device. Any idea why this seems to have gotten stuck?


texts: Recovering "Damaged" Files on External USB Drive: GUID, HFS (can not open files)

texts:
I had some files on an old thumb-drive, and recently I was going through and discovered that all/most of the files were no longer readable by any of my macs. I seam to remember having similar problems like this while back, and finding an apparent link to my choice of format, so I ran diskutil list in terminal:

/dev/disk3 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *134.2 GB   disk3
   1:                        EFI EFI                     209.7 MB   disk3s1
   2:                  Apple_HFS my-old-files            133.9 GB   disk3s2

And I tried ls -l

total 3858320
-rw-r--r--@  1 kipbits  staff     3430100 Nov 21  2016 2015-12-24.pdf
drwxr-xr-x   8 kipbits  staff         272 Sep 26  2016 2016-sep-14-files
-rw-r--r--   1 kipbits  staff    25642888 May 18  2015 myold.mp4
-rw-r--r--@  1 kipbits  staff         884 Jul 31 20:20 someold.txt
-rw-r--r--@  1 kipbits  staff  1320157184 Sep 21  2016 someold.iso
drwxr-xr-x   4 kipbits  staff         136 Sep 27 16:23 anotherdir
-rw-r--r--@  1 kipbits  staff   626214959 Nov  5  2016 someold.mp4
drwxr-xr-x  14 kipbits  staff         476 Nov  2  2016 sept2016files

I think this looks normal?

The problem is, I'm not able to open any of my files. I get the following errors:

pdf:

**The file “some-old.pdf” could not be opened.**
It may be damaged or use a file format that Preview doesn’t recognize.

txt:
800 byte files are blank

rtf:

**The document “some-old.rtf” could not be opened.**

mp4:

**QuickTime Player can't open "some-old.mp4".**
To see if additional software is available that will enable QuickTime Player to open the movie, click Tell Me More.

dmg, iso:
will mount but did not test further

pkg:

**The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.)**
Couldn't open "some-old.pkg"

I found a thread on apple saying "The partition map type doesn't really make any difference for non bootable volumes", although  i don't get any of these problems when using Master Boot Record & ExFAT.

None of the files are more than a couple years old, so i don't think there should be any compatibility issues, and none of the files were corrupted when I copied them to the drive. I have had this same problem with other drives, and they were perfectly usable after reformatting, although this involved erasing files.

My question is: Is there a way to recover my files? The file-sizes still display that the files are there. Is there a way to save these files and make them readable?

...Also, if it makes any difference, I am using El Capitan(for dev purposes)

  Update------------------------------------------------------------------------------------------------(04/Oct/2017)

I did a hexdump for some of the files in question. my output was something like this:

 0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
 0000370 00 00 00 00
 0000374

what does this mean? do you think a recovery app could even help me here?

here are some threads that are perhaps related:

...Also could this possibly be related to SIP? I first noticed this problem around when i first upgraded to El Capitan.

Or perhaps there is something else going on? I have recently been experimenting with windows and various forms of linux, and have been moving files around with thumb drives. Perhaps I plugged one in to the wrong computer and corrupted all the files?

Whatever the cause, I'm wondering if the files might still be recoverable? Is hexdump a good way to diagnose recoverability? Would buying a recover app just be a waste of $100?


texts: Connection of ESP32/ ESP8266 not recognized using MacBook Pro

texts:
I’m trying to connect those devices, with no success. When I’m using Linux machine I find at ‘/dev/ttyUSB0’. From googling around I understand it is a Mac issue.

Appreciate any guidance


texts:
I used to have WavTap and Airparrot but their audio interfaces are still straying in my other audio interfaces, and I would like to delete them.

How can I do this? I tried Audio / MIDI configuration but can't click the (-) sign to delete them.

Example image:


texts: How do I transfer a single app with data from one iPhone to another?

texts:
I just got a new iPhone, and wanted to start "fresh", that is, only installing the app I actually use - not the full pile of junk that was lying around on my old iPhone.
Therefore, I opted not to set up the new iPhone from the old one's backup, but instead, downloaded what I wanted from the App Store.

Now I see that one of the apps on the old phone is subscription based, so that I need a password to use it. The password is stored, so I don't have to enter it on my old phone.  But I do not know that password, and for various reasons, I'm unable to use the app's forgotten password function.

So I would like to transfer that single app, including its data (password) to my new phone. How can I do that?


texts: Mac OS Sierra Feedback app came out of nowhere

texts:
So I was just using my mac normally until I looked at the dock and saw a feedback app (which I didn't open). I thought it was from google due to the material icon design but I cannot find a source that says it is.

I looked at the launchpad and saw the same feedback app.

I wanna know wether this is some sort of malicious app or it's nothing to worry about at all. One thing for sure is that it came out of nowhere.

Edit : Forgot to tell you that the file does not show up in the applications folder (even with showing hidden files on) neither does anything happen when I launch it.


texts: I just got a brand new mac pro. I opened the cd drive with the eject button on the keyboard, and then went to close it the same way, the cd drive goes in, but the metal gate doesn't come back up. What can i do?


texts: how might one spoof geographic location on a desktop Mac

texts: I use a social network site that attaches location information to posts made on iPhones or MacBooks. When I post from my desktop, no GPS information is available and this field is left blank (there is no provision for user-entered data, unfortunately). Is there some way to spoof GPS on a desktop Mac?


texts: Can I put PC hardware in a MacBook Pro case?

texts:
I would like a MacBook Pro, but they are so dang expensive!!! I already have a pretty nice Samsung Series 3 64-bit, and I have considered Hackintosh. Hackintosh however, does not include that slick outer shell, Force Touch Trackpad, and gorgeous Retina display. My possible solution: A pc with a mac barebone and hackintosh!!!!

If I purchase a replacement bottom shell, top case (includes trackpad keyboard, and mic), and a complete display for Macbook Pro 13 in Retina Display 2012 (Model # A1502) the total cost would be around $458.52- that's saving me a whopping $741!!!

Can I put my PC components into it, assuming they are the same type, the replacement components, then install Hackintosh and work???

The main worry here is if the logic board has to be genuine apple vs my current pc one fitting, this mainly being because a replacement logic board at used to its crappiest state is $436.46

(sorry if i went overboard w/ the bold)


texts: webfilterproxyd flooding system.log with HTML content

texts:
I happened to look at my system.log today and I discovered that it is full of what appears to be full HTML pages, put there by webfilterproxyd.  Here is an example of what I mean:

$ head /var/log/system.log

Oct 14 08:09:18 mac.local webfilterproxyd[21265]: page - result: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
            <head>
                    <!--    Applications (such as Dictionary.app) can recognize that a
                                    webpage has been restricted by looking for the following comment:       -->

                    <!-- com.apple.parentalcontrols.webcontentfilter.accessrestricted -->

                    <title>Access Restricted</title>
                    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

                    <script type="text/javascript">
....

It's obviously caused by the parental controls, presumably our child clicks a link to some non-whitelists websites.  Disabling these controls is not an option.

I can't filter this out (e.g. cat /var/log/system.log | grep -v "webfilterproxyd" | less) because all this HTML is on separate lines.  This is making it very difficult to look through the log.

Worse still, it is so spammy that it is filled up my logs and rotating them out in a single day: for instance, at the moment there are 16 gzipped system.log files, all of which are around 3M compressed and which were created within a 15 minute period this morning. Obviously not very useful for reviewing for things like failed sshd attempts if logs are getting rotated out in such short order!

Why is this happening, and how do I make it stop?


texts: Automator service to look up words works with Latin characters but not Chinese characters

texts:
The following Automator script is supposed to open a Chrome tab and look up a Chinese word.
The service opens the Chrome tab when Latin characters are chosen, but mysteriously fails to open a tab when Chinese characters are chosen.
Works

Open https://en.wikipedia.org/wiki/List_of_Chinese_classifiers.
Highlight Latin character.
Run service.

Fails

Open https://en.wikipedia.org/wiki/List_of_Chinese_classifiers.
Highlight Chinese character.
Run service.

Run JavaScript
function run(input, parameters) {

    var trimmedInput = input[0].replace(/\s/g, '');
    return trimmedInput

}

Run AppleScript
on run {input, parameters}

    return "http://www.cantonese.sheik.co.uk/dictionary/search/?searchtype=2&text=" & input

end run

Run AppleScript
on run {input, parameters}
    tell application "Google Chrome"
        set curTabIndex to active tab index of front window

        open location input

        set active tab index of first window to curTabIndex
    end tell
end run


texts: How can I open a Finder window in Desktop without switching to another one?

texts:
I have these five desktops with a dozen of full screen apps and feel very happy.  Say I'm at right Desktop 5 now. (Sadly my picture is deleted since it wasn't uploaded to the site hosting service)
Now I want to open Finder to locate a file to open it on this desktop.
So I click Finder in Dock.

Ouch!
I get dragged all the way to the  Desktop 1 because that's where Finder is currently open.
Well, that makes sense from a programmer's perspective (switch to Desktop with the app window).
But it doesn't make any sense for user.
Whenever I press Finder, I want it to open on current desktop, because it's utility and not really an “app” I need to “switch to”.
I usually have half dozen Finder windows on different desktops and these redirects just get in my way.
Is there a workaround to make Finder in Dock desktop-bound, apart from choosing New Finder Window in menu?


texts: My Macbook Pro will not boot normally or in safe mode. My power cable lights up green when it is connected. Pressing the power button does nothing. However, if I unplug the battery and wait a few seconds, the screen will light up, the apple and the progress/status bar comes on, as well. The working indicator starts to whirl but when the status indicator gets about a tenth across the bar, the screen goes black. There is no hard drive sounds.


texts: Keyboard shortcut for "Show numbers" dictation command

texts:
I have difficulty using mice for a significant period of time due to hand problems, and especially have difficulty with clicking. I try my best to use the keyboard when possible, but switching between keyboard and mouse when I have to navigate to a part of the UI that isn't keyboard-shortcut friendly can be frustrating and painful.

I've tried using the built-in MacOS dictation and have been extremely happy, and am especially impressed with the "Show numbers" feature, which overlays numbers on the clickable items on the UI that I can just say. Saying "show numbers" every few seconds, however, becomes tedious.

Is there any way to assign the "Show numbers" feature to a keyboard shortcut, so that i can just get the overlay with a keyboard shortcut and say the relevant number? I've tried looking at the developer documentations on NSSpeechSynthesizer and NSSpeechRecognizer but I don't think they'll do what I'm thinking of.

I run a mix of High Sierra and Mojave machines, if that matters.

Thank you!


texts: Apple MacBook Pro M1 , Scanner not opening

texts:
I have recently added Canon TS3100 series printer on my MacBook Pro M1. When I am trying to launch the Scanner, nothing happens and I had to fall back to other devices for initiating the scan.
I have also tried removing and adding the printer again, but no luck so far. Has anyone faced this issue? Any help here is really appreciated.


texts: How do I sign out of a Twitter account on the iPhone?

texts: When I use an app such as Safari, I can choose to "Tweet" a page and it uses my Twitter account. How do I sign out of that Twitter account so that if I give my device to someone else, they can no longer tweet things on my behalf?


texts: File or directory called ~ (tilde) in the root of my startup volume

texts:
I just noticed that I've got a mysterious file simply called ~ in the root of my harddrive. I suspect that I've created it by accident while using terminal.

I know about using ~ as an alias to quickly get to the current user and I use it extensively, so there is a reasonable chance that I've been wanting to create a new file and possibly been in the process of writing something in the lines of touch ~/new_filebut changed my mind and accidentally pressed enter after touch ~?

But that does not explain the fact that the file is 3.1MB?

Furthermore, the file appears as a file in Finder, but if I try doing either cat ~ or vim ~on it in terminal I'm told that it is actually a directory. But doing an ls -l suggests something else:

-rw-------    1 root  wheel   3.0M Apr  3 13:37 ~

And have a look at the creation date ...today at 13:37 (ie. LEET).

I discovered that there are a couple of threads where people experience the same thing and the answer seems to be some application failing to write to the user directory, but the timestamp is what makes me suspicious (tin foil hat?).

Could this be something malicious?
Can I log what or who wrote the
file somehow?
Can I figure out what's inside it?
How can I make sure
it is safe to delete this file/directory or whatever it is?

Edit: Regarding this question being marked as a duplicate, I explicitly mention that I've read the original thread and none of my four questions above have been answered in that thread, so please read the entire question before flagging.


texts: Open MS Office documents on Windows 7 guest VM in OS X host using Office for Mac

texts:
I am running OS X Lion, VMware Fusion 4.1.2 which points to the Windows 7 installation created for Boot Camp.

When I am in my Windows 7 VM, I want to double click on files (.pdf., word .docx, .pptx, etc) and have them open using my MS Office for Mac and other native files.  I think that this is doable but cannot figure out how.

In My VM settings, under Default Applications, I have the box checked to "Open your Windows files and web links using Mac applications". I do not have the "Open your Mac files and web links using Windows applications" checked, as I want everything to open natively in OS X, not Windows. There is a Configure button underneath the 2nd option that I listed and I have mailto and web pages mapped to OS X programs (Mail and Safari). If I try and add another to the Default Applications, there are options for News, RSS Feeds, File Transfers, and Remote sessions. How do I add custom mappings to default applications so that when I click on a .docx file in Windows 7 explorer (guest OS) it opens in word on OS X?


texts: Repeated pop-ups 'Safari wants to use the "login" keychain'

texts:
I get repeated pop-ups saying

I then enter the password

But the system always keeps on telling me it's the wrong password, which I'm sure it's not

This is what the Details reveal:

What is going on here, and how can I fix it?

I'm running OS X 10.6.8.


texts: Is quitting apps bad for my iPhone battery?

texts:
Last night at dinner one of my Android using friends was bragging about how their Samsung phone had an option to tap one button to quickly shut down all your apps. My other friend (an iPhone user like me) responded with "Why would you wanna do that? It'll just flatten your battery quicker!".

Is this true and why?


texts: How to banish wifi network from laptop but leave it enabled for iPhone

texts:
There is a wifi network that I don't want my macbook to ever connect to. However, I do want my iPhone to connect to it. How can this be done?

I've looked in the wifi settings on my mac and I can remove the network in the advanced settings, but that will remove it from my iCloud credentials and prevent my iPhone from connecting to it.


texts: SSH, passphrases, keychains, Could not open a connection to your authentication agent

texts:
I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck.

As an iOS developer who will shortly be welcoming a new team member I want to set up a continuous integration server so that anyone who checks in code will kick off a build, which will in turn set the status of a build light providing a visual indication of code status. If the build breaks it won't stay that way for long because we'll see a big red light.

The ingredients I picked to make this work are Jenkins, Git and a Mac mini. Day to day I won't have physical access to the mini but the build light is controlled by ethernet - no problem.

The first step in getting Jenkins to manage a build is to clone the git repository. For obvious reasons it discards any old code and grabs a copy of the entire repository. I'm using a git "Repository URL" of gitfella@boardroom.local:repo/ProjectName.git. Naturally I did 'su - jenkins' and become user jenkins, then going through the process of scp id_rsa.pub gitfella@boardroom.local. As gitfella I appended that public key to authorized_hosts.

The surprise came when I went back to being user jenkins and tried ssh gitfella@boardroom.local - I was asked for the passphrase for jenkins. At this stage I realised the repository clone was failing because the passphrase could not be entered while Jenkins was running without an interactive shell.

The way to get the passphrase into the keychain is ssh-add -K (and prior to Lion I don't remember having to do this ever) but this does not work in a ssh shell, it fails with the message Could not open a connection to your authentication agent. Executing ssh-agent shows the environment variables that need to be set to allow this to happen, and once that's done ssh-add -K works. Then the git clone is OK. Then I thought the problem was solved but next ssh login I'm asked for the passphrase again.

I now have the git clone phase of the build working but I would rather not have to remove the passphrase for Jenkins entirely...

How can ssh-agent values be set on every invocations of this Jenkins build process? Jenkins is started by executing launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist - would it be possible to set the ssh-agent environment in here somehow? Would these settings persist as long as Jenkins does (per boot)?  I'm reluctant to mess with this now I have this little problem mostly sorted, but maybe some expert knows the right fix.


texts: Cannot remove spotlight item from menu bar with `defaults`

texts:
When unchecking "Show in Menu Bar" in System Preferences > Dock & Menu Bar > Spotlight, it removes the NSStatusItem Visible Item-0 from com.apple.Spotlight.plist. When enabling the setting, it sets this key to true.
It can be easily verified by using defaults read com.apple.Spotlight before and after unchecking the setting.
I'm trying to automate this in a macOS install script. The problem is that deleting the key with defaults delete or setting the value to false doesn't work. After doing killall Spotlight; killall SystemUIServer or rebooting the system, it sets back the value to 1.
My guess was that some other files are modified when changing the setting with the GUI, so I tried this:
defaults read > before
# Manually change the setting in system preferences
defaults read > after
diff before > after

which outputs:
60c60
<         "_DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertEventsNotification:/app/usageActivityDate" = "2021-03-27 06:57:35 +0000";
---
>         "_DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertEventsNotification:/app/usageActivityDate" = "2021-03-27 06:57:49 +0000";
62c62
<         "_DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertLocalEventsNotification:/app/usageActivityDate" = "2021-03-27 06:57:35 +0000";
---
>         "_DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertLocalEventsNotification:/app/usageActivityDate" = "2021-03-27 06:57:49 +0000";
5357,5359c5357,5358
<         "NSStatusItem Visible Item-0" = 1;
<         SPMessageTracingWindowHideCount = 149;
<         SPMessageTracingWindowShowCount = 149;
---
>         SPMessageTracingWindowHideCount = 150;
>         SPMessageTracingWindowShowCount = 150;
5361c5360
<         "engagementCount-com.apple.Spotlight" = 87;
---
>         "engagementCount-com.apple.Spotlight" = 88;
9998c9997
<                 Age = "42540.278567375";
---
>                 Age = "42551.38625458333";
10050a10050
>                         352,

Maybe a file outside of the scope of defaults is modified?


texts:
I often use the ⌃+O shortcut in bash (from "Learning the bash Shell"):

  [G]o back to [a command in history] and press ⌃+O instead of ↩. This will execute the command and bring up the next command in the history file. Press ⌃+O again to enter this command and bring up the next one.

It seems this shortcut is not available on OS X; ⌃+O simply does nothing. A web search turns up the suggestion to use the ! bash builtin, but I don't see how I can accomplish the same thing as ⌃+O with it.

Is it possible to somehow get ⌃+O behavior in Terminal.app on OS X?


texts: Map Section sign (§) button to backtick(`) and tilde (~) without Karabiner

texts: The question how to change "§" (section symbol) key to write "`" (back quote) has a solution using Karabiner but I am looking for a non-Karabiner solution.


texts: curl gives error - possibly fink related?

texts:
When I try and run curl in the OS X Terminal I get the following error:

dyld: Library not loaded: /usr/local/lib/libcurl.4.dylib
  Referenced from: /usr/local/bin/curl
  Reason: Incompatible library version: curl requires version 7.0.0 or later, but libcurl.4.dylib provides version 5.0.0
Trace/BPT trap

I have a suspicion this is something to do with fink - as I installed a number of things from fink. However, I have tried removing and reinstalling curl with fink and it still refuses to work. I can't seem to get it to find a correct version of libcurl whatever I do.

Any ideas?
Update:
Output of running env in the terminal is below:

MANPATH=/sw/share/man:/usr/local/share/man:/Library/Frameworks/EPD64.framework/Versions/Current/share/man:/usr/share/man:/usr/local/git/share/man:/usr/texbin/man:/usr/X11/man:/sw/lib/perl5/5.10.0/man:/usr/X11R6/man
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/bash
CLICOLOR=1
TMPDIR=/var/folders/+w/+wmZARshFrCjcx1M3ByCFk+++TQ/-Tmp-/
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
Apple_PubSub_Socket_Render=/tmp/launch-E8utdf/Render
TERM_PROGRAM_VERSION=273.1
USER=robin
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-nlYhE5/Listeners
__CF_USER_TEXT_ENCODING=0x1F7:0:0
PATH=/sw/bin:/sw/sbin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/Users/robin/todo:/Applications/TeXCount:/Applications/latexmk:/usr/local/Cellar/gettext/0.17/bin/:/Library/Frameworks/EPD64.framework/Versions/Current/bin:/Library/Frameworks/GDAL.framework/Versions/1.7/Programs/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/itt/idl71/bin:/usr/local/git/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin
MKL_NUM_THREADS=1
PWD=/Users/robin/builds/ridl
LANG=en_GB.UTF-8
AUTOJUMP_DATA_DIR=/Users/robin/.local/share/autojump
SHLVL=1
HOME=/Users/robin
DYLD_LIBRARY_PATH=:/Applications/itt/idl71/bin/bin.darwin.x86_64
PYTHONPATH=/usr/local/lib/python:
LOGNAME=robin
PROMPT_COMMAND=: && { (autojump -a "$(pwd -P)"&)>/dev/null 2>>${AUTOJUMP_DATA_DIR}/.autojump_errors;} 2>/dev/null
INFOPATH=/sw/share/info:/sw/info:/usr/share/info
DISPLAY=/tmp/launch-RRRwWC/org.x:0
_=/usr/bin/env
OLDPWD=/Users/robin/builds/ridl/CMake


texts: Home Sharing not working with iPhone 5 iOS 6

texts:
Home sharing is not working on my iPhone : I can't see any 'shared' option in both music and videos app while I have activated Home sharing with the same ID on both my Mac and my iPhone.
I have a MacBookPro with the latest version of iTunes and an iPhone 5 with the latest OS.
I have tried to relaunch iTunes, turn off home sharing, sign out on my iPhone and start again the whole process without any result. And there's no issue with my router or firewall, I've checked all this.
Does someone have any idea or tip to solve this problem ?
Thanks a lot !

Edit - 08/10 12:03 GMT
I set up Home Sharing on a second computer (with Windows XP) with the same Apple ID. I can see its library on both my mac and my iphone but I'm still unable to see my Mac library on the other devices. So, I think that the problem may be that my Mac "doesn't want" to share but is able to "receive". Any idea ?  Thanks


texts:
My MacBook Pro late-2011 model was recently stolen when someone broke into our car. Luckily there weren't too many other items in the car and my computer was fully backed-up.

I am looking for a new MBP and have found several 2013 models. I am looking at a September 2013 model that shows it only comes with 256GB of flash storage. There is no way I can possibly fit even 1/4 of my documents on 256GB. I would like to reserve the flash store for OS X and other applications while having the rest of the data on another larger drive.

I am trying to find out if this model (Sept 2013) can take an extra standard hard drive in the chassis. I had two drives in the model that was stolen.

Follow-up: What is the newest MacBook Pro model that has a Serial ATA Hard drive connection? Also, how do Mac users with only flash based memory store large files? Do they use external storage for everything? For example, I have a large music collection and use my MacBook for video editing for websites. I wouldn't be able to do that on a 265gb PCIe flash based hard drive.


texts: VNC from Windows gives blank login screen

texts:
I'm trying to VNC into my MBP running Lion using TightVNC on Win7.

Under Screen Sharing I have Allow access for All Users turned on, and Anyone may request permission and VNC viewers may control screen checked.

When I try to connect, it connects fine, but all I see is a screen full of the textured dark grey background used on the login screen.

If I log out of my Mac then VNC in, I'm presented with the Login screen proper, can login over VNC and everything works fine, but this is not how I expect VNC to work and not how I require it to work.

Is there a way to make it so VNC-ing in simply controls the currently logged in user like it usually does?

Anthony


texts: How to turn off horizontal split screen on iOS 14 on an iPhone?

texts:
I keep accidentally splitting the screen horizontally - which has led to zoom call issues etc. However, despite the split, I can't seem to figure out how to get 2 apps to display on my iPhone.
So, how do I make sure the screen does not split? (Which gesture even causes the split? I seem to be able to do the split only randomly.)
A quick google search only yields iPad tutorials** - the screen settings differ on an iPhone.


texts: Do games need antialiasing on the Retina MacBook Pro?

texts:
Since the pixels in the new display are dense enough that they're imperceptible at a normal distance, doesn't that obviate antialiasing?

(Assuming that the game is running at full 2880x1800 resolution, of course.)


texts: APUE ld: archive has no table of contents file '../lib/libapue.a' for architecture x86_64

texts:
I starts to learn APUE and compile the source code

1, downloads the source code from Source Code

2, extract it to

$ pwd
/Users/me/Desktop/PubRepo/C/APUE/apue.3e

3, read readmd

$ cat readme
Read the file called DISCLAIMER.

On Freebsd, type "gmake".
On other platforms, type "make" (as long as this is gnu make).

For FAQs, updated source code, and the lost chapter, see http://www.apuebook.com.
Please direct questions, suggestions, and bug reports to sar@apuebook.com.

Steve Rago
January 2013

I checked make version

$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0

4, make but report error:

gcc -ansi -I../include -Wall -DMACOS -D_DARWIN_C_SOURCE   -c -o sleep.o sleep.c
making intro
gcc -ansi -I../include -Wall -DMACOS -D_DARWIN_C_SOURCE  getcputc.c -o getcputc  -L../lib -lapue
ld: archive has no table of contents file '../lib/libapue.a' for architecture x86_64
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
make[1]: *** [getcputc] Error 254
make: *** [all] Error 1

I searched and found answer to add cp ./lib/error.c /usr/local/include/

    $ cp ./lib/error.c /usr/local/include/

make clean and make

making intro
gcc -ansi -I../include -Wall -DMACOS -D_DARWIN_C_SOURCE  getcputc.c -o getcputc  -L../lib -lapue
ld: archive has no table of contents file '../lib/libapue.a' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [getcputc] Error 1
make: *** [all] Error 1

The error still there.

How could I apply apue.h?


texts: How can I pause animated GIFs in Messages.app on OS X?

texts:
I have a group message where my friends and I enjoy sharing animated GIFs. Sometimes, when one of these stays on screen for a long time, it will eat my CPU and cause my fan to spin up/make noise.

I enjoy the GIFs, but in order to keep my fan quiet, I often delete them, which reduces the CPU usage. I have a hunch that if I could pause the animation, it wouldn't use as much processor power. Is there any way I can do this?

I'm currently on OS X Yosemite (10.10.3) and using Messages 8.0 (4752)

Edit by Tetsujin Aug '17
The bounty I'm offering isn't for the same reason as the OP, i.e. CPU, but merely the irritation factor of watching them go round & round & round ... & round...


texts: How can I set 'fit to screen' as the default behaviour when changing my desktop background (wallpaper)

texts:
Every time I want to set a picture as my desktop background it sets it so big that half of it is gone. I then have to go to the settings and choose desktop then choose a setting.

It is so annoying to have to go into settings every time I change a wallpaper!

Is there a way to set it so that whenever I right click and scroll to set a wallpaper, that it will automatically make it fit to screen?


texts:
I'm having a really frustrating DNS cache issue on my Macbook running Yosemite.

I'm a web developer so i'm always working with new sites and setting up new servers / domains etc.. so every now and then I will try to load a domain that hasn't propagated yet and I will get the standard "ERR_NAME_NOT_RESOLVED" error.

I will then confirm the domain has propagated and try clearing my DNS cache using every single option I've found online:

sudo killall -INFO mDNSResponder
sudo discoveryutil udnsflushcaches
sudo discoveryutil mdnsflushcache;sudo discoveryutil udnsflushcaches;say flushed

And NONE of them work! I simply can NEVER access that domain until I restart my Mac or wait 24 hours or something stupid!

I can access the domain FINE on my phone via both WIFI (same network) AND 3G / Mobile... so the issue is 100% with my Macbook and Yosemite!

It's so frustrating!!!!

Does anyone know a fix for this?


texts: Have the snooze buttons on the iPhone changed?

texts:
For as long as I can remember, I’ve been snoozing my iPhone SE’s alarm by pressing a button on the phone. As far as I can remember, any button would do - home, volume, on/off.

Now, if I press the home button when my alarm goes off, it turns the alarm off completely, instead of snoozing it. The other buttons still snooze.

Has this actually changed, or am I just losing my mind?

iOS 12.1.2 iPhone SE.


texts:
so far I used nettop and/or the activity monitor to observe the traffic used by each app but I noticed just now, that there is a huge difference between the sum of the per app traffic and the traffic which actually came through the network interface.

In this example the sum of the received traffic by app seems to be less than 5MB though the opened network interface monitor (right part of the screenshot) tells me, that actually 27.3MB came in. And this is the correct number as my mobile phone gives me the same figure for today's traffic.

So why is the sum of the traffic per app so much lower?

Regards
Simon


texts: Editing info.plist of .ipa files renders app unable to run

texts: I'm trying to edit some values of an info.plist file that is located in an .ipa file. First, I open the .ipa in Winrar and drag the info.plist to the desktop. Here, I edit the file using the Properly List Editor that's included on OS X. Finally, I drag the file back into the .ipa, but when I try to sync the file to my iPad, it says that there is an error. Any suggestions?


texts: Transfer video from iPhone to Mac without cable?

texts:
I'm at my job and I have no cable, so connecting my iPhone with my computer is not possible.

I have tried emailing the video, but the iPhone is compressing the video. It is not jailbroken.

Is it possible to transfer the original video?


texts: 3rd-party SSDs: enabling TRIM without disabling kext signing

texts:
Before reading this long question, please note that it is mostly outdated in light of the more recent developments reflected by the top answer.

Unfortunately Apple has decided to create kext signing in Yosemite that creates issues for SSDs that require Trim support for optimal function and longevity. Whether this is vendor lock in or not, it's made upgrading a headache. If you bought a SSD that needs trim support (at time of writing, all SSDs benefit) such as the Samsung 840 Evo, there are many reported issues when performing PRAM reset and potential future system update conflicts in addition to the current security tradeoffs (see below). Trim Enabler author says using Trim Enabler by turning off kext signing is cracking a walnut with a sledgehammer.

I'm hoping for strategy / options to work with SSDs that recommend or require Trim support. So far, because of this article, I'm considering a SSD with Sandforce or equivalent active garbage collection. I'm also considering turning on Trim Enabler periodically, then off and reenabling kext-signing to avoid issues with until (if) Apple restores TRIM support to hardware and software devs.

Please detail working hardware/software configurations and strategy/schedule as well as outcomes.

tl;dr --

Some background:

3rd party SSDs for the most part don't have trim support in Yosemite without kext signing security tradeoffs. Apple changed kext signing in OS X 10.10 such that kext singing must be disabled to use applications like Trim Enabler for trim support. So choices using Yosemite are, reduced security and potential system update issues; or, a SSD that doesn't require Trim support.

Yosemite kills third-party SSD support. This is not relevant if you're using an Apple installed SSD or SSD that doesn't require 3rd party trim support for optimal function. So, if you're using a DIY SSD, Trim support is tricky in Yosemite because of recent modifications to kext security management that affects Trim support. More about Trim Enabler for Mac:

  About Trim in Yosemite In OS X 10.10 (Yosemite),

  Apple has introduced a new security requirement called kext signing. (A kext is
  a kernel extension, or a driver, in Mac OS X)

  Kext signing basically works by checking if all the drivers in the
  system are unaltered by a third party, or approved by Apple. If they
  have been modified, Yosemite will no longer load the driver. This is a
  means of enforcing security, but also a way for Apple to control what
  hardware that third party developers can release OS X support for.

  Since Trim Enabler works by unlocking the Trim driver for 3rd party
  SSD’s, this security setting prevents Trim Enabler to enable Trim on
  Yosemite.

  To continue to use Trim Enabler and continue to get Trim for your
  third party SSD, you first need to disable the kext signing security
  setting.

  It is important to note that the kext-signing setting is global, if
  you disable it you should be careful to only install system drivers
  from sources that you trust.


texts: Just got a MacBook Pro, the calender appointments do not transfer to my iPhone 5 calendar

texts: I just got a MacBook Pro laptop and am in early stages of learning.  The calendar that comes with the computer does not transfer the appointments to my iPhone 5S. I could never get Microsoft Outlook calendar to transfer either. What do I need to do to get the transfer to occur?


texts: Since some time the dates in my iPhoto library have all changed to the day my library was created. The pictures still appear chronologically in the events screen but they all show the creation date (of the library not the picture) under the event. If I try to change the date and time I can only change the time of the picture the date is fixed on January 5th, 2013.


texts: Just downloaded iOS 7 on my iPhone 4. The clouds don't move on my weather app. My husband and friends' weather apps have animated clouds. Why doesn't mine?


texts: Bootcamp the startup disk cannot be partiitoned

texts:
I cannot install Bootcamp because it gives me an error message of "The startup disk cannot be partitioned".
This is the result of diskutil list

/dev/disk0 (internal):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                         121.3 GB   disk0
   1:                        EFI EFI                     314.6 MB   disk0s1
   2:                 Apple_APFS Container disk2         121.0 GB   disk0s2

/dev/disk1 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *3.0 TB     disk1
   1:                        EFI EFI                     209.7 MB   disk1s1
   2:                 Apple_APFS Container disk2         1.9 TB     disk1s2
   3:       Microsoft Basic Data OSXRESERVED             8.0 GB     disk1s3
   4:       Microsoft Basic Data BOOTCAMP                1.1 TB     disk1s4

/dev/disk2 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +2.0 TB     disk2
                                 Physical Stores disk0s2, disk1s2
   1:                APFS Volume Macintosh HD            913.9 GB   disk2s1
   2:                APFS Volume Preboot                 42.2 MB    disk2s2
   3:                APFS Volume Recovery                517.0 MB   disk2s3
   4:                APFS Volume VM                      24.6 KB    disk2s4

/dev/disk3 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            CCCOMA_X64FRE_EN-US... +4.7 GB     disk3

/dev/disk4 (disk image):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:                            Boot Camp              +1.2 GB     disk4

and diskutil cs list

No CoreStorage logical volume groups found


texts: I have a Macbook Air and an iPhone 6 and iCloud Photo Sharing is turned on.  Both are giving me messages that there's no more room for photos. I have around 3,000 photos. I thought my photos were stored in iCloud and not on my devices.  How can I remove photos from my Mac and my phone without deleting them from my iCloud?  And how do I access my iCloud photos?


texts: Kernel Panic right after sleep in macOS High Sierra

texts:
Recently I have noticed my MacBook Pro restarting as soon as it tries going to sleep. If I plug it in and leave it on for the whole day, it will work fine.

I have tried resetting SMC, NVRAM etc.
Apple Hardware diagnostics says there is no issue with the machine.
First Aid says disk is okay.

I have also tried going into Recovery and deleting the sleepimage. Now have hibernate mode disabled. Still facing kernel panic.

This is what I am getting in the log.

*** Panic Report ***

panic(cpu 0 caller 0xffffff7f9a41ffcd): "Failed to quiesce supporting devices\n"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleACPIPlatform/AppleACPIPlatform-281.70.3/AppleACPIPlatformPower.cpp:1970
Backtrace (CPU 0), Frame : Return Address
0xffffff9216e739c0 : 0xffffff8018c6c1c6
0xffffff9216e73a10 : 0xffffff8018d95274
0xffffff9216e73a50 : 0xffffff8018d87544
0xffffff9216e73ac0 : 0xffffff8018c1e1e0
0xffffff9216e73ae0 : 0xffffff8018c6bc3c
0xffffff9216e73c10 : 0xffffff8018c6b9fc
0xffffff9216e73c70 : 0xffffff7f9a41ffcd
0xffffff9216e73cd0 : 0xffffff7f9a41fb9e
0xffffff9216e73d20 : 0xffffff7f9a4240eb
0xffffff9216e73d40 : 0xffffff80192b9658
0xffffff9216e73d90 : 0xffffff80192e7a03
0xffffff9216e73e00 : 0xffffff801928154b
0xffffff9216e73e50 : 0xffffff801927e738
0xffffff9216e73eb0 : 0xffffff801927b713
0xffffff9216e73ef0 : 0xffffff801927b5a2
0xffffff9216e73f30 : 0xffffff8019297ef2
0xffffff9216e73f70 : 0xffffff801929752c
0xffffff9216e73fa0 : 0xffffff8018c1d557
      Kernel Extensions in backtrace:
         com.apple.driver.AppleACPIPlatform(6.1)[B0282791-F78C-3A3D-A829-629AD847C7EA]@0xffffff7f9a414000->0xffffff7f9a4affff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[95DA39BB-7C39-3742-A2E5-86C555E21D67]@0xffffff7f99948000
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f99494000
            dependency: com.apple.driver.AppleSMC(3.1.9)[2D1E4A3F-A19E-3F12-878D-807CB79CD55F]@0xffffff7f99951000
BSD process name corresponding to current thread: kernel_task