Should update document

I am using Laravel 5.4 and this is my composer.json
"require": {
        "php": ">=5.6.4",
        "doctrine/dbal": "v2.6.2",
        "intervention/image": "^2.4",
        "laravel/framework": "5.4.*",
        "laravel/tinker": "~1.0",
        "unisharp/laravel-filemanager": "~1.8"
    },

I was following document at https://unisharp.github.io/laravel-filemanager/installation
At step 4: when I run command php artisan vendor:publish --tag=lfm_config
it show an error message: 'Class UniSharp\LaravelFilemanager\LaravelFilemanagerServiceProvider::class not found'
After googling and check the code, I found the reason is:
Namespace is 'Unisharp' not 'UniSharp'.
The document should be update

Thank you @andhikamaheva , 'UniSharp' is the correct one. We will fix this in next release.

please how will I correct it in my code.
Thanks

The document is here.


Performance regression for input snapshotting between Gradle 5.4 and Gradle 5.3.1

Working on a large gradle build, we see some performance regression in input snapshotting times between Gradle 5.4 and Gradle 5.3.1
With the same code, the only difference being the version of Gradle and running
gradlew clean assemble && gradlew assemble the time spent on input snapshotting in the assemble after a clean assemble has increased by about 25%.
Gradle 5.3.1
(as reported by Gradle Entreprise)
Snapshotting task inputs	1699	2m 15.687s
from build id vamgc5az42l4g
Gradle 5.4
(as reported by Gradle Entreprise)
Snapshotting task inputs	1699	2m 50.139s
from build id p7qcw6k32wavm

We are waiting for more data on this from @dcabasson.

After further testing, it looks like 5.4.1 is actually faster than 5.3.1
Sorry about the noise.


Possible incorrect values sent for C1-25-AppearanceChangedExtended when unequipping

Describe the bug
Unequipping Gear/Pet does not reflect on other player
To Reproduce
Steps to reproduce the behavior:

Login 2 players, Player1 and Player2, Player1 with a pet (or any gear equipped)
Player1: Equip Fenrir
// Player2 can see Player1 ride the fenrir
Player1: Unequip Fenrir
// Player2 still see Player1 on a fenrir

Expected behavior
From Player2's POV, the fenrir should no longer be visible
(Also applies to gear such as armor, wings, etc.)
Additional Context
In client side (MuMain 5.2 client), 0xFF is used to detect if the equipment is to be removed

However, in the logs, the ItemGroup value uses the original value of the item.

Related to: https://github.com/sven-n/MuMain/issues/47


Website behind reverse proxy

Hello,
I want to use the board behind a reverse proxy.
However, only a blank page is being shown. The logs don't reveal anything either.
Any hints?
I'm using Nginx Proxy Manager as reverse proxy.
https://fqdn.domain.tld ==> dockerhost:3000
SSL is enabled

Hey,
this is most likely due to not setting BASE_URL variable in the docker-compose.yml, in your case, it should be:
BASE_URL: https://fqdn.domain.tld
Can you show a screenshot of this page with a browser console open?
Have you seen this docs - the Nginx section?
Let me know if that helps!

Thanks, working fine now!


[5.5] Add 5.5 branch spec support

/ci swift-5.3 swift-5.4 swift-main zlib libxml2 icu curl

/ci swift-5.5 cloud

/ci swift-5.5


Is it possible to set a listener for the scrolling?

I have the keyboard up, for a search view, and I want it to disappear when I scroll through the list, is this possible?

setOnScrollListener should be what you are looking for.

yes, thank you


Migrate Azure cluster functionality to use Management API

Towards #310 Let web UI communicate directly with the Management API
Description

All existing functionality in Happa has to be moved to Management API

TODO

[ ] tba

Duplicate of Migrate Azure cluster functionality to Management API #341


Simulations pane

Summary
The Simulations pane introduced in this PR allows the user to create SimulationResult objects in the database and view existing results. After picking a Simulation type, the user must specify all required inputs, then they may run the simulation.
Details
For this PR, only one Simulation type is implemented, called "Flood Scenario 1". Simulation types (not to be conflated with SimulationResults) are not database objects. Rather, they exist as a hard-coded mapping of celery tasks. The simulation types populate the side-panel under "Available Simulations."

