Aliases don't seem to be updating properly?

Environment
OS: Ubuntu 12
Apex Version: 0.10.2
Issue
We're trying to use Apex to deploy a single Lambda function to multiple aliases. The behavior we expect is that:

apex deploy will push the latest version of the code (if the zip has changed in any way) and update the current alias
apex deploy --alias staging should update the staging alias to point to the $LATEST version of the code (which effectively is the same as the current alias)

However, we're only seeing the first part of the behavior. Deploys of code are idempotent, but alias updating isn't happening:

Are we misunderstanding how its supposed to work?

@diranged Could you please re-run this but with -l debug instead of -l DEBUG. I did a quick test locally and that is case sensitive right now which is why we aren't seeing all of the debug information.
I went through and tried this myself as well. My new alias was only created if my function code changed. It seems like an edge case which the code doesn't currently handle as the Aliases are only Created/Updated when the function code or configuration is updated.
Here's the part that handles determining if an update is needed, it seems like that just needs to check if an alias change has occurred as well and be a bit smart about linking the versions.

We have another issue somewhere discussing this a bit more, no consensus yet but the idea was to have something more like git tag for cases like this, rather than forcing a deploy or conflating the two operations. Open to suggestions there, I don't use aliases heavily at all myself.

Ok so a few things.. First, before I ran any of the below commands, here's the state of our lambda function and its aliases:

it seems that in dry-run, debug logging doesn't work at all
MacBook:log-pipeline-data-transformer diranged$ /usr/local/bin/apex --dry-run -l debug deploy --alias production

MacBook:log-pipeline-data-transformer diranged$ /usr/local/bin/apex --dry-run -l debug deploy --alias staging

two, without dry run, here's a proper idempotent deploy with no alias
MacBook:log-pipeline-data-transformer diranged$ /usr/local/bin/apex -l debug deploy
   • loading functions in functions
   • loading function in functions/stream-to-firehose-transformer
   • deploying 1 functions
   • deploying                 function=stream-to-firehose-transformer
   • creating build            function=stream-to-firehose-transformer
   • injecting prelude         function=stream-to-firehose-transformer
   • adding env                env=map[APEX_FUNCTION_NAME:stream-to-firehose-transformer LAMBDA_FUNCTION_NAME:log-pipeline_stream-to-firehose-transformer] function=stream-to-firehose-transformer
   • add file to zip           file=index.js function=stream-to-firehose-transformer
   • add file to zip           file=package.json function=stream-to-firehose-transformer
   • add file to zip           file=test/index.js function=stream-to-firehose-transformer
   • created build (12 kB)     function=stream-to-firehose-transformer
   • fetching config           function=stream-to-firehose-transformer
   • config unchanged          function=stream-to-firehose-transformer
   • code unchanged            function=stream-to-firehose-transformer
   • cleaning 1 functions
   • conditional flush         above_duration=24h0m0s above_size=500 age=3m35.595955828s size=25
   • close

next, here's a proper idempotent deploy to the staging alias, which was up to date already
MacBook:log-pipeline-data-transformer diranged$ /usr/local/bin/apex -l debug deploy --alias staging
   • loading functions in functions
   • loading function in functions/stream-to-firehose-transformer
   • deploying 1 functions
   • deploying                 function=stream-to-firehose-transformer
   • creating build            function=stream-to-firehose-transformer
   • injecting prelude         function=stream-to-firehose-transformer
   • adding env                env=map[LAMBDA_FUNCTION_NAME:log-pipeline_stream-to-firehose-transformer APEX_FUNCTION_NAME:stream-to-firehose-transformer] function=stream-to-firehose-transformer
   • add file to zip           file=index.js function=stream-to-firehose-transformer
   • add file to zip           file=package.json function=stream-to-firehose-transformer
   • add file to zip           file=test/index.js function=stream-to-firehose-transformer
   • created build (12 kB)     function=stream-to-firehose-transformer
   • fetching config           function=stream-to-firehose-transformer
   • config unchanged          function=stream-to-firehose-transformer
   • code unchanged            function=stream-to-firehose-transformer
   • cleaning 1 functions
   • conditional flush         above_duration=24h0m0s above_size=500 age=3m44.441596249s size=27
   • close

now here's the deploy that should update the production alias, but doesnt
MacBook:log-pipeline-data-transformer diranged$ /usr/local/bin/apex -l debug deploy --alias production
   • loading functions in functions
   • loading function in functions/stream-to-firehose-transformer
   • deploying 1 functions
   • deploying                 function=stream-to-firehose-transformer
   • creating build            function=stream-to-firehose-transformer
   • injecting prelude         function=stream-to-firehose-transformer
   • adding env                env=map[APEX_FUNCTION_NAME:stream-to-firehose-transformer LAMBDA_FUNCTION_NAME:log-pipeline_stream-to-firehose-transformer] function=stream-to-firehose-transformer
   • add file to zip           file=index.js function=stream-to-firehose-transformer
   • add file to zip           file=package.json function=stream-to-firehose-transformer
   • add file to zip           file=test/index.js function=stream-to-firehose-transformer
   • created build (12 kB)     function=stream-to-firehose-transformer
   • fetching config           function=stream-to-firehose-transformer
   • config unchanged          function=stream-to-firehose-transformer
   • code unchanged            function=stream-to-firehose-transformer
   • cleaning 1 functions
   • conditional flush         above_duration=24h0m0s above_size=500 age=5m59.612866951s size=29
   • close
MacBook:log-pipeline-data-transformer diranged$

As @tj mentioned this is related to #364

closing in favour of the discussion in #364


Installing .NET Core on OS X: Include code which runs compiled app.

The doc should include a code sample of how to run a compiled app.  Folks coming to OS X or Linux from the Windows world will not know that the app name must be preceded by ./.

LGTM.  @blackdwarf ?

@tonysneed can you add the same change to Ubuntu article?

Happy to do that.

Just checking back ... looks like we're punting on this for now?

@tonysneed yes, due to the great volume of changes that are happening in the CLI repo, I've made a call to have a single source of truth for GS content. Otherwise, we have bits and pieces of content that are out of sync.
If you're ok with that, I will close this PR.

@blackdwarf I can definitely understand the need to hold off until CLI stabilizes. Concerning a single source of truth, it shouldn't it really be the docs? Otherwise, there's a circular reference: site points to docs which points to site. Also, the web site it too terse - docs can provide more detail.
I would suggest a statement in the docs saying that they will be written as soon as CLI stabilizes, for example, with the next RC.

@tonysneed fair enough. The GS page has a nicer UX that is better at combining the various options we own so for now it makes more sense for it to be the SSOT. In the future, of course we will have docs that cover a little more...concrete info. :)
You can change this PR to include the line you suggested?

The issue I think is that GS has dotnet run, but not dotnet build.  So it it should be shown in either the GS or in the docs. :smile:
The issue I ran into, being more familiar with Windows than Unix, is that running the compiled app requires prepending .\, like so:
dotnet build
cd bin/Debug/dnxcore50
./HelloDotNetCli

Hello World!

I realize a lot of this is still in flux (for ex, dotnet compile vs dotnet build).  So it's alright to punt on the docs for now, but you'll probably want to update the GS to include dotnet build, because it's the first thing a dev will want to do after dotnet run. :smile:

@blackdwarf @tonysneed will this PR still valid given the changes to link to the Getting Started page?

I don't mind closing the issue.

@tonysneed sounds good.  Thanks!


Fix e2e test failure, add test for local bundle without rekor bundle

Signed-off-by: Hayden Blauzvern<EMAIL_ADDRESS>
Summary

Release Note

Documentation

Codecov Report

Merging #2248 (fb51ab0) into main (58a96ba) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2248      +/-   ##
==========================================
+ Coverage   28.35%   28.39%   +0.03%
==========================================
  Files         131      131
  Lines        7839     7839
==========================================
+ Hits         2223     2226       +3
+ Misses       5315     5313       -2
+ Partials      301      300       -1

Impacted Files
Coverage Δ

