LEGO®

TECH SUMMIT

2019

What

do

we

love

the

most?

Writing

Code!

Used

People!

Improve

Healthier

Educate

Fun

How

Accomplish

that?

What

Methods

use?

Closed

Source

Inner

Source

Open

Source

Closed Source

Easy

Flexible

Development

Environments

Write

Code

Build

artifacts

Ship

artifacts

Use

Build artifacts

Protected

Source

But...

Hidden

cost

Maintainability

Re-use

Quality

Inner Source

Protected

Source

Internally

Open

Use

Build artifacts

Write

Code

Development

Environments

Quality

Re-use

Facilitate

Time

Maintainability

Open Source

Write

Code

Public

Development

Environments

Community

standards

Easy adoption

new employees

Public

exposure

Maintainability

Free

Open Source

Tools

But...

Competitors?

IP?

Legal?

...

Jeroen

Knoops

Philips Research

Eindhoven

Development

Environments?

Tools

Startup

Gynzy

Eindhoven

Source Control

- Github

CI?

- Github Actions

Deployment?

- AWS

- AWS

- TestFlight

Communication?

- Slack

- Slack

- Email

- Slack

- Email

- Trello

Easy

For Philips....

Source Control?

- TFS

- TFS

- Bitbucket

- TFS

- Bitbucket

- Gitlab

- TFS

- Bitbucket

- Gitlab

- SVN

- TFS

- Bitbucket

- Gitlab

- SVN

- IBM Synergy

- TFS

- Bitbucket

- Gitlab

- SVN

- IBM Synergy

- IBM Clearcase

- TFS

- Bitbucket

- Gitlab

- SVN

- IBM Synergy

- IBM Clearcase

- Share

- TFS

- Bitbucket

- Gitlab

- SVN

- IBM Synergy

- IBM Clearcase

- Share

- Email

Wat?

CI?

- Jenkins

- Jenkins

- Azure pipelines

- Jenkins

- Azure pipelines

- Gitlab

- Jenkins

- Azure pipelines

- Gitlab

- Bamboo

- Jenkins

- Azure pipelines

- Gitlab

- Bamboo

- TeamCity

- Jenkins

- Azure pipelines

- Gitlab

- Bamboo

- TeamCity

- Manual build

Wat?

Deployment?

- IT Managed

- IT Managed

- CloudFoundry

- IT Managed

- CloudFoundry

- AWS

- IT Managed

- CloudFoundry

- AWS

- Powerpoint

- IT Managed

- CloudFoundry

- AWS

- Powerpoint

- sftp

- IT Managed

- CloudFoundry

- AWS

- Powerpoint

- sftp

- ship a laptop

App Deployment?

??????????????

Wat?

Communication?

- Skype

- Skype

- Email

- Skype

- Email

- Microsoft Teams

- Skype

- Email

- Microsoft Teams

- SharePoint

- Skype

- Email

- Microsoft Teams

- SharePoint

- Yammer

- Skype

- Email

- Microsoft Teams

- SharePoint

- Yammer

- Confluence

- Skype

- Email

- Microsoft Teams

- SharePoint

- Yammer

- Confluence

- Slack

- Skype

- Email

- Microsoft Teams

- SharePoint

- Yammer

- Confluence

- Slack

- Custom portal

- Skype

- Email

- Microsoft Teams

- SharePoint

- Yammer

- Confluence

- Slack

- Custom portal

- Powerpoint

Aargh!

Aaaaargh!

Aaaaaaaargh!

Aaaaaaaaaaargh!

Aaaaaaaaaaaaargh!

Aaaaaaaaaaaaaaaargh!

Aaaaaaaaaaaaaaaaaaargh!

Aaaaaaaaaaaaaaaaaaaaaargh!!

Why can't it

be simple

But you continue

- Finding services

- Requesting access to services

- Requesting access to repos

- Configure the services

- Start coding

- Create lots of custom scripts

- Setup deployments

After a while

You want to test the system

This takes a lot of effort...

And you

realize

you are slow

very slow

very very slow

very very very slow

What is the

difference?

Size

Number of

Tools

Legacy

Procedures

I wanted to work

lean again

I started working on

Digital Trust

and

Blockchain

You can't build trust on

Closed software

This was a driver to push the

Open Source

initiative further

What is Open Source?

The open-source model

is a decentralized

software development

model that encourages

open collaboration.

A main principle of open-source

software development is

peer production, with products

such as source code, blueprints,

and documentation freely available

to the public.

Who uses

Open Source?

Who contributes

to Open Source?

Who writes

Open Source

for LEGO®?

Why contributing

to Open Source?

Benefits

Benefits

Share knowledge

Benefits

Accelerate feedback cycle