(Side note: this PR also switches the order of the "Available Layers" and "Active Layers" panels for consistency with the other panels' organization)
When the user selects a simulation type, the simulations pane appears for the selected type. The pane has two tabs: a tab to create a new SimulationResult object, and a tab to view existing ones. The tab to create a new one allows the user to specify all the inputs required for the selected simulation type. Once all required inputs are specified, the user may run the simulation.

The request to run a simulation creates a SimulationResult object, which it returns to the client and sends into a Celery task to fill in the output_data field. While the celery task is running, the client shows the SimulationResult object's input_args and modified_date, as well as a spinner while the output_data is undefined. While the spinner is shown, the client polls the server every two seconds for an update.

Once the celery task is complete, the client will receive the updated output_data on the target SimulationResult object and display it. In the case of "Flood Scenario 1", the output type is "node_failure_animation", so a specialized component called NodeFailureAnimation is displayed in the results section once output_data is defined. The node failure animation can be played forward or backward (with 1 second ticks) or the user can go directly to a step using the slider.

As the slider moves, the list of deactivatedNodes changes. The new value is equal to the node failure list, sliced to end on the index of the current tick. (On the second tick, deactivatedNodes contains 2 node ids.) As the list of deactivated nodes changes, the client sends a computeGCC request and updates the map with the response. This happens in the same manner as when the user manually updates the deactivated nodes.
The video attached below shows this behavior.
Results
https://github.com/OpenGeoscience/uvdat/assets/44912689/4e3aa8fc-6c3d-4641-8270-822fe810c31a

Note: I realized that SimulationResults should also reference the City as their context (so similar simulations in different cities don't get confused). This change was made in 1cd52b8


Clear all checkbox not functioning properly

steps to reproduce latest problem:
start with a fresh reload of the site.
take note of the layer that is displayed
select the "check all" box, then hit the delete button
open the filter dialog
select today's date, then hit search
select a few layers, make sure you include the one that was just deleted.
click off the filter dialog and hist the "check all" button again and note that nothing happens to the one that was removed earlier.

This is related to issue #44.

All this seems to work, except Observations type of layer cards do not get checked, when selecting check all. This needs to be fixed for the March deadline


How does the localization work?

the folder "loc" contains an en-us.js, and mystrings.d.ts
This is not documented anywhere as far as I can tell. And why is en-us.js a JS file, not a TS file? It looks quite complicated.

Yes, currently those localization files are fully standalone JS modules. The API in config.json which specified localizedResources is designed to be flexible enough to load any JS resource for the current culture. However, that means these resources need to be standalone JS bundles (hence the define() stuff).
We're working on improvements to the localization story that would effectively let you add TypeScript, RESX, or JSON files in src/loc, and we would convert these to standalone bundles for you.
[We're also working on allowing you to embed a specific type of localized resource -- strings -- directly into your code bundles. This would mean we would be creating files like myWebPart-en_us.js, myWebPart-fr_fr.js instead of myWebPart.bundle.js, myWebPart-strings-en_us.js, myWebPart-strings-fr_fr.js.]

Cool. Those improvements look great.

We're going to leave this issue open, as this is a pending item to fix on an upcoming drop.

Let's say I used localizedResources in a webpart/component, let's call it A. Now I include that in another project, let's call it B, through package.json/npm install. As of now, I don't see how to include these without having Module not found: Error: Can't resolve ... errors while building B, unless I add A localizedResources to B localizedResources.

Hi,
We have documented how localization works here ->

I'm closing this issue for now. Please open a separate bug if you're running into issues with localization.
Thanks!


after update to flame 2.0.0 i can't add applications

Hi all,
i just have updated my flame-docker instance but now i can not add new applications, bookmarks yes but no apps.
the update process was like that:
stop docker container
recreate (in portainer)
After that i have recreated the container with a new stack in a new directory. But nothing changed.
I still can only add Bookmarks.
Any ideas?
regards

Ok. I think I found the problem. Are you trying to create app with custom icon (from file)?

yes.

OK, i can now add now Apps, but i have to use a image_url.
after the creation of a "dummy" App i can change it to a custom image.
but where is the problem when i want to use a custom image at creationtime?

It's the problem with the app. I'm already working on the fix.

Just pushed updated images for both latest and multiarch tags. Can you pull it and try adding new app again?


TemplateHaskell / QQ generator

So, the only way we can make this work is with a GADT with two generated dealios:

Tons of typeclass literals representing a dictionary acceptance bound for possible edges

...actually just one.

So here is how the graph will look:
-- `edges` is a type-level list of types of kind `'Edge`
data Dag (edges :: [Edge]) where
  GNil :: Dag []
  GCons :: Acceptable a old =>
           a
        -> Dag old
        -> Dag (a :into: old)

And Acceptable looks like this, basically:
type family Acceptable a old :: Constraint
type instance Acceptable a [] = AllEdges -- A typeclass including all possible edges
type instance Acceptable a [someEdge, antherOne] = ParticularTypeClass

We manually and exhaustivlely list instances for the type family / constraint Acceptable by delegating to the typeclass.


bring dev inline with master

Coverage increased (+0.04%) to 84.818% when pulling d0ecd62e664152395f94d919973722069dd14a79 on master into 878d0d6e0f4e4b7c3fa3b60452730c42d7f746df on dev.


To include the latest attributes in the PromptForBequeathingDataCausesTransferOfListOfAlreadyRegisteredApplications callback

PromptForBequeathingDataCausesTransferOfListOfAlreadyRegisteredApplications is a forwarding using which
the data of the registered application in the old release will be transferred to a new release.
In future , if a new version 3.0.0 is getting deployed ,
then,
this 2.1.0 version will transfer the registered application to the 3.0.0 version of the application.
In this forwarding PromptForBequeathingDataCausesTransferOfListOfAlreadyRegisteredApplications , currently we have the following attributes in the callback ,
application-name:
release-number:
preceding-application-name:
preceding-release-number:
embedding-operation:
dispose-remainders-operation:
client-update-operation:
operation-client-update-operation:
tcp-server:

Proposal :

Shall we also include the following 2 attributes in the properties,

- preceding-release-operation
- subsequent-release-operation

Also shall we make the following attributes as required ,

- application-name
- release-number
- embedding-operation
- client-update-operation
- operation-client-update-operation
- dispose-remainders-operation
- preceding-release-operation
- subsequent-release-operation
- tcp-server

Changed as proposed.


Jackson serializer inlines the first reference

Hello,
I'm trying to use the new Jackson module to serialize my DB. I'm manually building a JSON that will hold all the different tables. I noticed that in objects that reference some object in other table, the first reference will get inlined:
[ {
    "id" : 1,
    "account" : {
      "id" : 1,
      "accessToken" : "...",
      "expirationDate" : "...",
      "identifier" : "...",
      "refreshToken" : null,
      "type" : 0
    },
    "displayName" : "...",
    "lastAccess" : "...",
    "name" : null
   }, {
    "id" : 2,
    "account" : 1,
    "displayName" : "...",
    "lastAccess" : "...",
    "name" : "..."
   } ]

Is it possible to avoid this behavior and never expand the related object? I looked into the source code but Jackson gets a bit over my head and I'm not sure if this is a setting for Jackson or a decision that you made in the serializer.
Thanks for your time.

Hi you should use the standard jackson annotations for ignoring fields, e.g. @JsonIgnore

I didn't want to ignore the field, just to not inline the first reference of a related model.
But your answer pointed me in the right direction, that can be done with an annotation. In case anyone needs it, you have to annotate the field that has the relation with:
@JsonIdentityReference(alwaysAsId = true)

Thank you!


Security error: Open DB in Firefox 56 and above

Hi,
I have built a browser extension using this library to store data locally.
I get an error, when opening the data base with dexie!
SecurityError: The operation is insecure.
I have tested the Hello World code and it happens, as well, so I think it's not anything in my code.
My browser extension runs fine in Chrome.
Would greatly appreciate any help with this! As the Chrome extension has around 78K users and I just launched it for Firefox, it ran fine a couple days ago!
THANKS!

Anyone else that has had written a Firefox addon that accessed indexedDB? Pinging @ginnipankaj, @achintverma, @damoclark.

Hello! I found the root of the problem actually, I totally forgot that I changed my privacy setting in Firefox to "Always use private browsing mode" and that doesn't work with Dexie. So, it was just me, sorry! Closing issue.
Thanks for creating this library btw. I think it's great and makes a lot of things easier, keep up the good work!

Thanks for sharing.


TypeError: slice indices must be integers or None or have an index method

I tried to run the code line (python main.py --dataset ptb) and got the following error. I am using tensorflow 1.0.1
danish@amax:~/trycode/lstm-char-cnn-tensorflow-master$ python main.py --dataset ptb
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
{'batch_size': 100,
'char_embed_dim': 15,
'checkpoint_dir': 'checkpoint',
'data_dir': 'data',
'dataset': 'ptb',
'decay': 0.5,
'dropout_prob': 0.5,
'epoch': 25,
'feature_maps': '[50,100,150,200,200,200,200]',
'forward_only': False,
'kernels': '[1,2,3,4,5,6,7]',
'learning_rate': 1.0,
'max_word_length': 65,
'model': 'LSTMTDNN',
'seq_length': 35,
'use_char': True,
'use_word': False,
'word_embed_dim': 650}
[*] Creating checkpoint directory...
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:04:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x2112820
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 1 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:05:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x21161b0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 2 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:08:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x2119b40
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 3 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:09:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x211d4d0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 4 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:83:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x2120e60
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 5 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:84:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x21247f0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 6 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:87:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
W tensorflow/stream_executor/cuda/cuda_driver.cc:590] creating context when one is currently active; existing: 0x2128430
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 7 with properties:
name: Tesla M40 24GB
major: 5 minor: 2 memoryClockRate (GHz) 1.112
pciBusID 0000:88:00.0
Total memory: 22.40GiB
Free memory: 22.29GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 0 and 4
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 0 and 5
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 0 and 6
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 0 and 7
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 1 and 4
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 1 and 5
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 1 and 6
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 1 and 7
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 2 and 4
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 2 and 5
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 2 and 6
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 2 and 7
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 3 and 4
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 3 and 5
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 3 and 6
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 3 and 7
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 4 and 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 4 and 1
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 4 and 2
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 4 and 3
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 5 and 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 5 and 1
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 5 and 2
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 5 and 3
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 6 and 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 6 and 1
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 6 and 2
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 6 and 3
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 7 and 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 7 and 1
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 7 and 2
I tensorflow/core/common_runtime/gpu/gpu_device.cc:777] Peer access not supported between device ordinals 7 and 3
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0 1 2 3 4 5 6 7
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y Y Y Y N N N N
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 1:   Y Y Y Y N N N N
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 2:   Y Y Y Y N N N N
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 3:   Y Y Y Y N N N N
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 4:   N N N N Y Y Y Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 5:   N N N N Y Y Y Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 6:   N N N N Y Y Y Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 7:   N N N N Y Y Y Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: Tesla M40 24GB, pci bus id: 0000:04:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:1) -> (device: 1, name: Tesla M40 24GB, pci bus id: 0000:05:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:2) -> (device: 2, name: Tesla M40 24GB, pci bus id: 0000:08:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:3) -> (device: 3, name: Tesla M40 24GB, pci bus id: 0000:09:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:4) -> (device: 4, name: Tesla M40 24GB, pci bus id: 0000:83:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:5) -> (device: 5, name: Tesla M40 24GB, pci bus id: 0000:84:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:6) -> (device: 6, name: Tesla M40 24GB, pci bus id: 0000:87:00.0)
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:7) -> (device: 7, name: Tesla M40 24GB, pci bus id: 0000:88:00.0)
Creating vocab...
After first pass of data, max word length is: 21
Token count: train 929589, val 73760, test 82430
Loading vocab...
Word vocab size: 10001, Char vocab size: 51
Reshaping tensors...
Traceback (most recent call last):
File "main.py", line 66, in
tf.app.run()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "main.py", line 57, in main
data_dir=FLAGS.data_dir)
File "/home/danish/trycode/lstm-char-cnn-tensorflow-master/models/LSTMTDNN.py", line 78, in init
self.loader = BatchLoader(self.data_dir, self.dataset_name, self.batch_size, self.seq_length, self.max_word_length)
File "/home/danish/trycode/lstm-char-cnn-tensorflow-master/batch_loader.py", line 49, in init
data = data[: batch_size * seq_length * math.floor(length / (batch_size * seq_length))]
TypeError: slice indices must be integers or None or have an index method

The version of numpy is higher than we need. Degrade it to 1.11.0 will make the problem solved.
Can use the following instruction:
sudo pip install -U numpy==1.11.0

I meet the same error and I've tried the method of  @githubier ,it doesn't work.Have you solved it yet? @sdabuk # #

math.floor()返回浮点数，用int（math.floor()）

I tried @qzfnihao method，and it works，tks~


MSIX auto update feature

Another idea is to use the auto-update feature msix offers out-of-the box:

ref: https://learn.microsoft.com/en-us/windows/msix/app-installer/how-to-create-appinstaller-file#step-6-add-update-setting

Things to check:

add the update settings to the msix, that's easy
but what URL?

Can we use URL-redirects? Then I could just use https://github.com/WolvenKit/WolvenKit.Installer/releases/latest maybe?
Or, since the msixbundles are actually small enough, I can simply host it on the GitHub repo itself
Or, maybe even better use a github pages environment to host the latest installer msixbundle

ref: https://github.com/JamesIves/github-pages-deploy-action
Could be as simple as downloading the latest release msixbundle, rename it to something static (WolvenKit-Installer.-latest.msixbundle) and use the link in the msixbundle.
I need to manually create the msixbundles anyways because of the code signing.

https://docs.github.com/en/repositories/releasing-projects-on-github/linking-to-releases
thanks @avail
To link directly to a download of your latest release asset that was manually uploaded, link to /owner/name/releases/latest/download/asset-name.zip.

https://github.com/WolvenKit/WolvenKit.Installer/releases/latest/download/Wolvenkit.Installer.Package_<IP_ADDRESS>_x64.msixbundle

This works with using github pages. to host the appinstaller, msix and dependencies
(only works if files stay below 100mb)


Implement logging to Kafka

It was way easier as expected and works nicely here.

implements #37

Thanks for the contribution!


[Page] Group Information

Create group page to view group information based on groupId

Screen
https://www.figma.com/file/u0773YBgMSL4RwzZS66m7e/codeet?node-id=202%3A77&t=b2RLoEqrE7caMecu-1

#56 PR for this implementation


i couldn't able see the input search bar after pushing & pulling new changes.

@Anandsg
What's the issue ?
I couldn't able see the search bar.
i want to integrate issue #198, please revert the changes, so that i can push the commits for focus input.

I can clearly se search box feature with the lastest changes, please pick other issues

@Anandsg
please see in live link - live link

live link

See below screenshot with live link :


Re-blacken, enforce in github action, pre-commit.

Change Summary
Running make format as instructed by the docs caused a lot of unrelated changes. This reformats all the things I didn't touch and adds black as a github action to prevent future regressions.
If you'd like I can follow up with https://black.readthedocs.io/en/stable/guides/introducing_black_to_your_project.html#avoiding-ruining-git-blame, but it's impossible to do ahead of time because I can't predict the commit SHA that this will be merged with if rebased.
Related issue number
None, trivial
Checklist

