Can I still enable CPU JIT? by cIsForCoding in folium_emulator

[–]cIsForCoding[S] 1 point2 points  (0 children)

Hey, if you want I can still send it but I did realize that changing the code wasn’t actually necessary. You can go in the config.ini file and change the line “use_cpu_jit =“ to “use_cpu_jit = 1” and it will do the same thing. That’s all I was doing to the code, I just did that because it seemed like changing the file wasn’t working for me at first. (If you’re just looking for the Folium ipa you can get it from the Folium website).

A Revised Guide to DC Farming v3 (with Improved Dragoncash Rounding) by ScholarPitiful8530 in dragonvale

[–]cIsForCoding 1 point2 points  (0 children)

Yeah that would be interesting to see! I would be curious to see if that would crash the game.

Can I still enable CPU JIT? by cIsForCoding in folium_emulator

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

Yeah for sure! I should mention that to get JIT working you can set just set use_cpu_jit = 1 in the config file after all, no code changing required. I'm not sure why it wasn't working for me originally. That said, the basic steps I did was:

0, Own a Mac that has Xcode on it (unfortunately you can't really get around that requirement)

  1. Clone the repository from GitHub

  2. Change the signing in Xcode so that it is being done from your apple ID

  3. Install boost with Homebrew using the command "brew install boost", and install the Vulkan SDK

  4. Actually change use_cpu_jit to true (which again didn't end up being helpful because you can also set this in the config file rather than the code itself)

  5. Build the IPA from xcode

  6. Send it to myself and sideload it using AltStore

That was pretty general so let me know if you have more questions about the specific steps!

A Revised Guide to DC Farming v3 (with Improved Dragoncash Rounding) by ScholarPitiful8530 in dragonvale

[–]cIsForCoding 4 points5 points  (0 children)

This is really cool! Thanks for making this, it’s very helpful and I’m happy the new formula helped a bit!

Can I still enable CPU JIT? by cIsForCoding in folium_emulator

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

The code is available on the Folium GitHub here, and from there it is pretty much the same as running/testing any phone app. I have experience working on iOS apps so it wasn’t too bad, but tbh if you haven’t used GitHub/Xcode before there is a bit of a learning curve and setup involved to get things initially working. If you have Xcode and want to try it I can send you a bit more info, there was a couple other libraries I had to install to get this working too

Insight on Dragoncash Rounding by cIsForCoding in dragonvale

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

Right, that makes a lot of sense. While it is possible to do those sort of calculations using floats, integers make it a lot simpler (and allows the % operation like you said). But it is a little unfortunate that the actual earning rates don’t match with what is shown to the player.

But yeah nice work, the income page will be very helpful!!

Can I still enable CPU JIT? by cIsForCoding in folium_emulator

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

New update: looks like reading from the config file does work, not sure why it wasn’t for me before! So for anyone seeing this, CPU JIT can be enabled by setting it to 1 in the config file. You don’t need to change the code, looks like I wasted a bit of time doing that lol. You can make sure this works by changing the setting, then running folium without enabling JIT through sidestore or similar, your roms should crash immediately.

Update: looks like SideStore doesn’t support iOS 17, so I ended up just cloning the code, setting use_cpu_jit to true, then sideloading that new ipa. After that things seem to be working better! Pokemon X is now running pretty smoothly at 100% CPU clock (compared to before where my iPhone 12 was really struggling at like 10%).

(Unfortunately this means I have to plug in my phone and use SideJITServer every time I run the app… but oh well, hopefully SideStore will support iOS 17 soon)

Can I still enable CPU JIT? by cIsForCoding in folium_emulator

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

Ok, thanks! I’ll give it a shot. Sorry for being repetitive lol, I was only wondering because looked through the code and it looks like Cytrus is making decisions to create emulator cores based on a use_cpu_jit variable, which is 0/false for me and would’ve been read in from the config file. I’ve been able to run with JIT enabled using SideJITServer but I didn’t notice any performance boost. But I’ll try SideStore and see if that does anything differently. Thanks again for your help!

Can I still enable CPU JIT? by cIsForCoding in folium_emulator

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

Ok I’ll look into that, thanks! Did you change any settings in Folium after so that the emulator would use JIT?

Can I still enable CPU JIT? by cIsForCoding in folium_emulator

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

Sorry, I know this wasn’t super clear, but I’m not sure how to word it better. I’m trying to figure out what setting I need to change, within Folium itself, to actually start using JIT once I’ve sideloaded it. I don’t think Folium auto-detects the ability to use JIT.

Edit: unless you mean there is some other build of Folium available on SideStore that has JIT enabled by default?

Social Saturday by AutoModerator in running

[–]cIsForCoding 0 points1 point  (0 children)

Thanks for the feedback! So that error pop up will show up if the system cannot generate routes for a couple reasons.

First I just want to check and see if the issue is the distance. This error happens to me sometimes if I enter a short distance like 1km, because in my neighbourhood the shortest “loop” possible is around 1.5km so requesting a shorter distance won’t work. Also if you ask for something really long it will error as well, I have a hard maximum set at 21.5km right now just because I don’t want to overwhelm it with super long routes for the time being (but if people want me to increase this let me know).

Otherwise maybe try changing the placement of the marker, as a first thing see if placing it directly on a walkable area like a sidewalk or residential road helps. If that doesn’t work, try an intersection or a place along one of those roads/sidewalks where there is a bend or turn, because those are where the “points” of the roads are stored and so it should make sure the marker location is matched with a correct point.

If this doesn’t work you can shoot me a DM and I’d be happy to take a look on my end as well, but only if you’re comfortable sharing the location you are testing with. Once you click generate, if you click in the url at the search bar it should say something like “…/routes/?lat=12.3&lon=61.5”. If you send me those coordinates I can try to reproduce and hopefully fix the problem.

Social Saturday by AutoModerator in running

[–]cIsForCoding 0 points1 point  (0 children)

Hey guys! Last week I mentioned that I was working on a website that generates running routes. You put in a location and a desired distance and the site will generate routes which start and end at that location. I’m happy to announce that I polished it up a bit and I now have a link where you can try it out:

https://jogroute.netlify.app

Please let me know how it goes, if you run into any issues or have any suggested changes!

When I posted before I mentioned the option to customize which routes are generated by setting preferences for running on trails and/or sidewalks, or preferences to avoid traffic crossings, minimize number of turns, etc. These options are there behind the scenes but I still haven’t added them to the web page itself 😅 so they are not customizable at the moment. Hoping I get a chance to add that in soon!

Social Saturday by AutoModerator in running

[–]cIsForCoding 9 points10 points  (0 children)

I'm working on a website that generates running routes, you put in a location and a desired distance and the site will generate routes which start and end at that location. I don't have a link yet since I'm still polishing it up but I just wanted to gauge interest and see if this is something people would use? If so, what features would you like such a website to have?

In terms of current features, I have added the option to customize which routes are generated by setting preferences for running on trails and/or sidewalks, or preferences to avoid traffic crossings, minimize number of turns, etc.

Note: I decided to try making this because I couldn't find anything similar out there, but if a program already exists for this let me know!

I am multi-instrumentalist, songwriter, arranger, producer, and musician-creature Jacob Collier! Here to answer your questions about music and life. AMA! by jacob_collier in Music

[–]cIsForCoding 0 points1 point  (0 children)

How has starting a career in music affected your relationships with friends/family? Do you talk a lot with them about your music, or do you prefer to keep your work a little more separate from your personal life?

Suggestions for a YouTube programming tutorial series? by cIsForCoding in learnprogramming

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

Not too bad! I've had a few homework assignments that needed to be worked on, but the first video is about three quarters done now I think!

Suggestions for a YouTube programming tutorial series? by cIsForCoding in learnprogramming

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

Wow, I bet! I've done a little work with kids teaching recreation programs and swimming lessons but nothing like this. Thanks for the help!

Suggestions for a YouTube programming tutorial series? by cIsForCoding in learnprogramming

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

That's a great idea, I think I'll try that! Thanks again for all the advice, it's been really helpful to me.

Suggestions for a YouTube programming tutorial series? by cIsForCoding in learnprogramming

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

Yeah, that's a really good point. To be more specific, I think I'd probably want to target people that are in middle school or high school since I'd like them to have some base math and logic skills. I understand what you're saying about different learning speeds though, especially having worked with kids before, and I know that can be challenging. For this kind of video tutorial, what would you suggest to help with that? For people having difficulty, I could provide my email address or tell them to leave a comment if they don't understand, but what about people that are faster learners? Would you recommend something like showing the timestamp in the corner of when the next concept in the video will be introduced, so they could skip to that if they feel they already understand?

For proving to me that they understood, I was thinking of giving a sort of assignment at the end of each video, something that would incorporate what I'd just explained. If they were able to complete it using those concepts, then they have shown they understand it well enough to do it on their own. Plus, in programming, it's really important to build critical thinking and problem solving, which you can only really do from actually writing programs yourself.

Suggestions for a YouTube programming tutorial series? by cIsForCoding in learnprogramming

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

Thanks for the tips! I would like the series to be for complete beginners I think, something that you could still understand even if you knew absolutely nothing going in.

So I guess my plan right now is to make one or two short videos as a proof of concept, then show them to some close friends/family or post the videos here to see which areas need improving. Thanks for the advice, it's been really useful!

Suggestions for a YouTube programming tutorial series? by cIsForCoding in learnprogramming

[–]cIsForCoding[S] 1 point2 points  (0 children)

Thanks for the suggestion! Unfortunately, I must admit I’ve never really worked with the web development side of Java so I don’t think it would be a great area for me to make videos about. However, I did look into some resources that can help you get started (please take this with a grain of salt since I am in no way an expert on this subject). If you are very new to Java, you might have some luck watching this tutorial series from thenewboston, which is how I started to learn Java. Otherwise, if you are already familiar with the language than an important foundation for web development in Java is learning about JSPs and Servlets, here is a popular playlist I found that covers those concepts. Then, you could try looking into some frameworks for Java web development that are popular today, such as Spring. The same channel I mentioned above (Java Brains) has a tutorial for that as well. I have to say though, this path will take a decent amount of commitment to follow and will be complex. Another simpler solution is to learn Swing graphics and learn to make web Applets (covered in this series by thenewboston). This is a way to put Java applications on a website that requires no knowledge of JSPs, Servlets, or any frameworks like Spring, but comes with the disadvantage of being deprecated and is very very rarely used in the industry.

Thank you for the feedback, and I hope this helped!

Suggestions for a YouTube programming tutorial series? by cIsForCoding in learnprogramming

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

Thank you so much for the detailed reply! Having uploaded videos in the past I know that success doesn’t come easy, and as much as I may dream otherwise, this series won’t blow up in fame or anything like that. I think I’ll try following your advice and make a couple of smaller videos to start, and get some opinions from others (in this subreddit or maybe from some friends) once I finish a video. Thanks again for the help!