text:
Change default parameters in MESA(version='2208') within amuse

Hello,I am using MESA(version='2208') within amuse and these are the default parameters of this version:
AGB_wind_scheme: 1
RGB_wind_scheme: 1
blocker_wind_efficiency: 0.1
de_jager_wind_efficiency: 0.8
dutch_wind_efficiency: 0.8
herwig_convective_overshoot_parameter: 0.0
max_age_stop_condition: 1e+36 yr
max_iter_stop_condition: -1111
metallicity: 0.02
min_timestep_stop_condition: 1e-06 s
mixing_length_ratio: 2.0
reimers_wind_efficiency: 0.5
semi_convection_efficiency: 0.0
stabilize_new_stellar_model_flag: True

I am trying to alter herwig_convective_overshoot_parameter and semi_convection_efficiency parameters. If I understand correctly I must do this within amuse and NOT try to alter the inlist files of mesa (I think that AMUSE_inlist is the file that mesa within amuse reads),  thus I use the lines:
code.set_convective_overshoot_parameter(0.3)
 code.set_semi_convection_efficiency(1.0)

I face two problems:

It seems that the order of the commands affects mesa model. For example, if I try to add particles after the aforementioned lines (eg ste_ev_giant = code.particles.add_particle(giant) ) the mesa parameters return to the default values. Hence, in which order should someone alter the model parameters?
I placed the lines that alter the default parameters exactly before the evolution of my model (eg before line code.evolve_model(keep_synchronous = False)) and I printed the parameters after the evolution. At first sight seems like it worked:

AGB_wind_scheme: 1
RGB_wind_scheme: 1
blocker_wind_efficiency: 0.1
de_jager_wind_efficiency: 0.8
dutch_wind_efficiency: 0.8
herwig_convective_overshoot_parameter: 0.3          <-----
max_age_stop_condition: 1e+36 yr
max_iter_stop_condition: -1111
metallicity: 0.02
min_timestep_stop_condition: 1e-06 s
mixing_length_ratio: 2.0
reimers_wind_efficiency: 0.5
semi_convection_efficiency: 1.0                     <-----
stabilize_new_stellar_model_flag: True

but when I try to double check by producing some plots it seems like it did not.  Here are two plots for semiconvection coefficient = 1.0 and varying overshooting coefficient. The first is produced by  the MESA(version='2208') within amuse, while  the second by the latest MESA version in date. Clearly the first does not take into account the overshooting as all the lines overlap. Is there any other 'switch' that needs to be turned on in MESA(version='2208') in order to take into account overshooting and semiconvection?
Thank you advance

Adding @rjfarmer to this issue - it's best to keep discussion here rather than on Slack since Slack deletes the history after 30 days.

The problem is this line:
https://github.com/amusecode/amuse/blob/616fec2165fe32e144259fda70a85ed348539556/src/amuse/community/mesa_r2208/interface.py#L1425
When it gets called its resetting all the AMUSE_ settings back to thier defaults then re-calling the fortran set_ functions. Commenting that out makes the print(se_code.parameters) show the correct values and mesa also shows the correct values being stored inside its data structures (and does not show a second call to the set_ functions).
The self.parameters.send_not_set_parameters_to_code() code is found at:
https://github.com/amusecode/amuse/blob/616fec2165fe32e144259fda70a85ed348539556/src/amuse/datamodel/parameters.py#L137
Is this needed? Is there meant to be some way to set the parameters and make sure they get marked as not needing to be set to defaults?

So, in order to overcome this problem, do I have to comment out the line self.parameters.send_not_set_parameters_to_code()  in amuse/src/amuse/community/mesa_r2208/interface.py?

If a parameter is set with a setter (as I assume they would be in Mesa as in other codes), it should not be reset - it should have is_set = True. So this is puzzling.

It sounds like is_set is not set to True, so fixing that would be the solution.

So, I should not comment out anything in the interface.py file, but just add an argument to my lines :
code.set_convective_overshoot_parameter(0.3, is_set=True)
code.set_semi_convection_efficiency(1.0,is_set=True)

Is that right?

No, I don't think it is. Please let me look into it. I'm sorry it takes a little while.

Ah, I think I see the problem. You should not call code.set_convective_overshoot_parameter or code.set_semi_convection_efficiency, but code.parameters.convective_overshoot_parameter = (value) (etc).

Seems to work then:
In [1]: from amuse.lab import *

In [2]: star = Particle(mass=1.0 | units.MSun)

In [3]: evo = Mesa(version="2208")

In [4]: print(evo.parameters)
AGB_wind_scheme: 1
RGB_wind_scheme: 1
blocker_wind_efficiency: 0.1
de_jager_wind_efficiency: 0.8
dutch_wind_efficiency: 0.8
herwig_convective_overshoot_parameter: 0.0
max_age_stop_condition: 1e+36 yr
max_iter_stop_condition: -1111
metallicity: 0.02
min_timestep_stop_condition: 1e-06 s
mixing_length_ratio: 2.0
reimers_wind_efficiency: 0.5
semi_convection_efficiency: 0.0
stabilize_new_stellar_model_flag: True

In [5]: evo.parameters.semi_convection_efficiency = 1.0

In [6]: evo.parameters.herwig_convective_overshoot_parameter = 0.3

In [7]: evo.particles.add_particle(star)
Out[7]: <amuse.datamodel.particles.Particle at 0x1062da180>

In [8]: print(evo.parameters)
AGB_wind_scheme: 1
RGB_wind_scheme: 1
blocker_wind_efficiency: 0.1
de_jager_wind_efficiency: 0.8
dutch_wind_efficiency: 0.8
herwig_convective_overshoot_parameter: 0.3
max_age_stop_condition: 1e+36 yr
max_iter_stop_condition: -1111
metallicity: 0.02
min_timestep_stop_condition: 1e-06 s
mixing_length_ratio: 2.0
reimers_wind_efficiency: 0.5
semi_convection_efficiency: 1.0
stabilize_new_stellar_model_flag: True

Indeed seems to work now. Thank you very much for your help

authors: adamparkosidis rieder rjfarmer

repo: amusecode/amuse


text:
Add base64 functions and add access function for the IO-loop(s)

Base64 encode and decode functions are added. Depends on OpenSSL is installed or not, 2 great implementations are added. 1 directly use OpenSSL functionalities and the other is using by Microsoft.
check out the "/base64" folder.
Add access function for IO-loop(s). This maybe useful for events/actions that needed to be executed by the IO-loop, e.g. sending EMailsssss.

@ihmc3jn09hk Thank your very much!
But there are already Base64 Codecs in drogon:
https://github.com/an-tao/drogon/blob/b733eee7e4bfe5bb1f42ddba28429edb274ec89a/lib/inc/drogon/utils/Utilities.h#L56-L62
And some commits of the PR have been merged in master of drogon in the #345 , please make the PR based on the last commit of drogon. (Note: I use squash and merge to accept your PR #345 , so your drogon repository does not have the last commit of drogon, please force your repository to be updated and then make the new PR).

@an-tao Yeah, just realized the Ultilities.h . My bad.
Shall fix it.

source: gharchive/pull-request

repo: an-tao/drogon

license: MIT

license_type: permissive

license_source: github-api


text:
Refactored code broke it

I reviewed https://github.com/anaclumos/bing-chat-for-all-browsers/blob/main/src/background.ts#L12-L13
Basically you set header.value to DESKTOP_UA and then check if it contains 'mobile', which will never happen because you set header.value to DESKTOP_UA.

Suggested change:
chrome.webRequest.onBeforeSendHeaders.addListener(
  (details) => {
    const { requestHeaders } = details
    if (!requestHeaders) return undefined
    const newHeaders = requestHeaders.map((header) => {
      if (header.name.toLowerCase() === 'user-agent') {
        if (header.value?.toLowerCase().includes('mobile'))
          header.value = MOBILE_UA;
        else
          header.value = DESKTOP_UA;
      }
      return header
    })
    return { requestHeaders: newHeaders }
  },
  { urls: ['*://*.bing.com/*'] },
  ['blocking', 'requestHeaders']
)

Oh, what a newbie mistake. Will issue a fix right away.

Thanks, I was confused for a second and thought it was my fault :)

Thanks!

source: gharchive/issue

repo: anaclumos/bing-chat-for-all-browsers


text:
Agent: Support sending large execution logs / debug info in several POST requests

500 Server Error for HTTP POST "/executionLogs"
org.springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144
	at org.springframework.core.io.buffer.LimitedDataBufferList.raiseLimitException(LimitedDataBufferList.java:98)
	Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
	|_ checkpoint ? org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain]
	|_ checkpoint ? HTTP POST "/executionLogs" [ExceptionHandlingWebHandler]
Stack trace:

It might make sense to change request type from plain JSON with text to multipart/form-data

It might make sense to change request type from plain JSON with text to multipart/form-data

You think we need to put logs into the compressed file?

I do not think that multipart data will work good with a data in a serializable data class:
https://stackoverflow.com/questions/69628364/kotlin-ktor-request-class-for-multipart-form-data

You think we need to put logs into the compressed file? Or you suggest to use binary format @petertrr

I think, at first we can try to send them as multipart instead of application/json, because for multipart Spring has different receiving logic without data size limits. ktor-client should be able to do this: https://ktor.io/docs/request.html#upload_file.

You think we need to put logs into the compressed file? Or you suggest to use binary format @petertrr

I think, at first we can try to send them as multipart instead of application/json, because for multipart Spring has different receiving logic without data size limits. ktor-client should be able to do this: https://ktor.io/docs/request.html#upload_file.
Compression of text data should also help, but it can be added later and be sent as multipart/form-data as well

Why do not simply increase the limits for now by spring.codec.max-in-memory-size?

Why do not simply increase the limits for now by spring.codec.max-in-memory-size?

It will still lead to possibly undetermined behavior, some new combination of tools and test suites might introduce even greater amounts of data.

You think we need to put logs into the compressed file? Or you suggest to use binary format @petertrr

I think, at first we can try to send them as multipart instead of application/json, because for multipart Spring has different receiving logic without data size limits. ktor-client should be able to do this: https://ktor.io/docs/request.html#upload_file.
Compression of text data should also help, but it can be added later and be sent as multipart/form-data as well

right now we are reaching the limit of 0.2Mb, seriously? :)
Just change the limit on the backend and that's all. 100Mb is fine

Oh, I looked into the code, this data class should have never exist. We read file -> store logs into JSON -> serialize -> transfer -> deserialize -> write into the file on backend

Temporary solution provided in https://github.com/analysis-dev/save-cloud/pull/569, by increasing the limits of buffer,
changing content type in https://github.com/analysis-dev/save-cloud/pull/568 require more investigations. Problem, probably, because of https://youtrack.jetbrains.com/issue/KTOR-2947

authors: akuleshov7 kgevorkyan petertrr

repo: analysis-dev/save-cloud


text:
materialized: incremental fails if table does not already exist

When setting a table to incremental, dbt throws the following error if the table does not already exist:
aggregates not allowed in WHERE clause

Ideally, when set to incremental, dbt would check if the table exists, and if it does not, build the table. It works fine in cases where the table already exists.

Agree--100%, that is the intended goal. If it's not working in the case of the table not yet existing that's a bug.

@duncancfraser -- this is supposed to work! I could foresee an issue where dbt would get confused if the table schema changes between dbt incremental runs, but there's definitely logic in there to create a new table if one doesn't exist for incremental models.
Can you send me (here or via email) the relevant output from logs/dbt.log -- would love to get this working properly.

