Create a macro system

Is your feature request related to a problem? Please describe.
I am often finding myself repeating the same rote steps to perform some well defined mutation to a mesh (e.g. insetting all faces by the same amount)
Describe the solution you'd like
Some method of defining macros in a terse DSL. Something that looks like:
> e 0 s nxz 0.5 e -0.5

which would extrude 0 units, scale xz along the normal by 0.5 then extrude again -0.5 units
Additional context
This could be used for a general purpose "vim mode" which would be amazing.

Please check the expressions system and the const expression system in godot 4.

See also https://github.com/godotengine/godot/pull/70066#


XPath Notebook not running at all in Visual Studio Code

The XPath notebook is stuck in running for minutes and doesn't work properly. I install the old Node.js version 11, 16, 18 and 19, but they all didn't work. I also disabled all extensions in Visual Studio Code, but it also didn't work. How do I fix this problem?

It's working now after restarting the Visual Studio Code app.


Error while closing repository

Using the plugin on my repo at https://github.com/carlosedp/riscvassembler, I'm getting the error:
Published riscvassembler_2.12, riscvassembler_2.13, riscvassembler_3, riscvassembler_native0.4_2.12, riscvassembler_native0.4_2.13, riscvassembler_native0.4_3 to Sonatype
Closing staging repository
Waiting for staging repository to close
Promoting staging repository
Waiting for staging repository to release
1 targets failed
io.kipp.mill.ci.release.ReleaseModule.publishAll java.util.NoSuchElementException: key not found: type
    scala.collection.MapOps.default(Map.scala:274)
    scala.collection.MapOps.default$(Map.scala:273)
    scala.collection.AbstractMap.default(Map.scala:405)
    scala.collection.MapOps.apply(Map.scala:176)
    scala.collection.MapOps.apply$(Map.scala:175)
    scala.collection.AbstractMap.apply(Map.scala:405)
    ujson.Value$Selector$StringSelector.apply(Value.scala:141)
    ujson.Value.apply(Value.scala:101)
    ujson.Value.apply$(Value.scala:101)
    ujson.Obj.apply(Value.scala:234)
    mill.scalalib.publish.SonatypeHttpApi.getStagingRepoState(SonatypeHttpApi.scala:68)
    mill.scalalib.publish.SonatypePublisher.isRightStatus$1(SonatypePublisher.scala:157)
    mill.scalalib.publish.SonatypePublisher.awaitRepoStatus(SonatypePublisher.scala:161)
    mill.scalalib.publish.SonatypePublisher.publishRelease(SonatypePublisher.scala:130)
    mill.scalalib.publish.SonatypePublisher.$anonfun$publishAll$11(SonatypePublisher.scala:72)
    mill.scalalib.publish.SonatypePublisher.$anonfun$publishAll$11$adapted(SonatypePublisher.scala:65)
    scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)
    scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)
    scala.collection.AbstractIterable.foreach(Iterable.scala:926)
    scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:896)
    mill.scalalib.publish.SonatypePublisher.publishAll(SonatypePublisher.scala:65)
    io.kipp.mill.ci.release.ReleaseModule$.$anonfun$publishAll$2(CiReleaseModule.scala:112)
    scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)

The lib is published tho.
The error can be seen in the action here: https://github.com/carlosedp/riscvassembler/actions/runs/3045455104/jobs/4907137455

I've removed that section but still get the same error:
https://github.com/carlosedp/riscvassembler/actions/runs/3046733982/jobs/4909989073
Strange that publishing a snapshot (either on GitHub or locally) works fine:
https://github.com/carlosedp/riscvassembler/actions/runs/3046732400/jobs/4909981599
Ideas?

I've removed that section but still get the same error:

yea, that shouldn't have anything to do with the error, it's just something I noticed.

I've removed that section but still get the same error:
https://github.com/carlosedp/riscvassembler/actions/runs/3046733982/jobs/4909989073
Strange that publishing a snapshot (either on GitHub or locally) works fine:
https://github.com/carlosedp/riscvassembler/actions/runs/3046732400/jobs/4909981599

Ideas?

Honestly, not really. If you tag a new tag, does it happen again? It'd be helpful to know if this is something that is continually happening or just a one off.

Happened to the last 2 times I've tagged a release.

Weirdly enough recent versions were published successfully with no changes to config.
https://github.com/carlosedp/riscvassembler/actions/runs/3137665933/jobs/5096200306
Thanks and sorry about the hassle!

Thanks and sorry about the hassle!

No worries! Glad it's working!

Started getting the same error again on my repo...
https://github.com/carlosedp/zio-channel/actions/runs/5577752821/jobs/10193391142
I re-created the secrets for SONATYPE and PGP but same keeps happening.
Any idea? :)

Dunno why, failed twice then worked... 🤷🏻♂
Again, sorry about the noise.


show search result items for dropdown with remote url

https://github.com/boxture/server/issues/4069

Dropdown for container move screen works fine with above code changes however filter dropdowns on table s(orders, picklists) doesn't work on click on downward arrow filter list is not fetched kindly check


BOUNTY: Discussion moderator

Responsibilities:

Optimize signal to noise ratio
Organize Discussions tab
Surface primary topics

I can handle this.

To effectively address Issue #101 for the OpenAI Agent Swarm project, a comprehensive plan needs to be developed for optimizing the Discussions tab. This involves improving the signal-to-noise ratio, organizing discussions, and surfacing primary topics. Based on the existing structure and discussions in the GitHub repository, here is a detailed plan:
Understanding the Current Scenario

Review Current Discussions: Analyze existing discussions to understand the prevalent themes and engagement patterns. Some existing categories and discussions include:

Tool Building: "Tool Builder - Interacting with the real world. Incredible behavior" ➊.
Ideas & Thoughts: "Direct command sequencing to promote utilisation of documents" and "What about using Pub/Sub for AI Agent communications" ➋ ➌.
Show and Tell: "Created an agent builder script, would love your feedback" ➍.
Current Categories: Announcements, Brainstorming, Implementation, etc. ➎.

Defining Signal and Noise

Define 'Signal': Signal refers to discussions that are directly relevant to the project's goals and contribute constructively. This includes technical discussions, brainstorming, and sharing of best practices.
Define 'Noise': Noise includes off-topic discussions, repeated queries, or posts not contributing to constructive discourse.

Encourage constructive feedback: Promote a culture of constructive criticism and idea sharing.
Avoid duplication: Check existing discussions to prevent repeat topics.

Discussion Categorization

Implement Categorization:

Use existing categories and introduce subcategories for more specific discussions.
Regularly review and adjust categories based on evolving project needs.

Moderation and Organization

Implement Moderation Plan:

Appoint community moderators or use AI tools for initial moderation.
Regularly review discussions for compliance with guidelines.

Feedback Mechanism

Set Up a Feedback System:

Implement a system for community members to provide feedback on discussions.
Regularly review feedback to refine discussion management.

Promoting Key Discussions

Highlight Primary Topics:

Use pinned posts or featured threads for important discussions.
Regularly rotate featured discussions to keep the community engaged.

Regular Review and Adaptation

Continual Review and Adaptation:

Regularly assess the effectiveness of the discussion management strategy.
Adapt strategies based on community engagement and feedback.

Measuring Success

Metrics for Success:

Track engagement metrics: Active users, frequency of posts, and quality of discussions.
Evaluate noise reduction and increased relevance of discussions.

By meticulously following this plan, the Discussions tab on the OpenAI Agent Swarm GitHub repository can be transformed into a more organized, engaging, and productive space, aligned with the project's goals and community needs.

@UrbanLegendXV This is pretty extensive. It looks like it was generated with AI, which is interesting, but not exactly what I'm looking for. If you build a moderator bot that would be interesting. But I'm looking for someone who really seems to understand the spirit of the C3P0 on a deep level, not just plug it into a chatbot.

I think I'll keep onto this for now


[BUG] Max button don't work for wrap and deposit

Overview
Amount input has a button to set the amount as the current account balance, this button doesn't work as expected for wrap and deposit flow
https://user-images.githubusercontent.com/35463181/205646987-fe4468bf-fe28-4204-899b-519ce1ff1dc0.mp4

In a wrap state we should utilize 'weth' in this case as the max amount, but in unwrap state utilize bridged asset.


Typo fix in artifactory/README.md

"tables lists"->"table lists"
Many such errors in stable directory.

/assign @mgoodness

/ok-to-test
/lgtm


Fix is_present Checkbox

Current behaviour:
If the present checkbox is activated the activation animation appears tw o times
Recreation:

navigate to participants
activate the present checkbox
animation should be there twice

Wanted behaviour:
the activation animation should only be displayed once

I can reproduce it. This issue is still a thing. But I have no idea, why.

@Elblinator Please check if this issue still exists with the material update


Implement OP_SHA256

ref: https://github.com/keep-starknet-strange/shinigami/blob/72ed4f960f1e0858ceeff7e287a0b0ca6cfa7e4f/packages/engine/src/opcodes/crypto.cairo#L18

I will be working on this


"Relations may only contain a maximum of 255 characters"

Above error message is displayed when saving the relations field after updating to Plugin version 1.1.0. (I roughly translated the message from German..)
Downgrade to 1.0.3 fixes the issue for me.
I'm on Craft CMS 3.1.22
Thanks!

Hey, Thank you for reporting this error. I have pushed an update to fix this. Hopefully didn't break anything else 😄


Uncontrolled Resource Consumption in markdown-it

Could you please update to markdown-it 12.3.2 to avoid security vulnerability?

I recommended do not use this loader, please use this official solution https://github.com/webpack-contrib/val-loader#modernizr


Search SDK: Updating to use AutoRest

Unfortunately this couldn't really be done incrementally since it involved
completely breaking the build and tests, then changing virtually every file to
get everything working again.
At this point the Search SDK is functional using AutoRest-generated code, but
there are still some interface tweaks to make and features and bugs to address
before it's ready for release.

I will coordinate to merge this PR at right time, probably will be at some points early next week.

Closing this PR and opening a new one with conflicts resolved.


pod try doesn't work

It doesn't generate a working example project.

That's true, i've switched to using Carthage for dependency management as it's simpler.
I'll look into it, maybe i'll find a way to support pod try, for now you can clone project and run
carthage update