Benefits

Visibility in the community

Benefits

Collaborations

Benefits

End-of-life support

Benefits

Increase quality

Benefits

External validation,

see what resonates

Benefits

Recruiting and Onboarding

Benefits

Establishing or Supporting

an Open Standard

Benefits

Projects treat your

tool as Open Source

Why is it hard for

Philips?

What is so different?

Legal

What is so different?

Regulated

environment

What is so different?

IP generation

What is so different?

Developers

What is so different?

Organization

structures

(my code)

What is so different?

Procedures

Good

News

github.com/philips-software

Started as a

Research Pilot

Open Source

Team

Approved by

MT / CTO

To become the best

software company

in healthcare

How did we

manage that?

What needed to change?

Culture change

Developers grew up

with open source

Their bosses mostly not

A lot of developers finally

admitted they were

already doing open source

So we needed to address

the bosses

How to change your company?

Get a team of committed people

to guide the open source project.

How to change your company?

Setup simple guidelines.

Take them from other

open source projects.

How to change your company?

Start with minimal variation

of licenses. MIT f.e.

How to change your company?

Get contracts / business impact

analysis and privacy impact

analysis approved...

for all third party services.

How to change your company?

Start with new projects.

From scratch.

How to change your company?

Start with supporting tools.

How to change your company?

Scope open source to a

small part of the organization.

How to change your company?

Follow community standards,

not your company standards

How to change your company?

Get higher management

involved in spreading the message.

Procedure to

Open Source

https://github.com/philips-software/philips-howto-open-source

Internal procedures:

https://gitlab.ta.philips.com/open-source/howto-open-source

Key Considerations

- Not all contributions can be evaluated
- Contributor has the main knowledge
- The contributor is responsible

Nothing is

published that

might risk

competitive

advantage

This could include

(but is not limited to):

- Philips-specific projects: things tightly 
  coupled to/dependent upon our systems
- Domain knowledge
- Customer data
- Unique Selling Points (USPs)
- Medical Claims
- Trade secrets
- Anything else that would risk our competitive 
  advantage or could harm the Philips Brand

The contribution

delivers value

We were inspired by

Zalando

https://github.com/zalando/zalando-howto-open-source

Make sure people want

to use your package

Ryan Cutter

Educate

and

Empower

People

Typical types

of projects

- Supporting libraries

- CLIs

- Docker images

- Licence file generators

- Addons for testing

Third Party Services

Build Tools

Publish Artifacts

Quality tools

Quick

Approval

Form

Future / WIP

Contributions

existing

projects

Collaboration

projects

Misconceptions

Misconceptions

Free maintenance

Misconceptions

Now anyone can publish

anything under our

companies name.

Misconceptions

Organization smells

"Don’t open source yet,

maybe project x can still

use it”.

Wait until no-one needs it.

Misconceptions

Organization smells

"Don’t feed the competitors."

Misconceptions

Organization smells

"Use your own email account,

because otherwise you

will get in trouble"

Doing open source

feels like the startup

Constraints

No or limited

QMS

Follow community

standards

Make proper

- documentation

- release notes

- changelogs

Feels

Quick

and

Modern

But...

Projects which do not fit

InnerSource

A lot of the benefits of OSS

But in a large organisation

With existing toolsets

Everybody must have

read

and

fork

access to repositories.

Everybody must be able to

make Pull Requests.

Using the methods of OSS internally

will increase the re-use.

Make it easy for new people to start.

Will make things easier to adjust

and to maintain.

Prevent a

fork-and-forget

culture

or even worse

Prevent the

copy-paste

culture

or even worse

The

Not Invented Here

Syndrome

Don't focus on commodity.

Be differentiative.

Conclusion

What was the difference

between the startup

and a big company?

- Size

- Number of Tools

- Legacy

- Procedures

By embracing the

Open Source

principles

Less Procedures

Procedures change with

Best practices of

the community

Legacy will die

or gets maintained by the

community

Innersource is NOT

the path to Opensource

OpenSource is the

path to Innersource

And Innersource is

the path to happy

Developers

Example

Two Innersource

Initiatives within Philips

One started from

Closed Source

principles

24 repositories open

24 repositories open

If you have a license,

granted access to the

region and have read

access.

One started from

Open Source

principles

>1000 repositories open

>1000 repositories open

If you are on the

Philips intranet

Final Thought

Pieter Hintjens:

"My only professional regret was to spend years

of my life making closed projects for clients

who inevitably threw my work away sooner or later."

github.com/jeroenknoops/lego

Email: jeroen.knoops@philips.com

Slides: https://lego-tech-summit-2019.now.sh
Slack: https://philips-software-slackin.now.sh
Twitter: @johnnybusca