[X] Unit tests for the changes exist (N/A)
[X] Tests pass on CI and coverage remains at 100% (unchanged)
[X] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Please review :)

Never mind. The cause of all re-formats is because I hadn't seen make install (I'll update the docs, see https://github.com/samuelcolvin/pydantic/pull/3843), and the newer version of black has this new opinion.
The pre-commit and CI is already covered via make lint, it just didn't appear that way when I ran it locally because of my misconfigured environment.
Sorry for the noise!


Disk usage analyzer.

My hard drive is 1TB and the software shows me that I have 10TB.
I am using GhostBSD with Mate.

issue moved from ghostbsd/ghostbsd-src to ghostbsd/issues


Added support for Laravel 10

In one of my work projects I quickly needed this library to support Laravel 10.
I temporary re-published your package to Packagist at my name, only to allow installing the updated review: because of that I had to rename the package.
Once you'll review my updates, you'll have to merge into main all updates made before commit 826a36f (thus avoiding package rebranding).

In one of my work projects I quickly needed this library to support Laravel 10. I temporary re-published your package to Packagist at my name, only to allow installing the updated review in a private library of mine: because of that I had to rename the package. Once you'll review my updates, you'll have to merge into main all updates made before commit 826a36f (thus avoiding package rebranding).

Hi. This update is also relevant to me. Maintainer, tell me if it is possible to merge this PR. Is the package alive?

Thank you for the work and I apologise for the lack of action.
I have missed the PR completely, so thank you for providing it and thank you for reminding.


write  EEPROM_MAGIC_BYTE_1 to EEPROM_START_ADDRESS + 1, not EEPROM_ST…

write  EEPROM_MAGIC_BYTE_1 to EEPROM_START_ADDRESS + 1, not EEPROM_START_ADDRESS
This way the code for remembering the last pattern will work.

Yaay!!

Pulled into PatternPaint!


Question: benchmark-operator-kube clusterrole

What is the clusterrole with name benchmark-operator-kube used for? I cannot find any references in the code.
The clusterrole is defined in file:
https://github.com/cloud-bulldozer/benchmark-operator/blob/master/deploy/40_cluster_role_kubevirt.yaml

hey @fritchie if you are running with cnv/kubevirt that role is needed.


"make run" fail

Building Kernel
make -C ./kernel
make[1]: Entering directory '/home/yogesh/Development/How-to-Make-a-Computer-Operating-System/src/kernel'
nasm   -f elf -o  -c arch/x86/start.asm -o  arch/x86/start.o
make[1]: nasm: Command not found
Makefile:64: recipe for target 'arch/x86/start.o' failed
make[1]: *** [arch/x86/start.o] Error 127
make[1]: Leaving directory '/home/yogesh/Development/How-to-Make-a-Computer-Operating-System/src/kernel'
Makefile:10: recipe for target 'all' failed
make: *** [all] Error 2

make[1]: nasm: Command not found

Looks like you have to install nasm

Thanks @janisozaur and @Coretool


cas.adminPagesSecurity.adminRoles

Version: 5.1.0-RC2-SNAPSHOT
The manual states I should be using:
cas.adminPagesSecurity.adminRoles[0]=MYROLE
But adminRoles in org.apereo.cas.configuration.model.core.web.security.AdminPagesSecurityProperties is a Set and can't be specified using the adminRoles[n] syntax (only List can).

Fixed in more recent snapshots. Thanks very much for testing and reporting this!


remove old unlink

Codecov Report

Merging #8 into master will increase coverage by 3.81%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   81.69%   85.50%   +3.81%
==========================================
  Files           2        2
  Lines          71       69       -2
  Branches        4        5       +1
==========================================
+ Hits           58       59       +1
+ Misses         13       10       -3

Impacted Files
Coverage Δ

src/index.ts
86.66% <100.00%> (+6.23%)
:arrow_up:

src/statfile.ts
83.33% <100.00%> (-0.67%)
:arrow_down:

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 26b2d24...cdcc371. Read the comment docs.


[RFC] Add sparsehash support for hashed dictionary (to reduce memory usage)

Benchmarks of various hash tables

For changelog. Remove if this is non-significant change.
Category (leave one):

New Feature

Short description (up to few sentences):
Introduce <sparse_hashed> layout for dictionaries, that will make dictionary uses less memory.
Detailed description (optional):
This patch introduces separate attribute for dictionaries --
With sparse enabled, sparsehash (actually sparsehash-c11, that do not
requires sparseconfig.h, for easier packaging with cmake) will be used
over default HashMap, sparsehash is more memory efficient but it is also
slower.
So in a nutshell:

HashMap uses ~2x more memory then sparse_hash_map
HashMap ~2-2.5x faster then sparse_hash_map
(tested on lots of input, and the most close to production was
dictionary with 600KK hashes and UInt16 as value)

The idea is very reasonable, I also had some thoughts about it.
You can also check F14 as a memory efficient hash table.

As we already use sparsehash/densehash
https://github.com/yandex/ClickHouse/tree/master/contrib/libsparsehash
maybe it's better to unify it and use single library (remove old library)?

It's in question - should we provide the choice of the data structure via attribute or via different layout. I think, different layout is better.
Another point: current data structure is larger than needed, because it uses separate hash tables for each dictionary attribute. It's possible to use single data structure similar to what we have in Join.h.
Using the same data structure for Join is a great way to unify support for all data types (but it will also lead to worse performance).

Compare with Tessil's collections. (results)
Especially with hat-trie for strings. (results)

You can also check F14 as a memory efficient hash table.

I will take a look, but seems that sparsehash is more memory efficient anyway.

maybe it's better to unify it and use single library (remove old library)?

Sure, will take a look

It's in question - should we provide the choice of the data structure via attribute or via different layout. I think, different layout is better.

Agree, since in case of attributes it simply ignores non existing, so you cannot be sure what hashtable will be used, I will update the patch

Another point: current data structure is larger than needed, because it uses separate hash tables for each dictionary attribute.

That my second concern, but this can/should be done separately anyway (objections?)

It's possible to use single data structure similar to what we have in Join.h.
Using the same data structure for Join is a great way to unify support for all data types (but it will also lead to worse performance).

Hm I don't like this part

but it will also lead to worse performance

Compare with Tessil's collections.

Will take a look, thanks!

That my second concern, but this can/should be done separately anyway (objections?)

Ok.

Oops, I missed this.
So, the idea is that our HashMap uses too much memory because of its exponential resize, so we use a sparse hash map that doesn't allocate as much empty memory?
Does our TwoLevelHashMap also have better memory usage?
It would be good to have a reference dictionary and queries, so that we can measure the memory usage and the performance, and compare different implementations.

On a second thought, the memory usage of two-level table should only be different when the hash is not uniform and the occupancy of buckets is significantly different. For an ideal hash, memory usage should be the same.

@akuzm Our hash table grows 2x and have max fill factor of 50%. The memory overhead is 2 to 4 times.
Sparsehash memory overhead is very close to nothing and it's clearly better.
Other options is to use robin-hood probing that allows to keep max fill factor about 90%*. But it will still have 2x overhead. Also look at the Facebook's F14.
(Please note that it cannot beat our HashTable in our scenario even with 50% fill factor)

So here are benchmark results (for uint64_t key/value pair and 1e7 keys):

container
insert
find
maxrss

google::sparse_hash_map
8.99111
1.77821
212MiB

tsl::sparse_map
4.03314
1.67305
214MiB

folly::F14VectorMap
3.03167
1.19759
265MiB

folly::F14FastMap
2.52551
1.28362
393MiB

folly::F14NodeMap
3.42903
1.23989
441MiB

google::dense_hash_map
1.80534
1.17399
771MiB

Looks like the most promising is tsl::sparse_map, thoughts?
Maybe google::sparse_hash_map for now (since it is well known and already used by ch), and switch to tsl::sparse_map later?

Maybe google::sparse_hash_map for now (since it is well known and already used by ch), and switch to tsl::sparse_map later?

Ok.
PS. How did you test insert and find speed? What is the benchmark?

PS. How did you test insert and find speed? What is the benchmark?

In a nutshell they are looks like:
static uint64_t constexpr KEYS = 1e7;

template <class C>
void insert(C &c)
{
    for (uint64_t i = 0; i < KEYS; ++i) {
        c.insert(std::make_pair(crc64(i), i));
    }
}

template <class C>
void find(C &c)
{
    uint64_t found = 0;
    for (uint64_t i = 0; i < KEYS; ++i) {
        found += (c.find(crc64(i)) != c.end());
    }
    if (found != KEYS) {
        throw std::runtime_error("mismatch");
    }
}

Those insert/find was called for:

google::sparse_hash_map<uint64_t, uint64_t>
folly::F14VectorMap<uint64_t, uint64_t>
...

If you are interested in the whole benchmark, let me know (I did not share them yet since I need to fix some absolute includes there).

@azat  have you tested also https://github.com/martinus/robin-hood-hashing it claims to perform better than more other : https://martin.ankerl.com/2019/04/01/hashmap-benchmarks-01-overview/

Added robin_hood::unordered_map

@azat I forgot about parallel-hashmap :smile:
Based on abseil's hashes, but absl is a big library.

I forgot about parallel-hashmap

Added
P.S. parallel-hashmap is not about memory efficiency, so I added sparsepp too

It's in question - should we provide the choice of the data structure via attribute or via different layout. I think, different layout is better.

Agree, since in case of attributes it simply ignores non existing, so you cannot be sure what hashtable will be used, I will update the patch

@alexey-milovidov resolved (as well as coding style issues)

@azat The test is decent. BTW, what hash function is used in sparsehash by default? If it's std::hash (trivial hash function for integers and rather inferior hash function for strings), you should not forget to provide our hash function as we do with HashMap.