cmd/cosign/cli/verify/verify_blob.go
44.44% <0.00%> (+0.65%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@asraa I'm not 100% this is the right behavior. This is the case where we provide a local bundle (without experimental, so no rekor lookup) with just a signature (and it could optionally contain a cert too, but in the test, we pass a key), and the local bundle has no rekor bundle.
This is probably actually a valid use-case, that you use the local bundle just to hold the verification material.

@asraa I'm not 100% this is the right behavior. This is the case where we provide a local bundle (without experimental, so no rekor lookup) with just a signature (and it could optionally contain a cert too, but in the test, we pass a key), and the local bundle has no rekor bundle.

Ugh. I see this case.
Unfortunately we CAN produce a bundle out of experimental mode: https://github.com/sigstore/cosign/blob/fb51ab00a50e2fe7ec0beb558f6bbf514319457b/cmd/cosign/cli/sign/sign_blob.go#L86
So I think this should technically pass?

Can we just add a check for experimental flag when verifying with a Rekor bundle? I think that’s the simplest fix.

That sounds good!

Done! Updated description and release note @cpanato @haydentherapper

going to merge this to check the post submit jobs and if they are green will release it


Reported latest version is wrong

For https://github.com/sharplet/Regex
Apodidae states Last versions: v0.2.3, v0.2.2, v0.2.1, v0.2, v0.1
But there are several newer releases listed: https://github.com/sharplet/Regex/releases
I'm guessing the issue has to do with the leading v on the old tags which means they're sorted differently. Ugh. That means I'm already not getting the latest versions from the GitHub API, that stinks 😕

The issue is probably that refs(last:) returns the last n refs from an alphabetically sorted list. Two possible solutions:

Request not the last 5 but the last... 50 (?) refs and hope that covers the latest ones (ugh)
Shell out to git ls-remote when displaying info for a package, read all tags (and branches/pulls while at it?), normalize, sort and display 'em.

2 definitely seems like the more sensible approach.

GitHub support has also stated that getting the latest tag for a repo just isn't possible via the API.


Allow v0.15.1 of Folium

If I'm thinking about this correctly @blackary, we don't need to exclude 0.15.0 per se, since the solver should always go to the patch version. Thus, we can keep the requirements much looser.
If you disagree, then make a commit here. Otherwise, we'll put out a new version of streamlit-folium as well.
References #148

Doesn't look like this is failing because of flaky tests, but because if incorrectly specified literals in the assert statement

Looks like #157 passes the tests, so maybe that should get merged first

I think I'll need to update the tests a bit to support the new code that folium outputs.

I also do think we should exclude 0.15.0, because otherwise, if someone already has that version of folium installed, and we just say they need >= 0.13, then the solver won't realize it needs to upgrade them to 0.15.1

Warning : I think the ",!=0.15.0" in the requirement.txt is on the wrong line (streamlit instead of folium)

Warning : I think the ",!=0.15.0" in the requirement.txt is on the wrong line (streamlit instead of folium)

Good catch @BastienGauthier


Chore: restructuring

https://p2pvalidator.atlassian.net/jira/software/projects/LSC/boards/121?selectedIssue=LSC-148

Restructure package folder;
Tests for KVReconstruct implementations

please rename txs/contract.rs/connection_key() to get_port_id() & move it to sdk/helpers


Fix "/*" glob over match

I believe this addresses the linked issue without compromising any existing functionality. All UTs passing.
Resolves #11

Seems there's a CI breakage that's preventing the core test suite from running. I'll investigate in a bit.


zetaclient: add minimum version check

zetaclient should automatically shut down if does not match the zetacored major version or if it is not greater than or equal to a configured minimum version.

We should only consider a protocol / policy-based solution like this if we have exhausted all other options.
If we move towards a more decentralized network in the future, this will add one more thing to worry about.
With that said, I do not see any problems with this approach right now


Missing source code

In the paper it is mentioned that the source code is publicly available. But in github only readme is present. It would be great if the source code was made public

We will release the code after the SP 2021 conference, which will appear at May 23-27. The paper mentioning that the code has released is camera-ready version, which is not officially available. We just put that version online for early access.


Use min-max normalisation for heat stress criteria

Currently the heat stress criteria is normalised (prior to matrix normalisation) by division by 20DHW (deemed an upperlimit in terms of irrevokable damage to corals). For smaller DHWs, however, this way of normalising gives little variation between sites, such as below:

Min-max normalisation allows better differentiation between sites which will allow the site selection algorithm to better differentiate between suitable sites for deployment, as shown below:

@Rosejoycrocker why do you reckon only heat_strees was hugely affected by this change? Any hypotesis?


Microsoft.PowerShell.5.1.ReferenceAssemblies does not allow using a version of full .Net lower than 4.6.1

Opening the issue here, as suggested by Steve here.:
Given the following csproj file:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net46</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.PowerShell.5.1.ReferenceAssemblies" Version="1.0.0" />
  </ItemGroup>

</Project>

Running dotnet build on it, results in a build error telling me that net461 is the lowest supported .Net version:

error NU1202: Package Microsoft.PowerShell.5.1.ReferenceAssemblies 1.0.0 is not compatible with net46 (.NETFramework,Version=v4.6). Package Microsoft.PowerShell.5.1.ReferenceAssemblies 1.0.0 supports: net461 (.NETFramework,Version=v4.6.1)

Similar to the Microsoft.PowerShell.5.ReferenceAssemblies package, I expect it to work down to at least net45 and its other minor versions like net451 or net452, etc. I am using the latest .Net SDK btw.
cc @JamesWTruher
P.S. By comparing it against the Microsoft.PowerShell.5.ReferenceAssemblies, it shows that the 5.1 package was built against net461 whereas the 5.0 package was build against net4, therefore it seems that building against net4 should solve the problem. Also: the package does not declare this dependency, if dotnet pack was being used, I am sure that this dependency would've been visible in the nuspec file and to the end user before even trying to install it.

Regarding net45, it's been out of support (https://support.microsoft.com/en-us/help/17455/lifecycle-faq-net-framework) so I don't think we should support that.  It seems there is no reason we shouldn't use net46 vs net461, so I would propose a 1.0.1 release built against net46

Ok, thanks for letting me know, I did not know that. When reading your link it sounded rather that net45 and net451 are deprecated but not net452, is that correct?

net452 is tied to the OS, it looks like Server 2012 R2 is out of mainstream support and only in extended support.  However, that extended support goes through 2023.  So it seems ok to build against net452.

Perfect :)


asText(undefined) TypeError

RichText.asText(undefined) results in the following runtime error in development mode.
On building the page it causes to fail the build.
Is this intended?
TypeError: Cannot read property 'map' of undefined
r [as asText]
node_modules/prismic-reactjs/dist/prismic-reactjs.js:871
  868 |
  869 | var r = function (e, t) {
  870 |   var n = "string" == typeof t ? t : " ";
> 871 |   return e.map(function (e) {
  872 |     return e.text;
  873 |   }).join(n);
  874 | };

Hey @ohlr, I wouldn't say intended as it's simply passed to RichText, I believe. I'll talk with the dev team if it's something we could change on prismic-dom. In any case, we can add a check in the React package. Would you mind opening a PR?

so @hypervillain  whats the status?

@hypervillain when do you plan the next release?


CBT Tape Annual Review- 10/10/2024

Please share any additional details on this topic
CBT Tape Annual Review
Detail what actions or feedback you would like from the TAC
CBT Tape Annual Review
How much time do you need for this topic?
None

Project report for this meeting submitted by Sam Golub.
CBTreprt1.txt

Confirmed- 9/19

I am unable to find the calendar invite for this - can you resend please (also please resend to Sam as he just called asking)
posting slide deck
OMP CBT October 2023 Review.pptx

Hello. I sent you and Sam the invitation. Please let me know if you do not see it in your email or spam.

got it - thank you

Project renewed by TAC vote- 10/10/2024

Thank you for your renewal and especially for your support

@lbdyck We have CBT Tape scheduled for an annual review during the TAC meeting on October 10, 2024 at 1:00p ET - are you available for this?

I am - you should also invite Sam Golob and Henri Kuiper

On hold - reschedule for 2025

Why the reschedule?

Sam Golob specifically requested this.


unhandled 'error' events should throw the error on next tick (setTimeout or setImmediate)

When EventEmitter.emit('error', error) is called in node, and goes unhandled, node will throw the error on the next tick, where it can't be handled by the current call stack.
This library throws the error during the emit call itself, which makes the error end up being thrown into a call stack that is not expecting it. This is particularly odd, because the caller is attempting to report the error, and it gets thrown back. I believe this behavior is incorrect.
I think the correct behavior, to mimic node, would be report the error using setTimeout or setImmediate, to clear the call stack before throwing. That way, the error will actually make it into the browser console output, which is generally benign.

actually this seems to be some repl vs script execution difference, nevermind.

ahh ok, i was surprised to see this issue because i was pretty sure we copy-pasted the node.js events module verbatim and only tweaked it to add support for older browser environments. thanks for the report anyways!


Add varenc/ffmpeg to list of interesting taps

[x] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

It would be helpful to include this link in the list for users that wish to have custom-built versions of ffmpeg, especially with nonfree features enabled (which Homebrew cannot distribute), such as --with-fdk-aac.

LGTM

I think someone from @Homebrew/brew needs to do the merging here. On a related note, I think I'm comfortable enough with my newly acquired Ruby skills, and understanding of the work flows to be added to the brew team if others are comfortable/cool with it. Happy either way.


feat: support user email and name custom headers

This PR adds support for new custom headers: X-Name and X-Email. They are mapped with kratos identity.traits claims.

why are we not allowing completely custom headers via a config parameter in the charm?
this works, but the headers are vetted by us instead of being fully custom

If this was a config option, the end user wouldn't necessarily know how to map the the headers with kratos claims


[TAB REQUEST] BitLocker AD Retrieval UI

Describe the solution you'd like
A UI tool (similar in utility to that of the LAPS Tool), which is designed to retrieve BitLocker Keys stored in Active Directory.
Describe the command flow intended

Open Function
New popup, requesting hostname of device
User enters, gets prompted for credentials, then is provided the BitLocker key

Additional context
This may require an LDAP query I think

This is just about finished for v1. Going to move to testing-needed phase

Actually scrap this. Going to merge the standalone script into the 1.2 dev branch, to being work on integration and testing in a combined effort.

Merged into 1.2. Thx @TheDeadGPU for the testing!


⚠ DesiTorrents has degraded performance

In a1ace79, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 1963 ms

Resolved: DesiTorrents performance has improved in 27438b3.


Refactor event controller to use a shared informer

...and create a resource syncer per event handler. This decouples the handlers from one another and allows them to run in parallel and independently from one another, such that if an error or delay occurs in one handler, it doesn't affect the others.
Depends on https://github.com/submariner-io/admiral/pull/895

Ping @aswinsuryan @vthapar @dfarrell07


Cleaned up desktop and skiko unit tests.

Proposed Changes
Remove unused imports, experimental opt-ins and other minor lint issues.

In addition to more unit tests cleanup, I've also:

Allow setting the delays in runApplicationTest, to shorten the time the tests take.
Improved WindowTypeTest by tucking the window and text into a scope object.
Fixed ComposeFocusTest to send KEY_RELEASED events. Not releasing the key was breaking tests that followed it, like WindowTypeTest.q, w, space, backspace 4x (Russian).


MGDOBR-857: Error handling for API calls in Bridge overview page (DELETE) + Bridge detail page

Design doc: https://docs.google.com/document/d/1-j79KIEGu_d8pNYVODIaNbi2rjxxVIgZ4m_OFQwZAeQ/edit?usp=sharing
How to test it you can simulate error situations while changing something in the handlers.ts of mocked-api
otherwise, you can use browser extensions, which are really quick and effective, like Mokku.
**Note that ** I suggest you to disable the extension when you don't need it anymore, otherwise it can go in conflict with mocked API of our service worker and you can observe strange 401 errors

@kelvah I pushed a couple of commits to accomplish your feedbacks and answered inline to your questions.

01 Deleting a bridge from bridges overview page
Causes for all response codes (400, 404, 500) the same dialog to be shown: It is not possible to delete this Smart Events instance. Try again later.
From the linked document, it is not clear to me, if that is an expected behavior.

Fetching processors from bridges overview page
causes never ending loading.
If user tries to delete a bridge form bridges overview page, then a call to check processors amount is done. If such a call fails then a never ending loading is shown in Delete Smart Events Instance?

01 Deleting a bridge from bridges overview page
Causes for all response codes (400, 404, 500) the same dialog to be shown: It is not possible to delete this Smart Events instance. Try again later.
From the linked document, it is not clear to me, if that is an expected behavior.

@jomarko I think you are not mocking API errors properly.
In case of 400 and 404 errors, we are going to display in the dialog the message passed from API (reason parameter).
In case you don't mock it, a generic default message will be shown (the one shown with a 500 error).

@vpellegrino thank you for an explanation. According to your hints, I tried to prepare cypress test. https://github.com/vpellegrino/sandbox-ui/pull/4
Would you mind to review it? Especially the assertion of expected message in delete-instance modal?


Simplify NuGet dependencies

Referencing PuppeteerSharp pulls lots of packages transitively, and it looks like these come mostly from the System.Net.Http package, which apparently is not needed in order to build PuppeteerSharp, but only the Tests project.
Removing this dependency from the published NuGet package would make things simpler, so I've moved the reference to the test project.