in project directory.
https://github.com/DenHeadless/DTTableViewManager#running-example-project

Starting with 4.5.2 release, pod try is now supported.
Note, you need cocoapods at least at 1.0.0-beta2 version to successfully try DTTableViewManager.


kubelet-in-userns.md: update for minikube

minikube now supports Rootless Docker driver.
minikube internally sets the KubeletInUserNamespace feature gate automatically for supporting Rootless Docker driver.
https://minikube.sigs.k8s.io/docs/drivers/docker/

Looks good after addressing @sftim's feedback.
/lgtm

Seconding Jim's LGTM

What's current status?

Changes since last LGTM are negligible.
/lgtm


Install TagBot as a GitHub Action

You're receiving this pull request because the now-deprecated Julia TagBot GitHub App is installed for this repository. This pull request installs TagBot as a GitHub Action.
If this PR does not belong in this repository for any reason, feel free to close it.
See this Discourse thread for more details and to ask questions.
Please do not comment on this pull request, because it is unlikely that I (@christopher-dG) will see it.

Codecov Report

Merging #8 into master will decrease coverage by 1.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   97.05%   95.89%   -1.17%
==========================================
  Files           1        1
  Lines         102       73      -29
==========================================
- Hits           99       70      -29
  Misses          3        3

Impacted Files
Coverage Δ

src/TravelingSalesmanExact.jl
95.89% <0%> (-1.17%)
: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 a739865...4eacb46. Read the comment docs.


[GUI] Format date displayed according to the language

format date displayed according to the language, for example:
PT: day / month / year
EN: month / day / year

Test OK.

Portuguese: day / month / year

English: month / day / year

tested in version: 63.1-20190705


Add tests + Django 1.10 compatibility

This PR:

Removes support for unsupported Django versions. Supported versions are 1.8+.
Adds official support for Django 1.10.
Significantly increases test coverage to ensure Django 1.10 compatibility.

Fixes #32

Okay, the docs test fails as it happens to use Django 1.10 in the base env...
The error is in django_babel/management/commands/babel.py, which kinda means that there's insufficient general test coverage for that file :)
I'll see what I can do about it!

Hey @graingert, actually: is the babel management command even supported anymore? It's not mentioned in the README...

I actually don't know. I don't use this package in production anymore.
On 6 Sep 2016 16:57, "Aarni Koskela"<EMAIL_ADDRESS>wrote:

Hey @graingert https://github.com/graingert, actually: is the babel
management command even supported anymore? It's not mentioned in the
README...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/python-babel/django-babel/pull/33#issuecomment-244998331,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZQTGdI0xu0GAk16pxwbFpNZInXEjTuks5qnY1cgaJpZM4J18Di
.

Haha, okay @graingert :) Well, I added tests for it anyway, because why not :)
Let's see if we pass...

@graingert Restructured the test directory/package structure. Also using pkg_resources, as you requested :)

I would be awesome to have this one merged and released (at least for Django 1.10 compatibility) !
What is preventing to do so ?

can you also clean up your commits

@graingert Changes made and commits cleaned...

wow, great. @mrunge could you merge this?

Any chance this could be merged and a release made?

Great will have a look. I don't use this library so I'm a bit behind
On 13 Dec 2016 13:17, "orf"<EMAIL_ADDRESS>wrote:

Any chance this could be merged and a release made?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/python-babel/django-babel/pull/33#issuecomment-266735848,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZQTN5I6qM3cSGi3w2lcuC4F05Y95yzks5rHpr3gaJpZM4J18Di
.

@orf @saily @akx I'm still waiting on the removal of tests/__init__.py

@graingert:
tests/__init__.py needs to exist so tests.testproject.settings is a valid Django settings module though. :(
I'd rather not add the complexity of adding pytest-pythonpath or something to be able to add tests to the search path to make testproject.settings a thing.
If you're concerned about packaging somehow managing to include tests -- well, it's been firmly excluded in setup.py since 2014.

@akx pytest add tests to the path for you. just use testproject.settings

@graingert: With tests/__init__.py no longer there and testproject.settings in setup.cfg:
$ tox
[...]
ImportError: No module named testproject.settings

pytest-django could not find a Django project (no manage.py file could be found).
You must explicitly add your Django project to the Python path to have it picked up.

I personally don't see the problem with having a init.py in the tests
directory. Is there any particular reason to avoid it?
On 13 Dec 2016 17:27, "Aarni Koskela"<EMAIL_ADDRESS>wrote:

@graingert https://github.com/graingert: With tests/init.py no
longer there and testproject.settings in setup.cfg:
$ tox
[...]
ImportError: No module named testproject.settings
pytest-django could not find a Django project (no manage.py file could be found).
You must explicitly add your Django project to the Python path to have it picked up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/python-babel/django-babel/pull/33#issuecomment-266803923,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-sh-kaqDUqgBv4l1rE2dDO4nvwgGElks5rHtVogaJpZM4J18Di
.

@orf http://doc.pytest.org/en/latest/goodpractices.html

avoid “init.py” files in your test directories. This way your tests can run easily against an installed version of mypkg, independently from the installed package if it contains the tests or not.

pytest automatically prepends the test directory to the sys.path

Ahh I see. There is clearly something more going on if @akx's comment is
correct though.
On 13 Dec 2016 17:51, "Thomas Grainger"<EMAIL_ADDRESS>wrote:

@orf https://github.com/orf http://doc.pytest.org/en/
latest/goodpractices.html
avoid “init.py” files in your test directories. This way your tests can
run easily against an installed version of mypkg, independently from the
installed package if it contains the tests or not.
pytest automatically prepends the test directory to the sys.path
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/python-babel/django-babel/pull/33#issuecomment-266810534,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-sh6S2CJteRrs0ySbwhLW3Uon32u8jks5rHtskgaJpZM4J18Di
.

WFM:
https://github.com/python-babel/django-babel/commit/c8e4c1a271b9dbd814e496ec2ba9b5d3849035a8
It looks like there's a bug where django-pytest is not picking up the syspath changes


Making an event start triggering after a specific event happens and make it stop triggering afetr another

Im not sure if this is the right place to ask this but I wanted to stop using the thread on boardgamegeek wich definetly was not meant for questions about how to use the software. So heres the question:
Is it possible, and if it is, how can I make an event that activates at the end of each turn but only starts activating after a certain specific event happens and that stops activating after another different event happens. Let me exemplify this
Event A happens > Event B starts to trigger at the end of every turn
Event C happnes > Event B stops triggering
Thank you

Definitely the place to ask the question.
You have event A assign a variable.  Like (EventAHappened == 1)
You then set a condition on Event B of (EventAHappend = 1)
Set the Trigger option of Event B for End of Round
Event C set an assign variable of (EventAHappened == 0)
If I understand you correctly, this should accomplish what you are looking for.

Worked like a charm thanks a bunch. For setting up multiple events that work this way all I have to do is use different variables right ? And I can call the trigger variable whatever I like correct ?

Yep, exactly.
You apply the same concept to custom Mythos events, but you also have to turn off and then back on the Mythos Intensity levels.


[Bug] Undefined symbol when executing import flash_attn after installing on recommended NVIDIA container

Thank you so much for this library! :) Really excited to test it for our research in the health care + LLM domain.
Any ideas on how to debug this?
Running into a bug when installing this on Amazon Web Services g5.xlarge instances on EC2 with A10 GPUs that should support the flash_attn library:
>>> import flash_attn
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.10/dist-packages/flash_attn/__init__.py", line 3, in <module>
    from flash_attn.flash_attn_interface import (
  File "/usr/local/lib/python3.10/dist-packages/flash_attn/flash_attn_interface.py", line 10, in <module>
    import flash_attn_2_cuda as flash_attn_cuda
ImportError: /usr/local/lib/python3.10/dist-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN2at4_ops15sum_IntList_out4callERKNS_6TensorEN3c1016OptionalArrayRefIlEEbSt8optionalINS5_10ScalarTypeEERS2_
>>>

This is using the recommended NVIDIA container:

https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch

The following commands can be executed in this container to reproduce this bug:
docker run --gpus all -it --rm nvcr.io/nvidia/pytorch:23.11-py3
pip uninstall flash_attn  # uninstall the older 2.0.2 version of flash_attn that ships with the container
MAX_JOBS=4 pip install flash-attn --no-build-isolation
python
>>> import flash_attn

Try flash-attn=2.5.1? nvcr now uses pytorch 2.2.0.dev20231106 but our CI now compiles for torch 2.2.0 official, and the wheel compiled for the 2 versions are not compatible.


make the package type module

Is there something that is holding this back?
Is there something that this would break?

When looking at lit 2.0, everything is type "module" already.
Our problem here is that the "old" lit 1.0 was not type "module" correct?
cc @lukas-schardt @quarkus

This has been resolved with #64  and will be fixed with the v1.0.0 release


Syntax for referring to item versions

Some work is already done to versioned actions, but it's not expose in CLI and other items like rules, triggers, feeds will need to be doc.
From @vinodmut :
All items are versioned using semantic versioning. We need a way to refer to particular versions of items.
This is needed both in the CLI and API.
A proposal for the syntax that continues to use ':' delimiters:
Fully qualified name with version would look like:
namespace:name:version

So examples include:
bob@example.com:myaction:0.1.0
bob@example.com:myaction:0.1.*
bob@example.com:myaction:>=1.2.3
bob@example.com:myaction:~1.2.3
bob@example.com:myaction         // implies latest version

The versioning syntax is based on the semantic versioning as supported by npm: https://github.com/npm/node-semver
Since we allow arbitrarily nested namespaces, and both namespaces and versions are optional, we can avoid ambiguities by requiring that namespaces and item names start with [a-zA-Z]. Versions would start with [0-9~><=^].

I'm looking at the possibility of implementing versioning and have tons of questions since this spans almost the entire project. Wondering if anybody has put more thought into this; and also if someone could comment on my questions below:
How should the API behave with versioned entities?
PUT /api/v1/namespaces/guest/actions/helloWorld

entity doesn't exist
create entity with version 0.0.1

&& then PUT /api/v1/namespaces/guest/actions/helloWorld

entity exists
no version specified
mutate the latest version of the entity, or require a version to be specified?
what mutations should be allowed? e.g. allow annotation updates but not code updates

I'd be inclined to think changes should be disallowed to a versioned document without specification of the version
How should we name && refer to versioned entities?
/api/v1/namespaces/ns/entity/name/version
wsk action get /helloWorld/0.0.1
wsk action get /guest/helloWorld --> gets 0.0.2
I'm not amped to tackle package versioning at the moment, but wondering if versioning for it would work as so:

Fully qualified name
Alias
Namespace
Package
Name
Version

/whisk.system/0.0.5/cloudant/read

/whisk.system
cloudant
read
0.0.5

/myOrg/0.0.1/video/transcode
video/transcode/0.0.1
/myOrg
video
transcode
0.0.1

/myOrg/0.0.2/video/transcode
video/transcode
/myOrg
video
transcode
0.0.2

How to store versioned entities
I'm not very far into the codebase yet (and have little experience with CouchDB), but wonder if there is a clear "best" approach

keep the storage key as is and nest the versioned documents? guessing this is a bad approach.

If we add version to the storage key, how do we do quick lookups in the case of "latest" or no version specified, like in wsk action get /guest/helloWorld --> gets 0.0.2

can we just duplicate the document under both keys, /guest/helloWorld/ and /guest/helloWorld/0.0.2

or maybe there is some secondary indexing available in the data store API?

something else?

One of the many use-cases for OpenWhisk is for implementing API:s. However, for this to be a serious alternative compared to building microservices we need to have proper versioning. Otherwise it will be very hard to convince customers that they can only have 1 active version of their function in production at any given time, and they can't specify which version to invoke. Furthermore, when upgrading a function, there is no way to perform blue-green or canary deployments so upgrading becomes a very risky business.
I'm not convinced that semantic versioning is the ideal solution. First, I think it's more than is needed, and secondly, what about invoking an action and asking for version>0.0.1 and there's several versions that satisfy the condition. Which version should be chosen?
Working with API:s, many vendors provide the ability to assign any arbitrary tag as a version number, and that's all that is needed. The same could be applied here, which also would give one the option of using GitHub commit tags as version numbers, just as we do with image tags.
Another question that comes to mind is how to refer to versions in the API and CLI. Starting with the API, there is no de-facto standard for resource versioning. Some suggest using path parameters, others suggest request parameters or http headers such as Accept or If-Match with ETags, or even custom headers. A clear advantage of using a header would be that this will not break v1 of the API. For the CLI we would just add a --version flag for the appropriate commands. But how should we handle when the version is omitted? If we use the notion of a default version, which the user could indicate using a --default flag (default true) when creating or updating an entity, we could fall back to this default version. The difference between a default version and the latest version is that they are not necessarily the same.
Once we implement versioning, we can move on to routing. Being able to specify a version to invoke, we can implement green-blue and canary deployments. To be able to support canary deployments, we need a way to specify load-balancing between versions. If all actions where fired trough triggers, we could use rules for this, but I don't think they are. Invoking an action through the API doesn't involve any trigger or rule, so either we would have to implement some kind of default trigger/rule for this under the hood, or we need a new entity for load-balancing that the controller can use.

cc @style95


[Feat] Add Support for consumption of currency as a resource

Some features require spending coin to use the feature, and it would be great if a) there was an option under Resource Consumer for Cost (possibly just in gp), and b) if it took from the largest denomination and worked its way down.
For example, if I had 3 pp and 70 gp, and the feature cost 100 gp, it would wipe both the pp and gp.

