## What type of attack could this be ? (Wireshark pcap)

If I understand it correctly the "client" sent an unencrypted password to the pop3 server consisting of a long string of As. Is this a type of attack and if yes, how does it work?

## What USB Type B connector has screw thread?

I have seen multiple devices (all microphones) with a Type B USB connector with screw-thread around it.

• What is this connector/cable called?
• What is it for? (other than securely fastening cables?)
• Are cables with these connectors ‘twice-shielded’?
• What devices might have a female USB port with this kind of thread-fastener?

Photo courtesy of Thomann.de

## ag.algebraic geometry – Homotopy type of the affine Grassmannian and of the Beilinson-Drinfeld Grassmannian

The affine Grassmannian of a complex reductive group $$G$$ (for simplicity one can assume $$G=GL_n$$) admits the structure of a complex topological space. More precisely, the functor $$Xmapsto |X^{an}|$$ that associates to a scheme locally of finite type the underlying topological space of its analytification ((SGA1, XII, 1)) can be left-Kan-extended to a functor $$PSh(Sch)to Top$$, and therefore applied to the ind-scheme $$Gr_G$$.

Some topological properties of this space are known: its connected components are in bijection with the topological fundamental group $$pi_1(G)$$ ((Beilinson-Drinfel’d, Quantization of Hitchin’s integrable system and Hecke eigensheaves, Proposition 4.5.4)). The étale fundamental group (which is the profinite completion of the topological fundamental group) of each orbit in $$Gr_G$$ under the left action of $$L^+G$$ is trivial (Richarz, Affine Grassmannians and the Geometric Satake Equivalences, proof of Proposition 3.1).

Also, $$|Gr_G^{an}|$$ is known to be homotopy equivalent to a polynomial loop space ((Zhu, An introduction to the affine Grassmannian and the Geometric Satake Equivalence) and (Pressley/Segal, Loop Groups, Sec. 8.3)).

However, my knowledge stops essentially here. For example, the homotopy groups of this polynomial loop space are unknown to me.

Has anyone ever written or thought about the topology of the affine Grassmannian in further detail? Relevant questions to me are the following:

1. What is the fundamental group of $$|Gr_G^{an}|$$?
2. The cohomology of the affine Grassmannian is much more studied and used than its homotopic properties. Is there any chance that \$|Gr_G^{an}| satisfies conditions like “being a simple space”, which often allows homotopical issues to be translated into cohomological issues, by means of the homological Whitehead theorem?

Needless to say, the answer to such questions for the Beilinson-Drinfel’d Grassmannian will probably be more difficult. However, any ideas or references in this more sophisticated context would be highly appreciated.

## How to generated scripts of all table with there all type of indexes present for table in MS SQL Server?

I want to generate a scripts of all the tables(Create).

From database -> Task -> Generate script->Select Specific database objects -> Tables.

Get only table create with primary key & foreign key script. Clustered, Non Clustered Indexes, Full-Text Indexes are not present in generated script.

## postgresql – Best field type for cryptocurrency big numbers?

I’m using PostgreSQL for my cryptocurrency exchange database, the question is: for saving currency amount (numbers) with their precision (like 323232323232323.45454545 ~ 23 digit + 1 dot: 15 digit before dot and 8 digit after that), Should I use `varchar(24)` type for them or `double precision` or `numeric(15,8)` ?

Note: It seems that `double precision` type cant properly save big numbers like example above and it will be rounded to 323232323232323!

Witch one has better performance (speed) and needs less resources?

## entities – Entity where member variable is different type than when serialized

Not entirely sure how to phrase this.

I’ve got a config entity that needs to store a block id. In my config I have the mapping set to a string for the id.
When I load the entity, I’d think it would be more convenient to load the id and have the variable be a block.

This would mean I would need to :

• On load, set `\$this->block = loadblock(\$id)`
• On save, set `config->block = \$block->id()`

I’m finding the saving of entities to be quite ‘magic’ and thus hard for me to figure out.

Schema:

``````myent.myent.*:
type: config_entity
mapping:
display_block:
type: string
label: Display block
``````

entity:

``````/**
* @ConfigEntityType(
*   id = "myent",
*   ...
*   config_export = {
*     ...
*     "display_block",
*   },
* )
*/
class MyEnt extends ConfigEntityBase {

// This should be loaded as an entity, not a string.
protected \$display_block;

}
``````

