Swift OSX Audio pass thru while recording

I'm programming in Xcode 9 - swift 4 - macOS NOT IOS I have a basic recording audio setup below for recording a singer with headphones and a microphone. I would like it to react like Logic X. In Logic X you put the track you want to record into rec...
more »

2017-08-17 17:08 (1) Answers

memcache telnet flush_all not removing all items

I'm new to using memcache so I might be missing something obvious. I use telnet to connect to memcache, then try flush_all and get the message 'OK'. I then run 'stats items' and see a list of items still. When I run 'stats cachedump 16 100' I still s...
more »

2017-08-17 14:08 (1) Answers

OpenCL files fail to compile on OS X

I have a quite large opencl file that compiles fine on both Windows and Linux Ubuntu but fails on MacOSX. The cvmcompiler process uses 100% of the CPU and never completes. The full code of the project is there: https://github.com/favreau/Sol-R and ...
more »

2017-08-17 12:08 (2) Answers

Abort trap: 6 error when working with array in C

I am a beginner to C and am trying to get more familiar with arrays and the concept of manual memory allocation by doing simple exercises. I have been reading all the (many) questions on SO regarding the "Abort trap: 6" error, and though I've learned...
more »

2017-08-17 05:08 (2) Answers

JComboBox looks old on macOS

I have a JComboBox that is declared with: JComboBox<String> toneList = new JComboBox<>(tones); //tones is a String[] list And is added with: panel.add(toneList); window.add(panel); But the issue is that it looks old and just gener...
more »

2017-08-17 03:08 (2) Answers

Running docker run as a separate user on OSX

I'm trying to make docker work for both my local user and a service user called daemon at the same time. Docker is working fine right now for my local user. On linux, you'd add daemon to the dockers group which doesn't exist (literally as well as as...
more »

2017-08-17 01:08 (0) Answers

Do not copy swift libraries with Xcode 8?

How to not automatically embed Swift dynamic libraries in Xcode 8? I've tried setting ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES to "No" (defaults to "No" anyway) yet it still copies Swift dynamic libraries into the app bundle. I'm creating a helper app...
more »

2017-08-17 00:08 (0) Answers

Converting a .jar into a Mac OS X app

I'm trying to create a java-based GUI for both Mac and windows. So far, I've been able to create an executable .jar file that runs on Windows. The issue I'm running into is running that .jar on Mac. When I double-click to run, it says I should use -...
more »

2017-08-16 18:08 (3) Answers

actual date plus 14 days

i working with swift 3 for osx. i have this calendar: this calendar should show the actual date plus 14 days. Generally it is correct, because 30 - 16 = 14 days between. this is my code for this: datePicker.dateValue = Calendar.current.date(byAd...
more »

2017-08-16 16:08 (2) Answers

Opencv3.0.0 VideoCapture not working on Mac

cv2.Videocapture() works fine while using the cameraļ¼Œbut while reading the local video, there is a WARNING: Couldn't read movie file Here is my test code: # -*- coding: utf-8 -*- import numpy as np import cv2 cap = cv2.VideoCapture('test2.avi') ...
more »

2017-08-16 05:08 (0) Answers

Extract macOS Unified Logging by an app?

Is there a way to extract log messages generated by the new macOS unified logging API by a sandboxed application? Just the log messages originated from the app itself, not the entire system nor other applications. It looks like the log collect comma...
more »

2017-08-15 23:08 (0) Answers

Save a ordering list of data into core data

i have an nstableview, where the user can add rows. each row will directly save into Core data. at the moment i can request the records of core data and sort it by objects id to get the correct order, because the object id is nearly the same like an...
more »

2017-08-15 21:08 (1) Answers

Emscripten SDK error on Mac OS X Sierra

Tried to install the Emscripten SDK on Mac OS X Sierra version 10.12.5 Followed these steps Tried on both Python versions 3.6.2 and 2.7.13 I am getting an error log in my terminal window as below: Traceback (most recent call last): File "....
more »

2017-08-15 21:08 (1) Answers

Import works in Python but not IPython

No problem when I import in a python terminal: $ python Python 3.5.4 | packaged by conda-forge | (default, Aug 10 2017, 01:41:15) [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin Type "help", "copyright", "credits" or "license" fo...
more »

2017-08-15 20:08 (1) Answers

SignalR console client on Mac

I'm trying to create a console app in Mac OS which connects to SignalR hub server (.net on Windows). This console should also perform some file system operations and run another app - that's why it is not a browser app. I tried to look at Node.js bu...
more »

2017-08-15 20:08 (0) Answers

Installing OpenCV

I am on Mac OSX El Capitan and am trying to install opencv. I am using homebrew with this command. Sumant:Sumant$ brew install opencv The result is Warning: homebrew/science/opencv 2.4.13.2_1 is already installed Even though it says that opencv ...
more »

2017-08-15 12:08 (1) Answers