Consider using fixed version in rmwc/package.json

I found in rmwc/package.json (v5.5.1), all the rmwc components versions are declared like this:
{
    "dependencies": {
        "@rmwc/avatar": "^5.5.1",
        "@rmwc/base": "^5.5.1",
        "@rmwc/button": "^5.5.1"
    }
}

Imagine one day I upgrade rmwc from v5.5.1 to v5.99.0 (or whatever other new minor versions or patch versions), then I found there's a bug with @rmwc/button v5.99.0, so I want to downgrade rmwc to v5.5.1. But rmwc v5.5.1 declare dependency @rmwc/button with a prefix ^, which means rmwc is still going to install @rmwc/button v5.99.0. This make downgrade rmwc impossible without editing lock file manually.
If we can use fixed versions in rmwc/package.json, the problem will be solved:
{
    "dependencies": {
        "@rmwc/avatar": "5.5.1",
        "@rmwc/base": "5.5.1",
        "@rmwc/button": "5.5.1"
    }
}

RMWC honors standard semver behavior. Patch releases are for bug fixes, minor versions are for new features but include no breaking changes. There shouldn’t ever be a reason to not upgrade a minor version. You can also lock down exact versions using package-lock

@jamesmfriedman
Maybe I didn't describe the problem clearly.
The package rmwc is basically a package to help users install rmwc packages like @rmwc/avatar, @rmwc/button, and others by using one install command yarn add rmwc.
And here is the problem, when I run yarn add<EMAIL_ADDRESS>it means I would like to accept all minor and patch updates, so finally the versions of the packages I installed are: rmwc: 5.5.1, @rmwc/avatar: 5.5.1, @rmwc/button: 5.5.1, which is fine, but when I run yarn add<EMAIL_ADDRESS>this means I would like to install the specific version 5.0.0, and not accept any minor or patch updates, but actually the final version of the packages I installed are: rmwc: 5.0.0, @rmwc/avatar: 5.5.1, @rmwc/button: 5.5.1. All the component packages are still installed the latest version, which is not what I expect.

Let me do some research on how other projects using Lerna handle this, thanks for the extra description!

I think the appropriate solution here will be to use the ~ version instead of ^ for the main rmwc package specifically. This will ensure that you get the right versions going forward. Thoughts?

@jamesmfriedman
Using ~ means all the patch versions are available, but sometimes patch versions also come up with new bugs. So I think it's better to use the version without any prefix, then we can always install the same version.

I did a bit of research on this.

I looked at how material-components-web manages this
I searched github for "lerna" and looked at how other projects are handling having a single top level install with sub-dependencies

100% of the time, they're all using ^ to get the latest minor and patch versions.
I think this is the correct behavior. While I do understand where you're coming from, installing the 'rmwc' global is more for convenience than anything else. Even if I applied fixed package versions in RMWC's package.json file, all of the sub package json files are also using the ^. This means I would have to apply fixed versions throughout all of the sub packages at which point I've made everyone's update cycle very manual and broken the typical dependency behavior of any project. For instance, installing @rmwc/textfield brings in about 5 other required packages.
As an aside, this project obeys SEMVER to the best of its abilities, and hasn't had a breaking change in months. While nothing is infallable, I'd rather fail forward and immediately patch any critical or blocking bugs.
If fixed versions are important to your project you can leverage the package-lock.json, or yarn.lock file to guarantee the proper versions.

Closing this out, fixed versions can be controlled via package-lock


Low performance dict by codon jit

when I try dict performance, I found that, It is much lower when I using codon jit. I'm also exploring why it produces this result.
Is it wrong where it is used, or other reasons?
import codon
from time import time

def is_prime_python():
    d = {}
    for i in range (0, 100000):
        d[str(i)] = i

    for i in range(0, 50000):
        d[str(i)] = i+1

@codon.jit
def is_prime_codon():
    d = {}
    for i in range(0,100000):
        d[str(i)] = i

    for i in range(0, 50000):
        d[str(i)] = i+1

t0 = time()
is_prime_python()
t1 = time()
print(f'[python] took {t1 - t0} seconds')

t0 = time()
is_prime_codon()
t1 = time()
print(f'[codon]  took {t1 - t0} seconds')

the result:
[python] took 0.01917576789855957 seconds
[codon]  took 0.17638945579528809 seconds

@elisbyberi  benchmark is not must， one thing I want to know is why after jit, codon is slower, for that, not only codon, tvm and other python jit tools still have this problem

@elisbyberi benchmark is not must， one thing I want to know is why after jit, codon is slower, for that, not only codon, tvm and other python jit tools still have this problem

codon.jit is a decorator that JIT-compiles the function each time you call it.

@elisbyberi got it, thanks


Increase unit test coverage for Configuration and Utils

Add unit tests for classes Configuration and Utils. Includes also a small fix for URL formatting/handling. The apiUrl for example was created with an ending / which is removed in this PR. Also endpoint parameters can now be given as endpoint or /endpoint.

Codecov Report

Merging #166 into develop will increase coverage by 0.44%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #166      +/-   ##
===========================================
+ Coverage    88.06%   88.51%   +0.44%
===========================================
  Files           15       15
  Lines          846      853       +7
  Branches       122      123       +1
===========================================
+ Hits           745      755      +10
+ Misses          44       43       -1
+ Partials        57       55       -2

Flag
Coverage Δ

#e2e
76.31% <77.77%> (+0.07%)
:arrow_up:

#integration
39.03% <55.55%> (+0.26%)
:arrow_up:

#unit
54.63% <100%> (+2.85%)
:arrow_up:

Impacted Files
Coverage Δ

src/Utils.ts
96.22% <100%> (+2.1%)
:arrow_up:

src/Configuration.ts
100% <100%> (+7.14%)
:arrow_up:

Continue to review full report at Codecov.

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


InitRequestInitiator should send current host:port if server is listening

So, this bit us because Hyperbahn uses the host:port value set in the original InitRequest message instead a value passed in as part of a Advertise request to determine where to reach the service. Needless to say I'll be filing a bug on that, but, as that issue is unlikely to get any traction, we'll need to patch our implementation ( and, in doing so, get up to spec with the protocol ).
The implications here are that ChannelInitializers for outbounds e.g. client requests will need to modify their ChannelPipeline to pass in the listening port of their owning TChannel instance. This is tricker than it sound due to the order of operations of how Pipelines are created ( typically pipelines are created prior to  listening but we'll have to modify client pipelines after a server pipeline is created )

Whoops though I would have to confirm before a reassignment.

This will be required for hyperbahn integration.

yes, I am fixing that right now, together with the init hand shaking. :)

:tada:

done


Failure to load on Vue

Description
Does this library work with Vue? It could show the top loading bar but not any model.

Browser Affected

[ 80.0.3987.149] Chrome
[ ] Edge
[ ] Firefox
[ ] Helios
[ ] IE
[ ] Safari

OS

[ ] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ 10] Windows

Versions

model-viewer: ^0.9.0

did you find a solution for that?

Was there a solution for this?

Would like to bump this, I am having the same issue. It doesn't cause any errors in the console but it doesn't load either. Tried with .glb files

Does #2122 help? Generally you'll find better help searching the discussions than the closed issues.

Does #2122 help? Generally you'll find better help searching the discussions than the closed issues.

The issue in my case was that my model wasn’t in the public folder of my Vue project. There’s no console warnings or anything about this failure though. Was there another way I could have captured this error? I ended  up finding this cause by trial and error

I'm guessing this is a Vue-specific thing? I get a 404 console error when I try to load a GLB that doesn't exist: https://modelviewer.dev/examples/loading/index.html#noModel


[PE-D][Tester B] view command opening a popup is not optimised for CLI-based app

There is no fast way to close the popup triggered by view command.
alt+f4 will close the MediMeet app as the focus is still on the app after the popup appears. Usage of mouse is required to close the window, which does not fit well in a CLI-optimised app.
The default size of the popup is also too small to display all the details, and needs to be manually resized using the mouse.

Labels: type.FeatureFlaw severity.Low
original: euph00/ped#5

Not allowed to fix in v1.4, so closing as not planned.


Revert "Merge pull request #141192 from helsinki-systems/feat/improve…

