Can current quantum computers decide languages that Turing Machines cannot?

I am currently learning Computing Theory at university, and we were on the topic of Turing-Decidability, Recognizability, etc. Showing that a problem is undecidable with Turing machines due to reductions got me thinking about all the Quantum Computer craze.

As such my question is as follows

Does there exist some language L that is not decidable by a Turing Machine, but is decidable by a quantum computer?

My hunch is no, as from what I understand about Quantum Computers, you can simulate them (albeit slower) using a Turing Machine. However my knowledge of Quantum Computing is limited to a 1.5 hour lecture from Microsoft on YouTube, and I would assume there was a lot more in the way of recent developments that I am not knowledgeable enough to understand

Cannot calculate Conv1D backprop gradients correctly

I’m a beginner trying to understand the backpropogation for Conv1D. I’m implementing it and comparing my gradients with pytorch’s gradients. However, the backprop step seems to be wrong. I have posted the full implemented class.

class Conv1D:     def __init__(self, input_channel, output_channel, kernel_size, stride):         self.input_channel = input_channel         self.output_channel = output_channel         self.kernel_size = kernel_size         self.stride = stride         self.W = np.random.normal(0, 1, [output_channel, input_channel, kernel_size])         self.b = np.random.normal(0, 1, [output_channel])         self.dW = np.zeros(shape=self.W.shape)         self.db = np.zeros(shape=self.b.shape)         self.dx = np.zeros(shape=self.b.shape)         self.input = np.array([])      def forward(self, x):         output_width = int(np.floor(len(x[0][0])-self.kernel_size)/self.stride) + 1         y = np.zeros(shape=[len(x), self.output_channel, output_width])         self.input = np.copy(x)         for i in range(len(x)):             for j in range(self.output_channel):                 k_ = 0                 for k in range(output_width):                     input_piece = x[i, :, k_:k_+self.kernel_size]                     y[i][j][k] = np.sum(np.multiply(input_piece, self.W[j])) + self.b[j]                     k_ += self.stride         return y      def backward(self, dl):         output_width = int(np.floor(len(dl[0][0])-self.kernel_size)/self.stride) + 1         self.dW = np.zeros(shape=self.W.shape)         self.db = np.zeros(shape=self.b.shape)         self.dx = np.zeros(shape=self.input.shape)         for i in range(len(dl)):             for j in range(self.output_channel):                 k_ = 0                 for k in range(output_width):                     input_piece = self.input[i][:, k_:k_+self.kernel_size]                     self.dx[i][:, k_:k_+self.kernel_size] += dl[i][j][k] * self.W[j]                     self.dW[j] += dl[i][j][k] * input_piece                     self.db[j] += dl[i][j][k]                      k_ += self.stride         return self.dx        def __call__(self, x):         return self.forward(x) 

I would really appreciate if someone could find my mistake.

Old ODBC app throws “cannot generate sspi context” on Windows 10

An old Access 2003 .adp project is currently running on Windows 7 machines, while SQL Server 2008 is on the backend. Since the app is moved to a Windows 10 machine, the app will trigger “Connot generate SSPI context” error.

There are a lot of messages over the Internet to explain possible reasons and solutions.

In our case, we may overcome the problem running Msaccess.exe from commandline, using:

runas /netonly /user:userdomain\useralias "C:\Program Files\<path-to-office-folder>Msaccess.exe" 

The downside is that the user is prompted for password each time the shortcut is being used.

Is there a way to fix this so that the app (or Windows 10) are addressing the domain user name correctly, avoiding the error?

Is “this damage cannot be reduced of prevented in any way” a catch-all, or is “reduced or prevented” referring to specific game mechanics?

There are a number of spells that deal non-preventable damage. However, this non-preventable damage is worded as “This damage cannot be reduced or prevented in any way”. Damage reduction and damage prevention are AFAIK both specific mechanics that are more or less standardized, with spells, feats and equipment that grant these effects explicitly using these words.

It feels to me like non-preventable damage only stops effects that are explicitly worded as “reduces damage taken” or “prevent all damage taken”, and that effects that use other words to affect the damage taken by the player may actually be able to stop the damage. For example, AFAIK D&D 5E has both damage reduction and damage resistance. However, I don’t know if this is a correct interpretation.

So the question I have is: does “reduced or prevented” in this case explicitly refer to effects worded using the words “reduces damage taken” or “prevent all damage taken”, or do they also refer to other effects that reduce or prevent damage with other words?

Cannot execute program with Meterpreter on target OS

My apologies if the question of this nature is not allowed.

I’m a uni student taking a course on cybersecurity and what I am attempting to do is solely for practice.

