Lyche datepicker bug when translating reservation page

When the user uses a built in browser translate function, and they translate the page to i.e french, they will not be able to use the datepicker correctly.

This is what the translated calendar will look like in french, and it does not look very pretty.

Upon selecting a date on the calendar, the values "NaN.NaN.NaN" will appear in the text field. Upon proceeding, an error will occur due to parsing of an invalid datetime value.

The solution for this might be to replace the calendar component completely. Mainly into one that can handle string translations better and won't return erroneous values upon date selection! Also it will make the page look way prettier.


[Question]Stacked barchart

Hi
Is there any suport for stacked bar charts?
like this?

//Joacim

Hi, no that's not possible.
The only way for displaying multiple Series is to have one bar by serie.
See the base class SeriesChart.cs with the property public IEnumerable<ChartSerie> Series


feat: added the email field regex check for an email format string

re #61

👾

Hello hello! Just pushed the last implementation as to handle the use effect only when the text value changes in the email field. Cheers! 🍻

Hello hello the handleInputChange handler has been updated with similar logic used within the useEffect 🚀

Hello hello has been dealing with a nasty bug regarding a previous state that needed to updated during the current render, tired to not use useEffect but at the end and lots of tries seemed to at least give the desired UX experience, lmk about the use of useEffect and if there was better way to update the state, tried a couple from the React docs but to no success 😢

Hello hello the latest implementation has been reviewed and merge conflicts have been resolved, tried to test but local machine required installing the route package, beyond that looks good! lmk if testing extends to downloading the missing local dependencies!

Code cleaned up and tested, looking good!


[docs] Ensure TreeView demos don't overflow demo container

The gmail clone treeview overflows its demo containers
Noticed on the gmail clone which now behaves like actual gmail (adds a scrollbar on overflow). Applied to all the other demos which can have the same issue on larger font sizes.
Before:

-- https://6093d26ee081cf00074f9d5d--material-ui.netlify.app/components/tree-view#GmailTreeView
After:

-- https://deploy-preview-26161--material-ui.netlify.app/components/tree-view/#GmailTreeView

I don't understand why it displays a horizontal scrollbar with overflowY: auto

I have to change my base font size in order to be able to see the issue.

Yeah, I only implied it with later sentences but the overflow issue only happens if you scaled your default browser font size up.


PENV-385 tests for endpoint /search

- What I did
tests for endpoint /search
- How I did it
- How to verify it
- Description for the changelog

Codecov Report

Merging #83 into master will increase coverage by 0.17%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
+ Coverage   74.87%   75.04%   +0.17%
==========================================
  Files          44       44
  Lines        2790     2801      +11
==========================================
+ Hits         2089     2102      +13
+ Misses        559      558       -1
+ Partials      142      141       -1

Impacted Files
Coverage Δ

test/api/helpers.go
70.83% <ø> (ø)

etl/models/models.go
92.00% <100.00%> (+1.09%)
:arrow_up:

test/api/apiwrapper.go
100.00% <100.00%> (ø)

api/handlers.go
79.65% <0.00%> (+0.42%)
:arrow_up:

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 5067f54...c4a08c2. Read the comment docs.


[Bug]: Missing "pg_amcheck" functionality in rapidfort/postgresql-official

Name and Version
rapidfort/postgresql-official
Which runtime are you using to reproduce this issue?

[ ] Kubernetes
[ ] Docker Compose
[X] Docker

Is this issue reproducible on the original source image?
Not reproducible
Could you please identify the category? Details in TROUBLE_SHOOTING.md
RF error
What steps will reproduce the bug?

Pull the rapidfort/postgres-official image
Run the image and use docker exec -it my_container bash to access the container terminal
Run the pg_amcheck command (used to check for corrupted databases)
Error message is thrown.

Are you using any custom parameters or values?
-e POSTGRES_PASSWORD=mypassword while running the docker image.
What is the expected behavior?
The pg_amcheck tool in PostgreSQL checks for corruption in one or more databases. The output of the pg_amcheck test includes a skip message if the index layout doesn't match expectations. This message includes the expected bytes and the found bytes.
What do you see instead?
bash: pg_amcheck: command not found
Additional information
No response

Hi @UdBe, can you please clarify which image tag was used on your end?

I have used the following images:

hardened image: rapidfort/postgresql-official:16.3-bookworm
original image: postgres:16.3-bookworm

Hi @UdBe it seems that pg_amcheck is present in rapidfort/postgresql-official:16.3-bookworm.
You can run this for confirmation:
docker run -it --rm  rapidfort/postgresql-official:16.3-bookworm pg_amcheck --help

There might be some confusion between tags.

Hi @Kirandeep-Singh-Khehra
Yes there might be some confusion in the image name. I am able to reproduce this issue with the latest version of these images ( without specifying any tag )

docker pull postgres
docker pull rapidfort/postgresql-official

@UdBe There is a difference between versions. postgres:latest is at 16.3 but rapidfort/postgresql-official is at 12.18 and pg_amcheck is available only in versions 14+. pg_amcheck doc here

Info: latest tag might not always be latest.


Support transforming CIDR to IP ranges

The feature is done in net/ips module, but I'm still thinking about how to enhance this module.

Closed by #9 .


Use it as logged in user

I'm trying it with:
    app.use('/jobs', function(req, res, next) {
	if (req.user) return agendash(agenda);
	next();
    });

But it returns a 404, any ideas?

The usual Express authorization pattern is to pass a series of middlewares before the last callback:
app.use('/jobs', authorizeAgendash, agendash(agenda));

function (req, res, next) {
    if (!req.user) return res.sendStatus(403);
    next();
}

PassportJs for example makes use of this pattern, as you can see in their docs.

Thank you! I completely forgot about that.


Support for MAC?

hi，guy！Support for macOS?

Ok so I merged your install.sh but that doesn't fix the other issues with the apt-get installs that work only for Debian.

I will be working the few coming days on a new install.sh for Mac OS and will post updates here

Ok, just remembered I just merged one so make sure it's different than that one

Hey, I am new here. Is the MacOS version of this out?

just for testing
In macOS High Sierra last version, you can use fsociety in two ways :

Install on Docker, That need lots of files and capacity about 2GB because of container
Install with shell and easy, but it needs sudo and if you don't know what are you doing you can  harm your macOS badly

I test both of them, with docker I'm not confident with it because of hosts, network sub domains and all other way to connect docker to real IPs and other network features and options also it take about 2GB, 1.8GB container itself and rest for tools and compiled code like nmap and other features.
And for Shell installation is good but need admin permission and you need run it with sudo.
If you can port it to homebrew or cask or if you don't like to use those scripts you can write if for mac and change the path for not asking the permission and for more security you can use python ENV and put it in install shell and in that way we can install it without sudo permissions,
Then for some features for examples nmap or others that need some admin permissions, we can ask for pass and explain it in during usage.
Now, for me it works in sudo install
i dont know its correct way
but for now its works
and i know i dont harm my macOS
But it better to use it without admin paths and sudo path in macOS like
/usr/local/fsociety ===> ~usr/local/fsociety or Homebrew way.

TBH the best way is just to sudo it.. Don't worry
On Sat, Aug 25, 2018, 7:41 AM Jarvis Mercer - Amir Mohammad Safari (AMSL) <
<EMAIL_ADDRESS>wrote:

just for testing
In macOS High Sierra last version, you can use fsociety in two ways :

Install on Docker, That need lots of files and capacity about 2GB
because of container
Install with shell and easy, but it needs sudo and if you don't
know what are you doing you can harm your macOS badly

I test both of them, with docker I'm not confident with it because of
hosts, network sub domains and all other way to connect docker to real IPs
and other network features and options also it take about 2GB, 1.8GB
container itself and rest for tools and compiled code like nmap and other
features.
And for Shell installation is good but need admin permission and you need
run it with sudo.
If you can port it to homebrew or cask or if you don't like to use those
scripts you can write if for mac and change the path for not asking the
permission and for more security you can use python ENV and put it in
install shell and in that way we can install it without sudo permissions,
Then for some features for examples nmap or others that need some admin
permissions, we can ask for pass and explain it in during usage.
Now, for me it works in sudo install
i dont know its correct way
but for now its works
and i know i dont harm my macOS
But it better to use it without admin paths and sudo path in macOS like
/usr/local/fsociety ===> ~usr/local/fsociety or Homebrew way.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Manisso/fsociety/issues/29#issuecomment-415963458,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjLmHSG4Cq7ivPwKynyo8ZDjDGbYyx7vks5uUTf1gaJpZM4Rv_wE
.

I'm going to close this now because of it being a push now.

I will be working the few coming days on a new install.sh for Mac OS and will posting updates here

did you finish the install.sh for macos? thanks!

it's working already @Keoni80  now , please let me know if it dosnt and whats the problem

it's working already @Keoni80 now , please let me know if it dosnt and whats the problem

is it? where is te install.sh for macos?

Should work no matter what

install.sh is right there in the dir

start ok, but once u want to use any tools, has issues, please someone with a Mac, can test and tell me if works fine?

I can run it on my Mac. Give me a min.

Working on: darwin Admins-Mac-mini.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

Just got this :/
fatal: could not create work tree dir '/usr/local/fsociety': Permission denied
./install.sh: line 77: /usr/local/fsociety/fsociety: No such file or directory
chmod: /usr/local/fsociety/fsociety: No such file or directory
cp: /usr/local/fsociety/fsociety: No such file or directory
cp: /usr/local/fsociety/fsociety.cfg: No such file or directory
rm: /usr/local/fsociety/fsociety: No such file or directory
[✘] Installation failed! [✘]
anybody got a clue?

You have to use a sudo-user and make sure your in the working dir of f society. I recommend using the new version of fsociety. here

If anyone is still wondering how to install Manisso/fsociety for mac here is what I did to get it running on my mac m1:

Installed official docker desktop, and did the initial instructions from docket app.
Cloned Manisso/fsociety to my tools folder(optional).
Followed the step for docker installation from Manisso/fsociety git link.

It automaticly opened for me when i typed "docker-compose exec fsociety fsociety".
Thank you, hope I helped you in someway.


Google colab training output

