Error: Cannot find module 'electron'

Related to https://github.com/plotly/orca/pull/73
Step to reproduce
conda install -y -c conda-forge plotly-orca==1.3.1

Running orca --help gives the following error:
internal/modules/cjs/loader.js:955
  throw err;
  ^

Error: Cannot find module 'electron'
Require stack:
- /opt/conda/lib/node_modules/orca/bin/orca.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:952:15)
    at Function.Module._load (internal/modules/cjs/loader.js:835:27)
    at Module.require (internal/modules/cjs/loader.js:1012:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/opt/conda/lib/node_modules/orca/bin/orca.js:5:84)
    at Module._compile (internal/modules/cjs/loader.js:1123:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:972:32)
    at Function.Module._load (internal/modules/cjs/loader.js:872:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/opt/conda/lib/node_modules/orca/bin/orca.js' ]
}

I also tried to conda install electron without success.

It actually works using the plotly channel. Would that be possible to sync the conda-forge package with your package?
https://github.com/conda-forge/plotly-orca-feedstock

I had the same problem. It was fixed by installing plotly-orca using the following command:
conda install -c plotly plotly-orca==1.3.1

...which, I believe, is what @hadim meant by his comment above:

It actually works using the plotly channel. Would that be possible to sync the conda-forge package with your package?

what about solution when I am installing using npm/pip?
I tried to install electron via npm but it doesn't work

