Add Bridge Academy

Email domain can be seen in use behind the email button in the upper right hand corner of the home page:
https://bridgeacademy.org/.  Bridge Academy is a 6-12 (Middle School and High School) charter school.

@kathekon First stage of verification passed, official domain is bridgeacademy.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


Marked TIMETZ as new in 20.1

Fixes #7116.

Added "New in v20.1" element to Data Types page for TIMETZ.
Added "New in v20.1" element to TIME page for TIMETZ.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f057b5142cc9097d24214f3f364d9a71e1ea98e2/
Edited pages:

v20.1/data-types.md
v20.1/time.md


support setting role and subrole in rules

This seems potentially very useful for rules, why was this closed @yangtau ? I'd love to see this kind of support.

It is indeed useful for me, but I don't think it is useful for all users. Rules for role and subrole may not be frequently used. If you want this feature, you can refer to my branch which keeps in sync with the upstream.

@koekeishiya, I would like to see what you think. Do you think we really need this feature?


Use new StatisticsService to send stats to collector

needs rebasing

Rebased

@henri-tremblay : needs to be rebased ;-)

test this please
infrastructure issue (git checkout problem)


fixing order of claim_id and claim_val for updates

Ordering of claim_id and claim_val was mixed up in wallet.py,transaction.py, and commands.py for update claim outputs. wallet.py used ordering of (claim_name,claim_id,claim_val) while the rest used (claim_name,claim_val,claim_id)
I chose to use the ordering of (claim_name,claim_id,claim_val) since that is the actual order in which they appear in an update transaction.

This looks reasonable to me.


Oculus 68 map ad slot path to element

Type of change

[x] Bugfix
[ ] Feature
[ ] New bidder adapter
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Does this change affect user-facing APIs or examples documented on http://prebid.org?
[ ] Other

Description of change
Send viewability as non measurable when unable to locate target HTMLElement and print out a warning message.

Nope. The way we're building requests has not changed.
On Wed, Nov 14, 2018 at 4:44 PM Aparna Rao-Hegde<EMAIL_ADDRESS>wrote:

@curlyblueeagle commented on this pull request.
Code changes look good to me. Are there any corresponding unit tests that
need to be updated/added related to this change?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/33Across/Prebid.js/pull/18#pullrequestreview-175093018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHFckpmujoBLVAaOnbRA9ojZ2DTmZs8fks5uvI6pgaJpZM4YeUTU
.


Make storage-change-detection.html cacheable

This is one of the most-requested URLs on the site, because it is embedded in a lot of different pages and is not cacheable.

Draft because we need to figure out how to make this work with CSP. Possibly a hash of the contents instead of a nonce.

Actually, @Nemo157 pointed out that since storage-change-detection is what serves the CSP policy that we care about here, and is also what contains the nonce'd script, we're fine. Also I verified locally that CSP does not block the load.


Add support for Vault's renew_token config

Hi, as this PR hasn't seen any activity in a number of months, I'm closing it. Please do feel free to fix the bug mentioned above and re-open.


fixes bug 1272695 - event permalink by event ID

Coverage increased (+0.008%) to 84.825% when pulling 32335263e868cd4624ac0ea9475eab0f1be040ea on peterbe:bug-1272695-event-permalink-by-event-id into 6b64fb6a3361d71561d7d9a19a5689c39bfde5bc on mozilla:master.

Coverage increased (+0.008%) to 84.825% when pulling 32335263e868cd4624ac0ea9475eab0f1be040ea on peterbe:bug-1272695-event-permalink-by-event-id into 6b64fb6a3361d71561d7d9a19a5689c39bfde5bc on mozilla:master.


.NET 8 ASP Versioning is allowing any version number to be passed in to api request and returns data.

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
I only want routing for v1.  any other integer version should 404.
Currently I can pass through any integer and get back data as if it was calling v1.
ex) GET https://somedomain/app/api/v25/resouce/641B3CAA-1229-4AC2-BA9A-73534B7E9D4C
returns the same as https://somedomain/app/api/v1/resouce/641B3CAA-1229-4AC2-BA9A-73534B7E9D4C
Expected Behavior
only v1 should hit my v1 controller. v25, v2, v8, etc should all 404.
Steps To Reproduce
using fairly boiler plate setup
in startup:
private void ConfigureApiVersioning(IServiceCollection services)
{
services
.AddApiVersioning(options =>
{
options.ReportApiVersions = true;
})
.AddApiExplorer(options =>
{
options.DefaultApiVersion = new ApiVersion(1, 0);
const string groupNameFormat = "'v'VVV";
options.GroupNameFormat = groupNameFormat;
options.SubstituteApiVersionInUrl = true;
});
}
In my controller:
[ApiVersion("1.0")]
[Route("v{api-version:apiVersion}/someResource")]
[Produces("application/json")]
[Consumes("application/json")]
public class SomeController
Exceptions (if any)
No response
.NET Version
8.0.300
Anything else?
No response

It appears you are migrating from an earlier version and you've missing to adding .AddMvc(). This is required if you use controllers; otherwise, only Minimal APIs are enabled.
private void ConfigureApiVersioning(IServiceCollection services)
{
    services
        .AddApiVersioning(options => options.ReportApiVersions = true)
        .AddMvc() // required in 6.0+ for MVC Core with controllers
        .AddApiExplorer(options =>
         {
            options.DefaultApiVersion = new ApiVersion(1, 0);
            options.GroupNameFormat = "'v'VVV";
            options.SubstituteApiVersionInUrl = true;
         });
}

hey @commonsensesoftware, thanks for the reply.
You are correct that we are migrating from .NET6.  We do already have that line for .AddMvc()
I just spun up a fresh api and seem to be able to dupe this issue.
here is my program.cs
`using Asp.Versioning;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services.AddMvc(options =>
{
options.EnableEndpointRouting = false;
});
ConfigureApiVersioning(builder.Services);
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseHttpsRedirection();
app.UseAuthorization();
app.UseMvc(options =>
{
});
app.MapControllers();
app.Run();
void ConfigureApiVersioning(IServiceCollection services) => services
.AddApiVersioning(options =>
{
options.ReportApiVersions = true;
options.ApiVersionReader = new UrlSegmentApiVersionReader();
})
.AddApiExplorer(options =>
{
options.DefaultApiVersion = new ApiVersion(1, 0);
const string groupNameFormat = "'v'VVV";
options.GroupNameFormat = groupNameFormat;
options.SubstituteApiVersionInUrl = true;
});`
and here is the small change to the demo controller:
`using Asp.Versioning;
using Microsoft.AspNetCore.Mvc;
namespace NET8VersioningTest.Controllers
{
[ApiVersion("1.0")]
[Route("v{api-version:apiVersion}/[controller]")]
[ApiController]
public class WeatherForecastController : ControllerBase`
Probably something dumb I am doing, but any suggestion would be greatly appreciated!
thanks

this works actually.
Setting options.EnableEndpointRouting = True and removing the lines: app.UseMvc(options =>
{
});
fixed it.
Thanks for your time.

I definitely would not recommend using the legacy IRouter implementation. There are problematic edge cases. Endpoint Routing has been the way for many years now.
I think there may be some confusion as to what is happening.
builder.Services.AddMvcCore(); // or .AddMvc()

is NOT the same as:
builder.Services.AddApiVersioning().AddMvc();

The first one brings in MVC Core (or full MVC). The second one adds MVC (Core) support for API Versioning.

Versioning was working for me in the sample WeatherForecast api I spun up, but wouldn't work in our actual project.  I noticed that our Controller was missing the [APIController]  Attribute.  Once I added that attribute, versioning started to work great.
Adding that attribute seems to round all of our existing 400-level responses down to a 400.  Something else to chase down!


Implement SubnetFromState

Read attributes from internal terraform state and convert to object as per https://github.com/multycloud/multy/blob/main/resources/types/virtual_network.go#L65

Hi @goncalo-rodrigues/ @JCoelhoo ,
I'm new to multy. Can I try to fix this issue?

Yea of course! Let me know if you need help getting started or just message me on discord with any question

Hey @ksankeerth, I was wondering if you need help getting started with the codebase? Feel free to join us on discord at https://multy.dev/discord


Alonlong/m3

There's definitely an issue with the logic that's presented here. For example, if I have a route /posts?tag=funny&user=jjcm&sort=new&offset=200, then what I'll end up getting with this code is new posts with a tag of funny, offset by 200. What it wont be is posts that only have been made by jjcm.
Instead of the nested ifs handing off to various helper functions, lets dynamically build the sql query string. I think that this will have less complexity and we'll solve for edge cases more easily.

