Add continuous opt runs

run_tests -n inf -f -c opt -l all
with errors flagged
This should be run continuously on whatever is at head on master.

This has a lot of language labels on it and also has "FOR DISCUSSION". What is to be done by each language for this issue, and what is to be discussed?

FOR DISCUSSION was a label we used during a meeting a few weeks ago when deciding whether to include something in Beta or not. It looks like we didn't get to this one, but I suspect the impact it'll make to our beta milestone is inconsequential at this point. Moving to GA unless someone feels strongly otherwise.

(lots of wrapped languages because the point of this is to help out all the implementations by shaking out flakes earlier and faster)

(meaning there's probably little if anything for wrapped language folks to actually do)

We seem to have this now. Is this OK to close?

OK, I think this is resolved with the current Jenkins master build. If someone thinks there is still work to be done here, they can reopen it.


basic-text

Basic text for home page plus a new section for rendering using hyperpython.

As a preview, here is the rendered version

I'm not familiar with Hyperpython, but it may be worth looking at Nteract's VDOM as well for comparison. Admittedly, it looks like Hyperpython has great documentation, but VDOM has already been integrated into Jupyterlab, so it's got some solid support behind it as a "standard" of sorts.

@rmorshea  Thanks for the comment. I might take a look. hyperpython has a number of dependencies which don't seem to install quite correctly. Didn't know jupyterlab shipped with VDOM.
Sure wish there was a dependency-free renderer.

If by "dependency-free" you mean something that's not tied to the Jupyter ecosystem, that's pretty much what I've made for IDOM. Haven't released it on NPM yet though:
https://github.com/rmorshea/idom/tree/master/src/js/packages/idom-layout


Have option to show :doc and fallback to :type

Another feature request copied from https://github.com/hoovercj/vscode-ghc-mod
It has a preference:   haskell.ghcMod.onHover, which can be set to fallback mode where it does :info, then falls back to type if :info returns nothing.
My request is to have a fallback mode for vscode-idris, that shows the :doc output on type-hover.
That way the user sees the richest possible information on type hover.

Thanks, I also notice this feature this afternoon, it will be supported in the next release!

This is the last issue need to be addressed before the new release, also need some documentation adding up for the consistency.


Fine tuning the wording in the disclaimer

I think the library has transcended self-study and has become a useful library for mapper.

Also, this is a minor change that should test if travis is working correctly.


[CT-2617] [Bug] Database Error   Invalid region provided: net

Is this a new bug in dbt-core?

[ ] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
Command:
#dbt --no-use-colors  test --project-dir /home/me/projects/pycharm/dbt/dbt/integration_middleware/ --profiles-dir /home/me/projects/pycharm/dbt/dbt/integration_middleware/
06:29:22  Running with dbt=1.5.1
06:29:23  Found 31 models, 60 tests, 0 snapshots, 0 analyses, 348 macros, 0 operations, 0 seed files, 0 sources, 0 exposures, 0 metrics, 0 groups
06:29:23
06:29:23
06:29:23  Finished running  in 0 hours 0 minutes and 0.03 seconds (0.03s).
06:29:23  Encountered an error:
Database Error
  Invalid region provided: net

dbt --version
Core:
  - installed: 1.5.1
  - latest:    1.5.1 - Up to date!

Plugins:
  - postgres: 1.5.1 - Up to date!
  - redshift: 1.5.2 - Up to date!

This works fine after downgrading the version to:
dbt --version
Core:
  - installed: 1.4.6
  - latest:    1.5.1 - Update available!

  Your version of dbt-core is out of date!
  You can find instructions for upgrading here:
  https://docs.getdbt.com/docs/installation

Plugins:
  - postgres: 1.4.6 - Update available!
  - redshift: 1.4.0 - Update available!

Expected Behavior
The dbt tests are run.
Steps To Reproduce
Upgrade dbt to said version and execute the tests on a Redshift project with the command I stated.
The profiles.yml (originally generated by airbyte) looks like this:
config:
  partial_parse: true
  printer_width: 120
  send_anonymous_usage_stats: false
  use_colors: true
normalize:
  outputs:
    prod:
      dbname: MYDB
      host: MYHOST
      pass: MYPASS
      port: MYPORT
      schema: MYSCHEMA
      threads: 1
      type: redshift
      user: MYUSER
  target: prod

Relevant log output
No response
Environment
- OS:Ubuntu 20.04
- Python:3.10.6
- dbt:1.5.1

Which database adapter are you using with dbt?
postgres, redshift
Additional Context
No response

Looks like with 1.5 version it is required to add region: "xx-xxxx-x" to the profiles.yml if the region cannot be parsed out from host url.
This is what I found in documentation:
region: [optional, if not provided, will be determined from host (e.g. host.123.us-east-1.redshift-serverless.amazonaws.com)]

@sankeerth1988 Oh, interesting. I'll try that out as a workaround.
To clarify if I should remove the bug label or not - does dbt follow a versioning schema that includes backwards compatibility breaking changes in minor version updates or was that added by accident?

I can confirm that the workaround proposed by sankeerth is valid.

@Auric-Manteo I feel like it is a bug in that it's not backward compatible and the documentation is not clear in specifying it is required in certain cases.


sdlog2: Use more appropriate priorities and locking strategies.

@tumbili Please test with 250 Hz on your hardware (you need to apply this change manually below):
diff --git a/ROMFS/px4fmu_common/init.d/rc.logging b/ROMFS/px4fmu_common/init.d/rc.logging
index 5ba669f..12312a1 100644
--- a/ROMFS/px4fmu_common/init.d/rc.logging
+++ b/ROMFS/px4fmu_common/init.d/rc.logging
@@ -18,7 +18,7 @@ then
                        then
                        fi
                else
-                       if sdlog2 start -r 100 -a -b 12 -t
+                       if sdlog2 start -r 250 -a -b 12 -t
                        then
                        fi
                fi

I think before bumping the priority we need to check all modules' priorities because sdlog2 should never make anything else delay.

Which is what I already did.

Ok, and do I understand correctly that you bumped the priority of the sdlog2_writer task while also changing the param which sets the priority of sdlog2 task?
This means both have higher priorities but the writer itself is still lower than DEFAULT, right?

Yes, that's pretty much the change set

Ok looks good to me then.

@tumbili Does this work in practice?

@LorenzMeier My first test was not promising. Lost lots of data.

Rebased and applied. Will need more work, but certainly better than what we had.


Improve CsvPayload

StreamInterface is no longer left in detach mode
You can configure Csv control characters
You can configure Csv parsedBody returned type
Updated tests
Improve phpunit with code coverage added

Thank you 👍


Travertine Add 1.5.2 1.4.7 Version like ProtocolSupport

I would like to edit the travertine myself; but i don't know how to start and the real github code looks incomplete from both the bungeecord, waterfall and travertine;
Could you provide me with the code you work with?
My JD GUi decompiles everything wrong and I have to fix it manually; does it have a decompiler that does not have to work manually to correct the decompilation errors?
To downgrade to 1.5 to test for errors I just need to copy the same structure as 1.7?
Minecraft works with json? could i test the errors by seeing the json structure changes or is there a connection testing tool that analyzes the network data byte by byte?

compile as per the readme, you'll then have the source


Add Operation.SpanKind support

Requirement - what kind of business use case are you trying to solve?
I ran jaeger grpc-plugin integration tests with this plugin and it failed.
Problem - what in Jaeger blocks you from solving the requirement?
Integration test failed because this plugin doesn't support jaeger/spanstore.Operation.SpanKind.

I think it's needed to store tag keys separate from values in index table. @pavolloffay is this okay?

Integration test failed because this plugin doesn't support jaeger/spanstore.Operation.SpanKind.

What do you exactly mean by this? The storage plugin wasn't able to query data based on the span kind? It's an implementation detail how the span kind will be queried.

What do you exactly mean by this?

Jaeger wrote spans with span.kind tag, but GetOperations retrieved operations with empty SpanKind field.

It's not necessary to implement this by now, but I guess it's better to do this anyway.


:port in config is nil

I have set up a fresh install. Everything went well, until the last step:
[root@Asteria]% MIX_ENV=prod mix phoenix.server
23:25:11.446 [error] Server can't start because :port in config is nil, please use a valid port number
23:25:11.547 [info] Application news exited: News.start(:normal, []) returned an error: shutdown: failed to start child: News.Endpoint
    ** (EXIT) shutdown: failed to start child: Phoenix.Endpoint.Server
        ** (EXIT) shutdown
{"Kernel pid terminated",application_controller,"{application_start_failure,news,{{shutdown,{failed_to_start_child,'Elixir.News.Endpoint',{shutdown,{failed_to_start_child,'Elixir.Phoenix.Endpoint.Server',shutdown}}}},{'Elixir.News',start,[normal,[]]}}}"}

Crash dump is being written to: erl_crash.dump...done

Obviously I checked config.exs,  site.exs, and prod.exs, but everything was set up correctly… Do you happen to have any idea?

On prod env, the port is set using the PORT environment variable (config/prod.exs#L15) :
PORT=4000 MIX_ENV=prod mix phoenix.server

See the Phoenix docs on deployment too.

Okay, thanks for the tip.


Aserto.DSLoad.v0.30.4

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Actual hash:   467E43195174B1B456DE18E4469D198F7F6407E4CAD1F084C1B20BB1F91579B8
Expected hash: 6c9a8266780af2933d5a7fc3850ad11125a192eaa1b702b709a5a645ef5d7817

(Automated response - build 684.)

Automatic Validation ended with:

No errors to post.

(Automated response - build 694.)

@wingetbot waivers Add Validation-Executable-Error


feat: only subscribe to short lived subnets 2 slots in advanced

Motivation

Right now if we have aggregator duty at epoch n we'll subscribe at the start of epoch n-1 which is a waste of cpu and bandwidth

Description

We still search for subnet peers at the start of epoch n - 1, that makes topic peers available, so it does not take time to get stable mesh peers
Subscribe to dutied subnet 2 slots before dutied slot
Use the current aggregatorSlotSubnet map, check it per clock slot to subscribe

Closes #5757
Test

The produced aggregate has same number of participants on all nodes, for example 1v

vs unstable

For short lived subnets, we subscribed in very short period

vs unstable

average number of mesh peers are good, this is on 1v node

:tada: This PR is included in v1.10.0 :tada:


where to download the data for Isotropic Reconstruction

Hi! Thanks for the wonderful work!
Sorry for the bother, I'm a little confused about the dataset for isotropic reconstruction. When I download the MICrONS and Openorgnelle liver dataset, neither of them appears in the required data structure format.
Also, for FANC dataset, am I suppose to download the dataset, or can I simply import the data using channel = array("bossdb://phelps_hildebrand_graham2021/FANC/em")?
I'm wondering if you could kindly provide a more detailed instruction about the downloading of these three datasets, such as the specific download webpage link.
Sorry again for the bother!

Thanks for your timely help!
Sorry to interrupt again. I'm still a little confused about how to set the parameters. When I download the FANC dataset using:
save_path='/home/rayne/datasets/EMDiffuse/isotropic_reconstruction/FANC'
os.makedirs(save_path, exist_ok=True)

em = array("bossdb://phelps_hildebrand_graham2021/FANC/em")

z_start=1000
y_start=1000
x_start=1000
train_z_patch_size=256
train_patch_size=2048
img_sample = em[z_start:z_start + train_z_patch_size , y_start:y_start + train_patch_size, x_start:x_start + train_patch_size]

# split
for i in range(train_z_patch_size):
    img_slice = img_sample[i, :, :]
    imwrite(os.path.join(save_path, str(i) + '.tif'), img_slice)

I got completely black images, I'm wondering whether I've set the parameters ('z_start' and so on) wrong. Could you give me a hint about it?
Or could you provide the download code for the MICrONS, Openorgnelle liver or FANC datasets? Thanks veeeeery much!

Because the border region of the original dataset is completely black. You should set a larger x_start and y_start (e.g., 10000). Or you may select a region of interests you want to explore. You can get the preview of the dataset in neuronglance (https://neuroglancer.bossdb.io/#!{"layers":[{"source":"boss://https://api.bossdb.io/phelps_hildebrand_graham2021/FANC/em"%2C"type":"image"%2C"name":"FANC"}]%2C"navigation":{"pose":{"position":{"voxelSize":[4.300000190734863%2C4.300000190734863%2C45]%2C"voxelCoordinates":[23697.609375%2C116496.1171875%2C1228]}}%2C"zoomFactor":8.154868142736303}%2C"showAxisLines":false%2C"layout":"xy"}). The x y corrdinate is shown on the top left corner


Move deploy.php to subdir

I create a recipe for Drupal 7, this recipe is complex and use external libraries, for example, for crate the drupal settings.php file and upload it.
I dont want my recibe files in the project's root dir, i move them to .deployer, but deploy.php still in root dir.
is it posible move deploy.php search to this subfolder?
And i want to share my drupal 7's recipe, how i do? Creating a fork?

generally, I'd simply remove deploy.php and libraries in subdir in some task, maybe even right after deploy:update_code. That would actually be sane thing to do - in my rsync recipe, by default deploy.php is ignored from syncing.
And that brings us to recipe - generally I'd recommend creating fork & PR against deployphp/recipes, however since it's framework specific, maybe @deployphp/maintainer (pinging @elfet - have I linked that correctly)  would rather suggest fork and PR against deployphp/deployer :smiling_imp:

I don't know this is what you want or not. But I do like this:
https://github.com/kenjis/codeigniter-deployer/tree/master/deploy
For your information.

Thanks a lot @kenjis it's a great solution. I was looking for a solution like rocketter who put evey deply files in a folder. In this case, It's easy add the folder to .gitignore, but your solution es similar, i'll try it

I think you can try:
$ bin/dep -f=path/to/deploy.php

and file deploy.php will be in anywhere :smile:

Can anyone add docs about -f? :sunglasses:


Support v2 of dashboard

Hi,
we've released v2 our dashboard. The only change are the updated requirements: we now require Laravel v8 and Livewire v2.
Could you please tag a new release of your tile?
In most cases these are the things you need to do:

update the requirement in the composer.json of your tile to spatie/laravel-dashboard": "^2.0
tag a new release. Personally, I would opt for a major release, so you can still do bug fixes on the v1 of your tile.

Thanks!

Version has been updated and tested for v2.


Artifacts.loadViaParser(..) should also (automatically) accept files with '.txt' suffixes

And parsing of ps-aux file should be sensitive to the non-daemon cassandra/dse processes that can be running.

I know, I agree.  I will come back to adding units.


fix(version): update fabric8-stack-analysis-ui to 0.1.25

There were the following issues with your Pull Request

Commit: 43aa2c55145dddde58dfc0fc04d596e503c65d37
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com


do not create global destination rule when automtls enabled

Please provide a description for what this PR is for.
global DestinationRule is not required when automTLS is enabled
related PR: https://github.com/istio/istio/pull/17621
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@GregHanson: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-pilot-local-tests_istio
b165d74c94aae790a5a296a06562857b41811f23
link
/test integ-pilot-local-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@GregHanson: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-pilot-local-tests_istio
b165d74c94aae790a5a296a06562857b41811f23
link
/test integ-pilot-local-tests_istio

integ-mixer-k8s-tests_istio
b165d74c94aae790a5a296a06562857b41811f23
link
/test integ-mixer-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-local-tests_istio


[WIP]feat : Add tests for JSON parsing

Fixes #1807
Changes:

Add test for JSON parsing
Removed  JSON property ignore annotations from method because it is redundant as object mapper is configured for ignoring it. https://github.com/fossasia/open-event-android/blob/development/android/app/src/main/java/org/fossasia/openevent/activities/MainActivity.java#L671
Also for tests to actually work we should not add JSON ignore property annotation in model

@iamareebjamal @arp95 @rohanagarwal94 @shreyasnbhat Please review.
Also need some help here. How can i access assets in Test ? So that i can actually test sample event jsons.

Check this out.
https://stackoverflow.com/questions/26804651/how-to-access-files-from-assets-folder-during-tests-execution
Sent from my OnePlus ONEPLUS A5000 using FastHub

Using roboelectric will be an overkill and it'll take time. What you can do is copy the json in tests/resources and use standard class loader to load these

these tests are only for samples created by me and mahika?
because in reality we an event organiser would enter the required info in the frontend and then he/she will export the json which i think would always be correct and in case of any errors it would be their job to check.
right?

@arp95 No it is not only for samples. I have added json strings according to Open Event Universal Format. Current model are able to parse it successfully. Suppose someone plays with Models in future then this tests will ensures that they don't break JSON parsing.
In short these tests will ensure that models are able to parse Open Event Universal Format JSONs.

@iamareebjamal Is there any other way to directly use(Shared) Main source sets assets in Test. Because if i copy jsons to tests/resources then it will make sample inconsistent i mean we will need to maintain both resources.

yes @Shailesh351.
also maintaining both resources shouldnt be a prob because if the format changes we ultimately have to change the test for that too

@iamareebjamal @arp95 @rohanagarwal94 @shreyasnbhat Please review.

I thought same. Removing it. :+1:

@iamareebjamal @arp95 @mahikaw @rohanagarwal94 @shreyasnbhat Please review.

I think ObjectMapper will handle it. Can you please elaborate if i have missed something ?

We have to test that the booleans are mapped correctly and our mapper is handling relationships correctly

@iamareebjamal Updated

To test that Boolean attributes are mapped properly and relationships are  handled properly I have to add sample with some data. Because using fossasia sample from the assets will created problem on getting size of object in realtionship which is too large like track-sessions, speaker-sessions.

But this will create a problem of maintaining test data too. What exactly is the problem with too large of a size?

@iamareebjamal Problem is that if we are testing sample speakers from assets for boolean and relationship then firstly we need to count how many speakers object it have.
assertEquals(1, speakers.size());
And for boolean field like is-featured some speaker can have true value and some false. So it will create problem for assertTrue(speakers.get(0).getIsFeatured());.
Regarding creating sample data for test it is very small containing only one or two objects so maintaining it will not create problem. If json format changes than we will just need to update fields.

We don't have to verify size. We will just see statically that which session has which property and assert it. The thing is that I know that you will take care of updating the tests but what if in future someone comes and none of the maintainers remembers that test JSON have to be updated too. Tests will not fail but the app will have inconsistent data.
Don't assert size, just verify that the list is not empty and specific fields bound to be error prone


CODE_OF_CONDUCT always created

It appears the the CODE_OF_CONDUCT.md file is created even when n is selected on the first run
vagrant@vagrant-ubuntu-trusty-64:~/tmp$ bundle gem test
Creating gem 'test'...
Do you want to include a code of conduct in gems you generate?
Codes of conduct can increase contributions to your project by contributors who prefer collaborative, safe spaces. You can read more about the code of conduct at contributor-covenant.org. Having a code of conduct means agreeing to the responsibility of enforcing it, so be sure that you are prepared to do that. For suggestions about how to enforce codes of conduct, see bit.ly/coc-enforcement. y/(n): n
Do you want to license your code permissively under the MIT license?
This means that any other developer or company will be legally allowed to use your code for free as long as they admit you created it. You can read more about the MIT license at choosealicense.com/licenses/mit. y/(n): y
Do you want to generate tests with your gem?
Type 'rspec' or 'minitest' to generate those test files now and in the future. rspec/minitest/(none): rspec
      create  test/Gemfile
      create  test/.gitignore
      create  test/lib/test.rb
      create  test/lib/test/version.rb
      create  test/test.gemspec
      create  test/Rakefile
      create  test/README.md
      create  test/bin/console
      create  test/bin/setup
      create  test/CODE_OF_CONDUCT.md
      create  test/LICENSE.txt
      create  test/.travis.yml
      create  test/.rspec
      create  test/spec/spec_helper.rb
      create  test/spec/test_spec.rb
Initializing git repo in /home/vagrant/tmp/test
vagrant@vagrant-ubuntu-trusty-64:~/tmp$

vagrant@vagrant-ubuntu-trusty-64:~/tmp$ cat ~/.bundle/config
---
BUNDLE_GEM__COC: false
BUNDLE_GEM__MIT: true
BUNDLE_GEM__TEST: rspec
vagrant@vagrant-ubuntu-trusty-64:~/tmp$

Subsequent bundle gem XXX calls don't create it
vagrant@vagrant-ubuntu-trusty-64:~/tmp$ bundle gem test2
Creating gem 'test2'...
      create  test2/Gemfile
      create  test2/.gitignore
      create  test2/lib/test2.rb
      create  test2/lib/test2/version.rb
      create  test2/test2.gemspec
      create  test2/Rakefile
      create  test2/README.md
      create  test2/bin/console
      create  test2/bin/setup
      create  test2/LICENSE.txt
      create  test2/.travis.yml
      create  test2/.rspec
      create  test2/spec/spec_helper.rb
      create  test2/spec/test2_spec.rb
Initializing git repo in /home/vagrant/tmp/test2
vagrant@vagrant-ubuntu-trusty-64:~/tmp$

Partially related to https://github.com/bundler/bundler/issues/3435

ಠ_ಠ

Should mention i replicated this under v1.8 and v1.8.2
Didn't test any other versions

Thanks for the bug report! We'll get this fixed as soon as we can.

 Are you kidding me?

@shortdudey123 may as well open a PR to get this fixed. :smile:

https://github.com/bundler/bundler/issues/3435 '
I'll say it one more time: the default is NO. The file is not included unless the user actively types "yes"
and then you locked the thread @indirect
lol

@kirs are you able to look at this?

Sure, I will try to do it on this week.

@TimMoore done!


Fix typo

Thanks for bringing this up.
The phpdocs are generated based on the librdkafka documentation - see e.g. https://github.com/edenhill/librdkafka/blob/master/src/rdkafka.h#L1739.
The typos have to be fixed there.


Teams Cards?

Hi guys,
How can I use something like (adaptive-card) this:
https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-reference
Should I just instantiate it and return it in a chat method? Or ?

Hi Nino,
All of the example bots will render their forms using adaptive cards.  Claim Bot, Broadcast Bot are good ones to look at the code for - just check the examples part of the repo.
Generally, when Spring Bot needs to display a form, it creates one on-the-fly by reflectively examining the object being sent.
Whenever Spring Bot creates an adaptive card form (or any other template) it'll be output at runtime to stdout by default.  This is useful because it allows you to capture that template and then load it up in a tool like this one: https://adaptivecards.io/designer/
You can customise the adaptive card template however you want and then save it into the src/main/resources/templates/teams directory of your bot.
Use the @Template annotation on the bean to tell Spring bot to use your template instead of generating one.
A good example of where this is done is the poll-bot in the tools directory.  Take a look at Question.java and see how it sets the template up.
Does that help?

thanks thats right on the spot!


Feature: Layer and volumeLayer registration is trackable

Allow external/dependent projects to listen for layer types to register themselves. This fixes a race condition where a Viewer would be created and its state set to show some layers (e.g. 'image' and 'mesh') before the layers had time to register themselves.

TrackableMap looks like a potentially useful addition.  However, I think your particular issue can be solved more easily by delaying the running of your setup code, e.g. whatever creates Viewer instances.  For example, in src/main.ts used for the demo viewer, the setup code is run as an event handler for DOMContentLoaded.

I had tried the delay approach, but unfortunately there were a few issues:

we don't have much control over when/how soon the angular code runs
I tried setting arbitrary delays of up to 1500ms and was still occasionally seeing it
I'm using code splitting in my webpack config to keep recompile times down, which means that some code is asynchronously loaded after the DOMContentLoaded

There's no functional change to Neuroglancer itself other than exposing these events as NullarySignals, but if you prefer I can keep the changes in the annotation-specific branch of Neuroglancer.

Is all of the neuroglancer code not contained in a single bundle?  In the default neuroglancer webpack configuration, incremental rebuild via the webpack-dev-server seems to be pretty fast, though maybe that doesn't work as well with angular2.  Can you just have the initialization code (that creates the Viewer instances) run after both the DOMContentLoaded event and the neuroglancer bundle has loaded?  It just seems like you will run into more unexpected behavior if you are trying to use neuroglancer as a library in a partially initialized/partially loaded state.


Next Update?

I see we are still on 2.4, but there are more fixes and stuff for Euphoria, etc. My question is when is the next update/why aren't we updating to 2.5?

The euphoria stuff does not work currently and I have no time to fix it. Updating would mean to release a broken version, which is bad.


Create debian Vagrantbox for Go Client, bootstrap to host from git repo on boot

This is the first stage for our vagrantbox/vm port for pythia

I now need to boot the vagrantbox from the packer base template which will be set to ARM based processors.
This currently fowards the host port to 8085 and installs pythia. The VM bridge must be binded to the TCP port of the miner which must be implemented


Add DHT sensor functionality

Hi flyte
I really liked your repo, i added DHT sensor.
PS: This is my very first contribution :)

Hi Flyte,
I agree with your suggestion, so I added the options to the config.
Please check if it fits.

Great! Thanks for the changes.
What I think I'll do is add an options schema for the sensor, so that we can make sure we always get a valid config for the options dict. That way, each sensor can have a mechanism for ensuring it gets the right configuration. I'll try to get this done before making the next release. (This is here mostly for my own reference!)

@magyarl I've merged the options config dict into the main input_config dict, since that's how we're doing it for all of the other extra config options required by modules. I've tested as much as I can without hooking up a sensor to my Pi, but please could you test out the latest commits on develop?
Make sure to double-check the readme for an example of the new schema. Also note that I've changed sensor_type to type in the sensor_modules config section.


Fix/copy local

When testing this issue locally, I encountered this infamous error:
ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'true'. Current value: 'false'

Steps to reproduce:

take a platform workflow, copy to local
open local version, make changes, save
keeping the local workflow open, do "copy to local" on the platform workflow again, replacing the local one

The workflow is replaced, but this error occurs.

@nikolabulatovic, this PR looks good to me, except ExpressionChangedAfterItHasBeenCheckedError issue is still present.


Provide an example of feed on a dynamic route

This might be my own lack of knowledge around starlette, but could you provide an example of how to create a dynamic route:
@app.route('/foo/{bar}')
class Feed(FeedEndpoint):

and how to use bar to calculate title, description, linkand use it to calculate the feed items?

Well, I figured it out. You can close...
from typing import Iterable

from starlette.applications import Starlette  # type: ignore
from starlette.requests import Request  # type: ignore
from starlette_feedgen import FeedEndpoint  # type: ignore

app = Starlette()

class FeedObject:
    def __init__(self, username: str):
        self.username = username

@app.route("/{username}")
class Feed(FeedEndpoint):  # type: ignore
    async def get_object(self, request: Request) -> FeedObject:
        return FeedObject(request.path_params["username"])

    def title(self, obj: FeedObject) -> str:
        return f"RSS feed for {obj.username}"

    def description(self, obj: FeedObject) -> str:
        return f"RSS feed for {obj.username}"

    def link(self, obj: FeedObject) -> str:
        return f"https://twitter.com/{obj.username}"

    def get_items(self) -> Iterable[FeedItem]:
        username = self.scope["path_params"]["username"]
        return map(FeedItem, xxx)


Add possibility to delete documents

Currently it is not possible to delete a document. This will add possibility to remove documents by there identifier.
TODO

[ ] Test cleaning up of documents and subtables

Please, also target the 0.2 branch :)

Could we in most cases not add foreign keys via activate PRAGMA foreign_keys = ON; on https://github.com/loupe-php/loupe/blob/405fee389ec3404f9ada4f72db2da9b4a7e42899/src/Internal/Engine.php#L57. Then I think we would only need todo:

terms for all terms that do not exist in terms_documents anymore

I'm not sure when I will come to it so if somebody have time before me finishing this feel free.

Not sure if ON DELETE CASCADE would solve this problem here. Most of the terms and attribute values will be used in multiple documents.

I'm not sure 100% if I did understand your comments correctly but I just pushed a version now. We probably should make some test case to make something like.

Add Document A
Add Document B
Calculate Table Counts
Add Document C
Delete Document C
Make sure all tables are as before add and deleting a document

@alexander-schranz can you check if https://github.com/loupe-php/loupe/pull/27 fixes your problem?

Think you wanted to comment on #12 :) but did test it and add some comments and edge cases via a test.

Found a way to test the internal storage is updated using yet another new feature: https://github.com/loupe-php/loupe/pull/33
Finished your PR here - thanks Alex!


connectivity：Could not resolve com.android.tools.build:gradle:3.5.0.

A problem occurred configuring project ':connectivity'.

Could not resolve all artifacts for configuration ':connectivity:classpath'.
Could not resolve com.android.tools.build:gradle:3.5.0.
Required by:
project :connectivity
Could not resolve com.android.tools.build:gradle:3.5.0.
Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
Connection reset
Could not get unknown property 'android' for project ':connectivity' of type org.gradle.api.Project.

current my gradle version 4.1.0

@Ruijiao
Please provide flutter doctor -v, pubspec.yaml and flutter run --verbose to better address this issue.

@Ruijiao
Please provide flutter doctor -v, pubspec.yaml and flutter run --verbose to better address this issue.

flutter doctor -v
[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on Mac OS X 10.14.6 18G95 darwin-x64, locale zh-Hans-CN)
• Flutter version 1.26.0-1.0.pre at /Users/fangruijiao/software/flutter
• Framework revision 63062a6443 (4 weeks ago), 2020-12-13 23:19:13 +0800
• Engine revision 4797b06652
• Dart version 2.12.0 (build 2.12.0-141.0.dev)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/fangruijiao/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Users/fangruijiao/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 11.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.0, Build version 11A420a
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (2 available)
• Android SDK built for x86 (mobile) • emulator-5554                        • android-x86 • Android 10 (API 29) (emulator)
• iPhone 11 Pro Max (mobile)         • B91A4834-F127-4027-8F55-232A0FA0BB90 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
! Doctor found issues in 1 category.

flutter doctor -v
[✓] Flutter (Channel dev, 1.26.0-1.0.pre, on Mac OS X 10.14.6 18G95 darwin-x64, locale zh-Hans-CN)
• Flutter version 1.26.0-1.0.pre at /Users/fangruijiao/software/flutter
• Framework revision 63062a6443 (4 weeks ago), 2020-12-13 23:19:13 +0800
• Engine revision 4797b06652
• Dart version 2.12.0 (build 2.12.0-141.0.dev)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/fangruijiao/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Users/fangruijiao/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[!] Xcode - develop for iOS and macOS (Xcode 11.0)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.0, Build version 11A420a
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (2 available)
• Android SDK built for x86 (mobile) • emulator-5554                        • android-x86 • Android 10 (API 29) (emulator)
• iPhone 11 Pro Max (mobile)         • B91A4834-F127-4027-8F55-232A0FA0BB90 • ios         • com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)
! Doctor found issues in 1 category.