@drewbanin sure thing!
create temporary table "address_lookup__dbt_incremental_tmp" diststyle key distkey ("address_id") compound sortkey ("address_id", "zipcode") as (
    select * from (
        with __dbt__CTE__spree_countries as
  (select *
   from storefront.spree_countries),
     __dbt__CTE__dma_zip_map as
  (select *
   from maps.zip_to_dma),
     __dbt__CTE__zip_code_tax_rates as
  (select *
   from storefront.zip_code_tax_rates),
     __dbt__CTE__spree_states as
  (select *
   from storefront.spree_states),
     __dbt__CTE__household_by_dma_2015 as
  (select *
   from maps.hh_dma_2015_stats ),
     __dbt__CTE__courier_zones as
  (select *
   from maps.courier_zones),
     __dbt__CTE__spree_addresses as
  (select *,
          case
              when address1 similar to '%(45 Bond|47-09 30th St|37 E 18th|37 East 18th|151 W. 26th St.|151 West 26th St.)%' then true
              else false
          end as is_casper_address
   from storefront.spree_addresses)
select sa.id as address_id,
       sa.updated_at,
       sa.firstname,
       sa.lastname,
       sa.address1,
       sa.address2,
       sa.city,
       sa.is_casper_address,
       sa.zipcode,
       cty.iso as country_iso,
       cty.iso3 as country_iso3,
       cty.name as country,
       sst.name as state,
       sst.abbr as state_code,
       dmz.dma_name,
       dmz.dma_code,
       cz.carrier_name as courier_name,
       cz.courier_region,
       cz.max_delivery_date,
       cz.min_delivery_date,
       cz.status as courier_zone_status,
       ztr.tax_region_code,
       ztr.tax_region_name,
       ztr.combined_rate as combined_tax_rate,
       ztr.state_rate as state_tax_rate,
       ztr.county_rate as country_tax_rate,
       ztr.city_rate as city_tax_rate,
       ztr.special_rate as special_tax_rate,
       hh.household_count,
       hh.population_12_and_older,
       hh.household_rank
from __dbt__CTE__spree_addresses sa
left join __dbt__CTE__spree_countries cty on sa.country_id = cty.id
left join __dbt__CTE__spree_states sst on sst.id = sa.state_id
left join __dbt__CTE__dma_zip_map dmz on dmz.zip = sa.zipcode
left join __dbt__CTE__courier_zones cz on cz.zip_code = sa.zipcode
left join __dbt__CTE__zip_code_tax_rates ztr on ztr.zip_code = sa.zipcode
left join __dbt__CTE__household_by_dma_2015 hh on hh.dma_code = dmz.dma_code
    ) as tmp limit 0
);

create table if not exists "analytics"."address_lookup" (like "address_lookup__dbt_incremental_tmp");

delete from "analytics"."address_lookup" where  (address_id) in (
    with dbt_delete_sbq as (
        with __dbt__CTE__spree_countries as
  (select *
   from storefront.spree_countries),
     __dbt__CTE__dma_zip_map as
  (select *
   from maps.zip_to_dma),
     __dbt__CTE__zip_code_tax_rates as
  (select *
   from storefront.zip_code_tax_rates),
     __dbt__CTE__spree_states as
  (select *
   from storefront.spree_states),
     __dbt__CTE__household_by_dma_2015 as
  (select *
   from maps.hh_dma_2015_stats ),
     __dbt__CTE__courier_zones as
  (select *
   from maps.courier_zones),
     __dbt__CTE__spree_addresses as
  (select *,
          case
              when address1 similar to '%(45 Bond|47-09 30th St|37 E 18th|37 East 18th|151 W. 26th St.|151 West 26th St.)%' then true
              else false
          end as is_casper_address
   from storefront.spree_addresses)
select sa.id as address_id,
       sa.updated_at,
       sa.firstname,
       sa.lastname,
       sa.address1,
       sa.address2,
       sa.city,
       sa.is_casper_address,
       sa.zipcode,
       cty.iso as country_iso,
       cty.iso3 as country_iso3,
       cty.name as country,
       sst.name as state,
       sst.abbr as state_code,
       dmz.dma_name,
       dmz.dma_code,
       cz.carrier_name as courier_name,
       cz.courier_region,
       cz.max_delivery_date,
       cz.min_delivery_date,
       cz.status as courier_zone_status,
       ztr.tax_region_code,
       ztr.tax_region_name,
       ztr.combined_rate as combined_tax_rate,
       ztr.state_rate as state_tax_rate,
       ztr.county_rate as country_tax_rate,
       ztr.city_rate as city_tax_rate,
       ztr.special_rate as special_tax_rate,
       hh.household_count,
       hh.population_12_and_older,
       hh.household_rank
from __dbt__CTE__spree_addresses sa
left join __dbt__CTE__spree_countries cty on sa.country_id = cty.id
left join __dbt__CTE__spree_states sst on sst.id = sa.state_id
left join __dbt__CTE__dma_zip_map dmz on dmz.zip = sa.zipcode
left join __dbt__CTE__courier_zones cz on cz.zip_code = sa.zipcode
left join __dbt__CTE__zip_code_tax_rates ztr on ztr.zip_code = sa.zipcode
left join __dbt__CTE__household_by_dma_2015 hh on hh.dma_code = dmz.dma_code
    )
    select (address_id) from dbt_delete_sbq
    where (updated_at > (select max(updated_at) from "analytics"."address_lookup")) or (updated_at > (select max(updated_at) from "analytics"."address_lookup")) is null
);

insert into "analytics"."address_lookup" (
    with dbt_incr_sbq as (
        with __dbt__CTE__spree_countries as
  (select *
   from storefront.spree_countries),
     __dbt__CTE__dma_zip_map as
  (select *
   from maps.zip_to_dma),
     __dbt__CTE__zip_code_tax_rates as
  (select *
   from storefront.zip_code_tax_rates),
     __dbt__CTE__spree_states as
  (select *
   from storefront.spree_states),
     __dbt__CTE__household_by_dma_2015 as
  (select *
   from maps.hh_dma_2015_stats ),
     __dbt__CTE__courier_zones as
  (select *
   from maps.courier_zones),
     __dbt__CTE__spree_addresses as
  (select *,
          case
              when address1 similar to '%(45 Bond|47-09 30th St|37 E 18th|37 East 18th|151 W. 26th St.|151 West 26th St.)%' then true
              else false
          end as is_casper_address
   from storefront.spree_addresses)
select sa.id as address_id,
       sa.updated_at,
       sa.firstname,
       sa.lastname,
       sa.address1,
       sa.address2,
       sa.city,
       sa.is_casper_address,
       sa.zipcode,
       cty.iso as country_iso,
       cty.iso3 as country_iso3,
       cty.name as country,
       sst.name as state,
       sst.abbr as state_code,
       dmz.dma_name,
       dmz.dma_code,
       cz.carrier_name as courier_name,
       cz.courier_region,
       cz.max_delivery_date,
       cz.min_delivery_date,
       cz.status as courier_zone_status,
       ztr.tax_region_code,
       ztr.tax_region_name,
       ztr.combined_rate as combined_tax_rate,
       ztr.state_rate as state_tax_rate,
       ztr.county_rate as country_tax_rate,
       ztr.city_rate as city_tax_rate,
       ztr.special_rate as special_tax_rate,
       hh.household_count,
       hh.population_12_and_older,
       hh.household_rank
from __dbt__CTE__spree_addresses sa
left join __dbt__CTE__spree_countries cty on sa.country_id = cty.id
left join __dbt__CTE__spree_states sst on sst.id = sa.state_id
left join __dbt__CTE__dma_zip_map dmz on dmz.zip = sa.zipcode
left join __dbt__CTE__courier_zones cz on cz.zip_code = sa.zipcode
left join __dbt__CTE__zip_code_tax_rates ztr on ztr.zip_code = sa.zipcode
left join __dbt__CTE__household_by_dma_2015 hh on hh.dma_code = dmz.dma_code
    )
    select * from dbt_incr_sbq
    where (updated_at > (select max(updated_at) from "analytics"."address_lookup")) or (updated_at > (select max(updated_at) from "analytics"."address_lookup")) is null
);

2016-08-28 16:45:40,173 - dbt.schema - ERROR - Thread-2 - Error running SQL: -- Compiled by DBT

create temporary table "address_lookup__dbt_incremental_tmp" diststyle key distkey ("address_id") compound sortkey ("address_id", "zipcode") as (
    select * from (
        with __dbt__CTE__spree_countries as
  (select *
   from storefront.spree_countries),
     __dbt__CTE__dma_zip_map as
  (select *
   from maps.zip_to_dma),
     __dbt__CTE__zip_code_tax_rates as
  (select *
   from storefront.zip_code_tax_rates),
     __dbt__CTE__spree_states as
  (select *
   from storefront.spree_states),
     __dbt__CTE__household_by_dma_2015 as
  (select *
   from maps.hh_dma_2015_stats ),
     __dbt__CTE__courier_zones as
  (select *
   from maps.courier_zones),
     __dbt__CTE__spree_addresses as
  (select *,
          case
              when address1 similar to '%(45 Bond|47-09 30th St|37 E 18th|37 East 18th|151 W. 26th St.|151 West 26th St.)%' then true
              else false
          end as is_casper_address
   from storefront.spree_addresses)
select sa.id as address_id,
       sa.updated_at,
       sa.firstname,
       sa.lastname,
       sa.address1,
       sa.address2,
       sa.city,
       sa.is_casper_address,
       sa.zipcode,
       cty.iso as country_iso,
       cty.iso3 as country_iso3,
       cty.name as country,
       sst.name as state,
       sst.abbr as state_code,
       dmz.dma_name,
       dmz.dma_code,
       cz.carrier_name as courier_name,
       cz.courier_region,
       cz.max_delivery_date,
       cz.min_delivery_date,
       cz.status as courier_zone_status,
       ztr.tax_region_code,
       ztr.tax_region_name,
       ztr.combined_rate as combined_tax_rate,
       ztr.state_rate as state_tax_rate,
       ztr.county_rate as country_tax_rate,
       ztr.city_rate as city_tax_rate,
       ztr.special_rate as special_tax_rate,
       hh.household_count,
       hh.population_12_and_older,
       hh.household_rank
from __dbt__CTE__spree_addresses sa
left join __dbt__CTE__spree_countries cty on sa.country_id = cty.id
left join __dbt__CTE__spree_states sst on sst.id = sa.state_id
left join __dbt__CTE__dma_zip_map dmz on dmz.zip = sa.zipcode
left join __dbt__CTE__courier_zones cz on cz.zip_code = sa.zipcode
left join __dbt__CTE__zip_code_tax_rates ztr on ztr.zip_code = sa.zipcode
left join __dbt__CTE__household_by_dma_2015 hh on hh.dma_code = dmz.dma_code
    ) as tmp limit 0
);

create table if not exists "analytics"."address_lookup" (like "address_lookup__dbt_incremental_tmp");

