Arghblarg

joined 2 years ago
MODERATOR OF
[–] Arghblarg 2 points 14 hours ago* (last edited 14 hours ago) (1 children)

Ah! Thanks for the clarification. I should've done a side-search to check before posting.

Hmm, wikipedia says... "... Instead of generating food using the energy from sunlight, it is parasitic, and more specifically a mycoheterotroph" though.

[–] Arghblarg 3 points 1 day ago

Spinnaker's is a nice restaurant/pub in Vic. Courtenay/Comox area has lots of beautiful nature hikes, well honestly anywhere up &down the coast!

[–] Arghblarg 17 points 1 day ago (3 children)

It is a plant, just of a sort that has turned to parasitism I suppose for its nutrients. I believe they are part of a larger family of plants named saprophytes.

[–] Arghblarg 8 points 1 day ago

And ketchup chips and hawaiian pizza! OK OK I know I'm pushing my luck here :)

[–] Arghblarg 46 points 1 day ago

Same for ladybird beetles (ladybugs)! They love undisturbed autumn leaves and are natural pest control, so you should give them any opportunity possible to over-winter their eggs in your yard :)

[–] Arghblarg 31 points 2 days ago (2 children)

This article seems to imply that it was Zelenskyy, NOT Trump and Vance, who really were the unreasonable ones here. The sheer arrogance in saying 'You should thank us more!' ... Zelenskyy was right, the US has an entire ocean between them and this conflict, so they are being extremely cavalier about the threat Russia presents.

[–] Arghblarg 34 points 2 days ago (3 children)

Hey don't forget to look for the maple leaf on those products too! :)

Or, you know... just slide us Canucks right into the EU, if you please. ASAP.

[–] Arghblarg 11 points 2 days ago (3 children)

Zelenskyy seems the best candidate right now. He has the most skin in the game of any leader and is the only one so far to have shown the mettle to do it...

It would be the best kick in the teeth for Putin and the US fascists -- the one they wanted to stomp over becomes the head of their most powerful opposition.

[–] Arghblarg 7 points 2 days ago* (last edited 2 days ago)

We CaN't AfForD to LoSe aCcEsS <whimper>

[–] Arghblarg 7 points 2 days ago

Moldova, Belarus, Poland, ...

[–] Arghblarg 9 points 2 days ago

Good on him for cancelling the presser. They don't deserve the respect of him giving them any more of his time away from defending his country (and us all, by proxy).

[–] Arghblarg 106 points 2 days ago (11 children)

Guh. They spin harder than a goddamned pulsar. Zelenskyy had incredible restraint to sit through this meeting, what a total waste of his valuable time.

The EU and the world needs to lift one big middle-finger to this administration and support Ukraine in any way possible. The US needs to be shut out in the cold, NOW. Kick them out of NATO. Put Ukraine in their place. EU, throw out the bloody procedural bullshit and just DO IT NOW. Start building tanks and planes and drones and ammo NOW, because the world will need it to stop Russia without the US's help. After Ukraine, it'll be Moldova, then all the other small neighbouring nations, then ...

 

In response to suggestions by a lunatic in the US Oval Office, Green Party Canada's leader Elizabeth May suggested Canada should invite western states Washington, Oregon and California join B.C and split from Canada to form the 'Cascadia' eco-state.

(Note this article is from Jan 8, 2025 and Elizabeth May has since become co-leader of the party alongside Jonathan Pedneault).

 

Would be a darn shame if tariffs applied to it for the US... oh wait

 

EDIT see my comment below which uses a much cleaner method that avoids the noisy multple udev events and doesn't require udev/eudev at all