Yeah, I think a new type models.QueryBuilder struct is a better way to go. That struct could have fields for all the different ways that we are trying to filter, sort, or whatever to all the posts. Then, the models.GetPostsByQueryBuilder() (doesn't currently exist) method could accept that new query builder (or just the generated SQL as a string) so we can move all that functionality into a single func that returns the correct posts.
Does that make sense?


add new OMIM terms (OMIM migration)

this adds new OMIM terms
note, I did not add terms to the exclusion list yet or deal with the new OMIMPS
spreadsheet here
I need to address the failing QC before this is ready for review

FYI-
I created the new term
[Term]
id: MONDO:0100526
name: breast-ovarian cancer, familial, susceptibility to
xref: OMIMPS:604370 {source="MONDO:equivalentTo"}
is_a: MONDO:0020573 {source="OMIMPS:604370"} ! inherited disease susceptibility
relationship: has_characteristic MONDO:0021152 {source="OMIMPS:604370"} ! inherited
property_value: http://purl.org/dc/terms/creator https://orcid.org/0000-0001-5208-3432
This was previously a Mondo term (MONDO:0000163) and was obsoleted and merged with ‘hereditary breast ovarian cancer syndrome’. I reinstated it as a child of ‘inherited disease susceptibility’.
I do not think OMIMPS https://omim.org/phenotypicSeries/PS604370 is equiv to ‘hereditary breast ovarian cancer syndrome’
The OMIMPS does not match the def: An autosomal dominant inherited syndrome caused by mutations in the BRCA1 or BRCA2 genes. Patients are at high risk of developing breast cancer, particularly before the age of fifty, high risk of developing a second primary breast cancer, and high risk of developing both breast and ovarian cancer.
the OMIMPS includes classes that are not just BRCA.


prefab gets autoloaded, this cannot be the idea

fixed it, there was import & test & auto install for wordpress, should not be done like this


Added demo for LED light with raspberry Pi

cc @kevin-wangzefeng

Lets keep adding simple but good examples to make people easily use kubeedge. Thanks!


fix custom property values of row overrides individual cell

Fixes #34798

Thanks! I can confirm it works  on this CodePen forked from your original one.
Reading the dedicated docs, I don't think it needs any change.


Binary Search

Write ruby code for binary search.

assign me i will do it

hello, i would like to work on this issue.
could you assign this issue to me?

Please check my PR #21

@dhananjay425
@astitva0011
Assigned.


UnionDB cannot be cast to UnionDataType

https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra%2FFramework%2FSoftwareModeling%2Fsrc%2Fmain%2Fjava%2Fghidra%2Fprogram%2Fmodel%2Flang%2Fprotorules%2FPrimitiveExtractor.java#L235
I don't think any more information is needed for this one. I'd put in the fix myself but I'm away from my laptop.

Also seeing this, built on 10f0eb2318a6c1462d31b27d0b5339182d81a9bc from a few days ago.

Also seeing this, built on 10f0eb2318a6c1462d31b27d0b5339182d81a9bc from a few days ago.

@find0x90 the fix is trivial. Just change every UnionDataType to Union in that file.


unable to compile yaml

Hi, love the work but im having multiple issues compiling the yaml, im not sure but i suspect this maybe down to me running the esphome addon through HA OS rather than docker. i receive the following error on compile:
all files are cloned to config/esphome
esp8266
Edit: spun up esphome on docker and got the same errors.
Thank you in advance for any help you may have.
error logs attached
logs_iBoost_compile (2).txt

Have a look at https://github.com/JNSwanson/ESP-Home-iBoost/issues/10#issuecomment-1896083357 and see if that helps

Morning @johnston19910 did you manage to resolve the issue?
I'm getting the same error, tried many different approaches including the one above posted by srchild, but not able to get past the same error issue.
If you managed to resolve it can you let me know how please, i would be extremely grateful!


New target setting: copy

What does this PR do?
As the title says, it adds a new target setting: copy. Here's an extract of the documentation with more information about how it works:

It can be a list of file paths relative to the target source directory, in which case they'll be copied to the target distribution directory root; or a list of objects with the following format:
{
  from: 'path/relative/to/the/source/directory.txt',
  to: 'path/relative/to/the/distribution/directory.txt',
}

This is different from the main copy feature as this is specific to targets and you may require it for your app to work. For example: You may use this setting to copy a manifest.json for your PWA while you can use the main copy feature for the package.json or an .nvmrc, things you need for distribution.

This feature has itself a "sub feature": When the list of files for a target is formatted and generated, projext runs a reducer event for it and this is where plugins can add a custom tranform function: It receives the current contents of the file and expects new contents on return.
Now, two things about this:

There's an example of this on the upcoming update of the projext-samples repository.
Don't think that if you don't create your own plugins you can't get access to the "sub feature"; just wait for the upcoming "Custom plugins" PR.

How should it be tested manually?
There's nothing to actually test as the only thing this PR adds is support for the setting and a way to retrieve the list, the real functionality will be added on the engines PRs, so...
yarn test
# or
npm test

Pull Request Test Coverage Report for Build 172

18 of 18 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 170:
0.0%

Covered Lines:
1584

Relevant Lines:
1584

💛  - Coveralls


Strange effect when dragging to an empty list

I noticed, when I have a list group and drag an item to an empty list, there is a fly back effect on the item dragged. This does not happen aways.

When I drag the item slowly the issue does not occur.
When both list have at least one item, the issue does not occur.

Any idea what I can do with it? Thanks

I'm sorry, but I can't reproduce your issue. Could you provide a demo for reproduction, please?
https://github.com/Alfred-Skyblue/vue-draggable-plus/assets/55641773/66563ce8-6e7b-4c56-b3ee-1421e89a2c1e

I noticed, when I have a list group and drag an item to an empty list, there is a fly back effect on the item dragged. This does not happen aways.

When I drag the item slowly the issue does not occur.
When both list have at least one item, the issue does not occur.

Any idea what I can do with it? Thanks

i think the reason is on an empty list you have a 0 height section
try to add a min-height of like 20px when the list is empty

Hi, @moussaab-moulim @Alfred-Skyblue you can test my implementation in this Chrome extension. I tried to increase the height without the luck.
https://chromewebstore.google.com/detail/linkfolio-ai-personalised/pdhgolbhkdmkdeamfiikhkjopffadaea
BDW, I also experienced the issue mentioned here: https://github.com/Alfred-Skyblue/vue-draggable-plus/issues/45
Thanks

can you provide a working codesandbox, i dont want to install an extension

can you provide a working codesandbox, i don't want to install an extension

It will take me a day to isolate the code and prepare for code sandbox, it takes a minute to install the extension and is safe and you can remove it afterwards.


[Doc] Add 2.2.4 Release notes

What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[ ] refactor
[x] others

Problem Summary(Required) ：
Add 2.2.4 Release notes

RUN starrocks_admit_test

run starrocks_admit_test


Publish rehype-typst

Creating an issue for it.
          > I was going to try the `rehype-typst` package, but I can't install it.

https://github.com/Myriad-Dreamin/typst.ts/blob/main/projects/rehype-typst/README.md?plain=1#L37
Is it published on npm?
I was also trying to install it directly from the git repo, but I couldn't immediately figure out how to install a package from a subfolder of a git repo.
EDIT: I used this app to install rehype-typst from a subfolder of this git repo: https://gitpkg.vercel.app/about Add the following url in the app: https://github.com/Myriad-Dreamin/typst.ts/tree/main/projects/rehype-typst

It's my missing that it is not published. I'll test it again and publish it then in this week.
Originally posted by @Myriad-Dreamin in https://github.com/Myriad-Dreamin/typst.ts/issues/505#issuecomment-2020124994

The new rehype-typst doesn't use web compiler in node.js anymore. It is published at rehype-typst.


Portrait move doesn't work in prefab Flowchart

Reported on the forum

Haven't been able to reproduce this one, have requested more info. I'm going to leave this bug open for a while.

Still not able to replicate, closing this bug.


Ctrl+C blocked and/or swallowed by the debugger

Steps to reproduce
function foo {}
Set-PSBreakpoint -Command foo
foo

The debugger will break.
Run some long-running task that you'll have time to Ctrl+C, but that will finish in a reasonable time. I used ls ~\Downloads.
Ctrl+C (once) before the command finishes. It won't work.
When the command finishes, observe that the debugger is no longer attached.

Expected behavior
It's expected that the command being executed from within the debugger will be killed, but that the debugger will not be killed and remain attached.
Actual behavior
The command doesn't halt execution, and the debugger is unattached at the end of its execution.
Environment data

Name                           Value
----                           -----
PSVersion                      6.2.0-preview.3
PSEdition                      Core
GitCommitId                    6.2.0-preview.3
OS                             Microsoft Windows 10.0.18301
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Can confirm this.


buildLuaPackage: pass propagatedBuildInputs to final derivation

Motivation for this change
propagatedBuildInputs got completely overridden in the process
cc @teto
Things done

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

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

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

yes that's bad ^^'''
Completely unrelated but I've noticed neovim 0.5  crashing a lot with luajit 2.1 and enableGC64 = true;. I haven't had time to look into it and just disabled enableGC64 since the stacktrace led me to believe it was more a luajit issue.  Do you know if that's a stable setting ?

yes that's bad ^^'''
Completely unrelated but I've noticed neovim 0.5  crashing a lot with luajit 2.1 and enableGC64 = true;. I haven't had time to look into it and just disabled enableGC64 since the stacktrace led me to believe it was more a luajit issue.  Do you know if that's a stable setting ?

@teto thx for quick response! GC64 should be stable, so far I didn't have any problems. If you can get trace please open separate issue, I'll take a look.
You can try latest luajit ( https://github.com/NixOS/nixpkgs/pull/108198 ) it has few bugfixes which are maybe related.

@teto thx for quick response! GC64 should be stable, so far I didn't have any problems. If you can get trace please open separate issue, I'll take a look.
You can try latest luajit ( https://github.com/NixOS/nixpkgs/pull/108198 ) it has few bugfixes which are maybe related.


Use png format images as slides will overlap

When i use vue-awesome-swiper and use some png format images as slides of swiper，and i change slide effect to 'fade'，i found that these slides overlap together，i debug it on Chrome and found these slide's opacity are all set to 1，I hope that the author can notice this phenomenon

I have the exact same issue.

I have same issue (and this is not a issue), but solution is really simple. You need the crossFade parameter mentioned in the comment https://github.com/surmon-china/vue-awesome-swiper/issues/685#issuecomment-663986181


Remove lastSwitchTimestampMillis from breakage report

Task/Issue URL: https://app.asana.com/0/1199371158290272/1201864646357756/f
Description
Ditto
Steps to test this PR
Test lastSwitchTimestampMillis is redacted

[ ] install from this branch
[ ] enable AppTP
[ ] switch network WIFI -> CELLULAR or vice-versa
[ ] report breakage for any app
[ ] ensure the breakageMetadata contains the lastSwitchTimestampMillis set to -999

Current dependencies on/for this PR:

develop

PR #1764   (this PR)

This comment was auto-generated by Graphite.


Add a try_remove method

This PR adds a try_remove method that returns an Option on remove operations. It is necessary to add a tokio_util::time::DelayQueue::try_remove method.

That is one nice looking git diff!

See also https://github.com/rust-lang/rust/pull/77480

Disposition to merge?

Disposition to merge?

@taiki-e ? Apart from other general benefits from this, we can also get rid of the TODO here from a project we both maintain these days. :)

Sorry for the late review! Personally, for slab, I tend to prefer to return Option on remove like map or arena, rather than panic on remove like Vec. That said, changing remove is a breaking change, and we want to avoid major version bumps. Therefore, I think this is actually a reasonable solution...

Published in v0.4.4.


Do not delete uploaded images or page revisions when a user is deleted

fixes #1918

Nice work! It seems you have not made migrations for these model changes though, which is causing the test failures.

Hmmm.... i don't think it was the migrations.

For some reason, the migration wagtailcore.0021 did not include the editable=False parameter for Page.owner, and there was no migration created for the test app. You can make migrations using the test settings by running this command from the root of the Wagtail repository:
$ DJANGO_SETTINGS_MODULE=wagtail.tests.settings django-admin makemigrations

Can this be merged?

Thanks! Merged in aaed92f301a6862f30e817e23a50a21e8ae12e7b.


Update condition validation.py file (regex)

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

Finish my assessment


Fixed cupy.cuda.cufft.get_current_plan()

Closes #2433, thanks to @elliottslaughter for reporting it. This bug appears in a multithreading setup and was an oversight of #2362. Now cupy.cuda.cufft.get_current_plan() works very much like this one: https://github.com/cupy/cupy/blob/a7d9fe0c6ff792b83bbe05f6029ae0a827512983/cupy/cudnn.pyx#L48-L51

Sorry for my overlook. Thank you for the PR!
pfnCI, test this please.

Jenkins CI test (for commit 09e6d10c8b3c1e2f3ed87b8b42390671a6e5e299, target branch master) succeeded!

Sorry for my overlook.

@asi1024 Sorry that I didn't pay much attention to and think twice about potential threading issues back then. Lesson learned...

LGTM!

Jenkins CI test (for commit 09e6d10c8b3c1e2f3ed87b8b42390671a6e5e299, target branch master) failed with status FAILURE.


Fix bug

Fix crash when app gets uninstalled https://github.com/blueedgetechno/win11React/issues/349

Error


Embedding hyperledger fabric into docker containers.

Hi,
Do you have experience on importing the modified hyperledger fabric into some docker image so that we can use them just like the images provided by IBM? I'm just curious what should be put into the docker image to achieve this.
Thanks a lot :)

Unfortunately I never ported this code to docker, but I am going to help a faculty colleague to do exactly that. Once we figured out how to do it or have our own images available, I'll let you know. Unfortunately, I'll be travelling this upcoming week, so I won't be able to make progress on this for a couple of days.

Hi, I found the method to import modified hyperledger fabric binaries into docker image. And it is pretty straight forward. After building modified hyperledger:
cd fabric/build/image/peer/
docker build -t your_image_name .
For now I haven't met any bug, if there is more information I will post it here.

So now I imported your hyperledger into containers (for orderer container to work, I mount /tmp/hlf-pool.sock into the container) and tried to test it. The case is that when I use "cli" container to send channel create request, orderer gave this error which did not make sense to me:
2018-06-26 21:46:37.962 UTC [orderer/common/broadcast] Handle -> DEBU 2f7 [channel: mychannel] Broadcast has successfully enqueued message of type CONFIG_UPDATE from <IP_ADDRESS>:41988 2018-06-26 21:46:37.966 UTC [common/deliver] deliverBlocks -> DEBU 2f8 Rejecting deliver for <IP_ADDRESS>:41986 because channel mychannel not found
It said the channel could not be found but that was exactly why I want to create that channel.....

As I said I am currently travelling, so I can't look into this issue this week. However, I noticed you are building the ./peer program, but bear in mind that our fork modifies the orderer and configtxgen process. Use the command grep -rl "JCS" ./ while on the root fabric directory to check out what was modified by us and thus what new images should be generated.

Thanks for reply when traveling. Yes indeed I create both "peer" image and "orderer" and I used modified "configgen" to generate genesis block and channel create tx. Here one thing I'm confused about is that for the bft-smart node you also bind it with some certificates in sampleconfig folder, while after checking they are actually certificates for peers. Is there any relation? what should I put on the sampleconfig folder if I created my own certificates for all identities?
Thanks. I guess if this step passes, we would have working image for modified hyperledger.

The sampleconfig folder is provided by default with the original hyperledger codebase, and it is set up with a single organization that is used for both the orderer, peers, and users. If you create your own certificates and identities using cryptogen and a different configtx.yaml file, then there is no point in using that folder anymore. But you do have to re-declare the $FABRIC_CFG_PATH to point the configtx.yaml file you are using to generate the new crypto material.
One thing I remembered is, are you mounting the orderer and java process in the same container (/fabric/orderer/orderer and /hyperledger-bftsmart/startFrontend.sh)? These processes must execute in the same machine because they communicate using UNIX sockets (which is what the /tmp/hlf-pool.sock is used for). Hence, I imagine they must also execute inside the same container.

Oh I see, OK I will try to mount java process into container and try again.
And regarding the first question, actually what I want to ask is that why the java process needs these certificates. Since when I tested, if I delete the folder "msp" in sampleconfig, I failed to start java process with the error message like "could not find 'key.pem'".
Thanks.

Hi, this time I imported all java components into orderer image and made it run "normally". But when I use "cli" container to send channel create request, orderer still gave this error which did not make sense to me: orderer.example.com       | 2018-07-20 20:50:55.714 UTC [common/deliver] deliverBlocks -> DEBU c9b Rejecting deliver for <IP_ADDRESS>:60418 because channel mychannel not found .
Do you have some progress on this?
Thanks.

Wow that's a great work. Thanks a lot.
While just for curiosity, may I know what you put into the "frontend" container? I guess frontend java component and orderer binary have to be there? Is there anything else and is there any configuration we need to care about? Since sooner or later I think I will also need to modify some hyperledger code and build up my own image, so I will appreciate it a lot if you can share some points where we need to take care of when building new images.
Thanks a lot.

Yes, the contents of the frontend container are the orderer binary and the java component. I already updated the README with instructions on how to launch the same basic setup in a distributed enviroment using the docker swarm. As for stuff that needs to be taken care about, I will update the README with instructions on how to launch a network with more components and organizations. But the updated README already dwelves into a strange idiosyncrasy at the peer that happens with the swarm.
If you indeed anticipate having to build new images and fiddling with Fabric's code, you might want to check the script at ./docker_images/create-docker.images.sh. It is the script I use to build the images in the repository, and one thing that it does is to create an auxiliary image where my Fabric fork is compiled, so that might be of interest to you.


Adding support of custom functions within protocols

Protocols are implemented as static classes and are used as filters, without inheritance.
As a result - it's impossible to implement protocol specific functions in current architecture.
BUT i needed a support of subprotocols in WebService client (plan to implement MQTT over WebSocket on Workerman), as a result - need to pass some parameters, but it's impossible.
The same issue will be with any other protocol specific params (like authentication info and so on).
As s solution - i added magic function into TcpConnection.php (can be implemented in the same way for UDP) and added functions for setting client WS Subprocol request and for getting server Subprotocol reply.
I tested this patch on my test environment and it works as needed.

Thank you so much. 👍


colab errors out all of the sudden

Hello, The colab has suddenly stopped working, with the following error:
ERROR   train has failed due to an exception:

ERROR   Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/autotrain/utils.py", line 280, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/main.py", line 110, in train
utils.enable_xformers(unet, config)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/utils.py", line 315, in enable_xformers
unet.enable_xformers_memory_efficient_attention()
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 287, in enable_xformers_memory_efficient_attention
self.set_use_memory_efficient_attention_xformers(True, attention_op)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 251, in set_use_memory_efficient_attention_xformers
fn_recursive_set_mem_eff(module)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 244, in fn_recursive_set_mem_eff
module.set_use_memory_efficient_attention_xformers(valid, attention_op)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 251, in set_use_memory_efficient_attention_xformers
fn_recursive_set_mem_eff(module)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 244, in fn_recursive_set_mem_eff
module.set_use_memory_efficient_attention_xformers(valid, attention_op)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/attention_processor.py", line 216, in set_use_memory_efficient_attention_xformers
raise e
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/attention_processor.py", line 210, in set_use_memory_efficient_attention_xformers
_ = xformers.ops.memory_efficient_attention(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/init.py", line 223, in memory_efficient_attention
return _memory_efficient_attention(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/init.py", line 321, in _memory_efficient_attention
return _memory_efficient_attention_forward(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/init.py", line 337, in _memory_efficient_attention_forward
op = _dispatch_fw(inp, False)
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/dispatch.py", line 120, in _dispatch_fw
return _run_priority_list(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/dispatch.py", line 63, in _run_priority_list
raise NotImplementedError(msg)
NotImplementedError: No operator found for memory_efficient_attention_forward with inputs:
query       : shape=(1, 2, 1, 40) (torch.float32)
key         : shape=(1, 2, 1, 40) (torch.float32)
value       : shape=(1, 2, 1, 40) (torch.float32)
attn_bias   : <class 'NoneType'>
p           : 0.0
decoderF is not supported because:
xFormers wasn't build with CUDA support
attn_bias type is <class 'NoneType'>
operator wasn't built - see python -m xformers.info for more info
<EMAIL_ADDRESS>is not supported because:
xFormers wasn't build with CUDA support
dtype=torch.float32 (supported: {torch.bfloat16, torch.float16})
operator wasn't built - see python -m xformers.info for more info
tritonflashattF is not supported because:
xFormers wasn't build with CUDA support
dtype=torch.float32 (supported: {torch.bfloat16, torch.float16})
operator wasn't built - see python -m xformers.info for more info
triton is not available
Only work on pre-MLIR triton for now
cutlassF is not supported because:
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
smallkF is not supported because:
max(query.shape[-1] != value.shape[-1]) > 32
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
unsupported embed per head: 40

colab notebooks updated.

Thank you very much. When I ran the new autotrain notebook, I got the following error:
ERROR   train has failed due to an exception:

ERROR   Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/autotrain/utils.py", line 280, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/main.py", line 110, in train
utils.enable_xformers(unet, config)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/utils.py", line 315, in enable_xformers
unet.enable_xformers_memory_efficient_attention()
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 287, in enable_xformers_memory_efficient_attention
self.set_use_memory_efficient_attention_xformers(True, attention_op)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 251, in set_use_memory_efficient_attention_xformers
fn_recursive_set_mem_eff(module)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 244, in fn_recursive_set_mem_eff
module.set_use_memory_efficient_attention_xformers(valid, attention_op)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 251, in set_use_memory_efficient_attention_xformers
fn_recursive_set_mem_eff(module)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 247, in fn_recursive_set_mem_eff
fn_recursive_set_mem_eff(child)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/modeling_utils.py", line 244, in fn_recursive_set_mem_eff
module.set_use_memory_efficient_attention_xformers(valid, attention_op)
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/attention_processor.py", line 216, in set_use_memory_efficient_attention_xformers
raise e
File "/usr/local/lib/python3.10/dist-packages/diffusers/models/attention_processor.py", line 210, in set_use_memory_efficient_attention_xformers
_ = xformers.ops.memory_efficient_attention(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/init.py", line 223, in memory_efficient_attention
return _memory_efficient_attention(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/init.py", line 321, in _memory_efficient_attention
return _memory_efficient_attention_forward(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/init.py", line 337, in _memory_efficient_attention_forward
op = _dispatch_fw(inp, False)
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/dispatch.py", line 120, in _dispatch_fw
return _run_priority_list(
File "/usr/local/lib/python3.10/dist-packages/xformers/ops/fmha/dispatch.py", line 63, in _run_priority_list
raise NotImplementedError(msg)
NotImplementedError: No operator found for memory_efficient_attention_forward with inputs:
query       : shape=(1, 2, 1, 40) (torch.float32)
key         : shape=(1, 2, 1, 40) (torch.float32)
value       : shape=(1, 2, 1, 40) (torch.float32)
attn_bias   : <class 'NoneType'>
p           : 0.0
decoderF is not supported because:
xFormers wasn't build with CUDA support
attn_bias type is <class 'NoneType'>
operator wasn't built - see python -m xformers.info for more info
<EMAIL_ADDRESS>is not supported because:
xFormers wasn't build with CUDA support
dtype=torch.float32 (supported: {torch.bfloat16, torch.float16})
operator wasn't built - see python -m xformers.info for more info
tritonflashattF is not supported because:
xFormers wasn't build with CUDA support
dtype=torch.float32 (supported: {torch.bfloat16, torch.float16})
operator wasn't built - see python -m xformers.info for more info
triton is not available
Only work on pre-MLIR triton for now
cutlassF is not supported because:
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
smallkF is not supported because:
max(query.shape[-1] != value.shape[-1]) > 32
xFormers wasn't build with CUDA support
operator wasn't built - see python -m xformers.info for more info
unsupported embed per head: 40

When adding the line that you'd previously suggested, the current colab works again:
!pip install -U xformers==0.0.22
However, without that, it errors out.

you dont need it anymore. the colab notebook has been updated. are you still having this issue with new notebook link in README?

I'm having the same errors with the colab linked at https://github.com/huggingface/autotrain-advanced/tree/main/colabs


Static Index Signature with Generics

🔍 Search Terms

static mappings with generics
static generic index signature
class index signature static
generic index signature

https://github.com/microsoft/TypeScript/issues/58258
https://github.com/microsoft/TypeScript/issues/17867

https://www.typescriptlang.org/docs/handbook/2/classes.html#:~:text=[s%3A string]%3A boolean | ((s%3A string) %3D> boolean)%3B

✅ Viability Checklist

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
Currently, static index signatures can be declared for a type, under the condition, that the mapping cannot be a literal type or generic type. My proposal is to allow TypeScripts' powerful typing system on static indexing by removing this restriction. As you see below, there is one utility type that already allows the elimination of a string subset, that being Uppercase.
class Abc{
    static readonly [k: number]: number;
}

class Def{
    static readonly [k: number | Uppercase<string>]: number; // This is allowed
    static hello() {} // Since `'hello' extends Uppercase<string> ? true : false` yields false, this is allowed.
}

By allowing generic indexing, the "value" type can be further specified by the "key" type. Currently, static index signatures with string mapping have the problem of overriding (lowercase) method types, causing the type checker to warn a conflict. By allowing TS' conventional T in Types notation, the subset of index keys can be decreased and shown in InteliSense, and also providing the value type based on key set.
📃 Motivating Example
TypeScript's powerful type system can now be used in static and non-static index signatures, allowing you to type generic indexation.
💻 Use Cases
This can be used to provide great simplifications for API writers, by exposing a niche interface and type hinting on a class. Currently this is possible by obfuscating a class with another type, which is not that great, or using a typed proxy, which is the best approach currently. However all of these mean that the projects' classes have to be split and harder to maintain. There is no way, other than with Uppercase to limit static string index signatures.
By using generic index signatures, as well as being able to use them in static context, a lot of type workload can be exercised within a class range.
const Format = {
    'PlayerJoin': [number, string],
    'PlayerChat': [number, string],
    'PlayerLeave': [number],
}

export class MessageType<F extends keyof typeof Format> {
    // This will allow to index `MessageTypes` as a collection of data entries.
    [Index in number]: (typeof Format)[F][Index];

    // Type System: (typeof Format)[F][0] ~> [number, ...][0] ~> number
    public get playerId() { return this[0]; }

    // This is already possible, nothing of too much interest
    constructor(messageType: F) { return Proxy(...) }
}

The fun part comes when you have a collection like Block or Item, where you not only want to have some internal state, but also allow to list all "content" statically on the class.
const Blocks = [
    { id: 0, name: "air" },
    { id: 1, name: "earth" },
    { id: 2, name: "water" },
];

export class Block<Id extends (typeof Blocks)[number]['id']> {
    // Currently, InteliSense will tell you, that using the generic argument from the class is not supported. This should be kept as a feature, but adding new generic types should not be hindered
    static readonly [SId in (typeof Blocks)[number]['id']]: Block<SId>;
    ...
}

Index signatures and mapped types are different features with different (but similar) syntax. Which one are you asking about? If you're writing in then it's a mapped type.
And does static really matter much here? Is there a reason why you're focused on static members and not instance members?


0.3.0: sphinx fails

Looks like documentation at the moment cannot be generated :/
[tkloczko@barrel cachy-0.3.0]$ sphinx-build -b man -d cachy docs .
Running Sphinx v4.1.2

Exception occurred:
  File "/home/tkloczko/rpmbuild/BUILD/cachy-0.3.0/docs/conf.py", line 270, in setup
    app.add_stylesheet('theme_overrides.css')
AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'
The full traceback has been saved in /tmp/sphinx-err-utmjkdpi.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

Duplicate with https://github.com/sdispater/cachy/issues/15
Sorry :/


display modes for invisible objects 2d editor (boundbox)

This is a feature request!
Can we have display modes in the 2d editor too?
So it would be easier to work on the levels, even when some objects are invisible.
Something like this:

(sorry my english)

CC @groud @poke1024 - is that something you would find useful for the 2D canvas editor? (asking since we're kind of going in the opposite direction right now :))

I don't know. I don't get how making invisible nodes visible would help.
This feature proposal is a little bit unclear to me.

Not sure either. Wouldn't be too hard to implement I guess, but I'm not sure there's a real use case. I could imagine something like this might be useful in some complex scenes with large objects, where you could turn on some kind of wireframe mode, so you can see objects behind the large ones in front - but that's a different use case the OP describes.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Default import of connections from openedge-project.json file

OpenEdge ABL extension has openedge-project.json file where project configurations are stored.
We want to import dbConnections to ProBro when it is opened in a project with this file.

To close when this one is completed:
https://github.com/BalticAmadeus/ProBro/issues/321


anyone reproduced the example of ControlNeXt SVD/outputs/chair/chair.mp4

Has anyone reproduced the example of ControlNeXt SVD/outputs/chair/chair.mp4? This is the result I generated with pretrained/unet_fp16.bin :
https://github.com/user-attachments/assets/b8bdcd38-71b5-4628-9a5e-bba4cf7656a5
and this is the result I generated with fintuned/unet_fp16.bin :
https://github.com/user-attachments/assets/e52860c6-05fe-4d7f-8476-2cb5057871ed
the refImage:

Thank you for your interest!
hhhhhhhhhh! This is a humorous example I came across during evaluation, so I thought I'd share it.
Here’s the context: This result comes from the V1 version, where we didn't conduct continual pretraining on human-related videos and only trained the 'to_out' sub-parameters.
So, it's a trade-off. More trainable parameters lead to better performance on human-related videos but with reduced robustness—makes sense, right?
In the end, we decided to prioritize performance over robustness. If you'd like, you can train a version without continual pretraining, focusing on the sub-parameters, since we've provided the training scripts.


Consultation about HXN errors

Hello, when I execute HXN, the following error will be reported, may I ask you how to solve it?
Thanks for your help. Wish you a good day.
AssertionError: <HeatExchangerNetwork: HXN>
Not equal to tolerance rtol=0.005, atol=0.001

Mismatched elements: 1 / 1 (100%)
Max absolute difference: 9.248
Max relative difference: 0.026

Hello, could I trouble you take some time to look at this problem. Thanks for your help again.

Hello, could someone help with this problem. Thanks for your help again.

@yalinli2, @sarangbhagwat, Hello, could you help with this issue. Thanks for your help.

a) @sarangbhagwat, Thank you for your advice. I have set all heat exchangers to rigorous=True, and added all heat exchangers to the code HXN = bst.HeatExchangerNetwork('HXN', T_min_app = 10, ignored=lambda: [H1, H2, H3, H4, H5]), but the above error is still reported.
b )In order to ensure the accuracy of HXN, should all the heat exchangers be set to True, and would it be right to set to rigorous=False for some heat exchangers, and rigorous=True for the other heat exchangers?
c) If the heat exchanger is ignored (HXN = bst.HeatExchangerNetwork('HXN', T_min_app = 10, ignored=lambda: [H1, H2, H3, H4, H5])), is HXN still accurate, because HXN is the heat transfer of the heat exchanger.

@sarangbhagwat, Hello, either set 'rigorous' to True, or add the heat exchanger to a list past into the 'ignored' argument do not solve the error.

@sarangbhagwat Hello, I have tried some ways, but above error still reports. Could you help with this. Thanks a lot.

@yoelcortes @yalinli2 @sarangbhagwat Hello, could you help look at this issue. Thanks a lot.

Hi, @zasddsgg. To answer your questions:
(a) I will need code from you to reproduce your error. I would suggest using the following template for your issues (the same as to post new issues for the BioSTEAM repo):
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
A script or a text file that runs the code to reproduce the error.
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
Full trace back, as text or a screenshot
Version

PyPI  version or github

Additional context
Add any other context about the problem here.
(b) You may set rigorous=False for certain heat exchangers if you are sure there is no phase change happening in those exchangers.
(c) Yes, HXN results will still be accurate. The tool will simply be looking at the system as a whole except your ignored units, and putting together a network based on the remaining units.

Thank you for your help and answer, the problem has been solved.


Waiting for server to load...Forever (Fedora 36)

Description
Using alvr_server_linux.tar.gz
ALVR just says "Waiting for server to load" and SteamVR says "Headset not detected". Chromium is installed
General Troubleshooting

[Yes? No setup wizard on Linux] I carefully followed the instructions in the README and successfully completed the setup wizard
[Yes] I read the ALVR Wikis here and here

Environment
Hardware
Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload
CPU: Ryzen 5 5600x
GPU: RX 6700 XT
Audio:
Installation
ALVR Version: v18.2.3
SteamVR Version: 1.23.7
Install Type:

[ ] Packaged (exe, deb, rpm, etc)
[I used the regular tar.gz not the one labeled "portable"] Portable (zip)
[ ] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): Latest update Fedora 36 Cinnamon

Pretty much my exact experience of ALVR so far on Linux Mint.  SteamVR doesn't detect my Quest 2 and after using SideQuest to install ALVR it just sits there waiting for server to load which, as you've mentioned, never happens.

Thank you for the log.
It is a known issue that our "portable" builds aren't truly portable and I'm working on a solution for that.
But because ALVR is composed of so many languages this isn't the easiest task.

Thanks.  Does this also include the builds not marked as portable?  alvr_server_linux.tar.gz for example?  They all seem to have the same problem.  Add to that I've been unable to compile from source either - see https://github.com/alvr-org/ALVR/discussions/1148.

ALVR and SteamVR load fine for me:

Fedora 36 (5.19.9-200.fc36.x86_64)
Radeon 6600 XT
SteamVR beta 1.24.3
ALVR v19.0.0-dev02+nightly.2022.09.19


Introduce environment banner

This PR adds an environment banner which includes the environment name and application version. Additionally it provides a button which leads to an overview of the editor version and the versions of the editor-plugins installed.
It is still to be seen if the way how the environment is populated with the package versions is a desirable one.

I'm afraid the way it's set up won't allow us to specify the env without modifying the code
and I'm not sure if we can access the env variables from a public html file?

The environment banner has been extracted to a seperate repo: https://github.com/lblod/ember-environment-banner.


Timeseries node cannot be plotted with LINE node

Given this flow
flojoy.txt
After being executed, the timeseries plot won't load.

I took the dc_input from the LINE node of the timeseries, and saved it to disk. I loaded it in jupyter and the plot rendered just fine, both using px.express and px.graph_object

Not sure why the UI can't render the timeseries plot, but it has something to do with the x being timeseries data. If I replace it with None or np.random.rand in the TIMESERIES node code, it renders as expected

Hmm, yeah, TIMESERIES and LINE are both early era nodes that haven't been updated in a while.
The solution that I would recommend:

The TIMESERIES generator is updated to output a DataContainer of type timeseries, which we define as a Pandas dataframe with an index of type DatetimeIndex (see, https://jakevdp.github.io/PythonDataScienceHandbook/03.11-working-with-time-series.html)

https://github.com/flojoy-io/nodes/blob/main/GENERATORS/SIMULATIONS/TIMESERIES/TIMESERIES.py

LINE is updated to recognize the timeseries DataContainer type, and make sure that the DatetimeIndex is correctly converted to plotly's preferred string format for dates (' YYYY-MM-DD hh:mm:ss '). IIRC both pandas and plotly should be capable of nanosecond precision but worth testing: https://pandas.pydata.org/docs/reference/api/pandas.DatetimeIndex.nanosecond.html

https://github.com/flojoy-io/nodes/blob/main/VISUALIZERS/PLOTLY/LINE/LINE.py#L16


VSCode Insiders crashes on open with TypeError: Cannot read property 'lastIndexOf' of undefined

VSCode Version: 26e5a55cd8452477bfb7a472ea9475761600adf0 x64
OS Version: WIndows 7 Enterprise

Steps to Reproduce:

From command line run code-insiders --verbose
Watch it open for an instance, then close down immediately after the following has been logged to console:

code-insiders --verbose

[main 1:54:55 PM] Starting VS Code
[main 1:54:55 PM] from: c:\Program Files\Microsoft VS Code Insiders\resources\app
[main 1:54:55 PM] args: { _: [],
  help: false,
  h: false,
  version: false,
  v: false,
  wait: false,
  w: false,
  diff: false,
  d: false,
  add: false,
  a: false,
  goto: false,
  g: false,
  'new-window': false,
  n: false,
  'unity-launch': false,
  'reuse-window': false,
  r: false,
  'open-url': false,
  performance: false,
  p: false,
  'prof-startup': false,
  verbose: true,
  logExtensionHostCommunication: false,
  'disable-extensions': false,
  disableExtensions: false,
  'list-extensions': false,
  'show-versions': false,
  nolazy: false,
  issue: false,
  'skip-getting-started': false,
  'skip-release-notes': false,
  'sticky-quickopen': false,
  'disable-restore-windows': false,
  'disable-telemetry': false,
  'disable-updates': false,
  'disable-crash-reporter': false,
  'skip-add-to-recently-opened': false,
  status: false,
  s: false,
  'file-write': false,
  'file-chmod': false,
  'driver-verbose': false }
[main 1:54:55 PM] Resolving machine identifier...
[main 1:54:55 PM] Resolved machine identifier: d48a40325366f0a29516342691e38369721a3ddba7fd28a6e2921687728644a3
[main 1:54:55 PM] update#setState idle
[main 1:54:55 PM] TypeError: Cannot read property 'lastIndexOf' of undefined
    at Object.o [as basename] (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:46:538)
    at Object.t.getWorkspaceLabel (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:335:280)
    at e.createOpenRecentMenuItem (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:367:142)
    at e.setOpenRecentMenu (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:366:326)
    at e.setFileMenu (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:362:923)
    at e.install (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:358:524)
    at new e (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:355:177)
    at t.create (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:52:365)
    at e._createInstance (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:207:703)
    at e.createInstance (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:206:959)
    at t.afterWindowOpen (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:522:583)
    at C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:517:699
    at e.invokeFunction (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:206:638)
    at C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:517:663
    at n.Class.define.cancel.then (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:90:201)
    at C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:517:523
    at n.Class.define.cancel.then (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:90:201)
    at t.startup (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:516:912)
    at C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:528:539
    at Object.v [as _notify] (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:83:572)
    at Object.enter (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:86:924)
    at n.Class.derive._oncancel._run (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:88:790)
    at n.Class.derive._oncancel._completed (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:88:231)
    at Server.<anonymous> (C:\Program Files\Microsoft VS Code Insiders\resources\app\out\vs\code\electron-main\main.js:169:657)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:86:13)
    at Server.emit (events.js:188:7)
    at emitListeningNT (net.js:1290:10)
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
[main 1:54:55 PM] Lifecycle#kill()
[main 1:54:55 PM] Lifecycle#window-closed 1
[main 1:54:55 PM] Lifecycle#onShutdown.fire()
[main 1:54:55 PM] telemetry/optInStatus { optIn: true }
[main 1:54:55 PM] telemetry/update:win32SetupTarget { target: 'system' }

Does this issue occur when all extensions are disabled?: Yes, but i can't disable any because the entire app is crashing.

@LarsVonQualen it seems that code tries to open workspace whose configuration file you previously saved but that it now can't find. What should get you out of this is to explicitly open VS Code on a particular folder: code-insiders . for example.

Culprit is https://github.com/Microsoft/vscode/blob/5c82fedfed58e186c179606643010e6b299abfbe/src/vs/platform/workspaces/common/workspaces.ts#L134

For anyone else who encounters this issue, I was able to start vscode by deleting everything except the User folder from %APPDATA%\Code - Insiders. Using code-insiders . didn't work.

Easier repro:

have a user-data-folder that contains data from 1.26 (or master)
check out release/1.25
run it

You get this right on startup:
[main 11:07:16] TypeError: Cannot read property 'lastIndexOf' of undefined
    at Object.basename (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/paths.js:43:24)
    at Object.getWorkspaceLabel (/Users/bpasero/Desktop/vscode-125/out/vs/platform/workspaces/common/workspaces.js:41:32)
    at CodeMenu.createOpenRecentMenuItem (/Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/menus.js:427:38)
    at CodeMenu.setOpenRecentMenu (/Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/menus.js:401:48)
    at CodeMenu.setFileMenu (/Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/menus.js:326:18)
    at CodeMenu.install (/Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/menus.js:189:18)
    at new CodeMenu (/Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/menus.js:40:18)
    at create (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/types.js:164:14)
    at InstantiationService._createInstance (/Users/bpasero/Desktop/vscode-125/out/vs/platform/instantiation/common/instantiationService.js:106:35)
    at InstantiationService.createInstance (/Users/bpasero/Desktop/vscode-125/out/vs/platform/instantiation/common/instantiationService.js:67:29)
    at CodeApplication.afterWindowOpen (/Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/app.js:431:38)
    at /Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/app.js:262:95
    at InstantiationService.invokeFunction (/Users/bpasero/Desktop/vscode-125/out/vs/platform/instantiation/common/instantiationService.js:48:34)
    at /Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/app.js:262:45
    at CompletePromise_ctor.CompletePromise_then [as then] (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/winjs.base.js:1581:49)
    at /Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/app.js:255:32
    at CompletePromise_ctor.CompletePromise_then [as then] (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/winjs.base.js:1581:49)
    at CodeApplication.startup (/Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/app.js:240:44)
    at /Users/bpasero/Desktop/vscode-125/out/vs/code/electron-main/main.js:300:111
    at Object.notifySuccess [as _notify] (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/winjs.base.js:1185:59)
    at Object.enter (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/winjs.base.js:867:30)
    at Promise_ctor._run (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/winjs.base.js:1083:29)
    at Promise_ctor._completed (/Users/bpasero/Desktop/vscode-125/out/vs/base/common/winjs.base.js:1051:18)
    at Server.<anonymous> (/Users/bpasero/Desktop/vscode-125/out/vs/base/parts/ipc/node/ipc.net.js:203:17)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:86:13)
    at Server.emit (events.js:188:7)
    at emitListeningNT (net.js:1290:10)
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Assigning to a couple of folks who may be in charge.

in 1.26-insiders we modified the data format of the list of recently opened workspaces.
1.25 code doesn't make any validity check on the data format.
The fix is to use a new workspaces2 property in storage.json instead of modifying the existing one.

@aeschli Thanks for the fix.
I assume this fix is to support forward compatibility (older versions (< 1.26) of VS Code to run on new user data dir).

deleting storage.json got me going again


Discover containers on same host without linking ?

Is it possible with registrator to have two containers discover each other on the same host ? As far as I understand the host IP will be registered instead of the container IP, is this correct ?
My situation is that I want my nginx container to be able to discover my Django container. Also my django container uses redis and I want to be able to connect to a redis container on my host by host name.
I am aware of linking but it is not dynamic enough for my liking. (Ie: if my Django container restarts nginx will have a stale link )

No, that's not what registrator is for. It's for cluster wide discovery.
Local discovery can be done with links, but as you said, links suck. So
we've made this tool, which is still experimental (and will move to
gliderlabs eventually): https://github.com/mgood/resolvable
On Sat, Apr 4, 2015 at 11:24 AM, crhuber<EMAIL_ADDRESS>wrote:

Is it possible with registrator to have two containers discover each other
on the same host ? As far as I understand the host IP will be registered
instead of the container IP, is this correct ?
My situation is that I want my nginx container to be able to discover my
Django container. Also my django container uses redis and I want to be able
to connect to a redis container on my host by host name.
I am aware of linking but it is not dynamic enough for my liking. (Ie: if
my Django container restarts nginx will have a stale link )
—
Reply to this email directly or view it on GitHub
https://github.com/gliderlabs/registrator/issues/146.

--
Jeff Lindsay
http://progrium.com


MM-32782: RHSThread Follow Button

Summary
Adds follow button in RHSThread.
actions/websocket_actions.jsx changes overlap exactly with #7996 as it is required by both.
Ticket Link
https://mattermost.atlassian.net/browse/MM-32782
Screenshots

Release Note

In Collapsed Reply Threads, added ability to follow thread from RHS

@matthewbirtch @calebroseland Should the "Follow" button be hidden in the RHS for a root post with no replies?
Currently it's shown and clicking it doesn't do anything:
https://i.gyazo.com/09bec6c746274118e7e699ab98b43ee2.mp4

@matthewbirtch @calebroseland Should the "Follow" button be hidden in the RHS for a root post with no replies?
Currently it's shown and clicking it doesn't do anything:
https://i.gyazo.com/09bec6c746274118e7e699ab98b43ee2.mp4

I'm not sure about the technical implications, but from a user's standpoint, I would want to be able to follow a root post and have it added to my Global Threads view once replies come in. I believe that's how it was intended

To add to Ogi's point when clicking on Follow on root post without replies
a) Follow does not change to Following
b) Selection is not remembered and added to Threads when replies come in


Add my first file

I have created a new branch, created a file, and made a commit!

Good job som

son*


Crude fix for geos without informal dwelling types

This is not very nice.
@longhotsummer

:( it'll do. I've seen worse!

Then you've probably seen it all : )


Store the server and site config in yml file like Vapor does

It would be amazing if there could be a single file like the vapor.yml for Forge (like a forge.yml) so you can have a single configuration file with all the settings that can even be copied to other sites. This would make Forge server managing so much easier and faster for us. Have you thought about this feature?

Thank you for your suggestion. We are going to discuss it internally.


Creating relationship with existing nodes

Question
How do you create a relationship between two already existing nodes ?
Expected behavior
Being able to generate this query, as seen in : https://neo4j.com/docs/cypher-manual/current/clauses/create/ in the section create relationship
MATCH
  (a:X),
  (b:Y)
WHERE a.name = 'A' AND b.name = 'B'
CREATE (a)-[r:RELTYPE]->(b)
RETURN type(r)

Actual behavior
I'm only able to generate this query :
MATCH (this0:Rpg)
MATCH (this1:User)
WHERE (this1.id = $param0 AND this0.id = $param1)
CREATE (this1:User)-[this2:IS_IN_RPG { role: $param2 }]->(this0:Rpg)
RETURN this1, this0

which try to create the nodes and relationship instead of the relationship
Screenshots

Environment

cypher-builder : 1.1.2

Hi @Eclegv
I understand that the problem with this query is that
CREATE (this1:User)-[this2:IS_IN_RPG { role: $param2 }]->(this0:Rpg)

contains the labels and the expected pattern is
CREATE (this1)-[this2:IS_IN_RPG { role: $param2 }]->(this0)

To remove the labels from the pattern, you can do so with .withoutLabels():
new Cypher.Pattern(USER_NODE).withoutLabels().related(IS_IN_RELATIONSHIP).to(RPG_NODE).withoutLabels()

You can find more info at https://neo4j.github.io/cypher-builder/cypher-builder/current/patterns/#_remove_labels_and_types
Would that solve the question?

Hi @angrykoala
Yes, it solves the question, sorry I missed this point in the documentation and thank you for your fast answer !
Thank you again for your work on this library !


Add basic upload_folder feature

As discussed in #497, here's a quick draft of a basic upload_folder that will sequentially upload files within a folder. It's not ideal by any means, but it could get the job done for many simple cases.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Sorry, I just saw this is a draft PR. Let us know when we can review :hugs:

i think the ability server-side to upload multiple files into one commit via the API is sufficiently near that maybe it doesn't make a lot of sense to include this in the library just yet – maybe more like sample code provided alongside (can even live in the repo)
Pinging @SBrandeis @coyotte508 @Pierrci for feedback on this though

Precision: There is an ongoing PR that will support uploading multiple files.
It's designed for upload of LFS files, so it only supports LFS files and text files. It doesn't support non-LFS binary files. And the total non-LFS payload allowed is currently 250kB (could be upped to a few MB).
The endpoints could be updated to have better support for non-LFS files, in another PR, but for now it's uploading one or multiple LFS files in a single commit.

Actually - The API will allow arbitrary commits (with a payload up to 20 MB, in addition to LFS data). So it should fit your needs :smile_cat:

It's up - the payload of the commit API has been upped to 100MB.
The endpoint is /api/{models,datasets,spaces}/:namespace/:repo/commit/:branch.
The payload looks like that in TypeScript (question mark = optional):
export interface CommitPayload {
	/**
	 * List of added / edited files. Encoding is "utf-8" if not specified. Use "base64" for files
	 * containing non-utf8 characters, or when in doubt.
	 */
	files?:        Array<{ content: string; path: string; encoding?: "utf-8" | "base64"; }>;
	deletedFiles?: Array<{ path: string; }>;
	/**
	 * New files to track with LFS, if not already tracked.
	 * Do this through the backend as QOL.
	 */
	lfsFiles?:     Array<{ path: string; algo: "sha256"; oid: string; }>;
	/** Commit summary */
	summary:       string;
	/** Commit description */
	description?:   string;
}

You do not need to manually edit the .gitattributes file when adding LFS files: just specifiy the filenames & hashes of lfs files in the lfsFiles field.

With this API, you need to preupload LFS files. It's basically using the native git lfs API: a batch call first, followed by either a basic upload or multipart upload (with our custom protocol).
You can see the TS implementation here.
Definitely available on slack to talk about it.

Other note: a preupload endpoint has also been added, to know if a file should be uploaded through LFS or not, by sending the file path, file size and a sample of the data (512 bytes), as well as an optional gitAttributes file. You don't have to use it if local detection is preferrable ^^ cc @LysandreJik

Thanks for the heads-up, @coyotte508! Will take a look at this and see how it could simplify the upload_file/upload_folder that @nateraw offers and simplify the #847.

let's maybe close this PR as @SBrandeis is offering to work on this and the implem will be very different
Still would love @nateraw (and others) review though


Adds Kryo serializer for ProtocolBuffer classes

Ok, all good I think :)

you could take a look at
https://github.com/akka/akka/blob/master/akka-remote/src/main/scala/akka/remote/serialization/ProtobufSerializer.scala
:)

I'll have to admit I'm not the best with reading Scala, that implementation looks similar to what I did?  Or am I missing something?

They cache the parseFrom method per class, that's the main difference I'd say. Not sure if this is needed, I don't know how protobuf works.

I can add a static map linking class name => cached reflection method.  As it stands now within an instance of the serializer it should be caching the call, but if you had two separate instances of the same serializer for the same protobuf class, you'd have a slight performance hit.

If the map would be static it would have to be a thread safe / concurrent map.
What I'm just realizing: because kryo holds a serializer instance per class, you could leave it as it is, with just the cached method. Right?

That was exactly my thought -^

Ahh, ok :-)

