Shlomo Kraus github.com

Mockshot – automatic mock generation from snapshot tests

We made a silly joke on Twitter yesterday (this is what Twitter is for, no?) about test doubles and that unfortunate moment when they inevitably surprise you. This prompted Shlomo Kraus to reach out and tell us about Mockshot. In brief: Imagine you could: Never manually write a mock again Have a guarantee that your mocks are always valid Sounds nice! It works by using Jest’s snapshot tests output to generate mocks to be used in other tests. This is purposeful coupling, which seems like it could backfire in the long-run. However, the team behind the library has been using it for over a year and are still singing its praises. For more on their experience creating and using it, read this.

read more

Havoc Pennington Tidelift

Open source has a working-for-free problem

Open source isn’t a charity case. We can’t expect to attract and retain level 10 players into a level 2 opportunity. So why are we treating open source maintainers and contributors like they owe us something and not finding ways to enable them to maximize the rewards they can get for playing the game? Let’s abandon the notion that open source is exclusively charity. In the software industry, we’re normalizing spec work in a way that the design industry successfully rallied against. The narrative around open source is that it’s completely OK—even an expectation—that we’re all doing this for fun and exposure; and that giant companies should get huge publicity credit for throwing peanuts-to-them donations at a small subset of open source projects. There’s nothing wrong with doing stuff for fun and exposure, or making donations, as an option. It becomes a problem when the free work is expected and the donations are seen as enough.

read more

Raygun Icon Raygun – Sponsored

See a complete picture of your software health, in one place

Raygun monitors every part of your software stack in one tool. Bring your whole team and your software monitoring together. Break down the walls between your monitoring tools. Do it all in one fully integrated platform. The Raygun Platform offers a fully integrated suite of products to monitor your software applications. Silently monitor every part of your application stack and highlight problems that are affecting end users and customers. Increase software development efficiency. Improve code quality. Spend more time building great software and less time fighting it. Learn more or view platform pricing.

read more

logged by @logbot permalink

Lauren Tan no.lol

Migrating from Medium to Gatsby

Lauren Tan: I recently moved my blog from Medium to a self-managed blog built with Gatsby in the open, then deployed on Netlify. After a few weeks of fiddling around, I feel like I’ve landed on something I’m mostly happy with. This is a transition we are 💯 behind. Medium is becoming more reader-hostile all the time. Plus, wouldn’t you rather own your own content on a domain you have control over? Of course you would!

read more

Practical AI Practical AI #35

Social AI with Hugging Face

Clément Delangue, the co-founder and CEO of Hugging Face, joined us to discuss fun, social, and conversational AI. Clem explained why social AI is important, what products they are building (social AIs who learn to chit-chat, talk sassy and trades selfies with you), and how this intersects with the latest research in AI for natural language. He also shared his vision for how AI for natural language with develop over the next few years.

read more

Amila Welihinda github.com

A checklist of things to consider before releasing your project

There’s lots of good advice here, covering: 🎨 Initial Presentation 💰 Value Proposition 💯 Project Quality 👑 Branding ✈️ Onboarding Methods 🧹 Code Conventions and Infrastructure 📣 Spread the Word 🤑 Funding If you read the Spread the Word section closely you’ll notice Amila is following his own advice. 😉

read more

DigitalOcean Icon DigitalOcean – Sponsored

DigitalOcean just launched managed databases for PostgreSQL!

DigitalOcean continues to deliver what users want with their latest announcement of Managed Databases. Today we are excited to bring you Managed Databases, our own fully managed and feature rich database service. Starting with support for PostgreSQL, Managed Databases enables developers of all skill levels to quickly and easily spin up a high-performance database cluster that is worry-free and scalable. Leave the complexity of database administration to us. We’ll handle setting up, backing up, and updating — so you can focus on building great apps. Head to do.co/changelog to get $100 in credit to use in your first 60 days.

read more

logged by @logbot permalink

Eevee eev.ee

On code elegance

A somewhat #longread on what “elegance” means when it comes to code: I get a gut feeling when something is elegant, and a different gut feeling altogether when something is hacky; I suspect most programmers experience the same. The strongest pattern I’ve found is this: Elegance is about expressing exactly what you mean — no more, no less. Conversely, I could define a hack as something that doesn’t remotely express what you mean, but happens to have a close-enough effect. Eevee goes on to disect some code examples. Thankfully, most of them are from video games. 😅

read more

Nadia Eghbal nadiaeghbal.com

Making money with licenses

Nadia Eghbal, on the role of licenses in open source funding: I’m skeptical that new licenses are the right approach on a systemic level, both in terms of feasibility, as well as where I think the world is going. I’ll tackle each of these concerns separately. I tend to agree with her take on the Right Way™️ to be thinking about it: I’m more interested in solutions that aim to capture value on the production, rather than consumption side. While everyone is focused on putting up tollbooths, opportunities to “price” maintainer attention, and access to maintainers, remain undervalued. There are issues with this as well. For one, buying access to maintainers is a proxy for buying influence over the project’s direction. This isn’t a guarantee, but it’s definitely a concern and could negatively impact other users. That being said, I think production-side monetization in the world of open source is a winning strategy over consumption-side monetization. What do you think?

read more

Craig Kerstiens craigkerstiens.com

Give me back my monolith

It feels like we’re starting to pass the peak of the hype cycle of microservices. It’s no longer multiple times a week we now see a blog post of “How I migrated my monolith to 150 services”. Now I often hear a bit more of the counter: “I don’t hate my monolith, I just care that things stay performant” What follows is an excellent rundown of all the advantages that a monolith has over microservices. For a real-world case study, listen to the details of Segment’s transition back to a monorepo.

read more

Lara Hogan twitter.com

Lara Hogan on mentorship and sponsorship

Read this Twitter thread from Lara Hogan. Get wisdom. Here’s an excerpt from the thread: I’m giving a talk today about Mentorship and Sponsorship and how they help folks grow in super different ways. Managers most frequently default to mentorship mode when they’re helping their teammates grow, and that’s… not quite right, exactly But the magical mode is SPONSOR MODE. Also, read “What does sponsorship look like?”

read more

The Allen Institute for AI Icon The Allen Institute for AI

China to overtake US in AI research

China has committed to becoming the world leader in AI by 2030, with goals to build a domestic artificial intelligence industry worth nearly $150 billion (according to this CNN article). Prompted by these efforts, the Semantic Scholar team at the Allen AI Institute analyzed over two million academic AI papers published through the end of 2018. This analysis revealed the following: Our analysis shows that China has already surpassed the US in published AI papers. If current trends continue, China is poised to overtake the US in the most-cited 50% of papers this year, in the most-cited 10% of papers next year, and in the 1% of most-cited papers by 2025. Citation counts are a lagging indicator of impact, so our results may understate the rising impact of AI research originating in China. They also emphasize that US actions are making it difficult to recruit and retain foreign students and scholars, and these difficulties are likely to exacerbate the trend towards Chinese supremacy in AI research.

read more

OpenAI Icon OpenAI

OpenAI creates a "capped-profit" to help build artificial general intelligence

OpenAI, one of the largest and most influential AI research entities, was originally a non-profit. However, they just announced that they are creating a “capped-profit” entity, OpenAI LP. This capped-profit entity will supposedly help them accomplish their mission of building artificial general intelligence (AGI): We want to increase our ability to raise capital while still serving our mission, and no pre-existing legal structure we know of strikes the right balance. Our solution is to create OpenAI LP as a hybrid of a for-profit and nonprofit—which we are calling a “capped-profit” company. The fundamental idea of OpenAI LP is that investors and employees can get a capped return if we succeed at our mission, which allows us to raise investment capital and attract employees with startup-like equity. But any returns beyond that amount—and if we are successful, we expect to generate orders of magnitude more value than we’d owe to people who invest in or work at OpenAI LP—are owned by the original OpenAI Nonprofit entity. To some this makes total sense. Others have criticized the move, because they say that it misrepresents money as the only barrier to AGI or implies that OpenAI will develop it in a vacuum. What do you think? Learn more about OpenAI’s mission from one of it’s founders in this episode of Practical AI.

read more

Kubernetes submariner.io

Connect all your Kubernetes clusters, wherever they are in the world

Submariner is a tool built to connect overlay networks of different Kubernetes clusters. While most testing is performed against Kubernetes clusters that have enabled Flannel/Canal, Submariner should be compatible with any CNI-compatible cluster network provider, as it utilizes off-the-shelf components such as strongSwan/Charon to establish IPsec tunnels between each Kubernetes cluster. Pre-alpha so it’s not ready for production, but it is ready for a follow.

read more

0:00 / 0:00