Why is the full blockchain required, effectively forever?

I do understand that every block is validated in terms of the blocks before it by way of the previous block’s hash, all the way back to the genesis block. However, could the protocol be modified such that the blockchain is a sliding window over the most recent N number of blocks? How likely is it that some block from 1 year ago later turns out to be invalid?

dnd 5e – What kind of attack is required to take an Ioun Stone?

Various Ioun Stones include the following bit in their description:

(…) Thereafter, another creature must use an action to grasp or net the stone to separate it from you, either by making a successful attack roll against AC 24 or a successful DC 24 Dexterity (Acrobatics) check. You can use an action to seize and stow the stone, ending its effect. (…)

Notably, a creature trying to grasp or net the Ioun Stone must use their action to make an attack roll. But what kind of attack roll is this?

Can it use a weapon? Is it melee or ranged? Do you add Dexterity or Strength (or neither) to the attack roll? Are you proficient in this attack?

What are the options for a character when they are required to “make an attack roll”?

magento2 – The product’s required option(s) weren’t entered. Make sure the options are entered and try again

I am getting the standard error when the product requires options to be selected before adding to the quote/cart. However, it seems the error is displaying multiple times to match the number of options there are. See screenshot below.

Any advice would be greatly appreciated.

enter image description here

javascript – redirect to another page after filling out the required field and stay in the same page once not fill out

I am currently using the embedded form from Mailchimp. I would like to redirect the form to my thank you page once the form has been filled out, but it is still proceeding to another page even the email field is empty. I put the onClick on my submit button. Can you help me?

Here’s my code:

<!-- Begin Mailchimp Signup Form -->

#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */

#mc-embedded-subscribe-form input(type=checkbox){display: inline; width: auto;margin-right: 10px;}
#mergeRow-gdpr {margin-top: 20px;}
#mergeRow-gdpr fieldset label {font-weight: normal;}
#mc-embedded-subscribe-form .mc_fieldset{border:none;min-height: 0px;padding-bottom:0px;}

Subscribe

* indicates required

Email Address *

Name

Marketing Permissions

Please select all the ways you would like to hear from Beyond Red Wave Arts, LLC:

Yes, I would like to receive future updates about DELPHYQ.

(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames(0)=’EMAIL’;ftypes(0)=’email’;fnames(1)=’FNAME’;ftypes(1)=’text’;fnames(2)=’LNAME’;ftypes(2)=’text’;fnames(3)=’MMERGE3′;ftypes(3)=’text’;}(jQuery));var $mcj = jQuery.noConflict(true);

Thank you in advance.

Are cookie warnings still required under the EU cookie law?

As a European (Dutch) and a web builder:

Yes, this is still required (if you have tracking/3rd party cookies). But now the cookie storm is over, and the dust has settled, most sites only show a small banner “we use cookies” and stick to that. Unless you’re in the big league, there’s not much to worry about, with just that notification you’re already doing better than most sites. I have yet to encounter an actual court case about this.

Dutch law requires opt-in, but that rarely happens. European law says opt-out should be possible, but most websites just tell the user they use cookies and keep it to that.
This applies to EVERY website targeting europeans, no matter where you host or where the company originates.

• This website has plenty of info about EU legislation on cookies

Might be nice to know, you no longer need to place the notification if you only use Google Analytics (you had to because GA uses a cookie to check for returning visitors) and cookies specific for the website. Because of this, most small common websites don’t need a notification to the user.

The reason GA is allowed, is because they don’t track you from site to site, only if you come back. This is considered acceptable because it is basic information which is useful for a webmaster and not privacy invasive for visitors. These cookies are available for the visited domain only and therefor seen as first party.

FYI, it’s called cookie law, but this doesn’t only apply to cookies. Session.storage and similar functionalities fall under the same rules. Everything that tracks users for the purpose of tracking users.

updating – What is the best practice for handling abandoned packages required by the drupal core?

When I run composer update on a Drupal 9 website, I get this warning:

Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.

A similar question has alreday been asked, answered and accepted on StackOverflow.

