c# – faster compile and editor update in unity

sometimes for some small changes, I need to recompile the code In the editor and it causes some time to be testable in the editor(sometimes more than 20, 30 seconds).

I know when loading shows on the bottom-right side of the editor in means that it’s compiling the code and when it doesn’t move it means that it’s updating the editor or checking for possible updates.

I need to know is there any way to make it faster? I mean, is there any option to tell unity don’t recompile unchanged classes or don’t consider all editor classes for changing the editor? or any other technique that makes the process faster?

block editor – Gutenberg Components no displaying in Edit

I have an issue with the edit function in this Gutenberg block. If I add another component InspectorControl in the edit function my googlemap that is supposed to be rendered in the map div does not work and there is an error. Is it possible to make them both work in the edit function?


const getLocationPosts = () => axios
    .get('/wp-json/wp/v2/splash_location')
    .then(response => {
        const { data } = response
        renderMap(data)
})

const renderMap = function(locations) {
    const googleMap = document.getElementById('google-map')

    const map = new google.maps.Map(googleMap, {
    center: { lat: 49.2361921, lng: -123.043253 },
    zoom: 11,
    disableDefaultUI: true,
  })

  locations.map((location, i) => {
    const { 
        splash_location_address, 
        splash_location_description, 
        splash_location_latitude_longitude, 
        splash_location_schedule, 
        splash_location_title } = location.meta
    let lat_lng = splash_location_latitude_longitude.replace(/s|(|)/g, '').split(',')
    let lat, lng
    (lat, lng) = lat_lng

    const marker = new google.maps.Marker({
        position: { lat: parseFloat(lat), lng: parseFloat(lng) },
        map: map,
        //icon: "/wp-content/themes/splashstartertheme/assets/images/pin.svg",
      })

      const content = `<div class="location">
            <div class="location__close"></div>
            <h3 class="location__title">${splash_location_title}</h3>
            <p class="location__address">${splash_location_address}</p>
            <div class="location__hours">
            <p class="hours__item">${splash_location_schedule}</p>
            </div>
            <div class="location__gallery grid">
            <a class="gallery__item"><img src="https://wordpress.stackexchange.com/wp-content/assets/images/gallery--1.jpg" data-gallery="gallery1" /></a>
            <a class="gallery__item"><img src="https://wordpress.stackexchange.com/wp-content/assets/images/gallery--1.jpg" data-gallery="gallery1" /></a>
            <a class="gallery__item"><img src="https://wordpress.stackexchange.com/wp-content/assets/images/gallery--1.jpg" data-gallery="gallery1" /></a>
            <a class="gallery__item"><img src="https://wordpress.stackexchange.com/wp-content/assets/images/gallery--1.jpg" data-gallery="gallery1" /></a>
            </div>
        </div>`

        const infowindow = new google.maps.InfoWindow({
        content: content,
      })

      google.maps.event.addListener(marker, 'click', () => {
        infowindow.open(map, marker)

        setTimeout(function() {
            let close = document.getElementsByClassName('location__close')

            close(0).addEventListener('click', () => {
                infowindow.close()
              })
              let lightbox = GLightbox({
                     selector: '.gallery1'
                })
        }, 1000)
      })
  })
}

registerBlockType( 'splash-blocks/google-maps', { 
    title: __('Google maps locations', 'google-maps'),
    icon: 'megaphone',
    category: 'common',
    keyword: (
        __( 'Display Google maps locations' ),
    ),
    attributes: {
        markers: {
            type: 'array',
            default: ({
                lat: 37.79406,
                lng: -122.4002,
            },{
                lat: 37.79507,
                lng: -122.4002,
            }),
        },
        locations: {
            type: 'array',
            default: ({
                title: 'Location title',
                hours: 'xxxxx',
                description: 'xxxxx',
                gallery: {
                    type: 'array',
                    default: ({
                        img: '.jpg'
                    })
                },
                markers: {
                    type: 'array',
                    default: ({
                        lat: 37.79406,
                        lng: -122.4002,
                    },{
                        lat: 37.79507,
                        lng: -122.4002,
                    }),
                },
            })
        },
        icon: {
            type: '',
            default: 'xxxxxxx',
        },
        zoom: {
            type: 'number',
            default: 11,
        },
    address: {
        type: 'string',
        default: 'xxxxxxxxx',
        }, 
        api_key: {
        type: 'string',
        default: 'xxxxxxxxx',
        }
    },
    edit: class extends Component {
        constructor(props) {
        super(props)
            this.setZoom = this.setZoom.bind(this);
      }

     componentDidMount() {
            getLocationPosts()
        }

        setZoom( event ) {
            console.log(event)
        }

        render() {
            const { attributes, setAttributes } = this.props
            return (

                <Fragment>
                    <InspectorControls>
                        <PanelBody title="Settings">
                    <NumberControl
                    isShiftStepEnabled={ true }
                    onChange={ this.setZoom }
                    shiftStep={ 1 }
                    value={ 11 }
                    />
                        </PanelBody>
                    </InspectorControls>
                    <div id='google-map'></div>
                </Fragment>
            )
        }
    },
    save: props => {
        const { 
      className,
      attributes: { mapHTML }
    } = props;
        return (
            <div id='google-map'>
            </div>
        )
    }
})