I'll just mention that we're basically replacing Orca with the new Kaleido project (https://github.com/plotly/Kaleido) which is significantly easier to install (i.e. it works with just pip!) and is our new recommended way forward for static image export :)

I'll just mention that we're basically replacing Orca with the new Kaleido project (https://github.com/plotly/Kaleido) which is significantly easier to install (i.e. it works with just pip!) and is our new recommended way forward for static image export :)

Hi, I am facing the same issue, running orca --help gives the following error:
internal/modules/cjs/loader.js:626
    throw err;
    ^

Error: Cannot find module 'electron'
Require stack:
- /root/miniconda/lib/node_modules/orca/bin/orca.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)
    at Function.Module._load (internal/modules/cjs/loader.js:527:27)
    at Module.require (internal/modules/cjs/loader.js:681:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/root/miniconda/lib/node_modules/orca/bin/orca.js:5:84)
    at Module._compile (internal/modules/cjs/loader.js:774:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
    at Module.load (internal/modules/cjs/loader.js:641:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Function.Module.runMain (internal/modules/cjs/loader.js:837:10) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/root/miniconda/lib/node_modules/orca/bin/orca.js' ]
}

I have already installed 'electron' and for the command conda install -c plotly plotly-orca==1.3.1
I get the following output:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - plotly-orca==1.3.1

Current channels:

  - https://conda.anaconda.org/plotly/linux-ppc64le
  - https://conda.anaconda.org/plotly/noarch
  - https://repo.anaconda.com/pkgs/main/linux-ppc64le
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-ppc64le
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

so I had installed orca with conda install -y -c conda-forge plotly-orca==1.3.1
Is it possible to sync the orca from conda-forge package with plotly package?


Mermaid incorrectly rendering

It seems that the mermaid to svg functionality is not working in my ADO wiki.

This is the mermaid code in question:

I'm pretty sure that these were made with the "Create Mermaid Chart" button on the ADO tool bar, I'm not sure if that adds some weird unicode characters or something.

forgot the -m on the command line, feel free to delete this issue


Question: Why have a customers table if it is 1:1 with Users & has only 1 column of stripe_customer_id?

Hi, I don't think there is much more to add that isn't in the title.

Question: Why have a customers table if it is 1:1 with Users & has only 1 column of stripe_customer_id?

I am porting this repo to work with a diferent database, I'm curious what are the benefits of having an isolated customer table. When the alternative woud be to have a column of stripe_customer_id in the User table.
Thanks!

I understand, it's because customer is a private table, it will never be accessible by the user.

Hi, I was kind of wondering the same. I am exploring this template to help speeding up the setup of the payment and auth part for future projects. One related question that comes to my mind also is why only the mapping of the IDs? First I don't see exactly when it is set. I think it was populated as soon as I signed up despite I did not subscribe to any product at that time. But back to the question, it would be helpful to have also the company name (in B2B scenarios the user that signs up will do it on behalf of the company they work at) to avoid them entering it both in the Stripe Customer Portal and our app. Regarding your comment of 1:1 relationship, in B2B scenarios it would be interesting to be able to add multiple users to one customer (company).


add pid library unit tests and fix issue seen with those unit tests

Functional changes I made to the PID library:

made it run when now > next multiple of sample time, instead of now > time of last call + sample time, in order to better approximate what we would get with a RTOS
made the integral/derivative use dt = now - "time of last call", instead of fixed sample time, as I said in the linked issue, if we want to have even better math, we could have the sensors timestamp their data and use dt = timestamp of current data - timestamp of previous data
added derivative on error mode, to make it possible to use like a regular PID, probably not useful, as per discussion with Edwin.

For an illustration of what points 1 and 2 do, see https://docs.google.com/presentation/d/19FcO7h6YPZx7-ondiH7kgkY8SAafKVgVLtLYb_zi43k/edit?usp=sharing

* More of a note to self, but - if we're making changes to the PID library, might as well fix its clunky API... Do you see any downsides to that?

Seems like a good idea actually! I didn't feel up to the task but I might when I am a bit more comfortable with the IDE and c++ in general (professionally I am used to C, and, in my other projects to php, and scripting languages).

By the way, I see @jlebar is doing some PID tuning, with these changes, those tunings will probably have to be revised, depending on the actual "call period/sample time" ratio...

By the way, I see @jlebar is doing some PID tuning, with these changes, those tunings will probably have to be revised, depending on the actual "call period/sample time" ratio...

No prob, happy to do so when the time comes.

Will take care of all this and rebase (will require me to understand what  https://github.com/RespiraWorks/VentilatorSoftware/pull/238 changes on my own time management changes as well... ) after my day job, probably around 7pm CET.


liner compatibility

It would be nice to be compatible with liner, at least for the basic usages.
One idea is, to create a subpackage:
github.com/chzyer/readline/liner
which translates the liner interface to readline.
In this case, only the import path needs to be changed and it's very easy to compare the libraries.
What do you think?

I think both liner and readline only provide a few interfaces, it's not too hard or too many codes to modified.
Maybe wrapping interfaces to liner it goes too far?


Bug: Getting stuck in a group.

Current Behaviour
When you join a LFG solo and use port out, char get stuck been in a group. Server need a restart to fix it.
Expected Behaviour
Should not be in a group if you use port out.
Steps to reproduce the problem
Join a LFG solo and use port out.
Extra Notes
No response
AC rev. hash/commit
AzerothCore rev. f46cf867ad10 2023-12-04 12:34:31 +0000 (master branch) (Unix, RelWithDebInfo, Static)
Connected players: 0. Characters in world: 0.
Connection peak: 0.
Server uptime: 28 second(s)
Update time diff: 1ms, average: 1ms.
Using SSL version: OpenSSL 3.0.11 19 Sep 2023 (library: OpenSSL 3.0.11 19 Sep 2023)
Using Boost version: 1.74.0
Using CMake version: 3.25.1
Using MySQL version: 101104
Found MySQL Executable: /usr/bin/mysql
Compiled on: Linux 6.1.0-13-amd64
Worldserver listening connections on port 8085
Realmlist (Realm Id: 1) configured in port 8085
VMAPs status: Enabled. LineOfSight: 1, getHeight: 1, indoorCheck: 1
MMAPs status: Enabled
maps directory located in /home/christian/azeroth-server/data/maps. Total size: 291014951 bytes
vmaps directory located in /home/christian/azeroth-server/data/vmaps. Total size: 658130721 bytes
mmaps directory located in /home/christian/azeroth-server/data/mmaps. Total size:<PHONE_NUMBER> bytes
Default DBC locale: enUS.
All available DBC locales: enUS
Using World DB: ACDB 335.10-dev
Latest LoginDatabase update: 2023_08_12_00_rbac_linked_permissions.sql
Latest CharacterDatabase update: trasmorg.sql
Latest WorldDatabase update: zz_optional_aq_quest_nerf.sql
LoginDatabase queue size: 0
CharacterDatabase queue size: 0
WorldDatabase queue size: 0

List enable modules:

mod-account-achievements
mod-account-mounts
mod-ah-bot
mod-aoe-loot
mod-autobalance
mod-eluna
mod-gain-honor-guard
mod-guildhouse
mod-learn-spells
mod-npc-beastmaster
mod-npc-services
mod-pvp-titles
mod-random-enchants
mod-reagent_bank_account
mod-reward-played-time
mod-skip-dk-starting-area
mod-solo-lfg
mod-solocraft
mod-starter-guild
mod-transmog

Operating system
Debain 12
Custom changes or Modules

List enable modules:

mod-account-achievements
mod-account-mounts
mod-ah-bot
mod-aoe-loot
mod-autobalance
mod-eluna
mod-gain-honor-guard
mod-guildhouse
mod-learn-spells
mod-npc-beastmaster
mod-npc-services
mod-pvp-titles
mod-random-enchants
mod-reagent_bank_account
mod-reward-played-time
mod-skip-dk-starting-area
mod-solo-lfg
mod-solocraft
mod-starter-guild
mod-transmog

Not stuck for good though. You can use command /script LeaveParty() to get out of the group.

Works a few times then, Internal LFG Error.

The first random dungeon can be entered correctly, but there is no reward after beating the boss.
The second time I entered the dungeon, I was kept in queue and could not exit.

Is that topic still valid? The problem is that if we eliminate the group, you would lose the progress, in case you have to leave the dungeon for some reason. I suppose that for that reason, the group is preserved. Otherwise, when you leave, you would not be able to enter again. In fact, in case of death, I don't remember what happens, I think the group is eliminated.

It is still valid yes


本地训练报错

WARNING:OUTPUT_MODEL:/VITS-fast-fine-tuning-main1 is not a git repository, therefore hash value comparison will be ignored.
INFO:torch.distributed.distributed_c10d:Added key: store_based_barrier_key:1 to store for rank: 0
INFO:torch.distributed.distributed_c10d:Rank 0: Completed store-based barrier for key:store_based_barrier_key:1 with 1 nodes.
Bucket warning
Failed to find latest checkpoint, loading G_0.pth...
Train with pretrained model...
INFO:OUTPUT_MODEL:emb_g.weight is not in the checkpoint
Traceback (most recent call last):
  File "finetune_speaker_v2.py", line 352, in <module>
    main()
  File "finetune_speaker_v2.py", line 56, in main
    mp.spawn(run, nprocs=n_gpus, args=(n_gpus, hps,))
  File "/root/anaconda3/envs/vits/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 240, in spawn
    return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
  File "/root/anaconda3/envs/vits/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 198, in start_processes
    while not context.join():
  File "/root/anaconda3/envs/vits/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 160, in join
    raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:

-- Process 0 terminated with the following error:
Traceback (most recent call last):
  File "/VITS-fast-fine-tuning-main1/finetune_speaker_v2.py", line 104, in run
    _, _, _, epoch_str = utils.load_checkpoint(utils.latest_checkpoint_path(hps.model_dir, "G_latest.pth"), net_g, None)
  File "/VITS-fast-fine-tuning-main1/utils.py", line 215, in latest_checkpoint_path
    x = f_list[-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/anaconda3/envs/vits/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 69, in _wrap
    fn(i, *args)
  File "/VITS-fast-fine-tuning-main1/finetune_speaker_v2.py", line 111, in run
    _, _, _, epoch_str = utils.load_checkpoint("./pretrained_models/G_0.pth", net_g, None)
  File "/VITS-fast-fine-tuning-main1/utils.py", line 177, in load_checkpoint
    model.load_state_dict(new_state_dict)
  File "/root/anaconda3/envs/vits/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1671, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for SynthesizerTrn:
        size mismatch for enc_p.emb.weight: copying a param with shape torch.Size([68, 192]) from checkpoint, the shape in current model is torch.Size([52, 192]).

我在本地部署并训练，换了一批数据（之前用这批数据训练过），再次训练报错，这是什么问题

数据是从LJSpeech和Librispeech中选取的一部分，LJSpeech选了五千多条，Librispeech选了一个说话人的，时长均在2-10秒

不知道原因，不过重新配置一次应该就可以了，之前遇到过


Find a way to test PATCH requests

The current implementation returns a 599 error, try to find a way of testing this.

Could you give an example, not sure what this means.

https://github.com/biocore/qiita/pull/1683/files#diff-bf3c0d6383151495d5d01836765d7f65R15


Possible inconsistency with database resp in "saved" event

Sometimes the response is an id and sometimes it's an array of ids. When I do a fetch and save it responds with an array with a single id and when I do a .where(...).save(...) it returns a single id. I'd almost expect the opposite behavior because the ladder is a bulk update.

Hi @bsiddiqui, this is because databases other than PostgreSQL do not support returning more than one value from an INSERT/UPDATE statement. Which DBMS are you using? If you are using PostgreSQL it should return an array of IDs.

When I do a fetch and save it responds with an array...

Could you show me the fetch and save code? That doesn't sound right.

Gotcha ok so it was actually an insert that was returning an array and that (looks documented)[http://knexjs.org/#Builder-insert].
Mistake on my part


Sapling Note Builder

We should have a Builder for Sapling notes, as described in  https://zips.z.cash/protocol/protocol.pdf#saplingsend

We're not planning to do full-node wallet work any time soon.
If we do, we'll need to decide if this ticket is in scope.


Tests + Various

Tests
Updated packages
Integration Tests
Sweet Loving to conftest
netconf_lock

Codecov Report

Merging #6 (5937c6f) into develop (88aae20) will increase coverage by 8.01%.
The diff coverage is 96.66%.

@@             Coverage Diff             @@
##           develop       #6      +/-   ##
===========================================
+ Coverage    88.76%   96.77%   +8.01%
===========================================
  Files           11       12       +1
  Lines           89      124      +35
  Branches         5       10       +5
===========================================
+ Hits            79      120      +41
+ Misses           8        4       -4
+ Partials         2        0       -2

Impacted Files
Coverage Δ

...ornir_netconf/plugins/tasks/netconf_edit_config.py
60.00% <60.00%> (+2.85%)
:arrow_up:

nornir_netconf/plugins/connections/netconf.py
100.00% <100.00%> (+29.41%)
:arrow_up:

nornir_netconf/plugins/helpers/__init__.py
100.00% <100.00%> (ø)

nornir_netconf/plugins/helpers/general.py
100.00% <100.00%> (ø)

nornir_netconf/plugins/helpers/rpc_helpers.py
100.00% <100.00%> (+14.28%)
:arrow_up:

nornir_netconf/plugins/tasks/netconf_get.py
100.00% <100.00%> (ø)

nornir_netconf/plugins/tasks/netconf_get_config.py
100.00% <100.00%> (ø)

nornir_netconf/plugins/tasks/netconf_lock.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 88aae20...5937c6f. Read the comment docs.


fix Japanese document in logging.xml

Hi, I'm Japanese.
I modified Japanese document in logging.xml.
Please merge PR if there is no problem☺

LGTM, arigatou gozaimasu @donchan922 ! :)

@donchan922 Thanks for your contribution!!


get_facts

Hi ixs,
Thank you for this amazing work. How difficult to add the status of the modules (show modules) within get _facts function?
I really appreciate any help you can provide.

Hi Abdulrahman,
I do not know.
Programatically this is easy. A few more lines of code and done.
But I am not sure if the output of get_facts() is the right place to store module information.
Show modules here is empty:
HP-E2910al-48G-PoE# show modules

 Status and Counters - Module Information

  Chassis: E2910al-48G-PoE  J9148A        Serial Number:   KT45Z13FG

                                                                      Core  Mod
  Slot Module Description                     Serial Number  Status   Dump  Ver
  ---- -------------------------------------- -------------- -------- ----- ---

HP-E2910al-48G-PoE#

Can you give me some sample output please what show modules looks like on your machine?

Hi there, thank you for the quick response. Here is the show modules output from my end.
`Status and Counters - Module Information
Chassis: 5406Rzl2 J9850A         Serial Number:   XXXXXXXXXX
Allow V2 Modules:   Yes
                                                                  Core  Mod

Slot  Module Description                     Serial Number  Status   Dump  Ver

MM1   HP J9827A Management Module 5400Rzl2   XXXXXXXXXX     Standby  YES   1
MM2   HP J9827A Management Module 5400Rzl2   XXXXXXXXXX     Active   YES   1
A     HP J9990A 20p PoE+ / 4p SFP+ v3 zl2... XXXXXXXXXX     Up       YES   3
B     HP J9990A 20p PoE+ / 4p SFP+ v3 zl2... XXXXXXXXXX     Up       YES   3
C     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3
D     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3
E     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3`
Also on version: KB.16.08 the power and fan dictionary returns empty when running get_environment. I believe the output on this version is slightly different.
Cheers mate

Hi there, thank you for the quick response. Here is the show modules output from my end.
Status and Counters - Module Information

Chassis: 5406Rzl2 J9850A         Serial Number:   XXXXXXXXXX

Allow V2 Modules:   Yes

                                                                      Core  Mod
Slot  Module Description                     Serial Number  Status   Dump  Ver
----- -------------------------------------- -------------- -------- ----- ---
MM1   HP J9827A Management Module 5400Rzl2   XXXXXXXXXX     Standby  YES   1
MM2   HP J9827A Management Module 5400Rzl2   XXXXXXXXXX     Active   YES   1

A     HP J9990A 20p PoE+ / 4p SFP+ v3 zl2... XXXXXXXXXX     Up       YES   3
B     HP J9990A 20p PoE+ / 4p SFP+ v3 zl2... XXXXXXXXXX     Up       YES   3
C     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3
D     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3
E     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3

Also on version: KB.16.08 the power and fan dictionary returns empty when running get_environment. I believe the output on this version is slightly different.
Cheers mate

Hi there, Thanks for the quick response, Much appreciated
Status and Counters - Module Information

Chassis: XXXXXXXXXX         Serial Number:   XXXXXXXXXX

Allow V2 Modules:   Yes

                                                                      Core  Mod
Slot  Module Description                     Serial Number  Status   Dump  Ver
----- -------------------------------------- -------------- -------- ----- ---
MM1   HP J9827A Management Module 5400Rzl2   XXXXXXXXXX     Standby  YES   1
MM2   HP J9827A Management Module 5400Rzl2   XXXXXXXXXX     Active   YES   1

A     HP J9990A 20p PoE+ / 4p SFP+ v3 zl2... XXXXXXXXXX     Up       YES   3
B     HP J9990A 20p PoE+ / 4p SFP+ v3 zl2... XXXXXXXXXX     Up       YES   3
C     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3
D     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3
E     HP J9986A 24p 10/100/1000BASE-T PoE... XXXXXXXXXX     Up       YES   3

Also when I run get_environment() on version KB.16.08, power and fans return an empty dictionary, I know that the output on this version for power is different than the older versions, they have added a serial number column. However, I think your getting the data using MIB walk to retrieve the data, so I'm not sure why.
Cheers

Hmm.
Thank you for the output.
Censoring the Serial number is fine. But I'd need the Chassis Identifier uncensored so that I can understand what this is...
But as strings are again terminated, it looks like going for a bit more walkMib() might be the right approach.
Do you have an example forthe power and fan output you get?

Thank you ixs. let me provide you with what I can.
two types of chassis, the one working fine is as below:
chassis: 8212z1 J9091A
napalm output:
{'cpu': {0: {'%usage': 1.0}},
'fans': {'Fan Sensor': {'status': True}},
'memory': {'available_ram': 44190000, 'used_ram': 76932752},
'power': {'External Power Supply 1 Sensor': {'capacity': -1.0,
                                              'output': -1.0,
                                              'status': True},
           'External Power Supply 2 Sensor': {'capacity': -1.0,
                                              'output': -1.0,
                                              'status': True},
           'Power Supply 1 Sensor': {'capacity': -1.0,
                                     'output': -1.0,
                                     'status': True},
           'Power Supply 2 Sensor': {'capacity': -1.0,
                                     'output': -1.0,
                                     'status': True},
           'Power Supply 3 Sensor': {'capacity': -1.0,
                                     'output': -1.0,
                                     'status': True},
           'Power Supply 4 Sensor': {'capacity': -1.0,
                                     'output': -1.0,
                                     'status': True},
           'RPS Power Supply Sensor': {'capacity': -1.0,
                                       'output': -1.0,
                                       'status': False}},
'temperature': {'Over-temperature Sensor': {'is_alert': False,
                                             'is_critical': False,
                                             'temperature': -1.0}}}

command line: sh system power-supply
Power Supply Status:

PS#    Model       State        AC/DC  + V      Wattage
---- --------- ------------- ----------------- ---------
   1   Unknwn    Powered         AC 220V          1500
   2   Unknwn    Powered         AC 220V          1500
   3   Unknwn    Powered         AC 220V          1500
   4   Unknwn    Powered         AC 220V          1500

   4 /  4 supply bays delivering power.
   Total power: 6000 W

The one which caused problems:
chassis: 5412Rz12 J9851A
Note: this is Aruba hardware running ProCurve image they lunched before arubaOScx
napalm output:

{'cpu': {0: {'%usage': 9.0}},
'fans': {},
'memory': {'available_ram': 495398072, 'used_ram': 193858832},
'power': {},
'temperature': {'Chassis Sensor': {'is_alert': False,
                                    'is_critical': False,
                                    'temperature': -1.0}}}

command line: sh system power-supply
Power Supply Status:

PS#    Model      Serial          State         AC/DC  + V    Wattage
---- --------- ------------ ----------------- -------------- ---------
   1   J9830B    XXXXXXXXXX   Aux Not Powered   AC 120V/240V     2750
   2   J9830B    XXXXXXXXXX   Permanent Failure  AC 120V/240V     2750

   2 /  2 supply bays delivering power.
   Total power: 5500 W

And you can notice that the output of the sh system power-supply command is different where there is one more column which is serial.

Okay. Thank you for this data, I'm gonna build a new testcase and we can see how to handle this best.

Thanks mate for all of your amazing work.


First commit after cloning

Added a print statement in conflict.py

@AishwaryaRamesh23, fix the conflicts.

@sudheer-hpe. Resolved. Please review


Can't set the selectable item background attribute as the view background

.setDefaultBackground(android.R.attr.selectableItemBackground) crashes

This will be solvable with a helper method in Android Utils.


[postgres] Out of memory error

Describe the bug
Using fal to write a model df with size [3627697 rows x 7 columns] returns a memory error.
psycopg2.errors.OutOfMemory: out of memory
DETAIL:  Failed on request of size 262144 in memory context "ErrorContext".

This looks like a psycopg2/sqlalchemy error rather than a fal error but I have not had this error before when writing a dataframe of this size. Is it possible that the write method fal uses could be adjusted to fix this? Previously I have used the function below with success on a dataframe of this size.
from sqlalchemy import create_engine

def push_to_db(df, table_name, schema=None, if_exists='replace'):
    """
    Push dataframe to database.
    """
    conn = None
    try:
        # connect to the PostgreSQL database
        conn = "postgresql+psycopg2://%s:%s@%s:5432/%s" % (
            SQL_USER,
            SQL_PASS,
            SQL_HOST,
            SQL_DB
        )
        engine = create_engine(conn)

        df.to_sql(
            name=table_name,
            con=engine,
            schema=schema,
            if_exists=if_exists,
            index=False,
        )
    finally:
        if conn is not None:
            engine.dispose()
            conn = None

Your environment

OS: windows

fal --version 0.3.4
dbt --version 1.1.0

Adapter being used: postgres

How to reproduce
Use fal write_to_model with a large data table
Expected behavior
write_to_model should succeed with large tables
Actual behavior
psycopg2 out of memory error

Hello @quinnhornblow , thanks for reaching out. I will take a look at this ASAP. Thanks for the example script that would work for you. I will try to make it run out of memory for me and then test your script to see the difference.

Thanks @chamini2, using the pandas to_sql method might also be a fix for the writing datetime issue.

Hello, @quinnhornblow! I think this may be better for Postgres specifically with the latest release v0.6.0.
Can you please let me know if it is better now?

Fixed with version 0.6 release


building libGDX from source fail with the ./gradlew fetchNatives command

Issue details
building libGDX from source fail with the ./gradlew fetchNatives command
It seems some certificate have expired or are not valid.
Running with --scan provide more details available in the stacktrace below.
I have the latest Java JDK installed: Java 8 update 181 (In the instructions it specifies that not having an updated JDK could be a source of error)
Reproduction steps/code
Execute the instructions as outlined here: https://libgdx.badlogicgames.com/documentation/hacking/Working from source.html#importing-into-intellij
When you run ./gradlew fetchNatives
you will get error below.
Version of LibGDX and/or relevant dependencies
LibGDX: Version 1.9.9-SNAPSHOT
MacOX:  10.13.6
Stacktrace

Download https://plugins.gradle.org/m2/com/gradle/build-scan-plugin/1.12.1/build-scan-plugin-1.12.1.pom
Download https://plugins.gradle.org/m2/com/gradle/build-scan-plugin/1.12.1/build-scan-plugin-1.12.1.jar

> Configure project :tests:gdx-tests-android
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018

> Configure project :tests:gdx-tests-ios-intel
Using already downloaded SDK: /Users/julienvillegas/.moe/moe-sdk-1.4.0

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/julienvillegas/code/libgdx/build.gradle' line: 53

* What went wrong:
Execution failed for task ':fetch'.

The :fetch task failed.
Build file '/Users/julienvillegas/code/libgdx/build.gradle' line: 53
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  > PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    > unable to find valid certification path to requested target

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':fetch'.Open stacktrace
Caused by: org.apache.tools.ant.BuildException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetOpen stacktrace
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetOpen stacktrace
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetOpen stacktrace
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetClose stacktrace
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:737)
at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:757)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:650)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:640)

Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[ ] Windows
[ ] Linux
[x] MacOS

