@Deebster@programming.dev avatar

Deebster

@Deebster@programming.dev

New account since lemmyrs.org went down, other @Deebsters are available.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Deebster, (edited )
@Deebster@programming.dev avatar

Edit: I was describing Voyager, not Thunder.

Yes! It’s in a weird place, though.

Settings > Appearance > Themes > Device Mode
Set this to Android. It says it’s a beta option, but I’ve not had any problems.

This setting was very welcome to me, since I was forever triggering back when I meant to upvote a comment.

weiming, to Logseq
@weiming@mapstodon.space avatar
Deebster,
@Deebster@programming.dev avatar

I’m no expert in advanced queries, but just to note that you could make things simpler (well, shorter at least) by using a regex to handle all those starts-with lines.

This selects all pages that don’t start with 0-9 or @:


<span style="color:#323232;">#+BEGIN_QUERY
</span><span style="color:#323232;">{
</span><span style="color:#323232;">  :title [:h2 "Query Results"]
</span><span style="color:#323232;">  :query [
</span><span style="color:#323232;">    :find (pull ?p [</span><span style="font-weight:bold;color:#a71d5d;">*</span><span style="color:#323232;">])
</span><span style="color:#323232;">    :where
</span><span style="color:#323232;">    [?p :page/name ?page_name]
</span><span style="color:#323232;">    [(</span><span style="color:#62a35c;">re-pattern </span><span style="color:#183691;">"^[^0-9@].*"</span><span style="color:#323232;">) ?regex]
</span><span style="color:#323232;">    [(</span><span style="color:#62a35c;">re-matches </span><span style="color:#323232;">?regex ?page_name)]
</span><span style="color:#323232;">  ]
</span><span style="color:#323232;">}
</span><span style="color:#323232;">#+END_QUERY
</span>

You could also extend the regex to handle the “includes _ or -” bit too:


<span style="color:#323232;">    [(</span><span style="color:#62a35c;">re-pattern </span><span style="color:#183691;">"^[^0-9@_-][^_-]*"</span><span style="color:#323232;">) ?regex]
</span>
Deebster,
@Deebster@programming.dev avatar

@weiming looks good! I am fluent in regex and SQL and I know some Clojure, but these datalog queries are still a bit of mystery to me… that’s the thing I need to visualise!

Deebster,
@Deebster@programming.dev avatar

<span style="color:#323232;">function delete-branches() {
</span><span style="color:#323232;">  git branch |
</span><span style="color:#323232;">    grep --invert-match '*' |
</span><span style="color:#323232;">    cut -c 3- |
</span><span style="color:#323232;">    fzf --multi --preview="git log {} --" |
</span><span style="color:#323232;">    xargs --no-run-if-empty git branch --delete --force
</span><span style="color:#323232;">}
</span>

This is really slick.

Deebster,
@Deebster@programming.dev avatar

A great post, interesting and to the point.

Deebster,
@Deebster@programming.dev avatar

Unfortunately, insert-output doesn’t seem to work with gitui under Windows - I don’t see the application although I can see the control codes after I’ve quit. It does work with lazygit, but for me lazygit has a ~200 ms lag for every input, which makes it horrible to use.

Bookmarked for when I switch to Linux full-time.

Deebster,
@Deebster@programming.dev avatar

Yup, I noticed that no-Helix-inside-Helix comment too, but I don’t use my git tools to edit files anyway. I often stage only certain lines, so doing that interactively is 90% of why I’d use similar tools.

Can we all agree that whatever version of predictive text we have nowadays is crap, and has been for a long time?

I’m sick of random capitalisations mid sentence. I’m sick of common words being replaced by less common ones or even downright nonsense. I’m sick of it taking three attempts to successfully get the word I want. I swear it’s been like this for five years or more. Can we have a better version yet, or at least the old one...

Deebster,
@Deebster@programming.dev avatar

