Virtual Radiograph Generation Module

Static 3DCT Radiograph generation support

This PR enables the support of virtual radiograph (VRG) generation of static 3DCT volumes
Allows for VRG generation to use either manually placed cameras (markup fiducials) or automatically optimized cameras
Adds calculateDataIntensityDensity CLI module

For evaluating each VRG

Adds virtualRadiographGeneration  CLI module

For rendering a VRG using VTK

Updates the pre-processing tab to use the above CLI modules

See documentation PR https://github.com/BrownBiomechanics/Autoscoper/pull/202

After this is integrated two follow-up PRs will be opened

To add a CLI module to perform segmentation
To add support for Sequential 3DCT and 4DCT

Final ToDo:

[x] Update version of Autoscoper used once the following PRs have been merged over there:

https://github.com/BrownBiomechanics/Autoscoper/pull/147
https://github.com/BrownBiomechanics/Autoscoper/pull/202

[x] Better support for getting output from CLI modules (ie not just reading the output) -> See #55
[x] Better event handlers for CLI modules -> See #55

Awesome, all tabs tested with PRE PROC LEFT Hop Knee .

after generating a config file- the camera yaml file fails to read in

after generating a config file- the camera yaml file fails to read in

Looks like I forgot to change the yaml file to a json file in the name, sorry about that. Should be good to go now.

On launch:

Where did we land with the batch generation of multiple volumes? For a given series of 3d volumes- we'll want to process and create a cfg

Where did we land with the batch generation of multiple volumes? For a given series of 3d volumes- we'll want to process and create a cfg

I think it makes the most sense to include the 3d series with the 4DCT PR since Slice represents them with the same data structure.

0
The auto cam placement seems to have stalled/crashed at 40%:

I am addressing the issues
calculateDataIntensityDensity -> CalculateDataIntensityDensity
virtualRadiographGeneration -> VirtualRadiographGeneration

Renamed modules:

calculateDataIntensityDensity -> CalculateDataIntensityDensity
virtualRadiographGeneration -> VirtualRadiographGeneration

Rename VirtualRadiographGeneration parameters:

outputFName -> outputFileName
width -> outputWidth
height -> outputHeight

Update check of CalculateDataIntensityDensity parameters to be consistent with how CalculateDataIntensityDensity are checked.

Since the CLI are not directly used, I also suggest to move the CLI modules into a called Tracking.Advanced:

How does that sound ?

Since the CLI are not directly used, I also suggest to move the CLI modules into a called Tracking.Advanced:

How does that sound ?

Makes sense, I think that's fine.


types: simplify assembly formats by using type constraints

Most of our ops do not utilize Constrains which can be used to verify operations.
For example, it may enforce that for BGV mul ops, that their ring parameter must be the same across inputs and outputs, or that the inputs size must be the same, while their output size is predicatable one greater.
These also allow simplification of the assembly format.

#149

In regard of assembly format for SameOperandsAndResultType ops.
@asraa , @j2kun could you please comment on the options, propose new ones ?
// Current:
%z = bgv.mul(%x, %y) : !bgv.ciphertext<rings=#rings> -> !bgv.ciphertext<rings=#rings, dim=3>
%q = bgv.modulus_switch(%x) {from_level = 1, to_level=0} : (!bgv.ciphertext<rings=#rings>) -> !bgv.ciphertext<rings=#rings, dim=2, level=0>

// Option 1. Render `rings` spec before the ciphertext first operand,
// render all ciphertext operands without `rings` attribute
%z = bgv.mul(%x, %y) : <rings=#rings> !bgv.ciphertext -> !bgv.ciphertext<dim=3>
%q = bgv.modulus_switch(%x) {from_level = 1, to_level=0} : <rings=#rings> !bgv.ciphertext -> !bgv.ciphertext<dim=2, level=0>

// Option 2. Do not render `rings` at all,
// assuming that in most cases within block all operation will be done on the same rings, so no disambiguation is needed.
%z = bgv.mul(%x, %y) : !bgv.ciphertext -> !bgv.ciphertext<dim=3>
%q = bgv.modulus_switch(%x) {from_level = 1, to_level=0} : !bgv.ciphertext -> !bgv.ciphertext<dim=2, level=0>

In all of these cases the type actually legitimately changes, though, right? So we can't use a type constraint that asserts equality to simplify the assembly format.  In that case I don't mind keeping the more verbose syntax, at least to promote consistency.


Nvidia kernel arguments should be sidestepped on non Nvidia hardware

Using the default kernel arguments the Steam Deck fails to properly load amdgpu
Removing Nvidia related arguments as well as nomodeset addresses this allowing amdgpu to load successfully

May also be worth separating the nvidia builds into their own -nvidia variant, if only to save space in AMD configurations.

I can certainly do that sometime this week :)


Dev

Functionality to add coin to exchange

The Coin field on the Exchange schema is suppose to hold an array of coin ID
req.body.coinIDs should  be expecting  an array instead of string

The Coin field on the Exchange schema is suppose to hold an array of coin ID
req.body.coinIDs should  be expecting  an array instead of string

Yeah, that's why I made the type an array of string, the coin ids are strings right?  Okay I'll do that

Yeah, that's why I made the type an array of string, the coin ids are strings right?  Okay I'll do that

@Emibrown please review the latest commit

@Emibrown please review the latest commit


Misc improvements + Alternative connection mode

Couple of small fixes/changes:

Fix typo in setDisconnectTimeout
Set TX power to max (9db) by default, based on https://github.com/h2zero/esp-nimble-cpp/blob/master/examples/Advanced/NimBLE_Client/main/main.cpp
Add extendDisconnectTimeout(); to remaining succesfully completed commands
Better failure handling while obtaining references to the KeyTurner (Pairing) service, based on https://github.com/h2zero/esp-nimble-cpp/blob/master/examples/Advanced/NimBLE_Client/main/main.cpp

Add an alternative connection mode when NUKI_ALT_CONNECT is defined, based on https://github.com/h2zero/esp-nimble-cpp/blob/master/examples/Advanced/NimBLE_Client/main/main.cpp.
Issues reported on Nuki Hub Discord and Github point to dangling BLE connections with the current connect function of this library. The proposed alternative connection mode seems to fix these issues. By using this mode only when NUKI_ALT_CONNECT is defined aim for maximum compatibility while testing this mode on a larger group of users.
Edit: With the alternative connection mode the ESP32-C6 also seems stable (although it still won't pair, needs manual pairing)

Hi,
Are you sure increasing the TX power is necessarily a good idea? With radios, more isn't always better. Maybe we should make this configurable, it could really depend on the local environment of the user wether or not this makes sense.


NIFI-3639 - Implemented HBase Get functionality for HBaseClientService

NIFI-3639 - Implemented HBase Get functionality for HBaseClientService
Code changes have been tested with current NiFi / maven build, which completed successfully.

This is my first PR on Github, please let me know if there is anything I could improve on or if anything is incomplete.

Hi @baolsen , thanks for contributing!
One question, is there any difference between the get method being added, and using the existing scan method with startRow and endRow being the same value?
There is a new FetchHBaseRow processor in master that hasn't been released yet, and its using scan to fetch a single row:
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-hbase-bundle/nifi-hbase-processors/src/main/java/org/apache/nifi/hbase/FetchHBaseRow.java#L259-L262

Hi @bbende, my pleasure!
Thanks for the quick response.
The intention was to use the Get for another processor I am writing which just needs single row lookups (didn't at first realise that FetchHBaseRow was also doing single row lookups).
I had assumed that a Get would be more efficient than a Scan for fetching single rows.
However, upon further reading it seems that the HBase client API uses a Scan implementation for Gets as well. https://www.cloudera.com/documentation/enterprise/5-4-x/topics/admin_hbase_scanning.html
There are some stack overflow questions regarding Get performance being poorer than Scan, especially when using a key prefix in the scan as opposed to a full rowkey.
https://www.quora.com/What-is-the-difference-between-get-and-scan-in-HBase
It's a little unclear what scenarios cause this performance difference, or whether one approach is more performant in general eg. when the rowkey is a full rowkey as in our case.
In summary, seeing as the HBase client API uses a Scanner under the hood when doing a Get, there should be no real benefit to having a Get added to the code (at least not without doing some practical benchmarks).
I'll use the Scan for my processor instead since it already has the functionality I need. Will add the processor as a separate PR.
Can I close this PR, or does that need to be done on your side?
Also, I see that the automated checks have failed (looks like other components' tests). Is this something I should worry about for my next PR? :)

@baolsen  you should check your style of code .

@baolsen Thanks for the info. I believe only you can close the pull request on your end.
As far as the automated checks, you can ignore appveryor, but the travis build should be passing as of yesterday. Looking at the travis logs for your build it shows:
[INFO] --- maven-checkstyle-plugin:2.15:check (check-style) @ nifi-hbase-client-service-api ---
[WARNING] src/main/java/org/apache/nifi/hbase/HBaseClientService.java[131] (regexp) RegexpSinglelineJava: Line has trailing whitespace.
You can detect this locally by running "mvn clean install -Pcontrib-check" before submitting anything. The contrib-check will fail if anything doesn't pass checkstyles or the RAT licensing check.

Great, thanks for all the info.
Will close this PR meanwhile.


Sign fewer binaries

Adding a script to copy binaries over separately for signing, to avoid duplicates.

#55881

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

:shipit:


DS-102: Expand new-component docs

Jira
DS-102
Summary
Expanded upon existing documentation for creating a new component.
Details
After creating a new component I have some feedback on how we might update the relevant documentation based on instruction from the DS team. What I have added here should help mitigate the particular points where I stumbled for anyone else taking this on.
How to test
View the docs page here, and review what was added (everything below the second paragraph).

That all looks great to me @danielamorse!


Allow package to be used with node 13 and 14

@koendeschacht Thank you. Good call 🚀

@cjpatoilo  Thanks!


Stop vendoring proxy dependencies

Currently, the proxy has many of its dependencies vendored in this git repository. These libraries are now being developed in their own git repositories. We should update the proxy to track these repositories in a controlled fashion.

Tower: https://github.com/tower-rs/tower
Tower H2: https://github.com/tower-rs/tower-h2
Tower gRPC: https://github.com/tower-rs/tower-grpc
Codegen: https://github.com/carllerche/codegen

Additionally, the proxy should probably track Tokio & futures development:

Tokio: http://github.com/tokio-rs/tokio
Futures: https://github.com/alexcrichton/futures-rs/tree/tokio-reform

We want to make sure that breaking changes in these repositories do not break our build, so we should pin to specific git refs.

I believe this was closed by #225.


Remove monospace/fixed-width from the ResourceImporterImageFont name and description.

See https://github.com/godotengine/godot/issues/93199
The source image for the ResourceImporterImageFont is expected to be a uniform grid of characters, but since advances and kerning can be customized, the resulting font is not necessarily monospaced.

Thanks!


Usb Accelerator gets disconnected when running the example on windows

I'm running the classify image example on windows with the frogfish wheel of tflite-runtime (tflite_runtime-2.5.0-cp37-cp37m-win_amd64.whl) on the newest edgetpu runtime (edgetpu_runtime_20201105.zip). I get a device disconnection sound and powershell freezes. If I close it and try again in a different window, I get a value error.
Traceback (most recent call last):
  File "classify_image.py", line 123, in <module>
    main()
  File "classify_image.py", line 100, in main
    interpreter = make_interpreter(args.model)
  File "classify_image.py", line 74, in make_interpreter
    {'device': device[0]} if device else {})
  File "C:\Users\user\AppData\Local\Programs\Python\Python37\lib\site-packages\tflite_runtime\interpreter.py", line 155, in load_delegate
    library, str(e)))