…d-socket-handling2"
This reverts commit 57961d2b838cc31fa4ce89641b6a8db544a8471a, reversing
changes made to b04f913afce4419f6b777fd64ac52315dbef3aaf.
(I.e. this reverts PR #141192.)
While well-intended, this change does unfortunately introduce very
serious regressions that are especially disruptive/noticeable on desktop
systems (e.g. users of Sway will loose their graphical session when
running "nixos-rebuild switch").
Therefore, this change has to be reverted ASAP instead of trying to fix
it in "production".
Note: An updated version should be extensively discussed, reviewed, and
tested before re-landing this change as an earlier version also had to
be reverted for the exact same issues 0.
Fix: #146727

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I tested this by switching back and forth between Nixpkgs revisions. rev1 -> rev2 "crashes" Sway while rev1 -> rev2 + this commit/revert doesn't "crash" Sway. nix-build -A nixosTests.switchTest also still succeeds.
@ofborg test switchTest

probably also worth backporting to 21.11?

Oh boy gotta love me some fixing work 🎉

FYI while updating the branch from https://github.com/NixOS/nixpkgs/pull/140669 I also found another issue:

I have a testcase (https://github.com/NixOS/nixpkgs/pull/140669/files#diff-2c3c9f058a03d86f12ddaa23953c994c3533e9c71b5e1a62dd685479d9525f88R171) which checks whether new declarative containers are started when activating a new configuration on the host using switch-to-configuration.pl. The code also checks whether the network is correctly set up (i.e. whether the container's IPs are pingable).
I confirmed that this broke with the changes from  #141192: the problem was that $unitsToStop{$socket} = 1; (https://github.com/NixOS/nixpkgs/pull/147609/files#diff-c5a656ad8eb4fd2a44c6523c5cfc4f0b670c231054f9f0533f78702ca06b8764R256) was missing. This caused systemd-networkd.service to be restarted, but the socket wasn't touched which caused an immediate restart of systemd-networkd, before $out/activate was executed (i.e. while unitsToStop were stopped).
This caused another problem: networkd got restarted without knowing all new .network-units (including the one for the new container, these will be copied to /etc in an activation script). Networkd falls back to an internal unit for containers (https://github.com/systemd/systemd/blob/main/network/80-container-ve.network) which doesn't have the static IPs from the NixOS configuration and thus the container is up, but missing IPs from the configuration.


Update social media links in Footer component

Updates the social media links in the Footer component to ensure they reflect the latest and correct URLs.
Please add GSSoC'24 ext and hacktoberfest labels

Already existed issue and already assigned,
@amitb0ra could u please refer this #172


It seems that it can not resolve icons(not solve).

var file = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Windows), "explorer.exe");
ResourceInfo info = new ResourceInfo();
info.Load(file);
var resources = info[Kernel32.ResourceTypes.RT_GROUP_ICON];
foreach (var resource in resources)
{
IconDirectoryResource icon = new IconDirectoryResource();
icon.Language = resource.Language;
icon.Name = resource.Name;
icon.LoadFrom(file);
//I can not save icons to disk
** icon.Icons[0].SaveIconTo("c:\a.ico");** //error
}

What is the error?

@CreateAndInject Currently there's no way to save .ico files. IconImageResource.SaveIconTo does not write .ico files but writes the icon as a resource to the existing PE file.

@dblock  The error is what thoemmi said, you can run my code and you can find what error.

So it's not an error but a feature request :wink:

I've renamed and re-labeled this as a feature request.


Revert Fix get_server_name crash when TLS record fragmentation

Task/Issue URL: https://app.asana.com/0/488551667048375/1206049262682135/f
Description
Revert Fix get_server_name crash when TLS record fragmentation
Steps to test this PR
Smoke tests for AppTP and VPN, fresh install and app update

Current dependencies on/for this PR:

develop

PR #3939   👈

This stack of pull requests is managed by Graphite.


Adding SSL and login support for dependency injection extension method

Quick and dirty, but also an effective way to get login support for the SMTP client. Tested working.
Before a nuget release someone could write tests and include login features it in the Core.Email object for non-DI users.

Can this get tested and merged in please?


Call to undefined function CrCms\ElasticSearch\array_pull()

query：
$builder = $this->builder->index('index')->type('type');
$result = $builder->whereTerm('id',10015)->first();
error:
Call to undefined function CrCms\ElasticSearch\array_pull()
at vendor/crcms/elasticsearch/src/Grammar.php:62

You use version is ?


Update faq.yml

update faq 1.2 deleting duplicate

Description

As already mentioned in #ISSUE_NUMBER, this PR tackles:

...
...
...

In particular, the ...
Checklist

[ ] I followed the indications in the CONTRIBUTING
[ ] The documentation related to the proposed change has been updated accordingly (also comments in code).
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Ready for review! :rocket:

Fixes

Fixes #

please @bfabio @denismarini


Update production-build.md - split configurations

A simple approach to have Splitting configurations for the application and manage for different environments

@SpaceK33z, @TheLarkInn Any thoughts?

I like this approach. I also like using webpack-merge. I think we should remind people that there are multiple strategies somewhere in the doc.

@TheLarkInn ,
Do you think, I should put up a snippet for 'webpack-merge' as well? Am using it in mine and It made my life a lot easier and made my code a lot cleaner.
I wanted to keep things simpler, but at the same time, wanted people to explore advanced configurations. That's why I just dropped a note on it.

I think it would be quite valuable. Show an example of a composed pair of configs.
base => dev
base => prod

I might add a single file variant about merging at the end. Tha feels like a good section to add and it's actually the approach I use myself as then you have a single file to dig into to understand what's going on.
In addition I push lower level parts to webpack.parts.js to keep the level of abstraction a notch but I guess that can be skipped here as I discuss the approach in the book.

@bebraw ,
As for the single file variant, the approach I demonstrated here, is actually an evolution from a single file approach, with which I started first. However, I wasn't using merge back then. I just stuck to the basics of if-else and switches. I totally agree that it would be easier to understand to start with. But then again, I felt, a split file system would instantly help you understand what plugins go where. For example, to understand how my final prod build would look like, I could just go to my prod file and get a feel of what goes into my prod build and what are the plugins am using to achieve it. Again, it is totally a developer, rather , the team's choice. Do you think, we should drop a note at the end on a single file approach as well?

@rajagopal4890 Ideally we should a couple of directions and let people pick whatever fits their purposes. To some extent these are up to personal preferences (think tabs vs. spaces kind of discussion) and it's hard to find absolute truths.
Give it a pass if you want. We'll merge later today. 👍


Added CONVERT _ TO UPPERCASE/LOWERCASE IN _ statements

This is something else I uncovered while trying to convert compileman.php to LDPL: no uppercase/lowercase conversion in LDPL by default. I think it's handy to have these included in the language.
DATA:
    input is text
    output is text

PROCEDURE:
    store "ldpl updates? great!" in input
    convert input to uppercase in output
    display "input: " input crlf
    display "output: " output crlf

$ ./example-bin
input: ldpl updates? great!
output: LDPL UPDATES? GREAT!

What, really? I can't believe we didn't have this! In the language that constantly boasts about utf-8 support and strings! Dinoshame!

Thank you for the contribution!


Delete account should throw FORBIDDEN and not UNAUTHORIZED when it's owner of existing buckets

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

changed the RPC error code
patched an old fix for delete_account() that needs to be also on delete_account_by_property()
added a unit test

Issues: Fixed #xxx / Gap #xxx

Fixed https://github.com/noobaa/noobaa-core/issues/7129

Testing Instructions:

[ ] Doc added/updated
[x] Tests added

@nimrod-becker @dannyzaken
There is a request to backport it to 5.11.5/5.12, any news about it?

I think we can safely backport to 5.12.1, regarding 5.11 we need to discuss

How do we map with 5.12 and 5.11 ? we talk in terms of ODF 4.11 / 4.12

5.12 maps to ODF 4.12 and 5.11 to ODF 4.11

@nimrod-becker , we saw this broke in ODF as part of our DAS 516 release. There was a new code added to address Customer issue and it is required to have this fixed in ODF 4.11.x stream as mentioned earlier. Please check the feasibility

@nimrod-becker , the test was performed on ODF 4.12 GA code and it still shows the same error. Is the fix got into the ODF 4.12 or in Queue for 4.12.1?

4.12.1

@nimrod-becker , can we use the d/s builds(from Quay.io) and try it out or else need to wait ?

@nimrod-becker as of today 4.12.1-13 still doesn't have the fix yet looks like
in our env ----> account delete<EMAIL_ADDRESS>Got `Unauthorised` response from IBM Spectrum Scale GUI
For user ‘das-gui-user’, the password may be expired or invalid

<EMAIL_ADDRESS>cnsa-517-builds]# oc get csv -n openshift-storage -o yaml |grep full
      full_version: 4.12.1-13
      full_version: 4.12.1-13
      full_version: 4.12.1-13

still has same error message on ODF 4.12.1
time="2023-02-15T13:52:07Z" level=info msg="Delete account Request is{token<EMAIL_ADDRESS>time="2023-02-15T13:52:07Z" level=info msg="Noobaa uri is https://noobaa-mgmt.openshift-storage.svc:443/rpc"
time="2023-02-15T13:52:07Z" level=debug msg="Noobaa Response function"
time="2023-02-15T13:52:07Z" level=debug msg="Noobaa response is&{200 OK 200 HTTP/1.1 1 1 map[Access-Control-Allow-Credentials:[true] Access-Control-Allow-Headers:[Content-Type,Content-MD5,Authorization] Access-Control-Allow-Methods:[GET,POST,PUT,DELETE,OPTIONS] Access-Control-Allow-Origin:[*] Connection:[keep-alive] Date:[Wed, 15 Feb 2023 13:52:07 GMT] Keep-Alive:[timeout=5] X-Noobaa-Rpc-Body-Len:[190] X-Noobaa-Rpc-Version:[3120562176]] 0xc0003a2200 -1 [chunked] false false map[] 0xc000224000 0xc000788000}"
time="2023-02-15T13:52:07Z" level=debug msg="Noobaa return response"
time="2023-02-15T13:52:07Z" level=debug msg="Noobaa account delete response body is{\"op\":\"res\",\"reqid\":\"1@https://::ffff:<IP_ADDRESS>:39558(6vh7sws28)\",\"took\":1.727427002042532,\"error\":{\"message\":\"Cannot delete account that is owner of buckets\",\"rpc_code\":\"UNAUTHORIZED\"}}"
time="2023-02-15T13:52:07Z" level=debug msg="Error message appear in the response"
time="2023-02-15T13:52:07Z" level=debug msg="Response is Cannot delete account that is owner of buckets"
time="2023-02-15T13:52:07Z" level=error msg="Unauthorized Error "

Nimrod and Romy any update on this. Fix isn't available in the ODF 4.12.1 d/s as well


Add typha port to the list of default failsafe ports

Description
Adds the documentation for adding the typha port to the default failsafe port list.
Related issues/PRs
https://github.com/projectcalico/felix/pull/2382
Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit ad903186ce874d0674dbb9644144aca6802feb37
https://deploy-preview-3654--calico.netlify.app


Show avail/allotted per provider over time

working on this starting today.
first figuring out how to collect data, how to store on server...
running a python routine to do this now.
first attempt is keeping all the data for a provider's doses in a file named after their zipcode.

Created 1783 csv files (one per 5 digit zipcode) here: https://github.com/rrelyea/evusheld-locations-history/tree/main/data/dose-details
Using this code to do it: https://github.com/rrelyea/evusheld-locations-history/blob/main/src/process-therapeutics.py
Next: work on web front end to show that data in easy to interpret way.

added links and querystring support for city, county, state, zip and provider.
also, you can manually change querystring to "?provider=ucsf" to search for all providers with ucsf in the provider name.
change: https://github.com/rrelyea/evusheld/commit/cd4ff7bc00f32cb1f612ca9ec64673f0e788a667
tested and deployed. will ask people to let me know of any problems.


A first guide

Added a draft of a "first steps" guide. Very rough, could be expanded or
contracted and very open to feedback. I used some of the browser material from the Getting Started on the assumption that some of that would be truncated.
I added the scaffolding for guides as an example of how they might work but not attached to their menu placement, nav icon, etc, etc.

@brian-brazil As discussed - just wanted to get something down for comment before investing too much time into it. Feedback very much appreciated.

Okay - updated based on feedback. I'd be interested in folk's thoughts on what more to include, if anything.

I don't think we need to version guides. Given they will usually touch multiple components, having them in prometheus/docs makes sense to me. I think that's what @fabxc and @juliusv thought as well.

Ah yes, this is a node exporter guide now too. Makes sense.
Should we be looking to remove the existing guide from the prometheus repo then?