Provide ./gradlew --version info

Gradle 4.6
Build time:   2018-02-28 13:36:36 UTC
Revision:     8fa6ce7945b640e6168488e4417f9bb96e4ab46c
Groovy:       2.4.12
Ant:          Apache Ant(TM) version 1.9.9 compiled on February 2 2017
JVM:          1.8.0_72 (Oracle Corporation 25.72-b15)
OS:           Mac OS X 10.13.6 x86_64

1.8.0_72 You are using a jdk version under the required verison.

Thanks and sorry Tomski, I had foolishly updated java, not the JDK..


Link to benchmarked code in PR comments

After #12 and #14, we should include a link to each repo at the commit that was tested. Should be:

Add optional link to Measurement
Include in formatScenarios
Set a URL in setup.sh
Pass flag in runTsperf if present

Even easier, just put HTML links at the end of the report in the pipeline.


[Add address] Name of the text box is appeared when user put some values at the textbox

Environment: Android Samsung Galaxy A 10s
Reproducible: always
Build found: android.v.1.0.458
Preconditions
1.'Car' app is open
2. The user is logged in
3. Dark mode is chosen
3. 'My profile' menu is open
Steps to reproduce

Go to 'Address book'
Click on 'Add a new address'
At the textbox name  'Address' type some value

Actual result

'Address' name of the text box is appears when the user put some values at the text box

Expected result

'Address' name of the text box must disappeared when the user put some values at the text box, according to the mockup

Verified


Future request: Allow loupe image source to be encoded

Future request: Allow loupe image source to be encoded
When loupe is used on sites that sell pictures it will be helpful if source of the big image is not in plain text
https://github.com/redoPop/loupe/blob/master/loupe.js#L193
replace: newS = el.href;
with:  newS = atob(el.getAttribute('data-enc')) || el.href;
then in our source we can use php to encode. example loupe.php:
<a id="demo-1" href="medium.jpg" data-enc="<?php echo base64_encode('big.jpg');?>">

will generate: data-enc="YmlnLmpwZw==" in the webpage
if data-enc is not present then loupe will use the href , like in your version

Hi! Based on your example, you should be able to use the data URI scheme to accomplish this; e.g.:
<img src="data:<?php echo mime_content_type('big.jpg'); ?>;base64,<?php echo base64_encode(file_get_contents('big.jpg')); ?>" />

Because Loupe uses CSS background images, a data URI will work just as well for an  scenario as it would for an  scenario.
Does that help you?

I never tried to encode a 20Mpx image but I think cpu usage increase will be big for both server and client, usually this type of encode is used for small images like icons. I only suggested to accept base64 encoded file name/path, not to convert all the file to data:base64.
It's just a suggestion, maybe some other people will want to not reveal the path to the big size image.

I understand your request now. This isn't something I'd add to Loupe itself, but the image method could be overridden to perform the decoding or to return a value decoded elsewhere, e.g.:
const loupe = new Loupe(document.getElementById('demo-1'));
const url = atob(loupe.el.getAttribute('data-enc'));
loupe.image = () => url;


pyswip incompatible with swi-prolog 9.0.0?

