cmd/cue: get go: invalid identifier "unsafe.Pointer"

What version of CUE are you using (cue version)?

❯ cue version
cue version 0.6.0

go version go1.21.0
      -buildmode pie
       -compiler gc
       -trimpath true
  DefaultGODEBUG panicnil=1
     CGO_ENABLED 1
          GOARCH amd64
            GOOS linux
         GOAMD64 v1

Does this issue reproduce with the latest stable release?
Yes.
What did you do?
❯ cue get go github.com/cilium/cilium/pkg/k8s/apis/cilium.io/v2
invalid identifier "unsafe.Pointer"

What did you expect to see?
Successful cue get go.
What did you see instead?
invalid identifier "unsafe.Pointer"

In addition, this struct is imported as:
// Rule is a policy rule which must be applied to all endpoints which match the
// labels contained in the endpointSelector
//
// Each rule is split into an ingress section which contains all rules
// applicable at ingress, and an egress section applicable at egress. For rule
// types such as `L4Rule` and `CIDR` which can be applied at both ingress and
// egress, both ingress and egress side have to either specifically allow the
// connection or one side has to be omitted.
//
// Either ingress, egress, or both can be provided. If both ingress and egress
// are omitted, the rule has no effect.
//
// +deepequal-gen:private-method=true
#Rule: _

I guess because it's a json marshaller? I really feel this behaviour is unintuitive and wrong.
https://github.com/cue-lang/cue/issues/2466

How do we currently handle uintptr? We should probably handle both the same way, since they both represent untyped memory pointers.


chore: refactor classish parsers

@ryangjchandler RFR!

fixed promoted property flags order, add error for when multiple access flags are used: https://github.com/ryangjchandler/php-parser-rs/compare/52a36941b99c5637696353bcff05af71b6747659..7bd58273cb4e6900d85011139ec135a7781b69cc


less variable undefined

VSCode Version:
Version: 1.33.1 (user setup)
Node.js: 10.2.0
OS Version:
Betriebssystem: Windows_NT x64 10.0.17763

Steps to Reproduce:

create main.less
create variables.less
create downloads.less
import variables.less to main.less
edit downloads.less with variables
error variable is undefined

less intellisense finds the variable

Steps with no effect:

uninstall all extensions
deactivate css.validate & less.validate
change from utf8 to utf8 with bom

Someone can help? Thanks!

Likely caused by your less extension. Please report to its GitHub repo instead of VS Code.


descriptor.proto

Can we also include google/protobuf/descriptor.proto here?

Probably not (it lives in the protocol buffers repo), but we should not need it either -- protoc knows about the google/protobuf protos provided it is installed properly.

Does the internal version of protoc knows about google/protobuf/descriptor.proto? The descriptor.proto is in a different path in Google3.

Closing as resolved by the above answer.


Add type definitions.

http://definitelytyped.org/

Backport from https://github.com/taoyuan/biner after release.


quickfix reacting on replacing just subscope

https://github.com/Starcounter/starcounter-include/issues/34
To be fully addressed by https://github.com/Starcounter/RebelsLounge/issues/97 or by https://github.com/Starcounter/RebelsLounge/issues/127
Partialy remove support for non-namespaced view-models
https://github.com/Starcounter/RebelsLounge/issues/97
https://github.com/Starcounter/starcounter-include/issues/29

Please not the this is a PR on top of CEv1+remove-juicy-composition branch, which provides lots of changes by itself. I can easily chanage the base to master to incorporate all the changes including PR#45  ones.
Or do you want it to be applied only to master, without all CEv1&juicy-composition removal?

