Wondering about the experiences with #minfulness and #meditation for other folks with #ADHD, particularly "inattentive type" (or what we used to just call #ADD) and particularly if you experience hyperfocus.
I had a very adverse experience with a therapist obsessed with mindfulness apps who wouldn't listen or engage with my bad responses to them, and as I've tried to reconstitute my own practices, I'm wondering if hyperfocus tendencies alter what methods one should use. 🧵
They may not even care about the voting system and not want to participate.
This point feels moot, to me.
Also on a technical level, it’d be messy to make the two compatible.
They already are compatible, though, aren’t they? That’s the whole point of the ActivityPub protocol. Mastodon, of course, won’t accept downvotes since, afaik, that is an extension made to the protocol by Lemmy, but likes/favorites/upvotes should federate normally.
Over the past ten years or so, I experienced a gradual shift from (a frustrated) "to get the most out of free software, I'm going to HAVE TO LEARN TO CODE!" to (a gratified) "the more I learn to code the more I get out of free software."
In short, it was the cumulative, very high-feedback, very low-barrier-to-entry list of idiosyncratic desires for tweaking my #Org mode workflows, then customizing my #mu4e workflows ... before I knew it I had written a couple of major and minor modes to mitigate my own #ADD.
Here's a scene from the TV show Malcom in the Middle during which a character attempts to replace a lightbulb. It felt extremely relatable to both my partner and myself, at both ends of this not so rare situation. #ADHD#ADD
Earlier today I posed on keeping my ADD driven space more organized by trying to make a habit of putting projects away before they're finished, but I realized that was coupled to how I store projects, so I had to write two posts on my "everything else" blog to cover it all off. This one links to the next https://ambitonline.com/nextrelease/2023/12/add-and-the-art-of-putting-it-away-before-its-finished/
This is instead of leaving the project out "until I get back to it", which leads to an archaeological dig with the most recent project overflowing onto the previous project, which is overflowing onto the project before that, which... this results in a huge, oppressive, unmanageable, crushing mess.
The time/effort of putting it away and bringing it back out is far less than dealing with the mess.
Being a couple with undiagnosed #ADD issues is darkly hilarious because my wife texts as she’s leaving saying it’s bin day¹ and that if I could chuck some of the bin bags currently housed in our back porch² into the wheelie that would save me having to cycle them round to the dump today as I’d planned³, and I reply “Sure, if my brain lets me do that,” and she understands completely. Just a couple of fuckups tryna get through the day.
My pharmacy is having problems acquiring Dexamphetamine and are offering me (the more expensive) Attentin instead.
Anyone had experience with the latter? #ADHD#Audhd#ADD @actuallyadhd
I miss Biko. She now lives with my niece in a different city. For a long while she was our only dog, until Pixie came along. Biko has the softest fur, super great to hug. #DogsOfMastodon
@pixiecata I had a therapist suggest I may have to re-home my dog. I think I’d rather be an emotional mess and let my #ADD ruin my life than get rid of Jack. Hope you’re coping better than I would!
And this goes in your theme's functions.php file. I've commented it as best I can. Let me know if you need more info.
function jetpackme_custom_related() { // Check that JetPack Related Posts exists if ( class_exists( 'Jetpack_RelatedPosts' ) && method_exists( 'Jetpack_RelatedPosts', 'init_raw' ) ) { // Get the related posts $related = Jetpack_RelatedPosts::init_raw() ->set_query_name( 'edent-related-shortcode' ) ->get_for_post_id( get_the_ID(), // ID of the post array( 'size' => 4 )// How many related items to fetch ); if ( $related ) { // Set the container for the related posts $output = "<h2 id='related-posts'>The Algorithm™ suggests:</h2>"; $output .= "<ul class='related-posts'>"; foreach ( $related as $result ) { $related_post_id = $result['id']; // Get the related post $related_post = get_post( $related_post_id ); // Get the attributes $related_post_title = $related_post->post_title; $related_post_date = substr( $related_post->post_date, 0, 4 ); // YYYY-MM-DD $related_post_link = get_permalink( $related_post_id ); // Get the thumbnail if ( has_post_thumbnail( $related_post_id) ) { $related_post_thumb = get_the_post_thumbnail( $related_post_id, 'full', array( "class" => "related-post-img", "loading" => "lazy" // Lazy loading and other attributes ) ); } else { $related_post_thumb = null; } // Create the HTML for the related post $output .= '<li class="related-post">'; $output .= "<a href='{$related_post_link}'>"; $output .= "{$related_post_thumb}<p>{$related_post_title}</p></a>"; $output .= "<time>{$related_post_date}</time>"; $output .= "</li>"; } // Finish the related posts container $output .="</ul>"; } // Display the related posts echo $output; }}add_shortcode( 'jprel', 'jetpackme_custom_related' ); // Shortcode name can be whatever you want
@actuallyautistic So forgetful you lose your keys all the time? Put down your phone and don't remember where? You, like me, may suffer #ADD. A condition common to #autistic people, for some reason.
Tether your keys to your pants or bag. Have a designated spot for your phone. Always lock your door with your key. I've got 50 years worth of experience and tips. AMA.
Does anyone have any resources for managing neurodiverse people at work? I have an autistic+ADHD pal who needs support and adjustments made in how they work (e.g. better ways of tracking hours, trouble with being interrupted during a task, looming existential dread at unplanned meetings and most of all difficulty articulating needs) and it would be great to send them something they can show their manager.
To start off, you’ll want to have Home Assistant running on a local server or Raspberry Pi and a Zigbee USB dongle, like the Conbee II or SkyConnect. If you’ve never worked with Home Assistant, their Getting Started guide is pretty comprehensive.
I’ll mention that there’s also a whole bunch of other Zigbee gateways out there that work similar to the Hue Bridge, but these could all eventually share the same fate as Hue, if they aren’t already forced to be online.
alias search=‘apt search’ alias file=‘apt-file search’ alias policy=‘apt policy’ alias show="nala show"
if user is not root, pass all commands via sudo
if [ $UID -ne 0 ]; then alias update=‘sudo apt update’ alias ainstall=‘sudo apt install’ alias apurge=‘sudo apt purge -y --autoremove’ alias upgrade=‘sudo nala upgrade’ alias aremove=‘sudo apt autoremove -y’ alias clean=‘sudo nala clean’ alias reboot=‘sudo reboot’ alias shutdown=“sudo shutdown -P now” fi
Handy-dandy aliases for journalctl and systemctl
alias jc=‘sudo journalctl -b’ alias jca=‘sudo journalctl’ alias jcf=‘sudo journalctl -f’ alias jcr=‘sudo journalctl --list-boots’ alias sc='sudo systemctl’
Making files immortal & executable
alias im+=“sudo chattr +i” alias im-=“sudo chattr -i” alias exe=“sudo chmod +x”
do not delete / or prompt if deleting more than 3 files at a time
alias rm='rm -I --preserve-root’
confirmation
alias mv=‘mv -i’ alias cp=‘cp -i’ alias ln='ln -i’
Parenting changing perms on /
alias chown=‘chown --preserve-root’ alias chmod=‘chmod --preserve-root’ alias chgrp='chgrp --preserve-root’
copy the current working directory to the clipboard
alias cpwd='pwd | xclip -selection clipboard’
Clipboard
alias cpy="xclip -selection clipboard"
quick directory movement
alias …=‘cd …’ alias …=‘cd …/…’ alias …='cd …/…/…'
go to the last directory you were in
alias back='cd $OLDPWD’
quickly find files and directory
alias ff=‘find . -type f -name’ alias fd='find . -type d -name’
Create Python virtual environment
alias ve=‘python3 -m venv ./venv’ alias va='source ./venv/bin/activate’
Ping Commands
Stop after sending count ECHO_REQUEST packets
alias ping=‘ping -c 5’ alias pg="ping google.com -c 5"
alias shortcuts
alias rpi=“sudo rpi-update” alias rpi-next=“sudo BRANCH=next rpi-update” alias raspi=“sudo raspi-config” alias clr=“clear” alias clrh=“history -c -w ~/.bash_history” alias df=‘df -H’ alias du=‘du -ch’ alias mk=“mkdir -p” alias loading="sudo dmesg > ~/dmesg.txt"
ls Commands
Colorize the ls output and human readable sizes
alias ls='ls --color=auto --human-readable -al’
Use a long listing format
alias ll='ls -la’
Show hidden files
alias l.='ls -d .* --color=auto’
Listing files in folder
alias listkb=“ls -l --block-size=K” alias listmb="ls -l --block-size=M"
Colorize the grep command output for ease of use (good for log files)##
alias grep=‘grep --color=auto’ alias egrep=‘egrep --color=auto’ alias fgrep='fgrep --color=auto’
Colorize diff output
alias diff='colordiff’
Start calculator with math support
alias bc="bc -l"
Resume wget by default
alias wget="wget -c"
ps Commands
alias ps="ps auxf"
Get top process eating cpu
alias pscpu=“ps auxf | sort -nr -k 3” alias pscpu10="ps auxf | sort -nr -k 3 | head -10"
Get top process eating memory
alias psmem=‘ps auxf | sort -nr -k 4’ alias psmem10='ps auxf | sort -nr -k 4 | head -10’
Hi, I'm not quite sure if this vhdl code and testbench is correct for the given task. Can you take a look?
Design a one-hour kitchen timer. The device should have buttons/switches to start and stop the timer, as well as to set the desired time interval for the alarm. Realize the task using the software package Quartus or in GHDL, confirm the correctness of the project task by simulation.
This is VHDL code:
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;
entity Kitchen_Timer is
port (
clk : in std_logic; -- Clock input
reset : in std_logic; -- Reset input
start : in std_logic; -- Start button input
stop : in std_logic; -- Stop button input
alarm : out std_logic -- Alarm output
);
end entity Kitchen_Timer;
-- Declare the architecture for the kitchen timer
architecture Behavioral of Kitchen_Timer is
signal count : integer range 0 to 3600 := 0; -- Counter for timer
signal alarming : std_logic := '0'; -- Signal to indicate alarming interval
signal alarm_en : std_logic := '0'; -- Signal to enable alarming interval
signal alarm_cnt : integer range 0 to 600 := 0; -- Counter for alarming interval
begin
-- Process to control the kitchen timer and alarming interval
process (clk, reset)
begin
if (reset = '1') then
count <= 0;
alarming <= '0';
alarm_en <= '0';
alarm_cnt <= 0;
elsif (rising_edge(clk)) then
if (stop = '1') then
count <= 0;
alarming <= '0';
alarm_en <= '0';
alarm_cnt <= 0;
elsif (start = '1' and count < 3600) then
count <= count + 1;
if (count = 3600) then
count <= 0;
alarming <= '0';
alarm_en <= '0';
alarm_cnt <= 0;
elsif (count > 0) then
alarm_en <= '1';
end if;
end if;
if (alarm_en = '1') then
if (alarm_cnt < 600) then
alarm_cnt <= alarm_cnt + 1;
else
alarm_cnt <= 0;
alarming <= '1';
end if;
end if;
end if;
end process;
-- Assign the alarm output
alarm <= alarming;
end architecture Behavioral; ```
This is Testbench:
```library ieee;
use ieee.std_logic_1164.all;
entity tb_Kitchen_Timer is
end tb_Kitchen_Timer;
architecture tb of tb_Kitchen_Timer is
component Kitchen_Timer
port (clk : in std_logic;
reset : in std_logic;
start : in std_logic;
stop : in std_logic;
alarm : out std_logic);
end component;
signal clk : std_logic;
signal reset : std_logic;
signal start : std_logic;
signal stop : std_logic;
signal alarm : std_logic;
constant TbPeriod : time := 1000 ns; -- EDIT Put right period here
signal TbClock : std_logic := '0';
signal TbSimEnded : std_logic := '0';
begin
dut : Kitchen_Timer
port map (clk => clk,
reset => reset,
start => start,
stop => stop,
alarm => alarm);
-- Clock generation
TbClock <= not TbClock after TbPeriod/2 when TbSimEnded /= '1' else '0';
-- EDIT: Check that clk is really your main clock signal
clk <= TbClock;
stimuli : process
begin
-- EDIT Adapt initialization as needed
start <= '0';
stop <= '0';
-- Reset generation
-- EDIT: Check that reset is really your reset signal
reset <= '1';
wait for 100 ns;
reset <= '0';
wait for 100 ns;
-- EDIT Add stimuli here
wait for 100 * TbPeriod;
-- Stop the clock and hence terminate the simulation
TbSimEnded <= '1';
wait;
end process;
end tb;
-- Configuration block below is required by some simulators. Usually no need to edit.
configuration cfg_tb_Kitchen_Timer of tb_Kitchen_Timer is
for tb
end for;
end cfg_tb_Kitchen_Timer;```
This is my .do file (when using Modelsim or Questa, change to the directory with all the .vhd files and the .do file and execute the command do tb.do):
tb.do
#Creates project's library
vlib work
#Compiles project with VHDL93 standard: all files used in the testbench. They should be compiled in order of dependency.
vcom -93 Kitchen_Timer.vhd testbench.vhd
#Simulates (work is the directory, tb_Kitchen_Timer is the entity's name).
#The argument -voptargs="+acc" is necessary to disable signal optimization in Questa.
vsim -voptargs="+acc" -t ns work.tb_Kitchen_Timer
#Show waveforms.
view wave
#Add specific signals.
# -radix: binary, hex, dec, unsigned.
# -label: wave's name.
add wave -label "clk" -radix binary /clk
add wave -label "reset" -radix binary /reset
add wave -label "start" -radix binary /start
add wave -label "stop" -radix binary /stop
add wave -label "adjust_interval_up" -radix binary /adjust_interval_up
add wave -label "adjust_interval_down" -radix binary /adjust_interval_down
add wave -label "alarm" -radix binary /alarm
add wave -label "count" -radix unsigned /dut/count
add wave -label "TbClock" -radix binary /TbClock
add wave -label "TbSimEnded" -radix binary /TbSimEnded
#Simulate for 1500 ns.
run 1500ns
# Zoom to fit entire window.
wave zoomfull
write wave wave.ps
Should Mastodon votes be federated into Lemmy?
I am concerned that Mastodon’s unary-vote system (favorites), and Lemmy’s binary-vote system (upvotes with downvotes) are mutually exclusive....
Philips Hue will force users to upload their data to Hue cloud (www.home-assistant.io)
SHARE WITH THE CLASS: What aliases are you using?
From bash to zsh and everywhere in between, show me yours and I'll show you mines. Inspire others or get some feedback....