I used the eternalblue exploit to gain access to the victim’s computer. I uploaded a simple helloworld.exe program on their desktop. Now, I am trying to execute helloworld.exe on their computer using the two methods below.

meterpreter > execute -f helloworld.exe 

and

meterpreter > shell . . . C:\users\username\desktop> start helloworld.exe 

None of the above methods will run the helloworld program. I do not see the helloworld.exe running on the victim’s computer task manager. But, sometimes the UI0detect.exe shows up and disappears in the task manager. The Interactive Services Detection window sometimes would show up as well.

Note that I execute the helloworld.exe on the target computer in the command prompt using start helloworld.exe or in powershell using ./helloworld

Cannot seem to access Calculated column in Display Template via Managed Property mapping

Here is my situation:

I have a test/development site on SharePoint Online/Office 365 called TestSite3, and within that site a sub-site called TestBlog3 (a Blog site for making Posts).

I want to use a Content Search Web Part on the homepage to query all Post items from the blog, and then sort them by a custom event date value, but then if event date is not specified (it will be optional), use the post’s created date.

I have also made a custom Display Template in which I have the following managed property mappings:

<mso:ManagedPropertyMapping msdt:dt="string">'Picture URL'{Picture URL}:'PublishingImage;PictureURL;PictureThumbnailURL','Link URL'{Link URL}:'Path','Line 1'{Line 1}:'Title','Line 2'{Line 2}:'LastModifiedTime','Line 3'{Line 3}:'BodyOWSMTXT','Line 4'{Line 4}:'RefinableDate03','SecondaryFileExtension','ContentTypeId','IsAllDayEvent'</mso:ManagedPropertyMapping> 

In the Post content type, I have added two custom columns:

  • ZTest3Date: a Date column that is optional to the user to specify, supposed to function as an ‘event date’ for posts about events coming up
  • ZTest3Calculated: a Calculated column returning a Date. What I want is for it to return the event date (ZTest3Date) if it is set, otherwise return the post’s created date (Created).

Here is the formula I have in ZTest3Calculated: =IF(ISBLANK(ZTest3Date),Created,ZTest3Date)

I have seen formulas use brackets [] around the column names, but when I try saving the formula with that it automatically removes them, leaving the above.

I go into the site’s search schema to look at the Managed and Crawled Properties. I use ‘z’ in the search box to filter them down. The ZTest3Date column I made shows up in Managed Properties as ZTest3DateOWSDATE. There is no Managed Property for the ZTest3Calculated column.

In Crawled Properties, I see ows_ZTest3Calculated, ows_ZTest3Date, and ows_q_DATE_ZTest3Date.

I can put ZTest3DateOWSDATE into my Display Template in Line 4 and it works, but that’s only half my solution; I want to handle when there is no event date set.

Since ZTest3Calculated is not available as a managed property, I understand that it is recommended to map the crawled property to one of the pre-set columns SharePoint provides, so I mapped ows_ZTest3Calculated to RefinableDate03.

I have re-indexed the Post list and waited a while, but it does not seem to be working; I have also tried assigning an alias to RefinableDate03 and updating the Display Template, still no luck. When I debug the JavaScript code I put in my display template file to read what is coming into Line 4, it is blank always, whether or not the event date is set. So either the RefinableDate03 mapping isn’t working, or my ZTest3Calculated column isn’t working. Or something else I’m not aware of.

Sorry this is so long, but I feel like supplying the context and my setup is important. I have driven myself crazy with this over the past few days, and would appreciate if someone might have some knowledge of what I’m missing.

I appreciate any help, and thank you for reading all this!

Cannot seem to access Calculated column in Display Template via Managed Property mapping

Here is my situation:

I have a test/development site on SharePoint Online/Office 365 called TestSite3, and within that site a sub-site called TestBlog3 (a Blog site for making Posts).

I want to use a Content Search Web Part on the homepage to query all Post items from the blog, and then sort them by a custom event date value, but then if event date is not specified (it will be optional), use the post’s created date.

I have also made a custom Display Template in which I have the following managed property mappings:

<mso:ManagedPropertyMapping msdt:dt="string">'Picture URL'{Picture URL}:'PublishingImage;PictureURL;PictureThumbnailURL','Link URL'{Link URL}:'Path','Line 1'{Line 1}:'Title','Line 2'{Line 2}:'LastModifiedTime','Line 3'{Line 3}:'BodyOWSMTXT','Line 4'{Line 4}:'RefinableDate03','SecondaryFileExtension','ContentTypeId','IsAllDayEvent'</mso:ManagedPropertyMapping> 