To summarise the accepted answer:

  • edit your composer.json and replace the abandoned package with the recommended replacement
  • then run composer update again

However, that answer doesn’t apply in the case of “doctrine/reflection”. When looking into my composer.json, there is no mention of it, so there is nothing to edit.

So I am checking why it is required:

$ composer why doctrine/reflection
doctrine/common          2.13.3  requires  doctrine/reflection (^1.0)   
doctrine/persistence     1.3.8   requires  doctrine/reflection (^1.2)   
drupal/core              9.1.7   requires  doctrine/reflection (^1.1)   
drupal/core-recommended  9.1.7   requires  doctrine/reflection (1.2.2)  

So this abandoned package is required by drupal/core (and others).

Two questions:

  1. Why is the most recent version of drupal/core requiring an abandoned package (instead of its recommended replacement roave/better-reflection)?
  2. What is the best practice for handling abandoned packages required by the drupal core?

How to securely share a secret/ password by between n individuals, so that majority consensus is required to retrieve the password / secret?

The following constraints apply

  • cannot use physical storage medium (such as Safe/ Vault)
  • the service used to store secret/ password should be highly available and accessible from anywhere in the world.

audio – Windows cannot verify the digital signature for the drivers required for this device code 52 error in Intel (R) SmartSound

When I looked for the audio device in device manager there was a yellow warning symbol on audiocontroller Intel(R) Smart Sound. My audio playback and recording do not work. There was an error like that.

Windows cannot verify the digital signature for the drivers required
for this device. A recent hardware or software change might have
installed a file that is signed incorrectly or damaged, or that might
be malicious software from an unknown source. (Code 52)

Device: Lenovo IdeaPad S340

Operating System: Windows 10 version 2004

A library required which generates dictionary attack passwords (for testing my theory)

I have calculated that 15 characters long password will take more than 8000 years to crack by the most powerful supercomputer available today.

My theory is that – Even if passwords are simple and easy to remember but if they are atleast 15 characters long, then these passwords are unbreakable.

So, according to me a simple but long password like – “iloveunitedstates” is an unbreakable password.

But someone pointed out that using dictionary attack, this password can be hacked easily.

But I am not convinced that this password can be broken.

So, I wanted to test it myself. So, is there a library or tool that generates dictionary attack passwords, so that I can use it to see if the password “iloveunitedstates” is crackable or not.

Please let me know if there is such a library or tool.

java – required a bean named ‘entityManagerFactory’ that could not be found