Hi there
I am an absolute beginner in this area and I find this whole tutorial in colab awesome! I do have to admit that sometimes I find myself confused when I run some commands because I do not know what to expect.
To be more exact, I started the training command and it is running for 6 hours now, but the output hasn't changed much since the beginning so I am wondering if everything is ok or not :/ To me everything seems fine but I would love more insight if this output is normal because I would expect that something happens inside a 6 hours time frame.
This is the output:
WARNING:tensorflow:Forced number of epochs for all eval validations to be 1.
W0914 07:24:38.016314<PHONE_NUMBER>51392 model_lib.py:771] Forced number of epochs for all eval validations to be 1.
INFO:tensorflow:Maybe overwriting train_steps: 500
I0914 07:24:38.016547<PHONE_NUMBER>51392 config_util.py:552] Maybe overwriting train_steps: 500
INFO:tensorflow:Maybe overwriting use_bfloat16: False
I0914 07:24:38.016705<PHONE_NUMBER>51392 config_util.py:552] Maybe overwriting use_bfloat16: False
INFO:tensorflow:Maybe overwriting sample_1_of_n_eval_examples: 1
I0914 07:24:38.016844<PHONE_NUMBER>51392 config_util.py:552] Maybe overwriting sample_1_of_n_eval_examples: 1
INFO:tensorflow:Maybe overwriting eval_num_epochs: 1
I0914 07:24:38.017003<PHONE_NUMBER>51392 config_util.py:552] Maybe overwriting eval_num_epochs: 1
WARNING:tensorflow:Expected number of evaluation epochs is 1, but instead encountered `eval_on_train_input_config.num_epochs` = 0. Overwriting `num_epochs` to 1.
W0914 07:24:38.017230<PHONE_NUMBER>51392 model_lib.py:787] Expected number of evaluation epochs is 1, but instead encountered `eval_on_train_input_config.num_epochs` = 0. Overwriting `num_epochs` to 1.
INFO:tensorflow:create_estimator_and_inputs: use_tpu False, export_to_tpu None
I0914 07:24:38.017404<PHONE_NUMBER>51392 model_lib.py:822] create_estimator_and_inputs: use_tpu False, export_to_tpu None
INFO:tensorflow:Using config: {'_model_dir': '/content/output', '_tf_random_seed': None, '_save_summary_steps': 100, '_save_checkpoints_steps': None, '_save_checkpoints_secs': 600, '_session_config': allow_soft_placement: true
graph_options {
  rewrite_options {
    meta_optimizer_iterations: ONE
  }
}
, '_keep_checkpoint_max': 5, '_keep_checkpoint_every_n_hours': 10000, '_log_step_count_steps': 100, '_train_distribute': None, '_device_fn': None, '_protocol': None, '_eval_distribute': None, '_experimental_distribute': None, '_experimental_max_worker_delay_secs': None, '_session_creation_timeout_secs': 7200, '_service': None, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x7f3e66eea2b0>, '_task_type': 'worker', '_task_id': 0, '_global_id_in_cluster': 0, '_master': '', '_evaluation_master': '', '_is_chief': True, '_num_ps_replicas': 0, '_num_worker_replicas': 1}
I0914 07:24:38.017878<PHONE_NUMBER>51392 estimator.py:212] Using config: {'_model_dir': '/content/output', '_tf_random_seed': None, '_save_summary_steps': 100, '_save_checkpoints_steps': None, '_save_checkpoints_secs': 600, '_session_config': allow_soft_placement: true
graph_options {
  rewrite_options {
    meta_optimizer_iterations: ONE
  }
}
, '_keep_checkpoint_max': 5, '_keep_checkpoint_every_n_hours': 10000, '_log_step_count_steps': 100, '_train_distribute': None, '_device_fn': None, '_protocol': None, '_eval_distribute': None, '_experimental_distribute': None, '_experimental_max_worker_delay_secs': None, '_session_creation_timeout_secs': 7200, '_service': None, '_cluster_spec': <tensorflow.python.training.server_lib.ClusterSpec object at 0x7f3e66eea2b0>, '_task_type': 'worker', '_task_id': 0, '_global_id_in_cluster': 0, '_master': '', '_evaluation_master': '', '_is_chief': True, '_num_ps_replicas': 0, '_num_worker_replicas': 1}
WARNING:tensorflow:Estimator's model_fn (<function create_model_fn.<locals>.model_fn at 0x7f3e66f58e18>) includes params argument, but params are not passed to Estimator.
W0914 07:24:38.018121<PHONE_NUMBER>51392 model_fn.py:630] Estimator's model_fn (<function create_model_fn.<locals>.model_fn at 0x7f3e66f58e18>) includes params argument, but params are not passed to Estimator.
INFO:tensorflow:Not using Distribute Coordinator.
I0914 07:24:38.019080<PHONE_NUMBER>51392 estimator_training.py:186] Not using Distribute Coordinator.
INFO:tensorflow:Running training and evaluation locally (non-distributed).
I0914 07:24:38.019339<PHONE_NUMBER>51392 training.py:612] Running training and evaluation locally (non-distributed).
INFO:tensorflow:Start train and evaluate loop. The evaluate will happen after every checkpoint. Checkpoint frequency is determined based on RunConfig arguments: save_checkpoints_steps None or save_checkpoints_secs 600.
I0914 07:24:38.019684<PHONE_NUMBER>51392 training.py:700] Start train and evaluate loop. The evaluate will happen after every checkpoint. Checkpoint frequency is determined based on RunConfig arguments: save_checkpoints_steps None or save_checkpoints_secs 600.
WARNING:tensorflow:From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/training_util.py:236: Variable.initialized_value (from tensorflow.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Use Variable.read_value. Variables in 2.X are initialized automatically both in eager and graph (inside tf.defun) contexts.
W0914 07:24:38.025339<PHONE_NUMBER>51392 deprecation.py:323] From /tensorflow-1.15.2/python3.6/tensorflow_core/python/training/training_util.py:236: Variable.initialized_value (from tensorflow.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Use Variable.read_value. Variables in 2.X are initialized automatically both in eager and graph (inside tf.defun) contexts.
WARNING:tensorflow:num_readers has been reduced to 1 to match input file shards.
W0914 07:24:38.063872<PHONE_NUMBER>51392 dataset_builder.py:83] num_readers has been reduced to 1 to match input file shards.
WARNING:tensorflow:From /content/models/research/object_detection/builders/dataset_builder.py:100: parallel_interleave (from tensorflow.python.data.experimental.ops.interleave_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.interleave(map_func, cycle_length, block_length, num_parallel_calls=tf.data.experimental.AUTOTUNE)` instead. If sloppy execution is desired, use `tf.data.Options.experimental_determinstic`.
W0914 07:24:38.070921<PHONE_NUMBER>51392 deprecation.py:323] From /content/models/research/object_detection/builders/dataset_builder.py:100: parallel_interleave (from tensorflow.python.data.experimental.ops.interleave_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.interleave(map_func, cycle_length, block_length, num_parallel_calls=tf.data.experimental.AUTOTUNE)` instead. If sloppy execution is desired, use `tf.data.Options.experimental_determinstic`.
WARNING:tensorflow:From /content/models/research/object_detection/builders/dataset_builder.py:175: DatasetV1.map_with_legacy_function (from tensorflow.python.data.ops.dataset_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.map()
W0914 07:24:38.094443<PHONE_NUMBER>51392 deprecation.py:323] From /content/models/research/object_detection/builders/dataset_builder.py:175: DatasetV1.map_with_legacy_function (from tensorflow.python.data.ops.dataset_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.data.Dataset.map()
WARNING:tensorflow:Entity <bound method TfExampleDecoder.decode of <object_detection.data_decoders.tf_example_decoder.TfExampleDecoder object at 0x7f3e67026d68>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: module 'gast' has no attribute 'Num'
W0914 07:24:38.132900<PHONE_NUMBER>51392 ag_logging.py:146] Entity <bound method TfExampleDecoder.decode of <object_detection.data_decoders.tf_example_decoder.TfExampleDecoder object at 0x7f3e67026d68>> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: module 'gast' has no attribute 'Num'
WARNING:tensorflow:Entity <function train_input.<locals>.transform_and_pad_input_data_fn at 0x7f3e866b5598> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
W0914 07:24:38.372467<PHONE_NUMBER>51392 ag_logging.py:146] Entity <function train_input.<locals>.transform_and_pad_input_data_fn at 0x7f3e866b5598> could not be transformed and will be executed as-is. Please report this to the AutoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: Bad argument number for Name: 3, expecting 4
WARNING:tensorflow:From /content/models/research/object_detection/inputs.py:80: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Create a `tf.sparse.SparseTensor` and use `tf.sparse.to_dense` instead.
W0914 07:24:38.379466<PHONE_NUMBER>51392 deprecation.py:323] From /content/models/research/object_detection/inputs.py:80: sparse_to_dense (from tensorflow.python.ops.sparse_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Create a `tf.sparse.SparseTensor` and use `tf.sparse.to_dense` instead.
WARNING:tensorflow:From /content/models/research/object_detection/utils/ops.py:493: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
W0914 07:24:38.388299<PHONE_NUMBER>51392 deprecation.py:323] From /content/models/research/object_detection/utils/ops.py:493: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
WARNING:tensorflow:From /content/models/research/object_detection/core/preprocessor.py:199: sample_distorted_bounding_box (from tensorflow.python.ops.image_ops_impl) is deprecated and will be removed in a future version.
Instructions for updating:
`seed2` arg is deprecated.Use sample_distorted_bounding_box_v2 instead.
W0914 07:24:38.504327<PHONE_NUMBER>51392 deprecation.py:323] From /content/models/research/object_detection/core/preprocessor.py:199: sample_distorted_bounding_box (from tensorflow.python.ops.image_ops_impl) is deprecated and will be removed in a future version.
Instructions for updating:
`seed2` arg is deprecated.Use sample_distorted_bounding_box_v2 instead.
WARNING:tensorflow:From /content/models/research/object_detection/inputs.py:261: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.cast` instead.
W0914 07:24:39.545192<PHONE_NUMBER>51392 deprecation.py:323] From /content/models/research/object_detection/inputs.py:261: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.cast` instead.
INFO:tensorflow:Calling model_fn.
I0914 07:24:40.116071<PHONE_NUMBER>51392 estimator.py:1148] Calling model_fn.
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tf_slim/layers/layers.py:1089: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
Please use `layer.__call__` method instead.
W0914 07:24:40.130890<PHONE_NUMBER>51392 deprecation.py:323] From /usr/local/lib/python3.6/dist-packages/tf_slim/layers/layers.py:1089: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
Please use `layer.__call__` method instead.
INFO:tensorflow:depth of additional conv before box predictor: 0
I0914 07:24:42.157122<PHONE_NUMBER>51392 convolutional_box_predictor.py:156] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0914 07:24:42.192681<PHONE_NUMBER>51392 convolutional_box_predictor.py:156] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0914 07:24:42.228632<PHONE_NUMBER>51392 convolutional_box_predictor.py:156] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0914 07:24:42.265056<PHONE_NUMBER>51392 convolutional_box_predictor.py:156] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0914 07:24:42.300785<PHONE_NUMBER>51392 convolutional_box_predictor.py:156] depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
I0914 07:24:42.336942<PHONE_NUMBER>51392 convolutional_box_predictor.py:156] depth of additional conv before box predictor: 0
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_0/add_fold
I0914 07:24:52.548045<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_0/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_1_depthwise/add_fold
I0914 07:24:52.548721<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_1_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_1_pointwise/add_fold
I0914 07:24:52.549125<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_1_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_2_depthwise/add_fold
I0914 07:24:52.549639<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_2_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_2_pointwise/add_fold
I0914 07:24:52.550022<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_2_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_3_depthwise/add_fold
I0914 07:24:52.550459<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_3_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_3_pointwise/add_fold
I0914 07:24:52.550852<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_3_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_4_depthwise/add_fold
I0914 07:24:52.551299<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_4_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_4_pointwise/add_fold
I0914 07:24:52.551688<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_4_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_5_depthwise/add_fold
I0914 07:24:52.552090<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_5_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_5_pointwise/add_fold
I0914 07:24:52.552607<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_5_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_6_depthwise/add_fold
I0914 07:24:52.553012<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_6_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_6_pointwise/add_fold
I0914 07:24:52.553482<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_6_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_7_depthwise/add_fold
I0914 07:24:52.553955<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_7_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_7_pointwise/add_fold
I0914 07:24:52.554375<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_7_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_8_depthwise/add_fold
I0914 07:24:52.554792<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_8_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_8_pointwise/add_fold
I0914 07:24:52.555309<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_8_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_9_depthwise/add_fold
I0914 07:24:52.555872<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_9_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_9_pointwise/add_fold
I0914 07:24:52.556351<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_9_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_10_depthwise/add_fold
I0914 07:24:52.556766<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_10_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_10_pointwise/add_fold
I0914 07:24:52.557159<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_10_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_11_depthwise/add_fold
I0914 07:24:52.557762<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_11_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_11_pointwise/add_fold
I0914 07:24:52.558194<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_11_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_12_depthwise/add_fold
I0914 07:24:52.558660<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_12_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_12_pointwise/add_fold
I0914 07:24:52.559111<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_12_pointwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_13_depthwise/add_fold
I0914 07:24:52.559538<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_13_depthwise/add_fold
INFO:tensorflow:Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_13_pointwise/add_fold
I0914 07:24:52.559924<PHONE_NUMBER>51392 quantize.py:299] Skipping quant after FeatureExtractor/MobilenetV1/MobilenetV1/Conv2d_13_pointwise/add_fold
INFO:tensorflow:Done calling model_fn.
I0914 07:24:59.830744<PHONE_NUMBER>51392 estimator.py:1150] Done calling model_fn.
INFO:tensorflow:Create CheckpointSaverHook.
I0914 07:24:59.832330<PHONE_NUMBER>51392 basic_session_run_hooks.py:541] Create CheckpointSaverHook.
INFO:tensorflow:Graph was finalized.
I0914 07:25:03.622001<PHONE_NUMBER>51392 monitored_session.py:240] Graph was finalized.
2020-09-14 07:25:03.637266: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2020-09-14 07:25:03.638307: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x17960a80 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-09-14 07:25:03.638346: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-09-14 07:25:03.643576: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2020-09-14 07:25:03.763820: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-09-14 07:25:03.764689: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x179608c0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-09-14 07:25:03.764723: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Tesla K80, Compute Capability 3.7
2020-09-14 07:25:03.765847: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-09-14 07:25:03.766566: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1639] Found device 0 with properties:
name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235
pciBusID: 0000:00:04.0
2020-09-14 07:25:03.766902: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2020-09-14 07:25:03.999001: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10
2020-09-14 07:25:04.121654: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcufft.so.10
2020-09-14 07:25:04.142664: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcurand.so.10
2020-09-14 07:25:04.408525: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusolver.so.10
2020-09-14 07:25:04.439700: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcusparse.so.10
2020-09-14 07:25:04.932049: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudnn.so.7
2020-09-14 07:25:04.932330: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-09-14 07:25:04.933168: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-09-14 07:25:04.933900: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1767] Adding visible gpu devices: 0
2020-09-14 07:25:04.939392: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.1
2020-09-14 07:25:04.941279: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1180] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-09-14 07:25:04.941317: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1186]      0
2020-09-14 07:25:04.941334: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1199] 0:   N
2020-09-14 07:25:04.942701: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-09-14 07:25:04.943488: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:983] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2020-09-14 07:25:04.944282: W tensorflow/core/common_runtime/gpu/gpu_bfc_allocator.cc:39] Overriding allow_growth setting because the TF_FORCE_GPU_ALLOW_GROWTH environment variable is set. Original config value was 0.
2020-09-14 07:25:04.944336: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1325] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10805 MB memory) -> physical GPU (device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability: 3.7)
INFO:tensorflow:Running local_init_op.
I0914 07:25:14.010613<PHONE_NUMBER>51392 session_manager.py:500] Running local_init_op.
INFO:tensorflow:Done running local_init_op.
I0914 07:25:14.415953<PHONE_NUMBER>51392 session_manager.py:502] Done running local_init_op.
INFO:tensorflow:Saving checkpoints for 0 into /content/output/model.ckpt.
I0914 07:25:25.810270<PHONE_NUMBER>51392 basic_session_run_hooks.py:606] Saving checkpoints for 0 into /content/output/model.ckpt.
2020-09-14 07:25:42.292198: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcublas.so.10