In the Post content type, I have added two custom columns:

  • ZTest3Date: a Date column that is optional to the user to specify, supposed to function as an ‘event date’ for posts about events coming up
  • ZTest3Calculated: a Calculated column returning a Date. What I want is for it to return the event date (ZTest3Date) if it is set, otherwise return the post’s created date (Created).

Here is the formula I have in ZTest3Calculated: =IF(ISBLANK(ZTest3Date),Created,ZTest3Date)

I have seen formulas use brackets [] around the column names, but when I try saving the formula with that it automatically removes them, leaving the above.

I go into the site’s search schema to look at the Managed and Crawled Properties. I use ‘z’ in the search box to filter them down. The ZTest3Date column I made shows up in Managed Properties as ZTest3DateOWSDATE. There is no Managed Property for the ZTest3Calculated column.

In Crawled Properties, I see ows_ZTest3Calculated, ows_ZTest3Date, and ows_q_DATE_ZTest3Date.

I can put ZTest3DateOWSDATE into my Display Template in Line 4 and it works, but that’s only half my solution; I want to handle when there is no event date set.

Since ZTest3Calculated is not available as a managed property, I understand that it is recommended to map the crawled property to one of the pre-set columns SharePoint provides, so I mapped ows_ZTest3Calculated to RefinableDate03.

I have re-indexed the Post list and waited a while, but it does not seem to be working; I have also tried assigning an alias to RefinableDate03 and updating the Display Template, still no luck. When I debug the JavaScript code I put in my display template file to read what is coming into Line 4, it is blank always, whether or not the event date is set. So either the RefinableDate03 mapping isn’t working, or my ZTest3Calculated column isn’t working. Or something else I’m not aware of.

Sorry this is so long, but I feel like supplying the context and my setup is important. I have driven myself crazy with this over the past few days, and would appreciate if someone might have some knowledge of what I’m missing.

I appreciate any help, and thank you for reading all this!

IDX10630: The ‘[PII is hidden]’ for signing cannot be smaller than ‘[PII is hidden]’ bits. KeySize: ‘[PII is hidden]’. Parameter name: key.KeySize

I just created a SharePoint Add-in in Visual Studio for SharePoint 2016. When I run the add-in, which is nothing but anything that visual studio has generated, I am getting the following error:

IDX10630: The '[PII is hidden]' for signing cannot be smaller than '[PII is hidden]' bits. KeySize: '[PII is hidden]'. Parameter name: key.KeySize Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.  Exception Details: System.ArgumentOutOfRangeException: IDX10630: The '[PII is hidden]' for signing cannot be smaller than '[PII is hidden]' bits. KeySize: '[PII is hidden]'. Parameter name: key.KeySize  Source Error:   Line 816:                ); Line 817:             Line 818:            string actorTokenString = new JwtSecurityTokenHandler().WriteToken(actorToken); Line 819: Line 820:            if (appOnly) 

I am using asp.net mvc. Any idea what could be wrong? Thank you.

Cannot clone group of Custom Fields in CPT

I have my CPT, and I am trying to clone the group of Custom Fields in my metabox named as Credits.

I have these fields to be cloned each time, when the user hit on + Add Group button:

  1. Text Field
  2. TextArea Field

I have followed this link for reference -> Clone Group of Custom Fields

Now, I believe the code is right, but somehow, I can see only textfield is coming up. I have tried my best to get this working but failed. I need your help on this. I do not want to make use of any plugins for now, since code is already available, it is just that the implementation is a problem.

Code:

function gallery_credit_section( $  meta_boxes ) {     $  prefix = 'prefix-';      $  meta_boxes[] = array(         'id' => $  prefix . 'gallery-credits',         'title' => esc_html__( 'Credits', 'metabox-online-generator' ),         'post_types' => 'gallery',         'context' => 'advanced',         'priority' => 'default',         'autosave' => 'false',         'fields' => array(             array(                 'id' => $  prefix . 'gallery-advisor',                 'type' => 'group',                 'clone' => true,                 'fields' => array(                     array(                         'id' => $  prefix . 'gallery-advisor',                         'type' => 'text',                         'name' => esc_html__( 'Advisors', 'metabox-online-generator' ),                         'placeholder' => esc_html('Author Name', 'metabox-online-generator')                     ),                     array(                         'id' => $  prefix . 'gallery-about-advisor',                         'type' => 'textarea',                         'name' => esc_html__('About Advisor', 'metabox-online-generator')                     )                 )             )         )     );      return $  meta_boxes; } add_filter( 'rwmb_meta_boxes', 'gallery_credit_section' ); 

Result:

Resultant image

As you can see, no name is there for the field, plus there is no textarea field too. Please help. Thanks 🙂