Failing tests here don't seem related to my changes. Let me know if there is anything I should change.

Yeah, it looks good. Rebuilding the CI


Replace map types with alloy_primitives::map

Replace all {Hash,BTree}{Map,Set} with their equivalent in alloy_primitives::map, as explained below. This both improves performance and is more compatible with no_std, as the fallback will be using hashbrown when "std" is not enabled.
Migration guide:

std::collections::{HashMap, HashSet} -> alloy_primitives::map::{HashMap, HashSet}; unless:

the key type is Selector, Address, or B256, then use alloy_primitives::map::{<Name>{HashMap,HashSet}}, e.g. AddressHashMap
the key type is any other B* or FixedBytes, then use alloy_primitives::map::{FbHashMap, FbHashSet}

std::collections::{hash_map, hash_set} -> alloy_primitives::map::{hash_map, hash_set}
std::collections::{BTreeMap, BTreeSet} -> refer to 1. above

IMPORTANT: this is not an equivalent conversion because BTree iteration is guaranteed to be sorted, while HashMap iteration depends on the hash value which is random/changes across runs; only do this if iteration order does not matter!
If iteration affects user-facing output, or serialization, e.g. in types implementing serde::Serialize, BTree should be replaced with the Index* equivalents so as to have a consistent iteration order, rather than random; this requires the "map-index" feature.
If sorted iteration matters, or BTree specific methods are used, such as split_off, then there is nothing to do.
When in doubt, it's OK to leave it and we can revisit it at a later point.

The minimum alloy-primitives version should also be bumped to 0.8.4.
Additional context

https://github.com/alloy-rs/core/pull/743

Hi I did some work on this and wanted your feedback , only the BTreemap types and those which the key type is Selector/Address etc .  you can assign this to me I will do that sooner. thanks


Typeahead optionsListTemplate Not Working

See https://github.com/valor-software/ng2-bootstrap/issues/1557
Issue 1557 is marked as a question but should be a bug since the issue was "fixed" but is still not working.

it is fixed but not yet published
I will be publishing this later today
as 1.3.4

oh, and question mark is a label for me, so I should answer a question or reread issue again ;)

Thanks for the fix!  There was no comment in 1557 as to its status outside of the original question and no response to the points made that it wasn't working.  I'm happy now (other than the typeahead drop down not auto positioning when it goes out side the visible window, but that is another thread).


Link between Extensions

We develop different Extensions which have some logical interrelations.
E.g. Ext. A and Ext. B both work based on the Item table.
When we install Ext. A we can download symbols and then in Ext. B we can add a dependency in the app.json file and then see Ext. A-functions and objects from Ext. B.
Then we can make a reference in Ext. B, install this Ext. and now from a page in Ext. B open a page in Ext. A.
Works fine.
However, some of our customers will only use and install Ext. B.
If we try to do that, we get an error stating that the package Ext. A can not be loaded.
In OnPremise installations we can of course control this by having two versions of Ext. B. One with and one without the link to Ext. A, but in AppSource we can only have one version of each Extension.
The link between the two Extensions are logical and very relevant for customers using both Extensions.
Please advice.

Hi @naveksa ! The compiler validates that all the dependencies are in place.  Dependencies expressed in app.json are hard dependencies and you cannot publish an extension if its dependencies are not met. This is stricter than what was possible in C/AL, but it also prevents a lot of runtime errors.
If some of your customers will only have Ext. B installed, and Ext. B opens a page in Ext. A, that means that that functionality will never work if the customer does not have Ext. A installed, right? How do you prevent this runtime error?
This is not related to the development tools, so I suggest you use one of the following resources:
Business Central Community
mibuso forum
Dynamics User Group

In C/AL we had all objects for our add-on's in the database and controlled access by means of the license.
I was looking for some equivalent functionality, that is "if there is no access - don't show the link".

I understand. Your current approach will not work because the environment will prevent you from publishing if any of the extension's dependencies are not present in the environment. I think that one option would be to use runtime packages (https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-creating-runtime-packages):

Create extension A and B with the proper dependencies.
Install both extensions in the customers environment.

Runtime packages are compiled on your machine against your license. The community might be able to provide you with a better solution.
Is it okay if I close this issue? I don't think its scope fits the purpose of the repository.

Closing this issue due to inactivity. I hope that the advice above helped solving your problem. Please create a new Github issue if you are still facing this issue.


[Feature Request] Option to disable when not near a bank

The plugin was notifying me while killing Muspah due to having Ancient Essence and Ancient Brews in the inventory. An option (or possibly the default) to only trigger the notification while near a bank would be awesome!

Sorry I've been busy- better late than never I hope. Updated in latest commit


Syncing blocks in SplitK GEMM

The fp8 kernel here is fairly representative.
In methods where multiple blocks contribute to a single accumulator through tl.atomic_add, is there a way to synchronize blocks such that the resultant accumulator is finalized? This would help in cases where we want to do downstream things like fusing dtype conversion (accumulate in fp32, output to bf16) + other related operators (silu/swiglu/etc.)

ahh nevermind, I just found this


Custom training for context question answering

Hi,
Thanks for this library. I was able to successfully install and test the context question answering component. However I would like to know how should I go about custom training (on top of the pre-trained weights) the model with my own set of vocabulary? Specifically, the questions that I am seeking your help are wrt -

Where and how should I specify the commands for custom training on question answer component.
In what fashion should I prepare my training data to accomplish this. Any template for the format of the training data?

Thanks a lot!
regards,
Ravindra

Hi!

To continue training of already trained model you can just run python -m deeppavlov train config_name
Every configuration file has dataset_reader section describing source of data. E.g. when you start training of model it will download original SQuAD dataset and store at "data_path": "{DOWNLOADS_PATH}/squad/". You can check its format and you can put you data to this path.

I also have the same question , Any template for the format of the training data?

i found this https://github.com/deepmipt/DeepPavlov/issues/423 for entity
but i am looking for similar steps for intent
can you please advise

Data format for context question answering should be the same as used for every pre-trained model for context question answering in DeepPavlov. This format is not documented but is the same as used in SQuAD v1.1 https://rajpurkar.github.io/SQuAD-explorer/.
This dataset can be found here.
Context question answering models use SquadDatasetReader to read the data from disk and SquadIterator to extract context-question-answer from dataset.


Add beta release process

This repository is able to create mutiple types of beta:

A normal beta for the package. Example, I add a feature in instant-meilisearch and would like to publish a beta on npm to try it out.
A beta implementing the changes of a future release of Meilisearch. Example
A beta of a specific prototype of Meilisearch. Example

Each of these beta must run against a specific version of Meilisearch.

the normal beta has to run against the latest release of Meilisearch
the pre-release beta against the latest rc of Meilisearch
the prototype beta against the meilisearch docker image of the prototype

This PR introduces the new process to make this as simple as possible. To be able to redirect the PR's to the correct tests a new formating is suggested on the branch name. For consistency, a new formating is suggested on the package version.
The check-tag-version script ensures that if the version is not a vX.X.X it should be a pre-release.
the prototype-docker-version parse the branch name to fetch the correct image on the docker API.

Hey @curquiza
Where would you add the small paragraph about the different betas? In the contributing guide?

A standard package beta, working on the latest version of Meilisearch.

Hum not, the latest Meilisearch beta, right?

bors merge


add missing docstrings to public properties in loggers

📚 Documentation
There are a few undocumented public properties in the logger wrappers.
Example:
https://github.com/PyTorchLightning/pytorch-lightning/blob/92e49795e1e044ee7f1ca450babf0c50c1b5d81f/pytorch_lightning/loggers/mlflow.py#L174
Let's document these so they show up in our HTML docs and so users can discover them.
This is a good issue for new contributors!! If you are interested, please send a pull request right away (one per logger class).

I can do this

I think this should still be open as the other logger classes are left.

@bamblebam it was auto-closed. It was because you had "Fixes xyz" in the description of the PR, GitHub was smart about it to close after merge :)


Add COP ticker

Please add support for colombian pesos. COP
Thanks in Advance

Unfortunately, at this time the currencies we can add support for are limited by the coingecko API
https://api.coingecko.com/api/v3/simple/supported_vs_currencies

Our latest release added support for COP currency


FW dump from last 2 weeks

Adds FW from fuzzy fingerprinting routes (from that brand only). Removes FW from fuzzy fingerprinting routes where brand isn't fingerprinted car.

It seems the server openpilot was behind a bit, will need to re-run with it pulled


AIX allows a non-root process to call setgroups()

setgroups() is not part of the POSIX standard, so its behavior varis from OS to OS.  AIX allows a non-root process to set the supplementary group IDs, as long as they are presently in its supplementary group IDs.

Great explanation, thanks!


Output Language

Is there a way to change the output Language?
THX

It's possible to modify output strings using a configuration file, check the documentation here.


Name of missing 'required' property.

