🍒[cxx-interop] Fix exporting cdecl Swift functions to Obj-C++

Explanation:
We export cdecl function declarations twice: once for Objective-C and once for C++. When the code is compiled in Objective-C++ both of the declarations are visible to the compiler. The generated header did not compile, because only one of the declarations were noexcept. There are multiple possible ways to fix this issue, one of them would make only the C++ declarations visible in Objective-C++ mode. However, I decided to make the Objective-C functions SWIFT_NOEXCEPT. This approach resolves the inconsistency that broke the code when compiled in Objective-C++ mode. Moreover, Swift guarantees that those cdecl declarations cannot raise errors, so in case we only generate the Obj-C headers and consume them from Objective-C++, those are the correct declarations. Keeping both declarations will also help us identify further inconsistencies in the future.
Scope: C++ Interop
Risk: Low, however, when the Obj-C header is consumed by C++ or Obj-C++, the newly added noexcept is observable, code with SFINAE might pick a different overload. This observable change should be benign in most of the cases.
Testing: Added a regression test.
Issue: rdar://129550313
Reviewer: @egorzhdan, @beccadax
Original PR: https://github.com/swiftlang/swift/pull/74516

@swift-ci please test

Looks like clang format messed up the test file just before committing it. I need to rerun the tests.
@swift-ci please test


RPM package inconsistency between kickstart and Dockerfile

The packages listed below are in Kickstart files and included on appliances, but not in Dockerfile and not installed in container.
I'm not sure if some are excluded on purpose.. @bazulay @bdunne @Fryguy ?
createrepo
freeipmi
fuse-libs
ipmitool
cifs-utils
lshw
nmap-ncat
net-snmp
net-snmp-libs
net-snmp-utils
nfs-utils
OpenIPMI
openscap-scanner
openslp-devel
smems
cl-utils-build
telnet
c-ares
ipa-client
sssd-dbus
realmd
ipa-admintools
certmonger
oddjob
oddjob-mkhomedir
sssd
adcli
samba-common
mod_auth_mellon
cloud-init
wmi

@miq-bot add_label build/docker

@simaishi  @Fryguy  who can give us the reasoning behind the need for those rpms in the VM appliance ?

For some of the packages, the reasoning can be found here:
https://github.com/ManageIQ/manageiq-appliance-build/blob/master/kickstarts/partials/packages/includes.ks.erb

@simaishi is this issue still relevant. If yes, can you remove the "stale" label. Otherwise, please close.

@miq-bot remove_label stale

@miq-bot add_label pinned

@simaishi @Fryguy @carbonin still an issue?

I don't think we need createrepo in either upstream build.
We may be able to remove freeipmi / openipmi  / ipmitool since I think we dropped support for IPMI power ops on hosts. <- @gmcculloug
lshw and telnet sound like debugging tools that may make sense on an appliance, but I don't think they make sense for a container.
cloud-init and openscap-scanner should not be on the container.
wmi I'm not sure if we even use that <- @gmcculloug maybe?

Maybe @abellotti or @jvlcek can comment on the auth packages

Since it's been over 3 years since that original list was created, I'll update the list with current RPMs used in the container and appliances.

For IPMI we still support the collection of IPMI settings on a Host

and the code can reference it during power operations: https://github.com/ManageIQ/manageiq/blob/master/app/models/host.rb#L369
WMI still has some code in place, no idea if this feature is still used: https://github.com/ManageIQ/manageiq/blob/master/app/models/vm.rb#L82

@abellotti Please correct me if I am wrong but I believe the below list of authentication related packages are used by the  httpd_configmap_generator and the container-httpd pods

https://github.com/ManageIQ/httpd_configmap_generator
and
https://github.com/ManageIQ/container-httpd

net-snmp
net-snmp-libs
net-snmp-utils
ipa-client
sssd-dbus
realmd
ipa-admintools
sssd
mod_auth_mellon

Note this issue was opened when we had monolithic image only, no podified. Now that we have both, we want to review what should be in monolithic and what should be in podified (across all images used).

Moving this issue to manageiq-pods as pods container image is where RPMs will most likely go if needed to be added.
@miq-bot move_issue manageiq-pods


Make for-loops work in the Limited C-API

Closes https://github.com/cython/cython/issues/5641

Looks good.

I say that without spotting that the tests don't pass...

Surprisingly, the tests only crash when run in parallel, not when run sequentially. I'll try to investigate that.
I'm also not entirely happy with the generated code because the no-safe-macros case could be implemented in a much simpler way without distinguishing lists and tuples, just using the sequence API (once we know that we have a list or tuple). But the way the current C code is generated makes that difficult and prone to redundancy…
I wonder if the "optimise for lists and tuples" case is really relevant for the Limited API case. Maybe we can just use the fallback code that grabs the iterator and be done…

I wonder if the "optimise for lists and tuples" case is really relevant for the Limited API case. Maybe we can just use the fallback code that grabs the iterator and be done…

My wild guess is that the people who are interested in limited API are mostly those aiming to wrap some C library rather than those interested in performance. And thus they'd probably prioritise "working" ahead of optimized. But I have no evidence for that.


improve performance for writing files, rebuilding tree

consolidated clay subscriptions by path
fewer repeated %cy requests for missing files

There's some problem with this where it hangs on initial startup.

That is… certainly a problem

Hm, is it possible to kick a pr commit list? Everything until 1fd7120 just got merged by #137. (Also, my double-solid https://www.dropbox.com/s/4pydrsi47h8az95/c9c5c69.pill boots fine, what does the hang look like?)

Just ignore Github, it's trash
Hangs on <> forever, probably initial clay sync

Okay yes, getting stuck on «newt» after I actually copied out the pill properly.


Automatic version updates for github actions with dependabot

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Add a dependabot file to update the versions of the Github Actions used for CI jobs
Briefly describe the changes included in this Pull Request.
This requires to create a dependabot.yml file and to enable dependabot in the settings of the repository
How is this patch tested?
I applied it in my fork and it proposed the correct updates (and a security alert).
https://github.com/iemejia/SynapseML/pulls

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[X] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[X] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

AB#1922685

We can add automatic dependency updates for other ecosystems (scala, .net, etc) but given how error-prone are the dependency updates of Spark and friends it is probably better to be conservative, but let me know if you want me try a PR for that.

Oups seems like sbt is not supported yet
https://github.com/dependabot/dependabot-core/issues/352


Add support for \n in doublequoted lines - needed by eg 'heroku confi…

The file created by 'heroku config -s' may contain environment variables over several lines. These are written as:
EnvVar="asdf\nghjk"
dotenv errors out in the attempt to parse this.
My patch fixes this.

Can you add some tests so that we don't accidentally regress the parsing in the future?

Added a test to prevent regression later.
Also commented on the two test-lines with trailing blanks that bothered me. My atom-editor just removed the blanks without warning :(


Image is not fount in README.md file

In README.md file the screenshot image is not fount.

Well, it appears the domain is no more?
Your choices are to download my fork He3 - Helium version 3, from the Apple Mac Store or its fork repository here, among a few forks of this work or others.
Along with real help, release notes, you can file issues at its repository, but do please to use only the released kit from Apple.  Enjoy.


Feature/add all talk shirt

Pre-Submission Checklist

[ ] Your pull request targets the staging branch of FreeCodeCamp.
[ ] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[ ] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[ ] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[ ] Tested changes locally.
[ ] Closes currently open issue (replace XXXX with an issue no): Closes #XXXX

Description

@BerkeleyTrue it looks like it's bringing all the commits from backup-staging since I originally branched off of it.

Just copy/pasta all the changes off of staging. Otherwise these changes will disappear when we release react site.


Jenny ni

Pre-submission checklist:
Please check each of these after submitting your pull request:

[x ] Is your app/project/product currently shipping and/or have the source code available?
[ x] If an app, does your homepage include links to download the Android and/or iOS apps?
[ x] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ x] Have you picked the single best (existing) category for your project?
[ x] Does it follow the other guidelines from the new entries section?
[ x] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ x] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ x] Does your project/product name match the text on the logo?
[ x] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] ~10 minutes after opening the pull request, the CNCF-Bot will post the URL for your staging server. Have you confirmed that it looks good to you and then added a comment to the PR saying "LGTM"?

LGTM!


Issue to be resolved for first iteration

00-Introduction

[x] CSS is not rendering

01-Setting_the_Stage

[x] CSS is not rendering

02-Conditionals

[x] CSS is not rendering

03-Iteration

[x] CSS is not rendering

04-Functions

[x] CSS is not rendering
[x] Slides do not open automatically
[x] Slide transitions are not disabled

05-Applying_Functions_to_DataFrames

[x] CSS is not rendering
[x] Slides do not open automatically
[x] Slide transitions are not disabled

06-Python_from_the_Shell

[x] CSS is not rendering
[x] Slides do not open automatically
[x] Slide transitions are not disabled
[ ] Images not appearing, files don't appear to be in notebooks/images

07-Kernels_and_Environments

[x] CSS is not rendering
[x] Slides do not open automatically
[x] Slide transitions are not disabled
[ ] Images not appearing, files don't appear to be in notebooks/images
[x] uc-python kernel not available in Binder container

08-Python_Data_Sci_Ecosystem.ipynb

[x] CSS is not rendering
[x] Slides do not open automatically
[x] Slide transitions are not disabled
[ ] Images not appearing, files don't appear to be in notebooks/images

09-Modeling

[x] CSS is not rendering
[x] No sklearn in environment

sklearn has been added to the environment and added to mark-queue -- ready for merge to develop

CSS rendering has been fixed and is in mark-queue

Slide metadata has been updated and is in mark-queue

Added to postBuild to make uc-python kernel available in Binder, in mark-queue

Images now in mark-queue. A merge of mark-queue to develop and develop to master should fix all of these issues.

Thanks for taking care of this. Reviewing now and then I'll merge.

Merged to master. Closing issue.


fast workaround for new style of backup

fast workaround for new type of backup where checkMsg in info.xml is empty
and
added 'audios': 'audio' in folder_to_media_type for decrypting audio-files

im sry,
still new to github, dont know how to update my readme without changing yours

No worries @realSnoopy and thanks for the help. To avoid merging and cleaning, I will update myself the script, obliviously with the proper credits. Closing now the pull request.


[Skyway] Raise the last individual observed event nonce for all validators once a nonce becomes observed

Once an event becomes observed, we can safely raise the last observed nonce for all validators. This could prevent validators from being stuck trying to get old events after being offline for awhile. Also, since the event is already observed, having more validators attesting to it is just wasteful.

Shipped with https://github.com/palomachain/paloma/pull/1288


feat: Drop page party kit action status

PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context
❗ Needs https://github.com/kodadot/workers/pull/255

[x] Closes #9454

Needs Design check

@exezbcz please review

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Screenshot 📸

[x] My fix has changed something on UI;

https://github.com/kodadot/nft-gallery/assets/44554284/f369ee37-b904-4872-99aa-e343ba74b8f9

❗ Needs kodadot/workers#255

done

brutal, like it a lot

Can we make it to Wednesday release?

ready to test

Maybe include this? Or in another pr?

Party kit showing funds for user that are not connected #9488

working on https://github.com/kodadot/nft-gallery/issues/9456 atm
if you want to merge this already, I'll make a new pr otherwise I'll add it here.

ready to test

@prury 👀

@hassnian this party kit thing never really worked well here for me, any instructions on how to activate it?
just connect with wallet? and then wait? it partially works sometimes tho

@hassnian this party kit thing never really worked well here for me, any instructions on how to activate it?
just connect with wallet? and then wait? it partially works sometimes tho

hmm weird , it should work right away
even if you don't have a wallet connected
Open two tabs , same drop you'll see the cursor on the other tab
Maybe something it's failing , can you share your console ?

@hassnian this party kit thing never really worked well here for me, any instructions on how to activate it?
just connect with wallet? and then wait? it partially works sometimes tho

hmm weird , it should work right away
even if you don't have a wallet connected
Open two tabs , separate user sessions , for example as many incognito tabs , same drop you'll see the cursor on the other tab
Maybe something it's failing , can you share your console ?

nevermind, reopened everything and it worked
minting:
https://github.com/kodadot/nft-gallery/assets/36627808/106fc3f7-1109-4ef0-b6a0-44b9f45acab7
generating:
https://github.com/kodadot/nft-gallery/assets/36627808/530cd4f2-66cd-4c9b-9eec-d7f46ef84956
minor: after generating it balance goes to 0 and then it loads proper balance
don't think its showing my correct balance tho:

minor: after generating it balance goes to 0 and then it loads proper balance

Will check
it's not showing your balance , its the amount that you have spent so far , it's the same value as the profile page
I also thought the same the first time I saw the design

minor: after generating it balance goes to 0 and then it loads proper balance

Will check

❤

it's not showing your balance , its the amount that you have spent so far , it's the same value as the profile page
I also thought the same , the first time I saw the design

ahhhh makes sense, ty

@hassnian I've put the works for me, since its super minor and we have bigger things to focus

Thanks!
pay 90 usd

😍 Perfect, I’ve sent the payout
💵 $90 @ 7.59 USD/DOT ~ 11.858 $DOT
🧗 16faLfsywwNATaEfbH2ah75dn6ZmctQWpMS5G4KFhbmj5hnD
🔗 0x7670397bdf8c4f30e1fe7464c7f6cdf06f39785916a3c123fb8a0ecadb22219b
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Be consistent about URL vs Url vs url

I started out mixing up URL and Url in variable/property names like dataUrl vs. dataURL. I think it should either be all lowercase where url is the entire name, or initial part of a name like urlCollection. But if U gets capitalized at all, it should all be capitalized; dataURL, someURLProperty, etc. Otherwise its a bug waiting to happen.
I think this might already be fixed, but I didn't do a careful check recently.


Zero delay — just the 10ms throttle wait — for throttle queue

@bjorncs please review.

Without this, once the queue is used, all requests will be delayed by 100ms. Silly.


test(client): failed to reproduce #19968

DO NOT MERGE
This is a failed attempt at reproducing #19968.
We probably need to craft one scenario so that link_id.pairs has 0 length in here.

Past @janpio had created https://github.com/janpio/prisma-relation-panic for a panic happening on the same Rust line as #19968: https://github.com/prisma/prisma/issues/13340.
However, that reproduction seems no longer useful, as its schema is invalid (it misses a @unique, as prisma validate reports), and running it with the updated schema no longer results in crashes.

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


Good

[Enter feedback here]

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

ID: 4200dd45-15ab-ee4a-9818-10cc81475f64
Version Independent ID: 0b96ac28-e2a2-41c9-eff0-efd864fc0529
Content: Key influencers visualizations tutorial - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-influencers.md
Service: powerbi
Sub-service: powerbi-ai
GitHub Login: @aphilip94
Microsoft Alias: anphil

Thanks for your comment, @NihanthB. This issue has been assigned to the doc author for review.


Azure - groups filter being ignored

When deploying group-sync-operator 0.0.5 against using Azure provider per below config and 'groups' specification is being ignored and all groups are being synced from AzureAD rather than the one(s) specified
apiVersion: redhatcop.redhat.io/v1alpha1
kind: GroupSync
metadata:
name: azure-groupsync
spec:
providers:

name: azure
azure:
credentialsSecret:
name: azure-group-sync
namespace: group-sync-operator
groups:
- testgroupname
schedule: '* * * * *'

it looks like no logic has been added to the azure syncer to handle provider.groups as an option, needs something similar to the below
func (g *GitLabSyncer) Sync() ([]userv1.Group, error) {
ocpGroups := []userv1.Group{}

groups, err := g.getGroups()

if err != nil {
	return nil, err
}

for _, group := range groups {

	if !isGroupAllowed(group.Name, g.Provider.Groups) {
		continue
	}

	groupMembers, err := g.getGroupMembers(group.ID)

	if err != nil {
		return nil, err
	}

I think which is in the gitlab syncer, this is missing from a few of the syncers

@aglenn360 @MikeSkuseN thanks for calling this out. I'll look into it


Konstantinos / TRANSLATION => [ROW] &&  [EU] Review [Landing/Stocks] page

Changes:

...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[x] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

please resolve conflicts and check the comment :pray:


[1.4.6] M1 Documentation (6th Revision)

Issue Details
Description
This Main-Issue is about the Project Management Section of our SRS Report, this includes having a Gantt Chart and a final Duration Estimation Calculation.
Goals
To include our Gantt Chart in our Report and also show our Duration Estimation Calculation in our Report.
Success or Completion Criteria

[x] #36
[x] #89

Allocated Time
Start Date: 20/09/23, 0900
End Date: 22/09/23, 2359

Issue Comments
Description
Successfully completed duration estimation of tasks and Project Management Gantt Chart.
Changes to success or completion criteria? y/n (if y, describe)
n
Start Date: 20/09/23, 0900
End Date: 22/09/23, 2359


be able to give a short name for a pack-repo

Currently,  output for draft pack-repo list looks like this:
$ draft pack-repo list
github.com/Azure/draft
github.com/michelleN/draft-packs

It'd be nice for us to be able to give a short name to reference the pack-repo via a flag. If the flag is not given, we can create a default name. The default could look like this michelleN-draft-packs or Azure-draft. It would be the concatenation of the repo org and name replacing the / with a hyphen -
Example experience:
$ draft pack-repo add https://github.com/michelleN/draft-packs -n michelle
Installing pack repo "michelle" from https://github.com/Azure/draft
Installed pack repository "michelle" from github.com/Azure/draft

$ draft pack-repo list
Name                 Location
Azure-draft          github.com/Azure/draft
michelleN            github.com/michelleN/draft-packs

related to #465

What if we made the location configurable? There's a similar thread going on for GoFish in https://github.com/fishworks/gofish/issues/66 in case you draw some ideas from there :)


Add configurable timeout for idle streaming connections

The Center for Internet Security has a Kubernetes security benchmark which recommends setting --streaming-connection-idle-timeout on kubelet to close idle streaming connections to containers.  Looking closer at the Kubernetes code shows this only works for Docker (see https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet.go#L620).  I confirmed that --streaming-connection-idle-timeout doesn't control the containerd timeout for streaming idle connections.   Rather, it appears that containerd has a hard-coded 4 hour timeout.  The timeout is necessary but may not be sufficient for compliance reasons (e.g. HIPPA) which may require faster timeouts.  This issue is requesting a configurable containerd CRI timeout for idle streaming connections.  While it would be nice to drive this configuration from Kubernetes, it is not required.

While it would be nice to drive this configuration from Kubernetes, it is not required.

I think we'll remove the kubernetes configuration when dockershim is deprecated. Let's add a containerd config option.

It may take a considerable amount of time before dockershim is deprecated.
It's not required, but In the past with respect to issues such as this we have done our best to replicate dockershim's behavior.
I agree this is a node config issue, and as such our config can be different than the default.
I'm a bit nervous about not supporting the --streaming-connection-idle-timeout when it's been requested. Seems like a bug. At a minimum we should probably ask kublet to throw an error when it's been specified and it "will not" be supported by (or passed to) non Docker shim CRI implementations. Further, this might be an issue if a customer of containerd wants one timeout for the k8s namespace and another for containerd/docker namespaces.
In the back of my mind I was thinking this should be in kublet but a part of the pod / container spec. Maybe discuss this at the next sig.node call?


Resolving the issue of remaining highlights

Summary

I've resolved the problem where irrelevant TableNodes, Edges, and Cardinalities were being unexpectedly highlighted.
It often happens when moving the mouse pointer from node to node in an ERD with many tables.↖
Before

After

Related Issue

Changes

Testing

Please confirm if this issue still persists👀.
Preiew: https://liam-erd-sample-k8i0nsnmb-route-06-core.vercel.app/
Other Information

I'm going to fix the conflict🙏.

I've checked the preview and it looks good👀, so I'm going to merge it🚀.
Please let me know if you have any concerns🙏.


Integration test for contract repository is broken

The integration test for contract repository is broken.

I found out, that all integrations tests are not working. I'm currently working on it.

Yup, I missed this when adding Flyway, because tests always passed even when not being run.


Need help with SQL

For concept siphon (old database) over 3800 m depth, add association “part-of” “Octacnemidae sp. 1
I’m doing something wrong here. . . please help construction most efficient code for me to run in SQL database.
WHERE [dbo].[PhysicalData].[Depth] Over '%3800%'
AND ConceptName ='siphon'
) UPDATE Annotations
SET LinkName = 'part-of'
where conceptname = 'siphon'
WHERE [dbo].[PhysicalData].[Depth] Over '%3800%'
AND ConceptName ='siphon'
) UPDATE Annotations
SET ToConcept = 'self'
where conceptname = 'siphon'
WHERE [dbo].[PhysicalData].[Depth] Over '%3800%'
AND ConceptName ='siphon'
) UPDATE Annotations
SET LinkValue = 'Octacnemidae sp. 1'
where conceptname = ‘siphon'

This is what I would use for the VARS db:
UPDATE Annotations
SET LinkName = 'part-of'
WHERE
conceptname = 'siphon'
AND depth >= 3800;
UPDATE Annotations
SET ToConcept = 'marine organism'
WHERE
conceptname = 'siphon'
AND depth >= 3800;
UPDATE Annotations
SET LinkValue = 'Octacnemidae sp. 1'
WHERE
conceptname = 'siphon'
AND depth >= 3800

And this should work for m3_annotations:
UPDATE Annotations
SET link_name = 'part-of'
WHERE
concept = 'siphon'
AND depth_meters >= 3800;
UPDATE Annotations
SET to_concept = 'marine organism'
WHERE
concept = 'siphon'
AND depth_meters >= 3800;
UPDATE Annotations
SET link_value = 'Octacnemidae sp. 1'
WHERE
concept = 'siphon'
AND depth_meters >= 3800

Thanks!


fix: populate version in assets_versions for 1st entry

Set version to 0.1 while inserting the first version of asset into
assets_versions table.
Update all rows in assets_versions to have 0.1 as the version if the
column was not populated.

Linked Issue: #215

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 12 (66.67%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.002%) to 84.143%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/store/postgres/asset_repository.go
8
12
66.67%

Files with Coverage Reduction
New Missed Lines
%

internal/store/postgres/asset_repository.go
1
76.66%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
5476

Relevant Lines:
6508

💛  - Coveralls


10.1242/dev.185777

Describe the data set
Fill in below:

Link to publication: https://pubmed.ncbi.nlm.nih.gov/32580935/
Title of publication: A single cell transcriptional atlas of early synovial joint development
First author of publication:  Qin Bian
DOI preprint: 10.1242/dev.185777
DOI journal: Development
Download link to any data objects required: https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE151985

I would like to be assigned to this dataset.


Added new Simplified Chinese (chs_chat) and Traditional Chinese (cht_lang, cht_chat).

I don't know if this project is still being updated. So when I found it, I added a chat between Simplified Chinese and Traditional Chinese, as well as a menu of Traditional Chinese (this file refers to the original Simplified Chinese menu).
Regarding the name files, I have no translations because they can remain the original.
I hope this will help with this project.
If you have any needs, you can contact me.
cht_chat.txt
cht_lang.txt
chs_chat.txt

I don't have a Pull Request because this does not seem to be part of the source code.

Thank you. Will include it in next release.


"Rainbow" rank.

;sm Rainbow enable
;urainbow enable @User
;rrainbow enable @Rank
Require manage roles permission.

Switch the color of the user/rank between all the color of the rainbow -
;rainbow x
Parameters : x in seconds (delay between switchs), default : 0.5 -

;sm Rainbow enable
;urainbow enable @Ok#2752
;rainbow 1

I also found, this in js.
var Discord = require("discord.js");
var fs = require('fs');
var data = require("./data.json");
var options = require("./options.json");
var auth = require("./auth.json");

var afgdRole;
var i = 0;

var colours = [];
var coloursIndex = 0;

var interpolation = 1 / options.nameColourInterpolation;

var bot = new Discord.Client();

setInterval(function() {
    if (afgdRole) {
        bot.updateRole(afgdRole, {
            color: colours[coloursIndex]
        });
        coloursIndex++;
        if (coloursIndex >= colours.length) coloursIndex = 0;
    }
}, options.nameColourSpeed)

bot.on("message", function(msg) {

    if (!afgdRole) {
        console.log("for");
        while (i < 1) {
            i = i + interpolation;
            console.log("for'd " + i + " " + interpolation);
            colours.push(Number("0x" + RGBToHex(HSVtoRGB(i, 1, 1).r, HSVtoRGB(i, 1, 1).g, HSVtoRGB(i, 1, 1).b)));
        }
        var roles = msg.channel.server.rolesOfUser(bot.user).filter(function(role) {
            return role.name === "AFGD";
        });
        afgdRole = roles[0];
    }
});

function HSVtoRGB(h, s, v) {
    var r, g, b, i, f, p, q, t;
    if (arguments.length === 1) {
        s = h.s, v = h.v, h = h.h;
    }
    i = Math.floor(h * 6);
    f = h * 6 - i;
    p = v * (1 - s);
    q = v * (1 - f * s);
    t = v * (1 - (1 - f) * s);
    switch (i % 6) {
        case 0: r = v, g = t, b = p; break;
        case 1: r = q, g = v, b = p; break;
        case 2: r = p, g = v, b = t; break;
        case 3: r = p, g = q, b = v; break;
        case 4: r = t, g = p, b = v; break;
        case 5: r = v, g = p, b = q; break;
    }
    return {
        r: Math.round(r * 255),
        g: Math.round(g * 255),
        b: Math.round(b * 255)
    };
}

RGBToHex = function(r,g,b){
    var bin = r << 16 | g << 8 | b;
    return (function(h){
        return new Array(7-h.length).join("0")+h
    })(bin.toString(16).toUpperCase())
}

bot.loginWithToken(auth.token);```

Indeed, there are some implementations of this. The best way is generally to have something like (using ! as prefix here) !rainbow {interval} {role_id} {hex_code | hex_code2 | hex_code3 | etc} Output {rainbow_tag} which you can use something like !rainbow stop {rainbow_tag} or even !rainbow {rainbow_tag} {add more hex codes later | etc} -- this is basically a timed, limited scripting command (with one option; changing colors).
However, the interval for the public bot would have to be 5-10 minutes at least. I've seen this done with one-minute intervals and with a bot the size of Nadeko, it will be extremely intense, as it changes the color of a roleID every {interval}. There was quite a heavy spike on the load of the server and it wasn't nearly as large as Nadeko.
Might be better to have that as a hosted Nadeko-command only, but I guess that ruins a lot of the novelty for many users.

I like the way your command would work, it's for sure way better than mine. And I've to agree with your 5-10 minutes idea; I saw this on action with smth like 1/2s but it was a one server bot and only for one guy or so.

It is obviously not like music, but it's quite intense, especially when you have thousands of servers doing it. Even with 10 minutes, if even 5,000 users (fraction of Nadeko's public users) utilize the function, that's 5,000 roleID color change updates in 10 minutes -- or ~500 commands a minute, constantly just from that. And each of those has potentially 15+ color hex codes they chose, and the bot is managing all of this in a database for each {rainbow_tag}. So while it works, Nadeko is pretty big and that should likely end up being a self hosted feature in my opinion.
I have something like this in my server but it's a much smaller bot, and it uses a 5 minute timeout. Indeed It's pretty cool, but for a whole purpose bot like Nadeko and its size I don't think it's viable. 😞

In the future I'll add gradient command to not make people type this much if they want a rainbow.
For now you'll have to type colors manually. here is the text from the image
.rrc 1 "Support Staff" 00FF00 00FF1A 00FF35 00FF50 00FF6B 00FF86 00FFA1 00FFBB 00FFD6 00FFF1 00F1FF 00D6FF 00BBFF 00A1FF 0086FF 006BFF 0050FF 0035FF 001AFF 0000FF 0000FF 1A00FF 3500FF 5000FF 6B00FF 8600FF A100FF BB00FF D600FF F100FF FF00F1 FF00D6 FF00BB FF00A1 FF0086 FF006B FF0050 FF0035 FF001A FF0000 FF0000 FF1A00 FF3500 FF5000 FF6B00 FF8600 FFA100 FFBB00 FFD600 FFF100 F1FF00 D6FF00 BBFF00 A1FF00 86FF00 6BFF00 50FF00 35FF00 1AFF00 00FF00
When I have time next time, i'll add another command, like .rgrc 1 role ff0000>00ff00>0000ff>ff0000
so that it automatically creates an HSV gradient

How do I add these commands ???

how do i do this with the bot in my server?

You have to self-host.

I'm sure the bot would be banned due to API abuse...


[BUG] "Application" page is not working

What is the bug?
A clear and concise description of the bug.
I've created new application in observability, when I try to open it I see empty page
How can one reproduce the bug?
Steps to reproduce the behavior:

Create new application - set services and logs
Go to application created in previous point
Page is blank

What is the expected behavior?
A clear and concise description of what you expected to happen.
Application details should be visible
What is your host/environment?

OS: [e.g. iOS] Windows 11
Version [e.g. 22] OpenSearch 2.15
Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

The same issue was reproduced by us after upgrading from 2.13 to 2.15, including with a clean 2.15 installation trying to show OpenTelemetry traces and logs ingested with DataPrepper.
We had to do a version rollback (doing a clean install in our QA environment since we learned the hard way OpenSearch doesn't allow versions to be downgraded)

Looks like a regression, thanks for reporting.
[Catch All Triage w/ 1, 2, 3]

Attention maintainers - can someone follow up on this one?
@mengweieric @joshuali925 @ps48 @kavithacm @rupal-bq @derek-ho @YANG-DB @pjfitzgibbons @swiddis @dai-chen @vamsi-amazon @penghuo @seankao-az @anirudha @paulstn @sumukhswamy

Maybe @ps48?
If someone could bisect this issue to a commit that would be helpful.

@dblock @ArielGMachado Thanks for reporting the issue. @sumukhswamy  & myself are looking into the issue right.


Server accepts early data after 2nd handshake in HRR case

if the first ClientHello advertises early_data but its key_shares are not acceptable to the server, the server sends HelloRetryRequest, in second ClientHello the client must not send the early_data and early data is not allowed after HelloRetryRequest (section 4.1.2 of draft 28):
   -  Removing the "early_data" extension (Section 4.2.10) if one was
      present.  Early data is not permitted after HelloRetryRequest.

despite that, if the client sends random garbage in place of Finished message, the server does not abort the connection with bad_record_mac if the sum of the lengths of the messages doesn't exceed the set maximum for early data; if it does, it sends unexpected_message alert
reproducer
openssl req -x509 -newkey rsa -keyout localhost.key -out localhost.crt -subj /CN=localhost -nodes -batch
openssl s_server -key localhost.key -cert localhost.crt -www 2>server.err >server.out &
openssl_pid=$!
git clone https://github.com/tomato42/tlsfuzzer
pushd tlsfuzzer
# won't be needed after https://github.com/tomato42/tlsfuzzer/pull/423 is merged
git checkout 0rtt-garbage-resumption
git clone https://github.com/tomato42/tlslite-ng .tlslite-ng
ln -s .tlslite-ng/tlslite tlslite
git clone https://github.com/warner/python-ecdsa .python-ecdsa
ln -s .python-ecdsa/ecdsa ecdsa
PYTHONPATH=. python scripts/test-tls13-0rtt-garbage.py --num-bytes 16428
PYTHONPATH=. python scripts/test-tls13-0rtt-garbage.py
popd
kill $openssl_pid

tlsfuzzer output
$ PYTHONPATH=. python scripts/test-tls13-0rtt-garbage.py --num-bytes 16428
sanity ...
OK

handshake with invalid 0-RTT and CCS ...
OK

handshake with invalid 0-RTT and HRR ...
OK

handshake with invalid 0-RTT with fragmented early data ...
OK

undecryptable record later in handshake together with early_data ...
OK

handshake with invalid 0-RTT and CCS between early data records ...
OK

handshake with invalid PSK ...
OK

handshake with 0-RTT, HRR and early data after 2nd Client Hello ...
Error encountered while processing node <tlsfuzzer.expect.ExpectAlert object at 0x7f789ec8d750> (child: <tlsfuzzer.expect.ExpectClose object at 0x7f789ec8d710>) with last message being: <tlslite.messages.Message object at 0x7f789ecb3350>
Error while processing
Traceback (most recent call last):
  File "scripts/test-tls13-0rtt-garbage.py", line 674, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 212, in run
    node.process(self.state, msg)
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/expect.py", line 1080, in process
    raise AssertionError(problem_desc)
AssertionError: Expected alert description "bad_record_mac" does not match received "unexpected_message"

handshake with invalid 0-RTT ...
OK

sanity ...
OK

Basic check if TLS 1.3 server can handle 0-RTT handshake
Verify that the server can handle a 0-RTT handshake from client
even if (or rather, especially if) it doesn't support 0-RTT.

version: 1

Test end
successful: 9
failed: 1
  'handshake with 0-RTT, HRR and early data after 2nd Client Hello'

$ PYTHONPATH=. python scripts/test-tls13-0rtt-garbage.py
sanity ...
OK

handshake with invalid 0-RTT and CCS ...
OK

handshake with invalid 0-RTT and HRR ...
OK

handshake with invalid 0-RTT with fragmented early data ...
OK

undecryptable record later in handshake together with early_data ...
OK

handshake with invalid 0-RTT and CCS between early data records ...
OK

handshake with invalid PSK ...
OK

handshake with 0-RTT, HRR and early data after 2nd Client Hello ...
Error encountered while processing node <tlsfuzzer.expect.ExpectNewSessionTicket object at 0x7f143b4b57d0> (child: <tlsfuzzer.expect.ExpectNewSessionTicket object at 0x7f143b4b57d0>) with last message being: None
Error while processing
Traceback (most recent call last):
  File "scripts/test-tls13-0rtt-garbage.py", line 674, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 196, in run
    raise AssertionError("Unexpected closure from peer")
AssertionError: Unexpected closure from peer

handshake with invalid 0-RTT ...
OK

sanity ...
OK

Basic check if TLS 1.3 server can handle 0-RTT handshake
Verify that the server can handle a 0-RTT handshake from client
even if (or rather, especially if) it doesn't support 0-RTT.

version: 1

Test end
successful: 9
failed: 1
  'handshake with 0-RTT, HRR and early data after 2nd Client Hello'

openssl output
Using default temp DH parameters
ACCEPT
140656046446400:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:ssl/record/ssl3_record.c:674:
140656046446400:error:142140A4:SSL routines:early_data_count_ok:too much early data:ssl/record/ssl3_record.c:143:
140656046446400:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:ssl/record/ssl3_record.c:674:

Fix in #6737.


Question about 5.1kOhm pull-down resistors for CC1 and CC2

I was planning on removing the micro-USB port from my DS4 board and soldering in a USB-C connector (similar to this video and this one), but that would require that I offset my LED, and I wanted to retain its original position and functionality.
When I found this project, I figured it was a much better fit. Unfortunately, it's only cost effective to make multiple boards, and I only have one controller with a JDS-030 board. Given that, I am eagerly awaiting the opening of the tindie shop with pre-built configurations.
However, my question relates to the ability to use this port with USB-C to USB-C cables. My understanding is that in order to do this, pins A5 and B5 need to be connected to ground with a 5.1kOhm pull-down resistor. Do these boards have connection points for these resistors? For example, this image of the 040/055 board has six spots for resistors to be soldered onto, but what is the resistance measurement of these resistors, and do any of them connect CC1 and CC2 to ground? I was not able to find any recommended resistance levels on the parts section.
In any case, I found that RG1608P-512-D-T5 and RTT03512JTP resistors are the correct 0603 size and they are rated for 5.1kOhms. Would it be better to update the parts section to specify a certain resistance, or will different boards require different resistances?

I found this similar project for the JDS-055 board (timestamped when the creator mentions the USB-C to USB-C functionality), maybe certain parts of both projects could be merged together? This design only uses one side of the PCB.

You'll find these resistors on all 3 of my designs. Two of them are indeed 5.1k pull downs to ground on CC1 and CC2 of the USB C port. The other two are 0 ohm resistors which are unnecessary, but can allow for impedance matching. When I started this project, I mistook the common mode choke for a resistor network which I assumed was for impedance matching, hence the zero ohm resistors. The 040/05X board is the exception here, since it contains 4 zero ohm resistors. Only two are designed to be populated though.

Gotcha, is there any way for me to know which pads should have the zero ohm resistors and which ones should have the 5.1k ones? I'm still a bit newbish to reading schematics and gerber files and all that.

You're correct for 040/055. It may be different for the other boards. I can possibly make some modifications to ensure that R1 and R2 are always the 5.1k resistors and that 3-4(6) are 0 ohms. I won't commit to that just yet though.

Thank you so much for that explanation, I'll keep an eye out for the other boards and I completely understand if it is not possible to make all the resistor locations line up.


Add and use HashCode polyfill

This PR polyfills the HashCode implementation using the same logic as MathF.

PING @JimBobSquarePants

Oh, I'm dumb. Fix coming!

And fixed!

@JimBobSquarePants OK, I think all is well now.  :)

@JimBobSquarePants Do we even need the TypeForwardedFor attributes?

Do we even need the TypeForwardedFor attributes?

As far as I'm aware they are an absolute requirement to prevent ambiguous reference exceptions.

Once this lands on MyGET, I'll do a pass on ImageSharp to get everything updated.


AppsToReference is not working

Hello,
I am using Deployment Framework 6.0. I am using the below XML segment to reference a common application,

However, when i tried to do a local deployment, i am getting the below error,
Assembly "DataServices.Orchestrations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=3b3f9f75a17ec580" references the following assemblies that must be deployed before deploying this assembly:
Assembly "DataServices.Common.Orchestrations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=3b3f9f75a17ec580"
Can anyone tell me why Deployment framework is not finding the referenced assembly though i am referencing it? Thanks in advance.
This work item was migrated from CodePlex
CodePlex work item ID: '10892'
Vote count: '1'

[tfabraham@2/28/2015]
That error during deployment probably has nothing to do with application references.  You get that when the other assembly -- DataServices.Common.Orchestrations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=3b3f9f75a17ec580 -- is not found in the GAC or Mgmt database.  Make sure you have that exact version deployed within DataServices.Common -- same public key and version.

[ssashok10@3/2/2015]
Hello,
We are deploying the common assemblies through BizTalk deployment scripts before we run the other assemblies which are referencing to it. The assembly database "DataServices.Common.Orchestrations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=3b3f9f75a17ec580" is deployed into the management database and we have verified it as well. However, when we tried to see this assembly in GAC, its not deployed there. Here is the "ItemGroup" that we used to deployed it,

..\DataServices.Common\UCare.DataServices.Common.Orchestrations\bin\$(Configuration)

Now i have two questions,

Why the above "ItemGroup" deploys the assembly only in management database and not into GAC?
Is the issue happens as its not in GAC?

Thank you in advacne.

[ssashok10@3/2/2015]
We have checked the assembly version and its certainly deployed properly into the management database.
DataServices.Common.Orchestrations, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=3b3f9f75a17ec580
Is there anything that i am missing here? Thanks.

[ssashok10@3/2/2015]
By the way, we found that the common orchetration "DataServices.Common.Orchestrations.DataServices" is in "Unenlisted" state. Will this cause the reference issue as its not enlisted sate? How can I start the orchestration after the master binding has been run? I tied with the below and its not working,

Start
Unenlist
True

[tfabraham@3/2/2015]
There are two GAC's -- one for .NET 2.x/3.x (\windows\assembly) and one for .NET 4.x (\windows\Microsoft.net\assembly).  Have you checked both?  Since you're using v6.0, I'm assuming you are on BizTalk 2013, and all of your assemblies should typically be in the 4.x GAC.  Have you changed and rebuilt all projects to target .NET 4.x?  The orchestration likely won't enlist if the DLL isn't in the GAC.

[ssashok10@3/2/2015]
You are right about the GAC. I was looking at the wrong place. I am sorry about that.  We are using BizTalk 2013 R2. I have checked the assembly folder "C:\Windows\Microsoft.NET\assembly\GAC_MSIL" and i see the assembly is there. I have checked all the BizTalk applications and its all pointing to .NET framework 4.5. Can you please let me know why the orchestration is in unenlisted state though the deployment framework deployed the common assembly successfully. Is that means that we can not reference any assembly if its not in enlisted state? Thanks in advance.

[ssashok10@3/2/2015]
By the way, we are using  the property True element as well.  We are running out of ideas now why the application reference is not working. Any help would be really appreciated. Thank you.

[tfabraham@3/2/2015]
When you deploy the application, the BizTalk application is created and the references to other BizTalk applications are added immediately.  Did you look in BizTalk Admin at the properties of the app to see the references?

[UnknownUser@3/2/2015]

[ssashok10@3/2/2015]
I have attached a sample project to re-produce this issue. I just created a BizTalk application which is pointing to "BizTalk Application 1". I have added the below item group to add a reference to "BizTalk EDI Application". When i deployed the solution, there is no errors and all deployed successfully. However, the reference to the application "BizTalk EDI Application" is not happened on "BizTalk Application 1". I refreshed the BizTalk admin console and verified the referenced applicaton there. Am i doing anything wrong or is it a bug on deployment framework 6.0? Please find the attached sample application that i created for your reference. Thanks.

[ssashok10@3/3/2015]
Are you able to test the sample application that I attached in my previous message? Any early help will be appreciated as we are blocked now. Thanks.

[tfabraham@3/3/2015]
Using your sample application on BizTalk 2013 R2:
I deployed it
Refreshed BizTalk Admin
Opened the Properties of DEPFrameTestProject
Switched to the References tab
Found two references listed, one to BizTalk.System and another to BizTalk EDI Application
I am not seeing the issue.

[ssashok10@3/4/2015]
We tried the same sample application  to one of our test BizTalk machines here and it worked well without any changes too. This made us to un-install and re-install the deployment framework 6 on the machine where we had a problem and it worked well. So, its basically something went wrong during our installaiton of BizTalk deployment framework 6 on one particular machine. We are able to proceed further on our changes now. Thank you so much for all your help to resolve this issue.

[UnknownUser@3/4/2015]

[tfabraham@3/4/2015]
Great, thanks for the update.

[UnknownUser@3/4/2015]

Issue closed by tfabraham with comment
Reinstalled and works now
Reason closed
Not BTDF


grpc_1_0 flag for gRPC Python Protoc Plug-In

Because there are out-of-this-repository customers depending on the old behavior being the default the act-the-old-way flag has to be introduced before the default behavior can be changed to be the new behavior.

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences


LXD ZFS Storage Issue

Required information

Distribution: Ubuntu
Distribution version: 18.04
The output of "lxc info" or if that fails:

Kernel version: 4.15.0-32-generic
LXC version: 3.0.1
LXD version: 3.0.1
Storage backend in use: zfs

Issue description
Lxd does not store images and snapshots into the configured zfs zpool by default.
Steps to reproduce

Install ZFS on Ubuntu 18.04
Created zfs pool "services".
Created zfs dataset "services/lxd"
Use the existing ZFS dataset "services/lxd".

lxc storage create containers zfs source=services/lxd
ZFS Ouput:
services/lxd                                                                          30.0G  39.2G    96K  none
services/lxd/containers
services/lxd/containers/rstudio                                                       23.7G  39.2G  13.6G  /var/lib/lxd/storage-pools/containers/containers/rstudio
services/lxd/custom                                                                     96K  39.2G    96K  none
services/lxd/deleted                                                                    96K  39.2G    96K  none
services/lxd/images                                                                    712M  39.2G    96K  none
services/lxd/snapshots                                                                 384K  39.2G    96K  none
services/lxd/snapshots/rstudio                                                          96K  39.2G    96K  none

As you can see there is no snapshot and no images mount-points. Currently these images and snapshots are stored inside the "/" root partition under /var/lib/lxd/images or /var/lib/lxd/snapshots.
Question:
How can we get all the data inside /var/lib/lxd to be stored inside the zfs zpool configured in lxd? Meaning, that both images and snapshots will also be mounted for external storage? Maybe I am just understanding it wrong. Because the whole idea was that all LXD data would reside inside the zfs pool and NOT inside of root except the standard /var/lib/lxd folder.

This is normal, LXD doesn't mount the images or snapshots so you will not see them in /var/lib/lxd and they will not have mountpoints set.
Snapshots do get mounted for very specific operations, when that happens it gets temporarily mounted under /var/lib/lxd/snapshots.
Image tarballs are always stored in /var/lib/lxd/images on the main partition, that's expected behavior as you should be able to delete storage pools without also loosing all your images. Storage pools only hold "optmized" version of those images (in the ZFS case, a read-only snapshot on a dataset).


Date time picker suggestion

Instead of having a big popup for time and date desktop users like to have a small popup for date time.
I am using Air datepicker to solve the issue. If you can come up with something supercool that will be good to have

Better ask for options to adjust the styling of the current picker I think.
No need to get another lib...

Yes that's what... i am not asking to use that library... but for reference i have shared the link... maybe something like that

Duplicate of #5526


Color Picker exits whenever backspace key is pressed

Microsoft PowerToys version
v0.81.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
ColorPicker
Steps to reproduce

Start Color Picker with the default shortcut (Win Shift C).
Click on another window to move focus there (eg. click and type "test" in a web browser address bar).
Press the backspace key.
Color Picker will close.

✔ Expected Behavior
With focus on another window, pressing the backspace key should have no effect on color picker.
Color picker should stay open if I'm typing in another window and press the backspace key.
❌ Actual Behavior
When a different window has focus (eg. typing in a browser address bar) pressing the backspace key will close color picker.
Also, if you typed "test" in the address bar, pressing the backspace key with color picker open has no effect in the active window — ie. the last "t" won't be deleted, and color picker closes instead. Once color picker is closed, the backspace key can be used normally in the active window.
Other Software
No response

Same issue, even if i am in a textfield in a different program and typed some letters before hitting backspace

Same here

Also having this issue on the current version.


Updates to favicons using https://realfavicongenerator.net

Updates to establish base requirements for favicons on sites.

@nsmedira we don't, added by accident.


Bump dependencies: base, template-haskell, aeson, lens, vector

Fixes

https://github.com/commercialhaskell/stackage/issues/6678
https://github.com/commercialhaskell/stackage/issues/6624
https://github.com/commercialhaskell/stackage/issues/6615

Tested using
cabal build -w ghc-9.4.2 --disable-tests --constraint='vector>=0.13' --constraint='lens>=5.2' --constraint='aeson>=2.1'

The tests can't be run because doctest doesn't support GHC 9.4 yet.

Gentle ping @maksbotan could we please get this merged?

@pwm It would be best if sol/doctest#376 was finished first, then we could test this in CI.

Hi, just letting you know that doctest has a release supporting 9.4 now

@maksbotan Doctest supports GHC 9.4 now, so I think this is ready for review.

As a Hackage Trustee, I have made the following revisions to openapi3-3.2.2:

aeson: >=<IP_ADDRESS> && <1.6 || >=<IP_ADDRESS> && <2.1 -> >=<IP_ADDRESS> && <1.6 || >=<IP_ADDRESS> && <2.2
base: >=<IP_ADDRESS> && <4.17 -> >=<IP_ADDRESS> && <4.18
lens: >=4.16.1 && <5.2 -> >=4.16.1 && <5.3
template: >=<IP_ADDRESS> && <2.19 -> >=<IP_ADDRESS> && <2.20
vector: >=<IP_ADDRESS> && <0.13 -> >=<IP_ADDRESS> && <0.14

Hi! Sorry for the lag!
I've incorporated @endgame's revision into master branch.

@ysangkok I've added 9.4 CI to this branch and doctests fail:
/__w/openapi3/openapi3/unpacked/openapi3-3.2.2/src/Data/OpenApi/Schema/Validation.hs:38: failure in expression `import Data.OpenApi'
expected:
 but got:
          ^
          <interactive>:1:1: error:
              attempting to use module ‘main:Data.OpenApi’ (/__w/openapi3/openapi3/unpacked/openapi3-3.2.2/src/Data/OpenApi.hs) which is not loaded