I updated my brew formulas including swi-prolog (from 8.4.x to 9.0.0) and my codebase no longer works. I get this error:
File "/Users/amrsoliman/miniforge3/envs/M1/lib/python3.9/site-packages/pyswip/prolog.py", line 156, in consult
next(cls.query(filename.join(["consult('", "')"]), catcherrors=catcherrors))
File "/Users/amrsoliman/miniforge3/envs/M1/lib/python3.9/site-packages/pyswip/prolog.py", line 126, in call
raise PrologError("".join(["Caused by: '", query, "'. ",
pyswip.prolog.PrologError: Caused by: 'consult('train.pl')'. Returned: 'error(instantiation_error, context(:(system, /(atom_chars, 2)), _3208))'.
Is there some sort of incompatibility between pyswip and swi-prolog 9.0.0?

It seems like this thread could be of great use to the problem:
https://swi-prolog.discourse.group/t/best-easiest-way-to-downgrade-to-version-8-4-3-on-linux-ubuntu-20-04/5966

Thanks @AmrSol ! The problem will be fixed with PR: #145.

Hey @crgz . I see that PR: #145 has been merged. Consequently, I did the following:

"pip uninstall pyswip"
"pip install git+https://github.com/yuce/pyswip@master#egg=pyswip" and got the latest version.
Unfortunately, I get the same error as above...

It finally works! The thread suggested above was very useful. Here is how:
For some reason downloading SWI-Prolog 8.4.3 from the website is causing me another slew of errors. Therefore I went back to SWI-Prolog 9.x via homebrew.
By implementing D.Cox’s pyswip PR #133, I get the “Exception: swi-prolog version number could not be determined”.
Then I implemented @hakank 's suggestion by amending Cox’s “PL_version = _lib.PL_version” to “PL_version = _lib.PL_version_info”
Viola! Thankfully, it works! In case anyone is curious, I have been using Aleph.

Hello 👋 I've run into the same problem. @AmrSol's solution above is working for me for the moment. Thanks!

Hey @crgz . I see that PR: #145 has been merged. Consequently, I did the following:
* "pip uninstall pyswip"

* "pip install git+https://github.com/yuce/pyswip@master#egg=pyswip" and got the latest version.
  Unfortunately, I get the same error as above...

Works for me!

But - I would assume that instantiating a new Prolog object will start a fresh and empty database. Instead asserts are piling up.

Latest release v0.3.0 should fix this issue.
Please feel to reopen the issue if the problem persists.


Unifying MEDS Tutorials

Currently it is really hard to keep tutorials simple and repo specific. Ideally we could have a E2E tutorial with MIMICIV, or some other public dataset in all repos. We should have some more organized interlinking between tutorials to reduce bloat.
There is a MIMICIV tutorial in

meds-transform for converting raw EHR data into MEDS format.
meds-torch  which first links to the MIMICIV meds-transform tutorial telling users to refer to that to convert the data to meds format, and then set a bash variable MIMICIV_MEDS_DIR  to the directory of the MIMICIV meds data. From there the tutorial shows how to generate some benchmarking results on some prediction tasks comparing different methods. I think to unify this with MEDS-DEV and MEDS-Evaluation, it needs to output labels in the meds-evaluation label schema .

Maybe we could extend this into MEDS-DEV and meds-evaluation for a more unified tutorial.

[ ] I think we should add a tutorial for MEDS-DEV that just demonstrates what a user is expected to do on a public dataset, specifically demonstrating how users should modify the predicates, whether that be though hydra overrides in a cli command or manually modifying the predicates yaml file. It should point only to MEDS-transform for how to get MEDS format data, and demonstrate how to generate label schema labels from there.
[ ] I think for meds-evaluation, it can refer readers to the Meds-transform repo tutorial, and meds-dev tutorial (which should both processes task data and generates random outputs for binary classification), and then give a tutorial starting from there with meds-evaluation.

Thoughts on this @mmcdermott @kamilest @teyaberg ^

I think this is a great idea! Have you sent this in the meds-tutorials channel as well @Oufattole?


Move some docs subsections around

Meyer-penny game from quantum computer and wavefunc sim -> exercises
qubit enumeration from qvm -> wavefunc sim

Okay, I tried really hard not to make extra edits, but I did have to merge two versions of meyer penny game (mostly keeping the newer one, but keeping links to a paper and circuit diagram). The other change I had to add was references to some papers, since there were two refs [1] and [2],  and [2] was being taken out of that page, so it no longer made sense. Oh, and I couldn't help from fixing the |0>(=|H>) piece.

Thanks for the heads up!
On Mon, Nov 5, 2018 at 5:11 PM Matthew Harrigan<EMAIL_ADDRESS>wrote:

@mpharrigan approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rigetticomputing/pyquil/pull/662#pullrequestreview-171831436,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE-Rgm1gYOqUPDb5ataYSNCj925ckBaLks5usOHTgaJpZM4YPizu
.

--
Will Zeng, PhD  |  Rigetti Quantum Computing  |  m:<PHONE_NUMBER>  |
rigetti.com
Confidentiality Note: This message is for the intended recipient only and
may contain proprietary, private or confidential information. The use,
copying or distribution of the contents of this email, or any attachments
hereto, by anyone other than the intended recipient, or an employee or
agent authorized by the intended recipient, is prohibited.


Auto balance/ transaction update

When you go into a wallet or vault, you have to pull down to refresh else it shows old balance, unconfirmed transactions.
There should be auto update auto update when we land in the wallet.

Available options:

Auto refresh everytime
Refresh as the user goes into the send flow
Show indicator and message to the user that they should probably refresh the wallet before trying to send

Note: refresh has been infamous for jittering the UI

Need a RN solution for this it seems. background processing.

Addressed by #4907


Add User.update_timestamp field + order users to approve

This makes two changes.

adds a User.update_timestamp field that is updated for each change of the User table. This is useful mostly for audits. For instance if an admin approved a user by mistake (which happened in the past), it's very difficult to determine which user was changed without this field. This requires a DB migration, but I can do it for ramp.studio

Orders the list of users to approve in the admin page by newest at the top.

Nice improvements @rth. LGTM


tagsinput + typeheadjs

In the example page when you enter something in the input field with typehead and press somewhere else on the page, input field loses focus but input value does not automatically converts to tag. But it works in general example without typehead.

Here:
https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/509
workaround.


Adding 'Stale' github action

Adding this github actions allows us to automatically mark issues and PRs as stale if there is no update on them for 30 days

Nice!


Incorrect name of es6 modules default export unnamed functions and classes

source:
export default function () {
}

emit:
expected:
define(["require", "exports"], function (require, exports) {
    var default_1 = function () {
    }
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = default_1;
});

or
define(["require", "exports"], function (require, exports) {
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = function () {
    };
});

actual:
define(["require", "exports"], function (require, exports) {
    function default_1() {
    }
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = default_1;
});

Unnamed class has same problem.

actually the right semantics as per ES6 spec (see http://www.ecma-international.org/ecma-262/6.0/#sec-function-definitions-runtime-semantics-instantiatefunctionobject) is to set Function.name to "default".

thanks for your review!

So what is the correct emit here?

Technically, to be most compliant with ES6:
define(["require", "exports"], function (require, exports) {
    function default() {
    }
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = default;
});

But obviously the is emitting to AMD, so can anyone say what is "right"?  Since there is no official module loader for ES6, it would seem anything that ensures the default is located on "module.default" would seem correct.  I guess though it should either be an anonymous function or named properly, because being named default_1 will certainly cause odd stack traces.

Going to track this under #6433


Embedding the Wrapper object in a struct

Hey, thanks for the crate :)
I'm writing a simple GStreamer wrapper around it, my end use case is to format "any" text so that it can be used as input to a CEA 608 closed captioning element, CEA 608 exposes a simple grid system to position characters, that grid is at most 32 columns wide.
The element receives buffers of data, with a timestamp and a duration, and each buffer must be formatted as it arrives and sent out on the spot. I don't want to recreate a wrapper for each buffer, and instead store it in a State structure. In addition, the interface I exposed on the element accepts an optional path to a dictionary, which can be changed at runtime, including setting it to None to not use hyphenation at all.
The implementation I ended up with is https://gitlab.freedesktop.org/meh/gst-plugins-rs/-/blob/textwrap/text/wrap/src/gsttextwrap.rs#L101 , and I'll continue  that way for now, but that's not ideal: I'd much rather store a Wrapper<WordSplitter>, with its default set to Wrapper::with_splitter(columns, NoHyphenation). I can't do this however of course, because the size of WordSplitter is not known at compile-time, but I also can't use Box because there is no impl for it either. I would also rather not have to use 'static as the lifetime here.
I'm not very well-versed in terms of designing rust APIs so I don't have a good suggestion, but I hope we can come up with something a bit more elegant for that use case :)
Again, thanks for the crate, the functionality is exactly what I was looking for!

Hi @MathieuDuponchelle, thanks for the feedback and the question. It seems the link is dead, I get a 404 Not Found when I visit it just now.
You raise a great point that I hadn't considered before... I'm also not an expert in this :-)
Since the Wrapper is just a small struct around the configuration, perhaps it's not so bad to store two of them? As a side note, I no longer don't like the API with the Wrapper struct. I think it would be nicer to have some free functions instead. They could then take a struct similar to Wrapper with a bunch of configuration options.
If you don't like creating two or more Wrapper values, then you can perhaps implement your own WordWrapper. Perhaps that is what you've already done? :-)
After some experimentation, I got this to compile:
use hyphenation::{Language, Load, Standard};
use std::cell::RefCell;
use textwrap::{HyphenSplitter, NoHyphenation, WordSplitter, Wrapper};

struct MyWordSplitter {
    splitter: RefCell<Box<dyn WordSplitter>>,
}

impl MyWordSplitter {
    fn new() -> MyWordSplitter {
        MyWordSplitter {
            splitter: RefCell::new(Box::new(NoHyphenation)),
        }
    }
}

impl WordSplitter for &MyWordSplitter {
    fn split<'w>(&self, word: &'w str) -> Vec<(&'w str, &'w str, &'w str)> {
        self.splitter.borrow().split(word)
    }
}

fn main() {
    let text = "Here is some well-behaved automatic wrapping.";
    let my_word_splitter = MyWordSplitter::new();
    let wrapper = Wrapper::with_splitter(20, &my_word_splitter);
    println!("NoHyphenation: {:#?}", wrapper.wrap(text));

    *my_word_splitter.splitter.borrow_mut() = Box::new(HyphenSplitter);
    println!("HyphenSplitter: {:#?}", wrapper.wrap(text));

    let dictionary = Standard::from_embedded(Language::EnglishUS).unwrap();
    *my_word_splitter.splitter.borrow_mut() = Box::new(dictionary);
    println!("EnglishUS: {:#?}", wrapper.wrap(text));
}

The output of cargo run:
NoHyphenation: [
    "Here is some",
    "well-behaved",
    "automatic wrapping.",
]
HyphenSplitter: [
    "Here is some well-",
    "behaved",
    "automatic wrapping.",
]
EnglishUS: [
    "Here is some",
    "well-behaved auto-",
    "matic wrapping.",
]

Hi @MathieuDuponchelle,
With the changes in #206, you should be able to drop the
enum Wrapper {
    H(textwrap::Wrapper<'static, Standard>),
    N(textwrap::Wrapper<'static, textwrap::NoHyphenation>),
}

code since the type of the WordSplitter has been changed to Box<dyn WordSplitter>. That is, I changed the API to use dynamic dispatch — I couldn't measure any difference in performance and it seemed to make things smoother.
Since #206, I've renamed Wrapper to Options, please see #213. In short, you change
wrapper.fill("some text")

to
textwrap::fill("some text", options)

where options is a textwrap::Options which is constructed just like a good old textwrap::Wrapper was. I made this change since I felt it was nicer to separate state (options) from behavior (filling and wrapping).
In your code, I believe you can then simply put a textwrap::Options into your state. Your update_wrapper function will then assign a Box::new(your_dictionary) to the options.splitter field when changing language.
I made a little demo program here to test this kind of code myself: https://github.com/mgeisler/textwrap/blob/master/examples/interactive.rs#L191
Can I get you to try out the new API and let me know if you find any weirdness in the new API?

This works fine but in @MathieuDuponchelle's code it only works after also doing https://github.com/mgeisler/textwrap/pull/254

hrm, sorry this slipped off my mind, thanks for testing @sdroege :)

Thanks both for helping test the new API, much appreciated! I think this can be closed now since #254 is on its way to being merged.


Microsoft.Data.SqlClient is not supported on this platform

Hi, I faced an error when the application tries to migrate database.
The weird thing I found on the publish packages is

from VS2019 the Microsoft.Data.SqlClient size is 1,199 kb
from dotnet publish on TeamCity, the Microsoft.Data.SqlClient size is 323 kb

My application is the web API with .net core 3.1. Published by self contained. Runtime win-x64

I found out that it has other directory that is the real publish files


Set paths for multiple sub-directories?

What I would like to do is specify multiple sub-directories to deploy too, something like this:

path:
     local: 'app/design/frontend'
     remote: '/mydomain.com/html/app/design/frontend'
path:
     local: 'media'
     remote: '/mydomain.com/html/media'
path:
     local: 'skin/frontend'
     remote: '/mydomain.com/html/skin/frontend'

Although I originally thought this worked, I now realise only the last path works as each subsequent path specified overrides the last.

I'm interested too if this is possible. Any ideas?

It'd be cool for sure :)
Meanwhile,  you can use Multiple Environments.
thing1:
    [...]
    path:
        local: "deploy1/"
        remote: "public_html/"

thing2:
   [...]
    path:
        local: "deploy2/"
        remote: "public_html/"

thing3:
    [...]
    path:
        local: "deploy3/"
        remote: "public_html/"

And deploy it like this:
dploy thing1 thing2 thing3

I guess it'd be necessary to repeat host, user and pass though.


Rancher RKE1: LAN IP Load Balancer for service

I can't work out if this project can help me do the following:
Expose a K8 service on the local network with a virtual LAN IP that is not tied to one node (for high availability).
I want to connect some legacy software to a database and not use nodeport as the way to reach the database from outside K8.

Yes, you can create the database as a pod/deployment and expose it using a virtual IP address with kube-vip and a Kubernetes service.


[Feature request] Tagging using CLIP

First of all, loving your app, the tagging feature is a life saver!
But, it would be even better if the images could be searched by tags genearted by a CLIP model. Currently I am using this app to do that: https://github.com/slavabarkov/tidy but it's not really convenient. If it helps, I can even pay for implementing this feature (yes, I want this very badly :) )

Duplicate:

#939

I can even pay for implementing this feature (yes, I want this very badly :) )

Haha that's nice of you to suggest, but money is not the bottleneck. Mostly time and energy!


Is there any way how to easily change paths?

Hi @harrysolovay , first,  thanks for this great tool, I really appreciate your work!
Is there a way, while using rescripts, how to rewire - let's say appSrc & appIndexJs from react-scripts/config/paths.js?
I tried to create rescripts file using following config with no luck:
module.exports = [
  {
    paths: config => ({
      ...config,
      appIndexJs: resolveModule(resolveApp, 'mySrc/index'),
      appSrc: resolveApp('mySrc')
    })
  }
]

@etylsarin thank you the kind words! Unfortunately there is no first-class way of doing this as of right now... I don't believe appIndexJs nor appSrc exist at the top level of the webpack config. You'll need to dig around in the CRA webpack config for the exact field(s) for which you're looking.

ok, I see. and from top of your head, would it be anyhow easy doable to involve react-app-rewired for this particular job? Seems this package offers it: https://github.com/timarney/react-app-rewired#4-paths-configuration---development--production

It seems paths is a top-level option in that config... so very.


Submit-Request - Error output is hashtable - Change to PSCustomObject

Is your feature request related to a problem? Please describe.
Currently the output of Submit-Request for delete statements is a hashtable, this should be changed to a pscustomobject to be more aligned with the rest of the module
Describe alternatives you've considered
Write the delete statement output as a ordered hashtable or as a verbose string
Additional context
The output of empty delete statements was recently introduced in Submit-Request

Closed by #379


Add shortcut to run the current test (at cursor position)

While writing a new test, the test has to be run multiple times so it would be nice to have a shortcut to run the test we are working on (the one at the position of the cursor).
An alternative is a shortcut to run the last run test.
The extension Test Explorer has this option, but given that the native python extension already provides many shortcuts to run tests, it does not make sense to install another extension just for this feature.
See also:
https://stackoverflow.com/questions/43342733/shortcut-to-run-current-python-unit-test-in-vscode

Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

Related: https://github.com/microsoft/vscode-python/issues/11864
We can add a shortcut to execute the "Run test" code lens containing block.

This is addressed by https://github.com/microsoft/vscode-python/pull/16769. It introduces a "Test: Rerun Last Run" command, which can be bind to a keyboard shortcut 😊


Added installation step for FreeBSD

Hi,
I maintain the ipinfo-cli package on FreeBSD. If you want, I added an installation step in the README.
https://www.freshports.org/net/ipinfo-cli/
Thanks

Awesome, thanks!

Thanks for maintaining that package @0xdutra. If you ever have any issues with installing this package please let us know.


load @ middle of the page on detail (single.js) view

Focus style?

window.scrollTop = 0;

See https://github.com/rijkvanzanten/obachine/pull/179


Add Apollo schema printer

https://github.com/ChilliCream/hotchocolate/issues/1631#issuecomment-701283815

hi @fredericbirke
This looks already very good! nice work!
Mostly added formatting changes :)
Do you know how often we call print  on FederationSchemaPrinter? If this is done a lot we may have to work around linq because it is performance hungry. I have to say, it is very readable code though.

hi @fredericbirke
This looks already very good! nice work!
Mostly added formatting changes :)
Do you know how often we call print on FederationSchemaPrinter? If this is done a lot we may have to work around linq because it is performance hungry. I have to say, it is very readable code though.

The FederationSchemaPrinter is only called once when the gateway starts up, so this should be fine. I haven't tested this myself, yet, but it is stated this way in the Apollo Federation gateway description found here:

hi @fredericbirke
Very cool! I only found a couple things left.

@PascalSenn
I fixed the remarks from the second review round.

@fredericbirke I will do a review tomorrow morning probably. After that, we will merge and could do another Zoom call to hash out the next steps.


Fixed AnimationTreeStateMachine transition priority

The last transition was always chosen instead of the least cost one.
Fixes #31132

Thanks!

Cherry-picked for 3.1.2.


Persistable + ViewManager

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[ ] Caught up with develop branch as of last change.
[ ] Added CHANGELOG entry, or determined not required.
[ ] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[ ] Updated doc comments / prop-types, or determined not required.
[ ] Reviewed and tested on Mobile, or determined not required.
[ ] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Current WIP state implements the approach sketched out in my comments from last night on #3814.
Note also new Toolbox branch with PR @ https://github.com/xh/toolbox/pull/737 - revised Portfolio app example to help us exercise the new persistence code.


New ReplayModel execution mode

IMPORTANT: Select the action to replay is based on the AbstractActionId. It is needed to use same AbstractProperties and same Widget Filtering
TESTAR connects with an existing State Model to replay the TestSequence action steps.
New settings are:
New TESTAR execution mode
Mode=ReplayModel

The app name and version of the model we want to replay
ReplayApplicationName=web
ReplayApplicationVersion=1

If we want to replay a specific sequence, we can use the ID or the TIME values
ReplayModelSequenceId=6f9af181-d6fb-4f49-9e64-dbbad85eadc1
ReplayModelSequenceTime="Fri Oct 29 10:19:03 CEST 2021"

Main method to execute this feature
https://github.com/TESTARtool/TESTAR_dev/blob/75c35343a40d8bd82ccbca469320c2646f8d181e/testar/src/org/fruit/monkey/DefaultProtocol.java#L1992
INFO:

We need to use same AbstractStateAttributes to match the replayable action with the existing in the state
This mode does not work with the GUI, settings should be launched with cmd
More info: https://github.com/TESTARtool/TESTAR_dev/wiki/TESTAR-Settings

Command line execution example:
testar
sse=webdriver_statemodel
ShowVisualSettingsDialogOnStartup=false
Mode=ReplayModel
ReplayApplicationName=web
ReplayApplicationVersion=1
ApplicationName=replayed
ApplicationVersion=1
SUTConnector=WEB_DRIVER
SUTConnectorValue=" ""C:\\Windows\\chromedriver.exe"" ""C:\\Users\\FernandoTESTAR\\Documents\\GitHub\\TESTAR_dev\\testar\\target\\install\\testar\\bin\\suts\\similar_menu.html"" "
StateModelEnabled=true
DataStore=OrientDB
DataStoreType=plocal
DataStoreDirectory="C:\\Users\\FernandoTESTAR\\Desktop\\IV4XR\\orientdb-3.0.34\\databases"
DataStoreDB=testar
DataStoreUser=testar
DataStorePassword=testar
DataStoreMode=instant
StateModelStoreWidgets=true
AbstractStateAttributes=WebWidgetId
ActionDuration=1
TimeToWaitAfterAction=1
AlwaysCompile=true

I add @oikarinen-fs as a reviewer.
It is still pending to prepare the new action abstraction mechanism.

Closing this PR.
We will continue working on the Replay Model mode approach for general TESTAR purposes.


Csharp test solutions not going through

The problem
I downloaded the samples zip, opened the test.sln in visual studio 2017, updated nuget packages, projects compile, running any test, I get the following message:
[10/26/2018 7:08:25 PM Informational] Test project test does not reference any .NET NuGet adapter. Test discovery or execution might not work for this project.
It's recommended to reference NuGet test adapters in each test project in the solution.
[10/26/2018 7:08:25 PM Informational] ========== Run test finished: 0 run (0:00:01.7409422) ==========
Environment
Win 10 64bit, VS 2K17, .Net Framework 4.6.1
Just installe Appium with npm
win 10 64 bit:
Node.js version v6.12.3
Details
Tests cannot execute missing nuget test adapters

I downloaded the zip file from
https://github.com/appium/appium >
appium/sample-code/csharp/test

Now I added a reference to

Microsoft.VisualStudio.TestPlatform.TestFramework

Run any test nothing happens, just get

[10/27/2018 1:16:10 PM Informational] ------ Run test started ------
[10/27/2018 1:16:10 PM Informational] ========== Run test finished: 0 run (0:00:00.4400338) ==========

Then your issue doesn't belong in this repository. It should be raised in that repo.
If your'e looking for samples for dotnet. Its probably best for you to clone this repo and look at the integration tests

I initially reported this in the repo you are mentioning and Mykola Mokhnach responded that it needs to be reported here and closed the issue
https://github.com/appium/appium/issues/11584#event-1929823737

@eliassal The solution you are referring to is outdated, and you probably followed documentation which led you there in the first place. Maintenance and ensuring the sample project is an issue but not a bug against the appium codebase. That solution is referencing a version of Appium where vast amount of changes have been made since. Once the next major release is out, I'll look to update the project to a hopefully working version of the client.
I'll have a look into the solution when I get a chance, as It sounds like it is missing a test adapter.
Regardless, you can either fork this repository or get a beta release version from nuget.org, and take the advice I provided in my previous comment. If you happen to find an issue, please raise a bug that is relevant to code in this repository using the usual issue template.


Maven/Gradle/No-deps

Merging the concordion branch has raised a few questions.
I don't think the project works out of the box as is, I couldn't open in IDEA from a clean clone. Wasgit rm --cached run on the bits to remove - was stuff removed at all? I'm a bit confused on it.
Anyway, the Concordion stuff, I brought in with Gradle and Maven support 😱 and now aren't sure what to do in the interest of gettings things cooking.
I may update the POM and build.gradle (for now) so its belts and braces, but let's use this issue to track our thoughts. Spoke to Suggs the other day who is 👨🐜(adam-ant) on gradle support...

What JDK were you using to compile things?  I get
Error:java: javacTask: source release 8 requires target release 1.8

I was using java 8
I think gradle may make sense to get things running out of the box, otherwise there's a bit too much manual setup in IntelliJ (setting the dirs, etc)


Current iteration of AuthZ changes

IAuthorizationPolicy has IAuthorizationRequirements
AuthorizationPolicy has RequireClaims/RequireRoles/Require(IAuthorizationRequirements)
IAuthorizationPolicyHandler are the global policy handlers
cc @lodejard @blowdart @divega

Updated with latest conversation with @loudej @lodejard
cc @yishaigalatzer

:shipit:

Note, one change Yishai suggested which I'm going to put in before I push, is that we move the DenyAnonymousRequirement and handler to Security since its not specific to MVC and has no depedencies.  Seemed ok so I'm going to move that code over here

Merged 4a635835af1049679103fdca97716e814408addc


patch: Add username_password random password policy

:tada: This PR is included in version 2.0.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Repo comments

Hi, I have some comments that I hope will help you to improve your repo:

[ ] Add open-source license (https://choosealicense.com/)
[ ] Include in your diagram (navigation guide) headers with the steps you mention below, you could even list them as follow:

From raw to filtered database
From filtered database to distance matrices
...

[ ] Add some references in the Introduction

Some tips:
If the scripts are of your creation, you can add the following lines at the beginning: -example-
#!/usr/bin/python
# ---------------------------------------------
# Name - git username
# Institution
# Date
# A brief description of what the program does
# ---------------------------------------------
Python code...

Thanks a lot !!
...I'll work on it the next days :computer:

Thanks a lot !!
...I'll work on it the next days :computer:

DONE, I've made the suggested improvements. Thank you again

DONE, I've made the suggested improvements. Thank you again

:heavy_check_mark:  DONE, also I made ABriefRepoHistory.md, and a new README.md merely for bin.

:heavy_check_mark:  DONE, also I made ABriefRepoHistory.md, and a new README.md merely for bin.


CV Mode from CLI

OPS (SimStore) CVs have several ways the can get the value for a given input object: (1) the can evaluate the function; (2) they can find the result in a memory cache; (3) they can find the result in an on-disk cache.
The order in which they attempt these define the "mode" of the CV:

analysis: first memory cache, then disk cache, then evaluate
production: first memory cache, the evaluate
no-caching: always evaluate

This PR allows a CLI interface to specify these behaviors. In particular, this might be useful for users who don't want to save CVs to disk for cheap CVs, like in toy models.
This also includes usage of this in the pathsampling command. In principle, it can come to other commands pretty easily in the future.

This is ready for review and comment. Without review, I will merge this after at least 18 hours, no sooner than Sat 31 Aug 08:00 GMT (10:00 my local).


How to delete database file

How to delete a whole database file?

If you want to delete the database file (mydatabase.sqlite), you must do it on your programing code...
In Swift 4:

let fm = FileManager.default
do {
let vFileURL = NSURL(fileURLWithPath: "Your DB file URL path")
try fm.removeItem(at: vFileURL as URL)
print("Database Deleted!")
} catch {
print("Error on Delete Database!!!")
}

[logging] BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/9BA85548-C334-4119-B583-69FFBD88FBF9/Documents/inspectionDB.sqlite3

Below code causing error.
func deleteDatabase(filePath : String)
{
let filemManager = FileManager.default
do {
let fileURL = NSURL(fileURLWithPath: filePath)
try filemManager.removeItem(at: fileURL as URL)
print("Database Deleted!")
} catch {
print("Error on Delete Database!!!")
}
}

The code looks fine, but that error seems that your app may doing some DB transaction after you delete it !
So, that error also depends of your app behavior after you delete it! In my case, when I really need to force it to be deleted, I send an alert to the user asking to restart the app, and force it to close by adding the code: "exit(0)" after "OK" of the alert message is tapped! So this way when the app is reopened, the new Database is created!

Thanks !


Module not found, issues with alias mapping.

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
webpack failing to match directiories due to casing issues.
If the current behavior is a bug, please provide the steps to reproduce.
resolve:{
 alias:{
  'Components': path.resolve(__dirname, '../src/js/components/'),
      'Mutations': path.resolve(__dirname, '../src/js/mutations/'),
      'JS': path.resolve(__dirname, '../src/js/')
 }
}

Module not found: `/Users/calum/Sites/labbook-ui/src/JS/config.js` does not match the corresponding path on disk `js`.

Using Mac OS 10.13
node v6.11.1
webpack2.2
Right now I am disabling the plugin to get my app to compile. Can't use the plugin with my setup.

What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

reported this bug in the wrong repo.


Autocomplete component name in .vue template  (using element plus + Pug)

i am using vite + element plus + auto components + auto imports + pug as template... amazing setup thanks to antfu.
is there a setting out there that can provide auto completion for components of the loaded lib ? - for element-plus el-b... would autocomplete button etc

If you have the component imported once with dts flag enabled. You should get the auto-complete work out-of-box with Volar. Since the components are resolved on-demanded, currently there is no such way to list all the possibilities (you might need some framework to specify auto-complete support then Volar).

I have volar installed. I see the component listed as I did enabled
typescript. Perhaps it is because I'm using a pug template  ?
On Tue, Sep 21, 2021 at 9:44 PM Anthony Fu @.***> wrote:

If you have the component imported once with dts flag enabled. You should
get the auto-complete work out-of-box with Volar. Since the components are
resolved on-demanded, currently there is no such way to list all the
possibilities (you might need some framework to specify auto-complete
support then Volar).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/antfu/unplugin-vue-components/issues/149#issuecomment-924272800,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE44BDSYHYGAKLMASAFPILUDDHAZANCNFSM5EOVKUXA
.


actually disable smoke test

I refactored the smoke test but it still ran beforeAll despite being skipped, so I also removed it from jest.config.json.

I added this to https://github.com/AugurProject/augur/pull/5463 so it could pass CI.


Handle continuous scripts

hey,
the rendering and of the bar stops when a custom module doesn't exit after output (eg continuous output).

Thanks, I will check this soon :)

@ctucx Waybar now handle continuous script test it on master :)
In order to tell that your script is endless just remove interval from it config.


Saving inherited entities to collection of base class?

I want to keep in the same collection entities which has the same base class.
For instance BaseEntity is base for Entity1 and Entity2, is it possible to save objects of  type Entity1 and Entity2 in the same collection?

LiteDB is a Document database (not an object database). So, you can insert any document structure (or object type) inside same collection.
The problem will be deserialize this BsonDocument to to your class. If you get a collection with GetCollection<BaseEntity>(...) and insert an especialized object from BaseEntity, like Entity1, serialization will add a field _t with your bson document that will be used when deserialize.

Thank you for quick reply.
I am trying to implement this approach but LiteDatabase just has generic method for deserializing BsonDocument:
     public T ToObject<T>(BsonDocument doc) where T : new()

but I need deserializing method which takes Type parameter, is there such method?
Of course I can use generic method via reflection and it would be nice to avoid reflection.
I have found that BsonMapper has such method but I couldn't find way to access BsonMapper instance.

I have implemented this solution with invoking BsonMapper.Deserialize(Type type, BsonValue value)  via reflection and it works fine.
But it would be nice if you make this method public and also make LiteDatabase.Mapper as public property.
LiteDb is very cool
Thank you

Duplicate issue #71
Can be closed.

Hi @vasiliy-vdovichenko, for next version, BsonMapper will be public with a Global instance do be customized by user. Thanks for using!


SSH key popup window is populated with content that filled previously on the VM detail page

On the Virtual Machine create page, to add a new SSH key. Stay on the page and add another SSH key again, when the popup window is open, it will be populated with content that filled previously
Moreover, every time click the save button without filling anything, an error message will show, close the window and open it again, the error message will still be there

The form will reset fields if save successfully.
Remove error messages before open the modal.

close in favor of https://github.com/rancher/harvester-ui/pull/203


i made a Ogmo editor win32 binary version

Hi,
since i had a few requests and didn't know where to post :
Ogmo editor win32 binary version

Hi,
Is this the latest version from git?
Thanks

It's based on the official 3.3.0 package.

@vontoGH can you build the latest version from git? Mine is always error at 'spawn-sync' things

same here, i cannot even compile the version i uploaded anymore. It seems some updates in npm or node broke the toolchain :(

OK, done. I just updated node to the latest (14.4.0) not the LTS
will post a new release.

@vontoGH thank you for the information, my issue is fixed 😄

@vontoGH thanks! can you give us some info on how to build for win32? In the future we may be able to automate this for new releases :)