I've one question left: How are the protobuf files compiled to classes? I didn't see any instructions to generate them, what I'd have expected...

@magro you should call the protoc to compile it.
and there is an annotation based one,which map the java class to protobuf style one.
take a look at this
https://github.com/jhunters/jprotobuf
I think for this issue,we could just using the AtomicReference<Map<Class,Method>> or the ConcurrentHashMap<Class,Method> and just return the Message.

So instructions for compiling the .proto schema files into Java classes is explained on the protobufs github Readme found here: https://github.com/google/protobuf/tree/master/java

Ok, thanks. @Crim can you stash the commits? Then I'll merge and release.

squashed the commits

bump :D

Sorry, I was a bit busy the last days, now it's released as 0.30 (on it's way to maven central). And thanks for the PR!! :-)


The command name "simulate-eviction" is misleading

Description of the bug
There was a request at https://github.com/Azure/azure-cli/issues/13583 to add a "simulate-eviction" command. However, as it is implemented, the command not only issues the eviction notification event but also evicts the virtual machine. Therefore, the eviction is not simulated, but forced. The eviction can happen in two cases:

Azure has insufficient resources and evicts spot instances, provided to certain conditions, such as maximum price, however, if maximum price is over the price of a normal instance, the VM will never be evicted.
A user run simulate-eviction" command.

