Update DallasTemperature.cpp

if millis() < delms (e.g. shortly after boot) (millis() - delms < now) is evaluated true before conversion is complete, resulting in 85 degrees read (resolution for #128 and sort-of #121 (but without yeld() for ESP))

Problem that shortly after boot is valid.
Proposed code
if((now + delms) < now) {  [1]

[1] will always result in false unless now is almost MAXULONG, so it does not solve the issue.
referring twice to now doesn't work either
think the condition should become
(millis() - now < delms)   [2]

When now < delms shortly after boot the condition will return true until delms milliseconds have passed. Furthermore is now is near MAXULONG and millis() has rolled over the condition will also behave as needed.

I think that the main part of proposed change is:
[411] while (!isConversionComplete() && (millis()  < delms + now)) ;
that is equivalent to (millis() - now < delms)   [2]
the first one [407] is to check if timeout ends after time wrap - when [411] can be prematurely false: (delms + now) is near zero but millis() is still big -> evaluates false, exiting loop

I think there should be second condition for millis() rollover.
As I understand (correct me if I am wrong) when millis() is near zero (after rollover) and now is near MAXULONG,
(millis() - now)
will give unsigned value near MAXULONG which is always greater than delms - thus ending the loop even when there is no conversion complete (ignoring isConversionComplete() result), so giving false reading of 85degrees.

Proposed change is discussed before e.g. in #121

imho this one should be closed and NOT merged.


[ISSUE #5859]Optimize String#format in DefaultMQProducerImpl

Make sure set the target branch to develop
What is the purpose of the change
close #5859
Brief changelog

Optimize String#format in DefaultMQProducerImpl

Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Codecov Report

Merging #5870 (60e0e53) into develop (5894332) will decrease coverage by 0.08%.
The diff coverage is 20.75%.

@@              Coverage Diff              @@
##             develop    #5870      +/-   ##
=============================================
- Coverage      42.48%   42.40%   -0.09%
- Complexity      8248     8283      +35
=============================================
  Files           1060     1066       +6
  Lines          73473    73670     +197
  Branches        9616     9629      +13
=============================================
+ Hits           31215    31239      +24
- Misses         38334    38476     +142
- Partials        3924     3955      +31

Impacted Files
Coverage Δ

...cketmq/broker/longpolling/NotificationRequest.java
0.00% <0.00%> (ø)

...broker/processor/AbstractSendMessageProcessor.java
33.22% <ø> (+0.50%)
:arrow_up:

...ocketmq/broker/processor/PeekMessageProcessor.java
3.22% <0.00%> (ø)

...he/rocketmq/broker/processor/PopReviveService.java
39.62% <0.00%> (ø)

...mq/client/impl/producer/DefaultMQProducerImpl.java
46.17% <0.00%> (-0.25%)
:arrow_down:

...org/apache/rocketmq/store/DefaultMessageStore.java
52.91% <ø> (ø)

...a/org/apache/rocketmq/store/stats/BrokerStats.java
0.00% <0.00%> (ø)

...cketmq/broker/processor/NotificationProcessor.java
10.16% <3.44%> (-0.74%)
:arrow_down:

...pache/rocketmq/store/stats/BrokerStatsManager.java
50.29% <53.84%> (-0.02%)
:arrow_down:

...ker/processor/DefaultPullMessageResultHandler.java
38.46% <100.00%> (ø)

... and 45 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fixing bug where subject token was used instead of the actor token.

added test as well to check the fix.

Thanks much for the reviews. Merging.


Enable db lock in scaling engine

#157727157

By watching the 2 process->wait() with select,  I must add a defer implementation to release db lock before close it.  If I don't do so,  when os.interrupt happens,  the whole process may exit and db connection  may close before db lock is  released.

LGTM

LGTM. Let's ensure that we don't create any more singleton processes and either work towards consolidating the existing ones into one singleton app or remove them (more preferable).

There is still issue. See my comment at line 136.  Given it is already merged. Let us fix it with another PR


Separate repo with own config file are ignored and only one is used.

We have several repos in our organisation and have successfully added the mention-bio our main repo.
https://github.com/xbmc/xbmc/blob/master/.mention-bot
Now we added the mention-bot to one of the others as well
https://github.com/xbmc/repo-plugins/blob/master/.mention-bot
It seems however that it's ignore this separate config file as you see on the PR made below it took the config file from "xbmc"  and not the one from " repo-plugins" .
https://github.com/xbmc/repo-plugins/pull/683
This PR was made after we added the config file in that repo.
Are we missing some configuration to make sure it's handling each repo separate or is this a bug?
Each repo (not the main organisation) has the https://mention-bot.herokuapp.com/ payload URL in webhooks.
We also noticed that if you put the webhook on the organisation level it will use https://github.com/xbmc/xbmc/blob/master/.mention-bot  for every repository and not that individual one.
Thank you.

To update the issue:
It seems actually that when you have multiple mention-bot configurations in your organisation (one in each repo) it will fallback to the default configuration.

Tackled in https://github.com/facebook/mention-bot/pull/186.
And issue description in #185


[Bug] Oracle run_result.json has rows_affected = 0 always when data are inserted or updated into target table

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
run_results.json has rows_affected = 0 always even when there are data are inserted into target table or updated in the target table.

{
  "metadata": {
    "dbt_schema_version": "https://schemas.getdbt.com/dbt/run-results/v4.json",
    "dbt_version": "1.4.99",
    "generated_at": "2024-02-21T17:54:33.596062Z",
    "invocation_id": "5ca55e12-7cc4-43be-8ef2-754c4fb1fc0c",
    "env": {

    }
  },
  "results": [
    {
      "status": "success",
      "timing": [
        {
          "name": "compile",
          "started_at": "2024-02-21T17:54:31.748147Z",
          "completed_at": "2024-02-21T17:54:31.765072Z"
        },
        {
          "name": "execute",
          "started_at": "2024-02-21T17:54:31.801492Z",
          "completed_at": "2024-02-21T17:54:33.039715Z"
        }
      ],
      "thread_id": "Thread-2 (worker)",
      "execution_time": 1.3536255359649658,
      "adapter_response": {
        "_message": "OK",
        "rows_affected": 0
      },
      "message": "OK",
      "failures": null,
      "unique_id": "model.DBT_RUN_MATRIX_TEST_2_0.RUN_MATRIX_TGT_3"
    },
    {
      "status": "success",
      "timing": [
        {
          "name": "compile",
          "started_at": "2024-02-21T17:54:31.742269Z",
          "completed_at": "2024-02-21T17:54:31.763914Z"
        },
        {
          "name": "execute",
          "started_at": "2024-02-21T17:54:31.771594Z",
          "completed_at": "2024-02-21T17:54:33.061006Z"
        }
      ],
      "thread_id": "Thread-1 (worker)",
      "execution_time": 1.3784840106964111,
      "adapter_response": {
        "_message": "OK",
        "rows_affected": 0
      },
      "message": "OK",
      "failures": null,
      "unique_id": "model.DBT_RUN_MATRIX_TEST_2_0.RUN_MATRIX_TGT_1"
    }
  ],
  "elapsed_time": 4.044718503952026,
  "args": {

  }
}

Expected Behavior
Expected run_results.json have

code to indicate insert, update, or delete
corresponding rows_affected reflects the number of rows are either deleted, inserted, or updated.

Steps To Reproduce
Create a flow with Oracle as source and target,
Run the flow to get the run_results.json
Relevant log output using --debug flag enabled
No response
Environment
- OS:
- Python:
- dbt:1.4.9

What Oracle database version are you using dbt with?
No response
Additional Context
No response

@cindyzh-ibm
Which python driver are you using ?
is it cx_Oracle or the new oracledb python driver.
dbt-oracle  uses the python driver's cursor.rowcount attribute to populate rows_affected in run_results.json.
Please switch to the new driver if you have not done. To switch to the thin driver, you can set the following environment variable before running dbt
export ORA_PYTHON_DRIVER_TYPE=thin

This should populate rows_affected correctly.

Thanks, @aosingh , Let me check and get back to you

Hi @aosingh
we are using oracledb python driver.
The default is cx_oracle which is deprecating, so we are using oracledb and we do using thin mode. Following is the piece from our log.
15 2/21/2024 09:59:32 INFO IIS-DSEE-TODT-00002 <dbt,0> 17:59:26  oracle adapter: Running in thin mode
16 2/21/2024 09:59:32 INFO IIS-DSEE-TODT-00002 <dbt,0> 17:59:26  Running with dbt=1.4.99

Thank you @cindyzh-ibm.
What is the version of oracledb driver ?
python -c "import oracledb; print(oracledb.__version__)"

I have been trying to reproduce the problem with dbt-oracle==1.4.4 which is the latest version published in 1.4.x release line. Are you using incremental models ?
I tried a few simple cases which seem to work fine.

dbt seed -  Insertion works as expected

"results": [
        {
            "status": "success",
            "timing": [
                {
                    "name": "compile",
                    "started_at": "2024-02-23T01:26:39.822399Z",
                    "completed_at": "2024-02-23T01:26:39.822408Z"
                },
                {
                    "name": "execute",
                    "started_at": "2024-02-23T01:26:39.824222Z",
                    "completed_at": "2024-02-23T01:26:40.628122Z"
                }
            ],
            "thread_id": "Thread-1",
            "execution_time": 0.8198621273040771,
            "adapter_response": {
                "_message": "INSERT 5",
                "code": "INSERT",
                "rows_affected": 5
            },
            "message": "INSERT 5",
            "failures": null,
            "unique_id": "seed.dbt_adbs_test_project.seed"
        }
    ],

Table materialization - Creation of Table also shows the rows affected

    "results": [
        {
            "status": "success",
            "timing": [
                {
                    "name": "compile",
                    "started_at": "2024-02-23T01:28:30.549139Z",
                    "completed_at": "2024-02-23T01:28:30.555564Z"
                },
                {
                    "name": "execute",
                    "started_at": "2024-02-23T01:28:30.556883Z",
                    "completed_at": "2024-02-23T01:28:31.258269Z"
                }
            ],
            "thread_id": "Thread-1",
            "execution_time": 0.730828046798706,
            "adapter_response": {
                "_message": "OK",
                "rows_affected": 5
            },
            "message": "OK",
            "failures": null,
            "unique_id": "model.dbt_adbs_test_project.people"
        }
    ],

cc: @anthony-tuininga

@aosingh
sh-4.4$ python3 -c "import oracledb; print(oracledb.__version__)"
1.4.1

sh-4.4$ dbt --version
03:06:30  oracle adapter: Running in cx mode
03:06:30  oracle adapter: [WARNING]: cx_oracle is no longer maintained, use python-oracledb

To switch to python-oracledb set the environment variable ORA_PYTHON_DRIVER_TYPE=thin

Read the guideline here: https://docs.getdbt.com/reference/warehouse-setups/oracle-setup#configure-the-python-driver-mode

Documentation for python-oracledb can be found here: https://oracle.github.io/python-oracledb/
Core:
  - installed: 1.4.99
  - latest:    1.7.8  - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - bigquery:  1.4.1  - Update available!
  - oracle:    1.4.8  - Update available!
  - postgres:  1.4.99 - Update available!
  - redshift:  1.4.1  - Update available!
  - snowflake: 1.4.5  - Update available!
  - teradata:  1.4.99 - Update available!

  At least one plugin is out of date or incompatible with dbt-core.
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Are you using incremental models ?

{{
  config(
    materialized='datastage'
    , table_action='append'
    ....
  )
}}

@cindyzh-ibm ismaterialized='datastage' a custom materialization which you have implemented ? dbt doesn't implement "datastage" materialization.
Could you verify "target" relation is returned in the end ?
-- Return the relations created in this materialization
  {{ return({'relations': [target_relation]}) }}

Yes, we use custom materialization.
No, we don't have "target" relation is returned in the end.
We prepare statement and run run_query macro which delegates execution to dbt core by means of specific adapter
{{
  config(
    materialized='datastage'

    , write_mode='update'
    , key_columns=['ID']

    , force_commit='false'

    , use_adapter_drop_statement='false'
  )
}}

{{
  config(
    materialized='datastage'

    , table_action='append'
    , write_mode='insert'

    , force_commit='false'

    , use_adapter_drop_statement='false'
  )
}}

@cindyzh-ibm
what is this statement ? is it an anonymous PL/SQL block or CTAS ?  Details will help me reproduce the problem.

@aosingh custom materialization prepares and submits sql statements

@cindyzh-ibm
I understand these are SQL statements. What is the last statement executed in your custom materialization?
dbt-oracle uses cursor.rowcount to get the number of rows affected
The documentation states that cursor.rowcount is a read-only attribute which specifies the number of rows that have currently been fetched from the cursor (for select statements) or that have been affected by the operation (for insert, update, delete and merge statements). For all other statements the value is always zero.
Immediately after the cursor.execute() call has been made, if no rows have been fetched, the result will be 0. If you call cursor.fetchone() then result will be 1 and if you call cursor.fetchmany(5) then the result will be 6, and so forth
Did you try returning the target relation in the end ?
-- Return the relations created in this materialization
  {{ return({'relations': [target_relation]}) }}

@aosingh ok.
This is insert statement
BEGIN
  EXECUTE IMMEDIATE '
 insert into "test"."RUN_MATRIX_TGT_1" ("ID", "NAME", "HIRE_DATE", "SALARY")
    select "ID", "NAME", "HIRE_DATE", "SALARY"
    from  "test"."test__dbt_tmp"
';
END;

Update statement
BEGIN
  EXECUTE IMMEDIATE '
  update "DSFLOWSUSER"."RUN_MATRIX_TGT_3"
  set
  ("ID", "NAME", "HIRE_DATE", "SALARY")
  = ( select "ID", "NAME", "HIRE_DATE", "SALARY"
    from "DSFLOWSUSER"."RUN_MATRIX_TGT_3__dbt_tmp"
    where
                    "DSFLOWSUSER"."RUN_MATRIX_TGT_3__dbt_tmp"."ID" = "DSFLOWSUSER"."RUN_MATRIX_TGT_3"."ID"
                )
';
END;

I haven't tried following yet. So far we don't have "target" relation is returned in the end.
-- Return the relations created in this materialization
  {{ return({'relations': [target_relation]}) }}

@cindyzh-ibm
Thanks, you are executing a PL/SQL(BEGIN..END) block in the custom materialization.
The value for cursor.rowcount will be 0 after executing a PL/SQL block. Let me check if we use sql%rowcount expression immediately to get the row affected and pass that to dbt.


Suggestion: Advanced Updates

Suggested to SuperJezmeralda on Discord:

Idea for the web form, use something like update stats. It'll send you a one time web link by DM that will let you edit stats on your profile.
Obviously you need a web UI of some sort but this keeps the link to Discord.
I'm a big fan of one time links.  Use a GUID or some kind of hash that get cleared when they submit the form.

[x] Bot command
[ ] Show data in bot
[ ] Web UI

Will be first introduced as part of Conversational Upgrade

Moved to JayTurnr/ekpogo.uk#31


Handle missing calendar attribute

With analysis3-19.07
import cosima_cookbook as cc
session = cc.database.create_session()
cc.querying.getvar('025deg_jra55v13_iaf_gmredi6','pot_rho_2',session)

yields
<xarray.DataArray 'pot_rho_2' (time: 300, st_ocean: 50, yt_ocean: 1080, xt_ocean: 1440)>
dask.array<shape=(300, 50, 1080, 1440), dtype=float32, chunksize=(1, 10, 216, 288)>
Coordinates:
  * xt_ocean  (xt_ocean) float64 -279.9 -279.6 -279.4 ... 79.38 79.62 79.88
  * yt_ocean  (yt_ocean) float64 -81.08 -80.97 -80.87 ... 89.74 89.84 89.95
  * st_ocean  (st_ocean) float64 1.152 3.649 6.565 ... 5.034e+03 5.254e+03
  * time      (time) object 1958-06-30 12:00:00 ... 2257-06-30 12:00:00
Attributes:
    long_name:      potential density referenced to 2000 dbar
    units:          kg/m^3
    valid_range:    [-1.e+01  1.e+05]
    cell_methods:   time: mean
    time_avg_info:  average_T1,average_T2,average_DT
    coordinates:    geolon_t geolat_t

but
cc.querying.getvar('025deg_jra55v13_iaf_gmredi6','pot_rho_2',session,time_units='days since 1718-01-01')

yields
ERROR:root:Unable to decode time: 'DataArray' object has no attribute 'calendar'
Out[4]:
<xarray.DataArray 'pot_rho_2' (time: 300, st_ocean: 50, yt_ocean: 1080, xt_ocean: 1440)>
dask.array<shape=(300, 50, 1080, 1440), dtype=float32, chunksize=(1, 10, 216, 288)>
Coordinates:
  * xt_ocean  (xt_ocean) float64 -279.9 -279.6 -279.4 ... 79.38 79.62 79.88
  * yt_ocean  (yt_ocean) float64 -81.08 -80.97 -80.87 ... 89.74 89.84 89.95
  * st_ocean  (st_ocean) float64 1.152 3.649 6.565 ... 5.034e+03 5.254e+03
  * time      (time) float64 8.784e+04 8.82e+04 8.857e+04 ... 1.967e+05 1.97e+05
Attributes:
    long_name:      potential density referenced to 2000 dbar
    units:          kg/m^3
    valid_range:    [-1.e+01  1.e+05]
    cell_methods:   time: mean
    time_avg_info:  average_T1,average_T2,average_DT
    coordinates:    geolon_t geolat_t

Notice the error, and that now the time coordinate has been turned into float64.
The problem seems to arise in
https://github.com/COSIMA/cosima-cookbook/blob/master/cosima_cookbook/querying.py#L106-L112
which assumes a calendar attribute exists (which is not the case here).
Perhaps this should use try-except?

Is there a fix for this? That is getting time in calendar format rather than in float64.
I'd like to do a dataarray.groupby('time.year').mean('time') which doesn't work if time has turned into float64.

Hi @ERDuran  - Which variable are you trying to load? Do you know which netcdf file it is ion? If yes, try specifying ncfile and see if it works.

Sure thing! With analysis3-19.07
`import cosima_cookbook as cc
import exptdata
session = cc.database.create_session()
ekey='025deg'
expt = exptdata.exptdict[ekey]['expt']
time_units = exptdata.exptdict[ekey]['time_units']
n_files = exptdata.exptdict[ekey]['n_files']
offset = exptdata.exptdict[ekey]['offset']
temp_month = cc.querying.getvar(expt=expt,
variable='temp',
session=session,
ncfile='ocean.nc',
time_units=time_units,
n=n_files,
offset=offset)
temp_month`
yields
`ERROR:root:Unable to decode time: 'DataArray' object has no attribute 'calendar'
Out[1]:
<xarray.DataArray 'temp' (time: 60, st_ocean: 50, yt_ocean: 1080, xt_ocean: 1440)>
dask.array<shape=(60, 50, 1080, 1440), dtype=float32, chunksize=(1, 10, 216, 288)>
Coordinates:

xt_ocean  (xt_ocean) float64 -279.9 -279.6 -279.4 ... 79.38 79.62 79.88
yt_ocean  (yt_ocean) float64 -81.08 -80.97 -80.87 ... 89.74 89.84 89.95
st_ocean  (st_ocean) float64 1.152 3.649 6.565 ... 5.034e+03 5.254e+03
time      (time) float64 8.784e+04 8.82e+04 8.857e+04 ... 1.09e+05 1.094e+05
Attributes:
long_name:      Conservative temperature
units:          deg_C
valid_range:    [-10. 500.]
cell_methods:   time: mean
time_avg_info:  average_T1,average_T2,average_DT
coordinates:    geolon_t geolat_t`

Notice the time coordinate in float64. expt is referring to '025deg_jra55v13_iaf_gmredi6'.

Aah, OK, I see.
The issue here is that I think that the way we use offset must have changed, and so this is doing something funny with your dates.
If you just give it
temp_month = cc.querying.getvar(expt=expt,
variable='temp',
session=session)

then you should get something like this:
<xarray.DataArray 'temp' (time: 1020, st_ocean: 50, yt_ocean: 1080, xt_ocean: 1440)>
dask.array<shape=(1020, 50, 1080, 1440), dtype=float32, chunksize=(1, 10, 216, 288)>
Coordinates:
  * xt_ocean  (xt_ocean) float64 -279.9 -279.6 -279.4 ... 79.38 79.62 79.88
  * yt_ocean  (yt_ocean) float64 -81.08 -80.97 -80.87 ... 89.74 89.84 89.95
  * st_ocean  (st_ocean) float64 1.152 3.649 6.565 ... 5.034e+03 5.254e+03
  * time      (time) object 1958-06-30 12:00:00 ... 2257-12-14 12:00:00
Attributes:
    long_name:      Conservative temperature
    units:          deg_C
    valid_range:    [-10. 500.]
    cell_methods:   time: mean
    time_avg_info:  average_T1,average_T2,average_DT
    coordinates:    geolon_t geolat_t

Here the dates are fine, but they will be a bit offset compared with what is in the paper. If you want to use the final  cycle you will have to look at years 2198 onwards, I think, or else play around with the offset a bit. If that is what you want, then use start_date so you don't have to load the whole dataset (there should be some information in the tutorial on this one).
But the main point is that you can group by year, etc. Keep us posted!

Thanks for the help! I had to specify ncfile too. The following
temp = cc.querying.getvar(expt=expt,
                                variable='temp',
                                session=session,
                                ncfile='ocean.nc')
temp

gives
<xarray.DataArray 'temp' (time: 300, st_ocean: 50, yt_ocean: 1080, xt_ocean: 1440)>
dask.array<shape=(300, 50, 1080, 1440), dtype=float32, chunksize=(1, 10, 216, 288)>
Coordinates:
  * xt_ocean  (xt_ocean) float64 -279.9 -279.6 -279.4 ... 79.38 79.62 79.88
  * yt_ocean  (yt_ocean) float64 -81.08 -80.97 -80.87 ... 89.74 89.84 89.95
  * st_ocean  (st_ocean) float64 1.152 3.649 6.565 ... 5.034e+03 5.254e+03
  * time      (time) object 1958-06-30 12:00:00 ... 2257-06-30 12:00:00
Attributes:
    long_name:      Conservative temperature
    units:          deg_C
    valid_range:    [-10. 500.]
    cell_methods:   time: mean
    time_avg_info:  average_T1,average_T2,average_DT
    coordinates:    geolon_t geolat_t

It turns out that the culprit was time_units. If you specify n and offset as follow
temp = cc.querying.getvar(expt=expt,
                                variable='temp',
                                session=session,
                                ncfile='ocean.nc',
                                n=n_files,
                                offset=offset)
temp

you get
<xarray.DataArray 'temp' (time: 60, st_ocean: 50, yt_ocean: 1080, xt_ocean: 1440)>
dask.array<shape=(60, 50, 1080, 1440), dtype=float32, chunksize=(1, 10, 216, 288)>
Coordinates:
  * xt_ocean  (xt_ocean) float64 -279.9 -279.6 -279.4 ... 79.38 79.62 79.88
  * yt_ocean  (yt_ocean) float64 -81.08 -80.97 -80.87 ... 89.74 89.84 89.95
  * st_ocean  (st_ocean) float64 1.152 3.649 6.565 ... 5.034e+03 5.254e+03
  * time      (time) object 1958-07-01 12:00:00 ... 2017-06-30 12:00:00
Attributes:
    long_name:      Conservative temperature
    units:          deg_C
    valid_range:    [-10. 500.]
    cell_methods:   time: mean
    time_avg_info:  average_T1,average_T2,average_DT
    coordinates:    geolon_t geolat_t

It seems like offset worked here? I am not sure what time_units is for... Anyhow I think this solved the problem for me!


npm start not working

only npm run dev is the working one
tried with npm run build -> npm start however the dist folder was empty

hello
I'm NEW IN GITHUB
I couldn't find where to write my problem
I get such error on npm startup
root@myhost ~]# cd
[root@myhost ~]# cd home
[root@myhost ~]# cd node
[root@myhost ~]# npm start
npm ERR! Error: ENOENT, open '/root/package.json'
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR!     http://github.com/npm/npm/issues
npm ERR! System Linux 3.10.0-1062.9.1.el7.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! cwd /root
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /root/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/npm-debug.log
npm ERR! not ok code 0
[root@myhost ~]
How to fix this problem

Fixed by https://github.com/codevet/daipay/commit/e349b459d3917adb6aedcb8733bad317031cc97d

@codevet Still not fixed, it gives me Not Found error


resmon: sysinfo: add and use per-NUMA memory info

Extend the sysinfo package to extract per-NUMA memory information, and report it as per-NUMA capacity in resource monitor.

/lgtm


Updated translation for Dutch

Manually added the 12-hour format lines back in since the problem with the translation tool seems to still persist.

Dank u zeer!
I added you to the CONTRIBUTORS list.


For a Data processing App from MessageHub changes there is a wskdeploy manifest available for a user to easily instantiate the PRODUCT

@mrutkows  Please assign. Assuming @daisy-ycguo or @lzbj.

depends on openwhisk/openwhisk-wskdeploy issue #101

Need to also consider "Deploy to Bluemix" type of button for driving wskdeploy and doing continuous testing to ensure the app doesn't break with upstream changes.

So we need to put the manifest.yml under this repo to trigger the wskdeploy?

I think we need to work as below:

Create a wskdeployinstall.sh to install wskdeploy in the user's local environment, including the configuration file to set the env variables. ( similar to the existing wskinstall.sh )
Prepare manifest.yml and deployment.yml at the repo root, which can be used by wskdeploy
Change the document to guide users how to deploy with wskdeploy tool.

Carlos, indicated we should not "re-invent the wheel" and use what is already available for the CLI on the backend where it already uses gradle commands to build a Docker container for building the binarie(s).  Then a webapp (web page) can be constructed to invoke wskdeploy as an whisk action.
Here are his comments from Slack earlier:
yes you ca prototype the app today using whisk and what daisy is correct
./wskdeployinstall.sh ( install wskdeploy and config env variables )
wskdeploy ( run wskdeploy to deploy to bluemix server)

[1:18]
basically running this on behave of the user but from a browser
[1:20]
and also to make it fast the wskdeploy binary should already be available some where to do curl https://github.com/openwhisk/openwhisk-wskdeploy/archive/linux/wskdeploy
[1:23]
you can implement the webpage using a web action, the html page will ask user to enter bluemix username and password to login/deploy, then present select namespace to deploy app to, text input will have ow key for the namespace, text input will be populated with getting started git url via query parameter from button/link. when clicking submit, invoke another action that will do the 3 steps, that daisy said clone, setup, wskdeploy, return a 301 to openwhisk ui

@daisy-ycguo @mrutkows ,please help review this PR, https://github.com/openwhisk/openwhisk-wskdeploy/pull/149


Map usages inside class definitions

We're not currently mapping class definitions as we need to, leading to false positives.

Codecov Report

Merging #5 (d6056fe) into master (3fa4c29) will not change coverage.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   100.0%   100.0%
=======================================
  Files           3        3
  Lines         109      112    +3
=======================================
+ Hits          109      112    +3

Impacted Files
Coverage Δ

flake8_typing_only_imports/checker.py
100.0% <100.0%> (ø)


[CHORE] Increment version code, name and remove suffix for releases

@RocketChat/android

Just suggestions: Create a git tag for this release (as well as for future releases).

@filipedelimabrito Yes, let's create... but it's not a release yet, there are a few bugs yet on this release that needs to be fixed.

We should increment the versionCode (at least) on every merge to develop.


type narrowing bug

TypeScript Version: 2.6

class Test
{
    private property: string;

    private changeProperty(): void
    {
        this.property = "bar";
    }

    private TestFunc(): void
    {
        if (this.property != "foo")
            throw "bad";

        this.changeProperty();
        if (this.property == "bar") //compile error
            console.log("good");
    }
}

Expected behavior:
Compile should work
Actual behavior:
Compile error because Typescript believes this.property should be "foo" and comparing "foo" == "bar" is dumb. It didn't take in the fact that property got changed by the method call.

Related: https://github.com/Microsoft/TypeScript/issues/9998


Frequent usage of /screenshot endpoint causes memory problem

For Android 14, if /screenshot endpoint is called frequently via curl command in a loop, high memory usage occurs.

Hi @rdmrtn ,
IMO, It sort of depends on the frequency of calling screenshot in your case. As you can see, the bitmap will be generated at here .  However in Java world, these bitmap objects should be taken care of by GC, even I invoke bitmap.recycle() to free the native object associated with this bitmap, and clear the reference to the pixel data. This will not free the pixel data synchronously.
If there is more context / profile data you can share, that will be more helpful to dig deep.

Hi,
When I start to fetch screenshots via curl, memory usage increases as below. When I stop fetching screenshots, increasing stops but stays at same level. The memory is not released until I kill the process in phone.

Actually, I suspect from here.
When I commented this line, there is not any memory usage stays constant.

@rdmrtn , thank you for the detail info.
I've made a new build  (DroidCast-debug-1.2.0-1130.apk) and uploaded to wetransfer : https://we.tl/t-ExNIgLFIYX
Feel free to test again it, however, I can only get an emulator to test.
Related changes :

We do need a way to convert the bitmap to raw bytes and transmit them. So the compress method is required.
One more question, can you keep running it and monitor the OOM error in the end?

Emulator causes my PC to be frozen.

$ adb shell ps -ef | grep -i cast
shell         9709  6847 0 15:59:31 ?     00:00:00 sh -c CLASSPATH=/data/app/~~_UuZ-rloyCdtyK-KN92wrQ==/com.rayworks.droidcast-jlhSVZxbO1yPkfywjq_D_w==/base.apk app_process / com.rayworks.droidcast.Main --port=53516
shell         9711  9709 1 15:59:31 ?     00:00:13 app_process / com.rayworks.droidcast.Main --port=53516

9711 is the retrieved process on my machine.
adb shell dumpsys meminfo 9711

You can run above commands to dump memory info for the target running process.
There is a change between taking screenshots and after for the same process.

Even if my android sdk 34 emulator causes OOM, for a real device everything seems to be okay. Thank you for your interest.


Top edge of the window border is not visible/shown on windows 10

Description
Files window has accent color border. The top edge of the accent color border is not visible/shown.

Steps To Reproduce
Set accent color
Open files
Requirements

e.g. Fix crash that occurs when...

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.4291
Log File
debug.log

This should be a Windows side issue.
Might be related with #14599

This is indeed the same as #14599. I believe there is also an issue tracking this on the WinAppSdk repo.

https://github.com/microsoft/microsoft-ui-xaml/issues/8805

@0x5bfa, you closed this with "This should be a Windows side issue." If this was true then why this symptom is experienced with files only. All other applications (e.g. windows settings or MS team) display the window border properly.

All other applications (e.g. windows settings or MS team) display the window border properly.

@szebegyi Windows Settings is UWP and MIcrosoft Teams is another framework. This issue is specific to WinAppSdk, and even then, only when using extended title bars.
I recommend adding your feedback to https://github.com/microsoft/microsoft-ui-xaml/issues/8805 as it's the community who can help increase the priority of these issues on Microsofts end.

Yes, Notepad and Paint uses XAML Island, Calculator, MS Store, Snipping Tool and Windows Terminal uses UWP, Discord app uses Web framework.
If you wanna see this issue in another app, you can download an app from Microsoft for developers like us: https://apps.microsoft.com/detail/9p3jfpwwdzrc

Microsoft recently fixed this issue and we'll include the fix in the next version of Files.


Implement reference streaming

This PR implements the necessary changes in vscode to support streaming the response for "Find all references" requests as described in #20010 (please read this issue for complete context).
Streaming results makes reference requests more responsive for large repos since the user does not have to wait for all results to start seeing some results. If the user interacts with the reference results before they have finished streaming in, their position and state will be preserved.
Before merging:

[ ] Use ProgressCallback
[ ] Fix CI errorssrc/vs/editor/contrib/referenceSearch/browser/referencesModel.ts:32:32:Unexternalized string found: ":"
src/vs/editor/contrib/referenceSearch/browser/referencesModel.ts:36:96:Unexternalized string found: ":"
/home/travis/build/Microsoft/vscode/src/vs/workbench/test/node/api/extHostLanguageFeatures.test.ts(592,11): Supplied parameters do not match any signature of call target.

Hi @nicksnyder, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi, I am closing and re-opening this PR to bump the CLA bot. Sorry for the inconvenience!

Hi @nicksnyder, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, MSBOT;

I appreciate the effort but the concerns I have expressed in #20010 still exist and I still believe this should be tackled UX first before talking about APIs

@jrieken Are you saying that maintaining the users state (e.g. expand/collapse/reveal) is not sufficient? (this PR does maintain that state). Running it locally, the UX proposed by this PR seems very reasonable to me.
If you could run my branch locally and tell me concrete problems with the UX of what I proposed, then I can work on it.
The demo extension has data streaming in very slowly so I could test each case. More than likely results would stream in much quicker. If you are abstractly worried about jittery UI, I could explore throttling UI updates, but that may actually increase jitter compared to allowing results to stream in one at a time.

Going to close this PR as it is out of date and I have a better proposal partially implemented. Will submit a new PR when it is ready.


Uncaught Invariant Violation: Element type is invalid

Hi, I'm currently trying to use the library and keep running into this error:
index_bundle.js:9326 Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `SVGTile`.

index_bundle.js:8863 Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `SVGTile`.

Using:
"react": "^15.3.0",
"react-dom": "^15.3.0",
"react-mt-svg-lines": "^0.6.0"

Here is my code:
var React = require('react');
var ReactDOM = require('react-dom');
var MtSvgLines = require('react-mt-svg-lines');

var SVGTile = React.createClass({
  render: function() {
    return(
      <a data-section={this.props.section}>
        <MtSvgLines animate={true} duration={500}>
          <svg viewBox="0 0 100 100">
            <path id={this.props.id} strokeWidth="10" stroke="green" fill={this.props.fill} className={this.props.className} d={this.props.d} />
          </svg>
        </MtSvgLines>
      </a>
    )
  }
});

ReactDOM.render(
 <SVGTile section="music" id="music" fill="#000000" className="cover" d="M256.307,330.646c-5.912,0-5.966-0.07-5.974-5.869c-0.007-6.123-0.038-12.245,0.006-18.367l-0.023-17.579c0.013-10.339,0.161-20.681,0.017-31.019c-0.052-3.715,1.272-4.987,4.991-4.982c56.325,0.068,112.65,0.033,168.978,0.021c2.585,0,5.171,0.058,7.754-0.037c2.801-0.104,3.925,1.199,3.871,3.933l0.047,69.373c0.041,3.362-1.241,4.612-4.566,4.522L256.307,330.646z"/>,
  document.getElementById('app')
);

Could you please point me to the right direction as to what's going on here? I tried nesting in different ways and even stripped all props and tried the example on the website, can't figure out what's going wrong. I'm making sure I have the SVG markup lined up properly too. It's killing me, any of your help would be greatly appreciated!

back from backcountry. did you figure it out?

I have not, could you possibly look into it?

I have the same problem.

Found the solution - You need export default or require(path).default
So it should be:
var MtSvgLines = require('react-mt-svg-lines').default;

Thanks @SuttJ. Haven't had the time to look into it, but makes sense. Will update the README..


New package: YAMLScript v0.0.16

Registering package: YAMLScript
Repository: https://github.com/ingydotnet/YAMLScript.jl
Created by: @ingydotnet
Version: v0.0.16
Commit: 1917fe96c1080ddd46c5a4f1ca1d07f14123f7e0
Git reference: HEAD

Welcome @ingydotnet!
The package doesn’t seem to have any content yet, so it’s not ready for registration. See https://github.com/JuliaRegistries/General#should-i-register-my-package for some related points. We welcome you to resubmit the package once it has some functionality implemented.

@ericphanson I have some questions...
For background I am planning to implement the YAMLScript language on top of lots of languages including Julia.
The working prototype is in Perl on CPAN now: https://metacpan.org/pod/YAMLScript
And the mono repo is https://github.com/yaml/yamlscript
I am learning how to publish in lots of languages right now.
Reading of Julia publishing it wanted my repo name to be YAMLScript.jl but I'd prefer it to live in https://github.com/yaml/yamlscript/tree/main/julia
Is that possible? If so what should I do?
Also how much of YS do you want me to implement in Julia before registering it?

@ericphanson I'll start adding some content while I wait for a reply...

Reading of Julia publishing it wanted my repo name to be YAMLScript.jl but I'd prefer it to live in https://github.com/yaml/yamlscript/tree/main/julia
Is that possible? If so what should I do?

Yep! Specify the directory https://juliahub.com/ui/Registrator. That directory will need a copy of the license.

Also how much of YS do you want me to implement in Julia before registering it?

It is supposed to be code that is ready for others to use, like a first release. Generally we just look to see it does “something” and isn’t a purely “personal” package (although we don’t have time to look at all registrations so the process is kinda random unfortunately).

ok, I'll put some work into it. thanks


Create "Pop" (Light) Skin

Following the creation of "Rock", the default skin, create "Pop" - a light variation.

While skinned styling is an ongoing concern, the current elements are skinned and the skin is persisted per application in user settings. Skins can be changed from the View menu.


Missing data in download (gwas-catalog-v1.0.3-studies-r20)

There are empty fields in the gwas-catalog-v1.0.3-studies-r20 download (the one with added fields to match the unpub download).  Some of them are meant to be empty right (?), but the mapped trait fields are also empty which surely isn't right.  Many of the other fields could also be populated.

@aoifemcm is there a spec for this file download or can you list what fields should not be empty, but currently are empty?

I don't know what's supposed to be in there and what's not @twhetzel, try @ljwh2 @JalMacArthur or @eks-ebi

I think @ljwh2 has the specs

All the fields from the original download should be filled. These are
MAPPED_TRAIT | MAPPED_TRAIT_URI | STUDY ACCESSION | GENOTYPING TECHNOLOGY


Javascript docs say use TSD but it is replaced by typings

on https://code.visualstudio.com/docs/languages/javascript
"The typings are easily managed using TSD, the TypeScript Definition manager."
But on https://github.com/Definitelytyped/tsd#readme
"DEPRECATED: TSD is deprecated, please use Typings and see this issue for more information."

This is a duplicate of Microsoft/vscode-docs#145

Strange. I did search first.

(it is a PR in the vscode-docs repo and not in the vscode repo)

my bad


Correct the deadline on the framework dashboard

It should match that on https://github.com/alphagov/digitalmarketplace-buyer-frontend/pull/132.

:+1:


Replace calling t8n to get the withdrawals root with internal method

Instead of performing a call to t8n just to get the withdrawals root, it should be relatively straightforward to use ethereum.rlp to calculate the root using an internal method.
This should fix the t8n log dump skipping folder 1 when requested.

Implemented in #273.


Copy-Paste bug with Jupyter Notebooks

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Windows 11
- Continue: 0.8.51
- IDE: VSCode

Description
When using Continue with Jupyter Notebooks, the basic copy/paste functionality brakes upon the first copying and pasting of the code from the model to one of the cells.
After the first copy/paste action, the code is repeatedly pasted into a new cell no matter where the cursor is and no matter what new text I am trying to copy or paste.
To reproduce

Generate some code from an LLM
Copy and paste the code into a Jupyter cell (either using ctrl+c, ctrl+v or by using the context menu)
Copy some new text from elsewhere
Move your cursor to the chat box of Continue
Press ctrl+v
Your new text should not paste but instead the previous generated code is pasted into a new Jupyter cell

Log output
No response

Confirm the bug. Super annoying :(


[BUG] Feature Extraction incredibly slow on Paperspace machines

I've been attempting to use Applio on Paperspace but it seems to run into issues as soon as it's time for the Feature Extraction step. Using a machine with an A6000 and a Intel Xeon Gold 5315Y cpu, i'm getting 1% of feature extraction per-thread every 30 seconds. It would take me about half an hour just to extract features at this rate. This is with using RMVPE.
I don't have this issue on RVC mainline or other variations, similarly this issue doesn't happen when running locally -- though not having the ability to control how many threads Applio uses for feature extraction is a huge issue for me.

THis could be because we use an updatyed version of torch meanwhile mainline uses an oudated version of torch please check if you have the correct drivers installed in the paperspace machine: https://docs.nvidia.com/deeplearning/cudnn/latest/reference/support-matrix.html (Because it's update we need the CUDA Toolkit 12.1)

I also modified one line of the installer so you could try to install it again to see if it works

I also modified one line of the installer so you could try to install it again to see if it works

No luck. Grabbed a fresh machine and same issue with that change.


error:ios-deploy out of date (1.9.4 is required)

How to solve it ?

I have solved it with recommendations in this thread:
Duplicate of #15082


[Mobile] Badges not displayed correctly next to posts

Badges are not aligned well on mobile devices next to posts. This may be happening because of  eb98382 or a330683.

This actually may be happening because, of a piece of CSS to fix the badges to close to each other on the Users Profile page.

Already mentioned at the description:

This may be happening because of eb98382 or a330683.

Yes however, that wasnt the CSS I added yesterday to fix badges on the Profile page.

Priority was set to Medium as this doesn't cause any issue with the user being able to click on things.

Told you not to manually close issues if you have a PR open.

Use the current code from the Development branch for your Forum as it's fine on that branch, I'll test Stable and see if it's occurring there.

This issue seems to be fixed on the Stable and Development branch.

This was only fixed on Desktop, I will make sure to add it to the list for Mobile Optimizations.

Issues being closed since this is an incompatible version. A new one will be created if it reoccurs in 0.1.0-beta.12.


kSysLogLoggerId defined but not used

Hi,
I'm facing the following remaining warning :
‘el::base::consts::kSysLogLoggerId’ defined but not used [-Wunused-variable]
783 static const char* kSysLogLoggerId                         =      "syslog";

Related to #620.
Thank you 👍

See #743 for a patch 👍

Closing this as patch has been merged.
Many thanks @abumusamq 👍


Lifesteal not working

Basically I'm using v<IP_ADDRESS> on 1.9.4 and lifesteal isn't working.

I am using a health plugin called rpgHealth so that might effect it. It just levels up your heath by killing stuff.

Does it level up by adding max health or wat lol, try removing the plugin and testing XD

Yes what @Yukun99 try and remove the plugin and see if it still doesn't work.

 I took the plugin out and it works now. thank!


no matching function for call to 'adjust_size_by_resizeability' in boost 1.85

After an update to boost 1.85 we started getting errors about the adjust_size_by_resizeability function. This seems to be an internal boost problem, unrelated to how we actually use boost. We observe this bug both with clang 18.1.4 and gcc 13.2.1. If there's some additional info I could provide to help with this issue, please let me know.
In file included from /usr/include/boost/numeric/odeint/stepper/generation.hpp:28:
In file included from /usr/include/boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54.hpp:22:
In file included from /usr/include/boost/numeric/odeint/stepper/runge_kutta_cash_karp54.hpp:24:
/usr/include/boost/numeric/odeint/stepper/explicit_error_generic_rk.hpp:156:24: error: no matching function for call to 'adjust_size_by_resizeability'
  156 |             resized |= adjust_size_by_resizeability( m_F[i] , x , typename is_resizeable<deriv_type>::type() );
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/numeric/odeint/util/resizer.hpp:31:6: note: candidate function template not viable: no known conversion from 'typename is_resizeable<deriv_type>::type' (aka 'integral_constant<bool, true>') to 'boost::true_type' (aka 'integral_constant<bool, true>') for 3rd argument
   31 | bool adjust_size_by_resizeability( ResizeWrappedState &x , const State &y , boost::true_type )
      |      ^                                                                      ~~~~~~~~~~~~~~~~
/usr/include/boost/numeric/odeint/util/resizer.hpp:43:6: note: candidate function template not viable: no known conversion from 'typename is_resizeable<deriv_type>::type' (aka 'integral_constant<bool, true>') to 'boost::false_type' (aka 'integral_constant<bool, false>') for 3rd argument
   43 | bool adjust_size_by_resizeability( ResizeWrappedState & /* x */ , const State & /* y */ , boost::false_type )
      |      ^                                                                                ~~~~~~~~~~~~~~~~~

Wow, it seems to be fixed already!


Remove the requirement of colon for binder type inclusion

As a developer, I'd like to replace the usage of colon from binder type inclusion (ex :rabbit :topic, :redis:topic) from stream definition.
This is related to #217.

The binderType is specified with colon only in the metadata files where the binder implementation class is specified in spring.factories file. May be some other place we want to investigate the use of colon?

First of all, as this issue is only related to DSL syntax, it belongs with spring-cloud-dataflow not spring-cloud-stream.
That said, I don't quite understand what this issue is suggesting, but the syntax that I'm hoping we can agree upon (after the merging of https://github.com/spring-cloud/spring-cloud-dataflow/pull/368 - where the topic: and queue: prefixes are made obsolete) is:
[binderKey]:destination > ...

If nothing is provided before the colon, the default binder key would be used. The parser would simply pass that value along with other binder properties, so it would align with binder keys configured in the registered application being specified, as described here: http://docs.spring.io/spring-cloud-stream/docs/current-SNAPSHOT/reference/htmlsingle/#_multiple_binders_on_the_classpath

I think that there was some confusion here (partly my fault) that conflated this with Kafka escaping (which is currently removed). @sabbyanandan, I think we can close this now.


Switch from call_id to task_id for consistency

Switching from call_id that comes as part of API response on async execution request to task_id for consistency with /tasks.
Partially addresses: #415

Is this only for async functions?  We named them call_id in reference to a "functions calls", not sure we should have task_id and call_id.

@treeder the thing is that Async execution returns call_id, but I need to query /tasks to get info on it. So, for implementing /tasks/{task_id} we need to clarify what we return to a users, would it be call_id or taks_id that can be tracked via /tasks

@seiflotfy @pedronasser @treeder Guys, can we make certain decision on this one?

So I am pretty ok with that change, we are not 1.0 and I like the changes to the docs.
I'd like to have a +1 from @pedronasser @treeder @ccirello
Then lets push it through. Also can you make sure you add a note in the changelogs?

A good merge message covering on the reason and consequences of this change is a must. Regarding everything else, LGTM.

The main thing that bugs me about this is having different names for essentially the same thing. We should choose one or the other across the board.

@treeder isn't task_id fits better here rather than call_id?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: seiflotfy:white_check_mark: denismakogon:x: U CirelloU Cirello seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


MAINT: next, nit => step, steps

This is a name change from next to step and from the number of iterations nit to steps. I think of optimizers as stepping along some line towards a solution. PyTorch names their update function step and I believe it makes the most sense.
The Optimizer classes in other deep learning libraries might be useful:

Library
Optimizer URL

PyTorch (Facebook)
http://pytorch.org/docs/0.3.0/optim.html#torch.optim.Optimizer

Tensorflow (Google)
https://www.tensorflow.org/api_docs/python/tf/train/Optimizer

MXNet (Amazon)
https://mxnet.apache.org/api/python/optimization/optimization.html#module-mxnet.optimizer

CNTK (Microsoft)
https://cntk.ai/pythondocs/cntk.learners.html#cntk.learners.Learner

DyNet (CMU)
https://dynet.readthedocs.io/en/latest/python_ref.html#dynet.Trainer.update

Whoops, I pulled from scipy master, not your fork. I'll resolve that later.


Make sure we support large fonts

Not sure if all controls are reachable when text size is cranked to 135%. @charlotteguard said there might be an issue with the avalanche center picker on first startup

Looks like what happens is that the cards are too large for the screen and we just need to add scrolling.

after chatting during meeting, request was to add scroll to the page (currently you can still pick the avy center but scroll would make this work better)

First thing would probably be to decide what range of text sizes you want to support. If you make the text size big enough, all kinds of stuff starts to break, and the intro screen is comparatively the easiest to fix.

text size
submit form
main screen

The app looks just fine for all of the normal sizes when accessibility mode is not on. We can enforce that just to be safe, but it's not a huge issue, I don't think.

Seems like there isn't any reason to not do it though right?

Sure, no reason not to. I've got a commit ready that does it, will push a PR soon.

great, thanks!

For some reason, with the font scaling change the app gets stuck forever on the splash screen after you choose the center you want. I don't have more time to dig in right now - the changes do correctly limit scaling, but I'm not sure what is going on with the splash screen.

In order to get the app to work at startup, I tried setting our wrapper for Text and HTML instead of setting the default props for Text and TextInput. This works. but it looks like react-native-navigation does not yet support a maximum scaling factor. I don't have more time to sink into this right now, unfortunately.

Work is here: https://github.com/NWACus/avy/pull/574

Def not working on iOS. -Rusty just making notes for now


How can I hide guide lines in Bar Chart?

Just don't create a guidelines layer / don't pass it to the chart :)


Make it possible to schedule messages with wildcard mention confirmation

At present, when a user attempts to send a message with a wildcard @-mention that will notify 15+ users, we display a confirmation banner. The user must click "Yes, send" to actually send the message.

The same banner is shown if the user selects "Schedule message", and "Yes, send" immediately sends the message. As such, it's impossible to schedule a message with such a wildcard mention.
To fix this, we should do the following:

[ ] When the banner is triggered via "Schedule message", change the button text to "Yes, schedule".
[ ] Clicking "Yes, schedule" should pop up the "Schedule message" modal for getting the message scheduled.

@zulipbot claim


"svc -dx" on a service does not cause the log service to stop after the main service exits

The Changes for daemontools-encore-1.02 says:
If a supervise is managing both a main and log service,
issuing "svc -dx" on the service will cause the log to stop
after the main service exits.

This doesn't seem to be the case.
I've a standard log/run script that does exec multilog .... When I do svc -dx foo on the parent the multilog exits after reading eof on stdin, but the log supervise restarts it (and keeps on restarting it because the multilog exits immediately due to end on stdin).
Using strace on the multilog and the parent log supervise process I can see that the multilog exits on eof, as expected. The parent log supervise process however doesn't get told how to act. The svc -dx foo on the parent has no effect on the log supervise, so naturally it restarts the multilog when it exits.

I think this is perhaps confusion in the documentation. One of the features daemontools-encore added was the ability to run both the service and the log from the same supervise. In that case, serivce/log would be an executable script instead of a subdirectory containing service/log/run.


refactor(icon): add icon component with props support

As the old unified icon component has room to be enhanced. I've replicated that to a new icon component with prop support:

BREAKING CHANGE:
Take the jobAd icon as example,
Before:
<Icons iconName="jobAd" />

After:
<Icon type="jobAd" />

MIGRATION GUIDE:
Before:
import {
  Icons
} from 'seekasia-style-guide/react';

After:
import {
  Icon
} from 'seekasia-style-guide/react';

EXAMPLE USAGE:
- Small (16px x 16px):
<Icon type="jobAd" size="small" />

- Large (36px x 36px):
<Icon type="jobAd" size="large"/>

- 90 degree rotated:
<Icon type="jobAd" rotation="90deg" />

- 180 degree rotated:
<Icon type="jobAd" rotation="180deg" />

- 90 degree rotated (counter-clockwise):
<Icon type="jobAd" rotation="-90deg" />

- 180 degree rotated (counter-clockwise):
<Icon type="jobAd" rotation="-180deg" />

- Smooth rotation
<Icon smoothRotate type="jobAd" />

(which can be use in conjunction with rotation prop)
- Animation
<Icon animation="bounce" type="jobAd" />
<Icon animation="popIn" type="jobAd" />

Preview of this new icon component:
http://seek-asia-style-guide--a5c63278eb6ec2170c529c45dfd98f30714c867f.surge.sh/icon

I can see BRAID use more inline css-in-js than SEEK Asia style guide (which is not a very bad thing after all). What I'm try to do here is encapsulate animation as flexible preset for the ease of adaption.  Inline keyframes management is still not easy to do...

New preview snapshot:
https://seek-asia-style-guide--56f7512ce2ff0df7f02bd9518302d70ef98f01a1.surge.sh/icon/

Looks good, but does this deprecate the Icons page in the demo site?  Might be good to remove it.

I hope to do that now, but found there are some Icons are not covered in the style guide set.  Better green light this PR first and take another PR for tidy up


Unhandled Exception: PlatformException(400, Failed to generate request token., Please check your APIKey or APISecret., null)

the url :- https://api.twitter.com/oauth/request_token  is forbidden or not found in this plugin

https://api.twitter.com/oauth/request_token is exists.
https://github.com/0maru/twitter_login/blob/master/lib/schemes/request_token.dart#L39:L67
Please check your api key and api secret key.

I have the same issue. My api key & secret are good because they've been user in another lib before.
AuthResult, RequestToken fields on twitter_login.dart are for example not recognisable by AS.

@samir-concetto @joao10martins
I was able to log in with v4.2.2.
You might try both login() and loginV2() method to get it to work.
If it doesn't work, please run the example project of this plugin and let me know the result.

It worked for me after I MANUALLY imported auth_result.dart & request_token.dart into the twitter_login class

It worked for me after I MANUALLY imported auth_result.dart & request_token.dart into the twitter_login class

It worked for me after I MANUALLY imported auth_result.dart & request_token.dart into the twitter_login class

thanks it's working fine now

@0maru - I was unable to run the example project and get the same error :
PlatformException(400, Failed to generate request token., Please check your APIKey or APISecret., null)
Can you please advise?


nx-libs: drop unused libgcc build dependency

libgcc is normally an implementation detail of compiler runtime. gcc should provide that automatically as part of linkage.
diffoscope shows no material change before and after the patch.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 231663 run on x86_64-linux 1

4 packages built:

nx-libs
x11docker
x2goclient
x2goserver


Initial page isn't working

I've been working on the PDFController object , I stated an initial page and yet it always opens on the first page.
Expected Behavior :
Should get me to the initial page.
Screenshots :

Smartphone (please complete the following information):

Device: Google Pixel 2 Emulator
Version : API 27 - x86 emulator

Working on the latest version of plugin :   native_pdf_view: ^3.8.0

same here

Any solutions?

same problem for me

i had to use this workaround to solve it
  pdfController = PdfController(       document: PdfDocument.openFile(widget.book.path),       initialPage: page_number,     );     Future.delayed(Duration(milliseconds: 500), () {       pdfController.animateToPage(int.parse(widget.book.last_page_opened),           duration: Duration(milliseconds: 500), curve: Curves.ease);     });

i had to use this workaround to solve it, which is basically animate to the desired page after a certain delay
 pdfController = PdfController( document: PdfDocument.openFile(widget.book.path), initialPage: page_number, ); Future.delayed(Duration(milliseconds: 500), () { pdfController.animateToPage(int.parse(widget.book.last_page_opened), duration: Duration(milliseconds: 500), curve: Curves.ease); });

I used the same trick

InitialPage not passed here
https://github.com/rbcprolabs/packages.flutter/blob/e7f6527d8e1f28775063963e451d421d9e1e1221/packages/native_pdf_view/lib/src/native_pdf_controller.dart#L134

published [native_pdf_view] v3.9.1 with fix


Unhandled Exception: HiveError: This should not happen. Please open an issue on GitHub.

Flutter 2.0.1 on Linux with graphql-flutter ^5.0.0-nullsafety.1

This happend systematicly since this morning, but I didn't change anything about this since weeks.

There could be a lot of reasons for this – try flutter clean, and take a look at https://github.com/hivedb/hive/issues/263. May be a usage issue on our end but hard to say

This issue seems to be stale. Closing.


add a mod id constant in ExampleMod.java

this is pretty much needed for any mod that does anything. users who won't be doing registry or config stuff are definitely savvy enough to understand that they don't need this

maybe we could throw an exception if the psfs doesn't match the mod container?

@OroArmor please reply above!

that could work, but i worry people wont change both the qmj and the field in the psfs. There isnt really a good solution here

what I'm proposing is that we add a block like this:
// the following block validates that you've updated both the quilt.mod.json file and MOD_ID field when you change your mod ID. if you're familiar with making mods, feel free to remove this!
if (!mod.id().equals(MOD_ID)) {
    throw new RuntimeException("mod IDs in quilt.mod.json and MOD_ID field do not match! (quilt.mod.json: qmj mod id; MOD_ID: MOD_ID);
}

// the following block validates that you've updated both the quilt.mod.json file and MOD_ID field when you change your mod ID. if you're familiar with making mods, feel free to remove this!
if (!mod.id().equals(MOD_ID)) {
    throw new RuntimeException(String.format("mod IDs in quilt.mod.json and MOD_ID field do not match! (quilt.mod.json: %s; MOD_ID: %s", mod.id(), MOD_ID);
}

oro is you fixing my pseudocode meaning you agree with my idea

perhaps

as the author of this I'm kinda rethinking it. we can pass the modcontainer for registration stuff, so I'm not sure when this is relevant


Error while building on mac

I am having an error while buliding on mac montery
The full command history:
❯ cd Griphitor-IDE
❯ clear
❯ npm run pack

><EMAIL_ADDRESS>pack
> electron-builder --dir

  • electron-builder  version=22.13.1 os=21.1.0
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=darwin arch=arm64 electron=15.3.0 appOutDir=dist/mac-arm64
  • skipped macOS application code signing  reason=cannot find valid "Developer ID Application" identity or custom non-Apple code signing certificate, see https://electron.build/code-signing allIdentities=     0 identities found
                                                Valid identities only
     0 valid identities found
❯ npm run dist-mac

><EMAIL_ADDRESS>dist-mac
> electron-builder --prepackaged=dist/mac-unpacked

  • electron-builder  version=22.13.1 os=21.1.0
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • building        target=macOS zip arch=arm64 file=dist/Griphitor Desktop-1.2.3-arm64-mac.zip
  • building        target=DMG arch=arm64 file=dist/Griphitor Desktop-1.2.3-arm64.dmg
  • Detected arm64 process, HFS+ is unavailable. Creating dmg with APFS - supports Mac OSX 10.12+
  • Above command failed, retrying 5 more times
  • Above command failed, retrying 4 more times
  • Above command failed, retrying 3 more times
  • Above command failed, retrying 2 more times
  • Above command failed, retrying 1 more times
  • Above command failed, retrying 0 more times
  ⨯ Cannot cleanup:

Error #1 --------------------------------------------------------------------------------
Error: Exit code: 1. Command failed: /Users/advik/Griphitor-IDE/node_modules/7zip-bin/mac/arm64/7za a -bd -mx=7 -mtc=off -mm=Deflate -mcu /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip mac-unpacked

WARNING: No more files
mac-unpacked

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

Scanning the drive:
0 files, 0 bytes

Creating archive: /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip

Items to compress: 0

Files read from disk: 0
Archive size: 22 bytes (1 KiB)

Scan WARNINGS for files and folders:

mac-unpacked : No more files
----------------
Scan WARNINGS: 1

WARNING: No more files
mac-unpacked

    at /Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:133:18
    at ChildProcess.exithandler (node:child_process:404:5)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:390:28)
    at Pipe.<anonymous> (node:net:687:12)

Error #2 --------------------------------------------------------------------------------
Error: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (node:events:510:26)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)  failedTask=build stackTrace=Error: Cannot cleanup:
                                                                                Error #1 --------------------------------------------------------------------------------
Error: Exit code: 1. Command failed: /Users/advik/Griphitor-IDE/node_modules/7zip-bin/mac/arm64/7za a -bd -mx=7 -mtc=off -mm=Deflate -mcu /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip mac-unpacked

WARNING: No more files
mac-unpacked

7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,8 CPUs LE)

Scanning the drive:
0 files, 0 bytes

Creating archive: /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip

Items to compress: 0

Files read from disk: 0
Archive size: 22 bytes (1 KiB)

Scan WARNINGS for files and folders:

mac-unpacked : No more files
----------------
Scan WARNINGS: 1

WARNING: No more files
mac-unpacked

    at /Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:133:18
    at ChildProcess.exithandler (node:child_process:404:5)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:390:28)
    at Pipe.<anonymous> (node:net:687:12)
                                                                                Error #2 --------------------------------------------------------------------------------
Error: hdiutil exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
    at ChildProcess.<anonymous> (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/util.ts:250:14)
    at Object.onceWrapper (node:events:510:26)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
    at throwError (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/asyncTaskManager.ts:88:11)
    at checkErrors (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/asyncTaskManager.ts:53:9)
    at AsyncTaskManager.awaitTasks (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/asyncTaskManager.ts:67:7)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Packager.doBuild (/Users/advik/Griphitor-IDE/node_modules/app-builder-lib/src/packager.ts:453:5)
    at Object.executeFinally (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/promise.ts:12:14)
    at Packager._build (/Users/advik/Griphitor-IDE/node_modules/app-builder-lib/src/packager.ts:376:31)
    at Packager.build (/Users/advik/Griphitor-IDE/node_modules/app-builder-lib/src/packager.ts:337:12)
    at Object.executeFinally (/Users/advik/Griphitor-IDE/node_modules/builder-util/src/promise.ts:12:14)

Hey @Advik-B , It looks like an error while creating a dmg:
`• Detected arm64 process, HFS+ is unavailable. Creating dmg with APFS - supports Mac OSX 10.12+
• Above command failed, retrying 5 more times
• Above command failed, retrying 4 more times
• Above command failed, retrying 3 more times
• Above command failed, retrying 2 more times
• Above command failed, retrying 1 more times
• Above command failed, retrying 0 more times
⨯ Cannot cleanup:
Error #1 --------------------------------------------------------------------------------
Error: Exit code: 1. Command failed: /Users/advik/Griphitor-IDE/node_modules/7zip-bin/mac/arm64/7za a -bd -mx=7 -mtc=off -mm=Deflate -mcu /Users/advik/Griphitor-IDE/dist/Griphitor Desktop-1.2.3-arm64-mac.zip mac-unpacked
WARNING: No more files`

Hi, It has been one year, has the issue been fixed?

I am no longer supporting this project, but it should be fixed.


Postgres: Database config does not save users

Hello, currently when I set up the database with a Postgres database like this:
const database = {
  "type": "postgres",
  "host": DB_HOST,
  "port": DB_PORT,
  "username": MY_USERNAME,
  "password": DB_PASSWORD,
  "database": DATABASE,
  "name": DB_NAME,
  "synchronize": true
}

When I click on the Github button in api/auth/signin the User gets authorized, but the data does not get saved into the database.
Also when I set debug:true in the [...slug].js file nothing in console outputs except:

I was wondering if anyone else was experiencing these problems.

Thanks for posting this here!
It does sound like from our convo earlier that this should be working.
I'm surprised that debug: true in the options isn't resulting in more info.
Could you post your full [...slug].js file (without any database credentials) just to confirm what it looks like?

@wongband  Thank you for sharing that!
To enable debugging, this line:
 debug: false // Set to true to enable debug messages to be displayed

Should be this:
 debug: true

I won't fix the issue but it should provide a lot of information about what is going on. :-)

This should be resolved for MySQL, MariaDB and Postgres in<EMAIL_ADDRESS>and newer, out today!
Version<EMAIL_ADDRESS>(just released) also resolves MongoDB support.
Please do feedback about any issues and feel free to reopen or to open a new ticket.

Hi Ian sorry for not seeing this earlier, but thank you!!


Fix segfault in strtree test_flush_geometries

This reproduces #97  locally
It seems like we need to keep references to the geometries that were used to construct an STRTree.

I traced the issue to:
https://github.com/pygeos/pygeos/blob/56ad4d09ae1fae1518dace7d8134c22a79e5c106/src/strtree.c#L56
Apparently, decreasing the refcount of STRtree->geometries  before deallocating the tree sometimes leads to a segfault. I am quite sure that we should decrease the refcount here though. I also established that doesn't really matter what you put in to the array (you just have to replace the geometries with something else to get the issue).

@jorisvandenbossche  This is done. The only way I could remove the segfault is by letting STRtree keep a reference to the geometries it is constructed with. Apparently this is needed. This is not clear from the docs nor from the GEOS source code.
https://geos.osgeo.org/doxygen/classgeos_1_1index_1_1strtree_1_1STRtree.html#a9ca89d79af23375493acbc8286e7e3e4

The only way I could remove the segfault is by letting STRtree keep a reference to the geometries it is constructed with. Apparently this is needed. This is not clear from the docs nor from the GEOS source code.

Something to report to GEOS?


[Dashboard Screen] - Allow including horizontal lines in the Times Series to represent the minimum and maximum of some parameter

Allow including horizontal lines in the Times Series to represent the minimum and maximum of some parameter (eg: minimum and maximum value on the Y axis to represent the Alarm levels)


Bro am I tripping no hate to the developer

Steps to reproduce
Bro not one thing has changed since I haven't been using the app lately. Honestly might be the downfall of J2k. Was good while it lasted
Expected behavior
A change
Actual behavior
Literally nothing lol I'm just complaining bro😭 No fr why isn't there a new feature
Crash logs
.
Yōkai version
.
Android version
.
Device
.
Other details
.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version 1.9.7.
[X] I have updated all installed extensions.
[X] I have filled out all of the requested information in this form.

Go make your own app and/or make pull requests here if it's so easy

The main focus at the moment is to migrate the codebase to a more modern infrastructure, new features will be added once in awhile at random as stated in the README file.
If you really want certain features to be added, feel free to make a pull request.


[BUG] Vip System admincp add error

Too few arguments to function Mshop::add_server_vip(), 5 passed in /freemucms/application/controllers/controller.admincp.php on line 5712 and exactly 6 expected
Version: <IP_ADDRESS>
PHP : 8.1

this problem didn't happen to me


Translations update from Hosted Weblate

Translations update from Hosted Weblate for OpenWrt/LuCI/modules/luci-base.
It also includes following components:

OpenWrt/LuCI/applications/travelmate

OpenWrt/LuCI/applications/yggdrasil

OpenWrt/LuCI/applications/vnstat2

OpenWrt/LuCI/applications/ksmbd

OpenWrt/LuCI/applications/ser2net

OpenWrt/LuCI/applications/frpc

OpenWrt/LuCI/applications/frps

OpenWrt/LuCI/applications/sqm

OpenWrt/LuCI/applications/hd-idle

OpenWrt/LuCI/modules/luci-mod-dashboard

OpenWrt/LuCI/applications/polipo

OpenWrt/LuCI/applications/p910nd

OpenWrt/LuCI/applications/squid

OpenWrt/LuCI/applications/rp-pppoe-server

OpenWrt/LuCI/applications/advanced-reboot

OpenWrt/LuCI/applications/olsr-services

OpenWrt/LuCI/applications/bcp38

OpenWrt/LuCI/applications/xinetd

OpenWrt/LuCI/applications/radicale2

OpenWrt/LuCI/applications/udpxy

OpenWrt/LuCI/applications/samba4

OpenWrt/LuCI/applications/statistics

OpenWrt/LuCI/applications/commands

OpenWrt/LuCI/applications/firewall

OpenWrt/LuCI/applications/olsr

OpenWrt/LuCI/applications/simple-adblock

OpenWrt/LuCI/applications/ddns

OpenWrt/LuCI/applications/adblock

OpenWrt/LuCI/applications/aria2

OpenWrt/LuCI/applications/banip

OpenWrt/LuCI/applications/bmx7

OpenWrt/LuCI/applications/dcwapd

OpenWrt/LuCI/applications/cshark

OpenWrt/LuCI/applications/dnscrypt-proxy

OpenWrt/LuCI/applications/dump1090

OpenWrt/LuCI/applications/dynapoint

OpenWrt/LuCI/applications/mwan3

OpenWrt/LuCI/applications/mjpg-streamer

OpenWrt/LuCI/applications/nlbwmon

OpenWrt/LuCI/applications/ocserv

OpenWrt/LuCI/applications/shadowsocks-libev

OpenWrt/LuCI/applications/openwisp

OpenWrt/LuCI/applications/pagekitec

OpenWrt/LuCI/applications/minidlna

OpenWrt/LuCI/applications/coovachilli

OpenWrt/LuCI/modules/luci-mod-battstatus

OpenWrt/LuCI/applications/olsr-viz

OpenWrt/LuCI/applications/eoip

OpenWrt/LuCI/applications/mosquitto

OpenWrt/LuCI/applications/transmission

OpenWrt/LuCI/applications/privoxy

OpenWrt/LuCI/applications/vnstat

OpenWrt/LuCI/applications/nextdns

OpenWrt/LuCI/applications/opkg

OpenWrt/LuCI/applications/nut

OpenWrt/LuCI/applications/uhttpd

OpenWrt/LuCI/applications/acme

OpenWrt/LuCI/applications/upnp

OpenWrt/LuCI/applications/clamav

OpenWrt/LuCI/applications/watchcat

OpenWrt/LuCI/applications/wifischedule

OpenWrt/LuCI/applications/acl

OpenWrt/LuCI/applications/ahcp

OpenWrt/LuCI/applications/ltqtapi

OpenWrt/LuCI/applications/attendedsysupgrade

OpenWrt/LuCI/applications/lxc

OpenWrt/LuCI/applications/shairplay

OpenWrt/LuCI/applications/nft-qos

OpenWrt/LuCI/applications/unbound

OpenWrt/LuCI/applications/ttyd

OpenWrt/LuCI/applications/omcproxy

OpenWrt/LuCI/applications/smartdns

OpenWrt/LuCI/applications/pbr

OpenWrt/LuCI/applications/splash

OpenWrt/LuCI/applications/tinyproxy

OpenWrt/LuCI/applications/fwknopd

OpenWrt/LuCI/applications/ntpc

OpenWrt/LuCI/applications/openvpn

OpenWrt/LuCI/applications/https-dns-proxy

OpenWrt/LuCI/modules/luci-mod-dsl

OpenWrt/LuCI/applications/dockerman

OpenWrt/LuCI/applications/example

OpenWrt/LuCI/applications/wol

OpenWrt/LuCI/applications/radicale

OpenWrt/LuCI/applications/qos

Current translation status:

@hnyman Hi, recently I added a new luci app luci-app-natmap (#6138), but it still not exist in Weblate. Can you help adding it to Weblate? Thanks!

@ysc3839
I created luci-app-netmap for weblate

@hnyman Thanks!

@ysc3839 It has not appeared because you also have to add a translation in some language.


add: dynamic animated background

Added an animated background for issue #13

Closing PR on Request @satyamksharma


Fix Audio.encode_example() when writing an array

Closes  #3996

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Improvements for fbdev backend

now getting touch events from libinput (absolute pointer devices like QEMU tablet aren't supported yet)
fixed threading
enabled DeferredRenderer

TODO:

Handle pointer devices (both absolute and relative)
Actually draw mouse cursor when last event was from a pointer device
Enable KMS/DRM/EGL

@kekekeks Cannot test this change because the namespace "XamlIl" is not found. The library "XamlIl" is missing. The project does not compile.


Create helm chart

closed by commit https://github.com/gojektech/charts/commit/a907eacbc40a0cdc7d4fa013bc27dedc24b7e34e


HELP - Where to find interpreter for PTVS 3.6

I can't even run HeloWorld.  I keep gettting error stating need Interpreter. I'm running Python 3.6 64 bit and have not be able to find an interpreter to download

What version of Visual Studio are you using?
If you're on Visual Studio 2017, please open Tools, Python, Diagnostic Info, save it, and attach it to a comment here.
If you're still using Visual Studio 2015, you'll want to follow the instructions here to add it manually. You'll have to select "3.5" as the version, but apart from some of the new syntax not being supported in the editor, basically everything else should work fine.

I met the same issue when I install the latest 2017 15.2.
An existing anaconda 64 bit installation cannot be found automatically, and this performs differently when I used previous PTVS in VS 2015.
The Diagnostic Info could be found as
Diagnostic Info 2017-05-11T194241.txt


⚠ SceneTime has degraded performance

In 99d2277, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1454 ms

Resolved: SceneTime performance has improved in b02b26a after 9 minutes.


Prevent escaping on SCSS code

Jira
http://vjira2:8080/browse/BDS-543
Summary
Fix to prevent this special characters &, <, > be escaped.
Details
Update code-snippet component.
How to test
Run this code locally. Run npm start and go to localhost:3000/pattern-lab. Navigate: Styleguide > Sassdocs > View All then on right navigation Tools: typhography > @mixin bolt-font-family and/or Tools: typhography > @mixin bolt-font-size and check if &, <, > are showed unescaped.

Confirmed to now be working as expected - thanks @adam2661!


Compatibility with SDWebImage 5

DKImagePickerController 4.1.4 is not compatibility with SDWebImage 5

while DKImagePickerController3.8.1 is OK

I am also getting the same issue. Please resolve.

Everything was working fine 2 days back. Now the code is full of warnings and error. Please resolve this issue. Thanks.

It seems after the update from SdWebImage team, the DKImagePickerController is giving a lot of errors.
The DkImagePickerController uses SdWebImage.

This issue has been resolved.

DKImagePickerController 4.1.4 is not compatibility with SDWebImage 5

while DKImagePickerController3.8.1 is OK

Now you can use both of them.

@ajaysaini58  Yes, it fixed😀


Tizen webapis access

It doesn't work with me to access Tizen webapis API. Any solution for that?1

Can you please provide more details about where/how you expect the tizen apis to be available? They should work, code, you should have global.tizen and global.webapis available.

Well in debug mode webapis is not available, thought it is common. Had to you use static DEV params and it works. But, us there is any way to access webapis in DEV mode?!

Mind that app shell doesn't include $WEBAPIS script tag in header.

The code that I referenced, the appShell thing which waits for 5s and then loads the webpack-dev-server URL that's running on your machine, only runs on DEV mode. So I'm guessing they should be available. Do a console.log(typeof webapis, typeof global.webapis, typeof document.webapis) and see what it says.

I did, but always webapis undefined in debug mode, while .tizen is there as will well as .avplay

then I'm guessing it's a limitation by the tv? If it exists it should be injected. But I think you can debug prod applications with weinre. Can you try to run your prod version with --debug weinre and see what happens?

Got the same behavior. I did find the way around by implementing debug static params also had to build on screen debug module.

Well, ReNative v 0.32.1 webapis API ARE PRESENTED :)

It's not very clear to me how to access tizen object, for example, how to access this?
tizen.application.getCurrentApplication().exit();
when I try to access the "application" property (also in chrome devtools) the tv app instantly crashes without any error message

It's not very clear to me how to access tizen object, for example, how to access this?
tizen.application.getCurrentApplication().exit();
when I try to access the "application" property (also in chrome devtools) the tv app instantly crashes without any error message

just realised that with  "bundleAssets": true  in the debug scheme it works, when using appShell it crash (renative 0.33)


How to configure pycharm with pyjade?

I am studying a project which is developed with flask and pyjade,but I don't know how to configure the pycharm correctly.It always show some error info ,such as
- from "utils.jade" import render, link_css, link_js
Anyone konws the answer and would you please help me ?Thanks a lot!

install the jade plugin (normally this will even be suggested by pycharm after opening such a file)

The plugin is called Pug (ex-Jade) now. Unfortunately, the plugin doesn't support the Pyjade "dialect". Syntax like - from "utils.jade" import ... is marked as an error.


refactor and modularize all leaderboard tables

Instead of building each leaderboard table from scratch at each page, we should make a generic leaderboard table vue component, which can have runs + headers passed into it

Duplicate of #287


Element-wise product Keras

How can I do a multiplication between two tensors A of shape (None, 300) and B of shape (None, 100, 300) using multiply layer ? i.e A should be multiplied by each of the 100 timesteps of B of shape (None, 300)

Hi @basma-b,
The doc does not mention the input shape. Take a look at the code, and it says "It takes as input a list of tensors, all of the same shape, and returns a single tensor (also of the same shape)."
So, I think you may resort to another layer method, or write a custom layer. I am happy to know any possible solutions.

If you specify the time dimension (the 2nd one in your case) other than the batch dim and channel dim, then the two arguments/inputsshould exactly match in shape. So you can create a custom layer that expand the dimension of the input with lower dimension using Lambda combined with K.repeat_elements. i.e. from (None, 300) -> (None, 100, 300) and then use keras.layers.Multiply.
Another solution you may consider is not specifying shape for dimensions other than batch dim and channel dim and let the Multiply layer function to do the shape transformation for you. i.e. you leave the shape to time dimension to None. B shape as (None, None, 300). At least that works for me when multiplying 3d and 4d tensors. I guess it should also works for 2d and 3d.
Hope this helpful.


Unable to request interface

Bee instance running with API port on 1633 and Debug API port on 1635 and having flag --cors-allowed-origins="*"
It has been set up as required. But it still prompts the error'Access-Control-Allow-Headers' of the CORS preflight response, and the header'user-agent' is not allowed.

What version of Bee are you running? This is related to a Bee bug, which should be patched in 1.4.1 version though: https://github.com/ethersphere/bee/pull/2684


autodev有实现统计代码补全接受度的功能呢？

Validations

[X] I'm not able to find an open issue that requests the same enhancement

Problem
类似：https://github.com/github-copilot-resources/copilot-metrics-viewer
Solution
No response

没有


Can i train with a new language?

Due diligence

[X] I have done my due diligence in trying to find the answer myself.

Topic
Other / All
Question
I want to train to speak in Portuguese, how could I continue with the training?

As mentioned in the FAQ, we plan on releasing some training/fine-tuning code for this but don't have yet an estimate on the timeline.


App got stuck in splash screen ( Run Distribution )

The app is working fine if we run the app directly with help of IDE. But whenever I tried run using Run Distribution it got stuck at splash screen. below is the link of stack trace.
https://pastebin.com/eF8maUef
``23:49:09: Executing task 'runDistributable'...
Executing tasks: [runDistributable] in project C:\Users\Sachin\Documents\sphinx-kotlin-ui\desktop
Configure project :common
Kotlin Multiplatform Projects are an Alpha feature. See: https://kotlinlang.org/docs/reference/evolution/components-stability.html. To hide this message, add 'kotlin.mpp.stability.nowarn=true' to the Gradle properties.
Task :downloadWix SKIPPED
Task :unzipWix UP-TO-DATE
Task :sphinx-kotlin-core:generateCommonMainSphinxDatabaseInterface UP-TO-DATE
Task :sphinx-kotlin-core:generateCommonMainSphinxSettingsDatabaseInterface UP-TO-DATE
Task :sphinx-kotlin-core:compileKotlinJvm UP-TO-DATE
Task :sphinx-kotlin-core:compileJava NO-SOURCE
Task :sphinx-kotlin-core:jvmProcessResources UP-TO-DATE
Task :sphinx-kotlin-core:jvmMainClasses UP-TO-DATE
Task :sphinx-kotlin-core:jvmJar UP-TO-DATE
Task :common:compileKotlinDesktop UP-TO-DATE
Task :common:desktopProcessResources UP-TO-DATE
Task :common:desktopMainClasses UP-TO-DATE
Task :common:desktopJar UP-TO-DATE
Task :desktop:checkRuntime UP-TO-DATE
Task :desktop:createRuntimeImage UP-TO-DATE
Task :desktop:compileKotlinJvm UP-TO-DATE
Task :desktop:compileJava NO-SOURCE
Task :desktop:jvmProcessResources NO-SOURCE
Task :desktop:jvmMainClasses UP-TO-DATE
Task :desktop:jvmJar UP-TO-DATE
Task :desktop:prepareAppResources NO-SOURCE
Task :desktop:createDistributable UP-TO-DATE
Task :desktop:runDistributable
createTorManager: Setting up KmpTor for os: mingw, arch: x64 null
NetworkClientImpl: Listener SocketIOManagerImpl registered null
NetworkClientImpl: Listener NetworkRelayCallImpl registered null
java.lang.ClassNotFoundException: java.lang.management.ManagementFactory
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at io.matthewnelson.kmp.tor.internal.ProcessId$Companion.get(ProcessId.kt:22)
at io.matthewnelson.kmp.tor.TorConfigProviderJvm.getProcessId(TorConfigProviderJvm.kt:56)
at io.matthewnelson.kmp.tor.manager.TorConfigProvider$retrieve$builder$1.invoke(TorConfigProvider.kt:173)
at io.matthewnelson.kmp.tor.manager.TorConfigProvider$retrieve$builder$1.invoke(TorConfigProvider.kt:136)
at io.matthewnelson.kmp.tor.controller.common.config.TorConfig$Builder$Companion.invoke(TorConfig.kt:293)
at io.matthewnelson.kmp.tor.manager.TorConfigProvider.retrieve$kmp_tor_manager(TorConfigProvider.kt:136)
at io.matthewnelson.kmp.tor.manager.KmpTorLoader$load$validated$1.invokeSuspend(KmpTorLoader.kt:171)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:39)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)``