You mean the migration guide? First I was confused seeing that in the docs, given we had this discussion about keeping general guides in docs. But then for the migration guide it kinda makes sense, given it'll be a different one for each major release. On the other hand, too many places might be confusing.
I'm slightly leaning towards leaving migration guides in repos, but everything else in docs.

I meant the Getting Started guide: https://prometheus.io/docs/prometheus/latest/getting_started/

I'm slightly leaning towards leaving migration guides in repos, but everything else in docs.

I agree on migration guides. I think that guides specific to a repo should live in the repo, but more high level/overall stuff can go in docs.

Ah yes. That makes sense! I think we moved it because of different flags and such, but I'd just say guides should reflect the latest version and that's it.

I added a quick summary just in case anyone wants to deploy this with 2.0.

Loogs very good. Small comments but nothing blocking.

Thanks @jamtur01 I have no further comment.

@brian-brazil Okay done.

Looks like the getting_started in this repo is defunct.
Thanks!


Use ceil implication for maps

Needs: https://github.com/kframework/kore/issues/1573
Has some overlap with https://github.com/kframework/kore/issues/1574 , so we may want to solve only one of these (see the trade-offs below).
Basically, we should be able to figure out that, say, ceil(concat(a->??, b->??, c->??, m)) implies any of ceil(concat(a->??, b->??, c->??)), ceil(concat(a->??, b->??, m)), ceil(concat(c->??, m)) and so on and remove those when possible, as described in https://github.com/kframework/kore/issues/1573
Tradeoffs:
Either https://github.com/kframework/kore/issues/1574 or this issue should solve the issues we are having right now (https://github.com/kframework/kore/issues/1576). They do not fully overlap because using only https://github.com/kframework/kore/issues/1576 would produce large terms which we would repeatedly process and send to the SMT, while using only the solution proposed in this issue would not work when

the predicate is more complex than and(ceil(...), phi(ceil(...))), e.g. something like and(phi(ceil(...)), psi(ceil(...))).
the maps have some overlap, but no inclusion relation, e.g. the following should be bottom, but we wouldn't be able to figure that out using only ceil implications.

and(
  ceil(concat(a, b, m)),
  not(ceil(concat(a, c, m)))
)

We should probably add axioms to domains.k to relate #Ceil to in_keys. However, this requires better matching on Map and Set. It also does not solve the entire problem, because the frontend generates Map sorts for cell collections that are not Maps.

Actually, I think this is not hard to support after all. We can add an internal representation like this:
data MemberMap = { key :: TermLike, map :: BuiltinMap }

which is unparsed as
\forall(X, \ceil(concat(element(key, X), map)))

We will simplify any pattern that matches \ceil(concat(element(key, X), map)) into the internal form. With my changes in #1583, and the changes by @virgil-serbanuta in #1584, that will automatically solve Map implication problems!

We could also make Kore.Builtin.AssocComm.CeilSimplifier output predicates based on equals(in_keys(...), true) instead of ceil(concat()). If Sets do not have in_keys then we may need to handle things a bit differently for maps and sets, but it should work.

If Sets do not have in_keys then we may need to handle things a bit differently for maps and sets, but it should work.

Set has in, but cell collections based on Map and Set do not have either.

Upon further reflection, I think we can apply this generalization, instead of introducing an internal representation:
\ceil( K |-> V  M) = \ceil(K) \ceil(V) \ceil(M) \forall(x, \ceil(K |-> x  M))

The only complication I can see is that we may need to start lowering \forall over conjunctions of predicates to handle the case where we subsequently generate a substitution for M.


Fix chef-vault integration in Sensu::Helpers

I hit this bug in production and it's a sneaky one. This test case forces the encrypted guard to actually call the chef_vault_item method as it was being bypassed before. So now the new issue I cannot resolve is, how to include the other chef-vault module and get this passing.
Here is the backtrace you get:
================================================================================
Recipe Compile Error in /tmp/kitchen/cache/cookbooks/sensu-test/recipes/default.rb
================================================================================

       NoMethodError
       -------------
       undefined method `chef_vault_item' for Sensu::Helpers:Class

       Cookbook Trace:
       ---------------
         /tmp/kitchen/cache/cookbooks/sensu/libraries/sensu_helpers.rb:47:in `data_bag_item'
         /tmp/kitchen/cache/cookbooks/sensu/recipes/rabbitmq.rb:82:in `from_file'
         /tmp/kitchen/cache/cookbooks/sensu-test/recipes/default.rb:35:in `from_file'

       Relevant File Content:
       ----------------------
       /tmp/kitchen/cache/cookbooks/sensu/libraries/sensu_helpers.rb:

        40:          encrypted = raw_hash.detect do |key, value|
        41:            if value.is_a?(Hash)
        42:              value.has_key?("encrypted_data")
        43:            end
        44:          end
        45:          if encrypted
        46:            if Chef::DataBag.load("sensu").key? "#{item}_keys"
        47>>             chef_vault_item("sensu", item)
        48:            else
        49:              secret = Chef::EncryptedDataBagItem.load_secret
        50:              Chef::EncryptedDataBagItem.new(raw_hash, secret)
        51:            end

        53:            raw_hash
        54:          end
        55:        rescue Chef::Exceptions::ValidationFailed,
        56:          Chef::Exceptions::InvalidDataBagPath,

       Running handlers:

       Running handlers complete
       [2015-02-03T23:14:00+00:00] ERROR: Exception handlers complete

       Chef Client failed. 0 resources updated in 7.727011328 seconds
       [2015-02-03T23:14:00+00:00] ERROR: undefined method `chef_vault_item' for Sensu::Helpers:Class
       [2015-02-03T23:14:02+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

@jtimberman just commited this change to make it a module, which should make things easier for accessing the Chef Vault helper.

I have updated this pull request with what is now a passing test based upon the current master version of chef-vault. We can wait on @jtimberman to officially cut a release (I think he's waiting on another PR merge) before updating this and merging.
/cc @portertech

Got this ready to be reviewed for merge as chef-vault 1.2.0 just released with this change.

@martinisoft Can we get this working w/o the chef-vault dependency?

@portertech Turns out you don't need to list it in the main cookbook (just the wrapper) to get it to load. Just resolved this with the latest commit.

@portertech I've added in the const_defined? check and it's good to go. So now if chef-vault is unavailable it will still throw a NoMethodError as before. We can rescue it separately in that helper method and provide a friendlier error message to remind someone to include chef-vault in their metadata.

:+1:


Allow user to label clusters of PR results in visualization view

The clusters are currently identified by an rather arbitrary "cluster index" that does not provide any biological meaning. A useful feature would be to allow users to apply more meaningful labels to the clusters.

Completed back in Febuary, some where around 43e01d56711005784d19602ab9397ff48e002d54
Closing


Add README to every boilerplate

It can help the user to use the boilerplate more easily.
The README should:

list the system requirements (software dependencies)
how to start the docker-compose stack
how to use the Makefile

the Makefile might need some adjustments (eg. add a watch target`)

Implemented in https://github.com/groovytron/generator-skjol/pull/4


AppWithWearable: when using the app cannot find the device even the device is showing up

when i run the app and am looking for the friend wearable device. The device is showing on Bluetooth search but app cannot detect any device

Hey @Rahul-1100 can you try again with the latest version?

Hey @Rahul-1100 can you try again with the latest version?

I am using the latest version of firmware as well as this repo.
I flashed the firmware both ways, first directly pasting the .uf2 file and building it according to the given method.
the firmware is recording as per the python script however it's still not being detected by the application.

so basically I wasn't giving it location permission. After I gave it the permission. It detected the device. Thank you


Visio download link does not match the article diagram

[Enter feedback here]
The visio file download link in this article does not match the diagram displayed in the article.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 87139748-938e-638e-de1f-94f8becfe1da
Version Independent ID: b96371e6-defb-3e70-792a-2c0cfdc25b7d
Content: Implement a hub-spoke network topology - Azure Reference Architectures
Content Source: docs/reference-architectures/hybrid-networking/shared-services.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @adamboeglin
Microsoft Alias: pnp

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#239350

@lloydmills , please review the "shared services" tab in the downloaded visio file.  That has the architecture diagram that matches the png file in the article.


Revert "[flutter_tools] Remove --no-sound-null-safety #3"

Reverts flutter/flutter#123297
Google Testing is failing on the null safety test suite. See b/276637044 for details.

Please file a P0 to re-land, and assign to @chingjun and @christopherfujino. This must be in the release.

I filed b/276657506 for the Google Testing failures. They were infra issues with unrelated internal patches being applied.

Please file a P0 to re-land, and assign to @chingjun and @christopherfujino. This must be in the release.

Thanks for letting me know! I filed b/276656799 for tracking getting this relanded. I've escalated to @christopherfujino in chat.


OpenNetMeter Release 0.11.0 - Wont Run - unhandled exception - Expected Folder that Doesn't Exist

OpenNetMeter Release 0.11.0 - Wont Run - unhandled exception on running.
Looks like it assumes a folder exists and crashes when it does not.
So don't crash, create the folder if really needed. Hope not, would be best to remain portable and use the current folder instead.
That is create and save user.config in the folder app is ran from instead of %LocalAppData%.
The crash:
Application: OpenNetMeter.exe
CoreCLR Version: 6.0.622.26707
.NET Version: 6.0.6
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException: The directory name 'C:\Users\William\AppData\Local\OpenNetMeter' does not exist. (Parameter 'path')
   at System.IO.FileSystemWatcher.CheckPathValidity(String path)
   at System.IO.FileSystemWatcher..ctor(String path, String filter)
   at OpenNetMeter.ViewModels.DataUsageHistoryVM..ctor()
   at OpenNetMeter.ViewModels.MainWindowVM..ctor(MiniWidgetVM mw_DataContext, ConfirmationDialogVM cd_DataContext)
   at OpenNetMeter.Views.MainWindow..ctor()
   at OpenNetMeter.App.Application_Startup(Object sender, StartupEventArgs e)
   at System.Windows.Application.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run()
   at OpenNetMeter.App.Main()

Faulting application name: OpenNetMeter.exe, version: <IP_ADDRESS>, time stamp: 0x6283e0e1
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1741, time stamp: 0xe9b4a91b
Exception code: 0xe0434352
Fault offset: 0x0000000000034fd9
Faulting process id: 0x5ce0
Faulting application start time: 0x01d88f222d7febb3
Faulting application path: C:\Users\William\Downloads\OpenNetMeter-0.11.0\OpenNetMeter.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: d80e2255-ca81-42db-b0b1-742cd8449aa5
Faulting package full name:
Faulting package-relative application ID:

Even the crash is a bit wrong. "C:\Users\William\AppData\Local\OpenNetMeter" does exist but looking at that, looks like version 0.10 uses a subfolder under OpenNetMeter.
To Reproduce
Steps to reproduce the behavior:

Run App

Expected behavior
Start Cleanly
App and Windows Version (please complete the following information):
OpenNetMeter Release 0.11.0
Windows 10 x64 21H2
Additional context
OpenNetMeter Release 0.10.0 starts and runs fine for me.

Hey @war59312 , does this happen every time you try launching the 0.11.0 version or just randomly?
Also regarding the portability of the application, i was considering on moving the user.config and the saved profiles to the application's own folder. But the problem here is, if the user wants to download and use another version. They've also got to manually move the saved profiles from the old version to this new versions folder.

OK, looks like just the first time and runs Ok on 2nd try, notice the folder got created.
Perhaps check of the config exists and if doesn't ask user if they wish to import an old config/profile or create a new one.

fixed in commit 0ff812f325a8d9cff623bda2685bec0b2e6e8198


Support Mouse Move and avoid crashing when load some games

I cloned from the master branch so there might be some issues with merging
Support movement values for the mouse's X and Y axes, and avoid crashing due to failures in loading certain cores or ROMs.
However, I now that if I use the parallel_n64 core, it still crashes.

I'll try merging this by cherry picking the last commit. I think I'll just have to close this PR though if I do that but you will have authorship of the commit. I'll probably do this once I merge the netplay branch. That may be a long time. Everything looks good though I think you did the right things to avoid data races.

I call unload_game() before deinit() because, when using the MAME 2003-Plus core, it doesn’t save default.cfg and <rom_name>.cfg.
I think MAME series cores need this operation, and other cores might also need this function.


[UI][FIX] Publish to meshery catalog action prevented for users signed in using local provider

This PR fixes #7102
Changes Made:

Added a new local state isLocalUser to track whether the user signed in using None provider.
Finally, controlling the render and functional behaviour of the publish method in various subcomponents.

Demo
https://user-images.githubusercontent.com/71918441/220381969-1e1c1104-7657-44fb-82fd-afa1ffe1ced8.mp4
Signed commits

[X] Yes, I signed my commits.

cc: @leecalcote

@krishna9304  Let's discuss this on the Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)

@krishna9304 Let's discuss this on the Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)

sure thing! Added. @Chadha93

@harkiratsm please review.

@krishna9304 solid presentation today. 👍

@krishna9304 solid presentation today. 👍

@leecalcote Thanks!🤩


Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80  Error preparing for challenge answer

I can't create a certificate to my subdomain, I was able to previously create one to my domain but I can't create it to my subdomain:
`A simple Windows ACMEv2 client (WACS)
Software version <IP_ADDRESS>2 (RELEASE, TRIMMED)
ACME server https://acme-v02.api.letsencrypt.org/
IIS not detected
Running with administrator credentials
Scheduled task looks healthy
Please report issues at https://github.com/win-acme/win-acme
N: Create new certificate (simple for IIS)
M: Create new certificate (full options)
R: Run scheduled renewals (0 currently due)
A: Manage renewals (1 total)
O: More options...
Q: Quit
Please choose from the menu: M
Running in mode: Interactive, Advanced
Please specify how the list of domain names that will be included in the
certificate should be determined. If you choose for one of the "all bindings"
options, the list will automatically be updated for future renewals to
reflect the bindings at that time.
1: Manual input
2: CSR created by another program
C: Abort
How shall we determine the domain(s) to include in the certificate?: 1
Enter comma-separated list of host names, starting with the common name: website.net,csgo.website.net
Target generated using plugin Manual: website.net and 1 alternatives
Suggested friendly name '[Manual] website.net', press  to accept or type an alternative:
The ACME server will need to verify that you are the owner of the domain
names that you are requesting the certificate for. This happens both during
initial setup and for every future renewal. There are two main methods of
doing so: answering specific http requests (http-01) or create specific dns
records (dns-01). For wildcard domains the latter is the only option. Various
additional plugins are available from https://github.com/win-acme/win-acme/.
1: [http-01] Save verification files on (network) path
2: [http-01] Serve verification files from memory
3: [http-01] Upload verification files via FTP(S)
4: [http-01] Upload verification files via SSH-FTP
5: [http-01] Upload verification files via WebDav
6: [dns-01] Create verification records manually (auto-renew not possible)
7: [dns-01] Create verification records with acme-dns (https://github.com/joohoi/acme-dns)
8: [dns-01] Create verification records with your own script
9: [tls-alpn-01] Answer TLS verification request from win-acme
C: Abort
How would you like prove ownership for the domain(s) in the certificate?: 2
After ownership of the domain(s) has been proven, we will create a
Certificate Signing Request (CSR) to obtain the actual certificate. The CSR
determines properties of the certificate like which (type of) key to use. If
you are not sure what to pick here, RSA is the safe default.
1: Elliptic Curve key
2: RSA key
What kind of private key should be used for the certificate?: 2
When we have the certificate, you can store in one or more ways to make it
accessible to your applications. The Windows Certificate Store is the default
location for IIS (unless you are managing a cluster of them).
1: IIS Central Certificate Store (.pfx per domain)
2: PEM encoded files (Apache, nginx, etc.)
3: Windows Certificate Store
4: No (additional) store steps
C: Abort
How would you like to store the certificate?: 2
Path to folder where .pem files are stored: C:\xampp\win-acme\certificates
1: IIS Central Certificate Store (.pfx per domain)
2: Windows Certificate Store
3: No (additional) store steps
C: Abort
Would you like to store it in another way too?: 3
With the certificate saved to the store(s) of your choice, you may choose one
or more steps to update your applications, e.g. to configure the new
thumbprint, or to update bindings.
1: Create or update https bindings in IIS
2: Create or update ftps bindings in IIS
3: Start external script or program
4: No (additional) installation steps
Which installation step should run first?: 4
Existing renewal:    [Manual] website.net - renewed 1 time, due
after 2020/5/19 2:31:44
Overwrite? (y*/n)  - yes
Overwriting previously created renewal
Cached authorization result: valid
Authorize identifier: csgo.website.net
Authorizing csgo.website.net using http-01 validation (SelfHosting)
Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80
Error preparing for challenge answer
Create certificate failed, retry? (y/n*)  - yes`
Just replaced my domain with "website" but you can see the problem.

Try using netstat to figure out which process is using port 80 and kill that before running win-acme.


InvalidOperationException in ParentChangedNotifier

Hi, after update to the newest version <IP_ADDRESS> I've got an error:
System.InvalidOperationException: Sequence contains more than one element
   v System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   v XAMLMarkupExtensions.Base.ParentChangedNotifier.ParentChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
   v System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

Although I fixed it, can you provide a test case where this happens? It was not covered by our tests.

Your fix indicates that we have multiple weak references for the same
target. Could you fix the root issue instead the symptom please?
Am 24.06.2015 15:34 schrieb "Uwe Mayer"<EMAIL_ADDRESS>
Although I fixed it, can you provide a test case where this happens? It
was not covered by our tests.
—
Reply to this email directly or view it on GitHub
https://github.com/MrCircuit/XAMLMarkupExtensions/issues/6#issuecomment-114869728
.

It would be nice if you provide pdb files in NuGet or symbolsource.org.
Wy use MahApps project and the problem is with it's WindowCommands, try this example:
    <Controls:MetroWindow
        x:Class="TestProject.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Controls="http://metro.mahapps.com/winfx/xaml/controls"
        xmlns:l="http://wpflocalizeextension.codeplex.com"
        xmlns:my="clr-namespace:TestProject"
        l:ResxLocalizationProvider.DefaultAssembly="TestProject"
        l:ResxLocalizationProvider.DefaultDictionary="Properties.Resources"
        Title="XAMLMarkupExtensions Issue#6"
        Width="400" Height="300">
    <Controls:MetroWindow.LeftWindowCommands>
        <Controls:WindowCommands ShowSeparators="False">
            <TextBlock Text="{l:Loc menuFile}" />
            <TextBlock Text="{l:Loc menuHelp}" />
        </Controls:WindowCommands>
    </Controls:MetroWindow.LeftWindowCommands>
</Controls:MetroWindow>

Also note that check in ParentChangedNotifier:
OnParentChangedList.Keys.FirstOrDefault(x => x.IsAlive && ReferenceEquals(x.Target, notifier));

Can be simplified to
    OnParentChangedList.Keys.FirstOrDefault(ReferenceEquals(x.Target, notifier));

Since x.Target == null when not alive.


2 modules one after the other and scrolling bars

Dear @Tom-Hirschberger
Dear Tom,
Trying to use your module, I stay stucked with two small problems, you may already know and could help me.
First, as you can see on the picture below, I have two modules in an area (top_left in this case).

In the config file, your module is in second position of this aera, after another module totaly independent.
But on the mirror, it does not show after (below) the first one (green situation), but «on» the first one (red situation).
Do you know this situation and do you see what could be done ?
The second situation is that I cannot make the scrolling bars of the embed page disappear. I tried many way studiing css documentation on the net  (overflow: hidden, noscrolling, etc...) , but I get stucked. Do you maybe know to make the scrolling bars disappear?

url source is : https://www.teletext.ch/SRF1/301
Many thanks in advance for your very appreciated help and have a good week-end!
Kind regards, Cédric

Hi,
I did not had that problems yet.
As I do not change any CSS with the module itself I would presume something is wrong in your CSS of the top left position.
Did you change anything for that area?
There is no way to change any content in the embedded element.
The only way to get rid of any scrollbars is to set the width and height of the Iframe big enough to fit the embedded page. You can set the width and height as attributes.

May be try to use the url to the image that is shown on the teletext page:
https://api.teletext.ch/online/pics/medium/SRF1_301-0.gif
It has a fixed size and should better suit your needs.

@MarcLandis and @Tom-Hirschberger , thank you very much for your help!
it works well with the img, no scrolling bars anymore.
regarding the position of the modules, I will check the css.
have a great week-end!


Is k3s on raspberry os supported (raspberry pi 4/8 GB)?

Type: Bug
I have an raspberry pi 4 (8 GB of ram) with raspberry pi os installed.
$ uname -a
Linux rpi4 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux

Using vscode on my windows computer i connected to the host rpi4 and installed bridge on kubernetes there. Now on rpi4, using vscode side bar's Kubernetes icon I can see k3s kubernetes cluster, its pods, services and so on.
As we know k3s installs its kubectl in /usr/local/bin/kubectl.
When I (ctrl+shift+P) execute "Bridge to kubernetes: Configure" I am asked to select the service, but nothing is offered to me. At the same time Kubernetes in vscode status line has triangle with exclamation inside of it.
Output of Bridge to kubernetes shows:
Bridge to Kubernetes initialization (VS Code v1.79.2 - Extension v2.0.120230525)
Logs: /home/pi/.vscode-server/data/logs/20230701T171852/exthost4/mindaro.mindaro/mindaro-vscode-2023-07-01T15-21-34.311Z.txt

In this file, last few lines look like this:
2023-07-01T15:22:38.543Z | Common Extension Root    | TRACE | Extension activated successfully <json>{"remoteName":"ssh-remote"}</json>
2023-07-01T15:22:38.545Z | Common Extension Root    | TRACE | Event: kubectl-client-command <json>{"args":"version --short --client -o json","remoteName":"ssh-remote"}</json>
2023-07-01T15:22:38.585Z | Common Extension Root    | ERROR | Error: cli-client-get-version-error <json>{"remoteName":"ssh-remote"}</json> <stack>Error: /home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 1: cannot open �: No such file\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 2: v: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 1: ^?ELF^B^A^A^C^C: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 4: ^Q�^P^R�: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 5: ^Q5^F^R^R
^S: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 3: v^P^A^FX^W^BX^BX^Bi\n�\n^P^B^F�^W^B�^B�^BP^BP^B^H^D^D�^B�^B�^BDD^D^G^DX^W^BX^BX^B^H^HP�td^D�^A�^A�^A�^N�^N^DQ�td^F^PR�td^DX^W^BX^BX^B^A/lib64/ld-linux-x86-64.so.2^D^T^CGNU: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 6: ^R: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 7: ^Q-^Q^R�^L^Q*^B^R�^F^R.^R: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 8: ^Q�\n^Q�\n^Qq^B^Rh^G^R^Q: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 8: ^Q^R4^G^R�^P^R^A^A^R�^Q^RT^D^R�^O^Ri^P^R-: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 10: ^B^C^C^F^C^B^B^F^B^B^B: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 11: y^K^K�^Q^A^A�^P: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 11: ^B^H^B^B^C^B^B^B^F^B^C^H^B^H^F^B^B^B^C^B^C^B^C^D^F^D^B^B^F^B^B^K^C^B^B^C^D^B^B^L^B^D^C^B^C^B^C^C^C^A^A�^O^P: not found\n/home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/dsc: 12: Syntax error: ")" unexpected\n\n  at ChildProcess.<anonymous> (/home/pi/.vscode-server/extensions/mindaro.mindaro-2.0.120230525/dist/extension.js:2:845153)\n     at ChildProcess.emit (node:events:513:28)\n     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)</stack>
2023-07-01T15:22:38.591Z | Common Extension Root    | ERROR | Error: kubectl-client-command-error <json>{"args":"version --short --client -o json","remoteName":"ssh-remote"}</json> <stack>Error: \n   at ChildProcess.<anonymous> (/home/pi/.vscode-server/extensions/mindaro.mindaro-2.0.120230525/dist/extension.js:2:845153)\n     at ChildProcess.emit (node:events:513:28)\n     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)</stack>
2023-07-01T15:22:38.596Z | Common Extension Root    | ERROR | Error: kubectl-client-get-version-error <json>{"remoteName":"ssh-remote"}</json> <stack>Error: \n at ChildProcess.<anonymous> (/home/pi/.vscode-server/extensions/mindaro.mindaro-2.0.120230525/dist/extension.js:2:845153)\n     at ChildProcess.emit (node:events:513:28)\n     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)</stack>
2023-07-01T15:32:51.167Z | Common Extension Root    | TRACE | Event: configure-command-triggered <json>{"remoteName":"ssh-remote"}</json>
2023-07-01T15:32:51.172Z | Connect (bridge/83e08639 | TRACE | Event: connect-wizard-start <json>{"wizardReason":"ConfigurationCommand","type":"service","remoteName":"ssh-remote"}</json>
2023-07-01T15:32:51.179Z | Common Extension Root    | WARNG | Event: binaries-utility-try-get-binaries-error <json>{"remoteName":"ssh-remote"}</json>
2023-07-01T15:32:51.180Z | Common Extension Root    | WARNG | Event: binaries-utility-try-get-binaries-error <json>{"remoteName":"ssh-remote"}</json>
2023-07-01T15:32:51.182Z | Connect (bridge/83e08639 | TRACE | Event: connect-wizard-stop <json>{"wizardReason":"ConfigurationCommand","type":"service","isWizardComplete":false,"isResourceNameSet":"false","isIsolateAsSet":"false","isTargetClusterSet":"false","isTargetNamespaceSet":"false","isCreatingNewLaunchConfiguration":false,"remoteName":"ssh-remote"}</json>

I also saw in output of File Downloader this:
File Downloader extension now active.
Starting download from https://bridgetokubernetes.blob.core.windows.net/zipv2/LKS/dotnetruntime-linux.zip
Starting download from https://bridgetokubernetes.blob.core.windows.net/zipv2/LKS/kubectl-linux.zip
Starting download from https://bridgetokubernetes.blob.core.windows.net/zipv2/1.0.20230525.1/lpk-linux.zip

Why Bridge to kubernetes is downloading kubectl if there is one already installed?
For example, if I go to the folder: /home/pi/.vscode-server/data/User/globalStorage/mindaro.mindaro/file-downloader-downloads/bridge/kubectl/linux and exexcute:
$ file kubectl
kubectl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped

why x86-64 architecture?
Does Bridge to kubernetes work in setup I have described?
Is there any workaround?
Extension version: 2.0.120230525
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Remote OS version: Linux arm64 5.15.84-v8+

Is this repo abandoned?

@zljubisic Thanks for your patience. It is not abandoned. I will look into the logs and get back here soon. Again Thanks.

@zljubisic you are using arm 64 /aarch 64 OS, currently bridge supports it but the extension and build systems are not updated yet to make it work. But you can still make it work following instructions in this issue meanwhile.  Thanks for your patience, we will let you know once it is supported.

@hsubramanianaks Thanks for the answer.

Please put it into documentation somewhere that "...extension and build systems are not updated yet to make it work", not to waste other people time.

Regarding: " click the triangle with exaclamation in vscode kubernetes status bar will show you the exact error", I can say that when I click it, absolutely nothing is happening.

Will B2K work with docker desktop on windows 10 laptop?

Do you maybe know what works out of the box for the setup I have described (gefyra, okteto...)?


Strange issue with glvertex3fv

Hi,
I wanted to play around with this but running into some strange issue, was wondering if this has to do with pyopengltk. Or i might just be a noob.
For example:
glBegin(GL_LINES)
glVertex2f(100,100)
glVertex2f(-100,100)
glVertex2f(-100,-100)
glVertex2f(200,200)
This works.
But this doesn't
for edge in edges:
for vertex in edge:
glVertex3fv(vertices[vertex])
glEnd()
Below is the full code i use. Any comments most appreciated. I might just be overlooking something.
#!/usr/bin/python3
#Allows TKInter menu with OpenGL running on the canvas.
#Installation requirements:
#sudo apt-get install python3-tk
#pip3 install pyopengl
#pip3 install pyopengltk
import time
import tkinter
from OpenGL.GL import *
from OpenGL.GLU import *
from pyopengltk import OpenGLFrame
vertices = (
(1,-1,-1),
(1,1,-1),
(-1,1,-1),
(-1,-1,-1),
(1,-1,1),
(1,1,1),
(-1,-1,1),
(-1,1,1)
)
edges = (
(0,1),
(0,3),
(0,4),
(2,1),
(2,3),
(2,7),
(6,3),
(6,4),
(6,7),
(5,1),
(5,4),
(5,7)
)
class AppOgl(OpenGLFrame):
def initgl(self):
glViewport(0,0,self.width,self.height)
glClearColor(0.0,1.0,0.0,0.0)
setup projection matrix
glMatrixMode(GL_PROJECTION)
glLoadIdentity()
glOrtho(0,self.width,self.height,0,-1,1)
setup identity model view matrix
glMatrixMode(GL_MODELVIEW)
glLoadIdentity()
self.start=time.time()
self.nframes=0
def redraw(self):
display=(800,600)
gluPerspective(45,(display[0]/display[1]),0.1,50.0)
glTranslatef(0.0,0.0,-5)
glRotatef(1,3,1,1)
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)
glLoadIdentity()
glBegin(GL_LINES)
#Below works
glColor3f(1.0,0.0,3.0)
glVertex2f(200,100)
glVertex2f(100,100)
glVertex2f(-100,100)
glVertex2f(-100,-100)
glVertex2f(200,200)
#But this doesn't
for edge in edges:
for vertex in edge:
glVertex3fv(vertices[vertex])
glEnd()
glFlush()
tm=time.time()-self.start
self.nframes+=1
print("fps",self.nframes/tm,end="\r")
if name == 'main':
root=tkinter.Tk()
app=AppOgl(root,width=320,height=200)
app.pack(fill=tkinter.BOTH,expand=tkinter.YES)
app.animate=1
app.after(100,app.printContext)
app.mainloop()

Also, interested in the performance on this. And how well does it work with menus on tkinter?

I guess it is an opengl geometry problem. I can see something by moving your points into the window like this:
    for edge in edges:
     for vertex in edge:
       vx, vy, vz = vertices[vertex]
       glVertex3fv( (25*vx+50, 25*vy+50, vz) )

This widget should work like any other Tkinter frame (for menus, geometry, etc).
Performance is subjective, but feel free to send a pull request if you can fix a slowdown that is coming from the code in this repository.

Thanks for your reply John. In any case it's an awesome addition to tkinter.
Well the code works fine when i use it in pygame, hence my confusion.
Yes i can see simple points to but i should see a rotating cube.
Works fine with this:
#!/usr/bin/python3
import pygame
from pygame.locals import *
from OpenGL.GL import *
from OpenGL.GLU import *
verticies = (
(1, -1, -1),
(1, 1, -1),
(-1, 1, -1),
(-1, -1, -1),
(1, -1, 1),
(1, 1, 1),
(-1, -1, 1),
(-1, 1, 1)
)
edges = (
(0,1),
(0,3),
(0,4),
(2,1),
(2,3),
(2,7),
(6,3),
(6,4),
(6,7),
(5,1),
(5,4),
(5,7)
)
def Cube():
glBegin(GL_LINES)
for edge in edges:
for vertex in edge:
glVertex3fv(verticies[vertex])
glEnd()
def main():
pygame.init()
display = (800,600)
pygame.display.set_mode(display, DOUBLEBUF|OPENGL)
gluPerspective(45, (display[0]/display[1]), 0.1, 50.0)

glTranslatef(0.0,0.0, -5)

while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            pygame.quit()
            quit()

    glRotatef(1, 3, 1, 1)
    glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)
    Cube()
    pygame.display.flip()
    pygame.time.wait(10)

