Pages

Friday, October 9, 2015

How Im Earning My Beer part 2

After completing the first part; Wine's Conformance Tests ran and that was all well and good and fun. There was a flurry of flashes on the screen, various windows were named after various tests, sound played, I rejoiced. It was an exciting accomplishment!

But the report did not work. My results did not show up and I was quickly frustrated. This is where I considered giving up.

I don't need to have a beer, right?
I mean, that's really a simple carrot and nothing else. I wanted to submit the results but if it won't run, it won't run; and it did run but for some reason it didn't report.

This is where the community comes in. This is where we often don't realize how many people are around us willing to help. I dropped a hint at my frustrations into chat and rather than getting the quick response of "that's too bad", I got a question:

How close are you?

And I don't know. And I have to be walked to the log file that wt-daily has very helpfully left in my folders. The location is:


~/wt-daily/winetest/wine/
The log file is called:


wt-bot-(yourtag).log
It's lines and lines of useful information about all the tests that ran. The first thing I learn is that WineTest really did run and it really did submit results to WineHQ. It took it almost 30 minutes to run... and it had 54 failures.

I report the number of failures and I get another question:

How many skips?

I confess I don't know. I didn't skip anything.

Now I get the explanation:

Wine's Conformance Tests are set to accept and publish results with 50 or less failures and 10 or less skips. Both requirements must be met to be featured on the results page. It sounds like you didn't skip anything, add a line to your configuration file and skip a test or two that fails and you will get it.

I'm skeptical because I've already put a bit of effort into getting this to run and I've watched a few other people grumble about libraries and dependencies but there is encouragement in that explanation: you will get it.

I started at the bottom of the log-file and looked for the failing tests. They were fairly easy to identify and so I added some tests to skip to my configuration file.

 Look for lines like this:

Running tests - 53 failures
Running: windowscodecs:tiffformat (541 of 579)
2015-10-05 11:28:16.135 wine[44040:808186] void *....
Running tests - 54 failures

Look for a line where the test failures increases. The amount of failures before the test is 53 and after windowscodecs:tiffformat runs, there are 54.

This is where the "windowscodecs:tiffformat" test failed. Adding a skip to that test looks like this in wt-daily's configuration file:

email="your email address here"
tagmac="a-tag"
descmac="A description of your system for Wine developers"
excludemac="windowscodecs:tiffformat"

I need more than one test skipped to get to that 50 or less mark so my configuration file ends up looking like this:

email="caron@codeweavers.com"
tagmac="CWtestbox004"
descmac="OS X 10.11 dual GPU AMD Radeon R9 M370X and Intel Iris Pro"
excludemac="windowscodecs:tiffformat windowscodecs:converter user32:msg 
gdi32:dc dwrite:font"

And it worked:

CWtestbox004 on WineTest

This is cause for great celebration. Not only is WineTest running on my system, it's reporting on WineTest. I made several Macs run and after a few reports came online, those watching the results come in realized that the name "CWtestbox###" was really horrible for identifying which box was which at a glance. We needed to summarize the box in 20 characters or less and still be able to tell who was who among our Macs.

This is the information we wanted to know at a glance:
  • Where is the report coming from?
  • Which type of Mac?
  • What hardware is onboard?
  • Which OS version?
  • Which test ran; the Mac Driver or the X11 driver?

My boxes are reporting from CodeWeavers, so "cw-" is the first piece of the new name. That will be consist from each box that comes from systems I setup. Then, the type of Mac. We have MacBook Airs, MacBooks, MacBook Pros, Minis, iMacs; we have a decent collection to choose from and setup. We decided we could summarize them fairly easily with "mba-, mb-, mbp-, mini-, imac-".

Run Microsoft Windows Applications and Games on Mac, Linux or ChromeOS save up to 20% off  CodeWeavers CrossOver+ today.

How Im Earning My Beer part 1

St. Stephen's CathedralI had the pleasure of attending WineConf 2015 in Vienna, Austria. The weather was better than I could have asked for, the food was excellent. The company of thirty five other contributors to Wine was encouraging and appreciated. It's the first WineConf in years and it was well overdue.

Photo credit: Marcus Meissner, WineConf 2015 Everyone's reports are trickling in and we're all scurrying to do the work asked of us to help move the project along. The coming weeks and months should reveal the community is more driven than ever. We've re-united with those who had trickled to Wine-Staging and there's a flurry of updates going to wiki pages, blogs, and articles all around. Not to mention the process changes, thinking around bugs and forums, and so much more.

My little piece has to do with what we are called to action over every time we meet.

Every WineConf, we fret over this page and it's various friends:

Wine's Conformance Test Results Page
Ideally, we would have every single test passing on each version of Windows that's running our tests AND we would have it passing on Linux and Mac systems. As you can see, we're a little remiss in Mac test results in the last two months. Wine's test suite isn't (wasn't) running successfully enough on any Mac to report its results.

This year's idea is that next year we *might* insist that before anyone can have a beer on Friday night, they have to fix one test on this page. Granted, I'm a little early and arguably submitting more tests to the page is not fixing tests themselves... but it is making it so everyone else has something to fix. Hopefully that's where I'm earning my beer... and I'm not even sure I want a beer, to be truthful. Maybe I want a nice glass of Wine, seriously.

It is not to say that I'm going it alone, getting Wine's tests to run on any system means that tests have to be written well by the Wine community. It means that I have to have a way to install dependencies on OS X. And, it means I drag my peers through reviewing the problems I'm seeing even if they are caused by my own human error.

For the Wine community, it means OS X results that run in some reliable fashion. It means a contribution in a different form. It's something I'm proud of because the task isn't all that easy. If you're looking for a way to contribute to Open Source, understand that contributions come in many forms. They come from community support, testing, spreading the word, development, and so much more. After I release this blog post into the world, the absolute best thing I can do is go back to WineHQ and ensure that my method of getting Wine's Conformance Tests to run is logged on one of the many wiki pages. With that, I will have come full circle and made a decent suggestion on how others can help too.

Run Microsoft Windows Applications and Games on Mac, Linux or ChromeOS save up to 20% off  CodeWeavers CrossOver+ today.

Wine преминава към фиксиран цикъл на версиите и се интегрира с Wine-staging

Създателите на проекта Wine утвърдиха прехода към фиксиран цикъл за формиране на стабилни версии, с период от 12 месеца. Всяка година в средата или края на месец септември, сорс-кода ще се архивира и работата по него временно ще се прекратява. След кратък стабилизационен цикъл, в края на есента, ще бъде публикувана поредната стабилна версия. Първата стабилна версия от новия цикъл ще бъде компилацията Wine 1.8, която се очаква да излезе след няколко седмици.

https://www.codeweavers.com/store2/?dealcode=cxrossiya


Поддръжката на стабилната компилация ще се осъществява чрез bugzilla. За всички Linux дистрибуции, в които не са предвидени инсталационни пакети с Wine, ще бъдат разпространявани готови бинарни пакети.

Освен това, официално бе съобщено за започване на съвместна работа с клона Wine-staging, в рамките на който се разработват неофициални разширени компилации на Wine, включващи пачове, които не са приети в оригиналния Wine. Wine-staging става част от WineHQ обществото и ще бъде включен в основния цикъл на разработване във вид на експериментални пачове за предварителни тестове, преди техния сорс-код да бъде включен в основния проект.

https://www.codeweavers.com/store2/?dealcode=cxrossiya


Wine-staging ще допълни текущите стабилни и експериментални версии на Wine и изцяло ще бъде интегриран в структурата на WineHQ. Официално, в средата на Wine-staging ще се тестват и настройват рисковите допълнения, които още не са напълно готови. Тези експериментални пачове ще бъдат отбелязани със специалния таг Staging.

А если вы используете этот скидочный код ( TOM23 ) вы можете сэкономить дополнительные 20% от $20.95 цене.
 
Run Microsoft Windows Applications and Games on Mac, Linux or ChromeOS save up to 20% off  CodeWeavers CrossOver+ today.
 

Saturday, October 3, 2015

The glass of wine thats worth 350 million dollars

Today while reading the Linux Foundations report titled ( Estimating the Total Development Cost of Linux Foundation’s Collaborative Projects ) that is located here.

Top-level findings from the report include:
  • The total lines of source code present today in Linux Foundation’s Collaborative Projects are 115,013,302.
     
  • The estimated, total amount of effort required to retrace the steps of collaborative development for these projects is 41,192.25 person years.
     
  • In other words, it would take 1,356 developers 30 years to recreate the code bases present in Linux Foundation’s current Collaborative Projects listed above. The total economic value of this work is estimated to be over 5 billion dollars.
I began to think what a project like WineHQ would be worth using their same estimates and cost  variables. So first I need the Total Physical Source Lines of Code (SLOC) in Wine and that is 3,512,143 as of yesterday.

Next to make this extremely simple I need the average cost per SLOC and if I divide  $5,663,488,007.63 by 115,013,302 I get $49.24 as the average cost per line of code. Now all I need to do is multiply 3,512,143 by $49.24 and we get  $172,937,921.32

But now your asking yourself why did I title this article the 350 million dollar glass of Wine when in fact the source is only worth 172 million.

Because if you actuality read the report you will see that they have not taken documentation, the projects web sites, marketing, or brand value into account. And I could even go further down the rabbit hole and include  “emotional attachment” or “top of mind.” because everything has a value.

If we now take a look ( The Value of Freedom: Linux Kernel Worth $1.4 Billion ) in this article we get into what a brand is worth, keep in mind brand valuation is only a guessing game, While Apple or Google would have excellent brand values I don't foresee many company's opening their doors tomorrow under the name ENRON.

"I think lawyers would likely evaluate the value of a trademark differently than we did," McPherson said. "I think they would take into account the 'goodwill' of the brand around the world and the economic systems it powers, which is far, far more than the $1.4 billion of the code due to its use, its network, its momentum, etc. That's why the $1.4 billion number is low."

Should third party applications like PlayOnLinux, PlayOnMac, WineBottler, Wine-Staging's patch set etc etc be included. Because they are all open source and are built around the Wine project.

Should we also include the commercial backing from company's like CodeWeavers and the ingenious marketing strategies to further the WineHQ brand.

And lastly developer worth isn't included in any of these other evaluation's, I believe the talent pool around a project is another form of worth because their are only so many guru hackers on this planet and if your project is fortunate like the Wine project and you have between 20 and 50 of the worlds best programmers that in it's self is saying something.

So to get the total valuation of 350 million dollars I essentially doubled the SLOC worth because that is only about half of a given projects net value.

Comments, Flames or thumbs up are always welcome...

Run Microsoft Windows Applications and Games on Mac, Linux or ChromeOS save up to 20% off  CodeWeavers CrossOver+ today.