Wikilinks to notes automatically

I’m not a chef… I’m not a programmer…
I just need the food… not to learn how to cook… it works for my purposes…
The “craft”, “artistry”, “yadayada” is for others to decide…

Thanks for your help

Okay? Well, never mind then.

this thread just reminds me of this skit:

The critic

No… Your input is always welcome :grinning:

I’ve learned a lot from your warnings on other posts…

I haven’t tested it on a large batch of files yet… but it works up to 50, so far…

so many experts on this thread, all to bash ai generated code… they spent more time criticizing than actually helping me figure this out…

Now, this script might not be pretty… but it does exactly what I need it to do… what i wanted to accomplish…

As I mentioned before, @meowky’s solution was viable for the most part. My solution is in a different language and did a bit more… and written in the middle of the night. So there was more than “bashing AI code” going on.

I would like your input on the results of the code. I tried meowky’s code, but it didn’t do what I wanted.

I really appreciate all the help you provide and you’ve been really helpful with all my questions…

Your hard work is noted in me noggin :sweat_smile:

@meowky provided a useful and much simpler script. I pointed out where the code might be improved. That’s not “bashing”, it’s “criticizing”. Is “AI” above that? Does it hurt their feelings?

If someone wants to code, they should learn how to do that. Or pay someone to do it for them. If someone relies on “AI” instead, so be it. But why would that stop anyone from pointing out the shortcomings of that code?

Well said. But that doesn’t mean that the food is tasty, healthy or not harmful.

1 Like

I tried your suggestion as well, and it didnt do what I was looking for. Even “simplifying”.

The current code will update the heading page if the wikilink is removed. All notes that have a wikilink will be listed in the heading pages.

I think that’s a very useful feature.

I’m not sure what code did what I was looking for. Maybe I missed it?

I don’t really want to code.
But, if I want to get stuff done, I need to figure it out.

Do you know how much researchers get paid? I can’t afford to hire out work to programmers for stuff like this.

Even if I could, I’d rather try to figure it out myself or with a supportive community.

But this thread just soured me to that thought

By posting this, you are criticizing those people (me included) too. Apparently you think it’s acceptable to express your own, honest opinion in this way. I strongly dislikes asking for human help with AI code, however I appreciate your sincerity.

Now that you can freely criticize others, why can’t others criticize you, too? If you are firmly convinced that you are doing the “right” thing and that your critics are unjustified, then be confident and don’t give those critics a damn.

4 Likes

I tried doing as much as I could, and when I got stuck, I asked for help.

I tried all the solutions suggested, and none accomplished what I needed.

Then, things turned to talking about stuff like:

That’s the exact mentality which kicked up enshittification. We as a society prefer crappy things to nothing, so we eventually end up with a crappy world to live with.

Is it changing things? Not changing enough to produce code that does not freeze an application, apparently.

Just a friendly reminder that this thread started with someone posting obviously AI-written code and asking for human help.

Equally cringe-worthy. And proof that ChatGPT (or whatever wrote that code) has no idea of what the code means . It’s just stringing words together. Shudder.

etc etc…

So, if I start off with AI code I shouldn’t ask for help?
If I get stuck, after trying to solve a problem, I shouldn’t ask for help because I used AI to begin with?

I have a problem. I need help to figure out how to proceed…

It’s feels almost like those people yelling to the homeless people on the street asking for change
“Get a job!”

At the risk of being racist: I’m from China, and I’m too familiar with this troubling mentality among people growing up in East and SE Asian cultures (you mentioned Hanoi). When we hear criticism, we reflectively assume the critic means we have done something wrong and should be ashamed of it. The perception of impending shame prompts a defensive mental posture.

Shame is never what the critic means. If you are doing something others don’t like, and you actually care about the opinion of others, then don’t do it next time. That’s it. No shame involved.

Whether to take that as an advice or an insult is up to the homeless person.

2 Likes

I tried your script. It did create the heading pages, but it didn’t include links to the notes (maybe a mistake on my part?), and it doesn’t update the heading pages.

