• Programming - WAYWO - March 2013
    1,001 replies, posted
If you're an indie and you bet on Microsoft you only have yourself to blame.
[media]http://www.youtube.com/watch?v=kDC0bh0oh7k[/media] I guess I'm okay with that
[QUOTE=danharibo;39836183]If you're an indie and you bet on Microsoft you only have yourself to blame.[/QUOTE] lol [img]http://facepunch.com/fp/browser/linux.png?[/img]
[QUOTE=danharibo;39836183]If you're an indie and you bet on Microsoft you only have yourself to blame.[/QUOTE] We need a stallman smilie.
[QUOTE=supersnail11;39836836]We need a stallman smilie.[/QUOTE] I don't see what that has to do with anything. Free software is completely unrelated to the fact that Microsoft doesn't care about indie developers.
[QUOTE=danharibo;39836183]If you're an indie and you bet on Microsoft you only have yourself to blame.[/QUOTE] I don't know why people are rating this dumb, he's entirely correct and this isn't the first thing that MS has deprecated out of nowhere. You simply can't rely on something made by them if you want long term. You NEED a backup plan. Everything they make minus a few exceptions end up deprecated or having to be relearned. Web Expression? Good joke. Exchange? That one keeps improving at least, but if you're a server admin you need to recertify and relearn a lot of shit every time they upgrade it. C# ? Great language, but how long will it last? A lot of you are young and don't realize this yet, but this isn't really new coming from Microsoft. I'm not saying you should avoid their products because it's more complicated than that, but if you're going to spend years working with a toolset, making it yourself or using open source components that do not need commercial support to be viable is a good idea. I'm all for MonoGame, and I hope it makes the whole thing less painful than it currently is, but the real issue is what danharibo correctly stated: people relying on technology that simply cannot be relied upon. Other companies are doing the same in certain areas. For instance, relying on Google APIs to provide a commercial product is a bad idea if you follow history closely.
[img]http://puu.sh/2dQ3f[/img] I rewrote some parts of Vortex2D.NET engine to hide useless details and info, and i've also added some colors to console log so it's a bit more readable.
[QUOTE=gparent;39836917]A lot of you are young and don't realize this yet, but this isn't really new coming from Microsoft. I'm not saying you should avoid their products because it's more complicated than that, but if you're going to spend years working with a toolset, making it yourself or using open source components that do not need commercial support to be viable is a good idea.[/QUOTE] That is a good point. The problem is that, until MonoGame came along, there was no good open source alternative to XNA. DirectX has OpenGL, C# has Java. XNA only has MonoGame, which still relies on Visual Studio and most of the XNA content pipeline. But I went ahead and made a stallman smiley anyways. [IMG]http://i.imgur.com/pVePkBM.gif[/IMG]
[QUOTE=supersnail11;39837092]That is a good point. The problem is that, until MonoGame came along, there was no good open source alternative to XNA.[/QUOTE] Which is why if I had continued my game, it would've been made in C++ with Ogre3d :)
[QUOTE=Ziks;39830382]Well git's all fun and games until someone gets a detached HEAD.[/QUOTE] I know it's just a joke, but I've seen a fair number of git noobs freak out about this ("OH NO WHAT DID I DO!?"). Getting out of a detached HEAD state is very easy (in fact command line git tells you exactly what to do), and deliberately detaching HEAD can be quite useful (and is also easy).
I find proprietary software a gamble. You can have companies pushing them and actively developing it, but at the end of the day all that matter is that there's a profit. When it dries up, they drop support and you're left with an infrastructure built on a ticking time bomb, ready to break as the industry moves forward. XNA was a gamble, and thanks to the industry moving to Windows RT we've lost. Had it been open source, we wouldn't be having this discussion.
[QUOTE=Jookia;39837408]I find proprietary software a gamble. You can have companies pushing them and actively developing it, but at the end of the day all that matter is that there's a profit. When it dries up, they drop support and you're left with an infrastructure built on a ticking time bomb, ready to break as the industry moves forward. XNA was a gamble, and thanks to the industry moving to Windows RT we've lost. Had it been open source, we wouldn't be having this discussion.[/QUOTE] Hopefully MonoGame will fill that void.
[QUOTE=Jookia;39837408]XNA was a gamble, and thanks to the industry moving to Windows RT we've lost. Had it been open source, we wouldn't be having this discussion.[/QUOTE] More developers should open source their abandoned software projects. If they're not making any money off it anymore, why keep it from the community?
gmod ruiner 2000 progress update [img]http://i.imgur.com/TqqsI9o.png[/img]
I was high as fuck. I used my laptop and I had sorta anxiety attack. I had panic. I said "calm down" in my head, and quickly went here on facepunch, WAYWO. And then my panic subdued. Then I asked myself "I am addicted to programing?" and found intense revelation. I in fact spend whole day at computer, coding shit in C# that, crapped whole projects 5 times and did nothing. I think I am addicted to programming. As known to human kind, there is no such evidence of existence of this type of addiction. That was my revelation. I think I will just call it a day, tomorrow is another day.
Kind of.. like an epiphany?
[QUOTE=supersnail11;39835778]It's a shame. XNA was a great platform. Our only hope now is that MonoGame will be able to continue the framework.[/QUOTE] I'm working with monogame and everything is great so far. They're doing a bangup job and i can't wait for them to finish their work on porting the XNA content projects.
[QUOTE=gparent;39836917]I don't know why people are rating this dumb, he's entirely correct and this isn't the first thing that MS has deprecated out of nowhere. You simply can't rely on something made by them if you want long term. You NEED a backup plan. Everything they make minus a few exceptions end up deprecated or having to be relearned. Web Expression? Good joke. Exchange? That one keeps improving at least, but if you're a server admin you need to recertify and relearn a lot of shit every time they upgrade it. C# ? Great language, but how long will it last? A lot of you are young and don't realize this yet, but this isn't really new coming from Microsoft. I'm not saying you should avoid their products because it's more complicated than that, but if you're going to spend years working with a toolset, making it yourself or using open source components that do not need commercial support to be viable is a good idea. I'm all for MonoGame, and I hope it makes the whole thing less painful than it currently is, but the real issue is what danharibo correctly stated: people relying on technology that simply cannot be relied upon. Other companies are doing the same in certain areas. For instance, relying on Google APIs to provide a commercial product is a bad idea if you follow history closely.[/QUOTE] Can't say it isn't kind of unnerving thinking one company with mostly their own profit in mind can pull the plug on a language I use extensively, but on the other hand, there will ALWAYS be someone willing to reboot the thing if it's worth doing. XNA worked, they dropped it, there's MonoGame. If they, for what ever reason, decide to drop .NET, Mono is here again as an alternative. You don't even have to change any of your projects. In a sense, MS discontinuing those products is a win for open source, isn't it? If I recall from before, C# is one of the most popular languages in the industry, if not THE most popular. Dropping .NET wouldn't make people go for the next new thing MS introduces. It would make them just use Mono.
[vid]http://dl.dropbox.com/u/11093974/Junk/20130308_0351_52_VP8.webm[/vid] not exactly what i meant to do
[QUOTE=jalb;39841557][vid]http://dl.dropbox.com/u/11093974/Junk/20130308_0351_52_VP8.webm[/vid] not exactly what i meant to do[/QUOTE] Windows XP simulator 2013
Implementing frame-based animations. [video=youtube;e7mMwo8PHeU]http://www.youtube.com/watch?v=e7mMwo8PHeU[/video]
Just for waste time, I created a Projectile Motion simulator. The program needs 3 arguments for inicialization: the projectile name, the projectile initial velocity and the angle. After did that, the program will say that the <Projectile_Result.res> file was done. This file is the map of the projectile trajectory, since the initial velocity until the range of the projectile. Here's the result of the Facepunch projectile: [code] Projectile name : Facepunch Initial velocity: 15.00000000 m/s Angle : 5.00000000 degrees **** All values is given by the SI units **** t Vx Vy X Y 0.000 14.94292 1.30734 0.00000 0.00000 0.001 14.94292 1.29751 0.01494 0.00130 0.002 14.94292 1.28769 0.02989 0.00260 0.003 14.94292 1.27787 0.04483 0.00388 . . . . . 0.266 14.94292 -1.30532 3.97482 0.00027 Max height : 0.08700508 meters Range : 3.97789049 meters Time elapsed: 0.26620570 seconds [/code] I didn't put all the map because it's big, depending the initial velocity and the angle. It's not much precise and there is no frictional force like air resistence. And here is the code: [code] #include <iostream> #include <iomanip> #include <cstdlib> #include <cstring> #include <fstream> #include "projectile.hpp" using namespace std; int main(int argc, char *argv[]) { Projectile projetil(argv[1], atof(argv[2]) , atof(argv[3])); string tmp = projetil.getProjectileName(); tmp.append("_Result.res"); char *filename = new char[tmp.length()+1]; strcpy(filename, tmp.c_str()); ofstream result(filename, ios_base::trunc); result << setiosflags(ios::right | ios::fixed); result << setprecision(8); result << "Projectile name : " << projetil.getProjectileName() << endl; result << "Initial velocity: " << projetil.getInitialVelocity() << " m/s" << endl; result << "Angle : " << projetil.getAngle() << " degrees\n" << endl; result << "**** All values is given by the SI units ****" << endl << endl; // Header result << " t Vx Vy X Y" << endl; for (float i = 0; i <= projetil.getRangeTime(); i += 0.001) { result << setprecision(3); result << i << " " << setprecision(5) << projetil.getHorizontalVelocity() << " " << projetil.getVerticalVelocity(i) << " " << projetil.getHorizontalPosition(i) << " " << projetil.getVerticalPosition(i) << endl; } result << setprecision(8); result << "\nMax height : " << projetil.getMaxHeight() << " meters" << endl; result << "Range : " << projetil.getRange() << " meters" << endl; result << "Time elapsed: " << projetil.getRangeTime() << " seconds" << endl; return 0; } [/code]
[QUOTE=Map in a box;39839285]Kind of.. like an epiphany?[/QUOTE] I googled epiphany (didn't knew what it ment) and saw definition "a sudden realization of great truth", so yeah it's pretty accurate :D.
[QUOTE=Darwin226;39841001]but on the other hand, there will ALWAYS be someone willing to reboot the thing if it's worth doing.[/QUOTE] This is obviously false because it isn't always possible to "reboot the thing". [QUOTE=Darwin226;39841001]In a sense, MS discontinuing those products is a win for open source, isn't it?[/QUOTE] If you mean because they'll use something else than XNA, then yes. People moving away from proprietary toolkits is a win for open source. [QUOTE=Darwin226;39841001]If I recall from before, C# is one of the most popular languages in the industry, if not THE most popular. Dropping .NET wouldn't make people go for the next new thing MS introduces. It would make them just use Mono.[/QUOTE] Not really. Mono is a joke compared to the real .NET if you're working on software that is actually relevant to the real world. It works for the common case, but you can't seriously rely on it in the enterprise unless you work -only- with mono from the get go.
[QUOTE=gparent;39843654]This is obviously false because it isn't always possible to "reboot the thing". If you mean because they'll use something else than XNA, then yes. People moving away from proprietary toolkits is a win for open source. Not really. Mono is a joke compared to the real .NET if you're working on software that is actually relevant to the real world. It works for the common case, but you can't seriously rely on it in the enterprise unless you work -only- with mono from the get go.[/QUOTE] It may not be as extreme an example as in actual industry, but the game and web server for my team's software engineering project is written entirely in C#, developed by me on a Windows machine, and staged on a live server running Debian. The only issues I've had was using two different database management systems; SqlCe on Windows and Sqlite 3 on Linux. That was easily fixed with: [csharp]#if LINUX using DBConnection = Mono.Data.Sqlite.SqliteConnection; using DBCommand = Mono.Data.Sqlite.SqliteCommand; using DBDataReader = Mono.Data.Sqlite.SqliteDataReader; #else using DBConnection = System.Data.SqlServerCe.SqlCeConnection; using DBCommand = System.Data.SqlServerCe.SqlCeCommand; using DBDataReader = System.Data.SqlServerCe.SqlCeDataReader; using DBEngine = System.Data.SqlServerCe.SqlCeEngine; #endif[/csharp]
[QUOTE=HeatPipe;39838646]I was high as fuck. I used my laptop and I had sorta anxiety attack. I had panic. I said "calm down" in my head, and quickly went here on facepunch, WAYWO. And then my panic subdued. Then I asked myself "I am addicted to programing?" and found intense revelation. I in fact spend whole day at computer, coding shit in C# that, crapped whole projects 5 times and did nothing. I think I am addicted to programming. As known to human kind, there is no such evidence of existence of this type of addiction. That was my revelation. I think I will just call it a day, tomorrow is another day.[/QUOTE] i'm prescribing you with 120mg of Chillax[sup](TM)[/sup] and 1 dose of Ruboneout[sup](TM)[/sup] no need to thank me
[QUOTE=Darwin226;39841001]Can't say it isn't kind of unnerving thinking one company with mostly their own profit in mind can pull the plug on a language I use extensively, but on the other hand, there will ALWAYS be someone willing to reboot the thing if it's worth doing. XNA worked, they dropped it, there's MonoGame. If they, for what ever reason, decide to drop .NET, Mono is here again as an alternative. You don't even have to change any of your projects.[/QUOTE] Those sound like famous last words to me.
[QUOTE=HeatPipe;39838646]I was high as fuck. I used my laptop and I had sorta anxiety attack. I had panic. I said "calm down" in my head, and quickly went here on facepunch, WAYWO. And then my panic subdued. Then I asked myself "I am addicted to programing?" and found intense revelation. I in fact spend whole day at computer, coding shit in C# that, crapped whole projects 5 times and did nothing. I think I am addicted to programming. As known to human kind, there is no such evidence of existence of this type of addiction. That was my revelation. I think I will just call it a day, tomorrow is another day.[/QUOTE] Do you get that often? Because while it is sort of normal for a marijuana user to occasionally get anxiety/panic during the come up it may be indicative of an anxiety/panic disorder. I suffer from one of those and it sucks :(, I often get what you described having to calm myself down or I'll convince myself: I'm losing my mind I have a brain tumor I have some sort of developmental issue I'm going to have a heart attack I'm going to die Despite a doctor telling me otherwise on every single count :P Just to clarify so no one thinks me a loon: Intellectually I know that I have none of these things, but they're irrational fears.
[QUOTE=gparent;39843654] Not really. Mono is a joke compared to the real .NET if you're working on software that is actually relevant to the real world. It works for the common case, but you can't seriously rely on it in the enterprise unless you work -only- with mono from the get go.[/QUOTE] Which rock did you just crawl out from? Because last time I checked Mono is pretty feature complete. Perfectly replacing .Net 1, 2, 3, 4, and partial if not full support for .net 5 (4.5). Not to mention it has Silverlight support dubbed [url=http://www.mono-project.com/Moonlight]Moonlight[/url]. Every .net program I have thrown at mono work perfectly fine unless it has a operating system check in the start-up code or directly relies on WinAPI or other library through P/Invoke.
[QUOTE=anthonywolfe;39844938]Which rock did you just crawl out from? Because last time I checked Mono is pretty feature complete. Perfectly replacing .Net 1, 2, 3, 4, and partial if not full support for .net 5 (4.5). Not to mention it has Silverlight support dubbed [url=http://www.mono-project.com/Moonlight]Moonlight[/url]. Every .net program I have thrown at mono work perfectly fine unless it has a operating system check in the start-up code or directly relies on WinAPI or other library through P/Invoke.[/QUOTE] Anything using the entity framework has to have some reference fiddling, but that's simple.
Sorry, you need to Log In to post a reply to this thread.