/__w/openapi3/openapi3/unpacked/openapi3-3.2.2/src/Data/OpenApi/Internal/Schema/Validation.hs:63: failure in expression `import Data.OpenApi.Internal.Schema.Validation'
expected:
 but got:
          ^
          <interactive>:1:1: error:
              attempting to use module ‘main:Data.OpenApi.Internal.Schema.Validation’ (/__w/openapi3/openapi3/unpacked/openapi3-3.2.2/src/Data/OpenApi/Internal/Schema/Validation.hs) which is not loaded

Can you look into this please?

@maksbotan I spent a couple of hours and reported sol/doctest#389 .  I think the error in Data.OpenApi.Internal.Schema.Validation is related to OverloadedLists. But I don't wanna spend more time on this, I think doctest is super fragile and not worth the effort. Feel free to close this PR.

@ysangkok thanks for the discovery! I've replaced OverloadedLists usage with explicit IOHM.fromList, now tests pass on 9.4 🎉


#146 No limit on queries for update

Actually I am not sure that this is the right fix for issue #146.
This fix prevents LIMIT from being appended to the query string run by DBeaver, but DBeaver will still run SET SQL_SELECT_LIMIT=x with this fix applied.
This will have unintended side effects for the user if the total number of rows selected by the user's query is greater than the number of rows that DBeaver wants to display (in that all of the rows > than the number of rows that DBeaver wants to display will not be locked).
Probably in the case of a FOR UPDATE, the limiting should be disabled in org.jkiss.dbeaver.model.DBUtils#prepareStatement.
What do you think?  I can make this change.

There are a few other cases where limiting should be disabled for SELECT.
Here is the complete list:

SELECT...PROCEDURE
SELECT...INTO
SELECT...FOR UPDATE
SELECT...LOCK IN SHARED MODE

This seems to a valid fix, thanks!

Now SELECT INTO, SELECT FOR UPDATE and LOCK IN SHARED MODE are covered by plain select detector.
Could you give me an example of SELECT...PROCEDURE query?

Those statement types do seem to be picked up by Jsqlparser, but when testing my fix, I found that (at least for the MySQL plugin) it still generated SET SQL_SELECT_LIMIT=x before the query. I think that this still affects these (...PROCEDURE, ...INTO, ...FOR UPDATE, ...LOCK IN SHARED MODE) queries, doesn't it?  In that case it would be necessary to bypass the SET SQL_SELECT_LIMIT=x statement and I haven't looked into that yet.
I have not used SELECT...PROCEDURE (I have tried but I've been getting an error), but it is supported by both MySQL and Oracle. I haven't been able to confirm its status in the SQL standard.
MySQL documentation states that "A PROCEDURE clause names a procedure that should process the data in the result set."
The PROCEDURE clause is supposed to come after LIMIT
SELECT
...
    [LIMIT {[offset,] row_count | row_count OFFSET offset}]
    [PROCEDURE procedure_name(argument_list)]
    [INTO OUTFILE 'file_name'
        [CHARACTER SET charset_name]
        export_options
      | INTO DUMPFILE 'file_name'
      | INTO var_name [, var_name]]
    [FOR UPDATE | LOCK IN SHARE MODE]]

My understanding is that it should be applicable to any SELECT statement. It will simply take the results of the SELECT and send them to the named PROCEDURE, but I am not sure how this works with the PROCEDURE ins and outs. I will have to do more research.


fix: Implement --disable-apply-extend flag

This issue should fix #1271
Terragrunt shouldn't add -input=false and -auto-approve to apply command automatically if you specify --disable-apply-extend flag

Thanks for your contribution! However, just removing -input=false and -auto-approve isn't sufficient, because you will quickly run into the UX problem of having to handle interactive user input on multiple concurrent prompts.
In fact, this is a broken experience because all the prompts share a single stdin, so typing yes once will actually feed to all the stacks that are running. This means that, as a user, you might be approving a plan that you haven't seen yet.
Note also that the outputs from the plans for the interactive prompt will be incomprehensible because outputs from each concurrently running terraform action will be interleaved (since they all share stdout and stderr).
Given that, we can't really accept this as is because the feature is unusable unless parallelism is 1, but that is also not very practical for sufficiently large projects. To move forward, we would need a way to handle concurrent interactive prompts.

Thank you @yorinasub17 for your answer!
So, the issue is promt handling. I was thinking that it can make sense to add the flags manually once we use suggested option.
I'll try to play with args order instead of disabling implicit flags.


RangeError: Invalid array buffer length

I'm getting the following errors sporadically.
An error occurred while rendering.  Rendering has stopped.
undefined
RangeError: Invalid array buffer length
RangeError: Invalid array buffer length
    at new ArrayBuffer (native)
    at new Float64Array (native)
    at Object.i.createTypedArray (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:60:1373)
    at z (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:60:26508)
    at D (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:60:26673)
    at Object.tt.combineInstances (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:61:9474)
    at w (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:61:17483)
    at Object.B.combineGeometry (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:61:23303)
    at r (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:61:28230)
    at DedicatedWorkerGlobalScope.<anonymous> (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/combineGeometry.js:61:27703)P.showErrorPanel @ Cesium.js:465

Cesium.js:465 An error occurred while rendering.  Rendering has stopped.
undefined
RangeError: Invalid array buffer length
RangeError: Invalid array buffer length
    at new ArrayBuffer (native)
    at new Float64Array (native)
    at Object.B.packCreateGeometryResults (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/createGeometry.js:76:23700)
    at a (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/createGeometry.js:76:31774)
    at DedicatedWorkerGlobalScope.<anonymous> (http://<IP_ADDRESS>/cop/client/vendor/Cesium/Build/Cesium/Workers/createGeometry.js:76:30955)

This issue usually indicates a bug in user code.  It's almost always caused by a NaN or undefined value being passed into Cesium.  I recommend you develop against the unminified Cesium.js, which has enhanced error checking and is more likely to catch bad data.  Only use the minified Ceisum.js for deployment.
In the future, please use the forum for questions and support.  We try to only write GitHub issues for reproducible bugs.


Drop support of node 16

This drops the support of Node 16 on every packages.
I've also update the CI to run on active LTS (Node 20) and to test against Node 18, 20 and 21.

I think @saihaj was referring to this one;
https://github.com/n1ru4l/envelop/pull/1986/commits/f113813fd0ae2be04a4ad73a49b7d07efb72c334#diff-b55cdbef4907b7045f32cc5360d48d262cca5f94062e353089f189f4460039e0R12


Compile DFAs as lookup tables instead of linear if-elses

It's not uncommon for a lexer state to be compiled to dozens of states. Currently we generate code like this:
match self.state {
    0 -> ...,
    1 -> ...,
    ...
    _ -> ...,
}

For N states this means N-1 comparisons in the worst case to the take last branch.
Instead we should compile each state to a function, then put them all in an array:
static STATES: [fn(...) -> ...; N] = [...];

Then just do STATES[self.state](...);.

I implemented this in state_functions but cargo bench reports 5% regression in the Lua benchmark, and even worse in a micro benchmark.

I implemented this in state_functions but cargo bench reports 5% regression in the Lua benchmark, and even worse in a micro benchmark.

This is because the current code is compiled to a jump table. Closing.


pandad tests

Now that we support multi-panda setups and two different MCU types, we should have a comprehensive test suite to cover pandad. This test should be run on both the master-ci and release builds.
some test cases to start with

[ ] flashing with out of date fw
[ ] flashing while in DFU
[ ] flashing while in bootstub
[ ] flashing bootstub when going from release to devel
[ ] skip flashing when version matches
[ ] internal panda: recover with GPIO
[ ] internal panda: reset via GPIO if panda doesn't show up over USB
[ ] muilti-panda ordering

pandad tests are now running in jenkins.


Move and Save apps.txt into Swot

@kmugit I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for the understanding!


fix: patch CWA-2023-004 and bump version

Description

This PR patches https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2023-004.md and bump version.
Types of changes

[x] Bug fix (changes which fixes an issue)
[ ] New feature (changes which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] ETC (build, ci, docs, perf, refactor, style, test)

Checklist

[x] I followed the contributing guidelines.
[ ] I have updated the documentation accordingly. (not needed)
[ ] I have added tests to cover my changes. (not needed)
[x] The PR title and commits are followed conventional commit form.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: loloicci:x: chipshortYou have signed the CLA already but the status is still pending? Let us recheck it.

I revert the version bump to add a patch for https://github.com/Finschia/cosmwasm/issues/338 into our 0.9.0 version.


Update the polygon poi min_zoom migration

It looks like the polygon mz_poi_min_zoom migration was missing some
values in the where clause. This updates it to match the where clause in
the point table.
@zerebubuth could you review please?

:+1:


Cannot read property 'settings' of undefined

Reported here:
https://our.umbraco.com/packages/backoffice-extensions/umbraco-forms-on-perplex-steroids/feedback-bugs/91814-cannot-read-property-settings-of-undefined
I have blank install of Umbraco 7.10.3 and 7.10.4 I have Forms installed, lastest version. When I create a form and edit properties all works fine. I install Perplex and now when I try to edit existing properties on a form nothing happens. Looking at console, I get the following JavaScript error:

Can you confirm the fix I described here works? That is, since we remove certain field types from showing up at all (like Short Answer), this causes issues on forms that were already configured to use those removed fields.
As a more permanent fix I would have to look into another implementation for hiding the field types, or simply not hide the built-in fields by default.


Applications template

Addition of template application with module.

Please update also the README.md in Stream4Flow/applications/ directory.

application_template.py
-- add comment/description to module loading on line 29
-- provide common python documentation for functions (like kafkaIO module)
-- new line to the end of the file

kafkaIO.py
-- add "# -- coding: utf-8 --" to the beginning of the file
-- missing return value description in initialize_kafka_producer function documentation
-- check if data were successfully sent to the Kafka (http://kafka-python.readthedocs.io/en/master/apidoc/KafkaProducer.html#kafka.KafkaProducer.send)


Provide a way to quickly compare set of answers with the same comment, the same grade

The goal is to easily check the quality of the evaluation

#196


no such package<EMAIL_ADDRESS>

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

OS Platform and Distribution (MacOS 10.13.6):
TensorFlow installed from (source or binary): source
TensorFlow version: 2.2.0
Python version: 3.7
Installed using virtualenv? pip? conda?:
Bazel version (if compiling from source): 3.1.0
GCC/Compiler version (if compiling from source): Apple Clang 10.0.0
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
Hello， dear tensorflow guys.
I want to build the official android demo from TF team.
My command is:
bazel build -c opt --cxxopt='--std=c++11'   //tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo --experimental_repo_remote_exec
I set both Android SDK and NDK enviroment.
export ANDROID_SDK_API_LEVEL=26
export ANDROID_NDK_API_LEVEL=21

However, it has the error:

ERROR: /Users/junyan/find_android_project/tensorflow/tensorflow/lite/java/demo/app/src/main/BUILD:8:1: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package. and referenced by '//tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo'
ERROR: /Users/junyan/find_android_project/tensorflow/tensorflow/lite/java/demo/app/src/main/BUILD:8:1: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package. and referenced by '//tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo'
ERROR: Analysis of target '//tensorflow/lite/java/demo/app/src/main:TfLiteCameraDemo' failed; build aborted: no such package<EMAIL_ADDRESS>BUILD file not found in directory 'com.android.support' of external repository @androidsdk. Add a BUILD file to a directory to mark it as a package

The build script is:
load("@build_bazel_rules_android//android:rules.bzl", "android_binary")

package(
    default_visibility = ["//visibility:private"],
    licenses = ["notice"],  # Apache 2.0
)

android_binary(
    name = "TfLiteCameraDemo",
    srcs = glob(["java/**/*.java"]),
    assets = [
        "//tensorflow/lite/java/demo/app/src/main/assets:labels_mobilenet_quant_v1_224.txt",
        "@tflite_mobilenet_quant//:mobilenet_v1_1.0_224_quant.tflite",
        "@tflite_mobilenet_float//:mobilenet_v1_1.0_224.tflite",
    ],
    assets_dir = "",
    custom_package = "com.example.android.tflitecamerademo",
    manifest = "AndroidManifest.xml",
    nocompress_extensions = [
        ".tflite",
    ],
    resource_files = glob(["res/**"]),
    # In some platforms we don't have an Android SDK/NDK and this target
    # can't be built. We need to prevent the build system from trying to
    # use the target in that case.
    tags = ["manual"],
    deps = [
        "//tensorflow/lite/java:tensorflowlite",
        "//tensorflow/lite/java:tensorflowlite_gpu",
        "//tensorflow/lite/java/src/testhelper/java/org/tensorflow/lite:testhelper",
        "@androidsdk//com.android.support:support-v13-25.2.0",
        "@androidsdk//com.android.support:support-v4-25.2.0",
    ],

Should I download com.android.support:support-v13-25.2.0 aar and com.android.support:support-v4-25.2.0 under the directory of android-sdk to compile it successfully?
Thanks & Regards!

Is there any solution to fix it?

How can I do some configuration to correlate the android-support widget?
Thanks & Regards!
Momo

Did you run "./configure" script and enabled Android support?
Your .tf_configure.bazelrc file should have a valid Android SDK / NDK configurations.

Hello, @terryheo .
I run the configuration script, however, still have the problem.
To be frank, I cannot decide which directory of file path is correct for "com.android.support" corresponding directory under the Android-SDK-Home library.
Here is the presentation of Android-SDK home directory.

Which path should I refer to? If I cannot decide which local path to follow, is there a workaround to correlate an on-line android support library?
Thanks & Regards!
Momo

Bazel will find the library if you provide a valid SDK home while running the configuration script.
I'm wonder if you installed Android SDK 26 support.
Could you share the content of your .tf_configure.bazelrc?
Can you verify if you have Android SDK 26 with SDK Manager tool?


Fix retweet line alignment

Reducing the size of avatars caused bad alignment for retweet line.

The second commit is the best solution.

Looks good thanks! 👍


Merge list when right-side is sometimes nil

While trying to make a reproducible I ran into an issue and can't figure out what's wrong with my example YAML below. I mirrored what I'm doing with my much larger yaml where my issue originates from.
I have a situation where I have a list and I want to call a function to optionally add to that list. Sometimes the second list may be nil. Here's a reproducible.

list.yaml

#@ load("@ytt:template", "template")

#@ def other_items(distro):
#@ if distro == "ubuntu":
- "ubuntu-item"
#@ end
#@ end

#@ def the_list(distro):
my_list:
- "item1"
- "item2"
- #@ template.replace(other_items(distro))
other_content:
  not_related: "to the above list"
#@ end

---
final-list:
  - #@ the_list("alpine")
  - #@ the_list("ubuntu")

Apologies, I can't figure out wtf is wrong with the above YAML. I get this error:
$ ytt -f ./
ytt: Error: Unmarshaling YAML template 'list.yml': yaml: line 9: did not find expected '-' indicator

If the above YAML was working I'm expecting the following error:
- template.replace: expected value to be array, but was <nil>

Again, sorry the example doesn't work. Regardless, am I going about this the right way?

here it is: https://get-ytt.io/#gist:https://gist.github.com/cppforlife/cd9bda2e2a077b0d51990f3669a680a0
since ytt templates have to be valid yaml, other_items and the_list functions need to be in different documents because they return different structure types (array vs map). eg would not be a valid yaml:
- foo
bar: 123

additionally i added else case to other_items so that template.replace does not blow up when distro is not ubuntu.

Unmarshaling YAML template 'config.yml': yaml: line 9: did not find expected '-' indicator

i wonder if we can potentially add some kind of hinting to this error message for when document marker should be added. not quite sure if this error would come up in other cases (aside from just forgetting to add - for a list item).

#@ else: return []

Got me the result I want! Everything else I was trying was giving me a - {} in the resulting yaml. Thank you very much!

since ytt templates have to be valid yaml

now I get why my example wasn't working compared to my production template. All my lists appear after maps, so they look like they're part of the map 😅


How to do multiple processBatch commands?

I have a pump that I'd like to apply several batch processes to.  I can't work out how to do this, as the last .processBatch command seems to overwrite all the preceding ones.
For example, I'd like to add the 'timestamp' attribute, perform some transformation then upsert to my SalesForce API. Here is an excerpt of my pipeline...
  etl.pump = new Pump();

  etl.pump
    .mixin(BatchMixin)
    .batchSize(50)
    .from(connections.mysql.query(etl.sourceSql).stream())
    .mixin(SalesForceMixin({connection : sfConnection}))
    .processBatch((rows) => etl.pump.addAttribute(rows, 'timestamp', batchTimestamp))
    .processBatch((rows) => etl.pump.transform(rows, transformFn))
    .processBatch((rows) => etl.pump.upsertRows(rows))
    .logErrorsToConsole()
    .run()
    .then(() => {
      console.log(etl.name + ': done');
      connections.mysql.end();
      connections.salesforce.disconnect();
    })

My addAttribute function in my SalesForceMixin returns a promise that transforms the item...
    target.transform = (_items, transformer) => {
      return new Promise((resolve) => resolve(_items.map(transformer)));
    };

I can see that only the 3rd processBatch command is executed: etl.pump.upsertRows.  Looking into the code, I think I can see why;  the processBatch command overrides the _processBatch function.
Am I missing something?  I don't really want to do all my transformation and loading in one function.

You have three options:

Create a single .processBatch function and chain the function calls:

  .processBatch((rows) = > {
    return etl.pump.addAttribute(rows, 'timestamp', batchTimestamp)
      .then(() => { return etl.pump.transform(rows, transformFn); })
      .then(() => { return etl.pump.upsertRows(rows); })
  })

Create multiple pumps (e.g. one for reading and transforming the data, one for upserting).
Create a new class with Pump as parent, add your methods and call them from _processBatch.

In the first case, I've just changed the three .processBatch calls into a promise chain. Please note that .processBatch must return a Promise, otherwise flow control will not work.

Thanks @novaki.  That is really helpful. I think I'll go with your first option and see how I get on 👍


Support map and list when parse client_filters parameter

Usually, when use YAML file, we will get Map<Integer, FeatureFilterEvaluationContext> for client_filters parameter. When using JSON file, we will get List for client_filters parameter. So call updateValueFromMapToList to support both.

Update the test case in ServerSideFeatureManagementPropertiesListTest file. Because when using Map.of() to create parameters, we will get java.util.ImmutableCollections$Map class which cannot be converted to LinkedHashMap class. Update to use LinkedHashMap

API change check
API changes are not detected in this pull request.


Add Presentation API article

What's changed, or what was fixed?
This CL adds an article for Local Screen Casting (aka Casting to Local Displays)
Target Live Date: Chrome 66 Stable

[ ] This has been reviewed and approved by (NAME)
[x] I have run gulp test locally and all tests pass.
[x] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

Reviewers: @mfoltzgoogle, @johnpallett
CC: @petele

Whoops!
There were 3 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L216 - Common typo found: 'web site' Should it be 'website'? See: https://developers.google.com/style/word-list#website
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L30 - Line must be at most 100 characters
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L233 - Line must be at most 100 characters

Whoops!
There were 2 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L30 - Line must be at most 100 characters
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L233 - Line must be at most 100 characters

Whoops!
There were 2 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L30 - Line must be at most 100 characters
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L233 - Line must be at most 100 characters

Whoops!
There were 2 warnings that will prevent this PR from being merged. Please take a look, and either fix, or provide a justification for why they can't be fixed.
WARNINGS
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L30 - Line must be at most 100 characters
src/content/en/updates/2018/03/present-web-pages-to-secondary-attached-displays.md#L233 - Line must be at most 100 characters

:+1:


Couldn't create a record with optional values by using the toRecord API

Description:
Getting the following error when trying to get the record with the option value.
import ballerina/xmldata;

type Record1 record {
    foo foo;
};

type foo record {
    int? bar;
    string car;
};

public function main() returns error? {
    xml x = xml `<foo><bar>2</bar><car></car></foo>`;
    Record1 _ = check xmldata:toRecord(x);
}

Error:
error: xml type mismatch with record type: 'map<json>' value cannot be converted to 'Record1':
                field 'foo.bar' in record 'foo' should be of type 'int?', found '"2"'

Getting an following error by this function.
xml type mismatch with record type: 'map<map<json>>' value cannot be converted to 'xmldata:Root20':
field 'Root.A' in record 'xmldata:Root21' should be of type '(float[]|int[])', found '[2.4,2.4,2.4]'

So this is blocked by this issue

This PR is merged now.


[FEAT] Add support for Magento 2 GraphQL Guest Cart Driver

:bulb: Feature request
Feature Name
Magento 2 Rest Cart Driver
The Desired Behavior
We'd add a Magento 2 driver that implements the cart interface and makes API requests to add items to/from a given cart.
Your Use Case
As a user, I'd like to be able to add items to my cart if my ecommerce platform of choice is Magento 2.
Prior Work
Here's the Magento 2 tutorial for the REST API for cart.
Here's the API Docs

@griest024

@damienwebdev Why shouldn't I use the GraphQL API for this driver? Does it not support guest carts?

Last I checked with the team at Magento, the GraphQL implementation isn't quite ready yet.

Okay. I only ask because the Magento product driver uses GraphQL.

Closing because this was addressed.


Add halinh0506.is-cool.dev.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] There is no NS Records (Enforced as of Sepetember 4th, 2024)

Description
A website about my friend
Link to Website
halinh0506.netlify.app

Please review @DEV-DIBSTER

Please review for me


Possibility of support for 1:N?

Environment

chromium Version: "118.0.0"
puppeteer-core Version: "21.5.0",
Node.js Version:  18.x
Lambda: nodejs18.x

Expected Behavior
For each processing of a lambda to use puppeteer it needs to execute launch and at the end execute close of the browser, this way every time it executes this lambda, it will execute launch the same amount of time, a complexity of 1:1 but if this browser has an instance and always reuses it, it would have a complexity of 1:N, the question is does it have an implementation or any documentation regarding support?
Current Behavior
just processing one page, using a 1:1 lambda complexity
Code
      const browser = await puppeteer.launch({
        args: chromium.args,
        defaultViewport: chromium.defaultViewport,
        executablePath: await chromium.executablePath('/opt/nodejs/node_modules/@sparticuz/chromium/bin'),
        headless: chromium.headless,
        ignoreHTTPSErrors: true,
      });

      this.logger.debug(`browser: ${browser}`);

      const page = await browser.newPage();

      await page.setContent(html);

      await page.emulateMediaType('screen');

      const pdf = await page.pdf({
        printBackground: true,
        format: 'A4',
      });

      this.logger.debug(`pdf: ${pdf}`);

      await browser.close();
      return pdf;

Possible Solution
support for 1:N?

  Put them both outside of your main loop and it will keep them open for warm starts.

Check into this- it looks like it may have a great solution for multi-run
Lambdas.

Matt

Matthew Robinson, Co-founder, Engineering
TALONhealthtech.com https://talonhealthtech.com/
On Wed, Nov 8, 2023 at 12:08 PM Gabriel Fiusa @.***>
wrote:

Environment

chromium Version: "118.0.0"
puppeteer-core Version: "21.5.0",
Node.js Version: 18.x
Lambda: nodejs18.x

Expected Behavior
For each processing of a lambda to use puppeteer it needs to execute
launch and at the end execute close of the browser, this way every time
it executes this lambda, it will execute launch the same amount of time, a
complexity of 1:1 but if this browser has an instance and always reuses it,
it would have a complexity of 1:N, the question is does it have an
implementation or any documentation regarding support?
Current Behavior
just processing one page, using a 1:1 lambda complexity
Code Possible Solution
support for 1:N?
—
Reply to this email directly, view it on GitHub
https://github.com/Sparticuz/chromium/issues/176, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAMRUX3BFDESQBVU6MUFA3YDO37TAVCNFSM6AAAAAA7DHGBJSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4DIMBUHA2TKNQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Multi-select working with creatable option

Thanks @RenaudLN. I'll make sure its available in the next dmc release.


Gallery should show which frameworks a package is compatible with

The NuGet web site (and client UI) doesn't really show which frameworks a package is compatible with. Instead, it renders the dependency groups. If there are no dependency groups, it doesn't show any frameworks:

And if there are some, it quickly looks super busy, even in packages with few dependencies (check out JSON.NET). And for meta packages it's basically not working at all (check out NETStandard.Library).
If think we want to render the lowest version of a framework that the package is compatible with. We probably also want to hide or at least deemphasize legacy frameworks:

If my package only targets .NET Standard, I should still see the list of frameworks I’m effectively compatible with (i.e. the list above). Ideally, the list of frameworks would remain the same between packages but we’d indicate unsupported ones. For instance, let’s say the package only targets .NET Framework 2.0, this is what I would expect to see:

Logically, I think we want to have a list of frameworks on the server for which we do hit testing with each package. Adding new frameworks should update the display for all packages.
.NET Standard
We probably want to treat .NET Standard specially, at least by displaying it first. If a package has .NET Framework assets, it might be consumable via the .NET Standard 2.0 compatibility mode. It seems we should think if and how we could render that information. Maybe like this?

What would this look like for packages that multi-target different versions of the same TFN? JSON.NET for example has separate versions for:

net20
net35
net40
net45
netstandard1.0
netstandard1.3
PCL junk drawer

Would it just show ".NET Framework 2.0 (or higher)"? A few of my packages also include additional features depending on what .NET Standard version you're on, so I'll multi-target accordingly.

https://github.com/NuGet/NuGetGallery/issues/2787, https://github.com/NuGet/NuGetGallery/issues/2805, https://github.com/NuGet/NuGetGallery/issues/4077, https://github.com/NuGet/NuGetGallery/issues/4598, ...

@adamralph
Fair point. So far, I've not seen any concrete proposals for a design, though.

@jbogard
Yeah, I was thinking about that too. I'm wondering if that might be too much information for the person just trying to find what would work. Another option might be icons in front of the framework name that indicates how that platform is supported (indirectly by .NET Standard, or explicitly). Multi targeting across multiple versions could be a toggle in the UI (like [x] Show lowest versions only).

https://github.com/NuGet/Home/issues/5725

Can we make things filterable in the search too?!?!? Would be amazing :)

Can we have it implemented like on fuget.org please?

@adelarsq This is out of scope right now as this work has already been merged and will be released shortly. I encourage you to create a separate issue regarding the feature request.

@JonDouglas Nice! Thanks for the reply. I will create a new request for this.

https://devblogs.microsoft.com/nuget/introducing-compatible-frameworks-on-nuget-org/
🚢🚢🚢 (Thanks to @dannyjdev & team!)


Simulate step-by-step / Support for Mujoco

Hi @gergondet
There are two parts to this issue:

Can mc-rtc be used to simulate a robot in Choreonoid "step-by-step"? What I want is the ability to be able to access the simulation state, apply control signals, (and also possibly change robot model parameters), and then increment the simulation by one timestep. And then do this in a loop. I'm not sure if this supported by Choreonoid itself or not.

If it can't be done with Choreonoid, I would like to create a "new mc_rtc interface" for the Mujoco physics engine. I guess the information I need to accomplish this should be gettable here, but until this page is available, could you please give me some pointers on where I could begin? And, do you think how easy/difficult would this task be?

Hi @rohanpsingh

Can mc-rtc be used to simulate a robot in Choreonoid "step-by-step"? What I want is the ability to be able to access the simulation state, apply control signals, (and also possibly change robot model parameters), and then increment the simulation by one timestep. And then do this in a loop. I'm not sure if this supported by Choreonoid itself or not.

This is possible on mc_rtc side. In fact this is implemented in the V-REP/CoppeliaSim interface and in the ROS ticker. I'm not sure this can be implemented in Choreonoid with the current integration between mc_rtc and Choreonoid (i.e. using the OpenRTM plugin in Choreonoid). If the OpenRTM plugin can take over the simulation stepping then it would be a good start.

If it can't be done with Choreonoid, I would like to create a "new mc_rtc interface" for the Mujoco physics engine. I guess the information I need to accomplish this should be gettable here, but until this page is available, could you please give me some pointers on where I could begin? And, do you think how easy/difficult would this task be?

Yeah. Unfortunately I didn't have the time (yet) to write the documentation of this. A good starting point is the ticker in the mc_rtc-magnum project. You would just need to change what happens here before/after controller.run() here, i.e. read sensor data from Mujoco before running, and update the command after if controller.run() is successful. If you need help feel free to ping me.

This is useful information, thanks a lot! I am a complete beginner in mc_rtc so it might take a while for me to get this done, but I will let you know here if I face issues.

Hi @gergondet
I have been trying to implement the interface with mujoco but am confused by a few things:

What is the "required" list of sensor data that mc-rtc needs from the simulator? I saw different things that mc_openrtm, mc_vrep and magnum ticker provide to mc_rtc. (perhaps magnum ticker can only provide encoder values since it doesn't connect to a dynamic simulator?)
To avoid discrepancies between our Choreonoid simulation environments and Mujoco, I want to send create direct drive actuators in the mujoco model and send directly send torque commands. Can mc_rtc provide me the toques to send using the gains defined in the robot files?
Currently, I obtain the result from QP similar to mc_openrtm in the form of target positions, compute the torque myself and apply to mujoco. In this case, the robot does large random motions in mujoco and doesn't move at all in Rviz. mc_rtc gives me the following warning:

[warning] [KinematicInertial] Real anchor frame jumped from [   0.240349 -0.00597792  -0.0275735] to [  0.162639   0.124982 -0.0821415] (error norm 0.000 > threshold 0.020)
[warning] [KinematicInertial] Skipping velocity update (anchor frame jumped)

Perhaps you cannot explain the random motions of the robot in mujoco, but still could tell if these warnings are caused due to the same reason.

If you need help feel free to ping me.

I could really benefit from your help here,  so please let me know if there is a better way to communicate with you :)