delete from "analytics"."address_lookup" where  (address_id) in (
    with dbt_delete_sbq as (
        with __dbt__CTE__spree_countries as
  (select *
   from storefront.spree_countries),
     __dbt__CTE__dma_zip_map as
  (select *
   from maps.zip_to_dma),
     __dbt__CTE__zip_code_tax_rates as
  (select *
   from storefront.zip_code_tax_rates),
     __dbt__CTE__spree_states as
  (select *
   from storefront.spree_states),
     __dbt__CTE__household_by_dma_2015 as
  (select *
   from maps.hh_dma_2015_stats ),
     __dbt__CTE__courier_zones as
  (select *
   from maps.courier_zones),
     __dbt__CTE__spree_addresses as
  (select *,
          case
              when address1 similar to '%(45 Bond|47-09 30th St|37 E 18th|37 East 18th|151 W. 26th St.|151 West 26th St.)%' then true
              else false
          end as is_casper_address
   from storefront.spree_addresses)
select sa.id as address_id,
       sa.updated_at,
       sa.firstname,
       sa.lastname,
       sa.address1,
       sa.address2,
       sa.city,
       sa.is_casper_address,
       sa.zipcode,
       cty.iso as country_iso,
       cty.iso3 as country_iso3,
       cty.name as country,
       sst.name as state,
       sst.abbr as state_code,
       dmz.dma_name,
       dmz.dma_code,
       cz.carrier_name as courier_name,
       cz.courier_region,
       cz.max_delivery_date,
       cz.min_delivery_date,
       cz.status as courier_zone_status,
       ztr.tax_region_code,
       ztr.tax_region_name,
       ztr.combined_rate as combined_tax_rate,
       ztr.state_rate as state_tax_rate,
       ztr.county_rate as country_tax_rate,
       ztr.city_rate as city_tax_rate,
       ztr.special_rate as special_tax_rate,
       hh.household_count,
       hh.population_12_and_older,
       hh.household_rank
from __dbt__CTE__spree_addresses sa
left join __dbt__CTE__spree_countries cty on sa.country_id = cty.id
left join __dbt__CTE__spree_states sst on sst.id = sa.state_id
left join __dbt__CTE__dma_zip_map dmz on dmz.zip = sa.zipcode
left join __dbt__CTE__courier_zones cz on cz.zip_code = sa.zipcode
left join __dbt__CTE__zip_code_tax_rates ztr on ztr.zip_code = sa.zipcode
left join __dbt__CTE__household_by_dma_2015 hh on hh.dma_code = dmz.dma_code
    )
    select (address_id) from dbt_delete_sbq
    where (updated_at > (select max(updated_at) from "analytics"."address_lookup")) or (updated_at > (select max(updated_at) from "analytics"."address_lookup")) is null
);

insert into "analytics"."address_lookup" (
    with dbt_incr_sbq as (
        with __dbt__CTE__spree_countries as
  (select *
   from storefront.spree_countries),
     __dbt__CTE__dma_zip_map as
  (select *
   from maps.zip_to_dma),
     __dbt__CTE__zip_code_tax_rates as
  (select *
   from storefront.zip_code_tax_rates),
     __dbt__CTE__spree_states as
  (select *
   from storefront.spree_states),
     __dbt__CTE__household_by_dma_2015 as
  (select *
   from maps.hh_dma_2015_stats ),
     __dbt__CTE__courier_zones as
  (select *
   from maps.courier_zones),
     __dbt__CTE__spree_addresses as
  (select *,
          case
              when address1 similar to '%(45 Bond|47-09 30th St|37 E 18th|37 East 18th|151 W. 26th St.|151 West 26th St.)%' then true
              else false
          end as is_casper_address
   from storefront.spree_addresses)
select sa.id as address_id,
       sa.updated_at,
       sa.firstname,
       sa.lastname,
       sa.address1,
       sa.address2,
       sa.city,
       sa.is_casper_address,
       sa.zipcode,
       cty.iso as country_iso,
       cty.iso3 as country_iso3,
       cty.name as country,
       sst.name as state,
       sst.abbr as state_code,
       dmz.dma_name,
       dmz.dma_code,
       cz.carrier_name as courier_name,
       cz.courier_region,
       cz.max_delivery_date,
       cz.min_delivery_date,
       cz.status as courier_zone_status,
       ztr.tax_region_code,
       ztr.tax_region_name,
       ztr.combined_rate as combined_tax_rate,
       ztr.state_rate as state_tax_rate,
       ztr.county_rate as country_tax_rate,
       ztr.city_rate as city_tax_rate,
       ztr.special_rate as special_tax_rate,
       hh.household_count,
       hh.population_12_and_older,
       hh.household_rank
from __dbt__CTE__spree_addresses sa
left join __dbt__CTE__spree_countries cty on sa.country_id = cty.id
left join __dbt__CTE__spree_states sst on sst.id = sa.state_id
left join __dbt__CTE__dma_zip_map dmz on dmz.zip = sa.zipcode
left join __dbt__CTE__courier_zones cz on cz.zip_code = sa.zipcode
left join __dbt__CTE__zip_code_tax_rates ztr on ztr.zip_code = sa.zipcode
left join __dbt__CTE__household_by_dma_2015 hh on hh.dma_code = dmz.dma_code
    )
    select * from dbt_incr_sbq
    where (updated_at > (select max(updated_at) from "analytics"."address_lookup")) or (updated_at > (select max(updated_at) from "analytics"."address_lookup")) is null
);

Traceback (most recent call last):
  File "/Users/duncan.fraser/anaconda2/lib/python2.7/site-packages/dbt/schema.py", line 61, in execute
    cursor.execute(sql)
ProgrammingError: aggregates not allowed in WHERE clause

2016-08-28 16:45:40,173 - dbt.schema - DEBUG - Thread-2 - rolling back connection
2016-08-28 16:45:40,174 - dbt.runner - ERROR - Thread-2 - Error executing target/build/Casper/fat/address_lookup.sql
aggregates not allowed in WHERE clause
Traceback (most recent call last):
  File "/Users/duncan.fraser/anaconda2/lib/python2.7/site-packages/dbt/runner.py", line 239, in safe_execute_model
    status = self.execute_model(runner, model)
  File "/Users/duncan.fraser/anaconda2/lib/python2.7/site-packages/dbt/runner.py", line 229, in execute_model
    result = runner.execute(self.schema, self.target, model)
  File "/Users/duncan.fraser/anaconda2/lib/python2.7/site-packages/dbt/runner.py", line 102, in execute
    status = schema.execute_and_handle_permissions(model.contents, model.name)
  File "/Users/duncan.fraser/anaconda2/lib/python2.7/site-packages/dbt/schema.py", line 99, in execute_and_handle_permissions
    raise e
ProgrammingError: aggregates not allowed in WHERE clause

@duncancfraser this is a strange one -- the above SQL should work as expected. Moreover, there aren't any aggregates in any of the where clauses, so the aggregates not allowed in WHERE clause error message doesn't seem like a reasonable one. Are you still having a problem with this?

re: "work as expected" -- if you run the SELECT part of the query inside of the INSERT statement, you get back a result set without any errors! strange

Closing this!

authors: drewbanin duncancfraser jthandy

repo: analyst-collective/dbt

license_source: bigquery


text:
(deploy) user is not allowed to execute '/bin/sh /tmp/escheduler/exec/process

[INFO] 2019-06-20 10:12:41.479 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_1_5_6]  -> Sorry, user escheduler is not allowed to execute '/bin/sh /tmp/escheduler/exec/process/1/1/4/5/1_4_5.command' as escheduler on 192.168.x.x.

创建了租户 escheduler 之后使用租户 escheduler创建用户 test，使用test执行 shell 脚本程序出现了上面的错误。
[escheduler@node1 /opt/escheduler/logs]$ vim /opt/escheduler/logs/1/5/6.log
[INFO] 2019-06-20 10:12:41.479 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_1_5_6]  -> Sorry, user escheduler is not allowed to execute '/bin/sh /tmp/escheduler/exec/process/1/1/5/6/1_5_6.command' as escheduler on node1.

vim escheduler-api-server.log
[INFO] 2019-06-20 10:21:34.834 cn.escheduler.api.controller.ExecutorController:[154] - login user test, get process definition receiver and cc
[INFO] 2019-06-20 10:21:34.834 cn.escheduler.api.service.ExecutorService:[373] - processInstanceId null
[INFO] 2019-06-20 10:21:36.825 cn.escheduler.api.service.SessionService:[69] - get session: 4784e8bd-49e2-4d67-a2d0-a1b25980e129, ip: 192.168.199.81
[INFO] 2019-06-20 10:21:36.828 cn.escheduler.api.controller.ExecutorController:[72] - login user test, start process instance, project name: 离线数仓测试, process definition id: 2, schedule time: , failure policy: CONTINUE, node name: TASK_POST, node dep: NONE, notify type: 0, notify group id: ,receivers:,receiversCc:RUN_MODE_SERIAL, run mode: MEDIUM,process instance priority:-1, workerGroupId: null, timeout: {}
[INFO] 2019-06-20 10:21:37.034 cn.escheduler.api.service.SessionService:[69] - get session: 4784e8bd-49e2-4d67-a2d0-a1b25980e129, ip: 192.168.199.81
[INFO] 2019-06-20 10:21:37.036 cn.escheduler.api.controller.ProcessDefinitionController:[234] - query proccess definition list paging, login user:test, project name:离线数仓测试
[INFO] 2019-06-20 10:21:39.683 cn.escheduler.api.service.SessionService:[69] - get session: 4784e8bd-49e2-4d67-a2d0-a1b25980e129, ip: 192.168.199.81
[INFO] 2019-06-20 10:21:39.686 cn.escheduler.api.controller.ProcessInstanceController:[74] - query all process instance list, login user:test,project name:离线数仓测试, define id:0,search value:,state type:null,host:,start time:, end time:,page number:1, page size:10
[INFO] 2019-06-20 10:21:53.769 cn.escheduler.api.service.SessionService:[69] - get session: 4784e8bd-49e2-4d67-a2d0-a1b25980e129, ip: 192.168.199.81
[INFO] 2019-06-20 10:21:53.772 cn.escheduler.api.controller.TaskInstanceController:[70] - query task instance list, project name:离线数仓测试,process instance:0, search value:,task name:null, state type:null, host:, start:, end:
[INFO] 2019-06-20 10:21:55.963 cn.escheduler.api.service.SessionService:[69] - get session: 4784e8bd-49e2-4d67-a2d0-a1b25980e129, ip: 192.168.199.81
[INFO] 2019-06-20 10:21:55.966 cn.escheduler.api.controller.LoggerController:[60] - login user test, view 7 task instance log ,skipLineNum 0 , limit 10000
[INFO] 2019-06-20 10:21:55.968 cn.escheduler.api.service.LoggerService:[57] - log host : 192.168.199.5 , logPath : /opt/escheduler/logs/2/6/7.log , logServer port : 50051
[INFO] 2019-06-20 10:21:55.969 cn.escheduler.api.log.LogClient:[79] - roll view log : path /opt/escheduler/logs/2/6/7.log,skipLineNum 0 ,limit 10000
[INFO] 2019-06-20 10:21:55.985 cn.escheduler.api.service.LoggerService:[65] - [INFO] 2019-06-20 10:21:40.171 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_7]  -> Sorry, user escheduler is not allowed to execute '/bin/sh /tmp/escheduler/exec/process/1/2/6/7/2_6_7.command' as escheduler on node1.^M

vim escheduler-worker.log
[INFO] 2019-06-20 10:23:46.934 cn.escheduler.common.queue.TaskQueueZkImpl:[181] - consume task /escheduler/tasks_queue/2_6_2_9
[INFO] 2019-06-20 10:23:46.934 cn.escheduler.common.queue.TaskQueueZkImpl:[188] - consume task: 9,there still have 0 tasks need to be executed
[INFO] 2019-06-20 10:23:46.937 cn.escheduler.server.worker.runner.FetchTaskThread:[170] - worker fetch taskId : 9 from queue
[INFO] 2019-06-20 10:23:46.942 cn.escheduler.common.queue.TaskQueueZkImpl:[207] - consume task /escheduler/tasks_queue/2_6_2_9
[INFO] 2019-06-20 10:23:46.944 cn.escheduler.server.worker.runner.FetchTaskThread:[188] - remove task:2_6_2_9 from queue
[INFO] 2019-06-20 10:23:46.949 cn.escheduler.server.worker.runner.FetchTaskThread:[211] - task instance  local execute path : /tmp/escheduler/exec/process/1/2/6/9
[INFO] 2019-06-20 10:23:46.949 cn.escheduler.server.worker.runner.FetchTaskThread:[221] - task : 9 ready to submit to task scheduler thread
[INFO] 2019-06-20 10:23:46.954 cn.escheduler.server.worker.runner.TaskScheduleThread:[133] - script path : /tmp/escheduler/exec/process/1/2/6/9
[INFO] 2019-06-20 10:23:46.959 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] shell task params {"rawScript":"sh /start_run/123.sh","localParams":[],"resourceList":[]}
[INFO] 2019-06-20 10:23:46.962 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] raw script : sh /start_run/123.sh
[INFO] 2019-06-20 10:23:46.962 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] task dir : /tmp/escheduler/exec/process/1/2/6/9
[INFO] 2019-06-20 10:23:46.962 cn.escheduler.server.worker.log.TaskLogger:[183] - [taskAppId=TASK_2_6_9] tenantCode user:escheduler, task dir:2_6_9
[INFO] 2019-06-20 10:23:46.963 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] create command file:/tmp/escheduler/exec/process/1/2/6/9/2_6_9.command
[INFO] 2019-06-20 10:23:46.963 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] command : #!/bin/sh
BASEDIR=$(cd dirname $0; pwd)
cd $BASEDIR
source /opt/escheduler/conf/env/.escheduler_env.sh
/tmp/escheduler/exec/process/1/2/6/9/2_6_9_node.sh
[INFO] 2019-06-20 10:23:46.964 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] task run command:
sudo -u escheduler sh /tmp/escheduler/exec/process/1/2/6/9/2_6_9.command
[INFO] 2019-06-20 10:23:46.968 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] process start, process id is: 1762
[INFO] 2019-06-20 10:23:46.975 cn.escheduler.server.worker.log.TaskLogger:[188] - [taskAppId=TASK_2_6_9] process has exited, work dir:/tmp/escheduler/exec/process/1/2/6/9, pid:1762 ,exitStatusCode:1
[INFO] 2019-06-20 10:23:46.978 cn.escheduler.server.worker.log.TaskLogger:[178] - [taskAppId=TASK_2_6_9] process id is 1762
[INFO] 2019-06-20 10:23:46.978 cn.escheduler.server.worker.runner.TaskScheduleThread:[198] - task : 2_6_9 exit status code : 1

CentOS 还是 Ubuntu ?

CentOS 7.

发现问题了，
sudo -u escheduler sh /tmp/escheduler/exec/process/1/2/6/9/2_6_9.command
会报权限问题
sudo sudo -u escheduler sh /tmp/escheduler/exec/process/1/2/6/9/2_6_9.command 则可以正确执行。

1，vi /etc/sudoers
例如部署用户是escheduler账号
escheduler  ALL=(ALL)       NOPASSWD: NOPASSWD: ALL
并且需要注释掉 Default requiretty 一行
#Default requiretty
#Default requiretty 这注释了吗？
2，这是通过install安装的，还是自己手动安装的？看你command权限，默认我们生成的都是有读和执行权限的

1，vi /etc/sudoers
例如部署用户是escheduler账号
escheduler ALL=(ALL) NOPASSWD: NOPASSWD: ALL
并且需要注释掉 Default requiretty 一行
#Default requiretty
#Default requiretty 这注释了吗？
2，这是通过install安装的，还是自己手动安装的？看你command权限，默认我们生成的都是有读和执行权限的

install安装的,
公司机器不允许加免密所有用户权限。

authors: chinashenkai qiaozhanwei

repo: analysys/EasyScheduler


text:
Any tutorials for complete beginners?

I guess this project is supposed to simplify the Hadoop installation process, so it would be great to create a step-by-step tutorial on how to set everything up - from the very beginning to the complete running cluster.
I (personally) am aware of Hadoop setup and installation and find it bit complicated, too java'ish and long. So it would be nice to have a really smart tool to install everything in maximum 5 minutes - from spinning up instances to starting the Hadoop task. At the same time, I'm not aware of Ansible, and I think that a good tutorial for complete Ansible noobs is a good thing to have.
Thanks ;)

A tutorial would be helpful for beginner.

repo: analytically/hadoop-ansible


text:
Reliance on tensorflow problematic

Tensor flow reliance is a complete nightmare when using in any environment with node or compiling with webpack for the browser.
Node:
Nodejs Environment detected
2018-11-22 11:42:26.099821: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.2 AVX AVX2 FMA
(node:85351) UnhandledPromiseRejectionWarning: ReferenceError: tf is not defined
webpack:
[es]     WARNING in ./node_modules/bindings/bindings.js 81:22-40
[es]     Critical dependency: the request of a dependency is an expression
[es]      @ ./node_modules/@tensorflow/tfjs-node/dist/index.js
[es]      @ ./node_modules/technicalindicators/lib/patterndetection/patterndetection.js
[es]      @ ./node_modules/technicalindicators/lib/index.js
[es]     WARNING in ./node_modules/bindings/bindings.js 81:43-53
[es]     Critical dependency: the request of a dependency is an expression
[es]      @ ./node_modules/@tensorflow/tfjs-node/dist/index.js
[es]      @ ./node_modules/technicalindicators/lib/patterndetection/patterndetection.js
[es]      @ ./node_modules/technicalindicators/lib/index.js

Yeah, I get the same "ReferenceError: tf is not defined" on startup.

It is fixed in technicalindicators@2.0.7. Please verify

i am still getting ```2019-04-13 13:13:07.368884: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.2 AVX AVX2 FMA

license: mit


text:
Fix deprecations with Elixir 1.14

Elixir 1.14 deprecates use Bitwise in favour of import Bitwise. This PR fixes those and updates the tool-versions file.
This is not backwards compatible with previous versions, so it probably makes sense to make this a new major version release and to have the older releases to support older versions of Elixir.

is this actually a breaking change? The old doc says "When invoked with no options, use Bitwise is equivalent to import Bitwise.". I don't see any test failures as well. Btw, CI is not running 1.14, you need to update https://github.com/ananthakumaran/zstream/blob/master/.github/workflows/ci.yml#L20-L24

is this actually a breaking change?

Seems like it's not. I reverted the tools-version change and adding 1.14 to CI. So this will just fix the deprecation warning in 1.14, but should be backwards compatible still.

authors: ananthakumaran geofflane

repo: ananthakumaran/zstream


text:
Allow user to provide their own HTTP client.

Per this issue -- https://github.com/invertase/dart_edge/issues/34 this library is hard to use with serverless functions. It would be nice if this library allowed users to provide their own HTTP client for use such as supabase or https://pub.dev/documentation/googleapis_auth/latest/auth_io/clientViaServiceAccount.html.

Hello, thank you for mentioning this!
Please, if you can, can you provide me with a clear explanation of the difference between having an internal http client and providing a way to assign a new one externally.
and if I am getting it right, you mean that all methods in client.dart should use that http client, right?
Thank you

Exactly. Sometimes environments have specific requirements that cause devs to modify or create their own HTTP client. If we could optionally specify our own client and all methods used the custom http, devs could fix these problems without submitting issues here.

Seems good to me, working on it!

starting from 1.9.93, all package method that uses an HTTP client internally offers now the option to set your custom client to:
final cmpl = await OpenAI.instance.completion.create(
  // ...
  client: MyCustomClient(),
);

@anasfik is there a way to update the instance's client globally? This works for completions but I cannot use with other modules like transcription.

authors: MichealReed anasfik

repo: anasfik/openai


text:
1.5.0.-rc9Issue MO-BlendshapeSyncコンポネートを無視する

MO-BlendshapeSyncコンポネートを載せて、一つ以上のBlendShapeを親元とリンクした状態のSkinedMeshをMergeSkinedMeshを対象にしても、BlendShapeSyncの対象からは外れてしまうようです。
逆に、MergeSkinedMeshにBlendShapeSyncコンポネートをつけて設定しても、無視されてしまうようです。
現状ではBlendshapeSyncを前提としたメッシュは、統合が難しいという感じになっています。

MOとかいてありますがModularAvatarのことだと推測して書きます。
そもそもAvatarOptimizerを動かさない状態にしてもBlendShape SyncのアニメーションのSync機能が動いていないように見えます。(bdunderscore/modular-avatar/issues/461)そのためAAOの問題ではないと思われます

修正されたはずな状態になってから一週間経ったのでCloseします


text:
Fix roll in Merge PhysBone

Fixes #665

[x] initial implementation
[x] validations

[x] rotation curve validation
[x] endpoint position should be zero or clear

これってもしかして、TransformアニメーションとかConstraint(軸指定あり)でソースにしてたりとかあったら壊れたりします?

とりあえず翻訳やってみました

Note: WarningはRCになってからでいいやと思ってます。

なんか微妙に勘違いしてましたが、これ"rollの値を揃える"っていうのがPB Component視点で、実際はそれが揃うようにボーンのRotationを弄っている感じであってます?

だいたいあってる


text:
Loader states

Hi, this is great work.
I think it would be a great idea to also incorporate a isLoading prop to control any loading states? Wdyt @anatoliygatt ?

Hi @TheGooner93. Thank you, glad you liked it!
I'm not sure what it's actually for, nor have I ever seen this pattern being used in any of the libraries that are implementing form inputs (including toggle switch).
I can see two possible use cases where isLoading might be useful, but we can easily overcome it with the already existing attributes and best practices:

If you want to make a toggle switch's state immutable while submitting a form, you can use a disabled or an aria-disabled attribute for this very purpose.
If you want to load a form's state from an API, you shouldn't display a form in an unknown state in the first place. Use some sort of a loading spinner and then render the whole form whenever its state will become available.

Let me know what you think!

Yeah what I'm thinking of is your point regarding integration with an API. Suppose toggling this switch is not being used as part of a form, but as a standalone input to perform an action ( for eg.  adding a product to a wishlist in an ecommerce website) then a loading state would be sensible.
The loading state within the input(as opposed to an entire page loading) would be definitely optional and nice to have. Feels like better UX too imo

I see. In this case, I would use another best practice, optimistic UI. Think of a "Like" button on Twitter, when you click on it, it will animate immediately and then if something goes wrong, it will just restore itself to the original state and show some sort of toast with an error message.

Yes exactly. I do have a PR ready for this. I will update once I fix the snapshot tests.

Well, PR is not required here. When implementing optimistic UI you can, for example, set checked to true immediately and then set it back to false if an error is returned from an API.

Ah I see what you mean. Lets close this issue then

repo: anatoliygatt/heart-switch


text:
Read Description from dpkg status files

There are a number of fields that might appear in the status file for a Debian package. This PR adds the Description field to the set of fields parsed when cataloging Debian operating systems. This change does not include the addition of this field in any of the SBOM output formats (as far as I can tell), and is initially meant for consumption via library users taking advantage of Syft's package cataloging features. I'm not sure whether it makes sense to include it in SBOM output in the future. I don't specifically have a need for it, but I would like to see it parsed and returned within the sbom.SBOM object.

Thanks for the PR @ryanmoran! Would you be able to merge the latest changes from main and push to your branch? We recently fixed a CI test and those changes are not present in this PR which is why I think the validations are failing.

🟢 Thanks for adding the field will merge this now. If there are test issues I will jump in to try and resolve them

authors: ryanmoran spiffcs

repo: anchore/syft


text:
train1.py line 76 error

print('case: {}, logdir: {}'.format(args.case1, args.case, logdir_train1))
seen to be   print('case: {}, logdir: {}'.format( args.case, logdir_train1))

yes  you are right
but I got
ValueError: The while_v2 module is not set. Did you forget to import tensorflow.python.ops.while_v2?
ERROR:tensorflow:==================================
Object was never used (type <class 'tensorflow.python.ops.tensor_array_ops.TensorArray'>):
<tensorflow.python.ops.tensor_array_ops.TensorArray object at 0x7f8cdc579940>
If you want to mark it as used call its "mark_used()" method.
It was originally created here:
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/rnn.py", line 795, in
for ta, input_ in zip(input_ta, flat_input))  File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/tf_should_use.py", line 189, in wrapped
return _add_should_use_warning(fn(*args, **kwargs))
do you know how to solve this ?

authors: andrew-asa hyuezhi

repo: andabi/deep-voice-conversion


text:
🛑 🍛 LostArk Chinese Forum is down

In bf76f29, 🍛 LostArk Chinese Forum (https://lost-ark.top/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 🍛 LostArk Chinese Forum is back up in 01c2caa after 1 hour, 55 minutes.

repo: andatoshiki/toshiki-status


text:
Does not work at legend ranks

Plugin log
20180316 21:30:11 [DEBUG] Tracker: Mode Ranked
20180316 21:30:11 [DEBUG] Settings: Get [RecordRankedArchetypes]
20180316 21:30:11 [DEBUG] Tracker: Using default rank 25
20180316 21:30:11 [DEBUG] Settings: Get [StartRank]
20180316 21:30:11 [DEBUG] EndGame: Aborting main view navigation on 'note'

A workaround  when in legend is to put Start Rank to 25 in the settings ..

fixed , tested on 3 games
20180320 20:39:11 [DEBUG]	Settings: Set Global[StartRank]=5
20180320 20:47:00 [DEBUG]	Tracker: Legend Rank found 10425
20180320 21:02:14 [DEBUG]	Tracker: Legend Rank found 9798
20180320 21:10:16 [DEBUG]	Tracker: Legend Rank found 10397
screenshoot of ranks in stats and the icons visible ..

authors: andburn ceceita

repo: andburn/hdt-plugin-endgame


text:
Chore/#130341337/convert from grunt to gulp taskrunner

Description
This PR converts tasks from grunt task to gulp task using the corresponding gulp plugins for the tasks.

Follow the PR naming and description convention as stated in the wiki.

authors: andela-rsadiq cyrielo

repo: andela/project-kinsan


text:
edge-portable-canary@110.0.1549.0: download via aria2 failed

edge-portable-canary: 109.0.1509.0 -> 110.0.1549.0
Updating one outdated app:
Updating 'edge-portable-canary' (109.0.1509.0 -> 110.0.1549.0)
Downloading new version
Starting download with aria2 ...
Download: 12/12 02:22:03 [ERROR] CUID#8 - Download aborted. URI=https://dorado-api.deno.dev/edge?arch=86&channDownload: Exception: [AbstractCommand.cc:351] errorCode=1 URI=https://dorado-api.deno.dev/edge?arch=86&channelDownload:   -> [SocketCore.cc:1018] errorCode=1 SSL/TLS handshake failure: Error: The revocation function was Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 17c293|ERR |       0B/s|C:/Users/ariku/scoop/cache/edge-portable-canary#110.0.1549.0#https_dorado-api.deno.dev_edge_arch_86_channel_canary_dl_MicrosoftEdge-110.0.1549.0-x86.7z
Download: Status Legend:
Download: (ERR):error occurred.
Download: aria2 will resume download if the transfer is restarted.
Download: If there are any errors, then see the log file. See '-l' option in help/man page for details.

ERROR Download failed! (Error 1) An unknown error occurred
ERROR https://dorado-api.deno.dev/edge?arch=86&channel=canary&dl#/MicrosoftEdge-110.0.1549.0-x86.7z
    referer=https://dorado-api.deno.dev/edge?arch=86&channel=canary&dl#/
    dir=C:\Users\ariku\scoop\cache
    out=edge-portable-canary#110.0.1549.0#https_dorado-api.deno.dev_edge_arch_86_channel_canary_dl_MicrosoftEdge-110.0.1549.0-x86.7z

ERROR & 'C:\Users\ariku\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\ariku\scoop\cache\edge-portable-canary.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.3 (Windows NT 10.0; Win64; x64; Core)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=7556 --continue --summary-interval=0 --auto-save-interval=1
```

