Forum title text font rethink | Forum Promotion

Old:

Latest:

Originally the “Total was meant to be silver-ish, but certain effects made it look more white-ish. I’m still using the same “Federal” font but an alternate one that creates this unique line within. There is a reason also why the top text goes from a gray to a dark red – to do with our faction history, it is a choice based on history; not randomly chosen.

Algorithm to turn gray-scale text into legible binary black and white text

I have an image with gray-scale anti-aliased text produced by Chromium and need to convert this into pure binary black and white text. Applying a simple binary threshold pass over the image causes artifacts, either missing edges or weird protrusions and text being too bold depending on the chosen threshold.

Below an example of the input, the perfect outcome (as this is how the text would be rendered without AA) and the current outcome based on binary threshold (I think this is a 0.6 threshold). Sadly, it’s not possible to instruct Chromium to render the text without anti-aliasing, so a conversion is the only option.

I was wondering if there was an established algorithm for this kind of problem or in what direction I would have to look to find something that could be adapted to work here. Any algorithm would need to be able to run in semi-realtime, no offline solutions.

text rendering example

url redirection – Text message clickbait attack from g4svc.info

Recently I received a text message like this:

“xxx, we’re trying to get a hold of you about your Costco receipt
UUIB-LPZ. Please claim your overcharge reimbursement here
g4svc.info/6Jp1UwFdf.”

Apparently it’s a scam, but I just want to dig deeper to see what kind of attack it is. Is it just a clickbait? Or maybe it contains some JavaScript that executes instantly when I clicked on the link?

However, when I try to access it again from my laptop to analyze the source code, this link is no longer valid. It’s not like that I want to attack this server, but I really want to understand how this kind of server’s architecture works, and what kind of attack this is.

My guess is that this server keeps generating random mapping path and send to victims, whenever a URL is clicked, the server will redirect the user to the actual clickbait page, and clean up the original URL so most of the time it won’t be recorded and reported.

plugins – Getting value from dymanic text variable into Contact Form 7

I have an inscription form and I’m using Contact Form 7, Conditional Fields plugin and Dynamic Text Extension.
I want to show different prices according to the option selected and get the price for showing on the email confirmation (and save into database with Contact Form DB).

With the following code the price is displayed correctly on the web, but always appears with the same value in the confirmation email

Service type (select* serv_type "Regular" "Exceptional")
(group g_regular clear_on_hide)
  Price (dynamictext amount readonly "65")
  (dynamichidden price_value "65")
(/group)
(group g_exceptional clear_on_hide)
  Price (dynamictext amount readonly "45")
  (dynamichidden price_value "45")
(/group)

The conditional code is

show (g_regular) if (serv_type) equals "Regular"
show (g_exceptional) if (serv_type) equals "Exceptional"

And the email template code is

Subject: Inscription registered ((serv_type))    
New (serv_type) inscription with (price_value)€ ((amount)).

The price and amount value is always 65 on the email confirmation and should be 45 if is selected Exceptional

dnd 5e – What is this Tomb of Annihilation text in Dungrunglung talking about?

The Tomb of Annihilation module has a section on Dungrunglung, where the grung King is trying to conduct a great ritual. That section of the book, on page 51, reveals to the DM the plan of one of the King’s priests to fool him. I’ve reproduced a specific paragraph (emphasis, mine).

Krr’ook’s Plan. A while a go, Krr’ook found a box of
Nolzur’s marvelous pigments, which she hid from the king.
She plans to paint an image of Nangnang of such quality
that Croak will be fooled into thinking it’s the real goddess.
Krr’ook hopes that one of the adventurers will have the
skill to illu strate Nangnang convincingly. She’s willing to
give the magical pigments as a reward to the adventurers
if all goes well. As a further reward, Krr’ook offers a ring of
jumping. Anyone touched by a dose of poison must succeed on a DC 12 Constitution saving throw or take 5 (2d4)
poison damage. A dose of poison is used up once it deals
damage to a creature.

What is the last part of the text talking about? What poison doses are players touching? Was this some formatting-gone-wrong issue?

Should I include my markdown directly in my search index or should I convert it into plain text first?

I’m having a doubt concerning my website’s search index. I write my posts in Markdown and generate my website using Hugo statically. My doubt is whether I should include my post content as plain text, in my search index, or not.
I’d personally prefer to do it as plain text since it’s much easier for the readers, but I was provided with this counter-example which has left me doubtful.

Here’s an example of what I mean by plain and direct markdown:
This is plain text. vs `This is inserted directly`.

I’m asking this because I wanted to go with the web’s conventions rather than my own preferences.

postgresql – Performance of indexing varchar or text as an alternative to UUIDs?

I was reading up on nanoid and was possibly considering using the generated ids as the primary key for a table. The generated IDs are strings such as V1StGXR8_Z5jdHi6B-myT.

In my research I came across the following comment:

One of the benefits at least in postgres is that uuid v4 can be treated like a native type when stored which makes it fast to search.

Is it necessarily true that a primary key based on a UUID column would be more performant than a primary key based on a text or varchar column? If so, is there some other data type I can use to store nanoids which would match the performance of the native UUID type?

after upgrade to 20.04 desktop fonts have gone to boxes rather than text

I have upgraded to 20.04 and all my desktop fonts have changed to boxes. I can not determine how to recover.

Seperate text in Excel – Super User

I want to separate Text in a columns in two separate columns.

The columns should separated after following given words Performance,Learning & Growth and Business.

| Performance          comment                | Performance       | comment                |
|---------------------------------------------|-------------------|------------------------|
| Learning & Growth        some comment       | Learning & Growth | some comment           |
| Business       This is third comment        | Business          | This is third comment  |
| Performance          This is fourth comment | Performance       | This is fourth comment |

I tried Data Tools > Text to Columns. But this isn’t working in Learning & Growth row.

Thank you for your time and consideration

7 – How to pre-populate a text field when creating a new node?

I am using Drupal 7. I have a Content Type called Request. I have two fields “Manager Name” (type Text) and “Manager Email Address” (type Email). When the user creates a new node of type Request, I want to pre-fill these fields with “Hello World” and “nobody@yahoo.com”. Here is what I have tried so far (This is all in mymodule_form_node_form_alter):

$form('field_manager_name')('und')('#default_value') = "Hello World";
$form('field_manager_name')('und')('#suffix') = "Enter in the name of your immediate supervisor.";
$form('field_manager_email_address')('und')('#default_value') = "nobody@yahoo.com";
$form('field_manager_email_address')('und')('#suffix') = "Enter in the email address of your immediate supervisor.";

The two suffixes are working. When I create a new node of type Request, the suffix text appears under the field name, as expected. But the “default_value” fields are not working. What am I doing wrong?