German Velasco Thoughtbot

Is Elixir a scripting language?

Finally, an article that breaks Betteridge's law of headlines! Elixir is known for being a language made for building distributed applications that scale, are massively concurrent, and have self-healing properties. All of these adjectives paint Elixir in a grandiose light. And for good reasons! But is Elixir also a language that can be used for the more mundane tasks of this world like scripting? I think the answer is a definite yes. I've been writing Elixir for a few years now, but when it comes time to script something I still reach for Ruby. Case in point, our data import routines for changelog.com (which y'all know is an Elixir app) are written in Ruby. Why do I do this? Familiarity plays a big part. Also I find Ruby to be highly ergonomic for such tasks. Having said that, this article will make me consider trying Elixir for my next script.

read more...

InfoQ Icon InfoQ

Smoke – Amazon's new, lightweight server-side framework for Swift

When Apple open sourced Swift, it was only a matter of time before the server-side frameworks started rolling out. Perhaps that time is now? Amazon's entry is called Smoke, and InfoQ has the deets: Amazon Smoke framework is a new open-source light-weight server-side framework written in Swift and aimed to build REST-like or RPC-like services. Its architecture stresses ease of use and favours a pure-functional programming style for request handlers. Click through for some code snippets and to learn exactly how Smoke is built (hint: they're using SwiftNIO)

read more...

Rollbar Icon Rollbar – Sponsored

Errors from the world's top 100 websites (and how to avoid them)

Jennifer Marsh writes on the Rollbar blog: When you think of the top 100 sites in the world, you think of high-traffic domains and pages coded to perfection. In fact, even the most popular sites in the world have errors hidden behind the scenes that are still visible in your browser’s developer tools ... We found that most of the top 100 sites had several errors which could be easily monitored and prevented. In this post Jennifer shows you the most common errors faced by the top websites in the world and how you can avoid them.

read more...
logged by @logbot permalink

Cristian Magherusan-Stanciu github.com

Lower your AWS costs (up to 90%!) by automating the use of spot instances

If you're using EC2 and paying big bucks to do so, you owe it to yourself to check out AutoSpotting: Once installed and enabled by tagging existing on-demand AutoScaling groups, AutoSpotting gradually replaces their on-demand instances with spot instances that are usually much cheaper, at least as large and identically configured to the group's members, without changing the group configuration in any way. For your peace of mind, you can also keep running a configurable number of on-demand instances given as percentage or absolute number.

read more...

GraphQL github.com

A lightweight (and isomorphic) GraphQL client for JavaScript

GraphQL is based on a very simple HTTP transaction, which sends a request to an endpoint with query and variables. Many libraries require complex stacks to make that simple request. In any project you don't use React, Relay, you'll need a simpler client which manages your query and makes a simple request. Isomorphic, in case you were wondering, means it runs both on the client and the server.

read more...

DigitalOcean Icon DigitalOcean – Sponsored

What serverless platform are developers primarily using?

DigitalOcean surveyed nearly 5,000 developers from around the world about their opinions on software development, the tools they use, and the challenges they face. When asked about serverless platforms, this is what they had to say. AWS Lamda - 58% Google Cloud Functions - 23% Microsoft Azure Functions - 10% Apache / IBM OpenWhisk - 2% OpenFaaS - 2% Iron.io - 1% Other - 4% Get answers to more questions like this about developer trends in the cloud from our friends at DigitalOcean in their quarterly report called Currents.

read more...
logged by @logbot permalink

Backstage Backstage #2

Gettin' Plexy wit it

Adam, Jerod, and Tim get together to talk about Plex! Plex is a media server which allows you to store your movies, TV shows, music, photos, etc. Turns out, you can actually use it together with an antenna to watch live TV and DVR content. They chat about what has Adam so excited, the pros and cons (or as Adam said, "trade-offs"), and how to get started.

read more...

JS Party JS Party #47

The nitty gritty on BitMidi

Where does Feross get all those wonderful toys? He builds them with JavaScript, of course! BitMidi – a website for listening to your favorite MIDI files – is his latest creation. In this episode, Jerod “sits down” with Feross to learn all about it. How do MIDIs even work? Why won’t they play on the web anymore? Can WASM save the day (hint: yes)? How does Feross get so many eyeballs on his creations? Is Preact awesome for building sites like this? What’s the future of BitMidi look like? Don’t ask us, listen to the episode!

read more...

kate Matsudaira ACM

How to get things done when you don't feel like it

Kate Matsudaira provides 5 excellent strategies for pushing through: Even if you love your job, you don't always feel like doing it every day. There are so many factors that influence your ability to show up to work with enthusiasm and then work hard all day long. From gamification to calendaring, Kate has a lot of good advice in this piece. I even learned a new word, "precrastination", which I've been doing a lot of without even knowing it! 💪

read more...

CSS webflow.com

CSS Grid sorcery! (build CSS Grid layouts visually with Webflow)

This must be of the dark arts. Never before has this level of visual UI and control been given to the masses, carte blanche — wow, truly impressed. From Vlad Magdalin (Webflow co-founder and CEO) on Twitter: CSS Grid in @webflow is one of those features that makes me fall in love with our mission all over again. The power and flexibility this places in designers' hands is mind-blowing, and it the amount of creativity this can unleash is super inspiring! 😍https://t.co/mPlezTPgZv pic.twitter.com/INe3N0LEqI— Vlad Magdalin (@callmevlad) October 10, 2018 The video attached to this tweet has been viewed 23,000 times (so far)!

read more...

Vue.js github.com

A renderless (?) and extendable rich text editor for Vue.js

Hot on the heels of Rails' announced rich text editor comes tiptap for Vue, which is built with Prosemirror. But what does "renderless" even mean? With renderless components you'll have (almost) full control over markup and styling. I don't want to tell you what a menu should look like or where it should be rendered in the DOM. That's all up to you. There is also a good article about renderless components by Adam Wathan. That's a great idea as long as you provide some default/swappable rendering for folks who just want to get started quickly. Full demo of tiptap in action right here.

read more...

Away from Keyboard Away from Keyboard #8

Eryn O'Neil isn't afraid to speak her mind

Eryn O'Neil grew up in the southwestern suburbs of Chicago. When it came time for college, it was easy for her to move a few states over and go to college in a small town in Iowa. She now lives in Minneapolis, and after years of being self-employed, she just finished a months-long journey to find her next job. Eryn talks to me about being the first female engineering manager at her new company, what excites her about technology, the hurdles of married life, and staying healthy in a demanding industry.

read more...

The Changelog The Changelog #318

A call for kindness in open source

Adam and Jerod talk to Brett Cannon, core contributor to Python and a fantastic representative of the Python community. They talked through various details surrounding a talk and blog post he wrote titled "Setting expectations for open source participation" and covered questions like: What is the the purpose of open source? How do you sustain open source? And what's the goal? They even talked through typical scenarios in open source and how kindness and recognizing that there's a human on the other end of every action can really go a long way.

read more...

 Itamar Turner-Trauring codewithoutrules.com

Stabbing yourself with a fork() in a multiprocessing.Pool full of sharks

I really dig Itamar's writing style: It’s time for another deep-dive into Python brokenness and the pain that is POSIX system programming, this time with exciting and not very convincing shark-themed metaphors! There's a lot to learn here, and it's not all Python specific. Hop in, the water's warm (but filled with sharks)!

read more...
0:00 / 0:00