Tuesday, January 1, 2019

Service Studio Beta 101 (FAQ)

Service Studio Beta

What is it?
In essence, a stable version of Service Studio but with some additional features that are still to be released.

Wait. Stable?
Yes, a stable version. Unlike a nightly build (like Firefox Nightly), the Beta version contains the same code as the general availability version but with added features. You can expect the exact same quality in the Beta version as in the normal releases.

What's in it for me?
Two main things:
- You have access to "goodies" faster;
- You can help shape the product: your feedback will be used to improve the features before they get to general availability.

What's in this first version?
The first Beta version comes with a Forge Integration in the application list that allows you to quickly update your Forge components. From now on, there are no excuses for keeping outdated components in your factory. Also, automatic updates. Yep, this version of Service Studio Beta will be the last one you'll ever have to manually download and install! You don't have to do anything: you'll get new features automatically! You can read the quarter highlights at the OutSystems Engineering blog.

Service Studio Beta - Forge Integration


How often will I get these updates?
Whenever there are new features, there will be a new version and you'll get it. It can be daily. It can be 3 times a day. It can be once a week. Apart from the Beta version (because we want to deliver as fast as possible), you have a release plan at the OutSystems website. You can also check for the What's New page.

Will these automatic updates impact my work?
No. Service Studio automatically updates in the background and won't force you to close while you're working.

I'm in! Where can I get it?
Head over to https://www.outsystems.com/home/beta. It's the last version you'll need to manually install. Automatic updates for the win!

How do I send feedback?
Just like in the general availability version. Your feedback is precious.

Anything else I should know?
Head to this forum discussion and join us! Oh, and keep that feedback coming. Let's build a better product together!

Monday, December 31, 2018

Breaking our own monolith

If you are interested in OutSystems, you probably came across some articles from Francisco Menezes and talks from the CEO about breaking monoliths.

"A monolith is the result of building every business value and functionality into a single core application. When first building a product, a monolithic strategy has significant upsides: development moves quickly, the tech stack remains consistent, data remains in a centralized location, access to functionality is at the fingertips of every developer, and others. But as a product ages and the teams behind it get bigger, the downsides kick in. Release cycles slow considerably as changes of any kind (big or small) require a full-product release."

Well, we also had a monolith problem with the platform itself and we had to follow the same path: break it! We needed faster release cycles!

OutSystems Overview


Independent release cycles

Online services
The Mobile Apps Build Service (MABS) is a service that, in essence, abstracts a developer from all the complexity around the generation of a mobile app (XCode, SDKs, etc). This was designed, from scratch, to be loosely coupled from the rest of the platform. By following this path we got ourselves independent release cycles for MABS. MABS moves at its own speed as needed and customers get automatic updates whenever they generate mobile apps. OutSystems Insights is another piece of software at OutSystems designed from scratch with all this in mind.

Service Studio
This is a bit more tricky. Both Service Studio and the Platform Server share lots of definitions. To illustrate (and keeping it simple), imagine that we introduced a new element in the language that only Service Studio knew about. When you published it, what would happen on the platform side? So, the full decoupling is not that easy. However, there's no reason why Service Studio cannot get lots of "goodies" without requiring a platform release. So, Service Studio is scheduled to be released every week. Even further, recently, we released Service Studio Beta with automatic updates. That means you can get features in your hands automatically in no time. We release --> you get an automatic update --> new feature!

OutSystems Overview



OutSystems UI, OutSystems Now Service, Supported plugins
Well, Forge components, basically. These have a completely independent "life". The release cycle for these components is as simple as publishing them in Forge.

Lifetime
Why should Lifetime be dependent on platform releases? If there's an improvement in the mechanism to stage apps, what does that have to do with Service Studio or Platform Server? It doesn't. And Lifetime currently is on it's own release path.

These 4 above are great examples of independent release cycles at OutSystems. And this means that teams can work independently, at their own speed, releasing value faster to the hands of customers and developers.

Thursday, November 29, 2018

What will you remember?

I'll start this post with a personal story.
I was part of the team that built the Mobile Apps Build Service (MABS). This is that piece of software that allows you to generate mobile apps using OutSystems, abstracting you from all the complexity of native mobile development. This service is supposed to run 24/7, we're targeting a 99.8% Service Level Agreement (SLA).
It was 1am on a Friday. The night was going really well, just had dinner with a beautiful curly-haired, “green eyed” woman who was now naked in my bed. I was also naked, “ready to roll” (whatever you want to call it). Suddenly I got a call. The number was from OutSystems. Well, at that time of the night it could only be support teams. My number was the first one to call in case of an emergency with the service. I picked-up the phone, Android builders were stuck and customers were not able to generate mobile apps.