main()

If I get some time I will see if I can translate it and add it as another example here. Perhaps the defaults  for viewport and geometry are different. What is the glLoadIdentity line doing after the rotate in your tk version ?

That would be great. I just noticed if i add a glMatrixMode(GL_PROJECTION) after my glClear in the tkcode example, the 3d cube shows up (but still not rotating).
i.e.
def redraw(self):
display=(800,600)
gluPerspective(45,(display[0]/display[1]),0.1,50.0)
glTranslatef(0.0,0.0,-5)
glRotatef(1,3,1,1)
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT)
glMatrixMode(GL_PROJECTION)
glLoadIdentity()

Can you let me know if this works for you please? If it looks OK can we add it as an example?
#!/usr/bin/python3

import tkinter
from pyopengltk import OpenGLFrame
from OpenGL import GL
from OpenGL import GLU

verticies = (    (1, -1, -1),    (1, 1, -1),    (-1, 1, -1),    (-1, -1, -1),
                 (1, -1, 1),    (1, 1, 1),    (-1, -1, 1),    (-1, 1, 1)    )

edges = (    (0,1),    (0,3),    (0,4),    (2,1),    (2,3),    (2,7),
    (6,3),    (6,4),    (6,7),    (5,1),    (5,4),    (5,7)    )

def Cube():
    GL.glBegin(GL.GL_LINES)
    for edge in edges:
        for vertex in edge:
            GL.glVertex3fv(verticies[vertex])
    GL.glEnd()

class CubeSpinner( OpenGLFrame ):
    def initgl(self):
        GLU.gluPerspective(45, (self.width/self.height), 0.1, 50.0)
        GL.glTranslatef(0.0,0.0, -5)
    def redraw(self):
        GL.glRotatef(1, 3, 1, 1)
        GL.glClear(GL.GL_COLOR_BUFFER_BIT|GL.GL_DEPTH_BUFFER_BIT)
        Cube()

def main():
    frm = CubeSpinner( height = 600, width = 800 )
    frm.animate = 10
    frm.pack()
    return frm.mainloop()

if __name__=="__main__":
    main()

Yesterday i ran both demo.py , ran fine, and this one today, also works.
Now i'm trying to wrap my head around what the difference is.
Thanks Jon.

This is added in the examples folder now with a fix on resize (forgot to load identity)


Add support for exclude and include

When you want to define exclusions/inclusions globally, an input parameter would be nice.

Fixed in #15


[Feature]: Option to exclude default fonts (Sofia Pro)

Is your request related to a problem?
SofiaPro font included in bundle, increases the size by ~200kb.
Feature Description
An option to not include it would be perfect, currently even if you don't use the font by setting the --onboard-font-family-* the font still gets included.
It would be awesome if we had an option to not include it on init and if there is no --onboard-font-family-* just set it to inherit.
Alternative Solutions
No response
Anything else?
No response

Hey @mendimr! This is a great idea and we've added it to our backlog 👍🏾

@mendimr we have pulled this into our current sprint and will update as progress is made.

@mendimr this is available with our latest packages released today! Thanks again for the suggestion!


Fix some py3 errors

I have pyethereum as a dependency. Does this fix all py3 related errors? Just asking so I can estimate when it will be supported and I can use it for my projects.

@void4
This PR would not fix all py3 errors. I'm using only a small part of pyethereum code in my project, specifically ethereum.transactions module.


Rename UUIDv8Builder to UUIDBuilder

Since we are only using v8 UUIDs in uProtocol, there is no more
reason to add the version to the name of the builder.

@stevenhartley can you merge this?


Confusion about what constitutes "reverse"

Good work on implementing a CoC, while I've been lucky enough never seen any of theses issues in this community, making what is acceptable and unacceptable explicitly clear to the community is very important. Thanks! :+1:
However, I'm not clear on the whole "reverse" things and googling "reversisms", "reverse-racism", etc seems to indicate it's a contentious issue.
I'm not sure how to tell the difference between sexism and "reverse-" sexism. However the mention of "cisphobia" is clear in indicating which "side" is protected.
However reverse-racism and reverse-sexism are not defined. Since this is a worldwide group it would seem that this could vary based on locale which would only make it more confusing.
As a programmer unversed and uninterested in social activism it would be a lot better to make this explicit so I can respect and abide by it without having to study and research the issues it's trying to correct.
Can we get a definition of what groups are protected and which ones are not?
(Eggshells: As mentioned above, I do not mean to offend or instigate, if I have phrased something poorly please accept my apology as that is not my intention, explain the problem to me and I will attempt to reword)

This is already being discussed elsewhere!
MrStonedOne/opencodeofconduct#1
todogroup/opencodeofconduct#68

Maybe it's purposefully ambiguous, so if some time in the future the tables flip and say, women are generally considered the "privileged" group and men become "marginalized", misogyny is then OK.

+1
This problem occurred to me while reading some discussions elsewhere: Some people seem to be interpreting "reverse racism" to mean "affirmative action programs", while other people are interpreting "reverse racism" to mean "any discrimination against members of historically privileged races".  I think clarifying the intended meaning would make it much easier to have constructive discussions about those clauses.

@atarzwell thanks for constructively engaging the conversation. We are working on clarifying the reverse-isms.
In the mean time, here are some links I've found helpful:

Why there's no such thing as "Reverse Racism"
or in video form: Comedian Aamer Rahman on Why 'Reverse Racism' Doesn't Work

@cperciva Aren't those two the same thing though?
E.g. if you purposefully favor hiring people from certain minority groups, you are at the same time discriminating against members of the majority. Two sides of the same coin.

doesn't this

whole population operating in a social structure that actually makes it difficult for a person not to discriminate

Literally describe the structure we've created by completely excluding certain people from protections? As a gay dude, I would never wish for the right to hate on straight guys, and see no reason to protect that.

@mvirkkunen Affirmative action is a form of discrimination, yes.  But my point is that it isn't the only form of discrimination; and many people consider affirmative action to be justifiable in a way that many other forms of discrimination aren't.  What I'm asking to have clarified is how broad the term is intended to be.

@bkeepers
First link: [WALL OF TEXT]
Second link: An entertaining 2:50 clip of a comedian that succinctly summarizes the issue.
This is a good combo. If it wasn't for the fact that I've never met you I'd say you know me well. :smiley:
That said, while I usually learn just enough to not be a jerk I read through the first link entirely. They make a pretty good point, while I agree with much of it, it's not really relevant to a software development community.

Prejudice is an irrational feeling of dislike for a person or group of persons, usually based on stereotype.  Virtually everyone feels some sort of prejudice, whether it's for an ethnic group, or for a religious group, or for a type of person like blondes or fat people or tall people.  The important thing is they just don't like them -- in short, prejudice is a feeling, a belief.  You can be prejudiced, but still be a fair person if you're careful not to act on your irrational dislike.

Discrimination takes place the moment a person acts on prejudice.  This describes those moments when one individual decides not to give another individual a job because of, say, their race or their religious orientation.  Or even because of their looks (there's a lot of hiring discrimination against "unattractive" women, for example).  You can discriminate, individually, against any person or group, if you're in a position of power over the person you want to discriminate against.  White people can discriminate against black people, and black people can discriminate against white people if, for example, one is the interviewer and the other is the person being interviewed.

Racism, however, describes patterns of discrimination that are institutionalized as "normal" throughout an entire culture. It's based on an ideological belief that one "race" is somehow better than another "race".  It's not one person discriminating at this point, but a whole population operating in a social structure that actually makes it difficult for a person not to discriminate.

Seems like "Racism" is the wrong word here. From this definition I'm not certain how you could possibly ban it, regardless of how much all of us wish it were gone it's a result, not something you can do. It's a cultural outcome from condoning discrimination. Without telepathy you can't ban prejudice. What we're talking about here is discrimination.
By these definitions I can't see how the word racism could possibly fit into a Code of Conduct. Save for maybe a justification of a rule "We will remove you from our community if you are found to be discriminating based on race in order to keep the negative effects of racism out of our community." or "Break the cycle of racism".
So I see what the idea is here, there cannot be "reverse" racism, since "racism" (by the definition above) only works one way in a culture. I get that, and in that context I agree.
As the article says, racism != discrimination, so it's not that "cis" people are exempt from discrimination. You just can't be "cisist". Which again, I agree.
If a "non-white" neighbour puts up a sign that says "White trespassers will be shot, everyone else gets candy". It is not proof that I am in a "Racist against white people" community. It is, however, is fair to say he's discriminating against white people. (A cringey and contrived example, I'm sorry)
Which I guess was my original concern, on Github is it permissible to discriminate against a overrepresented gender, race, cis, ... based on their gender, race ... ?
I would hope that is not allowed, and based on the information from this article I'm guessing that it is not allowed.
Which then begs the question, why does this even mention "reversisms" at all. Perhaps you could provide an example of what activity or behaviour could induce that clause?
As an aside, which I'm not certain I should include, but feel it's important. The first link you referenced is hosted on a extremist left-wing american-specific blog. While in this case it's content was relevant the place it's hosted is far from fair and unbiased, but I generally take that as a sign of a narrow or biased view, which is not a good thing to have when setting guidelines for a worldwide, diverse community like GitHub (and other large projects as I understand).
As a centrist canadian my environment is very different from yours, congrats on legalizing gay marriage :smiley: it's been the norm here for more than half my life.
As you can see from the shitstorm of comments and other issues surrounding this, while it may sound fair and necessary, if it's too vague it can be misinterpreted.
@everyone-else-in-this-thread Before you post, please stop, read it and answer the following "Is this specific and relevant to the github issue I'm commenting on?". If not, either correct it until it is or go back to youtube.

@bkeepers Also, Where is the work to resolve this happening? I can't seem to find it.
(Forgive my failure to google, but the signal to noise in the repo is pretty low at the moment.)

Thanks for your feedback. See https://github.com/todogroup/opencodeofconduct/issues/84.


