Jump to content

MikeD

Member
  • Posts

    216
  • Joined

  • Last visited

Everything posted by MikeD

  1. Android provides a NDK (native development kit) to develop applications using the JNI (java native interface) API. That allows your app to use C or C++ code. I'm not sure about developing a whole engine, but that seems to me like a good start... After all, the underlying layer of any Android device is part of the Linux kernel.
  2. That is why I didn't like The New Boston from the (admittedly) few videos I've watched: there are a lot of omissions on how the stuff works and what its for. You shouldn't wander off from language to language. It's very easy to wander off and try to learn something that seems better and has more features without fully understanding the concepts by beginning with a more simple language. The question really is what type of paradigm do you want to learn and what do you want to do; only after figuring that out can you look for the appropriate language. Then, every time you stumble upon something that isn't as clear, you can search for an explanation about it without having to go learn some other language first. PS: I would leave your VB books where they are, resting peacefully on the shelf!!
  3. With android I always recommend this: https://developer.android.com/training/basics/firstapp/index.html It will tell you everything you need to know to get started in android. It starts by giving you some code to watch things happen but then goes on to explain how to do things (like app lifecycle management). If you want to get acquainted with java before beginning android, I would suggest http://docs.oracle.com/javase/tutorial/getStarted/index.html The reason I am sending you to the tutorials provided by the developers of the Java language and Android platform is that they can give you insights into the technology that, despite seemingly uninteresting, will help you understand what is happening underneath. When you start making your own apps and you want to know if some feature is available, Google is your friend and the Java api documentation and Android reference will tell you what objects are for and what methods they specify. Hope this helps!
  4. First of all, as MrPG8 said, if you know C# you should be ok with Java. I have also never used Xamarin. Secondly, why would you buy anything at all if you have free tools that were meant to be used together specifically to program for Android? Also, if you use the eclipse bundled with androids sdk you can learn from all the included samples that work off the bat. I recommend you follow the android developers tutorial available at [url=https://developer.android.com/training/basics/firstapp/index.html]https://developer.android.com/training/basics/firstapp/index.html[/url=https://developer.android.com/training/basics/firstapp/index.html] because that really is the most fundamental stuff you need to know to start making apps.
  5. Linus has some kind of wizardry going on for attracting the awesomest deals!! Thanks!
  6. I have a kind of silly, yet important, question: Where am I supposed to plug the CPU connector in the AX860i?! According to the PSU manual... nothing! The only thing I found there is a table stating how many cables were included (just in case I hadn't looked yet!). According to multiple videos and blogs I have a feeling that it doesn't really matter as long as it is in the "PCI-E & CPU" group. Since I am not sure, instead of crossing my fingers and hoping for the best I thought someone could help me before I go and fry my expensive set of machinery. Thanks in advance!
  7. From the C++ console application I've just made up to test lists and vectors I have 2 suggestions: 1. I haven't made many gui apps in c++ but I would stick with vectors because you can access them as easily as vectorname[position]; 2. You could use an iterator with lists. From what I could find about it you can do list::iterator it = std::next(list.begin(), 3); myObj object = *it; //You could do this in the same line (As seen in http://stackoverflow.com/questions/5733842/how-to-get-a-certain-element-in-a-list-given-the-position)
  8. I like Java (it's my go-to language when I want to make some small program just for fun or to deal with cryptographic stuff or RMI) but I am looking forward to learning Scala (one of my teachers said it had some very interesting features). I don't like the Lisp family. Had to write an AI for a game in that language and it was... messy at best!
  9. MikeD

    Java Help

    The solution presented above seems to work as expected, however complicated it may seem (and it seems quite complicated to me!; I have only tried to call a java method from C and not the other way around), but one very bad side effect will be high cpu usage: because of the loop you have on your java program the process will not yield while waiting for a key to be pressed like the stdIn.readLine() would if you used it. So if you don't mind having that process use all the cpu time then this works, but if you have something else happening that needs the cpu you will (probably) notice some slowdown and then maybe it would be better if the user just pressed any button, as long as it is the enter!
  10. Fiber Optics Magic! This was taken at 20:30 GMT (dinner time, basically!).
  11. Thank you for your feedback! I guess I'll be going with the LGA 1155 setup for the moment then with an i7-3770K. I was trying to minimize the changes in an eventual upgrade (change the processor only when they became cheaper) but it's never easy to predict the future! However I think the next time I make an upgrade it'll be with my own hard earned money so I was trying to get the most right now! I was also trying to get a somewhat military look to the overall build (not very important) so I was thinking about getting the Sabertooth Z77, and since a 4 channel memory kit wouldn't quite fit (as I understand it, it would work but not optimally) I would get 2 Corsair Vengeance DDR3-1600MHz 2x4GB kits (16GB total, I sometimes have 3 virtual machines running at the same time to test some network applications (and yes, I'll do that on both Windows 8 and Ubuntu)). How is the Sabertooth's ability to overclock compared to a P8-Z77 or MSI MPower and the kind? As to the graphics card I'll go with a single Asus GTX680 2GB DirectCU II TOP and see what happens afterwards. I would keep everything else as is (namely the PSU and Cooler) to have room to upgrade later (and also for Corsair Link). And I'll go with the SSD for the boot drive then.
  12. Hello everyone. So, last time I used a desktop PC it was about 6 years ago and since then I've been using only my laptop (currently on my 2nd). However I'm starting to have some difficulties running games and working with certain tools (like android emulators) so I convinced my parents (after many months of continuous nagging!) to buy me a decent computer! I'll try to follow the recommendations for posting in this sub-forum. Budget & Location There's not really a budget. It's supposed to be a good value and as future proof as one can make it (and this includes eventual upgrades). I'm from Portugal so I'll be posting prices in Euro (just for some reference). Aim It'll be a gaming/work PC. I plan on running Crysis 3 (already got it but my laptop's graphics card is DX 10.1) and some other games but, as a Computer Science hopefully-soon-to-be-MSc, I also work with multithreading, virtual machines and coding in general. Build Case: CORSAIR VENGEANCE C70 MILITARY GREEN (115.90 €) Motherboard: ASUS SABERTOOTH X79 SOCKET 2011 (303.90 €) CPU: INTEL I7 3820 3.6GHZ 10MB SOCKET 2011 (279.90 €) Cooler: CORSAIR HYDRO SERIES H100i (103.90 €) RAM: 16GB GSKILL RIPJAW Z DDR3 1866MHZ (9-10-9-28) (4x4GB) (103.90 €) PSU: CORSAIR AX860i MODULAR 80 PLUS PLATINUM (219.90 €) GPU: Asus GTX660 Ti 2GB DirectCU II OC (2x)(299.90 €) in SLI HDD: Seagate Barracuda 2TB 64MB SATAIII (6GB/s) 7200 RPM ( 86.90 €) SSD: Samsung 840 PRO SSD 2.5 SATA III 128GB (134.90 €) Fans: NOCTUA NF-F12 PWM 120MM (2x)( 19.90 €) to replace the ones that come with the h100i and use those somewhere else on the case Monitors I'm planning on buying a single Asus PB238Q monitor (245.90 €). Don't have the space for more or really care much about surround. Peripherals I don't need a copy of Windows since my school "offers" licences to students and I will dual-boot with Ubuntu. I will, however, buy a mechanical keyboard and a mouse. I had these in mind: Steelseries 6G V2 Gaming Keyboard US (74.90 €) Roccat Savu Hybrid Gaming Mouse (58.90 €) So, what do you think?! With a couple of other things it's about 2.400 € (3.136 USD). It is already quite expensive so I would like to keep it at or below this threshold. I have been upgrading this list for quite a while now (started with an LGA 1155 build) but I still have some questions: 1) Will LGA 2011 "survive" for a reasonable amount of time? 2) GTX 660 Ti SLI vs GTX 680?! Right now 660 Ti SLI seems pretty good, but maybe if I got a 680 I could add another one later on? Or would I be better off upgrading to "the next level" when time came? 3) How reliable is an SSD? I mean, can I trust an Operating System to it (re-installing it along with all the apps in case of failure would be a headache) or is it better off serving as a cache for the HDD? 4) Since I'll be writing a lot of code and reports but also gaming (not as much as coding though) what kind of key switch would be more appropriate? I know it boils down to user preference but it would be better if I didn't have go to the store and ask to try all the keyboards! Also, what about the mouse? Thanks in advance for your help (and sorry for being too long)!
×