There I was. On one hand “fireworks”, on the other issues with Android builders.

Angel vs Devil


Can you guess what I did? What would you do?
I know, you’re thinking "f*cking jump into the bed". I didn’t. I put on some boxer shorts, went to the living room and opened AWS console to start troubleshooting. 20 minutes later, great success: service was restored and… the girl was sleeping.
This was real. It happened. And now I have a story that I’ll remember for the rest of my life. Of course I had to apologize to her and explain that decision. I would feel offended too if someone did the same to me. But I did the right thing. I had people depending on me. I’m not in it just for the money, I’m in it to be good at it. And that’s the only way to do it: Go big or go home.

When you're old, you won't remember the "normal days at work". You won't remember the 9 to 6pm normal work. You won't remember the routines. You'll remember the crazy stories, the nights when "shit hits the fan" (best team building events happen automatically when things go wrong), the applause when you do a kick-ass work. You won't remember the days you just did your job, you'll remember the days you excelled. That's where I want to be, where the adrenaline is.


"But... are you saying that we should always be in trouble or with high adrenaline"? Well, no. You would get really really really tired after some time. My worst job was the first one. I was working from 8am to 11pm, doing everything: project management (sort of ), writing code, talking with customers, writing specs... a recent graduate! Of course it didn't last long. I just held on for a year because I was too proud to quit. I learned a lot and I have lots of great stories to tell, but that was no way to live.

Nevertheless, point in case: give it all while you can. It's like sports: if a game has 90minutes, give it all you got until you can no longer stand up. Even if you can't breathe after 30min, doesn't matter. Be the best on those 30 min.

Side notes
- although my number was top1 on emergency call, the first task was always to actually gather the team. That story was the only example where I didn't and went on my own. Usually, we would all be ready to work after 5 to 10min. Amazing team spirit "when things are not working".
- I ended up getting married to the green eyed girl :)

Wednesday, May 9, 2018

Stopping chaos while still being helpful

The Small Book Of Few Big Rules


Be helpful.
This is one of the rules you'll find in the small book of few big rules. This small book contains the core values to be successful at OutSystems. I guess it's actually a key part why the CEO says that "80% of people will become great when in the right environment". And people take these small rules *very* seriously at OutSystems.You can go around the office and feel this, like if it was something you could touch. People guide themselves by this book, it's amazing. Now, focusing on the help rule:

People at OutSystems are open to helping you. Use this to your advantage as much as possible. And do the same yourself. Offer help even if it is not in your job description. We believe you should extend yourself outside the boundaries of your work and into other functions to get the job done. Remain aligned with the Ultimate Goals when offering assistance. When it is your turn to look for help you will nd that people will quickly reciprocate.

Pretty simple right? In essence, it is. However, my team actually struggled with this rule. We helped too much, in a chaotic way. How is this possible? The Mobile Team is highly exposed to pretty much everyone, from support to customers, to peers, to...It's the main entry point in the R&D for anything you can think about related with mobile. Remember that OutSystems 10 brought Low-Code development to mobile apps. But, of course, it wasn't all done by the mobile team. We had literally hundreds of people involved from dozens of teams (IDE, FrontEnd Teams, Core Teams, you name it). Think of us as a group of pretty organized ants, carrying blocks of "value" instead of sugar to a big platform.

OutSystems 10


At some point, a combination of this exposure with our strong feeling about the small rules became toxic. Too many requests together with our willingness to help resulted in a huge growth pain. We created a monster. That's not necessarily good in a R&D department and can highly impact value delivery to customers.


Too many channels

OutSystems Mobile Team


First there was skype. Then Hangouts. Then... Without realizing, we had incoming help requests coming from all sources of communication channels. People would jump to our spot in the office, interrupting all the time in search for help. Some would "skype" a team member privately. Some with hangouts. Feedback would come through mail, support cases through JIRA, mail... Slack, which appeared later was the final "stone". A public #rd-mobile-team slack channel you could use to get help? Sounds awesome, except you would divert the attention of an entire team. And private messages, now on slack too?

Monkey User - Focus

Click to enlarge - source: http://www.monkeyuser.com/2018/focus


It started to be too easy to reach the team. All team (and more) distracted because someone entered the team channel to ask "which plugins in forge are supported?" Or... Of course, we replied to everyone on every channel because we wanted to be helpful. But it was taking a huge hit on the team performance and focus.


Act!

What to do? Well, what we do best at OutSystems: change!

Focus

Click to enlarge


Back to the drawing board. First step? Notify management that we were not working properly and ask for their input. Ideas! "Call me a whiner any day". And they did gave us a great starting point. We merged their ideas with our own and we had a plan.


Executing the plan

"Siblings"

We're a fast growing company that's in constant mutation. Everyone is open minded and always willing to change. And top management supports change and encourages autonomy of people to apply these changes. So, let's do what best fits our team. But first... how do other teams around us work? How have they dealt with this issue in the past? We talked with the most similar to our team and got great insights. Again, we would to whatever would best fit our working methodology, but ideas are welcome.

Measure

"You can't manage what you don't understand". We started with a small impact analysis: how much was it costing to be so helpful? Impact on team speed? Also, a small risk analysis: what are the risks of helping through private channels? What if some erroneous information ends up in a support case and a customer gets the wrong expectations? Well... we were surprised with so many risks that we didn't think of. We never stopped for a moment to look into this issue. Hell, we're growing at the speed of light!

Action items

Write down action items and owners. By action items we're saying what must be done to improve and the owner is someone that will assure things will happen (not necessarily the person who implements it). This will get things rolling.

The "bad boys"

It's so easy to just open a chat window and ask things that it's the most dangerous part of this equation. So, our first targets were the chatting channels:

OutSystems Mobile Team


  - Reduce scope: No answers through Skype or Hangouts. Our official, internal, company wide tool is Slack. Period.
  - Redirect from private to public: private Slack chats shouldn't be used to ask for help unless you specifically want to talk to that person. So, ask in the team channel. Not only you'll have proper help but everyone in the channel will have the knowledge (E.g.: support engineers, product owners, etc). If someone has the same question again in the future, it will be easy to answer and everyone can do it. So...

OutSystems Mobile Team


Still a bad boy

Ok, so, it's set: internally, anyone should just go to the #rd-mobile-team slack channel for help (help is different from support). But we still don't want everyone in the team to be distracted.

OutSystems Mobile Team


  - Don't use @channel and @here unless it's critical. This alerts everyone in the channel that has notifications active for that channel. Someone will answer when it makes sense.
  - Maintenance only! Only the person in the team doing maintenance can reply unless it's critical. Block interruptions from the remaining team members and make sure 2 individuals aren't answering to the same request.
  - Wait: Yep, probably no one from the team will reply in the first 15-20 minutes. That's due to two main reasons:
    1) Most people ask without giving it a good previous thought (because it's so easy to just ask and some are just "rubber ducking")
    2) Maybe someone from support or similar will be in the channel with all the context and will help even better.

OutSystems Mobile Team


The not so bad boys

OutSystems Mobile Team


Slack is great to ask for help. But sometimes people just want to report a bug or provide feedback. Slack is not good for that. Mail the same. Why? We'll have to grab that feedback and create issues on our backlog. So, we opted-in for the internal tool that was already in use by other teams for this purpose. It's called Sauron and it's, in essence, a centralized way for all teams to receive feedback, prioritize and manage that feedback. Yep, we look at everything you provide as feedback (E.g.: Service Studio). Again, only the person doing maintenance can look at this tool for a given sprint. After the initial analysis, the maintenance member can decide all sorts of things, like the priority, impact, risk, etc. It can also send to another team if it fits or immediately to team backlog (if it's something that the team should work right away).

OutSystems Mobile Team


Customer success is our success

Ideally, we wouldn't have any support cases. And we wouldn't have support at all. The product would be so good and so intuitive for everyone that no customer would need help. We'll get there, dream high.
However, while we don't reach the sky, we do want to make sure every customer gets all the attention he deserves. So, we treat support cases in a different way. Whenever a customer opens a ticket and it escalates to R&D, we have to make sure we react fast. So, if support needs to escalate they will automatically open an issue to the team in our "special board", we get notified and the maintenance person will quickly look into it. Support provides all the info through that issue and we iterate really fast with them. It's a high speed lane to us.

OutSystems Mobile Team


All customer related issues coming through proper support channel has a huge advantage: centralized knowledge in support. Only strange issues require R&D escalation nowadays as support gets more and more expertise on the product. And all customer communication is done in one place.

OutSystems Mobile Team


Be helpful... Be helpful... Be helpful!

It's a big rule right? And we love it! So, we still want to help everyone and live, on our spot, is still an option. Just pick a good time for it (middle of the morning is not a good time, focus days are a nooooo please - unless you bring food) and, if possible, go directly to the maintenance guy. It's the one with the fire extinguisher.

OutSystems Mobile Team


Result

Summing up, all this seems simple and pretty obvious right? Well, it is. But the "monster" didn't show up from one moment to the other. It was something that slowly appeared without us realizing. And it was a huge release by OutSystems, with everyone, including OutSystems developers still absorbing all the information. You can see that we still have a lot of communication channels. But it's ok. The issue was chaos. We have brought some sanity to the team and we can help in a much effective way. We are a happier team.

OutSystems Mobile Team


Sorry about the drawings. My skills are not that good and this was done on a plane. But hey, communicate to be understood :)

Friday, April 27, 2018

Funny code comments – zen

We've all been there: that moment you're so tired that you just do a crappy code and you place a comment admitting it's not good. That funny comment because you know someone will look to it later and laugh. Below is a compilation from several sources, grab a beer and have fun!


OutSystems

OutSystems

OutSystems

OutSystems

OutSystems

OutSystems


Shared in stackoverflow






Note: These were compiled from this Stackoverflow thread and this post.


.NET Core

We're doomed! (Source: ConcurrentExclusiveSchedulerPair.cs)


Maintenance (Source: Parallel.cs)


Zombies... (Source: Scheduling.cs)


Curve ball (Source: DebugTypeDescriptor.cs)


Legacy (Source: isymwrappercore.cs)


I can't prove it! (Source: EventLogInternal.cs)


Don't touch (Source: compareinfo.cs)


I don't understand (Source: methodbuilder.cs)


Hooker? (Source: console.cs)



Note: These are from a post I wrote in 2014
The .NET Core is OpenSource.

Saturday, April 21, 2018

Preliminaries are as important as the act – Part II

So, it's a "sexual" quote. True. But apply the idea to a public presentation. Most people don't give the appropriate importance to the preparation (preliminaries) and just focus on the presentation (the act). But the most important tasks for a good presentation don't happen during the event itself.

About 4 years ago I wrote an article on this topic, preparing a presentation. It was called "Preliminaries are as important as the act". This one is the sequel and is about improving your presentation skills.


The sequel

Jerry Seinfeld, in one of his stand-up shows, used to joke that speaking in public was number one fear for the average person:


Although part of a stand-up comedy act, it's somehow true. Do you ever get anxious before a big public presentation? Always feeling you could have done much better after the presentation? Well I did too. And that's ok: some people are natural speakers. I wasn't. So I had to work (a lot) to get where I am. If you ever been part of a sports team, you certainly witnessed that most of the work is done in practice, during the week. It's not when the game is on that one can improve a lot, it's when "nobody's watching. Cristiano Ronaldo didn't got to where he is by improving during matches only: it's mainly hard work that you don't' see. Performance in matches is just the result.

So, what to do if you think "you're not there yet" when it comes to public presentations? Work! Hard! Here's some preliminaries to have a good act:

1. Identify key aspects to improve: just saying you're not a good speaker doesn't help. Too vague. What's the real issue? Do you get nervous? Don't know what to do with your hands? Sweat? Write down all the issues.

2. One step at a time: don't try to improve everything from one presentation to the next. Overnight success is overrated. So, start with a couple of issues. Focus.

3. Talk to a mirror: out loud, with the same voice tone you use when presenting. How do you feel doing it?

4. Present to family/friends: Let's assume you like these people and you are comfortable around them in a social context. Great! Now do a presentation to them, doesn't matter the topic nor if they understand the content. Can you do it? Should be easy right? Maybe...

5. Record and review one presentation: then look at the full video and identify what you did like and didn't like. If possible, find someone to analyse it with you. Grab some beers, it will be fun.

6. Learn to work with your voice: I said this in the first article, but it's really important. Others hear your voice different than what you hear. That's due to the "Skull effect". Learn to vocalize for the audience and not how you like when you talk. What you hear is not what others hear.

7. Understand your body: Not everybody looks the same doing gestures with hands and so on. Maybe you look better moving around. Maybe you are 2 meters tall and moving all around makes you look clumsy and funny. Is that the image you want or not?

8. Build confidence: yes, it's a must. We're animals. We can smell "fear". So, you have to "look" confident, even if your not. Come on, these people took 1h of their precious time to listen to you, that's gotta mean something!

9. Contextualize: Contradicting a little the previous point, learn to put things in perspective. If someone told you that you only had 3 months to live, how important would the presentation be to you?

10. Expose yourself: have as much presentations as possible. If you only play one game per year, it's gonna be hard to master that game. To improve, you must see how things go live, fail, learn.

Study
...2011... 2012... 2014...

I used to have all kinds of issues when I started 10 years ago. I would get nervous, always thinking I could have done much better afterwards. I would avoid exposure. I have great soft skills, always did, but I felt uncomfortable talking in public. But I knew that at some point in my career I would need (and want) to be a better speaker. So I went through a learning process. And I forced myself to it because I wanted to be better. For the first years I would do as much as 10 public presentations a year.

Study
...2011... 2012... 2014...

Today I don't do them as much as I did because I don't feel the need to. Today I have fun when I'm on a stage. What about you?