design editor is unavailable until after a successful project sync

espero estén teniendo un buen día.

Tengo este problema en Android Studio cada vez que creo un nuevo proyecto, lo cual es raro a que tengo uno creado previamente y ese no tiene el mismo error, me he fijado que no aparece el "module app" en Gradle y la clase de Main Activity Está en una carpeta que según yo no es habitual.Este es el error que tengo

En realidad soy muy nuevo usando Android Studio y me gustaría que me ayudaran por favor, muchas gracias y buen día :].

My Gmail editor shows a strange right-click YALIG submenu

My Gmail editor shows a strange right-click YALIG submenu – Web Applications Stack Exchange

ide – Is editor choice discrimination real?

I used to depend on IDEs for my programming, but in the past few months have switched over to vim. I’ve found that despite vim’s steeper learning curve, there have been definite benefits once I got accustomed to it.

Now, this is a personal choice, and I for one wouldn’t try to impose some editor or IDE on my coworker. But do interviewers often judge job applicants (either consciously or subconsciously) on their editor/IDE choice? Would a traditional option like vim or Emacs be frowned upon, so that it’s worth hiding one’s true preferred editor during an interview?

html – Add a Web Part inside the Script Editor?

You cannot exactly insert the web parts inside that script editor of yours, but you can definitely use HTML to show the site feeds. Simple feeds in the form of rows can be used using some HTML table structures (insertRow(), etc.)

Otherwise, you can write out the entire HTML code with your Site Feed scripts and div stylings, in a different file and upload in your site, and link its path within your script editor.

(Edit) You can practically do any HTML related stuffs with your Script Editor. In this case, I’ve embedded a tag within HTML to answer your question. However, unfortunately you cannot insert List/Libraries webpart directly within it. You will have to think of some customized CSOM solutions for this

enter image description here

Kindly mark this as an answer if this helps you.

block editor – Gutenberg Default attributes are empty

I’m not sure if I’m missing something here but when I console.log my attributes I am getting an empty object. Shouldn’t it show the default data of all my attributes. What I am doing wrong here.

import { __ } from '@wordpress/i18n';
import { registerBlockType } from '@wordpress/blocks';
import { useEffect } from '@wordpress/blocks';
import { PluginDocumentSettingPanel } from '@wordpress/edit-post';
import GoogleMap from './GoogleMap.js';
import { Component } from '@wordpress/element';
import axios from 'axios';

registerBlockType( 'splash-blocks/google-maps', { 
    title: __('Google maps locations', 'google-maps'),
    icon: 'megaphone',
    category: 'common',
    keyword: (
        __( 'Display Google maps locations' ),
    ),
    atrributes: {
        markers: {
            type: 'array',
            default: ({
                lat: 37.79406,
                lng: -122.4002,
            }),
        },
        icon: {

        },
    address: {
        type: 'string',
        default: 'xxxxxxxxx',
        }, 
        api_key: {
        type: 'string',
        default: 'xxxxxxxxx',
        }
    },
    edit({ attributes, setAttributes }) {

        console.log(attributes)
        //Console shows empty object
        return ( 
            <div id='google-map'>
            </div>
        )
    },
    save: null,
})

web app – Editor for teachers to create exam, exercises, and questions

I’m making a webapp for my local university, which allows teachers to create exams made up of open-ended/multiple-choice questions and JavaScript programming exercises, as well as group them by topic and a whole host of options to randomize the items in the exam, plus other settings.

I am not particularly experienced at making user interfaces, so I’d like some feedback as to whether the interface looks nice and user-friendly, and what could be done to improve it. My main concern is the interface could get cluttered up and become hard to navigate as more and more exercises are added to an exam.

Here are some screenshots of the app, followed by a brief video showing how it’s navigated in a browser. I apologize for some parts in which language gets mixed up, that’s for unrelated reasons.

Here’s the part where you add topics:
enter image description here
enter image description here


Here’s a couple collapsed question editors:
enter image description here


Here’s one of the most important parts: the fully expanded question editor
enter image description here


Here’s the coding exercise editor:
enter image description here
enter image description here


Here’s a view of a list of a few topics, some of them with their optional text editor opened: as you can see, it can get cluttered:
enter image description here


Video

Lemme know if there are any more details I could add.

One idea I’ve had is to add an index to the beginning of the editor, briefly showing the topics and their questions/exercises, with links to jump to them. An issue I see with the current layout is there isn’t any “logical” grouping, i.e. exercises and questions appear in the order they were created and not grouped by topic or any of that.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123