[BUG] Paloma LIghtNode Instructions forces login after the second NEXT.

https://www.palomachain.com/purchase/instructions/
WRONG: vps > next > next > login.
Login is coming before the final page. Something happened to the flow.

Closing as won't fix.


[ionic 4-beta.17]  &&  buggy CSS for Android

Bug Report
Ionic Info
Ionic:

   ionic (Ionic CLI)             : 4.5.0 (/Users/os/.npm-packages/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.0-beta.17
   @angular-devkit/build-angular : 0.10.6
   @angular-devkit/schematics    : 7.0.6
   @angular/cli                  : 7.0.6
   @ionic/angular-toolkit        : 1.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : android 7.1.4, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.5, (and 18 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/os/Library/Android/sdk)
   ios-deploy        : 1.9.4
   NodeJS            : v10.13.0<EMAIL_ADDRESS>   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61```

Describe the Bug
Empty badge rendering in a <ion-tab-button> is wrong for Android.
It does work as iOS.
It also works outside <ion-tabs> for Android, just not when part of a .
Steps to Reproduce
Steps to reproduce the behavior:

Add empty <ion-badge></ion-badge>element to <ion-tab-button>
Review rendered tab page / tab bar

Related Code

Here is the <styles> part of <ion-tab-button> responsible for the above.
::slotted(ion-badge:empty) {
    display: block;
    min-width: 8px;
    height: 8px
}

Recommendation: just remove the entire block above, I can't think of any reason that justifies this code block.
Expected Behavior
An empty badge should not display anywhere in the app.
It does it right in all the other places, except here.
Additional Context
I hope this is not a "feature", as I can't think of any reason why I would show an empty badge a small "bubble". If that was the case, one would have to add *ngIf for each <ion-badge which is bad  imho.

What version of android is this?

This is not a bug. This is on purpose to match the Material Design spec: https://material.io/design/components/bottom-navigation.html#badges

We try to match the spec as much as possible. If you want different behavior please modify the badge using CSS. Thanks!


metadata not preserving

@aminyazdanpanah the meta data not preserving in the output as same as input. Is there any option to put -map_metadata 0 to copy global meta data details to any output.

See the link below
https://superuser.com/questions/996223/using-ffmpeg-to-copy-metadata-from-one-file-to-another
hls = video.hls(Formats.h264(), map_metadata=0, ...AND_OTHER_PARAMETER)


odo push on .net component tag 2.1+ does not work

/kind bug

What versions of software are you using?

Step 1:
$ odo component create dotnet:2.2 --project dotnet --context ../tests/examples/source/dotnet/

$ odo push
Validation
 ✓ Checking component [68ms]
Configuration changes
 ✓ Initializing component
 ✓ Creating component [270ms]
Applying URL changes
 ✓ URL demo-8080: http://demo-8080-app-odo-dotnet.apps.openshift.codeready.cloud created
Pushing to component demo of type local
 ✓ Checking files for pushing [4ms]
 ✓ Waiting for component to start [2m]
 ✓ Syncing files to the component [5s]
 ◐ Building component ✗ Unable to build files
+ set -eo pipefail
+ export ODO_UTILS_DIR=/opt/odo
+ ODO_UTILS_DIR=/opt/odo
+ export ODO_IMAGE_MAPPINGS_FILE=/opt/odo/language-scripts/image-mappings.json
+ ODO_IMAGE_MAPPINGS_FILE=/opt/odo/language-scripts/image-mappings.json
++ /opt/odo/bin/getlanguage
+ IMAGE_LANG=
+ '[' '!' -z /opt/app-root/src ']'
+ '[' /tmp '!=' /opt/app-root/src ']'
+ '[' -n /opt/app-root/src-backup ']'
+ '[' '!' -d /opt/app-root/src-backup ']'
+ mkdir -p /opt/app-root/src-backup/src
+ rsync -rlO /tmp/src/. /opt/app-root/src-backup/src/
+ b_IFS='
'
+ b_OFS=
+ OIFS='
'
+ IFS='
'
++ ls -A /tmp/src/
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/.dummy
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/.editorconfig
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/.gitattributes
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/.gitignore
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/.mailmap
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/.odo
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/Contributing.adoc
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/LICENSE
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/README.adoc
+ for file in '`ls -A ${ODO_S2I_SRC_BIN_PATH}/src/`'
+ rm -fr /opt/app-root/src/app
+ OIFS=
+ IFS='
'
+ '[' -n dotnet/dotnet-30-rhel7 ']'
+ '[' dotnet/dotnet-30-rhel7 == redhat-openjdk-18/openjdk18-openshift ']'
+ '[' -f /tmp/src/.s2i/bin/assemble ']'
+ '[' -n '' ']'
+ '[' -n /usr/libexec/s2i ']'
+ rm -rf /opt/app-root/src/.git
+ /usr/libexec/s2i/assemble
---> Installing application source...
error: DOTNET_STARTUP_PROJECT has no project file
You can specify the startup project by adding an '.s2i/environment' file to the source repository.
The source repository contains the following projects:
- app/app.csproj
Update the '.s2i/environment' file to specify the project you want to publish, for example DOTNET_STARTUP_PROJECT=app/app.csproj.
 ✗ Building component [374ms]
 ✗ command terminated with exit code 1

Actual behavior
Fails to push, however it passes on dotnet:2.0 in our e2e test spec - https://github.com/openshift/odo/blob/master/tests/e2escenarios/e2e_source_test.go#L126-L130
Expected behavior
Should pass
Any logs, error output, etc?

/area s2i

I remember a discussion where setting DOTNET_STARTUP_PROJECT for dotnet made it work.
So maybe we can add that as a documentation because I wouldn't suggest having image specific env variables in odo @amitkrout

@girishramnani .NET is not an officially supported component, right?
We can have it as a KI with a workaround, for example, but I wonder if we should document non-supported components at all. Let me know what you think.

I was also under the same confusion and I think KI with a workaround would work for now.

@girishramnani great. I'll add it to the KIs for the 4.4 release.
Thanks for bringing this to my attention.

@boczkowska can we link that docs PR here?

@girishramnani docs PR: https://github.com/openshift/openshift-docs/pull/20957

the docs PR got merged hence AC of this issue was met. Closing


Could not create child process (preventing format on save)

👋 Hi! I'm encountering this error on save in Godot 4.2 with your plugin enabled (which prevents any formatting from taking place, unfortunately):
Could not create child process: gdformat C:/Users/jonathan/projects/golf_cards_godot/global.gd

(happens for any file on save within the godot engine)
I highly suspect there's just some dumb mistake or misunderstanding I made on my end...
Could also be some setting I'm missing within the engine 🤔
Not sure; really hoping you can help me figure this out since I love auto-formatting code on save ❤
Additional Info & Record of Troubleshooting Attempted

Godot Version: 4.2
GDFormat Version: 4.2.0

confirmed I can run gdformat in GitBash (screenshot probably looks weird since I have gitbash running zshell)
and confirmed that gdformat runs in CMD (in case godot is running in cmd-land)

Operating System: Windows 11 Home
Running in: Standard User Mode

have also tried by running Godot specifically in Admin mode, but receive the same error message

have not tried logging in and running the entire OS as admin (not sure that would make a difference)

I do have the python scripts folder added to USER environment variables (not system)

have not tried adding this to system env vars yet

External Editor: I do not use an external editor and do not have external editors configured within Godot's Editor Settings

Screenshots

I checked the GDToolkit page again and noticed there's a newer version than what I was using, so I updated to that and am now on the GDScript Toolkit 4.2.2

Unfortunately, I still get the same error on save:
Could not create child process: gdformat C:/Users/jonathan/projects/golf_cards_godot/global.gd

But I wanted to also add that I'm using version 1.2.0 of your plugin (in case that helps)

HA! I also found that I had not updated to Godot 4.2.1!
Once I did this, the problem resolved and your plugin worked as expected 🎉
Sorry for pestering you with this; real glad it works now 😁


Put "set -e" in the beginning of autoconfig install file and fix the potential problems

https://github.com/runeasymail/easymail/commit/b79d44851f78e08999ff52d5b9d0527c2bebb766


squid:S1854 - Dead stores should be removed

This pull request is focused on resolving occurrences of Sonar rule
squid:S1854 - Dead stores should be removed.
This pull request removes 30 minutes of technical debt.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1854
Please let me know if you have any questions.
George Kankava

Nice shot for the DMI, but your bot provides a dummy solution. (and it's irrelevant for the Quickstart example)


Fixes to solve pthread build errors.

Some edits to prevent build errors in the rmf_ros2 package.

Please check if this other fix in rmf_traffic works for you: https://github.com/open-rmf/rmf_traffic/pull/74

What platform (OS + compiler) are you building on?

@codebot Using Ubuntu 20.04, colcon build. Building was fine on other similar devices but was not working for our desktop in particular.


Add describe-guard primitive

Also moves describe-keyset to the "Keysets" section, which seems more intuitive.

@sirlensalot This feature never landed. Do we still want this?


Handling of terminal buffernames

Hi,
My most loved feature of airline is the bufferline. But I'm not very happy about the way that terminal windows integrate with it (at least neovims terminal. Don't know if there is a difference).
Desired outcome:
The name for a terminal buffer is something like term://.//24148:/bin/zsh. This is collapsed in the bufferline to something like t//.//2/b/zsh 
I'd think something like term: zsh would be easier for my brain to parse.
Things to consider:
The reason for the number in the buffer name is, that might be more than one terminal buffer. I don't know if this is a concern in the bufferline
Bonus goal:
There is a terminal glyph in vim-devicons (). It would be nice, if this could be shown for terminal buffers,
Related:

you can rename the terminal buffer with keepalt file term:/zsh. Maybe this in an autocmd is a solution.
g:airline_filetype_overrides allows something similar for filetype names
g:airline_mode_map allows something similar for mode names

Cheers!

What do you mean with bufferline? How to reproduce?

Am 20.02.2020 um 17:15 schrieb Jonathan Klimt<EMAIL_ADDRESS>
Hi,
My most loved feature of airline is the bufferline. But I'm not very happy about the way that terminal windows integrate with it (at least neovims terminal. Don't know if there is a difference).
Desired outcome:
The name for a terminal buffer is something like term://.//24148:/bin/zsh. This is collapsed in the bufferline to something like t//.//2/b/zsh 
I'd think something like term: zsh would be easier for my brain to parse.
Things to consider:
The reason for the number in the buffer name is, that might be more than one terminal buffer. I don't know if this is a concern in the bufferline
Bonus goal:
There is a terminal glyph in vim-devicons (). It would be nice, if this could be shown for terminal buffers,
Related:
you can rename the terminal buffer with keepalt file term:/zsh. Maybe this in an autocmd is a solution.
g:airline_filetype_overrides allows something similar for filetype names
g:airline_mode_map allows something similar for mode names
Cheers!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry, bufferline was probably the wrong name.
It is called tabline in airline but I'm not talking about it showing tabs but only about the buffer part.
Screenshot:

How to reproduce:
let g:airline#extensions#tabline#enabled = 1
" Don't hide term:// buffers:
let g:airline#extensions#tabline#ignore_bufadd_pat='!|defx|gundo|nerd_tree|startify|tagbar|undotree|vimfiler'
let g:airline_powerline_fonts = 1

Open neovim (I don't know about vim and do not have a vim with airline installed at hand)
Open a terminal buffer with :terminal


Include pyrun in Resources folder for the Xcode project.

Branch: Develop
Expected Behavior: Pyrun will be included in Resources folder for the Xcode app.
Current Behavior: When we clone it from Installers repository, then open the app in Xcode it require a pyrun in order to build it from Xcode.
Steps to reproduce:

Clone from Installers repository
Double click KA-Lite.xcodeproj from /installers/osx/ka-lite. to open it from Xcode.
Try to build the app in Xcode. There's an error like in the screenshot below.

Screenshot(s):

Fixed in #257.


editor.actions.findWithArgs 'findInSelection' false doesn't work on an already opened Find Widget

Does this issue occur when all extensions are disabled?: Yes
Start with these keybindings:
{
  "key": "ctrl+f",                        // any keybinding
  "command": "editor.actions.findWithArgs",
  "args": {
    "findInSelection": false,    // only works if Find Widget is not visible
    "isRegex": false,               // works whether the Find Widget is visible initially or not
    "searchString": "not in selection"       // just so it is obvious
  }
},

{
  "key": "ctrl+h",
  "command": "editor.actions.findWithArgs",
  "args": {
    "findInSelection": true,  // always works (if there is a selection)
    "isRegex": true              // always works
    "searchString": "in selection"
  }
}

Now if the Find Widget is not showing, either of these commands will correctly set the findInSelection and the isRegex options.
But if the Find Widget is already showing, the findInSelection false will not work.  findInSelection true does work.
And even if the Find Widget is already showing, isRegex true or false works as expected.
So, if the Find Widget is already showing, findInSelection true works as expected, findInSelection false does not.

Version: 1.64.0-insider (user setup)
Commit: 3dda6ea7acb66ea8693032fe9631ccac629da770
Date: 2022-01-27T05:15:00.564Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

To get the expected behavior of "ctrl+h" (the replace field should be visible, one has to add     "replaceString": "", to the args of the second shortcut.


Google cert without private key

I try to setup Google SSO with pac4j-saml and get an error:
org.pac4j.core.exception.TechnicalException: privateKeyPassword cannot be blank
When i import Google's PEM file in my keystore i only get the prompt to fill in keystore password, not private key password. So i assume that there is only the public key in the file.
In the SAML2ClientConfiguration i can see that you check for blank values in the internalInit:
CommonHelper.assertNotBlank("privateKeyPassword", this.privateKeyPassword);
Do i do something wrong?

Please use the mailing list: https://groups.google.com/forum/#!forum/pac4j-users


Element content formatting issue

Input

    {{ 'foo' }}:

Output

    {{ 'foo' }}
    :

I would expect the input to remain unchanged or be formatted similar to how the following without {{ }} would:
Input

    foo:

Output
foo:

Due to the implementation - I'm unlikely to change this at the moment (otherwise it breaks a lot of other things)

The problem is, its does actually affect the output visually. The browser will parse the colon separately to the text, which creates a gap between them

Will figure something out 🙂 Its an edge case that breaks for the most part (an annoying one, but I think I can get it sorted)

I've updated the inline echo analyzer, and it will now inline them as text when they are surrounded by content. This will let them be treated as text by prettier, but reversed back into the correct Blade echo once transformation is complete.
With the default settings I use for testing, the following input:

    {{ 'foo' }}:

becomes:
{{ "foo" }}:

and the echo and its adjacent content are no longer separated.
However, if the echo does not neighbor any meaningful content in either direction (with respect to any child documents), the transformer will force them to be blocks internally to allow for the following:

@if ('foo')
        {{ $actions }}
        @elseif ('bar')
        @endif

to become:
@if ("foo")
    {{ $actions }}
@elseif ("bar")
@endif

Thank you for your responsivity John!


Add Accucode 3D and Markforged to "Venue Sponsors" section

Accucode 3D and Markforged will be recognized when the Gemba platform launches. Closing.


kueue prevents non-kueue jobs from running

What happened:
When I create a job without the localqueue annotation in the default namespace, the job gets suspended and never runs/completes (stays in pending).
What you expected to happen:
When I create a job without the localqueue annotation in the default namespace, the job runs immediately.
How to reproduce it (as minimally and precisely as possible):
files uploaded (github won't let me upload yamls, so i appended .txt to them -- change them back with for f in *.*.txt; do mv ${f} ${f%.*}; done):

bug.yaml.txt: two jobs -- one that succeeds and one that does not
gets-admitted.txt: output of kubectl -n bug describe jobs gets-admitted (job from bug.yaml)
gets-suspended.txt: output of kubectl describe jobs gets-suspended (job from bug.yaml)
queue.yaml.txt: flavor, clusterqueue, and localqueue
repro.sh.txt: steps to reproduce (create cluster, install kueue, create flavor/clusterqueues/localqueue, and submit/check jobs)

output summary (gets-*.txt): gets-admitted is a job that has the localqueue annotation and gets admitted while gets-suspended is a job that omits the bug namespace and localqueue annotation and never leaves pending.
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):

Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.3-gke.100

Kueue version (use git describe --tags --dirty --always): v0.5.1
Cloud provider or hardware configuration:

GKE on GCP
default node pool (3 e2-medium)
custom node pool (3 n2-standard-4)

OS (e.g: cat /etc/os-release):

my machine: Debian GNU/Linux rodete
worker nodes: gke-1273-gke100-cos-105-17412-101-24-c-pre

Kernel (e.g. uname -a):

my machine: 6.5.6-1rodete4-amd64
worker nodes: 5.15.109+

Install tools:
Others:

@stevenBorisko Can you share the kueue-manager-config ConfigMap resource deployed under the kueue-system namespace?
That behavior would be expected if manageJobsWithoutQueueName is true.

@tenzen-y it is identical to this one. I see the manageJobsWithoutQueueName: true line is commented -- I would assume that means true is the default value? If so, then nevermind -- like you said this is working as intended.

@tenzen-y it is identical to this one. I see the manageJobsWithoutQueueName: true line is commented -- I would assume that means true is the default value? If so, then nevermind -- like you said this is working as intended.

The manageJobsWithoutQueueName is false by default:
https://kueue.sigs.k8s.io/docs/reference/kueue-config.v1beta1/#Configuration
So, could you check if a workload resource was created against the job resource?

@tenzen-y it is identical to this one. I see the manageJobsWithoutQueueName: true line is commented -- I would assume that means true is the default value? If so, then nevermind -- like you said this is working as intended.

The manageJobsWithoutQueueName is false by default:
https://kueue.sigs.k8s.io/docs/reference/kueue-config.v1beta1/#Configuration
So, could you check if a workload resource was created against the job resource?

When I responded to the "share the kueue-manager-config configmap" question, I was experimenting around with some different ones I found online and I think I had forgot to delete/recreate the controller manager pod. I just destroyed my cluster and recreated/retried and now manageJobsWithoutQueueName is false and the gets-suspended job that wasn't working before now gets completed.
Sorry for the confusion, and thank you for helping out!

@tenzen-y it is identical to this one. I see the manageJobsWithoutQueueName: true line is commented -- I would assume that means true is the default value? If so, then nevermind -- like you said this is working as intended.

The manageJobsWithoutQueueName is false by default:
https://kueue.sigs.k8s.io/docs/reference/kueue-config.v1beta1/#Configuration
So, could you check if a workload resource was created against the job resource?

When I responded to the "share the kueue-manager-config configmap" question, I was experimenting around with some different ones I found online and I think I had forgot to delete/recreate the controller manager pod. I just destroyed my cluster and recreated/retried and now manageJobsWithoutQueueName is false and the gets-suspended job that wasn't working before now gets completed.
Sorry for the confusion, and thank you for helping out!

No problem :)
If you face any other problems, feel free to open new issues :)


Integration setup aborts with “invalid handler specified”

Version of the custom_component
0.0.23
-->
Configuration
Add your logs here.

Describe the bug
myenergi integration failed to connect for 2 days now. When reloading and disabling did not help, I tried to reinstall. I re-downloaded myenergi from HACS, then restarted HA. When attempting to configure myenergi as an Integration, I get the above message and the configuration is aborted.
Debug log

Add your logs here.

Your using the Hub Serial Number and API key?

Yes, I was. Until the integration stopped working. Now it doesn’t get as far as showing the “Configuration” tab anymore. “ Config flow could not be loaded: {"message":"Invalid handler specified"}”.
I’ve tried removing the HACS add on, downloading again, restart HA, but the problem remains the same. I’ve checked the folders under custom_components/myenergi are removed once I’ve uninstalled the HACS add on.
Log entry is:
Logger: homeassistant.config_entries
Source: config_entries.py:874
First occurred: 21:55:56 (2 occurrences)
Last logged: 21:57:24
Error occurred loading flow for integration myenergi: cannot import name 'MyenergiClient' from 'pymyenergi.client' (/usr/local/lib/python3.11/site-packages/pymyenergi/client.py)

Based on the above file path I had a look after another reinstall and I noticed that the folder “pymyenergi” under site-packages is missing. This might explain the error.

This is now resolved. I had to completely uninstall HACS, reinstall HACS and then reinstall the Myenergi integration in HA.

Then you can close it now.

.


Change pytest.raises to unittest's assertRaises

I noticed a couple of the tests use pytest. I like pytest but since we're using unittest for 99% of the tests, I think it makes sense to replace these pytest methods with equivalent unittest logic.
What do you think?
Cheers
Alex

Thank you. The test suite is not the prettiest part of TM1py. I really appreciate your contributions here!
I agree it makes sense to align them.


Replace compose-destinations with androidx-navigation

Login doesn't work since we don't support deeplinks :(