nchezrony

Blocked by #329 and #330


Remember Region Folding

I would like it if the editor can remember the folding state of my code so when the file/project is opened the next day, the regions are in the state i left them.

VSCode already remembers the folding state of every file.
Can you provide a small code sample and steps to reproduce the issue?

region starts here
p = 20
p += 20
p -=10
endregion ends here
fold region
save file
exit editor
open editor
open file
region is expanded even though it was saved folded

From: Martin Aeschlimann @.>
Sent: Tuesday, May 4, 2021 7:04 PM
To: microsoft/vscode @.>
Cc: phedlund113 @.>; Author @.>
Subject: Re: [microsoft/vscode] Remember Region Folding (#122657)
VSCode already remembers the folding state of every file.
Can you provide a small code sample and steps to reproduce the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/122657#issuecomment-832174328, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAW7DALCFBOM236H6UJ2OVTTMBANVANCNFSM43Z3JKBQ.


User proxy_protocol with websocket 1883 port

Environment

VerneMQ Version: 1.2.0
OS: alpine
Erlang/OTP version (if building from source): 19

Expected behavior
When I open proxy_protocol of aws elb, and set the config:
listener.tcp.default.proxy_protocol = on
listener.tcp.default = <IP_ADDRESS>:1883
listener.ws.default.proxy_protocol = on
listener.ws.default = <IP_ADDRESS>:1884

The 1883 mqtt is work fine, but 1884 ws is not.
Disable aws elb proxy_protocol and remove listener.ws.default.proxy_protocol = on, the ws works fine.
there is no error log, but this warning:
2017-10-13 01:33:21.438 [warning] <0.341.0> Transport option {ip,{0,0,0,0}} unknown or invalid.
2017-10-13 01:33:21.438 [warning] <0.341.0> Transport option {port,1884} unknown or invalid.

Thanks @funwun.
what is the conclusion here?
the proxy protocol should work over WebSocket, right? /cc @dergraf @larshesel

Proxy protocol can’t work with websocket

It should work - haven't had time to look at it, though

@funwun could you do a wireshark trace at what arrives on port 1884 on the broker when connecting with websockets + proxy?

Hi @funwun any news here?


check catalog consistency using file's modification time, rather than generate in failing rounds

catalog consistency check is made faster, and error messages are now informed and detailed, per issue https://github.com/IBM/unitxt/issues/1106

To be fanatically precise..  each prepare_file should complete its run successfully (excluding tests). For that success, among others, the prepare_file should find all its dependencies in the catalog as is (the branch's catalog), not the catalog to be generated.
The second condition for success is identical sets: the branch's catalog, and the generated catalog.
Together, both conditions, if met, imply the same. But in case of error, the report should be different and more accurate, in the spirit of the Issue referred.


 But I downloaded the files and since there wasn't a project file in there, I started a new project using the base.ioc file. The problem I'm having is trying to import the other files and getting the project to compile. Is there something I'm missing here on how to open this base project? I was hoping to get the project open and sent over to my unlocked G&W so then I can mess around a try to figure out how everything works.

I've done it, I'm sorry but I cant remember how, it took a lot of trial and error, but it does work.
I think it was something like creating a new empty project from the IOC and then copying over all the other files from the project and merging main.c. also I had to manually add string.h and tweak a couple of function calls with casts.
However i'm having a nightmare with my STLink/V2 it only uploads from the IDE like 1 in 10 times.

I've done it, I'm sorry but I cant remember how, it took a lot of trial and error, but it does work.
I think it was something like creating a new empty project from the IOC and then copying over all the other files from the project and merging main.c. also I had to manually add string.h and tweak a couple of function calls with casts.
However i'm having a nightmare with my STLink/V2 it only uploads from the IDE like 1 in 10 times.

However i'm having a nightmare with my STLink/V2 it only uploads from the IDE like 1 in 10 times.
I guess you can unplug the battery wire and plug usb-c in when upload from the IDE.


Suboptimal selection range for variable defined using a macro

For the following code:
struct mutex_t {};

#define DEFINE_SPINLOCK(x)	mutex_t x = mutex_t{}

static DEFINE_SPINLOCK(inode_hash_lock);

textDocument/documentSymbols returns the following:

{
  "id": 5,
  "jsonrpc": "2.0",
  "result": [
    {
      "detail": "struct",
      "kind": 23,
      "name": "mutex_t",
      "range": {
        "end": {
          "character": 17,
          "line": 0
        },
        "start": {
          "character": 0,
          "line": 0
        }
      },
      "selectionRange": {
        "end": {
          "character": 14,
          "line": 0
        },
        "start": {
          "character": 7,
          "line": 0
        }
      }
    },
    {
      "children": [
        {
          "detail": "mutex_t",
          "kind": 13,
          "name": "inode_hash_lock",
          "range": {
            "end": {
              "character": 22,
              "line": 4
            },
            "start": {
              "character": 0,
              "line": 4
            }
          },
          "selectionRange": {
            "end": {
              "character": 22,
              "line": 4
            },
            "start": {
              "character": 7,
              "line": 4
            }
          }
        }
      ],
      "detail": "(inode_hash_lock)",
      "kind": 21,
      "name": "DEFINE_SPINLOCK",
      "range": {
        "end": {
          "character": 39,
          "line": 4
        },
        "start": {
          "character": 0,
          "line": 4
        }
      },
      "selectionRange": {
        "end": {
          "character": 22,
          "line": 4
        },
        "start": {
          "character": 7,
          "line": 4
        }
      }
    }
  ]
}

Note that for the symbol representing the variable inode_hash_lock, the selectionRange is:
          "selectionRange": {
            "end": {
              "character": 22,
              "line": 4
            },
            "start": {
              "character": 7,
              "line": 4
            }
          }

i.e. it's pointing to the DEFINE_SPINLOCK token.
I think we could do better than this, and make the selectionRange point to the inode_hash_lock token in the macro argument instead.

The selectionRange being DEFINE_SPINLOCK is a side effect of something else that's suboptimal in our returned DocumentSymbol: the full range is just static DEFINE_SPINLOCK rather than static DEFINE_SPINLOCK(inode_hash_lock).
We actually compute inode_hash_lock as the initial selectionRange, but that's outside of the range, which is not allowed per the LSP spec, so we have some logic to compute a fallback selectionRange that is inside range and that's what gives us DEFINE_SPINLOCK as the selectionRange.

The reason the range is static DEFINE_SPINLOCK is that the end location of the variable AST node's source range is inside the macro expansion, and when mapping that to a file location, we get the location of the macro name at the site of the expansion, i.e. DEFINE_SPINLOCK.

The reason the range is static DEFINE_SPINLOCK is that the end location of the variable AST node's source range is inside the macro expansion, and when mapping that to a file location, we get the location of the macro name at the site of the expansion, i.e. DEFINE_SPINLOCK.

I initially thought that I would have to write some fairly complicated code to get the mapping to file locations to produce a better result.
But it turns out, @sureyeaah has already written that complicated code in https://reviews.llvm.org/D64562, in the implementation of toHalfOpenFileRange(). (Thanks for that!)
And we're already using toHalfOpenFileRange(), we're just shooting ourselves in the foot by calling getFileLoc() first:
  SourceLocation BeginLoc = SM.getFileLoc(ND.getBeginLoc());
  SourceLocation EndLoc = SM.getFileLoc(ND.getEndLoc());
  const auto SymbolRange =
      toHalfOpenFileRange(SM, Ctx.getLangOpts(), {BeginLoc, EndLoc});

The calls to getFileLoc() are completely unnecessary (toHalfOpenFileRange() handles that), and in this case mess up the ability of toHalfOpenFileRange() to give us the better file range we want.

Proposed fix: https://github.com/llvm/llvm-project/pull/83532


When cut block, the undo order will be mixed

ENV
only in trunk
Describe the bug
https://www.loom.com/share/df567f3874ee4219989cf181719a09b4
To Reproduce

enter some blocks
cut the middle one
undo by command + z/ ctrl + z
it will undo the last block first

After the cut operation, the document will be blurred, which is what we expected. But that will cause cmd +z / ctrl + z do not fire document event.
Solution: Add global shortcuts to the web app, capture the undo event and dispatch the document undo command.

Since it is associated with global shortcuts, I prefer fix this issue with https://github.com/mashcard/mashcard/discussions/393 which also need a global shortcuts.
@stackia


Can't remove v0.49.1; Can't install v0.51.1

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
Attempted upgrade

.
✔ Expected Behavior
Ability to upgrade
❌ Actual Behavior
Couldn't upgrade
Other Software
No response

/bugreport

PowerToysReport_2021-12-29-00-12-23.zip
@davidegiacometti I have the same error too. I uploaded "Report Bug" zip file.

PowerToysReport_2021-12-29-00-12-23.zip @davidegiacometti I have the same error too. I uploaded "Report Bug" zip file.

From the update logs:
MSI (c) (F8:DC) [17:59:37:446]: Failed to grab execution mutex. System error 258.
MSI (c) (F8:DC) [17:59:37:453]: MainEngineThread is returning 1618

Looks like there is another installation in progress or stucked. Can you try to reboot and retry?

There isn't any other installation running in background. İ even try to
uninstall and reinstall it in safe mode. Didn't worked.
On Wed, 29 Dec 2021, 00:20 Davide Giacometti, @.***>
wrote:

PowerToysReport_2021-12-29-00-12-23.zip
https://github.com/microsoft/PowerToys/files/7786357/PowerToysReport_2021-12-29-00-12-23.zip
@davidegiacometti https://github.com/davidegiacometti I have the same
error too. I uploaded "Report Bug" zip file.
From the update logs:
MSI (c) (F8:DC) [17:59:37:446]: Failed to grab execution mutex. System error 258.
MSI (c) (F8:DC) [17:59:37:453]: MainEngineThread is returning 1618
Looks like there is another installation in progress or stucked. Can you
try to reboot and retry?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/15191#issuecomment-1002286006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWRAMGO37UDNPXQA3QK76DUTISYLANCNFSM5K4YHTQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

There isn't any other installation running in background. İ even try to uninstall and reinstall it in safe mode. Didn't worked.

What happen when you try to uninstall?

Try this https://social.msdn.microsoft.com/Forums/en-US/0baa39b3-7fbf-422e-a453-c07c5d7952e7/windows-installer-installer-always-fails-to-grab-the-execution-mutex?forum=winformssetup

There isn't any other installation running in background. İ even try to uninstall and reinstall it in safe mode. Didn't worked.

What happen when you try to uninstall?

I get this error when I try to install/reinstall/uninstall.

@ahmetsamsa does the error persist after a reboot?
I don't think this is related to PowerToys and I expect the same error trying to install/uninstall another program MSI.

@ahmetsamsa does the error persist after a reboot? I don't think this is related to PowerToys and I expect the same error trying to install/uninstall another program MSI.

For now only I get the error in this software. Do you know how can I get a backup of the PowerToys setting so I can force uninstall it and install the new version?

@ahmetsamsa settings aren't deleted on uninstall but you can backup %LOCALAPPDATA%\Microsoft\PowerToys directory.

So how do I force-uninstall Power Toys? Maybe by doing so, I can install the new version afterwards.

From: msftbot[bot] @.>
Sent: Tuesday, January 4, 2022 9:01:13 AM
To: microsoft/PowerToys @.>
Cc: Downinfl1 @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Can't remove v0.49.1; Can't install v0.51.1 (Issue #15191)
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.
—
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F15191%23issuecomment-1004835477&data=04|01||97ab5f5236f64136c81808d9cf8aab52|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637769016756074666|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=k1RuvKiouJK5HNEvGYc1DjYjmqWl3WeIfbqjLpspo%2FY%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXCP5Z3ETZXS7AIA7AIA4LTUUL4STANCNFSM5K4YHTQQ&data=04|01||97ab5f5236f64136c81808d9cf8aab52|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637769016756074666|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=974bPOKhGJc2PZYx6A87mnqzvUAyeFWkaJbd9BM18qs%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||97ab5f5236f64136c81808d9cf8aab52|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637769016756074666|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=bVxMGQY7NX6zGoGLwRtEYdm%2BJfHvU5wMlw%2FOYTpvIlM%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||97ab5f5236f64136c81808d9cf8aab52|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637769016756074666|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=XYNYtuqQVbJwfp8CeWttDuye3S4io8EFxBQL9BPpQ88%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>

You can try deleting the %programfiles%\PowerToys folder and re-install it again.
This might not remove the registry but I think the installer will be able to deal with it.
Please let me know if this helps or not.

I wouldn't directly delete, the error shown shows a different installer is in progress.  I'd suggest rebooting then trying to do a full uninstall via windows settings then install. a different installer is in progress.  I'd suggest rebooting then trying to do a full uninstall via windows settings then install.

Finally it worked!
Thank you!
Please close this issue.
From: Clint Rutkas @.>
Sent: Wednesday, January 5, 2022 12:49 PM
To: microsoft/PowerToys @.>
Cc: Downinfl1 @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Can't remove v0.49.1; Can't install v0.51.1 (Issue #15191)
I wouldn't directly delete, the error shown shows a different installer is in progress. I'd suggest rebooting then trying to do a full uninstall via windows settings then install. a different installer is in progress. I'd suggest rebooting then trying to do a full uninstall via windows settings then install.

Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FPowerToys%2Fissues%2F15191%23issuecomment-1005942234&data=04|01||50eb86a1409e4cbfe00008d9d073ae81|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637770017537981599|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=sYKRYI1CsVxJqqiHv2wA22oN2NNwWhF4ZpYSa9R%2FCR0%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXCP5Z3RKJ47Z6ZZWJVLLFTUUSABPANCNFSM5K4YHTQQ&data=04|01||50eb86a1409e4cbfe00008d9d073ae81|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637770017537981599|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=TH%2BgAz6MmSMRJQav61u2gdJUw19gT7slMVCo0c513zk%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||50eb86a1409e4cbfe00008d9d073ae81|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637770017537981599|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=A%2BAnd595cc1Fw9vg4DxEskuDvLgrROjdfE%2FNuFzaCHA%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||50eb86a1409e4cbfe00008d9d073ae81|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637770017537981599|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Q2UbFrshK4%2BWDPptXJJxlgZbqwEs%2BNF5fMqy%2F2A99JU%3D&reserved=0.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


current soil

[x] DUL
[x] LL
[x] Initial soil water
[x] kl
[x] BD
[x] RFVEFV - This need to be confirmed if the current model has it or not
[x] Combine all that can be combined

Use the kl from Sim 2017?

Use the kl from Sim 2017?

Better use table in material and method to display the parameter values.
Like Brown 2009 did?

Better use table in material and method to display the parameter values.
Like Brown 2009 did?

Drafted the section.

list all the soil water related params
explain the method to derive DUL, LL and initial soil water
use existing RFV and kls
explain the arbitrary values for SD1 in Ashley Dene

Drafted the section.

list all the soil water related params
explain the method to derive DUL, LL and initial soil water
use existing RFV and kls
explain the arbitrary values for SD1 in Ashley Dene


Turn off node floating

Currently nodes/links float around even when the network sim is paused, but messages stay in the same position.

I believe this is the "static" graph option, but turning static off makes all nodes render in the same spot.

Haven't seen this bug with the updated graph, closing for now.


DAL Autocomplete seems to not work

Hi! Just came upon your package and I'm very interested in it. Sadly, I don't think it works with external JS.
I am trying with this package:
https://django-autocomplete-light.readthedocs.io/en/master/
Thanks,
Costi

Hi @mcosti, Could you provide a complete example of what you're trying to do?


build: patch Abseil to bring in line with upstream

(missed DCO on second commit)

Also validated locally that this is working with the Kotlin demo. Thanks for fixing!

thanks @rebello95!


false positive unused import

Observed Behavior
import ch.tutteli.kbox.forEachRemaining as foreachRemaining //otherwise we use jdk8
fun foo(){
   listOf().iterator().foreachRemaining{}
}

Real use case including reporting:
https://sonarcloud.io/project/issues?id=robstoll_kbox&open=AWaMMX83Vfn4NtZOwYPB&resolved=false&sinceLeakPeriod=true&types=CODE_SMELL
The alias of the import is used in code. A wild guess: detekt is looking for forEachRemaining instead of the alias and does not find it; thus the false positive.
Your Environment

Version of detekt used: 1.0.0.RC8
Link to your project: https://github.com/robstoll/kbox/blob/master/kbox-jvm/src/test/kotlin/ch/tutteli/kbox/ForEachRemainingSpec.kt

Yes it is detekt. Click on the issue on sonarcloud, you can see that it has the detekt label.

I'm still not sure if the report is really from detekt. If sonar-cload uses an old version maybe. But as you see in the PR I needed your code and the false positive is not there :O

Feel free to reopen this ticket if your problem still occurs in RC9.2 or newer.

Thanks!


:seedling: Convert SAST check to probes

This PR rewrites the SAST check to 3 different probes. The SAST check before this change contained both creation of raw results and the evaluation part, so to convert it to probes, I've had to split it into raw results, probes and evaluation. As such, the SAST check was also missing testing - both whole unit tests and variety of input in existing tests - and I have added more tests.
Raw results
At a high level, the raw results will return a new struct called SASTData. This struct contains the following information for each probe:
CodeQL Probe:

All CI workflows of the project that use CodeQL

Sonar Probe:

All CI workflows of the project that use Sonar

Probe that checks whether SAST runs in every commit:

A list of all commits. Each commit is marked either Compliant or not Compliant (in its Compliant field).

Probes
The probes are fairly straight forward. For an explanation of each, I refer to the implementation in the def.yml file of the respective probes.
Checks and evalutation
checks/sast.go contains nothing majorly different from other migrated checks.
Important changes to evaluation:

I have removed the existing debug statements. As such, this migration removes the nonCompliantPRs from here.
The major part of the evaluation is kept as is from the existing SAST check. The evaluation does two high-level things:

It first calculates the sastScore, codeQlScore, sonarScore. The existing check does that from the raw results directly, whereas the updated uses the results from the probes to assign values to these 3 variables.
It then uses the values of sastScore, codeQlScore, sonarScore to create a check score. This part is kept as-is from the existing check.

What kind of change does this PR introduce?
(Is it a bug fix, feature, docs update, something else?)

[ ] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
What is the new behavior (if this is a feature change)?**

[ ] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Special notes for your reviewer
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

@spencerschrock @laurentsimon @raghavkaul  PTAL


Program icons arranged to stay visible are being hidden

Describe the bug
Icons that are arranged to stay displayed (between | and >) are displayed fine but after restarting Mac it's faulty and they become hidden in older High Sierra.
Steps to reproduce

Arrange icons that you want to see between | and >, click shrink icon >, it's all fine
Restart Mac, it's erroneous

Expected behaviour
Program icons set to be visible remain visible after restarting Mac or Hidden Bar.
Environment
Desktop (please complete the following information):

OS: High Sierra 10.13.6, latest updates

Otherwise program works nicely.

Yes, the order of the icons will always be disrupted after the device is restarted, resulting in having to configure again.

Yes, the order of the icons will always be disrupted after the device is restarted, resulting in having to configure again.

And yet it doesn't have to work this way.. configuration could be stored, and set upon restart

System(MacOS) will remember the locations of icons. Some app simple constantly create new icon instead of using the same button. It has same image and functionality (but not same button each time you reopen app). To make system remember location app should assign same id for that button. This should be finished at client app. We can't do anything. That's the reason why you see some app icon not working because new app icon automatically add to left hand side of menu bar.

Hi @viettrungphan ! Thanks a lot for your clear explanations. I will forward this information to the problematic apps. Again, thank you very much.

I'm a developer of Usage app, which has dynamic menu bar items. For example, it shows bluetooth battery of a connected device, and the menu bar item for it is shown only when the device is connected. When the menu bar item appears or disappears (the ids are static), HiddenBar does not remember the position of the any menu bar item, and hides them all.
I've looked in ways to perhaps fix it on my side, but I already set the same menu bar ids when reloading, showing / hiding them. Would be good to hear an opinion of someone who knows HiddenBar's implementation on that.


Change url to UCR wiki url

The vigem link was offline (moved repo)
I think a link to the documentation would be more helpful for users clicking on it

This has been updated on develop


Improved typing for Signal class

Added strong typing for Signal, allowing for autocomplete on .fire() parameters, .connect() callback parameters and .wait() return values.
Types are specified like so:
const signal = new Signal<(name: string, level: number) => void>()

Looks good! I'll publish a new version on npm.


Remove version: Google.Chrome.Canary version 133.0.6884.0

All InstallerUrls returned 404 Not Found

https://dl.google.com/release2/chrome/acgk2yckrmdzw5jt4mdqj652z7uq_133.0.6884.0/133.0.6884.0_chrome_installer.exe
https://dl.google.com/release2/chrome/adqfxpbxpxevkkrj7rqj26cbvbpq_133.0.6884.0/133.0.6884.0_chrome_installer.exe
https://dl.google.com/release2/chrome/nmtgrn2iwgzsyqmdkrkplr5efy_133.0.6884.0/133.0.6884.0_chrome_installer.exe

Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/acgk2yckrmdzw5jt4mdqj652z7uq_133.0.6884.0/133.0.6884.0_chrome_installer.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 924)


Improve Iridium developer docs

Is your feature request related to a problem? Please describe.
As a developer, I'm unsure of what conventions are followed when building iridium.  E.g. How do we name classes?  What unit test frameworks should be used? How do we checkstyle our code?  How should tests be named? etc.
Describe the solution you'd like
We need to enhance the documentation on how someone can get started quickly developing on Iridium.
Describe alternatives you've considered
n/a
Additional context
n/a

Here is a good link for creating a command line intellij launcher:

https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html#standalone

Getting the path to intellij on OSX
$ IDEA=`ls -1d /Applications/IntelliJ\ * 2> /dev/null| tail -n1`
$ open -a "$IDEA" .


Reconfigure external project (bpf_conformance) location

Several dependencies rely on the location of the external bpf_conformance within the build directory. This patch ensures that we have the benefit of the external project without having to reconfigure all users.

coverage: 80.187%. remained the same
when pulling 85b9058fdd92f7e66c34e4899aa0610eed77fa50 on hawkinsw:external_cmake_fix
into 3c0c5acf72f3d94934ef2f7b3de0da52872f999a on iovisor:main.


Merge pull request #1 from AngularClass/master

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Other information:

Bijwerken remote changes

bijwerken


Stop tagging CQL metrics by session id

When deployed in a multi tenant environment with lots of sessions being created, tagging the CQL driver metrics by session ID can lead to an explosion in metric cardinality, making it difficult to scrape metrics.

I thought about adding a property to make tagging by session optional, but not sure there is use for that.


ARM64 Docker image builds

Is your feature request related to a problem? Please describe.
Cannot deploy on Raspberry Pi, Apple Silicon, etc.
Describe the solution you'd like
Multi-arch builds including ARM
Describe alternatives you've considered
N/A
Additional context
With ARM clusters and Apple Silicon being more prevalent, it would be nice to have this support sooner rather than later, assuming there are no issues due to upstream.

The Rust sdk doesn't support arm builds I'm afraid. 😟

The one this server uses. It's a CGO library where the Rust library creates object files to use here -> https://github.com/bitwarden/sdk-go/tree/main/internal/cinterface/lib
And now that I look at this, it looks like they have arm libs. 😆 😆
I shall investigate.

I'll try making some multi-arch docker builds with dockerx.

Oh wow, I did not expect such a quick response and action here. Thank you so much 😀

Ah, don't be so sure about that hahahaha. :D I'll have to figure out how to do it first. :D

Oh, hopefully it's as easy as adding platforms: linux/amd64,linux/arm64. 🤞

Alright, build is running... let's see. :D

Well.. that worked. @brianramseyau  can you try please?

@Skarlso it's alive! I'm thankful it was a relatively trivial change for this.
Apologies for the long delay in replying.. Life got in the way, hah
I'll continue in the process today where I can to get it all up and running now this bit starts, and ensure its working entirely as expected.

@Skarlso I can confirm this is working as expected (was a little rocky with getting the right config, but it ended up being unrelated).
Thanks heaps for such quick enablement on this one, super happy to be up and running.

No worries! I'm super glad it works indeed. 😁
I thought I would have to do some fiddling with the libraries but thankfully it all just worked. Heh. 😏


Perform test data setup as another user

This would be useful if the user under test doesn't have permissions to create an entity within the test data e.g.
Given I am logged in as 'a standard user'
And 'a privileged user' has created 'something that I can read but I can't create'

Hi, @markcunninghamuk @DavidRcapgemini. I think both of you guys had some ideas on how this might work. We've already discussed this on Teams, but I think the GitHub issue is the best place for any discussions. From what I remember, we've landed on a couple of different options:

A binding that creates and disposes a new XrmApp instance as the given user alias (probably force it to always be headless).

✔ Quick to implement
✔ No updates required to existing driver code
❌ Slow, requires a new browser session to login

Refactor the driver to not use Xrm.WebApi.online and instead handle authentication ourselves.

✔ Fast, doesn't require a new browser session to login
❌ Longer to implement
❌ Significant changes to existing driver code

I believe we could implement this feature as the first option initially and subsequently implement the second option without introducing breaking changes. Depends how quickly the the feature is needed and how much time someone has to implement it.

We also talked about impersonation, which might be useful if we're creating records as users that aren't existing test users i.e. we don't have the credentials for them. I guess it would work for application users, too? In which case we'd just need to start asking for admin credentials in the config file.

@ewingjm on the server side approach to this I did exactly that, I treated the clientid and secret as the username and password effectively. There was also option 3 to move the binding into C# Server side but was the last resort and a fallback (Which I know works as I use it on a current project). Apologies for the delay, Post Xmas has been busy.
Option 3 - Server Side

✔ Proven to work
✔ No updates required to existing driver code
❌ Slower than client side
❌ Teardown needs to handled by passing TestContext in specflow as you need to track all the objects created

@ewingjm on the server side approach to this I did exactly that, I treated the clientid and secret as the username and password effectively. There was also option 3 to move the binding into C# Server side but was the last resort and a fallback (Which I know works as I use it on a current project). Apologies for the delay, Post Xmas has been busy.
Option 3 - Server Side

✔ Proven to work
✔ No updates required to existing driver code
❌ Slower than client side
❌ Teardown needs to handled by passing TestContext in specflow as you need to track all the objects created

Almost done with this now @markcunninghamuk. I've put the client ID and client secret in it's own config section as I figure we'll only ever need one application user. The users that we're impersonating will need to be in the users array as they'll be referred to by alias and we need to map that to a username for impersonation (ultimately, an Azure AD object ID - but I'm querying for that using the username). We won't need a password for these users, but if one is provided then they'll be available for both impersonation and logging in.

Almost done with this now @markcunninghamuk. I've put the client ID and client secret in it's own config section as I figure we'll only ever need one application user. The users that we're impersonating will need to be in the users array as they'll be referred to by alias and we need to map that to a username for impersonation (ultimately, an Azure AD object ID - but I'm querying for that using the username). We won't need a password for these users, but if one is provided then they'll be available for both impersonation and logging in.

@markcunninghamuk  @DavidRcapgemini  Think this is code complete now - just need to prep Azure DevOps with the new environment variables etc.
Branch is feature/test-data-setup-as-named-user

@markcunninghamuk  @DavidRcapgemini  Think this is code complete now - just need to prep Azure DevOps with the new environment variables etc.
Branch is feature/test-data-setup-as-named-user


fix custom: do not fail if file was added or removed

Coverage remained the same at 76.829% when pulling f66d4440415fe02ea0e4ef9b65db14451fc00b51 on fix-custom into 33de03eb49f5cb671595cfa47c79f95ae530662b on main.


Support nullable unsigned integer foreign key

Want to do
I want to add foreign key those type is  integer unsigned null.
The following data is assumed.
type Foo struct {
    ID uint32
}

type nullUint32 struct{
    Uint32 uint32
    Valid bool
}

type Bar struct {
    ID uint32
    FooID nullUint32 `ddl:",type=INTEGER UNSIGNED,null"`
}

func (*Foo) ForeignKeys() []*ForeignKey {
	return []*ForeignKey{
		NewForeignKey(
			"fk_bar_foo_id",
			[]string{"foo_id"},
			"foo",
			[]string{"id"},
		),
	}
}

Problem
However when generating MySQL DDL, it fails to create foreign key.
The reason is that the typ and unsigned flag and rawType are different at the following code.
https://github.com/shogo82148/myddlmaker/blob/7f8e569d0fe782e27eaed60eaac7fdba009e4598/validator.go#L233
Bar.FooID type is parsed to

typ=INTEGER UNSIGNED
unsigned=false
rawType=nullUint32

but referenced Foo.ID is parsed to

typ=INTEGER
unsigned=true
rawType=uint32

Solution
First, type and sign should be same, but there is no way to set unsigned flag to be true in struct tag option.So just add unsigned flag to struct tag option.
I expect Bar struct is like below.
type Bar struct {
    ID uint32
    FooID nullUint32 `ddl:",type=INTEGER,unsigned,null"`
}

Next about rawType comparison.
Foreign keys restrict that corresponding integer columns should have same size and sign, but they may not be required to be the same Go's rawType. Therefore I've just removed this comparison.

Corresponding columns in the foreign key and the referenced key must have similar data types. The size and sign of fixed precision types such as INTEGER and DECIMAL must be the same.

https://dev.mysql.com/doc/refman/8.0/en/create-table-foreign-keys.html

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 68.328%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
699

Relevant Lines:
1023

💛  - Coveralls


How to add custom language?

I need Uzbek...

How to disable language features entirely? Seems it misplaces the month when no adjustment is desired.


Add support for deserializer plugins

I'm curious if you are open to supporting deserializer plugins (perhaps using the Java Service Provider Interface) to allow third parties to supply their own deserializers.
Use case
We're currently using Kafka UI and our topics contain protobuf binary serialized messages. Our protobuf are stored in the Buf Schema Registry and we've forked Kafka UI to add support for deserialization of protobuf messages using schema information from the Buf Schema Registry.
We would like to continue to benefit from updates to Kafka UI, and also contribute our support for the Buf Schema Registry to the open-source community. However, we're not sure if adding support for the Buf Schema Registry to Kafka UI directly makes sense. In addition, there may be additional cases where others have their own deserializer that they want to plug into Kafka UI, and adding each case to Kafka UI would likely bloat the core application.
This led us to think it may be nice for Kafka UI to support deserialization plugins that anyone can easily make.
Implementation ideas
In terms of implementation, I believe the RecordSerDe interface would need to be stabilized, and plugins would essentially write deserialization implementations that conform to the interface.
In addition, I think it might be useful if RecordSerDe contained a canDeserialize(String topic, ConsumerRecord<Bytes, Bytes> msg) function to check if a deserializer can deserialize a given message. In such a setup, DeserializationService (or some other component) would fall back to other deserializes if needed (ultimately falling back to a simple string deserializer).
Happy to help add plugin support if you think it's a good idea.

Hey, thanks for the interest in contributing!
Let me give a thought to it, I'll get back to you soon.

@jdechicchis Hey, feel free to join us at discussing this thing in #1816. We'll finalize some stuff this week.

https://github.com/provectus/kafka-ui/pull/2125/files#diff-b4ae01ceb9a305876d57249a1cd7d5bf7567fd37c5a96cb4e8a4327c8d25b500
kafka-ui-contract/src/main/resources/swagger/kafka-ui-api.yaml
To do: Reflect API changes on frontend


Added note on using turbolinks and highlight.js

If you are using TurboLinks and highlight.js, you are required to re-call the highlight method, however because the state of the hljs object is maintained, you also need to set hljs.initHighlighting.called = false to ensure it is able to re-hightlight, otherwise it simply exists the initialization method, as it thinks it has already been initialized.
It is not enough to just call hljs.initHighlighting();;
Not sure if you really want this as a documentation thing, but I had some issues and found this worked well on my site which I've implemented this on.

@isagalaev also just checking if you are interested in having this in the docs, otherwise I might close it also. Thanks.

Hey! Sorry for neglecting this PR… No, we don't in fact want it as part of the doc due to being ju-u-ust a bit on the other side of "too specific". Totally subjective, call of course, but there it is.
Thanks for the effort in any case!

No troubles, thanks for the package!


register global shortcuts

hit Ctrl+Shift+enter to bring the app from tray

What happens if you're typing something in Skype or Slack and hit that shortcut. I'm not sure if Enter is a good choice.


Add Nepal to Countries Map

It looks like Nepal is not currently supported in countries Map.

I can work on it if there's no other work going on for this.

Current output of geojson library used by superset is very old and I've filed an issue to update Nepal's map on that repo. nvkelso/natural-earth-vector/issues/852

It's much easier to add new maps now if you use the Jupyter notebook. That said, this isn't a bug, really, and PRs are still welcome! Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!


Match active router with hash symbol

I have one route like /app/servers/monitoring described by the following code:
  <Router history={browserHistory}>
    <Route name="Dashboard" path="/app/" component={App}>
      <IndexRoute component={Home}/>
      <Route name="Servers" path="servers" component={ServerRoot}>
        <Route name="Monitoring" path="monitoring" component={ServerSet}/>
      </Route>
    </Route>
  </Router>

My interface is desgined with a Dropdown Menu, Servers => Monitoring:

I'm able to set the active class on monitoring link using the Link tag but when monitoring is active is interesting that servers is also active (to leave the Dropdown menu opened when someone open it directly from URL).
It would be a lot easy if I add to="/app/servers" to Link of Servers but without the # my dropdown stop working, because the browser follow te link do /app/servers, of course.

  <Link to="#" className="nav-link" activeClassName="active">Servers</Link>

<Link to="/app/servers/monitoring" activeClassName="active">Monitoring</Link>

There is a React-Router way to solve that? thank you.

Use an IndexLink

Hi @taion,
Thank you for your answer but I'm not sure that you understood the point.
I tested what you said, It don't solve the problem, I tested as:

  <IndexLink to="#" className="nav-link" activeClassName="active">Servers</IndexLink>

<Link to="/app/servers/monitoring" activeClassName="active">Monitoring</Link>

The main point is that the Link at line 2 should be marked with class active when the route pointed on line 4 is also active. The problem is related to the fact that I'm pointing to="#" because without it the Menu dropdown won't work.

Thank you for clarifying.


Improves CSS

Applies BEM structure to Lightpick. It will reduce CSS specificity, increase selector performance, improve modularity: no need to worry about styling for other HTML elements in a project. Furthermore, 'state classes' are prefixed with 'is', making it clear which classes are temporary and which are not (BEM classes). Smaller CSS improvements are: removes unnecessary browser prefixes for flex box; removes trailing spaces; colors more consistent; uses 'days-of-the-week' instead of 'weekdays' (different meaning).
More about BEM: http://csswizardry.com/2013/01/mindbemding-getting-your-head-round-bem-syntax/ https://philipwalton.com/articles/side-effects-in-css/

Thanks!


something with the path and plrustc probably

cargo build stderr:
error: could not execute process plrustc -vV (never executed)
Caused by:
No such file or directory (os error 2)

fixed locally


Fixing issue of duplicate buckets in DB

Signed-off-by: jackyalbo<EMAIL_ADDRESS>Explain the changes

protecting both create and delete bucket ops with semaphore - So two creates/deletes of the same bucket name won't able to run on the same time

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

I'm making this PR as a quick fix - I think better solution is to enforce this in the DB like in mongo. It seems postgres doesn't handle a multiple field index the same way as mongo and we should fix. Maybe in another PR.


Show a warning if source can't resolve the specified glob/s

Currently it does nothing. It could at least alert the user with this information.

whats the case for this?

I was trying to apply a filter and concatenate some files and kept missing one of the files. The problem was I had a typo in the source, so nothing was happening.

+1


Upgrading react version to 18 in examples generated via cli as Stripe already supports its

Bug report
Describe the bug
Generated examples via stripe samples create accept-a-payment use react 17 while stripe already claims support for react 18: https://github.com/stripe/react-stripe-js/issues/273
To Reproduce
stripe samples create accept-a-payment

Thank you for the report. The react sample was created using Create React App. The error reported seems to be due to a library used internally by Create React App:
https://github.com/facebook/create-react-app/issues/11708#issuecomment-986309926
As there seems to be no releases from Create React App from the year 2022, it may be necessary to consider migrating to something like Vite.
As a temporary workaround, please use NODE_OPTIONS='--openssl-legacy-provider' option like the following:
NODE_OPTIONS='--openssl-legacy-provider' react-scripts start
Best.


Unable to download from hearthis.at

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[X] I've verified and I assure that I'm running youtube-dl 2019.02.18

Before submitting an issue make sure you have:

[X] At least skimmed through the README, most notably the FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones
[X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

No idea how to do a command line thing. Sounds like a linux command. No explanation of how to do this on windows so best I can do is enable debug logging and post that.
[02/27/19 23:26:29] WARNING: unable to extract like count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Example URL of issue: https://hearthis.at/djandyrivera/sea-shell-sessions-2017-final/
When attemtping to download, it queues, pre-processes, then shows a "Warning" status but says downloads completed. A file is produced but it's only 60KB and 3 seconds long.

I'm getting this too. Downloaded file is 59.7KB and just 3 seconds of silence according to VLC.
Looking at the dumped playlist file, there are 2 entries labeled "data-mp3="...
The first one is the useless 3 second one. It points to a URL starting with "https://hearthis.at/hearthisat/untitled/stream.mp3?" The few URLs I attempted with always downloaded a file from this URL (with varying GET data)
The 2nd instance has the correct URL for the MP3 (downloadable using wget), and at least for my test case, the URL begins with the same URL directory as the source page (eg web page "https://hearthis.at/mdbmixes/mdb-beautiful-voices-067-markus-schulz-special-edition/" gives an mp3 URL of "https://hearthis.at/mdbmixes/mdb-beautiful-voices-067-markus-schulz-special-edition/stream.mp3?"
Would a quick fix would be to blacklist the "hearthisad/untitled/stream.mp3" and keep searching the playlist for more entries...? :man_shrugging:

Found a possible fix... In hearthis.py, change the regex original:
mp3_url = self._search_regex(r'(?s)<a class="player-link"\s+(?:[a-zA-Z0-9_:-]+="[^"]+"\s+)*?data-mp3="([^"]+)"', webpage, 'mp3 URL', fatal=False)
fixed:
mp3_url = self._search_regex(r'(?s)<a class="player-link"\s+(?:[a-zA-Z0-9_:-]+="[^"]+"\s+)*?data-mp3="(?!https://hearthis.at/hearthisat/untitled/stream.mp3)([^"]+)"', webpage, 'mp3 URL', fatal=False)
If someone more experienced with regex could check my working, and arrange to get this change made... I'm fairly confident this will correct the problem, but not confident enough to create a pull request in case I'm actually making it worse :laughing:

I can confirm that the fix by @supertin fixes things, you should definitely submit a PR!

I can confirm that the fix by @supertin fixes things, you should definitely submit a PR!

FYI: Today I tried yt-dlp and it works out of the box …
(So I'll switch over to it and also because the slow development of youtube-dl. #sry)


Merge pull request #1 from aspnet/dev

merge

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Feature Request for Inactive step color

First of Thanks for the wonderful library.
I would like to ask for a feature where we can set inactive step color. Currently we can select only the step color but it would be very useful if we can select colors for inactive steps and active steps separately. Thanks once again!

Any updates on this, many are waiting for this feature, cool library though, already did a lot for us.

Extending this project, I actually implemented a way to have a different colour for steps which are activated i.e steps which are within the range. Works only for app:rsb_mode="range"

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.RectF;
import android.util.AttributeSet;

import com.jaygoo.widget.RangeSeekBar;
import com.jaygoo.widget.SeekBarState;

public class CustomRangePickerJava extends RangeSeekBar {

    @Override
    protected void onDraw(Canvas canvas) {
        super.onDraw(canvas);
    }

    public CustomRangePickerJava(Context context) {
        super(context);
    }

    public CustomRangePickerJava(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void onDrawSteps(Canvas canvas, Paint paint) {
        float stepIncrementer = getMinProgress();
        RectF stepDivRect = new RectF();
        SeekBarState[] states = getRangeSeekBarState();
        int stepMarks = getProgressWidth() / (getSteps());
        float extHeight = (getStepsHeight() - getProgressHeight()) / 2f;
        for (int k = 0; k <= getSteps(); k++) {
            float x = getProgressLeft() + k * stepMarks - getStepsWidth() / 2f;
            stepDivRect.set(x, getProgressTop() - extHeight, x + getStepsWidth(), getProgressBottom() + extHeight);
            paint.setColor(getStepsColor());
            if (stepIncrementer >= states[0].value && stepIncrementer <= states[1].value) {
                paint.setColor(getProgressColor());
            }
            canvas.drawRoundRect(stepDivRect, getStepsRadius(), getStepsRadius(), paint);
            stepIncrementer += getMaxProgress() / getSteps();
        }
    }
}

Yea did it in the same way but would be a great addition to the library if it is supported from the xml layout directly.

This could be easily implemented from XML. I would like to raise a PR request for this feature if the original author wishes.


pre-trained models?

Thanks for the cool project, when do you plan to make the pretrained models available? :)

Thanks for reaching out, we will make the weights available soon along with a detailed readme.


crashed when call +[RKDropdownAlert title: message:]

The Fabric has a record of issue:

iPhone5, iOS9.3.1
Crashed: com.apple.main-thread
EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x00000000a1b06cf5
Thread : Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x2136ba86 objc_msgSend + 5
1  Foundation                     0x222f779d -[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] + 276
2  QuartzCore                     0x241e1251 CA::Layer::set_delegate(objc_object*) + 112
3  UIKit                          0x26174d95 -[UIView _createLayerWithFrame:] + 592
4  UIKit                          0x261746e5 UIViewCommonInitWithFrame + 852
5  UIKit                          0x26174317 -[UIView initWithFrame:] + 130
6  UIKit                          0x2617bc61 -[UILabel initWithFrame:] + 56
7  MyApp                  0xcf6af -[RKDropdownAlert initWithFrame:] (RKDropdownAlert.m:56)
8  MyApp                  0xcfc77 +[RKDropdownAlert alertView] (RKDropdownAlert.m:135)
9  MyApp                  0xcffab +[RKDropdownAlert title:message:] (RKDropdownAlert.m:174)
10 MyApp                  0x74847 -[ZZFileViewController p_refreshByConnectStatus] (ZZFileViewController.m:1186)
11 CoreFoundation                 0x21b53345 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
12 CoreFoundation                 0x21b52d53 _CFXRegistrationPost + 398
13 CoreFoundation                 0x21b52b29 ___CFXNotificationPost_block_invoke + 40
14 CoreFoundation                 0x21ba9f63 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1334
15 CoreFoundation                 0x21ab20eb _CFXNotificationPost + 486
16 Foundation                     0x222f7b17 -[NSNotificationCenter postNotificationName:object:userInfo:] + 70
17 UIKit                          0x261fa873 -[UIApplication _stopDeactivatingForReason:] + 1150
18 UIKit                          0x26413b39 __62-[UIApplication _sceneSettingsPostLifecycleEventDiffInspector]_block_invoke1180 + 104
19 FrontBoardServices             0x232621a3 __52-[FBSSettingsDiffInspector inspectDiff:withContext:]_block_invoke27 + 158
20 Foundation                     0x22397e23 __NSIndexSetEnumerate + 430
21 Foundation                     0x223230f7 -[NSIndexSet enumerateIndexesWithOptions:usingBlock:] + 66
22 BaseBoard                      0x231f6d17 -[BSSettingsDiff inspectChangesWithBlock:] + 102
23 FrontBoardServices             0x2325dbe7 -[FBSSettingsDiff inspectOtherChangesWithBlock:] + 94
24 FrontBoardServices             0x2326200f -[FBSSettingsDiffInspector inspectDiff:withContext:] + 310
25 UIKit                          0x264142cf __70-[UIApplication scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke + 170
26 UIKit                          0x26413f99 -[UIApplication scene:didUpdateWithDiff:transitionContext:completion:] + 644
27 FrontBoardServices             0x23254c29 __80-[FBSSceneImpl updater:didUpdateSettings:withDiff:transitionContext:completion:]_block_invoke_2 + 40
28 FrontBoardServices             0x2326fbf7 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 18
29 FrontBoardServices             0x2326faa7 -[FBSSerialQueue _performNext] + 226
30 FrontBoardServices             0x2326fda5 -[FBSSerialQueue _performNextFromRunLoopSource] + 44
31 CoreFoundation                 0x21b63a67 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 14
32 CoreFoundation                 0x21b63657 __CFRunLoopDoSources0 + 454
33 CoreFoundation                 0x21b619bf __CFRunLoopRun + 806
34 CoreFoundation                 0x21ab0289 CFRunLoopRunSpecific + 516
35 CoreFoundation                 0x21ab007d CFRunLoopRunInMode + 108
36 GraphicsServices               0x230ccaf9 GSEventRunModal + 160
37 UIKit                          0x261db2c5 UIApplicationMain + 144
38 FlashairShare                  0x8abcf main (main.m:14)
39 libdispatch.dylib              0x2175c873 (Missing)

I check the code, and find it just calls:
[RKDropdownAlert title:alertTitle message:alertMsg];
Both the strings are not nil as using NSLocalizedString.
The Project is using ARC and I have no idea about this  EXC_BAD_ACCESS.
Could you find something from the crash log?

Have you tried use Constant string like @"string" ?
Or try to look at your scheme and run as debug. Or try to Enable Zombie Objects to find what's going on.
Bcz this problem should about project setting rather than this library.

It only happens in Production, and I never find it in Debug.
That's also why I need help...

still not fixed the problem? LOL
I meet this b4 but I forgot how to fix. But it SHOULD be your scheme setting problem

thanks for you quick response!
I checked the scheme, but for Archive there is no configuration.
what else should I look?

sorry, scheme is not the main cause, but you can Enable Zombie Objects in scheme to find out the root of problem.
From stack overflow:
EXC_BAD_ACCESS KERN_INVALID_ADDRESS generally means that you are sending a obj c message to an invalid memory address. Usually this happens because an object that you are using has been deallocated, while you weren't expecting it to be.
The reason it works on another phone is probably just that autoreleased objects aren't being released at the same time. You should check your retain/release balances and can use NSZombieEnabled to get more information.

BTW, have you tried use Constant string like @"string" to test the code?

yes, it does matter with memory. However, I use ARC, and there is no manually retain/release. This is why I can't find it so far.
By the way, the title and msg is localized, and I haven't tried with constant string. May test it later.
As for the Zombie, can it be enabled and work in Release?

For Zombie, it can work in Release, you can edit your scheme to set Run as Release to help you find which one variable had been release memory by system.
I understand the difficulty to locate this problem using ARC, because I'm using ARC too! haha! In my method, I use dummy, slow but accurate method to find out which/where the variable released: check all variable step by step. It may time consuming, but once you locate which variable released, you can find the root very fast.
If you use with constant string and no error, you can mainly look at the string variable to find out where did it been released.

Problem may happened by this statement.
10 MyApp                  0x74847 -[ZZFileViewController p_refreshByConnectStatus] (ZZFileViewController.m:1186)


[ISSUE-32] Make env variable parsing error in configuration file more…

… esplicit

I tried to only rely to the exception thrown by python, but to be honest I believe it was still not too clear, and preferred to specify the message a bit more


Unskip Tests

Buildkite has now fixed their ubunut image, so we should ideally no longer skip these tests.

Out of curiosity, how are we connecting the compute service to the docker daemon from within the container tests run in?


Skip 3694 warnings on trivial resource cloning

Turns the 3694 warning into a debug message if the prior resource is
identical to the current resource.  Suggestion for opscode/chef-rfc#76

okay, i think the code works now, needs tests.

and there's the tests...
@opscode/client-core @opscode/client-engineers

sigh, so we clone first then instance_eval to get precedence correct.  but we need to instance_eval and not have cloned in order to get the comparison right.   so this code still fails.

scaled back, this is now mostly only useful for the repeated package "foo" case.
to solve it right we'd need to do something like we do with node attributes where resource attributes would be stored as a triple of the default value, the cloned value and the set value.  then we could easily do some logic against that, but otherwise there's no way to reason about it.  and i'm not about to implement that complexity just to suppress 3694 errors.  what i can do is see that the prior resource is trivial and that the new resource is also trivial and therefore we can suppress the message.
code is currently super ugly.

@lamont-granquist I agree with you. It is not worth complicating more the code to suppress more warnings. We must focus on a simple solution and see if it solves enough use cases.

@danielsdeleo i extracted all the tightly coupled bits out of the recipe DSL and the resource class into its own resource_builder class.  the initialize method is still pretty messy, but that is mostly due to the fact that we don't have a good way of finding the current context (cookbook, recipe, etc) we're running under.
and @opscode/client-core @opscode/client-engineers this is ready for review.
aspirations have been scaled way back.  the prior resource must be a trivial resource will all defaults including either the default action or action :nothing, and the cloned resource must be the same.  effectively all this does is suppress package "zlib-dev" style cloning, but that is probably a large "use case" of the 3694 errors.

Clean up looks great. I have one comment about the tests but :+1: otherwise.

:+1:

:+1:

okay, addressed dan's comment, squashed, rebased and added md file.

Any chance to get this supporting the same thing, but identical actions? We almost never have a package resource without action :upgrade in it. An install without a version is crazypants, that's "please don't manage this at all" :/

Nope, not without breaking out resource attributes into default, cloned and changed state and keeping the triple, which is way too much work just to suppress a warning.

I don't want to blow up this thread with unrelated discussion, but I do want to say I think we can take an incremental approach to resolving CHEF-3964. For example, adding a feature flag to disable resource cloning would put us in a better state than we are now. We'd still need to figure out and implement the behavior we want for notifications to resources with duplicate (type, name) keys but we have that problem currently (do you notify the original or the "clone"?).

Yep, I was thinking about that the whole time I was writing this.  Cloning is really horrible, and it'd be better to not clone and just have notifications target either the prior resource or current resource.
Problem is that I'd still argue that repeated resources should still spit out a warning, so it doesn't make the crowd who is annoyed at warnings any better off.  On the other hand it'd make it a lot easier to fully construct the current resource, without cloning, and then compare it to the prior resource and make a decision about if the warning mattered or not.

@lamont-granquist one option would be to just warn when notifications target a duplicated resource. Which implies a value judgement that they're okay as long as you don't try to notify them...


Add numbers to color palette

The information for the color palette and image simply says "All colors are numbered from nord0 to nord15 where each palette".
https://raw.githubusercontent.com/arcticicestudio/nord-docs/develop/assets/images/nord/repository-color-palettes.svg?sanitize=true
Could this SVG be updated to show the numbers of each one, this would make adjusting things much easier.
For context the defaults for Emacs Org-Mode TODO in https://github.com/arcticicestudio/nord-emacs/blob/develop/nord-theme.el set some colors and I would like to easily see which of nordx I should change some colors to.

see: https://svgshare.com/s/bdU

Hi @JoshuaAdrianJones :wave:, thanks for your contribution :+1:
Improving the documentations for the individual color IDs has also been raised in #153, but for now I'm not sure if the color & palette documentation page is not good enough. There are plans to improve these documentations, e.g. by splitting the page into sub-pages for each palette, but right now there are other tasks for the Nord project that must be completed first.
The SVG in the GitHub repository is more like a esthetic element for the visual project representation, even though it also includes HEX numbers already (which can unfortunately not be selected anyway 😕). The main source-of-truth should be the official website with its documentations, that why the README is kept quite minimal when it comes to more detailed information and refers/links to the website instead. "One-page" documentations like a README is often not optimal to document a project in a modular and clear way.


add missing "name"

The specification has been reworked by us, because these changes are no longer relevant.
Last week, we moved spec-rework branch to master.


Update testify to 1.10.0

What does this PR do?
Update testify to the latest (1.10.0)
Motivation
Benefit from https://github.com/stretchr/testify/pull/1481 to be able to use require in Eventually
Describe how to test/QA your changes
Covered by CI (this is a test dependency)
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Add tests for error cases

Codecov Report

Merging #4 into master will increase coverage by 13.24%.
The diff coverage is 82.35%.

@@             Coverage Diff             @@
##           master       #4       +/-   ##
===========================================
+ Coverage      54%   67.24%   +13.24%
===========================================
  Files           2        2
  Lines          50       58        +8
===========================================
+ Hits           27       39       +12
+ Misses         17       15        -2
+ Partials        6        4        -2

Impacted Files
Coverage Δ

internal/ska/values.go
63.33% <100%> (+11.48%)
:arrow_up:

internal/ska/templates.go
71.42% <75%> (+14.9%)
: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 c7d2cfb...ad9a3f5. Read the comment docs.


Use bnd-maven-plugin für better osgi support

switch from felix to bnd-maven-plugin
use Annotation support instead of instructions e.g. @Export
Generate module-info files over annotations
Add tests for osgi
I will come up with an PR

looking forward to the PR!
is OSGI still a thing? ;-)

oh yeah!!!!! it is!

Just kidding about the OSGI. Really interested in where and how you use it. I used it myself at my last job but later refactored to Spring as it was a better fit for our use-case at that time.

is semantic versioning and baselining an option for this project?

Semantic seems OK to me. FYI we are still a bit struggling to fully automate the release cycle, especially the last step with bumping version number etc. As your change involves a lot of additional entries of the version number, can you also look into this issue? Develop branch should get 2.X.X-SNAPSHOT version and master the release version number.

Regarding baselining: no experience, can you advise how/why to use and what it brings as improvements?

I added a Version on each exported package (2.0.0). When an other bundle-developer uses your bundle as dependency bnd will generate the Import-Package statement in the MANIFEST.MF with an Version-Range from the Given version to the next mayor version. This way it is possible to run different Versions of the same bundle inside one framework.
The concept of Baseline cares about the the correctness of this version. After building the jar the bnd-baselining-plugin compares the released version with the current build and tells you if the versions are correctly adjusted to the changes.

@stbischof i still haven't properly understood baselining. Is it possible to auto-generate all these things, so that no fixed versions are in the code? Then i would find this really interesting.
About the semantic versioning. We of course want to use this. I guess i should have created a version 2.0.0, and not a 2.0. For the PR we can then create the 2.0.1 and then we will have a version which should be fine, right?

The focus is to use semantic version also on package level.
The baseline plugin will tell you if your chances are not conform with the used versiin of the package or jar.

@stbischof is there no way to autogenerate the files? We use mvn versions:set to set the version and don't want to modify any files by hand. Is that possible for a release?

Closing for now, as this conflicts with the release management process


Missing STORAGE_ROOT_PATH

Just playing around and just noticed I'm missing a configuration: STORAGE_ROOT_PATH (or similar). Didn't find evidence in code base :sweat_smile:
A AWS_RESULT_STORAGE_ROOT_PATH does exist, indeed.

Fixed in 0.3.0. Also added to docs.


MM-17326 Fix for svg not rendering in posts

Summary
The nesting of svg element changed with recent changes of adding buttons causing the parent button to not occupy space as it is an inline-block element. Adding a width and text align to have the image aligned to left
Before:

After:

Ticket
https://mattermost.atlassian.net/browse/MM-17326

You don't need to give it any class, we should not have a width associated to it, because then if the svg is small and has a small width defined within it, it will also appear really big.

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-3263.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Spinmint test server destroyed


Error creating bean with name 'apiDescriptionReader' since not args were given (spring 3.2.x)

Error creating bean with name 'apiOperationReader' too.
springfox v2.2.0, spring v3.2.8 used.
Any solution?
I'd be appreciate your answer so much.

@choiapril6 did you resolve your issue. I think one thing I would try with the following set up
springfox 2.2.2
spring 3.2.8

update your dependency on aspectj weaver to org.aspectj:aspectjweaver:1.8.6

See  if that fixes your problem. Also could you share you BeanCreationException stack trace?

Yes i did. I just down-versioned springfox dependency to 2.0.1. On this, it worked, finally. I need to figure out how springfox does this to start developing my api documentation system, though. I think I have to try your solution too on a new branch to use springfox 2.2.2. I appreciate it. I will give you some feedback after trying. Thank you.

👍🏼 please do share your findings as I suspect there will be quite a few with a similar problem.

Closing this a duplicate of #921


Feature/us16 calendar

Calendar completed responsive and linked to api

Attention, tu as un conflit avec ``client/src/main.tsx`


Fixed font attributes in ImageTextButton and derived classes.

Fix setting text attributes from code in:

ImageTextButton
UrlImageTextButton
RadioButton
CheckBox
LinkButton

Should fix #519.

This PR works for me