text:
package ua.com.fielden.platform.web.test.server;

import static java.lang.String.format;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Currency;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.SortedSet;

import org.apache.log4j.Logger;
import org.apache.log4j.xml.DOMConfigurator;
import org.codehaus.jackson.map.ObjectMapper;
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.H2Dialect;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;

import fielden.test_app.close_leave.TgCloseLeaveExample;
import ua.com.fielden.platform.algorithm.search.ISearchAlgorithm;
import ua.com.fielden.platform.algorithm.search.bfs.BreadthFirstSearch;
import ua.com.fielden.platform.devdb_support.DomainDrivenDataPopulation;
import ua.com.fielden.platform.devdb_support.SecurityTokenAssociator;
import ua.com.fielden.platform.entity.AbstractEntity;
import ua.com.fielden.platform.entity.meta.PropertyDescriptor;
import ua.com.fielden.platform.persistence.HibernateUtil;
import ua.com.fielden.platform.sample.domain.ITgPerson;
import ua.com.fielden.platform.sample.domain.TgCollectionalSerialisationChild;
import ua.com.fielden.platform.sample.domain.TgCollectionalSerialisationParent;
import ua.com.fielden.platform.sample.domain.TgCoordinate;
import ua.com.fielden.platform.sample.domain.TgEntityForColourMaster;
import ua.com.fielden.platform.sample.domain.TgEntityWithPropertyDependency;
import ua.com.fielden.platform.sample.domain.TgEntityWithPropertyDescriptor;
import ua.com.fielden.platform.sample.domain.TgEntityWithTimeZoneDates;
import ua.com.fielden.platform.sample.domain.TgFetchProviderTestEntity;
import ua.com.fielden.platform.sample.domain.TgFuelType;
import ua.com.fielden.platform.sample.domain.TgFuelUsage;
import ua.com.fielden.platform.sample.domain.TgGeneratedEntity;
import ua.com.fielden.platform.sample.domain.TgMachine;
import ua.com.fielden.platform.sample.domain.TgMessage;
import ua.com.fielden.platform.sample.domain.TgOrgUnit;
import ua.com.fielden.platform.sample.domain.TgOrgUnit1;
import ua.com.fielden.platform.sample.domain.TgOrgUnit2;
import ua.com.fielden.platform.sample.domain.TgOrgUnit3;
import ua.com.fielden.platform.sample.domain.TgOrgUnit4;
import ua.com.fielden.platform.sample.domain.TgOrgUnit5;
import ua.com.fielden.platform.sample.domain.TgPersistentCompositeEntity;
import ua.com.fielden.platform.sample.domain.TgPersistentEntityWithProperties;
import ua.com.fielden.platform.sample.domain.TgPersistentStatus;
import ua.com.fielden.platform.sample.domain.TgPerson;
import ua.com.fielden.platform.sample.domain.TgPolygon;
import ua.com.fielden.platform.sample.domain.TgVehicle;
import ua.com.fielden.platform.sample.domain.TgVehicleFinDetails;
import ua.com.fielden.platform.sample.domain.TgVehicleMake;
import ua.com.fielden.platform.sample.domain.TgVehicleModel;
import ua.com.fielden.platform.sample.domain.compound.TgCompoundEntity;
import ua.com.fielden.platform.sample.domain.compound.TgCompoundEntityChild;
import ua.com.fielden.platform.security.ISecurityToken;
import ua.com.fielden.platform.security.provider.ISecurityTokenProvider;
import ua.com.fielden.platform.security.provider.SecurityTokenNode;
import ua.com.fielden.platform.security.user.IUser;
import ua.com.fielden.platform.security.user.IUserProvider;
import ua.com.fielden.platform.security.user.SecurityRoleAssociation;
import ua.com.fielden.platform.security.user.User;
import ua.com.fielden.platform.security.user.UserAndRoleAssociation;
import ua.com.fielden.platform.security.user.UserRole;
import ua.com.fielden.platform.test.IDomainDrivenTestCaseConfiguration;
import ua.com.fielden.platform.types.Colour;
import ua.com.fielden.platform.types.Hyperlink;
import ua.com.fielden.platform.types.Money;
import ua.com.fielden.platform.utils.DbUtils;
import ua.com.fielden.platform.web.test.config.ApplicationDomain;

/**
 * This is a convenience class for (re-)creation of the development database and its population for Web UI Testing Server.
 *
 * It contains the main method and can be executed whenever the target database needs to be (re-)set.
 *

 *
 * IMPORTANT: One should be careful not to run this code against the deployment or production databases, which would lead to the loss of all data.
 *
 *

 *
 * @author TG Team
 *
 */
public class PopulateDb extends DomainDrivenDataPopulation {
    private static final Logger LOGGER = Logger.getLogger(PopulateDb.class);

    private final ApplicationDomain applicationDomainProvider = new ApplicationDomain();

    private PopulateDb(final IDomainDrivenTestCaseConfiguration config, final Properties props) {
        super(config, props);
    }

    public static void main(final String[] args) throws Exception {
        LOGGER.info("Initialising...");
        final String configFileName = args.length == 1 ? args[0] : "src/main/resources/application.properties";
        final Properties props = new Properties();
        try (final FileInputStream in = new FileInputStream(configFileName)) {
            props.load(in);
        }

        DOMConfigurator.configure(props.getProperty("log4j"));

        LOGGER.info("Obtaining Hibernate dialect...");
        final Class<?> dialectType = Class.forName(props.getProperty("hibernate.dialect"));
        final Dialect dialect = (Dialect) dialectType.newInstance();
        LOGGER.info(format("Running with dialect %s...", dialect));
        final DataPopulationConfig config = new DataPopulationConfig(props);
        LOGGER.info("Generating DDL and running it against the target DB...");

        // use TG DDL generation or
        // Hibernate DDL generation final List<String> createDdl = DbUtils.generateSchemaByHibernate()
        final List<String> createDdl = config.getDomainMetadata().generateDatabaseDdl(dialect);
        final List<String> ddl = dialect instanceof H2Dialect ?
                                 DbUtils.prependDropDdlForH2(createDdl) :
                                 DbUtils.prependDropDdlForSqlServer(createDdl);
        DbUtils.execSql(ddl, config.getInstance(HibernateUtil.class).getSessionFactory().getCurrentSession());

        final PopulateDb popDb = new PopulateDb(config, props);
        popDb.populateDomain();
    }