var schema = {
  type: 'object',
  required: ['foo', 'bar'],
  errorMessage: {
    required: {
      foo: 'missing foo property',
      bar: 'missing bar property'
    }
  }

Processed errors:
[
  {
    keyword: 'errorMessage',
    message: 'missing foo property',
    dataPath: '',
    // ...
  },
  {
    keyword: 'errorMessage',
    message: 'missing bar property',
    dataPath: '',
    // ...
  }
]

It is difficult to know which error message was generated for which property.
It is needed for automatic processing.
Now there are two possible workarounds:

format error message in a special way (include missing property name) and process it afterwards
check param.errors[0].missingProperty - here we have to make sure that param.errors[0].keyword==="required"

Suggestion:
Add name of missing property to dataPath. This is possible only when property specific message is defined.
Another suggestion:
Add option allowing to have separate messages for missing properties (even if single error message is defined for all missing properties). This would allow to have correct dataPath settings for every missing property.

I think approach 2 is ok, why is it a workaround? "required" keyword validates an object, not a property, so dataPath is correct.

Yes, "required" keyword validates object but "errorMessage.required" allows to have different messages for separate "missing" properties. As you can see from my example there is no direct way to know which message (in error object array) meant for which property within this object. In my projects I add property name to the start of error message to make error processing simpler. It would be more robust solution to receive missing property name from validator.
Simple use case would be:
user fills-in form and posts data to server;
server validates and returns errors with missing required fields;
client application highlights corresponding input fields and shows corresponding message;
Now there is no easy way for client to determine which exact fields were missing and which error message should be shown for which input field.

I have the same need and I have developed the beginning of a function that allows to return an array of objects of type :
[

    {
        "field": "email",
        "message": "email must be a string and is required"
    },
    {
        "field": the name of the field,
        "message": message error
    },
]

function ajvErrorsToArray(ajvErrors: Array<{}>) {
  let errors: Array<{}> = [];
  ajvErrors.forEach((error: any) => {
    let e: { field: string | null; message: string | null } = {
      field: null,
      message: null,
    };
    if (error.instancePath === "") {
      error.params.errors.forEach((paramsError: any) => {
        if (paramsError.keyword === "required") {
          if (error.message) {
            e.field = paramsError.params.missingProperty;
            e.message = error.message;
          } else {
            e.field = paramsError.params.missingProperty;
            e.message = paramsError.message;
          }
        }
      });
    } else {
      e.field = error.instancePath.substring(1);
      e.message = error.instancePath.substring(1) + " " + error.message;
    }
    errors.push(e);
  });

  return errors;
}


improved intellisens

SOQL and SOSL contain a lot of features witch is not provide on intellisens:

multi picklist myFiled__c includes ('AAA;BBB','CCC')
multi picklist myFiled__c excludes ('AAA;BBB','CCC')
TYPEOF operator
Polymorphic Relationship type must list objecton right part : What.Type = 'Account'
IN operator must provide list on picklist for right part: MYFIELD__C IN ('val1', 'val2')
provide statement : OFFSET, LIMIT, GROUP BY, HAVING, ORDER BY, WITH
subquery intellisens is failing sometimes too (bug)

For that we need a kind of tokenizer/lexer for SOQL instead of regexp.

I have fix few stuff in sosl patch because it was needed but not all (typeof and offset,... ) are not fixed.


redpen.cc documentation links to previous versions are broken

http://redpen.cc/docs.html follows 0.6 and 1.2 documents.
But both of them are not found.

Thank you a lot for the report @kenhys! I will fix the missing links.

I fixed the missing links.

Thanks!
I've confirmed that missing links are fixed, so close this issue.

Thank you!


Flashed SD Card, Expected Previous State But Now Asking To Start From The Beginnning

I had problems previously and flashed the SD card again.  That did the trick to fix it at that time.  Of course it prompts you for the standard raspiblitz password at first then you change it to whatever you want, go through to the next screen, and it will sync back up and all of that.
I had problems again with the device booting and being visible on the network.  So I decided to flash the card again and this time instead of giving me any indication of prior data or anything saved on the HDD it's asking me to start from scratch.  Typing in raspiblitz as the password takes you to the first screen where you choose between being a Bitcoin or Litecoin node.  Then it prompts you to save your four passwords again but I just decided to exit once it got to that screen.  Oh, it's also giving me a new IP address if that helps one way or the other.  Used to end in 111 but now it's 122.
Any idea why that's happening this time around?  As best I can tell I didn't change anything on my computer, with the HDD, or the SD card itself outside of flashing it again to see if I could get it responsive.  Which is certainly is now responsive but, of course, if I have to start from the beginning that isn't much help and I honestly think I'd probably just tap out and not bother with it again.
Thanks to anyone that can give some input.

I had problems again with the device booting

Did you ever upgrade to a better SD card as I recommended in your previous issue?
You may now have also had data corruption on your HDD where your blockchain and LND data is stored.
If so, it could be a result of an inadequate power suppl - which is known that it can cause file corruption if infrequently.  Run this power-test script from SSH command line on your node (all one line):
wget https://raw.githubusercontent.com/rootzoll/raspiblitz/4abbdd18aa0ec44553d1fd875f2c5a6b98d9721c/home.admin/config.scripts/blitz.powertest.sh && bash ./blitz.powertest.sh

Yeah, I was just leaving it up and checking it every so often to see how it was doing.  Hard to recall now but it must have been a week or close to two with no hiccups.  Then I came home a few days ago and it was off.  I tried to get it to come on and I never could discover it with Advanced IP Scanner (never used the screen, I just get the IP from there and SSH in).  I have another SD card I can, and probably will at this rate, try this weekend.  It's newer but maybe cheaper at the same time so can't say I'm too well versed on the quality of one versus the other but certainly can't hurt just to try another.  We had a storm while I was away at work so I was wondering if that kicked it off or maybe caused some sort of corruption but I'm just speculating now.
I am using this power supply:  https://www.amazon.com/gp/product/B07HSPT6MG/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1  I also grabbed a different case.  Otherwise I should have everything exactly as described in the guide.  I grabbed those to get two day shipping as the others would be delayed but perhaps that was a mistake.
In any case, the message below is what I get from that command.  The last line kept looping and looping for probably a total of 20 times before I exited.  Thanks again for all of your help.
admin@RaspiBlitz:~ $ wget https://raw.githubusercontent.com/rootzoll/raspiblitz/                                                                                4abbdd18aa0ec44553d1fd875f2c5a6b98d9721c/home.admin/config.scripts/blitz.powerte                                                                                st.sh && bash ./blitz.powertest.sh
--2019-04-11 01:30:58--  https://raw.githubusercontent.com/rootzoll/raspiblitz/4                                                                                abbdd18aa0ec44553d1fd875f2c5a6b98d9721c/home.admin/config.scripts/blitz.powertes                                                                                t.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... <IP_ADDRESS>                                                                                3
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|<IP_ADDRESS>                                                                                33|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 821 [text/plain]
Saving to: ‘blitz.powertest.sh’
blitz.powertest.sh  100%[===================>]     821  --.-KB/s    in 0s
2019-04-11 01:30:59 (7.18 MB/s) - ‘blitz.powertest.sh’ saved [821/821]
VCHI initialization failed 1400/   0 MHz VCHI initialization failed
VCHI initialization failed  600/   0 MHz VCHI initialization failed
VCHI initialization failed  600/   0 MHz VCHI initialization failed

SD cards are listed in the shopping lists as are power supply recommendations. That's a good place to start.  Looks like perhaps that power test did not run correctly.

The "official" Pi PS is this one: https://www.newark.com/raspberry-pi/t5875dv/psu-raspberry-pi-5v-2-5a-multi/dp/77Y6535

also you might get that other test to run with this:
chmod +x blitz.powertest.sh && sudo ./blitz.powertest.sh

That's fair.  I may go that route.  Will have to try some other stuff and think about it a bit.  Not sure if something got cut off there but results of the first line you suggested to try:
bmariadbclient18 armhf 10.1.37-0+deb9u1 [714 kB]
Get:3 http://raspbian-us.ngc292.space/raspbian stretch/main armhf sysbench armhf                                                                                0.4.12-1.2 [55.8 kB]
Fetched 776 kB in 2s (284 kB/s)
Selecting previously unselected package mysql-common.
(Reading database ... 81392 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.8+1.0.2_all.deb ...
Unpacking mysql-common (5.8+1.0.2) ...
Selecting previously unselected package libmariadbclient18:armhf.
Preparing to unpack .../libmariadbclient18_10.1.37-0+deb9u1_armhf.deb ...
Unpacking libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
Selecting previously unselected package sysbench.
Preparing to unpack .../sysbench_0.4.12-1.2_armhf.deb ...
Unpacking sysbench (0.4.12-1.2) ...
Setting up mysql-common (5.8+1.0.2) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.c                                                                                nf (my.cnf) in auto mode
Setting up libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for man-db (<IP_ADDRESS>-2) ...
Setting up sysbench (0.4.12-1.2) ...

RaspiBlitz powertest v0.1
Starting sysbench to run for 60 seconds (--max-time=60 --cpu-max-prime=10000)

sysbench 0.4.12:  multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing CPU performance benchmark
Threads started!
59.1'C 1400 MHz  1.2750V
63.4'C 1200/1400 MHz 1.2750V
64.5'C 1200/1400 MHz 1.2750V
65.5'C 1200/1400 MHz 1.2750V
66.1'C 1200/1400 MHz 1.2750V
66.6'C 1200/1400 MHz 1.2750V
67.7'C 1200/1400 MHz 1.2750V
Done.
Maximum prime number checked in CPU test: 10000
Test execution summary:
total time:                          35.5980s
total number of events:              10000
total time taken by event execution: 142.3535
per-request statistics:
min:                                 11.94ms
avg:                                 14.24ms
max:                                 36.89ms
approx.  95 percentile:              15.70ms
Threads fairness:
events (avg/stddev):           2500.0000/6.36
execution time (avg/stddev):   35.5884/0.00
63.4'C 1200/1400 MHz 1.2750V
62.3'C  600/1400 MHz 1.2750V
61.8'C  600/1400 MHz 1.2750V
60.7'C  600/1400 MHz 1.2750V
60.7'C  600/1400 MHz 1.2750V
60.1'C  600/ 600 MHz 1.2750V
59.1'C  600/1400 MHz 1.2750V
59.1'C  600/1400 MHz 1.3750V
Results from the second command (guessing that keeps running so just copied the top five lines):
admin@RaspiBlitz:~ $ chmod +x blitz.powertest.sh && sudo ./blitz.powertest.sh
56.4'C  600/ 600 MHz 1.2V
56.4'C  600/ 600 MHz 1.2V
56.4'C  600/ 600 MHz 1.2V
56.9'C  600/ 600 MHz 1.2V
56.4'C  600/ 600 MHz 1.2V
The HDD isn't flashing.  I just have that connected and a monitor which is currently powered down.  Are you thinking my HDD might be corrupted?  I would assume there is no way back from that.  Certainly not the end of the world though a little disappointing if so.  It is what it is, no worries.  Thanks again.

admin@RaspiBlitz:~ $ chmod +x blitz.powertest.sh && sudo ./blitz.powertest.sh
56.4'C 600/ 600 MHz 1.2V
56.4'C 600/ 600 MHz 1.2V
56.4'C 600/ 600 MHz 1.2V
56.9'C 600/ 600 MHz 1.2V
56.4'C 600/ 600 MHz 1.2V

Yeah, the power supply looks weak. This is a lot of throttling (to 600MHz) due to only 1.2 volts when the CPU should be running at 1400Mhz.

That's fair. I may go that route. Will have to try some other stuff and think about it a bit. Not sure if something got cut off there but results of the first line you suggested to try:
bmariadbclient18 armhf 10.1.37-0+deb9u1 [714 kB]
Get:3 http://raspbian-us.ngc292.space/raspbian stretch/main armhf sysbench armhf 0.4.12-1.2 [55.8 kB]
Fetched 776 kB in 2s (284 kB/s)
Selecting previously unselected package mysql-common.
(Reading database ... 81392 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.8+1.0.2_all.deb ...
Unpacking mysql-common (5.8+1.0.2) ...
Selecting previously unselected package libmariadbclient18:armhf.
Preparing to unpack .../libmariadbclient18_10.1.37-0+deb9u1_armhf.deb ...
Unpacking libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
Selecting previously unselected package sysbench.
Preparing to unpack .../sysbench_0.4.12-1.2_armhf.deb ...
Unpacking sysbench (0.4.12-1.2) ...
Setting up mysql-common (5.8+1.0.2) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.c nf (my.cnf) in auto mode
Setting up libmariadbclient18:armhf (10.1.37-0+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for man-db (<IP_ADDRESS>-2) ...
Setting up sysbench (0.4.12-1.2) ...
RaspiBlitz powertest v0.1
Starting sysbench to run for 60 seconds (--max-time=60 --cpu-max-prime=10000)
sysbench 0.4.12: multi-threaded system evaluation benchmark
Running the test with following options:
Number of threads: 4
Doing CPU performance benchmark
Threads started!
59.1'C 1400 MHz 1.2750V
63.4'C 1200/1400 MHz 1.2750V
64.5'C 1200/1400 MHz 1.2750V
65.5'C 1200/1400 MHz 1.2750V
66.1'C 1200/1400 MHz 1.2750V
66.6'C 1200/1400 MHz 1.2750V
67.7'C 1200/1400 MHz 1.2750V
Done.
Maximum prime number checked in CPU test: 10000
Test execution summary:
total time: 35.5980s
total number of events: 10000
total time taken by event execution: 142.3535
per-request statistics:
min: 11.94ms
avg: 14.24ms
max: 36.89ms
approx. 95 percentile: 15.70ms
Threads fairness:
events (avg/stddev): 2500.0000/6.36
execution time (avg/stddev): 35.5884/0.00
63.4'C 1200/1400 MHz 1.2750V
62.3'C 600/1400 MHz 1.2750V
61.8'C 600/1400 MHz 1.2750V
60.7'C 600/1400 MHz 1.2750V
60.7'C 600/1400 MHz 1.2750V
60.1'C 600/ 600 MHz 1.2750V
59.1'C 600/1400 MHz 1.2750V
59.1'C 600/1400 MHz 1.3750V
Results from the second command (guessing that keeps running so just copied the top five lines):
admin@RaspiBlitz:~ $ chmod +x blitz.powertest.sh && sudo ./blitz.powertest.sh
56.4'C 600/ 600 MHz 1.2V
56.4'C 600/ 600 MHz 1.2V
56.4'C 600/ 600 MHz 1.2V
56.9'C 600/ 600 MHz 1.2V
56.4'C 600/ 600 MHz 1.2V
The HDD isn't flashing. I just have that connected and a monitor which is currently powered down. Are you thinking my HDD might be corrupted? I would assume there is no way back from that. Certainly not the end of the world though a little disappointing if so. It is what it is, no worries. Thanks again.

@openoms what's the difference between your test and the one @rootzoll made?  It seems yours is showing a lower value of 1.2V.  Might have relevance since I think @rootzoll set his scripts to warn at 1.25V or below.

Okay, no problem. May end up getting a new one. Thanks again.

@fluidvoice thanks for helping out. I hope to get v1.2 out of the door next week. It will have the powertest at the beginning of setup and lots more to prevent those data corruption cases.
I will close this issue for now.


[ISSUE #1558]module acl compatible with 1.6

What is the purpose of the change
module acl compatible with 1.6

@geektao thanks for your contribution, and it seems the CI process failed:
[ERROR] /home/travis/build/apache/rocketmq/acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java:[212,52] diamond operator is not supported in -source 1.6
(use -source 7 or higher to enable diamond operator)
[ERROR] /home/travis/build/apache/rocketmq/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java:[276,57] diamond operator is not supported in -source 1.6

@geektao thanks for your contribution, and it seems the CI process failed:
[ERROR] /home/travis/build/apache/rocketmq/acl/src/main/java/org/apache/rocketmq/acl/common/AclUtils.java:[212,52] diamond operator is not supported in -source 1.6
(use -source 7 or higher to enable diamond operator)
[ERROR] /home/travis/build/apache/rocketmq/acl/src/main/java/org/apache/rocketmq/acl/plain/PlainPermissionManager.java:[276,57] diamond operator is not supported in -source 1.6
could you fix it?

I try to merge develp branch ,and fix it .

Coverage decreased (-0.2%) to 50.461% when pulling b5b916ea415fd6b40d761488c362f22a8c0d0804 on geektao:1558 into 75fa7fb131ef11a5a3311a3d39dcb8204614ab9a on apache:develop.

I review your pr(@geektao ) and leave some code comments.


Doesn't work with nested SCSS files

eg
nav {
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li { display: inline-block; }
  //Comment
  a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
  }
}

Gets combed to
nav {
    ul
    {
        margin: 0;
    padding: 0;
    list-style: none;
}

li {
    display: inline-block;
}
    //Comment
    a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
}
}

Possible duplicate of https://github.com/1000ch/atom-csscomb/issues/7
I am using  version 1.6.3 on Atom version 1.0.5

@najela
You say "combed but not formatted"?
I will fix it within today.

@1000ch  You Rock :+1:

@najela Try newest? (But now, indent option is not applied. It forces 2 spaces indent.)

@1000ch I've tried the new updated version of this package but I the error is still there.

@najela It worked with following .scss.
nav {
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li { display: inline-block; }
  //Comment
  a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
  }
}

Would you try again after restarting Atom?
or put error logs if you have.

After restarting atom, I got the following output
nav {

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li {
    display: inline-block;
  }

  //Comment
    a {
    display: block;
    padding: 6px 12px;
    text-decoration: none;
  }
}

My normal indentation setting is 4 spaces but I see this is not being respected
  "atom-csscomb":
    indentSize: 4

Also the general indentation is wrong.

Ah, Sorry. This is known issue.

(But now, indent option is not applied. It forces 2 spaces indent.)

It is confusing, so I will disable the indent option later.

@najela This is fixed on newest version.


Cannot read property 'loc' of undefined

type const in ts file , output above error messages
[Error - 6:22:23 PM] ESLint stack trace:
[Error - 6:22:23 PM] TypeError: Cannot read property 'loc' of undefined
Occurred while linting /Users/xxx/xxx/test/unit/xxx/src/core/xxxx/xxx/cell/xxxx.spec.ts:1
at Object.VariableDeclaration [as listener] (/Users/xxxx/xxx/node_modules/eslint/lib/rules/indent.js:1422:69)
at /Users/xxx/xxx/node_modules/eslint/lib/rules/indent.js:1634:55
at Array.forEach ()
at Program:exit (/Users/xxxx/xxx/node_modules/eslint/lib/rules/indent.js:1634:26)
at /Users/xxxx/xxxx/node_modules/eslint/lib/linter/safe-emitter.js:45:58
at Array.forEach ()
at Object.emit (/Users/xxxx/sheet/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
at NodeEventGenerator.applySelector (/Users/xxx/xxxx/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
at NodeEventGenerator.applySelectors (/Users/xxx/xxx/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
at NodeEventGenerator.leaveNode (/Users/xxxx/xxx/node_modules/eslint/lib/linter/node-event-generator.js:306:14)

@zhongzhong0505 also surfaced via a dialog in the ESlint extension for VS Code this is caused by an exception in ESLint itself (the npm module). Could you please file an issue against ESLint itself (https://github.com/eslint/eslint).
Let me know how it goes with that issue.

@zhongzhong0505 also surfaced via a dialog in the ESlint extension for VS Code this is caused by an exception in ESLint itself (the npm module). Could you please file an issue against ESLint itself (https://github.com/eslint/eslint).
Let me know how it goes with that issue.

ok, i already create issue in eslint repo.

Also have this issue and posted on ESLint's git

For situations like this where we are waiting on a fix, is there an option to silence this toast inside Vscode? It pops up every time I type a character

As @C-alcium had suggested, is there a configuration setting that can be used to suppress specific toasts, such as this one while a fix is pending?

There is no setting in VS Code to filter those and adding code to ESLint seems wired especially since there is a easy fix for this. See https://github.com/eslint/eslint/issues/13957

There is no setting in VS Code to filter those and adding code to ESLint seems wired especially since there is a easy fix for this. See eslint/eslint#13957

it works. @typescript-eslint/indent
{
  // note you must disable the base rule as it can report incorrect errors
   "indent": "off",
  "@typescript-eslint/indent": ["error"]
}


How to set Low Power mood for D435

Required Info

Camera Model
{  D400 }

Firmware Version
( <IP_ADDRESS> )

Operating System & Version
{Linux (Ubuntu 18)

Kernel Version (Linux Only)
( 4.9.140-tegra)

Platform
NVIDIA Jetson Xavier

SDK Version
{ legacy / 2.0 }

Language
{C/python }

Segment
{others }

Issue Description
I am using 4 D345 cameras in config to create a plane using them on Nvidia Xavier.I want to put the devices in low power mode to save power while a session is not active. how I can do that?

Hi @S-Ashja  If you are using multiple cameras with Python and are controlling them with a single application to create a plane then you may have already developed code for a multi-camera interface.  If you have not then a multicam Python script contributed by a RealSense user in the link below may be a useful reference.
https://github.com/ivomarvan/samples_and_experiments/tree/master/Multiple_realsense_cameras
If you are able to communicate with individual cameras then you can change the cameras' Laser Power setting.  By default this setting has a value of '150', whilst its maximum value is '360'.   Setting it to '0' will turn the camera's projector off, whilst setting it to a value greater than 0 should turn the projector back on.
An example of setting the Laser Power in Python (though for a single camera) with the instruction rs.option.laser_power can be found in the link below.
https://github.com/IntelRealSense/librealsense/issues/8592#issuecomment-800257572

@MartyG-RealSense Thank you for your reply.
I will try this and get back here but I wanna know if this would be enough or I would have to turn the laser and the resolution down for power saving

Typically, just reducing Laser Power is the measure that RealSense users apply to save power.
C++ has a similar instruction called RS2_OPTION_LASER_POWER for setting the Laser Power value.  The SDK has an example librealsense2 C++ script for doing so at the link below.
https://github.com/IntelRealSense/librealsense/wiki/API-How-To#controlling-the-laser
You could also stop the camera's pipeline to cease the streaming of data whilst capture is not taking place and then re-start the pipeline just before taking a capture and re-close the pipeline when the capture is completed.
A RealSense user contributed a C++ script for simultaneously capturing images from multiple cameras.  The script checks for whether the camera model is a D415, so you should edit that section to be D435 instead if you test the script with your D435 cameras.
https://github.com/IntelRealSense/librealsense/issues/2219#issuecomment-412899468

@MartyG-RealSense
Thank you for your help  I think I have sufficient information and can close this issue.

You are very welcome @S-Ashja  - good luck!


fix site url in a post

fix the site url to link back to the site, not to the post itself
when the root is '/'

#27 has resolved this problem, but still thank you.


Sorting mixins by name in SCSS

Is there any scope for being able to sort mixins by name? Not only placing all mixins in a certain place in the selector, but also being able to sort them individually?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28658290-sorting-mixins-by-name-in-scss?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F214563&utm_medium=issues&utm_source=github).

This feature is added to dev branch and will be released in CSSComb 4.0.

Great news, thanks !


Disables enter on interfaces after Varlmore part 2 update

Quantity interfaces (GE value, withdraw x, etc) don't respond to Enter key strokes when this plugin is enabled following the varlamore part 2 update

Just figured it out too. Great plugin, please fix.

I've replicated the issue and found where the problem is, however I haven't used Java since 2022 so it might take some time.
It seems to be an issue acros the board, as I've also verified that the same issue occurs with other plugins that modify the chatbox quantity.
I'll continue looking at a fix and update accordingly.
2024-09-25 21:53:38 BST [AWT-EventQueue-0] ERROR net.runelite.client.RuneLite - Uncaught exception: java.lang.AssertionError: must be called on client thread 	at client.setVarcStrValue(client.java:48726) 	at com.gecalc.GECalcPlugin.parseQuantity(GECalcPlugin.java:178) 	at com.gecalc.GECalcPlugin.keyPressed(GECalcPlugin.java:199) 	at net.runelite.client.input.KeyManager.processKeyPressed(KeyManager.java:89) 	at net.runelite.client.callback.Hooks.keyPressed(Hooks.java:350) 	at ak.keyPressed(ak.java:27144) 	at java.desktop/java.awt.Component.processKeyEvent(Component.java:6593) 	at java.desktop/java.awt.Component.processEvent(Component.java:6412) 	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) 	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) 	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) 	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870) 	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139) 	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009) 	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)

