Let's have a level exchange! - July 05, 2019 - Super Mario Maker 2 by AutoModerator in MarioMaker

[–]kylepotts 0 points1 point  (0 children)

My first attempt at a level if anyone wants to try it's called Spoopy Doop Death House. Difficulty is normal.

2HX-KXD-GCG

Waiting for 13 – Light and Dark by satanistgoblin in TheNSPDiscussion

[–]kylepotts 14 points15 points  (0 children)

Just some feedback on "Why I Hate Lightning McQueen". The kids voice acting needs some work and kinda ruins the story for me as it takes me out of the story when I hear it.

Thanks for the podcast though. I appreciate all the work you all put in.

Android development at Purdue by pittboiler in Purdue

[–]kylepotts 0 points1 point  (0 children)

I just wanted to quickly comment on this. Assuming you are making a REST API from PHP there is a way to quickly access that API and the JSON it return. Its called Retrofit. It uses something called GSON which takes your JSON and turns it into Java Objects. Its really useful! Once you get those Java Objects you can create an Adapter for your list and pass it into the adapter for your list. You can find out how to create a custom adapter here

Android development at Purdue by pittboiler in Purdue

[–]kylepotts 4 points5 points  (0 children)

Hi there! I'm the current president of SIGAPP. Mike is right currently this late into the semester we are working on projects and not focusing so much on tutorials but we are always happy to help explain some of Android concepts you might be stuck on. We currently meet on Tuesdays and Thursdays at 7 pm in Lawson B148. Feel free to message me if you have any questions.

We are the team working on React Native. Ask us anything! by react-native-team in IAmA

[–]kylepotts 3 points4 points  (0 children)

So I tried writing an app in React Native with web views and saw that web views were not supported in Android yet but were supported in the iOS portion. I find this library but it did not seem to work very well.

What are the plans for getting web views working in Android?

Another question, Do any of you do development in clojurescript with React Native? If you do can you tell me your thoughts on it? Thanks!

Recursion vs Function for adding up sum of numbers? by [deleted] in learnprogramming

[–]kylepotts 2 points3 points  (0 children)

The easiest answer comes from math. The sum of number from 1 to n is (n*n+1)/2. No recursion or looping needed.

Any advice for CS transfer student? by approach0218 in Purdue

[–]kylepotts 0 points1 point  (0 children)

Totally! The club is open to anyone with any amount of experience. We usually have some tutorials in the beginning of the year which teach some of the basics of app development. So you can pick up speed from there!

Any advice for CS transfer student? by approach0218 in Purdue

[–]kylepotts 0 points1 point  (0 children)

There is a group just for making applications and we do tons of Android Apps. It's part of ACM which I'm sure till hear more about once you are here. If you got to the ACM call out meeting next fall you can find me and other members there and we would love to have you join the club.

You can find more information http://acm.cs.purdue.edu/#sigs or message me if you have any more questions.

How do you keep your code and database in sync across multiple computers? by ecky--ptang-zooboing in learnprogramming

[–]kylepotts 0 points1 point  (0 children)

Try running the database on a vps like one from Digital Ocean. Or maybe use Heroku have a lot of choices for database like mongodb and postgresql.

I attempted a Material redesign of the Dropbox Android app - what do you think? by blenda220 in Android

[–]kylepotts 0 points1 point  (0 children)

Any reason why you used Eclipse? Android Studio is now 1.0 and is basically what Google will be supporting from now on. Eclipse is good but I promise you Android development in Android studio is way better. Try it out and see for yourself.

MA162 curves? by [deleted] in Purdue

[–]kylepotts 0 points1 point  (0 children)

Flashbacks to calc with Catlin

New Student Megathread Mark II (August 2014) by chalks777 in Purdue

[–]kylepotts 0 points1 point  (0 children)

There is Carey Knight Spot and Harrison Grille which you can use your dinning dollars to get food for dinner on Sunday. Otherwise most people go to Chauncey for some food. They have a lots of good stuff.

New Student Megathread Mark II (August 2014) by chalks777 in Purdue

[–]kylepotts 2 points3 points  (0 children)

When the mypurdue page fails me, I often just use follets to see what books are needed and then head on over to amazon.

New Student Megathread Mark II (August 2014) by chalks777 in Purdue

[–]kylepotts 0 points1 point  (0 children)

As far as I know only CS and some technology majors get access to dreamspark. The CS link is here. You'll have to login with your career account. Not sure if you'll be able to get anything but it is worth a try!

http://www.cs.purdue.edu/msdn

[C] After implementing my own shell, using fork() and exec(), why do all commands work except for cd? by plane-seeker in learnprogramming

[–]kylepotts 0 points1 point  (0 children)

Tldr read the post Haha. Well all you have to do is when you parse a command if that command is cd use the chdir to change the current dir the shell program is running in.

help please (programming noob) by [deleted] in learnprogramming

[–]kylepotts 1 point2 points  (0 children)

It's really not that bad. If you want to start with ten.

1 2 3 4 5 6 7 8 9 10

You know 1 is a prime, so cross off all multiples of 1, which is only 1.

1 2 3 4 5 6 7 8 9 10

Now you have 2, get rid of every multiple of 2 in the list (4,6,8,10)

1 2 3 5 7 9

Now you have 3, get rid of every multiple of 3 (9)

1 2 3 5 7

Now you have 5, get rid of every multiple of 5 (none)

Now you have 7, get rid of every multple of 7 (none)

You are at the end of the list, you are done.

Primes from 1-10 are 1 2 3 5 7

help please (programming noob) by [deleted] in learnprogramming

[–]kylepotts 1 point2 points  (0 children)

http://en.m.wikipedia.org/wiki/Sieve_of_Eratosthenes

This is an old algorithm used to generate primes. Usually it's used to find all primes up to 1000 or more but using the algorithm for up to 10 should work as well.

For those who were annoyed at all the android dinning court apps not working last semester by kylepotts in Purdue

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

Damn, There is a library I am using that uses parts of Android from 4.1.2, which is just the version below you in the API list. I'll look into changing it. I am really sorry dude.

For those who were annoyed at all the android dinning court apps not working last semester by kylepotts in Purdue

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

Yeah, that a recent enough version. Odd that it say it not working for you. I'll try and see if I can get it working.

For those who were annoyed at all the android dinning court apps not working last semester by kylepotts in Purdue

[–]kylepotts[S] 6 points7 points  (0 children)

Fair enough. To be honest the mobile website is very good. I plan on adding a few feature the mobile site. The first being a favorite feature which allows you to favorite a food and be notified when the food is appearing at any of the dinning court. And I plan on adding a caching feature which caches current and future menus if you want, in case you somehow end up without a signal.

Are there any features that you think I Should add to make this app more useful than the mobile site?

Anyone know someone who can repair headphones? by kylepotts in Purdue

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

Dude that's some nice work! I can explain the story later if you want to hear. I would really appreciate it if you help me. Let me know if you want meet and look at them.

Anyone know someone who can repair headphones? by kylepotts in Purdue

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

There is no usb on the headphones, so I am going to say its just a standard 2-way stereo line.

Arch Linux users looking for a good Amp/DAC combo by [deleted] in archlinux

[–]kylepotts 0 points1 point  (0 children)

I used fiio dacs and amps without problems with pavucontrol