My point about critique was:
I need help with X… why are people talking about “it’s ai written stuff”…
or anything about the “craftsmanship” of it?
Somebody’s junk is another man’s treasure…

I just need the script to work as I hoped, and intended…
I didn’t expect all this back and forth about “ai junk”…

again, I tried all suggestions, but none did what the code now does…
feel free to test

If you would like to pursue this line of argument:

No, it’s not you needing help. It’s the AI (or your AI, if it matters) needing help, and the AI has kidnapped you mentally (by making you believe the script is almost done) such that you are compelled to come here and say that you need help.

I’m sometimes glad to help a fellow human being. I’m never interested in helping AI, especially an AI that has been paid to do its job.

3 Likes

You can, of course, ask for help. But I for one am not inclined to provide it in that case.

AI-generated code exists solely because AI companies feed on the hard work of others without paying them. These companies function basically like parasites. And they want to get paid.

I do provide learning resources for JXA scripting. For free. You’re welcome to study them and ask any questions regarding the code I publish. But I’m not prepared to offer anything to companies which aim to profit from that. Not even indirectly.

And you’re of course free to ignore anything I write. Also, when I critizice AI-generated code.

5 Likes

I used AI because I needed to do something. I tried to make it work, but it didn’t fully accomplish then what I needed. The ai is just a “helpful assistant”…

I couldn’t get the task done because I couldn’t figure out how to do it. So, I came here and asked. The ai doesn’t care about what I’m working on… I do

I didn’t ignore anything that you wrote, and that’s why I was surprised that you would focus so much on the ai generated garbage rather than trying to help me, a non-ai thing, that needs help to solve a technical problem.

As I mentioned, I tried simplifying the code based on your suggestions, but that didn’t accomplish what I needed.

@BLUEFROG

I would appreciate your feedback on the output of the code…

I appreciate all help provided from EVERYONE, but I’m not a programmer… I just duck-tape things together to help me get on with the task at hand…
I just try to make do with what little I know… If anyone can help, you’re welcomed…

I think the problem is solved, but I’m not sure how it’ll work at scale… yet…
so, if anyone can help improve it… without discussing the merits of ai work, so that someone else might also find this useful, then I think that would be a good thing

I’m sympathetic to this and am not trying to dunk on you. It’s fair enough that you don’t want to learn to code – but don’t you see why others might find your request off-putting?

I find it analogous to a situation like this: You haven’t been keeping up with repairs to your house, and now you need new plumbing. You don’t have the skill to do it yourself. The neighbours’ son claims to be able to do it, so you let him have a go. But he’s not a plumber, and the result doesn’t work like expected…

Now you turn to a real plumber. Can he please fix the mess your neighbours’ son made? For free of course. No, you’re not interested in learning – you just need it to work! So you can get on with your real job.

Teaching/helping someone develop their skills can be very rewarding in itself, but you don’t even offer an interaction like that.

If I “just want something done”, I would

  • Pay someone to do it
  • If I’m interested, or deem it worth the investment: Learn to do it myself
  • Ask for help from a good friend, where this exchange is part of a greater give-and-take.

I would not get an amateur (AI) to make an attempt and then expect someone skilled to fix it for free while just keeping quiet.

Like BLUEFROG said at the top, it’s difficult to help when you don’t understand the basics/have no frame of reference, and aren’t interested in learning.

I also think chrillek was quite clear above. Zooming out to the bigger picture: helping fix AI code is helping parasitic corporations steal from us all. He is not alone in that view.

3 Likes

I have tried learning to code, several times in fact. I am aware of the general aspects of it.
I am an amateur at it.
It’s not like I don’t know any coding at all.

If I needed to do it in python I likely could.

The problem is DEVONthink doesn’t work with python.

So the issue is, do I want to learn AppleScript to write code for something I need to do in DEVONthink?
I bought a Mac to use DEVONthink, now I need to spend time to learn AppleScript?

I’ve tried learning JavaScript but I hate it. I would rather learn lisp.

So, I’m not sure if your analogy works…

I’m not looking for someone to ‘fix a mess’—I’ve done a lot of troubleshooting myself, but I hit a point where I needed more experienced input. That’s why I asked here.