What Java version are you compiling with?

What Java version are you compiling with?

I've used both 15 and 18

Can you try with Java 11?

Can you try with Java 11?

Yeah sure will let you know

Can you try with Java 11?

Packaging native distributions requires JDK runtime version >= 15
Actual version: '11'
Java home: C:\Program Files\Android\Android Studio\jre

Not sure if AndroidStudio's JRE includes that api. Can you try compiling it with OpenJDK?
The java.lang.ManagementFactory class is what's throwing the exception which is why I ask. Should be available from Java 11+, so 15 or 18 should work.

@05nelsonm we will give you access to the repo so you can take a look to the gradle setup. Thanks in advance

It is definitely a kotlin multiplatform gradle configuration issue with your project.
This library is only available for java and android. Java and Android variants have entirely different instantiation methods, as well as binary file distribution setup and extraction.
Declaring the kmp-tor dependency in your -core repo module seems to only be providing the -java variant when you consume that -core module as only has the jvm target is expressed in it's setup.

Regarding the ClassNotFoundException, I believe it may be caused because your java gradle plugin is not configured to use Java 11+. See https://github.com/05nelsonm/kmp-tor/blob/324c16d2bb9a2feb9c9b861a3cfd06593a223fc5/samples/kotlin/javafx/build.gradle.kts#L37