ValueError: Failed to load delegate from edgetpu.dll

I'm new to coral and any help would be great.

@teraSurfer Did you also install a newest verison of tflite_runtimepip package?
https://www.tensorflow.org/lite/guide/python

@Namburger Yes, I did.

Can you share the outputs of
$ python3 -c 'print(__import__("tflite_runtime").__git_version__)'
$ python3 -c "from ctypes import *; cdll.LoadLibrary('edgetpu.dll); print('success')"

Sharing the outputs:
python3 -c 'print(__import__("tflite_runtime").__git_version__)'
48c3bae94a8b324525b45f157d638dfd4e8c3be1

python3 -c "from ctypes import *; cdll.LoadLibrary('edgetpu.dll); print('success')"
<CDLL 'edgetpu.dll', handle 7ffe1e8f0000 at 0x1bcdbfbe6c8>
success

Hi @teraSurfer sorry for the late response, we are able to reproduce the issue and is actively working on this now, for now please downgrade the library using these instruction: https://github.com/google-coral/edgetpu/issues/260#issuecomment-731194060

I have the same issue by getting the example "classify_image.py" up and running on a M.2 module in a Win10 env.:

edgetpu_runtime_20201204.zip is installed.

Traceback (most recent call last):   File "classify_image.py", line 122, in <module>     main()   File "classify_image.py", line 99, in main     interpreter = make_interpreter(args.model)   File "classify_image.py", line 72, in make_interpreter     tflite.load_delegate(EDGETPU_SHARED_LIB,   File "C:\Users\Office\AppData\Local\Programs\Python\Python38\lib\site-packages\tflite_runtime\interpreter.py", line 154, in load_delegate     raise ValueError('Failed to load delegate from {}\n{}'.format( ValueError: Failed to load delegate from edgetpu.dll
I downgraded from 3.8 to 3.7 to 3.6. Every time with the same issue.
python3 -c 'print(import("tflite_runtime").git_version)'
48c3bae94a8b324525b45f157d638dfd4e8c3be1
python3 -c "from ctypes import *; cdll.LoadLibrary('edgetpu.dll'); print('success')"
<CDLL 'edgetpu.dll', handle 7ffa3f340000 at 0x27f5a8ed828>
Any suggestion or recommendations ??? Any help would be appreciated.

I have the same issue by getting the example "classify_image.py" up and running on a M.2 module in a Win10 env.:

edgetpu_runtime_20201204.zip is installed.

Traceback (most recent call last):   File "classify_image.py", line 122, in <module>     main()   File "classify_image.py", line 99, in main     interpreter = make_interpreter(args.model)   File "classify_image.py", line 72, in make_interpreter     tflite.load_delegate(EDGETPU_SHARED_LIB,   File "C:\Users\Office\AppData\Local\Programs\Python\Python38\lib\site-packages\tflite_runtime\interpreter.py", line 154, in load_delegate     raise ValueError('Failed to load delegate from {}\n{}'.format( ValueError: Failed to load delegate from edgetpu.dll
I downgraded from 3.8 to 3.7 to 3.6. Every time with the same issue.
python3 -c 'print(import("tflite_runtime").git_version)'
48c3bae94a8b324525b45f157d638dfd4e8c3be1
python3 -c "from ctypes import *; cdll.LoadLibrary('edgetpu.dll'); print('success')"
<CDLL 'edgetpu.dll', handle 7ffa3f340000 at 0x27f5a8ed828>
Any suggestion or recommendations ??? Any help would be appreciated.

@mpreach Please downgrade the tflite_runtime package to this one (which ever python version you have):
pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp36-cp36m-win_amd64.whl
pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-win_amd64.whl

@mpreach Please downgrade the tflite_runtime package to this one (which ever python version you have):
pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp36-cp36m-win_amd64.whl
pip3 install https://dl.google.com/coral/python/tflite_runtime-2.1.0.post1-cp37-cp37m-win_amd64.whl

@Namburger I downgraded to the 2.1.0 Version. Problem is still existing.
'
Traceback (most recent call last):
File "classify_image.py", line 122, in
main()
File "classify_image.py", line 99, in main
interpreter = make_interpreter(args.model)
File "classify_image.py", line 73, in make_interpreter
{'device': device[0]} if device else {})
File "C:\Users\Office\AppData\Local\Programs\Python\Python36\lib\site-packages\tflite_runtime\interpreter.py", line 166, in load_delegate
library, str(e)))
ValueError: Failed to load delegate from edgetpu.dll
'
Any other suggestions or recommendations ?

@Namburger I downgraded to the 2.1.0 Version. Problem is still existing.
'
Traceback (most recent call last):
File "classify_image.py", line 122, in
main()
File "classify_image.py", line 99, in main
interpreter = make_interpreter(args.model)
File "classify_image.py", line 73, in make_interpreter
{'device': device[0]} if device else {})
File "C:\Users\Office\AppData\Local\Programs\Python\Python36\lib\site-packages\tflite_runtime\interpreter.py", line 166, in load_delegate
library, str(e)))
ValueError: Failed to load delegate from edgetpu.dll
'
Any other suggestions or recommendations ?

@mpreach
Wait, sorry, you should be using the dll form here instead: https://dl.google.com/coral/edgetpu_api/edgetpu_runtime_20200728.zip

@mpreach
Wait, sorry, you should be using the dll form here instead: https://dl.google.com/coral/edgetpu_api/edgetpu_runtime_20200728.zip

@Namburger: Works now.

@Namburger: Works now.


issye with an any type request

Hi,
I want to have some system alerting so to understand the elastalert rules, i started with this simple rule:
name: Localhost Memory Alert

es_host: localhost

es_port: 9200

type: any

index: metricbeat-*

filter:
 - query:
         query_string: {query: 'system.memory.total > 0'}

alert:
- "email"

email:
-<EMAIL_ADDRESS>
when testing with
# elastalert-test-rule test-any.yaml
/usr/local/lib/python2.7/dist-packages/elastalert-0.1.39-py2.7.egg/elastalert/config.py:31: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  rule_schema = jsonschema.Draft4Validator(yaml.load(open(os.path.join(os.path.dirname(__file__), 'schema.yaml'))))
Successfully loaded Localhost Memory Alert

INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 11:03 UTC to 2019-04-28 11:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 11:48 UTC to 2019-04-28 12:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 12:33 UTC to 2019-04-28 13:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 13:18 UTC to 2019-04-28 14:03 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 14:03 UTC to 2019-04-28 14:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 14:48 UTC to 2019-04-28 15:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 15:33 UTC to 2019-04-28 16:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 16:18 UTC to 2019-04-28 17:03 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 17:03 UTC to 2019-04-28 17:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 17:48 UTC to 2019-04-28 18:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 18:33 UTC to 2019-04-28 19:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 19:18 UTC to 2019-04-28 20:03 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 20:03 UTC to 2019-04-28 20:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 20:48 UTC to 2019-04-28 21:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 21:33 UTC to 2019-04-28 22:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 22:18 UTC to 2019-04-28 23:03 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 23:03 UTC to 2019-04-28 23:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-28 23:48 UTC to 2019-04-29 00:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 00:33 UTC to 2019-04-29 01:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 01:18 UTC to 2019-04-29 02:03 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 02:03 UTC to 2019-04-29 02:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 02:48 UTC to 2019-04-29 03:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 03:33 UTC to 2019-04-29 04:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 04:18 UTC to 2019-04-29 05:03 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 05:03 UTC to 2019-04-29 05:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 05:48 UTC to 2019-04-29 06:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 06:33 UTC to 2019-04-29 07:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 07:18 UTC to 2019-04-29 08:03 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 08:03 UTC to 2019-04-29 08:48 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 08:48 UTC to 2019-04-29 09:33 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 09:33 UTC to 2019-04-29 10:18 UTC: 0 / 0 hits
INFO:elastalert:Queried rule Localhost Memory Alert from 2019-04-29 10:18 UTC to 2019-04-29 11:03 UTC: 0 / 0 hits

Would have written the following documents to writeback index (default is elastalert_status):

elastalert_status - {'hits': 0, 'matches': 0, '@timestamp': datetime.datetime(2019, 4, 29, 11, 3, 5, 434005, tzinfo=tzutc()), 'rule_name': 'Localhost Memory Alert', 'starttime': datetime.datetime(2019, 4, 28, 11, 3, 5, 248044, tzinfo=tzutc()), 'endtime': datetime.datetime(2019, 4, 29, 11, 3, 5, 248044, tzinfo=tzutc()), 'time_taken': 0.18084502220153809}