Is this expected to take so long?
Thanks in advance!

hmm, it shouldn't take 6 hours... It normally only takes about 30 minutes or so on the GPU.
Can you check to see if it's using GPU:

I'll try training a model again today and see if it gets stuck for me too

@Aksi0m it seems to be hanging for me too, I'll let you know if I get something working

Hey @bourdakos1 thanks for the quick reply!
If I can help somehow let me know, hope it is not a huge issue.

HI @bourdakos1 I do not want to rush or anything, I just want to know the status of this and if I can help you somehow.

hey @Aksi0m still working on it with no luck so far :(

I'm putting fixing the colab issue on pause, Watson Machine Learning addressed some of the issues I was having with the v4 API so I'll try and get that up and running again first.

Should be fixed feel free to reopen if you have any further issues :)


support ./src/string/*.c

Codecov Report

Merging #23 (c51addc) into musl-go (a3c536a) will decrease coverage by 7.10%.
The diff coverage is 0.27%.

@@             Coverage Diff             @@
##           musl-go      #23      +/-   ##
===========================================
- Coverage    36.84%   29.74%   -7.11%
===========================================
  Files           90      140      +50
  Lines         5998     7431    +1433
===========================================
  Hits          2210     2210
- Misses        3641     5074    +1433
  Partials       147      147

Impacted Files
Coverage Δ

bcmp.c.i.go
0.00% <0.00%> (ø)

bcopy.c.i.go
0.00% <0.00%> (ø)

bzero.c.i.go
0.00% <0.00%> (ø)

c2go_autogen.go
0.00% <0.00%> (ø)

explicit_bzero.c.i.go
0.00% <0.00%> (ø)

index.c.i.go
0.00% <0.00%> (ø)

memccpy.c.i.go
0.00% <0.00%> (ø)

memmem.c.i.go
0.00% <0.00%> (ø)

memmove.c.i.go
0.00% <0.00%> (ø)

mempcpy.c.i.go
0.00% <0.00%> (ø)

... and 42 more

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 a3c536a...c51addc. Read the comment docs.


[Discussion] Prisma performance

A couple users have reported slower performance since the Prisma upgrade to v2.8.0 in the v0.62.0 release. If you are having issues, here is what you can do to troubleshoot.

Add LOG_QUERY=1 to your .env file.
Run in dev mode, npm run dev.

This will print out the queries being run and their times. The logs will look like this:

You can try rolling back to a previous version and comparing your results.
Another change was disconnects were added since the upgrade. Under /lib/queries.js there is this method:
export async function runQuery(query) {
  return query
    .catch(e => {
      throw e;
    })
    .finally(async () => {
      await prisma.$disconnect();
    });
}

You can try removing the entire .finally block and see if that helps.
Note that I am always using the latest umami version for my own websites. So far I have not encountered any performance issues myself so it is hard for me to troubleshoot.
Since Prisma is out of my control, you can try submitting an issue with them if you find anything specific to your setup.
https://github.com/prisma/prisma

@mikecao I can confirm that removing the entire .finally block from the runQuery function in /lib/queries.js fixes all the performance issues.
Requests are back to a few milliseconds.

Commenting this part out helped also for me. Thank you guys.
I Upgrades also to the latest postgres:alpine version to figure out if prisma is working better with the newest version. But this has no effect.
Environment: Ubuntu V-Server, umami und postgres:alpine docker container behind nginx proxy.

after removing .finally works well
it solves that error page issue #252

Ok, I will probably remove that code in the next release, or at least make it configurable.

If you will call prisma.$disconnect per request, it will tear the query engine binary and stop the database pool per request.
Starting those again is a very expensive operation, the prisma client will need to spawn the rust binary, acquire a database pool and then serve the request.
You should probably remove that part completely.
If you added that code to prevent connection limiting in serverless context, solution for that is using a connection pooler like pgbouncer or rds proxy in front of your database instead of tearing the pool per request.

Ok, removed the disconnect code in the latest release.

@pantharshit00 Is there a way to force prisma to disconnect without tearing down the connection pool and engine? I tried using prisma with pgbouncer but the performance was much worse.

@mikecao Were you using pg_bouncer in transaction mode? If not please do that.
We are missing documentation for it right now, so you can refer to this issue: https://github.com/prisma/docs/issues/443
If that still doesn't solve the issue, report back, we can have another look.

Is there a way to force prisma to disconnect without tearing down the connection pool and engine?

Hm, I am not sure what you mean. If we don't tear the pool, what we are disconnecting.


Directly connect to REDCap using its API.

Is your feature request related to a problem? Please describe.
REDCap offers a nice API to access datasets (as well as the ODM export). Doing the export (semi-)manually seems unpractical to me.
Describe the solution you'd like
It would be nice to do something like
docker run odm2fhir --redcap-url [REDCap URL] --redcap-api-token [REDCap API Token]
Describe alternatives you've considered
Orchestrating Export and Transformation using Airflow (doable but additional overhead).

You are absolutely right with your feature request and we are actually planning to do just exactly that, i.e. to automate the process of getting the CDISC ODM data out of RedCap using the mentioned API but further also to put the transformed (FHIR) data into a FHIR server via its REST API. To properly align this with the other development work for the CODEX platform we will have a (virtual) meeting in early January. Yet, I believe that it would make quite some sense to implement (at least) the RedCap part already now as this particular code would most likely not change even in the mentioned orchestrated environment.

Solved with Release odm2fhir:0.0.3-alpha-SNAPSHOT


[sensors]Added gravityEvents to the sensors package

I've added gravity events to the sensors plugin.
The gravity and the user-acceleration streams are merged on the native side, since they are generated from the same data. On ios they also come in the same event. Gravity and the user-acceleration are then split up again on the Flutter side to make two different streams.

Any updates on this?

Any updates on this?

I'll merge and try to get it working again and pass all tests

Any updates on this?

Thanks for the submission! However, we’re currently not accepting non-critical PRs for this plugin, as we hope in time to be able to transition users to the corresponding plugin in the Flutter Community Plus Plugins repository. We encourage you to submit your PR there.
We apologize for the long delay in triaging this PR. We’re in the process of overhauling our PR triage system to respond much more quickly, as well as working through the backlog.

Many thanks and not to worry. However, what is not critical for you might be critical for us. As a general comment, it is exactly this slowness in triaging and responding to PRs that has pushed us away from flutter altogether.


Question on timetable to Android file without external Application

Thanks for this great module. I haven't used it yet but I am looking for something to show documents within my app (no external app). I saw in readme that roadmap for 2018 is to add this. I was wondering what the progress and status is on that?
Thanks so much

Hi, the status is about 20%.

Thank you sincerely for your work on it!!

Soon i will release a first version.

Am 03.04.2018 um 10:35 schrieb Noitidart<EMAIL_ADDRESS>Thank you sincerely for your work on it!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/philipphecht/react-native-doc-viewer/issues/85#issuecomment-378172561, or mute the thread https://github.com/notifications/unsubscribe-auth/AAoRrgMf0EMPDINVjL0xp1jE4NwOSKihks5tkzRegaJpZM4S_io-.


Does not work when slider items are generated using v-for directives

I'll look into that!

Is there any update on this one? This is what I'm doing at the moment and having an issue of using your slider...
`

Slider

{{item.name}}

`

Sorry for the delay, but we came across a similar issue now. We added a option to the vue-plugin called "auto-init"
<vue-tiny-slider
        :auto-init="false"
        ref="slider"
.... </vue-tiny-slider>

This disables the init inside mounted() in the plugin.
Then we manually init the plugin using a watcher (in TypeScript). In this case, we have to wait for the images to have been loaded by the browser:
	get imagesAreLoaded(): boolean {
		return this.images.items.length > 0 && this.imagesLoaded === this.images.items.length;
	}

	@Watch('imagesAreLoaded')
	private initSlider() {
		if (this.imagesAreLoaded) {
			const slider= this.$refs.slideras VueTinySlider;
			slider.init();
		}
	}

Is this of any help to you?

I know it's been a while, but are you able to test this @bharathvaj1995 ?

Hey @viktorlarsson and @bharathvaj1995, I'm having some difficulties getting the slider to work after pulling data from the CMS and stored in Vuex. Let me dump what I have in a gist and if you can help me find a solution I would be very grateful.
https://gist.github.com/danstans/6aa7d17734bfa6c56f9200f4fca3184a Thanks!

After the data is loaded you can also use:
this.$nextTick( () => slider.init() );

Closing due to inactivity!


quick and dirty experiment in custom hat shapes in settings

Checklist

[ ] I have added tests
[ ] I have updated the docs and cheatsheet
[ ] I have not broken the cheatsheet

update from meetup: @AndreasArvidsson thinks we probably want to stick to the directory full of svgs. that's fine by me, this was only ever really intended to help move along things :)

Directory based implementation as discussed
https://github.com/cursorless-dev/cursorless/pull/1853


cmake error when installing/exporting target that uses tbb

I just ran into a problem using the FindTBB tbb target. When I put tbb into the target link libraries of my project, I was getting a cmake error (well it was printed out as an error, but the cmake configure step seemed to generate everything) when calling install export. The error said that I was "exporting a target that had a dependency on the tbb target which was not also exported." I think this is because the tbb target is made with an add_library call for a real library rather than an imported library. I made a pull request with changes that made this error/warning go away.

Fixed


Get remote dimensions

Description (required)
Add inferSize property and update the wording of widths and heights property to Images component (which is source of truth for getImage and Picture as well)
Related PR
https://github.com/withastro/astro/pull/9976

For Astro version: 4.4

I'm curious why this example shows BOTH the dimensions AND inferSize={true}

I think the idea was going to be we'd do ins and del with expressive code, but I don't think it actually looks as good as just marking the inferSize property
I added a note about unauthorized remote images, it made things feel a bit long but I'll see what y'all think


Implementation causes front-end cart to crash

Hello,
I'm new at Magento development and I'm using this module to understand the concept.
The issue is when actived the module the cart crashes.
Presents this error:
Fatal error: Call to a member function setStore() on boolean in <PATH_TO_PROJECT>\includes\src\Mage_Shipping_Model_Shipping.php on line 424
The specific code:
$obj = Mage::getModel($className);
if ($storeId) {
  $obj->setStore($storeId);
}
return $obj;

The admin area works fine.
My setup:
PHP: 5.6
Win: 10
Magento: <IP_ADDRESS>

I've disabled the magento compilation and works fine.


Carousel unusable with numVisible options

NumVisible is not working and breakpoints too.
In your documentation too, it doesn't work as excepted on responsive version breakpoint: '1400px' should be numVisible: 2 but it doesn't never shown 2 items.
It's always 3 items displayed by default.
Thanks

Came here searching for an answer to this, I ended up just adding the classes for numVisible 1-4 in lara/carousel/index.js
For item and itemCloned:
 // Size
 {
    'w-full': props.numVisible === 1 && props.orientation !== 'vertical',
    'w-full md:w-1/2 ': props.numVisible === 2 && props.orientation !== 'vertical',
    'w-full md:w-1/3': props.numVisible === 3 && props.orientation !== 'vertical',
    'w-full md:w-1/4': props.numVisible === 4 && props.orientation !== 'vertical',
    'w-full h-full': props.orientation == 'vertical',
 },

If you are using indicators you will still have to set the responsiveOptions to match the slides/indicators up and set the breakpoints to the same px as your tailwind breakpoints:
<Carousel
   :numVisible="2"
   :numScroll="2"
   :responsiveOptions="[
      {
         breakpoint: '768px',
         numVisible: 1,
         numScroll: 1,
      },
   ]">

Worked for me until there is a more elegant solution

Hi, yes, unfortunately, this is one of the limitations we have. But the answer on top is a way you can use it.
https://github.com/primefaces/primevue-tailwind/issues/90


[ARTEMIS-444] Extend AIOSequentialFileFactory to check underlying FS

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-444
Upstream PR: https://github.com/apache/activemq-artemis/pull/425

@dpospisil closing this as discussed


Failed to resolve: com.apollographql.apollo:apollo-http-cache-api:1.4.0

Summary
Trying to use release 1.4.0 (same for 1.4.1), user gets error
Failed to resolve: com.apollographql.apollo:apollo-http-cache-api:1.4.0 (or 1.4.1 respectively)
Description
It really seems, that the package is not published:
https://jcenter.bintray.com/com/apollographql/apollo/
It's missing in the list of packages (at time of writing this issue)
Version
1.4.0, 1.4.1. Likely caused by https://github.com/apollographql/apollo-android/commit/dd10f00cf3dc43b63213685e0b926dffd5c34162#diff-ef9a0d4e10d6314c5aad5f1e6b1b8bee , this commit created new artifact, but it seems like, uploading it to jcenter doesn't work.

Hi,
I have the same issue both il local and CircleCI.

Does any of the previous releases work?

yes, 1.3.3 worked

the difference is, that in 1.3.3 they didn't have this package apollo-http-cache-api
it's new and from what I understand, it's related to Kotlin Multiplatform

Any solution for this one 🤔 ?

everyone Seems to be resolved now, package has been uploaded

Sorry about that, there's a manual step to promote packages to jcenter that took a bit of time.
If this ever happens again, you can use  https://dl.bintray.com/apollographql/android as a repo. This is the repo where artifacts are uploaded before being promoted to jcenter.


New Crowdin updates

Abandoning so as to force the bot to recreate the PR with smaller number of changes


Azure OpenAI API supported

Azure completions URL is like:
https://XXXXXX.openai.azure.com/openai/deployments/XXXsthlikeGPT35T/chat/completions?api-version=2023-03-15-preview
ref:
https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/chatgpt?pivots=programming-language-chat-completions

Sorry I am busy this week. I may start to do the azure integration this weekend.

It seems that change base path is enough.
You can try this PR https://github.com/jack482653/openai-slack-bot/pull/15
or use docker image v1.8.0-beta.0
However, I don't have permission of Azure OpenAI service, so I haven't test yet.

I added new env Azure OpenAI needed in new PR https://github.com/jack482653/openai-slack-bot/pull/16
and test image 1.9.0-beta.0
I have not updated README.md yet. You have to add environment variables in .env If you want to use Azure OpenAI:
OPENAI_PROVIDER=azure
OPENAI_AZURE_AUTH_API_BASE=https://XXX.openai.azure.com
OPENAI_AZURE_AUTH_DEPLOYMENT_NAME=XXX
OPENAI_AZURE_AUTH_API_VERSION=2023-05-15
OPENAI_AZURE_AUTH_API_KEY=XXX

OPENAI_PROVIDER is required to identify which provider (azure or openai) you want to use
OPENAI_AZURE_AUTH_API_BASE is Azure OpenAI Service endpoint
OPENAI_AZURE_AUTH_DEPLOYMENT_NAME is your deployment name on the Azure OpenAI Service


Extend plugin discovery to also include entry-points.

This effectively implements a mix of option 2 and option 3 from https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/ as a pragmatic way to cover all packaging cases. The namespace/path based iteration works for situations where code has not been packaged and is present on the PYTHONPATH, whereas the advertised entry-points work around setuptools/pkgutil issues that make it impossible to reliably iterate over installed modules in certain scenarios (noted for editable installs which use a custom finder that does not implement iter_modules()).
A plugin entry-point can be advertised in setup.py (or equivalent pyproject.toml) with something like:
    entry_points={
        "jax_plugins": [
          "openxla-cpu = jax_plugins.openxla_cpu",
        ],
    }

@hawkinsp FYI


Device list look different when using a remote MM client connection

The device list look different when using a remote MM client connection as compared to the main MM screen.

@E3V3A - can you post more details? Screenshots, browser and OS details etc?


Options validation changes for admin and mongoclient

@daprahamian ping, please remove bson-related options.

@kvwalker removed bson options!


Element Plus - A Vue.js 3.0 UI library
https://github.com/element-plus/element-plus/
Core Updates
Element UI is an awesome Vue 2.x UI library.
However, in order to support Vue 3.0 with new syntax and great composition API, a  fully refactor and rewritten is needed.
Element Plus  is the next generation of Element UI with full Vue 3.0 composition API support.
And it's rewritten in TypeScript with predictable static types.
Dependency Updates
The dependencies in the current project are slightly old, we managed to update them to the current stable version to get better performance and new features.

@popperjs/core ^2.4.4 (replace old popperjs 1.x)
dayjs ^1.8.33 (replace old fecha)
async-validator ^3.4.0 (replace old async-validator 1.x)
lodash-es ^4.17.20 (replace some old utils)

Project Status
Alpha release  🎉🎉🎉
npm install element-plus

This project is still under heavy development.
Feel free to join us and make your first pull request.
If you like Element Plus, Give us a 💖 star 💖 to support us.

We have recommend Element Plus for those who use Vue 3.0 in the main page already, so close the issue.


Update files.html

Delete extraneous  tag.

I can't accept pull requests against the master branch, but I was able to make the change manually in the dev branch.  This is a good catch.  Thanks very much for submitting the fix.

I have two non-trivial fixes that I was going to submit tonight.  You prefer PRs against the dev branch?

Yes, please!  We don't directly update the master branch.  All changes get made in dev.
Thanks very much for your help.


Infinite off-chain worker transactions proposing when using ed25519

I have a problem with block proposing, but more precisely, with a block with transactions issued by an off-chain worker. I think the problem is in the crypto I use. With sr25519 it works fine. But when I switch it to ed25519, all the transactions are just stuck at 🎁 Prepared block for proposing at 2 stage, and, therefore, the consensus too. Also, one of the node's threads stops responding, so to exit the program it needs to explicitly kill the process. In the runtime I use MultiSignature for all signatures. Is it a bug or am I doing something wrong?
Previously I asked this question in Substrate Technical chat, but since I didn't get an answer, I decided to create the issue.
P.S. By "switching" crypto, I mean going from this:
mod crypto {
    ...

    app_crypto!(sr25519, KEY_TYPE);

    pub struct TestAuthId;

    impl frame_system::offchain::AppCrypto<MultiSigner, MultiSignature> for TestAuthId {
        type RuntimeAppPublic = Public;
        type GenericSignature = sp_core::sr25519::Signature;
        type GenericPublic = sp_core::sr25519::Public;
    }
}

to that:
mod crypto {
    ...

    app_crypto!(ed25519, KEY_TYPE);

    pub struct TestAuthId;

    impl frame_system::offchain::AppCrypto<MultiSigner, MultiSignature> for TestAuthId {
        type RuntimeAppPublic = Public;
        type GenericSignature = sp_core::ed25519::Signature;
        type GenericPublic = sp_core::ed25519::Public;
    }
}

All the off-chain worker code was taken from recipes repository.
Additional info:
Substrate v2.0.0-rc4
EDIT: After a few hours of debugging I've found that the block occurs here: https://github.com/paritytech/substrate/blob/v2.0.0-rc4/client/service/src/client/client.rs#L868 . Further debugging requires proc-macro desugaring, for which I don't have time at the moment, unfortunately. Also, it seems like basic transactions have the same problem.

Can try  running with --offchain-workers Never, with this crypto?
ping @tomusdrw

@vmarkushin could you please try latest master?
And could you upload your code somewhere?

@kianenigma

with this option, my off-chain worker function is not called, so no transactions are issued by the worker. Extrinsic calls work fine.
I hope I will prepare the code by the weekend and will notify you. For now, I can give you a log:
log_full.txt - full trace
log.txt - the same trace but cleaned up a bit

@vmarkushin Do you use custom validation for OCW calls? Does it only stall if OCW transaction is present in the pool?
Do you mind running with --execution Native and enable runtime logs with -lruntime=trace?

cc @jimmychu0807 because you (and I) maintain the recipes ocw code.
@vmarkushin If you are using instant seal consensus like the recipes' kitchen node does, then you may be experiencing this:
The offchain worker is run whenever a block is produced. But in instant seal a block is produced whenever a transaction shows up. So you start the process by manually submitting one transaction, and then the ocw runs and submits another transaction. This causes another block to be produced which kicks off the ocw which submits another tx, and around and round. In the recipes, this chain of transactions and blocks is broken because the OCW is told not to submit anything every fourth block. If you've removed that logic (which is totally fine) you may just be in a very fast infinite loop.
In a real-world blockchain, you probably don't want instant seal consensus, so maybe you can try something like Aura or Babe.

@JoshOrndorff thank you for the clarification. Yes, I've noticed that the worker is run on every transaction so I check the block height too. And again, it's ok with sr25519 signatures, but with ed25519 it brokes.

@vmarkushin Please post your code that does not work.

@bkchr here you go: https://github.com/vmarkushin/substrate-inf-loop
As I expected, this problem is the same for all transactions. I added a client (tester) for a demonstration. It sends an extrinsic call signed with Ed25519 (which causes the infinite loop). To sign with Sr25519 uncomment code on line 19.

Ty. Did you tried latest Master?

I tried to migrate to rc5, but it took me too long because of changes in some structures that are used in the node's service, so I decided to stay on rc4 for now. I can return to this problem this weekend.


[llvm] Set PYTHON_HOME for LLDB, but how?

Hi,
Does anyone know how can I set PYTHON_HOME that the LLDB finds it?
The simple set(ENV... does not work sadly.
Regards,
TheAifam5

Nothing is understood what you want, but here are some variables
set PYTHONHOME=e:\Anaconda2\
set PYTHONPATH=e:\Anaconda2\Lib
set LLVM_PATH=E:\tools\LLVM32

@Voskrese I want to set the environment variable PYTHONHOME while compiling my LLVM package from my pull-request https://github.com/Microsoft/vcpkg/pull/3987 . The LLDB project doesn't see it and that's a problem.

http://lldb.llvm.org/build.html#BuildingLldbOnWindows
Required Dependencies

Visual Studio 2015 or greater
Windows SDK 8.0 or higher. In general it is best to use the latest available version.
Python 3.5 or higher or higher. Earlier versions of Python can be made to work by compiling your own distribution from source, but this workflow is unsupported and you are own your own.
Ninja build tool (strongly recommended)
GnuWin32
SWIG for Windows (version 3+)

cmake -G Ninja -DLLDB_TEST_DEBUG_TEST_CRASHES=1 -DPYTHON_HOME=C:\Python35 -DLLDB_TEST_USE_CUSTOM_C_COMPILER=ON -DLLDB_TEST_C_COMPILER=d:\src\llvmbuild\ninja_release\bin\clang.exe ..\..\llvm

cmake -G Ninja <arguments> or `cmake -G "Visual Studio 14 2015"

Yea I fixed it.. Now I see that the python version from vcpkg_find_acquire_program isn't a full version of python - its only binaries.


Remove S3 & Glacier Service Name Dependencies

aws-v4-signer can be used for not only S3, Glacier but also other AWS services. So I removed some logics which are too dependent on S3 & Glacier service names and updated some examples & test cases.

You might be better off deprecating the S3 and glacier calls. Then just adding your new build method so it isn't a breaking change.

@bfkelsey oh you're right. I forgot compatibility you mentioned. I'll make new commit for this. thanks. anyway really thanks you guy to make v4 signer. I was able to connect to API by using your library.

I'm OK with deprecating the s3 and glacier methods and moving to a generic builder method that allows you to pass in a service name.

@lucasweb78 @bfkelsey I made a new commit. please check my submit. thanks.


sql: BEGIN statement

Complete reference documentation for the BEGIN statement: begin-transaction.md
Intro, Synopsis, and Required Privileges are complete. We need to complete Parameters and Examples. For style reference, see those sections in INSERT or DELETE.
More reference:

https://github.com/cockroachdb/cockroach/blob/master/sql/txn.go
https://github.com/cockroachdb/cockroach/blob/master/sql/testdata/txn
PostgreSQL docs: http://www.postgresql.org/docs/9.5/static/sql-begin.html
MySQL docs: http://dev.mysql.com/doc/refman/5.7/en/commit.html

I've un-assigned myself from this due to inactivity on it, giving someone else a chance to pick it up.

@sploiselle, should we mark this closed now that https://github.com/cockroachdb/docs/pull/672 has been merged?

Closed by #672


feat(deps): bump dependencies as well as NodeJS to 16

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


Chore: Clarify sentence on re-licensing

Not sure if this is what was intended, but I made an attempt.

Thanks!


a11y fix color contrast get-started button

I ran Lighthouse before and after applying this change to double check that it worked.


Query string not parsed on the server

I am trying to fill up some input fields with data from the query-string.
On the server this fails because location.query is not set:
componentDidMount () {
    const { location, distance } = this.props.location.query
    this.refs.searchInput.value    = location
    this.refs.searchDistance.value = distance
}

My workaround is currently is parsing the qs with express and appending it to the location object before passing it to the router.
router.use(function (req, res) {
    const location = createLocation(req.url);
    location.query = req.query
    match({ routes, location }, function (error, redirectLocation, renderProps) {
    ...

So. With a qs parser infront of react-router this is not really an issue.
It would be nicer to have a more transparent API for server and client or have this described somewhere with server-side rendering. Maybe this is an Issue with history.createLocation? Am i missing something?

Same problem https://github.com/rackt/history/issues/60

Cross-posted from the other issue, I'm also having this issue on the server with match:
  let location = createLocation(req.url),
      history = useQueries(createHistory)();

  // First we match our location to our route
  // <https://github.com/rackt/react-router/blob/master/docs/guides/advanced/ServerRendering.md>
  match({ routes, history, location }, (error, redirectLocation, renderProps) => {
    // renderProps won't ever have a "query" property, as useQueries should have set
    invariant(typeof renderProps.query !=== 'undefined', 'renderProps.query not defined');
  });

Since query parsing can be done in different ways i thought this should totally be pluggable!
Then I found this... so that is already the case!
It all makes sense to me now and issue could be reduced to "Why createHistory() defaults to a parser and createLocation() is not".
Probably because it's unnecessary in a server environment where you very likely already have one in place and unlikely that you do in the client.
I would be happy with this being documented better in the server-rendering docs.

This issue should be resolved by https://github.com/rackt/history/pull/79
That PR makes createLocation an instance method of history objects. So whatever history enhancers you use have a chance to modify the location object. Let's follow up in that PR.

@mjackson https://github.com/rackt/react-router/blob/master/docs/guides/advanced/ServerRendering.md
Server Rendering will be broken after upgrade.


[scatter] Add density coloring

Let's go ahead and merge this, and we can play with it on autopush :)


Cannot make a upgrade to Hilla 1.0.6 to work

Output:

(part) => {
partCache.set(part, cb);
updatePart(part, cb);
}
Using @NpmPackage(value = "lit-translate", version = "^2.0.0") the result is:

I've updated the v23 branch to Hilla 1.0.6. It seems to work. I also update the code to Lit 2.
https://github.com/jcgueriaud1/vaadin-multilanguage-app/tree/v23
Maybe it's a conflict between lit 1 and 2. It's hard to say without more information.

@jcgueriaud1 Tanks a lot for super fast reply! Forgot to look for a v23 branch - it is working!


video support

(rewriting sloppy request)
I was wondering if video support can be added?
At first I came up with lucidrain's video-diffusion-pytorch
https://github.com/lucidrains/video-diffusion-pytorch
But, after some research it seems like zeroscope might be the right model to use
https://huggingface.co/cerspense/zeroscope_v2_576w

This model appears to be significantly different from stable-diffusion, no plans to support it currently. If there's time in the future, I will consider providing support for it.

didn't necessarily mean this specific model, more "video" in general.
I think zeroscope would probably be the right place to start.
https://huggingface.co/cerspense/zeroscope_v2_576w

It looks like this needs some work, and there are no plans to support it currently. Maybe in the future?

stable video diffusion (SVD) models from stability where released!

SVD was trained to generate 14 frames at resolution 576x1024 given a context frame of the same size. We use the standard image encoder from SD 2.1, but replace the decoder with a temporally-aware deflickering decoder

https://stability.ai/news/stable-video-diffusion-open-ai-video-model
https://huggingface.co/stabilityai/stable-video-diffusion-img2vid / https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt

The SVD demo looks quite good. I'll make time in the next few days to study it, starting by running the official code to see its performance.

patiently waiting for SVD to release and being quantized!

@leejet
It seems to have almost the same architecture as SD 2.1 but includes some temporal consistency blocks called "time_stack." We'll need to see how they work and whether new functions need to be added to ggml. The conversion program works with this model; however, please note that we'll need to implement the vision version of CLIP to generate embeddings from images.

I'm currently reviewing the SVD implementation code in comfyui. Perhaps I can learn how to conveniently implement SVD within sd.cpp from this.

I'm currently reviewing the SVD implementation code in comfyui. Perhaps I can learn how to conveniently implement SVD within sd.cpp from this.

Amazing! Good luck!!

@leejet any update and progress on svd and inpainting? really excited to try them out in cpp!

I've got a basic understanding of the SVD model architecture. Once I merge the https://github.com/leejet/stable-diffusion.cpp/pull/104 and https://github.com/leejet/stable-diffusion.cpp/pull/117, I'll attempt to implement SVD.

niceee! so excited, thanks

Hotshot-XL looks interesting, too. https://huggingface.co/hotshotco/Hotshot-XL

@leejet it will be great if you support fp16 of SVD when it is done:
https://huggingface.co/becausecurious/stable-video-diffusion-img2vid-fp16/tree/main
they are smaller and probably more ram friendly

@leejet i just found out that svd can't use prompts [late to the party], how is it gonna be with sd cpp? i mean can u make it to use prompts to control svd or it will be out of our control by design?

Need as well.

@leejet any update on svd please?

I don't know if this is even remotely related to the SD architecture, but it would be could to support the new kid on the block:
https://huggingface.co/genmo/mochi-1-preview
https://huggingface.co/Kijai/Mochi_preview_comfy/tree/main

Any updates on SVD?

Any updates on SVD?

There are more img2vid and txt2vid models coming
https://github.com/THUDM/CogVideo
https://huggingface.co/IamCreateAI/Ruyi-Mini-7B
https://github.com/Tencent/HunyuanVideo


winget upgrade returns non-valid version numbers for some packages (v1.1.13405)

Today, winget upgrade returned a list of applications where some of the version numbers are not valid. As in converting them to [System.Version] in PowerShell fails. I can't remember having this issue before.
Packages in this example

MakeMKV

Presenting valid version numbers should be something we can take for granted when using a package manager IMO. Either the manifest tests should pick this up (not accept commits where version number is following valid version format), and/ or winget-cli should parse the version numbers before showing them in the terminal.
Raw output from winget upgrade
Name                                      Id                                   Version          Available        Source
-----------------------------------------------------------------------------------------------------------------------
7-Zip                                     7zip.7zip                            21.06            21.07            winget
Audacity                                  Audacity.Audacity                    3.1.2            3.1.3            winget
Discord                                   Discord.Discord                      0.0.309          1.0.9003         winget
Eraser                                    Eraser.Eraser                        6.2.2992         6.2.2993         winget
Git                                       Git.Git                              2.20.1           2.34.1           winget
GitHub Desktop                            GitHub.GitHubDesktop                 2.2.4            2.9.6            winget
HexChat                                   HexChat.HexChat                      2.14.2           2.16.0           winget
Intel® Driver & Support Assistant         Intel.IntelDriverAndSupportAssistant <IP_ADDRESS>        <IP_ADDRESS>        winget
Jabra Direct                              Jabra.Direct                         4.0.6206.0       5.10.2           winget
KeePass                                   DominikReichl.KeePass                2.49             2.50.0           winget
K-Lite Mega Codec Pack                    CodecGuide.K-LiteCodecPack.Mega      16.6.2           16.7.0           winget
MakeMKV                                   GuinpinSoft.MakeMKV                  v1.12.3          v1.16.5          winget
Microsoft 365 Apps for enterprise         Microsoft.Office                     16.0.14701.20262 16.0.14729.20228 winget
Microsoft 365 Apps for enterprise         Microsoft.Office                     16.0.14701.20262 16.0.14729.20228 winget
Microsoft Azure CLI                       Microsoft.AzureCLI                   2.0.62           2.32.0           winget
Microsoft Teams                           Microsoft.Teams                      <IP_ADDRESS>57     <IP_ADDRESS>771     winget
Microsoft Visual C++ 2015-2019 Redistrib… Microsoft.VC++2015-2019Redist-x86    14.28.29325.2    14.29.30139.0    winget
Microsoft Visual Studio Code              Microsoft.VisualStudioCode           1.56.2           1.63.2           winget
Notepad++                                 Notepad++.Notepad++                  <IP_ADDRESS>          8.2              winget
NTLite                                    Nlitesoft.NTLite                     <IP_ADDRESS>42       <IP_ADDRESS>67       winget
Plex                                      Plex.Plex                            1.4.1            1.39.1           winget
Plex Media Server                         Plex.PlexMediaServer                 <IP_ADDRESS>11      <IP_ADDRESS>09      winget
Signal                                    OpenWhisperSystems.Signal            1.40.1           5.27.1           winget
SyncTrayzor                               SyncTrayzor.SyncTrayzor              <IP_ADDRESS>         <IP_ADDRESS>         winget
TagScanner                                SergeySerkov.TagScanner              Unknown          6.1.11           winget
VMware Player                             VMware.WorkstationPlayer             16.1.0           16.2.1           winget
XnConvert                                 XnSoft.XnConvert                     1.77             1.92.0           winget
27 upgrades available.

Environment
winget --version
v1.1.13405

winget --info
Windows Package Manager v1.1.13405
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19043.1387
Package: Microsoft.DesktopAppInstaller v1.16.13405.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
Licence Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Why is this important?
Until winget-cli provides the ability to output results to a standardized format, like JSON or CSV, people trying to use winget-cli with other tools, like Intune (example: https://github.com/o-l-a-v/winget-intune-win32), must try to parse the output.
Another example: I've made a PowerShell script to update just certain packages, like skipping Microsoft Office ProPlus. Handling all the special problems currently present in winget-cli, like winget upgrade --id <id> not working for a lot of packages, and now the version numbers not being standardized, the logic is starting to get ugly. Current script right now:
Click to show
#Requires -RunAsAdministrator
#Requires -Version 5.1
<#
    .SYNOPSIS
        Use winget to update some packages.

    .NOTES
        Author:   Olav Rønnestad Birkeland | github.com/o-l-a-v
        Created:  211205
        Modified: 220115

        Logs
        * %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

    .EXAMPLE
        & $psISE.CurrentFile.FullPath
#>

# Input parameters
[OutputType($null)]
Param()

# Settings
## PowerShell preferences
$ErrorActionPreference = 'Stop'
$InformationPreference = 'Continue'

## Encoding
$null = cmd /c '' # Workaround for PowerShell ISE "Exception setting "OutputEncoding": "The handle is invalid.""
$Global:OutputEncoding = [Console]::InputEncoding = [Console]::OutputEncoding = [System.Text.UTF8Encoding]::new()

# Assets
## Context
$IsAdmin = [bool](
    ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
)
$IsSystem = [bool](
    [System.Security.Principal.WindowsIdentity]::GetCurrent().'User'.'Value' -eq 'S-1-5-18'
)

## Control what apps to update with winget - MATCHES USING POWERSHELL -like
$Apps = [string[]](
    $(
        # Device/ system context, requires admin
        if ($IsAdmin) {
            [string[]](
                '7zip.7zip',
                'CodecGuide.K-LiteCodecPack.Mega',
                'Eraser.Eraser',                       # "winget upgrade" does not work, must use "winget install".
                # 'Intel.IntelDriverAndSupportAssistant',# "winget upgrade" does not work, "winget install" does not remove old versions.
                'Jabra.Direct',
                'Logitech.Options',
                'Microsoft.dotnetRuntime.?-x??',       # Include all Microsoft .NET Desktop Runtime
                'Microsoft.VC++2005Redist-*',          # Includes all architectures
                'Microsoft.VC++2008Redist-*',          # Includes all architectures
                'Microsoft.VC++2010Redist-*',          # Includes all architectures
                'Microsoft.VC++2012Redist-*',          # Includes all architectures
                'Microsoft.VC++2013Redist-*',          # Includes all architectures
                'Microsoft.VC++2015-2022Redist-*',     # Includes all architectures | Must use "winget install" due winget-cli bug "Multiple apps found matching input criteria"
                'Microsoft.PowerToys',                 # "winget upgrade" does not work, must use "winget install".
                'Microsoft.VisualStudioCode',
                'Nlitesoft.NTLite',                    # URL goes to latest version, which might be newer than whats in winget-pkgs. So add "--force".
                'Notepad++.Notepad++',
                'Plex.Plex',                           # Not totally silent, "updating" prompt, and starts after install.
                'Postman.Postman',
                'SoftDeluxe.FreeDownloadManager',
                'WireGuard.WireGuard',
                'XnSoft.XnConvert',
                'XnSoft.XnViewMP'
            )
        }
        # User context, requires to not run as SYSTEM
        if (-not $IsSystem) {
            [string[]](
                'GitHub.GitHubDesktop',
                'JanDeDobbeleer.OhMyPosh',
                'OpenWhisperSystems.Signal'
            )
        }
    )
)

## Special behavior - MATCHES USING POWERSHELL -eq
### Remove desktop shortcut if not already present
$OverrideRemoveDesktopShortcut = [ordered]@{
    'GitHub.GitHubDesktop' = [string] 'GitHub Desktop'
    'Postman.Postman'      = [string] 'Postman'
}
$OverrideRemoveDesktopShortcut.GetEnumerator().'Name'.ForEach{
    $OverrideRemoveDesktopShortcut.$($_) = [string[]](
        ('{0}\{1}.lnk' -f [System.Environment]::GetFolderPath('Desktop'), $OverrideRemoveDesktopShortcut.$($_)),
        ('{0}\{1}.lnk' -f [System.Environment]::GetFolderPath('CommonDesktopDirectory'), $OverrideRemoveDesktopShortcut.$($_))
    )
}

### Use install instead of upgrade, due to winget-cli bugs/ missing features
$OverrideUseInstallInsteadOfUpgrade = [string[]](
    'Eraser.Eraser',
    'Intel.IntelDriverAndSupportAssistant',
    'Microsoft.VC++2015-2022Redist-x64',
    'Microsoft.VC++2015-2022Redist-x86',
    'Microsoft.PowerToys'
)

### Skip checksum validation (--force) because download URI dynamically fetches newest version, which might be newer than winget-pkgs
$OverrideSkipChecksumValidation = [string[]](
    'Nlitesoft.NTLite'
)

## Path of winget-cli
$WingetCliPath = [string](
    $(
        if ([System.Security.Principal.WindowsIdentity]::GetCurrent().'User'.'Value' -eq 'S-1-5-18') {
            '{0}\AppInstallerCLI.exe' -f (
                (Get-Item -Path ('{0}\WindowsApps\Microsoft.DesktopAppInstaller_*_x64__8wekyb3d8bbwe' -f $env:ProgramW6432)).'FullName' | Select-Object -First 1
            )
        }
        else {
            '{0}\Microsoft\WindowsApps\winget.exe' -f $env:LOCALAPPDATA
        }
    )
)

# Get upgradeable apps
## Introduce step
Write-Information -MessageData '# Get Winget output'

## Get output from "winget upgrade"
### Get
do {
    $WingetUpgradeable = [string[]](
        cmd /c ('{0} upgrade' -f $WingetCliPath) | Where-Object -FilterScript {$_[0] -notmatch '\s'}
    )
}
while (
    $(
        if ($WingetUpgradeable.'Count' -eq 1 -and $WingetUpgradeable[0] -like 'No installed*') {
            $false
        }
        else {
            $WingetUpgradeable[1][0] -ne '-'
        }
    )
)

### Exit if no packages to update
if ($WingetUpgradeable.'Count' -eq 1) {
    Write-Information -MessageData ('No packages to update: "{0}".' -f $WingetUpgradeable[0])
    Exit 1
}

### Sort output alphabetically
$WingetUpgradeable = [string[]](
    $WingetUpgradeable[0,1] + ($WingetUpgradeable[2 .. $WingetUpgradeable.IndexOf($WingetUpgradeable[-2])] | Sort-Object) + $WingetUpgradeable[-1]
)

### Remove empty entries
$WingetUpgradeable = [string[]]($WingetUpgradeable.Where{-not[string]::IsNullOrEmpty($_)})

## As string array
### Introduce step
Write-Information -MessageData '## Raw output as string array'

### Show output
Write-Information -MessageData ($WingetUpgradeable -join [System.Environment]::NewLine | Out-String).Trim()

## As PowerShell object
### Introduce step
Write-Information -MessageData ('{0}## As PowerShell object' -f [System.Environment]::NewLine)

### Find indexes
#### "Id"
$IndexIdStart = [byte] 0
while ($WingetUpgradeable[0][$IndexIdStart] -cne 'I') {$IndexIdStart++}
#### "Version"
$IndexVersionStart = [byte] $IndexIdStart
while ($WingetUpgradeable[0][$IndexVersionStart] -cne 'V') {$IndexVersionStart++}
#### "Available
$IndexAvailableStart = [byte] $IndexVersionStart
while ($WingetUpgradeable[0][$IndexAvailableStart] -cne 'A') {$IndexAvailableStart++}
#### "Source"
$IndexSourceStart = [byte] $IndexAvailableStart
while ($WingetUpgradeable[0][$IndexSourceStart] -cne 'S') {$IndexSourceStart++}
### Create object
$WingetUpgradeableAsObject = [PSCustomObject[]](
    $WingetUpgradeable[2 .. ($WingetUpgradeable.'Length' - 2)].ForEach{
        [PSCustomObject]@{
            'Name'      = [string]($_[0 .. ($IndexIdStart-1)] -join '').Trim()
            'Id'        = [string]($_[$IndexIdStart .. ($IndexVersionStart -1)] -join '').Trim()
            'Version'   = [System.Version](
                $(
                    Try {
                        [System.Version](
                            $_[$IndexVersionStart .. ($IndexAvailableStart -1)] -join '' -replace '^[vV]{1}', '' -replace '\s', ''
                        )
                    }
                    Catch {
                        '0.0.0'
                    }
                )
            )
            'Available' = [System.Version](
                $(
                    Try {
                        [System.Version](
                            $_[$IndexAvailableStart .. ($IndexSourceStart -1)] -join '' -replace '^[vV]{1}', '' -replace '\s', ''
                        )
                    }
                    Catch {
                        '0.0.0'
                    }
                )
            )
            'Source'    = [string]($_.Substring($IndexSourceStart) -split '\s' | Select-Object -First 1)
        }
    } | Sort-Object -Property 'Name'
)

### Output
Write-Information -MessageData ($WingetUpgradeableAsObject | Format-Table -AutoSize | Out-String).Trim()

# Find upgradeable apps matching input criterias
## Introduce step
Write-Information -MessageData ('{0}# Find upgradeable apps matching input criterias' -f ([System.Environment]::NewLine*2))

## Find
$AppsUpgradeable = [PSCustomObject[]](
    $(
        foreach ($App in $Apps) {
            $WingetUpgradeableAsObject.Where{$_.'Id' -like ('*{0}*'-f$App)}
        }
    ) | Sort-Object -Property 'Name'
)

## Output results
Write-Information -MessageData ('Found {0}.' -f $AppsUpgradeable.'Count'.ToString())

# Upgrade upgradeable apps
## Introduce step
Write-Information -MessageData ('{0}# Upgrade apps' -f ([System.Environment]::NewLine*2))

## Show no upgrades avaialble if none
if ($AppsUpgradeable.'Count' -le 0) {
    Write-Information -MessageData 'Found no apps to update.'
}

## Upgrade upgradeable apps
foreach ($App in $AppsUpgradeable) {
    Write-Information -MessageData (
        '{0}## {1} / {2} "{3}" | {4} => {5}' -f (
            $(if($AppsUpgradeable.IndexOf($App) -ne 0){[System.Environment]::NewLine}),
            (1+$AppsUpgradeable.IndexOf($App)).ToString('0'*$AppsUpgradeable.'Count'.ToString().'Length'),
            $AppsUpgradeable.'Count'.ToString(),
            $App.'Name',
            $App.'Version',
            $App.'Available'
        )
    )
    # Check if desktop shortcut should be deleted
    $DeleteDesktopShortcut = [bool](
        $(
            if (
                $OverrideRemoveDesktopShortcut.$($App.'Id') -and
                $OverrideRemoveDesktopShortcut.$($App.'Id').Where{
                    -not [string]::IsNullOrEmpty($_)
                }.'Count' -gt 0 -and
                $OverrideRemoveDesktopShortcut.$($App.'Id').Where{
                    [System.IO.File]::Exists($_)
                }.'Count' -le 0
            ) {
                $true
            }
            else {
                $false
            }
        )
    )
    # Create upgrade command
    $Command = [string](
        '{0} {1} --id {2}{3} --silent --accept-package-agreements --accept-source-agreements' -f (
            $WingetCliPath,
            $(if($App.'Id' -in $OverrideUseInstallInsteadOfUpgrade){'install'}else{'upgrade'}),
            $App.'Id',
            $(if($App.'Id' -in $OverrideSkipChecksumValidation){' --force'})
        )
    )
    Write-Information -MessageData $Command
    # Upgrade
    $null = cmd /c $Command
    Write-Information -MessageData ('Done. $? = {0}, $LASTEXITCODE = {1}.' -f $?.ToString(), $LASTEXITCODE)
    # Remove desktop shortcut if install success and override exists
    if ($LASTEXITCODE -and $LASTEXITCODE -eq 0 -and $DeleteDesktopShortcut) {
        $OverrideRemoveDesktopShortcut.$($App.'Id').Where{
            -not [string]::IsNullOrEmpty($_) -and
            [System.IO.File]::Exists($_)
        }.ForEach{
            $null = [System.IO.File]::Delete($OverrideRemoveDesktopShortcut.$($App.'Id'))
        }
        Write-Information -MessageData 'Desktop shortcut deleted.'
    }
}

@o-l-a-v we've run into plenty of strange version numbers attempting to meet developers where they are. We've also encountered subtle differences between a "marketing" package version and the version reported in Windows Apps & Features. We're still working on the implementation for the 1.1 schema so we can have a rational separation between these two types of software versions.
Here is an example where build numbers might use dates, product codes, and branch numbers: https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
Versions today are essentially just "strings' we attempt to reason about as best we can. We've had a few different issues submitted related to versioning. We're also looking at how we may handle this in the PowerShell cmdlets. Unfortunately, not all software adheres to https://semver.org.

winget does not correctly recognize installed version of these programs:
Name                         Id                    Version     Available    Source
----------------------------------------------------------------------------------
OBS Studio                   OBSProject.OBSStudio  26.1.1      28.0.3       winget
PostgreSQL 14                PostgreSQL.PostgreSQL 14          14.5         winget
Teams Machine-Wide Installer Microsoft.Teams       <IP_ADDRESS>59 <IP_ADDRESS>68 winget

In reality all three are updated to current !

In case of MS Teams it is super funny.

It looks like OBS Studio is either not performing an upgrade including updating registry keys, or it's doing a side-by-side install and the older version is still present.
The same appears to be true for PostgreSQL.
Teams is a unique one. If Teams is installed in "user" scope, the Machine Wide Installer is first installed, and we're getting a false match for an upgrade to the machine wide installer even if you have the latest (or a newer) version installed.
We've got some improvements coming for the winget upgrade logic and the winget install logic to see if the latest version is already installed so we don't need to prompt for an upgrade to an older version.

Looks like App&features is also confused
OBS... lies

PG.... lies

But not the case for MS Teams - this is true

Have a similar problem with intelliJ:

(apps features ):
also wrong:

but:

(not sure if this can be solved on winget side :-( )

I'm actually seeing an interesting issue with Jetbrains ReSharper tools after I updated them to 2022.2.3 via Jetbrains Toolbox.
JetBrains dotTrace 2022.3                                      JetBrains.ReSharper               > 2022.2.2       2022.2.3      winget
JetBrains ETW Host Service (x64)                               JetBrains.ReSharper               > 2022.2.2       2022.2.3      winget

Hey all, we've done a lot of work around versioning so WinGet can deal with non-semantic versions. Manifests can include a marketing version as well as a package version so it can properly reason about logical upgrades. There are no gurantees or requirements for versions in WinGet to be of type [System.Version].
I'm going to go ahead and close this issue. If this is something you feel is absolutely necessary, we'd consider it for something related to the PowerShell cmdlets. Please create a new issue if that's the case so we can have a discussion about how we might handle the scenario in the future.
Even WinGet prepends "v" on versions which isn't technically correct, but it represents a breaking change if/when we fix it.


Feature Request: Ability to Infra As Code Approval/EIigibility Policies

Describe the issue
Today the only way to manage Approval/EIigibility Policies is by logging to the app and create/edit them via the Web console.
Describe the feature you would like to have implemented.
Ability to use some Infra as Code tools as Terraform or just a JSON format so we can manage theses policies from a Git repo and have some peer reviews, CI/CD controls on that

@othmane399 I developed and maintain a terraform provider for awsteam.

@othmane399 I develop and maintain a terraform provider for awsteam.
github repo: https://github.com/brittandeyoung/terraform-provider-awsteam

oh great ! thanks for that !


Update Security experience link content

Proposal: To reflect the latest content from the upcoming Partners site. So that both sites are aligned.
Background context: The content changes were prompted by accessibility testing with the Partners site, which Chanan and Danielle have reviewed.

The build failure is expected here, since the visual regression test caught the changed content. Should be fine to merge regardless.
https://app.circleci.com/pipelines/github/18F/identity-style-guide/1029/workflows/79103523-9374-4bf7-b5e6-88c6ee0b8d74/jobs/2770/artifacts


Another rust implementation

I saw this as a good opportunity to try and do some math-related stuff with Rust :D
I had missed #6 before I got started on it and got kind of carried away.
It does pretty much the same thing as the python implementation, but a bit faster, and for now without RLEs.
Also, since we're solving for a known amount of dimensions (3), I just went with a fixed-size array implementation. This also semi-forced me to implement transpositions and such, which was a good challenge (note: axis[0] != a1, raah)
So far it seems to do what it should, yielding the correct numbers for up to n=13 (n=13 calculation took 2 hours and 10 minutes on a Xeon E5-2630v3, haven't kept track of memory usage).
Possible improvements:

[x] Parallelize computation (using rayon. Note: impl might be faster by collect-ing on sublists, but that eats up a lot of memory)
[x] Add serde + load and save from cache
[ ] Add RLE (for completeness)
[ ] Somehow add something like Cow to the mix and avoid cloning for flip and transpose operations that don't need it
[x] Maybe: add interop with numpy format (crude impl suffices) Won't do, pcube format is easier

if you are considering implementing save loading consider implementing this file format:
https://github.com/mikepound/opencubes/issues/8#issuecomment-1634507915
rather than directly implementing numpy.
there's included converters in the linked branch to get it to numpy format

if you are considering implementing save loading consider implementing this file format: #8 (comment) rather than directly implementing numpy. there's included converters in the linked branch to get it to numpy format

Thanks for the heads up! Have implemented loading from and saving to a file now, quite nice :D

I have now added a bit of validation to the command as well. Running cargo run -- validate <name> verifies that you can actually use the file

@datdenkikniet I have muted this for now because it still seems under very active development, but i'm still very interested as it seems to be the most feature complete rust implementation at this time, please give me a poke once you are happy with it, and i will review for merge.

I might try to merge my solutions as sub commands then to allow for 1 rust solution with multiple strategy and optimisations implemented unless anyone thinks that's a bad idea. It would also allow me to take advantage of @datdenkikniet's existing cache file saving and loading which I haven't implemented yet.

I'm not sure if the way I've set up my PolyCube lends itself to the speed of your implementation, but if you're willing to see if wrangling my impl into something a bit more performant (n=13 takes ~50 mins on a slow-ish 32 core machine now), that would be absolutely awesome :D

I've also been thinking about how we could get around the memory problem, and figured we should try having a HashSet<u64> that only stores the hash of the cube, and storing the actualy polycube to disk immediately. Not entirely sure how that works out collision wise, but might be worth it :D

problem is if you're hash is actually a hash (and not just a representation like the bits of the cube arranged as a 1d array of bytes), you still need to do an equality check on the value to check whether these are actually the same cube or just a hash collision.
if you "hash" is just a representation like it is in my python implementation, your best off making a function to reverse it back from the representation to the cube data structure, then you can just store the "hash", and reverse it back out later.

I was thinking mainly keeping it to cli flags for now with some shared code/structs between implementations and conversion functions between polycubes. Mine already has 2 implementations:

one that operates on the 3d bit mask and stores them as point lists for memory reasons.

one that operates on a list of points and is lazily parallelised (25%+ is still running on 1 thread because of how I divide the work and another 30% of time looks to be mutex fighting).

I still also want to try a 3rd implementation bypassing the hash table and memory limit entirely but I'll have to see if it works and the performance is reasonable (to get to n=14+ without me being impatient)

my 3rd impl would be using this suggested algorithm https://github.com/mikepound/opencubes/issues/11 but i expect it to be at least an order of N times slower best case if I even make it work

@bertie2 I think merging this PR now should be good to go. It has most of the basics and does the important part (enumerate up to n=13 :P). That way we can more easily have a bunch of PRs open.
Is there anything blocking such a merge? Do we need more docs on how to run stuff?

@datdenkikniet in terms of functionality and tests all seems good and it runs on my machine at least.
I'm not familiar with rust, so my only real question is would it be possible to split out some of the functionality into multiple relevantly named files, rather than a few monoliths. please let me know and do so if you can.
finally, there is a blocker on my end that I need to move the python implementation into a sub directory, and update the README which I will get done tomorrow, the C++ implementation will be getting merged around the same time as this one so it was already on the todo list to refactor.

Sweet :) Yes, I'll split up some stuff and add some more doc comments!

+1 for merging the code looks all reasonably good with enough documentation.
I would consider moving loading the cache files from unique_expansions to enumerate and call my implementations from there.
Moving files I'd consider moving unique_expansions out of main and into lib and or moving most of lib into a module with a more meaning full name name.
Im not experienced enough at rust to say if rotation and flip can go in theyre own file. My implementations have a module for rotations that takes a reference as the first parameter and  returns a new PolyCube but that makes them not impl methods anymore

I've done some moving around and renaming.
Personally I think flip, transpose and rot90 can stay in polycubes.rs, but if we want to we can definitely give them the same treatment as the iterators.