8 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for vegaseat

I am sitting in front of a brandnew 27 inch Apple Macintosh running on OS X Yosemite, trying to compile a timed insertion sort from my Windows days. The Xcode app is a sweatheart, but there are some Windows things in the code that cause a problem. This line ... …

Member Avatar for vegaseat
0
263
Member Avatar for clouds_n_things

So I wrote a cool little python script for terminal commands that I get sick of entering. Most of the script is explained in docstrings and comments. Looking for useful terminal commands or things I missed or could have done better. I'm actually quite proud of it. :) #!/usr/bin/env python …

Member Avatar for clouds_n_things
1
308
Member Avatar for tristanhall

We are making the switch to iMacs later this year but to improve employee productivity and enforce access policies we need to find a "business class" internet filter for our new iMacs. I can always configure our network to block the sites but this is primitive as it doesn't filter …

Member Avatar for JorgeM
0
329
Member Avatar for dannyniu

As you can see from the title, I'm suffering the problem. developer.apple.com didn't provide much information about this, I have to ask for solution somewhere else. I already know how to up/down-load files and create directories, but the official reference doesn't say how to undo it. I hope some one …

Member Avatar for dioioib
0
1K
Member Avatar for MoZo1

This prints NULL: [CODE=Java]String sss = System.getSecurityManager() == null ? "NULL" : System.getSecurityManager().getClass().getName(); System.out.println(sss);[/CODE] And this throws exception: [CODE]ServerSocket serversocket = new ServerSocket(80);[/CODE] This one: [CODE]Exception in thread "main" java.lang.Error: java.net.BindException: Permission denied at httpserver.HTTPServer.main(HTTPServer.java:68) Caused by: java.net.BindException: Permission denied at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383) at java.net.ServerSocket.bind(ServerSocket.java:328) at java.net.ServerSocket.<init>(ServerSocket.java:194) at …

Member Avatar for MoZo1
0
422
Member Avatar for binaryhackerman

Forgive me if this has been answered, I searched and couldn't find anything. I have several servers running on my LAN that i want to be able to access via host name instead of IP and port number (e.x. ted instead of 173.166.39.161:5000 for my ted 5000 energy monitor) because …

Member Avatar for binaryhackerman
0
263
Member Avatar for stevenros

I am a Mac 10.6 user. One of my friends suggested me to defrag my drive in order to optimize mac performance. My friend who is at Mac 9.2 suggested me from his own experience. But when I went through Mac support , it says that there is no need …

Member Avatar for jingda
0
348
Member Avatar for Billy D

I'm not sure if this is possible. Basically, I have a function that will detect the current active user. [CODE]string currentUser() { string user; ofstream outf("CurrentUser.dat", ios::trunc); system("whoami >> CurrentUser.dat"); outf.close(); ifstream inf("CurrentUser.dat"); inf >> user; return user; }[/CODE] I have another function which will create a directory in the …

Member Avatar for Billy D
0
357

The End.