Gsoc 2018 development

How to test my code for mediaplayer for haiku ?

If you have Haiku, build your code using an IDE (like Paladin) and try playing some media files.
Keep testing your code until you find something wrong with it. (“if it ain’t broke try harder”)

Put your code on a place like GitHub
this will allow others to test it, suggest improvements, and file bug reports.


If I interpret the question right, i.e. you changed code in the MediaPlayer that you want to test: check out the haiku source code if you haven’t already, configure, make your changes, build MediaPlayer with “jam -q MediaPlayer”.

You’ll find the binary somewhere in your “generated” folder, watch the last lines of the jam output where it “chmod” the binary for the path; you can ALT+right-click it in Terminal to launch directly.

1 Like

A piece of advice for GSoC possible candidates: don’t put all your eggs in one basket. It’s possible to submit several proposals.

1 Like

Thank you so much for your support. I am a bit confused at that matter. are you talking about the nightly image or the OS itself? and should i install it separately or should i run it Virtually ?

Any help would be highly appreciated.

Actually, writing one good proposal is already a lot of work. I’m not sure it is wise to attempt setting up two proposals.

How you install and run Haiku is your own choice. Some people prefer to work from Linux and boot Haiku in a virtual machine to test their changes. Other prefer to work from inside Haiku running on real hardware.

Just set up things in a way you are comfortable working with. If you already use Linux or FreeBSD and know your way around them, it makes sense to use them for this as well, macOS is a bit more difficult but possible to set up, Windows is currently not supported at all as a platform for building Haiku. So if currently you are a Windows or macOS user, the simplest thing to do is setting up a virtual machine running Haiku (we have guides for that on our websites) and then compiling Haiku inside that VM (we have guides for that as well - ).

Once you have this up and running, you can see about rebuilding only some parts of Haiku and testing just these (because it is a little annoying to rebuild the whole OS and reboot everytime you want to test a simple change).

Well, a bad proposal for Haiku is maybe a good enough proposal for another organisation, or vice versa. If one writes a bad proposal for an organisation and this is the only one proposal, he might end up selected.

I would not count on that. GSoC has high quality standards, and at least in the case of Haiku, I have no problem requesting 0 slots from Google if I think none of the student proposals we get are good enough for GSoC.

So, my advice would be to focus on a single proposal, or maybe two proposals for the same organisation if you have time for that (in that case it allows the organisation to select you even if they got two very good proposals for the same project idea). But getting up to speed with two organisations at the same time does not seem like a good way to spend efforts. A single good proposal is more likely to work than two half-finished proposals.

You can’t request 0 slots: “Every accepted organization is allocated at least one slot”.
My point stands: if there so many good proposals and so few slots at an organisation, it’s possible to not be selected. As a student, it’s difficult to judge, but “trendy” organisations would receive more proposals, thus the chance to be selected is lower for a same number of slots.

I discussed this with some other orgs during the mentor summit. One of them was aerospace research, quite popular… because it is one of the first 5 orgs in the organization listing on the GSoC website (alphabetically sorted). They do get a lot of bad proposals, but they can filter that out and consider only the great ones.

Some organizations are much larger than others and will accept a lot more students. I would say these are the ones who get more proposals, but they can handle it. So I don’t think it is a lot easier to get into an organization just because it is less popular. And in any case, the important part of GSoC is getting started with a project you like to work on. What’s the point in applying to an org who does only boring (to you and/or other students) things?

Some students are really able to get along with being accepted by multiple organisations (even capable of submitting multiple good proposals, not just poor backup proposals). Why should they refrain if they can?