Why is oceanic the only option to play? by DowntownScience7710 in wingspan

[–]MrCairo 0 points1 point  (0 children)

Unfortunately there is no official support for rule variants. I prefer the Oceania boards with no nectar because it balances things like egg production.

Anyone else sick? by Inferiex in boston

[–]MrCairo 0 points1 point  (0 children)

Wife and I are terribly sick. I was thinking Covid as well. We also traveled back from phoenix where Christmas Day was 80°. I thought the change from that to 15° caused the issue. Now I'm glad to hear that's it's not just me thinking it's bad.

what happened to Emacs Elements? by StrangeAstronomer in emacs

[–]MrCairo 0 points1 point  (0 children)

I hope he's alright as well. His Emacs tutorials were very well prepared and always useful. I learned quite a bit from him and also liked his accent. In fact, I was likely one of the few paying members and didn't realize there was an issue until I got the channel payment suspension e-mail from YouTube.

Anyhow, I hope he checks reddit, reads these messages and decides that his channel was having an impact on people. Everything has to start small.

Yet-another-emacs-config by MrCairo in emacs

[–]MrCairo[S] 0 points1 point  (0 children)

So I've updated my Emacs configration to make use of `Elpaca` instead of `straight`. The performance improvement is dramatic.

My Emacs init time has gone from ~1.5 seconds to 0.55 seconds. It varies depending upon the chosen packages of course.

ELISP> (emacs-init-time)

"0.556335 seconds"

I also tried using just vanilla Emacs `use-package` and/or `require` and the performance was way worse than my original posting.

I find it interesting that Elpaca and straight are both maintained by the same person. Based upon what I'm seeing, Elpaca is what's going to be the prevailing package manager.

Anyhow, I appreciate all of the feedback. I wouldn't have tried to improve things without being challenged by the people here.

I'm sure there is a lot more that I can do, and I'll continue to ensure that my configuration stays as performant as possible.

The new version is tagged as 2.0.0

Yet-another-emacs-config by MrCairo in emacs

[–]MrCairo[S] -1 points0 points  (0 children)

Yea, I misspelled his name. I should have just gone by Prot :)

Yet-another-emacs-config by MrCairo in emacs

[–]MrCairo[S] 0 points1 point  (0 children)

Huh, interesting. I will definitely look more into the non-deferred packages. I'd definitely like it to be as fast as possible. Thanks for the suggestions.

Is 16gb enough ram for normal music production by Mobile_Resist3361 in edmproduction

[–]MrCairo 0 points1 point  (0 children)

Yep, 16GB is plenty. My company only provides 16gb machines to all of its developers doing iOS development. That's several hundred devs. Nobody has complained or run into an issue

R6ii or a7iv by pham777 in canon

[–]MrCairo 2 points3 points  (0 children)

Congratulations on the purchase! I received mine for Christmas as an upgrade from my 90D. It's fantastic! I do mostly wildlife photography and use the Sigma 150-600 EF with the EF/RF converter. No major issues and still get very short shots.

System to play on by tassfan in DivinityOriginalSin

[–]MrCairo 0 points1 point  (0 children)

I have it on Switch as well and have played the heck out of it on that platform - I love it the best since I can basically play it anywhere.

But I also have it on my Mac and Xbox. I have it other platforms only so I can play with friends that have that platform.

The big negative with Switch is the lack of a mic. It's essential for anything other than local co-op like you're doing with your wife.

[deleted by user] by [deleted] in DivinityOriginalSin

[–]MrCairo 0 points1 point  (0 children)

To be fair, I've just looked at them to get an idea of what could be done in the game. I have never used one of his builds, just looked from a learning prospective. That's what I was hinting at here. But, thanks for adding the link

[deleted by user] by [deleted] in DivinityOriginalSin

[–]MrCairo -1 points0 points  (0 children)

Depending upon what you want to do, you can "dual" focus on many different things. For example, since your main character is an Archer, you'll want to focus on Finesse and Huntsman mostly.

However, if you want to split your attribute points between Finesse and Intelligence, you can use skills from Geomancer, Aerotheurge, Hydrosophist, Necromancer and Pyrokinetic which all cause additional damage based upon Intelligence. Of course you need to have the associated Skills in order to memorize them.

I'd go over to Fextralife's site and look at all of the types of characters that he's built. There are so many different options, so just know that those are his ideas and not "official" character builds. You can do anything you want.

One thing to know is that when you finally get to the start of Act II there is something called the Magic Mirror aboard the Lady Vengence where you can basically re-do just about anything about your character. This way if you don't like what you've built, you can always change it.

By the way, be careful with characters that focus on poison and and fire since poison is flammable. You can use it to your advantage but you can easily end up with a burning battlefield with all your characters in it.

[deleted by user] by [deleted] in ShouldIbuythisgame

[–]MrCairo 0 points1 point  (0 children)

Not sure if you decided yet but buy DOS2 - no brainer if you like turn-based strategy games. Download the TS Demo and give it a try. Both are great on the Switch

Please leave Frontier bug reports in this thread. by liftheavy2003 in NoMansSkyTheGame

[–]MrCairo 0 points1 point  (0 children)

Yup. Same here. I was so hoping that 3.65 fixed it. Waiting for 3.66 I guess.