Disabled plugin in RuneLite plugin-hub.
Best to disable due to multiple reports on github and RuneLite discord of the plugin interfering with all quantity input fields.

I've replicated the issue and found where the problem is, however I haven't used Java since 2022 so it might take some time.
It seems to be an issue acros the board, as I've also verified that the same issue occurs with other plugins that modify the chatbox quantity.
I'll continue looking at a fix and update accordingly.
2024-09-25 21:53:38 BST [AWT-EventQueue-0] ERROR net.runelite.client.RuneLite - Uncaught exception: java.lang.AssertionError: must be called on client thread at client.setVarcStrValue(client.java:48726) at com.gecalc.GECalcPlugin.parseQuantity(GECalcPlugin.java:178) at com.gecalc.GECalcPlugin.keyPressed(GECalcPlugin.java:199) at net.runelite.client.input.KeyManager.processKeyPressed(KeyManager.java:89) at net.runelite.client.callback.Hooks.keyPressed(Hooks.java:350) at ak.keyPressed(ak.java:27144) at java.desktop/java.awt.Component.processKeyEvent(Component.java:6593) at java.desktop/java.awt.Component.processEvent(Component.java:6412) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870) at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139) at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009) at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)

Decimal prices dev here. Just woke up to an issue created on my repository. Haven’t had a chance to investigate yet. Just wondering if you were able to find anything. Perhaps we can tackle this together.