For the loading, I could just override `__construct` and use the loaded string to load up the entity but that feels very hacky. Plus then IDK how to save it properly when saving.

There is also the option of having a `getBlockRaw` and `getBlock` as two seperate options. Have a variable for the string and a non exported one for the loaded entity.

## How to sort type paragraphs in views?

Hello it is possible to order the output of the paragraphs for example

Type of content Blog
I create a blog details field that calls the type of paragraphs and there I select image and description

In my content it goes in this order

In the view I call that field
blog details
and they appear to me
but based on the order of the node

But I don’t want it to look like this

and always look in that order

## Custom post type archive not using custom template

I’m trying to create an index page for some project CPT I make. So basically it’s similar to this question, only that I’ve created the CPT in a separate plugin folder.

Following the accepted answer, this is the code from my plugin folder:

``````function register_my_cpt()
{
\$labels = array(
'name' => 'Projects',
'singular_name' => 'Project',
'edit_item' => 'Edit Project',
'new_item' => 'New Project',
'view_item' => 'View Project',
'search_items' => 'Search Project',
'not_found_in_trash' => 'No Projects Found in Trash'
);

\$args = array(
'labels' => \$labels,
'has_archive' => true,
'public' => true,
'hierarchical' => false,
'supports' => array(
'title',
'editor',
'excerpt',
'custom-fields',
'thumbnail',
'page-attributes'
),
'rewrite' => array('slug' => 'projects'),
'show_in_rest' => true
);

register_post_type('my_project', \$args);
}

function get_my_cpt_template(\$template) {
global \$post;

if (\$post->post_type == 'my_project') {
\$template = dirname( __FILE__ ) . '/archive-my_project.php';
}
return \$template;
}

``````
``````<h2> Just for testing. This is from the archive-my_project.php file. </h2>
``````

But after I activate the plugin and go to `localhost/projects/`, the page seems still using `index.php` as its template, and hence returning an empty page.

To isolate the issue, I’ve tried modifying my `index.php` so that it uses `wp_query` to specifically retrieve the project type posts and it does display the CPT posts fine.

This question seems suggesting adding taxonomy to the CPT. In my case I don’t need any taxonomy for the project post type.

What am I missing here? Thanks!

## customs and immigration – Is Schengen National Visa type D is same as Resident Permit?

I am stranded in my home country (India) and trying to go back to my work place in Poland. I have long term National Visa Type D along with work permit. Most of the rules given on Airline and Embassy websites says people with permanent or temporary Resident Permit are allowed to board the flights or enter the Schengen area.

Is National Visa type D considered as resident permit or not?

I know there are dedicated resident permits which we have to apply (like Karta Pobytu in Poland). However, I am confused with this condition. I have contacted Airlines, they said ONLY resident permit holders are allowed. Polish border guards say Resident Permit or Work Permit holders are allowed.

… the foreigners possessing a right to work on the territory of the Republic of Poland i.e. the foreigners entitled to work on the same grounds as Polish citizens, the foreigners possessing work permits, work permits for a seasonal work …. are able to present documents which confirms that they will start work shortly after entry to Poland,….

But none of them confirmed or denied whether I will be allowed. Can anyone help me with this matter?

Just an extra information, I have already applied for temporary resident permit (Karta Pobytu) last year which is already approved last month (I have scanned decision letter). However, to get the card, I have to personally go to their office in Poland and provide my fingerprints.

## dataset – Type of data in a data set columns

How can I check the type of data in the columns of the dataset and count how many are of that data type?

Here is the data set I am working with:

``````Dataset[{
<|"speed" -> 4, "distance" -> 2.01|>,
<|"speed" -> 4, "distance" -> 10.03|>,
<|"speed" -> 7, "distance" -> 4.04|>,
<|"speed" -> 7, "distance" -> 22.8|>,
<|"speed" -> 8, "distance" -> 16.2|>,
<|"speed" -> 16, "distance" -> 10.1|>,
<|"speed" -> 8, "distance" -> 12.1|>,
<|"speed" -> 9, "distance" -> 22.1|>,
<|"speed" -> 11, "distance" -> 32.3|>,
<|"speed" -> 6, "distance" -> 11.12|>}
]
``````