You're right. Looks like aria2 has problem with it. When i turn off aria2 as downloader and turn my dns off, it download normally.
edge-portable-canary: 109.0.1509.0 -> 110.0.1549.0 Updating one outdated app: Updating 'edge-portable-canary' (109.0.1509.0 -> 110.0.1549.0) Downloading new version INFO  Following redirect to http://msedge.b.tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/a43f7a09-ac6f-4fb7-bf25-a1b75dffb428?P1=1671431565&P2=404&P3=2&P4=NcfPhWDztbG%2bp7TDWzQkMTZKciaogwm2M7Q4LSCQgXvm5MKIU43vxojVbqVIuWMxIkOk7IGU7NFPybwx1L6eWw%3d%3d... MicrosoftEdge-110.0.1549.0-x86.7z (122,8 MB) [======================================================] 100% Checking hash of MicrosoftEdge-110.0.1549.0-x86.7z ... ok. Uninstalling 'edge-portable-canary' (109.0.1509.0) Unlinking ~\scoop\apps\edge-portable-canary\current Installing 'edge-portable-canary' (110.0.1549.0) [32bit] from anderlli0053_DEV-tools bucket Loading MicrosoftEdge-110.0.1549.0-x86.7z from cache Extracting MicrosoftEdge-110.0.1549.0-x86.7z ... done. Running installer script... Linking ~\scoop\apps\edge-portable-canary\current => ~\scoop\apps\edge-portable-canary\110.0.1549.0 Creating shortcut for Microsoft Edge Portable (Canary) (msedge.exe) Persisting User Data 'edge-portable-canary' (110.0.1549.0) was installed successfully!

license: Unlicense


text:
Fix risky uses of __anext__()

Calling __anext__() on an async iterable is dangerous, because not all iterables act as their own iterators, so may not have that method. These changes ensure that those calls explicitly get an iterator first (by calling __aiter__()).
Note: __aiter__() is called implicitly in async for constructs, so they don't have this risk.

Marvellous! A joy to review and merge!

authors: andersea mikenerone

repo: andersea/slurry


text:
fix: head off breaking change in ts@next

Turns out extends any is not the recommended way to do distributed conditionals. The test case for StrictUnion started breaking on typescript@next this morning.
I believe the PR where this started is here and an issue has already been filed in typescript here.
We'll need to up our minimum typescript version for this change so that we can make use of the unknown type. I'd like to go through and do some cleaning up of the repository anyways, so maybe I'll extend this PR to do a major version bump of simplytyped while I'm at it. There are a few type definitions in ST that can go away now with later versions of ts.

The broken build is here and fails with this error:
test/objects/StrictUnion.test.ts(20,38): error TS2344: Type '"No"' does not satisfy the constraint '"Yes"'.

using typescript@3.4.0-dev.20190310.

Builds are failing because I forgot to update minimum supported TS version. I'll push these changes momentarily.

Also, here's another typescript PR that is addressing some of the "weirdness" with extends any: https://github.com/Microsoft/TypeScript/pull/29571

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: andnp/SimplyTyped


text:
Release resource pack as standalone on Modrinth.

Since Minecraft 1.20.3+ allows (custom) servers to apply multiple resource packs to the client, it might be beneficial to upload the required resource pack directly on modrinth. The download link could be then used as a resource pack url.
I'm asking for this, as I'm considering using this mod on my public server side modpack, but bundling the assets in main pack (or having it be rehosted on my side) doesn't sound as best approach.

Sorry for getting to this so late, but I manually uploaded the resourcepack for 5.5.1-1.21. Do you need any other versions?

No need, as I uploaded them to my own web server for my own usage, but it will be nice for anyone else wanting to setup it.


text:
Plot calibration phase button

Plot calibration phases shows 3 curves per angle, while only one of the 3 curves is relevant to asses the phase.

To clarify, are you using conventional 3x3 data?

Fixed, now it's showing only one plot per angle. Please check so that we can close the issue. Thanks

It works! I try to close the issue


text:
🛑 simoneandreani.it is down