pubspec.yaml:
name: flutter_module
description: A new flutter module project.
version: 1.0.0+1
environment:
sdk: ">=2.2.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
fluttertoast: ^4.0.1
cupertino_icons: ^0.1.2
dio: ^3.0.4
json_annotation: ^3.0.0
shared_preferences: ^0.5.7+3
cached_network_image: ^2.2.0+1
flutter_swiper: ^1.1.6
flutter_screenutil: ^0.6.0
photo_view: ^0.8.0
flutter_easyrefresh: ^2.0.4
pull_to_refresh: ^1.5.7
scroll_to_index: ^1.0.5
connectivity: ^2.0.2
common_utils: ^1.1.3
flutter_gifimage: ^1.0.1
webview_flutter: 0.3.21
url_launcher: ^5.4.10
cookie_jar: ^1.0.1
path_provider: ^1.6.9
dio_cookie_manager: ^1.0.0
pin_code_fields: ^2.4.0
azlistview: ^0.1.2  #latest version
flutter_slidable: "^0.5.4"
event_bus: ^1.1.1
flukit: ^1.0.2
intl: ^0.15.8
convert_hex: ^0.1.7
flutter_statusbarcolor: ^0.2.3
badges: ^1.1.1
image_picker: ^0.6.6+4
flutter_touch_spin: ^1.0.1
flutter_staggered_grid_view: ^0.3.0
flutter_appavailability: ^0.0.21
device_apps: ^1.0.10
flutter_webview_plugin: ^0.3.11
dev_dependencies:
build_runner: ^1.0.0
json_serializable: ^3.2.0
flutter_test:
sdk: flutter
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add Flutter specific assets to your application, add an assets section,
like this:
assets:
- assets/imgs/common/
- assets/imgs/goods/
- assets/imgs/home/
- images/a_dot_ham.jpeg
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/#resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/#from-packages
To add Flutter specific custom fonts to your application, add a fonts
section here, in this "flutter" section. Each entry in this list should
have a "family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: DIN-Medium,DIN
fonts:
- asset: assets/fonts/DIN-Medium.otf
# style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700