am i missing something ?
when i test the same search on kibana, i have a lot of hits ...
MAny thanks for any help.

same query in kibana give me a lot of result, same query in elastalert give me 0.
Am i missing something ?
I am using Elasticisearch/kibana 6.7.1

Please read https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html#_ranges
Notice that you need a colon in your query
system.memory.total:>0


Directional terrain

It would be amazing if this module could support directional difficult terrain. A few example use cases:

You might want it to cost 20 feet of movement speed going from left to right where someone would climb a 10ft cliff face, but only 5 feet going right to left because they're just jumping down.
You might want going up stairs to be difficult terrain, but not going down stairs.
You might want to have the space just inside a window cost 10 feet for creatures climbing through the window, but only 5 feet for creatures inside the room moving past the window.

I think a method to implement this could be a special tile that is two halves, where each half has a separate modifier. Then allow the tile to be rotated according to grid (two rotation states on squares, three states on hexes).

Another possibility might be to track the direction from which a token moved onto the terrain square. I'm picturing the configuration for this is a multi-selectable 3x3 grid of checkboxes to indicate from which directions a square is considered difficult terrain, and clicking each box multiple times cycles through the configured movement cost multipliers. Could also be done with dropdowns. That would allow for scenarios like:

stairs that are only difficult terrain going up, but not down or across
a conveyor belt or river on which moving objects have a 4x movement cost multiplier going upstream, 2x modifier going across, and even a 0.5x multiplier going downstream if that's possible


Disable range fixes and add custom line height between handles

This request consists of:

Fix for issue #33.
Fix for  un-rounded edges when disableRange is activated and selectedMinimum is on 0.
Added lineBetweenHandlesHeight property.

Doesnt fix this >> Fix for un-rounded edges when disableRange is activated and selectedMinimum is on 0.


Find the minimum privileges that need to be assigned to a custom admin role to run the tool

The permissions needed to access the API with the scopes that we need are a bit vague.
The reports API Google Documentation guide says that a super admin or a custom admin is needed to access the API.
Lessons learned from M365, members of the public aren't comfortable with running some random tool off the internet as the highest privileged role in their Cloud environment. For GWS, this is the super admin role.
There is no specific Google Documentation for assigning the custom admin the minimum permissions we need to access the reports and directory apis:
This issue is to find out and document the minimum privileges that need to be assigned to a custom admin to run this tool.
Then test if there are any issues running the tool as an account assigned just that custom admin role.
How to create a custom admin role.
See the README for the OAuth scopes we're currently using for Goggles

Testing with the branch for #152 I was able to get the same output as a super admin using a custom role with the following privileges:
Console

Reports
Directory Settings > Settings
API
Organization Units > Read
Users > Read
Groups > Read
Domain Management

Note that selecting some privileges enables others, so in total this role has 11 console privileges and 5 API privileges.

Issue OBE; with the inclusion of the policy API, ScubaGoggles no longer supports custom roles, super admin is required.


fold and unfold a block or a stack of layers

Hello, thank you for your great work.
I wonder if you can provide a feature, where we can fold or unfold a block, for example, we may want to fold a bottleneck block, or a stack of same layers. Usually the neural network is very long, so if we can fold a block, we can have a better understanding of the whole network.
In addition, it would be better if the output size of each layer can be presented in the graph.

@jamesben6688 can you share a sample file?


[Concurrency] Don't produce notes about invalid calls for partial applies

If invalid actor reference is a partial application, let's not
produce a note that talks about invalid "call".

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - b57fd71fb5635cfe5c050741b1bc60749ff0edb1

@swift-ci please test macOS platform

@swift-ci please test Windows platform

Build failed
Swift Test OS X Platform
Git Sha - b57fd71fb5635cfe5c050741b1bc60749ff0edb1

@swift-ci please test macOS platform

@swift-ci please test Windows platform


Update CAS documentation

Update includes the README file and various parts of the Sphinx documentation, in preparation for launching the public beta program.

@nmalfroy not sure what's going on with the docs unit tests. I updated github actions to install pandoc but I still get a strange error. Any thoughts?


Create tests in rails with capybara

Hello! i want create integration tests with capybara (2.4) and rails (4.2), when i try find the selector the test fail.
page.should have_selector('#dropzone')
 expected to find css "#dropzone" but there were no matches.
I don't have experience in this tests.

Got no idea about rails or capybara sorry. My only thought would be that your test is running before the component has been mounted in to the DOM.


Fix usage of mistral client in mistral runner

Fix how mistral client and resource managers are being used in the mistral runner. Authentication has changed in the mistral client. Fix unit test accordingly.

Current coverage is 77.44% (diff: 100%)

Merging #3155 into master will decrease coverage by 0.01%

@@             master      #3155   diff @@
==========================================
  Files           431        431
  Lines         22238      22236     -2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          17224      17220     -4
- Misses         5014       5016     +2
  Partials          0          0

Diff Coverage
File Path

•••••••••• 100%
st2actions/st2actions/handlers/mistral.py

Powered by Codecov. Last update f5ed462...2c78f89

LGTM.
e2e tests are failing - I assume that's because of this change and they will start passing after it's merged? Or is it something else?


Do in-place serialization, no need to call AFF framework

Here https://github.com/SAP/abap-file-formats-tools/blob/main/src/zcl_aff_writer_json_schema.clas.abap#L987 and in some unit tests, the coding calls AFF framework de-/serialization functionality. We could do the de-/serialization just in place and remove this reference to SAP coding.


Add simple node API.

Moved files to the ./src folder.
Created two entry points to the tool:
1- ./src/cli.js - simply the api exposed to the CLI users.
2- ./src/node.js - api exposed to the node API.
Sanity check functions takes shouldThrow arguments now, and throws the
error back instead of process.exit(). For the CLI it is same still.
Split the main funciton into two, and export them. One for CLI one for
node two functions takes the required arguments and passes them to the
main function.
Added documentation.

Awesome work! Thank you so much, Efe! 👍
This should take care of https://github.com/technopagan/sqip/issues/4
I'd like to learn why you chose the "src" folder: I have zero Node project knowledge, but what I understand from e.g. https://gist.github.com/tracker1/59f2c13044315f88bee9 is that a "lib" folder would have been suitable for SQIP. Maybe you can explain the details to me over coffee? 😉


Is click event logical?

When mousedown and mouseup event dispatched within same object3d, it will dispatch the click event, even mouse move to another place.

I know it is dispatched by canvas, but, I think it is illogical,will you fix it?

Yes, they're caused by the canvas emitting the click. You can mousedown, drag, mouseup a button aswell, so i wonder what you expect?

I mean:
const lastPosition = new Vector2(-1, -1)
const curPosition = new Vector2(-1, -1)

canvas.addEventListener("mousedown", ({ clientX, clientY }) => {
  lastPosition.set(clientX, clientY)
})

canvas.addEventListener("mouseup", ({ clientX, clientY }) => {
  curPosition.set(clientX, clientY)

  if(curPosition.eq(lastPosition)) {
    dispatchEvent(CLICK_EVENT)
  }
})

sure, but is that a contradiction? try clicking the guthub "Comment" button with mousedown, move a little and mouseup, it will still register a click.

I know it is a correct and standard behaviour, but it is illogical, to user(not programmer).

Hmmm what you could do is maybe override the events, you can pass them down in the canvas instance. Then you could define your own behavior. Intersect is exposed as well.

Got it.


Segmentation fault (core dumped)

Description
When I run the demo "model-analyzer profile --model-repository quick-start/ --profile-models add_sub --override-output-model-repository", it happens Segmentation fault (core dumped)
Triton Information
I use the container nvcr.io/nvidia/tritonserver:20.09-py3, and create a python=3.8 environment with triton-model-analyzer
Are you using the Triton container or did you build it yourself?
yes
To Reproduce
use the container nvcr.io/nvidia/tritonserver:20.09-py3, and create a python=3.8 environment with triton-model-analyzer
use "model-analyzer profile --model-repository quick-start/ --profile-models add_sub --override-output-model-repository" command
2022-03-06 11:39:26.997 INFO[gpu_device_factory.py:50] Initiliazing GPUDevice handles...
2022-03-06 11:39:28.85 INFO[gpu_device_factory.py:246] Using GPU 0 NVIDIA GeForce RTX 2080 Ti with UUID GPU-f0873fa2-bf8b-0fd9-776b-1594a007e458
2022-03-06 11:39:28.88 WARNING[entrypoint.py:362] Overriding the output model repo path "/root/model_analyzer-main/examples/output_model_repository"...
2022-03-06 11:39:28.98 INFO[entrypoint.py:161] Starting a local Triton Server...
2022-03-06 11:39:28.100 INFO[analyzer_state_manager.py:132] No checkpoint file found, starting a fresh run.
2022-03-06 11:39:28.212 INFO[analyzer.py:106] Profiling server only metrics...
2022-03-06 11:39:28.229 INFO[server_local.py:100] Triton Server started.
Segmentation fault (core dumped)
Expected behavior
How can I solve this problem?

Is there a reason you are using the 20.09 container? That is a year and a half old.  I don't think Model Analyzer was even formally released until at least 20.12.
Can you move to a newer container and try again? The latest container should be 22.02.


Added missing version field to Task

@eemmiirr Could you please rebase this PR?

@colin-msphere rebased


Errors with latest versions of autoform + collection2 + simpl-schema

Hi aldeed
First of all, thank you for your contributions : simple-schema, collection2 and autoform are killers
I've recently wanted to switch to simpl-schema (npm package) and i've encountered some errors.
Here is how i reproduce the errors
First, set up the project
meteor create test-autoform --release <IP_ADDRESS>
cd test-autoform
meteor add aldeed:collection2 aldeed:autoform
meteor npm install --save simpl-schema

