Rails Icon rollbar.com

Top 10 errors from 1000+ Ruby on Rails projects (and how to avoid them)

Nice post by our friends at Rollbar: We looked at our database of thousands of projects and found the top 10 errors in Ruby on Rails projects. We’re going to show you what causes them and how to prevent them from happening. If you avoid these "gotchas," it'll make you a better developer. I know many of these like the back of my hand. 🤣...😭

read more...

O'Reilly Fluent Conference Icon O'Reilly Fluent Conference – Sponsored

Join us at O'Reilly Fluent Conference

We will be at O'Reilly's Fluent Conference and Velocity Conference in San Jose, California, June 11-14. Kevin Ball and Tim Smith will be there talking with the community, doing interviews, shooting video, and enjoying the hallway track. Make sure you say hi! At Fluent you will learn the latest JavaScript tools and methods to build a better web, and deliver better user experiences. Be a part of what past attendees call "a great center for modern web development and disruption," and "the best place to see the current state of the web." Use discount code CHANGELOG to save 20% on most passes.

read more...
logged by @logbot permalink

Kitze github.com

Did you like anything in particular about a conference? Let's make a list 🎉

A great idea/initiative kicked off by Kitze: Did you like anything in particular about a conference? Did you hate anything? Let's make organizing conferences an easier task. As a conference co-organizer myself, I know first-hand that we're always looking to harvest good ideas (and avoid bad ones) from other conferences. Having a community-created list for this kind of knowledge will be super useful. But we need your help: The initial document is pretty one-sided, biased, and based on my own experience and perspective. It's probably missing tons of things. That's why it's on GitHub and it's not a Medium article. Please help me cover everything and make this document amazing 😍️

read more...

Paul Kinlan paul.kinlan.me

Use `onappinstalled` to know when your PWA gets installed

Paul Kinlan, developer advocate for Chrome and the open web at Google writes: Chrome implemented window.onappinstalled event. It's triggered when a user installs a progressive web app via the Add to Homescreen API or now more importantly via the manual method of Add to Homescreen. This is a very useful addition because it allows you to see engagement on the prompt vs people who use the system banners or menu buttons to install a progressive web app. Now you can track your PWA's install engagement based on the method of install — via the prompt or manually via a custom prompt. Read the docs for more details. Also, make sure you subscribe to JS Party to hear discussions about PWAs and the web platform.

read more...

Database Icon www.foundationdb.org

FoundationDB – Apple's open source distributed database

Straight from the horse's mouth: FoundationDB is a distributed datastore, designed from the ground up to be deployed on clusters of commodity hardware. And: The key-value store supports fully global, cross-row ACID transactions. That's the highest level of data consistency possible. What does this mean for you? Strong consistency makes your application code simpler, your data models more efficient, and your failure modes less surprising. They say it's "actively developed and has years of production use". I wish they'd say exactly how it's being used in production. (Maybe they do and I haven't found it yet?) Also, if you're getting hung up on "key-value store", the vision is much bigger than that.

read more...

Datadog Icon Datadog – Sponsored

How do you monitor Kubernetes effectively?

Monitoring Kubernetes requires you to rethink your monitoring strategies, especially if you're used to monitoring traditional hosts like VMs or physical machines. This guide from Datadog will prepare you to effectively approach monitoring Kubernetes in light of its significant operational differences: Tags and labels are more essential than ever You have more components to monitor Your monitoring needs to track applications that are constantly moving Applications may be distributed across multiple cloud providers Datadog is built by engineers, for engineers. Check out their job openings.

read more...
logged by @logbot permalink

Hongli Lai Phusion Blog

Who’s responsible for the software we build?

If software is eating the world, who is writing that software? You are. Hongli Lai, Co-founder & CTO of Phusion gave a talk at his local Amsterdam.rb meetup and shared his thoughts on the impending deadline of the EU General Data Protection Regulation (GDPR) and the impact of socially unaware software that's eating our world. ...I feel more and more convinced we (as Phusion and as ‘builders of the web’) have a responsibility to provide a framework for thinking about the ethical implication of our creations. Hongli continues: We've seen companies suffer recently for a lack of that social responsibility (data breaches at Equifax, Facebook, Uber, etc). Public outrage was strong but also burned out quickly as the news cycled. For a while, the same quick fizzle seemed to be happening with the Facebook and Cambridge Analytica scandal. It's up to us to fight back. That doesn't mean go on twitter and rant, but to actually go an do something. Give a talk in your local area to your developer communities to create with social responsibility in mind.

read more...

Yegor Bugayenko www.yegor256.com

How to be lazy and stay calm

Laziness is one of the three great virtues of a programmer (laziness, impatience, and hubris) Larry Wall talked about in Programming Perl. The "deep thinking," as they call it, which is always required before even a small issue can be resolved, seriously turns me away from programming. Or did turn me away. Until I started to think differently and encourage myself to be lazy. Here is how. Iteration! It's so freeing to operate on the basis of iteration — knowing that today's version is shipping with flaws that can only be resolved through the feedback loop. In this case, incremental is an alias of iteration. Software development is perfect territory for cutting corners, being lazy and remaining calm, because our work is often discrete and can be very incremental.

read more...

Lazarus Lazaridis iridakos.com

How to create a bash completion script

A tutorial for adding bash completion to scripts using the bash programmable completion facilities. Why bother? to save users from typing text when it can be auto-completed to help users know what are the available continuations to their commands to prevent errors and improve their experience by hiding or showing options based on what users have already typed I'm a tab-completion junkie, so the more people that know how to do this, the better!

read more...

Smashing Magazine Icon Smashing Magazine

Best practices with CSS Grid layout

Rachel Andrew: An increasingly common question — now that people are using CSS Grid Layout in production — seems to be “What are the best practices?” The short answer to this question is to use the layout method as defined in the specification. The particular parts of the spec you choose to use, and indeed how you combine Grid with other layout methods such as Flexbox, is down to what works for the patterns you are trying to build and how you and your team want to work. Amazingly educational article. I've said it before, and I'll say it again: when you want to learn about CSS Grid, Rachel Andrew is the source.

read more...

Ashley Willams Mozilla

Hello wasm-pack!

wasm-pack is a tool for assembling and packaging Rust crates that target WebAssembly. These packages can be published to the npm Registry and used alongside other packages. This means you can use them side-by-side with JS and other packages, and in many kind of applications, be it a Node.js server side app, a client-side application bundled by Webpack, or any other sort of application that uses npm dependencies. We're recording a show with Lin Clark today and will definitely ask her all about the progress Mozilla folks have been making on merging the JavaScript and Rust worlds via WebAssembly. Exciting times!

read more...

Netflix Technology Blog Icon Netflix Technology Blog

Titus, the Netflix container management platform, is now open source

Is Netflix Titus open source yet? Yes. Titus powers critical aspects of the Netflix business, from video streaming, recommendations and machine learning, big data, content encoding, studio technology, internal engineering tools, and other Netflix workloads So, why is Netflix open sourcing Titus? ...we’ve been asked over and over again, “When will you open source Titus?” It was clear that we were discussing ideas, problems, and solutions that resonated with those at a variety of companies, both large and small. We hope that by sharing Titus we are able to help accelerate like-minded teams, and to bring the lessons we’ve learned forward in the container management community. The question is, is it too late for Titus to gain traction in a world where Kubernetes has seemingly already won?

read more...

Evelyn Van Kelle O'Reilly Media

Strong feedback loops make strong software teams

I'm a huge fan of well designed feedback loops. In software creation, feedback loops prove to be one of the most important, often overlooked, artifacts of the development lifecycle. Evelyn Van Kelle writes on the O'Reilly Ideas blog: There is a false dichotomy between full automation and human intervention. Successful quality control combines tool-based measurement with manual review and discussion. At the end of the day, the most effective feedback loops are a mixture of daily best practices, automation, tools, and human intervention.

read more...

Martijn Versluis martijnversluis.github.io

🎼 ChordFiddle – your online playground for ChordPro chord sheets

Like JSFiddle, but for ChordPro chord sheets. I'm no musician, so I'm not embarrassed to say I had to google to learn ChordPro is an ASCII text file format for transcribing songs with chords and lyrics. ChordFiddle is loaded with features and has more coming on the project board. Look under the hood and you'll find two more open source libs: ChordSheetJS and ChordJS.

read more...

Slack Icon github.com

Slack's desktop app bogging you down? Here's a speed-focused alternative.

A cross-platform, open source Slack app that's built for speed?! Shut up and take my money admiration! Wey is written in Node and the UI is powered by the Yue library, which means it's not hitchin' its wagon to Electron. But it does come with a rather large caveat: Do not use this for work, you might miss important messages due to bugs and missing features. Depending on how much you like your job, you might consider that more of a feature than a bug. 😉

read more...

Cate Huston cate.blog

How do developers define success?

How you define success influences how and what you build. With that in mind, Cate Huston set out to learn how we developers do. I started with the Stack Overflow survey. Caveat: I hate it and I think it’s riddled with bias. For example, women make up ~fifty percent of the population, around ~twenty percent of technical roles… and 7.2% of the respondents to this survey. The SO survey is imperfect in many ways, but unfortunately it's also one of the only quantitative datasets we have. Cate also asked her followers on Twitter (which she admits is also riddled with bias): Many of the themes from the Stack Overflow survey showed up here – shipping code, learning and developing, autonomy....Another theme, though, was the theme of impact. People using what was built, benefitting others in some way. That's just a few of her findings. Definitely read the entire piece as it's riddled (😏) with insights. Also check out part 1 in this series.

read more...

CSS-Tricks Icon CSS-Tricks

Hey hey `font-display`

Chris Coyier: Y'all know about font-display? It's pretty great. It's a CSS property that you can use within @font-face blocks to control how, visually, that font loads. … What do you get from it? The ability to control FOUT and FOIT as is right for your project, two things that both kinda suck in regards to font loading. Font loading strategy is pretty important. It's one of the reasons I searched far and wide to improve the performance of fonts on Brightly Colored. Fortunately, if you're using @font-face, using font-display is as easy as using one line of CSS, and you'll see the performance improvements immediately. Unfortunately, as Chris points out, there's no performant way to get around either FOUT or FOIT.

read more...

Jon Stødle blog.jonstodle.com

PWAs are going to eat the (app) world

Yesterday's bearish link about PWAs caused a bit of a stir in our community Slack. Here comes the bull: PWAs are going to be versatile enough and robust enough that they're going to supplant some of the native apps you might have on your phone (or computer) today. I appreciate the caution on display by use of the word "some". Jon may be bullish, but he's not a zealot! Why does he think PWAs will finally get over the hurdle? One acronym: WASM With the ease of install of PWAs and high performance of WASM, I think we're also going to see some Electron apps moving to be PWAs. Great article. Definitely click through and read the whole thing. 💯

read more...

Our podcasts

No matter where you are on your hacker path, we have a podcast for you. This community cares about the past, present, and future hacker generation. We're about lifting people up, not putting people down.

0:00 / 0:00