Error Initializing ViGem

Installing with the latest installer, I get a "Error initializing ViGem!" error when trying to run an overlay.
On closing, the screen goes white or black (sometimes one, someone's the other). I can bring up the onscreen keyboard, and move the mouse around, but am blind as to what's going on behind.

I have the exact same issue.

#metoo

#metoo Same here.

Same here. Fortnite isn't getting any of my controller input and the glosc_overlaywindow seems to never close even when I quit the game and the epic launcher

If you have multiple (or none) "Virtual Gamepad Emulation Bus" devices in your device manager (under System Devices)
Remove them and then run this script via PowerShell.

I checked and only had 1 entry. With nothing to lose, I uninstalled and ran script per instructions above, but it didn't fix the problem. I uninstalled and reinstalled (something I'd tried before) and this time it appears to work. On my desktop.
 No error, but the screen goes opaque when a shotcut is run.
Is the support, or official non-support, for the Steam Link?

Last time I checked, GloSC worked just fine using Steam InHome-Streaming, and therefore with the Steam Link.
However, if the GloSC overlay window is in focus, or the focused window runs in exclusive fullscreen you won't see anything.

Hello, been trying is use GloSC but havent been able to yet. I've installed uninstalled installed repeatedly (as admin) and am still getting the vigem error. I have no virtual gamepads in device manager at all, that being the case I ran the vigem updater and rebooted. No dice, full uninstall reboot install reboot install vigem reboot, add game to steam (sea of thieves) reboot, try to start game, vigem error.
It seems like vigem just isn't installing on my system or something.
system is fully updated win 10 x64, steam is up to date but no beta. Glosc is v 2.0.0

@AmazingMrBrock
You could try installing ViGEm manually (without the script)
https://github.com/nefarius/ViGEm/wiki/Driver-Installation
However, be aware that "Get-ViGEmBusDevice | Remove-ViGEmBusDevice" is currently bugged if you have more than 1 ViGEm device installed. So you have to remove them manually as described above.

@Alia5
I just want to confirm that I was in the same situation as @AmazingMrBrock, and following the wiki to install ViGEm and then reinstalling GloSC fresh to undo all the other stuff I tried finally got this working for me. Thanks for the help, and thanks for making this in the first place.
If I had to guess why running "Install_Update_ViGEm.ps" didn't work, I'd wager that it's because some of the commands from the ViGEm wiki require administrator privilege, so need to be run from an administrator instance of powershell. When I tried running the script I saw the powershell window pop up and disappear immediately, so I think it may not have privileges and be silently failing. Just some speculation though, I'm no expert.

The script should restart itself with admin privileges.

Hi, for me (Windows 8) installing ViGEm manually from this link via device manager > add legacy device and rebooting did the trick, the powershell script didn't work for me after running powershell with admin privileges and setting the ExecutionPolicy to Bypass. I installed GloSC via the provided installer and it seems to be working now.

That did the trick for me, thanks for the help @Alia5. I also second @AlexanderGalen in thinking its an problem with automated admin privileges not transferring.

https://github.com/Alia5/GloSC/commit/5d00d5c45cf391d3f1acb766877e9f7c9cb177aa

I have issue with
.\Install_Update_ViGEm.ps1
Register-PSRepository : The term 'Register-PSRepository' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At C:\Program Files (x86)\GloSc\redist\Install_Update_ViGEm.ps1:12 char:5

Register-PSRepository -Name nuget.vigem.org -SourceLocation https ...