what hash function is used in sparsehash by default? If it's std::hash

Indeed:
$ gg std::hash
sparsehash/dense_hash_map:template <class Key, class T, class HashFcn = std::hash<Key>,
sparsehash/dense_hash_set:template <class Value, class HashFcn = std::hash<Value>,
sparsehash/sparse_hash_map:template <class Key, class T, class HashFcn = std::hash<Key>,
sparsehash/sparse_hash_set:template <class Value, class HashFcn = std::hash<Value>,

you should not forget to provide our hash function

Fixed

(fixed compilation error, due to missing target_include_directories)

could you publish the benchmark so that I can reproduce your results?

For now it is here:
https://github.com/azat-archive/hashtable-bench.git
(although it requires some #ifdef cleanups)

Maybe it even makes sense to save it for the future in Dictionary/tests

Hm, this will requires even more submodules, but unless you are fine
with this I'm fine too.
Or maybe just a bench HashMap vs google::sparse_hash_map?

The only way to provide proper performance tests (integrated in CI) is to finish https://github.com/yandex/ClickHouse/pull/4178 first.

@alexey-milovidov objections on squashing the following commits?
a12cffee91 Update HashedDictionary.h
ab9a7be45a Comments are the must.
9afea6f0b3 Update HashedDictionary.cpp

Yes, you can always squash my commits in your PR.
I merged this PR because I don't care too much about the number of commits.

I don't care too much about the number of commits.

I don't care about number of commits either, I'm care about history, but until you are fine with this, I'm okay.

merged

Thanks!


More comprehensive error message if serialization fails due to binary compat

If a library that uses a newer version of Scala.js is on the classpath, the user is likely to get an error message of this kind:
java.io.IOException: Failed to deserialize info of /home/nick/.ivy2/cache/org.scala-js/scalajs-library_2.11/jars/scalajs-library_2.11-0.6.3.jar#scala/math/Ordering$Byte$.sjsir

The real reason of this failure is hidden in the cause. The sbt plugin should catch this specific exception and display a more comprehensive error message.

@gzm0 how can I reproduce this exception?

Never mind, I've reproduced it.


[Bug] user should be able to deselect the row

Steps to reproduce:

Add a table
select the table row
re click on it and observe

Observation:
User is unable to de select the row
Expectation:
User must be able to de-select the row selected

This will be picked up in #3407


How to Initialize Imported Scripts

[ ] I'm submitting a bug report
[ ] I'm submitting a feature request
[x] I'm submitting a support request

webpack version:
1.14
sw-precache-webpack-plugin version:
0.11.4
Question
How can I go about initializing an imported script? Specifically, I'm trying to implement Offline Google Analytics.
There's documentation for importing the script but I'm not sure how to initialize afterward:
importScripts('path/to/offline-google-analytics-import.js'); goog.offlineGoogleAnalytics.initialize();

I also like to know how to initialize the imported Scripts? I am trying to use  sw-offline-google-analytics to store analytics in offline mode and send it after coming online.

Any help on this so far?
I have the same issue here...

Can you not initialize the script from the file that is being imported?

@Garito @JackForbes  @krishnappan95
you can do something like this create a js file (example: offline-analytics.js) in your project then add below
importScripts('https://storage.googleapis.com/workbox-cdn/releases/3.6.1/workbox-sw.js');
workbox.googleAnalytics.initialize();

then you in your config include the file
    new SWPrecacheWebpackPlugin({
      cacheId: 'rama',
      filename: 'sw.js',
      minify: true,
      importScripts: [
        _'offline-analytics.js'_
      ]
   })

Just make sure that you able to serve the offline-analytics.js file from your project


Update-ModuleManifest wrongly quotes "Microsoft Corporation"

Run Update-ModuleManifest on any PSD1 file.
Notice it adds the following at the top:

Generated by: Microsoft Corporation
This is wrong. We should not quote Microsof here. We should quote saying that this manifest is autogenerated by using Update-ModulManifest cmdlet.
Also, I noticed that Update-Modulemanifest clears the comments at the top. We should fix this.

The original Update-ModuleManifest would replace the author name with "Microsoft Corporation" in the comments. This bug is fixed in the latest version of PowerShellGet.


Added support to log HTTP requests and responses.

For some applications is valuable to have the option to log HTTP requests and responses. I have just added support to this.
What do you think?

:+1:

looks good to me. @antlypls ?

@prodis In general looks ok. But I suggest revert all style changes, and keep changes that are needed for logging feature. Squash all changes into 1 commit. After that we can merge it.
And if you want you can open separate PR with style fixes.

@antlypls I got it. Done.

@prodis nice!
@psychocandy 👍

@prodis Thank you


Project-specific plugin model

Currently the and-cli is written to be abstract and work for our projects. Inevitably we will want to write some additional commands that we want to remain outside of the and-cli and reside in the project repository.
This issue is to create a plugin model for the and-cli to allow a project to extend the commands. While there could be many ways to do this, it would be ideal from a usage perspective not to have to add any additional configuration for to work.

Going to assign myself for now - I've been hacking in my free time to get a prototype/proof-of-concept working. Running into some interesting performance issues with the restructuring I did, so I've got to work through that.

Published in v1.2.0


lower case 'f'

Docs Build status updates of commit d1e07f8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/TOC.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Show venue in place address

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
#1854
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
I just remove the logic to get the address text from coords from gelocator, IDK why i did that if the current formastted address from autocomplete already has the correct place and address descriptions.
🙈 Screenshots

description 1
description 2

👯♀ Paired with
"nobody"

Is this code adding the venue name?

Yes I add screenshots of the results


links and vertical template

Made a vertical template for the social media options.

Coverage remained the same at 75.503% when pulling 4605f2920403c2a314fba08f94e423e5bb295c93 on mwernimont:master into c358d456eb8af58529b2f7083f0b4fe7832b3a53 on USGS-VIZLAB:0.2.x.

How do you intend to link to the actual social share (i.e. https://twitter.com/share?...)?

Thought we had a social publish option in the works?

Right, I'm getting ahead of myself.


Time is not updated on each message

Timestamp is not updated on each message, only when another says something.
So, if I'm alone typing text from 11AM to 11PM, one message every 5 minutes, all my messages will be displayed as sent on 11AM.
Timestamp should be updated if the previous message of the user is > 59 sec if no one says anything during this interval.
Big problem to me
Thank you

If you don't think it's an issue (I personally do), could you please show me where and what to change to have one new message with his timestamp everytime a post is sended even by the same user ?
Solving this will help for #513
Thank you
PS : Yes, it's in french, I'm trying to find my way for #493

@mmeinert @sibartlett just showed me his pretty elegant solution for this (grouping messages in 5 minute intervals). Should be up in a few.
@mmeinert complete i18n is coming! I'll bug you to help update the french pack :P

@mmeinert I've pushed a change which hopefully improves things: 1d647e6fc302cdcd34f66a6444a9ffd6d231b040
Also, sorry for the delay - both myself and @hhaidar were unavailable, attending a conference.

@sibartlett That's much better, thank you
Don't be sorry, you rocks ;)


Different TOTP result than Google Authenticator app

Hello @mattrubin and thanks for the great work you have done.
I have setup a site in Google Authenticator app and I am trying to get the same TOTP in an app using your library, although probably I am doing something wrong and I get a different one which doesn't work on the site I have setup 2FA.
The code I am using looks like:
  if let secret = "SOMECHARS".dataUsingEncoding(NSASCIIStringEncoding) {
    if let totp = Generator(factor: .Timer(period: 30), secret: secret, algorithm: .SHA1) {
      println("SHA1", totp.password!)
    }
  }

Can you please help me?
p.s: I am testing the code in the same physical device where Google Authenticator is installed, so the time is the same one.

I found the solution.
I wasn't converting the secret to Base32.
Sorry for that.


Real Time Safety Questions

This isn't exactly an issue, so I apologize if this is the wrong place to ask this... seemed like it might start a conversation though.
I see that there is no mention of preempt_rt patch as in the Universal_Robots_ROS_Driver, and the question I have is whether it would be as easy as setting the thread priority in the main thread inside egm_hardware_interface_main.cpp to achieve lower jitter?
The reason I ask is I've had significant problems running the driver I wrote (similar to this one!) on a low-power Intel NUC, where it previously ran fine on a faster Xeon desktop (both with Preempt_RT patch, and priority set in the main thread). What tends to happen is that when a large (10,000+ point) trajectory is published for execution, the main thread hangs for roughly 3 seconds on the waitForMessage() function defined in abb_libegm/egm_controller_interface.h.
I am also curious if the io_service thread should have realtime priority in the event the main thread does? This didn't solve the problem I am having with my driver, but thought it would be worth asking anyway.
Thanks @jontje for putting this together! Looking forward to testing it!
-Josh

Is this about safety or performance?

Both, I think. I'm pretty ignorant of the subject, but I am assuming you are asking if this is about real-time safety, or real-time performance? It seems like they are pretty related, but I'm mostly concerned with ensuring that the control period is 4ms as desired.
Did I answer your question? I apologize if I've misunderstood.

Just going to throw a bit more information out there. I adjusted the timeout for waitForMessage() so as to be more permissive of timing jitter, and put a code block inside of the main control loop in  egm_hardware_interface_main.cpp which prints the control period if it exceeds 10ms. I had found that it regularly exceeded 10ms, often spiking to 30ms. This was not the case with the proprietary EGM driver that I had been using. So, I placed the following code block inside the same file as above, to give the main thread real time priority, as was the case with the driver I had been using:
std::ifstream realtime_file("/sys/kernel/realtime", std::ios::in);
  bool has_realtime;
  realtime_file >> has_realtime;
  if (has_realtime)
  {
    const int max_thread_priority = sched_get_priority_max(SCHED_FIFO);
    if (max_thread_priority != -1)
    {
      // We'll operate on the currently running thread.
      pthread_t this_thread = pthread_self();

      // struct sched_param is used to store the scheduling priority
      struct sched_param params;

      // We'll set the priority to the maximum.
      params.sched_priority = max_thread_priority;

      int ret = pthread_setschedparam(this_thread, SCHED_RR, &params);
      if (ret != 0)
      {
        ROS_ERROR_STREAM("Unsuccessful in setting main thread realtime priority. Error code: " << ret);
      }
      // Now verify the change in thread priority
      int policy = 0;
      ret = pthread_getschedparam(this_thread, &policy, &params);
      if (ret != 0)
      {
        std::cout << "Couldn't retrieve real-time scheduling paramers" << std::endl;
      }

      // Check the correct policy was applied
      if (policy != SCHED_FIFO)
      {
        ROS_ERROR("Main thread: Scheduling is NOT SCHED_FIFO!");
      }
      else
      {
        ROS_INFO("Main thread: SCHED_FIFO OK");
      }

      // Print thread scheduling priority
      ROS_INFO_STREAM("Main thread priority is " << params.sched_priority);
    }
    else
    {
      ROS_ERROR("Could not get maximum thread priority for main thread");
    }
  }

In this case, the control period never exceeds 10ms. However, I had found that the proprietary driver I was using before when run on a slower computer, behaved very poorly when a large trajectory was published for execution. The control period would exceed the timeout on the robot controller and the "Event Message 41822: No Data From UDPUC Device" error would appear. This same behavior was experienced about 50% of the time with this driver as well, when the main thread had real-time priority. However this was not experienced when thread priorities were not changed.
Just to clarify, I am using Ubuntu 18.04 with kernel 5.4.93-rt51. Do you @gavanderhoorn have any direction as to where one may look to solve this? In your assessment, would improving timing performance of this driver be a worthwhile endeavor? I may be wrong in my assumption that the spikes in control period hurt performance in my application, but if this is something that others may be interested in, I'm more inclined to try my hand at solving it.
Thanks,
Josh


add directSubclasses annotation

This gives people a way to control or work around the limitations
of Scala's knownDirectSubclasses method. It also allows generating
a static pickler for non-sealed traits or classes, where the pickler
of course will fail for new subtypes not included in the annotation.
This commit also improves the error message when pickling an unknown
subtype (with this commit it throws PicklingException rather than
MatchError).

Travis logs have a bunch of warnings about unreachable match patterns, which may well be new with my change here, but I haven't looked into it yet.

The warning happens if we generate runtime dispatch, tree ends up as:
       clazz match {
          case _ => {
            val classLoader = this.getClass.getClassLoader;
            val tag = scala.pickling.FastTypeTag.mkRaw(clazz, scala.reflect.runtime.universe.runtimeMirror(classLoader));
            builder.hintTag(tag);
            scala.pickling.runtime.RuntimePicklerLookup.genPickler(classLoader, clazz, tag)
          }
          case (other @ _) => throw scala.pickling.PicklingException("Class ".$plus(other).$plus(" not recognized by pickler, looking for one of: ").$plus(""))
        }

Attempted fix pushed.

Thanks for the prompt fix! LGTM


[Q OS] LineLoginApi.getLoginIntent(...) is not working properly

At Q OS, LineLoginApi.getLoginIntent(...) is not working properly.
If a user clicks "Allow" button, "Grant permission?" screen is shown again.
Please check this operation. :)

Device: Pixel 2
Android Version: Q (QPP1.190205.018.B4)
LINE App Version: 9.4.2

Thanks for reporting this issue. We will look into this issue soon.

How do I fill it out?

please remove all the ":" in SHA string, and try again.

Hi, @fornewid , does this issue still exist?

Um.. it is difficult to check for personal reasons currently. 😭
If it has been fixed, I think this issue can be closed. :)