Speaking of comments formatting conventions, is that better?
if ((path.indexOf('.Html') === path.length - 5) && path.slice(10, -5).indexOf('.') === -1) { // path.match(/^viewModel\.[^.]+\.Html$/) // path === "viewModel.Html" || // covered by  viewModel._whatever_
    this.partialChanged(this.partial);
} else if ((path.indexOf('.Html') === path.length - 5) && path.slice(8, -5).indexOf('.') === -1) { // path.match(/^partial\.[^.]+\.Html$/) // path === "partial.Html" || // covered by  partial._whatever_
    this.partialChanged(this.partial);
} else if(path.split('.').length === 2 && path.indexOf('_ver#s') === -1 && path.indexOf('_ver#c$') === -1){ // if viewModel|partial._whatever_, but not _ver - scope changed
    this.partialChanged(this.partial);
} else {
    const compositionProviderPath = findCompositionProviderPath(this.partial);
    // if (path === 'partial.' + compositionProviderPath ||
    //     path === 'viewModel.' + compositionProviderPath) {
    //     // .Composition$ and .PartialId may have changed, also CompositionProvider theoretically could provide it's .Html as well
    //     this.partialChanged();
    // } else
    if(path === 'partial.' + compositionProviderPath  + '.Composition$' || path === 'viewModel.' + compositionProviderPath + '.Composition$') { // .Composition$ have changed

Personally, I find the comments non-readable.
If we will introduce a convention to always put comments for conditions at the end of the line, I'd put it into https://starcounter.gitbooks.io/guidelines/content/coding_style/javascript_code_formatting.html

I've made this newlines consistent. I hope, you find it at least slightly better than before


Confirm password functionalityfor register-form

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #1891
Summary of the Change
This update adds a "Confirm Password" functionality to the user registration form. This ensures that users correctly confirm their intended password before submitting the form, thus reducing errors related to incorrect password entries with backend logic.
Issue Fixed
The primary issue fixed by this update is preventing user registration errors due to mismatched passwords. Previously, users could accidentally enter mismatched passwords, leading to failed logins and user frustration. This update ensures both password fields match before proceeding with registration, improving the overall user experience.

Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[x] I have made this change from my own.
[ ] I have taken help from some online resources.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

This branch has conflicts that must be resolved  and create new PR!!


Add ruby blocks to lists of patterns

Some Ruby frameworks make heavy use of blocks (Rails, RSpec). This makes treesitter-context a lot more helpful in those frameworks.

We're no longer using patterns and will be switching to queries see #198 .
If you can provide a query, I'll be happy to include it in that PR.

Thanks for the update. I'll try to re-open with queries when I can, but it looks a bit more involved than this PR was 😅


Update hosting bundle link for core module doc

Update hosting bundle link for 1.0.1 release.

Thanks


Remove reference to L.Mixin.Evented

Adding compatibility for Leaflet 1.2.0, reference:
https://github.com/Leaflet/Leaflet/issues/2280

Thank you!
On Sep 14, 2017 12:49 PM, "Tobias Bieniek"<EMAIL_ADDRESS>wrote:

Merged #53 https://github.com/Turbo87/leaflet-sidebar/pull/53.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Turbo87/leaflet-sidebar/pull/53#event-1249904899, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB1puJKjzItTj7D9JHEB-oM72UljLxsFks5siYNXgaJpZM4PX6Hk
.

Hello, could you make a new release with this fix?
Thanks.


Feature request: Add ability to set fwmark on clearnet traffic

It would be extremely helpful in my scenario to have nebula set a configurable fwmark on clearnet traffic. This is a feature supported by OpenVPN and Wireguard out of the box, and allows application of routing rules based on the origin of the traffic.
For example, the default routing table could be used to direct all traffic to another nebula host, but this would create a routing loop when nebula transmits the corresponding clearnet traffic. Marking the generated clearnet traffic allows a separate routing table to be used for it, escaping the loop.
In theory, this should be as simple as calling setsockopt with SO_MARK and a user-supplied mark value on all clearnet sockets, though I will readily admit that reality is probably not so simple.

packet marking does not seem to work over a Nebula network. I am also trying to have a policy based routing setup to route back through the originating gateway. Is this something that can be fixed in settings, or is it a specific feature?


Feat: DO-2935 node grouping in fcose layout dara UI

Motivation and Context

Ability to add groupings which are collapsible in CausalGraphEditor component
Implementation Description

This PR implements the collapse and expand logic as well as the engine drawing of group nodes. As a start Fcose was adapted to support this feature.
Fcose Layout:
In Fcose layout we take advantage of compound nodes. These are node parents (which here we call group) and all its children are attracted to their position. Meaning we can have the positions of the nodes calculated separated into their own groups. Also added types for layouts that supports groups similarly to how we did it for tiers.
On the PIXI objects side:

I have updated node to have two different textures, the normal circle texture, and a square texture to support group nodes
In edge calculations the arctangent was defined upside down. I have updated so that it is defined the normal way, and hence updated the corresponding edge calculations. Have also updated to account for square nodes so that edges are still placed on its surface.
Added a new symbol to edge, the number of collapsed edges, this way we can differentiate between normal edges and group edges more easily in mixed graphs where group nodes and normal nodes may be present.
Added a new object group container, which is just the container which wraps the nodes when in the expanded state of groups.

On the Engine side:

Added new layers for group containers, including mouse events to be able to capture and display tooltip
Added a method for collapseAll and expandAll edges
Disabled editable interaction on group nodes and group edges. This is so the user can't delete a lot of hidden nodes and edges by interacting with collapsed state.

On the Editor side:

Added a new switching button to allow user to switch between collapsed and expanded states
Added a warning for when users try to add an edge among group nodes. Since it is not clear what should happen to these when the nodes expand this has been forbidden.
Updated search so that if view is collapsed and we search for a node, view is expanded to show you it

Other Improvements:

Our storybook for graph was getting out of hand with a lot of stories all defined in one massive file. I have broken these down into relevant categories, so that it now has a neater folder structure.
Fixed an issue with Legends where node and edge threw a warning if they had the same label.

Any new dependencies Introduced

None
How Has This Been Tested?

Locally on storybook
PR Checklist:

[x] I have implemented all requirements? (see JIRA, project documentation).
[x] I am not affecting someone else's work, If I am, they are included as a reviewer.
[ ] I have added relevant tests (unit, integration or regression).
[x] I have added comments to all the bits that are hard to follow.
[ ] I have added/updated Documentation.
[x] I have updated the appropriate changelog with a line for my changes.

Screenshots (if appropriate):

getting weird behavior when all the nodes within the same group (towards end of video)
https://github.com/causalens/dara-ui/assets/98322280/eccecb4e-ca07-4850-ac64-82126ccc52ac

getting weird behavior when all the nodes within the same group (towards end of video) https://github.com/causalens/dara-ui/assets/98322280/eccecb4e-ca07-4850-ac64-82126ccc52ac

Hi @claudiawestby , thanks for the feedback, I have addressed the issue for now to not allow you to remove the last node in a group and show a warning instead (we can change this behaviour in the future, it was easier to implement for now). Could you have another look and let me know if it seems ok?

Merging since will have another PR soon for d3 so can deal with any further issues that come up in that one


[Tests] add test for TimeAverageBrokerData

Modifications
add test for TimeAverageBrokerData

Thank you for your rigorous review 👍🏼 , I've been fixing some problem.
Could you review it again? @lhotari

Is the test failure caused by the environment? @lhotari

Is the test failure caused by the environment? @merlimat

they are flaky tests. I restarted the jobs

Fail again @eolivelli  :(

/pulsarbot rerun-failure-checks


Observation information is not accurate

I'm running the latest version 1.2 and am still seeing the following.
In the Observation view, 4 entries are being reported. However the listing is not correct / does not reflect the actual detail information. When I click through the observations, I have two entries with a "Warnings" flag and two without any flag.

this still applies in 1.2.1.
The overview shows 4 Observations: 1 Security, 1 Warning, 2 Info Only
When opening the observations form, I see 2 Warnings and 2 Informational entries
Maybe the Security observation is regarding the use of LDAP but there is still a mismatch between the overview and the details in the form.

@bels-ap - this fix is a "Go Forward" solution. Existing results may still have a skewed/incorrect message when selecting the Observations.
Please re-run the DLAU Scans using V1.2.1. The new results will have the correct message.

No, they do not. I did run a new scan (of course) and also created a new database with the 1.2.1 template, still the same result/mismatch.


refactor: consolidate prettier config

moves all prettier usage to the root package
adjusts prettier command to match lint-staged extensions (and runs prettier across repo)
adds lint step to CI

unclear why prettier at the root is disagreeing with cli-generated output (which runs through the same prettier version using the same config + plugin)
@dk1a do you recall any issues with this?

yes I remember it happening, but I hadn't really looked into the cause

Oh these are a separate autogen pipeline (ejs -> sol, not using prettier), so that's why they differ.


🥳 Plz add feature to ignore formatting the comment

To keep the Pretty comment in orginal form e.g ✔
<!--                   -->
<!--     Comment       -->
<!--                   -->

but now it just turn into this which is ugly ❌
<!--  -->
<!-- Comment -->
<!--  -->

有道理

I will look into it.


conduct experiment on local dataset instead of co3dv2

I have downloaded co3d_hydrant dataset as readme mentioned
Simply download the hydrant and teddybear categories of CO3D from [here](https://ai.meta.com/datasets/co3d-downloads/), extract them into the created datasets folder (see above), and rename them to hydrant or teddybear, respectively).

The structure is as the image.

But it still tried to download co3dv2. Can you plz tell me which step I have missed?
My command is
python3 -m src.main +experiment=co3d_hydrant mode=test dataset/view_sampler=evaluation dataset.view_sampler.index_path=assets/evaluation_index/co3d_hydrant_extra.json checkpointing.load=check_points/co3d_hydrant_kl.ckpt

What exactly do you mean with it tried to download co3dv2? You probably refer to the installation of the co3d code as extra package in order to use their data types etc. in the src/dataset/dataset_co3d.py. Is this a problem because of a missing internet connection? This only needs to be done once such that the directory ~/.cache/latentsplat/co3dv2 exists.
Otherwise, there might be a workaround possible by installing the respective co3d code version with pip and importing the data_types as usual then. Without having tested it: pip install git+https://github.com/facebookresearch/co3d.git@c5c6c8ab1b39c70c4661581b84e0b2a5dfab1f64 And then modify src/dataset/dataset_co3d.py by removing the install method as well as lines 55-56, adding from co3d.dataset import data_types to the imports and removing line 123 (i.e. the with-block).
Please let me know, if this resolves the problem :)

Thank you so much for your quick and patient reply! I mistook the installation of the co3d code as the dataset download. Yes, it's still the problem of my missing internet connection. Your answer has helped me solve the problem. Thank you so much.


Update styles.css

New Generation Styles!

Hi @yoginth,
Thank you for your pull request. Unfortunately I cannot merge this for a few reasons:

All dev work should be done on master, the release branch is strictly for publishing releases.
Any styling work to be included should be done in the source scss files rather than directly to the minified css.
It's not clear what this pull request actually achieves or what issues it relates to.
The changes I could see when testing the pull request were quite strongly themed and did not match the rest of the application styling.

For the reasons above I will close this pull request.

yeah fine! the customized theme is good! take a look at here https://docspen.ga/


about target domain images

I want to know if the target domain images need augment during model training? If you can help me, I will thank you so much

Yes, the target domain images are augmented with source domain images during training, but without ground-truth annotations. Only source images need to have ground-truth annotations.


bug and soulution for photoshop

Problem:
　　　photoshop display not right when enlarging the selection region.
Environment:
Remote pc : 32bit win7
Client pc : linux and android
Test software : photoshop 7.0 and photoshop CS6
Test freeRDB version: FreeRDP-1.1.0-beta-2013071101
Solution: as you can see at below, the solution is come from the Patblt API in RealOS.
Detail:

Photoshop 7.0 also has the same problem, but not so serious. Here just take the screenshot of Photoshop CS6 .
As the picture, the problem is lines are remained, and the animation of frame lines is irregular when enlarging the selection region.

How to fix this bug?
Debudding is hardly for me, but modify code is easy.
1、/freerdp/include/freerdp/gdi/gdi.h

2、/freerdp/libfreerdp/gdi/gdi.c
Function: gdi_patblt
……

3、/freerdp/libfreerdp/gdi/32bpp.c
Function ：BitBlt_PATCOPY_32bpp

4、/freerdp/libfreerdp/gdi/32bpp.c
Function ：BitBlt_PATINVERT_32bpp
The same as BitBlt_PATCOPY_32bpp
5、of course , 8bpp.c and 16bpp.c should also be modified.
The animation of frame lines is fixed, and the remained lines are improved.

When background is a colorful picture and drag quickly to enlarge selection region, there also has lines remained.

I have tested the version of FreeRDP-1.1.0-beta-2013071101 by the windows client, it also has the same problem. And this is the new bug that I am looking for help...

Working on current master 3c7cc555a5a5f02366918be7eb935bb1f22115ef


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/36202

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/39206
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.2 -m "<description of version>" f6f895b62cc789d37f5b8a3f2811e408a7c9aa7a
git push origin v0.1.2

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/39206

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/39555
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.3 -m "<description of version>" ec66a6c339b8ac58585b4470f6fefa652b02ebf3
git push origin v0.1.3

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/39555

Registration pull request created: JuliaRegistries/General/40014
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.4 -m "<description of version>" 890acae1c32d725aa60ba5ad6a7f1ab249d40613
git push origin v0.1.4

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/40014

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/40924
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.


Feature: add delay to responses (ms)

Sometimes i want to test loading-spinner UI, but the responses is too fast to see the spinner animation
Add command line options:
--delay, -d     Add delay to responses (ms)

@balalaXD probably best to use a different thing to inject the delay. It would be far too easy to get this feature confused with something else and cause problems--especially for folks using http-server in production.
Great idea in general, but probably not the best project to implement it.

@BigBlueHat a delay would totaly belong to the functionality of a simple http-server. This project https://www.npmjs.com/package/http-live-simulator  serves the same niche as http-server and has that delay implemented.


Content Publishing - Guidelines (03 Building for IBM.com)

User Story

As an IBM.com Library components adopter,

I need a way to learn more about the IBM.com Library,

so that I can learn the detail through the guidelines and adopter IBM.com Library to my day to day work properly.

Additional information
Please contact Wonil and Jenny to find out if the content should be on the Get Started page or Guideline section and as an individual page.

Work on the content by following the publishing process as much as possible and as needed.
Create the website design with the Sketch App as needed and the Sketch publishing template can be found on the BOX folder. Once complete, save the revised Sketch file in the Guideline folder / sub-folder here.
Once the content is reviewed (with stakholders or SME of the topic) and finalized.
Copy the content from the Sketch file into the .mdx file for the markdown publishing process to start.
Once complete, create the Pull Request and review, using the Preview link, to be sure it matches the Sketch file design
When ready to deploy, include Jenny as a PR Reviewer and Approver.
Jenny will review and merge the PR

Acceptance criteria

[ ] Content crafting is done.
[ ] Asset image creation is done (if needed)
[ ] Page design is done (if needed)
[ ] Publishing with markdowns is done.
[ ] QA'd by Jenny
[ ] Web page preview is approved by Linda, Jeff, and Wonil
[ ] Web page is published

@wonilsuhibm From the Airtable inventory document, this guideline is in work progress. Can you share updates and an estimated Milestone for the task to be completed?

This task is in the prioritization and still relevant.
This task is to create a guideline for development for IBM.com but not designing for IBM.com.
http://ibmdotcom-web-components.mybluemix.net/?path=/docs/overview-building-for-ibm-dotcom--page

This task no longer relevant after further investigation. This task was created before the Building for IBM.com section was added to the Developing page. There's also a Building for IBM.com card listed under the Development resources section on the Resources page.
@RobertaJHahn Task issue can be closed.


pyspread: fix build and simplify expression

Motivation for this change
fixes https://github.com/NixOS/nixpkgs/issues/117896
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @lokegustafsson

Thanks!

Can someone test Darwin?

Can someone test Darwin?

WFM macos 10.14 (though most of the icons are missing, perhaps this was always the case on macos)


fix: cli should support parse catalog provider

When doing local install, add SERVER_BUILTIN_CATALOG_PROVIDER environment to docker run command

Problem:

walrus local doesn't support setting gitee as catalog provider.
Solution:

Related Issue:

Ok, then I will close this PR


Convert block type if block is empty or pasting at beginning - Fixes #302

Potential fix for https://github.com/facebook/draft-js/issues/302

Would be great to get this merged

@spicyj updated!

Thanks!
@facebook-github-bot import


Retinanet Pretrained models

❓ Questions and Help
Hi,
I wanted to train retinanet 50 FPN with 2 classes. I downloaded the pre-trained models from #102 and chopped off cls_logits variables to fit my classes. Started train_net.py and it did not train at all, rather it directly went ahead and did the testing part on my test dataset.
Could you please let me know if I am missing some procedure.

I think i need to delete the optimizer and scheduler dict, if I am not wrong before using the pre-trained model.

Update: This did work on my dataset but the inference speed is slower than the resnet50 FPN models!
Any pointers as to why this is happening?

I think i need to delete the optimizer and scheduler dict, if I am not wrong before using the pre-trained model.

@Darshan2701 hi，i have same prolerms like you. i want to retrain my new datasets based on pretrained model_final.pth.And i delete  optimizer， scheduler and iteration dict too, it did work when  run train_net.py, but finally, has no new model_final.pth file generated,what's wrong ? thx....

@tangze5258 Were you able to solve this?
Sorry for the delayed ask but.

@tangze5258 I think u need to save the new model_final.pth in a different folder than the one used already as a new pre-trained model.


Camera is not launched when device is in flight mode

Describe the bug
When device is set to flight mode the camera will not be launched when entering "SCAN" screen. There is also no error message. Disabling flight mode on device will display camera
To Reproduce
Steps to reproduce the behavior:

Launch app
Set device to flight mode and enter "SCAN" screen. Note that camera is not displayed
Disable flight mode and enter "SCAN" screen. Note that camera is displayed

Expected behavior
Camera should be launched also when in flight mode
Reproduced on:
96f04ca

Tested on 76822dc. Working as expected, message will now be displayed about disabling flight mode.

Tested on 0.3.0 rc1. Working as expected


Example on how to use JWT with RSA

Is there an example of how to use the jwt::RSA with a private key (passphrase)?
I see that in the example for RSA, it specifies a key as an input, but an example on how to use it from a keystore or directly from a file read would be appreciated.

Hey @mirzaciri, thanks for taking an interest!
You could use the readUrl function to read from a file, for example:
%dw 2.0
import * from jwt::RSA

output application/json
var key = readUrl("classpath://mySecret.txt", "text/plain")

---
{
	token: JWT(
		{
			iss<EMAIL_ADDRESS>			aud: 'https://oauth2.googleapis.com/token',
			scope: 'https://www.googleapis.com/auth/drive.readonly',
			iat: now() as Number { unit: 'seconds' },
			exp: (now() + |PT3600S|) as Number { unit: 'seconds' }
		},
		key
	),
	expiration: now() + |PT3550S|
}

Regarding a keystore, I guess it would depend on each particular case. However, this is out of scope for this library, so we won't be adding this example case to the repo.
Let me know if you need help with anything else.

Hey @mirzaciri, thanks for taking an interest!
You could use the readUrl function to read from a file, for example:
%dw 2.0
import * from jwt::RSA

output application/json
var key = readUrl("classpath://mySecret.txt", "text/plain")

---
{
	token: JWT(
		{
			iss<EMAIL_ADDRESS>			aud: 'https://oauth2.googleapis.com/token',
			scope: 'https://www.googleapis.com/auth/drive.readonly',
			iat: now() as Number { unit: 'seconds' },
			exp: (now() + |PT3600S|) as Number { unit: 'seconds' }
		},
		key
	),
	expiration: now() + |PT3550S|
}

Regarding a keystore, I guess it would depend on each particular case. However, this is out of scope for this library, so we won't be adding this example case to the repo.
Let me know if you need help with anything else.

thanks for the reply @teofr
From my understanding, and after looking at the readurl, it does not support opening it up with a password/passphrase.
And if that is not supported, and as well as Keystore, then the JWT with RSA (private key) is not supported, don't you agree?
Storing the content of the certificate in plain text is not secure.
I know one solution is to have it as a encrypted value in a config file using secure properties, but that is also not a good solution.

Hey, I agree that storing it in plain text is not a good idea, I misunderstood you. There are other options available, like using environment variables, or passing the key as an input to the mapping, that can be easily used in DW today.
This library is intended only for the JWT generation, storing and retrieving keys is not part of this functionality (and it could be useful in other places as well), so it should probably be considered for another library.

Hey, I agree that storing it in plain text is not a good idea, I misunderstood you. There are other options available, like using environment variables, or passing the key as an input to the mapping, that can be easily used in DW today.
This library is intended only for the JWT generation, storing and retrieving keys is not part of this functionality (and it could be useful in other places as well), so it should probably be considered for another library.

I guess that makes sense, thanks for the explanation @teofr
ill try and find a way to view the content of the certification in a different way then!


PR for issue 4270

fix for copying single object

@siva-krishnaswamy Please add unit test. If the list has one element, was it not working?

@Samuelopez-ansys , Sorry it was working fine. I will remove this PR.


Don't call install if leapp already installed

OAMG-10417
SSIA

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7bd3516) 100.00% compared to head (ba74df2) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          305       309    +4
=========================================
+ Hits           305       309    +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Remove explicit nil checks

Use more idiomatic ? syntax

@mhelmetag would you be able to take a quick look at this when you get a moment?

@bmulvihill , sorry about that!
Yeah this looks fine. I know that the hash lookup with ? is idiomatic but is it for type inference as well? Seems like it would be JSON::Any | Nil or something like that. Unless the ? is just syntactic sugar for that same statement.
No complaints here though. Just curiosity.

@mhelmetag From my understanding Type? is syntactic sugar for Type | Nil


Issue #383:  Open Horizon logo and navbar search fix

Signed-off-by: Dipesh Rawat<EMAIL_ADDRESS>Pull Request Template
Description
Fixes https://github.com/open-horizon/open-horizon.github.io/issues/383
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] This change requires a documentation update

How Has This Been Tested?
Visit https://open-horizon.github.io/ in the Firefox, Chrome and Safari browser.
Additional Context (Please include any Screenshots/gifs if relevant)

...
Checklist:

[x] I have tagged the reviewers in a comment below incase my pull request is ready for a review
[x] I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that you wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@johnwalicki I'm raising this draft PR with fix for #383

Looks great on Firefox now.  Thanks!


Add a Digital Clock Extension.

Is your feature request related to a problem? Please describe.
I can add a digital clock extension which displays date and day along with time.
Describe the solution you'd like
I will use HTML,CSS and JavaScript for this.
Features
Displays date,day along with time.

Closing this as exists #185


improve function argument names in docs for a bunch of functions

These now either match the source code (e.g., ST_MakeEnvelope()), or match the description in the docs (geom1, geom2).

Hi! Thanks a lot for this PR and the help on improving the docs.
This should probably also be documented (ha), but the source-of-truth for the function reference is in the c++ files themselves, the markdown itself is generated by executing the generate_function_reference.py script in the root of the directory.
To add function parameter names for e.g. ST_MakeEnvelope you'd have to add
DocUtil::AddFunctionParameterNames(db, "ST_MakeEnvelope", {"min_x", "min_y", "max_x", "max_y"});

after the RegisterFunction call in e.g. `src/spatial/core/functions/scalar/st_makeenvelope.cpp:58
We're planning to rework this in the future so that all functions are declared separately with their names/parameters/types/overloads/descriptions/examples in e.g. json files from which we can generate both the markdown docs and scaffold the c++ stubs from.


[REEF-553] Remove code deprecated during checkstyle violations cleanup

This addressed the issue by

Removing deprecated fields and methods

JIRA:
REEF-553

This looks good, I will merge.


v4.12.x - only render EditableGraphValue if the axis is numeric

@bacalj , I've created this PR to include your change in 4.12.x release branch. Can you please review this once the tests finish?

Yeah, that sonsole.log doesn't seem to be relevant. I'll merge it in.


Rework command calling, improve :substitute

This reworks the way commands are called. Commands are now called with an object
{ range, args, vimState, exState, editor }

instead of a long list of arguments so they can access more information without bloating the function definition.
This PR also improves :substitute so that it replaces escape sequences and allows replacing with an empty string. It also integrates with the vim search history so that you can replace the last search (:s//abc) and so that the patterns from :substitute also get pushed to the search history.

The write function is actually called with an object
{ range, args, vimState, exState, editor, saveas }

now.


Running Demo Encounters Issues on WSL 2

Description:
I am currently attempting to run the demo within a WSL 2 environment. Despite configuring my .wslconfig file with the recommended settings (networkingMode=mirrored and hostAddressLoopback=true) from https://github.com/microsoft/WSL/issues/10494, I am encountering difficulties accessing the demo application via http://localhost:8081.
When I initially tried mapping the container's port to localhost:8080, I received an error indicating that the port was already in use:
docker: Error response from daemon: driver failed programming external connectivity on endpoint suspicious_joliot (4d6e890f2e22eb4f19366388765105e795725b20f90b1f55fb61f3bf77680a5c): failed to bind port <IP_ADDRESS>:8080/tcp: Error starting userland proxy: listen tcp4 <IP_ADDRESS>:8080: bind: address already in use.

As a result, I modified the Docker run command to map the container's port to localhost:8081 instead, but the service remains inaccessible from the Windows host.
Steps to Reproduce:
Configured .wslconfig file with the following settings:
[experimental]
#autoMemoryReclaim=gradual # 可以在 gradual 、dropcache 、disabled 之间选择
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
sparseVhd=true
hostAddressLoopback=true

Verified that Docker is up to date (docker -v confirms version 27.3.1).
 docker -v
Docker version 27.3.1, build ce12230

Ran the Docker container using the command with port 8081:
docker run --rm \
    -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
    -v $HOME/.anthropic:/home/computeruse/.anthropic \
    -p 5900:5900 \
    -p 8501:8501 \
    -p 6080:6080 \
    -p 8081:8081 \
    -it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest

Attempted to access the application through http://localhost:8081.
Expected Behavior:
After starting the Docker container, the application should be accessible through http://localhost:8081.
Observed Behavior:
The service seems to be launched successfully but I can't access the http://localhost:8081 from my browser.here is the output and screenshot on browser：
docker run --rm \                                                                                ─╯
   -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
   -v $HOME/.anthropic:/home/computeruse/.anthropic \
   -p 5900:5900 \
   -p 8501:8501 \
   -p 6080:6080 \
   -p 8081:8080 \
   -it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
Xvfb started successfully on display :1
Xvfb PID: 9
starting tint2 on display :1 ...
starting mutter
starting vnc
PORT=5900
starting noVNC
noVNC started successfully
✨ Computer Use Demo is ready!
➡  Open http://localhost:8080 in your browser to begin
x11vnc process crashed, restarting...
x11vnc stderr output:
24/10/2024 09:06:21 No client after 60 secs.
24/10/2024 09:06:21 deleted 32 tile_row polling images.
starting vnc
PORT=5900
2024-10-24 09:06:47.965 Did not auto detect external IP.
Please go to https://docs.streamlit.io/ for debugging hints.
x11vnc process crashed, restarting...
x11vnc stderr output:
24/10/2024 09:07:28 No client after 60 secs.
24/10/2024 09:07:28 deleted 32 tile_row polling images.
starting vnc
PORT=5900
x11vnc process crashed, restarting...
x11vnc stderr output:
24/10/2024 09:08:35 No client after 60 secs.
24/10/2024 09:08:35 deleted 32 tile_row polling images.
starting vnc
PORT=5900

System Details:
Operating System: Windows 11
WSL Version: <IP_ADDRESS>
Linux Distribution: Ubuntu 20.04
Docker Version: 27.3.1

Is there any additional configuration required in the .wslconfig file or elsewhere to ensure that the services are correctly exposed and accessible from the Windows host? Is the port mapping issue related to the networkingMode=mirrored setting?

By temporarily disabling the mirrored network mode in .wslconfig I solved this problem

But I don't have any credit left on my account to test it, and I thought I was getting a $5 credit from the Anthropic:-(


Get the counter of the PIN retries

Pkcs11Interop: v5.1.0
S.O: Windows 10
SmartCard Provider: G&D Sm@rtCafe 5.x
Library: aetpkss1.dll
Hi,
first of all, thanks for these amazing ecosystem (Pkcs11Interop, Pkcs11Admin, etc...), it would be very frustrating and difficult to develop something without all the help of these projects.
I´m trying to get the counter of the PIN/PUK retries. My card provider has the option with the dll and his software, but with Pkcs11Interop I don´t see the methods to get the counter.

There are any way to get the counter?
If there is no way to get the counter and the max retries are always the same (3, but I´m not sure if it´s always same or can be changed), maybe playing with the status properties I could get the counter in the way:

3 retries

User PIN count low = false

2 retries:

User PIN count low = true
User PIN final try = false

1 and last try

User PIN count low = true
User PIN final try = true

Thanks!

I highly doubt that 2/3 information on your screenshot was acquired via standard PKCS#11 API because standard PKCS#11 API does not provide any means to read the number of authentication retries etc. All it provides are those flags that you already found. And yes most of the cards I've seen allows those numbers to be customized (not via PKCS#11 API though) so your best bet is to contact device vendor and ask for more information on how to read those numbers.


Add shortcuts for the main hosts file to compare.

Presently if we just say,
$ ghosts

We use default to https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts as the main hosts file.
Introduce shortcuts, such that
$ ghosts -m f  ## uses the fakenews hosts file

$ ghosts -m fs  ## uses the fakenews and social media hosts file

$ ghosts -m gfs  ## uses the gambling, fakenews, and social media hosts file

The shortcuts are to be in alphabetic order.
Use b or base as a shortcut for the base hosts file.

Still todo:

[ ] Tests for the shortcuts
[ ] Document the shortcuts


feat: add nestjs integration

let's make it easy for nestjs users to integrate with Scalar ✨
with an amazing theme made by @cameronrohani

@hanspagel , i wasnt sure on the best way to add an example. it seems like nestjs needs typescript? looking for feedback on this :) happy to remove the examples folder for now


Numeric mask with maxlenght

First of all, thank you. This is awesome!!!
The problem is that you can't backspace after reaching the maximum number of characters.
https://jsfiddle.net/fncomtxr/

Try going with Decimal over numeric, seems to fix it:
https://jsfiddle.net/dfv6gL8v/1/

@mj-nico23 ,
Yes I see.  I will solve this at a later point.  You can work around it by specifying a maximum or defining integerdigits and digits to limit the number.
The solution to implement would be to calculate these properties based on the given maxlength


[Fix][UI Next][V1.0.0-Alpha] Fix the English display problem of timeout alert minute

close #8940

Codecov Report

Merging #8950 (1c22421) into dev (4bb85dd) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

:exclamation: Current head 1c22421 differs from pull request most recent head 016a13c. Consider uploading reports for the commit 016a13c to get more accurate results

@@             Coverage Diff              @@
##                dev    #8950      +/-   ##
============================================
- Coverage     39.77%   39.76%   -0.01%
+ Complexity     4265     4264       -1
============================================
  Files           808      808
  Lines         32548    32550       +2
  Branches       3649     3649
============================================
- Hits          12946    12945       -1
- Misses        18376    18378       +2
- Partials       1226     1227       +1

Impacted Files
Coverage Δ

...ugin/datasource/oracle/OracleDataSourceClient.java
0.00% <0.00%> (ø)

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

Continue to review full report at Codecov.

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


feat(ui): supported separated tags and glossary column in dataModel entity

Describe your changes:
Fixes for DataModel Entity : https://github.com/open-metadata/OpenMetadata/issues/11281

Supporting separate tags and glossary column in DataModel entity table
Supporting for DataModel version page to

Type of change:

[ ] Bug fix
[x] Improvement
[x] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

sonarcloud bug has been taken care in https://github.com/open-metadata/OpenMetadata/pull/11600 PR.


2.4 version and drop 10.7?

It's been almost 2.5 years since the last release, I think it's time for a new one. I think we should drop 10.7, as there are several branches in the code that split off for 10.8+ functionality, so it will let us simplify things. Also bump to version 2.4.
@percontation

Sounds good. My call would be waiting to drop the 10.7 code until after the release.

OK, I bumped the version - think it's ready for release if you want to make the build.

👍 I'll get around to it in a bit. I feel obliged throw 10.7 (or at least, like, 10.9) on a VM to make sure the release launches there first.

I made a build via xcodebuild -config Release -scheme "Release" and tested on 10.7 without any issues.

Great, sounds like we're set then. Go ahead and post it!

I don't have the certificate that was used for the last build, which is self-signed. We really should use a developer ID certificate to avoid warnings when opening. What do you think?

Right, IIRC I just made a temporary cert to sign the last release (I vaguely remember something not working right if there was no signing at all, maybe an issue surrounding the privileged helper tool?).
If you have an official cert and would be willing to sign HexFiend, that'd be sweet. If not, meh, not worth $99 to me :|

Ok, I'll look into it tonight. Will need to update the project because the code signing identity needs to be put in the Info.plists. I'll try to make it generic.

In Xcode 8 you kinda have to sign it, but now your Apple ID includes a private certificate for free.
Since you're not distributing this on the App Store, I don't see why that wouldn't work.

Just posted v2.4 release using my Developer ID.


Issues with using pre-trained weights Resnet50.npy with RetinaNet

Hi, I have tried several pre-trained Resnet50.npy models to train the RetinaNet using the exact commands provided in the readme here.
However, after 40 50 iterations the loss becomes NaN everytime.
Example pre-trained model I tried:
https://lexiondebug.blob.core.windows.net/mlmodel/models/res50.npy
Could you provide the pre-train model you use to train your models, or please guide me what else could be the problem here?
Thanks alot

https://drive.google.com/file/d/0B_xFdh9onPagSWU1ZTAxUTZkZTQ/view

Thanks a lot!!! seems to be working fine.
will provide further feedback when training finishes.


mastering-plone-5-development.readthedocs.io

https://mastering-plone-5-development.readthedocs.io
Still indexed.
Any reason to keep?
If not, this should be eliminated. It's misleading to outdated content.
Example:
Search for "Plone registry"

If it's operated by Plone, then it should go away. Who maintains it?

If it's operated by Plone, then it should go away. Who maintains it?

I guess @pbauer is maintainer.

The source is https://github.com/bfreitas05/training.
@bfreitas05 would you please take down this obsolete training? It interferes with SEO for current Master Plone 5 Training. Please let us know. Thank you!

I filed a support request on RTD: https://readthedocs.org/support/

Hello,
https://mastering-plone-5-development.readthedocs.io/en/latest/ is an outdated version of Mastering Plone 5 Development. It appears in search engine results, which takes away from the authoritative archived version at https://2023.training.plone.org/mastering-plone-5/index.html#mastering-plone5-label.
I have tried to reach out the user @bfreitas05 in https://github.com/plone/training/issues/700 to remove the site, but have received no response.
Would you please take down that site and project? Thank you!
--steve

RTD was super quick. Closing as complete.


The operation is insecure when trying to open a DB from Google Drive

what were your actions?

Trying to open my vault from Google Drive. This worked fine up to a few hours ago.

what was wrong?

Getting "The Operation is insecure"

app version

web version (https://app.keeweb.info) https://github.com/antelle/keeweb/commit/87dc496790fbaba9bfa1db91e0cc99e4189d5c2f

your user-agent (from Settings/Help section)

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

does it happen on Demo or New database?

My personal database

please, open dev tools in your browser and attach output log from Console tab
(if you are using desktop app, devtools can be opened from Settings/General/Advanced)
2016-04-20T22:33:47.574Z [open:daraul] File open request app.keeweb.info:14:24849
2016-04-20T22:33:47.575Z [open:daraul] Open file from cache, after load will sync gdrive app.keeweb.info:14:24849
2016-04-20T22:33:47.576Z [storage-cache] Load 8cc9191c-390d-24a2-e569-02a1e41db40e app.keeweb.info:14:24738
2016-04-20T22:33:47.583Z [storage-cache] Loaded 8cc9191c-390d-24a2-e569-02a1e41db40e 3ms app.keeweb.info:14:24738
2016-04-20T22:33:47.584Z [open:daraul] Loaded file from cache null app.keeweb.info:14:24849
2016-04-20T22:33:47.709Z [file] Error opening file 18 The operation is insecure. DOMException [SecurityError: "The operation is insecure."
code: 18
nsresult: 0x80530012
location: https://app.keeweb.info/:6] app.keeweb.info:14:25069

2016-04-20T22:33:47.710Z [open-view] Error opening file DOMException [SecurityError: "The operation is insecure."
code: 18
nsresult: 0x80530012
location: https://app.keeweb.info/:6] app.keeweb.info:14:25069

I confirm, Firefox is totally broken after the last update. The patch will be released today.

The patch has arrived. Thanks for fast reporting!  🎁


Update Tests

test_filter_in_list: weerspiegelt de relatie incorrect. moet externe functie worden is_in() of dergelijke
https://github.com/europowergenerators/BetterOdooApiWrapper/blob/d29ac660259b25714358c4309b43b5d1a475699b/tests/test_filter_operations.py#L29-L33

test_filter_ilike: kan worden vereenvoudigd tot "john" in x.name
https://github.com/europowergenerators/BetterOdooApiWrapper/blob/d29ac660259b25714358c4309b43b5d1a475699b/tests/test_filter_operations.py#L35-L38

We should extend this issue to cover all the other missing search operators, including:
- like
- not like
- ilike
- not ilike
- in
- not in
- =?
- child_of

Source: Cybrosys: How to use search domain operators in Odoo 17
For consistency, we can handle like and in by overriding Python's contains method. However, cases like ilike will likely require a custom function due to their specific behavior.
To maintain clarity and reduce complexity, we should standardize on either overriding default operators or using custom functions for all cases, rather than mixing the two approaches.
What do you think @Bert-Proesmans ?

To maintain clarity and reduce complexity, we should standardize

I don't think standardizing is a way forward at this point. Experiment with different API methods and see what sticks best.
Other than using a freestanding function that wraps internal methods on the proxy types, I have no idea.
My mind is hung up on the fact that executing the lambda is required to parse its syntax, I'm gonna experiment further into the direction that eliminates that aspect. This doesn't explicitly solve how to implement the advanced operators, but will have some overlap.


#3 refactor terraform cli

into bash script for gitpod.yml

We refactor the Terraform CLI to be a bash script which is executed in the Gitpod.yml file.


Usage of "limit" in timelineoptions is not clear

https://github.com/microsoft/vscode/issues/91330
I haven't ran code with it yet, but from reading the API I'm not totally sure how I would use TimelineOptions.limit
  /**
   * The maximum number or the ending cursor of timeline items that should be returned.
   */
  limit?: number | string;

Maybe my mental model of paging coming from db/service land is preventing me from understanding it totally, but the docs could be better here. I'm not sure exactly when I would get a number versus a string versus undefined and how I would deal with those, and I'm not sure how limiting by a cursor would work.
Also, how would limit work and interact when options.before == true?

Thanks, I'll clarify it better in the docs.
Limit only applies when before isn't true. And if its a number, then you should only return that many items. If its a string, it should be treated as and ending cursor, so you should return all items between the cursor (if there is one) and the limit cursor.
I didn't want to introduce an endCursor or something like that, because it leaves it very ambiguous as to when the number limit would apply vs the ending cursor. But I'm certainly open to suggestion here.

What's the benefit to having an ending cursor as an alternative to a numeric limit? As an implementor, I'll be handling the numeric limit anyway, I would just need to write extra code to handle an end cursor.

Closing as a duplicate of #91722


Double-click on sidebar right-border doesn't adjust sidebar width

Description
Double-clicking on explorer sidebar's right border would previously adjust its width. Now it doesn't. This occurs only with the explorer.
See:
https://user-images.githubusercontent.com/16353531/232835463-6e246e9f-6166-49bf-a59a-b18641043dcc.mov
Version info
Version: 1.78.0-insider (Universal)
Commit: 95396f14dbae4d5def754d8635010f8e5743f56c
Date: 2023-04-18T05:24:10.529Z
Electron: 22.4.5
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.4.0
Sandboxed: Yes

Anything else I'm missing?

I'm getting this exception when I double-click on it
 ERR Cannot read properties of undefined (reading 'getHTMLElement'): TypeError: Cannot read properties of undefined (reading 'getHTMLElement')
    at Gs.getOptimalWidth (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2495:65215)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2485:36684
    at Array.map (<anonymous>)
    at e.ExplorerViewPaneContainer.getOptimalWidth (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2485:36675)
    at O.getOptimalWidth (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2485:55537)
    at get preferredWidth [as preferredWidth] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2492:13150)
    at b (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:175:60200)
    at l.j (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:175:60365)
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:91:27515
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:91:27156
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:91:27156
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:175:27925
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at p.C (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:138:12016)
    at g.invoke (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:145)
    at o.deliver (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:2121)
    at s.fire (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:1729)
    at HTMLDivElement.S (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:93:8905)

vscode version
Version: 1.78.0-insider (Universal)
Commit: 657bb89984f37b810b250955570593cde0cd62eb
Date: 2023-05-02T11:25:59.772Z
Electron: 22.4.8
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.4.0
Sandboxed: Yes

Probably not a good fix but just to see if you're in a bad state can you do Reset View Locations via the command palette and see if that helps?

And you're not seeing any other issues with the explorer besides this?

No. Explorer seems to work well except for this problem

If you figure out repro steps please let me know as I've been dragging the bar around a bunch and cannot reproduce yet.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Tidy documentation

fix typos
rename E to Ctx to disambiguate Executor and ExecutionContext
fix error checking in Echo example
use a numbered list for the documentation of the spawn overload set.

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #6   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         109    109
=====================================
  Hits          109    109

Impacted Files
Coverage Δ

include/ufiber/ufiber.hpp
100% <ø> (ø)
:arrow_up:

include/ufiber/impl/ufiber.hpp
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add entry for Solaris

Solaris is a free, open-source multiplayer online strategy game.
Thank you for running this list!

Thank you for the addition.


[Table] Default display style for all table components

This is to be able to use div or any other tagName (<TableCell component="div"> for example), while preserving table styling (similarly to what google-drive does for example in the file list)
It was already done in TableRow
note: should maybe add MuiTableHead/Body in styles/overrides.d.ts

@caub Thanks


New markers added with MarkerCluster.addMarkers don't show until the map is moved

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report
[ ] feature request

If you choose 'problem or bug report', please select OS:  (check one with "x")

[x] Android
[ ] iOS

cordova information:  (run $> cordova plugin list)
com.googlemaps.ios 2.5.0 "Google Maps SDK for iOS"
cordova-plugin-googlemaps 2.2.2 "cordova-plugin-googlemaps"
cordova-plugin-whitelist 1.3.3 "Whitelist"

Current behavior:
When I add markers inside a markerCluster with his method "addMarkers", I can't see the new markers until I move the map.
Expected behavior:
I should see the new markers when added, without moving the map.
Screen capture or video record:
mapsTest.zip
Related code, data or error log (please format your code or data):
https://github.com/danieleLewis/cordova-map-test-cluster

Not bug. The marker cluster redraws when the map is moved.

So, if I add a marker to the map it displays, if I add a marker inside a cluster I need to to move the map to see it. How can this be normal?
On iOS I don't need to move anything for displaying the new markers.
Is there a way to trigger the redraw of MarkerCluster from js?

If you see the source code, you will notice the answer (that's why open source)
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/master/www/MarkerCluster.js

Can you just tell me how to trigger the redraw? I have not the time to read a 1200 line js.
I tried with map.panBy(1,1) but it doesn't always work.

Try<EMAIL_ADDRESS>

The 2.2.3 update fixed this. Now it redraws on map move, thank you!

You are welcome.


FSharp Notebook sample is broken

Describe the bug
Please provide as much information as you can.
Did this error occur while using dotnet try or online?

[x] dotnet-try
[ ] online

What kind of error was it?

[ ] User Interface (UI):  For example the output never displayed
[ ] Service Error: For example "The service is temporarily unavailable. We are working on it"
[x] Other: Sample code is not working

Screenshots
If applicable, add screenshots to help explain your problem.
When running this file, I got some errors.
https://github.com/dotnet/try/blob/001b36724d769e844a53b22e3833a23caed3dc68/NotebookExamples/fsharp/Samples/Repo Statistics.ipynb
NET Core 向け Microsoft (R) Build Engine バージョン 16.3.0+0f4c62fea
Copyright (C) Microsoft Corporation.All rights reserved.

/var/folders/d1/gw65qzfn4q1gt2h22xz7hb440000gn/T/nuget/79462/Project.fsproj : error NU1101: パッケージ 2.4.6 が見つかりません。ソース local, nuget.org には、この ID のパッケージが存在しません。
/var/folders/d1/gw65qzfn4q1gt2h22xz7hb440000gn/T/nuget/79462/Project.fsproj : error NU1101: パッケージ 0.32.0 が見つかりません。ソース local, nuget.org には、この ID のパッケージが存在しません。
  /var/folders/d1/gw65qzfn4q1gt2h22xz7hb440000gn/T/nuget/79462/Project.fsproj の復元が 1.27 sec で失敗しました。

/var/folders/d1/gw65qzfn4q1gt2h22xz7hb440000gn/T/nuget/79462/Project.fsproj shows that
  <ItemGroup><PackageReference Include = 'Octokit' Version = '0.32.0'><GeneratePathProperty>true</GeneratePathProperty></PackageReference></ItemGroup>
  <ItemGroup><PackageReference Include = 'NodaTime' Version = '2.4.6'><GeneratePathProperty>true</GeneratePathProperty></PackageReference></ItemGroup>
  <ItemGroup><PackageReference Include = '0.32.0' Version = '*'><GeneratePathProperty>true</GeneratePathProperty></PackageReference></ItemGroup>
  <ItemGroup><PackageReference Include = '2.4.6' Version = '*'><GeneratePathProperty>true</GeneratePathProperty></PackageReference></ItemGroup>

It seems to be wrong that way to specify package version.
Actually in this PR (https://github.com/dotnet/fsharp/pull/7796/files#diff-e68c01be7bd8c62e32c0355823a810daR91) shows
#r "nuget:System.Collections.Immutable.DoesNotExist, version=1.5.0"

I'm already ready to submit Pull Requests that fix this issue
https://github.com/dotnet/try/compare/master...yamachu:fix-fsharp-sample
But README shows...
https://github.com/dotnet/try#contribution-guidelines
It would be better that I wait for a fix it?
Thanks.
Please complete the following:

OS

[ ] Windows 10
[x] macOS
[ ] Linux (Please specify distro)
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Safari

@yamachu,
thanks for the notification.
The syntax for F# #r "nuget:" not requiring version= was updated in the F# repo, but it has not made it into the try.net repo yet.
Your PR looks good, please generate a PR for it, and we can consider merging it.
Thank you
Kevin

@yamachu,
I have just synched and built the latest dotnet try and now the integrated F# supports the positional version argument :-)
Please re-open this issue if you still see the problem.  And thanks for the report.
Kevin


Facing some Issue when i try to run main.py

Dear Naveen,
I think the problem is with the file format.
For some reasons we used jpg instead of png during training.
I will fix the code asap, in the meantime you can adjust it by yourself checking the "jpg" lines directly in the code or the file format.

Thank you.. it fixed my issue


footer looks bad on desktop blog pages

blog has smaller margins, centered footer is weird under that
center footer under content section instead of whole page?

footer is centered at window width
can it be centered on L side of window to R side of content?
alternately, put the contact info in its own page and move the timestamp to the bottom of the left nav?


Krastorio2 compatibility

This is a workaround for the roboport modi added by Krastorio 2.
Issue was, that the current script only adds items and their place results as dummies. But the new roboport modi do not have an item and only exist as entities.
I manually added all roboport variations added by Krastorio, but there is probably a cleaner way to automatically find these.

I'm pretty sure a place item was a requirement for an entity to be blueprintable in the first place which is the main reason I only create dummys for place results. So how are the diffrent modi BPable in the first placce. If I can figure that out it may be possible to turn this into a more generalized fix for any entries that are BPable without having an item that places it.
Also instead of hardcoding the roboports a better way would be to loop trough every roboprot in  Data.raw["roboport"] and apply it to all roboports, that way it works for any arbitrary mod that adds new types of rob port.

It uses the placeable_by member variable.
So maybe it is enough to create an dummy entity on each entity where that variable is set. Since this variable is used by blueprints to determine the items needed, I would assume that this should work.

I did an approach with a loop. Not pretty but works. I also found some more issues while testing, mostly related to space eploration but probably not unique to it.
Short explanation for line 343 to 353. I found at least one entity, where the placeable_by item did not exist as a ghost on water dummy. Therefore I just skipped over them for now.
If you are interested, I tried my hand here at an completely generic approach with the placeable_by entry, but got some errors that some item dummies don't have an entity dummy. Since I have no idea how i could debug that except printf-debugging, I stopped there for now.

I actually made another change which should now cover all entities which can be placed by a different item.
In Space Exploration are some items which can be placed on different surfaces and depending on which surface they are placed on, a different entity is placed.
But there is still an issue with muti-entities (a single entity which actually consists of multiple entities.) I will create a separate issue for this.

You're still checking data.raw.roboport[dummyName] to see if the dummy entitles already exists, so that wouldn't work for non rob port entities, you'd either have to get all entities again (the same way Entity Table is created, which can't be used for this check since it wouldn't be up to day and check that or add a table to keep track of generated water ghost entities).
It's also missing the check to see if the original entity is already water placeable (entityCollidesWithMask).
Other then those two things this looks good and I'll check to see if it works and merge as soon as I've got the time.

I now properly check if a dummy entity was already created and added the check if it is already placeable on water.

I'll look at it and test it as soon as I've got the time, if it works I'll merge and release an update


suspend add can not restart

Version 0.15.0
I use Marathon to create a very simple app, and suspend it, then I can not restart it. it's always in suspend state.

"Suspending" an application from the UI scales it down to 0 instances. When you click on "restart", Marathon will try to restart all tasks, but because there are no running tasks, it will do nothing.
What you have to do is scale it up to 1 or more instances.
cc/ @pierlo-upitup @leemunroe as I think there's room for improvement in the UX

Oh, good point. suspend/restart can definitely be cause of confusion, as the terminology suggests a pause/play kind of interaction.

Thanks @fanzhiwei2015
What would be the better behavior here?
I have an app at 3 instances, I hit suspend, then I hit restart

App starts up with 3 instances
Modal dialog appears and asks "How many instances do you want to scale to?"

Option 3: If an app is suspended, then the "restart" button should be hidden/disabled.

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2858. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


relay (fRelayTxes) field when parse Message::Version from the remote node should be optional

The relay field read from the Message::Version should be optional as it implemented in zcashd:
https://github.com/zcash/zcash/blob/6284f3f8b08aa1f5fcaa27a8a4088fb204364401/src/main.cpp#L6505-L6510
As we are see here:
        {
            LOCK(pfrom->cs_filter);
            if (!vRecv.empty())
                vRecv >> pfrom->fRelayTxes; // set to true after we get the first filter* message
            else
                pfrom->fRelayTxes = true;
        }

If fRelayTxes is not passed in version message we assume it true, but in the zebrad reading relay from the Message::Version is mandatory:
https://github.com/ZcashFoundation/zebra/blob/main/zebra-network/src/protocol/external/codec.rs#L483
fn read_version<R: Read>(&self, mut reader: R) -> Result<Message, Error> {
        // Clippy 1.64 is wrong here, this lazy evaluation is necessary, constructors are functions. This is fixed in 1.66.
        #[allow(clippy::unnecessary_lazy_evaluations)]
        Ok(VersionMessage {
            version: Version(reader.read_u32::<LittleEndian>()?),
            // Use from_bits_truncate to discard unknown service bits.
            services: PeerServices::from_bits_truncate(reader.read_u64::<LittleEndian>()?),
            timestamp: Utc
                .timestamp_opt(reader.read_i64::<LittleEndian>()?, 0)
                .single()
                .ok_or_else(|| Error::Parse("version timestamp is out of range for DateTime"))?,
            address_recv: AddrInVersion::zcash_deserialize(&mut reader)?,
            address_from: AddrInVersion::zcash_deserialize(&mut reader)?,
            nonce: Nonce(reader.read_u64::<LittleEndian>()?),
            user_agent: String::zcash_deserialize(&mut reader)?,
            start_height: block::Height(reader.read_u32::<LittleEndian>()?),
            relay: match reader.read_u8()? {
                0 => false,
                1 => true,
                _ => return Err(Error::Parse("non-bool value supplied in relay field")),
            },
        }
        .into())
    }

If relay was unable to read here bcz it's not passed read_version will return with:
Err(error::const_io_error!(ErrorKind::UnexpectedEof, "failed to fill whole buffer"))

But zcashd default behavior is set it to true.
To reproduce all of these we can start instance of zebrad and try to connect to it from zcashd qa test_framework. As the class msg_version haven't relay (fRelayTxes) it doesn't serialize it:
https://github.com/zcash/zcash/blob/master/qa/rpc-tests/test_framework/mininode.py#L1464
So, connection from the Python framework to zebrad will looks like this:
DEBUG:NodeConn(<IP_ADDRESS>:17770):Recv msg_version(nVersion=170011 nServices=1 nTime=Thu Nov 24 02:05:00 2022 addrTo=CAddress(nServices=1 ip=<IP_ADDRESS> port=44424) addrFrom=CAddress(nServices=1 ip=<IP_ADDRESS> port=17770) nNonce=0x3ACF450EA438557A strSubVer=b'/Zebra:1.0.0-beta.13/' nStartingHeight=0)
DEBUG:NodeConn(<IP_ADDRESS>:17770):Send msg_verack()
DEBUG:NodeConn(<IP_ADDRESS>:17770):MiniNode: Closing Connection to <IP_ADDRESS>:17770...

I.e. closed with HandshakeError::ConnectionClosed on zebrad side. But the zcashd behaviour on the same connection with absent relay (fRelayTxes) in version p2p message will be different, connection will remains active, bcz in zcashd this param is optional.

@mpguerra this bug can stop Zebra connecting to other nodes, it might be the cause of some of our DNS seeder or block explorer issues.
Can we fix it in the next sprint?

Hey team! Please add your planning poker estimate with Zenhub @arya2 @conradoplg @dconnolly @oxarbitrage @teor2345 @upbqdn


Self-suppression not permitted

While trying to unpack I encountered the following error:

[error] DisUnityCli: Fatal error, caused by java.lang.IllegalArgumentException:
Self-suppression not permitted
        at java.lang.Throwable.addSuppressed(Unknown Source)
        at info.ata4.disunity.cli.command.bundle.BundleUnpack.runFile(BundleUnpa
ck.java:105)
        at info.ata4.disunity.cli.command.FileCommand$$Lambda$2/30125492.accept(
Unknown Source)
        at java.util.ArrayList.forEach(Unknown Source)
        at info.ata4.disunity.cli.command.FileCommand.run(FileCommand.java:32)
        at info.ata4.disunity.cli.command.Command.run(Command.java:50)
        at info.ata4.disunity.cli.command.Command.run(Command.java:50)
        at info.ata4.disunity.cli.command.DisUnityRoot.run(DisUnityRoot.java:62)

        at info.ata4.disunity.cli.DisUnityCli.main(DisUnityCli.java:46)
Caused by: java.io.IOException: Stream is too short
        at info.ata4.io.lzma.LzmaDecoderProps.fromInputStream(LzmaDecoderProps.j
ava:31)
        at net.contrapunctus.lzma.DecoderThread.run(DecoderThread.java:53)

Any ideas what might be causing this or what the fix is

It's a newer version that disunity does not support yet, I'm having this issue too with bundles or assets of version 5.3.2f1

I'm having a similar error, however I'm trying to unpack a bundle of Unity 2.x.x. I tried using v0.4 and v0.5 but neither worked.

I tried to patch all of this... But too painful and now I'm in the same behaviour than you have.
I had the possibility to manage UnityFS format but now i'm stuck with this LZMA issue...
Anyone has solved this ?

I'm progressing....
But I never used LZMA libraries and didn't use such low level libraries and java (so it's quite painful) to do stuff like this.
Now I have invalid LZMA properties. Even when I compile the code base of LZMA libraries (quite weird)


fix: use platform dependant build flags

Compiling on Windows fails currently because the flag -Wno-unused-parameter is only valid for gcc, not for MSVC.
This PR uses the /wd4100 flag instead when compiling on Windows.

These bindings are autogenerated; please contribute improvements upstream (treesitter/treesitter).

But the warning flag is not in the upstream bindings since it's not usually needed.

Then why is this flag here? What's special about this parser so that it and no others requires the flag?

The stub scanner functions that don't use the parameters.


Speedup ci

Signed-off-by: i1i1<EMAIL_ADDRESS>

Description of the Change

Issue

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

Please add a more detailed description like:

All e2e tests run in parallel
Rust version in CI 1.54 -> 1.55
etc.


[community] The Eta compiler architecture document

I'm having a bit of trouble finding what to modify and where to add features to the Eta compiler. I understand that Eta is a GHC fork and that should be documented by them, but still, as the compiler evolves we could have those changes be documented.
On the other hand, I expect that in the future the Eta compiler will be written in Eta, so that also would help.
I'm currently taking notes of what I'm learning, so I could contribute to that documentation in the future.

@NickSeagull that sounds amazing. We are also planning to write a contributors guide. Your notes will definitely be useful for this :) Feel free to share it whenever you are ready and we can start the work.


Add dark color presets to Badge

Badge does not accept dark colors as bg.  Why not?

also why not allow any color? Do we want to enforce those color pairings?

I think we should allow it to take any color. We can always write documentation to detail why white text with a lightGray background should not be done but for example if we were to add a new color to the design system we would run into this problem again.

That makes sense to me.  Will have a PR for this shortly.


ParameterResolutionException when trying to use MockWebServer in JUnit 5 test case with Kotlin 1.6

I have a simple test for an external API and want to use the MockWebServer to save some mocking I'd have to do with e.g. WireMock.
However, regardless of which approach I try, I cannot get it to work.
My setup is OpenJDK Temurin-<IP_ADDRESS>+1 and Kotlin 1.6.10 - on MacOS 12.6 (21G115) with IntelliJ 2022.2.2 Ultimate (fwiw).
I have this:
class TokenRefreshServiceTest(private val server: MockWebServer) {
...
@Test
    fun getValidTokenHasAllFieldsInCorrectForm() {
    }
}

But when running the test, I get this error:
org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [mockwebserver3.MockWebServer server] in constructor [public com.bla.blup.TokenRefreshServiceTest(mockwebserver3.MockWebServer)].

Should work according to the docs:
https://github.com/square/okhttp/tree/parent-5.0.0-alpha.10/mockwebserver-junit5
I tried different dependencies:

5.0.0.alpha-10 (with and without optional JUnit dependencies, as mentioned in https://square.github.io/okhttp/changelogs/changelog/#version-500-alpha2)
latest stable 4.10.0

Before that, I tried using the traditional method with a setup() method in @BeforeAll, but that requires the use of @JavaStatic in Kotlin and I ran into this funny error here:
https://github.com/square/okhttp/issues/5818
So I suppose it's a bug in okhttp/MockWebServer.
And yes, it was a funny afternoon...

I'll look into it, seems like a bug that the extension isn't registered correctly.  For now add
@ExtendWith(MockWebServerExtension::class)

It's changing again in alpha11, see https://github.com/square/okhttp/pull/7392 and https://github.com/square/okhttp/issues/7146
So constructors will not be supported because of junit 5 lifecycle design.  Basically pass in the server in the setup method.
https://github.com/square/okhttp/pull/7392/files#diff-1e4a02b67e534461133c007db45b6cd1c0fbcfae6953bf2ebd06fad8424cdacd

thanks for the analysis and explanation!
Unfortunately, I now hit the same error I got myself when using a static setup method in Kotlin with MockWebServer, but now inside the library:
java.lang.NoSuchFieldError: Companion
	at okhttp3.internal._UtilCommonKt.<clinit>(-UtilCommon.kt:51)
	at okhttp3.internal._UtilJvmKt.<clinit>(-UtilJvm.kt:48)
	at mockwebserver3.MockWebServer.<init>(MockWebServer.kt:100)
	at mockwebserver3.junit5.internal.MockWebServerExtension$Resource.newServer(MockWebServerExtension.kt:50)
	at mockwebserver3.junit5.internal.MockWebServerExtension.resolveParameter(MockWebServerExtension.kt:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.resolveParameter(ExecutableInvoker.java:216)

This is usually mixing different versions of mockwebserver and okhttp.  Make sure that you only have a single consistent version in your project.

I also read that in #5818 - and you're right, we really draw in an older version through a transitive dependency (kubernetes-client). Nothing I can change right now, but will fix during next maintenance/dependency updates.

Nothing more to do.


Block code "fences" not working properly

While adding cpp code using block code fences rendered page HTML broken. Please try adding this line of cpp code:
#include <list>

Aside from the lack of syntax highlighting (as the included highlight plugin doesn't provide CPP support) it looks fine:

It would help if you were more descriptive of the issue you are seeing.

grav-plugin-hightlight uses highlight.js which supports C++ according to their live demo.
https://highlightjs.org/static/demo/
Anyway that HTML broken problem solved. Now having another problem. Code/Text missing while showing rendered code by highlight plugin. This happens when only part of code is showing. Supoose your blog page showing few posts partly with "Continue Reading... " button below. Here is my screenshot:

The highlight plugin doesn't have the FULL highlight.js, it has a custom package with most of the standard languages, but CPP is not one of those. You can build your own and simply replace the JS file: https://highlightjs.org/download/
Your issue with the 'summary' view is that by default this will count a certain number of characters, and then close any HTML tags if still in some nested HTML.  To get around this you can either manually set the summary size on this page:  https://learn.getgrav.org/content/headers#summary
or
You can use the manual summary break indicator:
your **summary** up here.

===

This will only be shown when viewing **content**

I will try to replace by original highlight.js.
I have tried by adding manually break indicator. Didn't work. Will it work inside of code ?

I replaced by latest highlight.js (9.12.0) file in Highlight plugin folder with same name "highlight.pack.js". Nothing improved.
I have tried manually summary break indicator inside code and it didn't work. :(

I have check this issue with 2 theme and their skeleton project and got same results. These are the themes:
a. Deliver
b. Gravstrap Theme
Reproduction Steps:

Download theme skeleton and install admin
In any blog item add code with the cpp code mentioned above.
Go to Blog page and notice some type distortion in the page.
In case of Deliver right sidebar expand to whole page and others problem after that segment of code.
In case of Gravstrap Theme same distortion occurred.

Please always test with Antimatter theme. It's the default theme and it's what we use as the testing baseline.

Ok first things first, syntax highlighting...
Your example above is with GitHub's code highlight (not the same as highlight.js) I looked at the highlight.js demo page for C++ and the include was not highlighted, but the rest was... I didn't even update the highlight.pack.js at all, just left it with the default JS that comes with the current release and used the same code as the demo:

As you can see it's highlighting perfectly fine.

Second, the summary stuff:
This is my page, notice the manual summary separator:
---
title: 'Atom vs. Coda3?'
slug: atom-vs-coda
publish_date: '07/18/2015 02:54 pm'
taxonomy:
    category:
        - blog
    tag:
        - coda

---

One of my complaints about Coda was the lack of an [EditorConfig](http://editorconfig.org) plug-in allowing preferences to be set for indentation style and size (Tabs: 3, for example) by file type. I had offered the idea as a feature request to Coda’s development team and tweeted about the need for it, but it hadn’t reached the top of their priority list yet.

```cpp
#include <iostream>

int main(int argc, char *argv[]) {

  /* An annoying "Hello World" example */
  for (auto i = 0; i < 0xFFFF; i++)
    cout << "Hello, World!" << endl;

  char c = '\n';
  unordered_map <string, vector<string> > m;
  m["key"] = "\\\\"; // this is an error

  return -2e3 + 12l;
}

===
One of my complaints about Coda was the lack of an EditorConfig plug-in allowing preferences to be set for indentation style and size (Tabs: 3, for example) by file type. I had offered the idea as a feature request to Coda’s development team and tweeted about the need for it, but it hadn’t reached the top of their priority list yet.

Then in my blog view it looks like this:

![2017-09-28 at 1 23 pm](https://user-images.githubusercontent.com/1084697/30986355-5c520f8c-a450-11e7-9c69-ea3bcebb1c6f.png)

Then in my actual post page it looks like this:

![2017-09-28 at 1 24 pm](https://user-images.githubusercontent.com/1084697/30986381-729bcac6-a450-11e7-9302-f7e367ea1ba6.png)

This seems to be a non-issue to me.

Hi rhukster, Thanks for detail explanation. I have done some other test according to your exposition.

When summary seperator used outside code and full code shown as summary, issue doesn't  happen.
Summary seperator don't work inside code. So when long code needed to be summarized, issue happen. Would you please try by using your existing small code twice with seperate code tag or below code in the provided link.

This is actual code I am trying to show in my page with auto summary. My Actual Code

You can't put a summary separator inside a code block. Everything in side that code block is considered code, and is not processed.  The regex that looks for it won't care though and it will break the HTML, so don't do it! :) .
I think we're done here, you just need to tweak your content, or your separator length, or both. But there is no fundamental issue.


conflict with diffuers‘ version?

Traceback (most recent call last):
File "D:\ComfyUI-aki-v1.2\nodes.py", line 1888, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-GlifNodes_init.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-GlifNodes\nodes.py", line 6, in
from diffusers import ConsistencyDecoderVAE
ImportError: cannot import name 'ConsistencyDecoderVAE' from 'diffusers' (D:\ComfyUI-aki-v1.2\python\lib\site-packages\diffusers_init_.py)
Cannot import D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-GlifNodes module for custom nodes: cannot import name 'ConsistencyDecoderVAE' from 'diffusers' (D:\ComfyUI-aki-v1.2\python\lib\site-packages\diffusers_init_.py)
Loading: ComfyUI-Impact-Pack (V4.85.1)
Loading: ComfyUI-Impact-Pack (Subpack: V0.4)
[Impact Pack] Wildcards loading done.
Loading: ComfyUI-Inspire-Pack (V0.69.2)
Loading: ComfyUI-Manager (V2.11)
ComfyUI Revision: 2088 [327ca131] | Released on '2024-03-27'
Traceback (most recent call last):
File "D:\ComfyUI-aki-v1.2\nodes.py", line 1888, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-Marigold_init.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-Marigold\nodes.py", line 5, in
from .marigold.model.marigold_pipeline import MarigoldPipeline
File "D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-Marigold\marigold\model\marigold_pipeline.py", line 9, in
from diffusers import (
ImportError: cannot import name 'LCMScheduler' from 'diffusers' (D:\ComfyUI-aki-v1.2\python\lib\site-packages\diffusers_init_.py)
Cannot import D:\ComfyUI-aki-v1.2\custom_nodes\ComfyUI-Marigold module for custom nodes: cannot import name 'LCMScheduler' from 'diffusers' (D:\ComfyUI-aki-v1.2\python\lib\site-packages\diffusers_init_.py)

I'm having this issue too and then import fails

You also have this error: ImportError: cannot import name 'LCMScheduler' from 'diffusers' (D:\ComfyUI-aki-v1.2\python\lib\site-packages\diffusers_init_.py). This leads me to suspect your diffusers version is not correct.


Initial work to support running in node js environment

For headless, one requirement is that we need to be able to run the library on a browser as well as inside a node js environment.
This PR just adds various checks around availability of globals that would otherwise throw exception in a node js env.
This means the script should now be importable in node js, but it does not actually make it "usable" and working properly. The main culprit for now is the "CookieStorage", for which I will open a subsequent PR.
For now, I've set it up as a "NullStorage", with a console warning.

Closing PR: Will re-open with environment class suggestion


ERROR: No matching distribution found for onnxruntime==1.11

Hi, Thanks for the great work!
I am having this error when I try to install the package.
ERROR: No matching distribution found for onnxruntime==1.11
Maybe we can update the requirements.txt?

Hello, the example in colab works as it should.  Try upgrading pip.
python -m pip install --upgrade pip


remove blank alloc

Found a noop alloc. Not seeing this code being used for anything, so figured it would be okay to remove. Thanks!

good catch


Add support for stopTimeout in container definition

Done!
Thanks for the reminder...you might not be the first person to remind me of this ;-)

thanks @rajmaniar
one more thing:
please rebuild README by executing these commands:
make init
make readme/deps
make readme

It will add the new variables and outputs to README.md automatically.
In general, any changes to README should be made in README.yaml (not in this case), and after that executing the commands above will rebuild README.yaml into README.md and add all new variables and outputs to README.md
thanks

Got it, done!


SSL cert

What is the easiest and cheapest way to enable SSL for config-ui-x? I tried a self signed cert but the browsers (FF, Chrome) don't like it and give errors. So I had to create an certificate exception.

Check out https://github.com/oznu/homebridge-config-ui-x/wiki/Reverse-Proxy:-Nginx-and-SSL.

@oznu, as always, thank you for the quick response!!


release: adjust Declare transaction to V3 changes in starknet-api

Pull Request type
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

This change is

crates/papyrus_storage/src/serializers.rs line 3 at r5 (raw file):

#[cfg(test)]
#[path = "serializers_test.rs"]
mod serializers_test;

Missing tests
Code quote:
mod serializers_test;

crates/papyrus_rpc/src/v0_3_0/transaction.rs line 220 at r5 (raw file):

                    "The requested transaction is a declare of version 3, which is not supported \
                     on v0.3.0.",
                )),

Are these tested?
Code quote:
                starknet_api::transaction::DeclareTransaction::V3(_) => Err(internal_server_error(
                    "The requested transaction is a declare of version 3, which is not supported \
                     on v0.3.0.",
                )),

Merged in this PR as part of bumping version from 0.0.4 to 0.0.5.


Multi table

adjusts mcmicro to multi_table

Codecov Report
Attention: Patch coverage is 10.00000% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 35.27%. Comparing base (6fff710) to head (d746c9f).
 Consider uploading reports for the commit 5026bc8 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
- Coverage   35.70%   35.27%   -0.43%
==========================================
  Files          16       16
  Lines        1196     1219      +23
==========================================
+ Hits          427      430       +3
- Misses        769      789      +20

Files
Coverage Δ

src/spatialdata_io/readers/mcmicro.py
15.92% <10.00%> (-0.42%)
:arrow_down:

... and 2 files with indirect coverage changes

Nice thanks! I have tested this with the exemplar 001 and 002. I changed ad.concat to return unique obs indices otherwise a bug with joins (https://github.com/scverse/spatialdata/issues/494) would have occurred.


Getting MEDIA_ERROR_INTERNAL_DEVICE_ERROR when playing songs from saavn.

Hi Amazon team,
preconditions:
we are using AVS SDK :1.12. with pause and resume behavior of Music (which is default sdk behavior).
Steps to reproduce the issue.
1.Alexa+play songs from saavn.
2.when it is playing say Alexa+ play next song.
3.Now Alexa plays next song.
4.Now say Alexa+pause.
5.Now say Alexa+resume.
we will get this error "MEDIA_ERROR_INTERNAL_DEVICE_ERROR" and plays next song.
we kept GST_DEBUG=4
and collected logs
in that logs we found that snippet:
AudioPlayer:onPlaybackError:type=MEDIA_ERROR_INTERNAL_DEVICE_ERROR,error=GStreamer encountered a general stream error.,id=4
2019-05-17 05:30:15.911 [ 13] E AudioPlayer:executeOnPlaybackError:id=4,type=MEDIA_ERROR_INTERNAL_DEVICE_ERROR,error=GStreamer encountered a general stream error.
please find the attached logs with Gstreamer enabled .
Thanks
Sujith
17.txt
IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

What is the expected behavior?

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Attaching gstreamer logs.
gstreamer_logs.txt

Hi Amazon Team,
Any update on this please.
Thanks
Sujith

Hi @sujisasken, could you please provide DEBUG9 logs of the entire user interaction?  That will really help us get more context on the Directives received by the client, and how the SDK behaved.  Thanks.

Hi dhpp,
The above attached "17.txt" file is the debug9 logs.
After getting the error ,SDK played the next song .
Thanks
Sujith

Hi dhpp,
Please find the attached DEBUG9 logs.
DEBUG9_logs.txt

Hi @sujisasken, sorry for getting back so late.  Could you try this again in v1.13 and see if it's still reproducible?  We have also added more logs and this will help with debugging the issue further.  Thanks!


filter viable branches in fork choice

Filter for branches that see latest finalized/justified info as correct on-chain before running get_head.
more info here https://notes.ethereum.org/Fj-gVkOSTpOyUx-zkWjuwg?view

Do we merge rm-signing-root first? If so, we should change the signing-roots here to hash-tree-root.

@djrtwo I think you should change the target branch to v09x?

yep nice catch @hwwhww !


Notifications unreadable

Hello,
When applying your theme with all the colors set to black, my notifications become unreadable. It seems that your theme does not change the font color and black letters on a black background is, of course, not readable at all.

The notifs become readable again after a reboot. Closing...

Great to hear you solved it.
In most cases, restarting SystemUI should be enough to recreate notifications after a theme change.
Usually, Substratum does this for you, but it seems to not always work reliably.

Yes, I always have to restart SystemUI manually for some reason, and even that did not make the notifs readable. Strange behavior, but at least it's working now.
Great theme, by the way!