In the first case, the eviction is optional - it can happen or can not happen, depending on the availability of resources, on the price cap set, etc.;
In the second case, the VM is always (forcefully) evicted, even if the price is as high as the normal price.
Therefore, the command name "simulate-eviction" is misleading, as the VM is not "simulated" to be evicted but is actually evicted, i.e., if a VM has the eviction policy to delete, the VM will be actually deleted, not a "simulatedly" deleted. A better command name would have been "force-eviction".
Command to reproduce
Here is a command to reproduce the issue:
az vm simulate-eviction --resource-group YourResourceGroupName --name YourVMName

Expected behaviour
The eviction will be simulated but not actually done, the event will arrive but the VM will not be actually evicted.
Current behaviour
The eviction takes place, optionally deleting the VM based on the eviction policy.
Proposed solution
Deprecate the "simulate-eviction" command and call the command "force-eviction".
Essence of the bug
I consider this behavior bug because the "simulate" is not the same as "force", i.e. the command means one thing as can be implied from the command name while does a different thing. It can even delete data then the user has set spot price as high as the normal price, which, according to the documentation, should never lead to eviction.
The word "simulate" in the dictionary means ": to give or assume the appearance or effect of often with the intent to deceive :" -- see https://www.merriam-webster.com/dictionary/simulate
However, when using the command, the eviction is real, the data is deleted really (even with price cap set high), there is no "assume the appearance" as set in the dictionary.

