|
Please add curl in the docker container as it is needed by the install script for the coral module
|
|
|
|
|
You have posted this in the forum for reporting bugs and suggestions for the CodeProject website. As such, your message makes no sense.
If your message relates to a specific article, then post it in the comments section at the bottom of that article.
If it relates to the CodeProject API, then post it in the CodeProject API forum[^].
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
In the past few weeks the articles’ layout looks slightly different; before there were additional information and quick access links on the Articles left-hand side pane, now there are only three links.
No comments have been posted in this regard except a reference about “articles rating graph not working properly” about the same time I noticed this discrepancy.
Below there is a a image of ‘Before’ i.e. how the articles were laid out (borrowed from one of the forum answers) and an ‘After’ image of the same article i.e. current layout. Red arrows pointing to the pane in question.
All articles show the same behavior.
Current environs: Win10 - tried with both Edge and Google as well as a portable Firefox browser - identical results.
BEFORE

AFTER

|
|
|
|
|
Yes, the layout has changed
cheers
Chris Maunder
|
|
|
|
|
If this is by design then I think it was a bad decision to remove the link for jumping to the comments 
|
|
|
|
|
It's still there

cheers
Chris Maunder
|
|
|
|
|
Ah, the good old design trick of replacing text labels that users don't read with tiny icons that users don't understand.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Exactly!
cheers
Chris Maunder
|
|
|
|
|
A lot of time when somebody tries to publish a 'Technical Blog' I see a lot of times members who vote 'Format / Layout issues'.
My experience is, that the blogger has little/no influence how blogs will be published finally on CP. Therefore 'Format / Layout issues' makes no sense in that case?
Is this correct or not?
Example: Enable syntax highlighting in Nano for Java Server Pages (JSP)[^]
|
|
|
|
|
"Format/Layout issues" is directed at voting members. Seeing what has happened to a post as a cpian arrives at it, without reading the entire text of the thing, recreates the bias with which an opinionated editor last edited a post and in that recollection, he is better able to adjust his old attitude towards the usual detritus, ignoring it, and form a new perspective. In effect continuing his reading and therefore his objectivity.
Example:
I see a bunch of lowercase "i" peppering the question. And I categorically downvote the post without leaving any explanation at all as to why it deserved downvoting. If this guy doesn't care enough to appeal to my general sense of what's good in this world, neither do I.
As for reading the peppered post in it's entirety? Fagettaboutit!
modified 30-Oct-23 10:01am.
|
|
|
|
|
What? Sorry I'm not native English. Please keep it simple for me 
modified 28-Oct-23 15:20pm.
|
|
|
|
|
... nothing I suppose I was just venting my frustrations while pouring over evaluation software as the deadline to purchase quickly approaches. 
|
|
|
|
|
I think it's reasonable - it's a flag to notify the editors that the post requires some help, not a "go away, we don't want your sort here" kick to close the post.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Reporting Format / Layout issues is A-OK, because it sends a clear message to the CodeProject editors what needs to fixed.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
It is currently possible to add line numbers to a code block by adding the linecount="on" attribute to the <pre> element.
1 Line 1
2 Line 2
3 Line 3
These line numbers are inserted directly into the rendered HTML:
<span class="code-linenumber"> 1 </span>Line 1
<span class="code-linenumber"> 2 </span>Line 2
<span class="code-linenumber"> 3 </span>Line 3 As a result, if you try to select part of the code block to copy, you end up including the line numbers:

The only option is to use the "copy" icon at the top of the script block to copy the entire block without line numbers, then use a text editor to trim it down to just the part you wanted to copy.
If instead you added the line numbers using the ::before pseudo-element[^], they would not be selectable. You would be able to select and copy any part of the code block without including the line numbers. And the "copy" script wouldn't need to strip the line numbers out.
You could even use CSS counters[^] to automatically generate the line numbers.
For example:
<pre data-linecount="True" style="--line-start:10;--line-increment:10;"><span class="code-linenumber"></span>Line 1
<span class="code-linenumber"></span>Line 2
<span class="code-linenumber"></span>Line 3
</pre>
pre[data-linecount="True"]{
--line-initial: calc(var(--line-start, 1) - var(--line-increment, 1));
counter-reset: line-number var(--line-initial, 0);
& .code-linenumber::before {
counter-increment: line-number var(--line-increment, 1);
content: counter(line-number);
display: inline-block;
text-align: right;
width: 2em;
margin-right: .5em;
opacity: 0.5;
}
} Demo[^]

The only potential issue would be determining an appropriate width for the line number element, so that it doesn't push short blocks over too far, but leaves enough room for the occasional massive wall-o-text code dump.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Oh, that's nice!
cheers
Chris Maunder
|
|
|
|
|
Am I the only one who's noticed this?

Because each message is its own nested <table> , and they don't use table-layout:fixed , the "columns" don't quite line up properly.
It seems to be related to the message subject message timestamp rather than the user; you can see in that screenshot two threads started by Griff which don't line up with each other.
Firefox v119
Fluid layout
Document width 1849
Display 3840×2160 scaled to 175%
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
modified 27-Oct-23 10:14am.
|
|
|
|
|
I have a rewrite of the forum control that removes all the tables and fixes this issue. Except sometimes it makes it worse.
It bothers me too, but I just haven't had the free time to get all the wrinkles out.
cheers
Chris Maunder
|
|
|
|
|
Hello. New user with very little programming background or any knowledge about CodeProject:
I get the following error when trying to install the Sentiment Analysis module on 2.2.4-Beta:
16:51:44:Preparing to install module 'SentimentAnalysis'
16:51:44:Downloading module 'SentimentAnalysis'
16:52:14:Unable to download module 'SentimentAnalysis' from https:
16:52:14:Unable to download module 'SentimentAnalysis' from https:
Logging level
Info
However, if I paste that URL into my browser, I can download it just fine. It took longer than 30 seconds IIRC so perhaps there is a setting somewhere for the timeout that I can tweak?
Also I created a "SentimentAnalysis" folder in C:\Program Files\CodeProject\AI\downloads\ but that didn't work either :-/
I also tried increasing the timeout in the appsettings.json file from 30 to 45 ("ResponseTimeout": "00:00:45") but that didn't seem to be the correct setting because my error still said 30 seconds.
Open to suggestions.
modified 25-Oct-23 18:18pm.
|
|
|
|
|
|
Yes. I mentioned I was able to manually download the file.
I saw similar questions in other discussions that said to post here, so I did. I can post a new question elsewhere thanks for the tip.
|
|
|
|
|
For some unknown reason I stopped receiving your various daily newsletters via email in my inbox.
Nothing has changed at my end - my email address is still the same.
I have checked my spam folder as well as my ISP's spam folder.
A few days ago I double-checked on your site my newsletter options - everything looks OK - I thought this might trigger something but to no avail.
Please help.
A. Joye
|
|
|
|
|
Weakness arouses evil. Don't look for excuses that suit a defeatist view of the world to justify walking away and giving up. In doing so, you're choosing to fail without even trying. If you cave in, then you're handing victory to evil. Do we really want to live in a world where we're slaves to evil? Giving up is easy. The consequences of doing so make life immensely difficult.
I'm curious. Why are there no forums dedicated to cybersecurity?
First off, I just want to be clear that I don't identify as a hacker. The term 'hacker' is a loaded term that has negative connotations. Those who aren't familiar with computational science almost universally equate hacking and hackers to criminals and malicious actors. That's partly correct, and it goes without saying that there are many hackers out there who are motivated by malice. I can understand why the black hat hackers have no place here. That's fine.
What about cybersecurity pros and ethical hackers? For anyone who authors software, it's vital to know and understand how to protect against dangerous exploits. I've worked closely with law enforcement in the past. Regardless of jurisdiction or agency, every law enforcement professional will tell you that you must understand how to think as though you're a criminal. If you fail to acquire an extensive understanding of how the criminal mind operates, you can't do the job.
Without a forum that covers this subject matter, it feels as though we have a gaping hole that excludes an extremely important topic that everyone -- no matter what their area of specialty is -- absolutely must know. I think its exclusion poses a very real danger that no one can afford to disregard.
I feel very strongly about this. I ask you to give this suggestion serious consideration. I can't emphasize its importance enough.
|
|
|
|
|
If I remember it correctly it was already asked in the past, but there were not enough resonance to open a new cathegory.
On the other hand, a new forum in the List and a couple of tags in the Q&A shouldn't be a big deal. Maybe if it were there and people started posting material then it would get "more known".
The biggest problem I have seen is, that most of the articles or posts discussing this topic were actually with a negative connotation / goal. Like "How to reverse engineer XXX", "How to bypass password in YYY", "How to get into the system of my ex" and things like that. There have been relative few "neutral" / "academical" articles that could be posted with peace of conscience because others that were written as "neutral" discussed topics that could easily be (ab)used by some users.
It is really difficult to be in balance between teaching security and avoiding making easier the life of people with malicious intentions.
I would snoop in the new cathegory by all means. Knowledge doesn't hurt and might be really helpfull in real life.
Let's see what the staff say.
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.
|
|
|
|
|
Nelek wrote: Knowledge doesn't hurt and might be really helpfull in real life It's also true that it's a very complicated area, where a little knowledge is a very dangerous thing - and most people who try to implement security (even at the login level) have very little knowledge and produce very dangerous code.
My personal feeling is that it's not a good idea to have specific forums or tags for it, as it really needs to be considered as a holistic approach rather than piecemeal fragments without any other context which is inevitable for forums and QA.
"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!
|
|
|
|