The compose desktop has documented how to deal with ClassNotFoundException basically had to run the suggestRuntimeModules compose desktop gradle task.
This lists all the required modules that the prepackaged application image would need to run in a manner which they can be easily added to thecompose.desktop.application.nativeDistributions.modules configuration on build.gradle.


Odo catalog list components format

Signed-off-by: jingfu wang<EMAIL_ADDRESS>What type of PR is this?
/kind feature
What does does this PR do / why we need it:
The number of supported and unsupported tables is doubled as we add devfile support for odo catalog list components. In order to make the output format clean and more user friendly, we decide to combine the supported and unsupported tables. Below is the new output format:
Odo OpenShift Components:
NAME          PROJECT       TAGS                                        SUPPORTED
nodejs        openshift     10,8,8-RHOAR,latest                         YES
openjdk18     openshift     latest                                      YES
dotnet        openshift     2.0,latest                                  NO
httpd         openshift     2.4,latest                                  NO
nginx         openshift     1.10,1.12,1.8,latest                        NO
nodejs        openshift     6                                           NO
perl          openshift     5.24,5.26,latest                            NO
php           openshift     7.0,7.1,latest                              NO
python        openshift     2.7,3.5,3.6,latest                          NO
ruby          openshift     2.3,2.4,2.5,latest                          NO
wildfly       openshift     10.0,10.1,11.0,12.0,13.0,8.1,9.0,latest     NO