<EMAIL_ADDRESS><EMAIL_ADDRESS>=>"simpl-schema": "^1.5.0"
Add a little bit of code
// main.js
import SimpleSchema from 'simpl-schema'
BookSchema = new SimpleSchema({
  title: {type: String}
})
Books = new Mongo.Collection('Books')
Books.attachSchema(BookSchema)

// main.html
{{> quickForm collection="Books" id="insertBookForm" type="insert"}}

and then the errors
Exception in template helper: TypeError: Cannot convert undefined or null to object
    at Function.from (native)
    at _toConsumableArray (http://localhost:3000/packages/modules.js?hash=fcf2e0056ef926384482b794e8a7fdc3b4e032d1:1114:182)
    at SimpleSchema.getAllowedValuesForKey (http://localhost:3000/packages/modules.js?hash=fcf2e0056ef926384482b794e8a7fdc3b4e032d1:1711:24)
    at Object.autoFormGetOptionsForField [as _getOptionsForField] (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:2927:24)
    at Object.afQuickFieldsQuickFieldAtts (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:7357:33)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3051:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:1715:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3103:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3744:12)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3102:27

Exception in template helper: TypeError: Cannot read property 'singleType' of undefined
    at SimpleSchema.getQuickTypeForKey (http://localhost:3000/packages/modules.js?hash=fcf2e0056ef926384482b794e8a7fdc3b4e032d1:1370:40)
    at Object.getInputType (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:2829:31)
    at Object.bsFormGroupSkipLabel (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:8280:27)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3051:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:1715:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3103:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3744:12)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3102:27
    at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=547cf8e466d1d52603d19bd5f48fb5df184fd237:172:18)
    at Template.afFormGroup_bootstrap3.HTML.DIV.HTML.SPAN.class (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:8236:22)

Exception in template helper: TypeError: Cannot read property 'singleType' of undefined
    at SimpleSchema.getQuickTypeForKey (http://localhost:3000/packages/modules.js?hash=fcf2e0056ef926384482b794e8a7fdc3b4e032d1:1370:40)
    at Object.getInputType (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:2829:31)
    at Object.getTemplateName (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:6934:32)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3051:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:1715:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3103:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3744:12)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3102:27
    at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=547cf8e466d1d52603d19bd5f48fb5df184fd237:172:18)
    at http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:6906:27