For details regarding fonts from package dependencies,
see https://flutter.dev/custom-fonts/#from-packages
module:
androidX: true
androidPackage: com.msApp
iosBundleIdentifier: com.pacage

pubspec.yaml:
name: flutter_module
description: A new flutter module project.
version: 1.0.0+1
environment:
sdk: ">=2.2.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
fluttertoast: ^4.0.1
cupertino_icons: ^0.1.2
dio: ^3.0.4
json_annotation: ^3.0.0
shared_preferences: ^0.5.7+3
cached_network_image: ^2.2.0+1
flutter_swiper: ^1.1.6
flutter_screenutil: ^0.6.0
photo_view: ^0.8.0
flutter_easyrefresh: ^2.0.4
pull_to_refresh: ^1.5.7
scroll_to_index: ^1.0.5
connectivity: ^2.0.2
common_utils: ^1.1.3
flutter_gifimage: ^1.0.1
webview_flutter: 0.3.21
url_launcher: ^5.4.10
cookie_jar: ^1.0.1
path_provider: ^1.6.9
dio_cookie_manager: ^1.0.0
pin_code_fields: ^2.4.0
azlistview: ^0.1.2  #latest version
flutter_slidable: "^0.5.4"
event_bus: ^1.1.1
flukit: ^1.0.2
intl: ^0.15.8
convert_hex: ^0.1.7
flutter_statusbarcolor: ^0.2.3
badges: ^1.1.1
image_picker: ^0.6.6+4
flutter_touch_spin: ^1.0.1
flutter_staggered_grid_view: ^0.3.0
flutter_appavailability: ^0.0.21
device_apps: ^1.0.10
flutter_webview_plugin: ^0.3.11
dev_dependencies:
build_runner: ^1.0.0
json_serializable: ^3.2.0
flutter_test:
sdk: flutter
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add Flutter specific assets to your application, add an assets section,
like this:
assets:
- assets/imgs/common/
- assets/imgs/goods/
- assets/imgs/home/
- images/a_dot_ham.jpeg
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/#resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/#from-packages
To add Flutter specific custom fonts to your application, add a fonts
section here, in this "flutter" section. Each entry in this list should
have a "family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
- family: DIN-Medium,DIN
fonts:
- asset: assets/fonts/DIN-Medium.otf
# style: italic
- family: Trajan Pro
fonts:
- asset: fonts/TrajanPro.ttf
- asset: fonts/TrajanPro_Bold.ttf
weight: 700

For details regarding fonts from package dependencies,
see https://flutter.dev/custom-fonts/#from-packages
module:
androidX: true
androidPackage: com.msApp
iosBundleIdentifier: com.pacage

Plugin project :path_provider_macos not found. Please update settings.gradle.
[   +2 ms] Plugin project :connectivity_macos not found. Please update settings.gradle.
[        ] Plugin project :url_launcher_web not found. Please update settings.gradle.
[+7296 ms] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] A problem occurred configuring project ':connectivity'.
[        ] > Could not resolve all artifacts for configuration ':connectivity:classpath'.
[        ]    > Could not resolve com.android.tools.build:gradle:3.5.0.
[        ]      Required by:
[        ]          project :connectivity
[        ]       > Could not resolve com.android.tools.build:gradle:3.5.0.
[        ]          > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
[        ]             > Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
[        ]                > Connection reset
[        ] > Could not get unknown property 'android' for project ':connectivity' of type org.gradle.api.Project.
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 13s
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ +453 ms] Running Gradle task 'assembleDebug'... (completed in 14.3s)
[   +3 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 91,636ms.
[   +4 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:623:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1134:12)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:986:27)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#5      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)

#7      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:274:9)

#8      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#9      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:230:5)

#11     run.. (package:flutter_tools/runner.dart:63:9)

#12     run. (package:flutter_tools/runner.dart:61:12)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#15     runInContext (package:flutter_tools/src/context_runner.dart:70:10)

#16     main (package:flutter_tools/executable.dart:88:3)

[  +70 ms] ensureAnalyticsSent: 58ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +3 ms] Shutdown hooks complete
[        ] exiting with code 1

Plugin project :path_provider_macos not found. Please update settings.gradle.
[   +2 ms] Plugin project :connectivity_macos not found. Please update settings.gradle.
[        ] Plugin project :url_launcher_web not found. Please update settings.gradle.
[+7296 ms] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] A problem occurred configuring project ':connectivity'.
[        ] > Could not resolve all artifacts for configuration ':connectivity:classpath'.
[        ]    > Could not resolve com.android.tools.build:gradle:3.5.0.
[        ]      Required by:
[        ]          project :connectivity
[        ]       > Could not resolve com.android.tools.build:gradle:3.5.0.
[        ]          > Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
[        ]             > Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.0/gradle-3.5.0.pom'.
[        ]                > Connection reset
[        ] > Could not get unknown property 'android' for project ':connectivity' of type org.gradle.api.Project.
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 13s
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[ +453 ms] Running Gradle task 'assembleDebug'... (completed in 14.3s)
[   +3 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 91,636ms.
[   +4 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:623:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1134:12)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:986:27)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#5      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)

#7      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:274:9)

#8      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#9      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:230:5)

#11     run.. (package:flutter_tools/runner.dart:63:9)

#12     run. (package:flutter_tools/runner.dart:61:12)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)

#15     runInContext (package:flutter_tools/src/context_runner.dart:70:10)

#16     main (package:flutter_tools/executable.dart:88:3)

[  +70 ms] ensureAnalyticsSent: 58ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +3 ms] Shutdown hooks complete
[        ] exiting with code 1

@Ruijiao
Please provide flutter doctor -v, pubspec.yaml and flutter run --verbose to better address this issue.

@Ruijiao
Please provide flutter doctor -v, pubspec.yaml and flutter run --verbose to better address this issue.

flutter clean
flutter build apk

flutter clean
flutter build apk


Repository https://artifact.fit.fraunhofer.de/repository/ids-public/ Temporarily Unavailable