Thank you for opening this issue, we will look into it.


build error in external/com_google_cel_cpp/eval/public/containers/container_backed_map_impl.cc in Envoy 1.19.1 release

Title: Build error in external/com_google_cel_cpp/eval/public/containers/container_backed_map_impl.cc for v1.19.1 branch.
build command: bazel build -c opt --strip=always //source/exe:envoy
Description: I have cloned the envoy 1.19.1 release using the below command:
git clone -b v1.19.1 https://github.com/envoyproxy/envoy
My environment is ubuntu 18.04.1. When I try to the build the code using the mentioned build command, I see the build failure which is as follows:
2021/11/23 04:34:34 Downloading https://releases.bazel.build/4.1.0/release/bazel-4.1.0-linux-x86_64...
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
DEBUG: /home/ubuntu/.cache/bazel/_bazel_ubuntu/201dace3fe891a3f02bfdb4cf508e497/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /home/ubuntu/.cache/bazel/_bazel_ubuntu/201dace3fe891a3f02bfdb4cf508e497/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /home/ubuntu/.cache/bazel/_bazel_ubuntu/201dace3fe891a3f02bfdb4cf508e497/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /home/ubuntu/.cache/bazel/_bazel_ubuntu/201dace3fe891a3f02bfdb4cf508e497/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
DEBUG: /home/ubuntu/.cache/bazel/_bazel_ubuntu/201dace3fe891a3f02bfdb4cf508e497/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:68:14:
Current running Bazel is ahead of bazel-toolchains repo. Please update your pin to bazel-toolchains repo in your WORKSPACE file.
INFO: SHA256 (https://golang.org/dl/?mode=json&include=all) = 1c53e7c14eab06063ca7335859192fc63ad549b74c74473a218a69ca3f293231
INFO: Analyzed target //source/exe:envoy (766 packages loaded, 42811 targets configured).
INFO: Found 1 target...
INFO: From Executing genrule @com_lightstep_tracer_cpp//:generate_version_h:
CMake Warning at CMakeLists.txt:74 (message):
WITH_GRPC is not set; building without dynamic loading support.
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.5mdOTvfLjM
-- Cache values
BUILD_SHARED_LIBS:BOOL=ON
BUILD_STATIC_LIBS:BOOL=ON
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
DEFAULT_SSL_ROOTS_PEM:STRING=
HEADERS_ONLY:BOOL=ON
WITH_CARES:BOOL=OFF
WITH_DYNAMIC_LOAD:BOOL=ON
WITH_GRPC:BOOL=OFF
WITH_LIBEVENT:BOOL=OFF
INFO: From Executing genrule @io_opentracing_cpp//:generate_version_h:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- clang-tidy not found.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.Y5A9jFm44d
-- Cache values
BUILD_DYNAMIC_LOADING:BOOL=ON
BUILD_MOCKTRACER:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=ON
BUILD_STATIC_LIBS:BOOL=ON
BUILD_TESTING:BOOL=OFF
CLANG_TIDY_EXE:FILEPATH=CLANG_TIDY_EXE-NOTFOUND
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
ENABLE_LINTING:BOOL=ON
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/zlib/include [for host]:
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/zlib/include:
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/zlib/include:
INFO: From CcConfigureMakeRule external/envoy/bazel/foreign_cc/luajit/include/luajit-2.1:
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/nghttp2/include:
INFO: From Compiling opencensus/trace/internal/local_span_store_impl.cc:
external/io_opencensus_cpp/opencensus/trace/internal/local_span_store_impl.cc: In member function 'std::vectoropencensus::trace::exporter::SpanData opencensus::trace::exporter::LocalSpanStoreImpl::GetLatencySampledSpans(const LatencyFilter&) const':
external/io_opencensus_cpp/opencensus/trace/internal/local_span_store_impl.cc:130:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (out.size() >= filter.max_spans_to_return) break;
~^~~~~~~~~~~~~~~~~~~
external/io_opencensus_cpp/opencensus/trace/internal/local_span_store_impl.cc: In member function 'std::vectoropencensus::trace::exporter::SpanData opencensus::trace::exporter::LocalSpanStoreImpl::GetErrorSampledSpans(const ErrorFilter&) const':
external/io_opencensus_cpp/opencensus/trace/internal/local_span_store_impl.cc:144:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (out.size() >= filter.max_spans_to_return) break;
~^~~~~~~~~~~~~~~~~~~
INFO: From Compiling opencensus/trace/internal/b3.cc:
external/io_opencensus_cpp/opencensus/trace/internal/b3.cc: In function 'bool opencensus::trace::propagation::{anonymous}::IsHexDigits(absl::string_view)':
external/io_opencensus_cpp/opencensus/trace/internal/b3.cc:36:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.length(); ++i) {
^~~~~~~~~~
INFO: From Compiling source/utils/random_generator.cc:
external/com_github_skyapm_cpp2sky/source/utils/random_generator.cc: In member function 'void cpp2sky::RandomGeneratorImpl::randomBuffer(char*, size_t)':
external/com_github_skyapm_cpp2sky/source/utils/random_generator.cc:92:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (auto i = 0; i < len; ++i) {
^~~
INFO: From Compiling src/exports.cc:
In file included from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm_vm.h:24:0,
from external/proxy_wasm_cpp_host/include/proxy-wasm/exports.h:21,
from external/proxy_wasm_cpp_host/include/proxy-wasm/wasm.h:28,
from external/proxy_wasm_cpp_host/src/exports.cc:16:
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h: In function 'proxy_wasm::Word proxy_wasm::exports::get_header_map_pairs(void*, proxy_wasm::Word, proxy_wasm::Word, proxy_wasm::Word)':
external/proxy_wasm_cpp_host/include/proxy-wasm/word.h:28:28: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized]
Word(uint64_t w) : u64_(w) {}                          // Implicit conversion into Word.
^
external/proxy_wasm_cpp_host/src/exports.cc:78:12: note: 'ptr' was declared here
uint64_t ptr;
^~~
INFO: From Compiling opencensus/trace/internal/span_exporter_impl.cc:
external/io_opencensus_cpp/opencensus/trace/internal/span_exporter_impl.cc: In member function 'bool opencensus::trace::exporter::SpanExporterImpl::IsBatchFull() const':
external/io_opencensus_cpp/opencensus/trace/internal/span_exporter_impl.cc:68:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return spans_.size() >= cached_batch_size_;
^~~~~~~
INFO: From Compiling runtime/Cpp/runtime/src/NoViableAltException.cpp:
In file included from external/antlr4_runtimes/runtime/Cpp/runtime/src/NoViableAltException.cpp:8:0:
external/antlr4_runtimes/runtime/Cpp/runtime/src/NoViableAltException.h: In constructor 'antlr4::NoViableAltException::NoViableAltException(antlr4::Parser*, antlr4::TokenStream*, antlr4::Token*, antlr4::Token*, antlr4::atn::ATNConfigSet*, antlr4::ParserRuleContext*, bool)':
external/antlr4_runtimes/runtime/Cpp/runtime/src/NoViableAltException.h:39:12: warning: 'antlr4::NoViableAltException::_startToken' will be initialized after [-Wreorder]
Token *_startToken;
^~~~~~~~~~~
external/antlr4_runtimes/runtime/Cpp/runtime/src/NoViableAltException.h:33:10: warning:   'bool antlr4::NoViableAltException::_deleteConfigs' [-Wreorder]
bool _deleteConfigs;
^~~~~~~~~~~~~~
external/antlr4_runtimes/runtime/Cpp/runtime/src/NoViableAltException.cpp:17:1: warning:   when initialized here [-Wreorder]
NoViableAltException::NoViableAltException(Parser *recognizer, TokenStream *input,Token *startToken,
^~~~~~~~~~~~~~~~~~~~
INFO: From Compiling runtime/Cpp/runtime/src/RuleContext.cpp:
In file included from external/antlr4_runtimes/runtime/Cpp/runtime/src/RuleContext.cpp:10:0:
external/antlr4_runtimes/runtime/Cpp/runtime/src/atn/ATNState.h:73:26: warning: type attributes ignored after type is already defined [-Wattributes]
class ANTLR4CPP_PUBLIC ATN;
^~~
INFO: From Compiling opencensus/trace/internal/cloud_trace_context.cc:
external/io_opencensus_cpp/opencensus/trace/internal/cloud_trace_context.cc: In function 'bool opencensus::trace::propagation::{anonymous}::IsHexDigits(absl::string_view)':
external/io_opencensus_cpp/opencensus/trace/internal/cloud_trace_context.cc:38:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.length(); ++i) {
^~~~~~~~~~
INFO: From Compiling opencensus/trace/internal/trace_context.cc:
external/io_opencensus_cpp/opencensus/trace/internal/trace_context.cc: In function 'bool opencensus::trace::propagation::{anonymous}::IsLowercaseHexDigits(absl::string_view)':
external/io_opencensus_cpp/opencensus/trace/internal/trace_context.cc:34:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.length(); ++i) {
^~~~~~~~~~
INFO: From Compiling opencensus/trace/internal/running_span_store_impl.cc:
external/io_opencensus_cpp/opencensus/trace/internal/running_span_store_impl.cc: In member function 'std::vectoropencensus::trace::exporter::SpanData opencensus::trace::exporter::RunningSpanStoreImpl::GetRunningSpans(const opencensus::trace::exporter::RunningSpanStore::Filter&) const':
external/io_opencensus_cpp/opencensus/trace/internal/running_span_store_impl.cc:86:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (running_spans.size() >= filter.max_spans_to_return) break;
~^~~~~~~~~
INFO: From CcCmakeMakeRule bazel/foreign_cc/nghttp2/include:
INFO: From CcCmakeMakeRule external/envoy/bazel/foreign_cc/ares/include:
INFO: From Compiling hessian2/basic_codec/date_codec.cc:
In file included from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.cc:1:0:
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:23:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:49:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.cc:68:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.cc:122:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
INFO: From Compiling hessian2/basic_codec/class_instance_codec.cc:
In file included from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/object_codec.hpp:11:0,
from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/class_instance_codec.hpp:5,
from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/class_instance_codec.cc:1:
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:23:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:49:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
INFO: From Compiling hessian2/basic_codec/list_codec.cc:
In file included from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/object_codec.hpp:11:0,
from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/list_codec.hpp:5,
from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/list_codec.cc:1:
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:23:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:49:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
INFO: From Compiling hessian2/basic_codec/map_codec.cc:
In file included from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/object_codec.hpp:11:0,
from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/map_codec.hpp:5,
from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/map_codec.cc:1:
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:23:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:49:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
INFO: From Compiling hessian2/basic_codec/object_codec.cc:
In file included from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/object_codec.hpp:11:0,
from external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/object_codec.cc:1:
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:23:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
external/com_github_alibaba_hessian2_codec/hessian2/basic_codec/date_codec.hpp:49:5: warning: "_LIBCPP_STD_VER" is not defined, evaluates to 0 [-Wundef]
#if _LIBCPP_STD_VER > 17
^~~~~~~~~~~~~~~
ERROR: /home/ubuntu/.cache/bazel/_bazel_ubuntu/201dace3fe891a3f02bfdb4cf508e497/external/com_google_cel_cpp/eval/public/containers/BUILD:40:11: Compiling eval/public/containers/container_backed_map_impl.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 36 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
external/com_google_cel_cpp/eval/public/containers/container_backed_map_impl.cc: In static member function 'static absl::StatusOr<std::unique_ptrgoogle::api::expr::runtime::CelMap > google::api::expr::runtime::{anonymous}::ContainerBackedMapImpl::Create(absl::Span<std::pair<google::api::expr::runtime::CelValue, google::api::expr::runtime::CelValue> >)':
external/com_google_cel_cpp/eval/public/containers/container_backed_map_impl.cc:114:12: error: could not convert 'cel_map' from 'std::unique_ptr<google::api::expr::runtime::{anonymous}::ContainerBackedMapImpl, std::default_deletegoogle::api::expr::runtime:{anonymous}::ContainerBackedMapImpl >' to 'absl::StatusOr<std::unique_ptrgoogle::api::expr::runtime::CelMap >'
return cel_map;
^~~~~~~
Target //source/exe:envoy-static failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 367.245s, Critical Path: 327.05s
INFO: 1819 processes: 145 internal, 1673 linux-sandbox, 1 worker.
FAILED: Build did NOT complete successfully
Could you please help me in getting this issue fixed?

cc @lizan

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
This might be too old for 1.19, try use GCC 9.x or Clang 10.x

Thanks @lizan. Will try with the upgraded GCC version.

Its working with the upgraded gcc version. Thanks.


CMDCT-159 Update due date calculation

Description

This change

adds a method to the create API to calculate the due date for a given Work Plan or SAR report
removes the calculateDueDate method from the ui-src time file
adds tests to verify if a given year is a leap year
adds tests to verify the due date is calculate correctly for a Work Plan or a SAR report created in Period 1 or Period 2

Related ticket(s)

CMDCT-159
Due Date Logic:

WP due date is May 1 for Period 1, and Nov 1 for Period 2
SAR due date for Period 1{*}: 60 days from June 30, due date is Aug 29.
SAR due date for Period 2{*}: 60 days from December 31(for a non leap year Mar 1, for leap years it’s Feb 29).

How to test

login as state user
create work plan
check that the due date is correct

https://github.com/Enterprise-CMCS/macpro-mdct-mfp/assets/9246062/023e2859-5865-43c7-b28c-2c55f494a8f0
Note: I am not sure why my SAR report looks a bit jank and doesn't have a due date on the frontend. Perhaps it is because the WP is not actually completed? Happy to put up more commits if I need to change something to fix this
Important updates

Author checklist

[X] I have performed a self-review of my code
[X] I have added thorough tests, if necessary
[X] I have updated relevant documentation, if necessary

convert to a different template: test → val | val → prod

Do you have the latest from main in this PR?

Do you have the latest from main in this PR?

ah, i dont think i do! i can pull the latest changes from main


Added Fetch Block Information

Added a new Functionality to the caravan/Clients library
function: getBlockInformation(Blockhash)

Hey I did not understand what do you mean by add a test ?

should i add a screenshot while testing it or
should write code to test it ?

@bucko13 added Test for getBlockInformation!

Thanks! Last bit, make sure to add a changeset so the changes will be available via npm. See the bot message.