Exception in template helper: TypeError: Cannot read property 'singleType' of undefined
    at SimpleSchema.getQuickTypeForKey (http://localhost:3000/packages/modules.js?hash=fcf2e0056ef926384482b794e8a7fdc3b4e032d1:1370:40)
    at Object.getInputType (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:2829:31)
    at Object.afFieldInputContext (http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:6978:32)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3051:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:1715:16
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3103:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3744:12)
    at http://localhost:3000/packages/blaze.js?hash=a1ff2d6d5ecd59ee11e2ba260b8650a9d1140f59:3102:27
    at Object.Spacebars.call (http://localhost:3000/packages/spacebars.js?hash=547cf8e466d1d52603d19bd5f48fb5df184fd237:172:18)
    at http://localhost:3000/packages/aldeed_autoform.js?hash=954bc02e0fca04fa83ea45bb5b4206380192fdad:6907:23

thanks in advance

Dear Aldeed,
Thanks a lot in advance for support. I have exactly the same errors. Below is my situation
Package.json :
"simpl-schema": "^1.5.0"
Meteor Packages :
aldeed:autoform
materialize:materialize
aldeed:collection2-core
parts.js file :
import { Mongo } from 'meteor/mongo';
import SimpleSchema from 'simpl-schema';
SimpleSchema.extendOptions(['autoform']);
export const Parts = new Mongo.Collection("parts");
// const Schemas = {};
//Schemas.Part = new SimpleSchema({
Parts.attachSchema(new SimpleSchema({
partNo: {
type: String,
label:"Part No",
max: 500
},
title: {
type: String,
label: "Title",
max: 200
},
summary: {
type: String,
label: "Summary",
optional: true,
max: 1000
}
}));

same issue here, was not even planning on updating but meteor just refused to work after my windows updated automatically and was forced to update meteor as well as my project to meteor <IP_ADDRESS> and<EMAIL_ADDRESS><EMAIL_ADDRESS>and "simpl-schema": "^1.5.0",

Hi there,
I hit same issue. After walking my :dog2: :dog2: out and a quick look into  debugger I discovered that formId is not being picked up from quickForm template id parameter.
Meanwhile {{#autoForm ...}} variant with afQuickFields works as expected OOB.
Hope this helps.
Best wishes,
Alexei

Hi guys
i've found the solution
use npm "simpl-schema": "^1.4.3" instead of 1.5
and make sure you have no meteor-simple-schema deps with others packages (ex meteortoys:allthings)

Dear j-khong
Thanks a lot dude. I changed and my issue resolved. Happy coding!

I changed the versions, but it didn't change anything. Do you have any other recommendations?
Thank you for your help.

Thanks j-khong
your solution worked for me as well!

@Pierre-Mike,  what worked for me was to change to<EMAIL_ADDRESS>"simpl-schema": "^1.4.2"
make sure simpleschema is not installed and packages like meteortoys:allthings which requires simpleschema is also removed. Also try to run npm install to make sure you have the simpl-schema installed to correct version.

Thanks j-khong
This solution worked for me.  Hopefully, we will see a fixed version going forward.

quickform still doesn't work for me
autoform works when it is like that:
{{#each afFieldNames }}
	{{> afQuickField name=this.name}}
{{/each}}

+1

I've opened pull request in simple-schema-js package which hopefully will solve this issue
aldeed/simple-schema-js#306

Has been fixed by this PR merge:
https://github.com/aldeed/simple-schema-js/pull/306

This is resolved with the latest SimpleSchem


Decreasing inference time on cpu

Thanks for this awesome model, it does evaluate good with pretrained model
Right now i am getting 15s average inference time, any way to reduce it to 2-3s

It is a good question, but we have not explored it yet. The straightest way is to deploy the model like ONNX.

@SlongLiu should the operations in the model already support ONNX export? e.g.
# Export the model
[torch.onnx.export](https://pytorch.org/docs/stable/onnx.html#torch.onnx.export)(torch_model,               # model being run
                  x,                         # model input (or a tuple for multiple inputs)
                  "super_resolution.onnx",   # where to save the model (can be a file or file-like object)
                  export_params=True,        # store the trained parameter weights inside the model file
                  opset_version=10,          # the ONNX version to export the model to
                  do_constant_folding=True,  # whether to execute constant folding for optimization
                  input_names = ['input'],   # the model's input names
                  output_names = ['output'], # the model's output names
                  dynamic_axes={'input' : {0 : 'batch_size'},    # variable length axes
                                'output' : {0 : 'batch_size'}})

I'll look in to optimising it with tools like OpenVINO if it does.

i try to use torch.onnx.export to transfer grounding-dino to onnx, it seems like some problem , such as several logical operators are not supported by onnx.

i try to use torch.onnx.export to transfer grounding-dino to onnx, it seems like some problem , such as several logical operators are not supported by onnx. for example:
torch.onnx.symbolic_registry.UnsupportedOperatorError: Exporting the operator ::__ior_ to ONNX opset version 13 is not supported
anyone know which part of model make this problem.

i try to use torch.onnx.export to transfer grounding-dino to onnx, it seems like some problem , such as several logical operators are not supported by onnx. for example:
torch.onnx.symbolic_registry.UnsupportedOperatorError: Exporting the operator ::_ior to ONNX opset version 13 is not supported
do you know which part of model make this problem. @GeorgePearse

here

i try to use torch.onnx.export to transfer grounding-dino to onnx, it seems like some problem , such as several logical operators are not supported by onnx. for example: torch.onnx.symbolic_registry.UnsupportedOperatorError: Exporting the operator ::_ior to ONNX opset version 13 is not supported do you know which part of model make this problem. @GeorgePearse

Have you solve it please

@SlongLiu should the operations in the model already support ONNX export? e.g.
code vaguely similar to the below should work?
# Export the model
torch.onnx.export](https://pytorch.org/docs/stable/onnx.html#torch.onnx.export)(torch_model,               # model being run
                  x,                         # model input (or a tuple for multiple inputs)
                  "super_resolution.onnx",   # where to save the model (can be a file or file-like object)
                  export_params=True,        # store the trained parameter weights inside the model file
                  opset_version=10,          # the ONNX version to export the model to
                  do_constant_folding=True,  # whether to execute constant folding for optimization
                  input_names = ['input'],   # the model's input names
                  output_names = ['output'], # the model's output names
                  dynamic_axes={'input' : {0 : 'batch_size'},    # variable length axes
                                'output' : {0 : 'batch_size'}})

I'll look in to optimising it with tools like OpenVINO if it does.

am also interested in onx export code of GDINO


CUDA: Fix missing space in low occupancy warning

The message was printing:

Grid size N will likely result in GPUunder-utilization due to low occupancy.

instead of:

Grid size N will likely result in GPU under-utilization due to low occupancy.

Thank you for the patch!


Support custom static analysis

TESTed is mainly focussed on dynamic analysis (= perform a unit test on the submitted code (function or method) or on execution of the entire code, and check the generated outputs with the corresponding expected outputs). However, many judges also support static analysis that only inspects the submitted source code without running it. Currently, TESTed only supports two built-in ways for static analysis:

compilation: compilation errors are reported either globally or per unit
linting: linting output is reported as source code annotations

Since there are many other forms of static analysis, we might add support for custom static analysis to TESTed. Here are some issues that need to be resolved to support custom static analysis in TESTed:

perform custom static analysis globally (once for each submission), per unit (reported per unit) and/or per context (reported per context); there seems no value in performing custom static analysis below the context-level (individual testcase or individual test)
language-independent vs language-specific static analysis: since the input is the source code of the submission, we could initially provide language-specific analysis; language-independent would require a generic API that needs to be implemented for each supported programming language and seems currently out-of-scope
report results of static analysis in feedback: static analysis could be a simple binary check (e.g. function uses recursion) that could could be reported as a separate test, or have more elaborate output (software quality metrics, test coverage #339, full HTML report); the results of static analysis can also be reported as source code annotations (i.e. as an extension to the standard linter)
support custom static analysis from DSL

Some use cases for this (that are currently done with the Python judge) are:

controleren van type hints
controleren van gebruik van specifieke variabele
controleren of er ergens een dictionary gebruikt wordt
controleren of een functie gebruikt wordt in een andere functie
controleren of er geen lijst gebruikt wordt
controleren of een list comprehension gebruikt wordt
controleren of de math bibliotheek gebruikt wordt
tellen hoeveel functies er gebruikt worden
tellen hoeveel if/elif er gebruikt worden

Some more use cases:

controleren hoeveel lussen gebruikt worden
controleren of er een while-lus gebruikt wordt
controleren of er een for-lus gebruikt wordt


How to make pagination in table and table is  map by json array

Please give full example og above issue how to handle nothing is provided there.

Please use StackOverflow for usage questions.


Incorrect total contribution counter

Describe the bug
Total contribution number is not correct. It shows significantly less value.
To Reproduce

Visit a gitHub profile.

Expected behavior
Contribution number shows relatively accurate data.
Screenshots

Desktop:

OS: macOS 12.6.2
Browser: Opera
Version: 95.0.4635.46

Sometimes requests time out since the server can't handle so many requests every second.
Only suggestion I can make is to self-host with your own GitHub token or wait until the cache expires and GitHub will fetch the stats again.


Symfony 3 support

when will Symfony3 be supported?

when will Symfony3 be supported?

Thank you for good Bundle. As it will soon be released support for the Symfony 3?

Currently i'm really busy so I don't have enough time, but feel free to continue if you really need. I'll review & merge and fix things if needed


Errors in demo 1 documentation and code

Thanks for all the great and ongoing work on Picturefill.
I noticed the "An img with 'srcset' and 'sizes' attributes" example on http://scottjehl.github.io/picturefill/ has an error in both the documented code (i.e., what's shown to readers) and the actual code (i.e., if you view source). Both list medium.jpg twice and omit at least extralarge.jpg:
srcset="examples/images/medium.jpg 375w, examples/images/medium.jpg 480w, examples/images/large.jpg 768w"
I believe the intention was for it to be:
srcset="examples/images/medium.jpg 375w, examples/images/large.jpg 480w, examples/images/extralarge.jpg 768w"
This matches the right resources with the corresponding w descriptors. (It also assumes, perhaps incorrectly, that you don't want to use small.jpg and change 375w to 180w, or include small.jpg in addition to the others.)
The standalone page (http://scottjehl.github.io/picturefill/examples/demo-01.html) for that same example appears to have a different error. The actual code used (if you view source) is:
srcset="../examples/images/small.jpg 375w, ../examples/images/large.jpg 480w, ../examples/images/extralarge.jpg 768w"
Replacing small.jpg with medium.jpg would make it match the 375w value, and make it consistent with both the documented code on that page and the other changes I suggested.
Before I submit a PR for these, could you please confirm that the example should use medium.jpg, large.jpg, and extralarge.jpg, and not a different combination? (Such as using small.jpg instead of one of those or in addition to them.)
Thanks a lot.

Hey @bruceontheloose,
Thanks for reporting this! Very good spot. These examples are just that, examples—I don't think we necessarily need a small.jpg in all of them. I think all your suggestions make sense, and a PR would be greatly appreciated. :+1:

Hi @jegtnes,
You're welcome! Thanks for the note. I'll submit a PR that makes the corrections while omitting small.jpg.

Bruce

Hi, @jegtnes (and other maintainers). Just a quick note that you may want to go ahead and close this since it was addressed in my PR (https://github.com/scottjehl/picturefill/pull/449), which has been merged. Thanks a lot.

Closing as this was merged in with #449. Thanks @bruceontheloose


isl_ctx.c:293: isl_ctx not freed as some objects still reference it

Hello, when I try to change the ppcg code, no matter how I modify it, I will always encounter this problem-"isl_ctx.c:293: isl_ctx not freed as some objects still reference it". So I want to ask how I can locate the problem and what should I pay attention to in isl_ctx. Look forward to your reply, thank you.

Every ISL object you create must also be freed using the corresponding *_free function. isl_ctx keeps a counter of how many objects has been allocated and how many has been freed. If it is not 0 when the isl_ctx is released, it will through that error.
Every ISL function that returns __isl_give "creates" and object that need to be released, e.g. isl_set_intersect. Any parameter annotated with __isl_take releases the object for you so you don't have to do it.
Note the main point of contact is isl-development mailing list. That's how you can reach the main author of PPCG/ISL.

Thank you very much for your reply. I noticed the cautions you mentioned about isl_ctx after reading the isl manual too. I also did my best to correctly allocated and freed objects. But I still don't know where there are errors. I want to know if there are any interfaces or strategies that can help me better locate bugs. Look forward to receiving your reply.


chore: move the developer docs earlier in the README

Details
@RobGallo suggested moving the dev docs earlier in the README. The original spot was after the Contributing text, which is highly standardized across repos, so it's easy to assume there's nothing afterwards.
Motivation

make it easier to find dev docs
Context
n/a

Pull request checklist

[ ] Addresses an existing issue: Fixes #0000
[ ] Added relevant unit test for your changes. (yarn test)
[ ] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[ ] Ran precheckin (yarn precheckin)
[ ] (after PR created) The Accessibility Checks (pull_request) check should fail. All other checks should pass.

Codecov Report

Merging #1021 (1066eee) into main (5ca7624) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 1066eee differs from pull request most recent head 80a2e7c. Consider uploading reports for the commit 80a2e7c to get more accurate results

@@           Coverage Diff           @@
##             main    #1021   +/-   ##
=======================================
  Coverage   89.69%   89.69%
=======================================
  Files          44       44
  Lines        1058     1058
  Branches      139      139
=======================================
  Hits          949      949
  Misses        109      109

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 5ca7624...80a2e7c. Read the comment docs.


imagemagick commands dont work because of misconfigured fontconfig

Hello,
I'm trying to convert a few images with a nixery image containing imagemagick.
Using the image:
nixery.dev/shell/coreutils/gnutar/gnumake/tree/fontconfig/libcap/go/gcc/imagemagick/pngquant/librsvg
When my script attempts to convert images using the imagemagick convert utility, I get the following errors:
converting... emacutor-color.svg
 -> PNG: 16x16
Fontconfig error: Cannot load default config file: No such file: (null)
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories

upon further inspection there doesnt appear to be anything in /etc/fonts, specifically the fonts.conf file that fontconfig is meant to generate.

@xeijin I'm trying to reproduce this bug; but the SVG files that I have here seem to convert fine. Could you confirm that the bug still occurs for you, and provide an SVG file that exhibits the issue? Thank you!


PyPi can't find my library

Hello! In PyPi Can't find my library, posted 9 hours ago.  Even after that it doesn't find my library.  If you know the solution - please help me!

The search index might not recognize that the aa is not a typo.
The project is located at https://pypi.org/project/AaioAPI/ directly.

The search index might not recognize that the aa is not a typo.
The project is located at https://pypi.org/project/AaioAPI/ directly.

So do I need to rename my library?

Nope, looks like it was an index latency issue, the library can now be found via search: https://pypi.org/search/?q=aaioapi


Async module hooksy

When needing to use some asynchronous setup, on QUnit 1.x you can be able to call to QUnit.stop() inside the module setup hook, but since in QUnit 2.0 it will be deprecated, seems there no posibility to do it. How could it be possible to have an async setup on QUnit 2.0?

module( "foo", {
  beforeEach: function( assert ) {
    this.done = assert.async();

    // or assert.done = assert.async();
  }
});

test( "bar", function( assert ) {
  assert.ok( true );
  this.done();
});

Thanks @leobalter, there's the same solution at http://stackoverflow.com/questions/27717784/qunit-beforeeach-aftereach-async, althought the docs says nothing about this... :-(

"and also to create properties that will be shared on the context of each test" and there's also an example there.

I wanted to say that it says nothing about the assert argument on the beforeEach and afterEach hook functions...

Actually, there's an issue we just found: QUnit is not finishing the hook method because of the async call:
http://jsbin.com/dokolimuhi/1/edit?js,output

Ok, then I think I'll wait until this is fixed.

The thing is, if we make assert.async interoperable between the before and after hooks, we would break the order of them being called.
Within the current QUnit state, the afterEach hook will be called only after the async tests are done on the test. The same thing should happen the beforeEach hook. If you call the assert.async() there, you need to finish your async calls in the same block, before running the test function.

Within the current QUnit state, the afterEach hook will be called only after the async tests are done on the test. The same thing should happen the beforeEach hook. If you call the assert.async() there, you need to finish your async calls in the same block, before running the test function.

What's I'm actually done in 1.x is call QUnit.stop() on setup, and
until I don't call QUnit.start() also on setup, the test is not
executed. I think the same can be done on beforeEach: if you call
assert.async() inside it, the test is not called until the beforeEach
done() is not executed.
--
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux

the test is not called until the beforeEach done() is not executed.

yes.
btw, beforeEach and setup are exactly the same functions, and they work in the same way.

btw, beforeEach and setup are exactly the same functions, and they work in the same way.

Then there's no problem with the current behaviour and it's working correctly (except the fact that currently it gets blocked), isn't it?.

All of the behavior discussed here is intentional.

The setup/beforeEach hooks must synchronize before the test body/callback can be run.
The test body/callback must synchronize before the teardown/afterEach hooks can be run.

You can run async operations in setup/beforeEach that you don't need finished until the test body/callback... just don't use assert.async() to accomplish them. :smile:
If you have suggestions for an alternative API that would allow for similar async synchronization spanning more than 1 of the test lifecycle phases, I'm certainly open to ideas and hashing out the rules for expected behavior. I'm not currently sure how that functionality would be useful/reliable but I wouldn't doubt it if I am missing/overlooking something.

Problem is related to the stop-continue issue: if beforeEach is executed in one shot and test is executed inmediatly, although you could call to async() inside beforeEach, test will not wait, so you can't do async tasks in beforeEach. With stop() and start(), the trick is about call stop() on setup and when its async operation has finished, call to start() so it can be able to continue and exec test(), and that's just the missing feature I'm talking about, that without stop() and start() this is not possible :-D
I find having the full assert object in beforeEach and afterEach is a bit bloated (except for doing some general asserts that have to be done on all the tests, for example regarding to its initialization), but adding to them some wait/continue methods would be a good idea... Another option would be that you could return a Promise on beforeEach so test don't get executed until it got to be resolved, so this could give some flexiblity to do some async tasks on beforeEach. I know that QUnit now understand promises, but seems only when returned on test and not on beforeEach :-/.

To revive an old discussion:

I know that QUnit now understand promises, but seems only when returned on test and not on beforeEach

Do you have a test page that shows that issue? There probably is a lack of documentation, but the implementation allows beforeEach and afterEach to run async and deals with promises. The meat of that is in queueHook.

I could maybe picture adding something like a Boolean parameter to the assert.async() method signature that would allow that counter/semaphore to remain unresolved until the very end of the test instance's lifecycle, e.g.
(function(module, test) {

module('long async', {
  beforeEach: function(assert) {
    this.overDone = assert.async(true);
  },
  afterEach: function (assert) {
    this.overDone();
  }
});

test('actual test', function(assert) {
  assert.strictEqual(1, 1.0);
});

})(QUnit.module, QUnit.test);

I could maybe picture adding something like a Boolean parameter to the assert.async() method signature that would allow that counter/semaphore to remain unresolved until the very end of the test instance's lifecycle, e.g.

Why would you want that? As far as I can tell from the discussion above, that was never the issue.

Closing due to inactivity. For anyone still interested in this, I think my previous comment still applies:

Do you have a test page that shows that issue? There probably is a lack of documentation, but the implementation allows beforeEach and afterEach to run async and deals with promises. The meat of that is in queueHook.


Unary operator 'not', not '!'

At the bottom of docs/expressions/infix-ops.md there is a table that says that '!' is a unary operator, both bitwise and logical. I think it should have been 'not' instead of '!'.

Fixed, thanks!


Setup secrets upload for ZenDesk

What
We'd be using the ZenDesk integration in our PaaS Admin application to
have a better and accessible support form for our tenants.
How to review

make dev upload-zendesk-secrets
run create-cloudfoundry pipeline
expect appropriate secrets set for PaaS Admin (zendesk ones)

Not sure if this was intended, but this doesn't actually set them as env vars for Pazmin

Oh yeah! I missed that :D Coming up.

I moved the config from params to env... My bad.


Long filenames a problem

Hi there.
I am hoping to use this example code to upgrade my project from v3.1. This issue is a question and a feature request.
Question
Do you have a recommended method to use this code in user projects.
It occurred to me that adding this repo as a submodule would be a good idea, including referencing the esp-aws-iot repo as a recursive submodule. That way, it would be efficient to reuse lots of the code in your main/mqtt folder and easily update it as you develop this repo. My application could be roughly based on main and demo tasks. And it would ensure that the submodules would be in matching state. Is this how you would recommend? Is there another alternative to doing a horrible cut and paste of the code?
Feature Request
Due to the very long file paths (Fleet-Provisioning-for-AWS-IoT-embedded-sdk/Fleet-Provisioning-for-AWS-IoT-embedded-sdk), it isn't possible to successfully run submodule update --init --recursive. Would you consider reducing the file names to something more concise like "fleet-prov"? I think the rest is implied.
Thanks.

Hi @monkeytronics,
I would advise against submoduling this repo for your project as it is intended to be used as a reference project. I would recommend either forking this repository and updating it for your own project or use this project as a template to get started making your own.
Best,
Jason Carroll

Thanks @jasonpcarroll, Agree. That does sound best.
I think the API for this library needs a lot of work. It's kind of crazy that you need to write thousands of lines of code (full of callback spaghetti) just to get the hello world examples to run! Say what you like about Arduino - but they know how to abstract a library so that almost anyone can easily use it.


entity framework update-database script

This issue has been moved from a ticket on Developer Community.

running visual studio 2019 with EF 6.2
in package manage console when i run the command
update-database -script
VS2019 crashes and restart
In event viewer it says devenv.exe has an unhandled exception
if i do a update-database everything works fine, so my problem is I only want the script not doint the actual update

Original Comments
Visual Studio Feedback System on 10/18/2019, 01:15 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Visual Studio Feedback System on 10/18/2019, 02:15 AM:
Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem?view=vs-2017#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

Original Solutions
(no solutions)

Please post the stack trace of the exception.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.


Clicking on the overlay should close the modal by default.

It'd be nice to have the modal close when the user hits esc too.

This would be a great :+1:
How had you planned to implement it? Happy to work on the feature

Hey David!
Off the top of my head, there are two easy options:

Listen for the click event in the modal view and see if the event.target is the overlay element or similar - there are a couple of different elements that wrap the modal and both can be clicked and both should close the modal.
Refactor the modal view into an overlay view and a modal view. Then we listen for the click event in the overlay view, which wraps the modal view.

In both cases we'd call the modal view's closeModal action. Binding esc should be more simple than the click and would, likewise, call the closeModal action.
I can't work on it this week but would be more than happy to review a PR and merge it in! Otherwise, I'll add the feature next week.

Fixed in #9


fix Hue when not rotating

If rotate is false it is not possible to set a hue of 0 as the function will return immediately.
This change will add a check if rotate is true and return only if so.
Fixes #665

Ah that's great. Thanks, really appreciate it! 👍


API is down

502 bad gateway error

Damn, first downtime in like two years. Yeah im rebooting it I don't know what happened. I think its because we recently moved off GCP

Fixed downtime and moved back to Google while I sort stuff out. When did the downtime start?

dont know the exact time, but it happened for a hour!!

Ah well, fixed now. Closing this, lmk if anything else happens

yeah Sure


Getting concurrent.futures._base.TimeoutError while using channels_invite api method

Description
Describe your issue here.
What type of issue is this? (place an x in one of the [ ])

[ X] bug
[ ] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[ X] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[X ] I've read and agree to the Code of Conduct.
[ X] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
slackclient version: slackclient-2.5.0
python version: Python 3.7
OS version(s):macOS High Sierra Version 10.13.6
Steps to reproduce:
I'm running my code in AWS lambda
pip3 install slackclient

import slack
client = slack.WebClient(token=OAUTH_TOKEN)
client.channels_invite(channel = channel_id, user = user)

Expected result:
User should get invited to the channel.
Actual result:
Getting this error: "concurrent.futures._base.TimeoutError

"
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.

I'm getting the same error for the api_test() and auth_test() calls. It's intermittent but often occurs as series of back-to-back concurrent.futures._base.TimeoutErrors.

This issue may be caused by the same reason with https://github.com/slackapi/python-slackclient/issues/476#issuecomment-616296655
Try pip freeze and if you have aiohttp==4.0.0a1 in it, using aiohttp==3.6.2 may help. From the next version, the install_requires won't allow the beta version to run with.

Let me close this issue now as #662 resolved this for the run_async=False mode.

👋 slackclient 2.6.0rc1 is out. The pre-release version contains fixes for your issue described here.
https://pypi.org/project/slackclient/2.6.0rc1/
One week later from now, we'll be releasing version 2.6.0 to PyPI.
If you have a chance, could you try the release candidate version out and let us know your feedback? Thank you very much for being patient with this issue.


Fixed leaks - cherry pick from hydra/stable

The leaks are fixed. I was doing something naive: starting new pointers within the C++ scope, which turns out that it is too troublesome to deallocate.
Now the velocity is passed as a pointer through the argument list and it is updated within the function, therefore all _cpp_u functions are treated as void.
I will do one minor optimisation yet and then hopefully we merge and resolve this Bug

@Giovanni-Cozzuto-1989 @cekees @tridelat. This will resolve the memory leaks + reduce some calls to cosh for imrpoving speed. I do not know why it fails, I get an error saying that the log is too big?

Can you paste in the error message about the log being too big?

The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over). The job has been terminated
It did not fail for this though, a conflict caused it

I think that's referring to the py.test log. Might want to check if there
is a print statement left inside a loop somewhere.
On Tue, Dec 20, 2016 at 11:52 AM, Aggelos Dimakopoulos <
<EMAIL_ADDRESS>wrote:

The log length has exceeded the limit of 4 MB (this usually means that the
test suite is raising the same exception over and over). The job has been
terminated
It did not fail for this though, a conflict caused it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/erdc-cm/proteus/pull/480#issuecomment-268341400, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAldFtIMrlK5P67348rJQQayE6s9H656ks5rKDIUgaJpZM4LSAXw
.

Indeed, I have a print statement for printing some error values, should I remove it


JavaLexer can not lex “default” case correctly in switch statement

For a switch statement
        switch (event.getAction()) {
            case MotionEvent.ACTION_DOWN:
                touchEnd(id,0);
                break;

            case MotionEvent.ACTION_UP:
                touchEnd(id,2);
                break;

            default:
                touchEnd(id,1);
        }

JavaLexer lex "\n            default:" as Token.Name.Label
This result does not meet my expectation, Is it right?

No, this looks like a bug. Thanks for the report!


Versions displayed mismatched

When you load the AIA, the title at the top says "Algorithmic Impact Assessment v0.7", and the version in the footer below date modified says "Version: 0.0.4". It's confusing.

Interesting, will double check to confirm whether that's the WXT footer version or the AIA version.
Might also need to remove version number from AIA altogether.

Having some version number, both while filling out and in the results, is important imho. As the tool evolves over time and the results get published, it would be good to know which version was used to conduct a particular assessment. The json result doesn't include the version, it would be good to add it (i'll create a separate ticket)

Ah yeah, I agree. Might just want to make it less "in your face"?
Le mer. 7 août 2019 13 h 13, MrDeshaies<EMAIL_ADDRESS>a écrit :

Having some version number, both while filling out and in the results, is
important imho. As the tool evolves over time and the results get
published, it would be good to know which version was used to conduct a
particular assessment. The json result doesn't include the version, it
would be good to add it (i'll create a separate ticket)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/canada-ca/aia-eia-js/issues/119?email_source=notifications&email_token=AAM4TZMCD4USXJTVW3SGF5LQDL7FHA5CNFSM4IKBKW5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3ZDCII#issuecomment-519188769,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAM4TZP6BBK45LWU3HFGRZ3QDL7FHANCNFSM4IKBKW5A
.

Current title and footer match. Closing. Will create a separate item for the results.


feat!: Use Flame.images in flame_texturepacker

Description

Using Flame.images instead of a custom ImageCache in TexturePackerAtlas allowing users to override the ImageCache's prefix to support loading Atlas Animations from different packages.
Due to this change the prefix of the used ImageCache changed from assets/ to assets/images/

Checklist

[x] I have followed the Contributor Guide when preparing my PR.
[x] I have updated/added tests for ALL new/updated/fixed functionality.
[x] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[x] I have updated/added relevant examples in examples or docs.

Breaking Change?

[x] Yes, this PR is a breaking change.
[ ] No, this PR is not a breaking change.

Migration instructions

Either move all sprites and textures from assets/ to assets/images/ or use Flame.images.prefix = 'assets/ to point to the same Location as before. Be aware that the latter approach might interfere with loading other Image Assets

Related Issues
Closes #3096

[...] that argument will have to go through so many methods

If I counted correctly it would be ~6 methods with a maximum call chain of 3. This would then still be kind of reasonable I guess.
If this route is taken would you suggest we keep a Images(prefix: 'assets/') as the default? Then this wouldn't even be a breaking change!
Happy to adjust that @spydon

If I counted correctly it would be ~6 methods with a maximum call chain of 3. This would then still be kind of reasonable I guess.

Alright, if you want to adjust it you can follow how it's done in the parallax:
https://github.com/flame-engine/flame/blob/main/packages/flame/lib/src/parallax.dart#L147

If this route is taken would you suggest we keep a Images(prefix: 'assets/') as the default? Then this wouldn't even be a breaking change!

I think the breaking change is still worth it, it's good to default to Flame.images.

@spydon adjusted to pass the custom cache through. Also applying the custom cache for the Assets Loading.
Also adjusted the PR description to include the 3rd way of migrating the version


$ConfigurationMapper NoClassDefFoundError : //1/$configurationMapper

Description:
Fails at testerina start suite function when building for the first time.
Works after clearing repositories/cache-slbeta3.
In this case, tested for a custom package. On extracting the jar, only the MANIFEST.MF file exists in the jar
~ ❯ jar tf /Users/mohamedaquibzulfikar/.ballerina/repositories/central.ballerina.io/cache-slbeta3/ibaqu/fakeIO/1.0.1/java11/ibaqu-fakeIO-1.0.1.jar
META-INF/MANIFEST.MF

After deleting the cache and building again
~ ❯
~ ❯ jar tf /Users/mohamedaquibzulfikar/.ballerina/repositories/central.ballerina.io/cache-slbeta3/ibaqu/fakeIO/1.0.1/java11/ibaqu-fakeIO-1.0.1.jar
META-INF/MANIFEST.MF
ibaqu/fakeIO/1/types/$_types.class
.
.
.
ibaqu/fakeIO/1/$configurationMapper.class
ibaqu/fakeIO/1/main.class

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

There was a probability that jar can be created for import jar only with manifest and we have fixed that in beta 4 with https://github.com/ballerina-platform/ballerina-lang/pull/33262/files#diff-2696e933a93d43942fa11cd18b2c36897029fb40357de0e60483c6e5030f0abcL752

Closing the issue with the above comment and Please reopen if you have further queries on this.


Prepare release <IP_ADDRESS>

Hackage candidate: https://hackage.haskell.org/package/unordered-containers-<IP_ADDRESS>/candidate

I can include #317 if it's merged in time. Otherwise I'll make another release once #317 is done.


Flutter tools does not start devtools

Repro:

run the following command in example/hello_world directory:

flutter --no-color run --machine --track-widget-creation --device-id=chrome --start-paused --dart-define=flutter.inspector.structuredErrors=true --devtools-server-address=http://<IP_ADDRESS>:9100 --debug lib/main.dart

open  http://<IP_ADDRESS>:9100 in chrome

Result:
ERR_CONNECTION_REFUSED
Expected:
devtools opens
Details:
Flutter doctor -v:
➜  hello_world git:(master) ✗ flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.397, on macOS 11.6 20G165 darwin-x64, locale en-US)
    • Flutter version 2.6.0-12.0.pre.397 at /Users/annagrin/source/flutter/flutter
    • Upstream repository git@github.com:annagrin/flutter.git
    • Framework revision a1e2942631 (19 minutes ago), 2021-10-19 14:08:02 -0700
    • Engine revision 9830def3a4
    • Dart version 2.15.0 (build 2.15.0-227.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/annagrin/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[!] Xcode - develop for iOS and macOS (Xcode 12.5.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.0.0.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 55.1.5
    • Dart plugin version 211.6693.108

[✓] VS Code (version 1.60.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.27.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 11.6 20G165 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 95.0.4638.54

! Doctor found issues in 2 categories.

I see the same behavior as reported using latest stable and master version. Keeping this issue open.

@darshankawar  this looks like an old issueI've reported when I was trying to repro anther issue. Would it be possible to add links to other reports that you have seen?

Cool. Let's close for now and wait for new reports.


Get all campaigns without knowing the id

Is there are way to get a list of all the campaigns without knowing the ID of each campaign?

Sorry, as of right now I wouldn’t exactly know how to do this as I haven’t used the API itself in a long time. I simply maintain the wrapper around it for C#.
You might want to ask a question on stackoverflow on how to do it with the PHP sdk and if you have an example in that language I might be able to help you translate it to the C# variant :)
Hope it helps


MSC1831: Change the order of .well-known and SRV discovery techniques

Rendered

The final comment period, with a disposition to merge, as per the review above, is now complete.

Note: this skips straight to merge as the spec PR was reviewed and merged while this was in FCP. No changes have been proposed between that happening and now, and thus no further changes to the spec are required at this time for this MSC.


Guidance on reading collectd xml

As I understand it, most collectd monitors allow them to be configurable by defining a XML definition.
I was wonder if that assumption is correct and how you would write a plugin to understand those values.
Any advice would be wonderful

Hi Sean,
collectd can be configured with a configuration file. The format borrows heavily from the Apache Webserver's configuration format.
It is not yet possible to configure Go plugins through this config file, but there is work underway to add that support, see #30.
Best regards,
—octo


[CI] Tests in CI will return immediately when encountering the first failure

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

Tests in CI will return immediately when encountering the first failure, for example, if there are two recording files missing, it will only report one each time.
To Reproduce

Expected behavior

Environment summary

Additional context

CI


Importing tool

Can you create a tool to import torrentrader into biogazelle? I am interested to import my tracker into this nice source.

Thanks for your kind words. Is this the correct repo? https://github.com/Arkhana/TorrentTrader-3.0
Looking at the database schema, I'd say it's highly unlikely. I'd also advise you that BioGazelle is nowhere near production ready. While most of the core object code is worked out, the underlying database is a mess, so I effectively have to create a tool to import legacy What.cd Gazelle into BioGazelle.

Yes, it is the correct repo of torrenttrader. So it will be a pain to import the database into BioGazelle.


Don't buffer build output

This is a better fix for the nan version upgrade problem (https://github.com/paixaop/node-sodium/issues/124). I submitted an earlier PR which "solved" the issue by fixing the version in packages.json (https://github.com/paixaop/node-sodium/pull/125). However, I have since found the root cause of the problem (https://github.com/nodejs/nan/issues/716).
It turns out that with nan 2.8.0, the node-sodium build process prints out so many warnings that child_process.exec reaches max buffer size, causing node-gyp rebuild to be terminated! Since the buffered output is not actually used, this PR solves the issue by replacing exec with spawn. Having nan 2.8.0 as a dependency now works fine.

@paixaop I'm pretty sure that the failing test is unrelated to this PR:
not ok 145 PWHash argon2i should verify the generated hash with same password
  AssertionError: false == true
      at Context.<anonymous> (test/test_crypto_pwhash.js:90:9)

implemented this change in the master in version 3.0.0. Thanks!


issue 10558: optimize performance for triple protocol(3.0)

What is the purpose of the change
优化triple协议的性能
Brief changelog
1.修改各种Command以支持HTTP2多路复用
2.构造TripleClientStream对象时变更为非阻塞
PS：测试数据参见 #10558

The test failures need to be fixed first.

关闭该pr并重新提交至3.1

需要解决冲突

fix ut & it

Codecov Report

Merging #10587 (1fabf67) into 3.1 (cd7b759) will increase coverage by 0.03%.
The diff coverage is 56.25%.

@@             Coverage Diff              @@
##                3.1   #10587      +/-   ##
============================================
+ Coverage     64.81%   64.84%   +0.03%
- Complexity      414      453      +39
============================================
  Files          1334     1334
  Lines         56738    56756      +18
  Branches       8397     8398       +1
============================================
+ Hits          36775    36804      +29
+ Misses        16011    15998      -13
- Partials       3952     3954       +2

Impacted Files
Coverage Δ

...dubbo/reactive/AbstractTripleReactorPublisher.java
56.25% <ø> (ø)

...ubbo/reactive/AbstractTripleReactorSubscriber.java
58.06% <ø> (ø)

...e/dubbo/reactive/ClientTripleReactorPublisher.java
0.00% <ø> (ø)

.../dubbo/reactive/ClientTripleReactorSubscriber.java
0.00% <ø> (ø)

...e/dubbo/reactive/ServerTripleReactorPublisher.java
100.00% <ø> (ø)

...pache/dubbo/reactive/calls/ReactorClientCalls.java
0.00% <ø> (ø)

...pache/dubbo/reactive/calls/ReactorServerCalls.java
75.60% <ø> (ø)

...ubbo/reactive/handler/ManyToManyMethodHandler.java
100.00% <ø> (ø)

...dubbo/reactive/handler/ManyToOneMethodHandler.java
100.00% <ø> (ø)

...dubbo/reactive/handler/OneToManyMethodHandler.java
100.00% <ø> (ø)

... and 37 more

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

单测与code style已修复，目前差sample没跑通，待修复


There is something wrong with "display language configure"

Issue Type: Bug
when i type "zh-cn"  in   the line of  "locale",the vs-code told   me  "zh-cn" is valid value.but after I restart the vs-code,"zh-cn" is not accepted.
VS Code version: Code 1.27.1 (5944e81f3c46a3938a82c701f96d7a59b074cfdc, 2018-09-06T09:21:47.222Z)
OS version: Linux x64 4.15.0-33-generic
Extensions (2)

Extension
Author (truncated)
Version

python
ms-
2018.8.0

cpptools
ms-
0.18.1

@blackmarkCH you need to download the corresponding language pack from the market place here: https://marketplace.visualstudio.com/search?target=VSCode&category=Language Packs&sortBy=Downloads
I am closing the issue. If this doesn't help, please ping.

@blackmarkCH you need to download the corresponding language pack from the market place here: https://marketplace.visualstudio.com/search?target=VSCode&category=Language Packs&sortBy=Downloads
I am closing the issue. If this doesn't help, please ping.

Thank you~!


OTP starting with 0 returns an error

Hello,
It seems that OTP starting with a 0 results automatically an error.  Please enter your OTP code: 58899
DashlaneApiError: The OTP verification failed. This could be due for example to the user inputing a wrong token.
    at requestApi (/snapshot/dashlane-cli/dist/requestApi.js:79:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async registerDevice (/snapshot/dashlane-cli/dist/middleware/registerDevice.js:31:27)
    at async getSecretsWithoutDB (/snapshot/dashlane-cli/dist/crypto/keychainManager.js:81:50)
    at async connectAndPrepare (/snapshot/dashlane-cli/dist/database/connectAndPrepare.js:24:21)
    at async Command.<anonymous> (/snapshot/dashlane-cli/dist/index.js:34:29)
    at async Command.parseAsync (/snapshot/dashlane-cli/node_modules/commander/lib/command.js:917:5) {
  code: 'verification_failed',
  type: 'business_error'
}

Note : I am on macos Ventura 13.2.1 (22D68) - Dashlane CLI 1.0.0

Hello,
Yes you're right the offending line is https://github.com/Dashlane/dashlane-cli/blob/master/src/middleware/registerDevice.ts#L35
@ni0ki spotted this issue earlier too
It needs to be fixed.


Reference Architecture images

The reference architecture images in Step 3 look very valuable however, the links do not take you to the templates that correspond to these images.
Step 3: Develop a security plan

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

ID: f21a1b1a-5437-e0a8-f0c7-cbc02c9e1ea3
Version Independent ID: a4ad4d32-16f5-caf4-f6e4-400062197184
Content: Get started: Secure the enterprise environment - Cloud Adoption Framework
Content Source: docs/get-started/security.md
Service: cloud-adoption-framework
Sub-service: overview
GitHub Login: @JanetCThomas
Microsoft Alias: janet

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 396896

Thank you for your feedback.  It appears your suggestion has been addressed. If you are still experiencing an issue, please feel free to re-open with additional information.

#please-close


Sample AppleScript scripts

Where do we put these? How do users find them?

We’re going to put these as a download on the website, which means it can be done for the beta milestone.

Any guidance on where sample scripts should go in the repo?

I just created an AppleScript folder for these. 👍

I think we have a nice collection now. We can always make more in the future.


Our Program

This is the first part of our Program. I imported the most important Libraries like streamlit, os, IO, gTTS, translator from googletrans, regex, pyPDF2.  Then I write 3 Columns for our streamlit decoration.  The code to upload a pdf file then follows. The uploaded file can only be a pdf or else you have an error. In streamlit it uploads pdf files in bytes so I use the BytesIO method to change this bytes into a file and read it with the PyPDF2 library methods

Yes, looks good to me.


Add commonWork example

Added a commonWork example for Let it Be

Updated text per feedback, included an image illustrating the commonWork for Let it Be which also shows both identifiers.


test_runtime.sh: Change --rootfs from '' to '.'

From the spec:

path (string, required) Specifies the path to the root filesystem
for the container. A directory MUST exist at the path declared by
the field.

From POSIX:

The special filename dot shall refer to the directory specified by
its predecessor.

Also from POSIX:

Dot
In the context of naming files, the filename consisting of a single
<period> character ( . ).

Also from POSIX:

Filename
A sequence of bytes consisting of 1 to {NAME_MAX} bytes used to name
a file… The filenames dot and dot-dot have special meaning.

Support for empty-string paths in the wild seems mixed.  Coreutils'
realpath complains:
$ realpath ''
realpath: ‘’: No such file or directory
$ realpath --version
realpath (GNU coreutils) 8.23
...
$ lddtree $(command -v realpath)
/usr/bin/realpath (interpreter => /lib64/ld-linux-x86-64.so.2)
    libc.so.6 => /lib64/libc.so.6
$ equery belongs /lib64/libc.so.6
 * Searching for /lib64/libc.so.6 ...
sys-libs/glibc-2.21-r1 (/lib64/libc-2.21.so)
sys-libs/glibc-2.21-r1 (/lib64/libc.so.6 -> libc-2.21.so)

But Bash's cp seems to treat it as .:
$ cd /tmp/
$ pwd
/tmp
$ cd ''
$ pwd
/tmp
$ command -V cd
cd is a shell builtin
$ echo $BASH_VERSION
4.3.42(1)-release

In the test script, the use of the empty string comes from c69f4f1b
(Modify default root path to "rootfs", 2015-11-13).  The change was
likely because the default 'rootfs' isn't useful when runtimetest
needs to read the config.json from the root of the filesystem, so:
./config.json
./rootfs/runtimetest
./rootfs/…

doesn't work (because after the pivot runtimetest cannot see
config.json).  You could copy the config.json:
./config.json
./rootfs/config.json
./rootfs/runtimetest
./rootfs/…

but the current test test script just dispenses with the extra
'rootfs' directory:
./config.json
./runtimetest
./…

Why c69f4f1b switched to an empty string instead of . is unclear,
but I think we should prefer . for the POSIX-compliance reasons
outlined above.
Signed-off-by: W. Trevor King<EMAIL_ADDRESS>

LGTM


UI Simplifications: Border Panel

Summary
Updates and simplifies the border width inputs design for locked and unlocked status

To-do
Changes for the border color eyedropper  are addressed on a different PR
User-facing changes

Before
After

Testing Instructions

[ ] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Verify that the border width inputs do not have labels at the bottom when unlocked.

Verify that the border width inputs do not have a separator gap in gutters between each input.

Verify that each border width input has a corresponding suffix icon denoting the border side it controls as per Figma .

Verify the border panel matches the design  on Figma

Verify the border width still works as expected.

Reviews
Does this PR have a security-related impact?
No

Does this PR change what data or activity we track or use?
No

Does this PR have a legal-related impact?
No

Checklist

[x] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[ ] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[ ] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #9461

Nit: only toggle the checkbox when actually true :-)

@barklund @miina thanks for the feedback,  I have made the component more generic. Went with the first suggestion from Morten by changing the component to a wrapper as this was also my initial idea but shelved it as I thought it would require refactoring the inputs components but turns out that's not really necessary and seems to work quite well

@Trapsta From testing:
Works well! One detail -- currently the line between two inputs is a double line (1px line from both inputs), however, it should be just 1px line -- moving all but the first input to the left by 1 px should fix it.


Error Analysis: Key Error for categorical features

Running error analysis on Azure Notebooks. Compute Instance has python 3.6.9.
ErrorAnalysis started at https://comp-erroranalysis-5000.westus2.instances.azureml.ms
<raiwidgets.error_analysis_dashboard.ErrorAnalysisDashboard at 0x7f176c1359e8>
categorical_feature in Dataset is overridden.
New categorical_feature is [1, 3, 5, 6, 7, 8, 9, 13]
Traceback (most recent call last):
File "/anaconda/envs/azureml_py36/lib/python3.6/site-packages/pandas/core/computation/scope.py", line 188, in resolve
return self.resolvers[key]
File "/anaconda/envs/azureml_py36/lib/python3.6/collections/init.py", line 883, in getitem
return self.missing(key)            # support subclasses that define missing
File "/anaconda/envs/azureml_py36/lib/python3.6/collections/init.py", line 875, in missing
raise KeyError(key)
KeyError: 'education_'

@nushib @imatiach-msft is there anything else to be done about this issue?
Is there a minimum pandas version we should enforce?

Closing as we now print a warning for older versions of pandas


docs(kuberay-operator): update argo cd guide

Why are these changes needed?
New Argo CD today provide ServerSideApply=true option, so no need split to deploy any more. ☺
This article explains: https://www.arthurkoziel.com/fixing-argocd-crd-too-long-error
This "Server Side Apply" is actually a good practice https://kubernetes.io/blog/2022/10/20/advanced-server-side-apply/ and will be default option for future Kubernetes version.

Related issue number

Checks

[x] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[x] Manual tests
[ ] This PR is not tested :(

You can see I successfully deployed:

We have already moved most docs to Ray website. Would you mind opening a PR in the Ray repository? GitOps (ArgoCD, Flux) is something I want KubeRay to integrate well with. Are you interested in scheduling a chat so that I can understand more about how KubeRay can improve to better support ArgoCD? If you are interested in that, you can ping me in the Ray Slack workspace. My Slack handle is "Kai-Hsun Chen (ray team)". Thanks!

Sounds good, I will open a pull there! ☺
I will ping you after.

Hmm I didn't find any Argo CD related document in the new website.

You can add a doc to introduce how to integrate ArgoCD.


chore: add support for docker linux/arm64

resolves #218

Hey @jeremylong , is there a chance it can be merged anytime soon?

image should be published now as v7.0.1