@01010111 i used a windows 10 32 bits machine and i followed the build instructions you provide (with the latest nodejs).

@vontoGH if you don't mind, I'd like to add a link to your releases page on Ogmo's README. that way we can close this issue + make the link more visible until we figure out a more permanent solution 😁

@AustinEast : do it.
i just made a new version : Ogmo Editor CE win32  june edition

awesome. doing it now 👍


MRG: MAINT: Unify treatement of _data

Some simplifications from adding evoked.preload = True and wrapping evoked._data to evoked.data, same for AverageTFR and EpochsTFR.
There are probably other examples in the code, but this at least gets the ball rolling.

@jaeilepp done

Codecov Report

Merging #4009 into master will increase coverage by 0.06%.
The diff coverage is 94%.

@@            Coverage Diff             @@
##           master    #4009      +/-   ##
==========================================
+ Coverage   86.07%   86.13%   +0.06%
==========================================
  Files         350      350
  Lines       63028    64016     +988
  Branches     9639     9946     +307
==========================================
+ Hits        54251    55141     +890
- Misses       6097     6183      +86
- Partials     2680     2692      +12

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18a02e8...26ea4c0. Read the comment docs.

+1 for merge with travis is happy

Don't worry that's just the slow OSX build, so we should be good

ok merge then
On Fri, Feb 24, 2017 at 10:24 PM, Eric Larson<EMAIL_ADDRESS>wrote:

Don't worry that's just the slow OSX build, so we should be good
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/pull/4009#issuecomment-282408226,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ1HKnxe0rke7MAchx7I5dTVyN_weDhks5rf0p_gaJpZM4MI1nf
.


blacklist

I saw that yofi has a blacklist, but how does it work, how do I add applications/.desktop to it?

Added a wiki page for that: https://github.com/l4l/yofi/wiki/Configuration#entries-blacklisting
TLDR:

Find the desktop filename for an unwanted app. E.g.: grep 'Name=<name-of-the-app>' /usr/share/applications/**/**.
Put this filename to the $HOME/.config/yofi/blacklist (1 line - 1 blacklisted entry).

Hope that helps

For your file you missed .desktop suffix.


Restore assets

Part of: https://trello.com/c/Vn2SpooI/279-document-attachments-still-visible-when-document-is-unpublished-large
Soft deleted assets can be restored via the /assets/restore/:id route.
This allows withdrawn content with soft deleted assets to be unwithdrawn and their assets restored.

Thanks @gpeng, the routing suggestion makes much more sense now :+1: Amended that flaky test too.


Recover from a deleted imported identity pool

Amplify CLI Version
12.10.1
Question
My amplify application uses an imported user pool and identity pool.  The identity pool was accidentally deleted, but the user pool is intact, as well as the authRole used by the identity pool.  This allowed me to recreate the identity pool.  Unfortunately, it has a different id so when I try to push the environment I get the error:
✖ There was an error initializing your environment. 🛑 The previously configured Identity Pool: 'genepanelapi8323d4d5_identitypool_8323d4d5__int' (us-east-1:2c54f815-40af-4e81-a1c8-45134d3d9b18) cannot be found.
I can't easily remove and reimport the auth, since my API is dependent on the auth and removing the API would end up being similar in effort to destroying the environment, then recreating it (and importing backups of the DDB tables).

I filed a support request with AWS, but I think the developers here are much better placed to answer the question than first line support is.  Where is the CLI getting the old value of the identitypool, and is there a way we can change that value through the console or AWS cli that bypasses any issues the amplify CLI may be having?

Hey @dan-hook, On diving into this. I was able to update a imported auth resource that dependant on a project by utilizing the following steps.

update the team-provider-info.json file, auth block with new user pool and identity pool resource values.

          "userPoolId": "",
          "userPoolName": "",
          "webClientId": "",
          "nativeClientId": "",
          "identityPoolId": "",
          "identityPoolName": "",
          "allowUnauthenticatedIdentities": <false>,
          "authRoleArn": "",
          "authRoleName": "",
          "unauthRoleArn": "",
          "unauthRoleName": ""

<> with new resources values
2. update the amplify-meta.json file , auth block output values to new user pool and identity pool resource values similar to above values.
3. amplify status if this does not have an update on any resource, trigger an update by say adding an lambda function which we can remove later
4. amplify push
After push completes, verify the amplifyconfiguration.json and amplify-meta.json has new Cognito resource values.
This should also update api as well, we can confirm this on the AppSync console.
5. if it does not update the API, we will need to trigger an update on the API by adding an empty line or via the amplify update api
Do let us know if this mitigates the issue.

Do let us know if this mitigates the issue. Recommend testing this in a dev/test environments.

That worked!  Thank you for your help.


DOI analysis

I need some help in understanding the domain of influence analysis. For example, when I give a self regulatory node A as 1, the script computes the nodes which will be in OFF (0) and ON (1) states (when node A is ON (1)). Is this right?. Then, script also computes how these nodes in ON and OFF state reach an attractor state. Any node in the network can given as source set or self regulatory nodes are given as source set?.
Thanks

The domain of influence code requires you to specify a set of node values to hold fixed. It then tells you which other node values will eventually become fixed as a result. The node values that you specify as being held fixed can be for any nodes, not just autoregulatory nodes.

Thank you. Is there way to identify the stable motifs in these network. Sorry, if I have missed it, but, I couldn't find it in the Python notebook

Once you compute the attractor repertoire, e.g., using
ar = sm.AttractorRepertoire.from_primes(primes)

You can get a list of the stable motifs that appear in the succession diagram using
motifs = ar.succession_diagram.get_motifs()

In this model, you have 4 explicit source nodes:
miR6504*= miR6504
miR93*= miR93
KDM2B*= KDM2B
TFAP2C*= TFAP2C

Also, you have 6 variables that do not have update rules specified; these will be treated as source nodes as well.
let7a
miR101
miR144
miR744
miR92a
miR3157

That gives 10 source nodes, not 3. For 10 source nodes, there are 2^10=1024 possible inputs.
As far as I can tell, there are no positive feedback loops in the network. There is only one feedback loop, and it's a negative feedback loop between MYC and miR98. This will create an oscillation, not a stable motif.
In other words, this network has no stable motifs, and the attractor is determined entirely by the values of the input signals. You have exactly one attractor for each combination of source node values.

(I should clarify that technically, each source node has two associated "trivial" stable motifs corresponding to each of its two possible values, but these trivial stable motifs are not counted)


.FES file extract and repack Catsystem2 engine visual novel

Hi , when i'm using Garbro and extract fes.int in this game (which i'm thinking contains UI images for main menu and battle-gameplay part .hg3 files) >> I got a bunch of .fes files instead and can't extract it using Garbro
https://vndb.org/r71356
My question here is how to extract ,edit and then repack .fes files ? I just want to make a simple UI patch to play with Textractor (correct me if I'm wrong about the files contains UI ,because according to online guide I found , the UI images of games using CS2 engine normally is in image.int or sth like that but in this new game I did't see any using Garbro)
I can edit the script file scene.int using CatSceneEditor tool but stuck with UI images

I have a somewhat usable tool cs2_decompile,exe to extract FES (Front End Script) files into a text format. It can be obtained from the Decompile Tool link below, in my research repository.
Links

Decompile Tool  (direct dl | permalink) , file: cs2_decompile,exe
Compile Tool  (official | direct dl | web archive) , path: /cs2_full_v401/system/fes/fes.exe
FES Documentation (Japanese), use a Browser that auto-translates (unless your Japanese is good)

Decompile
As an example to decompile a single script meswnd.fes in the command line:
C:\>cs2_decompile meswnd.fes
:: CatSystem2 Script Decompiler
::  FES meswnd.fes -> meswnd.txt  (shift-jis)

By default, FES scripts are extracted in their original Shift_JIS text encoding, and it's recommended to keep it that way while modifying.
Modify
Once decompiled, you'll get a file that looks something like this. And they can be pretty massive >.>
Like this
// [...]
#MACRO
	PX 0
	PY 420
	VY 720

// [...]

#SYSVOICE
	if ($814>=900)
		if ($814==900) se2 load se900
		if ($814==901) se2 load se901
		if ($814==902) se2 load se902
		if ($814==903) se2 load se903
		se2 play 1 0
		break
	endif
	if ($781==0)

// [...]

#OBJECT FILE ID.0 ID.1 ID.2 ID.3 ID.4 ID.5 DISP PL PRI
img_autospd $str900 700 701 702 703 704 705 0 pl_base 410

#OBJECT FILE IDN
img_font userfont -1

#START
	deletebgbutton
	getconf 1026 messpd
	\110 = $1026
	call STRLAYOUT
	call NAMELAYOUT
	call WNDALPHA
	\200 = 1
	\201 = 1
	\202 = 1
	\203 = 1
// [...]

