|
If you would like, we can take the formatting of the new article, revive the old article, and place it in that revived one, the delete the newest one.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
1) I am not Sean.
2) the word "him" has nothing to do with "small elite of enlightened". How am I suppose to speak about a person with another one without using the gramatical 3rd person?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
We have been having words, I'm afraid. I'm not sure my words are working. Thank you for pointing this out. While I appreciate his desire, this isn't a good look for the site.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
His suggestion could be a good idea though
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
How to Start a Robust C# Project in the New Nullable Context with Generics?[^]
I think it has been revised, but the technical quality is really poor, and some of the author's assertions are absurd, even grandiose. The code examples are still opaque, and not explained fully.
The author's now angry [^]: I hope my advice [^] was constructive.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
I'm taking a gamble on this one. Let's try and guide him. Hopefully over time he approves this article, and improves his next one.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
My first response, to the first draft, was an attempt at constructive advice, not a down-vote; only when his response to my comment included his assertion that if the code examples had problems we could help him spot them did I realize he really had no clue what an article was. At that point, I did down-vote, and, as I believe is a responsible thing to do, did not down-vote anonymously.
By removing my first comment, and his response to it, the context has been muddied.
Hopefully, some other members here will weigh in on the technical value of the current content, and, register their opinions.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
modified 25-Jun-21 13:40pm.
|
|
|
|
|
I have pointed him to the faqs and suggested him to get a mentor. Let's see...
But he looks more to be the kind of guy that don't really pay attention to what it is said and takes it a bit personal / emotional.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I wonder why my first message to him, and his response to it, was deleted, but, my "vote of 1" message was not deleted.Nelek wrote: he looks more to be the kind of guy that don't really pay attention to what it is said and takes it a bit personal / emotional. Speaking as a formerly board-certified member of the American Academy for Group Psychotherapy and Psychodrama (I'm not kidding), I concur with your diagnosis, Dr. Nelek
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Trying to publish a new article I got this message
«Too many attributes. There is a limit of 8.»
But, what an attribute is?
What does this message expect me to do?
Can anyone, please explain to me how can I fix this issue?
Cheers
|
|
|
|
|
attributes are the name we use in our code for tags
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Might be a good idea to update the error message to use the terminology you display to the user, rather than the terminology you use in the code.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi Richard
I agree with you 100%
(That is common mistake developers do.)
Cheers
|
|
|
|
|
Hi
I found the answer by myself: at the beginning of the page where the article is edited, under the section "A 1-line description." there is the "Tags" input region.
The list in the input field was too long.
Once remove some items it was possible to publish the article.
Cheers
|
|
|
|
|
In response to my comment on this indecipherable mess [^], the author said:Quote: I'm working on it still, too early for publication. imho, this should not have been published.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
I have hit the red flag with "unclear / Incomplete"
You can do the same too and then only 3 left to go
@OriginalGriff, @Wendelius, @GregUtas
Maybe you want to reconsider your approval?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Hi so i am using python Django and using JavaScript with the help of fetch method but i am stuck can anyone please help
My python views File:
def Data(request):
items = Post.objects.all()
data = []
for qs in items:
I = {"title":qs.title,
"content": qs.content,
"image": qs.image.url,
}
data.append(I)
return JsonResponse({"data":data})
My Search_results HTML FILE:
{% extends 'blog/base.html' %}
{% load static %}
{% block content %}
<div class = 'w-100 text-center'>
<h1>Search Results</h1>
<form id = "search-form" autocomplete="off">
{% csrf_token %}
<input name = 'game' type="text" id = "search-input" placeholder= "Post Search..">
</form>
<div id = "results-box" class = "results-card">
</div>
</div>
{% endblock content %}
{% block js %}
<script defer src="{% static 'blog/S1.js' %}"> </script>
{% endblock js %}
My JS FILE:
console.log('Heelowwww')
const url = window.location.href
const searchForm = document.getElementById("search-form")
const searchInput = document.getElementById("search-input")
const resultsBox = document.getElementById("results-box")
const csrf = document.getElementsByName("csrfmiddlewaretoken")[0].value
options = {method: "GET",
headers: {
Accept: "application/json"
},
data:{
'csrfmiddlewaretoken': csrf,
}
}
const SearchPosts = async SearchIt => {
const res = await fetch("http://localhost:8000/data/",options)
const Posts = await res.json()
S = Posts["data"]
let matches = S.filter(post =>{
const regex = new RegExp(`^${SearchIt}`, 'gi')
return post.match(regex)
})
console.log(matches)
}
searchInput.addEventListener('input', () => SearchPosts(searchInput.value))
I get Filter is not a fucntion/method error
i am getting back an object so how can i do this
sorry a beginner in javascript
|
|
|
|
|
|
...And if so, how?
@Sean-Ewington
@PaltryProgrammer is having problems formatting code blocks: The Lounge[^] and I think it needs someone to have a look and help him out. If you want the job, help yourself - but if it is possible for Mentors I'd like to know how I find it ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I have swooped in. Thank you for the heads up!
But to answer your other question, in order to be able to edit his draft, you need to be able to find it from his article listing. In this case, Tips & Tricks, it's marked as an unfinished article, and you want to look for the most recent one. Then you should be able to open it up and edit it.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I can't see it in his tips'n'tricks, just the two published ones:
Is there an option I need to enable somewhere?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Hmmm. I think you probably don't have the correct permissions. I guess only editors and admins have it.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Seems odd - shouldn't mentors be able to at least see the article they are trying to help with before it is published?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Any article that an author asks to have a Mentor is turned into a different status that anyone with the link can view.
I guess this is a subcase where someone who didn't specifically ask for a Mentor gets Mentor access. Something for us to think about.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thanks for fixing it!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|