Okay, I will close it now. If you still encounter the issue later on, please re-open it then.


User preferences ignored

Hey all,
I've had a few users reporting this on reddit and in ElfHosted discord, haven't looked into it yet, but wanted to raise it incase anybody else has seen it, or incase I have a stupid misconfiguration bug somewhere :)
Describe the bug
When a user selects preferences like "no 4K, primary foreign language DE", these are ignored by the addon, and all results are still displayed when the user searches.
To Reproduce
Attempt to configure user preferences on https://torrentio.elfhosted.com/, observe that your preferences are not respected :)
Expected behavior
Preferences would affect the results return from a user search via the addon

Can confirm this is happening on my setup as well, might be related to https://github.com/Gabisonfire/torrentio-scraper-sh/issues/31

how about more options for self host jackett
increase more results pls

This is happening to me, this is the config Im using:
https://paste.pics/dbb8b9a703f595b370c8608542c28960
https://paste.pics/5c6e0deb018a045c8d8a645868690842
4k excluded, no foreign language, 2 results per quality.
And the result Im getting:
https://paste.pics/9c120139dd6dc7351815aa7ffbe96fdf
4k included, 2 results total instead of per quality, italian language instead of english for the 1080p result.

This is happening to me, this is the config Im using:

4k excluded, no foreign language, 2 results per quality.
And the result Im getting:

4k included, 2 results total instead of per quality, italian language instead of english for the 1080p result.
With the same torrentio config for the same episode:

these are the results Im getting:

either english or dual audio with english included, no 4k, 2 results per quality instead of 2 results total.

Here is how I handle this in my other application. I've truncated it down some so that its more standalone here. The logic/methods are pretty straightforward. You'd just call parse method on a string, and it returns a dict. The fetch key is what you'd used to determine if the item is worth fetching or not. It's in python, so you'll need to convert.
Feel free to take what you can use, if its useful at all. Let me know if you have questions, I'm Spoked on discord.
https://github.com/dreulavelle/Nexus/blob/main/utils/parser.py


Fix wrong link for security context

Thanks for the change @wjiangjay !
Can you please sign the CLA as per instructions above (our lawyers require it even for such a small change) and ping this thread. Thanks!

@wjiangjay - great thanks a lot for signing this up.
LGTM


Enable WebXRMeshDetector for OpenXR/UWP in BabylonNative

This review is the native implementation for the following Babylon.js review:
https://github.com/BabylonJS/Babylon.js/pull/9307
When testing this change locally, one will need the 104 OpenXR release installed on a HoloLens 2 device. They will also need to enable preview OpenXR extensions

What are all the submodule updates about?

What are all the submodule updates about?

These aren't intentional. I'll look to revert them now.

I believe the majority of feedback is addressed in this review. We should avoid checking this in until we have an understanding around exposing mesh winding order: https://github.com/BabylonJS/Babylon.js/pull/9575/files


make ignorepattern public and add method MatchesPathHow

A PR for my suggestion #11
Need to add some tests
Sample usage:
gitignore
ignored, reason := gitignore.MatchesPathHow(path)
if ignored {
        if reason != nil {
	   fmt.Printf("Ignored: %s; Reason: Occurs at: line %d %s\n", path, reason.LineNo, reason.Line)
	}
        // else hidden file/folders
}

Coverage decreased (-14.08%) to 78.992% when pulling 803f0f6db46d8f195caa943aaf6889dea437ddbd on phanirithvij:master into 54b8a0bf510f37dbc1ea5078e812653fef8850e8 on sabhiram:master.

Looks good, neat idea for sure. Thanks for the commit, once you are ready we can review and merge.

@sabhiram how to re-run coveralls tests?

I will make a new PR for this.
#15


Docs: include default is missing in tsconfig reference

Page URL: https://www.typescriptlang.org/tsconfig#include
Issue:
Old reference had a paragraph starting with:

If the "files" and "include" are both left unspecified, the compiler defaults to including all TypeScript (.ts, .d.ts and .tsx) files in the containing directory and subdirectories except those excluded using the "exclude" property. JS files (.js and .jsx) are also included if allowJs is set to true.

https://github.com/microsoft/TypeScript-Handbook/blob/master/pages/tutorials/tsconfig.json.md#details
It's missing in new reference. New reference only states that include default is false.
Recommended Fix:
Copy the paragraph from the old reference.

Looks like a typo in the code for extracting the default, should be fixed when #1275 is merged - thanks!


Check if user blocks the bot (but in TS)

It works by finding a message by them and trying to react to it. It returns true, false, or undefined. undefined means that it couldn't figure out if the user blocked or not.
TS version of https://github.com/dirigeants/klasa-pieces/pull/204

The README.md file caused linting errors? I didn't touch it. 🤔
README.md: 5: MD026/no-trailing-punctuation Trailing punctuation in heading [Punctuation: '?']
README.md: 7: MD013/line-length Line length [Expected: 80; Actual: 152]
README.md: 11: MD013/line-length Line length [Expected: 80; Actual: 94]
README.md: 13: MD013/line-length Line length [Expected: 80; Actual: 532]
README.md: 15: MD013/line-length Line length [Expected: 80; Actual: 200]
README.md: 16: MD013/line-length Line length [Expected: 80; Actual: 152]
README.md: 17: MD013/line-length Line length [Expected: 80; Actual: 241]
README.md: 54: MD013/line-length Line length [Expected: 80; Actual: 92]

I haven't linted userBlocksMe.ts locally, btw, with KCP's config (npm is still installing deps), but it passes my (strict) config in my bot.

#2 for the markdown lint errors.


PLT-6871: Change at-mention autocomplete to prioritize entries where …

…the username starts with the search string
PS: Recreated https://github.com/mattermost/mattermost-server/pull/7024
Summary
Change at-mention autocomplete to prioritize entries where the username starts with the search string
Ticket Link
https://mattermost.atlassian.net/browse/PLT-6871
Checklist

[x] Has UI changes