Odo Devfile Components:
NAME                 DESCRIPTION                           SUPPORTED
java-spring-boot     Spring Boot® using IBM Java           YES
openLiberty          Open Liberty microservice in Java     YES

Which issue(s) this PR fixes:
Fixes https://github.com/openshift/odo/issues/2608
How to test changes / Special notes to the reviewer:

/assign

@cdrage Can you please review this PR? Thanks!

/ok-to-test

/retest

/retest

github.com/openshift/odo  pr_2736 ✔                                                                                45m
▶ odo catalog list components
Odo OpenShift Components:
NAME        PROJECT       TAGS                                        SUPPORTED
nodejs      openshift     10,8,8-RHOAR,latest                         YES
dotnet      openshift     2.0,latest                                  NO
httpd       openshift     2.4,latest                                  NO
nginx       openshift     1.10,1.12,1.8,latest                        NO
nodejs      openshift     6                                           NO
perl        openshift     5.24,5.26,latest                            NO
php         openshift     7.0,7.1,latest                              NO
python      openshift     2.7,3.5,3.6,latest                          NO
ruby        openshift     2.3,2.4,2.5,latest                          NO
wildfly     openshift     10.0,10.1,11.0,12.0,13.0,8.1,9.0,latest     NO

Odo Devfile Components:
NAME                 DESCRIPTION                           SUPPORTED
java-spring-boot     Spring Boot® using IBM Java           YES
openLiberty          Open Liberty microservice in Java     YES

Looks awesome!

@amitkrout Tests are updated, please review again, thanks!

/retest

/retest

/retest

@kadel Please review this PR, thanks!

/retest

/retest

/retest

/approve

/lgtm cancel we'd like to wait for https://github.com/openshift/odo/pull/2699 to go in before this

/retest

pr #2767 will fix travis failure.