Search results for

“smb big sur”

11,969 results found

Post

Replies

Boosts

Views

Activity

iOS TCP Client: downloading big text file
Hello. I use my iOS application to download big text files from the server over TCP. This is the code I use:func openNetworkCommunication() { if(self.inputStream != nil && self.outputStream != nil) { closeNetworkCommunication() } let ipAddress = delegate?.ipAddressString as! CFStringRef let portNumber = delegate?.ipPort var readStream: Unmanaged<CFReadStream>? var writeStream: Unmanaged<CFWriteStream>? CFStreamCreatePairWithSocketToHost(nil, ipAddress, portNumber!, &readStream, &writeStream) self.inputStream = readStream!.takeRetainedValue() self.outputStream = writeStream!.takeRetainedValue() self.outputBuffer = delegate?.messageToServer.dataUsingEncoding(NSUTF8StringEncoding) as? NSMutableData self.inputStream?.delegate = self self.outputStream?.delegate = self self.inputStream?.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) self.outputStream?.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) self.inputStream?.open
9
0
3.0k
Sep ’15
Reply to Design decisions / goals / philosophy of Swift
Because mathematics in huge parts just plainly fails in describing reality.I'm sure Sir Isacc Newton would be very surprised to hear this.Actually, what mathematics is extremely good at is describing the relationships between things. Which is what declarative, e.g. functional, programming languages also do - allowing you to describe the relationships between your inputs and outputs, while leaving it up to the machine to figure out how/when/if/where to perform the actual calculations. What math is not so good at is describing relationships between state and time. Mind you, neither are your imperative programming languages - the fact that they can do it at all doesn't mean they actually do it well. Especially when non-determinism gets involved - i.e. anything other than a single-threaded single process that never interacts with shared resources - a naive conceit that is comically unrealistic in this modern ubiquitously networked world, but which a great many programmers seem to cling to anyway.If anything, impe
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to Music not syncing from iTunes
I have been fighting with this problem for weeks now.A big problem for me is that my itunes library is large and for some reason my iPhone crashes when it has tried to sync with iTunes, therefore interrupting the sync.The Apple move to streaming is a disaster. Even music that I have bought and bought a high capacity iPhone to store locally does not go on to the iPhone any longer and as a result I need to either download it via wifi or not have any music on my phone. My only fix was a complete restore and back up from iCloud that doesn't have music or photos. Then you have to try and find a way to get the music onto the phone without syncing via a wire.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to inter-module optimization?
The Swift Std Library is one thing: generic. There is nothing functional in it beside the functional based method in some types like map.Here is the take of a big functional programming fan on Swift: http://robnapier.net/swift-is-not-functional
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to iOS TCP Client: downloading big text file
1) I do not get the .EndEncountered event after the text has been loaded. I only get it when the server gets closed. This is printed after I have closed the server:…Until then, the connection remains open (no NSStreamEventEndEncountered).Hmmm, OK. I was under the impression that the server closes the connection after sending you all the data. Clearly that’s not the case.That makes things tricky because you have to decide when to close the connection. Is there something in the data that indicates an EOF? If not, you’ll have to use some heuristic (like a timer).Regardless, I don’t think this should impact on how you parse the data, as I’ll discuss below.2) The text is simple.Indeed, we’re talking ASCII level simple here. Which is good news because it eliminates (literally) a world of potential complexity.The text is a number of blocks of lines separated by a space.By a space? Or a blank line?From the example you posted it looks like a blank line. Presumably it’s reasonable to put a bound on the size of these bl
Sep ’15
Reply to SpriteKit ios9 beta 5 texture atlas
Using the XCode 7 GM and iOS9.0 GM:The big issue I am seeing is a huge performance degradation if you store your texture atlas in the asset catalog, something that is a new capability in XCode 7 (you used to have to store them simply as .atlas folders).[SKTextureAtlas atlasNamed fooName] and [fooAtlas textureNamed] are what I use to create my SKTextureAtlas and array of SKTexture. This is the part that is now much slower. A bit later, I preload the SKTexture atlas with [fooAtlas preloadWithCompletionHandler:..] but the preloading is not noticeably slower.[Edit] I am also seeing bogus node counts and bogus draw counts in iOS9.0 GM. I had submitted a bug for this but Apple did not fix it for the GM release...
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Sep ’15
Reply to get current WiFi ssid
Looks like it works again in iOS 9 GMIndeed.I also want to draw your attention to the big arse comment at the top of <SystemConfiguration/CaptiveNetwork.h> in the iOS 9 SDK included with the Xcode 7.0 GM seed. To wit: IMPORTANT This API is deprecated starting in iOS 9. For captive network applications, this has been completely replaced by <NetworkExtension/NEHotspotHelper.h>. For other applications, there is no direct replacement. Please file a bug describing your use of this API so that we can consider your requirements as this situation evolves. If you do file a bug about this please send me, via email, your bug number. My email address is in my signature, below. For the next month or so I’m going to collect input on this issue.You should, of course, feel free to continue discussing the issue here on DevForums.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
MapKit missing
One of my apps connects to a flight simulator and displays the current position and flight path of the player's aircraft on a Mac or iOS device. I think my customers would love to view this on a big TV screen. From the list of supported frameworks, however, MapKit is missing. How can I petition adding it to the SDK? Do I need to file a bug report?
14
0
2.7k
Sep ’15
a question about Apple itself: how many development teams does Apple have?
I hope this isn't too off-topic:My organisation is considering options for re-organizing its IT staff. One of the thoughts was to centralize the teams and this question came up: How many developer teams do the big three have? Apple, Google, Microsoft? Does anyone know where we can find this info?ThanksAI
Replies
0
Boosts
0
Views
176
Activity
Sep ’15
iOS TCP Client: downloading big text file
Hello. I use my iOS application to download big text files from the server over TCP. This is the code I use:func openNetworkCommunication() { if(self.inputStream != nil && self.outputStream != nil) { closeNetworkCommunication() } let ipAddress = delegate?.ipAddressString as! CFStringRef let portNumber = delegate?.ipPort var readStream: Unmanaged<CFReadStream>? var writeStream: Unmanaged<CFWriteStream>? CFStreamCreatePairWithSocketToHost(nil, ipAddress, portNumber!, &readStream, &writeStream) self.inputStream = readStream!.takeRetainedValue() self.outputStream = writeStream!.takeRetainedValue() self.outputBuffer = delegate?.messageToServer.dataUsingEncoding(NSUTF8StringEncoding) as? NSMutableData self.inputStream?.delegate = self self.outputStream?.delegate = self self.inputStream?.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) self.outputStream?.scheduleInRunLoop(NSRunLoop.currentRunLoop(), forMode: NSDefaultRunLoopMode) self.inputStream?.open
Replies
9
Boosts
0
Views
3.0k
Activity
Sep ’15
Problème effacer CDRW AVEC OS X El Capitan
Bonjour,Bonjour, je viens vers vous parce que depuis ma migration sur BETA OS X El Capitan. Je ne peux pas effacer par Utilitaire de disque CDRW, je grisé?MerciMacBook Pro Tetina, 13 pouces, Fin 2013Procé 2,5 GHz Intel Core i5Mémoire 8 Go DDR3 1600 MHzGraphisme 4000 1536 Mo
Replies
0
Boosts
0
Views
327
Activity
Sep ’15
Reply to Design decisions / goals / philosophy of Swift
Because mathematics in huge parts just plainly fails in describing reality.I'm sure Sir Isacc Newton would be very surprised to hear this.Actually, what mathematics is extremely good at is describing the relationships between things. Which is what declarative, e.g. functional, programming languages also do - allowing you to describe the relationships between your inputs and outputs, while leaving it up to the machine to figure out how/when/if/where to perform the actual calculations. What math is not so good at is describing relationships between state and time. Mind you, neither are your imperative programming languages - the fact that they can do it at all doesn't mean they actually do it well. Especially when non-determinism gets involved - i.e. anything other than a single-threaded single process that never interacts with shared resources - a naive conceit that is comically unrealistic in this modern ubiquitously networked world, but which a great many programmers seem to cling to anyway.If anything, impe
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to SpriteKit Scene Editor Bug (Xcode 7 Beta - Not able to select/edit node in Animate Mode)
Visual feedback for scenes creation and testing different settings/attributes for nodes in the scene is a crucial step in making more advanced visual appealing games. Turning on/off the simulate button for every single change in your scene is a big drawback for xcode. Since this features works in stable xcode releases.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Music not syncing from iTunes
I have been fighting with this problem for weeks now.A big problem for me is that my itunes library is large and for some reason my iPhone crashes when it has tried to sync with iTunes, therefore interrupting the sync.The Apple move to streaming is a disaster. Even music that I have bought and bought a high capacity iPhone to store locally does not go on to the iPhone any longer and as a result I need to either download it via wifi or not have any music on my phone. My only fix was a complete restore and back up from iCloud that doesn't have music or photos. Then you have to try and find a way to get the music onto the phone without syncing via a wire.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to inter-module optimization?
The Swift Std Library is one thing: generic. There is nothing functional in it beside the functional based method in some types like map.Here is the take of a big functional programming fan on Swift: http://robnapier.net/swift-is-not-functional
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to DP3 Exchange woes continue
Still broken for me too. I now don't believe Apple will announce 10.11 release this week however; this is too big a bug not to have squashed, unless somehow they are deliberately restricting exhange accounts until launch (can't think why).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to iOS TCP Client: downloading big text file
1) I do not get the .EndEncountered event after the text has been loaded. I only get it when the server gets closed. This is printed after I have closed the server:…Until then, the connection remains open (no NSStreamEventEndEncountered).Hmmm, OK. I was under the impression that the server closes the connection after sending you all the data. Clearly that’s not the case.That makes things tricky because you have to decide when to close the connection. Is there something in the data that indicates an EOF? If not, you’ll have to use some heuristic (like a timer).Regardless, I don’t think this should impact on how you parse the data, as I’ll discuss below.2) The text is simple.Indeed, we’re talking ASCII level simple here. Which is good news because it eliminates (literally) a world of potential complexity.The text is a number of blocks of lines separated by a space.By a space? Or a blank line?From the example you posted it looks like a blank line. Presumably it’s reasonable to put a bound on the size of these bl
Replies
Boosts
Views
Activity
Sep ’15
iOS Public Beta 3
iOS 9 public beta 3 says i have an update to a new version of iOS but there is no update i got a big popup this morning
Replies
3
Boosts
0
Views
331
Activity
Sep ’15
Reply to Where is the page to submit the extension?
Big trash Apple! Where is one panel like Google Chrome or Mozilla Firefox?!?!?!!!!!!!
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to SpriteKit ios9 beta 5 texture atlas
Using the XCode 7 GM and iOS9.0 GM:The big issue I am seeing is a huge performance degradation if you store your texture atlas in the asset catalog, something that is a new capability in XCode 7 (you used to have to store them simply as .atlas folders).[SKTextureAtlas atlasNamed fooName] and [fooAtlas textureNamed] are what I use to create my SKTextureAtlas and array of SKTexture. This is the part that is now much slower. A bit later, I preload the SKTexture atlas with [fooAtlas preloadWithCompletionHandler:..] but the preloading is not noticeably slower.[Edit] I am also seeing bogus node counts and bogus draw counts in iOS9.0 GM. I had submitted a bug for this but Apple did not fix it for the GM release...
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to get current WiFi ssid
Looks like it works again in iOS 9 GMIndeed.I also want to draw your attention to the big arse comment at the top of <SystemConfiguration/CaptiveNetwork.h> in the iOS 9 SDK included with the Xcode 7.0 GM seed. To wit: IMPORTANT This API is deprecated starting in iOS 9. For captive network applications, this has been completely replaced by <NetworkExtension/NEHotspotHelper.h>. For other applications, there is no direct replacement. Please file a bug describing your use of this API so that we can consider your requirements as this situation evolves. If you do file a bug about this please send me, via email, your bug number. My email address is in my signature, below. For the next month or so I’m going to collect input on this issue.You should, of course, feel free to continue discussing the issue here on DevForums.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to No MKMapKit & WebKit ???
I'd wager that most mobile devs would think markup/Javascript to be a big step backwards. There's a reason hybrid apps are almost non-existent these days.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
MapKit missing
One of my apps connects to a flight simulator and displays the current position and flight path of the player's aircraft on a Mac or iOS device. I think my customers would love to view this on a big TV screen. From the list of supported frameworks, however, MapKit is missing. How can I petition adding it to the SDK? Do I need to file a bug report?
Replies
14
Boosts
0
Views
2.7k
Activity
Sep ’15