If you want to plot a chart with a few outliers in ggplot, you might be temped to use ylim. The problem with ylim is that it removes the data points that go beyond the limits.
For instance, if you have the following data:
data <- data.frame(x = 1:20, y = c(rnorm(19), 500))
If you plot this with no changes, this is what you get:
ggplot(data, aes(x,y)) + geom_line()
It’s kind of hard to understand what’s going on in other points other than the last, so some zooming comes in handy. If you use ylim, this is what happens:
Time Maps are a great way to understand events that happen with a certain cadence over time. Take a look at this article by Mark Watson for an excellent explanation on what they are and when they can be useful.
The end result of this article will be to create a Time Map that looks like this:
The type of data I usually want to put in this type of chart comes in the form
<TimeStamp> | <Event>. Here’s an example data frame:
df <- data.frame(helper = c(rnorm(500, 120, 100)…
We are using monit to make sure our Shiny Server is running properly. We also want to make sure our applications and reports aren’t broken.
Testing “normal” Shiny applications can be achieved with
check host, but Rmd files are trickier... they return a success page, and only then do they build the report, which later can lead to an undetected error.
Our solution was to use puppeteer to test these pages.
This may differ from distribution to distribution. We are using CentOS, so the 1st thing was upgrading nodejs to a later version. This was done using nvm.
My team uses a Shiny Server to share some data analysis and dashboards with other teams.
The server has automatic processes to get data from external sources, and any team member can publish new code to production at any time.
Most of the time things go right, but I want to make sure everything keeps working, regardless of the changes that happen. To monitor the server, we decided to use monit.
The installation depends on the operating system you’re using. For CentOS, here are the steps to install:
sudo yum install monit
sudo systemctl enable monit
sudo systemctl start monit
The goal is simple. I have a mobile application built with OutSystems and I want to check whether a red button or a green button converts better.
The application has two screens and looks like this:
When looking for a new job, it’s easy to be impressed with the perks some companies offer. After all, working in a place that offers ping-pong tables, unlimited vacations, and free breakfast seems like fun!
But perks are just ingredients. You’re not tasting the full dish!
As discussed in this Rework podcast, pilling perks is the wrong way to go through the job seeking process. Perks alone will not make you happy.Since …
People will quickly forget that a project was delivered late… But a project delivered with poor quality will leave a long-lasting memory!
A few years ago I was platform release manager at OutSystems. My main responsibility was making sure we released versions of the platform on time. And that’s what I did. If we announced the platform would be released on a given date, we made it happen.
But whenever you rush delivery, there is a price to pay: Quality.
At OutSystems we’ve always been very focused on quality, so the impact of rushing deliveries wasn’t that big. There were…
Yes, it is true. We’re in the middle of 2017 and I’m using a l935 typewriter to create a post. Don’t believe me? Check the image! You’ll get to see all the nuances thqt go with using a typewriter, including that “q” on the word “that”… It is a AZERTY keyboard…
But… why? Well, mostly just for the fun of it. Typing on this mechanical complexity, where everything is configured using levers and springs and clicks and clacks is a blast. Just the sound of the keys makes you want to type more!
Then there’s the fact that this is…
This chip transforms bits that are inserted in series trough the data pin into 8 parallel bits. More on that later, but first, the circuit: