How can you use Primary Contact for early access to feats or prestige classes?

Cityscape includes a feat, Primary Contact, that includes as a benefit

Choose one skill associated with the organization to which your contact belongs. You gain 1 bonus rank in that skill (even if doing so would put you above your normal maximum ranks for that skill).

This is the only effect in the entire game that directly and explicitly allows your skill ranks to exceed your normal maximum.1 That means, in theory, you can take a feat or enter a prestige class a level sooner than you otherwise could, if the only thing blocking you from that feat or prestige class was a certain number of ranks in one skill.

There’s just one problem: it’s only 1 rank, and it doesn’t permanently increase your maximum in that skill, so you only have greater-than-normal ranks for the level you take the feat. That means you can’t take advantage of it to select a particular feat unless you get Primary Contact the same level you want to take the target feat, nor can you use it to enter a prestige class early unless you gain Primary Contact exactly one level before entering the prestige class.

Since you don’t naturally get two feats in a level, and most prestige classes require 8 ranks and therefore you want to gain Primary Contact at 4th when no feat is available, you need to gain Primary Contact as a bonus feat. But nothing I can find lists Primary Contact as an available bonus feat.

So then, how can you gain Primary Contact when you need it, before 5th level, so that you can gain early access to a feat or prestige class? Note that, while a common houserule, officially you do not automatically get to choose a different feat when you gain a bonus feat you already have.

Anything that abuses bonus HD and/or psychic reformation, retraining, DCFS, or similar is out, since if we were going that far we could just skip Primary Contact altogether.

  1. Every other approach involves bonus HD (e.g. from inspire greatness) to increase your maximum, and then some way of assigning new skill points during that effect (e.g. psychic reformation, undead or warforged bard to ensure inspire greatness is always in effect so you level up under it, etc.). This is RAW-legal, but extremely dubious in my opinion.

Primary submodules over almost Dedekind domains

An integral domain $ R$ is an almost Dedekind domain if for each maximal ideal $ m$ of $ R$ , the ring $ R_m$ is a Dedekind domain, where $ R_m$ is the localization of $ R$ at $ m$ .

Question: Let $ M$ be an $ R$ -module, where $ R$ is an almost Dedekind domain and let $ m$ be a maximal ideal of $ R$ and there exists $ x\in M$ such that $ m$ is a minimal prime ideal over $ Ann_R(x)$ , where $ Ann_R(x):=\{r\in R\mid rx=0_M\}$ . How can we construct an $ m$ -primary submodule of $ M$ ?

Setting up Secondary server to take over Primary Server when fail

I have this problem and searched but no answer. My primary server is Windows Server 2008 R2 Standard edition. My secondary server is Windows Server 2012 R2 Standard edition(Sitting there doing nothing now). What i want to attain is to use my Win2012R2 as a failover server to take over if my Primary Win2008R2 fail for whatever reason. Mainly targeting for Internet, as all the computers’ DNS Server is to my Primary Server IP, Active Directory service and Access DB is in the Primary server. So looking for a secondary server and totally do the job if the primary server fail.

когда делаю migrations выдаёт ошибку: The entity type ‘Person’ requires a primary key to be defined

когда делаю migrations выдаёт ошибку: The entity type ‘Person’ requires a primary key to be defined.

public class Person {     public int CustomerID { get; set; }     public string FirstName { get; set; }     public string LastName { get; set; }     public int Order_Product { get; set; } }  public class Information {     public int OrderID { get; set; }     public int CustomerID { get; set; }     public string Title { get; set; }     public byte[] Photo { get; set; }     public string Text { get; set; } }  using Microsoft.EntityFrameworkCore;  public class VideoGamesDatabaseContext : DbContext {     public DbSet<Person> Persons {get; set;}     public DbSet<Information> Informations {get; set;}      protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)     {         optionsBuilder.UseSqlServer("Server=localhost,2727; Database=Persons; User=sa; Password=Pa$  $  word1");     } } 

Two primary keys solution in Python Django

I have created a class in my models.py in Django. I first created the user primary key but I now also want to add the id primary but gives me an error that I can’t have two primary keys. I don’t want to mess up anything, I’d highly appreciate anyone’s help!

Models.py

from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from datetime import datetime from django.db import models  # Create your models here. class UserProfile(models.Model):     user=models.OneToOneField(User,on_delete=None,primary_key=True)     id = models.CharField(max_length=100, primary_key=True)     description =models.TextField()     criminal_record=models.TextField(default="")     sex=models.CharField(max_length=20,default="")     city=models.CharField(max_length=20,default="")     employment=models.CharField(max_length=50,default="")     designation=models.CharField(max_length=200,default="")     district=models.CharField(max_length=100,default="")     phone=models.IntegerField(default=0)     head_shot=models.ImageField(upload_to='profile_images',blank=True)     recorded_at = models.DateTimeField(default=datetime.now, blank=True)     signature=models.FileField(upload_to='signature_images',blank=True)      class Meta:         ordering = ["user"]      def __str__(self):         return self.user.username  def create_profile(sender,**kwargs):     if kwargs['created']:       user_profile=UserProfile.objects.get_or_create(user=kwargs['instance'])  post_save.connect(create_profile,sender=User) 

Multiple Database Records with Same Primary Key

I need to store relationships where a single attribute_id may be visible in multiple store_id and I was trying to use attribute_id as the primary key. It would be something like this:

+--------------+----------+ | attribute_id | store_id | +--------------+----------+ | 147          | 1        | | 147          | 2        | +--------------+----------+ 

But Magento doesn’t see that with good eyes as it returns the exception Item (foo) with the same ID "x" already exists.

What is the best solution for that problem?