The documentation pages linked above should help a bit, but hopefully whatever you need to accomplish isn't too difficult, I haven't done nearly enough research into working with FES scripts. :(

Note: If you find the following in your decompiled FES script: STRING8, LOGSTRING8, NVSTRING8. Then you there may be extra hurdles when de/recompiling the script. I never figured out exactly how CS2 does it, but some FES scripts may contain both ShiftJIS text and UTF-8 text. (but don't bother worrying about that unless you actually experiencing issues)
Recompile
Once you're done modifications, you can recompile it using the official CS2 devkit tool fes.exe, linked above. If you run into errors or unexpected behavior while compiling, you might need to emulate the Japanese Locale in a command prompt when running the Tool.
C:\>fes meswnd.txt
:: <japanese>(fes)<japanese> fes.exe
:: convert to fes -> C:\meswnd3.txt ... done


chore: bdd-spring-1576879795 to 0.0.1

chore: Promote bdd-spring-1576879795 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fixed #27229 -- Aggregates in admin change lists

Example:

Hi, did you see my comment on the ticket? It might be worth thinking about an API that could also accommodate annotations. We also add "get" methods, e.g. get_list_aggregates() as well as system checks for validating the values.

buildbot, add to whitelist.

Closing due to inactivity and a lack of consensus about how to proceed.


Fix SpriteBatch panic when rendering with 1 DrawParam

When rendering with 1 DrawParam
graphics/SpriteBatch.rs
122: image.bindings.vertex_buffers[1].update(&mut ctx.quad_ctx, &gpu_sprites[0..self.sprites.len()]);
vertex_buffers[1] is out of bounds because it is never setup.
The check that sets it up (should always happend first draw call I assume...):
85: if self.sprites.len() > gpu_sprites.len() {
fails, because, well in the case of one sprite, checked against gpu_sprites.len()
which always gets instansiated with one element.

Thanks!


Introspection data should be from scanning the project values instead of assuming:

Introspection data is currently not capable of scanning the project to provide values that can be used when generating a new project instead it assumed default values from Meson build.
That should know change, hopefully before Meson-ui 0.3.0 we can incorporate the introspection API commands to get the projects actual values and not the assumptions.

Ok this issue has bean fixed with the new feature.


Add lane for downloading symbols for ios builds

TODO: check for existence of build/dsyms folder and create if not found

closing, alternative coming


Debian Source Link

Today I have tried renewing the data files and looks like ftp.debian.org has been stopped:

Following screenshot supports it:

Figured it out, 10.10 is no more! We'll need to update the file with the Debian10.11 source directory. I'll create a PR over in the SDT project and add you as a reviewer.

https://github.com/openmainframeproject/software-discovery-tool/pull/77


Iohannes' PR without tons of unchanged files v2

According to @IohannesIohannium:

Fixed spawn of Egypt from the Turks
Make (at start) Krakow spawn from Austria, Montenegro in Cetinje, St-Pierre-and-Miquelon to the holder of Caen
Fixed Shimla and Zulu events rehappening
Fixed Dominican Republic start cores
Fixed Dominican Republic independence event to happen also under Haiti
Make event to turn UK into ENG or SCO if any of the two exists independent
Make the three Boer republics request independence
Santo Domingo (Saint Dominick) renaming decisions
ENG_13 (British Columbia) rename default as simply Columbia
Ternate will no longer overlap with Transvaal
Further new tags added (e.g. Sudetenland, Inner Mongolia)
Fixed Senegal-Songhai overlap
Added decision to fix nogovernments at start (best I can do for a moment)

Should configuration.txt also be reverted?

Better if it is. It's annoying otherwise.

Done.
There are lots of differences in province mappings but it's not even mentioned in the list of changes, may it mean that it comes from an old version of the main repo?

It could have been. It's worth double-checking, at least.

I'm looking at it,and the updated province mappings did something weird. I'll revert it to the previous ones.


Reporting Power or Current Consumption with Matter (CON-971)

Is it possible to report the power or current consumption of a device using Matter? If so, are there any supported clusters available for that purpose?

It is still only in draft.
https://github.com/project-chip/connectedhomeip/blob/master/src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml

I was wondering, does ESP-Matter only add support for released features, rather than provisional? I see that the codebase for the Cluster is in CHIP now (ElectricalEnergyMeasurement)

https://github.com/project-chip/connectedhomeip/tree/master/src/app/clusters/electrical-energy-measurement-server
https://github.com/project-chip/connectedhomeip/tree/master/data_model/clusters/ElectricalEnergyMeasurement.xml

While it is a provisional item and low-priority, I could see support for this specific cluster being more requested than others - it seems like a lot of people are very interested in having matter support energy measurement. Being able to implement the cluster and interact with it in CHIP-tool would help people get ahead of the curve with this feature, even if it won't be released until the next Matter release 1.3.

I don't have CSA access, but I suspect it is not in Matter 1.3. Matter 1.3 is due out shortly and the code is still in a draft folder in the CHIP source code. BTW, that electrical measurement code has been in CHIP since the initial import from Zigbee, it is not new.
Currently, the easiest solution is to implement a custom cluster under esp-matter that matches the spec for the Electrical Measurements cluster. Since you are implementing this yourself you can leave out everything except the couple of fields you need -- likely voltage, current, and power.  Look at the Rainmaker code to see how to implement a custom cluster. This is pretty easy to do since those attributes are just simple read-only numbers. Implementing arrays and structs is much harder.
Of course if you do this be aware that there is no support in Apple, Google, or Amazon for reading Electrical Measurements so the only way you can see the data is with a vendor app.

@jonsmirl We are not making our own app and want to use native Apple, Google, or Amazon ecosystem apps therefore custom clusters are not suitable for us.
From this link, it looks like it is part of the 1.3 release:
https://github.com/orgs/project-chip/projects/72/views/1?sliceBy[value]=1.3+Feature+Complete&pane=issue&itemId=43595305

I have little faith this will be in 1.3. Even if it is, it might years until Google/Apple/Amazon implement it.  Google and Amazon still haven't implemented scene buttons and they were in the 1.0 spec.

I have little faith this will be in 1.3. Even if it is, it might years until Google/Apple/Amazon implement it.  Google and Amazon still haven't implemented scene buttons and they were in the 1.0 spec.

This definitely seems to be the case - I'm very excited to see any support for 1.2, but it seems like there's very little communication or push from Apple or Google to get their app-side updates out, despite having advanced access to the 1.2 spec well before it was released, and being founding members of Matter/CSA.
With all of their involvement in making Matter happen, it seems a touch odd how little they want to continue the support of newer versions. Maybe it'll be in iOS 17.4, but I wouldn't hold my breath for it to happen any time soon. I believe in the CSAs ability to update and refine the spec and the chip framework way more than I believe in the implementers to carry those features into a usable app.
It's also got to be frustrating for manufacturers who are pouring all of this time and energy and money into developing Matter products like fridges, vacuums, Smoke alarms, etc just to get the cold shoulder from the companies who pushed for everyone to adopt Matter.

You also need to consider Google/Apple/Amazon's position here a little. Their objective is only to provide control of the basic elements of the device, not to provide a full UI for setting them up.  So for a light bulb they support turning it on/off but then they don't support setting the on/off ramp times. If you want to set those ramp times, that has to be done through another app, commonly from the vendor.
Based on this philosophy I have little faith GAA will ever add power monitoring support to their apps. However, they should add scene button and I don't know why Google hasn't (Apple has). The whole point of a scene button is to send a signal back to the controller where it will run a script.
So what support would GAA add for a vacuum? I don't see much which would be useful. Maybe a "Clean Now" voice command and then status for scripts to use -- cleaning active, bin full, charging, etc. They are never going to build a full UI, the vendor has to do that.
Now having said all of this... the full Matter API is available from the scripting engines of their controllers. So if you don't want to write a vendor app maybe you could write a bunch of scripts to achieve what you need.
About a year ago I tried to talk Apple into creating plugins for Apple Home. When Apple Home saw a new device it would load the vendor plugin which has full control of the device. That went nowhere. They don't want to dilute the quality perception of their app via plugins which might be buggy.

@bilalmalik76 The electrical measurement clusters are a part of v1.3 and added to the esp-matter codebase.

@dhrishi is Apple/Google home apps also have support for these clusters?

@bilalmalik76 I don't think so, at this time. You can give it a try to verify.


chore: Improve docker installation Docs

ref: https://github.com/chatwoot/chatwoot/issues/4491

n/a


Have a way to create SRPM without updating the source

@xsuchy is working on a Packit setup for a new package and wants to use packit srpm to create an SRPM for the Fedora package review. When using --no-bump option of packit srpm CLI command, he does not want the source field to be edited (=preserve URL). Or, have a new config to disable this.
All, what do you think? What do you find the best solution?

Don't edit source when --no-bump is used.
Create a new option, e.g. --no-spec-change/--preserve-source that will make Packit to not touch the source field.

Does it make sense, in this case, to not touch the source but build the archive? What about skipping the build in this case (probably not what Mirek wants)?

If we don't change Source & %prep we cannot guarantee that a SRPM can be created. But I guess that's implied.
+1 --preserve-[spec-]source

To be clear, I don't mean that not updating the spec should be the default, only that the updated spec file should go to a different place, leaving the original unmodified. (I understand that this is actually a different request than the original one.)

keepalive ping

We decided to add a new option, e.g. --preserve-[spec-]source.

Still relevant.


Module 3

@christopheranderson,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Static files are not provided

Hey, thanks for the project! I cloned the repo and tried to run the example, but there are no static files, namely, there is no websocketbridge.js file

Well websocketbridge removed in Channels 2 and I'm totally forget to update the examples with the same and thanks for you to raise this issue.
My suggestion is use ReconnectingWebSocket please find the link below. Please let me know if you can able to run by using this link. I will update this beatserver with same. Also PR welcome.

WebsocketBridge is removed from the original channels because of unstable npm release. Please continue with reconnectingwebsocket. Please let me know if you need any assistance.


Use a variable Dowel Size (1/4", 1/2", or 3/4")

As a user I want to choose what size sticks to use in my joints.   the 3 sized we will roll with now are 3/4", 1/2", and 1/4" sticks.  Re-calculate joints to fit one of these size dowels.
Later we will add logic to recommend a stick size based on the overall size of the model (as in,   if my model is small like 3'. then 3/4" sticks are way too big.   Conversely,   if my model is 19' long, then 1/4" sticks will be too flimsy and not work.
Note My testing found that 19.65mm was the perfect snugness. for 3/4" sticks
Definition of done:

[ ] ability to choose one of those 3 variables and have all the joints generate the appropriate size .stl models.
[ ] 3/4"
[x] 1/2"
[x] 1/4"
[ ] generate the appropriate model (and obviously make sure it affects all other calculations... like joint length).

[ ] I suppose we really just need to provide stop points or something on the slider that indicates what size stick any given scale fits where the inner stick core results in the following dimension:
3/4 = 19.65 mm
1/2 = 13.1 mm
1/4 = 6.55 mm

Awesome!


Release Google.Cloud.CloudDms.V1 version 2.4.0

Changes in this release:
New features

Change netstandard2.1 target to netstandard2.0 (commit 82bea85)

Created release for Google.Cloud.CloudDms.V1-2.4.0


Boozr Search

@rex1100 I added some beer search stuff to the web server:
http://<IP_ADDRESS>/app/bootstrap/bootstrap-3.3.6-dist/index.html#
Its basically just a keyword search for now, and I haven't tried to add any angular to it yet.
I copied over all the controllers and will probably be changing the beerController.js a bit to try get some sorting working.

@DPCode the page itself looks good. I'm just wondering if we should move all the bootstrap stuff up into the app folder?

Okay. I'm working on porting it over.
Angular is shouting at me...