maiden
Member
what was the topic of this thread now again... i cant remember it anymore..
Nice work
looks nice
Nice work
looks nice
Laurent said:kmob, I agree. But that applies to Cpasjuste: he knows much more about Linux than he knows about Windows. So why ask him to do now something that'd be a pain for him? The advice I gave him is to concentrate on his library and then wait for someone knowledgeable to help him make his library for Windows; that will be much better for the community.
AndIn^.^ said:Virtualization? dual booting?
i seriously dont know whats wrong with all of these windows users, linux is free, free to access and use. PLUS, you soon are gonna be using a platform that runs linux, any sane developer would demand of him/her self at least a little of experience in knowing such environment, BEFORE programing for it.
so why not start now? its gonna be much tougher to get to know lin on the pandy only.
btw this is not a rant at Tj specifically but all all of the windows whiners out there:
learn technology, start using linux now!
cheers
-Tj- said:One other thing, my current (Sony) laptop does not have virtualization enabled. It's capable of it, but needs a BIOS hack to open it up to that, and seeing as I need this laptop for work, I can't afford any down time to a BIOS mishap. Sony's said that they may open it up for Windows 7's XP virtualization, but it's not set in stone.
Cpasjuste said:Heya!
No problem for the off topic etc, it's a forum after all !
I did install visual studio, and finaly (after a lot of brainstorming since it's the first time I code on windows) managed to make a gles2d DLL !
There's still a bug, the keyboard is not working (probably joypad too) and a smal crash when exiting the app but I bed I did the hardest job.
So a DLL should be available soon
It's worth a shot. I hadn't seen that one before. Installing Ubuntu on it now, crossing my fingers!dentrado said:You don't need that. Virtualization apps, for example Virtualbox work anyway. Intel VT-x and the like are only to improve performance, but in reality that don't seem to be the case: Should you enable Intel VT-x in VIrtualbox?.
You mean that instead of measuring QEMU nbench you spent time on Windows? :blink:Cpasjuste said:I did install visual studio, and finaly (after a lot of brainstorming since it's the first time I code on windows) managed to make a gles2d DLL !
Laurent said:You mean that instead of measuring QEMU nbench you spent time on Windows? :blink:Cpasjuste said:I did install visual studio, and finaly (after a lot of brainstorming since it's the first time I code on windows) managed to make a gles2d DLL !
-Tj- said:It's worth a shot. I hadn't seen that one before. Installing Ubuntu on it now, crossing my fingers!
Cpasjuste said:I did install visual studio, and finaly (after a lot of brainstorming since it's the first time I code on windows) managed to make a gles2d DLL !
There's still a bug, the keyboard is not working (probably joypad too) and a smal crash when exiting the app but I bed I did the hardest job.
So a DLL should be available soon
This is so true. Comparing the level of instant google support in say Ubuntu and Fedora actually surprised me. With ubuntu I can usually just google "feisty/jaunty (whatever I'm using) <problem>" and get either a clear article about it or at least an informative forum thread. I may have been looking in the wrong place, but with fedora I've had to make do with more generic support articles or articles for other distros, like ubuntu, and fill in the blanks/differences for myself.Kramy said:Ubuntu is great, because usually when you install it everything just works. That gives you time to get familiar with it.
Then once you begin digging deeper, either to configure stuff or screw things up, a quick Google always provides answers. I can't say that about other distros. (Mind you, they have helpful forums most of the time - but forums aren't instant responses or answers, and googled articles or forum posts are.)
This is a rare complaint. Not enough customization in linux compared to XP? I'd actually be interested to know what you're missing.Kramy said:I don't like Ubuntu as an XP replacement yet. Unlike most people, I spent a lot of time customizing XP to suit me, and such customization isn't available on Linux yet.
Well, you could just make a root account to auto-login and never worry about any permissions, but that would be just stupid. With a basic ubuntu setup, you only need to use sudo and enter you password when making changes to the system, which shouldn't be too cumbersome. Just do your stuff in your home directory and touch the rest of the system only when making changes, and you never have to worry about permissions being hard.Kramy said:I also find the whole profile and permissions thing a bit weird. I actually hacked user profiles and permissions out of my XP box so I wouldn't have to deal with them - going to an OS that's even more rigid is a bit strange.
Good to hear you've had some positive experiences as wellKramy said:But I have finally set up my own Ubuntu Samba NAS, which I've been playing with for months. At first it was just an experiment, for watching a few videos, but once I finally dug deep I started having fun. Just got remote desktop working securely, so I'm about ready to plunk it in the corner and use it remotely.
Nowadays I somehow find the drive letter -type organizing a bit confusing . After using LVM for some time now, it actually sounds very resticting. Also if you have "general storage" space, you can of course give everyone permissions to it. However a slightly better way would be to give those permissions to a group and add all the users there, at least for writing. Well, matters of opinion.Kramy said:All in all, I'm liking it - but because I find the linux mounting system a bit odd, I have all my partitions mounted with drive letters. I also used chmod to make sure any user can access the secondary drives, because again, I find the permission thing a tad weird.
I agree. Maybe a mod can do it if they agree.B-ZaR said:If this conversation goes any further, it should IMO be moved out of this thread. I just felt compelled to answer
B-ZaR said:This is a rare complaint. Not enough customization in linux compared to XP? I'd actually be interested to know what you're missing.
Nah! I do it the proper way, even if I find it strange. Although I do have auto-login set up.B-ZaR said:Well, you could just make a root account to auto-login and never worry about any permissions, but that would be just stupid.
It's almost all been positive. "Weird" isn't necessarily bad. Exposure to more different concepts is usually good!B-ZaR said:Good to hear you've had some positive experiences as well
I find the concept of a home directory very... strange. Perhaps it was my early exposure to it in Win2k/WinXP which put a bad taste in my mouth. In XP, if you need to reinstall, the home directory("profile") is most likely to be wiped out.B-ZaR said:Just do your stuff in your home directory and touch the rest of the system only when making changes, and you never have to worry about permissions being hard.
Kramy said:Cpasjuste said:I did install visual studio, and finaly (after a lot of brainstorming since it's the first time I code on windows) managed to make a gles2d DLL !
There's still a bug, the keyboard is not working (probably joypad too) and a smal crash when exiting the app but I bed I did the hardest job.
So a DLL should be available soon
You should get it working with Code::Blocks and MingW. Many of us Windows coders refuse to use Visual Studio.
That sounds a lot like KDE4's folder view widgets.Kramy said:My desktop. I have XP customized to have panes splattered across my desktop (they behave similar to folders), which I can swap out as needed. Basically, scrollable borderless folder windows that can be moved around, store shortcuts/files, etc.;
Scripts and modifiable context menus can handle that kind of functionality, although depending on how your system on windows is made, it could bee a tad harder to set up.Kramy said:I also set it to auto move files to auto generated folders, so if I dump something on the desktop like "Save Link for ____.txt", then that gets shoved into a folder on my storage drive and turned into a shortcut.
That does sound snappy. However I think I'd find it tedious having to expose my desktop (minimize stuff or something) to get to start programs from such launch pane. I'd much rather have something like the upcoming gnome-shell (screencasts, see the third and the fourth for the point).Kramy said:One of the handy bits about it is I can swap out project dirs as I'm using them, and use one pane at the top of the screen as a multi-level launchbar for my favourite apps. (OSX gets HUGE launchbars once you install 200 programs, but this is just a list of scrollable shortcuts for launching. Works great!) It's really quite a nice setup, and I've never seen anything like it in another OS.
You can use nautilus-scripts to add a "open with sudo" item in your context menu, which uses gksudo to ask you for password. Regardless, I too usually just use the terminal, as it's usually a lot faster anyways.Kramy said:Nah! I do it the proper way, even if I find it strange. Although I do have auto-login set up.
I just find it strange how I can open a config file in nautilus, and not be able to save it. I have to re-open it from the terminal to do so, using sudo! That's a clunky UI if I ever did see one. Basically, I never use nautilus - I just navigate around in the terminal. It's quicker that way, when your goal is to edit files...
Very true. The win2k/xp home directory system is not very good. Even if you do reinstall, things are likely to get messed up when you copy your "documents and settings" folder back. Also since a lot of programs use the registry to keep their settings, you'll lose them anyway (cherry-picking the registry for all the stuff you want to save is not practical).Kramy said:I find the concept of a home directory very... strange. Perhaps it was my early exposure to it in Win2k/WinXP which put a bad taste in my mouth. In XP, if you need to reinstall, the home directory("profile") is most likely to be wiped out.
For a while, when I was just beginning my modding, I ran a multi-boot setup. (XP/XP/XP) Programs storing stuff in their own folders, like Warcraft III or many freeware apps, will run just fine on any OS once being installed once. I can also run them fine off network shares, so no reinstall is ever necessary. If they have any important registry settings, a quick batch or reg file can often solve that.
Programs storing stuff in the profile dir have to be reinstalled each time, and often can't share settings, so they have to be reconfigured every time. Sometimes they also step on each others toes, and have to be installed to different folders to prevent that. Such waste!
As far as my experiences go, yes it does.Kramy said:Linux probably does a better job than Win2k/XP, but that bad taste led me to hacking profiles entirely out.
I looked it up, and that's very close! Mine is set to open folders from one of the panes in another pane. Oh, and mine is has no fancy shading or anything. It's actually invisible aside from the scrollbars...B-ZaR said:That sounds a lot like KDE4's folder view widgets.Kramy said:My desktop. I have XP customized to have panes splattered across my desktop (they behave similar to folders), which I can swap out as needed. Basically, scrollable borderless folder windows that can be moved around, store shortcuts/files, etc.;
I don't have the knowledge to do it on linux.B-ZaR said:Scripts and modifiable context menus can handle that kind of functionality, although depending on how your system on windows is made, it could bee a tad harder to set up.Kramy said:I also set it to auto move files to auto generated folders, so if I dump something on the desktop like "Save Link for ____.txt", then that gets shoved into a folder on my storage drive and turned into a shortcut.
B-ZaR said:That does sound snappy. However I think I'd find it tedious having to expose my desktop (minimize stuff or something) to get to start programs from such launch pane. I'd much rather have something like the upcoming gnome-shell (screencasts, see the third and the fourth for the point).
I agree with many other Windows users, that the registry is evil. It has too many shortfalls(easy to corrupt, poor performance, etc.) to be placed at the heart of the OS. It should be replaced with a unified format for program settings, which can either be shoved in your profile dir or the program dir. That way if something gets corrupted, you've got a chance that nothing important was.B-ZaR said:Very true. The win2k/xp home directory system is not very good. Even if you do reinstall, things are likely to get messed up when you copy your "documents and settings" folder back. Also since a lot of programs use the registry to keep their settings, you'll lose them anyway (cherry-picking the registry for all the stuff you want to save is not practical).
All the talk about shunting firmware updates and stuff to a virtual filesystem overlay made me realize Linux has a lot more power in this area. It seems like just about anything can be moved somewhere else, in Linux.B-ZaR said:As far as my experiences go, yes it does.Kramy said:Linux probably does a better job than Win2k/XP, but that bad taste led me to hacking profiles entirely out.
In my experience that's true as long as you are providing a C API. I'm certain that I've used the same ".lib" with both Visual Studio and mingw32 compilers. C++ API's are a different story and don't even seem to work well between different versions of the same compiler (due to name mangling).Cpasjuste said:If you have the DLL and the ".lib", you should be able to use it with any IDE ? or not ?
if ( GLES2D_Keyboard[SDL_SCANCODE_ESCAPE] )
Lozrus said:In my experience that's true as long as you are providing a C API. I'm certain that I've used the same ".lib" with both Visual Studio and mingw32 compilers. C++ API's are a different story and don't even seem to work well between different versions of the same compiler (due to name mangling).Cpasjuste said:If you have the DLL and the ".lib", you should be able to use it with any IDE ? or not ?
Anyway, I just spent the past 3 hours playing with GLES2D on my Ubuntu 9.10 system. Initially a was having a difficult time until I realised that the trunk of SDL 1.3 was causing the problem (insisting that my system doesn't support OpenGL). I checked out a slightly older revision and everything now worke great.
I had to tweak the Makefiles slightly (you left /src/ in various paths) but otherwise all of your examples compile perfectly here. I'll definitely use GLES2D for my first project (which currently exists as a C# based SDL.NET prototype) and let you know how I get on. I have a very long business trip, to Japan, next week which should be a great time to get started.
Just a few questions:
Anyway, huge thanks, this GLES2D gives me exactly what I was hoping for.
- Is there any way to edit the button assignment? The controls don't seem to map very well to my USB gamepad (nothing maps to 'menu' so I can't quit any of your samples).
- Even better, is there any way to map the pandora controls to my keyboard? I hope to do a lot of development on the long (13hr) flight, having to use a USB gamepad will probably really annoy whoever is sitting next to me
- Or just a way to read the keyboard? I noticed that your samples seem to monitor for an ESC press (
) but this doesn't seem to work on my system.Code:if ( GLES2D_Keyboard[SDL_SCANCODE_ESCAPE] )
- Do you plan to add an audio API? or is it ok just to use SDL_mixer?