Nicholas Rempel blog.30hourjobs.com

Moving the world to a 4 day workweek

Is it possible to work just 4 days a week, be happier, more productive, and still make the same amount of money? That’s one of many questions Aidan Harper and other researchers at the New Economics Foundation and members of the 4 Day Week campaign are trying to solve in an effort to combat the problem of overwork, which is “leading to a crisis in mental health and well-being.” The single biggest cause of work related stress, anxiety, and depression is overwork. So much so that last year one in four of all sick days was the result of overwork — which is huge proportion of sickness caused directly by overwork. In some ways, you can look at this statistic as a massive drag on the economy. Losing that many work days is very expensive but, more importantly, it’s also a huge societal malaise. Every day people are feeling the effects of overwork and this statistic doesn’t even take into account the number of people who aren’t taking sick days but are feeling generally burnt out and are just barely getting by. To summarize — the 4 day workweek is a pragmatic response to a the problem of overwork that is leading to a crisis in mental health and wellbeing. If you’re just off the heels of the recent honest conversation about burnout on JS Party, then you’ll certainly enjoy this interview with Aidan Harper,

read more

SQLite github.com

Sqlite To Rest

LGTM, but why? Mostly because I wanted to dig deeper into node web server code, but also because I haven’t jumped onto the NoSQL bandwagon and think that web APIs are extremely useful. The result is a modest attempt at automating the CRUD boilerplate that every developer hates, while following the specs to make API consumption intuitive. I chose sqlite to keep the database side of things simple, with the intent that the API isn’t serving heavy loads.

read more

Segment Icon Segment – Sponsored

Cultivating your Data Lake

Segment has helped thousands of businesses walk the path toward becoming more data-informed. All too often, we hear that businesses want to do more with their customer data. They want to be data-informed, they want to provide better customer experiences, and—most of all—they just want to understand their customers. One successful technique we’ve seen time and time again is establishing a working data lake. In this post, Lauren Reeder dives into the various layers to consider when working with a data lake.

read more

logged by @logbot permalink

Jonathan Leitschuh Medium

Zoom's zero day bug bounty write-up

By now you’ve probably heard about Zoom’s zero day bug that exposed 4+ million webcams to the bidding of nefarious hackers. Security researcher Jonathan Leitschuh shared the full background and details on InfoSec Write-ups: This vulnerability was originally responsibly disclosed on March 26, 2019. This initial report included a proposed description of a ‘quick fix’ Zoom could have implemented by simply changing their server logic. It took Zoom 10 days to confirm the vulnerability. The first actual meeting about how the vulnerability would be patched occurred on June 11th, 2019, only 18 days before the end of the 90-day public disclosure deadline. During this meeting, the details of the vulnerability were confirmed and Zoom’s planned solution was discussed. However… If you use Zoom or if you’ve EVER installed Zoom, read Jonathan’s write-up and take appropriate action to update Zoom or to remove the lingering web server it leaves behind. Confirm if the server is present by running lsof -i :19421 in Terminal.

read more

link Icon runyourown.social

How to run a small social network site for your friends

Darius Kazemi, recent Mozilla Fellow and one of my favorite internet artists, has put together a comprehensive guide on how to run your own social network. The Mastodon instance he runs, Friend Camp, seems like one of the more fun and positive social networks around. This document exists to lay out some general principles of running a small social network site that have worked for me. These principles are related to community building more than they are related to specific technologies. This is because the big problems with social network sites are not technical: the problems are social problems related to things like policy, values, and power.

read more

DigitalOcean Icon DigitalOcean – Sponsored

Free Python machine learning projects ebook

To commemorate the 2019 PyCon conference and the worldwide Python community, Lisa Tagliaferri and Brian Boucheron from DigitalOcean have put together a free eBook of Python machine learning projects! As machine learning is increasingly leveraged to find patterns, conduct analysis, and make decisions — sometimes without final input from humans who may be impacted by these findings — it is crucial to invest in bringing more stakeholders into the fold. This book of Python projects in machine learning tries to do just that: to equip the developers of today and tomorrow with tools they can use to better understand, evaluate, and shape machine learning to help ensure that it is serving us all.

read more

logged by @logbot permalink

Python hypothesis.works

Hypothesis seeks to automate your test process

This interesting testing tool was pointed out to me by Ned Batchelder when he was on The Changelog. It combines human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests. At its core, Hypothesis is a modern implementation of property based testing, which came out of the Haskell world 20 (!) years ago. Hypothesis runs your tests against a much wider range of scenarios than a human tester could, finding edge cases in your code that you would otherwise have missed. It then turns them into simple and easy to understand failures that save you time and money compared to fixing them if they slipped through the cracks and a user had run into them instead.

read more

Medium Icon Medium

I’ve spent 5 years writing a JavaScript framework on my own

Typescene is a robust front end library written in TypeScript: strongly typed, no dependencies, no nonsense. It’s really great for desktop-like (or mobile) applications, not so great for blogs and other content. It isn’t backed by some major corporation, not even a startup, but it’s been built by me: one developer on a mission to build a no-nonsense dependency-less framework The author’s journey is noteworthy, but if you’re mostly wanting to know if this particular framework speaks to you, jump directly to its list of goals.

read more

Python nicolas-hahn.com

One program written in Python, Go, and Rust

This is a subjective, primarily developer-ergonomics-based comparison of the three languages from the perspective of a Python developer, but you can skip the prose and go to the code samples, the performance comparison if you want some hard numbers, the takeaway for the tl;dr, or the Python, Go, and Rust diffimg implementations. Not only is this a good way to compare programming languages, but it’s a good way to learn a new language if you’re already familiar with one of the others.

read more

Omer Hamerman prodops.io

Make Vim your friend in 9 minutes (or less)

Clearly it takes years to truly master Vim, but it takes just 9 minutes, or less depending on the speed you read at, to hear someone else’s journey with Vim. Omer Hamerman shared the “why” and “how” of Vim — plus the recipe and resources he used to learn Vim. How did I do it? After a few brutal fights, having my fallback IDE to run back to crying with the tail between my legs, I made a decision. Here’s how I did it: Got a nice small notebook I could carry around I bought the awesome Practical Vim by Drew Neil both in hardcover and for my iPad to read on the move Every night before going to bed, I read one tip — the book is very intelligently built like that for easy, slow studying…

read more

Rust blog.discordapp.com

Using Rust to scale Elixir for 11 million concurrent users

The Discord team bumped up against some limitations of the BEAM (Erlang’s virtual machine) when dealing with rather large data structures: The double-edged sword of immutable data structures is that mutations are modeled by taking an existing data structure and an operation and creating a brand new data structure that is the result of applying that operation to the existing data structure. This meant that when someone joined a server — internally referred to as guilds — with a Member List of 100,000 members, we would have to build a new list with 100,001 members in it. You’ll want to click through and read all of the data structures they tried to fix this problem. It’s some seriously solid engineering and I love how they continued to measure and push themselves further. Finally, they reached for Rust thanks to BEAM’s NIF feature and really scaled up the speed.

read more

Founders Talk Founders Talk #67

Mastering the art of quitting

Lynne Tye is the founder of Key Values, a platform where developers find engineering teams that share their values. To be more precise, Lynne is a solo-founder. She’s also a team of one. Lynne’s path to becoming a founder was anything but typical. She had plans to follow in her parent’s and sister’s footsteps to go into academia, and got two years into pursuing her PhD in Neuroscience before she made one of the best choices in her life — she quit. Lynne has mastered the art of quitting, at the right time of course, and she’s used that art as her secret weapon in her quest to become a founder.

read more

Chris Biscardi gatsbyjs.org

Gatsby themes promoted to stable!

Our friends at Gatsby just announced the stable release of Gatsby themes. Chris Biscardi writes on the Gastby blog: Using a Gatsby theme, all of your default configuration (shared functionality, data sourcing, design) is abstracted out of your site, and into an installable package. This means that the configuration and functionality isn’t directly written into your project, but rather versioned, centrally managed, and installed as a dependency. You can seamlessly update a theme, compose themes together, and even swap out one compatible theme for another. What does “stable” mean? The core theme APIs have been stable for a long time under the __experimentalThemes flag in gatsby-config.js. Since they’re being used in production by a number of different companies to great effect, we’re promoting these APIs, specifically composition and shadowing, to stable within Gatsby core so that people can take advantage of them with confidence.

read more

Smashing Magazine Icon Smashing Magazine

CSS custom properties in the cascade

A brilliant look at how CSS custom properties allow you to both utilize the cascade and provide some level of scoping and proximity-based styling. Prior solutions include the ‘big blunt hammer’ of inheritance-based styling or ignoring the cascade completely utilizing methodologies like BEM, but as author Miriam Suzanne points out: Custom properties provide a new, browser-native solution; they inherit like any other property, but they don’t have to be used where they are defined.

read more

0:00 / 0:00