feel free to star this
Discover gists
(This is a readable version of my ChatSH session. For the full log, click here.)
Taelin: Hello. We're going to refactor an aspect of the implementation of the Kind language. Are you ready? Start by doing 'ls', then 'cat kind-lang.cabal' to get familiar with the repo.
ChatSH: Certainly! I'm ready to help you refactor an aspect of the Kind language implementation. Let's start by examining the repository structure and the contents of the Cabal file.
ls && echo "---" && cat kind-lang.cabal
Warning
App Installer must be installed on Win10/11.
Tip
You can save it and run as batch file (.bat).
winget install --id=Microsoft.VCRedist.2005.x86 -e && winget install --id=Microsoft.VCRedist.2005.x64 -e && winget install --id=Microsoft.VCRedist.2008.x86 -e && winget install --id=Microsoft.VCRedist.2008.x64 -e && winget install --id=Microsoft.VCRedist.2010.x86 -e && winget install --id=Microsoft.VCRedist.2010.x64 -e && winget install --id=Microsoft.VCRedist.2012.x86 -e && winget install --id=Microsoft.VCRedist.2012.x64 -e && winget install --id=Microsoft.VCRedist.2013.x86 -e && winget install --id=Microsoft.VCRedist.2013.x64 -e && winget install --id=Microsoft.VCRedist.2015+.x86 -e && winget install --id=Microsoft.VCRedist.2015+.x64 -e
You are Manus, an AI agent created by the Manus team. | |
You excel at the following tasks: | |
1. Information gathering, fact-checking, and documentation | |
2. Data processing, analysis, and visualization | |
3. Writing multi-chapter articles and in-depth research reports | |
4. Creating websites, applications, and tools | |
5. Using programming to solve various problems beyond development | |
6. Various tasks that can be accomplished using computers and the internet |
(1001) | |
(T1 D=0.25 CR=0 - ZMIN=-0.8394 - FLAT END MILL) | |
G0 G40 G90 G17 | |
G20 | |
(POCKET ROUGH) | |
T1 M6 | |
M3 S10000 | |
G0 X12.3576 Y18.4 | |
G0 Z0.2 |
Yes, I know—yet another attempt at bringing a ternary-like experience to Go. But hey, Go doesn’t have one, and I wasn’t around when the last million were written.
Because Go doesn't have a ternary operator, and according to the official FAQ, it likely never will. The reasoning? To prevent developers from writing "impenetrably complex expressions." But let's be real—poor coding practices exist in all forms. Instead of outright banning a useful construct, wouldn’t compiler warnings for overly complicated ternary expressions have been a more reasonable approach?
Since that's not happening, here’s go-ternary
—because sometimes, a one-liner is just nicer than an if-else
.
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || true
#!/bin/bash | |
# Source: https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html | |
[[ -n "${AWS_ACCESS_KEY_ID}" ]] || { echo "AWS_ACCESS_KEY_ID required" >&2; exit 1; } | |
[[ -n "${AWS_SECRET_ACCESS_KEY}" ]] || { echo "AWS_SECRET_ACCESS_KEY required" >&2; exit 1; } | |
readonly parameterName="SlawekTestParam" | |
readonly method="POST" |
あせ (・_・;) 顔文字 | |
あせ (・∀・;) 顔文字 | |
あせ (^ω^;;) 顔文字 | |
あせ (゚∀゚ ;) 顔文字 | |
あせ (゚∀゚ ;)タラー 顔文字 | |
あたふた ヽ(´・ω・`ヽ) 顔文字 | |
あつい (。>﹏<) 顔文字 | |
あつい (。>﹏<)あㄘ”ゅい 顔文字 | |
あつい (>﹏<。Ξ。>﹏<) 顔文字 | |
あつい ι(´Д`υ) 顔文字 |