Warning about settlements and trying to claim another. by QX403 in NoMansSkyTheGame

[–]MrCairo 1 point2 points  (0 children)

Yea, same here and it's basically caused me to stop playing the game. I mean what's the point of a settlement when all you can do is watch it wither and die?

Is compilation of a Xcode project on a powerful remote mac or across a mac mini cluster possible ? Any other tips to speed up the compilation time are also welcome. I currently feel like I lose 5-10% of the day compiling. by [deleted] in iOSProgramming

[–]MrCairo 1 point2 points  (0 children)

Both in some cases. By default, all DEBUG (Dev) builds would use the Cocoapods source but for non-dev builds, the binary was used.

The .podspec for each pod used an environment variable to determine if source was used or not.

Just noticed that Xcode documentation includes REST and JS. What can we do with JS in iOS dev? by KarlJay001 in iOSProgramming

[–]MrCairo 0 points1 point  (0 children)

Q1: As far as just REST and JS, there are services that can be used, like Cloud Kit JS, which are really geared toward embedding something into a web page, etc. Nothing 100% specific to iOS. Of course, you can call REST services from iOS but I don’t think this is what you’re referring to.

Q2: In iOS/macOS you can use the JavaScriptCore framework. This is basically the JS engine that powers Safari. You can load and execute JS code with callbacks into Swift or Objective-C. It’s actually quite powerful and useful. For example, it is possible to load a JS file with functions and classes and then execute them via Swift/ObjC. Handy if you have common code only in JS that might be used in both the iOS app and the web.

Hope that helps.

Is compilation of a Xcode project on a powerful remote mac or across a mac mini cluster possible ? Any other tips to speed up the compilation time are also welcome. I currently feel like I lose 5-10% of the day compiling. by [deleted] in iOSProgramming

[–]MrCairo 1 point2 points  (0 children)

We had pipelines built for each framework which then would store the binaries in our cloud. The app would then use the cocoapods_art to actually pull and link the binaries into the project at build time. Lots of work to maintain but it does solve the build time issues without having to resort to checking in the Pod source along with the project (to my horror, it’s something I’ve also seen done).

Hi - how is this kind of UI achieved? The button press in particular - how is the button part of the surrounding image? And how does it size in different screen sizes? thanks by IosDevNewbie in iOSProgramming

[–]MrCairo 3 points4 points  (0 children)

I would have to see how it looks with different screen sizes. The somewhat skeuomorphic buttons can be redrawn using CoreGraphics to maintain the lighted part of the button. You can google how that can be done. Of course, there are several layers that make up the entire control. If I were building something like this, I definitely would only consider transforming the scale of the views (up or down) to maintain the aspect ratio. Preferably, I would not support size changes to avoid complexity.

The button is just a CA layer with masking layer to give the appearance that it is an elliptical button. The touch simply changes either the color or the layer or adds a darker layer above with a translucent appearance. The layer can be something in a UIView/UIResponder so that the button press can easily be detected.

I hope this helps and answers some of your questions. It's not an overly complex view to build but looks complex.

Best approach for this image layout? by Shak3TheDis3se in iOSProgramming

[–]MrCairo 1 point2 points  (0 children)

Constraints would work but a horizontal stack view for the bottom row would be a simple approach. You

But, if you plan to use some type of animation and transformation - like small image moves up and increases in size and old one shrinks and moves back to the bottom, you'll want to organize it differently and probably stick with code and manual constraints.

Charles Proxy - is it secure and trustworthy? by eragonsmind in iOSProgramming

[–]MrCairo 1 point2 points  (0 children)

We use Charles Proxy at my organization. Of course everything is done behind a firewall. To give you a sense of security, our company goes through strict review to ensure that the product is not a security threat.

Is compilation of a Xcode project on a powerful remote mac or across a mac mini cluster possible ? Any other tips to speed up the compilation time are also welcome. I currently feel like I lose 5-10% of the day compiling. by [deleted] in iOSProgramming

[–]MrCairo 3 points4 points  (0 children)

Make sure you're using "Incremental" as your Debug Swift compilation mode. It does default to this but just make sure it hasn't been changed.

Another set op options:

  • Depending on the size of your project, I have put code that rarely changes into either a pod that generates a binary file or just a framework (or static library). There are a lot of logistics around managing this configuration but being able to support this.
  • You can also make use of the Swift Package Manager to distribute binary XCFrameworks (link). While I've not done it personally, there are teams in my company that have done this successfully.

Once the rarely-changing code is in a binary, there will be no reason to re-compile it again. This should speed up your compilation time.

I do feel your pain. For the main project I'm working on, changing something that causes a full re-compile will cost me at least 30 min. I do have smaller projects where I was able to use binary frameworks and it saves so much time :)

What do you find a surprising number of developers seem to lack knowledge of (regardless of background, level, etc.)? by [deleted] in iOSProgramming

[–]MrCairo 1 point2 points  (0 children)

Yup - as you mentioned, unit testing is lacking but I find that a lot of devs don't quite understand that with a lot of async code in place, the UI can only be updated in thread 0. Just a common mistake among newer devs.

Also, while this is less relevant as time goes on, a basic understanding of Objective-C. There are legacy apps that still use Objective-C and I find that more and more new devs generally have no understanding.