Notification: Preset: opus reason low creativity
LukeberryPi: this is my git workfow. but I always see this error. what am I doing wrong?
git checkout main
git checkout -b feature/...
git add -p
Notification: Preset: opus reason low creativity
LukeberryPi: this is my git workfow. but I always see this error. what am I doing wrong?
git checkout main
git checkout -b feature/...
git add -p
// Zed settings | |
// | |
// For information on how to configure Zed, see the Zed | |
// documentation: https://zed.dev/docs/configuring-zed | |
// | |
// To see all of Zed's default settings without changing your | |
// custom settings, run `zed: open default settings` from the | |
// command palette (cmd-shift-p / ctrl-shift-p) | |
{ | |
"agent": { |
this is an AI conversation where I asked Claude 4 Sonnet to explain how dynamic backfill works in the context of a radio stream.
LukeberryPi: i want to understand more about dynamic backfill in the context of streaming e.g.: for a radio streaming website
Claude Sonnet 4: Dynamic backfill in radio streaming refers to the intelligent insertion of content (typically ads, promos, or alternative programming) into live audio streams when the original content can't be delivered to specific listeners. Here's how it works:
Git is a powerful version control system that allows developers to manage changes to their code effectively. One of the key features of Git is the ability to rebase branches, which can help maintain a clean and organized project history. In this article, we will explain the concept of rebasing step by step, provide examples of when things go right, and highlight potential pitfalls to avoid.
Rebasing is a Git command that allows you to move or combine a series of commits from one branch onto another. When you rebase, you take the changes from your current branch and apply them on top of another branch, effectively rewriting the commit history. This process can make your project history more linear and easier to follow, especially when integrating changes from multiple developers.
WAGTAIL DJANGO AttributeError: 'NoneType' object has no attribute '_inc_path' | |
Traceback (most recent call last): | |
File "/opt/patient_portal/lib/python3.8/site-packages/django/core/handlers/exception.py", line 55, in inner | |
response = get_response(request) | |
File "/opt/patient_portal/lib/python3.8/site-packages/django/core/handlers/base.py", line 197, in _get_response | |
response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/var/www/html/patient-portal-django/./location/views.py", line 55, in create_location_page_drafts | |
location_index_page.add_child(instance=location_page) | |
File "/opt/patient_portal/lib/python3.8/site-packages/treebeard/mp_tree.py", line 1091, in add_child |
npm install
was broken because the dependency node-sass
. changing to the sass
LTS fixed it.create-react-app
is no longer recommended by the React team. for the next SPA we build, we can consider using Vite
instead. this will provide better compatibility with commonly-used libraries and might avoid future bugs./* | |
disable backdrop/background scroll when there is a modal/dialog open | |
this depends on having the open attribute on the dialog itself | |
more: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog | |
*/ | |
dialog::backdrop { overflow: hidden; } body:has(dialog[open]) { overflow: hidden; pointer-events: none; } dialog[open] { pointer-events: auto; } |
\documentclass[a4paper,10pt]{article} | |
\usepackage[margin=0.5in,nofoot]{geometry} | |
\usepackage{fontawesome5} | |
\usepackage{hyperref} | |
\usepackage{titlesec} | |
\usepackage{xcolor} | |
\hypersetup{ | |
colorlinks=true, | |
linkcolor=blue, |
import { useEffect, useState } from 'react'; | |
export default function useDebounce(value: string, delay: number) { | |
const [debouncedValue, setDebouncedValue] = useState(value); | |
useEffect(() => { | |
const handler = setTimeout(() => { | |
setDebouncedValue(value); | |
}, delay); |
{ | |
"workbench.colorTheme": "Vesper", | |
"workbench.iconTheme": "chalice-icon-theme", | |
"editor.fontSize": 15, | |
"editor.fontWeight": "300", | |
"terminal.explorerKind": "external", | |
"terminal.integrated.fontSize": 20, | |
"terminal.integrated.fontWeight": "300", | |
"editor.glyphMargin": false, | |
"editor.fontFamily": "JetBrains Mono", |