Morning rmaes4.
Tried a few things but the same error occurs no matter what I do, but that might just be my lack of Java experiece in the last few years :)
I didn't try asking in the RuleLite discord if anyone knows but that might be a good next step. However I won't be able to investegate properly for a few days.

Decimal prices dev here. Just woke up to an issue created on my repository. Haven’t had a chance to investigate yet. Just wondering if you were able to find anything. Perhaps we can tackle this together.

Morning rmaes4. Tried a few things but the same error occurs no matter what I do, but that might just be my lack of Java experiece in the last few years :) I didn't try asking in the RuleLite discord if anyone knows but that might be a good next step. However I won't be able to investegate properly for a few days.

Good news, I was able to solve the issue. Anywhere you are using "setVarcStrValue", you now have to explicitly run that on the client thread. Should be an easy fix for you. See my changes here: https://github.com/rmaes4/decimal-prices/compare/1db835ba25debba83d310868e3ea49ba8cb24733...rmaes4:d5cf0945dad76954299f8b31e6bd4ceda2787df0

Good news, I was able to solve the issue. Anywhere you are using "setVarcStrValue", you now have to explicitly run that on the client thread. Should be an easy fix for you. See my changes here: rmaes4/decimal-prices@1db835b...rmaes4:d5cf0945dad76954299f8b31e6bd4ceda2787df0

Thanks for letting me know, that's a massive help!
I took the opportunity to make some updates too, thanks again :)


Cannot use make.bash to build go pkg

What version of Go are you using (go version)?

$ go version
1.20.3

Does this issue reproduce with the latest release?
I tried to cross-compile pkg sdk using a recent version of go, but it failed. The previous version is working, but I'm not sure from which version it breaks.
$ cd ~/Downloads/go/src
$ GOOS=darwin GOARCH=amd64 GOROOT_BOOTSTRAP=~/Downloads/go/ ./make.bash --no-clean
Building Go cmd/dist using /Users/ruki/Downloads/go/. (go1.20.3 darwin/amd64)
go: no such tool "compile"
go: no such tool "compile"
go: no such tool "compile"
go: no such tool "compile"
go: no such tool "compile"
go: no such tool "compile"

What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/ruki/Library/Caches/go-build"
GOENV="/Users/ruki/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/ruki/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/ruki/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/ruki/Downloads/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/ruki/Downloads/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.20.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/ruki/Downloads/go/src/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug
-prefix-map=/var/folders/32/w9cz0y_14hs19lkbs6v6_fm80000gn/T/go-build3475982979=/tmp/go-build -gno-record-gcc-swi
tches -fno-common"

What did you do?

What did you expect to see?
it works
What did you see instead?

you need to use an existing installation (bootstrap) to build the entire tree, you're trying to build the tree from itself.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


remark

Those lines contain a useless cast, we could replace them:
IEnglishDimensions eDimensions = (IEnglishDimensions)box1;
IMetricDimensions mDimensions = (IMetricDimensions)box1;
IEnglishDimensions eDimensions = box1;
IMetricDimensions mDimensions = box1;
However, if we would use the var keyword, the cast would be useful:
var eDimensions = (IEnglishDimensions)box1;
var mDimensions = (IMetricDimensions)box1;

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

