New-IntuneWin32AppDetectionRuleScript.ps1 Corrupted Detection Scripts on converting to Base64

Using non-utf encoding of multi-character line scripts breaks when imported into Intune.
I change line 49 from:
$ScriptContent = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes("$($ScriptFile)"))
to:
$ScriptContent = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($(get-content $ScriptFile) -join [Environment]::NewLine))
To resolve this. I'll submit a PR later after some more tesitng.

Fixed this in 1.3.1 that will be released shortly. Please verify and report back :)

Hello,
My detection script is in UTF-8.
I had to re-edit the file to replace line 49 with:
$ScriptContent = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes("$($ScriptFile)"))
Without this modification, the detection file always came out successfully and did not install the app since it was detected as already installed ...
If you need more info, don't hesitate.
Thank you for this fantastic module!
I deploy around fifty applications. It saves me a lot of time.

I came across this issue today. It appears that the change introduced in 1.3.1 is not working as intended because my detection status is always successful and the intune management logs show that the output is a list of bytes. I have tested both lines in the original comment and both produce the correct output.

Thank you @[b-sarrazin] - I was pulling my hair out for a while on this and came across your post!
Thanks for this awesome module :)

Thanks everyone. I have had the same issue as the rest and @[b-sarrazin] did make the correct remediation.
I think [joshinryz] in the initial post most have had some encoding problems.
Thanks for the great module.

This module is awesome.  But the UTF8 encoding bug tripped me up for days since it's hard to debug this type of issue.  What's worse, it seems like it was working fine in earlier versions, but then @joshinryz asked @NickolajA to change it for some reason.
The error is in these two files:
New-IntuneWin32AppRequirementRuleScript.ps1
New-IntuneWin32AppDetectionRuleScript.ps1
The issue:
It has to do with the way the local .ps1 file is parsed and published to Intune (which expects Base64 encoding, not UTF8 encoding, or something along those lines).  After looking at the logs I noticed that, instead of StdOut from the ps1, the log was showing the ascii codes of the .ps1 file itself.  The editors I use (Notepad++, Powershell ISE, Notepad) all work fine after this fix.
The fix:
Replace this
$ScriptContent = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes([System.IO.File]::ReadAllBytes("$($ScriptFile)") -join [Environment]::NewLine))
With this
$ScriptContent = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes("$($ScriptFile)"))

I'm glad that I stumbled upon this issue. I thought it was me and couldn't figure out why Intune always reported that the app was installed even though I expected it to continue with the installation. Would be great if the functions get an update.

Yeah I'll update this again, apparently didn't think it through fully.

That being said, your module is awesome and saves us a lot of time!

$ScriptContent = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes((Get-Content -Path "$($ScriptFile)" -Raw -Encoding UTF8)))
Tested this and it seem to work, would someone be able to validate?

$ScriptContent = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes((Get-Content -Path "$($ScriptFile)" -Raw -Encoding UTF8)))
Tested this and it seem to work, would someone be able to validate?

It also works on my side


importing a custom dictionary

There's some documentation about "custom dialect pack", which I guess is what I want (I want to use a custom, smaller dictionary). But it's very bare and doesn't give any example... how can I have pybo tokenize according to a list of words in a txt file?

https://github.com/Esukhia/botok/blob/master/README.md
solution has been updated in read me


Update getting started in Windows

Updating Setting up the development environment in Windows documentation to reflect ANDROID_SDK version bump.
React Native is increasing the minimum ANDROID_SDK requirement from Android SDK Platform 31 to Android SDK Platform 33 for 0.72 onwards. Updating our Windows documentation to reflect the same as macOS.

@cortinico Do we need to backport Windows changes also in the docs for 0.71 ?

https://github.com/facebook/react-native-website/pull/3617 ✅


API for retrieving knex config from a connection?

Is there an API I can use to retrieve the knex configuration from a connection handle?
I'm passing the connection handle around and under certain circumstances want to log the name of the database being accessed. I'd rather not also pass the configuration around or monkey-patch the connection handle with a configuration property that might ultimately conflict with knex.

I'm passing the connection handle around

Which connection handle is this?

Distilling it down, db here is my connection handle:
var db = knex(require('./knexfile.js'));

At the moment, I just need the database name. I'm looking for something like:
var dbName = db.getConfig().connection.database;

Or:
var dbName = db.getDatabase();

Does db.client.config.connection.database give you what you want?

Sure does! I'll give it a shot. Thank you! It would be nice to officially document a way to get the config to be sure it figures into backward-compatibility considerations.

@jtlapp Great to hear. I agree, if you want to open a PR for the documentation, the repo is here: https://github.com/knex/documentation
I'd probably put it after the section about reusing the knex instance: https://github.com/knex/documentation/blob/e37b968e3b584c5e3d58bf069602106053a923a6/sections/installation.js#L125
As for backwards compatibility, maybe @tgriesser could comment on whether this is expected to change in the 1.0 refactor. I took a quick look and it looks like it should be the same.

Actually knex.client.database() is probably the best way to get this info, as this probably won't change. If it does, there'll be a documented upgrade path

Not working for me.  Returns an object not a string.  Can't find any documentation on it.


Add squash=True parameter to groupby_aggregate()

This issue has been resolved, since reindex should always happen as part of the groupby-aggregate.


feat(server): Disable noisy detection for database LOB support

Closes #1006

Codecov Report

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

@@           Coverage Diff            @@
##             master   #1017   +/-   ##
========================================
  Coverage      85.1%   85.1%
  Complexity     1036    1036
========================================
  Files           175     175
  Lines          2834    2834
  Branches        473     473
========================================
  Hits           2412    2412
  Misses          175     175
  Partials        247     247

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 3c8d2b6...f008f0b. Read the comment docs.

:+1:

:+1:


Avoid circularity when contextual parent type of static property is its class

fixes https://github.com/microsoft/TypeScript/issues/59271

@typescript-bot test this

@typescript-bot test it


Feature/nav and footer

Description
Added background color and footer with social media icon links to them. Also rearranged the navbar.

[ ] This is a bugfix.
[ ] This is a new feature.
[x] This is part of a feature.

Organization

[x] Have you linked this pull request to a Trello card?

Review

[x ] Have you added two reviewers to this pull request?
[ ] Is this a work in process?
[x] Is this ready to be reviewed?

 Footer, Nav & Footer


How can I test Burrow?

Hello,
I am running burrow to monitor our lab (or test) kafka environment and when I check status using the status endpoint {http://localhost:8000/v2/kafka/lab/consumer/(group)/status} it says status=OK (though complete=false for a long time as pointed out in previous issue that someone submitted just before this one) and I receive no emails. One possible reason is that all consumer groups/topics/partitions in our lab kafka environment are most likely functioning well.
My question is how can I trigger a behavior that one of the kafka consumer slows down or stops reading messages on a specific partition so I can check if burrow is sending out an email to me or when I use the status endpoint it shows me status=WARNING/ERROR vs OK.
Thoughts/Suggestions...?
-Rasesh

The complete=false issue is generally because there have not been enough offset commits for Burrow to consider the information complete (a minimum of interval commits, as you have configured in Burrow). This could easily happen if the consumers are committing to Zookeeper, and not Kafka, and some of the topics are slow. The ZK offset commit logic in the Kafka client shortcuts commits if the offset hasn't changed.
The easiest way to test, once you have complete data, is to just shut down one of the consumer groups so it will go into a stopped state. This should generate an error.

Thank you, I'll try that out. Any specific recommendations on testing consumer slowing down or a specific partition failure when consumer is processing other partitions as expected?

There's not much you can do here without implementing the behavior in your consumer.


"*.the_deployment_name.bosh" should not match all VMs in all deployments

Hello, I'd like to use bosh-dns to resolve a hostname to IPs of all VMs within a deployment, but the following aliases matches to all VMs in all deployments.
cat /var/vcap/jobs/my-aliases/dns/aliases.json
{"a.my.local":["*.service1-2e1a321358b8d3507a45.bosh"]}
nslookup a.my.local
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53
Name:	a.my.local
Address: <IP_ADDRESS>
Name:	a.my.local
Address: <IP_ADDRESS>
cat /var/vcap/instance/dns/records.json
{"records":[["<IP_ADDRESS>","c6bc7173-3143-424c-9e6f-a404f624fbcc.service1.deployment-network.service1-2e1a321358b8d3507a45.bosh"],["<IP_ADDRESS>","5708c0e8-fa04-4290-b798-93d18a080891.harbor-app.deployment-network.service2-e3831e72d40367bb3794.bosh"]],"version":32,"record_keys":["id","num_id","instance_group","group_ids","az","az_id","network","network_id","deployment","ip","domain","agent_id","instance_index"],"record_infos":[["c6bc7173-3143-424c-9e6f-a404f624fbcc","25","service1",["15"],"az-1","1","deployment-network","1","service1-2e1a321358b8d3507a45","<IP_ADDRESS>","bosh","2ac18ad8-7d1f-4fdc-8bef-89e320133333",0],["5708c0e8-fa04-4290-b798-93d18a080891","35","myapp",["19"],"az-1","1","deployment-network","1","service2-e3831e72d40367bb3794","<IP_ADDRESS>","bosh","d5833ea9-99e9-4c29-83b2-dde2fc86
I can use (( ..service1.deployment_name )) to get the deployment name in Tile yaml, but not sure who to get the deployment network name. Is it (( ..service1.deployment_network )) ? If so, I can specify a more specific domain like "*.job1.(( ..service1.deployment_network )).(( ..service1.deployment_name )).bosh".

I can use '.instance_group_name.network_name.deployment_name.bosh' to match all IPs of VMs in that group. Here I want to report the bug that ".depoyment-1_name.bosh" matches all VMs in all deployments, which is not expected.

that doesnt really describe why you need this feature. any more info?

@cppforlife I don't need this feature. Actually this is a bug : ".depoyment-1_name.bosh" matches all VMs in all deployments, which is not expected".

@jessehu oh im sorry, it appears i misread. will take a look on tue.

@jessehu You're instinct is correct to provide more information to the filter. The problem you're facing is the distinction bosh-dns makes between a long-query and short-query.
Short queries take the rough form: {query}.{group-query}.{domain}, for example: q-s0.q-g7.bosh.. When the group query does not match the correct format, we omit it from the filtering chain effectively making it q-s0.*.bosh. In this case, the deployment name is not a valid "group query". You can test this theory out by substituting the group-query with random letters: dig q-s0.askhfjahfajshfja.bosh
Gonna close this out as it stands.


Can't import RAW (.NEF) files

🐛 Bug Report

[x] 📁 I've Included a ZIP file containing my librephotos log files
[x] ❌ I have looked for similar issues (including closed ones)
[x] 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

📝 Description of issue:
I've istalled LibrePhotos via Unraid community app and found an issue - my RAW photos (.NEF) cant be imported.
.JPG files imported without any issues.
In logs I've found this:
2022-09-09 07:57:19,352 : directory_watcher.py : handle_new_image : 116 : INFO : job ab02c651-20e8-4f3e-a284-5a933fc5a79e: handling image /var/lib/librephotos/photos/DSC_0002.NEF
2022-09-09 07:57:19,726 : directory_watcher.py : handle_new_image : 227 : ERROR : job ab02c651-20e8-4f3e-a284-5a933fc5a79e: could not load image /var/lib/librephotos/photos/DSC_0002.NEF. reason: unable to open image `/tmp/magick-WpfCSCvAtEIYR23rVWV6lpZ7dpoYZzJK.ppm': No such file or directory @ error/blob.c/OpenBlob/2924
Traceback (most recent call last):
  File "/usr/lib/librephotos/backend/api/directory_watcher.py", line 132, in handle_new_image
    photo._generate_thumbnail(True)
  File "/usr/lib/librephotos/backend/api/models/photo.py", line 244, in _generate_thumbnail
    createThumbnail(
  File "/usr/lib/librephotos/backend/api/thumbnails.py", line 60, in createThumbnail
    with Image(filename=inputPath) as img:
  File "/usr/lib/librephotos/.local/lib/python3.10/site-packages/wand/image.py", line 9110, in __init__
    self.read(filename=filename)
  File "/usr/lib/librephotos/.local/lib/python3.10/site-packages/wand/image.py", line 9705, in read
    self.raise_exception()
  File "/usr/lib/librephotos/.local/lib/python3.10/site-packages/wand/resource.py", line 222, in raise_exception
    raise e
wand.exceptions.BlobError: unable to open image `/tmp/magick-WpfCSCvAtEIYR23rVWV6lpZ7dpoYZzJK.ppm': No such file or directory @ error/blob.c/OpenBlob/2924

Have the same issue with sony .ARWs, manual install, ubuntu 20.04 lts.

It seems imagemagick is confured to call ufraw-batch to convert raw-files. I could not find current packages, but I was able to install debian packages of ufraw-batch, libjpeg62-turbo and libexiv2_14 from buster. Seems to work now.


improvements to persisting job names in redis

As per this comment https://github.com/alanpeabody/resque-job-stats/pull/32#issuecomment-356472782 made changes to avoid duplicating the redis write operations.

Wrong PR. Instead of giving PR to master branch of the fork gave PR to the actual gem repo itself. Hence closing.


incorrect wall intersection calculation?

not sure why this level has real problems. There are no lights and the token has dimvision; the token vision should look like this (your module disabled)

but with your module (I have disabled all other modules for this screenshot) it's like this:

the walls are built like this:

the raycasting debug is:
https://pastebin.com/0B0iF9qc

Thanks for the bugreport!
The map contains a lot oddities like walls that are fully overlapped by other walls and walls that have no size at all (meaning their start point is at the exact same location as their end point). The algorithm didn't expect the latter, which caused a glitch in the vision calculation. I've adjusted the algorithm to be able to deal with walls with no size.
If you want to see yourself what I mean, I've highlighted one of the sizeless walls in this screenshot. Remove the wall left, right and below the red circle from the map and the circled endpoint won't disapear. That is the sizeless wall.

good work thanks ;) I like your debug serialisation idea by the way :)


fix: Port forward #7070 - faster DOM update after editing

Description
This PR ports forward the fix #7070 which improves editing workflow (solving #7069) by avoiding unresponsive pages.
The original fix in #7070 was amended by #7223 which is also included here.

Related resources

#7070
#7223
#7069

Checklist

[x] I have opened this pull request against develop-4
[x] I have added or modified the tests when changing logic
[x] I have followed the conventional commits guidelines to add meaningful information into the changelog
[x] I have read the contribution guidelines  and I have joined #workgroup-pr-review on Slack to find a “pr review buddy” who is going to review my pull request.

What was the diff providing here?

@marksweb The diff calculates the differences between the old and new toolbar and then replaces the DOM elements. That led to performance issues (#7069) and was removed in v3 in 3.9 or 3.10. The toolbar is of moderate size, and a full replacement works faster and more reliably.


Fix login and signup page styling

This PR addresses #1003.
I have fixed the text color in the dark mode and is now visible. Also the margin issue has been fixed and sign up form styling is fixed and looks exactly like login form.

Thanks a lot for your contribution to dummygram! :)


Error with Phantomjs 2.1.1

Hi Guys,

PhantomJS 2.1.1 (Mac OS X 0.0.0) Test Case encountered a declaration exception FAILED
TypeError: undefined is not a constructor

I am trying to import a custom module that's why it's creating this problem.
require("my-custom-module") is not working.

PhantomJS is kind of a weird browser and not really supported. If you need to do headless browser testing, I'd recommend using Xvfb

Note that PhantomJS is now offically not supported given that Headless Chrome is coming.


float64 vs float32 for data ingestion

I'm working on ingesting the Gaia data (#183 ). I am working with the proper motion data and noticed that we seem to be keeping track of way too many decimal places given the precision of the measurements. For example,
proper motion ra = -1068.1292486050681
proper motion ra error = 0.19892110247737055

If I convert to float32  (using .astype('float32')) , it changes to much more reasonable numbers:
proper motion ra = -1068.1293
proper motion ra error = 0.1989211

Should we convert measurements to float32 before ingesting (where appropriate) am I overthinking this?  @dr-rodriguez ? @blackwer ?

SQLite still uses float64 internally, so you won't save any space. If you want to have the representation be nicer, I'd save that for when you actually display it. This won't hurt anything, but it is an extra layer. I'm inclined to not worry too much about this kind of thing, but I don't think it'd hurt either.

Yea, I wouldn't worry too much.
We could alter the astrodbkit2 json writer to coerce floats to float32, but I'd prefer not to since sometimes you do need float64.


Curves render clipped

There are apparently issues with curves being clipped under certain situations. Will report with more information.
Internal issue #CD-88

Haven't found any issues related to clipping curves, closing this.


Use config file params when training in with Python

At the moment if you specify a fixed_model_name and project in your config file but train through python, the trainer will not use those variables when persisting.
Instead you have to pass them in as params to the persist method like so:
trainer = Trainer(RasaNLUConfig(config))
trainer.train(training_data)
self.model_directory = trainer.persist(path=path, project_name=project, fixed_model_name=fixed_model_name)

It would be more intuitive if you specified those variables in the config that the trainer would use them (like it does when training from command line).

I'm using version 0.11.4
My config file looks like this:
{
  "pipeline": ["nlp_spacy", "tokenizer_spacy", "ner_crf"],
  "fixed_model_name": "name_extractor",
  "project": "bot",
  "language": "de",
  "path" : "/models/",
  "data" : "/data/intent/state_name_with_entity.json"
}

This is the output of the trainer.persist when I don't pass in the params to the persist method:
/models/default/model_20180406-080613
This is the output of the trainer.persist when I pass in the params to the persist method (and what I expected without passing in the params):
/models/bot/name_extractor

This has been fixed in the latest master. These parameters are not longer part of the configuration anymore (partly because of the reasons you mentioned: there were a number of inconsistencies with the configuration value use).

closing for the reasons @tmbo gave :)


Handle loopback addresses correctly when tracking connections

Fixes #1733
Also: revert Endpoint node id cache, since it wasn't doing anything (the code was buggy and it was complicating things)

LGTM


iOS border radius not working when using transparent border color

Description
iOS border radius not working when using transparent border color
React Native Version
0.72.5
Output of npx react-native info
System:
OS: macOS 13.0
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 2.30 GB / 16.00 GB
Shell:
version: 5.8.1
path: /bin/zsh
Binaries:
Node:
version: 16.15.1
path: ~/.nvm/versions/node/v16.15.1/bin/node
Yarn:
version: 1.21.1
path: /usr/local/bin/yarn
npm:
version: 8.11.0
path: ~/.nvm/versions/node/v16.15.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.11.3
path: /Users/erich/.rvm/gems/ruby-2.7.5/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.1
- iOS 16.1
- macOS 13.0
- tvOS 16.1
- watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode:
version: 14.1/14B47b
path: /usr/bin/xcodebuild
Languages:
Java:
version: <IP_ADDRESS>
path: /usr/local/opt/openjdk@11/bin/javac
Ruby:
version: 2.7.5
path: /Users/erich/.rvm/rubies/ruby-2.7.5/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.5
wanted: 0.72.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Steps to reproduce

Add a parent container with transparent border color, border radius and overflow: hidden set

      <View
        style={{
          margin: 150,
          borderWidth: 4,
          borderColor: 'transparent',
          borderRadius: 16,
          overflow: 'hidden',
          height: 80,
          width: 60,
        }}>
        <View
          style={{
            width: '100%',
            height: '100%',
            backgroundColor: 'red',
          }}></View>
      </View>

On iOS, the child view is not clipped by the parent container.

Snack, screenshot, or link to a repository
See snack: https://snack.expo.dev/@eh2077/4c412a?platform=ios

Please add overflow: 'hidden'


Awesome! .cursor needed?

Hey, nice work!
This bit:
https://github.com/beekman/Rainbow-Selection-Flux/blob/7b556c8756a0ba121eb80721ce90c365c61c40bf/styles/rainbow-selection-flux.atom-text-editor.less#L7-L10
Is that needed?
Thanks for making this a package!

No, and sorry I didn't push the version I was working on where I'd already removed it. :)


uvncbvba.UltraVnc version 1.3.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Just saw it is a duplicate. #14722


✨ Introduce screen brightness readout

As suggested by one of our users, I'm porting a readout from libmacchina that displays screen brightness (ranging from 0% all the way up to 100%).
Implemented for

[x] Linux
[ ] NetBSD
[ ] macOS
[ ] Windows
[ ] Android

This should probably be appended to Resolution and the readout should be renamed to Displays, instead.


feat(p2p): implement conversion of RawNetworkMessage to NetworkMessage

In some cases borrowing the payload from a RawNetworkMessage may not be enough, like returning a NetworkMessage from a function. Here is a simple conversion for users.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 83.202%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bitcoin/src/p2p/message.rs
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.01%

Covered Lines:
19699

Relevant Lines:
23676

💛  - Coveralls


Prompt with Agnoster theme

Hi, I customized the plugin because I use Agnoster theme. I don't know how to integrate it to the project because, so I put my gist here.
I just basically override some functions, this is a bit crappy but it works well. My goal here is to share it and obviously, if you want to add it to the project, I would be glad to help you.

exactly what I need!!! Thanks


screed 1.0 API thoughts

Things that should be dealt with before screed 1.0 -- please add to this issue.
Slicing of screed records (#768)
A plan for synching of quality attribute details between khmer and screed (#769)
Putting in place tests for and fixes for many broken FASTQ formats (#760, #108)
len(record) should work (or fail obviously) #705 - screed#18 needs review.
Make a nicer way to create new screed Record objects (#767)
Is #625 still relevant or should it be closed?

Also: remove description, maybe. #820

[ ] delete the redefinition of open in screed/openscreed.py

Disagree; it's only a problem if someones does 'from screed import *' which is UnPythonic. I like 'open'.

It proved to be a stumbling block to Camille and I during a pdb debugging session. shrug

All done.


Broken link in emanual for Open Manipulator-X

Hi, under Section 5.4.2 OpenCR, it states that "if you want to operate OpenMANIPULATOR-X on embedded system (OpenCR) without ROS, please refer OpenCR Setup."
The OpenCR Setup link is broken.
Please fix it.

Thank you for your report, the broken link will be updated from the next e-Manual update.

Thanks David. In regard to the e-Manual, what is the best way to print it? If I just print as is, sometimes 1/3-1/2 of the pages are for Table of Contents.  If I hit Edit on GiHub and print, all the section numbers are missing. Also, how can I tell which version of the e-Manual I am reading and the version of the manual posted on the website?

Hi, Thanks for your reply,

If you are using Chrome, just save as webpage,complete, which preserves most contents on the page, and then print the page.
Unfortunately, the current e-Manual does not provide the version information as the manual is often upadated for new features.

I hope this information is helpful for you .
Many thanks,
David Park.

Thanks David. Please keep safe and healthy.

No worries, If you have any further questions requiring assistance, please feel free to reach out to us at any time. But if not, please close this thread.

Thanks. It could be helpful if the date of the last updated information is included.


[Feature Request] Naming convention for TVM compiled .so binaries for each model

cc @junrushao
🚀 Feature
The latest version of TVM enables different multi-GPU sharding configurations to reuse the same param weight shards. So, if you want to compile a model via MLC that has options for 1-GPU shard, 2-GPU shards, and 4-GPU shards (for example), you could reuse the same params*.bin and switch the compiled .so binary.
Currently, the naming convention for the .so binary is simply the model name. I am proposing to update the naming convention to specify num_shards within the name of the compiled binary, and keep them within one model directory, as shown below:
Current naming convention:
dist/CodeLlama-13b-Instruct-hf-q0f16
├── CodeLlama-13b-Instruct-hf-q0f16-cuda.so
├── mod_cache_before_build.pkl
└── params
    ├── mlc-chat-config.json
    ├── ndarray-cache.json
    ├── params_shard_*.bin

Proposed new naming convention:
dist/CodeLlama-13b-Instruct-hf-q0f16
├── CodeLlama-13b-Instruct-hf-q0f16-cuda-1-shards.so
├── CodeLlama-13b-Instruct-hf-q0f16-cuda-2-shards.so
├── CodeLlama-13b-Instruct-hf-q0f16-cuda-4-shards.so
├── mod_cache_before_build.pkl
└── params
    ├── mlc-chat-config.json
    ├── ndarray-cache.json
    ├── params_shard_*.bin

Motivation
This cleans up the file structure of the compiled model + params and allows for better reuse.

CC: @tqchen @MasterJH5574

I believe ultimately the goal is to allow users specify the names they prefer just like gcc:
gcc main.c -o my_name

MLC LLM compilation should allow such a thing as well:
python3 -m mlc_llm.compile ...  -o xxx-cuda.so

When we start to do sharding beyond 1 it might indeed makes sense to bring sharding number as part of the name by default

The new compilation pipeline requires users to specify the name of TVM compiled .so binary explicitly:
python -m mlc_chat.cli.compile --config llama2_70b --quantization q4f16_1 -o /tmp/1.so


Problem with translation and zf3

After migrating my zf2 project to zf3 I encountered a strange behavior with translation.
The documentation says:
$article = $em->find('Entity\Article', 1 /*article id*/);
$article->setLocale('ru_ru');
$em->refresh($article);

And that was working perfectly with zf2.
Here is the problem, when i try to do same think with zf3 the refresh simply empties all the fields of the entity.
Here are some cases:
entity with only default language
accessing default language -> empty
accessing a translation -> empty
entity translated
accessing default language -> empty
accessing translation -> returned correctly
Any suggestion?

can't help you, I do not use zf3. probably something with the integration. you'll have to debug this or maybe someone else could share their experience.

Ok, I think I figure out the problem, I was adding the listener two times.
For  an unknown reason zf2 doesn't complain for that.


updating OGH with OXL

OXL is now a subclass of OGH, and a usecase8 has been incorporated for complex netcdf libraries.

These pull requests are failing because version 0.1.10 doesn't exist. At the start of these pull requests, the library was at ogh-0.1.11, so it seems to be recognizing the wrong recent version.
@lsetiawan @ocefpaf Is it possible to get TravisCI, setup.py and/or versioneer.py to recognize ogh-0.1.11 as the recent stable version?

@jphuong versioneer will compute the version based on the tag and, for unreleased versions, base on the git commit. If you are stable 0.1.11 you have to tag it, but I don't think that is the problem here. Looking at the logs I see that the source tarball is getting named ogh-.0.1.10+22.g3bba502.tar.gz, so something is amiss right after the -.

@ocefpaf @lsetiawan You are right. Fixing the release tag name seems to have resolved the build version problem. It's finding the ogh-0.1.10 tarball now and progressing into the unit tests.
It's not using 0.1.11 as the latest release. This is likely because I just revised the release tag for 0.1.10. There is still a backlog of pull requests to be resolved before the 0.1.12 or 0.2.0 release.
Would it be advised to trash any of these pull requests?


Replace HeaderBasedProtocolSchedule with ProtocolSchedule

Part of #4789

Final refactor blocked until all usages of getBlockByNumber removed.

Closed in favor of #5260


Looking for _mm256_broadcastq_epi64

First time using simdeez, I'm trying to translate some code from C which uses the _mm256_broadcastq_epi64 intrinsic and cannot find the corresponding function in simdeez::avx2::Avx2. Is this simply missing an implementation or is the reason that this instruction cannot be abstracted over different instruction sets?

Probably just missing, if you want to give a try adding it please feel free.

Started looking into it some more and I'm having a difficult time matching this intrinsic to the simdeez model. The instruction is documented to take an __m128i argument, but uses only the lower half of it, duplicating that into all lanes. Writing it like that seems to be difficult since there is no I64x2 type in the scalar implementation.
But I also noticed that for my usecase, set1_epi64 is actually already doing what I need, so I'm going to close this for now.


Update Tinycon.js for IE11 fallback

Closes #79
one caveat with this is it doesnt detect IE5. you may want a both msie and trident to detect all ie versions

Thanks, I have no beef with not supporting IE5 :smile:


[Question]: Nodes from PineconeVectorStore is empty.

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
First, I load the documents into Pinecone with this code:
PINECONE_INDEX_NAME ="name"
vector_store = PineconeVectorStore(pinecone_index=pinecone.Index(PINECONE_INDEX_NAME))
storage_context = StorageContext.from_defaults(vector_store=vector_store)
documents = SimpleDirectoryReader(data_dir).load_data()
VectorStoreIndex.from_documents(
    documents, storage_context=storage_context
)

Then I try to load the load the documents from the same vector store using the code below,
index = VectorStoreIndex.from_vector_store(vector_store)
index_nodes = index.docstore.docs
index_nodes <- returns {}

Do you see anything here that cause the vector store to give an empty response?

the docstore is disabled by default when using vector db integrations, to simplify storage
you can override this, but then you need to save and manage the docstore too

index = VectorStoreIndex.from_documents(..., store_nodes_override=True)

the docstore is disabled by default when using vector db integrations, to simplify storage
you can override this, but then you need to save and manage the docstore too

ok. In that case, is there a way to fetch documents from an external vector store index without having to manage the docstore? Only reason I'm trying to get the documents is because I want to create a dict to pass it to RecursiveRetriever

only way is to use the vector store API directly (i.e. using pinecone directly), or setting a high top-k and retrieving all the nodes stored
retriever = index.as_retriever(similarity_top_k=10000)
source_nodes = retriever.retrieve("fake")
nodes = [x.node for x in source_nodes]


benchmark failed

Describe this problem
Run benchmark with default config failed. Err msg is like:

Missing field.
Failed to parse config.: ParseToml { path: "/Users/chenmian.cm/Projects/incubator-horaedb/src/benchmarks/config/bench.toml", source: Error { inner: Error { inner: TomlError { message: "missing field num_rows_per_row_group", original: Some("# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# "License"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#   http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n\n[sst_bench]\nstore_path = "/path/to/data/1/1"\nsst_file_name = "37.sst"\nruntime_thread_num = 1\nbench_measurement_time = "30s"\nbench_sample_size = 30\nmax_projections = 5\nread_batch_row_num = 8192\nis_async = false\nreverse = false\n\n[sst_bench.predicate]\n# start_time_ms = 0\nstart_time_ms =<PHONE_NUMBER>000\n# end_time_ms = 0\nend_time_ms =<PHONE_NUMBER>000\n\n[merge_sst_bench]\nstore_path = "/path/to/data"\nspace_id = 1\ntable_id = 1\nsst_file_ids = [ 34, 37 ]\nruntime_thread_num = 1\nbench_measurement_time = "30s"\nbench_sample_size = 30\nmax_projections = 5\nread_batch_row_num = 500\nsst_level = 0\n\n[merge_sst_bench.predicate]\nstart_time_ms = 0\n# start_time_ms =<PHONE_NUMBER>000\nend_time_ms = 0\n# end_time_ms =<PHONE_NUMBER>000\n\n[scan_memtable_bench]\nstore_path = "/path/to/data/1/1"\nsst_file_name = "37.sst"\nruntime_thread_num = 1\nmax_projections = 5\narena_block_size = "64M"\n\n[merge_memtable_bench]\nstore_path = "/path/to/data"\nspace_id = 1\ntable_id = 1\nsst_file_ids = [ 37 ]\nruntime_thread_num = 1\nmax_projections = 5\narena_block_size = "64M"\n\n[wal_write_bench]\nbench_measurement_time = "60s"\nbench_sample_size = 60\nbatch_size = 512\nvalue_size = 1024\n\n[replay_bench]\nbench_measurement_time = "3s"\nbench_sample_size = 10"), keys: ["sst_bench"], span: Some(786..1011) } } }, backtrace: Backtrace(   0: backtrace::backtrace::libunwind::trace

Invalid config.
thread 'main' panicked at src/benchmarks/src/parquet_bench.rs:49:83:
called Result::unwrap() on an Err value: Generic { store: "LocalFileSystem", source: UnableToCanonicalize { path: "/path/to/data/1/1", source: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }

Server version
HoraeDB Server
Version: 2.0.0
Git commit: cfbbe3d3
Git branch: feat_replay_benchmark
Opt level: 0
Rustc version: 1.77.0-nightly
Target: x86_64-apple-darwin
Build date: 2024-04-10T07:38:04.708239000Z
Steps to reproduce
ANALYTIC_BENCH_CONFIG_PATH=/path/to/incubator-horaedb/src/benchmarks/config/bench.toml cargo bench --bench bench -p benchmarks -- bench_parquet
Expected behavior
No response
Additional Information
No response

UnableToCanonicalize { path: "/path/to/data/1/1", s

It seems you need to update config to set it to a real path.


Add Support for Angular 6 & RxJS 6

Now when trying to update to Angular 6 & RxJS 6, I got this error:
node_modules/@qontu/ngx-inline-editor/inputs/input-base.d.ts(3,10): error TS2305:
Module '"node_modules/rxjs/Subscription"' has no exported member 'Subscription'.
Any Plans to Update ?
Thanks!

I am getting following error when using Inline Editor in Angular6.
ERROR Error: StaticInjectorError(AppModule)[NgClass -> ElementRef]:
StaticInjectorError(Platform: core)[NgClass -> ElementRef]:
NullInjectorError: No provider for ElementRef!
Any help? Thanks

We are using<EMAIL_ADDRESS>in an Angular 6.1.2 project with no issues except when we attempt to build with AoT per #127.

Installing "rxjs-compat": "^6.0.0" resolved (at least removes) the error, but it's not working for me afterwards. Getting Can't bind to 'ngModel' since it isn't a known property of 'inline-editor'. but could also be me using it in a wrong way. But I'm trying the minimal example.


Can't build - module not found: org.scalanlp#breeze_2.10;0.12-SNAPSHOT

Hi, I tried to build using different versions of Scala and sbt both, but no luck. Please help.

sorry about that, delete the -SNAPSHOT part from build.sbt (just do 0.12)
On Mon, Feb 15, 2016 at 4:03 AM, subhagsingh<EMAIL_ADDRESS>wrote:

Hi, I tried to build using different versions of Scala and sbt both, but
no luck. Please help.
[image: screen shot 2016-02-15 at 2 41 15 am]
https://cloud.githubusercontent.com/assets/11255597/13048191/142743d2-d399-11e5-8421-669287e3a80e.jpg
—
Reply to this email directly or view it on GitHub
https://github.com/dlwh/epic/issues/48.

Great! It worked! Thanks a lot David!


Unable to execute trigger. Aborting...

Hi,
Thanks for the nice tool and the support.
I have followed your previous answers to comment out the configurations, which cameras does not allow. But I faced some other issued which I am not  able to understand.
Specs:
Ubuntu 18.04
Spinnaker 2.4.0
Camera: Flir ADK with Ethernet
Terminal output:
linux2@linux2-HP-ProBook-440-G5: ~/flir_ws$ source devel/setup.bash
linux2@linux2-HP-ProBook-440-G5: ~/flir_ws$ roslaunch spinnaker_sdk_camera_driver acquisition.launch
... logging to /home/linux2/.ros/log/4e039a22-ce9a-11eb-8ff6-b4b686e9bfb1/roslaunch-linux2-HP-ProBook-440-G5-2888.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://linux2-HP-ProBook-440-G5:39705/
SUMMARY
PARAMETERS

/acquisition_node/binning: 1
/acquisition_node/cam_aliases: ['cam0']
/acquisition_node/cam_ids: [19426159]
/acquisition_node/color: False
/acquisition_node/delay: 1.0
/acquisition_node/distortion_coeffs: [[-0.021141875266...
/acquisition_node/distortion_model: plumb_bob
/acquisition_node/exposure_time: 0
/acquisition_node/external_trigger: False
/acquisition_node/flip_horizontal: [False]
/acquisition_node/flip_vertical: [False]
/acquisition_node/frames: 3400
/acquisition_node/gain: 0
/acquisition_node/image_height: 512
/acquisition_node/image_width: 640
/acquisition_node/intrinsic_coeffs: [[1886.9232141485...
/acquisition_node/live: False
/acquisition_node/live_grid: False
/acquisition_node/master_cam: 19426159
/acquisition_node/max_rate_save: False
/acquisition_node/projection_coeffs: [[913.700317, 0.0...
/acquisition_node/rectification_coeffs: [[1.0, 0.0, 0.0, ...
/acquisition_node/region_of_interest/height: 0
/acquisition_node/region_of_interest/width: 0
/acquisition_node/region_of_interest/x_offset: 0
/acquisition_node/region_of_interest/y_offset: 0
/acquisition_node/save: False
/acquisition_node/save_path: ~
/acquisition_node/save_type: bmp
/acquisition_node/skip: 20
/acquisition_node/soft_framerate: 30
/acquisition_node/target_grey_value: 0
/acquisition_node/tf_prefix:
/acquisition_node/time: False
/acquisition_node/to_ros: True
/acquisition_node/utstamps: False
/rosdistro: melodic
/rosversion: 1.14.11

NODES
/
acquisition_node (nodelet/nodelet)
vision_nodelet_manager (nodelet/nodelet)
auto-starting new master
process[master]: started with pid [2905]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to 4e039a22-ce9a-11eb-8ff6-b4b686e9bfb1
process[rosout-1]: started with pid [2930]
started core service [/rosout]
process[vision_nodelet_manager-2]: started with pid [2933]
process[acquisition_node-3]: started with pid [2938]
[ERROR] [1623844770.318092447]: Skipped loading plugin with error: XML Document '/home/linux2/lanelet2_ws/src/sim_sample_actuator_ros_tool/nodelet_plugins.xml' has no Root Element. This likely means the XML is malformed or missing..
[ INFO] [1623844770.324042221]: Initializing nodelet with 8 worker threads.
[ INFO] [1623844770.590531232]: Initializing nodelet
[ INFO] [1623844770.592661290]: [ OK ] USB memory: 1000 MB
[ INFO] [1623844770.592761357]: *** PARAMETER SETTINGS ***
[ INFO] [1623844770.592821190]: ** Date = 20210616
[ INFO] [1623844770.593428448]:   Save path set via parameter to: /home/linux2
[ INFO] [1623844770.593503793]:   Camera IDs:
[ INFO] [1623844770.593994790]:     19426159
[ INFO] [1623844770.594399051]:   Camera Aliases:
[ INFO] [1623844770.594450358]:     19426159 >> cam0
[ INFO] [1623844770.594795693]:   External trigger: false
[ INFO] [1623844770.595565038]:   Unique time stamps for each camera: false
[ INFO] [1623844770.595945332]:   color set to: false
[ INFO] [1623844770.596389324]:   19426159 flip_horizontal 0
[ INFO] [1623844770.596922063]:   19426159 flip_vertical 0
[ INFO] [1623844770.597352254]:   Exporting images to ROS: true
[ INFO] [1623844770.597774707]:   Showing live images setting: false
[ INFO] [1623844770.598206404]:   Showing grid-style live images setting: false
[ INFO] [1623844770.598640551]:   Max Rate Save Mode: false
[ INFO] [1623844770.599086475]:   Displaying timing details: false
[ INFO] [1623844770.599515159]:   No. of images to skip set to: 20
[ INFO] [1623844770.599970292]:   Init sleep delays set to : 1.00 sec
[ WARN] [1623844770.600340921]:   'fps' Parameter not set, using default behavior: fps=20.00
[ INFO] [1623844770.600699402]:   'exposure_time'=0, Setting autoexposure
[ INFO] [1623844770.601060909]:   'gain' Parameter was zero or negative, using Auto gain based on target grey value
[ INFO] [1623844770.601419714]:   'target_grey_value'=0, Setting AutoExposureTargetGreyValueAuto to Continuous/ auto
[ INFO] [1623844770.601790320]:   Binning set to: 1
[ INFO] [1623844770.602231765]:   Using Software rate control, rate set to: 30
[ INFO] [1623844770.602808508]:   Saving images set to: 0
[ INFO] [1623844770.604175803]:   tf_prefix set to:
[ INFO] [1623844770.606293903]:   Region of Interest set to width: 0	height: 0	offset_x: 0 offset_y: 0
[ INFO] [1623844770.606730102]:   Camera Intrinsic Paramters:
[ INFO] [1623844770.607056932]:    1886.923214 0.000000 604.721488 0.000000 1886.666877 493.477267 0.000000 0.000000 1.000000
[ INFO] [1623844770.607470001]:   Camera Distortion Paramters:
[ INFO] [1623844770.607521562]:    -0.021142 -0.373387 2.385983 3.282457
[ INFO] [1623844770.607976738]:   Camera Rectification Paramters:
[ INFO] [1623844770.608021722]:    1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000
[ INFO] [1623844770.608495400]:   Camera Projection Paramters:
[ INFO] [1623844770.608546677]:    913.700317 0.000000 953.448302 0.000000 0.000000 1063.296631 777.871993 0.000000 0.000000 0.000000 1.000000 0.000000
[ INFO] [1623844770.608567158]:   Camera coeffs provided, camera info messges will be published.
[ INFO] [1623844770.608657991]: *** SYSTEM INFORMATION ***
[ INFO] [1623844770.608682624]: Creating system instance...
[ INFO] [1623844770.608745521]: spinnaker_sdk_camera_driver package version: 1.1.0
[ INFO] [1623844771.981337557]: Spinnaker library version: <IP_ADDRESS>
[ INFO] [1623844771.981467760]: Retreiving list of cameras...
[ INFO] [1623844771.988963681]: Numer of cameras found: 1
[ INFO] [1623844771.989083259]:  Cameras connected: 1
[ INFO] [1623844771.991154264]:   -19426159 Boson-GE-640 1901.1.325.0
[ INFO] [1623844772.060471468]: Dynamic Reconfigure: Level :<PHONE_NUMBER>
[ INFO] [1623844772.061675776]: *** FLUSH SEQUENCE ***
[ INFO] [1623844772.061706843]: Initializing cameras...
[ INFO] [1623844772.902820685]: Deinitializing cameras...
[ INFO] [1623844773.113435864]: All cameras deinitialized.
[ INFO] [1623844775.113899323]: Initializing cameras...
[ INFO] [1623844775.638678487]: onInit Initialized
[ INFO] [1623844775.638911396]: *** ACQUISITION ***
[FATAL] [1623844775.802457724]: Unable to execute trigger. Aborting...
terminate called after throwing an instance of 'Spinnaker::Exception'
what():  Spinnaker: GenICam::AccessException= Node is not writable. : AccessException thrown in node 'TriggerSoftware' while calling 'TriggerSoftware.Execute()' (file 'CommandT.h', line 61) [-2006]
[vision_nodelet_manager-2] process has died [pid 2933, exit code -6, cmd /opt/ros/melodic/lib/nodelet/nodelet manager __name:=vision_nodelet_manager __log:=/home/linux2/.ros/log/4e039a22-ce9a-11eb-8ff6-b4b686e9bfb1/vision_nodelet_manager-2.log].
log file: /home/linux2/.ros/log/4e039a22-ce9a-11eb-8ff6-b4b686e9bfb1/vision_nodelet_manager-2*.log
I hope the solution is trivial, but I am not seeing it.
Thanks for the help,
Karthik

@Karthikeyanc2 we use software triggering in this driver to ensure that none of the frames go into the buffer and cause lag. I looks like your camera might not support software triggering.  Can you try to create a similar configuration in SpinView and check if it lets you do a software trigger on the camera.

Hi @vik748 ,
Thanks for the quick reply,
Yes, with spinview, it works with the setting: "Trigger source : software"

After you switch to Trigger source software, does the live image from the camera freeze?  Does it then take a picture when you click 'Execute' for the software trigger?
Also I noticed your Spinview is 2.3.xx, if you see the README there are known issues with Spinnaker versions above 2.2, can you try one of the tested versions first.

I just tried with spinnaker 2.0.0,

its exactly the same issue,

at spinview, clicking on 'Execute' has no effect. (Also, on whichever trigger source I select and whatever I do with regards to this option, it has no effect, frames are live and does not freeze).
Also, I could not find spinnaker 2.2 in this download website, https://www.flir.eu/products/spinnaker-sdk/. Do you have any other download source?

I believe that once you set the camera to software trigger, it should stop triggering and the image should freeze, even if you high the stop and play button. I don't have a camera with me to try this.
It is possible that this camera doesn't support software triggering.  In that case you'd have to modify the code to make it similar to what it does in the MAX_RATE_SAVE mode at https://github.com/neufieldrobotics/spinnaker_sdk_camera_driver/blob/f6ab2909ba2a4e250d7838331c83d4b588badb0f/src/capture.cpp#L740
You'd also have to remote the trigger execution line in the main loop.


client: Retire redundant greenlight.proto methods

We are retiring the old, manually maintained, greenlight.proto Node service, with the exception of greenlight-specific methods, such as the HSM and the streaming methods. This should cut down on maintenance effort and be much clearer as to which method to use for what purpose. It's a bit of a breaking change, but any removed method already has their replacement ready in node.proto.
We switch to node.proto which is maintained alongside CLN itself, so it should be much more stable.

ACK 7ff1cea2a7ca8b96fb4297e9c8f72dde33de8b9f

Got the go-ahead from @roeierez, so we can merge these. Thanks for the confirmation @roeierez :+1:


Ensemble provides either correct or (the same) incorrect inference results

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
2.14
Custom code
Yes
OS platform and distribution
No response
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I have an ensemble; I run the models sequentially. It's flaky in the results it returns; sometimes, one model gives the correct result of 0.37. Other times, it gives the incorrect result of 0.30 (never any other value).
I've tried turning on deterministic ops, but I still have this flaky issue; everything else stays the same.
I've tested on an old TitanX, T4 & A100 - this test is always flaky.
I've tried debugging via the VLOG, but nothing jumps out; the only difference I can spot is for some reason, different cudnn Conv Ops might be chosen (not 100% from the logs).
Are there other suggestions on how to debug this issue? - I understand there might be decimal point changes but this swing is huge.
Standalone code to reproduce the issue
I can't share the models.

Relevant log output
-

@joeyearsley,
Please, share colab link or simple standalone code with supporting files to reproduce the issue in our environment.It helps us in localizing the issue faster. Thank you!


Misleading TypeScript errors when using the included SvelteKit SSR example

Property 'loadFromCookie' does not exist on type 'AuthStore | BaseAuthStore'.
  Property 'loadFromCookie' does not exist on type 'AuthStore'.

This is due to the fact that the authStore property of the client has the type AuthStore | BaseAuthStore but AuthStore was never updated to include the new methods.

Just to let you know that the previously discussed changes are available in the v0.6.1 release.


update cwltool version and test monitoring options

Feature Request
Desired behaviour
As per https://gitter.im/ga4gh/dockstore?at=5bf7fdfab5154c550051df48 , for a hotfix, update and test a version of cwltool with monitoring tools against verified tools on Dockstore.org.
Also seems to be missing html5lib? https://gitter.im/ga4gh/dockstore?at=5bf810cfa6e00567431e23de
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.6
┆Sprint: Seabright Sprint 6 Ferry
┆Issue Number: DOCK-435

Would be nice, but not essential to be able to tear down testing framework and either bring it back up on collab or aws

@garyluu will need to test with<PHONE_NUMBER>2649   https://gitter.im/common-workflow-language/common-workflow-language?at=5c658a7d604f233ab60c6566  (thanks @mr-c!)
As a bonus, I think the travis-ci tests for the versions around that date test with requests 2.20.0 or later.

Update from tooltester after updating directly to cwltool version<PHONE_NUMBER>2649:
Problems with:

Workflow
Immediate problem

#workflow/github.com/Barski-lab/ga4gh_challenge:master
Never finishes executing then out of memory

#workflow/github.com/DataBiosphere/topmed-workflows/u_of_Michigan_alignment_pipeline:1.31.0
No longer exist and verified?

quay.io/pancancer/pcawg-sanger-cgp-workflow:2.0.3
/var/spool/cwl missing

a bunch of bwa-mem workflows
/var/spool/cwl missing

quay.io/pancancer/pcawg_delly_workflow:2.0.1-cwl1.0
/var/spool/cwl missing

accidentally assigned myself in jira

Going back to the OP:
Looks like new cwltool version works
Looks like we can use the new Docker monitoring options
$ cat ~/.dockstore/config
token: <snip>
server-url: https://staging.dockstore.org/api
#server-url: https://dockstore.org:443/api
cwltool-extra-parameters: --cidfile-dir, /home/ubuntu/foo, --cidfile-prefix, prefix
ubuntu@testing-client:~$ dockstore tool launch --entry quay.io/briandoconnor/dockstore-tool-md5sum:1.0.4 --json Dockstore.json
Downloading: file:///home/ubuntu/Dockstore.json to file:///tmp/parameter2368939667934806066json
[##################################################] 100%
Created temporary working directory at '/tmp/1553716879258-0'
Successfully downloaded files for entry 'quay.io/briandoconnor/dockstore-tool-md5sum'
Creating directories for run of Dockstore launcher at: /home/ubuntu/datastore//launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f
Provisioning your input files to your local machine
Preparing download location for: #input_file from md5sum.input into directory: /home/ubuntu/datastore//launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/inputs/3e68b7ff-7e9f-413d-afb0-617c5d6515bc
WARNING: Output location not found for "output_file" provisioning by default to working directory
Calling out to cwltool to run your workflow
########### WARNING ###########
You are using extra flags for your cwl runner which may not be supported. Use at your own risk.
--cidfile-dir
/home/ubuntu/foo
--cidfile-prefix
prefix
Executing: cwltool --cidfile-dir /home/ubuntu/foo --cidfile-prefix prefix --enable-dev --non-strict --outdir /home/ubuntu/datastore//launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/outputs/ --tmpdir-prefix /home/ubuntu/datastore//launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/tmp/ --tmp-outdir-prefix /home/ubuntu/datastore//launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/working/ /tmp/1553716879258-0/Dockstore.cwl /home/ubuntu/datastore/launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/workflow_params.json
/home/ubuntu/.local/bin/cwltool 1.0.20181217162649
Resolved '/tmp/1553716879258-0/Dockstore.cwl' to 'file:///tmp/1553716879258-0/Dockstore.cwl'
[job Dockstore.cwl] Skipping Docker software container '--memory' limit despite presence of ResourceRequirement with ramMin and/or ramMax setting. Consider running with --strict-memory-limit for increased portability assurance.
<snip>
Final process status is success

Saving copy of cwltool stdout to: /home/ubuntu/datastore/launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/outputs/cwltool.stdout.txt
Saving copy of cwltool stderr to: /home/ubuntu/datastore/launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/outputs/cwltool.stderr.txt
Provisioning your output files to their final destinations
Registering: #output_file to provision from /home/ubuntu/datastore/launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/outputs/md5sum.txt to : .
Provisioning from /home/ubuntu/datastore/launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/outputs/md5sum.txt to ./md5sum.txt
Downloading: file:///home/ubuntu/datastore/launcher-df58e0df-5e2e-48e5-81e9-dcf6cc62089f/outputs/md5sum.txt to file:///home/ubuntu/md5sum.txt
[##################################################] 100%
ubuntu@testing-client:~$ ls foo
prefix-20190327195940-389299.cid  prefix-20190327200123-923767.cid


[wave6] Deprecate the hasOutstandingIOU key on reports

Problem
We have been using the hasOutstandingIOU key to indicate that there is some active (ie processing or open) report linked to chat report or as a property on the money request report to indicate the same.
In case of IOU/expense report its however redundant as we know the state and status and total so we can derive if the report is active
In case of the parent chat reports (DM in case of IOU and workspace chat in case of expense report) we now have the hasChildOutstandingRequest property which indicates there is action required from the user.
The hasOutstandingIOU property now became redundant so we can remove it
Solution
Lets remove this key from the App

MoneyRequestAction here on the parent chat report whether to show pending report action, I think we can change this to chatReport?.iouReportID instead because the report should only be linked if its outstanding
updateIOUReportOwner - can be removed
in optionsListUtils - can be removed
getMoneyRequestReimburseableTotal - can be removed
getMoneyRequestSpendBreakdown - can be removed
getMoneyRequestReportName - we can substitute it with checking for the report state and status to be 1, 1

I think will be updating this to handle the approved case to say approved  cc @marcochavezf

SidebarUtils, can be removed

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue.

PRs to deprecate this in backend are ready and on hold for the app changes first

Gut!
I am preparing a PR today.

Still testing, just resolved unit tests. Going to open the PR tomorrow.

Review in progress

Payment handled here https://github.com/Expensify/App/issues/32281

@mountiny Do we hold on anything in such case, or are we good to close this one?

I need to clean this up in the backend but your payment can be handled already

@mountiny, just carious any updates on this issue?

I need to follow through on the PRs which were created in the backend as HOLD now

This was done already


Speedup github actions

They take a long time and if we do some smart caching we could speed this up, freeing up resources.
Resources on that caching

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows
https://www.warpbuild.com/blog/github-actions-speeding-up
https://jcdan3.medium.com/4-ways-to-speed-up-your-github-action-workflows-a0b08067a6c6

I have used caching for container builds and it can be very effective. Sometimes 20 minute container builds are reduced to 1 minute.
https://github.com/epics-containers/ioc-adsimdetector/blob/574642e3eb8e6e24d6faca0a427f6b0a854a3bbb/.github/workflows/build.yml#L59-L60
I find there is a some overhead in cache read/write so that for smaller builds this becomes wasteful.

thanks, I'll look into it

it would be cool if we could run those actions locally...
https://github.com/nektos/act

this might be revisited in the future, not needed for now


Hi, how to load my own image?

Hi, real image should inverse in w/w+ space first, I'll add the function in the future. Thank you for your attention.

Hi, This code already supports real image editing


Retime some "inside" pipeline registers for better performance on FPGA

This needs some cleanup. Will ping you when ready.

Ok, this one is good to go.


Simplify EMA to use Pytorch's update_parameters

Pytorch's AveragedModel handles buffer properly after https://github.com/pytorch/pytorch/pull/71763. This can be used now instead of having a custom update_parameters() here.
cc @datumbox

A related issue to propose a EMA optimizer / functional optimizer into core: https://github.com/pytorch/pytorch/issues/71683

I'm interested in this work.

@xiaohu2015 It's yours. :)
It should be really straight forward as we basically want to reuse what we upstream to Core. We will need to do a couple of dummy training runs with very little data to confirm that the EMA utility works as expected but nothing as large-scale as training models.

Should we wait for Pytorch's release with the related changes?

Should we wait for Pytorch's release with the related changes?

Pytorch 1.11 version?

We can use the nightly of PyTorch that contains the change. Our release branch for the upcoming release is already cut so your changes won't affect it.


feat: public constrained view messy

Please read contributing guidelines and remove this line.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5434
#5433  👈
#5432
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @LHerskind and the rest of your teammates on  Graphite

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 933145e8 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
676
676
676

l1_rollup_calldata_gas
6,424
6,424
6,400

l1_rollup_execution_gas
585,757
585,757
585,733

l2_block_processing_time_in_ms
1,302
4,675 (-1%)
8,941 (-3%)

note_successful_decrypting_time_in_ms
175 (-5%)
512 (-2%)
999 (+4%)

note_trial_decrypting_time_in_ms
79.4 (-12%)
31.2 (-21%)
125 (+31%)

l2_block_building_time_in_ms
14,020 (+1%)
51,658
102,121

l2_block_rollup_simulation_time_in_ms
8,013
28,048
55,369

l2_block_public_tx_process_time_in_ms
5,984 (+1%)
23,560 (+1%)
46,660

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
12,972 (-7%)
26,241 (-1%)

note_history_successful_decrypting_time_in_ms
1,201 (-5%)
2,354 (-3%)

note_history_trial_decrypting_time_in_ms
76.1 (-16%)
112 (-5%)

node_database_size_in_bytes
18,661,456
35,082,320

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
233 (-1%)
44,377
28,214

private-kernel-ordering
205 (-1%)
52,880
14,296

base-parity
4,563 (-4%)
128
311

root-parity
1,562 (-3%)
1,244
311

base-rollup
17,845 (-1%)
165,760
861

root-rollup
49.1 (-1%)
4,359
725

private-kernel-inner
303 (-1%)
73,794
28,214

public-kernel-app-logic
123 (-2%)
35,251
28,217

public-kernel-tail
167 (-1%)
40,928
28,217

merge-rollup
7.69 (-17%)
2,568
861

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
9.80 (-2%)
15.6 (-3%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.572 (-2%)
0.482 (-3%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
45.4 (-2%)
71.0 (-2%)
238 (+3%)
428 (-4%)
868 (+1%)
1,714
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.466 (-2%)
0.438 (-2%)
0.432 (+3%)
0.400 (-4%)
0.413 (+1%)
0.412
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
52.4 (-4%)
105 (-1%)
337 (-1%)
635 (-4%)
1,302
2,595
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
104
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.467 (-4%)
0.473 (-1%)
0.456 (-1%)
0.438 (-4%)
0.453
0.451
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
59.6 (-2%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.522 (-2%)

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
14,966
494,914

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
2,413 (+2%)
1,377 (-1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
17.2 (+4%)
716 (-2%)

Docs Preview
Hey there! 👋 You can check your preview at https://6604237a987f6d0d91c7b37b--aztec-docs-dev.netlify.app


Missing documentation

[ ] Add syscodes for species to bridgedb website
[ ] write documentation for running code

@DeniseSl22 is it still relevant?

yes and yes


Travis CI validation for Globalnet Controller

Enable CI to validate Globalnet Controller in CI

The following PR validates Globalnet via Helm
https://github.com/submariner-io/submariner/pull/437

@vthapar is working on validating the deployment via Operator

The following PR handles Operator deployment - https://github.com/submariner-io/submariner-operator/pull/254


explicitely -> explicitly

only this found by codespell this time.

I know you just want to help, but please stop doing those micro changes. This doesn't help the project, it's just keeping people busy.

@emuell what's the thing that i can help with?


Differentiate between x64intel, x64arm, x86, etc

We return x86 and x64, however there are variations of x64 as well.
E.g. on mac there is arm64 and intel64 version of Python.
We will need to report these two separately.
Discussed with @karthiknadig

Not required, no upvotes nor issue reported


WIP Closes #13

LookCommand to print current location name and description, detail
development dependencies in README.

@zoevkay I know you were still going to do more on this but I'm going to merge it as I'm planning some significant re-factoring/architecting and don't want this to drift too far. :heart:


Set the jumping key from "Enter" to "Tab"

An option is needed to configure the hotkey for jumping betwing placeholders. The default is "Enter" for which I don't feel comfortable.

You can customize the hotkeys by navigating to Settings > Community Plugins > Completr > Hotkeys, or Settings > Hotkeys and then filtering by completr.
However, it doesn't seem doable to assign a hotkey with Tab by pressing the Tab key on the keyboard. A workaround is to edit the config file <path to your vault>/.obsidian/hotkeys.json by adding the following:
"obsidian-completr:completr-insert-selected-suggestion": [
  {
    "modifiers": [],
    "key": "Tab"
  }
],
"obsidian-completr:completr-jump-to-next-snippet-placeholder": [
  {
    "modifiers": [],
    "key": "Tab"
  }
]


Inline comments not recognized when there is no character after *>

Hello,
First, thank you for the awesome job.
I'm trying to parse a Cobol code with a header with the structure below:
   *>************************************************************************
   *> Program:    Program name
   *>
   *> Purpose:    Description
   *>
   *> Author:       Name
   *>
   *> Date-Written: Date
   *>
   *> Tectonics:    compile command
   *>
   *> Usage:        Usabe example
   *>
   *>************************************************************************

In the lines with only *>, followed or not by spaces, I get an error java.lang.RuntimeException: syntax error in line 8:7 extraneous input *> expecting.
I made a test setting some text after the "*>" and the exception do not occur.
I'm using the 2.4.0 version with TANDEM format.
I'm new to Cobol and I'm not sure if something is wrong. It's the expected behavior?

The exception you see is from the Antlr lexer during the second stage of parsing, and is a symptom of a problem in the preprocessor.
I've had the same problem, but haven't had chance to refine the fix and contribute it with tests.
on line 22 of io/proleap/cobol/preprocessor/sub/line/rewriter/impl/CobolInlineCommentEntriesNormalizerImpl.java  if you replace the regular expression with "\>(\S+.)?$" and recompile then the parser will work with '*>' comments without spaces. However, it is not a clean solution as additional stars are introduced somewhere else in the preprocessor (I think).
Maybe @uwol can see a better solution?

Hi @sjbutler, thank you for the answer.
I'll change the regular expression. I think the patter \\*>[^\n\r]\\* could be better. I'll do some tests to check.
I believe I found an unsupported syntax to PIC. I'll check the docs first.


Fixed stale code in workflow

Description
Please include a summary of the change and which issue is fixed if applicable. Please also include relevant motivation and context.
Fixes # (issue)
Checklist

[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] I have added tests that prove my fix is effective or that my feature works (if applicable)

coverage: 98.223%. remained the same
when pulling 3ff305ce371d99db50d583446e3b8f93f5d1b487 on 407-bugs-in-cicd-workflow
into a15f1d6f10d8b1e44c16142f2f38b9e8125b6b01 on main.


New version: Wondershare.DemoCreator version 8.0.4

Created by 🥟 Dumplings in workflow run #6029.

Log
Updated: 8.0.2 → 8.0.4
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run


README: Gnome bug tracker moved to GitLab

Update the tracking bug so that it doesn't point to an obsolete bug reference.

Thanks !


Chart randomly not rendering on IOS

I have a weird problem with the library on IOS. I display a chart on a page. Then I leave this page and the page should be destroyed. On another page, I than delete my data model and see the following output in the console:
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106544470; frame = (0 0; 343 198.333); hidden = YES; layer = <CALayer: 0x280f1fa80>>
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106542520; frame = (0 0; 343 198.333); layer = <CALayer: 0x280f0bf20>>
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106546570; frame = (0 0; 343 198.333); layer = <CALayer: 0x280f2d2a0>>
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106472850; frame = (0 0; 343 198.333); layer = <CALayer: 0x280f58040>>
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106544470; frame = (0 0; 343 198.333); hidden = YES; layer = <CALayer: 0x280f1fa80>>
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106542520; frame = (0 0; 343 198.333); layer = <CALayer: 0x280f0bf20>>
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106472850; frame = (0 0; 343 198.333); layer = <CALayer: 0x280f58040>>
CONSOLE LOG file: node_modules/@nativescript/ui-charts/ui-charts.ios.js:83:0 HighchartsViewDelegateImpl Did load chart: <HIChartView: 0x106546570; frame = (0 0; 343 198.333); layer = <CALayer: 0x280f2d2a0>>
When I visit the page with the chart afterwords, in  very rare situations, maybe each 10th time,  no chart, which should be display, on the page shows up (no content at all, nothing rendered). I checked the chart options that are provided and they are ok. The situation looks very weird to me. Seems like when the page with the chart is destroyed, the chart itself is not destroyed. Otherwise, I should not see the output above. Is there maybe a deinitialisation step missing in the plugin?
As the reset of the data model likely results in the runtime freeing memory where the  chart content is located, I assume the output above is a consequence of it which in rare cases also breaks the first chart which shall be displayed and is shown after the reset.
Any ideas how this could be fixed?

@shiv19: I am not sure if this is the source of the problem. Anyhow, calling destroy or reload does not help. But it might be, that the problem is related to angular change detection. When my app reloads content, then potentially the options update for the highcharts view, does not lay within the page transition cycle. When I set a red background color to the UIChartsView, I see that in cases where the chart is not drawn, the red background is given. Hence, there are only two options.

the highcharts library does not draw the chart due to a bug
the view is not rendered again due to angular change detection not acting. I tried with onpush method, but also does not help. However, not sure if I did it right :(

In the past version 0.4 of the lib, there was a property interface for Angular available to set the options. This would probably solve the issue. I think we should reintroduce it to the plugin. The current set and update options are. a nightmare to use with Angular. As the load events of the native controls are not in sync with the Angular component lifecycle one has to guess prety hard on the right setTimeout parameters.
@shiv19: Are the 0.4 sources still available anywhere. I would like to look how the Angular bindings were implemented in the past. Thx.

I'll double check that the chart view implements the unload method correctly once I get to work today.

Hello @shiv19 ,
in the meantime I think my problem is not directly arising from the plugin itself, but from the way I try to use it. Attached you see my try to implement a generic wrapper around the plugin. Unfortunately as the chart loaded event and the Angular component lifecycle are not in sync, I am trying to use a setTimer or in the example setTimeout in order to enforce setting of the options. However, I cannot get change detection working on the component. Already tried with onpush and the default detection here. However, I cannot get it working properly. Have you an idea what I am doing wrong? Having an Angular binding for options and maybe a second one for switching between setOptions and updateOptions would realy be nice to have for Angular.
@Component({
	selector: 'ns-chart-view',
	templateUrl: './chart-view.component.html',
	styleUrls: ['chart-view-common.scss']
})
export class ChartViewComponent implements OnChanges, OnDestroy {
	private _timeout = null;
	private _chartInitialized = false;
	private _chartLoaded = false;
	private _chart: UIChartsView = null;
	@Input() _chartOpts: any = null;
	@Input() _replaceMode = false;
	@Input() rotate = 0;
	@Input() width = '100%';
	@Input() height = '100%';
	@Input() translateX = 0;
	@Input() translateY = 0;
	//////////////////////////////////////////////////////////////////////////////////////////////////
	constructor(private ngZone: NgZone, private cdr: ChangeDetectorRef) {}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	ngOnDestroy() {
		if (this._timeout) {
			clearTimeout(this._timeout);
			this._timeout = null;
		}
	}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	ngOnChanges(changes: SimpleChanges) {
		for (const propName in changes) {
			if (changes.hasOwnProperty(propName)) {
				switch (propName) {
					case '_chartOpts':
						if (changes._chartOpts.currentValue) {
							this._chartOpts = Object.assign({}, changes._chartOpts.currentValue);
							if (this._chartLoaded) {
								this.updateChart();
								// es muss ausserdem noch Fehler bei AddEdit Produt behoben werden, Wenn scanner mit barcode neues Produkt anlegen will, wird die Sprache nicht gesetzt, ebenfalls bei neuem Produkt nicht
							} else {
								const updateFunc = () => {
									console.log('inTimeout');
									if (this._chartLoaded) {
										this.updateChart();
									} else {
										this._timeout = setTimeout(updateFunc, 200);
									}
								};

								if (!this._timeout) {
									this._timeout = setTimeout(updateFunc, 200);
								}
							}
						}
						break;
				}
			}
		}
	}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	private updateChart() {
		if (this._chartOpts) {
			this.ngZone.run(() => {
				if (this._chartInitialized) {
					if (this._replaceMode) {
						console.log('replace mode set options ');
						this._chart.setOptions(this._chartOpts);
					} else {
						console.log('update options');
						this._chart.updateOptions(this._chartOpts);
					}
				} else {
					console.log('set options');
					this._chart.setOptions(this._chartOpts);
					this._chartInitialized = true;
				}
			});
		}
	}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	public chartLoaded(args: EventData) {
		this._chart = args.object as UIChartsView;
		const momentLocalized = moment().locale(DeviceInfo.locale());
		this._chart.setLangOptions({
			months: momentLocalized.localeData().months(),
			weekdays: momentLocalized.localeData().weekdays(),
			shortMonths: momentLocalized.localeData().monthsShort(),
			resetZoom: localize('general.strResetZoom')
		});
		console.log('loaded event fired');
		this._chartLoaded = true;
	}
}

@shiv19 : I was now able to resolve the issue. It is not directly related to the plugin, but related to Angular not rendering the view after update. The following solution now works an IOS and Android. I post it here in the hope to help others experiencing the issue. I think it would be very helpful if you could bring in Angular interface again. As a matter of principle it would be good to have both, setOptions and updateOptions available in the interface. as shown in the code below. setOptions for setup of new charts in the same view and updateOptions for updating chart data in the same chart.
<UIChartsView [width]="width" [height]="height" [translateX]="translateX" [translateY]="translateY" [rotate]="rotate"
	(loaded)="chartLoaded($event)" class="chart-view">
</UIChartsView>

@Component({
	selector: 'ns-chart-view',
	templateUrl: './chart-view.component.html',
	styleUrls: ['chart-view-common.scss']
})
export class ChartViewComponent implements OnInit, OnChanges, OnDestroy {
	private _chartOpts$: BehaviorSubject<any>;
	private _timeout = null;
	private _chartInitialized = false;
	private _chartLoaded = false;
	private _chart: UIChartsView = null;
	@Input() _chartOpts: any = null;
	@Input() _replaceMode = false;
	@Input() rotate = 0;
	@Input() width = '100%';
	@Input() height = '100%';
	@Input() translateX = 0;
	@Input() translateY = 0;
	//////////////////////////////////////////////////////////////////////////////////////////////////
	constructor(private ngZone: NgZone) {
		this._chartOpts$ = new BehaviorSubject<any>(this._chartOpts);
	}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	ngOnInit() {
		this._chartOpts$.subscribe(chartOpts => {
			if (chartOpts) {
				this._chartOpts = chartOpts;
				if (this._chartLoaded) {
					if (!this._timeout) {
						this._timeout = setTimeout(() => {
							if (this._chartInitialized) {
								if (this._replaceMode) {
									this.ngZone.run(() => {
										this._chart.setOptions(this._chartOpts);
									});
								} else {
									this.ngZone.run(() => {
										this._chart.updateOptions(this._chartOpts);
									});
								}
							} else {
								this.ngZone.run(() => {
									this._chart.setOptions(this._chartOpts);
								});
								this._chartInitialized = true;
							}
							clearTimeout(this._timeout);
							this._timeout = null;
						}, 1);
					}
				} else {
					if (!this._timeout) {
						this._timeout = setTimeout(() => {
							clearTimeout(this._timeout);
							this._timeout = null;
							this._chartOpts$.next(chartOpts);
						}, 100);
					}
				}
			}
		});
	}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	ngOnChanges(changes: SimpleChanges) {
		for (const propName in changes) {
			if (changes.hasOwnProperty(propName)) {
				switch (propName) {
					case '_chartOpts':
						if (changes._chartOpts.currentValue) {
							this._chartOpts$.next(Object.assign({}, changes._chartOpts.currentValue));
						}
						break;
				}
			}
		}
	}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	ngOnDestroy() {
		if (this._timeout) {
			clearTimeout(this._timeout);
			this._timeout = null;
		}
	}
	//////////////////////////////////////////////////////////////////////////////////////////////////
	public chartLoaded(args: EventData) {
		this._chart = args.object as UIChartsView;
		const momentLocalized = moment().locale(DeviceInfo.locale());
		this._chart.setLangOptions({
			months: momentLocalized.localeData().months(),
			weekdays: momentLocalized.localeData().weekdays(),
			shortMonths: momentLocalized.localeData().monthsShort(),
			resetZoom: localize('general.strResetZoom')
		});
		this._chartLoaded = true;
	}
}


Related to my earlier query about proxy being able to implement other interfaces

One question is if we unwrap the proxy to get the target datasource will logging still work? because we will be using target object further to create connection, execute query etc.
We also have several other cases like OracleCallableStatement/OraclePreparedStatement interfaces etc which when casted to will throws similar errors. Is there a way to get target statement object with ttddyy impl?

One question is if we unwrap the proxy to get the target datasource will logging still work? because we will be using target object further to create connection, execute query etc.

No, original datasource is not a proxy, so logging would not work. Also, the retrieved Connection/Statement/etc will not be proxied since it is an original datasource.
You need to use proxy datasource in order to get proxy connection, statement, etc.

We also have several other cases like OracleCallableStatement/OraclePreparedStatement interfaces etc which when casted to will throws similar errors. Is there a way to get target statement object with ttddyy impl?

All proxied objects implement ProxyJdbcObject interface that has a method to return corresponding original object.


cmd/go: forward compatibility work [freeze exception]

The work for #57001 is not yet complete. Pending CLs are here, modulo Gerrit's search problems, plus there will be one more important bug fix as well as probably some additional commentary and documentation. The non-doc, non-test CLs (other than bug fixes) will be ready to submit by end of week. This is an important feature for Go 1.21 that unlocks important work planned for Go 1.22. (If it doesn't get into Go 1.21 then the loopvar changes we hope to get into Go 1.22 slip to Go 1.23.)
I apologize profusely for needing the exception.

CC @golang/release.

It took a week longer than I expected to tie up various loose ends that @bcmills and I identified, but I've just submitted the last non-doc CL for #57001 (modulo bug fixes of course). Docs CLs to come in the next few days.


sd_image_decoder can't directly decode encoded images

this would fix it
seamless = 0
if geo1.findGlobalAttrib("seamless") != None:
    seamless = geo1.attribValue("seamless")

Fixed


[CI] Attach JTAG cable to FPGA runner on Frank

Attach JTAG cable to Frank.
https://www.digikey.co.uk/en/products/detail/olimex-ltd/ARM-USB-TINY-H/3471388
ARM-USB-TINY-H connected to ChipWhisperer Connector port on corner of board.
Connected via USB cable - https://www.digikey.co.uk/en/products/detail/qualtek/3021007-06/1531291
to Frank.

JTAG cable connected on Frank on 2 September.


Can't register/sign in

Date
Fri Jan 01 18:37:40 UTC 2021
Path
/registerUser
Error
Internal Server Error
Status
500
Message
Calling method 'createQuery' is not valid without an active transaction (Current status: NOT_ACTIVE)
Exception
Trace
org.hibernate.HibernateException: Calling method 'createQuery' is not valid without an active transaction (Current status: NOT_ACTIVE) at

@donOO7 @fuzious
Facing the same issue, can you guys help


Added cncf-white.svg in[docs/assets/img/readme/] and changed the CNCF log in README.md

Description
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit bcf0cc56e39298c015c95c01b093960ef3f07d52 at: https://628f2b0b815b252559705a2b--meshery-docs-preview.netlify.app


Standard Integer Calculations

Perform Basic Calculations With Standard Integers.

Completed In Release: v1.0
Commit: https://github.com/markydoodled/Calculate.it/commit/eb419858e49680b1bdb4293184416b9d272a3efb


xxhash for ARM? (Raspberry)

Is there a way to get xxhash on a raspberry to work? When I install it via pip i get:
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-FHdJe5/xxhash/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fAzxKW-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-FHdJe5/xxhash Storing debug log for failure in /root/.pip/pip.log
From the pip.log I see:
Installing collected packages: xxhash   Running setup.py install for xxhash     Running command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-FHdJe5/xxhash/setup.py';exec(compile(ge$     running install     running build     running build_ext     building 'xxhash' extension     creating build     creating build/temp.linux-armv7l-2.7     creating build/temp.linux-armv7l-2.7/xxhash     arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -$     python-xxhash.c:31:20: fatal error: Python.h: No such file or directory      #include <Python.h>                         ^     compilation terminated.     error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1     Complete output from command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-FHdJe5/xxhash/setup.py';ex$     running install

http://www.cyberciti.biz/faq/debian-ubuntu-linux-python-h-file-not-found-error-solution/
aptitude install python-dev fixes it. Can be marked as solved


When using Gretty with the Thymeleaf Layout Dialect, an exception was thrown when visiting a layout-applied page.

Hello.
When running the web server with Gretty.. When accessing the layout page, the following exception is exposed and nothing appears on the web browser screen.

Exception Log
Caused by: java.lang.ClassCastException: class nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.EventIterator cannot be cast to class [Ljava.lang.Object; (nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.EventIterator is in unnamed module of loader java.net.URLClassLoader @889d9e8; [Ljava.lang.Object; is in module java.base of loader 'bootstrap')
        at org.codehaus.groovy.runtime.dgm$236.doMethodInvoke(Unknown Source) ~[groovy-4.0.10.jar:4.0.10]
        at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321) ~[groovy-4.0.10.jar:4.0.10]
        at nz.net.ultraq.thymeleaf.layoutdialect.models.extensions.IModelExtensions.find(IModelExtensions.groovy:117) ~[thymeleaf-layout-dialect-3.2.1.jar:?]
        ...

My project environment looks like this

Spring 6 (Not Spring Boot )
Thymeleaf

thymeleaf-spring6: 3.1.1.RELEASE
thymeleaf-layout-dialect: 3.2.1

Gretty 4.0.3

Tomcat 10.1.10

When I run the web project, I run it with the command below.
gradle clean appRun

When I ran Gretty and accessed the page with the layout applied, I definitely saw the aforementioned exception.
However, there are two things that are unusual.
✨ Two unusual things

If I'm using a direct deployment of Tomcat without using Gretty, I don't get the exception.

If I use https://github.com/zhanhb/thymeleaf-layout-dialect, there's no problem running a web project with Gretty.
  // TODO: Using gretty with thymeleaf-layout-dialect causes an exception
  implementation "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:${thymeleafLayoutVersion}"
  // TODO: If I use the thymeleaf-layout-dialect modified by zhanhb, the exception does not occur.
  // implementation "com.github.zhanhb:thymeleaf-layout-dialect:${zhanhbThymeleafLayoutVersion}"

✨ Example project to see the problem
I've created an example project for you to see the issue.

Example project github url

https://github.com/mklinkj/QnA/tree/master/Thymeleaf/thyemeleaf-layout-gretty

Example project Zip File

thyemeleaf-layout-gretty.zip

How to run

Run with Gretty
gradle clean appRun

Accessing the layout page in a web browser

http://localhost:8090/main

Thank you. Have a nice day. 👍

Hey there, sorry to take so long getting back to you on this one as this is an interesting bug and had me stumped for a very long time.  However, I gave it another look this weekend and found the issue.
The Gretty plugin is written against Groovy 3, and introduces Groovy 3 JARs into the classloader of the servlet container that is being launched (Tomcat 10 in this case).  However, version 3.1.0 and newer of the Thymeleaf Layout Dialect is written in Groovy 4, and so this mixup of Groovy versions causes the issues that you're seeing.
The only workarounds I can think of right now are:

to run Tomcat directly (as you've found, this doesn't cause the issue)
to use the Java-only port of the layout dialect by zhanhb
to use a version of the layout dialect before the move to Groovy 4, like version 3.0.0 (I've tested this using your example project and it works)
or, since you're using Spring, to use something like Spring Boot so that Tomcat can be bundled with your project and also includes a Gradle plugin to use in your build file

I hope that gives you some options to consider.  Thank you again for the bug report and the example project which helped me figure out what was going on 🙇♂

Thanks for your answer.
I posted the question in two places, so there’s also an issue on Gretty’s Github. 😅
https://github.com/gretty-gradle-plugin/gretty/issues/289
Have a nice day. 👍


Refactor the boundary condition manager to support arbitrary types

This PR adds a variadic template parameter to the BoundaryConditionManager class intended to be populated with strongly aliased basic (dirichlet/neumann) BCs and BCs of user-defined type.
The primary user (incl. physics implementer) changes are the addition of a new structure describing the boundary conditions for the problem:
struct ThermalConductionBC {
  struct Temperature : ScalarBoundaryCondition {
  };
  struct Flux : ScalarBoundaryCondition {
  };
  using Manager = BoundaryConditionManager<EssentialAlias<Temperature>, NaturalAlias<Flux>>;
};

Boundary conditions are added and accessed with an explicit tag:
using ThermalConductionBC::Temperature;
bcs.addEssential<Temperature>(/*args*/);
for (auto& bc : bcs.essentials<Temperature>())
{
  // stuff
}
bcs.eliminateAllEssentialDofsFromMatrix<Temperature>(K_mat);

This adds a small amount of boilerplate for solvers with only one type of essential/natural boundary condition, but may improve readability somewhat.  It requires the recompilation of the BoundaryConditionManager class for each physics module.
This variadic template class will help with the inlet integration - if each BC type (including user-defined BC types) implements schema definition/fromInlet functions, a hierarchical input structure is possible as the types can be iterated over.
@samuelpmishLLNL had proposed a slightly different approach (https://godbolt.org/z/h7v515) that also templates the BoundaryCondition class(es) on physics-specific tags instead of using a passthrough StrongAlias type.  Any thoughts on the comparison between these two approaches are welcome.
This PR also removes the need for specifying within the solver logic whether a BC should be a scalar or vector coefficient - the implementer can specify this by having their tags inherit from ScalarBoundaryCondition or VectorBoundaryCondition.
The behavior of this is as follows (I am not sure this is completely correct):

If a user builds a Dirichlet BC with a VecCoef and no component, the component is set to -1
If a user builds a Dirichlet BC with a ScalarCoef and no component:

If the module implementer has specified that the BC coef should be vector-valued (see above), a compiler error is thrown.  If it was designated as scalar-valued, the program compiles.
Otherwise (type not specified), the program fails to compile with the following message:

Boundary condition does not specify whether it is scalar- or vector-valued.  If this is a scalar-valued BC,
pass a component of zero, otherwise, pass the vector component to which this scalar coef should apply.

Behavior when a component is specified by the user is unchanged

I think I misunderstood the motivation for StrongAlias<> when making my godbolt example, what is its purpose?

I think I misunderstood the motivation for StrongAlias<> when making my godbolt example, what is its purpose?

It's intended to be a generic way of introducing strong aliases (i.e., an alias not interchangeable with its underlying type) without modifying the aliased type.  using TemperatureBC = EssentialBoundaryCondition; wouldn't prevent a user from passing a different boundary condition to a function that takes a TemperatureBC.  Boost does this with a macro, for example, but templates are sufficient here.

Closing this for now since it's pretty stale at this point.


Outdoor Sonos AMPs

I'm adding 2 additional SONOS AMPs to my network this summer.  In planning out the wiring run, to make it from my existing rack in the basement and down another 100 feet to the back of the yard, I'm having to go with really large gauge wire, just to hit 100 feet (12 gauge). I'm wondering instead should I mount the AMPs in the garage or even better yet (still requires a 100 foot run), mount them in the back of the yard inside two enclosures:
https://altelix.com/altelix-enclosure-for-sonos-amp-apple-tv-amazon-echo-link-amp/
Also thinking of something like this, next to the posts around the fire pit for the Lutron Outdoor Plugs. Then painted black pipe up to the string lights.
https://www.amazon.com/dp/B003O85DHA?ref=emc_s_m_5_i_atc&th=1
Proposed Solution

Create a decorative board in the back of the yard, behind a bush of some kind, with two enclosures on it: https://altelix.com/altelix-enclosure-for-sonos-amp-apple-tv-amazon-echo-link-amp/
Run 2 x CAT 6 from the garage switch (pre-existing) to the two enclosures
Speaker wire run will be less than 20 feet in both cases.
Enclosure "should" protect the SONOS AMPs from damp.

Alternatives considered

Mount a new rack on the wall in the garage
Install a new switch and use existing Penn Elcom Sonos AMP shelves for the two amps
squeeze two 12/4 cables into a conduit and run to the back of the yard. Distance would be roughly 75 feet
I'm running conduit for the speaker wires on top of the 110v conduit for the lighting (Lutron Cassetta outdoor switches)

Additional Thoughts

Enclosures are expensive and not NEMA rated, but have a gasket and a fan
If enclosure fails it takes an expensive AMP with it
Garage has a heater and is insulated but may still be humid in the summer
Running 2 CAT 6 would be smaller than 2 12/4 runs

@jon-dutch?

Ok I've sketched this up. I will be running 110v and CAT6 in two separate conduits, on top of each other in the trench. I don't like non-conduit wires where I forget they're there and drive a shovel through. I'll search for a larger enclosure but may just have to do 2 enclosures. I almost like the idea of 3 - a networking one with a fanless UI switch, and one for each AMP. Wired in parallel with 110.

I like this much better than trying to shove that much speaker wire, at that distance, plus I can still put a much smaller rack in the garage that just has an uplink to this switch.


Allow to set active and disabled class also to .page-link

Sometimes we can set .active class only to link tag and not parent.
Since active status style is applied only to .page-link and not .page-item, would also make more sense to just add the active class to .page-link itself.
The other way to set .active class to .page-item still remain, so there is not BC.
Update: allow to set also .disabled class to .page-link

A simple comment to myself: we should probably move and enhance the disabled state toi (allowing .disabled on links, and maybe handling missing href/:link or something).

A simple comment to myself: we should probably move and enhance the disabled state toi (allowing .disabled on links, and maybe handling missing href/:link or something).

Yes good point. I think that would be my second issue as I am creating blade components with bootstrap, and I have a link component where I have prop active and disabled. While this are only in page-item and not in page-link. I think that I would come here again for the same reason very soon.  I can add the same thing like for active:
.page-link {
  //...
  &.disabled,
  .disabled > &  {
    color: $pagination-disabled-color;
    pointer-events: none;
    background-color: $pagination-disabled-bg;
    border-color: $pagination-disabled-border-color;
  }
  //...
}

Added for the disabled class same like for the active.

I think is worth to consider to apply the same thing also for breadcrumb component, where the active class is set to breadcrumb-item.
I see that in docs the active item has not even the link tag, and that aaria-current="page" is set to breadcrumb-item.
But according to wai docs aria-current="page" should be applied to last link.
Below is a possible fix to archive the same style without breaking current way:
.breadcrumb-item {
  // ...
  &.active,
  > .active {
    color: $breadcrumb-active-color;
  }

  > .active {
    text-decoration: none;
    cursor: default;
    pointer-events: none;
  }
}

And the markup could be:

      Home

      Components

      Breadrumb

What do you think? In case you agree, let me know if you want to open a new PR or add in existing.
I checked others components, and I don't see any other that add active class and/or aria-current to a no-link tag.

Regarding aria-current, the ARIA design pattern says that if current element is not a link, aria-current is optional, meaning it doesn't need to be a link to match the pattern expectations.
If a link is used, I don't think it should be disabled through CSS.

@thewebartisan7 Can you resolve conflicts when you have time?

@mdo conflict solved.