In 5880d62, simoneandreani.it (https://simoneandreani.it) was down:

HTTP code: 0
Response time: 0 ms

Resolved: simoneandreani.it is back up in 89e256f after 7 minutes.

repo: andreanisimone/upptime


text:
Issue with Rails 3.2.0rc2

Seems like the same issue that Ripple has with ActiveSupport 3.2 active_support/core_ext/class/inheritable_attributes removed
https://github.com/seancribbs/ripple/issues/258
Looks like you need to require 'active_support/core_ext/class/attribute' if ActiveSupport::VERSION::STRING >= 3.2

Is it really an issue for neo4j? Are you getting any errors?
Neo4j uses it's own inheritable_attribute https://github.com/andreasronge/neo4j/blob/master/lib/neo4j/core_ext/class/inheritable_attributes.rb

Yes I was getting the same error ``require': no such file to load `. I've dropped down to 3.1.3 which works fine.

Odd, if neo4j has its own copy, something somewhere might be trying to load the version in AS.

Switched back to the RC to make sure I wasn't just doing something wierd.
bundle exec rails s                                                                           *[master][jruby-1.6.5@tastyrepo]
LoadError: no such file to load -- active_support/core_ext/class/inheritable_attributes
require at org/jruby/RubyKernel.java:1038
(root) at /Users/matt/.rvm/gems/jruby-1.6.5@tastyrepo/gems/neo4j-1.3.1-java/lib/neo4j.rb:9
require at org/jruby/RubyKernel.java:1038
(root) at /Users/matt/.rvm/gems/jruby-1.6.5@tastyrepo/gems/neo4j-1.3.1-java/lib/neo4j.rb:8
require at org/jruby/RubyKernel.java:1038
(root) at /Users/matt/Documents/Dev/tastyrepo/config/application.rb:53
tap at org/jruby/RubyKernel.java:1804
(root) at /Users/matt/.rvm/gems/jruby-1.6.5@tastyrepo/gems/railties-3.2.0.rc2/lib/rails/commands.rb:50
require at org/jruby/RubyKernel.java:1038
(root) at script/rails:6

If you can use 3.1 for now that would be good.
We'll address this issue a bit later.
On 16/01/2012, at 7:13, Matthew Fordreply@reply.github.com wrote:

Yes I was getting the same error ``require': no such file to load `. I've dropped down to 3.1.3 which works fine.

Reply to this email directly or view it on GitHub:
https://github.com/andreasronge/neo4j/issues/131#issuecomment-3501481

Yes, indeed. Neo4j loads the AS version. We'll just need to use internal version for 3.2 or switch to class_attribute.
We should be able to include the fix into the upcoming 2.0 release (but not sure when yet).

@dnagir thanks

Ok. I give on it today. See #133 for more details.

Has this been resolved for neo4j-shell?
 neo4j-shell
LoadError: no such file to load -- active_support/core_ext/class/inheritable_attributes
  require at org/jruby/RubyKernel.java:1036
  require at /Users/peter/.rvm/rubies/jruby-1.6.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:60
  require at /Users/peter/.rvm/rubies/jruby-1.6.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55
   (root) at /Users/peter/.rvm/gems/jruby-1.6.6/gems/neo4j-1.3.1-java/lib/neo4j.rb:9
  require at org/jruby/RubyKernel.java:1036
  require at /Users/peter/.rvm/gems/jruby-1.6.6/gems/neo4j-1.3.1-java/lib/neo4j.rb:55
   (root) at /Users/peter/.rvm/gems/jruby-1.6.6/gems/neo4j-1.3.1-java/bin/neo4j-shell:3
     load at org/jruby/RubyKernel.java:1062
   (root) at /Users/peter/.rvm/gems/jruby-1.6.6/bin/neo4j-shell:19

Hmm, it did work for me. Did you try to build and install the neo4j gem from git master ?
neo4j-shell -port 9332
NOTE: Remote Neo4j graph database service 'shell' at port 9332
Welcome to the Neo4j Shell! Enter 'help' for a list of commands

oh blast, you're right.  Looks like the bin being used is the one from the 131 gem, sorry about that.

I have the same problem, uninstall railties 3.2.x works for me.

authors: andreasronge dnagir kingron matthewford pehrlich


text:
🛑 Bonnefanten is down

In d43daa1, Bonnefanten (https://www.bonnefanten.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bonnefanten is back up in 33b13f6.

repo: andreesg/intk-upptime


text:
🛑 Corpo Escola de Dança is down

In 81f9d0b, Corpo Escola de Dança (https://corpoescoladedanca.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Corpo Escola de Dança is back up in d81d948.

repo: andrelug/uptime


text:
🛑 Blog Comparar is down

In 914e7dd, Blog Comparar (https://blog.compararsegurodeviagem.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog Comparar is back up in 4c4ce4d.


text:
More Documentation

Is there any documentation beyond that in the README.md?

It's not clear to me what is the intended API surface area for a non-advanced state machine usage.
It's not clear to me what exactly is intended with the substitute() method.
You kinda introduce the concept of a timed state in your April 2017 presentation and in the test/main.cpp without any built-in support or introductory documentation how to extend states properly. This would be helped by a more-fully worked player character example via issue #11, of course... but I wonder if perhaps some of those extensions are worth providing in the library.

OK, I'll add more detailed tutorial, together with examples it should help.
Substitute, injections aren't covered in readme, they deserve dedicated pages.

FYI, I'm reworking the docs, if you want to check the new README and tutorial.
substitute() page is coming soon.

FYI, the link to the example in the tutorial is currently broken.

Some feedback on the design this time, after reading through the tutorial and example and actually mostly understanding it this time:
I found myself wishing that the state types were more explicit as I read through their definitions. It seems that most states would be designed to always fit into the same kind of slot in the hierarchy, and it would be helpful if their declarations were more explicit.
If a state is destined to be the head or a non-head sub-state, then it would be helpful to declare it as such, and it would enable compile-time checking of the eventual state machine construction. Same goes for differentiation between region types: if a state is destined for a composite vs. an orthogonal region, then it would be helpful to declare it as such and check the construction at compile time.
Even if the implementation of the state is identical, they could still be "strong types" that are "tagged" for more readably and verifiably different uses.

I see.
How would you suggest to implement this?

All existing docs were moved to Wiki, more is coming, see sidebar for the planned list of topics.

authors: andrew-gresyk bryceschober

repo: andrew-gresyk/HFSM


text:
node server.js → Error:Canont find module'node-sass-example'

Why? Error:Cannot find module'node-sass-example'

I'm no longer supporting this library as I don't use it any longer so I'm going to close this issue.

authors: andrew lengziyu

repo: andrew/node-sass-example


text:
Vogue is incorrect in assuming it's the last script in scripts array

I am getting errors like this:
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/products/undefinedsocket.io/socket.io.js"
The problem lies in getScriptInfo() in vogue-client.js
it assumes the Vogue script will be the last one in the array returned by document.getElementsByTagName("script") but because it appends itself to the <head>... and common practice is now to put all your scripts at the bottom of the <body> (see html5 boilerplate etc)... so it is not selecting the Vogue script, it's grabbing my Google Analytics script block instead.
It really needs to look for vogue-client.js specifically.

No, it wasn't that either!
It was the bookmarklet... has:
url:'http://localhost:{port}/',\
domain:'localhost',\
port:{port}\
};\```

should be (?)
```window.__vogue__ = {\
rootUrl:'http://localhost:{port}/',\
domain:'localhost',\
port:{port}\
};\

Now I see the websocket connect but I get a new error in the console where vogue is running:
Listening for clients: http://localhost:8001/
debug - served static /socket.io.js
debug - client authorized
info  - handshake authorized 1361698798740757778
debug - setting request GET /socket.io/1/xhr-polling/1361698798740757778?t=13
20521135714
debug - setting poll timeout
debug - client authorized for
debug - clearing poll timeout
debug - xhr-polling writing 1::
debug - set close timeout for client 1361698798740757778
debug - xhr-polling received data packet 5:::{"name":"watch","args":[{"href":
"/static/css/libs/inuit/inuit.css"}]}
Watching file: D:\My Documents\design\Dresses plus More\dpm\shop\static\css\libs
\inuit\inuit.css
fs.js:696
throw new Error('use fs.watch api instead');
^
Error: use fs.watch api instead
at Object.watchFile (fs.js:696:11)
at Watcher.startWatching (C:\Node.js\bin\node_modules\vogue\Watcher.js:57:8)
at VogueClient.<anonymous> (C:\Node.js\bin\node_modules\vogue\VogueClient.js

:31:18)
at Object.oncomplete (native)

should I use an older version of Node?  I'm on 0.5.10 (...couldn't use 0.6.0 because npm wouldn't even install itself)

Looks like a Windows issue: https://github.com/joyent/node/blob/220e61c1f65bf4db09699fcf6399c0809c0bc446/lib/fs.js#L696

apparently to support the new fs.watch api and make things cross-platform means dropping node 0.4.x support (or coding a work-around)
https://github.com/jashkenas/coffee-script/issues/1803

authors: Wilfred anentropic

repo: andrewdavey/vogue


text:
🛑 nhcam is down

In 2f8e9c4, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 6e3116f.

repo: andrewdavies-net/upptime


text:
🛑 plexd is down

In f652194, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 277 ms

Resolved: plexd is back up in d147e4f.


text:
🛑 plexd is down

In 303e3b0, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 455 ms

Resolved: plexd is back up in e35ad21.


text:
🛑 plexd is down

In 7fbe9a9, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 267 ms

Resolved: plexd is back up in 87aa063.


text:
🛑 plexd is down

In ee83f91, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 272 ms

Resolved: plexd is back up in 52cd219.


text:
🛑 nhcam is down

In 309b5b2, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 6b1906c.


text:
🛑 plexd is down

In 73cef15, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 476 ms

Resolved: plexd is back up in 2b65561.


text:
🛑 nhcam is down

In 15c0326, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 004a117.


text:
🛑 nhcam is down

In 665a224, nhcam ($NHIPCAM) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nhcam is back up in 2e2c95e.


text:
🛑 plexd is down

In 8fcb9a9, plexd ($PLEXD) was down:

HTTP code: 401
Response time: 281 ms

Resolved: plexd is back up in 500962c.


text:
Implement arrows

we want players to be able to shoot arrows from bows. Esp /class archer
related

#584
#598

@TestingPlant would you be interested in this? I still need to impl raycasting as well #563

note @TestingPlant wrote arrow impl a while ago (thank you) when we are using evenio so it might be useful to reuse code if you go back enough

fixed by #658

repo: andrewgazelka/hyperion


text:
Implement Path::try_exists

Implements the Path::try_exists associated function mentioned in #46. The aliased function was stabilized in 1.63 so to preserve compatibility with older Rust versions (ci targets 1.40) a new feature flag was added.

Instead of a feature flag, what do you think about using one of the available crates that does feature or version detection of the running compiler?
I'm not sure what the other maintainers of fs-err would prefer, but I know that autocfg is a solution that would make this API available for new Rust versions without breaking older versions.

I think using autocfg is a good idea too :+1:

I updated to use autocfg though I'm new to that library/approach so I might have missed something fundamental. I need approval for a new CI run, I've not actually tried it on an older rustc version. It compiles fine on my local machine.
I didn't remove the existing feature flag for io_safety, I think that would need a major version rev. This is scoped only to add support for this one function.

Thanks! I'll publish version 2.10.0 with this change

Thanks a ton for the review and for this library!

authors: LPGhatguy andrewhickman schneems

repo: andrewhickman/fs-err


text:
General requests/issue master board

General

[ ] Option to set ADS-B equipped status manually
[ ] Tag item to track/refuse/release/transfer tag
[x] Route Display CTD issue (need more details)
[x] Lee had 2x CTDs when selecting track A from the drop down under "Tck Control", didn't matter which station was selected (CZQX/EGGX/BDBX) (need more details)
[x] Lee has to double click the tag to change ASEL (worked fine with single click for me) (makes no sense to me, will investigate)

Filtering

[x] Ignore all filtering for tracked aircraft
[x] Disable all filtering when "ALL" button is enabled
[x] Add a buffer so that aircraft proximate to the owned sector are displayed regardless of tracked status.

Clearance/Route

[ ] Enable use of the old tracks until the next tracks are published for that direction (e.g. enable previous Track Z when eastbounds tracks have just gone live.
[x] Enable "Man Entry" function to be able to issue clearances to aircraft that are tracked by another controller or are on the ground.
[x] After clicking transfer on a tag you cannot re-assume it before it is accepted like in vanilla ES - this is an issue if you accidentally send them to the wrong controller
[ ] Enable use of concorde tracks by typing SM/SN/SO/SP in the track window in 'Man Entry' - put waypoints into route

Conflict Issues

[ ] Need a way to acknowlege/silence warning (double click on list item)
[ ] Conflict alarm triggering for aircraft not in your sector (https://gyazo.com/c93de4d68a421580f9c5c0fec59ae74f)
[x] Spurious conflict alarm - maybe set conflict warning to 800ft instead? (set to 850 and see how it goes)
[x] Conflict alert latches on if one of the aircraft leaves the visibility area whilst the conflict is happening (ignore STCA if one aircraft becomes irrelevant)
[x] RBL' or 'SEP' tool need options to show current separation based on distance

most remaining things on this list have their own separate issues, closing


text:
Why naught launchs my script in debug mode?

Configured my project to use naught. Everything works fine.
But I don't understand why naught launch my app in debug mode. I run ps and see that my script is launched with the --debug-port option:
 /usr/bin/nodejs --debug-port=5859 /path/to/my/script.js

This happens if you're using node 0.12. They've made changes to the cluster module. It's not actually listening with the debugger enabled, but if you send the SIGUSR1 it'll start the debugger and start listening on the specified port. Previously all workers would try bind on the same port.
See https://github.com/nodejs/node/blob/v0.12.7-release/lib/cluster.js#L318

Ok, got it. So it has nothing to do with naught.
Thank you for the reply!

authors: RNELord axln

repo: andrewrk/naught


text:
search during device rotation

Hi,
thanks for your blog post. Good job.
There is some problem:
if you click search and before items load you rotate device,
search request dropped and nothing will be displayed.
Thanks again

Hi!
I dont manage subscription and dont save data. If you want, you can save subscription.


text:
[Jetsnack] Preview rendering error.

All of Composable Preview in jetsnack is not showing.
The error stack is something like this.
java.lang.IllegalArgumentException: The Compose View must be hosted in an Activity with a Window!
	at com.google.accompanist.systemuicontroller.AndroidSystemUiController.<init>(SystemUiController.kt:177)
	at com.google.accompanist.systemuicontroller.SystemUiControllerKt.rememberSystemUiController(SystemUiController.kt:165)
	at com.example.jetsnack.ui.theme.ThemeKt.JetsnackTheme(Theme.kt:93)
	at com.example.jetsnack.ui.home.FeedKt.HomePreview(Feed.kt:131)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at androidx.compose.ui.tooling.CommonPreviewUtils.invokeComposableMethod(CommonPreviewUtils.kt:150)
	at androidx.compose.ui.tooling.CommonPreviewUtils.invokeComposableViaReflection$ui_tooling_release(CommonPreviewUtils.kt:189)
	at androidx.compose.ui.tooling.ComposeViewAdapter$init$3$1$composable$1.invoke(ComposeViewAdapter.kt:593)
	at androidx.compose.ui.tooling.ComposeViewAdapter$init$3$1$composable$1.invoke(ComposeViewAdapter.kt:591)
	at androidx.compose.ui.tooling.ComposeViewAdapter$init$3$1.invoke(ComposeViewAdapter.kt:630)
	at androidx.compose.ui.tooling.ComposeViewAdapter$init$3$1.invoke(ComposeViewAdapter.kt:586)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
	at androidx.compose.ui.tooling.InspectableKt.Inspectable(Inspectable.kt:61)
	at androidx.compose.ui.tooling.ComposeViewAdapter$WrapPreview$1.invoke(ComposeViewAdapter.kt:535)
	at androidx.compose.ui.tooling.ComposeViewAdapter$WrapPreview$1.invoke(ComposeViewAdapter.kt:534)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
	at androidx.compose.ui.tooling.ComposeViewAdapter.WrapPreview(ComposeViewAdapter.kt:530)
	at androidx.compose.ui.tooling.ComposeViewAdapter.access$WrapPreview(ComposeViewAdapter.kt:121)
	at androidx.compose.ui.tooling.ComposeViewAdapter$init$3.invoke(ComposeViewAdapter.kt:586)
	at androidx.compose.ui.tooling.ComposeViewAdapter$init$3.invoke(ComposeViewAdapter.kt:583)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	at androidx.compose.ui.platform.ComposeView.Content(ComposeView.android.kt:410)
	at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:252)
	at androidx.compose.ui.platform.AbstractComposeView$ensureCompositionCreated$1.invoke(ComposeView.android.kt:251)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
	at androidx.compose.ui.platform.CompositionLocalsKt.ProvideCommonCompositionLocals(CompositionLocals.kt:166)
	at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:123)
	at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt$ProvideAndroidCompositionLocals$3.invoke(AndroidCompositionLocals.android.kt:122)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
	at androidx.compose.ui.platform.AndroidCompositionLocals_androidKt.ProvideAndroidCompositionLocals(AndroidCompositionLocals.android.kt:114)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:157)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1$3.invoke(Wrapper.android.kt:156)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	at androidx.compose.runtime.CompositionLocalKt.CompositionLocalProvider(CompositionLocal.kt:228)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:156)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1$1.invoke(Wrapper.android.kt:140)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:34)
	at androidx.compose.runtime.ComposerKt.invokeComposable(Composer.kt:3337)
	at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2582)
	at androidx.compose.runtime.ComposerImpl$doCompose$2$5.invoke(Composer.kt:2571)
	at androidx.compose.runtime.SnapshotStateKt__DerivedStateKt.observeDerivedStateRecalculations(DerivedState.kt:247)
	at androidx.compose.runtime.SnapshotStateKt.observeDerivedStateRecalculations(Unknown Source)
	at androidx.compose.runtime.ComposerImpl.doCompose(Composer.kt:2571)
	at androidx.compose.runtime.ComposerImpl.composeContent$runtime_release(Composer.kt:2522)
	at androidx.compose.runtime.CompositionImpl.composeContent(Composition.kt:478)
	at androidx.compose.runtime.Recomposer.composeInitial$runtime_release(Recomposer.kt:748)
	at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:433)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:140)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:131)
	at androidx.compose.ui.platform.AndroidComposeView.setOnViewTreeOwnersAvailable(AndroidComposeView.android.kt:907)
	at androidx.compose.ui.platform.WrappedComposition.setContent(Wrapper.android.kt:131)
	at androidx.compose.ui.platform.WrappedComposition.onStateChanged(Wrapper.android.kt:182)
	at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:354)
	at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:196)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:138)
	at androidx.compose.ui.platform.WrappedComposition$setContent$1.invoke(Wrapper.android.kt:131)
	at androidx.compose.ui.platform.AndroidComposeView.onAttachedToWindow(AndroidComposeView.android.kt:994)
	at android.view.View.dispatchAttachedToWindow(View.java:20479)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3489)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3496)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3496)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3496)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3496)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3496)
	at android.view.AttachInfo_Accessor.setAttachInfo(AttachInfo_Accessor.java:44)
	at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:360)
	at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:431)
	at com.android.tools.idea.layoutlib.LayoutLibrary.createSession(LayoutLibrary.java:141)
	at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:714)
	at com.android.tools.idea.rendering.RenderTask.lambda$inflate$7(RenderTask.java:870)
	at com.android.tools.idea.rendering.RenderExecutor$runAsyncActionWithTimeout$2.run(RenderExecutor.kt:187)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:834)