Describe the bug
During Docker generation the process fail with the error:
#0 97.36 [ERROR] Failed to execute goal on project appstore: Could not resolve dependencies for project de.fraunhofer.fit:appstore:jar:4.1.0: Failed to collect dependencies at ids.messaging:broker:jar:7.0.0 -> ids.messaging:messagin
g:jar:7.0.0 -> ids.messaging:core:jar:7.0.0 -> de.fraunhofer.iais.eis.ids:infomodel-serializer:jar:4.2.8 -> de.fraunhofer.iais.eis.infomodel:util:jar:4.2.7-SNAPSHOT: Failed to read artifact descriptor for de.fraunhofer.iais.eis.info
model:util:jar:4.2.7-SNAPSHOT: Could not transfer artifact de.fraunhofer.iais.eis.infomodel:util:pom:4.2.7-SNAPSHOT from/to fit-nexus-public (https://artifact.fit.fraunhofer.de/repository/ids-public/): transfer failed for https://artifact.fit.fraunhofer.de/repository/ids-public/de/fraunhofer/iais/eis/infomodel/util/4.2.7-SNAPSHOT/util-4.2.7-SNAPSHOT.pom, status: 503 Service Temporarily Unavailable -> [Help 1]
To Reproduce
Steps to reproduce the behavior:
Go to root project code and run:
docker compose -f docker-compose.yml up --build -d
Expected behavior
Docker instance will be created and running.
Screenshots & Logs

Desktop (please complete the following information):

OS: Windows 11
Version IDS-Appstore: main

Additional context
I guess the server is down. There are some prevision to get it up?

@timwirtz86

@timwirtz86 do you know, who can help with Artifactory at FIT?

@SebastianOpriel sadly not, but why not using the artifactory of IAIS? you should find all artifacts there https://maven.iais.fraunhofer.de/ui/native/eis-ids-public/

@timwirtz86 I replaced
https://artifact.fit.fraunhofer.de/repository/ids-public/
for:
https://maven.iais.fraunhofer.de/ui/native/eis-ids-public/

But now I am having several missing errors:

I am using the main version of AppStore's POM:
https://github.com/International-Data-Spaces-Association/IDS-AppStore/blob/2b9b612a463a965187b444035d0b3f93d29e7904/pom.xml#L552-L562
Am I using the correct version?
Thank you for all.

I'm facing the same issue and it seems like the naming of the artifacts at the iais repo could be different? Are there any updates or quick fixes yet? Thanks in advance!

It appears that the server is up again. I was able to build docker image again, but I think that there is some kind of access problem becouse the proccess lasted about 30 minutes.


Hints are hard coded to 2nd row

The code assumes transliterations are the 2nd row which is not true when running in adjudicate mode. Also, the hints don't work on latin character languages.

Fixed!


Gulp 4: increases compile time on each save

While gulp watch for changes, compile time increased with every save, even if the styles do not change much.
Running on Windows 7x64, gulp v4, gulp-sass v2.2.0
Gulp task to compile sass:
function compileSass() {
  return gulp.src(srcDir + 'scss/app.scss')
    .pipe(plugins.plumber({
      errorHandler: onError
    }))

    // globbing CSS @import
    .pipe(plugins.sassBulkImport())

    .pipe(plugins.sass({
      sourceMapContents: true,
      sourceMapEmbed: true
    }))
    .pipe(gulp.dest(srcDir + 'css/'))
    .pipe(browserSync.reload({stream: true}));
}

Does it actually get slower of does the number just increase. I gulp-sass every day and have never seen this.

Try disabling your sourcemap settings and see if the problem persists.

It is really get slower. When i am using gulp v3 it works nice.
Tried to disable sourcemap, but the problem still exist.

Interesting. I don't currently use gulp 4 so I'm not sure what's happening.

I've been having the same issue for quite some time, after a while it gets really slow. My guess is that they problem is with the watch itself, because when I restart the watch the compile time goes down again.

I believe this probably related to #509.

I expect this might be fixed with v2.3.2. Please let me know if that is not the case.

@xzyfer I've the same problem since quite some time with Gulp v4 but didn't actually look it up until now. It's definitely gulp-sass and the issue still exists with version 2.3.2 when using Gulp v4. I've tried to reproduce the same issue with other gulp plugins, but only gulp-sass shows the behavior of each iteration taking longer than the previous one.
First I thought it's maybe sourcemaps or plumber or autoperfixer, but the problem seems to exist within gulp-sass.
Currently the only way to work with gulp-sass is to kill the watch task now and then, because otherwise the watch task gets really slow over time.

Try something like:
`gulp.task('styles', function() {
let tempSass = require('gulp-sass');
return gulp.src(SRC)
.pipe(tempSass().on('error', plugins.sass.logError))
...
`

I am still getting this with<EMAIL_ADDRESS>[15:01:40] Finished 'styles' after 7.36 s
[15:02:20] Starting 'styles'...
[15:02:27] Finished 'styles' after 6.91 s
[15:02:37] Starting 'styles'...
[15:02:44] Finished 'styles' after 7.24 s
[15:02:54] Starting 'styles'...
[15:03:02] Finished 'styles' after 8.09 s
[15:03:31] Starting 'styles'...
[15:03:39] Finished 'styles' after 7.4 s
[15:04:34] Starting 'styles'...
[15:04:42] Finished 'styles' after 8.36 s
[15:05:03] Starting 'styles'...
[15:05:11] Finished 'styles' after 8.2 s
[15:05:13] Starting 'styles'...
[15:05:22] Finished 'styles' after 8.35 s
[15:05:36] Starting 'styles'...
[15:05:44] Finished 'styles' after 8.35 s
[15:06:28] Starting 'styles'...
[15:06:36] Finished 'styles' after 8.46 s
[15:08:35] Starting 'styles'...
[15:08:45] Finished 'styles' after 9.29 s
[15:10:06] Starting 'styles'...
[15:10:15] Finished 'styles' after 9.16 s
[15:11:15] Starting 'styles'...
[15:11:24] Finished 'styles' after 9.02 s

+1
This problem occurs not only when compiling SASS. I watch it from Gulp 4 and when compiling Pug.
(In a completely identical repository from Gulp 3, I do not observe such a problem.)
Win10.
Apparently, the authors of the Gulp 4 are more comfortable not to get this problem :( https://github.com/gulpjs/gulp/issues/1748
This is the opensource, baby! )))
ps: the problem can be solved if you avoid using **/ in the gulp.watch. To write not **/*.scss, and to specify more precisely: yourDirectory/*.scss
This solution is not convenient, but I have not found another yet.

I am still experiencing this.


GroovyConsole usability

We have a console in-game able to interact with game state via Groovy - which has immense potential, but isn't yet very user friendly! It might be nice to have a better text area to type into (multi-line, etc) and some convenience commands like "help" and a list of common commands

@immortius has added a first bit of this via https://github.com/immortius/Terasology/commit/7e36959f255fb9bd739b6a1020bcd7b04517b580 - good beginning :-)

Some brainstorming of useful commands:
fullHealth - restores full health
teleport x, y, z - teleports player to the give location
noMoreGoo - destroys mobs and disables spawners ;P

No more goo? Wah :D

autocompletion for the console

Moving the caret/cursor in the console with the arrow keys

I've added teleport and fullHealth to my branch


Assets are referenced with basic auth credentials – getting blocked by chrome/chromium

Describe the bug
Flextypes assets are referenced with an url that contains possible basic auth credentials. These requests are blocked by chrome and chromium, but imo that is a security problem, too.
To Reproduce
Steps to reproduce the behavior:

Install fresh flextype
Enable basic auth (either .htaccess or vhost)
Open site in chrome or chromium
See that neither the css nor the js assets are loaded

Expected behavior
The URLs to the assets shouldn't and imo mustn't contain any credentials. I wasn't able to track down the responsible code.
Screenshots

Desktop (please complete the following information):

OS: Windows/Linux
Browser: Chrome/Chromium, all current versions

related ticket: #373

New:

add new twig function {{ site_url() }}
add new shortcode [site_url]


Bump graceful-fs dependency (graceful-fs@2 and @3 support will be removed soon)

graceful-fs versions lower than v4 reevaluate native fs module source, which is not supported.
You should update your graceful-fs dependency to v4 or later.
Tracking issue: https://github.com/nodejs/node/issues/5213.

:+1:

+1 Thanks for the awesome work.

👍

+1

Hi.
graceful-fs@2 and @3 support will be removed soon.
s3 is currently #20 in my list of modules that would likely be broken when https://github.com/nodejs/node/pull/6413 lands (which is anticipated to happen before v7.0).
Note that graceful-fs@1 and graceful-fs@4 are ok and would not be broken by this, but a require() on graceful-fs@2 or graceful-fs@3 would cause an error soon.
That is, runtime warning fs: re-evaluating native module sources is not supported. would be turned into a throw.
If you or your deps use graceful-fs@2 or graceful-fs@3 in runtime — you are affected.
Tracking: https://github.com/nodejs/node/issues/5213.

1

Apparently, this is something that's already been changed in the actual commit. The graceful-fs version is 4.1.4, while it hasn't been changed in the npm package.
A publish from the author should be enough.


feat: add sonarqube metrics endpoint

:tada: This PR is included in version 0.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


RPC calls do not return address type

Receive and Address book address are returned together in rpc calls (listreceivedbyaddress, getaddressesbyaccount, etc..) with no type flag to distinguish. I think the simplest fix would to just add the type flag when returning an address stating if its Sending or Receiving.

It will be clear by issuing "listreceivedbyaddress" which means looking up those who sending coins. I can flag "listreceivedbyaddress", but seems be unnecessary for "getaddressesbyaccount" since the command distinguishes accounts.

Ya that would be great, anyway to distinguish would be fine by me. listreceivedbyaddress currently returns all addressed including sending addresses


Setting Speed limit using web interface

how user can set speed limit group-wise or device-wise through web interface?

You can set "speedLimit" attribute for device or group:
https://www.traccar.org/configuration-file/

thank you for your reply sir,
below is the entry which i have in my configuration file.
10
but i am not getting any speed alert notification on web or in my events table. so can you please give an example how to configure speed into configuration file. that will be very helpful.

Have you even looked at the link? It doesn't mention event.globalSpeedLimit anywhere there. It's an outdated name which is not used anymore.
Speed is not configured in the config file. It's configured in the attributes:

It is better to autoload all attributes with some default value, along with enable or disable each attribute. So that all attributes are visible to user to turn on or off.

The idea is that there can be hundreds of attributes, so it doesn't make any sense to add all of them.

May be we can maintain a wiki to list all attributes with value range.

That's exactly what the page (see my link above) is for.

Great, thanks.

thank you sir for your reply,
now i got the idea how to set attributes for speed.
but by just looking on that configuration link i was not getting  any idea where to store those settings because above they mention path of traccar.xml so i thought settings need to be apply in that file.
There should be a comment or note on above link saying that these settings need to be apply in attributes from web interface.
any way great job thank you once again..


Prepare for the first beta for ManagedNetworkFabric

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.ManagedNetworkFabric


[pg] Support ALTER SEQUENCE public.t_id_seq OWNED BY public.t.id;

ALTER SEQUENCE public.t_id_seq OWNED BY public.t.id;

https://www.postgresql.org/docs/14/sql-altersequence.html

Double of https://github.com/ydb-platform/ydb/issues/1846


LHS: add Lhs as type checked Pat

See #242.
There are some problems:

Many duplicate code with Pat in serialize and distiller process, but seems no better ways
PatCCTest cannot be passed because we relied on Pat in Def to classify, but now we're using Lhs. I'm still thinking about better ways to deal with that.
PatMatcher has been changed a lot(maybe not a lot, but the logic is kind of different than before anyway), so pay attention to this when reviewing.

I may add some comments or tests afterwards, but the overall code won't be changed a lot, so I just push them for now. I'm pretty sure there must be some(or many :rofl:) problems, just comment and I'll fix them.

Another problem is type for Lhs.Ctor is saved because in LhsToTerm we need to generate a CallTerm.Con. It seems necessary.

Many duplicate code with Pat in serialize and distiller process, but seems no better ways

Remove the serialization code for Pat plz.

PatCCTest cannot be passed because we relied on Pat in Def to classify, but now we're using Lhs. I'm still thinking about better ways to deal with that.

Yes, you forgot to replace the Pat in Def with Lhs.

PatMatcher has been changed a lot (maybe not a lot, but the logic is kind of different than before anyway), so pay attention to this when reviewing.

You forgot to deal with RefTerm.MetaPat.

I may add some comments or tests afterwards, but the overall code won't be changed a lot, so I just push them for now. I'm pretty sure there must be some (or many 🤣) problems, just comment and I'll fix them.

I've pushed some, you may wanna take a look. Remember to rebase on latest main tho.

You forgot to deal with RefTerm.MetaPat.

No, I've dealt with that. However it's different than before. Just take a closer look at it.

Yes, you forgot to replace the Pat in Def with Lhs.

That's not the problem here :rofl:. It's just because I've replaced Pat  with Lhs in Def, so we can't writing code like in PatCCTest anymore. PatCCTest is kind of like cheating, we first type checked some code, then we use the type checked Pat to classify. Now we are using Lhs, which prevents this kind of cheating, but also break the code and makes it really difficult to rewrite.
For your question, I know there are still Pat in CtorDef. However, it seems we can't replace it with Lhs because of #271. When we selectCtor in PatTycker, we'll use Pat in CtorDef, and perform the matching process, while at the same time we also expect to solve some MetaPat. If we change Pat to Lhs, then MetaPat's solution might be an Lhs!
Another negative result of that is we cannot remove serialization code for Pat as it's still used in CtorDef.
To be honest, I'm kind of wondering is it really necessary to do the refactoring? I mean,  MetaPat is kind of blurring the boundary between Lhs and Pat. And refactoring is the reverse process, which adds some more subtleties.

No, I've dealt with that. However it's different than before. Just take a closer look at it.

😭

PatCCTest is kind of like cheating, we first type checked some code, then we use the type checked Pat to classify. Now we are using Lhs, which prevents this kind of cheating, but also break the code and makes it really difficult to rewrite.

It tests the shape of the classification results. I guess you can delete it if it's annoying, as pattern classification is a rather stable feature (future refactoring won't change this part of the algorithm either).

If we change Pat to Lhs, then MetaPat's solution might be an Lhs!

Oh no, that's beyond my estimation! 😟 What about this: we remove Pat::type and Pat.Tuple::type, and make a function from Lhs to Pat?

Another negative result of that is we cannot remove serialization code for Pat as it's still used in CtorDef.

Yes!! I really wanna kill that 😭

To be honest, I'm kind of wondering is it really necessary to do the refactoring? I mean, MetaPat is kind of blurring the boundary between Lhs and Pat. And refactoring is the reverse process, which adds some more subtleties.

This can help us understand the code better. See? I wasn't aware of the fact that meta patteriable unification requires Pat instead of Lhs. I've learned from this work, tyvm!

Oh no, that's beyond my estimation! 😟 What about this: we remove Pat::type and Pat.Tuple::type, and make a function from Lhs to Pat?

I've done that in a recent commit: 61ab8803bcd3c691efd9d71f975e8db3dc271eb5

Created #283

we remove Pat::type and Pat.Tuple::type, and make a function from Lhs to Pat?

That's OK. However, I should remind you that you're blurring the boundary furthurmore. Now they are interchangeable, and once we add something in Pat, we'll have to add the same thing in Lhs.

I've done that in a recent commit: 61ab880

You're too productive :rofl:. I can do the rest(add  Pat->Lhs and delete SerPat and more) later if you're not in a hurry.

That's OK. However, I should remind you that you're blurring the boundary furthurmore. Now they are interchangeable, and once we add something in Pat, we'll have to add the same thing in Lhs.

Yes, that's also what I see. Once we have JEP 420 merged, we may use a type tag for distinguishing Pat and Lhs:

Keep : Tag
Pat<T extends Tag>
Ctor<T>(Seq<Pat<T>>) : Pat<T> and similarly Tuple
Bind : Pat<Keep>
Absurd : Pat<Tag>
MetaPat : Pat<Tag>

Then, we can have two Matchings, one contains Pat<Keep> and one contains Pat<Tag> -- the latter may contain Absurd or MetaPat but the former can't.

I propose closing this, as this is a negatively successful experiment (that we now know that something's impossible).

I propose closing this, as this is a negatively successful experiment (that we now know that something's impossible).

Sure. Just close it~

Closed upon agreement

For the record, the commit are still accessible via GitHub even I deleted the branch: 4de80a4b7fa9e2d8beda0d4a7fd543e8dc9b3816
https://github.com/aya-prover/aya-dev/commit/4de80a4b7fa9e2d8beda0d4a7fd543e8dc9b3816.patch


Support for Async JSON Writer

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I want an async JSON writer to use it in an async context. The current implementation is blocking even if we are in the tokio environment.
Describe the solution you'd like
A writer using tokio::io::AsyncWrite might be the solution.
Describe alternatives you've considered
NA
Additional context
Na

Same as commented on the CSV writer ticket, https://github.com/apache/arrow-rs/issues/3740#issuecomment-1438682974, I would recommend implementing this by buffering an encoded batch in memory using the existing writer, prior to flushing it via async. This avoids code duplication, is more generic, and is likely significantly faster. It has been my experience that async does not optimise very well, especially in tight loops, and is best kept independent of the hot synchronous code.

label_issue.py automatically added labels {'arrow'} from #3

label_issue.py automatically added labels {'object-store'} from #3


caf: 0.17.1 -> 0.17.2; enable openssl; run tests

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
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 nix-review --run "nix-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.

Notify maintainers
cc @bobakker

Rebased and added the version bump.

Thank you @tobim, please feel free to ping me if a PR gets stuck


OPENSSL variable not in config file

I noticed that the new OPENSSL variable added in commit https://github.com/lukas2511/dehydrated/commit/db18820991ba6f7e483aee941ee8f58e6e9b1457 doesn't add a corresponding item to the config file. Is this omission by design, or an oversight?

Thanks, this was an oversight, I just added it to the example config.


Implement compose functions from event-model into the bundlers

Currently the when bundling documents the event-model schema is validated against, but the compose functions are not used to create the documents. We should get it working with the current model before trying the rethink external assets.

When creating a close document in bluesky, events with no names are skipped over:
https://github.com/bluesky/bluesky/blob/fddf4aeeb387019e65aea879506dfcae34024b8e/bluesky/bundlers.py#L110-L114
In event model (which uses integers instead of itertools.count), this isn't done:
https://github.com/bluesky/event-model/blob/be33d8dfd1c84321500134657fa43de660d9c393/event_model/__init__.py#L1980
How often is the "rare but possible" case here @danielballan, should I account for it in event-model?


Porting and drastical rewrite to reach compatibility with 3b1b/manim again

Porting all the new features from 3b1b/manim drastical rewrite of the render system.
Currently no explanation because it is highly experimental. Further discussion about this can be found on the discord server.

This will be merged into ManimCommunity/experimental` for further development


liberasurecode: 1.6.3 -> 1.6.4

Description of changes

https://github.com/openstack/liberasurecode/compare/1.6.3...1.6.4
https://github.com/openstack/pyeclib/compare/b50040969a03f7566ffcb468336e875d21486113...1.6.1

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 338883 run on x86_64-linux 1

11 packages built:

liberasurecode
liberasurecode.dev
liberasurecode.doc
python311Packages.pyeclib
python311Packages.pyeclib.dist
python311Packages.swift
python311Packages.swift.dist
python312Packages.pyeclib
python312Packages.pyeclib.dist
python312Packages.swift
python312Packages.swift.dist


removing broken video

Hello @ksigler7,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Add prettier to pre-commit

This runs for MarkDown, YAML, SCSS, JavaScript and XML files to make them beautiful and consistent.

Codecov Report

Merging #959 (f953cf0) into main (58d8027) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #959   +/-   ##
=======================================
  Coverage   88.07%   88.07%
=======================================
  Files          39       39
  Lines        1359     1359
  Branches       46       46
=======================================
  Hits         1197     1197
  Misses        145      145
  Partials       17       17

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix add item uploading images and other

what have done:

Added multiple attribute to image input.
Added required messages for fields validation .
Added the ability to remove or add images after uploading in the first time.

Screenshots:
Desktop:

Mobile:

Required Messages onSubmit

Good job


Please specify the interaction of JALR offsets with respect to the RAS .

For the riscv backend of the compiler sbcl, I have made the choice of using JALR offsets to call tagged function pointers quickly, by using the offset to untag the pointer, like so jalr x1, tagged-function-pointer, tag. Obviously x1 should just get pushed to the RAS as is, and there's no penalty for using an offset with prediction in this case.
However, tagged return addresses are a way for languages with moving GCs to relocate on-stack code precisely. This is a slightly contrived example, but illustrates the point. Let's assume the return address tag is 5, and say the call sequence is:
  jal x1, foo
  ....
foo:
  addi x1, x1, +5

Let's say at the end of this sequence, x1 = 0x25. The top of the RAS will be 0x20 from the jalr.
Assume the body of foo doesn't touch x1. Then we could have a return address sequence look as follows.
jalr x0, x1, -5

It's not specified how this instruction would interact with the RAS. The RAS will get popped, and the cached value would be 0x20, but would the effective address that gets computed be x1 - 5, thus counting as a "cache" hit? Or would x1 be used, thus constituting a miss? Does such code incur a penality? A clarification in the specification about the interaction would be nice, since software needs to take this into account if it wants to exploit RAS prediction.

This is a micro architectural detail, but RAS designs will always track/check the effective return address not the operands.

Thank you. That's what I expected from the hardware point of view, especially as software would not be able to take advantage of the offset scheme as much otherwise, but I think it would be worth a note somewhere to clarify what software can expect.

I don't see what needs clarification. If an instruction pops the RAS then the hardware will compare the predicted destination address (from the RAS) with the actual computed destination address. As long as they match, there will be no misprediction.
This is what a RAS does. Maybe I'm missing something but I don't see how it could work any differently.

I agree with @scottj97
Adding clarification would be equivalent to saying "assume the RAS microarchitecture is not broken".
Closing.


New example: yield from return

Let consider the following function:
def my_func(k):
    if k == 3:
        return ["A string..."]
    else:
        yield from range(k)

What would be expected behavior, if we called
list(my_func(3))

Instead of exected output ["A string..."],  we would get an empty list []!
The same behaviour is true, if we replace yield from with a loop, e.g.
def my_func_loop(k):
    if k == 3:
        return ["A string..."]
    else:
        for j in range(k):
            yield j

When yield from has come (Python 3.3+), it becomes possible to use return (with values) inside generators. The essence of such behavior becomes clear from PEP380. However, even being explainable from PEPs, this issue produces very unintuitive behavior.
Probably, this example could be included to this project.  I can prepare a pull request for this.

Hey @scidam
Thanks for suggesting this. It seems like a great addition to the collection. Do let me know when you open a PR for this, looking forward to it :)


[BUG] {"data":"EOF"} after removing cd image from virtual machine

Describe the bug
I created a Debian VM and attached a cd image disk to it.
Went through install process and finished the installation. I then edited the configuration to remove the cdrom drive and saved it. Now it won't boot and when I try to start the vm or edit and save configurations, I get {"data": "EOF"} error messages.
Even worse, whatever happened created a login timeout (I think, cannot confirm) and I can't log in because it keeps giving me ERROR button.
To Reproduce
Steps to reproduce the behavior:

Upload debian 12 dvd iso
Go through installer
Finish installer
Stop VM
Remove ISO image
Attempt to start
Get error

Since I can't log in, I'll try reinstalling and confirm whether I see this bug.
Expected behavior
I'd like to see an easy way to remove cd images from virtual machines as that's pretty standard behavior. Maybe a "Detach" or "Disconnect" link/button.
That said, I'd expect the vm to run after removing an iso image.
Support bundle
Since I can't access the web ui, perhaps include a way to access support bundles via command line as I do have physical access to the server it's installed on.
Environment

Harvester ISO version: v1.2.0 amd64
Underlying Infrastructure: Dell Poweredge r515, 2x Opteron 4386 with 32Gb RAM and 30Tb in RAID 50

Additional context
This occured the day after installation upon my first virtual machine installation. As fresh an install as I can get.

I will attempt to reproduce and comment whether it occurs. Can also record a screen capture video when I do.

Unable to reproduce. When I went through the debian installer the first time, it didn't have the blue menu installer, but a basic command line one. Might have been an issue with the upload; When attempting to reproduce, the first time I uploaded the debian image it failed at around 19%. Second time worked.
I don't have enough info for you so I'll close this for now.


fix: add context to notification

What type of PR is this?
/kind bug
What does this PR do / why we need it:
To allpow users to set context in their notificationConfiguration CR
Have you updated the necessary documentation?

[x] Documentation update is required by this PR.
[x] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
How to test changes / Special notes to the reviewer:

Run the operator locally using make install run
Create argo-cd instance with notifications enabled

apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  name: argocd
spec:
  notifications:
    enabled: true

Verify the the notification CR default-notifications-configuration is created
Add a context to the notification CR and save the CR. By default there is no context set in the CR.

spec:
  context:
    key1: value1
    key2: value2
  templates:
    template.app-created: |-
      email:
        subject: Application {{.app.metadata.name}} has been created.
      message: Application {{.app.metadata.name}} has been created.
      teams:
        title: Application {{.app.metadata.name}} has been created.
    template.app-deleted: |-
     ...
     ...

Check the configmap argocd-notifications-cm , verify the context appears correctly.

/cherry-pick release-0.10


filters is too sticky -- on launch comes up with previous setting

Describe the bug
filters is too sticky -- on launch comes up with previous setting.  Specifically I used "new version available" and even though I turn it off, when I rerun vpin studio (macOS 3.4.1 client) it comes back up with "new version available" checked.
To Reproduce

in the filter sidebar (see below) check "new version available"
use the app for a while
(maybe) quit the app, relaunch
un check "new version available"
quit the app
relaunch -- see that "new version available" is checked again

I am not 100% sure what the repro steps are because I can't get back into the unchecked state on launch :-)
Expected behavior
Having the filters be sticky on quit -> launch might be a nice feature, but when I uncheck a filter and quit it shouldn't come back on the next launch.
Desktop (please complete the following information):

OS: macOS 15

Known issue, one has to click "reset" to actuall reset AND save the state.

Duplicates https://github.com/syd711/vpin-studio/issues/426

Fixed with 3.5.0


close PowerRename window by alt + f4

Description of the new feature / enhancement
Alow user to close PowerRename window by alt + f4
Scenario when this would be used?
user want to close window by keyboard
Supporting information
No response

What version of PowerToys do you have? It works for me.

Although a different window/module - probably the same thing as #7243

what version of Windows are you on @askfor?

/needinfo

My windows version :  win10 20H2  19042.1466
PowerToys version: v0.53.3
And I couldn't close powertoys by alt+f4 too.

Yup, win11 fixes this but need winui3 for downlevel


fix: ledger not loading the last block when it's just after the batch boundary

Motivation
There was a bug when loading the ledger from the disk where the node panic with something like this:
2021-12-10T08:15:42.383837Z DEBUG Validating the ledger up to block 501 (100%)
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `AleoLocator { hrp: "al", data: Fp256(2180413841631221483869035365579606912076225239550174444205460207040035170284) }`,
 right: `AleoLocator { hrp: "al", data: Fp256(6625747389475706972641387426803392449301567419990991643240503084430759780944) }`', /Users/MrX/src/snarkOS/storage/src/state/ledger.rs:212:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

After observing many logs I thought this might be related to the local ledger length: the ledger having n * 501 + 1 blocks.
After debugging, it seems it is exactly the case:
Say we have a ledger with 502 blocks (0 - 501). The first batch loads blocks 0-500, and
https://github.com/AleoHQ/snarkOS/blob/dad0f8a6318c8133b4a87217bb9da488bfc50218/storage/src/state/ledger.rs#L191
will set the start block of the next batch to 501. However:
https://github.com/AleoHQ/snarkOS/blob/dad0f8a6318c8133b4a87217bb9da488bfc50218/storage/src/state/ledger.rs#L149
501 == 501 so the last block will not get loaded. Fortunately,
https://github.com/AleoHQ/snarkOS/blob/dad0f8a6318c8133b4a87217bb9da488bfc50218/storage/src/state/ledger.rs#L210-L212
actually caught this error and panicked.
This PR made the ledger able to load that final block when starting.
Test Plan

I prepared two local ledgers with 500 and 501 blocks and tested the new code against both ledger to make sure it still works.
Related PRs

None

Also, although
https://github.com/AleoHQ/snarkOS/blob/dad0f8a6318c8133b4a87217bb9da488bfc50218/storage/src/state/ledger.rs#L147
but the code is loading 501 blocks every pass. Should be fixed too but it's outside of the scope of this PR.

Fixed code formatting.
Maybe we can add a pre-commit hook to check it locally?


code: improve tests

Why

Tests are full of repetitions
SonarCloud report shows 14.8% duplication

What

Move ActualActual into natural default with fallthrough: can remove one test
Regroup all existing tests across conventions in a single fixture (date first, then convention): should be easier to add and compare more of them

I feel like having a slight tendency of dropping reviews minutes after someone else and merging 😠
I'll put the little eyes 👀  in the future to inform the PR author to wait a bit.


(2/3) Bugfixes

This branch builds upon the merged version from PR #603
The Bern (B, current master) and Münster (MS, questionnaire branch) versions had serveral bugs which were fixed after the merge, e.g.

The export function was broken due to introduction of MCA (MS)

A scale could not be edited (B)

A shared category ("with all users") could not be edited from the same user (B)

An assigned scale could not be used (B)

The new edit menu was out of bounds / cut off (B)

see commits for further bug fixes

⭐ Start reading here: Jul 25, 2022 - Commits after master merge #603

Played around with this a bit, here are  few things I've noticed:

When creating an annotation from a questionnaire and setting the start or end time, a user can enter times that don't conform to the format 0:00:00. The user is notified of this with a format error. But even then, you can still hit save and the Annotation Tool will make a best effort guess at what you were going for.

E.g. entering "60" is interpreted as "0:00:06". Not what I would have expected

If a questionnaire has a public category and a private category as a label, it is treated as private. Is this expected behaviour?
When switching to the questionnaire layout, the annotation list is not shown, even though the view dropdown claims that it is visible somewhere

Currently the only way to get the questionnaire view to show up is by selecting the questionnaire layout. It would be nice if I could add the view to my current layout just like e.g. "Loop controller".
Unrelated to the questionnaire, categories (and their labels) that belong to a series may sometimes get duplicated. Not quite sure when this is happening, seems to be related to adding/removing videos from series.

When creating an annotation from a questionnaire and setting the start or end time, a user can enter times that don't conform to the format 0:00:00. The user is notified of this with a format error. But even then, you can still hit save and the Annotation Tool will make a best effort guess at what you were going for.

E.g. entering "60" is interpreted as "0:00:06". Not what I would have expected

Bug or feature? 🧐
Notes:

In this context "Save" means "setting the annotation end". Trying to save the whole template-based annotation with an invalid value as annotation end will result in a format error note, asking to correct the value.
Suggest: The behaviour of the annotation save button should be adopted for the "annotation end" - save button; this could be done after a merge

If a questionnaire has a public category and a private category as a label, it is treated as private. Is this expected behaviour?

When switching to the questionnaire layout, the annotation list is not shown, even though the view dropdown claims that it is visible somewhere

Currently the only way to get the questionnaire view to show up is by selecting the questionnaire layout. It would be nice if I could add the view to my current layout just like e.g. "Loop controller".

Unrelated to the questionnaire, categories (and their labels) that belong to a series may sometimes get duplicated. Not quite sure when this is happening, seems to be related to adding/removing videos from series.

Bug or feature? monocle_face
Notes for readers:
In this context "Save" means "setting the annotation end" (blue arrow, see image below). Trying to save the whole template-based annotation with an invalid value as annotation end will instead result in a format error note asking to correct the value.
Suggest: The behavior of the annotation save button should be adopted for the "annotation end" - save button; this could be done after a merge as the other behavior could be tolerated for now?

Oh, so the save button for the whole template does do time stamp validation, did not know that. Arguably that is not very helpful, as it asks you to ignore the prominent "annotation end" save button. Which you cannot do if you also want to edit "annotation start".
I'd be in favor of your suggestion, or just doing away with the "annotation end" save and cancel buttons

Which branch did you review? The annotation list should be shown in 3/3 branch; commit https://github.com/opencast/annotation-tool/commit/d089bea70623a43fe93be6d267f62d9e5863a9cc should have fix that (show the annotation list in annotation template view).

Reviewed this branch (2/3), thanks for telling me about the fix in 3/3.

This should be a known bug originating from the current master version which introduced sharing categories with series leading to this duplication. As this bug should already exist in the master version and was not introduced by the merge, this should not be handled as a blocker for the merge but should be looked into later on.

Agreed, not a blocker then. Should have checked if that issues already existed, my bad.

I'd be in favor of your suggestion, or just doing away with the "annotation end" save and cancel buttons

+1
I think it's not necessary to save the annotation start or end separatly. The implementation is based on the original MCA concepts and code from the old questionnaire branch.

Agreed, not a blocker then. Should have checked if that issues already existed, my bad.

No worries, I'd suggest to check the described behavior in the master version again to make sure it's the same bug.


Add a YQ-powered remediation function

Summary

Extend the PR evaluator with generic params - The PR evaluator used to have typed params for every function we'd add - there's one for frizbee, one for the pull_request_content function etc.  This is not great, as we tie the functions to our protobuf API and every new function requires a client release to be done or else the clients can't even add ruletypes with the new functions.  Let's just use a generic structpb.Struct going forward. This time it is still a change that needs client support, but going forward we'll just have to change the server code to add a new function.
Add YQ-evaluating remediator - In order to be able to change YAML files such as github workflows safely and with minimal amount of changes, we need to add a new remediation function in addition to the put-a-content-somewhere and call-frizbee ones we have now. I chose to add one based on libyq which does a decent job at retaining comments and general YAML structure.

Fixes: #4815
Change Type

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
a mix of manual testing and unit tests. You can see one such PR created by this function here: https://github.com/jakubtestorg/bad-workflows/pull/10/commits/4b2863b644d03177ba362013f3e982e96061143b
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[x] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

The tests seem to be failing with:
2024-10-27T13:38:09.2011051Z ##[group]❌ TestExampleRulesAreValidatedCorrectly/secret_scanning.test.yaml (10ms)
2024-10-27T13:38:09.2012941Z     rule_validator_test.go:46: parsing rule type ../../examples/rules-and-profiles/rule-types/github/secret_scanning.test.yaml
2024-10-27T13:38:09.2014030Z     rule_validator_test.go:48:
2024-10-27T13:38:09.2015375Z         	Error Trace:	/home/runner/work/minder/minder/pkg/profiles/rule_validator_test.go:48
2024-10-27T13:38:09.2016741Z         	Error:      	Received unexpected error:
2024-10-27T13:38:09.2018774Z         	            	error validating resource meta: invalid resource type: invalid resource type:
2024-10-27T13:38:09.2020305Z         	Test:       	TestExampleRulesAreValidatedCorrectly/secret_scanning.test.yaml
2024-10-27T13:38:09.2022201Z         	Messages:   	failed to parse rule type ../../examples/rules-and-profiles/rule-types/github/secret_scanning.test.yaml

which sounds unrelated. I can take into this tomorrow, just going to tag @blkt who was looking into skipping tests lately in case it is a known issue.

The tests seem to be failing with:
2024-10-27T13:38:09.2011051Z ##[group]�[0;31m❌ TestExampleRulesAreValidatedCorrectly/secret_scanning.test.yaml�[0;37m (10ms)�[0m
2024-10-27T13:38:09.2012941Z     rule_validator_test.go:46: parsing rule type ../../examples/rules-and-profiles/rule-types/github/secret_scanning.test.yaml
2024-10-27T13:38:09.2014030Z     rule_validator_test.go:48:
2024-10-27T13:38:09.2015375Z         	Error Trace:	/home/runner/work/minder/minder/pkg/profiles/rule_validator_test.go:48
2024-10-27T13:38:09.2016741Z         	Error:      	Received unexpected error:
2024-10-27T13:38:09.2018774Z         	            	error validating resource meta: invalid resource type: invalid resource type:
2024-10-27T13:38:09.2020305Z         	Test:       	TestExampleRulesAreValidatedCorrectly/secret_scanning.test.yaml
2024-10-27T13:38:09.2022201Z         	Messages:   	failed to parse rule type ../../examples/rules-and-profiles/rule-types/github/secret_scanning.test.yaml

which sounds unrelated. I can take into this tomorrow, just going to tag @blkt who was looking into skipping tests lately in case it is a known issue.

This was resolved by rebasing atop origin/main


Fix feeds tab bar layout shift

Related to issue #2061 - fixing some problems with #2033.
c2bd86e: Make hasPinndCustom undefined until pinned feeds have been loaded and strictly check against it being false, so the Feeds ✨ button won't show until it is confirmed that the user has no pinned feeds or lists.
041235e: Removed what's-hot from being autopinned so this new button appears for new users. #2033 attempted to do this but deleted the defaults from the wrong file.
Video of the simulator before this change (look at the tab bar when it is loaded - you'll see a slight flash of "Feeds ✨" before the pinned feeds preferences loaded:
[todo]
Video after the change:
[todo]

@pfrazee @estrattonbailey Hey guys - bumping this because the "Feeds ✨" button is in prod now and has a visual shift when the user's preferences load which this PR solves (specially c2bd86e)


Allows custom StrokeWidth for RSI line

This allows user to define the strokeWidth for the main rsi line.

After  https://github.com/rrag/react-stockcharts/issues/349 the RSI is made up of 2 LineSeries
one LineSeries for above 70 and below 30 and another for between 70 and 30.
You seem to have added  strokeWidth for just one LineSeries is that intentional?

At first, I did not know what the second LineSeries was for, so I neglected it. My bad.
I updated the code to have an insideStrokeWidth and an outsideStrokeWidth which follows the naming convention you used in the stroke property.

Done!

Rebased with master and merged manually.
I also changed the strokeWidth to be an object similar to the other props,
see https://github.com/rrag/react-stockcharts/commit/cfdf28cc22f5e3339f0776e33220cbb9f8764509


Add Alpine Linux images

It looks like we're going to be using Alpine for small-as-possible images soon.

It would be useful to have some tests for the shell wrapper scripts, because they're doing nontrivial things. That can happen in another branch, though.

:+1:


Creating VMs should support machine types (including custom sizes)

Ensure users can specify machine types including GCE's newish custom machine type feature.

This is already supported by passing in valid params/vars with machine_options.  For instance, this was used to create a custom machine type:
require "chef/provisioning/google_driver"

with_driver "google:us-central1-f:graphite-demos",
  :google_credentials => {
    :json_key_path => "/home/erjohnso/chef-prov-sa.json",
    :google_client_email =><EMAIL_ADDRESS>  }

google_key_pair "chef_default" do
  private_key_path "chef_test"
  public_key_path "chef_test.pub"
end

machine "test01" do
  machine_options insert_options: {
    :machineType => "zones/us-central1-f/machineTypes/custom-4-5120",
    :tags => {
      :items => ["tag1", "tag2"]
    }
  }, key_name: "chef_test"
  action [:converge]
end

Closing this issue as "working as intended".  👍


PostgreSQL in benchmarks

For now, there is no way to get pg_connection inside of ubenchmark. There are util_benchmark inside of postgres sources, but they're not linking when userver is not the root project and also PgConnection::RunStandalone class not being used depending on usage search, so the usage of this class is not clear since there are no examples. Also, functions of class marked as protected and non-static.

We'll add samples and clean up that place in a few months. If there'll be a PR from the opensource community the things would go faster and we'd be happy to review it