## Connect-SPOService : Could not authenticate to SharePoint Online

I am unable to connect to SPO from SharePoint online management shell using my account. MFA is enabled.

I’m executing the following command:

Connect-SPOService -url https://[URL].sharepoint.com 

And I get the following response:

Connect-SPOService : Could not authenticate to SharePoint Online  https://[URL].sharepoint.com/ using OAuth 2.0     At line:1 char:1     + Connect-SPOService -url https://[URL].sharepoint.com     + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo : NotSpecified: (:) [Connect-SPOService], AuthenticationException     + FullyQualifiedErrorId : Microsoft.Online.SharePoint.PowerShell.AuthenticationException,Microsoft.Online.SharePoi     nt.PowerShell.ConnectSPOService 

Can anyone help with this?

Thanks.

## How to fix Swingbench schemas so they could be used for Oracle 18c

Swingbench 2.6 supports Oracle 12c and I have been used it for 12c successfully. But I want to use Oracle 18c for testing purposes.

In case of installing schemas using wizards from swingbench\winbin folder I was getting scripts hanging except oewizard script and could only run CRUD tests with it using SYSTEM user instead of SOE.

How to fix Swingbench scripts so they could be used for 18c also, especially cc, sh and json wizard scripts?

## Outside of Sabotage, how could a Rogue damage items in Pathfinder 2e?

While reading through the class feats in Pathfinder 2e I came across this one for Rogue: Sabotage. It allows a rogue to deal damage to a carried or wielded item with moving parts (such as a shortbow) based on a skill check vs Reflex, but explicitly states that said damage cannot take the item below it’s Broken Threshold which is the point before damage has any mechanical effect.

This implies to me the existence of at least one other method to deal at least one point of damage to a wielded or carried item to keep this feat from being functionally useless, but as of yet I’ve been unable to find any method to do so. One section on Items and Hit Points even outright says:

You usually can’t attack an attended object (one on a creature’s person)

So direct attacking is out, but there are definitely exceptions such as the aforementioned Sabotage.

That leads to my question, what other methods to damage held/wielded items are there? And more specifically, what others options are there that are available to a Rogue?

For what it’s worth while I don’t consider Spells as an option “available” to Rogue, if those are the only options that would be good to know as well, especially if such could include what steps a Rogue would have to take to gain access to them realistically.

## Could a regenerating troll feed enough stirges to live off them?

We are working on creating a room that is a self-sustaining ecosystem (like ecosystem aquariums but with creatures) that is an obstacle for PCs to pass (as part of an entire “Island of Dr. Moreau” filled with these ecosystems.)

Our current thought is a mad wizard who has set up a room with hundreds of stirges fed by a regenerating troll in a box that only allows as many stirges to feed on him at once as it can regenerate. Ideally, the troll could occasionally grab and eat some of the stirges as well.

The question we have is what guidance is there anywhere across the game or previous adventures or interviews with designers to calculate any or all of the following:

1. The amount a creature needs to eat each day to survive.

(This would give the number of stirges the troll could support and the number of stirges the troll needs to eat per day.)

1. Whether there is any known gestational period for stirges

(This would allow us to answer the question whether or not a troll could actually survive on something feeding on its regenerating blood – and allow us to calculate the equilibrium state for number of stirges supported.)

We use DnD to teach kids math, biology and physics. If we can make scenarios that teach various principles while also fitting with existing game guidance – it is a double win.

Of note, the underlying assumption in this scenario, of course, is that a troll’s regeneration has a magical aspect to it given how fast trolls regenerate and given that there is nothing describing how much they have to eat based on what they regenerated. (Proportional eating would be required if regeneration was a purely physical phenomena.)

## How can I securely recieve an Orgs secret key? They could just send it to me over the internet?

More or less just clarification requested?

If I’m a “NEW” client for VPN the only way I can access the Server’s VPN that I’m trying to join says I have to know a secret shared key…(This is their standard)….

How can they securely send this shared key to this new client?

One way I have developed is I created an app that will take any phrase, encrypt it and provide that key to the user…

This will ensure that they have the same key…

But if someone developed an app using the same encryption method and had the “phrase” they could potentially have the same key?

Any thoughts?

## How Could Be Changed Nautilus Context Menu “Open in Terminal” From gnome-terminal to tilix In Ubuntu 18.04?

Trying here without success change the application which runs with Open In Terminal from gnome-terminal to tilix.

Already installed and launched FileManager-Actions Configuration-Tool, but don’t know how to use it.

That way, how could be changed the application used?

## Error ImproperlyConfigured Could not resolve URL for hyperlinked relationship using view name, Django

Estoy haciendo una aplicación en django-REST, en la que una empresa puede tener varios talleres, el problema es que cuando creo una empresa y luego intento entrar al viewset de los talleres, me sale el siguiente error:

django.core.exceptions.ImproperlyConfigured: Could not resolve URL for hyperlinked relationship using view name “enterprise-detail”. You may have failed to include the related model in your API, or incorrectly configured the lookup_field attribute on this field.

Alguien sabe como solucionar esto?, solo pasa cuando hay empresas creadas, si no hay empresas me deja entrar entrar al viewset de los talleres, aqui el codigo:

Models.py:

#modelo para empresas class Enterprise(models.Model):    nit = models.CharField(db_column='NIT', primary_key=True, max_length=12)      name = models.CharField(max_length=50)    type = models.CharField(max_length=8)     def __str__(self):       return self.name     class Meta:       db_table = 'enterprise'  #modelo para talleres class Workship(models.Model):    idworkship = models.AutoField(primary_key=True)    name = models.CharField(max_length=128)    description = models.TextField()    type_service = models.CharField(db_column='type_Service', max_length=45)      stars = models.PositiveIntegerField(default=0)    votes = models.PositiveIntegerField(default=0)    email = models.CharField(max_length=254)    field_bahias_quant = models.PositiveIntegerField(db_column='_bahias_quant')    #clave foránea a Enterprise    enterprise_nit = models.ForeignKey(Enterprise, models.DO_NOTHING, db_column='enterprise_NIT')      def __str__(self):     return self.name     class Meta:       db_table = 'workship'       unique_together = (('idworkship', 'enterprise_nit'),) 

Serializers.py:

class EnterpriseSerializer(serializers.HyperlinkedModelSerializer):      class Meta:        model = models.Enterprise        fields = ('nit', 'name', 'type',)  class WorkshipSerializer(serializers.HyperlinkedModelSerializer):      class Meta:        model = models.Workship        fields = ('name','ubication', 'description', 'type_service', 'stars', 'votes', 'email' , 'field_bahias_quant', 'enterprise_nit',) 

views.py:

class EnterpriseViewSet(viewsets.ModelViewSet):    queryset = models.Enterprise.objects.all()    serializer_class= serializers.EnterpriseSerializer  class WorkshipViewSet(viewsets.ModelViewSet):    queryset = models.Workship.objects.all()    serializer_class = serializers.WorkshipSerializer 

urls.py:

router = routers.DefaultRouter() router.register('Enterprise', views.EnterpriseViewSet, base_name = 'Enterprise') router.register('Workship', views.WorkshipViewSet, base_name = 'Workship') urlpatterns = [    path('admin/', admin.site.urls),    path('', include(router.urls)),    path('api-auth/', include('rest_framework.urls', namespace='rest_framework')) ] 

## Could anyone prove why O(n^(log n)) < O((log n)^n)?

Could someone provide a rigorous proof of why $$O(n^{log n}) \leq O((\log n)^n)$$ is true? I’m trying to do this by induction but it isn’t working. Thanks.