Yes, it seems the call to Accompanist's rememberSystemUiController() is causing the issues. Not sure this was intended to be in the theme Composable itself or to only be used in the Activity context. @nickbutcher @florina-muntenescu thoughts?

I encountered the same issue. And I agree with @c5inco that it should be the problem from rememberSystemUiController() because when I commented the corresponding method usage out of the JetsnackTheme method, the preview worked for those in Button.kt
Just like this:
@Composable
fun JetsnackTheme(
    darkTheme: Boolean = isSystemInDarkTheme(),
    content: @Composable () -> Unit
) {
    val colors = if (darkTheme) DarkColorPalette else LightColorPalette

//    val sysUiController = rememberSystemUiController()
//    SideEffect {
//        sysUiController.setSystemBarsColor(
//            color = colors.uiBackground.copy(alpha = AlphaNearOpaque)
//        )
//    }

    ProvideJetsnackColors(colors) {
        MaterialTheme(
            colors = debugColors(darkTheme),
            typography = Typography,
            shapes = Shapes,
            content = content
        )
    }
}

Here is the result for previews inside Button.kt

I am a newbie who just dives into Jetpack Compose, and I wish someone could tell me why, hopefully. :)

Hey guys, just found out that we could update the version of Accompanist to avoid this problem, and I updated the version to "0.24.3-alpha", which worked for me for now.
Briefly, just change the version of Accompanist inside Dependencies.kt.
...
object Libs {
    ...
    object Accompanist {
        const val version = "0.24.3-alpha"
        const val insets = "com.google.accompanist:accompanist-insets:$version"
        const val systemuicontroller = "com.google.accompanist:accompanist-systemuicontroller:$version"
        const val flowlayouts = "com.google.accompanist:accompanist-flowlayout:$version"
    }
   ...
}
...

Ah yep, this should be resolved in 0.24.3-alpha version of accompanist: https://github.com/google/accompanist/issues/918
We'll close this issue once the library is updated here.

authors: alexvanyo c5inco wangmir yuhuitech

repo: android/compose-samples


text:
AsyncListDiffer Better

do not supprot AsyncListDiffer? Maybe we can use AsyncListDiffer instead of DiffUtil.calculateDiff in Leanback.

Is this a general feature request for Leanback? If so, you can file it at https://issuetracker.google.com/components/460758.

authors: IanGClifton WoYang

repo: android/tv-samples


text:
Offset of the markers?

can we get screen offset of the markers?

Hello, I'm not sure what you're asking for, this library allows you to display floating markers on a map, what do you mean by "getting the screen offset of the markers"? Do you mean some sort of listener firing off the marker's coordinates when visible on screen?

I suppose @Mr-Jeeva meant a visual offset.
Indeed, I have a similar question, using floating titles in conjunction with graphic marker:

It would be nice to be able to customize an offset (e.g. bottom 40, left 40) so that the text nicely fits with a graphical marker.

authors: Mr-Jeeva androidseb yakou32


text:
Add scss to anduin-build

Add scss to anduin-build

@ngbinh @cmpham for fixing issue https://github.com/anduintransaction/stargazer/issues/4882 in stargazer

repo: anduintransaction/Dockerfiles


text:
Some minor tweaks preventing compilation under 2.11

Removing adapted arguments, procedure syntax. Adds one type for public member.

:+1:

authors: andypetrella huitseeker

repo: andypetrella/spark-notebook


text:
请问有没有办法可以在发弹幕前，自动切换粉丝牌吗？

比如：
1）我在直播间A发弹幕时。
2）它会自动检测现在是否戴着这个直播间的牌子。
3）如果没戴的话，查看自己有没有这直播间的牌子。
4）如果有的话，自动换牌子再发弹幕。
5）然后我去直播间B发弹幕时，它会重新执行②③④。
我不清楚会不会很难，如果很难不用执意于我这个问题也可以。
打扰了。谢谢辛苦你了。

不算难，但挺麻烦的。目前会优先处理一些更重要的问题，你这个需求我先记着。

我也觉得带着别人的牌子(粉丝勋章)很尴尬，所以我现在直接不带牌子哈哈哈

想法不错，这样开多个直播间就很方便发弹幕

时隔五个多月总算填坑了，说实话这个功能比我想象的要复杂一点

authors: X-Holmes andywang425 ngklsapcp xzk-kokodayo


text:
Issues signing simject.

After running make setup and both respring_simulator/simject, simject runs into the error:
error: The specified item could not be found in the keychain.
I added my account to XCode but with no luck.

Does the issue persist at this point? @LacertosusRepo

@PoomSmart Yes, still cannot compile it.

What do you get when running a command security find-identity -p codesigning?

It outputs no identities
Policy: Code Signing
  Matching identities
     0 identities found

  Valid identities only
     0 valid identities found

@LacertosusRepo Were you able to fix this? I'm getting the same thing.

@Jb365 @PoomSmart No yet. It could possibly be due to me using a Mac VM.

@LacertosusRepo I'm on a MacBook Pro though...

@jb365 Well that's good news for me, means its a different problem.

@LacertosusRepo @PoomSmart @jb365 I am having this problem as well...Anyone figure it out yet?

@jb365 I was finally able to figure this out (by accident). When I was loading one of my Xcode applications on to my phone, I was requested for my password to allow keychain access to sign the application. I clicked always allow and I am now able to sign simject.

authors: LacertosusRepo PoomSmart TnnsBeast jb365

repo: angelXwind/simject


text:
Plugin doesn't respect line_length

Hi Angelika,
Thank you very much for the plugin, I can't count the number of times I copied and pasted the doctests in a Elixir file to format and put it back in comments.
I was installing this plugin in one of our project in my company and potentially identified an issue. From what I see I think the plugin is not respecting the line_length configuration.
Before installing the plugin, mix format was changing nothing. After installing it almost changed all the project files and from the Git diff it is almost exclusively changing line length to make it back to 98ish characters while the project is configured to 120.
I have created a repo to reflect it GRoguelon/doctest_formatter_line_length. You can see the effect of the plugin as shown here.
There is a branch doctest_formatter with the changes.
Please let me know if you need any additional information.

Thank you for the report and thank you so much for the reproduction repository 💚 💙 💜  you're the best.
You're right that there is a bug with the plugin not respecting line length when it formats the whole Elixir file! I'm about to release version 0.3.1 with a fix.

Released: https://hex.pm/packages/doctest_formatter/0.3.1

authors: GRoguelon angelikatyborska


text:
Unable to use widgetsPath in titleTemplateUrl

Hello,
am I missing something or is there a problem with that. Here's my code:
dashboardProvider
    .widget('my_widget', {
        title: 'Sample title',
        description: 'Some description',
        templateUrl: '{widgetsPath}/generic_view.html',
        titleTemplateUrl: '{widgetsPath}/generic_widget_title.html',
        controller: 'SampleController',
        reload: true,
});

And the error I get in the server looks like:
"GET /%7BwidgetsPath%7D/generic_widget_title.html HTTP/1.1" 404 3115

any clues on this one?

The {widgetsPath} variable is only resolved for the templateUrl and not for the titleTemplateUrl.

Wouldn't it be great to resolve it consistently for all template urls?

authors: random-one sdorra


text:
Coding Dojo

Coding Dojo
(Selecciona con una "x" => [x])

[ ] Ser el próximo speaker => Escribe los detalles de tu charla
[x] Proponer un tema o mejora => Qué te gustaría y por qué
[ ] Dar mi retroalimentación => ¡Gracias!, esto nos hace crecer
[ ] Convertirme en organizador => Explícanos por qué y cómo puedes aportar
[ ] Otro

Descripción
Me gustaria que se hicieran Coding Dojos y Katas para asimilar mejor el desarrollo y la arquitectura con Angular, en especial para los que apenas estamos comenzando, como yo :)
En el meetup anterior observé que muchos integrantes tienen buenos conocimiento, por lo que no seria dificil conseguir algunos sensei

Me apunto para sensei =]

@achanci me encanta la idea! 🥇 Creo que muchas personas desean que hagamos un ejercicio más práctico en Angular.  En el próximo meetup probablemente lleguen más de 100 personas por lo tanto necesitaremos una mano ✋ ¿Quién se anima!? 😀
Necesitamos al menos 5 senseis :neckbeard: para hacer el coding dojo
Primer Sensei: @alejandronanez 💪