@lindalumitchell @jasonblais here is the new PR from https://github.com/mattermost/mattermost-server/pull/7024.
I also fixed here the js error mentioned in https://github.com/mattermost/mattermost-server/pull/7024#issuecomment-323116314

Thanks @mikaoelitiana! We're still working on getting spinmint test servers set up here - once that's done, we'll test the PR

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0acb1e658467db818.spinmint.com:8065/pr15
Test Account 1: Email<EMAIL_ADDRESS>| Password: passwd
Test Account 2: Email<EMAIL_ADDRESS>| Password: passwd
Instance ID: i-0acb1e658467db818

Awesome, thanks @mikaoelitiana, appreciate all the work and tweaks on this. Looks great! Moving to dev review now.

Spinmint test server destroyed

@mikaoelitiana Let us know if you have any questions about the feedback above?

@jasonblais thank you. I will try to fix this this week


Split tuple inputs in read contract interface

Creates a new component that handles a list of parameters. This design makes recursive tuple input possible. Partially addresses #1192 since only base types of "tuple" are supported - arrays will require an interface for adding and removing elements.

I think this is a good opportunity to make some storybook stories for these components before we have too much of them to test.
Could you write some stories for the tuple case and also for the individual ones so we can easily test/inspect them in the storybook UI?
I think the component to be test could be the label + input box below it. Then we could easily see if tuples, arrays, etc, render the subtypes correctly.

I've added stories for this new component. Note that the tuple types will not be formatted correctly in the stories due to this bug in ethers: https://github.com/ethers-io/ethers.js/issues/4329
The JSON contract ABI returned from Sourcify is immune to this somehow.

oh, fuck... anyway, rebase again plz? I think it got conflicted after I merged the prettier PR.

Done

note to self: a good contract to test it on mainnet is: 0x1111111254EEB25477B68fb85Ed929f73A960582

I'd like to make one last UI adjustment given the recent improvement to color param names/types: see in the screenshot below, in this case, let's replace the "tuple....." with a similar colored string "tuple(...) order" (replacing the giant parameter list with an ellipsis because the params are now described individually).

How it looks now:

it looks good. there is still something missing linking the tuple to the inner params, maybe a different color or extra UI element, I'll think about that in another issue.


code？

Hi, grand
Thank you for your interest in this work. We have submitted an extended version of this paper, and our code will be published as soon as the extended version of this paper is accepted.
Best,
Xuxiang


Add documentation on Vcpkg integration for custom configuration

While it is possible to support custom configurations, like CMake's "RelWithDebInfo", the process is not widely known, and usually involves delving into the sources of Vcpkg, or adding awful hacks in your .vcxproj file.
This fix provides documentation on that subject.
Note: This is currently in the FAQ, but perhaps it could become part, later, of a standalone "Manual Integration" page where we could find "I can't use system-wide integrate, how can I use a per-project integrate" (answer: add the line: <Import Project="[WHERE_VSPKG_IS]\vcpkg\scripts\buildsystems\msbuild" /> in your .vcxproj), etc.

@paercebal,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks for the PR! This really helps clarify those situations!
I've also added some text to the "per-project" integration section to first prefer the integrate project command, which achieves the same as <Import..../> but is easier to manage since it's wrapped in a NuGet package.


This page fails mention that - in some contexts - only single quotes are allowed in expressions calls.

Summary: There are many examples on this page that use double quotes in the expression calls, but this is not allowed, according to Microsoft's own recommend solutions. In my experience, in some contexts double quotes are accepted, in others they are not. It would be very helpful if this behavior was documented and clarified on this page.
Details can be found below:
When I wanted to submit a support request for issues I had with using correctly formed json strings (with keys and values between double quotes) as input for the json() expression to populate a parameter of a Linked Service definition, the following recommended solution solved my problem:

Only single quotes can be used within expressions, while double quotes are reserved to mark the ends of the entire expression. Single quotes can be escaped with an additional single quote, however it's may be hard to see depending on font and easy to get wrong. Please use extra caution when leveraging these capabilities. For example, one in following expression is within pairs of two single quotes (not a pair of double quotes): "@json('{''one'':1}')".

