ContentPosts from @shafislam..
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Tabyl — a frequency table for the modern R user

The tabyl function in R's janitor package simplifies the creation of frequency tables. It has an easy syntax, generates contingency tables with counts and proportions, is compatible with dplyr, and produces neat and informative output. The tabyl function is a useful tool for data analysis in R, maki.. read more  

Tabyl — a frequency table for the modern R user
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

The evolution of React APIs and code reuse

Trace the evolution of React APIs and the mental models behind them. From mixins to hooks, to RSCs, understand the tradeoffs along the way... read more  

The evolution of React APIs and code reuse
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Streaming ChatGPT with server-sent events in Flask

The Azure SDK team created a sample using Flask to stream ChatGPT completions to the browser using server-sent events (SSE). SSE allows the server to stream responses to the client in chunks, creating a chat-like experience... read more  

Streaming ChatGPT with server-sent events in Flask
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Thinking about running for the Python Software Foundation Board of Directors? Let’s talk!

The PSF Board Election is happening soon. Current board members will be available on Slack in June to answer questions about board responsibilities. Nomination period: June 1st - 15th. Voting: June 20th - 30th. Join Slack or email psf-elections@python.org for more info. Check psfmember.org for membe.. read more  

Thinking about running for the Python Software Foundation Board of Directors? Let’s talk!
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Your First Steps With the Kivy Library for GUI Development

Your First Steps With the Kivy Library for GUI Development. Kivy is an open-source Python software library for developing graphical user interfaces... read more  

Your First Steps With the Kivy Library for GUI Development
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Securing PyPI accounts via Two-Factor Authentication

PyPI (Python Package Index) is requiring its users to enable two-factor authentication (2FA) to access certain functionalities such as uploading and deleting packages, starting from this week. PyPI admins have also announced that they will mandate 2FA for every maintainer of every package or project.. read more  

Securing PyPI accounts via Two-Factor Authentication
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

How to Build the Memory Tile Game Using Python

Keep a check of your cognitive abilities by building this memory tile game... read more  

How to Build the Memory Tile Game Using Python
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

How to Containerize a Python Application with Paketo Buildpacks

Building even simple Dockerfiles can be a challenge. This article will demonstrate an alternative method of containerizing an application, using Paketo Buildpacks... read more  

How to Containerize a Python Application with Paketo Buildpacks
Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Using NumPy to replace Pandas GroupBy-Apply pattern for performance

Pandas UDF can be limited, so we can speed up the Pandas GroupBy-Apply pattern by using NumPy instead, resulting in a significant performance improvement. However, it's important to benchmark and consider costs before deciding between Pandas and NumPy for your specific use case... read more  

Link
@faun shared a link, 2 years, 6 months ago
FAUN.dev()

Writing Python like it’s Rust

The author started programming in Rust and it influenced their approach to designing programs in Python. They emphasize the use of type hints, dataclasses for structured data, algebraic data types for explicit data shapes, and newtypes for specifying domain-specific usage of existing types. These pr.. read more