Me encantaria ser sensei pero aun soy un pequeño saltamontes (jeje) Aun me falta afianzar conocimientos, pero espero pronto serlo. Ojalá se animen mas personas a ser sensei y podamos hacer un buen coding dojo :smiley:

Hey!, no soy super experto pero puedo ayudar en la parte práctica. Cuentes conmigo as a sensei 😀

Hola,  no soy experta pero para este tema me gustaría apoyar como "sensei"  :heart_eyes_cat:

@alejandronanez  @danielcb29 @ltciro ha llegado la hora de brillar como senseis! 🤙
¿Puedo contar con su ayuda para el próximo meetup? 😀

Nunca he estado en un coding dojo, pero igual firme. 😎

@jdjuan Firme también  😎

@jdjuan el meetup del 3 de Junio es el coding dojo? o vamos a hacer otro aparte?

Con todo el gusto :grinning:

Hola, estoy interesado en colaborar, nunca he estado  en un evento de esta clase pero me apunto para sensei

authors: CrisDan1905 Fabian-Buitrago achanci alejandronanez danielcb29 jdjuan ltciro

repo: angular-medellin/meetup


text:
Error: b.DATETIME_FORMATS.STANDALONEMONTH is undefined

Just updated to the last angular-bootstrap and got this error
Angular: 1.6.1
UIBS: 2.5.0
Bootstrap: 3.3.7

solved : the angular locale files are not updated with the version of angular. So the STANDALONEMONTH filed is not there.
Just upload the new locale files.

repo: angular-ui/bootstrap


text:
docs(alert): revamp to match the general style

I matched the doc style we use on the other components.
Also updated it with more options and a more complete example.

LGTM

authors: Foxandxss wesleycho


text:
represent Persian Calendar in Datepicker

It could be a Persian Datepicker like the Gregorian one. All we need to add is a persian date-parser and a new option field to set the calendar (for ex. 'Persian' or 'Gregorian')

The history looks busted on this - also this is against the wrong branch. Feel free to open another PR appropriately against master.

Can you help me about opening a PR against maseter ?

authors: rkeshmir wesleycho


text:
Cell navigation broken in unstable release

Refer to example 202
http://ui-grid.info/docs/#/tutorial/202_cellnav
Navigate down from the first cell. Once you reach the cell with id 11, the focus jumps back to the first cell. (tested in Firefox, Chrome and IE11)

Thanks @PaulL1

I think I've tracked this - it's the change we did under #2423.  I'm working on a fix that covers both.

Fixed this morning I believe - could you retest?

Thanks, but still something is not working.
Refer again to example 202
http://ui-grid.info/docs/#/tutorial/202_cellnav
In Chrome and IE11, I still get the same as before: once I reach the cell with id 11 it jumps back to the cell with id 1.
In Firefox it is somewhat different. As long as I only navigate down, it works ok.
But, if I navigate down beyond  the cell with id 11, then press once the Arrow Up key, and then start again to navigate down, it also jumps back to the to of the table.

I'm not getting that at all in Chrome or Safari.  Are you using the arrow key to move down?  I select row 0, then hold down the arrow key, and it scrolls smoothly all the way down.

In Firefox, when I hold down the arrow key, it scrolls down for a while, and then, apparently randomly, jumps back to the first cell of the first column.
In Chrome, it jumps back to the first cell of the first column after reaching the last visible cell.

Jumping back to the first cell is expected/designed behaviour when you get to the end - it "wraps around".
I'll look at my Firefox to see if I get the same behaviour as you there.

That is wraps around is indeed a nice feature. But in Chrome, it wraps around when reaching the end of the visible region of the table (row 11 in the example). Firefox is less predictable, and mostly works fine, except when I use arrow down, then one arrow up and the arrow down again. Then in also jumps back to the top cell in the first column, regardless of the column I was navigating in.
I also tried to track it in Firebug, but no errors are posted to the console.

OK, the behaviour you describe in Firefox I can recreate.  Unfortunately I'm only going to have that install for a few more hours, I'm changing locations.  I'll look and see what I can do with it.

Further diagnosis.  The problem occurs when the grid is scrolled such that the bottommost cell is within the view, but overlaid by the bottom scrollbar.  It looks like scrollToIfNecessary decides it's visible (presumably it's ignoring the scrollbar), and the browser knows better so triggers a native scroll.
The fix I did for scrolling janking when we had a selected cell was that we'd deliberately remove the focus when the scroll didn't come from scrollToIfNecessary.  So the upshot is that we lose focus on the cell in this situation, and then on the next keypress the focus moves to the first cell in the grid.
Two potential solutions.  The first is for scrollToIfNecessary to take the bottom scrollbar into account.  The calculations in there are somewhat scary, and I'm not keen to replicate knowledge that @swalters probably already has.  I'll look.
The second solution is that it is interestingly scrolling to the correct place (native scroll?), then scrollToIfNecessary moves it back a bit so that the scrollbar overlays the bottom cell.  If it didn't do that the behaviour would be cleaner too.  No doubt both issues have the same source, so not really two solutions.
Lines 624 to 626 of cellNav have a commented out calculation that allows for the horizontal scrollbar.  @swalters may know why.  But here is a plunker with that code reinstated: http://plnkr.co/edit/JkkdV2QWNXsfJPEbNlbg?p=preview

Yes, that seems to work in both browsers for me too, thanks.

In my application, I "fixed" the problem by commenting out one line in the post compile function of uiGridRenderContainer:
} else {
                    $timeout(function() {
                      // make a dummy roCol
                      var rowCol = { col: { uid: null }, row: { uid: null } };
                          // broadcast a cellNav event so we clear the focus on all cells
                      //uiGridCtrl.cellNav.broadcastCellNav(rowCol);
                    });

```javascript

I commented out the broadcastCellNav command creating a dummy rowCol.
Of course I'm absolutely not sure that this will not create problem elsewhere.

The problem that will create is that when you scroll manually with cellNav, it won't correctly handle the focus on the cell.  It will either select a different cell, or sometimes it will break the scrolling entirely.

Still not working without some hack. Anyway, thanks for the help.

OK, I think I've fixed this now, at the expense of the focused cell changing whenever you scroll.

v3.0.0-rc.19 works like a charm!
Many many thanks @PaulL1

repo: angular-ui/ng-grid


text:
Display UTC as Local

So I'm confused as to what I'm doing wrong here.
I want to store the events start and end in UTC in the databse. Then I want to display them on the fullcalendar ui as local.
I tried setting
$scope.uiConfig = {
    calendar: {
        timezone: 'local'
    }
}

But it doesn't seem to be doing anything. Am I misunderstanding?

How about with "timeZone"?
I was fighting with this too. For me, the timezone property resets to false after setting my event source.
I got it working by setting it directly using FullCalendar:
angular.element('.calendar').fullCalendar('option', 'timezone', 'local');

authors: james-hoegerl jumois

repo: angular-ui/ui-calendar


text:
Leaflet 1.x

Solve conflicts on #170  and my wrong PR #172

@nmccready please confirm that all is good?

Wow what is going on here? Did my previous merge of master into leaflet-1.X not work? The history on this does not seem right? If this is that messed up starting leaflet-1.X from scratch.. ie a new branch from current master might be better.

I resolve all conflicts, but did a PR on wrong branch, basically on master branch :disappointed:, by now, this works, but some test not run for leaflet 1.x incompatibility. In as I work on this, I'll go to resolve it.

Got it, the PR I started was targeted the wrong direction; (leaflet-1.X into master)  and then this is to resolve it.

Yeah this now makes sense LGTM

authors: elesdoar nmccready

repo: angular-ui/ui-leaflet


text:
Placeholder char is added to value

If I set _ as a placeholder value and define a mask for accepting e.g. phone numbers from various countries (which have different lenghts) by setting a mask like +99 99999999?9?9? and the entered value is not as long as it could be, the placeholder chars are also submitted.
So, for entering e.g. +41 1111111, I actually get +41 1111111__ as value in the model and in the form submitted therefore, which, at least for me, seems quite wrong. IMHO I should get what I entered, without the optional placeholder chars appended.

A sample plunkr would be helpful to clarify exactly how you are using the directive.

@pduersteler Are you setting modelViewValue="true" on your input? This sets the model value to be the same as the view value which explains the placeholder characters in the model because the view value contains those placeholders. Otherwise, (modelViewValue="false") the model value does not contain any of the placeholder characters even though the view value does.

I've noticed this issue as well - it would be nice for ui-mask to have the option of automatically removing optional placeholder characters from the model if they aren't used, while still keeping the non-optional ones that are used.
With a mask of (999) 999-9999 ?x?9?9?9?9?9 and an input of 1234567890, I want the model to be set to (123) 456-7890, but instead it is set to (123) 456-7890 x_____. With the same mask and an input of 1234567890123, I want the model set to (123) 456-7890 x123, but it is set to (123) 456-7890 x123__. Having the placeholder characters (_) is nice, but only on the input side, as it is only useful to the user. Setting modelViewValue to false sets the model 1234567890, which requires me to format it myself in order to get the output I want -- extra complexity.
Hope I explained what I'm trying to accomplish, let me know if I can help clarify or resolve this. Thanks

@bsssshhhhhhh I'm hesitant to make this change as it makes the modelViewValue attribute's functionality a little ambiguous.
I think it's possible to do this but I don't know if it should be done.

Maybe add an extra option for it, defaulting to its current behavior? If it can be done and there's a desire for it, then why not?

Code complexity and ease of use come to mind as why not to add another one off option.

Ok no problem, I just added a simple parser that takes care of it for this case. For other input masks you'll need to change the regex around to fit your needs:
directive('phoneMask', function ($compile) {
	return {
		restrict: 'A',
		require: 'ngModel',
		replace: false,
		priority: 1000,

		link: function(scope, element, attrs, ngModel) {
			ngModel.$parsers.push(function(value) {
				if (ngModel.$modelValue && ngModel.$modelValue !== '') {
					value = value.replace(/([\s]x[_]+|[_]+$)/, '');
				}
				return value;
			});

			element.attr('ui-mask', '(999) 999-9999 ?x?9?9?9?9?9');
			element.attr('model-view-value', 'true');
			element.attr('ui-mask-placeholder', ' ');
			element.attr('allow-invalid-value', 'true');

			element.removeAttr('phone-mask');
			$compile(element)(scope);
		}
	};
});

authors: bsssshhhhhhh lukepfeiffer10 pduersteler

repo: angular-ui/ui-mask


text:
Allow adding items on the fly "tagging" on regular mode as well.

I want to be able to add new items just like tagging on multiple mode only not in multiple mode but on 'regular' select mode.

+1

+1

Anything done with this one yet? I think there's a pull request to add this somewhere.

+1

Available in v0.9.8

authors: Aklakan Pavek RobiFerentz brianfeister cannelony gotenxds

repo: angular-ui/ui-select


text:
ui-select dropdown on-select function call issue

I am trying to migrate my select dropdown to ui-select. The ng-change function call which is working perfectly with normal dropdown is not working with on-select  in ui-select.  Please find my plunker at
http://plnkr.co/edit/Ufhb0IfzrTlG3XLY2ahh?p=preview. Is there any bug with ui-select or am I doing any mistake in using ui-select.

Use $item and $model as parameters in on-select not on-select="getDataBasedonCustomer(uiSelectedCustomer)"
See example in wiki https://github.com/angular-ui/ui-select/wiki


text:
Cannot even load html and canexit called twice

I cannot load html when I am using when using http://cdn.jsdelivr.net/angular.wizard/latest/angular-wizard.min.js . I am missing something?
I could able to load my html page when I am using http://cdn.jsdelivr.net/angular.wizard/0.6.0/angular-wizard.min.js. 0.6.0 has issue method calling twice when I am on step2.
Please help

See README for updated CDN instructions.

authors: jacobscarter vijayaKeesara

repo: angular-wizard/angular-wizard