psn Posted August 3, 2014 Report Share Posted August 3, 2014 Try Python for high level stuff, C for low level stuff and Java or C# for object oriented stuff. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2195962 Share on other sites More sharing options...
Guest Posted August 3, 2014 Report Share Posted August 3, 2014 On 8/2/2014 at 7:25 PM, Kcinsu said: I read the swift manual the day after it was announced, and was very pleased with what I saw. I am, however focusing on C/C++/objectice-c for now, as there will be a lot of legacy code for sometime, that I want to be able to understand. Also,a lot of the lower level stuff like core audio etc is in C, and so I want to really know how to use that. I do really look forward to getting hands on with swift soon though. pretty much my thoughts also. I want to slowly migrate away from ObjC towards more portable C/C++ Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2195988 Share on other sites More sharing options...
Guest Posted August 3, 2014 Report Share Posted August 3, 2014 On 8/3/2014 at 5:54 AM, logakght said: Question: So I have decent skills in Processing, also I'm learning Pure Data (but I guess it isn't that much of a versatile language). Which language should I learn next? I like to do creative cool stuff, no boring databases and shit like that. C++, Java, C#, Python, or any other? imo it depends on what platform you want to run your stuff. Java fucking sucks. you might like openFrameworks, it's C++ and it's like Processing but harder and faster and it is not Java. Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2195989 Share on other sites More sharing options...
geosmina Posted August 3, 2014 Report Share Posted August 3, 2014 The problem with me is that I know there are a lot fucking lot of languages I could learn, and I don't know, then, what I could do with each one. On 8/3/2014 at 6:27 AM, psn said: Try Python for high level stuff, C for low level stuff and Java or C# for object oriented stuff. I know, but let's finish this now... Reveal hidden contents Can I really do whatever the fuck I imagine in any language, just with a different workflow/syntax? Sorry for the noob question. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide geosmina's signature Hide all signatures https://animanoir.xyz/ Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196177 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 4, 2014 Author Report Share Posted August 4, 2014 On 8/3/2014 at 11:43 PM, logakght said: The problem with me is that I know there are a lot fucking lot of languages I could learn, and I don't know, then, what I could do with each one. On 8/3/2014 at 6:27 AM, psn said: Try Python for high level stuff, C for low level stuff and Java or C# for object oriented stuff. I know, but let's finish this now... Reveal hidden contents Can I really do whatever the fuck I imagine in any language, just with a different workflow/syntax? Sorry for the noob question. You can do everything with any half decent language Some things are just easier in some languages than others Start with C Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196257 Share on other sites More sharing options...
Guest Posted August 4, 2014 Report Share Posted August 4, 2014 yes... maybe get an Arduino starter kit and try some fun stuff with sensors or I dunno. The Arduino is basically a very crappy computer. In this case it's a good thing, limitations boost creativity etc. it'll be an easy transition from Processing too. Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196340 Share on other sites More sharing options...
geosmina Posted August 4, 2014 Report Share Posted August 4, 2014 On 8/4/2014 at 3:44 AM, Zeffolia said: On 8/3/2014 at 11:43 PM, logakght said: The problem with me is that I know there are a lot fucking lot of languages I could learn, and I don't know, then, what I could do with each one. On 8/3/2014 at 6:27 AM, psn said: Try Python for high level stuff, C for low level stuff and Java or C# for object oriented stuff. I know, but let's finish this now... Reveal hidden contents Can I really do whatever the fuck I imagine in any language, just with a different workflow/syntax? Sorry for the noob question. You can do everything with any half decent languageSome things are just easier in some languages than others Start with C On 8/4/2014 at 11:06 AM, phling said: yes... maybe get an Arduino starter kit and try some fun stuff with sensors or I dunno. The Arduino is basically a very crappy computer. In this case it's a good thing, limitations boost creativity etc. it'll be an easy transition from Processing too. Yes, thanks. In fact I'll buy one for school. And also I'm trying open frameworks. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide geosmina's signature Hide all signatures https://animanoir.xyz/ Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196389 Share on other sites More sharing options...
Guest skibby Posted August 4, 2014 Report Share Posted August 4, 2014 (edited) On 8/3/2014 at 4:40 AM, Zeffolia said: My Mandelbrot set viewer is coming along beautifully. Making it in C++ and Qt. Makes high quality images. Just wish there was a cross platform floating point type longer than "long double" - it gets pixelated when you zoom in too far because of rounding errors feature request: can you make it spin around and around when you do zoom animations so it seems like you're falling out of the sky in a biplane? Edited August 4, 2014 by skibby Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196397 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 4, 2014 Author Report Share Posted August 4, 2014 On 8/4/2014 at 3:48 PM, skibby said: On 8/3/2014 at 4:40 AM, Zeffolia said: My Mandelbrot set viewer is coming along beautifully. Making it in C++ and Qt. Makes high quality images. Just wish there was a cross platform floating point type longer than "long double" - it gets pixelated when you zoom in too far because of rounding errors feature request: can you make it spin around and around when you do zoom animations so it seems like you're falling out of the sky in a biplane? It takes a few seconds to render depending on what size it's at so you can't really do smoothe animations (unless you really scale down the detail then it just looks ugly). At least on my computer. But at some locations in the Mandelbrot set you can zoom in and out and it looks like a vortex Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196646 Share on other sites More sharing options...
th555 Posted August 4, 2014 Report Share Posted August 4, 2014 That's awesome Zeffo! But shouldn't it be able to scale endlessly without having to worry about pixels? Rendering a 1000x1000 mandelbrot shouldn't take thát long, should it? Today I did some stuff in Processing (which is basically a graphics wrapper for java) and it's pretty cool. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide th555's signature Hide all signatures https://www.youtube.com/user/THkaas/videos https://thisjepisje.bandcamp.com/ https://soundcloud.com/th555 Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196652 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 5, 2014 Author Report Share Posted August 5, 2014 On 8/4/2014 at 11:25 PM, th555 said: That's awesome Zeffo! But shouldn't it be able to scale endlessly without having to worry about pixels? Rendering a 1000x1000 mandelbrot shouldn't take thát long, should it? Today I did some stuff in Processing (which is basically a graphics wrapper for java) and it's pretty cool. Locations are complex coordinates stored as two floating point values. The largest available float value in C++ is a long double (that I know of). Eventually you can't get more precise because there just aren't enough bits to store a more specific coordinate and zoom factor. So you can keep zooming in, but you'll get pixellation like this because it can't calculate Mandelbrot values for the areas in between the current location since floats can't store values that precise Doesn't take too long depending where you are in the set. If you want more detail you need to do more iterations in the Mandelbrot sequence, but if you raise the max iterations then all values not in the set are a guaranteed x number of iterations wasted. So yeah you can make a 1080p Mandelbrot render even on a shitty computer in an instant, but it won't look good. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196684 Share on other sites More sharing options...
th555 Posted August 5, 2014 Report Share Posted August 5, 2014 Ah, that sucks. So how do other fractal programs deal with this then? Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide th555's signature Hide all signatures https://www.youtube.com/user/THkaas/videos https://thisjepisje.bandcamp.com/ https://soundcloud.com/th555 Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196691 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 5, 2014 Author Report Share Posted August 5, 2014 On 8/5/2014 at 12:41 AM, th555 said: Ah, that sucks. So how do other fractal programs deal with this then? I wish I knew. I've seen vids of zooming in seemingly forever, maybe they have some custom method or my method is just altogether wrong. My method uses a pair of long doubles to store the current location in complex coordinates being rendered, and another long double to store the zoom factor, or the x and y offset per pixel. Halving it zooms in 2x so eventually you can't halve it anymore. Maybe they make sure the values are better aligned to make the best usage of the limits of floats, I don't know too much about that. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196767 Share on other sites More sharing options...
usagi Posted August 5, 2014 Report Share Posted August 5, 2014 On 8/3/2014 at 5:54 AM, logakght said: Question: So I have decent skills in Processing, also I'm learning Pure Data (but I guess it isn't that much of a versatile language). Which language should I learn next? I like to do creative cool stuff, no boring databases and shit like that. C++, Java, C#, Python, or any other? C. everyone should know C. even if it isn't directly relevant to what you want to do, it'll teach you a lot of things about low-level programming that are useful to know. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide usagi's signature Hide all signatures On 4/17/2013 at 2:45 PM, Alcofribas said: afaik i usually place all my cum drops on scientifically sterilized glass slides which are carefully frozen and placed in trash cans throughout the city labelled "for women alco" with my social security and phone numbers. Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196768 Share on other sites More sharing options...
geosmina Posted August 5, 2014 Report Share Posted August 5, 2014 On 8/5/2014 at 5:30 AM, usagi said: On 8/3/2014 at 5:54 AM, logakght said: Question: So I have decent skills in Processing, also I'm learning Pure Data (but I guess it isn't that much of a versatile language). Which language should I learn next? I like to do creative cool stuff, no boring databases and shit like that. C++, Java, C#, Python, or any other? C. everyone should know C. even if it isn't directly relevant to what you want to do, it'll teach you a lot of things about low-level programming that are useful to know. Learning to program an Arduino will make me understand C? And sorry for interrupting your programming talks, I'm still such a noob ;_; Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide geosmina's signature Hide all signatures https://animanoir.xyz/ Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196769 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 5, 2014 Author Report Share Posted August 5, 2014 On 8/5/2014 at 5:49 AM, logakght said: On 8/5/2014 at 5:30 AM, usagi said: On 8/3/2014 at 5:54 AM, logakght said: Question: So I have decent skills in Processing, also I'm learning Pure Data (but I guess it isn't that much of a versatile language). Which language should I learn next? I like to do creative cool stuff, no boring databases and shit like that. C++, Java, C#, Python, or any other? C. everyone should know C. even if it isn't directly relevant to what you want to do, it'll teach you a lot of things about low-level programming that are useful to know. Learning to program an Arduino will make me understand C? And sorry for interrupting your programming talks, I'm still such a noob ;_; You write code for Arduinos in a language which is sort of a wrapper over C with lots of libraries to support the hardware, for GPIO support and stuff like that. I think, I've never used one. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196792 Share on other sites More sharing options...
zkom Posted August 5, 2014 Report Share Posted August 5, 2014 On 8/5/2014 at 5:20 AM, Zeffolia said: On 8/5/2014 at 12:41 AM, th555 said: Ah, that sucks. So how do other fractal programs deal with this then? I wish I knew. I've seen vids of zooming in seemingly forever, maybe they have some custom method or my method is just altogether wrong. My method uses a pair of long doubles to store the current location in complex coordinates being rendered, and another long double to store the zoom factor, or the x and y offset per pixel. Halving it zooms in 2x so eventually you can't halve it anymore. Maybe they make sure the values are better aligned to make the best usage of the limits of floats, I don't know too much about that. For example the legendary Fractint uses arbitrary-precision arithmetic. There are libraries for this, like GMP. Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide zkom's signature Hide all signatures electro mini-album Megacity Rainfall "cacas in igne, heus" - Emperor Nero, AD 64 Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196793 Share on other sites More sharing options...
Guest Posted August 5, 2014 Report Share Posted August 5, 2014 On 8/5/2014 at 8:35 AM, Zeffolia said: On 8/5/2014 at 5:49 AM, logakght said: On 8/5/2014 at 5:30 AM, usagi said: On 8/3/2014 at 5:54 AM, logakght said: Question: So I have decent skills in Processing, also I'm learning Pure Data (but I guess it isn't that much of a versatile language). Which language should I learn next? I like to do creative cool stuff, no boring databases and shit like that. C++, Java, C#, Python, or any other? C. everyone should know C. even if it isn't directly relevant to what you want to do, it'll teach you a lot of things about low-level programming that are useful to know. Learning to program an Arduino will make me understand C? And sorry for interrupting your programming talks, I'm still such a noob ;_; You write code for Arduinos in a language which is sort of a wrapper over C with lots of libraries to support the hardware, for GPIO support and stuff like that. I think, I've never used one. it's just C/C++, I wouldn't say that either Arduino or Processing are or have their own language. (Implementing Processing in Java might have seemed like a great idea at the time, but omg fuck off Java srsly). Both are basically a minimalist IDE with a hardcoded application template to get you started, and a set of APIs, I would say. Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2196874 Share on other sites More sharing options...
Guest FuncRandm Posted August 6, 2014 Report Share Posted August 6, 2014 Zeffolia, you should have a look at GMP the GNU Multiple Precision Arithmetic library for big numbers https://gmplib.org. You can create arbitrarily large numbers here out of the range of double or long double. This is going to be slower than you might hope, but you could get some decent speed increases from choosing how the memory structures are aligned/indexed and parallelisation. You're running this in C++ so you might be able to use the parallel patterns library or openmp which can be pretty decent for simple parallelisation. Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2197440 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 6, 2014 Author Report Share Posted August 6, 2014 On 8/6/2014 at 11:03 PM, FuncRandm said: Zeffolia, you should have a look at GMP the GNU Multiple Precision Arithmetic library for big numbers https://gmplib.org. You can create arbitrarily large numbers here out of the range of double or long double. This is going to be slower than you might hope, but you could get some decent speed increases from choosing how the memory structures are aligned/indexed and parallelisation. You're running this in C++ so you might be able to use the parallel patterns library or openmp which can be pretty decent for simple parallelisation. Awesome thanks, I'll check it out Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2197469 Share on other sites More sharing options...
acid1 Posted August 7, 2014 Report Share Posted August 7, 2014 I wrote a blog post on how to get Reddit json in a table view on an IOS device using Swift. Technically it could work with any JSON. Surprisingly its quite popular http://www.johnmullins.info/blog/2014/08/06/swift-json/ Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2197700 Share on other sites More sharing options...
mcbpete Posted August 7, 2014 Report Share Posted August 7, 2014 Can't ever read JSON without my mind going ... Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Hide all signatures I haven't eaten a Wagon Wheel since 07/11/07... ilovecubus.co.uk - 25ml of mp3 taken twice daily. Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2197708 Share on other sites More sharing options...
acid1 Posted August 7, 2014 Report Share Posted August 7, 2014 lol! Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2197715 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 9, 2014 Author Report Share Posted August 9, 2014 Done with first release of Mandelbrot viewer. If anyone wants to play with it http://tinyurl.com/pnvdn3k Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2198375 Share on other sites More sharing options...
Ivy Zemura yvI oo ii oo Posted August 9, 2014 Author Report Share Posted August 9, 2014 o. instructions. left click is zoom in, right click is zoom out and center. left and right arrow keys change color Thanks Haha Confused Sad Facepalm Burger Farnsworth Big Brain Like × Quote Link to comment https://forum.watmm.com/topic/79152-programming/page/11/#findComment-2198378 Share on other sites More sharing options...
Recommended Posts