Let’s play a game of “Fortunately, Unfortunately“. Respond the previous post (the first comment below this post) by replying this post (not the previous post!)
I’ll start with: “I found this website.“
//++++
I am Steve Wozniak.
//+++
Commenting codes should be ritualistic to every programmer. I cringe every time I see source codes that doesn’t have detailed enough comments on them. I can’t believe some people are this lazy.
//++
I commented my code to the very details of my functions/subroutines, so I’ll never forget what it is and how it works.
//+
I commented my codes to explain what my functions/subroutines do.
//
I commented my codes where I see fit.
//-
I rarely commented my code.
//--
I don’t need to comment; if I ever forgot what my code does, I can just figure it out myself.
//---
Comments don’t actually help programmers, they hurt them. It’s an eye sore that makes any source codes unreadable. You don’t have to label the foods on your refrigerator just so you know what’s in them.
//*
My main programming language does not support commenting.
gilbertdlo@asusArch /m/L/wine-source [1]> sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib-testing is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: freetype2 will be installed before its harfbuzz dependency
warning: dependency cycle detected:
warning: lib32-harfbuzz will be installed before its lib32-freetype2 dependency
Packages (271) a52dec-0.8.0-2 aalib-1.4rc5-17 appstream-glib-0.8.2-3
archlinux-keyring-20230704-1 aribb24-1.0.3-3
at-spi2-core-2.48.3-2 avahi-1:0.8+r22+gfd482a7-1
bison-3.8.2-6 bluez-5.68-1 bluez-libs-5.68-1 boost-1.81.0-7
boost-libs-1.81.0-7 brltty-6.5-5 btrfs-progs-6.3.2-1
ca-certificates-mozilla-3.91-1 cargo-c-0.9.20-1
codec2-1:1.1.1-1 cuda-12.2.0-1 cups-1:2.4.6-1
cython-0.29.36-1 dav1d-1.2.1-1 db-6.2.32-1 dbus-1.14.8-1
dbus-glib-0.112-3 dnf-4.16.1-1 duktape-2.7.0-6
edk2-ovmf-202305-1 egl-wayland-2:1.1.12-1 enchant-2.3.4-2
exiv2-0.28.0-3 extra-cmake-modules-5.107.0-1 fbset-2.1-10
fcitx5-qt-5.0.17-6 festival-2.5.0-5 ffmpeg4.4-4.4.4-1
firefox-115.0-1 flac-1.4.3-1 fluidsynth-2.3.3-1
freetype2-2.13.1-1 fribidi-1.0.13-2 fzf-0.42.0-1
gcc12-12.3.0-2 gcc12-libs-12.3.0-2 gettext-0.22-1
ghostscript-10.01.2-1 git-2.41.0-1 glib-networking-1:2.76.1-1
glslang-12.2.0-1 gperftools-2.10-3
grub-2:2.06.r591.g6425c12cd-1 gspell-1.12.1-2
gst-plugin-gtk-1.22.4-2 gst-plugin-pipewire-1:0.3.72-1
gst-plugins-bad-1.22.4-2 gst-plugins-bad-libs-1.22.4-2
gst-plugins-base-1.22.4-2 gst-plugins-base-libs-1.22.4-2
gst-plugins-good-1.22.4-2 gstreamer-1.22.4-2
gtk-update-icon-cache-1:4.10.4-1 gtk4-1:4.10.4-1
gupnp-1:1.6.4-1 harfbuzz-7.3.0-2 harfbuzz-icu-7.3.0-2
hwdata-0.372-1 iana-etc-20230524-1 icu-73.2-1
imagemagick-7.1.1.12-1 imath-3.1.9-1 inkscape-1.2.2-9
iproute2-6.4.0-1 iwd-2.7-1 kbd-2.6.1-1 kcompletion-5.107.0-1
kconfig-5.107.0-1 kcoreaddons-5.107.0-1 kcrash-5.107.0-1
kguiaddons-5.107.0-1 ki18n-5.107.0-1 kitemmodels-5.107.0-1
kitemviews-5.107.0-1 krita-5.1.5-10 kwidgetsaddons-5.107.0-1
kwindowsystem-5.107.0-1 lib2geom-1.3-1 lib32-brotli-1.0.9-12
lib32-dbus-1.14.8-1 lib32-flac-1.4.3-1
lib32-freetype2-2.13.1-1 lib32-glib2-2.76.4-1
lib32-harfbuzz-7.3.0-2 lib32-icu-73.2-1 lib32-libpng-1.6.40-2
lib32-libssh2-1.11.0-1 lib32-libx11-1.8.6-1
lib32-libxcrypt-4.4.36-1 lib32-libxml2-2.11.4-1
lib32-mesa-23.1.3-1 lib32-openssl-1:3.1.1-1
lib32-rust-libs-1:1.70.0-1 lib32-systemd-253.5-1
lib32-util-linux-2.39.1-1 lib32-vulkan-icd-loader-1.3.255-1
libadwaita-1:1.3.3-1 libappindicator-gtk3-12.10.0.r298-2
libassuan-2.5.6-1 libavc1394-0.5.4-6 libblockdev-2.28-4
libcaca-0.99.beta20-2 libcdr-0.1.7-6 libcups-1:2.4.6-1
libdbusmenu-glib-16.04.0.r498-1
libdbusmenu-gtk3-16.04.0.r498-1 libdc1394-2.2.7-1
libdca-0.0.7-2 libde265-1.0.12-1 libdv-1.0.0-11
libdvdnav-6.1.1-2 libdvdread-6.1.3-2 libe-book-0.1.3-14
libgme-0.6.3-4 libgudev-238-1 libgusb-0.4.6-1
libical-3.0.16-5 libjxl-0.8.2-1 libksba-1.6.4-1
liblouis-3.26.0-1 libmd-1.1.0-1 libmediainfo-23.06-1
libmpcdec-1:0.1+r475-4 libmpeg2-0.5.1-8 libmspub-0.1.4-14
libnghttp2-1.54.0-1 libopenmpt-0.7.2-1 libp11-kit-0.25.0-1
libpaper-2.1.1-1 libpipewire-1:0.3.72-1 libpng-1.6.40-2
libproxy-0.5.2-2 libqxp-0.0.2-10 libreoffice-fresh-7.5.4-3
librsvg-2:2.56.2-1 libssh2-1.11.0-1 libtiff-4.5.1-1
libtommath-1.2.0-4 libtraceevent-1:1.7.3-1 libtracefs-1.7.0-1
liburing-2.4-1 libuv-1.46.0-1 libvisio-0.1.7-9
libwbclient-4.18.4-1 libwebp-1.3.1-1 libx11-1.8.6-1
libxcrypt-4.4.36-1 libxcrypt-compat-4.4.36-1 libxml2-2.11.4-1
libxslt-1.1.38-1 libzmf-0.0.2-14 linux-6.4.1.arch2-1
linux-firmware-20230625.ee91452d-3
linux-firmware-whence-20230625.ee91452d-3
linux-headers-6.4.1.arch2-1 lmms-1.2.2-16 lxsession-1:0.5.5-2
mailcap-2.1.54-1 mariadb-clients-11.0.2-2
mariadb-libs-11.0.2-2 mediainfo-23.06-1 mesa-23.1.3-1
minizip-1:1.2.13-3 mjpegtools-2.2.1-2
mkinitcpio-busybox-1.36.1-1 nettle-3.9.1-1
network-manager-applet-1.32.0-3 nm-connection-editor-1.32.0-3
node-gyp-9.4.0-1 nodejs-20.3.1-2 nodejs-nopt-7.2.0-1
noto-fonts-1:23.7.1-1 nss-3.91-1 ntp-4.2.8.p17-1
obs-studio-29.1.3-1 ocl-icd-2.3.2-1 opencolorio-2.2.1-10
openexr-3.1.9-1 openimageio-2.4.12.0-1
openshadinglanguage-1.12.13.0-1 openssh-9.3p1-2
openssl-3.1.1-1 p11-kit-0.25.0-1 pacman-mirrorlist-20230628-1
pavucontrol-1:5.0+r64+geba9ca6-1 pcsclite-2.0.0-1
perl-5.36.1-2 perl-net-http-6.23-1 pipewire-1:0.3.72-1
poppler-23.06.0-1 poppler-glib-23.06.0-1 procps-ng-4.0.3-1
pypy-7.3.12-1 python-3.11.3-2 python-cryptography-41.0.1-2
python-inflect-6.1.0-1 python-jaraco.functools-3.8.0-1
python-numpy-1.25.0-1 python-pydantic-1.10.9-1
python-setuptools-1:68.0.0-1 python-typing_extensions-4.7.0-1
qemu-audio-alsa-8.0.2-1 qemu-common-8.0.2-1
qemu-hw-display-virtio-gpu-8.0.2-1
qemu-hw-display-virtio-vga-8.0.2-1 qemu-img-8.0.2-1
qemu-system-x86-8.0.2-1 qemu-system-x86-firmware-8.0.2-1
qemu-ui-gtk-8.0.2-1 qemu-ui-opengl-8.0.2-1 qpdf-11.4.0-2
qscintilla-qt5-2.14.1-1 qt5-base-5.15.10+kde+r130-1
qt5-declarative-5.15.10+kde+r26-1
qt5-location-5.15.10+kde+r4-2 qt5-multimedia-5.15.10+kde+r3-1
qt5-svg-5.15.10+kde+r8-1 qt5-translations-5.15.10-1
qt5-wayland-5.15.10+kde+r51-1 qt5-webchannel-5.15.10+kde+r3-1
qt5-webengine-5.15.14-4 qt5-websockets-5.15.10+kde+r2-1
qt5-x11extras-5.15.10-1 qt6-base-6.5.1-5 qtractor-0.9.34-1
raptor-2.0.16-3 rust-1:1.70.0-1 samba-4.18.4-1 sdl2-2.28.1-1
sfml-2.6.0-3 smbclient-4.18.4-1 srt-1.5.2-1 svt-av1-1.6.0-1
systemd-253.5-2 systemd-libs-253.5-2
systemd-sysvcompat-253.5-2 taglib-1.13.1-1 tracker3-3.5.3-2
ttf-dejavu-2.37+18+g9b5d1b2f-4 udisks2-2.9.4-4
upower-1.90.2-1 util-linux-2.39.1-1 util-linux-libs-2.39.1-1
vapoursynth-R63-1 vim-9.0.1628-1 vim-runtime-9.0.1628-1
vlc-3.0.18-12 vte-common-0.72.2-2 vte3-0.72.2-2
vulkan-headers-1:1.3.256-1 vulkan-icd-loader-1.3.255-1
wildmidi-0.4.5-2 wine-8.11-1 wolfssl-5.6.3-1
xfce4-settings-4.18.3-1 xfsprogs-6.3.0-2
xkeyboard-config-2.39-1 xorg-xrdb-1.2.2-1 xorg-xwd-1.0.9-1
xorgproto-2023.2-1 xterm-383-1 zeromq-4.3.4-4
zlib-1:1.2.13-3 zxing-cpp-2.1.0-1
Total Download Size: 2898.70 MiB
Total Installed Size: 9890.88 MiB
Net Upgrade Size: 46.64 MiB
:: Proceed with installation? [Y/n]
Thanks Arch
more mutability weirdness I would like to abuse later
def test(foo = {}):
def this():
return foo
def that():
return foo
return this, that
this_one , that_one = test({1: ["foo"]})
this_other, that_other = test({2: ["bar"]})
this_one().update(this_other())
this_one()[2].append("baz")
print(that_one(), that_other())
it’s the last week of school vacation or whatever you call it
Here a rare sight: an APA style citation on a Scratch project
why is my 10 year old daughter sister watching a PG-18 rated anime
(wait, does that rating even exist?)
from the creator (singular) of Bundle, here comes BlueFun:
https://bluefun.glitch.me/?bundle=64a43ec610bc0b0620075060
(yay)
America.
America.
America.
America.
America.
Americas.
Americans.
Americanos.
American.
Americano.
A merry-go-round.
Amerigo Vespucci.
An Italian.
TIL you can return from a try
-catch
block, giving meaning to the finally
block (probably)