This activates/de-activates the secondary display underneath the removeable keyboard properly. Note though that the keyboard is a composite unit and causes a whole train of udev events, rather than a single one, which means the desktop will flicker multiple times on each re-attachment of the keyboard :(. If anyone knows how to just run the scripts on the 'last' udev event, it would make for a cleaner experience. (XFCE sometimes crashes out on me due to the rapid xrandr reconfigs but it's mostly usable).

[/usr/local/bin/usb-0b05_1b2c-in]

#!/bin/bash

if [ "$(xrandr --listmonitors | wc -l)" -gt "2" ]; then

#logger -p user.info "=== KEYBOARD REPLACED ==="

xrandr --output eDP-2 --off

fi

[/usr/local/bin/usb-0b05_1b2c-in_udev]

#!/bin/bash

export PATH=/bin:/sbin:/usr/bin:/usr/sbin

/usr/local/bin/usb-0b05_1b2c-in &

[/usr/local/bin/usb-0b05_1b2c-out]

#!/bin/bash

if [ "$(xrandr --listmonitors | wc -l)" -lt "3" ]; then

#logger -p user.info "=== KEYBOARD REMOVED ==="

xrandr --auto && xrandr --output eDP-2 --below eDP-1

fi

[/usr/local/bin/usb-0b05_1b2c-out_udev]

#!/bin/bash

export PATH=/bin:/sbin:/usr/bin:/usr/sbin

/usr/local/bin/usb-0b05_1b2c-out &

[/etc/udev/rules.d/99-zbduo2024-kbd.rules]

ACTION=="add", ATTRS{idVendor}=="0b05", ATTRS{idProduct}=="1b2c", ENV{XAUTHORITY}="/home/username/.Xauthority", ENV{DISPLAY}=":0", OWNER="username", RUN+="/usr/local/bin/usb-0b05_1b2c-in_udev"

ACTION=="remove", ENV{ID_MODEL}="ASUS_Zenbook_Duo_Keyboard", RUN+="/usr/local/bin/usb-0b05_1b2c-out_udev"

Now, to get your laptop keyboard working when removed, in bluetooth mode, one must

  1. Ensure bluetooth-ctl is running and initiate 'pair' in Bluetooth by clicking 'Create pairing with this device' (key icon in the 'Blueman-Manager' window)
  2. Turn on bluetooth (switch on the left of the keyboard)
  3. Remove the keyboard
  4. Hold F10 for 4-5 seconds until its blue LED starts blinking rapidly (kbd in pairing mode)
  5. Watch your desktop notifications for the connection message with the BT challenge pin code (6 digits)
  6. type the challenge PIN code on the keyboard
  7. Now the keyboard should be paired.

... now if only I could get the sound device (Intel HD Audio) and brightness control working for both screens!

 

I was searching online for quite a while this evening, chasing a half-remembered bit of trivia, that trilobites were supposedly unique in their use of calcite for their lenses, composing the ommatidia of their compound eyes.

It must be so obvious to scientists in the field of studying insects that they never mention it in their papers...

So, what compound(s) do modern arthropods use in their compound eyes. If it isn't calcite, what do modern 'bugs' use?

7
submitted 6 months ago* (last edited 6 months ago) by Arghblarg to c/APL
 

Whether you are an old hand at APL, or someone just discovering the language, having the symbols in the standard layout right there on your keyboard is a great help... dedicated APL keyboards are pretty expensive, so consider these stickers that let one adapt any standard desktop or laptop keyboard!

APL keyboard sticker set on Tindie

To set up your keyboard for APL programming on Linux, see here.

 

If you haven't heard of it, this island has a population that the world has collectively decided to leave alone, mostly because they have proven, on multiple occasions, that they absolutely do not want visitors. Like, arrow-to-death anyone attempting to land or even visit near their shores.

This probably cannot go on forever... but maybe, it could. Essentially, we are already implementing a 'Prime Directive' of sorts here. Would the 23rd, 24th, ... centuries in Star Trek canon still have this little island on Earth, isolated from not just from Earth's own unified Federation society, but from the greater Federation races? What steps would the Federation and Earth take to maintain their isolation and the ecosystem on which they depend?

Would make for an interesting episode, or at least a cool side-note reference in one :)

2
submitted 8 months ago* (last edited 8 months ago) by Arghblarg to c/APL
 

For Funtoo users, simply sudo emerge dev-lang/apl :)

7
submitted 9 months ago* (last edited 9 months ago) by Arghblarg to c/gmecanada
 

Normally I avoid linking to the old sh$thole here ('cuz you know, f*ck u/Spez), but this is an exception.


DFV posted DIRECTLY to 'stonk: https://www.reddit.com/r/Superstonk/s/8TNza7V2IN

Discussion over on the 'stonk sub: https://old.reddit.com/r/Superstonk/comments/1d6r84q/roaring_kitty_theroaringkitty_on_x/

Twitter post tonight: https://x.com/theroaringkitty/status/1797418617908154621?s=46&t=C7yuUBuPnwEdJziHIhO53w

5
submitted 9 months ago* (last edited 9 months ago) by Arghblarg to c/APL
 

GNU APL is easy to build on your own Linux machine, though the steps aren't detailed on the website.


Benefits of building yourself locally:

  • One can customize how many cores GNU APL has access to
  • Customizing optional extensions like PNG image, SQLite, GTK support etc.
  • Having the latest bugfixes

  1. Obtain the latest source

  2. Configure using autotools

    • cd trunk
    • make clean
    • ./configure CORE_COUNT_WANTED=3 RATIONAL_NUMBERS_WANTED=yes --with-ctrld_del

    Use ./configure --help to see other options, adjust to taste

  3. Build and install

    • make -j && sudo make install
  4. Set up your default workspace

    • cd ~
    • mkdir -p GNUAPL/workspaces

2
Checks out! (old.lemmy.ca)
submitted 9 months ago by Arghblarg to c/usernamechecksout
5
submitted 9 months ago* (last edited 5 months ago) by Arghblarg to c/APL
2
submitted 9 months ago* (last edited 9 months ago) by Arghblarg to c/APL
view more: next ›