discursive_moth
u/discursive_moth
I don't know if the title is the right use of Anytype terminology, but say I'm creating types to document a database. I have a type for table, schema, and database, and a relationship to link tables to schemas and schemas to servers.
Now, if I create a set to view all tables in a database I would expect the set to be able to follow the relationship chain to know what Database a table is on, but it doesn't seem to work that way. It feels like a bad practice to add a relationship to the database to both the table and the schema, but is that what I need to do?
I want to put this in a template:
{{query (properties "assigned" <% current page %>)}}
But the result of <% current page %> is [[current page]], which does not match any property values because brackets in property values are ignored. ({{query (properties "assigned" "current page")}} works)
Any way to remove the brackets or otherwise get around the problem with finding property value matches?
EDIT:
Advanced queries make my head hurt, but I came up with this, which seems to work:
#+BEGIN_QUERY
{:title "All tasks assigned to current page"
:query [:find (pull ?b [*])
:in $ ?query-page
:where
[?p :block/name ?query-page]
[?b :block/refs ?p]
Why put up with the logistical hassle, tactical limitations, and chance of self harm that comes with ammo dependent projectile weapons when generally energy weapons fill the same role? In most eras, laser weapons and projectiles might be roughly balanced, but even then the standouts tend to be energy weapons. At least missiles have crit seeking and indirect fire uses.
In any engagement larger than lance on lance will likely see the projectile ammo depleted while energy boats can keep firing indefinitely. I would expect projectile weapons to be significantly more powerful than energy weapons to be worth the tradeoffs.
Is it most reasonable to handwaved the in-universe explanation as co
If my cursor is on a markdown link I can use editor.actions.gotoreferences to peek all other references to the linked location. I would like to make a custom short cut that has the same behavior but shows references to the currently focused file, not something under the cursor. I thought I could use copyfilepath somehow, but gotoreferences doesn't take any parameters. Could anyone help?
I have two questions that don't seem to be covered by any of the examples I can find.
First, when querying active directory with power query, I can expand columns holding additional information. For example, if I'm querying users power query shows a column named mailRecipient that I could expand and get mailRecipient.cn for each user. How can I do this with an SQL query?
Second, is it possible to query for users in a specific group? I can't seem to use memberof in a where statement or even select it. Any where condition I try returns no results. Trying to select memberof into the results gives a Could not convert the data value due to reasons other than sign mismatch or overflow. er
I have some lists of email addresses in Excel and thought I would create a function to check to see if they still exist with the company.
Public Function testaddress(r As Range) As Boolean
If r.Value = "" Then
testaddress = False
Exit Function
End If
Dim t As Outlook.Recipient
Dim item As Outlook.MailItem
Set item = Outlook.CreateItem(olMailItem)
Set t = item.Recipients.Add(r.Value)
t.Resolve
If t.Resolved = True Then
testaddress = True
Else
testaddress = False
End If
End Function
The problem is I discovered that old email addresses are still in the address book and s
Referencing a prompt, i.e. %{table}, by later writing %\1 in a capture template does not seem to work if the reference is in a source code block, for instance:
#+BEGIN_SRC sql
select * from %\1
#+END_SRC
In this case instead of the value that was entered for the prompt I'm getting %^A (B for second prompt, C for third prompt, etc.) in the source code block. Is there any way to get the capture template to correctly insert the prompt value into the source block?
Edit: Finally searched down the solution. Inside a source block the prompt reference
I have a text file with a bunch of data and I want to find where the first column changes to another group, e.g. the first line with Type2 below:
Type1 | value
Type1 | value2
Type2 | value
I tried (?<!\1.*\n)(^\w+), but it matches every line (the look behind is finding the same match as $1?
Wikipedia link. I think my favorite is jousting on stilts from Namur, Belgium.
I'm struggling to get an org-roam capture template to create files in a format that works well with ox-hugo. What I'm going for is
#+HUGO_BASE_DIR: ../
#+HUGO_SECTION: ./
* ${title}
:PROPERTIES:
:EXPORT_FILE_NAME: ${title}
:ID: 983e9a6a-32b9-4c0d-aee8-c6bbf38b77e8
:END:
Without having roam-nodes/org-ids created at the file level. I'd appreciate any assistance I could get.


![[sway] Plan9 inspired](https://i.redd.it/rz1bm36g9ni71.png)