    @Override
    protected void populateDomain() {
        LOGGER.info("Creating and populating the development database...");

        // VIRTUAL_USER is a virtual user (cannot be persisted) and has full access to all security tokens
        // It should always be used as the current user for data population activities
        final IUser coUser = co$(User.class);
        final User u = new_(User.class, User.system_users.VIRTUAL_USER.name()).setBase(true);
        final IUserProvider up = getInstance(IUserProvider.class);
        up.setUser(u);

        final User _su = coUser.save(new_(User.class, User.system_users.SU.name()).setBase(true).setEmail("SU@demoapp.com").setActive(true));
        final User su = coUser.resetPasswd(_su, _su.getKey()).getKey();
        final User _demo = co$(User.class).save(new_(User.class, "DEMO").setBasedOnUser(su).setEmail("DEMO@demoapp.com").setActive(true));
        final User demo = coUser.resetPasswd(_demo, _demo.getKey()).getKey();

        final ITgPerson aoPerson = (ITgPerson) co$(TgPerson.class);
        aoPerson.populateNew("Super", "User", "Super User", User.system_users.SU.name());

        final UserRole admin = save(new_(UserRole.class, "ADMINISTRATION", "A role, which has a full access to the the system and should be used only for users who need administrative previligies.").setActive(true));
        save(new_composite(UserAndRoleAssociation.class, su, admin));

        LOGGER.info("\tPopulate testing entities...");
        final TgPersistentEntityWithProperties ent1 = save(new_(TgPersistentEntityWithProperties.class, "KEY1").setIntegerProp(43).setRequiredValidatedProp(30)
                .setDesc("Description for entity with key 1. This is a relatively long description to demonstrate how well does is behave during value autocompletion."));
        final TgPersistentEntityWithProperties ent2 = save(new_(TgPersistentEntityWithProperties.class, "KEY2").setIntegerProp(14).setDesc("Description for entity with key 2.").setRequiredValidatedProp(30));
        final TgPersistentEntityWithProperties ent3 = save(new_(TgPersistentEntityWithProperties.class, "KEY3").setIntegerProp(15).setDesc("Description for entity with key 3.").setRequiredValidatedProp(30));
        save(ent2.setEntityProp(ent3));
        save(new_(TgPersistentEntityWithProperties.class, "KEY4").setIntegerProp(63).setMoneyProp(new Money("23.0", Currency.getInstance("USD"))).setDesc("Description for entity with key 4.").setRequiredValidatedProp(30));
        save(new_(TgPersistentEntityWithProperties.class, "KEY5").setBigDecimalProp(new BigDecimal(23.0)).setDesc("Description for entity with key 5.").setRequiredValidatedProp(30));
        save(new_(TgPersistentEntityWithProperties.class, "KEY6").setIntegerProp(61).setStringProp("ok").setDesc("Description for entity with key 6.").setRequiredValidatedProp(30));
        save(new_(TgPersistentEntityWithProperties.class, "KEY7").setBooleanProp(true).setDesc("Description for entity with key 7.").setRequiredValidatedProp(30));
        save(new_(TgPersistentEntityWithProperties.class, "KEY8").setDateProp(new DateTime(3609999L).toDate()).setDesc("Description for entity with key 8.").setRequiredValidatedProp(30));
        final TgPersistentEntityWithProperties de = new_(TgPersistentEntityWithProperties.class, "DEFAULT_KEY")
                // please note that proxies are not created for 'null' entity properties and regular (date, string..) properties!
                // .setProducerInitProp(ent1)
                .setIntegerProp(7).setMoneyProp(new Money("7.0", Currency.getInstance("USD"))).setBigDecimalProp(new BigDecimal("7.7"))
                .setStringProp("ok_def").setBooleanProp(true).setDateProp(new DateTime(7777L).toDate()).setRequiredValidatedProp(30)
                .setColourProp(Colour.RED).setHyperlinkProp(new Hyperlink("https://www.fielden.com.au"));
        de.setDesc("Default entity description");
        final TgPersistentEntityWithProperties defaultEnt = save(de);
        final TgPersistentEntityWithProperties staleEnt1 = save(new_(TgPersistentEntityWithProperties.class, "KEY10").setConflictingProp("initial").setNonConflictingProp("initial").setDesc("Description for entity with key 10.").setRequiredValidatedProp(30));
        save(staleEnt1.setConflictingProp("persistently modified").setRequiredValidatedProp(30));

        final TgPersistentCompositeEntity ce = new_composite(TgPersistentCompositeEntity.class, defaultEnt, 10);
        ce.setDesc("Default composite entity description as a long text to demonstrate proper word wrapping as part of displaying the autocompleted values.");
        final TgPersistentCompositeEntity compositeEnt1 = save(ce);

        final TgPersistentEntityWithProperties exampleEntToBeSaved = new_(TgPersistentEntityWithProperties.class, "KEY11").setStringProp("ok").setIntegerProp(43).setEntityProp(defaultEnt).setBigDecimalProp(new BigDecimal(23).setScale(5)).setDateProp(new DateTime(960000L).toDate()).setBooleanProp(true).setCompositeProp(compositeEnt1).setDesc("Description for entity with key 11.").setRequiredValidatedProp(30);
        final TgPersistentEntityWithProperties exampleEnt1 = save(exampleEntToBeSaved);

        save(new_(TgFetchProviderTestEntity.class, "FETCH1").setProperty(exampleEnt1).setAdditionalProperty(su));

        LOGGER.info("\tPopulate demo entities...");
        createDemoDomain(ent1, ent3, compositeEnt1);

        final TgEntityForColourMaster colourEntity = new_(TgEntityForColourMaster.class, "KEY12").setStringProp("ok").setBooleanProp(true).setColourProp(new Colour("aaacdc"));
        save(colourEntity);
        save(new_(TgEntityWithPropertyDependency.class, "KEY1").setProperty("IS").setCritOnlySingleProp(new Date()));
        save(new_composite(UserAndRoleAssociation.class, demo, admin));

        final UserRole stationMgr = save(new_(UserRole.class, "STATION_MGR", "A role, which has access to the the station managing functionality."));
        save(new_composite(UserAndRoleAssociation.class, su, stationMgr));
        save(new_(UserRole.class, "TEST_ROLE1", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE2", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE3", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE4", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE5", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE6", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE7", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE8", "A role, which has access to the the station managing functionality."));
        save(new_(UserRole.class, "TEST_ROLE9", "A role, which has access to the the station managing functionality."));

        final TgCollectionalSerialisationParent csp1 = save(new_(TgCollectionalSerialisationParent.class, "CSP1").setDesc("desc1"));
        save(new_composite(TgCollectionalSerialisationChild.class, csp1, "1").setDesc("desc1"));

        final TgEntityWithPropertyDescriptor ewpd1 = save(new_(TgEntityWithPropertyDescriptor.class, "KEY1").setPropertyDescriptor(new PropertyDescriptor<>(TgPersistentEntityWithProperties.class, "integerProp"))); // has children -- to be used for collectional crit-only multi criteria
        final TgEntityWithPropertyDescriptor ewpd2 = save(new_(TgEntityWithPropertyDescriptor.class, "KEY2").setParent(ewpd1)); // has children -- to be used for collectional crit-only multi criteria
        save(new_(TgEntityWithPropertyDescriptor.class, "KEY3").setPropertyDescriptor(new PropertyDescriptor<>(TgPersistentEntityWithProperties.class, "integerProp")).setParent(ewpd1));
        save(new_(TgEntityWithPropertyDescriptor.class, "KEY4").setPropertyDescriptor(new PropertyDescriptor<>(TgPersistentEntityWithProperties.class, "bigDecimalProp")));
        save(new_(TgEntityWithPropertyDescriptor.class, "KEY5").setPropertyDescriptor(new PropertyDescriptor<>(TgPersistentEntityWithProperties.class, "entityProp")).setParent(ewpd2));
        save(new_(TgEntityWithPropertyDescriptor.class, "KEY6").setPropertyDescriptor(new PropertyDescriptor<>(TgPersistentEntityWithProperties.class, "stringProp")).setParent(ewpd2));
        save(new_(TgEntityWithPropertyDescriptor.class, "KEY7").setPropertyDescriptor(new PropertyDescriptor<>(TgPersistentEntityWithProperties.class, "booleanProp")).setParent(ewpd2));
        save(new_(TgEntityWithPropertyDescriptor.class, "KEY8").setPropertyDescriptor(new PropertyDescriptor<>(TgPersistentEntityWithProperties.class, "dateProp")));

        save(new_(TgEntityWithTimeZoneDates.class, "KEY1").setDatePropUtc(new Date(3609999)));
        save(new_(TgEntityWithTimeZoneDates.class, "KEY2").setDatePropUtc(new Date(1473057180015L)));
        save(new_(TgEntityWithTimeZoneDates.class, "KEY3").setDatePropUtc(new Date(1473057204015L)));
        save(new_(TgEntityWithTimeZoneDates.class, "KEY4").setDatePropUtc(new Date(1473057204000L)));
        save(new_(TgEntityWithTimeZoneDates.class, "KEY5").setDatePropUtc(new Date(1473057180000L)));

        save(new_(TgGeneratedEntity.class).setEntityKey("KEY1").setCreatedBy(su));

        final TgPersistentEntityWithProperties filteredEntity = save(new_(TgPersistentEntityWithProperties.class, "FILTERED").setIntegerProp(43).setRequiredValidatedProp(30).setDesc("Description for filtered entity.").setStatus(co$(TgPersistentStatus.class).findByKey("DR")));
        save(defaultEnt.setEntityProp(filteredEntity));

        save(new_(TgCloseLeaveExample.class, "KEY1").setDesc("desc 1"));
        save(new_(TgCloseLeaveExample.class, "KEY2").setDesc("desc 2"));
        save(new_(TgCloseLeaveExample.class, "KEY3").setDesc("desc 3"));
        save(new_(TgCloseLeaveExample.class, "KEY4").setDesc("desc 4"));
        save(new_(TgCloseLeaveExample.class, "KEY5").setDesc("desc 5"));

        save(new_(TgCompoundEntity.class, "KEY1").setActive(true).setDesc("desc 1"));
        save(new_(TgCompoundEntity.class, "KEY2").setActive(true).setDesc("desc 2"));
        save(new_(TgCompoundEntity.class, "KEY3").setActive(true).setDesc("desc 3"));
        save(new_(TgCompoundEntity.class, "KEY4").setActive(true).setDesc("desc 4"));
        save(new_(TgCompoundEntity.class, "KEY5").setActive(true).setDesc("desc 5"));

        save(new_(TgCompoundEntity.class, "FILTERED1").setActive(true).setDesc("Description for filtered TgCompoundEntity entity."));
        final TgCompoundEntity filteredEntity2 = save(new_(TgCompoundEntity.class, "FILTERED2").setActive(true).setDesc("Description for TgCompoundEntity entity, for which TgCompoundEntityDetail is filtered."));
        save(new_composite(TgCompoundEntityChild.class, filteredEntity2, new Date()).setDesc("Description for filtered TgCompoundEntityChild entity."));

        LOGGER.info("\tPopulating messages...");
        final Map<String, TgMachine> machines = new HashMap<>();
        try {
            final ClassLoader classLoader = getClass().getClassLoader();
            final File file = new File(classLoader.getResource("gis/messageEntities.js").getFile());
            final InputStream stream = new FileInputStream(file);
            final ObjectMapper objectMapper = new ObjectMapper();
            final ArrayList oldMessageEntities = objectMapper.readValue(stream, ArrayList.class);

            for (final Object oldMessageEntity: oldMessageEntities) {
                final Map<String, Object> map = (Map<String, Object>) oldMessageEntity;
                final Map<String, Object> messageProps = ((Map<String, Object>) map.get("properties"));
                final String machineKey = (String) ((Map<String, Object>) ((Map<String, Object>) messageProps.get("machine")).get("properties")).get("key");
                TgMachine found = machines.get(machineKey);
                if (found == null) {
                    final TgMachine newMachine = new_(TgMachine.class, machineKey);
                    newMachine.setDesc(machineKey + " desc");
                    found = save(newMachine);
                    machines.put(machineKey, found);
                }
                save(new_composite(TgMessage.class, found, DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSS").parseDateTime(((String) messageProps.get("gpsTime"))).toDate())
                        .setX(BigDecimal.valueOf((double) messageProps.get("x")))
                        .setY(BigDecimal.valueOf((double) messageProps.get("y")))
                        .setVectorAngle((int) messageProps.get("vectorAngle"))
                        .setVectorSpeed((int) messageProps.get("vectorSpeed"))
                        // .setAltitude(223)
                        // .setVisibleSattelites(2)
                        .setDin1((boolean) messageProps.get("din1"))
                        .setGpsPower((boolean) messageProps.get("gpsPower"))
                        .setTravelledDistance(BigDecimal.valueOf((double) messageProps.get("travelledDistance")))
                );
            }
        } catch (final IOException ex) {
            throw new IllegalStateException(ex);
        }

        LOGGER.info("\tPopulating machines...");
        try {
            final ClassLoader classLoader = getClass().getClassLoader();
            final File file = new File(classLoader.getResource("gis/realtimeMonitorEntities.js").getFile());
            final InputStream stream = new FileInputStream(file);
            final ObjectMapper objectMapper = new ObjectMapper();
            final ArrayList oldMachineEntities = objectMapper.readValue(stream, ArrayList.class);

            final Map<String, TgOrgUnit> orgUnits = new HashMap<>();
            for (final Object oldMachineEntity: oldMachineEntities) {
                final Map<String, Object> map = (Map<String, Object>) oldMachineEntity;
                final Map<String, Object> machineProps = ((Map<String, Object>) map.get("properties"));
                final String machineKey = (String) machineProps.get("key");
                TgMachine found = machines.get(machineKey);
                if (found == null) {
                    final TgMachine newMachine = new_(TgMachine.class, machineKey);
                    newMachine.setDesc((String) machineProps.get("desc"));
                    final Object orgUnitObject = machineProps.get("orgUnit");
                    if (orgUnitObject != null) {
                        final String orgUnitKey = (String) ((Map<String, Object>) ((Map<String, Object>) orgUnitObject).get("properties")).get("key");
                        TgOrgUnit foundOrgUnit = orgUnits.get(orgUnitKey);
                        if (foundOrgUnit == null) {
                            final TgOrgUnit newOrgUnit = new_(TgOrgUnit.class, orgUnitKey);
                            newOrgUnit.setDesc((String) ((Map<String, Object>) ((Map<String, Object>) machineProps.get("orgUnit")).get("properties")).get("desc"));
                            foundOrgUnit = save(newOrgUnit);
                            orgUnits.put(orgUnitKey, foundOrgUnit);
                        }
                        newMachine.setOrgUnit(foundOrgUnit);
                    }
                    found = save(newMachine);
                    machines.put(machineKey, found);
                }
                final Object lastMessageObject = machineProps.get("lastMessage");
                if (lastMessageObject != null) {
                    final Map<String, Object> lastMessageProps = (Map<String, Object>) ((Map<String, Object>) lastMessageObject).get("properties");

                    save(new_composite(TgMessage.class, found, DateTimeFormat.forPattern("yyyy-MM-dd HH:mm:ss.SSS").parseDateTime(((String) lastMessageProps.get("gpsTime"))).toDate())
                            .setX(BigDecimal.valueOf((double) lastMessageProps.get("x")))
                            .setY(BigDecimal.valueOf((double) lastMessageProps.get("y")))
                            .setVectorAngle((int) lastMessageProps.get("vectorAngle"))
                            .setVectorSpeed((int) lastMessageProps.get("vectorSpeed"))
                            // .setAltitude(223)
                            // .setVisibleSattelites(2)
                            .setDin1((boolean) lastMessageProps.get("din1"))
                            .setGpsPower((boolean) lastMessageProps.get("gpsPower"))
                            .setTravelledDistance(BigDecimal.valueOf(15.5)) // lastMessageProps.get("travelledDistance")
                    );
                }
            }
        } catch (final IOException ex) {
            throw new IllegalStateException(ex);
        }

        LOGGER.info("\tPopulating geozones...");
        try {
            final ClassLoader classLoader = getClass().getClassLoader();
            final File file = new File(classLoader.getResource("gis/polygonEntities.js").getFile());
            final InputStream stream = new FileInputStream(file);
            final ObjectMapper objectMapper = new ObjectMapper();
            final ArrayList oldPolygonEntities = objectMapper.readValue(stream, ArrayList.class);

            final Map<String, TgPolygon> polygons = new HashMap<>();
            for (final Object oldPolygonEntity: oldPolygonEntities) {
                final Map<String, Object> map = (Map<String, Object>) oldPolygonEntity;
                final Map<String, Object> polygonProps = ((Map<String, Object>) map.get("properties"));
                final String polygonKey = (String) polygonProps.get("key");
                TgPolygon found = polygons.get(polygonKey);
                if (found == null) {
                    final TgPolygon newPolygon = new_(TgPolygon.class, polygonKey);
                    newPolygon.setDesc((String) polygonProps.get("desc"));
                    found = save(newPolygon);
                    polygons.put(polygonKey, found);
                }

                final ArrayList<Object> coordinates = (ArrayList<Object>) polygonProps.get("coordinates");
                for (final Object coord: coordinates) {
                    final Map<String, Object> coordProps = ((Map<String, Object>) ((Map<String, Object>) coord).get("properties"));
                    save(new_composite(TgCoordinate.class, found, (Integer) coordProps.get("order"))
                            .setLongitude(BigDecimal.valueOf((double) coordProps.get("longitude")))
                            .setLatitude(BigDecimal.valueOf((double) coordProps.get("latitude")))
                    );
                }
            }
        } catch (final IOException ex) {
            throw new IllegalStateException(ex);
        }

        final User _demo2 = co$(User.class).save(new_(User.class, "DEMO2").setBasedOnUser(su).setEmail("DEMO2@demoapp.com").setActive(true));
        final User demo2 = coUser.resetPasswd(_demo2, _demo2.getKey()).getKey();
        save(new_composite(UserAndRoleAssociation.class, demo2, admin));

        LOGGER.info("\tPopulating GraphQL data...");
        populateGraphQlData();

        try {
            final ISecurityTokenProvider provider = config.getInstance(ISecurityTokenProvider.class); //  IDomainDrivenTestCaseConfiguration.hbc.getProperty("tokens.path"), IDomainDrivenTestCaseConfiguration.hbc.getProperty("tokens.package")
            final SortedSet<SecurityTokenNode> topNodes = provider.getTopLevelSecurityTokenNodes();
            final SecurityTokenAssociator predicate = new SecurityTokenAssociator(admin, co$(SecurityRoleAssociation.class));
            final ISearchAlgorithm<Class<? extends ISecurityToken>, SecurityTokenNode> alg = new BreadthFirstSearch<>();
            for (final SecurityTokenNode securityNode : topNodes) {
                alg.search(securityNode, predicate);
            }

            LOGGER.info("Completed database creation and population.");
        } catch (final Exception e) {
            throw new IllegalStateException(e);
        }
    }

    private void populateGraphQlData() {
        final TgFuelType unleadedFuelType = save(new_(TgFuelType.class, "U", "Unleaded"));
        final TgFuelType petrolFuelType = save(new_(TgFuelType.class, "P", "Petrol"));

        final TgOrgUnit1 orgUnit1 = save(new_(TgOrgUnit1.class, "orgunit1", "desc orgunit1"));
        final TgOrgUnit2 orgUnit2 = save(new_composite(TgOrgUnit2.class, orgUnit1, "orgunit2"));
        final TgOrgUnit3 orgUnit3 = save(new_composite(TgOrgUnit3.class, orgUnit2, "orgunit3"));
        final TgOrgUnit4 orgUnit4 = save(new_composite(TgOrgUnit4.class, orgUnit3, "orgunit4"));
        final TgOrgUnit5 orgUnit5 = save(new_composite(TgOrgUnit5.class, orgUnit4, "orgunit5").setFuelType(petrolFuelType));

        final TgVehicleMake merc = save(new_(TgVehicleMake.class, "MERC", "Mercedes"));
        final TgVehicleMake audi = save(new_(TgVehicleMake.class, "AUDI", "Audi"));
        final TgVehicleMake bmw = save(new_(TgVehicleMake.class, "BMW", "BMW"));
        save(new_(TgVehicleMake.class, "SUBARO", "Subaro"));

        final TgVehicleModel m316 = save(new_(TgVehicleModel.class, "316", "316").setMake(merc));
        save(new_(TgVehicleModel.class, "317", "317").setMake(audi));
        final TgVehicleModel m318 = save(new_(TgVehicleModel.class, "318", "318").setMake(audi));
        save(new_(TgVehicleModel.class, "319", "319").setMake(bmw));
        save(new_(TgVehicleModel.class, "320", "320").setMake(bmw));
        save(new_(TgVehicleModel.class, "321", "321").setMake(bmw));
        save(new_(TgVehicleModel.class, "322", "322").setMake(bmw));

        final TgVehicle car2 = save(new_(TgVehicle.class, "CAR2", "CAR2 DESC").
                setInitDate(date("2007-01-01 00:00:00")).
                setModel(m316).
                setPrice(new Money("200")).
                setPurchasePrice(new Money("100")).
                setActive(false).
                setLeased(true).
                setLastMeterReading(new BigDecimal("105")).
                setStation(orgUnit5));
        final TgVehicle car1 = save(new_(TgVehicle.class, "CAR1", "CAR1 DESC").
                setInitDate(date("2001-01-01 00:00:00")).
                setModel(m318).setPrice(new Money("20")).
                setPurchasePrice(new Money("10")).
                setActive(true).
                setLeased(false).
                setReplacedBy(car2));
        save(new_(TgVehicleFinDetails.class, car1).setCapitalWorksNo("CAP_NO1"));

        save(new_composite(TgFuelUsage.class, car2, date("2006-02-09 00:00:00")).setQty(new BigDecimal("100")).setFuelType(unleadedFuelType));
        save(new_composite(TgFuelUsage.class, car2, date("2008-02-10 00:00:00")).setQty(new BigDecimal("120")).setFuelType(petrolFuelType));
    }

    /**
     * Creates 30-ty entities to be able to demonstrate (with populated statuses).
     */
    private void createDemoDomain(final TgPersistentEntityWithProperties ent1, final TgPersistentEntityWithProperties ent2, final TgPersistentCompositeEntity compEnt1) {
        final TgPersistentStatus dr = (TgPersistentStatus) save(new_(TgPersistentStatus.class, "DR").setDesc("Defect Radio"));
        final TgPersistentStatus is = (TgPersistentStatus) save(new_(TgPersistentStatus.class, "IS").setDesc("In Service"));
        final TgPersistentStatus ir = (TgPersistentStatus) save(new_(TgPersistentStatus.class, "IR").setDesc("In Repair"));
        final TgPersistentStatus on = (TgPersistentStatus) save(new_(TgPersistentStatus.class, "ON").setDesc("On Road Defect Station"));
        final TgPersistentStatus sr = (TgPersistentStatus) save(new_(TgPersistentStatus.class, "SR").setDesc("Defect Smash Repair"));

        for (int i = 0; i < 30; i++) {
            save(new_(TgPersistentEntityWithProperties.class, "DEMO" + convert(i))
                    .setStringProp(random("poor", "average", "good", "great", "superb", "excelent", "classic").toUpperCase())
                    .setIntegerProp(random(43, 67, 24, 35, 18, 99, 23))
                    .setEntityProp(random(ent1, null, ent2))
                    .setBigDecimalProp(random(new BigDecimal(23).setScale(5), new BigDecimal(4).setScale(5), new BigDecimal(99).setScale(5)))
                    .setDateProp(new DateTime(random(1000000000000L, 1100000000000L)).toDate())
                    .setBooleanProp(random(true, false))
                    .setCompositeProp(random(compEnt1, null))
                    .setDesc("Description for demo entity with key " + ("DEMO" + convert(i)) + ".")
                    .setRequiredValidatedProp(random(30, 56, 82))
                    .setStatus(random(dr, is, ir, on, sr)));
        }
    }

    private <T> T random(final T... values) {
        return values[(int) Math.round(Math.random() * (values.length - 1))];
    }

    private String convert(final int i) {
        return i < 10 ? ("0" + i) : "" + i;
    }

    @Override
    protected List<Class<? extends AbstractEntity<?>>> domainEntityTypes() {
        return applicationDomainProvider.entityTypes();
    }

}

redpajama_set_name: RedPajamaGithub


The month of April will see many changes. Because of Jupiters position, world peace will be achieved, all beings will become free of fear, aging, and disease, the environment will totally regenerate, and from now on, only really good movies will be produced. April fool!
April 1st is also new Moon. This months new Moon is in the sign of Pisces, with the Sun, of course, as well as Mercury occupying that sign. As we look to the new Moon as a signal of beginnings, lets examine the effects of initiating new ventures at this time. Jupiter rules the watery sign of Pisces. Expansive Jupiter, ruler of religion, philosophy, grace, joy and teaching rules two mutable signs: the fire sign Sagittarius and the water sign Pisces. Jupiter has been enjoying a nice placement in the sign of Cancer, his sign of exaltation, since July. From his seat in Cancer, Jupiter casts aspect onto the signs of Scorpio, Capricorn, and Pisces. It is auspicious when a planet aspects its own house, and Jupiter from Cancer throws his exalted influence onto the new Moon in Pisces.
Joyful Jupiters watery aspect becomes personified in Pisces as an amorphous, boundless understanding of the cosmic sea, but seldom with the ability to express or crystallize the essence of this great understanding. Pisces word associations are these: impressionable, nebulous, compassionate, addictive, intuitive, imaginative, dependent. Pisces allows us to expand and dissolve into the great cosmic soup, but makes it difficult for us to come back and clearly relate what we have found. In this way, it is the home of the great mystery, the elusive answer or teaching that spiritual seekers are after. Yet this eternal truth is difficult to grasp and apply to our mundane material existence. Pisces can give us understanding of suffering, but not necessarily the will to fight it; it is the home of compassion where we are able to merge with the Great Spirit of life but does not always encourage practicality or organization.
Therefore, I recommend flowing with this new Moon by allowing yourself to delve deep within or far, far away to explore your dreams. Activate your intuition in projects started now, trust that there is a part of you that extends big enough to be a part of everything, thereby giving you a picture of how you can fit in. Jupiter rules our religious and spiritual tendencies, and his influence on this new Moon encourages us to dive into the dream. I also associate Pisces with romantic, visionary expressions through art, music, and dance. Indulge in these modalities if you feel inclined.
Aries isn't Mercury's favorite realm either, but our communication skills can flow a bit better in the fiery focus of Aries. It does give me the vision of a journalist or correspondent huddling for safety in a war zone, dodging bombs and bullets in order to tell the story of the moment and bring the news to the people in the safety of their homes. Certainly, there are many journalists at work these days in this way. As April progresses they may have a bit better of a time getting the messages through. On a personal front, we may find the part of ourselves that is in charge of organizing our mind and transforming thoughts into written or spoken messages under fire somewhat. There could be the potential of bickering and quick tempers until Mercury makes it into Taurus, which is June 9.
Mercury will stay in Aries so long because he is going to perform his regular stunt of retrograde motion beginning April 27 in the fire sign of Aries. This is Mercury's second retrograde this year, all three of which will be in fire signs. The retrograde period will last from April 27 to May 21. This phenomenon has several implications that come to mind immediately. Going back to the war correspondent vision: possibly the courageous men and women who brave the horrors of war in order to report it will actually play a stronger role in the outcome of this present conflagration by disseminating information that is pertinent to the decision making of our leaders. It could give us all the opportunity to bravely go into the dangerous and intense portions of life in order to witness and communicate what we find, adding the information that we gather to the big picture that we all need to make sense of life's complexities.
Another implication is that there could be good work done in the field of telecommunications. The combination of Mercury and Mars (ruler of Aries) energy is what brings us computers, palm pilots, cell phones, Internet and connectivity. Use the next few months to forge ahead in any area that requires both organized communication and technology. It should be a fertile time for computer programmers and war correspondents. On the other hand, Mercury retrograde could also cause glitches and problems with our technological communication, and his position in driven and fiery Aries could allow for temper tantrums over computer crashes, etc. Try to bring enough cool and calm into your life to counteract this potential. Plan for a walk by the water or a stroll in the rain to keep perspective.
There are a couple of factors to be considered that affect the facility of this lunation. First, Jupiter having such an influence on this new Moon is interesting because he is about to station direct on April 4. Jupiter has been retrograde since December 5, 2002. I feel that Jupiter's apparent backward motion through the zodiac for the past few months has lessened the good effects of Jupiter's placement in his sign of exaltation, Cancer. Stationing direct is when a planet stops in the zodiac and resumes regular motion. The planet moves very slowly on either end of this action, and is believed to have more power. With this, we could see a turning around of some aspect in our lives; there could be a renewed sense of growth.
Second, Mercury joins the Sun and Moon in Pisces for the new Moon. Mercury is debilitated in Pisces. Quick witted, articulate Mercury loses much of his power in the overwhelming, watery domain of Jupiter. This can account for unclear communication and difficulty in making short, quick exchanges of speech or information. Details get lost and messages become muddled. Remember to force your Mercurial abilities of organized thought and cheerful communication up from under the water in the hot tub before you try to use them. Otherwise, you may end up spitting water and coughing up your words. Thankfully, Mercury moves out of Pisces and into Aries on April 3.
One planet that could help quell this explosive potential is Saturn. On April 7, Saturn finally finishes his sojourn into Taurus (due to his retrograde period from mid-October through mid-February) by moving into Gemini. The slow, cold planet of restraint in Mercury's air sign could afford us a modicum of patience with the above-mentioned potentials. One of Saturn's favorite lessons is detachment, and it may serve us to step back immediately from frustrating circumstances so that we may keep the bigger picture in mind. In addition, Saturn will have some dominion over active, powerful, warlike Mars as Mars moves from Jupiter's fire sign of Sagittarius to Saturn's earth sign Capricorn on April 12. That switch may help to quell any explosive, vengeance-motivated activity and bring it down to earth. Mars acts more potently in Sagittarius as he is a friend with Jupiter, but the power and drive of Mars combined with the practical, steady nature of Capricorn can also give results, hopefully of a more pragmatic nature. Although a bit limited by his placement in Capricorn, from this vantage Mars casts his intense aspect onto the Sun and Mercury in his own sign of Aries, as well as onto Jupiter in Cancer. This could mark a continuation in Mars ability to bring violence and conflict, however it may be justified to humans on a practical level.
The full Moon occurs on April 17 in the sign of Libra. Venus rules Libra, and as if in celebration, Venus herself moves from Aquarius, where shes really not too bad off, into Pisces, her sign of exaltation. Venus in Pisces to me represents the ability to relate to others through the vehicle of universal love. This placement is good for compassion, love, and beauty, which the world can always use. Both Saturn and Jupiter will aspect Venus in her new position; the balance of expansion and contraction that these two planets in tandem can represent may give lovely and understanding Venus the power to act in the worlds stage just as effectively as Mars can this month. One of Venus favorite things is getting together with friends in a beautiful environment. A celebration of this sort would be appropriate this full Moon.


text:
Justia Patents Patents Assigned to JSR Life Sciences Corporation
Patents Assigned to JSR Life Sciences Corporation
POLYMER, ANTIMICROBIAL AGENT, DISINFECTANT, ANTIMICROBIAL MATERIAL, DISINFECTANT MATERIAL, ANTIMICROBIAL METHOD, AND DISINFECTING METHOD
Abstract: Provided is a polymer having antimicrobial and disinfecting properties against a wide range of kinds of germs. A polymer, including: a polymer chain having a repeating unit represented by the following formula (1); and a partial structure (excluding the polymer chain) derived from a compound containing a group represented by —NH—. [In formula (1), R1 represents a hydrogen atom or a methyl group, Z represents a group forming an organic ammonium salt, —NR5R6 (where R5 and R6 each independently represent a hydrogen atom, or a substituted or unsubstituted hydrocarbon group), or a substituted or unsubstituted nitrogen-containing heterocyclic group, and X represents a single bond, or a divalent linking group.
Applicants: JSR CORPORATION, JAPAN AS REPRESENTED BY DIRECTOR-GENERAL OF NATIONAL INSTITUTE OF INFECTIOUS DISEASES, JSR LIFE SCIENCES CORPORATION
Inventors: Hidenori NARUSE, Atsushi ITOU, Shigeru IKAWA, Tsutomu SHIMOKAWA, Masato SUZUKI, Mari MATSUI, Satowa SUZUKI, Keigo SHIBAYAMA, Kazuhiro IKKYUU
GEL, GEL MANUFACTURING METHOD, LENS, CONTACT LENS SURFACE MODIFIER, POLYMERIZABLE COMPOSITION, AND POLYMER
Abstract: Provided is a gel that has excellent surface hydrophilicity, lubricity and antifouling property, and that is useful as, for example, a contact lens material. A gel including: a polymer a having 2.5 to 95 mass % of the following repeat unit (A), and 2.5 to 95 mass % of the following repeat unit (B), and a polymer b obtained through polymerization of a hydrophilic monomer with a crosslinking agent.
Applicants: JSR CORPORATION, JSR Life Sciences Corporation
Inventors: Satoshi HYUGAJI, Kazuhiro ISO, Kiyoshi SUDA, Naoki HAYASHI
Method for capturing target substance, solid-phase carrier for capturing target substance, and method for producing solid-phase carrier
Abstract: To provide a solid-phase carrier that has extremely low nonspecific adsorption of biological substances such as proteins, peptides, nucleic acids and cells, and is capable of maintaining the activity of bound ligands at a high level; and a method for capturing a target substance using the solid-phase carrier.
Filed: February 10, 2015
Assignees: JSR CORPORATION, JSR Life Sciences Corporation
Inventors: Hirokazu Kai, Eiji Takamoto, Kouji Tamori
Separation method, detection method, signal measurement method, method for determining disease, method for evaluating drug efficacy of disease treatment drug, kit, and liquid composition
Abstract: A method for separating a vesicle having a lipid bilayer membrane from a biological sample, includes forming a complex of a vesicle and a solid phase carrier by bringing the biological sample containing the vesicle having the lipid bilayer membrane into contact with the solid phase carrier to which a ligand for recognizing a surface antigen present on a surface of the vesicle is bound. The complex is washed. The forming is performed in the presence of a nonionic surfactant which does not comprise an aromatic group to reduce an aggregation of the complex.
Filed: November 6, 2014
Inventors: Hiroya Fujii, Motoaki Mizuuchi, Tetsuji Yamaguchi, Hiroki Abe
SEPARATION METHOD, DETECTION METHOD, SIGNAL MEASUREMENT METHOD, DISEASE DETERMINATION METHOD, DRUG EFFICACY ASSESSMENT METHOD, KIT, LIQUID COMPOSITION, AND SPECIMEN DILUENT
Abstract: Provided is a method capable of reducing non-specific adsorption onto a solid phase carrier, and capable of selectively and efficiently separating a vesicle having a lipid bilayer membrane. A method of separating a vesicle having a lipid bilayer membrane includes: a complex forming step of forming a complex of a vesicle having a lipid bilayer membrane and a solid phase carrier to which a ligand which recognizes a surface antigen present on a surface of the vesicle is bound, by bringing a biological sample containing the vesicle into contact with the solid phase carrier; and a washing step of washing the complex, in which at least any one of the complex forming step and the washing step is performed under an environment having a salt concentration of from 0.15 M to 2 M.
Inventors: Hiroki ABE, Hiroya FUJII, Kimiko UCHIDA
METHOD OF PRODUCING PROBE-BOUND CARRIER, PROBE-BOUND CARRIER AND METHOD OF DETECTING OR SEPARATING TARGET SUBSTANCE
Abstract: This invention relates to a method of producing a probe-bound carrier, a probe-bound carrier and a method of detecting or separating a target substance. The method of producing a probe-bound carrier includes: step 1 of mixing a carrier having tosyl groups and a probe; and step 2 of reducing the amount of tosyl groups on a surface of a carrier, in which a proportion of area S2 that is occupied by one tosyl group on a surface of the carrier obtained in the step 2 with respect to area S1A that is occupied by one tosyl group on a surface of the carrier used in the step 1 (S2/S1A×100%) is not less than 140%.
Filed: March 27, 2018
Applicants: JSR CORPORATION, JSR LIFE SCIENCES CORPORATION, JSR Micro, Inc., JSR Micro N.V.
Inventors: Yuuichi Ueya, Yasuhito Satou
COMPOSITION, CONTACT LENS COATING AGENT, METHOD FOR PRODUCING CONTACT LENS, AND CONTACT LENS
Abstract: The present invention relates to: a composition; a contact lens coating agent; a method of producing a contact lens; and a contact lens. The composition contains: a polymer which includes a repeating unit (A) having an HLB value of 14 or higher and a repeating unit (B) having an HLB value of 1 to less than 14; and a cationic group-containing bactericidal compound.
Inventors: Kazuhiro ISO, Satoshi HYUUGAJI
POLYMER COMPOSITION, ARTICLE, MEDICAL DEVICE, ARTICLE PRODUCTION METHOD, AND CELL CLUSTER PRODUCTION METHOD
Abstract: The present invention relates to: a polymer composition; an article; a medical device; an article production method; and a cell cluster production method. The polymer composition contains a polymer having the following repeating units (A) and (B) and is one selected from the group consisting of a medical device composition, a cell adhesion inhibitor, and a silicone substrate treatment composition: (A) a hydrophilic repeating unit; and (B) a repeating unit which has a polyoxyalkylene group in a side chain whose terminal is constituted by an alkyl group having 5 to 30 carbon atoms, an alkanoyl group having 5 to 30 carbon atoms, or an aryl group having 6 to 30 carbon atoms.
Filed: August 4, 2016
Inventor: Satoshi HYUUGAJI
AFFINITY SUPPORT AND METHOD FOR ISOLATING IMMUNOGLOBULIN
Abstract: To provide an affinity support in which a binding property of a ligand to a target substance is improved. The affinity support contains a solid phase support and a protein ligand, wherein the protein ligand is represented by formula (1): R—R1 (1) wherein R represents a linker binding to the solid phase support, which contains a polyproline, and R1 represents a protein showing an affinity to immunoglobulin, and the R is bound to a C terminal or an N terminal of an amino acid sequence in R1.
Inventors: Takashi ICHII, Satoshi NAKAMURA, Jun-ichi YASUOKA, Kaori ITAYA, Tomonori SHIOTANI
METHOD FOR PRODUCING MEDICAL DEVICE AND MEDICAL DEVICE
Abstract: A method for producing a medical device, and a medical device are provided, and the production method includes a step of heating a device together with a solution containing a polymer having the following repeating unit (A) and the following repeating unit (B), or a step of bringing a device into contact with a heated product of a solution containing a polymer having the following repeating unit (A) and the following repeating unit (B): (A) a hydrophilic repeating unit; and (B) a repeating unit having a polyoxyalkylene group in a side chain, the terminal of the side chain being composed of an alkyl group having 5 to 30 carbon atoms, an alkanoyl group having 5 to 30 carbon atoms, or an aryl group having 6 to 30 carbon atoms.
Inventors: Satoshi HYUUGAJI, Kazuhiro ISO
SOLID-PHASE SUPPORT, LIGAND-BINDING SOLID-PHASE SUPPORT, METHOD FOR DETECTING OR SEPARATING TARGET SUBSTANCE, AND METHOD FOR PRODUCING THE SOLID-PHASE SUPPORT
Abstract: A solid-phase support, formed by binding a chain polymer at least to the surface, wherein the chain polymer is a block polymer comprising a first block constituted from repetitions of a hydrophilic structural unit and a second block constituted from repetitions of a structural unit having a reactive functional group, a content ratio of the number of moles "a" of the reactive functional group contained in the chain polymer and the number of moles "b" of the whole structural unit contained in the chain polymer, (a/b), is from 0.03 to 0.25, and a density of the chain polymer occupying the surface of the solid-phase support is 0.1 polymers/nm2 or more.
Inventor: Yuuichi UEYA
Date of Patent: May 1, 2018
IMMUNOGLOBULIN-BINDING PROTEIN AND AFFINITY CARRIER USING SAME
Abstract: Provided is an affinity chromatography carrier that maintains high immunoglobulin-binding capacity and high alkali resistance. An immunoglobulin-binding protein including at least one modified immunoglobulin-binding domain, the modified immunoglobulin-binding domain being a polypeptide consisting of an amino acid sequence of an immunoglobulin-binding domain selected from the group consisting of the B domain, Z domain, C domain, and variants thereof of Staphylococcus aureus protein A, in which at least one amino acid residue is inserted between positions corresponding to the 3-position and position 4 of the amino acid sequence of the B domain, Z domain or C domain.
Inventors: Jun-ichi YASUOKA, Takashi ICHII, Satoshi NAKAMURA, Tomonori SHIOTANI, Kaori ITAYA
SOLID PHASE CARRIER, LIGAND-BOUND SOLID PHASE CARRIER, METHOD FOR DETECTING OR SEPARATING TARGET SUBSTANCE, AND METHOD FOR PRODUCING SOLID PHASE CARRIER
Abstract: Provided is a solid phase carrier which has high water dispersibility, allows facilitated binding of a ligand to a reactive functional group, and exhibits suppressed non-specific adsorption, and with which, in the case of using the solid phase carrier by having a ligand bound thereto, for example, detection of a target substance can be carried out with high sensitivity and low noise.
CARRIER FOR AFFINITY CHROMATOGRAPHY
Abstract: Provided is an affinity chromatography carrier that suppresses nonspecific adsorption of impurities, suppresses a decrease in dynamic binding capacity due to long-term storage, and has high storage stability. The affinity chromatography carrier includes a solid support including a copolymer including (M-1) more than 20 parts by mass and 99.5 parts by mass or less of a structural unit derived from an epoxy group-containing monovinyl monomer with respect to and (M-2) 0.5 to 80 parts by mass of a structural unit derived from a polyvinyl monomer with respect to all structural units; ring-opened epoxy groups obtained by subjecting the epoxy groups to the ring-opening ; and a ligand coupled to the solid support, and is such that after a certain column vessel is packed with the affinity chromatography carrier and then purged with a 2 M NaCl-containing 20 mM sodium phosphate buffer with a pH of 7.5, allowing the column to stand at 40° C. for 7 days increases pH in the column by at most 2.
Inventors: Masaki MOMIYAMA, Sachiko TSUDA, Tomoya NORINOBU
SOLID SUPPORT, LIGAND-BOUND SOLID SUPPORT, DETECTION OR SEPARATION METHOD FOR TARGET SUBSTANCE, SOLID SUPPORT PRODUCTION METHOD, AND LIGAND-BOUND SOLID SUPPORT PRODUCTION METHOD
Abstract: To provide a solid-phase carrier to which impurities are hard to nonspecifically adsorb. A solid-phase carrier, formed by binding a chain polymer, wherein the chain polymer comprises a random polymer structure containing a first structural unit having a reactive functional group, and a second structural unit having no reactive functional group or having a reactive functional group having a reactivity lower than that of the reactive functional group of the first structural unit, and the content ratio of the number of moles "a" of the reactive functional group contained in the first structural unit to the number of moles "b" of the entire structural unit contained in the chain polymer, (a/b), is from 0.01 to 0.7.
Filed: March 4, 2015
LENS SOLUTION, CONTACT LENS, AND PRODUCTION METHOD THEREFOR
Abstract: Provided is a lens solution which has excellent lipid detergency, exhibits high hydrophilization performance, and exhibits an excellent lipid adhesion preventive effect and an excellent lubricity-imparting effect when the solution is used to coat a lens. Disclosed is a lens solution containing a polymer having 2.5% to 95% by mass of the following repeating unit (A) and 2.5% to 95% by mass of the following repeating unit (B): (A) a hydrophilic repeating unit; and (B) a repeating unit having a polyoxyalkylene group in a side chain and having the end of the side chain formed from an alkyl group having 5 to 30 carbon atoms, an alkanoyl group having 5 to 30 carbon atoms, or an aryl group.
Filed: February 6, 2015
Applicants: JRS CORPORATION, JSR Life Sciences Corporation
Inventors: Kazuhiro ISO, Satoshi HYUGAJI
SOLID-PHASE CARRIER, PRODUCTION METHOD FOR SOLID-PHASE CARRIER, CARRIER FOR AFFINITY REFINING, PRODUCTION METHOD FOR FILLER FOR AFFINITY CHROMATOGRAPHY, FILLER FOR AFFINITY CHROMATOGRAPHY, CHROMATOGRAPHY COLUMN, AND REFINING METHOD
Abstract: There are provided a solid-phase carrier and a carrier for affinity refining that exhibit high dynamic binding capacity when a ligand is immobilized, have excellent antifouling properties, and are unlikely to have non-specific adsorption of impurities. The solid-phase carrier has a functional group capable of fixing a ligand and is characterized by having a group having a sulfinyl group, a sulfide group, an oxy group or an imino group, and a hydroxyl group, a thiol group, an amino group, a carboxy group, a sulfate group, a phosphate group or an alkanoyl group.
Inventors: Masaki MOMIYAMA, Sachiko TSUDA, Yusuke OKANO, Tomonori SHIOTANI, Yuko KAWADA, Ryou TSUDA, Hiroshi KAWAI
METHOD FOR ASSAYING SOLUBLE GPC3 PROTEIN
Abstract: The present invention relates to a method for assaying soluble GPC3 protein in a test sample, comprising using two different antibodies binding to different epitopes present in the N-terminal region of GPC3 protein.
Applicants: CHUGAI SEIYAKU KABUSHIKI KAISHA, JSR CORPORATION, JSR LIFE SCIENCES CORPORATION
Inventors: Toshihiko OHTOMO, Jun AMANO, Hideki ADACHI, Tsukasa SUZUKI, Motoaki MIZUUCHI, Tetsuji YAMAGUCHI, Seiki WAKUI

redpajama_set_name: RedPajamaCommonCrawl


If you are planning a trip to Vietnam from Athens, here is the detailed information on how to apply for a tourist/business visa for Vietnam.
Greece-Vietnam time difference: Summer +4h, Winter +5h. See the embassy maps and locations.


Ok, so I know they exist.
But unfortunately for me, they don't exist in the spec I need (well, not that I can find anyhow).
I'm looking at another set of wheels, but they fit using flat-seated bolts.
My BMW takes tapered seated bolts (and VW's usually take radius seated bolts).
I need them in an M12x1.5 size so they fit perfectly into my hubs, but with a flat-seat so they face up against the wheel properly.
I know Peugeot/Citroen (french brands) have flat-seated bolts but they're all M12x1.25.
I can't seem to find anywhere that produce, let alone sell them in M12x1.25 fitment.
Anyone know of somewhere I might be able to get them?
Or is it a case of either converting to stud & nut, or getting a set of tapered bolts and grinding the seat flat? (which i'd rather not do).
Speak to Bob at Trident, google it. He's at the silverstone track.
He can supply bolts to any spec you like, he's proper clever too oh but not cheap.


ICAO Full Form - What is the Full form of ICAO?
ICAO Full Form – जानिए! What is the Full form of ICAO?
क्या आप जानते है की ICAO? का फुल फॉर्म क्या होता है ? What is the Meaning of ICAO? ICAO Stands for?
What is the difference between ICAO and IATA?
What does the international civil aviation organization do?


text:
Climate Action Summit Yields Trillions in Funding
Sebastián Piñera Echeñique (left), President of the Republic of Chile; Iván Duque Márquez (center), President of the Republic of Colombia; and Emmanuel Macron, President of the Republic of France, pose for a photo at the Alliance for Rainforests event held in conjunction with the Climate Action Summit. September 23, 2019 New York, New York (Photo by Rick Bajornas / United Nations) Posted for media use
NEW YORK, New York, September 24, 2019 (Maximpact.com News) – UN Secretary-General Antonio Guterres warned world leaders not to come to his landmark Climate Action Summit with beautiful speeches alone, but to present plans for cutting greenhouse gas emissions and strategies for carbon neutrality by 2050. So what was promised at Monday's event at UN Headquarters in New York?
The private sector showed how it can bring about real positive change, when 87 major companies – with a combined market capitalization of over US$2.3 trillion, over 4.2 million employees, and annual direct emissions equivalent to 73 coal-fired power plants – committed to setting climate targets across their operations.
These businesses include well-known brands such as Burberry, Danone, Ericsson, Electrolux, IKEA, and Nestlé.
A number of these companies (you can find the full list here), went a step further, by committing to "science-based targets," which means that their corporate emissions cuts can be independently assessed.
Speaking at the UN Global Compact Private Sector Forum, Anand Mahindra, chairman of the Mahindra Group, an Indian multinational conglomerate with over 200,000 employees, said that more and more business leaders are waking up to the fact that sustainability and profit go together, and that climate action represents the biggest business opportunity of the next few decades.
In the finance sector, some of the world's largest pension funds and insurers, responsible for directing more than $2 trillion in investments, have joined together to form the Asset Owner Alliance, which committed to moving their portfolios to carbon-neutral investments by 2050. The members of the Alliance are already engaging with companies in which they are investing, to ensure that they are decarbonizing their business models.
One-third of the global banking sector, 130 banks, signed up to align their businesses with the Paris Agreement goals.
The Bill and Melinda Gates Foundation, the World Bank, and several governments announced financial commitments of US$790 million and assistance to enhance resilience of over 300 million small-scale food producers in the face of mounting climate impacts.
The money will go to the CGIAR, formerly called the Consultative Group on International Agricultural Research, a global partnership that unites international organizations engaged in research for a food-secured future. CGIAR research is dedicated to reducing rural poverty, increasing food security, improving human health and nutrition, and ensuring sustainable management of natural resources.
Bill Gates, co-chair of the Bill and Melinda Gates Foundation and the Global Commission on Adaptation, announced the financial commitments on the main stage of the UN Climate Action Summit. He was joined on stage by Egyptian President Abdel Fattah Al Sissi, Bangladesh Prime Minister Sheikh Hasina, Ghanaian President Addo Dankwa Akufo-Addo, and World Bank Group President David Malpass.
"Most people have never heard of it, but CGIAR has done more to feed the world's poorest people than any other organization on earth," said Gates, co-chair of the Bill & Melinda Gates Foundation and co-chair of the Global Commission on Adaptation. "Ultimately we need to double funding for CGIAR research to fully equip this unique and valuable institution to confront a wide range of climate challenges."
Ban Ki-moon, 8th secretary-general of the United Nations and co-chair of the Global Commission on Adaptation said, "Without urgent action to help the world's smallholder farmers, we risk undermining our food security for generations to come. Today's financial commitments are a positive step forward, but more must be done to ensure the world's farmers are equipped for long-term sustainable, climate-smart production."
Amazon and Global Optimism announced The Climate Pledge, a commitment to meet the Paris Agreement 10 years early. Amazon is the first signatory of this pledge. The Climate Pledge calls on signatories to be net zero carbon across their businesses by 2040, a decade ahead of the Paris Accord's goal of 2050.
Amazon founder and CEO Jeff Bezos promises to fight climate change with US$100 million for tree planting and cuts to the company's emissions. September 19, 2019 (Photo courtesy Amazon)
"We're done being in the middle of the herd on this issue. We've decided to use our size and scale to make a difference," said Jeff Bezos, Amazon founder and CEO. "If a company with as much physical infrastructure as Amazon, which delivers more than 10 billion items a year, can meet the Paris Agreement 10 years early, then any company can."
"I've been talking with other CEOs of global companies, and I'm finding a lot of interest in joining the pledge," said Bezos. "Large companies signing The Climate Pledge will send an important signal to the market that it's time to invest in the products and services the signatories will need to meet their commitments."
Global Optimism, co-founded by former UNFCCC chief Christiana Figueres, is focused on social and environmental change. "Bold steps by big companies will make a huge difference in the development of new technologies and industries to support a low carbon economy," she said at The Climate Pledge announcement.
Amazon also announced the launch of the Right Now Climate Fund, committing US$100 million to restore and protect forests, wetlands, and peatlands around the world in partnership with The Nature Conservancy.
Why Climate Action Summit Pledges Are Necessary
The world's leading climate science organizations joined forces in a landmark new report for the UN Climate Action Summit, underlining the glaring and growing gap between agreed targets to tackle global warming and the actual reality. The synthesis report was compiled by the World Meteorological Organization.
They report that levels of the main long-lived greenhouse gases, carbon dioxide (CO2), methane (CH4)) and nitrous oxide (N2O) have reached new record-high levels.
Carbon dioxide emissions grew two percent and reached a record high of 37 billion tonnes of CO2 in 2018. There is still no sign of a peak in global emissions, even though they are growing slower than the global economy.
Current economic and energy trends suggest that emissions will be at least as high in 2019 as they were in 2018.
The last four years were the four hottest on record, and winter temperatures in the Arctic have risen by 3°Celsius since 1990. Sea levels are rising, coral reefs are dying, and we are starting to see the life-threatening impact of climate change on health, through air pollution, heatwaves and risks to food security.
In this, the warmest five-year period on record, the average global temperature for 2015–2019 is currently estimated to be 1.1°Celsius (± 0.1°C) above pre-industrial (1850–1900) times. Widespread and long-lasting heatwaves, record-breaking fires and other devastating events such as tropical cyclones, floods and drought have had major impacts on socio-economic development and the environment.
Arctic summer sea-ice extent has declined at a rate of approximately 12 percent per decade during 1979-2018. The four lowest values for winter sea-ice extent occurred between 2015 and 2019. Overall, the amount of ice lost annually from the Antarctic ice sheet increased at least six-fold between 1979 and 2017. Glacier mass loss for 2015-2019 is the highest for any five-year period on record.
Sea-level rise is accelerating, and sea water is becoming more acidic. This is due to the increased rate of ocean warming and melting of the Greenland and West Antarctica ice sheets. There has been an overall increase of 26 percent in ocean acidity since the beginning of the industrial era.
Governments Pledge Funding, Emissions Cuts, Tree Planting
Among the major announcements at the Climate Action Summit:
France announced that it would not enter into any trade agreement with countries that have policies counter to the Paris Agreement.
Germany committed to carbon neutrality by 2050
12 countries today made financial commitments to the Green Climate Fund, the official financial mechanism to assist developing countries in adaptation and mitigation practices to counter climate change. This is in addition to recent announcements from Norway, Germany, France and the United Kingdom who have recently doubled their present contributions.
The United Kingdom today made a major additional contribution, doubling its overall international climate finance to 11.6 billion pounds for the period from 2020 to 2025
India pledged to increase renewable energy capacity to 175gw by 2022 and committed to further increasing to 450GW, and announced that 80 countries have joined the International Solar Alliance.
China said it would cut emissions by over 12 billion tons annually, and would pursue a path of high quality growth and low carbon development.
The European Union announced at least 25 percent of the next EU budget will be devoted to climate-related activities.
The Russian Federation announced that it will ratify the Paris Agreement, bringing the total number of countries that have joined the Agreement to 187.
Pakistan said it would plant more than 10 billion trees over the next five years.
Transitioning Energy From Brown to Green
Michael Bloomberg will increase the funding and geographic spread of his coal phase-out efforts to 30 countries. Already, his work has helped to close 297 out of 530 coal
Michael Bloomberg, Special Envoy of the Secretary-General for Climate Action, speaks at a special event titled Alliance for Rainforests that took place in tandem with the UN Climate Action Summit. September 23, 2019 New York, New York (Photo by Rick Bajornas / United Nations) Posted for media use
plants in the United States.
Countries, including France and New Zealand, announced that they will not allow oil or gas exploration on their lands or in their off-shore waters.
Heads of State from Finland, Germany, Greece, Hungary, Ireland, Italy, Netherlands, Portugal, and Slovakia, are among those that announced that they will work to phase out coal. Then South Korea announced it would shut down four coal-fired power plants, and six more will be closed by 2022, as well as the doubling of its contribution to the Green Climate Fund.
Many countries announced new contributions to the Green Climate Fund, the official financial mechanism to assist developing countries in adaptation and mitigation practices to counter climate change, with several countries, including France, Germany, Norway and the United Kingdom, announcing that they would double their present contributions.
The Summit also delivered critical platforms for improving energy efficiency and reducing the growing energy needs for cooling, with the "Three Percent Club" coalition working to drive a three percent annual global increase in energy efficiency. The Cool Coalition set ambitious national cooling targets for its members with the potential to deliver up to one degree on the pathway to a 2050 net zero carbon world.
Scaling Up Financing, Unlocking Funding Barriers
The Climate Investment Platform was officially announced. It will seek to directly mobilize US$1 trillion in clean energy investment by 2025 in 20 Least Developed Countries in its first year.
"The Climate Investment Platform is a crucial initiative that will simplify access to climate finance. It will catalyze investment for mitigation and adaptation in developing countries, supporting those most in need of climate action," said Green Climate Fund Executive Director Yannick Glemarec.
Summit initiatives were designed to ensure the actions undertaken would be fair for all, supporting jobs and clear air for better health, and protect the most vulnerable, as well as new initiatives on adaptation, agriculture and early warning systems that will protect 500 million additional people against the impacts of climate change.
Unlocking the Power of Nature
The US$150 million agreement announced at the Climate Action Summit between Gabon and Norway via the Central African forest initiative is historic. For the first time, an African country will be rewarded in a 10-year deal for reducing its greenhouse gas emissions from deforestation and degradation, and absorptions of carbon dioxide by natural forests. (Photo courtesy Central African Forest Initiative) Posted for media use
Using the power of nature is believed to be one of the most effective and immediate ways to address the climate crisis. Strengthening natural ecosystems such as forests is one such solution. More forests means more capacity for carbon capture, and replanting mangrove forests provides an effective, inexpensive natural barrier against coastal floods and shoreline erosion.
Dr. Thani bin Ahmed Al Zeyoudi, Minister of Climate Change and Environment for the United Arab Emirates, said, "We must open our eyes to the cruel fact that climate change is progressing faster than we are, and we need to pick up the pace to win this fight. We realize the gravity of the task at hand, but are confident that together we can build the necessary global momentum to save the natural world we value and on which we depend so much."
The Climate Action Summit saw the launch of several initiatives designed to access nature-based solutions. These include:
the Global Campaign for Nature, which plans to conserve around 30 percent of the Earth's lands and oceans by 2030 with an investment of US$1 billion.
a High-Level Panel for the Sustainable Ocean Economy, comprised of heads of state and government from Australia. Canada, Chile, Fiji, Ghana, Indonesia, Jamaica, Japan, Kenya, Mexico, Namibia, Norway, Palau and Portugal, which will build resilience for the ocean and marine-protected areas;
and the Central African Forest Initiative<> to protect the region's forest cover, which provides livelihoods for some 60 million people.
A US$150 million agreement was announced between Gabon and Norway through the Central African Forest Initiative. For the first time, an African country will be rewarded in a 10-year deal for both reducing its greenhouse gas emissions from deforestation and degradation, and absorptions of carbon dioxide by natural forests. The partnership provides Gabon with a major incentive for cutting greenhouse gases by setting a carbon price floor at US$10 per certified ton.
Gabon has preserved the majority of its pristine rainforest since the early 2000s in creating 13 national parks, one of which is listed as UNECO's Natural Heritage. The country has made significant advances in sustainable management of its timber resources outside the parks. While it only has 12 percent of the Congo Basin forests, Gabon hosts almost 60 percent of the surviving forest elephants in Africa, a key indicator of sound natural resource governance.
"I am very pleased with this results-based partnership through CAFI, which includes a historic carbon floor price to further encourage Gabon to continue to preserve its rainforest," said Ola Elvestuen, Norway's Minister of Climate and Environment. "Gabon is 88 percent covered with forests, and I hope our partnership can help them reach their goal to maintain 98% of that for the future," he said.
Cleaning Up Cities
It is now possible to construct buildings that are 100 percent net-zero carbon emitters, and the Zero Carbon Buildings for All initiative, a multi-partner global initiative endorsed by
A retrofit of this 26-storey office tower, constructed in 1985, included architectural, mechanical and electrical upgrades, transforming it into a modern and energy efficient building. Formerly occupied by Export Development Canada, the building is now mostly occupied by Canadian tech firm Shopify. July 31, 2019 (Photo by Joanne Clifford)
the UN Secretary General, is pledging to make all buildings, both new and existing, net zero carbon by 2050. This could potentially lead to a US$1 trillion investment in developing countries by 2030.
All buildings must be net-zero carbon by 2050 to meet the goals of the Paris Agreement, but fewer than one percent of buildings are today.
Led by the nonprofit World Resources Institute and the World Green Building Council, Zero Carbon Buildings for All is supported by partners across civil society, national governments, and the private sector.
"When it comes to climate change, we need to shift from 'doing better' to 'doing enough,'" said Andrew Steer, president and CEO of the U.S.-based World Resources Institute. "This requires reducing emissions to net zero by 2050. Decarbonizing buildings is absolutely essential to attaining that."
Buildings operations account for 28 percent of energy-related CO2 emissions, making them among the largest contributors to climate change. The good news is that improving buildings is also one of the most proven, cost-effective climate mitigation solutions available. Improved buildings often feature the latest in architectural design and enhance the quality of life, health and productivity of people living and working in them.
Zero Carbon Buildings for All will leverage the leadership of government, industry and civil society to both secure commitments to ambitious targets (national policy roadmaps to decarbonize new buildings by 2030 and existing buildings by 2050) and mobilize significant funding (at least $1 trillion in Paris Agreement-compliant buildings investment in developing countries by 2030).
The national governments announcing their commitment to Zero Carbon Buildings for All include a cross-section of developing and industrialized countries: Kenya, Turkey, the United Arab Emirates, and the United Kingdom.
A total of 2,000 cities committed to placing climate risk at the center of their decision-making, planning and investments. This includes launching 1,000 bankable, climate-smart urban projects, and creating innovative financing mechanisms.
Tackling traffic congestion and pollution is the aim of the Action Towards Climate Friendly Transport initiative, which includes actions to plan city development in a way that minimises travel, shift from fossil-fuelled vehicles to non-motorized and public transport, and increase the use of zero-emission technologies.
Next: The First Sustainable Development Goals Summit
Caption: UN Secretary-General Antonio Guterres (center) strides through UN Headquarters in New York on his way to the opening of his Climate Action Summit, September 23, 2019 (Photo by Ariana Lindquist / United Nations) Posted for media use
"We need more investment, more political action, more priority for a fair globalization", Secretary-General Guterres told reporters, when asked about his expectations for the first-ever Sustainable Development Goals (SDG) Summit, September 24-25 at New York headquarters.
Guterres emphasized that, with just over 10 years to go, the world is not on track to hit targets related to sustainable development, and urged world leaders to "take the decisions necessary, in order to come together more effectively to make sure that the 2030 Agenda is successfully implemented."
The SDG Summit is one of the five important high-level summits and meetings talking place during the opening week of the latest session of the UN General Assembly. It is intended to allow leaders from government, business and other sectors to identify specific actions that can help get the SDG response back on track, with a decade of action and delivery still in play, in the lead up to the 2030 deadline.
The format will break down the topics into six dialogues, pairing a leader of a developing country, with the head of a developed country as co-moderators.
The themes of each dialogue are megatrends, accelerating the SDGs, measures to leverage progress, localizing the SDGs, partnerships for sustainable development, and the 2020-2030 vision.
The SDG Summit is expected to conclude with a political declaration by heads of state and government that provides political guidance how to step up the pace of implementation of the 2030 Agenda and SDGs, and a series of SDG acceleration actions.
A full list of the many initiatives announced during the UN Climate Action Summit can be found here.
Action Towards Climate Friendly Transport Amazon Asset Owner Alliance Bill and Melinda Gates Foundation Central African Forest Initiative CGIAR climate Climate Action Summit Climate change Climate Investment Platform forest Global Campaign for Nature Global Optimism Green Climate Fund High-Level Panel for the Sustainable Ocean Economy rainforest Secretary-General Antonio Guterres United Nations World Bank
Powering Smart Grid Resilience With Batteries on Wheels
Low-Carbon Farming for Climate, Food and Profit
COP27: At-Risk Nations Celebrate New Climate Loss, Damage Fund
10 Essential Climate Science Insights for 2022


Parking in the city doesn't have to be a nightmare. It also shouldn't be expensive. Access thousands of secure parking spaces in high-demand locations with DIVVY. Say goodbye to parking tickets, for good.
What Are 'Smart Cities' and What Future Do They Offer Us?
Park and Fly with DIVVY!
Evening and weekend pricing now available with DIVVY!


text:
by Dylan Clarke 2 years ago
Carmelo Anthony Open To Returning To New York Knicks: Report
Melo reportedly interested in finishing his career in NY.
may not be the only 10-time All Star forward interested in signing with the New York Knicks this Summer. SNY's Ian Begley reports that former Knick Carmelo Anthony "would have interest in signing with the Knicks and finishing his career in New York, despite how his Knicks tenure ended."
That said, it doesn't appear the feeling is mutual. According to Begley, "bringing Anthony back is not currently part" of the Knicks' offseason plan, and a majority of executives believe Melo will be signing with the Los Angeles Lakers instead.
Melo, 34, was waived by the Chicago Bulls on February 1, paving the way for him to sign with a team of his choosing, but nothing ever materialized. Anthony has not played since November 8 after the Houston Rockets announced that they'd be going in a different direction. In 10 games with the Rockets last season, Melo averaged a pedestrian 13.4 points and 5.4 rebounds in a career-low 29.4 minutes per night.
The 16-year veteran played for the Knicks from 2011-2017, earning All Star honors in each of those seven seasons and leading the Knicks to the playoffs in three of those years.
Previous post NEW YORK GOVERNOR PLANS ON LEGALIZING RECREATIONAL WEED
Lil' C. Corleone Spits Over "What's Poppin" By Jack Harlow
Smithfield, North Carolina representer Lil' C. Corleone comes strong with that fire over "What's Poppin" by Jack Harlow. Looking to attack 2021 he comes hard to show he's one of…
BBM China – Nights in China (Album Stream)
Starting off the new year with a bang, China BBM drops her album called "Nights in China". The album is a solid collection of hard -hitting tracks with outstanding production.…
In "Talk About Love," Young Thug assists Zara Larsson
Zara Larsson is all set to launch her next project, which is assisted by Young Thug. The track titled "Talk About Love" comes with its own music video, where she is featured with her partner, both of who dance to release their emotions through dance. Here, Young Thug enters…
Broke In A Minute Producer Papi Yerr Drops His Own Single "New Bih"
Papi Yerr recently released his latest music video for his single, "New Bih." He is beyond stunting in this visual rocking his Louis Vuitton Mask and wearing jewelry that shines wherever…
Throwed Ese – Chandelier Ft. Peso Peso
Rising Dallas rapper Throwed Ese is back with a new single as his latest drop titled "Chandelier." He links with a fellow, dope Ese in the game, Peso Peso for…
Ty Wolf Artist Profile
Tyriq Harris aka Ty Wolf is a 23-year-old hip-hop artist from Connecticut. Ty Wolf dropped four whole projects in 2020 and isn't letting up by dropping Slim Wolf 2 sometime…
Inglewood Artist White John Shares 'Cases Still Pending' EP ft. Rucci & OMB Peezy
Buoyed by a sterling reputation and known by many aliases–the White Gurb, Mr. F*ck The LAPD, Mr. F*ck The Police–White John is one of the most colorful characters in L.A.'s flourishing…
DURING VIRTUAL FUNERAL FOR CIVIL RIGHTS ICON, HACKERS USE RACIAL SLURS


I have received a few questions about how bright the LEDs are and how far they reach. I am going to to answer those questions by showing some pictures and in the future posting a video. In general I think that actual feel or brightness of any light is hard to convey over the web. And I especially have issue with the term "range".
1.) how bright are the LEDs?
2.) what is the total range of the LEDs?
Coverage Area @ 10 ft.: 5 ft. x 5 ft.
Primary Use: General photography and videography.
These specs bring up questions of my own. If 36 candelas is the light output, at what range is that light output measured?
And if the max range is 12 ft, how bright is it at that distance?
These will be hard for me to explain in the Prodmod version or compare to Camerabright.
But here are simple specs I think we can talk more clearly about.
The X1-R from camera bright is slender.
The ProdMod Camera Light was designed to be wide angle. This is because I personally didn't like the spotlight effect of a focused beam and wanted the light to fill the screen more for video shots.
Both Camerabright and Prodmod are in the same color range.
Well, I can say that the specified luminous intensity of each LED in the Prodmod light are 3000 mcd. So is that 3 candela, and a total of 9 candela for 3 LEDs? I don't know what the Camerabright uses, but if they claim 36 candela and have 4 LEDs does that mean each LED is 9 candela? I am honestly not sure if candelas should be multiplied but I do know that an LED can seem brighter when it focuses all of its light into a narrow beam rather than a wide one. Lets say two LEDs have the same light energy output and even use the same 20mA of current. One of them has a viewing angle of 20 degrees and the other an angle of 60 degrees. The 20 degree LED will have a higher millicandela or luminous intensity rating than the wider angle LED.
So flashlight LEDs typically have high brightness because they focus all of there light energy into a tightly focused narrow beam. The ProdMod light only has 3 LEDs and they were specifically chosen for the wider angle and therefore are not as bright. But the real question is what's better for a photograph or video, illuminating the center of your image with a bright light (probably blinding people) or illuminating most of your image with a less bright light. It's your preference I guess.
Before I confuse you or say the wrong thing I'll refer you to another reference where this is better explained. Let's move on.
This basically backs up the slender vs wide angle difference. The Prodmod light creates a larger coverage area at a shorter distance than the Camerabright. So at 6ft away the light would fill more of your shot. But a focused beam like the Camerabright would get more narrow at only a 6ft difference and create a smaller coverage area. And the closer you get the smaller it gets- thus the spotlight effect.
Primary Use: I think its safe to say they can both be used for photography and video. However the Prodmod light with its wide angle is better suited for video, in my opinion.
In the above photo the room was completely dark. The Prodmod Light was positioned 6ft from the wall and the camera was positioned above and behind the light to capture the circular edge of the light beam. A row of paper marked in feet was the photo subject. The black box to the left indicated the first edge of the first page or 0 feet. The circle extends to a soft edged 5 ft.
The camera (Panasonic Lumix) was set for 4:3 format. If the camera was positioned normally above the camera you wouldn't see less of the dark edge or you could at least crop only a little to get rid of the edge. This was one of the main goals in designing the Prodmod Camera Light. Actually the edge is pretty soft which I also like.
** By the way this is ProdMod isn't it? So don't forget that if you make your own you can easily change the angle of the outermost LEDs so they point outward a bit. Just a 5 degree angle will do. Now you will be able to illuminate more of your shot and get rid of the dark edges. I think Camerabright utilizes this technique. Adding a fourth LED will always help too.
As for brightness, I am not sure how to properly convey it in a photo because the camera was set on Auto and it compensates by opening the aperture of the camera to absorb more light given it was in an unlit room. Not to mention any digital post processing automatically handled in the camera-that's where the noise comes from. What I will try to do in the future is set the camera to manual and use a fixed aperture and speed setting. Then maybe we can see a difference.
Again if you want more light try adding a 4th LED.
I actually didn't notice any dark areas when I was looking at this curtain but it shows up a bit in the photo. In fact I think this makes a great flashlight. The photo was taken in a bathroom where I can close out all environmental light and it lit up the whole room.


text:
Q: Выравнивание с помощью flex Не могу разобраться почему justify-content не выравнивает элементы...
Хочу выровнить элементы по центру(две стрелки и картинка), но не получается. Может я не вижу чего-то особенного... Буду очень благодарен за помощь в нахождение ошибки.

.modal-big-img {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 padding: 15px;
 background-color: rgba(27, 31, 34, 0.95);
 visibility: hidden;
 opacity: 0;
 z-index: 10; }
.wrapper-big-img{
 display: flex;
 justify-content: flex-start;
 align-items: center; }
.arrow { padding: 0 10px; background: red; }
.modal-big-img__img {
 padding: 30px;
 box-sizing: border-box;
 max-width: 800px ;
 margin: auto; }
.model-big-img__count { text-align: center; }

A: .modal-big-img__img { ... margin: auto; ... }

Не дает, так как это левую стрелку прижимает к левому краю, а правую к правому. Здесь можно почитать.

redpajama_set_name: RedPajamaStackExchange


text:
Development Finance & Policy (18) Apply Development Finance & Policy filter
Food Security & Nutrition (10) Apply Food Security & Nutrition filter
Assessing Pharma's Constraints, Opportunities, and Investment Options in Global Health R&D: An Analysis of SEC 10-K Filings
The private sector is the primary investor in health research and development (R&D) worldwide, with investment annual investment exceeding $150 billion, although only an estimated $5.9 billion is focused on diseases that primarily affect low and middle-income countries (LMICs) (West et al., 2017b). Pharmaceutical companies are the largest source of private spending on global health R&D focused on LMICs, providing $5.6 billion of the $5.9 billion in total private global health R&D per year. This report draws on 10-K forms filed by Pharmaceutical companies with the U.S. Securities and Exchange Commission (SEC) in the year 2016 to examine the evidence for five specific disincentives to private sector investment in drugs, vaccines and therapeutics for global health R&D: scientific uncertainty, weak policy environments, limited revenues and market uncertainty, high fixed costs for research and manufacturing, and imperfect markets. 10-K reports follow a standard format, including a business section and a risk section which include information on financial performance, investment options, lines of research, promising acquisitions and risk factors (scientific, market, and regulatory). As a result, these filings provide a valuable source of information for analyzing how private companies discuss risks and challenges as well as opportunities associated with global health R&D targeting LMICs.
Executive Summary, Full Report
Review of Literature on Factors Affecting Private Sector Investment in Global Health R&D
The share of private sector funding, relative to public sector funding, for drug, vaccine, and diagnostic research & development (R&D) differs considerably across diseases. Private sector investment in overall health R&D exceeds $150 billion annually, but is largely concentrated on non-communicable chronic diseases with only an estimated $5.9 billion focused on "global health", targeting diseases that primarily affect low and middle-income countries (LMICs). We examine the evidence for five specific disincentives to private sector global health R&D investment: scientific uncertainty, weak policy environments, limited revenues and market uncertainty, high fixed and sunk costs, and downstream rents from imperfect markets. Though all five may affect estimates of net returns from an investment decision, they are worth examining separately as each calls for a different intervention or remediation to change behavior.
Technical Report, Technical Report Executive Summary
Review of Long-Term Impacts of Cash Transfer Programs
Cash transfer programs are interventions that directly provide cash to target specific populations with the aim of reducing poverty and supporting a variety of development outcomes. Low- and middle-income countries have increasingly adopted cash transfer programs as central elements of their poverty reduction and social protection strategies. Bastagli et al. (2016) report that around 130 low- and middle-income countries have at least one UCT program, and 63 countries have at least one CCT program (up from 27 countries in 2008). Through a comprehensive review of literature, this report primarily considers the evidence of the long-term impacts of cash transfer programs in low- and lower middle-income countries. A review of 54 reviews that aggregate and summarize findings from multiple studies of cash transfer programs reveals largely positive evidence on long-term outcomes related to general health, reproductive health, nutrition, labor markets, poverty, and gender and intra-household dynamics, though findings vary by context and in many cases overall conclusions on the long-term impacts of cash transfers are mixed. In addition, evidence on long-term impacts for many outcome measures is limited, and few studies explicitly aim to measure long-term impacts distinctly from immediate or short-term impacts of cash transfers.
LSMS-ISA Tanzania Section B: Median Farmer Profile
This is "Section B" of a report that presents estimates and summary statistics from the 2008/2009 wave of the Tanzania National Panel Survey (TZNPS), part of the Living Standards Measurement Study – Integrated Surveys on Agriculture (LSMS-ISA). We present our analyses of household characteristics by gender and by administrative zone, considering landholding size, number of crops grown, yields, livestock, input use, and food consumption.
LSMS-ISA Tanzania Section C: Household Characteristics and Education
This is "Section C" of a report that presents estimates and summary statistics from the 2008/2009 wave of the Tanzania National Panel Survey (TZNPS), part of the Living Standards Measurement Study – Integrated Surveys on Agriculture (LSMS-ISA). We present our analyses of the basic characteristics of household heads and other household members, as well as our analyses of education for adults, children, and household heads by gender and zone.


text:
Q: Creating Windows 10 Custom Logs without ecmangen.exe? I'm trying to forward events in Windows 10, I found a great github repo that seems to have all the subscription XML stuff in it that I need, but when I go to install the channels (read, logs) so that the subscriptions receive everything, it doesn't work because the custom channels aren't there...the github repo contains a dll that supposively contains the custom channels and a manifest file (.man) you can use to create it yourself (seems to have alot of XML in it).
I didn't really trust a .dll I download from a github repo in my environment, so I decided that  since they tell you how to build the .dll.  The github repo references a technet blog post, that tells you how to build the .dll, but it's a bit dated being from 2016 and all.
I installed the Windows 10 SDK to try this out, but it doesn't include the file they told me to run to build the .dll from the manifest, mainly C:\Program Files (x86)\Windows Kits\8.1\bin\x64\ecmangen.exe
I read in an unresolved unanswered post that the executable was removed in from the Windows 10 SDK starting with version 10.0.16299.15, and that the op decided to just use an older version.
Was this tool replaced with something else?  I don't really want to use a DLL I found in a github repo.

A:
ecmangen.exe removal from the SDK: Ecmangen.exe will no longer ship
  with the Windows SDK. Developers who rely on ecmangen for event
  manifest creation are advised to install the Windows Creators Edition
  of the SDK to obtain the file. Developers may also use notepad or
  other XML editor of choice for manifest creation. A schema file is
  available on MSDN to aid in manifest creation, for tools that support
  it.

Refer to "Windows 10 SDK Preview Build 16267 and Mobile Emulator Build 15240 Released".
Refer to here for Windows Creators Edition of the SDK.
You can find ecmangen.exe at the following path:


To use Arduino-based connected objects or an open source home server on iOS, you had to use the open source Homebridge project that was presented several times. On the occasion of the WWD 2017 (developer conference), Apple announced the opening of the HomeKit protocol which allows to communicate and control compatible home automation devices from the Home app on iOS.
Until now, the development of HomeKit compatible devices was reserved for MFI licensees. Each product had to be tested by Apple and embed a cryptographic chip its authentication. This procedure is still valid for commercial products. Apple has now opened the technical specifications for the HomeKit protocol for non-commercial projects.
This means that anyone can now use the Framework Home Kit to develop non-commercial Arduino based devices, ESP8266, Raspberry Pi or other development cards. Cryptographic chip authentication is replaced by software authentication.
The HomeBridge project is expected to rapidly gain in functionality and stability and will no longer infringe on Apple licenses.
This new license also applies to businesses. The development phase will be less constraining, the cryptographic chip being replaced by a software solution. Companies will be able to use HomeKit internally. For commercial products, intermediate tests will no longer be invoiced. The HomeKit-compatible devices are still very few (and expensive), Apple is looking for a change in strategy against the competition of Alexa, SmartThings and Google Home.
By opening its protocol, Apple may have found the solution to make its system more attractive face. HomeKit should now be much easier to implement. It opens up compatibility with services like Alexa, SmartThings and Wink.
To create a developer account or retrieve the HomeKit protocol specifications, go here.


text:
#include "webrtc/test/constants.h"

namespace webrtc {
namespace test {

const int kTOffsetExtensionId = 6;
const int kAbsSendTimeExtensionId = 7;
const int kTransportSequenceNumberExtensionId = 8;
}  // namespace test
}  // namespace webrtc


Grameenphone Valentine's Day Offer! 90MB @ 14TK!
90MB Internet Data @ 14TK!
Volume will only carry forward if customer repurchases the same offer within the validity period.
Grameenphone Happy New Year 2016 Offers!
Grameenphone Facebook Social Packages Details!
Grameenphone 100% Bonus On Recharge! Bijoy Victory Offer!
Grameenphone 20GB 3G Internet at 2000Taka!
Grameenphone Free Internet! Free Browsing! FreeBasics.Com!


text:
Livestream of Panel: "Hour Crisis: Scheduling and Retail Worker Organizing in Los Angeles"
On October 24, 2018, the UCLA Labor Center held a lunchtime panel on scheduling and retail worker organizing. The panel featured special guest Lane Windham, Associate Director of Georgetown University's Kalmanovitz Initiative for Labor and the Working Poor and author of Knocking on Labor's Door. Other panelists included Janna Shadduck-Hernández and Preeti Sharma from the UCLA Labor Center and Natasha Castro from Los Angeles Alliance for a New Economy (LAANE).
Despite Los Angeles having some of the strongest protections for low-wage workers nationwide, retail workers struggle with unreliable hours and unpredictable schedules that undercut their incomes and chances of living full and healthy lives. The retail sector is the second largest employer in Los Angeles, and recently workers have come together to demand a fair workweek and pass local and state ordinances for advanced schedule notice and guaranteed hours.
The history of retail organizing reveals that this sector led dynamic campaigns from the 1920s to the 1970s. Whether advocating for better pay, 8-hour stable work days, or the right to a union, past campaigns from New York to California illuminate how creative organizing strategies and weak labor laws respectively help and hurt retail workers.
Panelists shared their perspectives on historic campaigns, current policy initiatives, and a recent UCLA Labor Center and LAANE report, Hour Crisis: Unstable Schedules in the Los Angeles Retail Sector.
This event was organized by the UCLA Labor Center and co-sponsored by the UCLA Institute for Research on Labor and Employment, UCLA Luskin Center for History and Policy, UCLA Department of Gender Studies, UCLA History Department, and Georgetown University's Kalmanovitz Initiative for Labor and the Working Poor. It was free and open to the public.