. ____ _ __ _ insira o código aqui
/ / __ _ () __ __ _
( ( )_
| ‘_ | ‘| | ‘ / ` |
/ __)| |)| | | | | || (
| | ) ) ) )
‘ || .__|| ||| |_, | / / / /
=========|
|==============|
/=////
:: Spring Boot :: (v2.1.12.RELEASE)

2021-04-05 14:07:12.362 INFO 19212 — ( restartedMain) c.t.s.DesafioSupply.Application : Starting Application on spon190100264 with PID 19212 (C:Usersjose.leocadioDesktopDesafioSupplyAgroTOTVSDesafioSupplytargetclasses started by jose.leocadio in C:Usersjose.leocadioDesktopDesafioSupplyAgroTOTVSDesafioSupply)
2021-04-05 14:07:12.368 INFO 19212 — ( restartedMain) c.t.s.DesafioSupply.Application : No active profile set, falling back to default profiles: default
2021-04-05 14:07:12.688 INFO 19212 — ( restartedMain) .e.DevToolsPropertyDefaultsPostProcessor : Devtools property defaults active! Set ‘spring.devtools.add-properties’ to ‘false’ to disable
2021-04-05 14:07:12.689 INFO 19212 — ( restartedMain) .e.DevToolsPropertyDefaultsPostProcessor : For additional web related logging consider setting the ‘logging.level.web’ property to ‘DEBUG’
2021-04-05 14:07:17.693 INFO 19212 — ( restartedMain) .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2021-04-05 14:07:18.103 INFO 19212 — ( restartedMain) .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 395ms. Found 3 JPA repository interfaces.
2021-04-05 14:07:20.148 INFO 19212 — ( restartedMain) faultConfiguringBeanFactoryPostProcessor : No bean named ‘errorChannel’ has been explicitly defined. Therefore, a default PublishSubscribeChannel will be created.
2021-04-05 14:07:20.167 INFO 19212 — ( restartedMain) faultConfiguringBeanFactoryPostProcessor : No bean named ‘integrationHeaderChannelRegistry’ has been explicitly defined. Therefore, a default DefaultHeaderChannelRegistry will be created.
2021-04-05 14:07:20.781 INFO 19212 — ( restartedMain) trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration’ of type (org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$633c801a) is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-04-05 14:07:21.210 INFO 19212 — ( restartedMain) trationDelegate$BeanPostProcessorChecker : Bean ‘integrationDisposableAutoCreatedBeans’ of type (org.springframework.integration.config.annotation.Disposables) is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-04-05 14:07:21.365 INFO 19212 — ( restartedMain) trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.integration.config.IntegrationManagementConfiguration’ of type (org.springframework.integration.config.IntegrationManagementConfiguration$$EnhancerBySpringCGLIB$$ce2e3b49) is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-04-05 14:07:21.446 INFO 19212 — ( restartedMain) trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration’ of type (org.springframework.boot.autoconfigure.integration.IntegrationAutoConfiguration$IntegrationJmxConfiguration$$EnhancerBySpringCGLIB$$a9c04669) is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-04-05 14:07:21.485 INFO 19212 — ( restartedMain) trationDelegate$BeanPostProcessorChecker : Bean ‘org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration’ of type (org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration$$EnhancerBySpringCGLIB$$e2a7ef36) is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-04-05 14:07:21.543 INFO 19212 — ( restartedMain) trationDelegate$BeanPostProcessorChecker : Bean ‘mbeanServer’ of type (com.sun.jmx.mbeanserver.JmxMBeanServer) is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2021-04-05 14:07:25.746 INFO 19212 — ( restartedMain) o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-04-05 14:07:25.834 INFO 19212 — ( restartedMain) o.apache.catalina.core.StandardService : Starting service (Tomcat)
2021-04-05 14:07:25.835 INFO 19212 — ( restartedMain) org.apache.catalina.core.StandardEngine : Starting Servlet engine: (Apache Tomcat/9.0.30)
2021-04-05 14:07:26.874 INFO 19212 — ( restartedMain) o.a.c.c.C.(Tomcat).(localhost).(/) : Initializing Spring embedded WebApplicationContext
2021-04-05 14:07:26.874 INFO 19212 — ( restartedMain) o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 14185 ms
2021-04-05 14:07:27.942 INFO 19212 — ( restartedMain) o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService ‘taskScheduler’
2021-04-05 14:07:32.596 WARN 19212 — ( restartedMain) ConfigServletWebServerApplicationContext : Exception encountered during context initialization – cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘enderecoController’: Unsatisfied dependency expressed through field ‘service’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘enderecoService’: Unsatisfied dependency expressed through field ‘repository’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘enderecoRepository’: Cannot create inner bean ‘(inner bean)#3ed12fb9’ of type (org.springframework.orm.jpa.SharedEntityManagerCreator) while setting bean property ‘entityManager’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘(inner bean)#3ed12fb9’: Cannot resolve reference to bean ‘entityManagerFactory’ while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘entityManagerFactory’ available
2021-04-05 14:07:32.608 INFO 19212 — ( restartedMain) o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService ‘taskScheduler’
2021-04-05 14:07:32.640 INFO 19212 — ( restartedMain) o.apache.catalina.core.StandardService : Stopping service (Tomcat)
2021-04-05 14:07:32.763 INFO 19212 — ( restartedMain) ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2021-04-05 14:07:33.228 ERROR 19212 — ( restartedMain) o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Field repository in com.totvs.supplyagro.DesafioSupply.Cadastros.Endereco.domain.EnderecoService required a bean named ‘entityManagerFactory’ that could not be found.

The injection point has the following annotations:
– @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:

Consider defining a bean named ‘entityManagerFactory’ in your configuration.

Process finished with exit code 1