I’d assume it was something you’d typed once (maybe while searching or a typo). I always delete those words when they come up (for me that’s dragging the word up and a bin appears).

Deebster,
@Deebster@programming.dev avatar

Both work for me using Voyager on Android and Firefox on Win10 👍

Deebster,
@Deebster@programming.dev avatar

Why? Unless you like breaking into other people’s devices, this is good news.

An update regarding the future of m/AskKbin (where we are headed towards) - AskKbin - kbin.social (kbin.social)

Hello everyone, check out my announcement post linked above and if you don’t know who I am, check out my past post to learn more about me and It would mean a lot of you show your support for my future iniatives inside the fediverse!...

Deebster,
@Deebster@programming.dev avatar

Mbin seems like a healthy project, and the only sensible move from kbin.

Wedding Guests Get A Surprise When A Cow In A Nearby Field Turns Out To Be A Furry Taking Pictures (www.whiskeyriff.com)

Of course when you have an outdoor wedding you always run the risk of nature crashing the party, like when a deer decided to crash a wedding and take a nibble out of the bride’s bouquet, or this grizzly bear that brutally mauled a moose in the background of a wedding at Glacier National Park....

Deebster,
@Deebster@programming.dev avatar

I think it’s fair enough to say that it’s common knowledge what a furry is but that the community’s jargon/argot isn’t.

That they didn’t know the term fursona but looked it up for the article demonstrates research in my mind.

Deebster, (edited )
@Deebster@programming.dev avatar

I think it’s been cropped into a square at some point (maybe for a preview image) and here we are.

You know which XKCD this is.

Deebster,
@Deebster@programming.dev avatar

I think all of the communities would rather have something more than just a bare link. I’m not sure why you’re responding with such indignation, to be honest, it was a perfectly reasonable suggestion, politely made.

Deebster,
@Deebster@programming.dev avatar

So you think it’s too unreasonable for you to cope with?

Deebster,
@Deebster@programming.dev avatar

This is a great read, particularly the points about balance.

My phone’s camera only has the thirds grid, unfortunately, although I had an older app that used to have a few options (but not dynamic symmetry grid).

Deebster,
@Deebster@programming.dev avatar

I just now noticed it was gone. Did it just vanish one day, or did its users at least have some hint?

edit: looks like it was a surprise: lemmyverse.link/mander.xyz/post/12163154

May I present to you: The Wikipedia Star Trek Into Darkness Debate (en.wikipedia.org)

From December 1, 2012, until January 31, 2013, a stylistic disagreement unfolded between editors on the English-language Wikipedia as to whether the word “into” in the title of the Wikipedia article for the 2013 film Star Trek Into Darkness should be capitalized. More than 40,000 words were written on the article’s talk...

Deebster,
@Deebster@programming.dev avatar

I think anyone who argued for a lowercase i was ignoring the context, but it’s interesting to think of it as Star (Trek into Darkness).

Deebster,
@Deebster@programming.dev avatar

Same, I had to ad-block some custom elements on YouTube ages ago because they kept covering the screen with “related videos” whenever I paused to read something.

Deebster,
@Deebster@programming.dev avatar

It starts out seeming quite credible and ends up in tinfoil hat territory.

Deebster,
@Deebster@programming.dev avatar

I knew they’d done it on the Gary the Gorilla task but I didn’t realise they’d kept doing it.

Deebster,
@Deebster@programming.dev avatar

That cow drawing was amazing.

The team task where they started with half the task seemed like it didn’t work the way they’d planned at all!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • thenastyranch
  • GTA5RPClips
  • tester
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • everett
  • Youngstown
  • mdbf
  • slotface
  • kavyap
  • JUstTest
  • cisconetworking
  • khanakhh
  • normalnudes
  • osvaldo12
  • cubers
  • tacticalgear
  • Durango
  • ethstaker
  • modclub
  • anitta
  • provamag3
  • Leos
  • lostlight
  • All magazines