~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (Register-PSRepository:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At C:\Program Files (x86)\GloSc\redist\Install_Update_ViGEm.ps1:13 char:5

Install-Module ViGEmManagementModule -Repository nuget.vigem.org

And it keeps going with all the  other commands.
I am using Windows 10 1809 .
I don't know show to fix this

Ah, well...
I think ViGEm stopped being available for install via Powershell... I'd have to check that, though.
There will be a plain old setup.exe for ViGEm soon and I'll update GloSC when that drops.
In the meantime, you can try the "Caveman Instructions" (I didn't name them :P)

I've found the issue for me.
for some reason I didn't have files in the powershell modules folder. it's in programs files\windows powershell  .  but x86 power shell worked but not with the install because it always opened the x64. so I copied all the files from my laptop powershell x64 and it worked fine.

May I alert you fine gentlemen towards the latest and greatest news 😁

May I alert you fine gentlemen towards the latest and greatest news 😁

nice
We just install above / upgrade or we need to uninstall ?

@x8009 just run it and let it do the work 😄

I've compiled a checklist with details on how to verify if everything worked.

Issue still exist, using latest version of Windows 1903, using latest available release of GloSC. Starting ReCore a microsoft UWP game results in getting this error. Please help.
I don't even see that Virtual Gamepad Emulation Bus in my Device Manager.

same as @minidarknova

May I alert you fine gentlemen towards the latest and greatest news 😁

Thanks! This finally solved the issue for me ;)

Hi, I get the error and I tried running Install_Update_ViGEm.ps but it opens and closes the powershell right away, I think its getting the is not recognized errors. I am using windows 10 and am trying to get the steam controller to work with forza horizon 4

@willstefany forget the scripts, use the setup I linked.

latest commits on master use the new installer.
Release: soon(tm)

I have this issue now and nothing helps. I've re-installed GloSC and installed a new version of ViGEmBus. I have no virtual gamepads in Device Manager:

I found file, but I can't open (I tried admin):
.\buildViGEmClient.ps1 : File C:\Users\P\Downloads\GlosSI-<IP_ADDRESS>\GlosSI-<IP_ADDRESS>\buildViGEmClient.ps1 cannot be loa
ded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go
.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

.\buildViGEmClient.ps1

  + CategoryInfo          : SecurityError: (:) [], PSSecurityException
  + FullyQualifiedErrorId : UnauthorizedAccess

I have this issue now and nothing helps. I've re-installed GloSC and installed a new version of ViGEmBus. I have no virtual gamepads in Device Manager:

UPD: Resolved by uninstalling and installing a new version of ViGEm, instead of "repair".

many thanks bro this method worked


Where should the diff information be stored under the "store" directory?

A text file of "Unable to take diff" message is stored in the <project>/store/_/_/objects directory
See the following example screenshot

Line#51 of VoidDiffer
        Jobber jobber = new Jobber(root, right.getJobName(), right.getJobTimestamp())

As seen, the directory of the right Material is refered.
On the other hand, as seen in the above screenshot, the right Material is NULL_OBJECT.
Therefore the file is written into the the folder <projectdir>/store/_/_

This incident brings me to a fundamental design question.
In which directory should the diff files be stored?
v0.1.10, the diff files are stored in the directory where the right materials are stored. Only when, the "Unable to take diff" message file goes into the "/" directory because it has no right material associated.

In which directory should the diff files be stored?

How about having 3 subdirectories. "Left", "Right", "Diff"
│   │       ├── 1c9333635212efe74b3826a0d4eb4056b15c5b70.html
│   │       ├── 276d4b97d917b89034b03e20c3ea79aa81ae613b.html
│   │       ├── 28dba4e82a9e092df5233ff5187dd3bf49fbfcbe.png
│   │       ├── 3d49f01318a5239576c456f85e9ac2912c9e3e68.png
│   │       ├── 5330a2b534437caffa578be9ed479846877935a9.html
│   │       ├── 7584bdd17bfd29209f09ad28543571dce581e6dc.html
│   │       ├── 84d60ade35cc77ae947f60b19faa9eb5f14c6e92.html
│   │       ├── 8fc3fd90e2e9a6cb51b1aedaca6f744b8908abda.png
│   │       ├── 9d46aa003e2ad1a33cf9e52bd2f6b1190e9ba1f6.html
│   │       ├── bb48cd4ad38682e1f0e70c3ad98b3063838d69e1.png
│   │       ├── c600e39a711b6da99f9cea1b9b35a906e99504d8.png
│   │       ├── e8ee5e9e4c9a2d664b3fde579c0da54e93927383.png
│   │       └── f4f751403935e6c0b8b5a212f923e80ce540fa24.png
│   └── 20220217_103107
│       ├── index
│       └── objects
│           ├── 0d3a02157718002c732e9346388c2a1580dc6936.html
│           ├── 2695b2f42c187d1ae6962f3ba28905e2d39c2211.html
│           ├── 308cc73f1e2bc3e2046300f0ae92e2405e1408d8.png
│           ├── 3999e88276b771d81a100abaac16addf2ca48178.html
│           ├── 7e108a98ede501e68f841a3643d99c70b25a58dd.png
│           ├── 82dc13fb21fea2025e14635e6ab4f9f21e072630.png
│           ├── 8db9b71e1b27d8c5e9dcb070a23309a420d61045.html
│           ├── 92380e557ca70c24624dcb9e74c1d7ff24406a1e.html
│           ├── 9ea3930755f07844c9a1612f9e652cbe72069024.html
│           ├── ad4ab5b61cacc153af82538705438f02af7da23c.png
│           ├── c248ae9e4410d295825c86b56f49334196925536.png
│           ├── effe37319069d217c33ce55439123df565153cde.png
│           └── fc52217a67253f0836394e8c4dd1bcb0d726ac06.png
└── Flaskr_VisualInspectionTwins-index.html

This problem is a major concern, which deserves the version number "0.2.0"

The interface com.kazurayam.materialstore.differ.Differ defines a method:
DiffArtifact makeDiffArtifact(DiffArtifact diffArtifact)

This method determines into which directory the diff information is stored.
The Differ interface is implemented by 3 concrete classes.

AbstractTextDiffer
ImageDifferToPNG
VoidDiffer

If I am going to introduce a new JobTimestamp directory for "Diff info", then I need to change those 3 concrete classes.

Which class should be responsible for creating a new JobTimestamp directory for "Diff info"?

ImageDifferToPNG has makeDiffArifact(DiffAritfact input) method.
This method determines in which directory to create a Material object.
    @Override
    DiffArtifact makeDiffArtifact(DiffArtifact input) {`
        ....
        // write the image diff into disk
        Jobber jobber = new Jobber(root_, right.getJobName(), right.getJobTimestamp())    // write into the "right" directory

v0.2.0 DiffArtifact class has the following contructor:
    private DiffArtifact(Builder builder) {
        this.left = builder.left
        this.right = builder.right
        this.diff = Material.NULL_OBJECT

v0.2.0 The Builder of DiffArtifact class is coded as follows:
    static class Builder {
        // required
        private Material left
        private Material right
        // optional
        private Material diff
        private MetadataPattern metadataPattern
        private Double diffRatio
        private SortKeys sortKeys
        Builder(Material left, Material right) {
            Objects.requireNonNull(left)
            Objects.requireNonNull(right)
            this.left = left
            this.right = right
            this.diff = Material.NULL_OBJECT

A straight-forward idea is to change the signature of makeDiffArtifact() of Differ
    DiffArtifact makeDiffArtifact(DiffArtifact input, JobName diffJobName, JobTimestamp diffJobTimestamp) {

This code looks ugly though.

add a property to DiffArtifact class: JobTimestamp diffTimestamp
the zipMaterials() method of DiffArtifactGroup class should set value to the property
the constructor of DiffArtifactGroup.Builder should implicitly compute the value of JobTimestamp diffTimestamp. It can derive the value from the JobTimestamp of the 1st left and the 1st right

done at v0.3.0


Improve GeneticAlgorithm and add MAPElites

This pull request aims to improve the API related to genetic algorithm and its operators. The improvements are as follows:

Added the class GeneticAlgorithm. The class SteadyStateGA remains, but is now an alias to GeneticAlgorithm.
Added the boolean keyword argument elitist to GeneticAlgorithm. When set as False, the genetic algorithm will adopt a generational behavior, where the best-performing children always replace the worst-performing parents.
Generalized the OnePointCrossOver operator to MultiPointCrossOver where the number of points is configurable. OnePointCrossOver remains as an alias with the number of points fixed as 1. Another alias is TwoPointCrossOver.
Added the operator PolynomialMutation.
Added the keyword argument operators to GeneticAlgorithm as the recommended way to to specify which operators are to be applied on the population at each generation.
Added the MAPElites algorithm which, similar to GeneticAlgorithm, allows one to define the operators to be applied at each generation via the keyword argument operators.

Co-authored-by: Nihat Engin Toklu<EMAIL_ADDRESS>Co-authored-by: Pawel Liskowski<EMAIL_ADDRESS>

Codecov Report

Merging #44 (fd2d6cf) into master (d3e3f0a) will decrease coverage by 1.47%.
The diff coverage is 18.15%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   52.97%   51.50%   -1.48%
==========================================
  Files          43       44       +1
  Lines        6233     6491     +258
==========================================
+ Hits         3302     3343      +41
- Misses       2931     3148     +217

Impacted Files
Coverage Δ

src/evotorch/core.py
65.51% <ø> (-0.03%)
:arrow_down:

src/evotorch/tools/misc.py
79.74% <10.00%> (-2.30%)
:arrow_down:

src/evotorch/algorithms/ga.py
15.90% <14.28%> (-4.10%)
:arrow_down:

src/evotorch/operators/real.py
22.37% <15.62%> (-5.21%)
:arrow_down:

src/evotorch/algorithms/mapelites.py
22.82% <22.82%> (ø)

src/evotorch/algorithms/__init__.py
100.00% <100.00%> (ø)

src/evotorch/operators/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I've gone through the code and I'm generally happy. My only request is that maybe we can add an example that uses MAPElites? Although this could be added in a separate PR, I would appreciate a 'sensible use case' of the algorithm to play around with + verify it @engintoklu @pliskowski


Refactor/ogmios 6 breaking changes

Context
Conway support requires ogmios 6.0.0, which is a major rewrite.
Proposed Solution
Update the @cardano-sdk/ogmios package such that the rewrite has a minor impact for the rest of the SDK.
Mappers/translators ogmiosToCore should use the updated Ogmios schema to produce the same Core types, so that the rewrite does not ripple throughout the SDK code and its users.
TODO

[x] Block
[x] Transaction
[ ] Check if MIR certificate should be extracted from the new Conway governance actions transaction field and mapped to a core MIR certificate
[ ] Ensure all changes are accounted for in SDK

This will need to be rebased on feat/sanchonet-support @mkazlauskas


[Adreno] Fix winograd accuracy

For some convolutions winograd didn't work in proper way. The issue was in the layout after alter_op.
cc: @elvin-n, @masahi

@tvm-bot rerun


Add integration test for reset with update

Add integration test for reset with update now that the server supports it.

I wonder if we need a general feature-repo test for this too

I wonder if we need a general feature-repo test for this too
Yeah I agree, i'll make an issue


Create 0047-permutations-ii.java

Given a collection of numbers, nums, that might contain duplicates, return all possible unique permutations in any order.
Input: nums = [1,1,2]
Output: [[1,1,2], [1,2,1], [2,1,1]]
Input: nums = [2,2,1,1]
Output: [[1,1,2,2],[1,2,1,2],[1,2,2,1],[2,1,1,2],[2,1,2,1],[2,2,1,1]]

Could you provide your submission URL, thanks.

@sumit16sharma Thanks for your contribution 👍 . Next time don't put your leetcode submission link in your code file. It should be included with the PR description


feature: access dst_path in question context?

Is your feature request related to a problem? Please describe.
I'd like to be able to provide a default project name, based on the name of the destination path that the user provided on the cli
This looks a lot like the discussion in #20 ... but that was closed, and it's not entirely clear to me whether/how the intended goal was achieved.
Describe the solution you'd like
I'd like to be able to use something like this, to initialize a value based on the command line dest path arguments
project_name:
  help: Name of your project
  default: "{{ dst_path | basename }}"

Describe alternatives you've considered
I've considered using the context hook extensions to hack at sys.argv
Additional context

I’m afraid it’s currently not possible to access the destination path in the questionnaire.
A question only has access to answers to other questions:
https://github.com/copier-org/copier/blob/42a34bf568a8f105701f0869d3afe7fdc4a72c39/copier/main.py#L363-L368
Additional variables such as _folder_name, which is what you’re interested in, are currently only available in the render context after the questionnaire has been completed:
https://github.com/copier-org/copier/blob/42a34bf568a8f105701f0869d3afe7fdc4a72c39/copier/main.py#L252-L259
But I believe it‘s possible to extend Copier to provide at least a subset of these variables also to the render context of a question.
I think it’s an interesting use case.
WDYT, @yajo?

Yes, makes sense. At least for the things that are known at that point.


Cluster is broken after upgrade Elassandra version

Hi Team!
In order to fix issue with partitioned indexes (https://github.com/strapdata/elassandra/issues/219) I tried to upgrade Elassandra version from <IP_ADDRESS> to <IP_ADDRESS>

Partitioned indexes issue looks fixed (tested with docker image)
3-nodes Cluster can't join after upgrade and it is in non-operational state

Elassandra versions
Before upgrade:
$ dpkg -l | grep elas
ii  elassandra                       <IP_ADDRESS>

After upgrade:
$ dpkg -l | grep elas
ii  elassandra                         <IP_ADDRESS>

JVM version (java -version):
java -version
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu<IP_ADDRESS>-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)

OS version (uname -a if on a Unix-like system)
Sane OS on all nodes:
$ uname -a
Linux cf2 4.4.0-87-generic #110-Ubuntu SMP Tue Jul 18 12:55:35 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial

Description:
Elassandra cluster is down after upgrade
Steps to reproduce:

Install and configure cluster of 3 nodes Elassandra version <IP_ADDRESS> (not tested with other versions)
(I did my tests on local Virtual Box VMs)
My 3 nodes are

cf1
cf2
cf3

Stop all Elassandra processes  on all nodes
systemctl stop cassandra

Install new package
 dpkg -i elassandra-<IP_ADDRESS>.deb

4 Start Elassandra
systemctl start cassandra

Now Cluster is broken:

on node cf1 Elassandra process is running

$ nodetool  status
Datacenter: DC1
===============
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address         Load       Tokens       Owns (effective)  Host ID                               Rack
DN  <IP_ADDRESS>  ?          256          100.0%            86c471f8-4cae-4fa9-b25a-f3212fbd7a02  r1
DN  <IP_ADDRESS>  319.75 KiB  256          100.0%            90f2456f-7b94-4c84-824e-daf2a87151bb  r1
UN  <IP_ADDRESS>  240.91 KiB  256          100.0%            4ab54a6a-f902-4554-bf60-a0421ebaed9d  r1

on nodes cf2 and cf3 process are down

All log/config files are having node name in file name/
Please see servers configuration
cassandra.yaml.cf1.txt
cassandra.yaml.cf2.txt
cassandra.yaml.cf3.txt
And got the following error:
system.log.cf1.txt
system.log.cf2.txt
system.log.cf3.txt
Important Note:  I'm not able to update Elassandra to 6.X.X.X version because upgrade Elasticsearch to 6 version is unacceptable for us at this time. So I need latest Elassandra with fixed partitioned indexes but 100% compatible with 5.X.X.X
Please let me know if you need any additional log or need to reproduce issue with changed configuration and I will set-up tasting lab.

@vroyer Also this issue has reproduced for <IP_ADDRESS> version that was suggested as release that will fix  NullPointerException on CassandraDiscovery.updateClusterGroupsFromGossiper (https://github.com/strapdata/elassandra/issues/219#issuecomment-414467607)

Hi,
This is because your internal IP is null, this cause an NPE.
nodetool gossipinfo should confirm that (see INTERNAL_IP).
In your cassandra-rackdc.properties, please try with prefer_local=true on all nodes and restart.
Thanks.

@vroyer
This workaround works for me.
Thank you.


Remove flags clause in dune file for precomputed_values

The flags clause in this dune file turned off warning-to-error for warning 58, "missing cmx file". Removing the clause allowed compilation to succeed, no warning 58 issued.
The clause also includes -short-paths, but I think that should be made global, rather than on a per-library basis.

Subsumed by #2618.


Promote using a Buffer secret rather than a string

It's a good idea, but I'd like to show minimum examples instead of best practices in documents.
I think it's better to add a comment.
var secret = 'xxx';

// (Write a reason why you should use a Buffer here)
// var secret = Buffer.from('e49cd468ec1a29a7581285fe1a1915a379f3be5394b64d147949320c009efca6c712dda4c9968a735cf7a1a3c68d51da6d4a5700616662f8588c0b52ae5a598c', 'hex');


Add double math class.

Added the doubleMath class as alternative for the Floatmath class. This will fix issue #8.

Any chance this could be merged / released anytime soon? I currently still have to include this myself (built against 1.0.2; would like to update to 1.2.0).

Sorry about that. I'll find time to look at this tonight and merge it in.

No need to apologize! And no hurry. I was more sort of wondering if I should wait or put it in the next release.

So I revisited my Windows bootcamp partition for the first time in months and remembered that not only do I not have Visual Studio installed, but I also Windows started randomly freezing my Macbook Pro a while back.
Unfortunately I will not be able to merge this in tonight, however I will make it my mission to get this in sometime over the next 14 days, even if it means commandeering my girlfriends gaming machine (which is no small feat given the latest WoW expansion just came out 😜).

Take your time. And leave the GF alone :wink: I'm in no hurry.


[Feature Request] support with offline dataset (D4RL)

Could you add a feature that supports offline RL research?
eg.
import gym
env_name = 'hopper-medium-v2'
env = gym.make(env_name)

references: d4rl

Adding to this, I think it'd be great if you can the environments supported by D4RL.

I believe offline dataset is better supported by the amazing tf.data.Dataset


Disable notification on version update

Hi!
I really like this extension, however I feel that the notification after a version update is not really necessary. Apart from the fact that notifications will stay there forever until they are dismissed, if every extension would do this, VSCode would become really cluttered. The only necessary notification was when the big update with the built in API occurred, since then however they haven't been helpful to me.
Do you think you could provide a user setting to disable these notifications on an upgrade?

Hi @peterjuras, fair enough. I think you're right. I will remove it in the next version.

@robertohuertasm I don't mind it. I like the link to a change-log.

As mentioned, maybe an option to disable it in the settings? This way users are informed until thry choose not to be :)

@peterjuras Yes like a don't show again unless it gets reset by being uninstalled then reinstalled.

I'm interested in having a option too. For testing purposes, I want to know when the extension has been updated, when I should check something etc.


[Derived]RecvAsync is cancelled Error when training with LSTM on tf-gpu

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):

model = tf.keras.Sequential([
        tf.keras.layers.Embedding(vocab_size, store.embedding_dim,
                                  batch_input_shape=[batch_size, None]),
        tf.keras.layers.Dropout(store.dropout_rate),
        tf.keras.layers.LSTM(store.rnn_units,
                             return_sequences=True,
                             stateful=True,
                             recurrent_initializer=store.rnn_initializer),
        tf.keras.layers.Dropout(store.dropout_rate),
        tf.keras.layers.LSTM(store.rnn_units,
                             return_sequences=True,
                             stateful=True,
                             recurrent_initializer=store.rnn_initializer),
        tf.keras.layers.Dropout(store.dropout_rate),
        tf.keras.layers.Dense(vocab_size)
    ])
    model.compile(optimizer=optimizer, loss=loss, metrics=["accuracy"])

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow version (use command below):  v2.4.0-49-g85c8b2a817f 2.4.1
Python version: 3.8.8
CUDA/cuDNN version: CUDA 11.0.3 / CUDNN <IP_ADDRESS>
GPU model and memory: GTX 1070 (8GB)

Describe the current behavior
I've been working on a LSTM model, when training with $ model.fit() , it runs for 6 epochs and then gives this error
  File "C:\Users\Me\anaconda3\envs\tf_gpu24\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1100, in fit
    tmp_logs = self.train_function(iterator)
  File "C:\Users\Me\anaconda3\envs\tf_gpu24\lib\site-packages\tensorflow\python\eager\def_function.py", line 828, in __call__
    result = self._call(*args, **kwds)
  File "C:\Users\Me\anaconda3\envs\tf_gpu24\lib\site-packages\tensorflow\python\eager\def_function.py", line 855, in _call
    return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
  File "C:\Users\Me\anaconda3\envs\tf_gpu24\lib\site-packages\tensorflow\python\eager\function.py", line 2942, in __call__
    return graph_function._call_flat(
  File "C:\Users\Me\anaconda3\envs\tf_gpu24\lib\site-packages\tensorflow\python\eager\function.py", line 1918, in _call_flat
    return self._build_call_outputs(self._inference_function.call(
  File "C:\Users\Me\anaconda3\envs\tf_gpu24\lib\site-packages\tensorflow\python\eager\function.py", line 555, in call
    outputs = execute.execute(
  File "C:\Users\Me\anaconda3\envs\tf_gpu24\lib\site-packages\tensorflow\python\eager\execute.py", line 59, in quick_execute
    tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.CancelledError:  [_Derived_]RecvAsync is cancelled.
         [[{{node gradient_tape/sequential/embedding/embedding_lookup/Reshape/_20}}]] [Op:__inference_train_function_4800]

Function call stack:
train_function

Describe the expected behavior
Model should complete training without issue.
I know the code is fine because I trained on the same code with no issue in an old environment I was using 2 months ago. It also runs fine in a CPU only tensorflow environment.
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem.
Epoch 1/50
2021-02-27 14:50:38.552734: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
2021-02-27 14:50:38.882403: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-02-27 14:50:39.546250: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-02-27 14:50:39.794953: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
37/37 [==============================] - 7s 55ms/step - loss: 7.0684 - accuracy: 0.1270
Epoch 2/50
37/37 [==============================] - 2s 54ms/step - loss: 4.8889 - accuracy: 0.1828
Epoch 3/50
37/37 [==============================] - 2s 54ms/step - loss: 4.7884 - accuracy: 0.1666
Epoch 4/50
37/37 [==============================] - 2s 54ms/step - loss: 4.6866 - accuracy: 0.1480
Epoch 5/50
37/37 [==============================] - 2s 55ms/step - loss: 4.5179 - accuracy: 0.1630
Epoch 6/50
17/37 [============>.................] - ETA: 1s - loss: 4.2505 - accuracy: 0.14842021-02-27 14:50:55.955000: E tensorflow/stream_executor/dnn.cc:616] CUDNN_STATUS_INTERNAL_ERROR
in tensorflow/stream_executor/cuda/cuda_dnn.cc(2004): 'cudnnRNNBackwardWeights( cudnn.handle(), rnn_desc.handle(), model_dims.max_seq_length, input_desc.handles(), input_data.opaque(), input_h_desc.handle(), input_h_data.opaque(), output_desc.handles(), output_data.opaque(), workspace.opaque(), workspace.size(), rnn_desc.params_handle(), params_backprop_data->opaque(), reserve_space_data->opaque(), reserve_space_data->size())'
2021-02-27 14:50:55.955194: W tensorflow/core/framework/op_kernel.cc:1763] OP_REQUIRES failed at cudnn_rnn_ops.cc:1926 : Internal: Failed to call ThenRnnBackward with model config: [rnn_mode, rnn_input_mode, rnn_direction_mode]: 2, 0, 0 , [num_layers, input_size, num_units, dir_count, max_seq_length, batch_size, cell_num_units]: [1, 256, 256, 1, 100, 64, 256]
2021-02-27 14:50:55,957 : MainThread : INFO : Saving model history to model_history.csv
2021-02-27 14:50:55,961 : MainThread : INFO : Saving model to D:\project\project_engine\fftest_checkpoints\batch_0\synthetic
Traceback (most recent call last):
  File "runTrain.py", line 65, in <module>
    model.train()
  ...
  ...
  ...
  File "D:\project\project_engine\runTrain.py", line 201, in train_rnn
    model.fit(dataset, epochs=store.epochs, callbacks=_callbacks)
  File "C:\Users\Me\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1100, in fit
    tmp_logs = self.train_function(iterator)
  File "C:\Users\Me\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\eager\def_function.py", line 828, in __call__
    result = self._call(*args, **kwds)
  File "C:\Users\Me\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\eager\def_function.py", line 855, in _call
    return self._stateless_fn(*args, **kwds)  # pylint: disable=not-callable
  File "C:\Users\Me\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\eager\function.py", line 2942, in __call__
    return graph_function._call_flat(
  File "C:\Users\Me\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\eager\function.py", line 1918, in _call_flat
    return self._build_call_outputs(self._inference_function.call(
  File "C:\Users\Me\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\eager\function.py", line 555, in call
    outputs = execute.execute(
  File "C:\Users\Me\anaconda3\envs\tf_gpu\lib\site-packages\tensorflow\python\eager\execute.py", line 59, in quick_execute
    tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
tensorflow.python.framework.errors_impl.CancelledError:  [_Derived_]RecvAsync is cancelled.
         [[{{node gradient_tape/sequential/embedding/embedding_lookup/Reshape/_20}}]] [Op:__inference_train_function_4800]

Function call stack:
train_function

@NasonZ,
On running the given code snippet, I am facing an error stating NameError: name 'vocab_size' is not defined. In order to reproduce the issue reported here, could you please provide the complete code and the dataset you are using.
Also, please try limiting GPU memory growth using any of the methods listed here and check if it helps. Thanks!


Add minimize/restore event request

Please add "fire" events for minimize and restore actions.

My current solution with extend:
var EventedMiniMap = L.Control.MiniMap.extend({

    includes: L.Mixin.Events,

    _minimize: function () {
        L.Control.MiniMap.prototype._minimize.call(this);
        this.fire("minimized");
    },

    _restore: function () {
        L.Control.MiniMap.prototype._restore.call(this);
        this.fire("restore");
    },
});

Seems doable, maybe even you would like to contribute it? 👍


Query strings auto-encoding and OData APIs

Let's say I have an OData API that responds to the following query:
https://app.io/Products?$filter=Name ne 'Milk'

I compose the request like this:
const request = require('request');

request({
  method: 'GET',
  url: 'https://app.io/Products',
  qs: {
    $filter: 'Name ne \'Milk\''
  }
}, function(error, response) {
  if (error) {
    throw error;
  }
});

request will send a GET request to https://app.io/Products?%24filter=Name%20ne%20%27Milk%27 (you can check response.request.uri.path).
Notice the dollar sign from $filter is escaped to %24, causing my request to not match the intended route and fail.
This behaviour comes from querystring:
$ node
> var querystring = require('querystring');
> querystring.stringify({ $filter: 'Name ne \'Milk\'' });
'%24filter=Name%20ne%20\'Milk\''

I understand this the default behaviour from a NodeJS built-in library, but it causes a lot of pain when using OData query strings.
Have you encountered such behaviour before? Is there a way to disable the automatic encoding from query strings?
What I'm currently doing is passing the query string manually to url instead of using the handy qs object, although its far from ideal, and I have to scan the current url for existing query strings to append correctly.

I have a similar issue with OData urls that look like:
https://app.io/Products('12345')

which turns into:
https://app.io/Products%28%2712345%27%29

It seems that you have to build the querystring somehow and append it to the url option instead of using the qs option:
url: 'http://outofindex.com?$filter=Name ne \'Milk\''

Same for POST request, use body instead of form:
body: '$filter=Name ne \'Milk\''

Let me know if that works for you.

Note, I got around this by using decodeURIComponent like so:
  let odata = querystring.stringify({
    '$select': 'name',
    '$filter': '( archived eq false )',
    '$orderby': 'name asc'
  })

  odata = decodeURIComponent(odata)

the first time odata is:
%24select=name&%24filter=(%20archived%20eq%20false%20)&%24orderby=name%20asc
and after the decoding:
$select=name&$filter=( archived eq false )&$orderby=name asc


Remove broken shell snippet from the README

Has this been tested?  Why is the shell snippet "broken"?

Sorry, but I have no idea what you're talking about. The commit has a
10 line commit message explaining the problem, including a reference to
the commit that intoduced it.

let's instead correct this; it's useful to have the exact snippet here.

I don't think it's useful, actually it feels out of place given the
context. That section is only describing the behaviour of install.sh;
the instructions for manual install are further below, with different
relevant snippets. And again, the README contains a link to install.sh
immediately before for anyone interested, so I maintain that removing
this nonsense would be best.
Of course, if you disagree, you can copy the relevant lines from
install.sh into the README and close this. I'm not doing that, as I
don't think it's a good solution (other than the rationale above it
would be a maintenance burden to avoid getting out of sync with
install.sh).

the commit message body defaults to the OP of the PR; did you intentionally delete it?

Hm, now I think about it, maybe you really meant "the body of the PR
defaults to the commit message"? That's possible I guess, but I normally
use Emacs or command line to interact with GitHub so I wouldn't know.
I'm also not sure I see the point of duplicating that information.

yes, that's what i meant - the point is that the actual web UI for github doesn't surface commit messages, so the PR body is all anyone ever looks at at first. It's important that that's helpful.

This has been fixed in 3cc9525.


Pie & ComparativePie Widgets: Add a skeleton for loading state

Description
Shortcut: https://app.shortcut.com/cartoteam/story/314283/new-loader-ui-for-widgets
[sc-314283]
Pie and Comparative

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

19 of 28 (67.86%)  changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.09%) to 72.021%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/react-ui/src/widgets/BarWidgetUI/BarSkeleton.js
1
2
50.0%

packages/react-ui/src/widgets/FormulaWidgetUI/FormulaSkeleton.js
1
2
50.0%

packages/react-ui/src/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.js
1
2
50.0%

packages/react-ui/src/widgets/comparative/ComparativePieWidgetUI.js
1
2
50.0%

packages/react-ui/src/widgets/PieWidgetUI/PieSkeleton.js
5
10
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.09%

Covered Lines:
2053

Relevant Lines:
2629

💛  - Coveralls


Anti-Spoofing Techniques

Implementing anti-spoofing techniques for facial recognition involves detecting and distinguishing between real faces and spoofing attempts using photos, masks, or videos.
Assign this issue to me under GSSOC'23

please assign me the issue


set-count

If the date is mandatory I will add it, but if the date is not necessary it's more convenient if you want to forward this url to other people.
If anything needs to be changed you can always send me a message here or on Discord.

closing as we're no longer doing community posts or tutorials.


Menu Key disable

Is it possible to produce a version of egzumer v0.22 with the menu Key disabled for use by inexperienced volunteers who might inadvertantly, or otherwise, change settings?

The UVK5-serie is a HAM radio / walkie-talkie, with which radio amateurs enjoy the hobby
For the uneducated users, it is much easier to purchase radios, which can be operated to a limited extent because they have fewer buttons and only function on frequencies that you are allowed to use without a license.

@EmCom1 consider this - if you dealing with such uneducated and rough users, there are
more button function on this firmware, like 'activate VFO, A or B, + enter whatever frequency' etc.
that could prevent those nosy users from diverting of the right communication channel or
mode. The 'F' key followed by a number (an easy mistake!) brings functions that inexperienced users
have never even dreamed of. Like spectrum analyzer etc. If they start to poke further more buttons,
they will be completely lost. There would be no difference if those users activate the 'Menu' button or
poking on the 'F' + following by another button and change the designated functions of the UV-K5.
Our local group, had similar demand, we equipped a group of users with devices that fulfil exactly
those requirements: no unscrewable antenna,  just a volume control, channel button (voice announced
channel name in english) and ptt buton. Settings are done by software, direct channels, repeater
offset, tone control, etc., (Aliexpress, device name KD-C1)
The Chinese dealers on Aliexpress offer a variety and cheap devices with such funtionality.

Thanks OE1MWW - we have sets of such "simple locked down" radios for "uneducated users" for events etc. and as you say they work well in those situations.
The issue we have is complex. We have as you suggest disabled VFO permanently using the CPS software  and this prevents F+3 activating VFO mode etc.etc. and are happy with the keyboard functions still available. It is not rough users - we will train them and they are volunteers with other legitimate organisations - it is the ability to inadvertent change some parameters (particularly TX frequency) from the keyboard that would prevent the UVK5 complying with some of our OFCOM Private Business Radio (PBR) licence requirements.
The particular most important feature of the UV K5 is that we are able to programme some memories for RX only whilst others remain RX and TX. The radio therefore serves two purposes (i) a versatile RX only for Broadcast FM, amateur, marine etc bands but also (ii) allows TX/RX on our licenced PBR frequencies and is interoperable with other organisations for which we hold licences such as the Red Cross. St John Ambulance etc.
We are happy with the functions currently available from the keyboard - we just need to disable the Menu Key to make it comply with the various licences we hold.

If you first read the Online Manual (Wiki) completely. Egzumer and I have certainly put so much effort into this.
Then you come to the conclusion that it is already possible with F # 🗝
That blocks All keys on the Front panel.
Only the side keys still work and you can also disable them individually or give them a specific function.
All the operator has to do is stay away from the F ;-)
We try to get the most out of the radio and all that functionality must fit into 60kB.
Wasting memory to further limit functionality in EGZUMER image seems like taking water to the sea.
That doesn't stop you from creating unlimited firmware yourself, as this is alle open source 👍

@ErikS-web can you stop moralizing? Please if want to help, help by giving facts, not by sending people to the wiki when it is clearly irrelevant.
It is certenly possible to make the quansheng a one button HT for dummies, it is not that hard and it does not take that much space. The only issue is that I have to spend time on a feature for just a small portion of users, that I myself will never use.

Firstly I would like to thank everyone for all the hard work they have put in on developing this firmware for the UV K5 – it is very much appreciated.  I am heading up our EmCom Project as a trustee of the charity but I do not have the skills, or unfortunately the time given the other commitments to the project, to learn how to code the firmware from scratch.
I also fully understand the issues regarding valuable memory space.
Perhaps I have not explained properly that I do not want to disable all the keys on the front panel. The up/down and number keys are required for changing to another memory/channel and there is no problem regarding the other functions available – we have already disabled the VFO to comply with that part of our PBR licence.
It is only the MENU key I would like to disable. I had hoped there might already be a simple flashable patch that would overwrite some code and disable the MENU key.
I also fully understand spending time on a feature for just a small portion of users is a big ask. If the EmCom Project Pilot is a success it will first involve up to 30 voluntary and faith sector volunteer groups and a couple of hundred radios for their leader teams within our county. It has the potential to go nationwide.
Am I correct in thinking that a flashable patch would be feasible to disable the MENU Key? -  and perhaps applicable to future versions of the firmware without having to be rewritten?
Thanks for taking an interest in this Project

If I were to do it, it would be chirp switch  similar to "frequency mode allowed".

It would be great if you could - I will research what a "chirp swith" is - but I guess it is something like what I used to disable VFO mode using the Quansheng CPS.
P.S. The Civil Air Support Group say thanks for the AM Mod it has made all the difference.

Disabling the menu button would be a great feature for us as well. We are firefighters...
Thank you for the great work.

Thank you, I am going to try!
Il dom 3 nov 2024, 01:40 lohtse @.***> ha scritto:

Disabling the menu button would be a great feature for us as well. We are
firefighters... Thank you for the great work.
have a look here and may be ask the dev he's pretty good and adding more
and more features all the time
https://github.com/armel/uv-k5-firmware-custom
—
Reply to this email directly, view it on GitHub
https://github.com/egzumer/uv-k5-firmware-custom/issues/482#issuecomment-2453242181,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXMVY7ORG3HRCGDMUFEAETZ6VWIZAVCNFSM6AAAAABRCGECS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGI2DEMJYGE
.
You are receiving this because you commented.Message ID:
@.***>


Missing link to restoration explanation for docker export

File: engine/reference/commandline/export.md
Please explain or link to the explanation on how to restore from a docker export

I'll add a comment with a link to the docker import page.


test(NODE-3188): refactor transaction spec tests:

Adds new unified tests for mongos unpinning.
Refactors legacy tests into legacy directory.
Also addresses NODE-3228 and NODE-3216 by syncing all the related txn spec tests.
Fixes bug in the unified test runner asserting incorrect sessions on cursor operations.

@durran looks like that test change made a lot of things fail due to session being undefined (also not sure if you saw my comment above regarding recommended clean up)

@durran looks like that test change made a lot of things fail due to session being undefined (also not sure if you saw my comment above regarding recommended clean up)

Yes I had a Slack conversation with @nbbeeken and just pushed a change to resolve that. I also have your suggestion lined up in another commit that's incoming after the next test run passes.


go.mod: remove unnecessary dependences through upgrade go-mssqldb

$ go get -v -u github.com/denisenkom/go-mssqldb && go mod tidy -v
go: finding github.com/denisenkom/go-mssqldb latest
go: finding github.com/golang-sql/civil latest
go: finding golang.org/x/crypto latest
unused cloud.google.com/go
unused gopkg.in/check.v1
unused gopkg.in/yaml.v2
Make sure these boxes checked before submitting your pull request.

[] Do only one thing
[] No API-breaking changes
[] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
We use a package that have conflict dependences version with cloud.google.com/go.
We try let gorm not depend on cloud.google.com/go.

Codecov Report

Merging #2795 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2795      +/-   ##
==========================================
+ Coverage   78.99%   79.01%   +0.01%
==========================================
  Files          24       24
  Lines        3538     3540       +2
==========================================
+ Hits         2795     2797       +2
  Misses        642      642
  Partials      101      101

Impacted Files
Coverage Δ

callback_create.go
86.32% <100%> (+0.23%)
: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 f616ccd...7a4d83c. Read the comment docs.


⚠ Samsung has degraded performance

In 7590bc8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2535 ms

Resolved: Samsung performance has improved in f8c0c8b.


Matchers to implement

[x] expect(value)
[ ] expect.extend(matchers)
[ ] expect.anything()
[ ] expect.any(constructor)
[ ] expect.arrayContaining(array)
[ ] expect.assertions(number)
[ ] expect.hasAssertions()
[ ] expect.not.arrayContaining(array)
[ ] expect.not.objectContaining(object)
[ ] expect.not.stringContaining(string)
[ ] expect.not.stringMatching(string | regexp)
[ ] expect.objectContaining(object)
[ ] expect.stringContaining(string)
[ ] expect.stringMatching(string | regexp)
[ ] expect.addSnapshotSerializer(serializer)
[x] .not
[x] .resolves
[x] .rejects
[x] .toBe(value)
[ ] .toHaveBeenCalled()
[ ] .toHaveBeenCalledTimes(number)
[ ] .toHaveBeenCalledWith(arg1, arg2, ...)
[ ] .toHaveBeenLastCalledWith(arg1, arg2, ...)
[ ] .toHaveBeenNthCalledWith(nthCall, arg1, arg2, ....)
[ ] .toHaveReturned()
[ ] .toHaveReturnedTimes(number)
[ ] .toHaveReturnedWith(value)
[ ] .toHaveLastReturnedWith(value)
[ ] .toHaveNthReturnedWith(nthCall, value)
[ ] .toHaveLength(number)
[ ] .toHaveProperty(keyPath, value?)
[ ] .toBeCloseTo(number, numDigits?)
[ ] .toBeDefined()
[ ] .toBeFalsy()
[ ] .toBeGreaterThan(number | bigint)
[ ] .toBeGreaterThanOrEqual(number | bigint)
[ ] .toBeLessThan(number | bigint)
[ ] .toBeLessThanOrEqual(number | bigint)
[ ] .toBeInstanceOf(Class)
[ ] .toBeNull()
[ ] .toBeTruthy()
[ ] .toBeUndefined()
[ ] .toBeNaN()
[ ] .toContain(item)
[ ] .toContainEqual(item)
[x] .toEqual(value)
[ ] .toMatch(regexp | string)
[ ] .toMatchObject(object)
[ ] .toMatchSnapshot(propertyMatchers?, hint?)
[ ] .toMatchInlineSnapshot(propertyMatchers?, inlineSnapshot)
[ ] .toStrictEqual(value)
[ ] .toThrow(error?)
[ ] .toThrowErrorMatchingSnapshot(hint?)
[ ] .toThrowErrorMatchingInlineSnapshot(inlineSnapshot)

This seems a nice ticket to work on during the hacktoberfest. I am happy to take this if it is available.

@rrousselGit What would be the preferred way of implementation of . toHaveBeenCalled() and its variants? Is it okay to rely on mocktail or mockito? Or a custom implementation is expected to avoid any dependency?

Be a bit careful with this list. It's copy-pasted from Jest, but we didn't really look into whether they make sense for Spec. You probably should ping me individually about matches before doing them.

What would be the preferred way of implementation of . toHaveBeenCalled() and its variants? Is it okay to rely on mocktail or mockito?

It's probably one of those that don't make sense. Ignore it :)

@rrousselGit I plan to start with the followings. Let me know your thoughts:
.toHaveLength(number)
This will be a List specific matcher.
expect([1,2]).toHaveLength(2); // PASS
expect([1,2]).toHaveLength(1); // FAIL

.toHaveProperty(dynamic key, [dynamic value?])
Map specific matcher
expect({  'hello': 'world' }).toHaveProperty('hello'); // PASS
expect({  'hello': 'world' }).toHaveProperty('hello', 'world'); // PASS
expect({  'hello': 'world' }).toHaveProperty('hello', 'dart'); // FAIL
expect({  'hello': 'world' }).toHaveProperty('bye'); // FAIL

.toBeCloseTo(number, numDigits?)
expect(0.2 + 0.1).toBeCloseTo(0.3, 5); //PASS

This could work with the closeTo matcher
.toContain(item)
expect('Hello world').toContain('Hello'); // PASS
expect([1,2]).toContain(2); // PASS
expect({  'hello': 'world' }).toContain('hello'); // PASS

Follows the contains matcher.

Any matcher that has a package:test equivalent is fine.
toHaveProperty, I'm not sure. In dart, the name doesn't really fit. It's not really an object property. It's more like toHaveKey


wsl2 won't start anymore using Windows Terminal

Windows Terminal version (or Windows build number)
1.7.1033.0
Other Software
No response
Steps to reproduce
Click on Ubuntu-20.04 when launching Windows Terminal
Expected Behavior
Be able to interact bash.exe and use linux commands
Actual Behavior
when Ubuntu 20.04 is selected, a cursor appears at the top-left corner of the Terminal window and nothing more happens.
On the same time, Windows Terminal works fine using Powershell or Cmd.exe and I use wsl2 without issue with Windows Console Host ( the terminal used by default after wsl2 Ubuntu 20.04 install )
Thanks for your help !

Could you share your setting.json?

Using Ubuntu 20.04 on WSL2 in Windows Terminal works completly.

Hi,
actually the bug was probably a consequence of wsl2 overload, an intensive postgresql task was running on wsl2 and some usual commands also crashed on the regular bash terminal, like man or which.
Strangely, the cursor could blink and it was still possible to execute some simple commands with bash usual terminal.
I tried to uninstall and reinstall Windows Terminal that didn't solve the issue.
When I kill the postgress process that was exhausting the laptop and restarted the computer, Windows Terminal was working again.


Learning to share: How Higress is compiled and built

SIG (DingTalk Group):

Extension: How to be compatible with ARM architecture

assigin


How the developer know about the pushed changes will trigger the build automatically

I have a doubt about automatically triggering build in fastlane. How can we know the build get triggered automatically after pushing the changes in the fastlane
Kindly clarify.

Closing since you have the answer.


chore: Update cargo manifest

Type of Change

[ ] New feature
[ ] Bug fix
[ ] Documentation update
[ ] Refactoring
[x] Hotfix
[ ] Security patch
[ ] UI/UX improvement

Description

Update cargo.toml manifest reflects in crates.io
The crates were already updated in cargo.lock but not in cargo.toml
Not that important but need to keep the records straight

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

The crates were already updated in cargo.lock but not in cargo.toml

How did that happen?

The crates were already updated in cargo.lock but not in cargo.toml

How did that happen?

No idea 🤷♂

Okay...  I'm seeing no diff here. Closing this.

Ahh it's because chrono was removed


Refine deno task test:all.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.93%. Comparing base (bf81e5a) to head (20c9dee).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #407   +/-   ##
=======================================
  Coverage   90.93%   90.93%
=======================================
  Files          54       54
  Lines        3906     3906
  Branches      360      360
=======================================
  Hits         3552     3552
  Misses        353      353
  Partials        1        1

Flag
Coverage Δ

unittests
90.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add settings to Task notes to allow customizing various decorations

Please select if your request is either something new or an enhancement

[x] Enhancement of an existing Feature.
[ ] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[ ] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
I want to use task notes to get some of the decorations that come with them, but I despise the added checkbox and don't like the forced order
Describe the solution you'd like
Add the following options (or similar) to the dendron.yml task section.
Decorations:
    status: [checkbox | hide | symbolOnly]
    statusPrefix: [ useBrackets | stringValue ]
    dueDate: [format_str | hide ]
    dueDatePrefix: [stringValue (default: due:)]
    owner: [display | hide]
    ownerPrefix: [stringValue (default: @)]
    priority: [display | hide]
    priorityPrefix: [stringValue (default: prio {I think it should be just pri, but...})
    size: [on | off]
    sizePrefix: [stringValue (default: #size.)
DecorationOrder: [status, link, dueDate, owner, priority, size]

There are many ways to control this configuration. I don't think I have a strong preference on how, but those are the things I know I would like to be able to control.
Alternatively, you could add it to the existing fields: statusSymbols, taskCompletStatus, prioritySymbols (is there one for size?), but I feel like controlling both the values and the behaviors in the same place could be difficult to understand.
Another option is to remove the requirement for them to exist and then by deleting "statusSymbols" I could indicate that I do not want the status to be displayed.

And if that is too much, at least, please don't require adding a [status] at the start. Either after or off would be acceptable to me.

Oh, I might like this better, instead of in the yaml file, put it in the note:
Determine a task note with a trait;
traitIds:
  - taskNote

And then in the frontMatter you could have
displayOrder: status title due ...
Just leaving off the item. You could then also include any frontmatter item.
In the YAML can have a default display order.


Camera Rotation doesn't work when using a ActionSheetPicker to choose the TakePicture option

Camera Rotation in Landscape doesn't work when using a ActionSheetPicker to choose the TakePicture option.
This seems to be an issue with all plugin versions I tested except for version 2.6.2
Bug Information
Version Number of Plugin: 3.1.3 (also happen with other versions EXCEPT 2.6.2)
Device Tested On: iPhone 5s and iPhone SE
Simulator Tested On: None
Version of VS: 15.7.1
Version of Xamarin: <IP_ADDRESS>2
Versions of other things you are using: Xamarin.Forms <IP_ADDRESS>6417 (Also happens with several 2.5.x versions)
Steps to reproduce the Behavior

Use a "DisplayActionSheet" to show an option to "TakePhoto"
Rotate the device to landscape (might have to do it 2/3 times if the bug doesn't happen in the first time)

Expected Behavior
Camera should rotate properly according with device orientation
Actual Behavior
Camera doesn't rotate and the whole interface is "cropped"
Code snippet
I created a sample based on the Xamarin.Forms Blank app, I added the MediaPlugin v3.1.3
Then I only changed the MainPage with the code below. (Also added the Info.plist permissions)
    public partial class MainPage : ContentPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

        public async Task TakePhotoWithPicker()
        {
            var action = await this.DisplayActionSheet(null,
                "Cancel",
                null,
                "Take Picture");

            await TakePhoto();
        }

        public async Task TakePhoto()
        {
            if (!CrossMedia.Current.IsCameraAvailable || !CrossMedia.Current.IsTakePhotoSupported)
            {
                DisplayAlert("No Camera", ":( No camera available.", "OK");
                Debug.WriteLine("No camera");
            }

            var options = new StoreCameraMediaOptions
            {
                DefaultCamera = CameraDevice.Rear,
                PhotoSize = Device.RuntimePlatform == Device.iOS ? PhotoSize.Full : PhotoSize.Large
            };

            var file = await CrossMedia.Current.TakePhotoAsync(options);
            file.Dispose();
        }
    }

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:CameraApp"
             x:Class="CameraApp.MainPage">

    <Grid VerticalOptions="Center">

        <Button Grid.Row="0"  x:Name="PhotoButton" Text="Take Photo" Clicked="TakePhoto"/>
        <Button Grid.Row="1" x:Name="PhotoButtonWithPicker" Text="Take Photo w/ Picker" Clicked="TakePhotoWithPicker"/>

    </Grid>

</ContentPage>

Screenshots
Use picker before Taking Photo:

Camera displays ok in Portrait when opened:

After rotating to Landscape UI is cropped:

I am having the same issue, very happy you could pinpoint it to calling it from an action sheet.
Have you found a work around by chance?
I've tried running waiting for the action sheet to close, and kicking the take photo action off on another thread but neither of these seemed to work

@quinndgodfrey I was unable to find any workaround except using the older version "2.6.2" of the plugin. That version seems to work well.

@dinisvieira-xo Good to know, thank you very much

I can no longer reproduce this issue in the new <IP_ADDRESS> version.
I'm going to assume it's fixed and close 👍


Add route to update track reviews

This PR creates the endpoint PUT /track/:trackId/reviews/:reviewId to update track reviews, in order to do it, you need to pass a JSON with this schema:
TrackReview {
    rating: number,
    review?: string,
}

and it will return a JSON with this schema:
TrackReview {
    id: string,
    authorUid: string.
    trackId: string,
    rating: number,
    review?: string,
}

OBS: The update strategy substitute all the values for the new ones, so, you should pass all the values, including the ones that not changed in the body or the field will be removed
OBS²: The endpoint do not allow to edit the trackId, reviewId not authorId, and do not allow users to edit reviews made by others
resolves #87

@JoseRenan Your PR resolves the issue correctly, however, you'll need to fix the conflicts caused by the rebase before merging this branch.


User author instead of user

The comments API uses userInfo and userIconPath and IMO the better name would be autherXYZ because it's the author of the comments and (optionally) the user of the system that hosts/stores comments

After talking to @joaomoreno there is also a desire to have CommentAuthorInfo which encapsulates this and has potential for future growth, e.g name and nickName

After talking to @joaomoreno there is also a desire to have CommentAuthorInfo which encapsulates this and has potential for future growth, e.g name and nickName

The author prefix change is https://github.com/Microsoft/vscode/pull/73137 but since not only one thinks we may want to enrich author information, I'll make it an object.


add osx-arm64 variant of the packages

As commented by @xobs in https://github.com/hdl/conda-eda/pull/298#issuecomment-1436365609 there seems to be a way toi cross compile osx packages to arm64 by reusing some of the conda-forge tooling.
@PiotrZierhoffer @ajelinski @mithro @umarcor  would it make sense to investigate https://github.com/conda-forge/conda-smithy and see if it can complete the setup we have here with  conda-build-prepare + conda-eda/ci?

Alternative we could look at setting up dedicated self-hosted github worker with actual osx-arm64 hardware.


docs(kitex): translate kitex-fallback doc based on Chinese doc

What type of PR is this?

docs
What this PR does / why we need it (en: English/zh: Chinese):

en: translate kitex-fallback doc based on Chinese doc
zh:
Which issue(s) this PR fixes:

cloudwego/kitex#855

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@YangruiEmma PTAL


328 Do not Require ProblemJson in Payload for HEAD and OPTION

Closes #328

Codecov Report

Merging #329 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #329   +/-   ##
=======================================
  Coverage   87.93%   87.93%
=======================================
  Files          38       38
  Lines         373      373
  Branches       24       24
=======================================
  Hits          328      328
  Misses         39       39
  Partials        6        6

Flag
Coverage Δ

#webui
87.93% <ø> (ø)
: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 4cc95b7...1f88072. Read the comment docs.

👍


Create live cluster in EKS

Overview
This PR connects to https://github.com/ministryofjustice/cloud-platform/issues/2854 and relates to the creation of a new production grade cluster named live. This cluster's name is deliberately vague to ensure future upgrades and iterations don't change name. It requires a change to the cluster, main and vpc terraform HCL in this repository. At the end of this PR, we should have a live production EKS cluster bootstrapped and initial components installed.
Design choices

I've tried to keep this as close to the current production infrastructure as possible, this includes things like having 19 worker nodes.
As we currently have a production EKS cluster called manager, we need to manage two production states that require different infrastructure. For example, the manager cluster uses only 4 worker nodes (due to its usage), but live will require 19. In lieu of a better solution, I've used Terraform conditions to lookup workspace to make these decisions.

Merged in different PR's


Sankey improvements

The Sankey plugin could use some improvements, such as options for disabling the move-sinks-right and enabling move-sources-right. Also, being able to set the x-position of the nodes in a Sankey diagram would be useful for alluvial diagrams; it might also be useful to control the y-order of nodes for a given x-value.

FYI: I merged #91  in the master branch of my subtree fork of the sankey plugin at https://github.com/soxofaan/d3-plugin-captain-sankey (also see #133 )


[UX Study] Rename CustomForm or FormLayout

CustomForm and FormLayout, both having the form key word in them, users had difficulty navigating which one to use on Analyze forms.
Should consider renaming either or both?

Closed with #9988


Add links to New Learning Sessions

/sig security docs
/hold
(Until the learning session presenters have chimed in on the PR: https://kubernetes.slack.com/archives/C01CUSVMHPY/p1661818824775849)

/lgtm

/unhold


vue-tsc error on nested ref parameters when a nested function is added in a reactive object

link to reproduce the error : here
In vue 2.7 & 3, if I am not mistaken any ref nested in a object inside ref or a reactive() will be unwraped as explaned here
This works fine and as expected in the following simple example :
interface IName {
  first: string;
  last: string;
  sayHi?: () => void;
}

interface IPerson {
 name: IName;
 isAdult: boolean;
}

const me: IPerson = reactive({
  isAdult: ref(false),
  name: {
    first: ref("first"),
    last: "last"
  },
});

No errors are detected and everything is fine since reactive unwrap all nested refs and the object is of type IPerson
But when I decide to implement the optional function sayHi: () => void inside the nested object name a ts error appears
const me: IPerson = reactive({
  isAdult: ref(false), // Type 'Ref<boolean>' is not assignable to type 'boolean'.ts(2322)
  name: {
    first: ref("first"), // Type 'Ref<string>' is not assignable to type 'string'.ts(2322)
    last: "last"
  },
  sayHi: function () {
    console.log("Hi !")
  }
});

What is stranger is that I found that it's not related to sayHi but I get the errors when I add any function at any level of the object me. Knowing that when I serve/build my app everything works fine and no erros whatsoever and I don't understand why, is it a vue-tsc bug or limitation or something else

This seems more like a an issue specific to Vue types and Typescript since you can reproduce it with plain typescript, without using Volar.
Seems expected given gow reactive declaration looks like:
export declare function reactive<T extends object>(target: T): UnwrapNestedRefs<T>;

The return value is unwrapped but the passed object is not so need to match the initial type from the start.
Is there anything that prevents you from unwrapping the values manually? I would say that that would also make intentions clearer as it wouldn't look like then like the expectation is that the reactivity of those the input and output will be linked.

@rchl The example I shared is just a simple basic illustration of the problem I have in my project. In my code I want and I expect to keep reactivity link that is why I have nested refs so I can't unwrap the values manually
Right, this error is not a Volar issue it is thrown by typescript and by vue-tsc when run via a command line.

This looks like a TS bug or design limitation, please consider reporting it to TS, unfortunately we can't handle this in this repo.


Investigate supporting other secret types for IBM Cloud Secrets Manager

Currently we only support Arbitrary secrets for IBM Cloud Secrets Manager.
We should look into how we could possibly support Username/password along with Arbitrary.
This would require some ability to specify the username or password field in the <placeholder> or assume a certain naming convention for the secret keys.

With #189 we migrated to using the IBM SM REST API instead of the Vault based API which makes supporting non-arbitrary types a bit easier. Most of the code is in place - it's just a matter of being able to figure out which specific item from a non-arbitrary secret (e.g, public cert in imported_cert, username in username_password) is needed for a <placeholder>
Maybe the placeholder key syntax could be extended to be a JSON path that would be used on the JSON inside SecretData: https://github.com/json-path/JsonPath#operators. Something like <my-secret.username> for username_pasword or <path:bmcloud/arbitrary/MYGROUP#my-cert.private_key#v3> for imported_cert.
Unf. the IBM SM API returns the actual data in a SecretData field only most of the time - for some reason IamCredentialSecretResource is different and just has an APIKey field with the data, no SecretData: https://cloud.ibm.com/apidocs/secrets-manager?code=go#get-secret So we'd have to handle this differently than just interpreting the placeholder as a JSON path since the JSON we'd query doesn't exist.
To make this backwards compatible with how IBM SM worked, we'd have to assume $.payload as the JSON path when using <placeholder> or <path:ibmcloud/arbitrary/MYGROUP#key> or <path:ibmcloud/arbitrary/MYGROUP#key#version>.
To make this compatible with other secret managers, I think it'd just be a matter of trying to interpret the secret's value as a JSON string if a placeholder with a JSON path is present, and if failing, throwing an error.

Released here: https://github.com/IBM/argocd-vault-plugin/releases/tag/v1.5.0


Docker image

Hi guys,
I tried to create a docker image to train this paper. However, i encountered this error and honestly don't know how to fix it. Would it be possible to share yours?

Best regards,
Pham

Sorry about that, I used conda for this environment. It seems that installing sptr fails. Can you tell me which version of gcc, g++ and pytorch is used?

@KSonPham
Hello, I have the same problem running it inside docker, did you manage to make it work?
I have gcc and g++ version of 7.5.0 and torch version 1.8.0+cu111 and I am getting this error:
root@2d522099bc0b:/home# python3 train.py --config config/semantic_kitti/semantic_kitti_unet32_spherical_transformer.yaml
Traceback (most recent call last):
  File "train.py", line 902, in <module>
    main()
  File "train.py", line 92, in main
    main_worker(args.train_gpu, args.ngpus_per_node, args)
  File "train.py", line 107, in main_worker
    from model.unet_spherical_transformer import Semantic as Model
  File "/home/model/unet_spherical_transformer.py", line 11, in <module>
    from model.spherical_transformer import SphereFormer
  File "/home/model/spherical_transformer.py", line 7, in <module>
    from third_party.SparseTransformer.sptr import to_3d_numpy, SparseTrTensor, sparse_self_attention, get_indices_params
  File "/home/third_party/SparseTransformer/sptr/__init__.py", line 2, in <module>
    from .utils import *
  File "/home/third_party/SparseTransformer/sptr/utils.py", line 5, in <module>
    from torch_geometric.nn import voxel_grid
  File "/usr/local/lib/python3.8/dist-packages/torch_geometric/__init__.py", line 1, in <module>
    import torch_geometric.utils
  File "/usr/local/lib/python3.8/dist-packages/torch_geometric/utils/__init__.py", line 3, in <module>
    from .scatter import scatter
  File "/usr/local/lib/python3.8/dist-packages/torch_geometric/utils/scatter.py", line 7, in <module>
    import torch_geometric.typing
  File "/usr/local/lib/python3.8/dist-packages/torch_geometric/typing.py", line 37, in <module>
    import torch_sparse  # noqa
  File "/usr/local/lib/python3.8/dist-packages/torch_sparse/__init__.py", line 40, in <module>
    from .tensor import SparseTensor  # noqa
  File "/usr/local/lib/python3.8/dist-packages/torch_sparse/tensor.py", line 13, in <module>
    class SparseTensor(object):
  File "/usr/local/lib/python3.8/dist-packages/torch/jit/_script.py", line 974, in script
    _compile_and_register_class(obj, _rcb, qualified_name)
  File "/usr/local/lib/python3.8/dist-packages/torch/jit/_script.py", line 67, in _compile_and_register_class
    torch._C._jit_script_class_compile(qualified_name, ast, defaults, rcb)
RuntimeError:
Tried to access nonexistent attribute or method 'crow_indices' of type 'Tensor'.:
  File "/usr/local/lib/python3.8/dist-packages/torch_sparse/tensor.py", line 109
    def from_torch_sparse_csr_tensor(self, mat: torch.Tensor,
                                     has_value: bool = True):
        rowptr = mat.crow_indices()
                 ~~~~~~~~~~~~~~~~ <--- HERE
        col = mat.col_indices()

@X-Lai
My error is very silly. if I ran python third_party/SparseTransformer/setup.py install, this error will occur. If it is python setup.py install, everything is fine. Hope that answered your question @fatemechangizian.

@KSonPham do you mind if you share the dockerfile you are using?

@fatemechangizian https://hub.docker.com/r/positivevibe/huggingface Dont worry about the name :dagger:

@X-Lai
In the paper, you used distance = 100 for KITTI and 80 for nuScenes, but in the KITTI config file it is 80. Which one is correct then? Thank you

@fatemechangizian https://hub.docker.com/r/positivevibe/huggingface Dont worry about the name dagger

Great thank you so much. I am still curious what was the problem with my dockerfile, do you mind if you can send me the dockerfile just to investigate the issue with mine? here is my email<EMAIL_ADDRESS>or share it here.

@X-Lai In the paper, you used distance = 100 for KITTI and 80 for nuScenes, but in the KITTI config file it is 80. Which one is correct then? Thank you

Thank you for pointing out this issue. There may be a typo in Sec. 4.1 (Implementation Details) of our paper. We mentioned that for SemanticKITTI, the window shape is set to [120, 2, 2], which should be [80, 2, 2] like in the yaml config. Also, one thing to note is that setting the window shape to [120, 2, 2] is actually equivalent to [80,2,2], since the maximum distance should be lower than 80m, so the partitions for both window shapes are all the same.

HI @X-Lai,
but why do you clip the lidar scan with the pc_range? And if you clip that to 51.2 does 80m windows shape still makes sense?

@fatemechangizian https://hub.docker.com/r/positivevibe/huggingface Dont worry about the name dagger

Great thank you so much. I am still curious what was the problem with my dockerfile, do you mind if you can send me the dockerfile just to investigate the issue with mine? here is my email<EMAIL_ADDRESS>or share it here.

Can you send the docker file?


Add opentelemetry version 1.19.0

What does this PR do?
Adds reflect config and tests for

io.opentelemetry:opentelemetry-exporter-jaeger:1.19.0
io.opentelemetry:opentelemetry-exporter-logging:1.19.0
io.opentelemetry:opentelemetry-exporter-otlp:1.19.0
io.opentelemetry:opentelemetry-exporter-zipkin:1.19.0
io.opentelemetry:opentelemetry-sdk-metrics:1.19.0
io.opentelemetry:opentelemetry-sdk-trace:1.19.0

Hey @n0tl3ss,  you can add missing entries in metadata/index.json now, since I fixed CI to fail when changed metadata is not present in the index file.

Hi @dnestoro I think its ready for review. I also added -H:+AddAllCharsets argument to GraalVM compiler. Without it Zipkin test throws java.nio.charset.UnsupportedCharsetException: UTF-32BE.


Feature - customize graphql with filter

A experimental on improving reference field list selector filtering using customize graphql
related PBI #4781

@JackDevAU - Given your longer-term intentions with the examples, did you want the demonstration of this feature in "experimental-examples/kitchen-sink" or another example like "examples/next-2024"?

@JackDevAU - Given your longer-term intentions with the examples, did you want the demonstration of this feature in "experimental-examples/kitchen-sink" or another example like "examples/next-2024"?

In this case I don't think it matters that much - We are planning on revamping the examples as per https://github.com/tinacms/tinacms/issues/4720

question: Should there be automated tests with this change?

Might need to note in the docs that any text that is compared IS case sensitive. So If you enter e.g. name: "pedro" and you have an an Author with the name: "Pedro" this won't match

Might need to note in the docs that any text that is compared IS case sensitive. So If you enter e.g. name: "pedro" and you have an an Author with the name: "Pedro" this won't match

Done updated the document and here is the PR
https://github.com/tinacms/tina.io/pull/2229

🦙 Awesome stuff!
Guess we should also note in the docs that inline functions won't work as the properties aren't called. e.g. the below code won't work and will return all authors:
collectionFilter: {
          author: {
            name: () => Date.now().toString(),
          },
        },

Instead we would need to add this function outside as it will only be run on build (and initialisation of the tinacms panel)

To clarify, inline functions will work, but you need to pass them as executable values rather than references. You can define the function as a constant and then call it when passing it to the name property.
(Notes : The reference component will not execute your nested function if you pass it inline or variable without execute)


Fix DNS resolving on Debian

Fix DNS resolving on Debian after installed resolvconf #479

In Debian 12 resolvconf does not have a -u option and will fail if used.


Lots of problems with JSON

I'm having one nasty time configuring Nancy (0.23.2) to behave sanely with JSON.  I've tried a dozen things from implementing my own ModelBindingLocators, BodyDeserializers, JsonSerializers to futzing around with JsonSettings.RetainCasing to throwing all of the magic away and just parsing the raw HTTP request directly (which actually does work, thanks).
I want to build an API that -- from the perspective of a bog-standard web browser -- handles JSON according to the prevailing idioms of JavaScript.
That means that I want to be able to model bind idiomatic JSON to .NET types on the way in, and bind .NET types -- including dynamics -- to idiomatic JSON on the way out.  Idiomatic JSON is camelCased.  Idiomatic .NET types are PascalCased.  Dynamic .NET types should retain the casing from the input, so camelCased.

If I set JsonSettings.RetainCasing=false, then then model binding POST data containing idiomatic JSON fails to bind to .NET types.

If I set JsonSettings.RetainCasing=true, then serializing .NET types to JSON fails to generate idiomatic (camelCased) JSON.

If I create my own JsonSerializer with all the right settings, it doesn't even get invoked on the way out (.NET -> JSON).  Even when I register the type in my bootstrapper.

If I create my own IBodyDeserializer, I'm just heading into another rabbit hole.

My current workaround to set JsonSettings.RetainCasing = true and manually camelCase the properties on all of my strongly-typed .NET output models.
What am I doing wrong? What should I be doing? How did I fall off the happy path?

Thanks, I'll check it out.


How can I access virtual web server from Mac host?

I installed fabric Docker in VM by vagrant up, I created chaincode and web application in VM.
How can I check it in browser on Mac host?
Now, in Mac host, I can not ping any of VM, Docker, even <IP_ADDRESS>

I guess it should do something in network setting of virtualbox, but once I change the network setting and vagrant up, the setting was reset.

Please kindly help me what should I do?

You could use the REST API. It's mapped to port 3000 on your host.
https://github.com/hyperledger/fabric/blob/master/devenv/Vagrantfile#L35

Finally I run my sample code. Thank you @srderson  so much for you guide!


Fixed xSqlServerSetup DSC resource

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


UI frontend implementation of notifications into Front-End Login and Signup

The notification service implemented in #151 was implemented in the front end, specifically the login and signup page.
Now, whenever a user enters an invalid input into a field and tries to log in or signup they will be prompted with an error notification.
For example:

Also when a user successfully logs in or signs up they will be prompted by a success notification.
For example:

Everything looks good.
is it possible to remove .idea/inspectionProfiles in root?


Definition IR nodes do not retain source locations

The following code snippet shows an assertion failure caused by all location information of top level statements inside the compuation block of a stencil being None.
import ast

import numpy as np

import gt4py
import gt4py.frontend
from gt4py import gtscript

def func(in_field: gtscript.Field[np.float_]):
    with computation(PARALLEL), interval(...):
        in_field = in_field + 2.0
        in_field = in_field - 0.5
        in_field = in_field / 0.5
        in_field = in_field * 4.0
        if 4.0 < 5:
            in_field = in_field[0, 0, 1] + in_field[0, 0, -1]
        in_field = 3 if in_field < 4 else 2

options = gt4py.definitions.BuildOptions(name="foo", module="bar")
ir = gt4py.frontend.gtscript_frontend.GTScriptFrontend.generate(func, {}, options)

assert any([s.loc for s in ir.computations[0].body.stmts])

I have not yet investigated where the information gets lost, but I suspect it happens in the GTScriptParser.visit_* methods.

I just ran a quick for loc= in the frontend. Apprently the source locations are never added to the Definition IR nodes. An idea would be to have a NodeVisitor which by default copies the location of the visited node to the returned node.

reopen if there is a strong interest


Possibility to update the link of the images containing the name of the remote storage.

Describe the feature you'd like
The idea would be to be able to automatically modify the link of the images stored in a remote storage (S3 buckets or others).
The link is like http://<endpoint-and-bucket-name>/uploads...
So maybe run a configuration check, and if the bucket name changed, automatically change the name in the images link.
Describe the benefits this feature would bring to BookStack users
It would be handy when restoring a backup with a different infrastructure or a different providers..
I'm currently facing this issue and I need to go on each page and update the link of each images..

Edit: When I update the link like in the image above, the image don't show up. I have to click on the button "add an image" and select the good image. It's quite counter productive.

If you need more details let me know.

Hi @vmarlier,
You should be able to make use of the bookstack:update-url command as detailed under the "Update System URL" header here: https://www.bookstackapp.com/docs/admin/commands/#update-system-url
This essentially runs a find & replace for the given URLs across the relevant tables within the database.

Okay thank you, I'll try it on my dev environment (I did it manually yesterday ^^).
I'm running bookstack in a k8s so I don't really like to exec command inside a container but if that works that would be much easier in case of a new bucket change.
Thanks I'll close the issue then.


⚠ BCR Bot has degraded performance

In 8c4ab00, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 912 ms

Resolved: BCR Bot performance has improved in 67c9fb0.


writeup "how to upload" to device

It now exists: https://github.com/hackclub/sprig/blob/main/UPLOAD.md


Get union size

This PR adds two new methods to Theta Union:

getCurrentBytes()  This behaves similarly to the Sketch method by the same name.
getMaxUnionBytes()  This behaves similarly to the static Sketches method by the same name, but is non-static and returns the maximum stored bytes for this union given its nominal entries configuration.

This PR is based on the discussion on Druid issue # 12261

@leerho , thanks for adding the new methods. Could you please share when is the scheduled release that would have these changes?

Hopefully soon, perhaps next week. I am working on some new capabilities
that have also been requested.
On Wed, Mar 23, 2022 at 12:23 AM Kashif Faraz @.***>
wrote:

@leerho https://github.com/leerho , thanks for adding the new methods.
Could you please share when is the scheduled release that would have these
changes?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/datasketches-java/pull/388#issuecomment-1076007310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCXRQUDTAKS6FMZTOJSBLTVBLBFZANCNFSM5OQOOSTQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
From my cell phone.


Publishing Assets

This is a wonderful tool!
Can the assets be published so that I can get rid of the bootstrap stuff and use TailwindCss???

Thanks! And yes, you can publish the views with following command:
php artisan vendor:publish --tag=livewire-smart-table-views


crc getting stuck on API

General information
Cannot provide exact steps to reproduce, but sometimes crc gets stuck asking for version or status:

crc version
crc status

Patching crc during this episodes, looks its related with crc waiting forever for an API reply.
Operating System
Linux
Hypervisor
KVM
Did you run crc setup before crc start?
yes
Running on
Laptop
Steps to reproduce

crc status
command never finished

CRC version
CRC version: 2.45.0+7aeb3b
OpenShift version: 4.17.7
MicroShift version: 4.17.7

CRC status
CRC VM:          Running
OpenShift:       Running (v4.17.7)
RAM Usage:       32.87GB of 42.34GB
Disk Usage:      7.071GB of 10.95GB (Inside the CRC VM)
Cache Usage:     25.71GB
Cache Directory: /home/alberto/.crc/cache

CRC config
Properties:

* bundle                                     Bundle path/URI - absolute or local path, http, https or docker URI (string, like 'https://foo.com/crc_libvirt_4.17.7_amd64.crcbundle', 'docker://quay.io/myorg/crc_libvirt_4.17.7_amd64.crcbundle:2.45.0' default '/home/alberto/.crc/cache/crc_libvirt_4.17.7_amd64.crcbundle' )
* consent-telemetry                          Consent to collection of anonymous usage data (yes/no)
* cpus                                       Number of CPU cores (must be greater than or equal to '4')
* disable-update-check                       Disable update check (true/false, default: false)
* disk-size                                  Total size in GiB of the disk (must be greater than or equal to '31')
* enable-bundle-quay-fallback                If bundle download from the default location fails, fallback to quay.io (true/false, default: false)
* enable-cluster-monitoring                  Enable cluster monitoring Operator (true/false, default: false)
* enable-emergency-login                     Enable emergency login for 'core' user. Password is randomly generated. (true/false, default: false)
* enable-experimental-features               Enable experimental features (true/false, default: false)
* enable-shared-dirs                         Mounts host's home directory at '/' in the CRC VM (true/false, default: true)
* host-network-access                        Allow TCP/IP connections from the CRC VM to services running on the host (true/false, default: false)
* http-proxy                                 HTTP proxy URL (string, like 'http://my-proxy.com:8443')
* https-proxy                                HTTPS proxy URL (string, like 'https://my-proxy.com:8443')
* ingress-http-port                          HTTP port to use for OpenShift ingress/routes on the host (1024-65535, default: 80)
* ingress-https-port                         HTTPS port to use for OpenShift ingress/routes on the host (1024-65535, default: 443)
* kubeadmin-password                         User defined kubeadmin password
* memory                                     Memory size in MiB (must be greater than or equal to '10752')
* nameserver                                 IPv4 address of nameserver (string, like '<IP_ADDRESS> or <IP_ADDRESS>')
* network-mode                               Network mode (user or system)
* no-proxy                                   Hosts, ipv4 addresses or CIDR which do not use a proxy (string, comma-separated list such as '<IP_ADDRESS>,<IP_ADDRESS>/24')
* persistent-volume-size                     Total size in GiB of the persistent volume used by the CSI driver for microshift preset (must be greater than or equal to '15')
* preset                                     Virtual machine preset (valid values are: [okd microshift openshift])
* proxy-ca-file                              Path to an HTTPS proxy certificate authority (CA)
* pull-secret-file                           Path of image pull secret (download from https://console.redhat.com/openshift/create/local)
* skip-check-admin-helper-cached             Skip preflight check (true/false, default: false)
* skip-check-bundle-extracted                Skip preflight check (true/false, default: false)
* skip-check-crc-network                     Skip preflight check (true/false, default: false)
* skip-check-crc-network-active              Skip preflight check (true/false, default: false)
* skip-check-crc-symlink                     Skip preflight check (true/false, default: false)
* skip-check-daemon-systemd-sockets          Skip preflight check (true/false, default: false)
* skip-check-daemon-systemd-unit             Skip preflight check (true/false, default: false)
* skip-check-dnsmasq-network-manager-config  Skip preflight check (true/false, default: false)
* skip-check-kvm-enabled                     Skip preflight check (true/false, default: false)
* skip-check-libvirt-driver                  Skip preflight check (true/false, default: false)
* skip-check-libvirt-group-active            Skip preflight check (true/false, default: false)
* skip-check-libvirt-installed               Skip preflight check (true/false, default: false)
* skip-check-libvirt-running                 Skip preflight check (true/false, default: false)
* skip-check-libvirt-version                 Skip preflight check (true/false, default: false)
* skip-check-network-manager-dispatcher-file Skip preflight check (true/false, default: false)
* skip-check-network-manager-installed       Skip preflight check (true/false, default: false)
* skip-check-network-manager-running         Skip preflight check (true/false, default: false)
* skip-check-podman-in-ocbindir              Skip preflight check (true/false, default: false)
* skip-check-ram                             Skip preflight check (true/false, default: false)
* skip-check-root-user                       Skip preflight check (true/false, default: false)
* skip-check-supported-cpu-arch              Skip preflight check (true/false, default: false)
* skip-check-systemd-networkd-running        Skip preflight check (true/false, default: false)
* skip-check-systemd-resolved-running        Skip preflight check (true/false, default: false)
* skip-check-user-in-libvirt-group           Skip preflight check (true/false, default: false)
* skip-check-virt-enabled                    Skip preflight check (true/false, default: false)
* skip-check-vsock                           Skip preflight check (true/false, default: false)
* skip-check-wsl2                            Skip preflight check (true/false, default: false)

Usage:
  crc config SUBCOMMAND [flags]
  crc config [command]

Available Commands:
  get         Get a crc configuration property
  set         Set a crc configuration property
  unset       Unset a crc configuration property
  view        Display all assigned crc configuration properties

Flags:
  -h, --help   help for config

Global Flags:
      --log-level string   log level (e.g. "debug | info | warn | error") (default "info")

Use "crc config [command] --help" for more information about a command.

Host Operating System
NAME="Fedora Linux"
VERSION="41 (Workstation Edition)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=41
VERSION_CODENAME=""
PLATFORM_ID="platform:f41"
PRETTY_NAME="Fedora Linux 41 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:41"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f41/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=41
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=41
SUPPORT_END=2025-12-15
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Expected behavior
crc to give up at some moment with a correct or incorrect reply (with proper exit status)
Actual behavior
crc hangs forever
CRC Logs

Additional context
No response

From:
https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779
--- i/pkg/crc/daemonclient/client.go
+++ w/pkg/crc/daemonclient/client.go
@@ -3,6 +3,7 @@ package daemonclient
 import (
        "fmt"
        "net/http"
+       "time"

        networkclient "github.com/containers/gvisor-tap-vsock/pkg/client"
        "github.com/crc-org/crc/v2/pkg/crc/api/client"
@@ -24,6 +25,7 @@ func New() *Client {
                        Transport: transport(),
                }, "http://unix/network"),
                APIClient: client.New(&http.Client{
+                       Timeout: 30 * time.Second,
                        Transport: transport(),
                }, "http://unix/api"),
                SSEClient: client.NewSSEClient(transport()),

Ths set a default timeout of 30s. If we have other timeouts we might use same here, or provide a way to config this timeout

I think a timeout 30sec is plenty enough since this is happening locally over a unix socket, and also we don't need this timeout to be configurable as of now, please raise a PR with the changes you posted in https://github.com/crc-org/crc/issues/4518#issuecomment-2547917733