ID: 594cb1b7-c9c9-5f33-fca7-2f1872c095a9
Version Independent ID: 2ed35b23-7ffd-0d95-a2f0-02e3ccc4f8a7
Content: How to: Explicitly Implement Members of Two Interfaces (C# Programming Guide)
Content Source: docs/csharp/programming-guide/interfaces/how-to-explicitly-implement-members-of-two-interfaces.md
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@johnnyagerard You are right, this will work without explicit casting, but it seems to had been added for more readability to readers of microsoft docs. Adding an explicit casting won't harm.

Yes, you're right. Thanks.

You are both correct: the cast works, but is unnecessary.  Because the sample does use an explicit variable declaration, I'd prefer that the unnecessary cast was removed.
That would clearly show readers that the Box type can be implicitly converted to either interface that it implements.
I've added this to our backlog, and added the 'up for grabs' label.


Upgrade crypto to 1.0.0 and http_parser to >=2.0.0

See dart-lang/gcloud#40

some can merge this one please ?


Handling DI annotations in resolve

This is a:

[x] Bug Report
[ ] Feature Request
[ ] General Query

My version of UI-Router is: 0.4.2
and I'm using: "angular": "~1.5"
Bug Report
Current Behavior:
resolve state parameter can't handle dependency injection properly, it fails when code is minified.
This was extremely hard to debug. Generally I was trying to check if state params are present, like someone suggested  here
Expected Behavior:
DI annotations should be handled consistently with the rest of angular. I am aware that this is probably bad usage of resolve , but if it allows DI it should handle all cases.
Link to Plunker that reproduces the issue:
https://plnkr.co/edit/RnLcUc5h6zbPvGjkIo0P?p=preview

No, you aren't using resolve correctly.  Resolve is an object with keys and values.
Your example should read something like:
      resolve: {
        somekey: ['$stateParams', '$location', function($stateParamsMinified, $location) {
         console.log("This won't work for minified arguments", $stateParamsMinified, $location.path());
        }]
      }

@christopherthielen Ok, but why this is working ?? It should give me warning or sth.
resolve: function($stateParams, $location) {
         console.log($stateParams, $location.path());
      }

it probably works because of a bug or something.  it's been fixed in 1.0 branch.  Yeah a warning might be nice for obviously invalid resolve: block.  It's not high on my list, so PR welcomed

@christopherthielen https://github.com/angular-ui/ui-router/pull/3388


Using xESMF with WRFChem

Thank you for your work!
I'm trying to regridding variables in the wrfout* file generated by WRFChem.
So, I have modified lon and lat of frontend.py for bilinear regridding.
Here's my plot script and result:
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import numpy as np
import xarray as xr
import xesmf as xe

ds = xr.open_dataset("sample")

CG = ds['CG_FLASHCOUNT']
CG_scaled = CG/1E3;
CG_scaled.attrs['units'] = 'kFlashes'

fig = plt.figure(figsize=[8, 4])

proj = ccrs.LambertConformal(central_latitude=20,central_longitude=-95,
                            standard_parallels = (20, 20))

ax = plt.axes(projection=proj)
ax.coastlines()
ax.gridlines(linestyle='--')

nested_grid = {'XLONG': np.linspace(-110, -80, 61),
               'XLAT': np.linspace(20, 50, 61)
              }

regridder_bilinear = xe.Regridder(ds, nested_grid, method='bilinear')

# regridder_bilinear = xe.Regridder(ds, nested_grid, method='conservative')

dr_nested = regridder_bilinear(CG_scaled)
dr_nested.plot(ax=ax, cmap='coolwarm', cbar_kwargs={'label': 'kFlashes'})
ax.set_title('CG_FLASHCOUNT');

plt.show()

The coastlines and boundary aren't shown correct.
By the way, I want to use Conservative regridding, but lon_b and lat_b aren't variables in wrfout files. How do you get the value of lon_b and lat_b?

Thanks for the sample file.

The coastlines and boundary aren't shown correct.

Do you mean a plotting issue instead of an xESMF regridding issue?
The same problem will happen for the original data (before regridding). You just need to pass transform=ccrs.PlateCarree() to plot().
%matplotlib inline
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import numpy as np
import xarray as xr

ds = xr.open_dataset("sample")

fig = plt.figure(figsize=[8, 4])
proj = ccrs.LambertConformal(central_latitude=20,central_longitude=-95,
                            standard_parallels = (20, 20))
ax = plt.axes(projection=proj)
ax.coastlines()
ax.gridlines(linestyle='--')
ds['CG_FLASHCOUNT'][0].plot(ax=ax, transform=ccrs.PlateCarree())

I have modified lon and lat of frontend.py for bilinear regridding.

You can also use ds.rename() to rename coordinates. This should be improved in the future. Welcome to leave comments in #38.

I want to use Conservative regridding, but lon_b and lat_b aren't variables in wrfout files. How do you get the value of lon_b and lat_b?

The safest way is to compute the boundaries manually. Automatically inferring bounds from centers can be quite error-prone, especially for non-orthogonal grids. Alternatively you can try xgcm: https://github.com/JiaweiZhuang/xESMF/issues/13#issuecomment-416947178

@JiaweiZhuang Thank you for your help!
But, transform=ccrs.PlateCarree() results in false plot.
You can check the script and result generated by Basemap:
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap
import numpy as np
import xarray as xr

ds = xr.open_dataset("sample")

fig, ax = plt.subplots(figsize=[8,4])
Lat_min = 20; Lat_max = 50;
Lon_min = -110; Lon_max = -80;

m=Basemap(llcrnrlat=Lat_min,urcrnrlat=Lat_max,\
        llcrnrlon=Lon_min,urcrnrlon=Lon_max,\
        resolution ='l',ax=ax)

parallels = np.arange(-90.,91.,5.)
meridians = np.arange(-180.,181.,10.)
m.drawparallels(parallels,labels=[1,0,0,1],linewidth=0.2,xoffset=0.2,fontsize=12,fontname='Arial')
m.drawmeridians(meridians,labels=[1,0,0,1],linewidth=0.2,yoffset=0.2,fontsize=12,fontname='Arial')
m.drawcoastlines()

p = ax.pcolormesh(ds['XLONG'][0], ds['XLAT'][0], ds['CG_FLASHCOUNT'][0])
clb = fig.colorbar(p,ax=ax)
ax.set_title('CG_FLASHCOUNT')

plt.show()

By the way, the setting of Lambert projection my model is:
 ref_lat                            = 39,
 ref_lon                            = -95,
 truelat1                           = 39,
 truelat2                           = 39,
 stand_lon                          = -95,

Also need to pass x='XLONG', y='XLAT' to plot() so that correct coordinates are used for plotting.
%matplotlib inline
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
import numpy as np
import xarray as xr

ds = xr.open_dataset("sample")

fig = plt.figure(figsize=[8, 4])
proj = ccrs.LambertConformal(central_latitude=20,central_longitude=-95, standard_parallels = (20, 20))
ax = plt.axes(projection=proj)
ax.coastlines()
ax.gridlines(linestyle='--')
ds['CG_FLASHCOUNT'][0].plot(ax=ax, transform=ccrs.PlateCarree(), x='XLONG', y='XLAT')

Hi, want to regrid  wrfout (rainc+rainnc) data following this example but getting an error:
---> 19 area_wrf = xe.util.cell_area(wrf_grid_with_bounds)
20 area_grid = xe.util.cell_area(nested_grid)
AttributeError: module 'xesmf.util' has no attribute 'cell_area'
Could it be related with the xesmf version (xesmf= 0.6.3) or something?  I will appreciate for any feedback.


Change RabbitMQ hero banner call for papers

@michaelklishin since the deadline is March 8th could the site be deployed ASAP? Thanks.


Micropython does not compile for i386 on ArchLinux with GCC 11.3.0

With GCC 9.3.0 micropython compiles just fine. However, on the most recent ArchLinux (Nov 2024) GNU make passes --dependency-files to ld, which is not supported on the 9.3.0 toolchain so nothing compiles anymore. With the newer toolchain (11.3.0) everything compiles except for micropython for i386.
The error seems to be this one:
main.c:56:33: error: argument 2 of type ‘char[4096]’ with mismatched bound [-Werror=array-parameter=]
   56 | realpath(const char *path, char resolved[PATH_MAX]);
      |                            ~~~~~^~~~~~~~~~~~~~~~~~
In file included from main.c:32:
/home/vlad/dev/tilck2/toolchain2/host_x86_64/gcc_12_3_0_riscv64_musl/riscv64-buildroot-linux-musl/sysroot/usr/include/stdlib.h:115:41: note: previously declared as ‘char * restrict’
  115 | char *realpath (const char *__restrict, char *__restrict);
      |                                         ^

This should be easy to fix in https://github.com/vvaltchev/micropython

I've fixed this with commit a3a0717f9983555a9cb2c1b722f128b143526f1e after making GCC 10.3 the default version and by upgrading to the upstream version of micropython, 1.24.1.


The current image is not being displayed in the list since the latest updates...

Check the screenshot—I'm currently on image 06, but the list shows as if no image has been clicked.

ONE DAY WITHOUT REPLY

TWO DAY WITHOUT REPLY

@alalaha
You are not owed a reply. You are definitely not owed a reply as soon as you want. I get to issues when I get the time to get to them. One more of this and you'll be blocked.

@ogkalu2 Wow, you with all your arrogance and toxicity can respond to me like that, but you can't just say something like, "Yeah, it's a bug I caused in the latest updates," or maybe, "It'll be fixed soon, thanks for reporting the issue, hang tight for a fix..."
Unfortunately, I'm still left without an answer...
### THREE DAY WITHOUT REPLY

@alalaha I am amazed, even shocked by the impudence of some people. A person makes a program in his free time that everyone can use for free. And instead of gratitude, you dare not just ask to fix something, but demand and even insult.


Server and client modules definition

Summary of changes:

Defined sever module
Defined client module
Implemented repositories for projections and aggregates
Implemented command builder for flexible command construction

@armiol please take a look at the changes.

Current coverage is 97.26% (diff: 95.66%)

Merging #4 into master will increase coverage by 0.33%

@@             master         #4   diff @@
==========================================
  Files            10         21    +11
  Lines           684        986   +302
  Methods           0          0
  Messages          0          0
  Branches         26         26
==========================================
+ Hits            663        959   +296
- Misses           17         20     +3
- Partials          4          7     +3

Powered by Codecov. Last update bfde346...e95fc4c

@armiol please take a look at the updates.

@armiol please take a look at the updates.


Dark blue

Screenshot of my A11y card:
For assistance: https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests

Hi - Theme looks great!
It looks like instead of removing the changes to package-lock.json you committed changes to delete the file.
Could you look over these steps and remove the changes to package-lock.json: https://stackoverflow.com/questions/39459467/remove-a-modified-file-from-pull-request

Thank you for your suggestion, now i've fixed it.

Perfect! ✨
Thanks for your contribution!


Cannot run any console commands when in breakpoint

No matter what console command I run, I get this error message:
Uncaught ReferenceError
message: "__buggerCLI is not defined"
stack: (...)
get stack: ()
set stack: ()

I am running jest tests with the following command:
node --harmony $(which bugger) ./node_modules/jest-cli/bin/jest.js --runInBand

Also tried to use this command:
bugger ./node_modules/jest-cli/bin/jest.js  #--runInBand

Thanks! I definitely can reproduce and it seems to happen only with jest. Investigating.

The problem might be that jest runs the tests in a context where global refers to a fake / JSDOM window, not node's global object. And bugger depends on a global value to provide the console API. Will try to make it degrade gracefully.

Can you give v2.2.3 a try?

Works great! Thanks!


Enable Title alignment options

I have removed the custom title drawing code because it was rendering at the wrong location after  f61f31b.  Not a big loss, its probably best that it uses the same look and feel as the other dialogs anyway, even if it is less pretty now  (notice how it is now left aligned).

Originally posted by @tznind in https://github.com/gui-cs/Terminal.Gui/issues/2259#issuecomment-1498461073

This is an Adornment related enhancement and is a requirement for f

#2563

Closing.


configurable feature to avoid mesos-agent restart failing…

… with "Incompatible agent info detected"
implements fix proposed for following issue(s) or bug(s):
https://github.com/AnsibleShipyard/ansible-mesos/issues/65
@ernestas-poskus I let you decide about any version bump!

@ernestas-poskus any chance of getting the PR merged before  the travis-ci build is fixed ?
(I checked the CI log: it's only the centos-7  build that somehow hangs, unrelated to this change, probably same issue in the other open PR !)

@lhoss problem with CentOS7 fixed, thank you for contribution !


How to access and create media objects

I want to add audio files to slides by inserting an audio object that plays an audio file

How can this be accomplished using the python-pptx  package?
I added an audio object to a slide (named "Recorded Sound") and tried to find it from the slide object, but it wasn't part of the shapes list.
How can access existing audio objects, and add additional objects to a slide?

Hi believe some folks have had success using shapes.add_movie() for that. Have a search around on "python-pptx add mp3" or similar search terms and I think you'll find some ideas.

thanks!
even if shapes.add_movie can add a new mp3 audio object (as described in this post), I still don't see how to:

find an existing audio object from the slide object, and either delete it or update the link to the audio file
set properties of audio object, enable: hide during playback and start automatically

Yes, I've done it that way: Lines 2889 to 2896 in md2pptx show an example of doing that. Nowhere in md2pptx do I do anything different for media that turns out to be audio compared to video. (Yes, I parse HTML / markdown input that points at them separately, but that's not relevant.)

is there a "raw XML" API that lets me access everything in the slide, albeit in a non-friendly manner?

thanks!
I inserted a Media/Audio object in one of the slides, and I parsed it with python-pptx, but I couldn't find it
How do you suggest I traverse all the elements of the slide? Do I start with slide._element and work my way down the tree with .getchildren()?
By the way, I unzipped the presentation (the pptx file) and viewed the XML tree of the slide (slides/slide2.xml) which contains a blank slide with an audio element with an online XML viewer. The element is named "Recorded Sound."
How would access this element using either slide._element or slide.shapes.grpSp?
Can you share a link to an example that changes the properties of the elements using the XML API?
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<p:sld
  xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
  xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
  xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">
  <p:cSld>
    <p:spTree>
      <p:nvGrpSpPr>
        <p:cNvPr id="1" name=""/>
        <p:cNvGrpSpPr/>
        <p:nvPr/>
      </p:nvGrpSpPr>
      <p:grpSpPr>
        <a:xfrm>
          <a:off x="0" y="0"/>
          <a:ext cx="0" cy="0"/>
          <a:chOff x="0" y="0"/>
          <a:chExt cx="0" cy="0"/>
        </a:xfrm>
      </p:grpSpPr>
      <p:pic>
        <p:nvPicPr>
          <p:cNvPr id="2" name="Recorded Sound">
            <a:hlinkClick r:id="" action="ppaction://media"/>
            <a:extLst>
              <a:ext uri="{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}">
                <a16:creationId
                  xmlns:a16="http://schemas.microsoft.com/office/drawing/2014/main" id="{42CC0928-1512-980B-37E2-51D82FC53C63}"/>
                </a:ext>
              </a:extLst>
            </p:cNvPr>
            <p:cNvPicPr>
              <a:picLocks noChangeAspect="1"/>
            </p:cNvPicPr>
            <p:nvPr>
              <a:audioFile r:link="rId2"/>
              <p:extLst>
                <p:ext uri="{DAA4B4D4-6D71-4841-9C94-3DE7FCFB9230}">
                  <p14:media
                    xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" r:embed="rId1"/>
                  </p:ext>
                </p:extLst>
              </p:nvPr>
            </p:nvPicPr>
            <p:blipFill>
              <a:blip r:embed="rId4"/>
              <a:stretch>
                <a:fillRect/>
              </a:stretch>
            </p:blipFill>
            <p:spPr>
              <a:xfrm>
                <a:off x="5892800" y="3225800"/>
                <a:ext cx="406400" cy="406400"/>
              </a:xfrm>
              <a:prstGeom prst="rect">
                <a:avLst/>
              </a:prstGeom>
            </p:spPr>
          </p:pic>
        </p:spTree>
        <p:extLst>
          <p:ext uri="{BB962C8B-B14F-4D97-AF65-F5344CB8AC3E}">
            <p14:creationId
              xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main" val="472980364"/>
            </p:ext>
          </p:extLst>
        </p:cSld>
        <p:clrMapOvr>
          <a:masterClrMapping/>
        </p:clrMapOvr>
        <p:timing>
          <p:tnLst>
            <p:par>
              <p:cTn id="1" dur="indefinite" restart="never" nodeType="tmRoot">
                <p:childTnLst>
                  <p:seq concurrent="1" nextAc="seek">
                    <p:cTn id="2" dur="indefinite" nodeType="mainSeq">
                      <p:childTnLst>
                        <p:par>
                          <p:cTn id="3" fill="hold">
                            <p:stCondLst>
                              <p:cond delay="indefinite"/>
                            </p:stCondLst>
                            <p:childTnLst>
                              <p:par>
                                <p:cTn id="4" fill="hold">
                                  <p:stCondLst>
                                    <p:cond delay="0"/>
                                  </p:stCondLst>
                                  <p:childTnLst>
                                    <p:par>
                                      <p:cTn id="5" presetID="1" presetClass="mediacall" presetSubtype="0" fill="hold" nodeType="clickEffect">
                                        <p:stCondLst>
                                          <p:cond delay="0"/>
                                        </p:stCondLst>
                                        <p:childTnLst>
                                          <p:cmd type="call" cmd="playFrom(0.0)">
                                            <p:cBhvr>
                                              <p:cTn id="6" dur="3797" fill="hold"/>
                                              <p:tgtEl>
                                                <p:spTgt spid="2"/>
                                              </p:tgtEl>
                                            </p:cBhvr>
                                          </p:cmd>
                                        </p:childTnLst>
                                      </p:cTn>
                                    </p:par>
                                  </p:childTnLst>
                                </p:cTn>
                              </p:par>
                            </p:childTnLst>
                          </p:cTn>
                        </p:par>
                      </p:childTnLst>
                    </p:cTn>
                    <p:prevCondLst>
                      <p:cond evt="onPrev" delay="0">
                        <p:tgtEl>
                          <p:sldTgt/>
                        </p:tgtEl>
                      </p:cond>
                    </p:prevCondLst>
                    <p:nextCondLst>
                      <p:cond evt="onNext" delay="0">
                        <p:tgtEl>
                          <p:sldTgt/>
                        </p:tgtEl>
                      </p:cond>
                    </p:nextCondLst>
                  </p:seq>
                  <p:audio>
                    <p:cMediaNode vol="80000">
                      <p:cTn id="7" fill="hold" display="0">
                        <p:stCondLst>
                          <p:cond delay="indefinite"/>
                        </p:stCondLst>
                        <p:endCondLst>
                          <p:cond evt="onStopAudio" delay="0">
                            <p:tgtEl>
                              <p:sldTgt/>
                            </p:tgtEl>
                          </p:cond>
                        </p:endCondLst>
                      </p:cTn>
                      <p:tgtEl>
                        <p:spTgt spid="2"/>
                      </p:tgtEl>
                    </p:cMediaNode>
                  </p:audio>
                </p:childTnLst>
              </p:cTn>
            </p:par>
          </p:tnLst>
        </p:timing>
      </p:sld>

Using add_movie with the "mp3" mime adds the audio objects, but they do not play automatically
I use the following VBA macro on the generated presentation:
Sub playAllAudio()
    Dim osld As Slide
    Dim oshp As Shape
    For Each osld In ActivePresentation.Slides
        For Each oshp In osld.Shapes
            If oshp.Type = msoMedia Then
                oshp.AnimationSettings.PlaySettings.PlayOnEntry = msoTrue
            End If
        Next oshp
    Next osld
End Sub

Currently, I have to follow up the python-pptx script with "manual labor" in PowerPoint.
Is there a way to do the same with python-pptx?
Additionally, I have to set the transition of each slide with the property: "After = 00:00.00". It is relatively easy to do directly from Powerpoint (selecting all slides), but is there a way to do that from python-pptx?


Support "Show as" for Plugs?

Hi,
(sorry if this is a duplicate or already supported. #566 and #63 did not really help.)
I'm using deCONZ with a few OSRAM plugs. They're exposed as /lights via the API, so they're shown as "Light" in HomeKit and work as expected. But I dont use them for lights.
I have an old Eve Energy Plug (native HomeKit support via bluetooth). In the HomeApp you can specify how HomeKit should show it (it's called "Anzeigen als" in german). It's possible to select Light, Fan or Outlet.
Is this already possible with homebridge-hue? If not, is it possible to add this?
I already have the "outlet" resourcelink:
{
  "classid": 1,
  "description": "outlet",
  "links": [
    "/lights/3",
    "/lights/4",
    "/lights/5",
    "/lights/11",
    "/lights/14"
  ],
  "name": "homebridge-hue",
  "owner": "...",
  "recycle": false,
  "type": "Link"
}

That setting is accessible only to HomeKit apps similar to accessory and service names, rooms, groups, scenes, and automations.  It's not exposed over HAP, so there's nothing homebridge-hue can do.

hm, are you sure about this?
I have a homematic plug thats added in fhem. I just added it to homebridge via homebridge-fhem (https://www.npmjs.com/package/homebridge-fhem) and it just works like on the eve:

there is no native homekit support for homematic or fhem

Uh, WTF.
I wanted to test the deCONZ -> FHEM -> homebridge-fhem route. Added my osram plug to fhem via deCONZ REST API, added it to my homebridge-fhem room, restartet homebridge and it worked like I wanted. But now all the deCONZ -> homebridge-hue plugs do it, too. It still works after removing it from homebrige-fhem. How is that even possible? I'm really confused.


Notetaking via Keyboard

Great app! i have the pro version and it works like a charm. one request though if possible. could you make the notepad also typable. so top half is writable and bottom half is typable? i find that typing frequenties is a lot faster than writing them.

Great App, much appreciated for VR. I downloaded this version today and are waiting for Pro access :-) , have used VRmap for a while. I have a thought about how great it would be to strap a Wacom drawing tablet (or another brand) to leg and be able to write with a pen on a notepad inside VR.  The pen has buttons that can be bound as mouse buttons, so I think this can be used to control all functions in the kneeboard app aswell.  I'm not advertising for Wacom, its just the only one I know of because these are the ones my daughter are using. This is an example.   https://www.wacom.com/en-dk/products/one-by-wacom

I just saw your YT video about V1.2.0 - Thank you for the zoom function. Now I can't wait to get home and try the new features. The  waypoints you added last time is awesome, so nice that we are able to put in new waypoints with new course in flight, when we deviate from intended course. This is going to be one of the best and most usefull add-ons for VFR in VR. I payed to little for the pro version, but that I will make up for. Very nice to see how serious you seem to be about it.
One thing I have noticed, is when I plot in a course or point when in monitor mode, it does not remember the route when switching to VR. This could be usefull when copying af task from NeoFly to Kneeboard. Perhaps that is allready fixed in regards to the "memory" of map placing you mentioned in the video?

I can blind type, so I really would like to see keyboard input implemented

You mean like that? https://discord.com/channels/849188204426690562/850776119963287593/941629478407389255 :-) It's "fresh off the press" and will be released soon with v1.6 - Physical keyboard inputs work as well, but might interfere with MSFS hotkeys (think typing "G" and your landing gear might retract)...

Implemented. To be released with v1.6


What is the alternative to volumes_from?

WARNING: unsupported parameter volumes_from
Output from 'docker-compose-swarm-mode':
`Running:
docker service create --with-registry-auth
--name dns_mysql-slave
--mount type=bind,src=/dns/mysql-slave.cnf,dst=/etc/mysql/my.cnf
--env MYSQL_ROOT_PASSWORD=XXXXXXX
--constraint 'node==worker2'
mysql
`
Sample: compose
`
mysql-slave:
image: mysql
volumes_from:
- data-slave
volumes:
- /dns/mysql-slave.cnf:/etc/mysql/my.cnf
environment:
- MYSQL_ROOT_PASSWORD=XXXXXX
- "constraint:node==worker2"
network_mode: dns
data-slave:
image: busybox:latest
volumes:
- /var/lib/mysql
network_mode: dns
environment:
- "constraint:node==worker1"
`

docker service doesn't support volumes_from and AFAIK is not going to support it.
You should use top-level volumes instead of data containers.
E.g. (from docker-compose docs):
version: '2'
services:
  db:
    image: postgres
    volumes:
      - data:/var/lib/postgresql/data
volumes:
  data:


Quick fix for new compiler 0.11.0-dev.1247+87b223428

Updates for newer compiler version >0.11.0. May be useful, as this is the new self-hosted compiler that hopefully most people will move to soon  :)

Thank  u!


[FIX][MRG] Fix to plot_evoked_topo.

Closes https://github.com/mne-tools/mne-python/issues/3330

@kambysese please confirm this works for you.

Works for me, +1 for merge. Thanks!

@jaeilepp address @Eric89GXL comment and merge.
thanks heaps !


Can you please include a link to the Visio diagram for this one ?

[Enter feedback here]

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

ID: 200b266e-1c8e-63ef-3853-de91aebd8d04
Version Independent ID: 8884c7fe-32c7-5f10-3fb4-308b951b6b6d
Content: Remote Desktop Services architecture
Content Source: WindowsServerDocs/remote/remote-desktop-services/Desktop-hosting-logical-architecture.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @lizap
Microsoft Alias: elizapo

@dmali777 I'm sorry but we don't offer Visio diagrams on the Docs site.


python-openshift-tools-ansible needs to pull in openshift-ansible-zabbix

this allows removal of the embedded libzabbix in the Dockerfile for zagg-web container

lgtm :+1: