Best tuning for VLP16 indoor data

Hello, I'm trying to tune Cartographer for my single Velodyne VLP16 but result is not precise enough (weird "shaking" effect & wide wall "thickness"). What are the parameters to tune in order to have good result in a rich indoor environment ?

rosbag validate result:
W0409 03:12:53.558775 23173 rosbag_validate_main.cc:344] frame_id "imu_link" on topic /imu/data has serialization time<PHONE_NUMBER>.088021415 but sensor time<PHONE_NUMBER>.983204338 differing by -0.104817 s.
I0409 03:13:37.202939 23173 rosbag_validate_main.cc:390] Time delta histogram for consecutive messages on topic "/imu/data" (frame_id: "imu_link"):
Count: 120348  Min: 0.000011  Max: 0.020604  Mean: 0.004001
[0.000011, 0.002070)	             #######	Count: 41676 (34.629574%)	Total: 41676 (34.629574%)
[0.002070, 0.004130)	                  ##	Count: 11014 (9.151793%)	Total: 52690 (43.781368%)
[0.004130, 0.006189)	           #########	Count: 54448 (45.242130%)	Total: 107138 (89.023499%)
[0.006189, 0.008248)	                  ##	Count: 9609 (7.984345%)	Total: 116747 (97.007843%)
[0.008248, 0.010307)	                    	Count: 1426 (1.184897%)	Total: 118173 (98.192741%)
[0.010307, 0.012367)	                    	Count: 1827 (1.518098%)	Total: 120000 (99.710838%)
[0.012367, 0.014426)	                    	Count: 292 (0.242630%)	Total: 120292 (99.953468%)
[0.014426, 0.016485)	                    	Count: 49 (0.040715%)	Total: 120341 (99.994186%)
[0.016485, 0.018544)	                    	Count: 6 (0.004986%)	Total: 120347 (99.999168%)
[0.018544, 0.020604]	                    	Count: 1 (0.000831%)	Total: 120348 (100.000000%)
I0409 03:13:37.210742 23173 rosbag_validate_main.cc:390] Time delta histogram for consecutive messages on topic "/velodyne_points" (frame_id: "velodyne"):
Count: 362207  Min: 0.000005  Max: 0.025250  Mean: 0.001329
[0.000005, 0.002530)	####################	Count: 356097 (98.313118%)	Total: 356097 (98.313118%)
[0.002530, 0.005054)	                    	Count: 6003 (1.657340%)	Total: 362100 (99.970459%)
[0.005054, 0.007579)	                    	Count: 97 (0.026780%)	Total: 362197 (99.997238%)
[0.007579, 0.010103)	                    	Count: 4 (0.001104%)	Total: 362201 (99.998344%)
[0.010103, 0.012627)	                    	Count: 1 (0.000276%)	Total: 362202 (99.998619%)
[0.012627, 0.015152)	                    	Count: 2 (0.000552%)	Total: 362204 (99.999168%)
[0.015152, 0.017677)	                    	Count: 1 (0.000276%)	Total: 362205 (99.999451%)
[0.017677, 0.020201)	                    	Count: 0 (0.000000%)	Total: 362205 (99.999451%)
[0.020201, 0.022726)	                    	Count: 1 (0.000276%)	Total: 362206 (99.999725%)
[0.022726, 0.025250]	                    	Count: 1 (0.000276%)	Total: 362207 (100.000000%)

Please check if you are really accumulating one laser scanner rotation in one LocalSlamResult.
In rviz, look at the PointCloud2 topic that shows the accumulated points.
This should neither flicker nor show more or less points.
Then, tune TRAJECTORY_BUILDER_3D.num_accumulated_range_data = 80

"In rviz, look at the PointCloud2 topic that shows the accumulated points." - Which topic is this?  I only see my input point clouds and /scan_matched_points2?
I'm not sure if I can provide my bag file and configuration at the moment (corporate rules on putting piles of data out there...), but some pointers as to where to start looking would be helpful.
The Toyota HSR in 3D mode appears to be using a VLP-16 based on the subscribed topic in https://github.com/googlecartographer/cartographer_toyota_hsr/blob/master/cartographer_toyota_hsr/launch/hsr_3d.launch - but they are not setting num_accumulated_range_data at all in https://github.com/googlecartographer/cartographer_toyota_hsr/blob/master/cartographer_toyota_hsr/configuration_files/toyota_hsr_3d.lua
Meanwhile for two VLP-16 units, https://github.com/googlecartographer/cartographer_ros/blob/master/cartographer_ros/configuration_files/backpack_3d.lua is setting a value of 160 - I can see the number of accumulated range data doubling for two units, and I can see why this value might change based on the configured Velodyne RPM setting, but a 160x range???
In the case of backpack_3d, what was the Velodyne configuration for motor RPM?  I'm assuming at lower RPM there are more packets per revolution and then num_accumulated_range_data must increase.

OK, it appears there's a not-very-well-documented "npackets" option for the Velodyne driver.
If you are running dual returns and leaving npackets at default, then you want num_accumulated_range_data equal to 2*num_scanners
If you're not running dual returns, num_accumulated_range_data = num_scanners
(Am I making a mistake here, should this just be per scanner?)
If you set npackets=1 in the Velodyne node config when recording your data and are running 600 RPM, then num_accumulated_range_data should be approximately 76 for single return and 151 for dual return.  (Multiplied by num_scanners?  Not sure...  Need to do more investigation/testing)

@villajuvius
Hello, I am using a 16-lines LIDAR and IMU to build 3D map by cartographer.
I tun the parameters and run it with no error, the results are as follows:

There is a big gap with the real environment. I think the map is messy. What is the problem of this result? How can I solve it?
This is the validate result of my bag:

E0227 22:30:57.092067 19056 rosbag_validate_main.cc:365] Average IMU linear acceleration is 10.6084 m/s^2, expected is [9.5, 10.5] m/s^2. Linear acceleration data should include gravity and be given in m/s^2.
I0227 22:30:57.093359 19056 rosbag_validate_main.cc:398] Time delta histogram for consecutive messages on topic "/IMU" (frame_id: "imu"):
Count: 37968  Min: 0.004133  Max: 0.016211  Mean: 0.010000
[0.004133, 0.005340)	                    	Count: 2 (0.005268%)	Total: 2 (0.005268%)
[0.005340, 0.006548)	                    	Count: 3 (0.007901%)	Total: 5 (0.013169%)
[0.006548, 0.007756)	                    	Count: 8 (0.021070%)	Total: 13 (0.034239%)
[0.007756, 0.008964)	                    	Count: 828 (2.180784%)	Total: 841 (2.215023%)
[0.008964, 0.010172)	 ###################	Count: 35958 (94.706070%)	Total: 36799 (96.921089%)
[0.010172, 0.011380)	                    	Count: 345 (0.908660%)	Total: 37144 (97.829750%)
[0.011380, 0.012588)	                    	Count: 820 (2.159714%)	Total: 37964 (99.989464%)
[0.012588, 0.013796)	                    	Count: 1 (0.002634%)	Total: 37965 (99.992096%)
[0.013796, 0.015004)	                    	Count: 0 (0.000000%)	Total: 37965 (99.992096%)
[0.015004, 0.016211]	                    	Count: 3 (0.007901%)	Total: 37968 (100.000000%)
E0227 22:30:57.094650 19056 rosbag_validate_main.cc:382] Point data (frame_id: "rslidar") has a large gap, largest is 0.101409 s, recommended is [0.0005, 0.05] s with no jitter.
I0227 22:30:57.094745 19056 rosbag_validate_main.cc:398] Time delta histogram for consecutive messages on topic "/rslidar_points" (frame_id: "rslidar"):
Count: 3766  Min: 0.100213  Max: 0.101409  Mean: 0.100801
[0.100213, 0.100333)	                    	Count: 1 (0.026553%)	Total: 1 (0.026553%)
[0.100333, 0.100452)	                    	Count: 1 (0.026553%)	Total: 2 (0.053107%)
[0.100452, 0.100572)	                    	Count: 9 (0.238980%)	Total: 11 (0.292087%)
[0.100572, 0.100691)	                    	Count: 33 (0.876261%)	Total: 44 (1.168348%)
[0.100691, 0.100811)	      ##############	Count: 2717 (72.145515%)	Total: 2761 (73.313858%)
[0.100811, 0.100931)	               #####	Count: 972 (25.809877%)	Total: 3733 (99.123741%)
[0.100931, 0.101050)	                    	Count: 25 (0.663834%)	Total: 3758 (99.787575%)
[0.101050, 0.101170)	                    	Count: 6 (0.159320%)	Total: 3764 (99.946892%)
[0.101170, 0.101289)	                    	Count: 1 (0.026553%)	Total: 3765 (99.973450%)
[0.101289, 0.101409]	                    	Count: 1 (0.026553%)	Total: 3766 (100.000000%)

Here are my files:
demo_rsldiar_3d.launch
rslidar_3d.launch
mydemo_3d.rviz
rslidar_2d.urdf
rslidar_scan_3d.lua
my data bag
Do you know the problem?

@Duke-Allen Hello Duke, you should probably start your own thread to get an answer related to your current issue. Since my problem was solved, I can give you a few hints to start with.
In your case, I think your IMU is not well calibrated prior to your lidar sensor. That why you should provide a correct URDF file before tunning anything else. Use CAD data of your system to do so, or use an open source calibration software like Ethzasl Kalibr, VINS Mono calibration capability or even Cartographer itself since it can fix minor rotation issue (set POSE_GRAPH.optimization_problem.log_solver_summary = true).
Then, when you feel confident enough with your URDF you should tune local SLAM alone (set POSE_GRAPH.optimize_every_n_nodes = 0). More detailed instructions here.
Hope it would help you, please consider opening your own thread next time.

@villajuvius
Thanks for your reply. I have started my thread to get an answer. I will tune it as you said. Thank you for your help again.


Shodan tooltip report presentation

For Shodan results, add two tooltip report sections that will display tables after tags and ports.
title: "Service/Port info for ${indicator}"
product
port
title ;# limit 12 chars, tooltip the rest
server
module
data  ;# limit 12 chars, tooltip the rest
html  ;# limit 12 chars, tooltip the rest
title: "Certificates for ${indicator}"
cert.issued
cert.expires
cert.fingerprint.sha1 ;# link back to Censys search
cert.issuer   ;# in a tooltip
cert.subject  ;# in a tooltip

The report section is done, but can you present them immediately after the tags and ports section up top?

now immediately after tags/ports


ICollProvider queries excluding DynWaves

we are trying to use DynWaves as a cosmetic feature only, but we don't want the dynamic waves to impact my simulation which is based on Ocean queries using OceanRenderer.Instance.CollisionProvider.
Unfortunately there seems to be no way to exclude DynWaves from the query.
Things we already explored:

Settings Anim Waves -> Collision Source: The CPU option excludes too many Ocean features
Tinkering with the compute shaders and trying to subtract the DynWaves texture from the AnimWaves texture during sample doesn't seem to work. (But we have limited understanding of that part of how Crest works :()

Is this something that can be achieved already, or planned in any way, or what would be the best approach to look into this?
Thank you

Hi there, yeah its an issue with our stuff.

The CPU option excludes too many Ocean features

Which features out of interest? The CPU should be a valid option, but is rarely used and probably way out of date
The trouble is that the dynamic waves are simulated at multiple resolutions/cascades, and these are copied into the displacement textures, and then a 'combine' pass integrates the data from all the cascades together. It's all mixed up together. See our siggraph talk from last year for more info about the combine pass.
I think an approach to this might be:

Add a texture array for the combined dynamic waves to LodDataDynWaves. See CreateCombineBuffer() function and code around it.
After dynamic wave simulation, run the combine pass, similar to the CombinePassCompute() function to combine all the dynamic wave cascades
Remove the code in ShapeCombine.compute that copies in the dynamic waves
Add code to Ocean.shader to sample the combined dynamic waves (this would need to be added as a new sampler)

This separates the dynamic waves from the displacement textures. They would be combined separately, and sampled from the ocean shader. This means that the dynamic wave data wont be in the displacement textures that the queries sample.

The CPU option excludes too many Ocean features

Which features out of interest? The CPU should be a valid option, but is rarely used and probably way out of date

Multiple Gerstner Inputs and attenuation.

[...]

Lot of information that we need to work on before we can provide a proper feedback on the rest!
Our understanding was that the _LD_TexArray_AnimatedWaves contains both the AnimWaves and DynWaves, while _LD_TexArray_DynamicWaves contains only the DynWaves.
So we just tried to do the following in "QueryDisplacements.compute":
	return 		(wt_0 * _LD_TexArray_AnimatedWaves.SampleLevel(LODData_linear_clamp_sampler, uv0, 0).xyz + wt_1 * _LD_TexArray_AnimatedWaves.SampleLevel(LODData_linear_clamp_sampler, uv1, 0).xyz) - 		(wt_0 * _LD_TexArray_DynamicWaves.SampleLevel(LODData_linear_clamp_sampler, uv0, 0).xyz  + wt_1 * _LD_TexArray_DynamicWaves.SampleLevel(LODData_linear_clamp_sampler, uv1, 0).xyz);
But it does not seem to work.
Thanks a lot for the quick answer for now. I'll update here once we work more on your proposed approach.

Two problems with naively subtrating dynamic waves from animated waves:

Animated waves have been combined - all the big wavelengths have been copied up the cascade chain. Dynamic waves have not.
When dynamic waves are copied in to the animated waves, a horizontal displacement is generated to give them chop - see ShapeCombine.compute or my siggraph talk. So _LD_TexArray_DynamicWaves.x has the dynamic wave height, but when its copied in a full xyz is generated.
Btw related to the previous point - _LD_TexArray_DynamicWaves.xyz is erroneous. The x component is height, y component is vel.

But i thought of an alternative approach that may work and be better:

Leave animated waves the way they are now
Perform a combine pass on the dynamic waves as described in my last post, probably into a new texture array
In the query shader, subtract the dynamic waves, kind of like what you have, but used the combined dynamic waves, and generate a displacement to get the xyz you need

This is probably better as it avoids messing with the animated waves (which are used for foam and stuff), and avoids messing with the ocean shader.


fix refactor insert behavior to make same with mysql

Proposed changes
Issue Number: close #xxx
now inserting into the Datelike-type column have almost the same behavior as MySQL.

all illegal literal try to insert into a datelike column will insert NULL
fix the bug which we treat all string literal with a legal prefix as a legal datelike string literal.
decimal part of datetimeV2 now has to have a length of [0,9].
a string literal of datetimeV2 value whose decimal part exceeds the length limit will cut off rather than get NULL from now on.


Fix UnicodeDecodeError on Python 2.7

The strip_string function is causing issues on Python 2.7:

value.encode("utf-8") will throw a UnicodeDecodeError if value is a (non-unicode) str that contains non-ascii characters
value.encode("utf-8") will also throw a UnicodeDecodeError if the encoding of the file is not utf-8

General Notes
Thank you for contributing to sentry-python!
Please add tests to validate your changes, and lint your code using tox -e linters.
Running the test suite on your PR might require maintainer approval. Some tests (AWS Lambda) additionally require a maintainer to add a special label to run and will fail if the label is not present.
For maintainers
Sensitive test suites require maintainer review to ensure that tests do not compromise our secrets. This review must be repeated after any code revisions.
Before running sensitive test suites, please carefully check the PR. Then, apply the Trigger: tests using secrets label. The label will be removed after any code changes to enforce our policy requiring maintainers to review all code revisions before running sensitive tests.

Will open a new PR for this


Typo: 'rendered' changed to rendered

Found a typo while browsing through the docs.

Looks like this is already fixed in master, but I guess this is fine to merge in for immediate results.


[Feature] - Add ChromaDB support for Vector Storage

ChromaDB is seeing growing use for vector storage, especially for self-hosted. It would be nice to see an integrated option to use it. It unfortunately only has Python and JS clients: https://docs.trychroma.com/reference/Client
There is a package for PHP for using it already, which could in theory be used already: https://github.com/CodeWithKyrian/chromadb-php

hey @ErroneousBosch,
Good idea ! Do you want to submit a PR?

Hey @MaximeThoonsen , I'd like to try to create an integration with ChromaDB. Do you think that adding a dependency to odewithkyrian/chromadb-php would be OK?

hey @f-lombardo ,
For now I add this kind of specific dependencies  in the "suggest" section. So we can keep it light and avoid a dependencies hell.
Sounds good to you?

It seems a good option, let's try

Hey @MaximeThoonsen , maybe this issue could be closed.

@f-lombardo yes!


[release-1.6] Add release note for 25531

This is an automated cherry-pick of #29098

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-test_istio_release-1.6
ccf289b580ac46519b7f7861341c04d3c654e921
link
/test release-test_istio_release-1.6

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

This was manually added to the release. Closing.


Feature request: custom field boundaries / delimiters for the text-format template

First of all: thank you for this very awesome project! It has a lot of useful features, the documentation is very well written and the software works reliably even under higher load conditions.
When using the text format with Loki, the pattern parser allows for a very straightforward extraction of labels:
config.yml:
text-format: "timestamp-rfc3339ns identity operation rcode queryip queryport family protocol length qname qtype latency"

LogQL:
pattern "<timestamp_rfc3339ns> <identity> <operation> <rcode> <queryip> <queryport> <family> <protocol> <length> <qname> <qtype> <latency>"

This works fine, until the received data is somehow malformed, e.g. someone is using spaces in the qname field. Would it be possible to define custom delimiters in the text-format template? For example:
text-format: "timestamp-rfc3339ns; identity; operation; rcode; queryip; queryport; family; protocol; length; qname; qtype; latency"

or

text-format: "timestamp-rfc3339ns identity operation rcode queryip queryport family protocol length qname qtype latency"
text-format-delimiter: ";"

Alternatively (or additionally) the optional configuration of quotation marks around each field would also solve this problem, for example:
text-format: "qname qtype"
text-format-field-boundary: "

=> "example.org" "A"
text-format: "qname qtype"
text-format-field-boundary: !

=> !example.org! !A!
Maybe both solutions can be combined inside the text-format option as well? For example:
text-format: "\"qname\", \"qtype\""

I am not sure how difficult it would be to implement something like this, but I think it would really improve the ability to reliably parse the data in the default text format. Let me know what you think.

Many thanks for reporting this bug, it's not the expected behavior
to reproduce :
dig @<IP_ADDRESS> -p 5353 "google . fr"
2023-03-31T18:45:05.971805Z unbound CLIENT_RESPONSE NXDOMAIN <IP_ADDRESS> 43134 IPv4 UDP 115b google . fr A
The custom delimiter is easy to implement, I will add it.
I try to implement something for the next release regarding custom quotation marks too (v0.31.0)

What do you think to apply the field boundary only for the qname ?
Example:
IPv4 UDP 115b "goo gle.fr" A
or
IPv4 UDP 115b "goo gle.\"fr\"" A

Awesome! I think IPv4 UDP 115b "goo gle.fr" A would perfectly solve the problem of split queries. Custom delimiters might still be useful for people who require a certain format (like CSV), or to define better compartments by using a delimiter only at a certain point, for example:
config.yml:
text-format: "timestamp-rfc3339ns identity operation rcode queryip queryport family protocol length; qname qtype latency"

Would allow using this in LogQL:
pattern "<_>; <qname> <qtype> <_>"


New plugin: DosageSensitivity (e112)

Description
Added documentation for new VEP plugin.
Use case
Provide information to user about new option available in vep rest endpoint.
Possible Drawbacks
No drawbacks.
Testing
Checked in sandbox - http://wp-np2-11.ebi.ac.uk:7075
Changelog
[/vep/:species/hgvs/] new plugin option added: DosageSensitivity
[/vep/:species/id/] new plugin option added: DosageSensitivity
[/vep/:species/region/] new plugin option added: DosageSensitivity

@olaaustine , can you check this PR?


Fix cli command restore-repo: "units" should be parsed as StringSlice

Line 64: c.StringSlice("units"), so the definition of "units" should be StringSliceFlag, and StringSliceFlag only supports to parse comma separated values from ENV or DefValue.
Background: this bug was introduced by #15790 , before, the units were processed by strings.Split, so now StringSliceFlag should be used if we do not want to split the value manually. Or, we can keep the old comma-separated-string behavior, continue to use strings.Split if most people prefer that, I am fine to either.

Sorry for bothering but I think what I have done in this PR is not correct.
Details and the fix:

#20183


Selected tab text is green and does not match the rest of the theme

Currently the selected tab text is green which is not a theme color from the current docs site (see below)

This is based on the style guide behaviors.


Fix Compile Error on emscripten

This is not the root module, so you can't access std like that as a relative path. I'd also be pretty happy if we can have a 0.4.2 for this, as I'd like to publish the next version of my crate to crates.io, but it relies on this working ^^'

Thanks!

Version 0.4.2 is released with this fix!

Thank you :)


User group permissions

It'd be nice to be able to create user groups with different set of authentication-keys.
Then we could configure each group and define what action they can perform:

create TCP tunnel / aliases (filter allowed alias names)
create HTTP(S) tunnel
jump to an existing TCP alias (also could be filtered using regexp to say which aliases you can access)

This way we could allow some devices to connect to sish and expose themselves using a TCP alias, without allowing them to jump to other devices. And have another group of users that can access these.
What do you think? ;-)

I think this could be a cool feature, but I am still limited by time!
If sish was able to pay my tuition and bills, I'd be all over it! :)
Until then, I'm marking this as a feature request.

Hey @bibo38,
I decided I'm actually gonna close this issue for now. This is a bit out of scope for the goal of sish. I have some ideas for another project this will probably fit into though, so I'll update this when I get that out.
In the meantime, you can achieve what you want with running different instances of sish with certain features disabled and then having a reverse proxy in front if needed.

@antoniomika you've addressed the wrong person, it's actually @blop :smile_cat:

Whoops! I blame GitHub autocorrect for that one!


Updating the Autodocs

[ ] Tests for new functionality/models or Tests to reproduce the bug-fix in code.
[ ] Updated documentation of features that add new functionality.
[ ] Update CHANGELOG.md with major/minor changes.

This pull request fixes several small documentation issues and expands the autodocs for the HARK models to make them more informative. So far ConsIndShockModel, ConsIndShockModelFast, and ConsPrefShockModel have been updated. I'm currently working on the others. It also substantially reworks the installation guide.

I made a small change to core.py, could someone who understands how core.py works check that it won't cause problems?


👀 add partly support for izq.trio

Add partly support for izq.solo
No Idea for any zone service support

Works well now but no zone function. Any plans to add? Thanks!

Due to limitations on the Mi Home platform, it is currently not possible to access partition information. Therefore, there should be no updates about izq solo and trio here (probably), and what we can do is only hope lies in the possibility of 子擎 developing a plugin that can be directly integrated with Home Assistant.
By the way... I am not an employee of 子擎. For specific information, you should inquire with the official sources.

Works well now but no zone function. Any plans to add? Thanks!

Due to limitations on the Mi Home platform, it is currently not possible to access partition information. Therefore, there should be no updates about izq solo and trio here (probably), and what we can do is only hope lies in the possibility of 子擎 developing a plugin that can be directly integrated with Home Assistant.
By the way... I am not an employee of 子擎. For specific information, you should inquire with the official sources.

Works well now but no zone function. Any plans to add? Thanks!

Due to limitations on the Mi Home platform, it is currently not possible to access partition information. Therefore, there should be no updates about izq solo and trio here (probably), and what we can do is only hope lies in the possibility of 子擎 developing a plugin that can be directly integrated with Home Assistant.
By the way... I am not an employee of 子擎. For specific information, you should inquire with the official sources.

I just found out zone service was added to this model on Miot-Spec!
重大利好消息哈哈哈！

Works well now but no zone function. Any plans to add? Thanks!

Due to limitations on the Mi Home platform, it is currently not possible to access partition information. Therefore, there should be no updates about izq solo and trio here (probably), and what we can do is only hope lies in the possibility of 子擎 developing a plugin that can be directly integrated with Home Assistant.
By the way... I am not an employee of 子擎. For specific information, you should inquire with the official sources.

I just found out zone service was added to these 2 models(Trio and Solo) on Miot-Spec!! 重大好消息哈哈哈！

这是米家的数据，没有开放读写权限。


Can we support Java jar support for aar is not support in Pure java env.?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
No
Describe the solution you'd like
A clear and concise description of what you want to happen.
Java version Sdk is needed. and will not be too much work change from android sdk.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I think you can use the library in Java, just the demo and tests are written in Kotlin

no, what I mean is pure java env, current sdk support android java, but java server env.


Add the AirController project.

Added in this commit
https://github.com/leanflutter/awesome-flutter-desktop/commit/4a14d8a5ca9e5c79590eefe71954be269a0d193d


Add verbose output to primary Test-SPDSCSpecificParameters method

Fixes #316 - I also renamed the method here to Test-SPDscParameterState to remove the issue the health analyzer has with cmdlets ending in plural terms as well.

[X] Change details added to Unreleased section of readme.md?
[n/a] Added/updated documentation and descriptions in .schema.mof files where appropriate?
[n/a] Examples updated for both the single server and small farm templates in the examples folder?
[X] New/changed code adheres to [Style Guidelines]?(https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md)?
[X] Unit and Integration tests created/updated where possible?

This change is

Reviewed 66 of 66 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


chore: release v1.19.2

:tada: This PR is included in version 1.19.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[BUG] Nothing save in base when using conditionalSheets

[ ] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[x] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[x] Checked that your issue isn't already filed.
[x] Checked if no PR was submitted that fixes this problem.
[x] Filled in the entire issue template

Versions

PHP version: 7.2.11
Laravel version: 7.8
Package version: 3.1

Description
Impossible to save data in the database. No error, just no data. the Collection function of ImportExcelCable is right executed
Steps to Reproduce
File ControllerFabricant.php :

$address = 'import/equipements.xlsx'; $import = new ImportExcel(); $import->onlySheets('Equipements hors méca'); Excel::import($import,$address);
File App/Imports/ImportExcel.php

``
namespace App\Imports;
use Maatwebsite\Excel\Concerns\WithMultipleSheets;
use Maatwebsite\Excel\Concerns\WithConditionalSheets;
class ImportExcel implements WithMultipleSheets
{
use WithConditionalSheets;
public function conditionalSheets(): array
{
    return [
        'Câbles' => new ImportExcelCable(),
        'Equipements hors méca' => new ImportExcelEquipement(),
    ];
}

}
``
File App/Imports/ExcelCable.php

`
namespace App\Imports;
use App\Fabricant;
use Illuminate\Support\Collection;
use Maatwebsite\Excel\Concerns\ToCollection;
use Maatwebsite\Excel\Concerns\WithCalculatedFormulas;
use Maatwebsite\Excel\Concerns\WithStartRow;
class ImportExcelCable implements ToCollection, WithCalculatedFormulas, WithStartRow
{
public function startRow(): int
{
return 7;
}
public function collection(Collection $rows)
{
    foreach ($rows as $row){

        Fabricant::create([
            'nom' => 'test'
        ]); **// Dont save anyting in base**

        $fabricant = new Fabricant();
        $fabricant->nom = 'test';
        $fabricant->save(); **// Dont save anything in base**

        dd($row);
    }
}

}
`
Expected behavior:
Save data in database, data from the excel file, and data from related models
Actual behavior:
Didn't save anything in the database
Additional Information
Debug show the new model created by the collection function of ImportExcelCable.php, with an id, id who auto increments with my trying, but nothing in database.

Does it work when not using conditional sheets?
If not, you should check the sheet names.

Hi @patrickbrouwers ,
Yes it's work when i not using the conditional sheets.
In this case, the right file and class are excuted (function collection of ImportExcelCable.php) , so i don't see why that could be a sheet name issue.
Thanks for your help.

Try to see what happens in https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/src/Concerns/WithConditionalSheets.php#L29 There might be something specific to your use-case perhaps.  Try dumping what the sheets() method returns, seems like that returns an empty array then.
According to our tests it should work: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/tests/Concerns/WithConditionalSheetsTest.php
If you find out what goes wrong, feel free to submit a PR with a fix or failing test.

This is a dump, the array look ok.

Thanks for your help

I don't see the results of the array filter in your screenshot.  The value you show is the input you have given.

Sorry,
If i make a dd()
dd( \array_filter($this->conditionalSheets(), function ($name) {
return \in_array($name, $this->conditionallySelectedSheets, false);
}, ARRAY_FILTER_USE_KEY));
i get that
array:1 [▼
"Câbles" => App\Imports\ImportExcelCable {#456}
]

Seems to be correct output.
And you said that if you put this directly in sheets() method without conditional loading it works?

Im not sure to understand what you say.
If i make i more simple class, without using WithMultipleSheets, yes, the saving in database working normaly

I meant when you test it with WithMultipleSheets . But without loading them conditionally.

Ok, if i write this in my controller, without changing my import class
$address = 'import/equipements.xlsx';
$import = new ImportExcel();
//$import->onlySheets('Câbles');
Excel::import($import, $address);
That make just nothing, functions of my ImportExcelCables.php and ImportExcelEquipement.php doesn't  executed.

You have to change your import class to use the sheets() method directly.

I have no idea how to do that, I'm thinks its beyond my skills to use this package ;-(

Seriously, i didn't understand what the difference between the documentation and my code ?
When you use WithMultipleSheets, did you manipulate the data in the function from the related class of the sheet, or you have only return an array ?

public function sheets(): array
{
    return [
       new ImportExcelCable(),
       new ImportExcelEquipement(),
    ];
}

Finally i have understood what's happening.
When you use a method of a related class, for this exemple new ImportExcelCable(),
If in this class i Implements ToModel, the framework start a mysql Transaction when the model() method is launch. And commit that transaction only if all the script is fine and the logic of the implements is respected.

Thanks to you @patrickbrouwers, for your patience and your help !


can't lxc init on a remote host

$ lxc remote list | grep host1
| host1           | https://<IP_ADDRESS>:8443             | lxd           | NO     | NO     |
$ lxc init xenial host1:unpriv
Creating unpriv
error: Get http://unix.socket/1.0: dial unix /var/lib/lxd/unix.socket: connect: connection refused

It tries to talk to my local host, which doesn't have a LXD.

That's normal, you're telling LXD to start the image "xenial" from the local: remote as "unpriv" on "host1".
I suspect you instead wanted "lxc init xenial:unpriv host1:unprix"

Ah, I guess you meant lxc init host1:xenial host1:unpriv, but yep, that works thanks.

Oh yeah, sorry, I did :)


adds support for comment elements in user agent

When using a user agent with "comments" section e.g. "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4" caused null reference exception because the Product property is null.

Thanks!


Ephemeral RSA key support

Optionally add ephemeral RSA key to SSL_CTX to allow export cipher suites, controlled by a command line switch, and probably disabled unless specifically enabled by a build knob WANT_EPHEMERAL_RSA or some such.
http://www.openssl.org/docs/ssl/SSL_CTX_set_tmp_rsa_callback.html

With the recent FREAK publicity I am expecting support for export ciphers to completely disappear now and no longer think it's worthwhile to implement ephemeral RSA in SSLsplit.


Add files via upload

@AptitudeAcademy I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host student.ac.th not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Add shuffle button

Implement for #46.
I added a shuffle button to media player.

@gillesdemey How come this hasn’t been merged?

@gillesdemey @MichielDeMey Have you looked at this?

Guys please merge this! We need shuffle button! And thank you for Cumulus in 2019!


add updated path to cdnhost to refer to correct image

add updated path to cdnhost to refer to correct image

CI: No security warnings found

CI: No security warnings found


add settings docs

We wrote down documentation for how the settings service should work

superseded by https://github.com/owncloud/ocis/pull/171


added google oauth

@akrakman there is a conflict in app.py

k. I commented on the pr you just closed


Add Heart Languages

This change is

fetcher-web/src/main/kotlin/org/bibletranslationtools/fetcher/impl/repository/LanguageRepositoryImpl.kt, line 9 at r8 (raw file):

class LanguageRepositoryImpl(
    private val gatewayCatalog: LanguageCatalog,
    private val heartCatalog: LanguageCatalog

This is welcome for any suggestion, since we are expecting to have a single Language Repository that can serve out different language groups or all of them (?)


feat: Support full URLs when adding repo to insights page

Description
This PR adds support for full URLs to the Add Repository selection field when creating/updating an insights page.
I've used a code solution from this repo: https://github.com/open-sauced/open-sauced/blob/main/src/lib/util.js#L1 and added tests.
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Closes #1415
Mobile & Desktop Screenshots/Recordings
I haven't changed any of the language here, but perhaps I should?

Added tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Thanks @dominicduffin1. We have a util function already for validating github URLs here https://github.com/open-sauced/insights/blob/beta/lib/utils/github.ts#L24. Will you use that instead?

@brandonroberts Yes I can revise to use that.

The placeholder being long isn't something we can avoid, the message still has to be passed out as correctly as possible IMHO 😉
That part LGTM 🍕

@dominicduffin1 looks better. Instead of copying the other function and tweaking the return, how about we give the original utility function with a more generic name and use it instead, such as generateRepoParts or something similar.

@brandonroberts We certainly can do that, looking in more detail at how it's been used I think it should be safe to add the logic this solution needs to the original one.

@brandonroberts We certainly can do that, looking in more detail at how it's been used I think it should be safe to add the logic this solution needs to the original one.

Ok cool

I've just resolved the merge conflicts from the latest version of beta and pushed.

Thanks @dominicduffin1. After the changelog is reverted and the merge conflicts are resolved, we should be good to go

I've resolved the latest merge conflicts and reverted the CHANGELOG.md change so we should now have a clean PR.


Rdf Collapsing Intro

to run:

doitlab
run RDF_to_LPG_Example.ipynb

to run tests:

pytests examples/tests

CHANGES:

changed from rdflib_to_networkx_graph to rdflib_to_networkx_digraph
more detailed description and specific examples of node collapsing via the new collapse_predicates function
added a PredicateMultiselectApp which uses a combination of widgets to give a user the ability to select predicates they wish to collapse in an RDF graph
developed CustomURIRef class, a way to store a URIRef URI but receive a 'pretty'/truncated version of the name for display purposes
added pytests for both CustomURIRef class and the collapse_predicates function

In the PR description, I would make sure we are precise in the test procedure.
Need to conda activate envs/develop, and the command is pytest.
Everything else looks good. We can circle back on other improvements on the next ticket.


Error when running on MacOS

When running the following code in Kotlin-Explorer
public val Int.sign: Int get() = when {
    this < 0 -> -1
    this > 0 -> 1
    else -> 0
}

I get the following error:

error: source file or directory not found:

I've setup both the Android home directory and Kotlin home directory. As a test, I changed the Kt home dir and attempting a build the tool gave me file not found errors for several files contained in my original kt directory.
Here is a screenshot of my Settings:

My machine is a 2023 MacBook Pro  M2 Max running macOS Sonoma 14.4.1

To fix this for my simple case, I checked whether the compilerFlags were not empty or blank before adding them to the command in the KotlinCompiler file. It appears that an empty/black flag causes the issue.

To fix this for my simple case, I checked whether the compilerFlags were not empty or blank before adding them to the command in the KotlinCompiler file. It appears that an empty/blank flag causes the issue.

What compiler flags are you using?

To fix this for my simple case, I checked whether the compilerFlags were not empty or blank before adding them to the command in the KotlinCompiler file. It appears that an empty/blank flag causes the issue.

What compiler flags are you using?

None. The compilerFlag was empty in my case.

To fix this for my simple case, I checked whether the compilerFlags were not empty or blank before adding them to the command in the KotlinCompiler file. It appears that an empty/blank flag causes the issue.

What compiler flags are you using?

None. The compilerFlag was empty in my case.

I understand what you mean. I will make the same change.

Thanks @brunohensel! @jdavisAR try with the patch that just landed. I couldn't reproduce the issue even though I don't have compiler flags defined.

Thanks @brunohensel!, that patch did fix the issue for me.


src/lib/tasks/cucumber.rake

Is the src/lib/tasks/cucumber.rake script necessary?  I don't see the cucumber gem listed in src/Gemfile or src/Gemfile.lock.  Are there plans to add cucumber back in, or should this script be removed?

Good spotting. I suspect that's vestigial and can be removed.

This is addressed in https://github.com/minnestar/sessionizer/pull/193 .

Merged


Allow to configure nip.io

wildcard_dns_host can now be specified as an extra var to Ansible for when nip.io goes down. Using, for example, -e "wildcard_dns_host=xip.io"

@philbrookes Would you mind giving this a go? nip.io seems to be down at the moment, specifying -e "wildcard_dns_host=xip.io" to ansible should fix issues we're seeing for now.

@aidenkeating :fireworks: Thanks for this!


Day332

Resolves #669.

Pull Request Test Coverage Report for Build 1378

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 1376:
0.0%

Covered Lines:
5

Relevant Lines:
5

💛  - Coveralls


Fail compile: DexArchiveMergerException unable to merge dex

Hello to everyone, I have some problem compiling the App on Android, after installing react-native-fcm.
My error is
Execution failed for task :app:transformDexArchiveWithExternalLibsDexMergerForDebug.
> com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

Env:
RN 0.48.4
react-native-fcm: 11.2.0
Im using a Samsung Galaxy S7 and obviously my app not running
this is my app/build.gradle
apply plugin: "com.android.application"

import com.android.build.OutputFile

/**
 * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
 * and bundleReleaseJsAndAssets).
 * These basically call `react-native bundle` with the correct arguments during the Android build
 * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
 * bundle directly from the development server. Below you can see all the possible configurations
 * and their defaults. If you decide to add a configuration block, make sure to add it before the
 * `apply from: "../../node_modules/react-native/react.gradle"` line.
 *
 * project.ext.react = [
 *   // the name of the generated asset file containing your JS bundle
 *   bundleAssetName: "index.android.bundle",
 *
 *   // the entry file for bundle generation
 *   entryFile: "index.android.js",
 *
 *   // whether to bundle JS and assets in debug mode
 *   bundleInDebug: false,
 *
 *   // whether to bundle JS and assets in release mode
 *   bundleInRelease: true,
 *
 *   // whether to bundle JS and assets in another build variant (if configured).
 *   // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
 *   // The configuration property can be in the following formats
 *   //         'bundleIn${productFlavor}${buildType}'
 *   //         'bundleIn${buildType}'
 *   // bundleInFreeDebug: true,
 *   // bundleInPaidRelease: true,
 *   // bundleInBeta: true,
 *
 *   // whether to disable dev mode in custom build variants (by default only disabled in release)
 *   // for example: to disable dev mode in the staging build type (if configured)
 *   devDisabledInStaging: true,
 *   // The configuration property can be in the following formats
 *   //         'devDisabledIn${productFlavor}${buildType}'
 *   //         'devDisabledIn${buildType}'
 *
 *   // the root of your project, i.e. where "package.json" lives
 *   root: "../../",
 *
 *   // where to put the JS bundle asset in debug mode
 *   jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
 *
 *   // where to put the JS bundle asset in release mode
 *   jsBundleDirRelease: "$buildDir/intermediates/assets/release",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in debug mode
 *   resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
 *
 *   // where to put drawable resources / React Native assets, e.g. the ones you use via
 *   // require('./image.png')), in release mode
 *   resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
 *
 *   // by default the gradle tasks are skipped if none of the JS files or assets change; this means
 *   // that we don't look at files in android/ or ios/ to determine whether the tasks are up to
 *   // date; if you have any other folders that you want to ignore for performance reasons (gradle
 *   // indexes the entire tree), add them here. Alternatively, if you have JS files in android/
 *   // for example, you might want to remove it from here.
 *   inputExcludes: ["android/**", "ios/**"],
 *
 *   // override which node gets called and with what additional arguments
 *   nodeExecutableAndArgs: ["node"],
 *
 *   // supply additional arguments to the packager
 *   extraPackagerArgs: []
 * ]
 */

apply from: "../../node_modules/react-native/react.gradle"

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = false

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = true

android {
    compileSdkVersion 26
    buildToolsVersion '26.0.2'
    defaultConfig {
        applicationId "com.reactnative.app"
        minSdkVersion 22
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        multiDexEnabled true
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }
    signingConfigs {
        release {
            storeFile file(MYAPP_RELEASE_STORE_FILE)
            storePassword MYAPP_RELEASE_STORE_PASSWORD
            keyAlias MYAPP_RELEASE_KEY_ALIAS
            keyPassword MYAPP_RELEASE_KEY_PASSWORD
        }
    }
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a", "x86"
        }
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            signingConfig signingConfigs.release
        }
    }
    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            def versionCodes = ["armeabi-v7a":1, "x86":2]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                        versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
            }
        }
    }
}

dependencies {
    compile project(':react-native-fbsdk')
    compile project(':react-native-android-location-services-dialog-box')
    compile project(':react-native-image-picker')
    compile project(':react-native-maps')
    /*compile (project(':react-native-maps')){
        exclude group: 'com.google.android.gms'
    }*/
    compile project(':react-native-fcm')
    compile project(':react-native-vector-icons')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
    compile "com.facebook.react:react-native:+"  // From node_modules
    compile "com.android.support:exifinterface:26.+"
    /*compile ("com.google.android.gms:play-services-base:11.8.0") {
        force = true;
    }
    compile ("com.google.android.gms:play-services-maps:11.8.0") {
        force = true;
    }
    compile ("com.google.android.gms:play-services-gcm:11.8.0") {
        force = true;
    }*/
    compile ('com.google.firebase:firebase-core:11.8.0') {
        force = true;
    }
    /*compile ('com.google.firebase:firebase-messaging:11.8.0') {
        force = true;
    }*/
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.compile
    into 'libs'
}

apply plugin: 'com.google.gms.google-services'

and this is build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
        classpath 'com.google.gms:google-services:3.1.1'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            url 'https://maven.google.com'
        }
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

thanks for your help.

I added in gradle.properties
googlePlayServicesVersion=11.+

@mts88 I riffed off of your configurations.all {     resolutionStrategy.eachDependency { DependencyResolveDetails details ->         if (details.requested.group == 'com.google.android.gms'              && ( (details.requested.name == 'play-services-base') || (details.requested.name == 'play-services-maps') ) ) {                         details.useVersion '11.8.0'         }     } }
and used
configurations.all {     resolutionStrategy.eachDependency { DependencyResolveDetails details ->         if (details.requested.group == 'com.google.android.gms'             && ((details.requested.name == 'play-services-auth') ) ) {             details.useVersion '16.0.0'         }     } }
Couldn't have done it without your example, so thank you.

@NicholasBoccuzzi
@mts88
Thanks! This got rid of the error message. It says "build successful" at last.
But when I go to the Android emulator, it says "Unfortunately, [App Name] has stopped.

@NicholasBoccuzzi
@mts88
Thanks! This got rid of the error message. It says "build successful" at last.
But when I go to the Android emulator, it says "Unfortunately, [App Name] has stopped.

@NicholasBoccuzzi @mts88
Same issue any Solution ?

I use these two commands:
cordova plugin add cordova-plugin-androidx
cordova plugin add cordova-plugin-androidx-adapter
then
ionic cordova build android
ref: https://stackoverflow.com/questions/60717441/ionic-4-execution-failed-for-task-apptransformdexarchivewithexternallibsdex
this worked for me =)


fix: now using 10 minutes avg for pm2.5

:tada: This PR is included in version 2.1.10 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use Mesa not working in docker image

hey, I have a docker container running this library and it is not rendering the animation due to issues with open gl
I have set the view config to:
USE_MESA: True
I installed the mesa utilities with the following command in the docker file:
RUN apt-get install -y libgl1-mesa-dev freeglut3-dev mesa-common-dev
but I am getting the error:
from OpenGL.raw.GL import _errors File "/usr/local/lib/python3.9/site-packages/OpenGL/raw/GL/_errors.py", line 4, in <module> _error_checker = _ErrorChecker( _p, _p.GL.glGetError ) AttributeError: 'NoneType' object has no attribute 'glGetError'
is there something I am missing, maybe a neccessary version? I see the fillowing line in mesa_view.py:
os.environ['PYOPENGL_PLATFORM'] = "osmesa"
os.environ['MESA_GL_VERSION_OVERRIDE'] = "3.3"
from OpenGL import GL, osmesa

and I am wondering if I need to install those versions to get it functioning. Please let me know if you know the answer.


Why eth-proof can not work for current ethereum block transacion?

I test eth-proof with previous Ethereum block is fine, line 2018 year, but from now, it returns block hash mismatch? Is it due to ethereum changing the stand?

I check it again, it can not work after London fork
📆 Aug-05-2021 12:33:42 PM +UTC
🧱 Block number: 12,965,000

you can use mine @KunPengRen https://github.com/syscoin/eth-proof


Improvement on SqForeach

Adding support for 'continue' like behavior.
SqForeach.Player.Active( function( this, pPlayer ) {
if( !pPlayer.Spawned ) return true; // Works as continue like in native foreach
return false; // Works as break like in native foreach
} );

The feature was implemented. You can either return nothing/null or true to continue. Or something that evaluates to false to stop. The implementation was not tested. Although it should work in theory.


The diff coverage is 42.62%.

@@             Coverage Diff              @@
##             master      #93      +/-   ##
============================================
- Coverage     68.45%   67.08%   -1.37%
+ Complexity      521      511      -10
============================================
  Files            84       84
  Lines          1737     1744       +7
  Branches        212      211       -1
============================================
- Hits           1189     1170      -19
- Misses          457      492      +35
+ Partials         91       82       -9

Impacted Files
Coverage Δ

...seedu/address/logic/commands/LessonAddCommand.java
22.22% <0.00%> (-35.92%)
:arrow_down:

src/main/java/seedu/address/model/AddressBook.java
84.61% <0.00%> (-7.06%)
:arrow_down:

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

...rc/main/java/seedu/address/model/ModelManager.java
95.91% <0.00%> (-4.09%)
:arrow_down:

...c/main/java/seedu/address/model/lesson/Lesson.java
34.09% <0.00%> (-5.45%)
:arrow_down:

src/main/java/seedu/address/model/lesson/Time.java
61.11% <ø> (-11.12%)
:arrow_down:

...c/main/java/seedu/address/model/person/Person.java
77.92% <0.00%> (-10.32%)
:arrow_down:

...a/seedu/address/model/person/UniquePersonList.java
88.37% <0.00%> (-4.32%)
:arrow_down:

.../java/seedu/address/model/util/SampleDataUtil.java
42.85% <ø> (ø)

.../java/seedu/address/storage/JsonAdaptedLesson.java
0.00% <0.00%> (ø)

... and 10 more

Continue to review full report at Codecov.

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


[BUG] leading whitespace collapse

The prompt I have in a file includes the line:
cloak{ with a hood|}
but the first option always collapses the leading whitespace to:

cloakwith a hood

I've confirmed this doesn't happen to trailing whitespace, so the prompt:
{hooded |}cloak
generates "hooded cloak" as expected

Not a solution - but as a work around you could do something like cloak{1:: with a hood|}

Because of this, I'm sure you're aware, but the bug here is actually moreso that trailing whitespace ISN'T ignored (and there's also no way to escape whitespace that should be part of the final prompt). I wanted to convert my wildcards into multiline YAML, as some of them are getting quite complex, but it became an immediate impossibility because my usecase does not allow for any extra spaces or `ns hanging around.

I came looking to report the same issue, glad I'm not the only one who found this inconsistent.


update meta data while the job run is active

Signed-off-by: SreeV<EMAIL_ADDRESS>

You should start by clarifying what contract you are testing in the unit test.
You setup the operator task and mock the BQ api, simulating a run of the task.
You then want to verify that you extract the right information form the task.


Unhandled exception. System.Net.Sockets.SocketException (98): Address already in use

Unhandled exception. System.Net.Sockets.SocketException (98): Address already in use
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.UdpClient..ctor(Int32 port, AddressFamily family)
at System.Net.Sockets.UdpClient..ctor(Int32 port)
at SimpleUdp.UdpEndpoint..ctor(String ip, Int32 port)
at pidemo.Program.Main(String[] args) in E:\Projects\netcoreapi\pidemo\pidemo\Program.cs:line 102
It doesn't seem to work in the arm environment!

Hi @chaojicpu sorry I never received a notification on this!  Did you already have a listener attached to that port?  What port number were you using?  Were you running as a normal user or superuser/admin/root?


Missing assemblies ????

System.Drawing.dll is missing dependencies in .netcore 3.0 preview 7.

General
Trying to build an application which previously compiled perfectly with Preview 6.
Compilation complains that a reference to System.Drawing.Common.dll is required, however this appears to be missing.  Also checking with dotPeek (screenshot attached), you can see the missing assembly references.
I am unable for example to create an instance of the Bitmap class.
According to online docs, this is available in Preview 6, and shows the implementation being in System.Drawing.Common.dll.
I will have to revert to Preview 6 until some suggestion as to how to proceed is forthcoming.
Thanks in advance and keep up the great work.
Some notes on where we are with native compilation / AOT etc. and what currently works in Preview7 would also be appreciated in the release notes.

There seems to be an issue with certain reference not being detected Correctly(Even if the File Exists). I'm also seeing some other reference not showing up(System.Windows Forms) is not showing up for me. Even though it exist in the SDK Folder. I guess best thing to do atm is to manually add the reference/Assembly until there is a fix.
System.Drawing.Common Can be Downloaded(Which is What my VS Did, Instead of using the Supplied Version) or You can manually add the Reference to the Assembly. I thinking some of the assembly files are not matching Preview 7 and it also looks like the manifest file is incomplete, Preview 6 had 50 Entries, Where Preview 7 only has 40 Entries.

Those files are in some other directories, see eg. C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\3.0.0-preview7-27912-14\ref\netcoreapp3.0. I don't know why Microsoft.NETCore.App.Ref has refs to the higher level WPF/WinForms pack.

@ericstj was there a known change here?


[BUG] Target output XML not contain some namespace prefixs

Describe the bug
Using a two mappings created with the ui (tested with visual studio) atlasmap-mappings.zip (zip with both .adm files)

first one (atlasmapping-from-xml-schema.adm) created with source as xsd schema and target as schema-set:
- source person.xsd.zip
- target customer-schemaset.xml.zip
second one (atlasmapping-from-xml-instance.adm) created with source as xsd schema and target as xml instance:
- source person.xsd.zip
- target customer-instance.xml.zip

The first mapping produce an xml output without some namespace prefixs.
To Reproduce
Execute the unit test by the sample project on github, the unit test with name mappingFromXmlSchemaTest fail
mvn clean package

With the .adm (atlasmapping-from-xml-schema.adm) the wrong output is:
<?xml version="1.0" encoding="UTF-8"?>
<envelop xmlns="it.redhat.atlasmap.sample/env">
   <customer xmlns="it.redhat.atlasmap.sample/customer">
      <name xmlns="">Mario</name>
   </customer>
</envelop>

Expected behavior
With the .adm (atlasmapping-from-xml-instance.adm) the right output is:
<?xml version="1.0" encoding="UTF-8"?>
<envelop xmlns:cus="it.redhat.atlasmap.sample/customer">
   <cus:customer>
      <cus:name>Mario</cus:name>
   </cus:customer>
</envelop>

Additional Info
I unzipped the atlasmapping-from-xml-schema.adm and found that atlasmapping-UI.0.json contain wrong xpath expression for target xml.
I edited a new atlasmapping-UI.0.json and rezziped in a new atlasmapping-from-xml-schema-mod.adm.zip (just rezziped) modifying:
from:
...output omit...
"xmlNamespace" : [ {
          "alias" : "cus",
          "uri" : "it.redhat.atlasmap/customer"
        }, {
          "alias" : "tns",
          "uri" : "it.redhat.atlasmap/env"
        } ]
...output omit...
"path" : "/tns:envelop/cus:customer/name",
...output omit...

to:
...output omit...
"xmlNamespace" : [ {
          "alias" : "cus",
          "uri" : "it.redhat.atlasmap/customer"
        } ]
...output omit...
"path" : "/envelop/cus:customer/cus:name",
...output omit...

and the output has correct namespace prefixs but log the following warning
[main] WARN  io.atlasmap.xml.module.XmlModule  - Declaration of the root element ':envelop' was not found in the schema

Environment
Atlasmap: Runtime Version: 2.3.16
JDK: openjdk version "11.0.2" 2019-01-15
OS: Macosx

Turned out the schema is wrong, it needs elementFormDefault="qualified" to propagate the namespace to the sub elements. See https://github.com/atlasmap/atlasmap/pull/3827/files#diff-c1296c525418f30ed1abf29ab30bf99bbbc743be70bd779df58e484ca63b2d89R17

Hi,
I tried to modify the schema by adding elementFormDefault = "qualified" but the output xml does not have the namespaces prefixes, it seems to me that it is using the default namespace:
<?xml version="1.0" encoding="UTF-8"?>
<envelop xmlns="it.redhat.atlasmap.sample/env">
   <customer xmlns="it.redhat.atlasmap.sample/customer">
      <name>Mario</name>
   </customer>
</envelop>

I have updated the sample project on github.
Br,
Marco.


Nice tools！ how to support domain access; rand content why always zero?

I want to test ceph rgw(S3), my domain like s3test.ceph.com, I use the blow command
./s3bench -accessKey=8P3Z50DD281CO79xxxx -accessSecret=yNZJmJ9j8uPkqch1BjkCwpdCATDxxxxxxxx  -bucket=test -endpoint=http://s3test.ceph.com:80    -numClients=256 -numSamples=4096  -objectNamePrefix=loadgen -objectSize=10485760
but errors appear like
Write operation completed in 0.08s (1/8) - 0.00MB/s, error: NoSuchBucket:
status code: 404, request id: tx000000000000000000f2a-0059a1700a-138fb-default, host id:
BTW: the content why always zero, it affect test result?, but i see code rand.Read?
I think IOPS is neccessary~
THX~

Thanks for pointing out the non-random content bug!  I've addressed that in the latest commit.  Happy to accept a patch for bucket domains.


3D support not working in Firefox 41.0.1

The output looks like this:
(process:13412): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
2015-10-02 23:43:27: basic_code_modules.cc:70: ERROR: Module /usr/lib/libsystemd.so.0 could not be stored
2015-10-02 23:43:27: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libdbusservice.so could not be stored
2015-10-02 23:43:27: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libmozgnome.so could not be stored
2015-10-02 23:43:27: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/browser/components/libbrowsercomps.so could not be stored
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
NOT SANDBOXED
Vector smash protection is enabled.

With  3d support disabled:

and fullscreen works nice

OK, I don't know what happened but now the video appears. It didn't apear previously. Now it looks like this:
(process:12325): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
2015-10-02 23:31:05: basic_code_modules.cc:70: ERROR: Module /usr/lib/libsystemd.so.0 could not be stored
2015-10-02 23:31:05: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libdbusservice.so could not be stored
2015-10-02 23:31:05: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libmozgnome.so could not be stored
2015-10-02 23:31:05: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/browser/components/libbrowsercomps.so could not be stored
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
NOT SANDBOXED
Vector smash protection is enabled.
[fresh] [warning] ppb_var_var_to_utf8, 'var' is not a string, (0)
[fresh] [warning] ppb_var_var_to_utf8, 'var' is not a string, (0)

I'm having a similar problem, but I can't seem to figure out what the problem is.
Using Arch, with Firefox 40 and FPP 0.3.2 r37 everything was working fine. When I upgraded to Firefox 41 and FPP 0.3.2 r50 (and now with 0.3.3), I got audio but no video. Turning off 3D fixed the video issue, but on some websites the flash was now extremely choppy and CPU usage went way up.
Downgrading both Firefox and FPP to versions that perviously worked didn't fix the issue, so I was thinking it was something else that changed causing the issue. Looking at the packages that I updated at the same time as Firefox, I see that I went from MESA 10.6 to 11.0. (I haven't tried downgrading to 10.6 yet).
Is it possible the problem is something between FPP and MESA that is causing the issue?

I am on Manjaro, so yes I think the problem is related to Mesa. I also had to switch from "sna" to "uxa" to reduce the tearing on intel. I also disabled vsync in driconf and if freshwrapper.conf.

Alright, I just downgraded to Mesa 10.6 and everything is working properly while using Firefox 41 and FPP 0.3.3.
Something between FPP and Mesa 11 is the problem.

Indeed with Mesa 11 plugin renders as black box. Surprisingly, wmode=direct works fine (link)

I downgraded to, everything is ok now

Git bisect points to the http://cgit.freedesktop.org/mesa/mesa/commit/?id=f15a7f3c6e1bb802ae8c2a29a2dc35ff530aea4d

PepperFlash issues a glTexImage2D() call with GL_BGRA format, but Mesa with the patch above only allows GL_RGBA format. Indeed, GLES2 spec talks about only GL_RGBA available, contrary to desktop OpenGL which usually supports everything. So with Mesa 11.0.2 (previous 11.0.1 shouldn't be affected) glTexImage2D() fails, therefore there is no image in 3d mode.
On the other hand, there is a GL_EXT_texture_format_BGRA8888 extension, which is unconditionally supported by Mesa, and brings GL_BGRA support.
So I can't tell whenever there is an introduced bug, or there was a bug, and patch fixed it.
Also using shader translator and desktop GL (configure with -DWITH_GLES2=0) should help.

I just tested and you are correct that 11.0.1 does work correctly. 11.0.2 is the update that is affected.

maybe there is a problem with packages in Arch (Manjaro). For example, although Octave binaries are present, they are not compiled with java support. This is why I usually have to compile it myself (which takes over 30 minutes)

maybe there is a problem with packages in Arch (Manjaro). For example, although Octave binaries are present, they are not compiled with java support. This is why I usually have to compile it myself (which takes over 30 minutes)

maybe there is a problem with packages in Arch (Manjaro). For example, although Octave binaries are present, they are not compiled with java support. This is why I usually have to compile it myself (which takes over 30 minutes)

Related fix was recently pushed to Mesa git: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ad9ebb073fc4ed245ef8e9db4479a52e818cb92

Thanks for looking into this!

thanks :)

Eh... I wasn't the one who added the patch to the Mesa library. It turned out, there were an issue already, about Weston.

I compiled latest git version a few minutes ago and it doesn't even show black box.
$ cat .config/freshwrapper.conf
enable_3d = 0
enable_hwdec = 1
Errors:
2015-10-10 18:40:45: basic_code_modules.cc:70: ERROR: Module /usr/lib/libsystemd.so.0 could not be stored
2015-10-10 18:40:45: basic_code_modules.cc:70: ERROR: Module /usr/lib/libnss_myhostname.so.2 could not be stored
2015-10-10 18:40:45: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libdbusservice.so could not be stored
2015-10-10 18:40:45: basic_code_modules.cc:70: ERROR: Module /usr/lib/firefox/components/libmozgnome.so could not be stored
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x700007,name=PHttpChannel::Msg_Cancel) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x700007,name=PHttpChannel::Msg_Cancel) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x700007,name=PHttpChannel::Msg_Cancel) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x700007,name=PHttpChannel::Msg_Cancel) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x700007,name=PHttpChannel::Msg_Cancel) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x3A00E7,name=PContent::Msg_AsyncMessage) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x200044,name=PBrowser::Msg___delete__) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][MessageChannel] Error: (msgtype=0x3A009B,name=PContent::Msg_ScriptError) Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
###!!! [Child][OnMaybeDequeueOne] Error: Channel closing: too late to send/recv, messages will be lost
For what I remember intel driver has been upgraded in the meantime (currently I have xf86-video-intel 1:2.99.917+478+gdf72bc5-2)

@worldowner, you have plugin crashes. Could you collect a backtrace?

Sure, just let me know how please (can be link to doc, I don't expect copy/paste solution).

BTW. It doesn't work on mesa 11.0.3 either.

Sure, just let me know how please

Sure, here is the [link]. Also Ubuntu have apport installed by default, and it steals core files. And maybe systemd does that too, I'm not sure. Check /proc/sys/kernel/core_pattern file, it should contain "core" without any pipe (|) characters.

It doesn't work on mesa 11.0.3 either.

I've checked now, Mesa 11.0.3 fixes black box issue on my machine.
But if you were talking about plugin crash, that's another issue, which unlikely to be solved by Mesa update. It's more likely some bug in freshwrapper itself.

cat /proc/sys/kernel/core_pattern
|/usr/lib/systemd/systemd-coredump %p %u %g %s %t %e
$ ulimit -c
unlimited
$ coredumpctl
No coredumps found.
There is no coredump in directory from which I've run firefox. I saw those error messages before I had looked for coredump. Firefox itself doesn't crash if that matters.

Messages about broken channel appear in two cases. First is when plugin crashes — plugins are hosted in a separate process by plugin-container binary. Since plugins are dynamic libraries, bug can cause whole process to crash. In that case Firefox's main process senses other side gone. Second case is when plugin-container hangs for longer than 60 seconds. In that case Firefox forcefully terminates plugin-container.
Only first on those two generates core files. So I guess in your case plugin hangs.

There is a way to debug such lockups. First one needs to increase timeout by changing dom.ipc.plugins.timeoutSecs parameter on about:config page. Default value is 60 seconds, I usually set it to something like 3600-7200, one or two hours. When plugin hangs, one needs to attach to the plugin-container process by:
$ gdb --pid $(pidof plugin-container)

and then request backtrace of all threads: thread apply all bt.
At least that can give a hint about bug location.

Since issue was caused by a change in Mesa 11.0.2, and that new behavior was later fixed in 11.0.3 and Mesa's master branch, I can say that was a Mesa bug, not something freshwrapper should adapt to.

Just to inform, my issues are gone afrer Arch Linux upgrade.

Mine too, after switching to Manjaro with XFCE and mesa 11.0.3


[WIP] feat: precondition check (fix/storage mount)

Applicable spec: N/A
Overview
Adds a charm precondition checker: storage mounted, container ready before taking any service related actions.
Rationale

Removes repeated code checking for container ready.
Allows safe attachment of storage before the service is initialized.

Juju Events Changes
None.
Module Changes
Added precondition.py
Library Changes
None.
Checklist

[x] The charm style guide was applied
[x] The contributing guide was applied
[x] The changes are compliant with ISD054 - Managing Charm Complexity
[x] The documentation is generated using src-docs
[x] The documentation for charmhub is updated.
[x] The PR is tagged with appropriate label (urgent, trivial, complex)

Quickfix without implementing precondition pattern has been merged. Closing.


Rotating an Alluvial Plot to flow downwards or upwards

Dear Asjad,
For lack of time right now, I cannot provide a hand made example and further explain its purpose (but I will add that later), but could you make it possible to rotate an Alluvial Plot so that the 'flows' in between the categorical nodes run upwards or downwards (depending on we should 'read' them)?
Typically that would only be a rotation of 90 degrees clockwise or counter-clockwise.
Ofcourse I can do that in a graphic editor but I want to be able to control the display using code.

Changing the orientation is on the todo list for several packages.


Layer1D autol > 1 doesn't properly rescale ymin

Describe the bug
Layer1D autol > 1 doesn't properly rescale ymin

Need a test like the following, except with cmode: 6 and an initial buffer of 0s followed by values ranging from [very close to 0, whatever).
interactiveTest('complex scrolling line', 'Do you see a scrolling random data (0 to 1) plot that auto-scales', function(assert) {
    var container = document.getElementById('plot');
    var plot = new sigplot.Plot(container, {});
    assert.notEqual(plot, null);
    plot.change_settings({
        cmode: 3,
        autol: 5
    });
    var lyr0 = plot.overlay_pipe({
        type: 1000,
        format: "CF"
    }, {
        framesize: 32768,
        drawmode: "scrolling"
    });
    ifixture.interval = window.setInterval(function() {
        var random = [];
        for (var i = 0; i < 100; i += 1) {
            random.push(Math.random());
        }
        plot.push(lyr0, random);
    }, 100);
});


"leetcode test" doesn't work anymore

"leetcode test" stuck in "Waiting for judge result".
How to reproduce
leetcode test 1.two-sum
Stuck in "Waiting for judge result"
-->
Environment

leetcode-cli version: 2.6.2

OS version: win10
Node version: v12.13.0
Npm version: 6.12.0

on mac os:
$ npm -g uninstall leetcode-cli --save
$ npm -g install leetcode-tools/leetcode-cli


Typo in code coverage link

I don’t have admin rights in this repo or I would just commit this to main.


Wrap endblock

Purpose of Changes and their Description
Implemented a wrapper function for EndBlocker to catch and handle any potential panics
Link(s) to Ticket(s) or Issue(s) resolved by this PR
Are these changes tested and documented?

[ ] If tested, please describe how. If not, why tests are not needed.
[ ] If documented, please describe where. If not, describe why docs are not needed.
[ ] Added to Unreleased section of CHANGELOG.md?

Still Left Todo
Fill this out if this is a Draft PR so others can help.

I am confused how this PR works, is this just going to catch panics on unwrapping the sdk context?


Added repo validation based on project-blueprint

See https://github.com/finos/open-developer-platform/issues/31 for requirements.
This PR introduces a new command called check-project-repos that generates a full report (finos-repo-validation.json) including each GitHub repository across all our orgs - add file
2. The script runs the list of validations below (including text generated in the report)
3. A repository can define a .finos-blueprint.json file to ignore one or more criteria (in case it doesn't apply), see below.
The output can be easily integrated with a GitHub Action, in order to output the results, for example creating a GitHub issue for each repository that has at least one issue flagged.
Validations

has-admin - One or more admin collaborators were found in this GitHub repository.. FINOS Governance doesn't allow GitHub users to have Admin rights on repositories, therefore it must be removed.
has-user - One or more user collaborators were found in this GitHub repository. FINOS Governance only allows GitHub users to be added via Teams. Please remove it, therefore it must be removed.
disabled-issues - This GitHub repository does not have GitHub Issues enabled; make sure that there is a documented way to submit questions, feature requests and other communications to the project team.
no-teams - This GitHub repository does not grant permissions to any FINOS Team, although it should be configured to grant access to the program and project specific teams defined in https://github.com/orgs/finos/teams. Please email<EMAIL_ADDRESS>and coordinate changes to the repository access permissions.
no-issue-templates - This GitHub repository does not use issue templates; please check the issue template blueprints.
no-contributing - CONTRIBUTING.md file is missing; check the CONTRIBUTING.md template."
no-code-conduct - CODE_OF_CONDUCT.md file is missing; check the CODE_OF_CONDUCT.md template.
notice-nok - NOTICE file is incomplete; check line 4 of the NOTICE template.
no-notice - NOTICE file is missing; check the NOTICE template.
no-readme - README.md file is missing; check the README.md template.
no-description - This GitHub repository does not have a general description defined; the Edit button is seen when on the repositories main page, which is the Code tab.
is-archivable - This repository belongs to project {{project-name}} which is archived, therefore the GitHub repository is expected to be archived too. @finos-staff will get in touch with the project lead to sort it out.
readme-nok - README.md file is incomplete; check the README.md template and make sure that ## Contributing and ## License sections exist.
no-badge - README.md file is missing the FINOS badge; check the README.md template and make sure that it embeds one of SVG FINOS badges.
wrong-badge - Our internal records state that this project is in {{project-state}} state, whereas README.md states {{readme-state}}; make sure that README.md embeds the right FINOS badge."
:repo-not-on-file "We don't have this repository on file. We will fix this issue on our side as soon as possible and keep you posted.
no-whitesource - WhiteSource configuration was not found; make sure that dependencies are scanned against security vulnerabilities. Read more on the WhiteSource Wiki page.

.finos-blueprint.json example
{
  "ignore" : [
    "no-issue-templates",
    "readme-nok"
  ]
}

Testing check-project-repos
git checkout blueprint-check
lein run -- check-project-repos -m ../metadata

Here's a useful command to transform the output in CSV
cat finos-repo-validation.json| jq -r '.[] | [.org, .["repo-name"], .validations["has-admin"], .validations["has-user"], .validations["no-teams"], .validations["no-issues"], .validations["no-issue-templates"], .validations["no-contributing"], .validations["no-code-conduct"], .validations["notice-nok"], .validations["no-notice"], .validations["no-readme"], .validations["no-description"], .validations["is-archivable"], .validations["readme-nok"], .validations["no-badge"], .validations["wrong-badge"], .validations["repo-not-on-file"], .validations["no-whitesource"]] | @csv'

Sample output is available on https://gist.github.com/maoo/ec1bfbfa6e6d9b43fbe09b1f10337e5e
Syncing CLAs with GitHub membership
Based on the GitHub access control documented on our Wiki page, Project Collaboration on Github, we want to promote affiliation with github.com/finos org as much as possible.
For this reason we've built the invite-clas-to-finos-org command, which will pull all GitHub ids covered by a FINOS CLA and subtract existing members and pending invitations, then send them an invitation to join the org. The run is scheduled nightly, along with the other FINOS metadata batch processes.
IMPORTANT! The script doesn't trigger the invitation yet, as we want to first announce it to the community. /CC @mcleo-d
Testing invite-clas-to-finos-org
This command will send out invitations to github.com/orgs/finos/people to all metadata registered github ids that are covered by a CLA with FINOS.
git checkout blueprint-check
lein run -- invite-clas-to-finos-org -m ../metadata

Just added Syncing CLAs with GitHub membership to the issue description (/CC @mindthegab )
I've also added a no-teams validation, so that we'll be able to track repos who don't have the proper team configuration.

@maoo and @tschady
I'm in awe of your collaboration. It's a great thread of work to follow 👍
James.


Update braze-cohort.md

Amplitude Developer Docs PR
Description
Updating link
Deadline
ASAP
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[x] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[x] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[ ] I have performed a self-review of my own documentation.

@amplitude-dev-docs
@caseyamp

Thanks @tonypitkinbraze!


Feature: Icons

Export svgs from figma, then used https://react-svgr.com/playground/ cli tool to generate this react components, with configs of exporting it in tsx format and also replace fill color of #7F8DA9 to currentColor.

The Chevron and CrossMark is already implemented in https://github.com/Major-Eth/yearn-web-lib/pull/17

Could you make all the arrow and chevron as one icon ? We can use transform: rotate(Xdeg) to have the variant. The direction could be sent as prop (<Chevron direction={'down'} />) or omit that (and the users would have to transform via classname. What do you this is the best solution here ?
We may also need a way to link them directly, so you don't do import {Add} from "yearn-web-lib", but
import {Icons} from "yearn-web-lib"
...
<Icons.Add />

What do you think ?

I think variant for chevron and arrow is a neat. I think other UI libs also export like that, Icon.X, I think we can do that.

@phillip055 we've merged https://github.com/Major-Eth/yearn-web-lib/pull/17 which has a couple of icons that you've added as well here. I'm happy to go with this for now, so if you want to please resolve any merge conflicts -- the Banner will be broken, so there might need to be some fixing there too


[Start Here]- Push new questions to Graph, trees and other categories

Happy Hacktoberfest '21!!
We welcome you to participate in Hacktoberfest again by contributing to the "C-plus-plus-Algorithms". You can make it big by adding new contents, questions or finding any bugs. Nothing new, but you learn more by contributing to the open source- check off the list before making any PR.

[ ] Read Contribution.md
[ ] Read code of conduct.
[ ] Create a commit to the right category in the library.
[ ] Follow the Issue template.

Swimmingly,

Hey @codewithdev! I want to work on this issue. Can you assign me?

@Sayak-0512 Sure, you can create a PR against the repo that you want to contribute. 🙏🏼✨

@codewithdev Can I know how many new questions are you expecting?Can you give me  an approximate number?

I have created the pull request. Please review and merge.

I have created a pull request  #102 . Please review and merge it.
Please do let me know if I need to make any changes!


Idea: Add a fallback for selecting the asset in the Versus Screen overlays

From discussing with Alexalchemy, can we implement a fallback in the Versus Screen overlays so that if the asset pack set in the ASSET_TO_USE variable cannot be found it tries to use base_files/icon instead?

I believe this has been addressed as of the layout overhaul with the settings JSON file and should properly fallback as needed.


[Bug] VmaDumpViz.py divide by 0

Environment
MacOS Catalina 10.15 (19A603)
Macbook Air 2017 (13 inch)
1.8 GHz Dual-Core Intel Core i5
8 GB 1600 MHz DDR3
Intel HD Graphics 6000 1536 MB
Python: 3.7.4
Pillow: 7.1.1
Issue
  File "VmaDumpVis.py", line 207, in <module>
    iImgSizeY, fPixelsPerByte = CalcParams()
  File "VmaDumpVis.py", line 92, in CalcParams
    fPixelsPerByte = (IMG_SIZE_X - IMG_MARGIN * 2) / float(iMaxBlockSize)
ZeroDivisionError: float division by zero

Steps to recreate
Run VmaDumpViz.py on json file
Generated JSON from vmaBuildStatsString
{"Total":{"Blocks":4,"Allocations":18,"UnusedRanges":11,"UsedBytes":36587312,"UnusedBytes":131184848,"AllocationSize":{"Min":48,"Avg":2032628,"Max":16777216},"UnusedRangeSize":{"Min":64,"Avg":11925895,"Max":50331648}},"Heap 0":{"Size":1610612736,"Flags":["DEVICE_LOCAL"],"Budget":{"BlockBytes":167772160,"AllocationBytes":36587312,"Usage":167772160,"Budget":1288490188},"Stats":{"Blocks":4,"Allocations":18,"UnusedRanges":11,"UsedBytes":36587312,"UnusedBytes":131184848,"AllocationSize":{"Min":48,"Avg":2032628,"Max":16777216},"UnusedRangeSize":{"Min":64,"Avg":11925895,"Max":50331648}},"Type 0":{"Flags":["DEVICE_LOCAL"],"Stats":{"Blocks":2,"Allocations":6,"UnusedRanges":3,"UsedBytes":36356192,"UnusedBytes":64307104,"AllocationSize":{"Min":92712,"Avg":6059365,"Max":16777216},"UnusedRangeSize":{"Min":200,"Avg":21435701,"Max":50331648}}},"Type 1":{"Flags":["DEVICE_LOCAL","HOST_VISIBLE","HOST_CACHED"],"Stats":{"Blocks":1,"Allocations":12,"UnusedRanges":7,"UsedBytes":231120,"UnusedBytes":33323312,"AllocationSize":{"Min":48,"Avg":19260,"Max":51712},"UnusedRangeSize":{"Min":64,"Avg":4760473,"Max":33322496}}},"Type 2":{"Flags":["DEVICE_LOCAL","HOST_VISIBLE","HOST_COHERENT","HOST_CACHED"],"Stats":{"Blocks":1,"Allocations":0,"UnusedRanges":1,"UsedBytes":0,"UnusedBytes":33554432}}}}

You probably called vmaBuildStatsString with parameter detailedMap set to VK_FALSE. It must be VK_TRUE in order to have full allocation list and be able to show them on a picture.
But you are right, "ZeroDivisionError: float division by zero" is not a good way of handling this error. I made a fix in the VmaDumpVis tool.


Support deserializing arbitrary extensions

Repasting my git commit message here:
Propagate `ReadModelOptions` to ALL JsonHandlers

This commit adds conditional support for propagating the
`ReadModelOptions` variable to the root JsonValue class for all of
its children. CesiumGltfReader was designed with the philosophy that
extensions should be well defined and that CesiumGltfReader should
take responsbility for decoding extensions. This is a fine idea, but we've
ran into a usecase where we need CesiumGltfReader to support decoding
new / developing / unknown / WIP extensions.

This commit adds the `deserializeExtensionsAsJsonValue` bool to ReadModelOptions
and for each ***JsonHandler, forwards it to the root via super() constructor invocations.
This opens the door for other  "while serializing" options to be stored in
ReadModelOptions

Basically this PR adds support for CesiumGltfReader to read arbitrary custom gltf extensions using the JsonValue interface. We have some use cases where we have custom extensions, and we need inversion of control so that we can read the JsonValues and work with them appropriately. Ideally we would have a common GltfExtension interface that clients are required to implement, then we could just use some kind of callback system so we don't completely toss type information but CesiumGltfReader doesn't need to be omnipotent about what glTF extensions exist. This approach is a stop gap for any client that wants support for arbitrary or non well defined extensions.
The inheritance structure of the JsonHandlers makes this PR large, the condition needs to be checked inside ExtensibleObjectJsonHandler, but inheritance chains require us to propagate the ReadModelOptions object basically everywhere. https://github.com/CesiumGS/cesium-native/pull/162 should be merged first.

@Samulus this looks good overall, but there are a few things that are less than ideal:

It feels wrong to pass ReadModelOptions to every JsonHandler when most of it isn't and never will be used by any of them. It would be a little cleaner to have a purpose-built structure for this purpose, even if it means copying some of the options from one struct to another in readModel.
Every handler holds ReadModelOptions by value, when a const reference would do just fine because the options instance is guaranteed to outlive the handlers.
As currently written, we won't read any JSON extensions for any glTF objects that have a statically-typed extension (just MeshPrimitive so far).
It's not possible to add statically-typed glTF extensions external to cesium-native.

I don't think it makes sense to ask you to address these things, given that I already have an idea of how I think this should work (especially the last one) and just need to execute it. So I've started the gltf-extensions branch, building on this one, and I'll PR it shortly so you can take a look.

Closing as https://github.com/CesiumGS/cesium-native/pull/208 deprecates this now.


Merge master commits into ftc branch

Jeff,
Can you merge the released commits into ftc? (I'm not sure this pull request is exactly right.)
Thanks,
Liz
@jisqyv

@lizlooney I did my own merge of master into ftc. There conflicts which I resolved. I did have to make one decision. I noticed that you moved the "Companion Information" menu item (Help menu) under a conditional:
if (config.getFtcCompanion()) {
  helpItems.add(new DropDownItem(WIDGET_NAME_COMPANIONINFO, MESSAGES.companionInformation(),
      new AboutCompanionAction()));
}

The master branch adds a new item "Update Companion". So I moved it under the same conditional:
if (config.getFtcCompanion()) {
  helpItems.add(new DropDownItem(WIDGET_NAME_COMPANIONINFO, MESSAGES.companionInformation(),
      new AboutCompanionAction()));
  helpItems.add(new DropDownItem(WIDGET_NAME_COMPANIONUPDATE, MESSAGES.companionUpdate(),
      new CompanionUpdateAction()));
}

I didn't manually test the merge. It does compile and the units tests run. But you might want to double check it.
-Jeff

@lizlooney P.S. The code above is in TopToolbar.java

Thanks Jeff! Yes, putting the companion update into that if is correct.


Grammar Transforms in nix

In order to build an organization wide component library that spans ~500 repos, I need to re-implement the GRAMMAR and it's transforms in nix in order to have pinnable / reproducible cross-repo component re-usability.
What can I do?
Where are the transforms (to JSON) happening?
Is there sort of a Backus-Naur form of the grammar?

with structurizr; {
  model.user = person "User";
  model.foo = softwareSystem "App" "Firefox, Chrome, Safari, Edge" "Browser";
  model.enterprise = enterprise "Bar" {
    /* ... */
  };
}

Where are the transforms (to JSON) happening?

It depends on what you want to do with the JSON, but most people use the Structurizr CLI or Structurizr Lite. You can also build your own tooling in Java; see https://github.com/structurizr/dsl/tree/master/docs/cookbook/dsl-and-code#java for an example of what that might look like.

Is there sort of a Backus-Naur form of the grammar?

You can find a language reference (albeit not in BNF) at https://github.com/structurizr/dsl/blob/master/docs/language-reference.md

I've just done some reading about nix (it's not something that I've come across before), and if you're asking, "how do I port the DSL to nix?", the answer is that you'll need to port the following:

Structurizr for Java
Structurizr DSL

In essence, the DSL is a wrapper for the Structurizr for Java library, and it's this library that defines the data structures, and modelling rules.


MPeg-4: Default Video Target Bitrate is too low for high res resolution

As discussed, we should leave the value field as custom bitrate but also implement a quality drop down list (High, Medium, Low) which would adjust the bitrate automatically.
Should we do that for Audio bitrate as well ?

this is a FrameCapturer issue.
Won't fix in FrameRecorder

I will fix it.


WhichKey conflicting keymaps warning

Describe the bug
I have not added any key modifications to the init.lua file.
which-key: require("which-key.health").check()
WhichKey: checking conflicting keymaps ~

WARNING conflicting keymap exists for mode "n", lhs: "sF"
rhs:
WARNING conflicting keymap exists for mode "n", lhs: "sr"
rhs:
WARNING conflicting keymap exists for mode "n", lhs: "sh"
rhs:
WARNING conflicting keymap exists for mode "n", lhs: "sd"
rhs:
WARNING conflicting keymap exists for mode "n", lhs: "sf"
rhs:

To Reproduce
Run :checkhealth
Desktop

OS: Linux
Terminal: Alacrity

Neovim Version
v0.9.5

Firstly, this really doesn't matter. I don't blame you for filing because nobody likes to see healthcheck warnings but there's no functional issue here.
That said, I'm confused as to why this behavior is occurring. Most of these are regular old keybinds we set in init.lua and when it cites the conflicting rhs it's empty so ... What's up with that? :)
@tjdevries @dam9000 thoughts?

These are caused by the mini/surround plugin.
Checking for example :nmap sf gives:
n  sfn         * <Lua 145: ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua:1208>
                 Find next right surrounding
n  sfl         * <Lua 140: ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua:1208>
                 Find previous right surrounding
n  sf          * <Lua 134: ~/.local/share/nvim/lazy/mini.nvim/lua/mini/surround.lua:1208>
                 Find right surrounding

So they do conflict, but they also work as long as you type them within the which-key timeout period. Normally these are followed by a surrounding character, for example ", like this: sf" or sfl" and it works, but you need to type them quickly. However if you pause for 1 or 2 seconds in the combo sfl" between sf and l" it won't work the same as sfl" and will search for letter l instead of the ". I guess that's the reason why which-key warns about it, because the combos can behave differently depending on how quickly you type them. I would say having such conflicting combos in mini/surround is probably not the best selection, but what can we do about it? Perhaps the other surround plugins behave better, or it might be the same, I don't know, didn't check. I personally never use the surround functionality so this has not bothered me.

Thanks for explaining the source of the warning.  You taught me something new, which is always appreciated.  I figured it was nothing to worry about, but since kickstart is aimed at new Neovim users, perhaps an added line or two in the init.lua file in the mini.surround section might alert a new user to the possible warnings.  Of course, that's how things tend to bloat.  :-)

Nothing to do here unless we pick a different, potentially non conflicting surround plugin.
Thanks for your submission!


Treat "space" lines as empty lines in docstrings

Depending on the editor used, trailing spaces will be removed upon saving. When they are not removed, and a line at the end of a Parameters section contains 8 spaces, mkdocstrings will try to split it on : to get the param name and description, which will throw an exception.
So, lines composed only of spaces in docstrings should be considered empty lines.

Fixed in latest version.


Faster LRP by dispatching on Dense and Conv layers

Automatic differentiation can be skipped for most known layers.
Add tests for a Dense wrapper to still test AD fallback.

Closing this issue as faster Dense layers have been implemented and Conv layers would take a considerable amount of effort to implement.