The solution helped, but there's no mention of this requirement on this page, and the examples given with multiple expressions such as json(), string(), xml() and xpath() functions do not conform to this requirement.
When trying to reproduce the error, I did notice that double quotes in expressions are accepted in some contexts, but not in others. For example, it works when dynamically populating a variable in the the Set Variable activity, but it doesn't work when dynamically populating a parameter value for a Linked Service. The latter case produces this error notification:
{"code":"BadRequest","message":"Encounter invalid json format while parsing the string to json, please check and remove the special character in the parameter","target":"[removed by author of this issue]","details":null,"error":null}`

If you need more detail, let me know

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 76e31411-f1a2-710b-94c0-39acf9e7314b
Version Independent ID: d5cefffe-dee0-2d2e-f3cb-8eefd5d40d17
Content: Expression and functions in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/control-flow-expression-language-functions.md
Service: data-factory
GitHub Login: @dcstwh
Microsoft Alias: weetok

Thank you for your detailed feedback.  We are looking into the issue, and we will respond when we have more information.

Thank you for your feedback @Marnixvdb  . This has been assigned to the content owner, @dcstwh  and will be updated as appropriate.

Thank you for the feedback @Marnixvdb .
Please work with support who is handling your case, and ask them to share the feedback on the details of the issue offline.
#please-close

@dctswh Maybe my initial post was a little ambiguous about this, but I didn't end up filing a support request for this issue, as one of the suggested solutions listed before submitting a request helped me solve my problem. I filed this comment on the documentation, because some of the code examples on this page are in contradiction with the suggested solution, and because the recommendation from the suggested solution is not mentioned on this page.
I do have a ADF support request with Microsoft on how object parameters are handled, but as far as I am aware, this documentation issue isn't (directly) part of that track.
If you would rather have me file a support request about the fact that the code examples on this page don't work in all contexts in ADF, let me know and I'll do that. Otherwise, my suggestion is to re-open the issue, and improve this page by including the information from the recommended solution.


Lazy load CondaPkg (and Pkg), I think LazyModules for that, or better option?

At least when I set:
ENV["JULIA_CONDAPKG_BACKEND"] = "Null"
I get: ERROR: InitError: CondaPkg is using the Null backend but Python is not installed
though, so not investigating further (I have Python installed).
With this one loads but not any faster (but should too):
ENV["JULIA_PYTHONCALL_EXE"] = "@PyCall"  # optional

julia> ENV["JULIA_PYTHONCALL_EXE"] ="/usr/local/bin/python3";

julia> @time using PythonCall
┌ Warning: Python library "/usr/local/lib/python3.12/config-3.12-x86_64-linux-gnu/libpython3.12.a" could not be opened.
└ @ PythonCall.C ~/.julia/dev/PythonCall/src/C/context.jl:122
┌ Warning: Python library "/usr/local/lib/libpython3.12.a" could not be opened.
└ @ PythonCall.C ~/.julia/dev/PythonCall/src/C/context.jl:122
ERROR: InitError: Could not find Python library for Python executable "/usr/local/bin/python3".

If you know where the library is, set environment variable 'JULIA_PYTHONCALL_LIB' to its path.

This is probably the best option, CondaPkg, loads very slowly, and even slower than I though, when not in the REPL, but in the REPL CAN be very fast. The problem is Pkg, and it's probably very hard for you to load it lazily, rather load CondaPkg lazyly, to not have to deal with the Pkg complexity.
See here: https://github.com/JuliaLang/julia/pull/55721#issuecomment-2337805245

@cjdoris I'm considering, instead on lazy loading CondaPgk, to copy it over and include it into PythonCall.
It's sort of trivial to do, yes code duplication, not usually wanted, but I was thinking then I could more easily trim it down to the bare minimum.
Why? And what's the benefit, then CondaPkg (only) could just handle the Pkg dependency and its slowness... and that's ok/tolerable for something only needed for REPL/"UI package".
How do you like that idea? And CondaPkg would rather depend on PythonCall for the shared code (or it could go to a third place).
[While JSON3 parsing is super fast at runtime I believe, it's a bit slow to load, and then CondaPkg could rather use Python's JSON parsing... I kind of wanted that optimization for loading speed, and then it would need such an arrangement, but if decopled then I wouldn't bother with optimizing CondaPkg load speed. It is for sure not speed critical and basically only a UI package?
I think CondPkg isn't just used for Python, but Conda/mamba in general, e.g. for R, so then it would be a bit strange to rely on Pythn too, just for JSON parsing...]

I'm not in favour of code duplication - it is rarely the answer and makes maintenance a nightmare. I'm confident we can fix the slow-downs in CondaPkg directly.

In CondaPkg, Pkg is only used in two places: (a) the Pkg REPL mode and (b) in the slow path of resolve() (i.e. we cannot skip resolving).
(a) Can probably be solved with some combination of more precompilation, moving the code into an extension, and only doing some bits in interactive mode.
(b) Can probably be solved by only loading Pkg in the slow path (which is already slow so we don't care about any more slowdown).

I meant moving, by duplicating/copying.. (then later removal in CondaPkg, but I was only, for now, offering exploring moving/duplicating into PythonCall, to see if viable; though if you disagree I wouldn't bother trying if you do not like the code ending up there).
Moving implies (copy and) deleting at the source (at least eventually), and somebody need to do the deleting, yes, just not a priority for me. :) It shouldn't be deferred for long.
I basically brought this up to see if you want PythonCall to load faster (somehow), and if you want me to look into at least doing part of the work. Lazy loading CondaPkg only doesn't seem to work because it's fully deferred until you lazily load it and it seems you need some of the code right away why it needs copying I think. Because importing is all or nothing.

I don't think there's any code in CondaPkg that can be removed though - it's all needed for CondaPkg to run correctly. And remember that CondaPkg does not purely exist for PythonCall, it is useful in its own right, otherwise CondaPkg would just be a part of PythonCall (which it was a very long time ago).


Event log messages show the wrong description

Describe the issue
When attempting to inspect the Event Logs from a container, they all have the wrong description in the "General" tab of a log entry, while the XML shows the correct details.
Scripts used to create container and cause the issue
New-BcContainer bctest200 `
    -accept_eula `
    -alwaysPull `
    -artifactUrl (Get-BCArtifactUrl -type OnPrem -country DK -version 20) `
    -assignPremiumPlan `
    -auth NavUserPassword `
    -doNotExportObjectsToText `
    -enableTaskScheduler `
    -isolation process `
    -licenseFile "BC 20 DEV.flf" `
    -updateHosts

Full output of scripts
BcContainerHelper version 3.0.11
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.11
BcContainerHelper is running as administrator
Hyper-V is Enabled
UsePsSession is True
Host is Microsoft Windows 10 Enterprise - 21H2
Docker Client Version is 20.10.16
Docker Server Version is 20.10.16
Removing Session bctest200
Removing container bctest200
Removing entries from hosts
Removing bctest200 from container hosts file
Removing bctest200-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bctest200
Fetching all docker images
Fetching all docker volumes
INFO: Windows 10 21H1/21H2 images are not yet available, using 2004 as these are found to work better than 20H2 on 21H1/21H2
Pulling image mcr.microsoft.com/businesscentral:10.0.19041.1415
10.0.19041.1415: Pulling from businesscentral
Digest: sha256:aa9f9d0779654ab9dba736a43141591a70fa419c4a9a57fd8a517086841280ff
Status: Image is up to date for mcr.microsoft.com/businesscentral:10.0.19041.1415
mcr.microsoft.com/businesscentral:10.0.19041.1415
Using image mcr.microsoft.com/businesscentral:10.0.19041.1415
Creating Container bctest200
Style: onprem
Multitenant: No
Version: 20.2.41144.41423
Platform: 20.0.41086.41354
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19044.1766 (21H2)
Using process isolation
Using locale da-DK
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\BC 20 DEV.flf
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\bctest200\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bctest200 from image mcr.microsoft.com/businesscentral:10.0.19041.1415
eb37539c44002f5150276135476b9be6e00f4fe7ab6ad151e62986a0beea035e
Waiting for container bctest200 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/onprem/20.2.41144.41423/dk
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\20.2.41144.41423\platform\ServiceTier\Program Files
c:\dl\onprem\20.2.41144.41423\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\20.2.41144.41423\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\20.2.41144.41423\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\onprem\20.2.41144.41423\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\onprem\20.2.41144.41423\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\onprem\20.2.41144.41423\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\onprem\20.2.41144.41423\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\onprem\20.2.41144.41423\platform
c:\dl\onprem\20.2.41144.41423\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\onprem\20.2.41144.41423\dk\ConfigurationPackages
Copying Test Assemblies
C:\dl\onprem\20.2.41144.41423\platform\Test Assemblies
Copying Applications
C:\dl\onprem\20.2.41144.41423\dk\Applications
Copying dependencies
Copying ReportBuilder
Using artifactUrl https://bcartifacts.azureedge.net/onprem/20.2.41144.41423/dk
Using installer from
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\20.2.41144.41423\platform\ServiceTier\Program Files
c:\dl\onprem\20.2.41144.41423\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\20.2.41144.41423\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\20.2.41144.41423\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\onprem\20.2.41144.41423\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\onprem\20.2.41144.41423\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\onprem\20.2.41144.41423\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\onprem\20.2.41144.41423\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\onprem\20.2.41144.41423\platform
c:\dl\onprem\20.2.41144.41423\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\onprem\20.2.41144.41423\dk\ConfigurationPackages
Copying Test Assemblies
C:\dl\onprem\20.2.41144.41423\platform\Test Assemblies
Copying Applications
C:\dl\onprem\20.2.41144.41423\dk\Applications
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing license file
Stopping Business Central Service Tier
Installation took 162 seconds
Installation complete
Initializing...
Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Starting Container
Hostname is bctest200
PublicDnsName is bctest200
Using NavUserPassword Authentication
Creating Self Signed Certificate
Self Signed Certificate Thumbprint FD50F3C12B4525E420BBBC976351BB36C2F384E6
DNS identity bctest200
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to True
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Using license file 'c:\run\my\license.flf'
Import License
Creating http download site
Setting SA Password and enabling SA
Creating mt as SQL User and add to sysadmin
Creating SUPER user
Assign Premium plan for MT
Container IP Address: <IP_ADDRESS>
Container Hostname  : bctest200
Container Dns Name  : bctest200
Web Client          : http://bctest200/BC/
Dev. Server         : http://bctest200
Dev. ServerInstance : BC
Setting bctest200 to <IP_ADDRESS> in host hosts file

Files:
http://bctest200:8080/ALLanguage.vsix

WARNING: You are running a container which is 118 days old.
Microsoft recommends that you always run the latest version of our containers.

Container Total Physical Memory is 31.6Gb
Container Free Physical Memory is 15.3Gb

Initialization took 126 seconds
Ready for connections!
Reading CustomSettings.config from bctest200
Creating Desktop Shortcuts for bctest200
Container bctest200 successfully created
Health check returns False, restarting container
Removing Session bctest200
bctest200
Waiting for container bctest200 to be ready

Initializing...
Setting host.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to <IP_ADDRESS> in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
Restarting Container
PublicDnsName unchanged
PublicDnsName is bctest200
Starting Local SQL Server
Starting Internet Information Server
Starting Service Tier
Container IP Address: <IP_ADDRESS>
Container Hostname  : bctest200
Container Dns Name  : bctest200
Web Client          : http://bctest200/BC/
Dev. Server         : http://bctest200
Dev. ServerInstance : BC
Setting bctest200 to <IP_ADDRESS> in host hosts file

Files:
http://bctest200:8080/ALLanguage.vsix

Container Total Physical Memory is 31.6Gb
Container Free Physical Memory is 15.8Gb

Initialization took 33 seconds
Ready for connections!

Use:
Get-BcContainerEventLog -containerName bctest200 to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName bctest200 to get debug information about the container
Enter-BcContainer -containerName bctest200 to open a PowerShell prompt inside the container
Remove-BcContainer -containerName bctest200 to remove the container again
docker logs bctest200 to retrieve information about URL's again

Screenshots
General tab of the event log entry:

EventData in the Details-tab:

Additional context
I am using Docker on a host machine that does not have a Business Central installation, which might be the reason it's not resolving the log entries correct.
This isn't a critical issue by any means, but wanted to let you know in case there's anything that can be done to fix it.

I have noticed this as well and I don't know if anything can be done about this.

I think I may have found a solution to this. In order to package the event log data so that it's readable without the event publisher, you need to run wevtutil with the archive-log flag. This code change worked for me:
    $eventLogName = Join-Path $eventLogFolder ($containerName + ' ' + [DateTime]::Now.ToString("yyyy-MM-dd HH.mm.ss") + ".evtx")
+   $locale = (Get-WinSystemLocale).Name
+
-   Invoke-ScriptInBcContainer -containerName $containerName -ScriptBlock { Param([string]$path, [string]$logname)
+   Invoke-ScriptInBcContainer -containerName $containerName -ScriptBlock { Param([string]$path, [string]$logname, [string]$locale)
        wevtutil epl $logname "$path"
+       wevtutil al "$path" /locale:$locale
-   } -ArgumentList (Get-BcContainerPath -containerName $containerName -Path $eventLogName), $logname
+   } -ArgumentList (Get-BcContainerPath -containerName $containerName -Path $eventLogName), $logname, $locale

I now get messages in Event Viewer with the full description:

Would you like me to make a pull request for this, Freddy?

Wow, thanks - yes a PR would be very welcome.

Shipped in the latest prerelease

Shipped in 4.0.3


Create 7tv

Pull request checklist:

[ ] CHANGELOG.md was updated, if applicable

Description

what?

Bro did in fact create it


cam.py

Traceback (most recent call last):
File "/media/deep/Data/4_WSOD/pytorch-grad-cam/cam.py", line 133, in
grayscale_cam = cam(input_tensor=input_tensor,
File "/media/deep/Data/4_WSOD/pytorch-grad-cam/pytorch_grad_cam/base_cam.py", line 188, in call
return self.forward(input_tensor,
File "/media/deep/Data/4_WSOD/pytorch-grad-cam/pytorch_grad_cam/base_cam.py", line 74, in forward
outputs = self.activations_and_grads(input_tensor)
File "/media/deep/Data/4_WSOD/pytorch-grad-cam/pytorch_grad_cam/activations_and_gradients.py", line 42, in call
return self.model(x)
File "/home/deep/Libraries/anaconda3/envs/wsod2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/home/deep/Libraries/anaconda3/envs/wsod2/lib/python3.8/site-packages/mmcv/runner/fp16_utils.py", line 116, in new_func
return old_func(*args, **kwargs)
TypeError: forward() missing 1 required positional argument: 'img_metas'

To have any chance at helping, I would need context: what kind of model are you using,
does the model forward pass work on an inout tensor? or does it expect img_metas ?
You might need to create a wrapper for the model so it works on an image.

Thank you for your answer.My model requires 4 parameters.So I need to input 4 parameters in (input_tensor = torch.autograd.Variable(input_tensor, requires_grad=True))?


BALANCE_CACHING_FREQUENCY to EWalletConfig #767

Subject of the issue
Describe your issue here.
Your environment
Tell us where this issue occurred.
Steps to reproduce
Tell us how to reproduce this issue.
Expected behavior
Tell us what should happen.
Actual behavior
Tell us what happens instead.

Tryout

Tryout


Updating Changelog

@MadejaMaciej Please, try to remember about updating CHANGELOG.md from time to time:

Based on closed issues
Once per bi-week sprint is enough or as often as you prefer (can be with every commit or branch merge, if you wish)
Only important things (that adds real business value to the game), no side works like extracting images or researching, please

Game versioning -- simplified sem-ver:

MAJOR -- never, single game version = single factory, so always 1
MINOR -- +1 each time you successfully publish something to app stores
PATCH -- each two weeks (+1 per sprint)

Simplified, meaning auto-increase each sprint, no need to increase version number with real patches, hot-fixes etc.

Shouldn't patch be each time I add something/fix something? I have a tool already setup that with PR created it increments what I want.

Closed due to it being persisten task, no need to be "open"


pull request for e2e test at 01/30/2017 17:26:21

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


One node of a three node cluster is slowly running out of disk space

Hi,
one of my nodes is slowly running out of disk space due to an ever growing /var/lib/flynn/volumes. A "flynn-host volume gc" deleted some volumes, but that didn't bring much:

Before: 74805658	/var/lib/flynn/volumes/zfs
After: 72157416	/var/lib/flynn/volumes/zfs

Any clues? Maybe not anymore needed slugbuilder caches are the cause?

So this morning I had a meltdown (the first since march 2016 :)) and had to restore from backup:

Two of three nodes went down due to maintencance of the VM host
They rebooted and came back
The cluster mostly came back except the MariaDB
One of the nodes ran out of disk space (it was close anyway) and I saw no way to clean the disk space, see above

So a tool to remove unwanted zfs volumes would be great like "older than x days and currently not in use".
Here is the disk space of the new cluster since a few hours:

Note the available disk space going slowly down. No deployment happened during this time.
Just in case, the debug logs: https://philiplb.de/misc/flynn-host-debug-2017-01-12-11-35.tar.gz

@philiplb if you are using the sparse file for the ZFS pool (which is the default) then it is configured to grow to 70% of the root disk, it will not shrink when removing volumes (you can check the space available within the zpool with sudo zpool list).
I strongly suggest using a dedicated disk for the zpool (see here).

@lmars
I do actually. How can I check the size of the sparse file?

@philiplb you can check the size of the sparse file with ls -s:
$ ls -lhs /var/lib/flynn/volumes/zfs/vdev/flynn-default-zpool.vdev
11G -rw------- 1 root root 207G Jan 12 14:05 /var/lib/flynn/volumes/zfs/vdev/flynn-default-zpool.vdev

Here, 207G is the configured size (i.e. 70% of my root disk which is ~300G), and 11G is the size of the file on the filesystem.
Because ZFS is using the sparse file like a real disk, it will just keep allocating blocks from the file (i.e. consuming real space on your root disk), but it won't clean those blocks when you delete a volume because that is not usually necessary when using a block device (i.e. the blocks can be overwritten in the future, but they will not be zeroed out).
So if you are using the sparse file, you should expect it to use 70% of your root disk regardless of how big the data in the zpool is, and if that is an issue you should switch to using a dedicated disk for the zpool as mentioned.

@lmars Yeah, I see. Thank you for the detailed answer. Now I can investigate, where the 30GB left of the 100GB disk went.

@philiplb

The mount folder contains mounts "into" the sparse file and so it doesn't consume more disk space?

Yes /var/lib/flynn/volumes/zfs/mnt contains directories which are mounted from ZFS zvols, so they all exist on the sparse file.
You may find this command useful to list the 50 top directories by space used on the root disk:
$ sudo du --separate-dirs --one-file-system / | sort -n | tail -50

@lmars Thank you, that's a handy command.
The biggest folder beside the sparse file is indeed /var/lib/docker/aufs/diff with 26G. Is this mounted from within the sparse file as well or is it separate?
If separate, can I limit its size somehow? Aka what is it actually? I don't use the docker capabilities of Flynn (yet), so it confuses me a bit here.

@philiplb did you previously have a old version of Flynn on this host? We switched away from AUFS in version v20161114.0, so if you are on a more recent version you can safely delete that directory:
$ sudo rm -rf /var/lib/docker/aufs

@lmars This cluster went through every stable update since 20160327 indeed.
Thank you very much for the support, now the cluster is safe again IMHO, no matter if the sparse file grows to its maximum. :)


Only attempt RTD build for upstream

The build fails for forks because they don't have secrets, so skip that step for forks.
For example:
Error: Input required and not supplied: webhook_url

https://github.com/hugovk/siibra-python/actions/runs/6909815054/job/18801835122

LGTM
apologies, we are in the middle of administrative tasks, and may not be very responsive until sometime next week.

Hello, reminder for this :)

Closing this year-old PR, happy to re-open if there's any interest.


Null Safety

Null Safety Support

should we consider this package still maintained ?? really need null safety support out there and a PR is available since a month now. @martinrybak when are you available ?

Any updates on this? or anyone that has upgraded or someone wanna fork and start migrating? I can help.

MY app wont even build right now due to no null safety


Chapter references in book differ from repository

Got my hands on a sample of first chapter. In going through code given, there are noticeable differences in how book refers to chapter code in git repository and existing git repository.
For example, on page 7 is the section Building your first project, which walks user through the basic of CMake usage. The book sample I saw showed chapter code as chapter_1. However, repository uses chapter01.
Also of note is that there are two references to chapter 13 code in repository (both chapter_13 and chapter13). Unknown which reference is used in book.
Lack of consistency detracts from reading.

Hi @scottfurry thank you very much for the feedback, I will take that up with the editors of the book and see if how we can correct that.

This issue was adressed in the second edition of CMake Best Practices


Question - Is it possible to have a read only twitch js ?

Hey,
(Thanks for this new project ! :))
I was wondering if it's possible to use twitch js without being connected to the chat ?

Do not input an identity in the options and you'll connect anonymously.
const twitchJS = require('twitch-js');

const client = new twitchJS.Client({
        channels: [ 'channelname' ]
    });

client.on('chat', console.log);

client.connect();

Oh wow, that easy, thanks a lot !


(PUP-7190) confine Acceptance test: utf-8 characters in function args

The new acceptance test tests/utf8.utf8-in-function-args.rb was failing on the stable branch against aix and hauwei. This commit confines the test from running on aix and huawei.

  The problem is fixed by pull 5627
https://github.com/puppetlabs/puppet/pull/5628
@ericldelaney

Oops. Meant to refer to this link:
https://github.com/puppetlabs/puppet/pull/5627


Update channels.csv

See title

Would someone be kind enough to quash that bug! My editor refuses to delete it.

Bug quashed!


NIFI-3380: Rebase issues

NIFI-3380:

Addressing remainder of the issues from recent rebase.

Merged


Executor should depend only on the secrets through JobSpec

As part of this, let's avoid depending on secrets which are precreated outside in the kubernetes and let's just rely on the secrets provided in the optimus server.
Acceptance Criteria :
All officially supported plugins, should be changed to use these new secrets.

We have kept existing mechanism of secrets for backward compatibility, if the secrets are provided through job spec, they will be consumed in the plugin executor.


New container NextMajor BC24

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Create new container for NextMajor BC 24. The execution stops with error:
Using NavUserPassword Authentication
**********************************************************
*** > Step 1: Execute containerHelper script.
*** > Step 2: Download artifacts.
*** > Step 3: Load management module.
*** >         Module: C:\bcartifacts.cache\sandbox\24.0.16410.17858\platform\ServiceTier\program files\Microsoft Dynamics NAV\240\Service\Management\Microsoft.Dynamics.Nav.Management.dll
*** > Step 4: Get manifest.
*** > Step 5: Locate bak file.
*** >         Bakfile: c:\bcartifacts.cache\sandbox\24.0.16410.17858\be\BusinessCentral-BE.bak
*** > Step 6: Import management module.
*** > Step 7: Prepare database restore.
*** > Step 8: Restore database.
*** >         Params:
*** >            DatabaseName : cmfrtcronus.containers.local
*** >            FilePath : c:\bcartifacts.cache\sandbox\24.0.16410.17858\be\BusinessCentral-BE.bak
*** >            DatabaseInstance : BCDEMO
*** >            DatabaseServer : localhost
*** >            DestinationPath : C:\Program Files\Microsoft SQL Server\MSSQL15.BCDEMO\MSSQL\DATA\cmfrtcronus
Error restoring databases. Error was **The system cannot find the file specified**.

I added those "steps" myself, to be able to locate the issue. It stop at New-NavDatabase because the bakfile is not found.
But it is at the correct location en can be accessed without any problem. Running the command manually results in the same error. The scripts are using PS 5.1.

Forget about that suggestion - this code is running on the host.
If you try to run this:
    Remove-BcDatabase `
        -databaseServer $databaseParams.databaseServer `
        -databaseInstance $databaseParams.databaseInstance `
        -databaseName "$($databaseParams.databasePrefix)%"

    Restore-BcDatabaseFromArtifacts `
        -artifactUrl $artifactUrl `
        -databaseServer $databaseParams.databaseServer `
        -databaseInstance $databaseParams.databaseInstance `
        -databasePrefix $databaseParams.databasePrefix `
        -databaseName $databaseParams.databaseName `
        -multitenant:$databaseParams.multitenant

with the right parameters - does that also fail?

Yes, it also fail with the same error message. On another server we do not have that issue when running it with version 6.0.6 of BcContainerhelper and BC 24 version ...

I installed PS7 on the host ... everything is working well now. I did not think of that. Thanks.

That makes a ton of sense,
All BC Cmdlets now are running PS7 - the PS5 version will spawn a PS7 process to run the cmdlet, meaning that PS7 is a pre-requiresite on the host for some things


pdf created before page render

I am trying to convert map into pdf file but my pdf file is created before map tiles loaded into the page.
in pdf getting half loaded map.

because of javascript async nature .
refer this link [https://github.com/caolan/async] for further reference