Plugins with related file bundles don't install with latest Hub

Terminal 1:
$ git clone git@github.com:meltano/hub.git
$ cd hub
$ git checkout develop
# install all dependencies
$ bundle exec jekyll serve --livereload

Terminal 2:
$ meltano init airflow-test
$ cd airflow-test
$ meltano config meltano set hub_url http://localhost:4000
$ meltano --log-level=debug add orchestrator airflow
2022-06-07T03:01:13.107560Z [info     ] Environment 'dev' is active
2022-06-07T03:01:13.119717Z [debug    ] Creating engine <meltano.core.project.Project object at 0x111d5dc10>@sqlite:////Users/douwemaan/Development/meltano-projects/airflow-test/.meltano/meltano.db
2022-06-07T03:01:13.208891Z [debug    ] Lockfile is feature-flagged    status=False
2022-06-07T03:01:13.214385Z [debug    ] Starting new HTTP connection (1): localhost:4000
2022-06-07T03:01:13.216051Z [debug    ] http://localhost:4000 "GET /meltano/api/v1/plugins/orchestrators/index HTTP/1.1" 200 221
2022-06-07T03:01:13.218166Z [debug    ] http://localhost:4000 "GET /meltano/api/v1/plugins/orchestrators/airflow--apache HTTP/1.1" 200 1287
2022-06-07T03:01:13.240066Z [debug    ] Found plugin parent            parent=airflow plugin=airflow source=hub
Added orchestrator 'airflow' to your Meltano project
Variant:        apache (default)
Repository:     https://github.com/apache/airflow
Documentation:  https://docs.meltano.com/guide/orchestration

2022-06-07T03:01:13.317088Z [debug    ] Starting new HTTPS connection (1): discovery.meltano.com:443
2022-06-07T03:01:13.419546Z [debug    ] https://discovery.meltano.com:443 "GET /discovery.yml HTTP/1.1" 200 22755
2022-06-07T03:01:13.813422Z [debug    ] Lockfile is feature-flagged    status=False
2022-06-07T03:01:13.815892Z [debug    ] http://localhost:4000 "GET /meltano/api/v1/plugins/files/index HTTP/1.1" 200 2299
2022-06-07T03:01:13.816194Z [debug    ] File bundle 'airflow' is not known to Meltano
Traceback (most recent call last):
  File "/Users/douwemaan/Development/meltano/src/meltano/core/hub/client.py", line 177, in find_definition
    plugin = plugins[plugin_name]
KeyError: 'airflow'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/douwemaan/Development/meltano/src/meltano/cli/__init__.py", line 51, in main
    cli(obj={"project": None})
  File "/Users/douwemaan/.pyenv/versions/3.9.11/envs/meltano-dev/lib/python3.9/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/douwemaan/.pyenv/versions/3.9.11/envs/meltano-dev/lib/python3.9/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/douwemaan/.pyenv/versions/3.9.11/envs/meltano-dev/lib/python3.9/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/douwemaan/.pyenv/versions/3.9.11/envs/meltano-dev/lib/python3.9/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/douwemaan/.pyenv/versions/3.9.11/envs/meltano-dev/lib/python3.9/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/douwemaan/Development/meltano/src/meltano/cli/params.py", line 23, in decorate
    return func(*args, **kwargs)
  File "/Users/douwemaan/Development/meltano/src/meltano/cli/params.py", line 56, in decorate
    func(project, *args, **kwargs)
  File "/Users/douwemaan/.pyenv/versions/3.9.11/envs/meltano-dev/lib/python3.9/site-packages/click/decorators.py", line 21, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/douwemaan/Development/meltano/src/meltano/cli/add.py", line 129, in add
    required_plugins = add_required_plugins(
  File "/Users/douwemaan/Development/meltano/src/meltano/cli/utils.py", line 414, in add_required_plugins
    required_plugins = add_service.add_related(
  File "/Users/douwemaan/Development/meltano/src/meltano/core/project_add_service.py", line 118, in add_related
    plugin = self.add(plugin_ref.type, plugin_ref.name)
  File "/Users/douwemaan/Development/meltano/src/meltano/core/project_add_service.py", line 68, in add
    self.plugins_service.ensure_parent(plugin)
  File "/Users/douwemaan/Development/meltano/src/meltano/core/project_plugins_service.py", line 537, in ensure_parent
    plugin.parent = self.get_parent(plugin)
  File "/Users/douwemaan/Development/meltano/src/meltano/core/project_plugins_service.py", line 520, in get_parent
    parent, source = self.find_parent(plugin)
  File "/Users/douwemaan/Development/meltano/src/meltano/core/project_plugins_service.py", line 509, in find_parent
    raise error
  File "/Users/douwemaan/Development/meltano/src/meltano/core/project_plugins_service.py", line 504, in find_parent
    return (self._get_parent_from_hub(plugin), DefinitionSource.HUB)
  File "/Users/douwemaan/Development/meltano/src/meltano/core/project_plugins_service.py", line 441, in _get_parent_from_hub
    return self.hub_service.get_base_plugin(plugin, variant_name=plugin.variant)
  File "/Users/douwemaan/Development/meltano/src/meltano/core/plugin_discovery_service.py", line 136, in get_base_plugin
    plugin = project_plugin.custom_definition or self.find_definition(
  File "/Users/douwemaan/Development/meltano/src/meltano/core/hub/client.py", line 179, in find_definition
    raise PluginNotFoundError(
meltano.core.plugin.error.PluginNotFoundError: File bundle 'airflow' is not known to Meltano

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/douwemaan/Development/meltano/src/meltano/cli/__init__.py", line 59, in main
    raise CliError(str(err)) from err
meltano.cli.utils.CliError: File bundle 'airflow' is not known to Meltano
File bundle 'airflow' is not known to Meltano

Related to https://github.com/meltano/meltano/pull/5963 and https://github.com/meltano/hub/pull/538
The problem seems to be that Meltano tries to install the airflow file bundle, even though this has now been renamed to files-airflow in the Hub.
Same result with dbt.

@DouweM I was seeing something similar and opened a related issue https://github.com/meltano/meltano/issues/5997, @edgarrmondragon 's bug fix for that just merged https://github.com/meltano/meltano/pull/5999 and looks to have resolved this too. I just ran a fresh "add airflow" with my hub url pointing to a local instance of the develop branch running and didnt see any issues.

Thanks for confirming @pnadolny13. I just tried adding a few plugin types from Hub (develop) branch and it seems to be working fine. I'll still merge https://github.com/meltano/meltano/pull/6047 just cause it brings some additional improvements.


[Feature] Generate migration file when database table created

We need to generate migration file when database table created / edited via voyager.
It will be easier to pass the project to another developer and to run testing during development, since all database created will be wiped out when we are refreshing the database or run migrate:refresh command.
I will not using table creation feature at moment, and will manually create migration & model file then add bread to it.

This would also be a good idea to have when modifying existing database tables.

We should work on that indeed!!

+1

I'm actually not sure how I feel about this. There are so many potential caveats and directions this could go. One of the benefits of having this dynamic system is that you don't really need migrations. HOWEVER, it is a pain to move from a dev server to a live server. Perhaps we utilize a package like Migrations Generator to create the necessary migrations only when the user wants them created. They could check a box that creates the migration, or the could choose from a list of db tables to have migrations created from.

What about also having a global setting "create migrations" that always created migrations when a new table was created or existing table updated?

I believe using https://github.com/Xethron/migrations-generator will the best solution for now.

Using the Xethron migrations generator is a good workaround, but I agree that this would be a reasonable addition to Voyager.  I'm open to further suggestions on how we can implement it (ideally without requiring an Artisan command to do so).

I'm going to close this for now since it's so old.  We may revisit this after the 1.0 release.  In the meantime, if anyone wants to tackle it, we're certainly open to pull requests

Bump - this is the only feature that is missing to support the db functionality; it's a tiny bit useless to be able to create db tables without having the migrations generated alongside it. - Is it possible to re-open this; and using xethron/or similar could be an hours work or so.
What do you guys think?

@belthaZornv db migration is done, you can follow the progress here #2604

Thanks buddy, wasn't aware. :)

I think this is an important feature to have. Without it, wouldn't it make most sense just to work with tables and edits to tables outside of voyager?


Standard PHP formatter overrides fractions

The Standard PHP formatter overrides the fractions when using a currency object that has different fractions that what is defined in the icu lib on the operating system.
Therefore the IntlMoneyFormatter should use the same fraction for the PHP number formatter call as it has detected before.

You are supposed to inject the correctly constructed NumberFormatter object.


world/world.go: SetBlock: Added an Opts struct.

Would probably be nice to have a function for adding block breaking particles to the world in the block package, will do soon
Closes #281

Ready for documentation.


(GH-20) Update links and repository information

There were some links to nils-a, which is where the repository started
out, but they needed to be updated when transferred to cake-contrib
Organisation.
Fixes #20

Thanks @gep13 . I missed that. Had updated the readme previously, which also contained old references.
Assembly still contains
[assembly: System.Reflection.AssemblyCompanyAttribute("Nils Andresen")]
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © 2020 — Nils Andresen")]

Should I update those, too?


Add remove action

Move test cookbook to the test folder and call it test
This means it's like 90% of the other cookbooks Sous-Chefs have and we
don't need to create yet another difference! Yay

Released as: 4.2.0


signstore Whether to support npm  embedded signatures

Question

signstore Whether to support npm  embedded signatures，if suported it,How do I manage signatures and artifacts if I separate signatures

Not sure I understand the question. Please re-open with more details if still relevant.


Resource path according to request type

I have a requirement for using different resource path for different request type(same model/resource)
eg, for request type "query" - call /resource/query
for request type "update" - call /resource/update
I tried modifying resourcePath(type, id) of JSONAPIURLBuilder, but I can only access type and id of model, not request type here

Related https://github.com/orbitjs/orbit/issues/685


Fixed unicode bug in XArrayInterface

Fixes bug in XArrayInterface handling unicode dimensions in python2.

Looks good. Merging.


chore: reset language data

recreated because GitHub was fat and suspended my old GitHub account (@RealPacket, you can literally see how poor their suspension code is by hovering over the hovercard, they don't do any checks about the account status in their hovercard code)

@face-hh Can you take a look at this?


MultiMap.from broken

When using MultiMap.from to create a MultiMap from an iterable of tuples or one-attribute-objects, the index of the item from the iterable is used as the key into the map instead of the first member of the tuple, or the attribute name of the one-attribute-object.
MultiMap.from([['a', 'aa']], Set) currently results in Map(1) { 0 => Set(1) { [ 'a', 'aa' ] } }
MultiMap.from([{a: 'aa'}], Set) currently results in Map(1) { 0 => Set(1) { { a: 'aa' } } }
The desired output should be Map(1) { 'a' => Set(1) { 'aa' } }

Hello @andreasdamm,
MultiMap.from actually works as intended because it follows the standard used throughout the library regarding mixed iteration over potentially key-valued containers. But it does not follow JS Map constructor's rationale indeed because it does not make sense in a broader perspective. This said I can add another static method called #.fromEntries tailored to handle this specific use case as it makes sense in relation with JS Map if you want. It would handle 2-tuples as you wish it to. But it would not handle single attribute object as it does not make sense and because a JS Map does not understand those either.

Would the declaration file for MultiMap () multi-map.d.ts) have to be changed to reflect the intended behavior? Right now it is
interface MultiMapConstructor {
  new <K, V>(container: SetConstructor): MultiMap<K, V, Set<V>>;
  new <K, V>(container?: ArrayConstructor): MultiMap<K, V, V[]>;

  from<K, V>(
    iterable: Iterable<[K, V]> | {[key: string]: V},
    Container: SetConstructor
  ): MultiMap<K, V, Set<V>>;
  from<K, V>(
    iterable: Iterable<[K, V]> | {[key: string]: V},
    Container?: ArrayConstructor
  ): MultiMap<K, V, V[]>;
}

which indicates that the first member of the tuple becomes the key, and the second one the value.

The type declaration is probably wrong indeed. I have better types suited to this kind of thing in obliterator. I will fix that and add #.fromEntries in the meantime.

There still doesn't appear to be a good way to create a MultiMap from a list of entry tuples, other then creating an empty map and then iterating through the tuples in a loop calling MultiMap.set. How would oblitarator help?


Pull Function

Create a function that will pull from a git repo in the repos folder. This should be in the github_interactions.py file.


Refactor Reconfigure to break down into smaller parts

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues,
Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the
changes.
Acceptance checklist

[ ] I have evaluated the
Approval Guidelines
for this PR.
[ ] I have tested this PR in
all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

This looks great @wraeth-eth. I've tested and everything seems to be functioning perfectly as is. This diff has come out quite massive and it's hard to visualise exactly what you've put where. Would you mind adding a little summary in the description of this PR?

Absolutely can do @johnnyd-eth - will update description. This is likely where I should have broken into individual commits, will try and keep that in mind next time

Very sick @wraeth-eth , thanks for the great description. I do love me some good meat and potatoes. Excellent work 🧠🙌


<EMAIL_ADDRESS>breaks angular universal

🐞 Bug report
Command (mark with an x)

- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

 Yes, the previous version in which this bug was not present was<EMAIL_ADDRESS>Description
when run npm run build:ssr && npn run serve:ssr and open http://localhost:4000 from the browser it shows
Error: You must pass in a NgModule or NgModuleFactory to be bootstrapped
    at View.engine (C:\Users\rober\ng\test-ssr\dist\server.js:39238:23)
    at View.render (C:\Users\rober\ng\test-ssr\dist\server.js:123884:8)
    at tryRender (C:\Users\rober\ng\test-ssr\dist\server.js:121592:10)
    at Function.render (C:\Users\rober\ng\test-ssr\dist\server.js:121544:3)
    at ServerResponse.render (C:\Users\rober\ng\test-ssr\dist\server.js:130425:7)
    at C:\Users\rober\ng\test-ssr\dist\server.js:135:9
    at Layer.handle [as handle_request] (C:\Users\rober\ng\test-ssr\dist\server.js:123312:5)
    at next (C:\Users\rober\ng\test-ssr\dist\server.js:123060:13)
    at Route.dispatch (C:\Users\rober\ng\test-ssr\dist\server.js:123035:3)
    at Layer.handle [as handle_request] (C:\Users\rober\ng\test-ssr\dist\server.js:123312:5)

 A clear and concise description of the problem...
🔬 Minimal Reproduction
ng new test-ssr
cd test-ssr
ng add @nguniversal/express-engine --clientProject test-ssr
npm run build:ssr
npm run serve:ssr
# open http://localhost:4000 will show error
npm i<EMAIL_ADDRESS>npm run build:ssr
npm run serve:ssr
# will work normally

🔥 Exception or Error

Error: You must pass in a NgModule or NgModuleFactory to be bootstrapped
    at View.engine (C:\Users\rober\ng\test-ssr\dist\server.js:39238:23)
    at View.render (C:\Users\rober\ng\test-ssr\dist\server.js:123884:8)
    at tryRender (C:\Users\rober\ng\test-ssr\dist\server.js:121592:10)
    at Function.render (C:\Users\rober\ng\test-ssr\dist\server.js:121544:3)
    at ServerResponse.render (C:\Users\rober\ng\test-ssr\dist\server.js:130425:7)
    at C:\Users\rober\ng\test-ssr\dist\server.js:135:9
    at Layer.handle [as handle_request] (C:\Users\rober\ng\test-ssr\dist\server.js:123312:5)
    at next (C:\Users\rober\ng\test-ssr\dist\server.js:123060:13)
    at Route.dispatch (C:\Users\rober\ng\test-ssr\dist\server.js:123035:3)
    at Layer.handle [as handle_request] (C:\Users\rober\ng\test-ssr\dist\server.js:123312:5)

🌍 Your Environment

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 7.3.5
Node: 11.9.0
OS: win32 x64
Angular: 7.2.8
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.13.5
@angular-devkit/build-angular     0.13.5
@angular-devkit/build-optimizer   0.13.5
@angular-devkit/build-webpack     0.13.5
@angular-devkit/core              7.3.5
@angular-devkit/schematics        7.3.5
@angular/cli                      7.3.5
@ngtools/webpack                  7.3.5
@schematics/angular               7.3.5
@schematics/update                0.13.5
rxjs                              6.4.0
typescript                        3.2.4
webpack                           4.29.0

Duplicate of https://github.com/angular/universal/issues/1139

good morning @alan-agius4
when will this fix be published?


host-allocator: check capacity for suitable hosts

Description
Fixes #4517
Adds capacity checks for RandomAllocator (host allocator)
Factors out host cpu capability and capacity check wrt serviceoffering code into CapacityManager.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[x] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

For an env with one cluster with two hosts load the first host to max
Remove RandomAllocator from host.allocators.exclude and set host.allocators.order to RandomAllocator,FirstFitRouting
During deployment RandomAllocator will return both hosts as suitable hosts. But since the first host is not having enough capacity deployment will fail.

@shwstppr
does it happen only when use random allocator ?

@weizhouapache no, this may also happen in FirstFitAllocator where we may not be checking capacities while returning suitable hosts. So, I wanted to confirm from others if it is fine to add capacity checks inside host allocators? I'll make the changes after some tests

@weizhouapache no, this may also happen in FirstFitAllocator where we may not be checking capacities while returning suitable hosts. So, I wanted to confirm from others if it is fine to add capacity checks inside host allocators? I'll make the changes after some tests

@shwstppr ok, thanks.
second question, is it related to userdispersing heuristic ?

@weizhouapache I was able to reproduce it (RandomAllocator returning hosts without capacity check) without making any changes to userdispersing.
I removed RandomAllocator from host.allocators.exclude and set host.allocators.order to RandomAllocator,FirstFitRouting
Code here https://github.com/apache/cloudstack/blob/4.14/server/src/main/java/com/cloud/deploy/DeploymentPlanningManagerImpl.java#L1352-L1365 returns available suitable hosts from first allocator.

I think ideally the logic should be to retry on failure; doesn't the abstract allocator or the orchestration logic find suitable hosts with free capacity? In any case the allocator exluding certain hosts by capacity (skip at least those with no capacity left) lgtm - what do you think - @weizhouapache @wido @GabrielBrascher @DaanHoogland @sureshanaparti @harikrishna-patnala  @andrijapanicsb @borisstoyanov @kiwiflyer and others?

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: debian. SL-JID 318

@blueorangutan test

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

I think ideally the logic should be to retry on failure; doesn't the abstract allocator or the orchestration logic find suitable hosts with free capacity? In any case the allocator exluding certain hosts by capacity (skip at least those with no capacity left) lgtm - what do you think - @weizhouapache @wido @GabrielBrascher @DaanHoogland @sureshanaparti @harikrishna-patnala @andrijapanicsb @borisstoyanov @kiwiflyer and others?

I agree @rhtyd . I would think the capacity che ck happens in any allocator and if not that is a bug. We can always have the situation that between allocating and provisioning the host gets filled and so a rety is in order as well.

@rhtyd @DaanHoogland RadomAllocator was missing capacity checks so this PR just adds that. Will it better to move the retry logic to a different improvement ticket? As the current code just relies on DeploymentPlan and fails deployment when the plan's hosts/pool return capacity constraints during starting of the VM.

@rhtyd @DaanHoogland RadomAllocator was missing capacity checks so this PR just adds that. Will it better to move the retry logic to a different improvement ticket? As the current code just relies on DeploymentPlan and fails deployment when the plan's hosts/pool return capacity constraints during starting of the VM.

makes sense

@blueorangutan package

@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

can you create a ticket for the re-try part @shwstppr? (tnx)

@DaanHoogland I do not have a complete understanding of how the retry logic is supposed to work. There is already a global config - start.retry

Packaging result: :heavy_check_mark: centos7 :heavy_check_mark: debian. SL-JID 345

Yes, you are right @shwstppr I think I'm mixing things up a bit. Let's just merge this and see from there.

@blueorangutan test

@shwstppr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests


V2 web menus

All Submissions:
Improves the html structure of the help, editor and options menus
Updates examples to use proper docblocks
Generates examples menu from examples files.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Does your submission pass tests?

Note: please do NOT include build files (those generate by the build-xxx commands) with your PR,

Thank you for your help in advance, much appreciated !

Very small request... can you add 'version' information to the help popup? i believe the 'state' has this information.

Very small request... can you add 'version' information to the help popup? i believe the 'state' has this information.
UGG... in fact, there's no 'About JSCAD' information. V1 has a nice little popup but not V2. :(

I'll totally add the version.  That's pretty important.
The 'about jscad popup is probably a issue/PR of its own :)

I'll totally add the version. That's pretty important.

Thanks. It helps when new issues are created.

The 'about jscad popup is probably a issue/PR of its own :)

Agreed


Write blog post on onboarding process

Here's a draft.
https://teams.microsoft.com/l/file/6ED5F153-F8EC-421B-A636-31257594EA6B?tenantId=0693b5ba-4b18-4d7b-9341-f32f400a5494&fileType=docx&objectUrl=https%3A%2F%2Fdoimspp.sharepoint.com%2Fsites%2FNRRD%2FShared<EMAIL_ADDRESS>@lpgoldstein @jennmalcolm Do you want to review?

Yes I will review

l love gaining a new perspective on our team. I just had a few comments. Thanks!

I added my comments as well. Thanks.

continue in #23


hwgraph: enable ignore missing data points option on second axis

This helps do the rendering of the graphs on the CPUs that don't have CPU.Polling (turbostat), like Arm servers.
This is a continuation of what was done in
f8c8e15422550a3c5a52b4e0ca2fdbe192f137fc "hwgraph: Add option to manage missing data points."

Please rebase so the CI can pass on it


Usage with Lock?

I'm trying to get this to work with Lock v10.14 for a single page application.
It's not working for me (no pusherAuth in the returned profile), and I'm trying to figure out where the issue is.  Is this correct?
var auth0lock = new Auth0Lock('<token>', '<domain>', {             auth:{params:{socket_id:'3',channel:'private-world'}}         });
These params are not in the list given in the documentation; perhaps they are dropped?

Ah-ha!  I figured it out!  The pusherAuth attribute must be included in the scope param for it to be part of the returned profile.


Replace deprecated PIL.Image.LINEAR with PIL.Image.BILINEAR

The Pillow 10.0.0 is released on July 1 and deprecated PIL.Image.LINEAR in favor or PIL.Image.BILINEAR.
See detectron2 issue for the fix

Thanks!


feat: Add travis.yml

Adding travis with notifications to my email

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a037699). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master      #2   +/-   ##
========================================
  Coverage          ?   16.9%
========================================
  Files             ?       6
  Lines             ?    1248
  Branches          ?       0
========================================
  Hits              ?     211
  Misses            ?    1037
  Partials          ?       0

Flag
Coverage Δ

#SwiftKueryORM
16.9% <ø> (?)

Impacted Files
Coverage Δ

Sources/SwiftKueryORM/Model.swift
15.09% <ø> (ø)

Continue to review full report at Codecov.

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


ci: sdk binary size report

helps: https://linear.app/customerio/issue/MBL-157/track-the-binary-size-of-our-android-sdk
Changes

Added workflow to comment SDK binary size change summary on every PR
Updated workflow to commit SDK size report for every commit merged to main before being released

Test PR to verify changes for adding comment when binary size changes.


Make the user land in the "Stream" tab on the 'Access' subform if "Data Stream" was chosen on the 'Metadata' subform

If we choose "Data Stream" in the 'Metadata' sub-page can we make sure that "Stream" is chosen already when we continue to the 'Access' sub-page?
When we choose, "Dataset" in 'Metadata', "Download" is already chosen in 'Access'. And when we choose "Algorithm" in 'Metadata', the "Compute" sub-page loads in 'Access', but there are no tabs (buttons) on top. This behaviour is same as in the Ocean Market in prod.

Kit: That would be not only user-friendly but would prevent mis-submissions where the Publisher fills in the wrong subform.

This still doesn't work on the Netlify instance.

We will tackle this later. For now let's make do with the Box selection.


Feature Request: Move to a different time of what's now playing.

The ability to move to a different point in what's currently playing would be really helpful in some cases. A command like !scrub {time} or !moveto {time} would be amazing. To anyone who can make this command, thanks in advance!

would love to see this...

#951


New release to include AVX runtime check

Hi @yurymalkov ,
As PR #357 has been merged, may I ask for a new release of hnswlib which includes it ASAP? This will help us resolve its conda version issue https://github.com/conda-forge/hnswlib-feedstock/pull/11.
Many thanks!
Sincerely,
Yiming

Hi @yihming, ok, I'll make a release this week (need to run manual checks).

Many thanks!

Released


Can't construct A11yDialog instance in TypeScript

In my TypeScript project I'm trying to import a11y-dialog and create a new instance:
import A11yDialog from 'a11y-dialog';

new A11yDialog(document.getElementById('popup-menu')!);

But the TypeScript compiler is giving me the following error:
TS2351: This expression is not constructable.
Type 'typeof A11yDialog' has no construct signatures.

In the type declaration file it seems that the A11yDialog class is defined inside the A11yDialog namespace and the default export is the namespace and not the class. (I'm no TypeScript expert though so this is just a semi-educated guess!)

Hey :) Thanks for pointing this out, I will look into that as soon as I can! On first glance it seems you're right, both should be exported.

Totally agree. The last line in file a11y-dialog.d.ts should look like this
export = A11yDialog.A11yDialog;

instead
export = A11yDialog;

because A11yDialog is a namespace, and A11yDialog.A11yDialog is a class declared inside that namespace

Thank you both! This should be fixed with version 5.4.2. :)

Thanks all for fixing this so quickly, I really appreciate it!


Support for community Components, Connectors, Themes and Pluggable Architecture

What?
As open source projects get bigger, it often makes sense to separate out "core" features from "community supported" features.
While core maintainers can continue to rapidly develop features that they think will be useful for a high proportion of users, other community members can also publish and maintain features which extend the functionality in specific ways.
And there can be a porous boundary between these, for community features that are highly adopted / core features that see limited use.
Why?
The benefits of this are twofold:

Maintainers can keep product velocity high, as there is a lower surface area of code they need to maintain
Community members benefit from community supported features that maintainers would not otherwise build

How?
Evidence's current architecture does not support external plugins easily.
Initial thoughts on what this would require:
Features

The ability to develop components outside of the Evidence Development Workspace ("example-project"), which is currently required due to dependencies etc
Remove requirements to add boilerplate in core project to add a component
Making connectors "pluggable" - the ability to install and choose a connector that is not in the core package.

Docs

Documentation on how to publish a standalone package (eg dbt)
A page in our docs where we can point to community supported packages (eg dbt)
A guide on how to create, use and publish themes

Pluggable Connectors
I think we are not far off here.
What is needed

A repo per community connector: containing the package. This should be similar to each of the packages used per connector today.
published on npm
a naming convention that makes sense: Perhaps evidence-[connector]. Probably not namespaced to @evidence-dev/
some way to select that connector: Perhaps add all community connectors to the settings UI
a way for a user to install the connector: include it in requirements in package.json
a way for evidence to import the connector: very slight refactor of db-orchestrator to allow non @evidence-dev/ namespaced pacakages
evidence docs: a page showing connectors and support level
community connector docs: can use a readme in their repo, or more if they wish
ability to develop and test changes to community connectors: ? Should the connector repo have some kind of inbuilt test environment?
process for updating core evidence to with new connector info: ? Maybe just PRs to core docs?

This is basically all now supported.
Aside from a simple theme system, which we can treat standalone.


update spec_version:27

test contract in CI
fix bits for privileges not enough for new adding
when getting credit required staking balances, returns value should m…
add day npow mint limit
distinct dpr and usdt staking
modify Privilege::CreditAdmin to Privilege::OracleWorker
add pay_delegators_pool event
polkadot/frontier0.9.24-1 upgrade; frontier test script change
+1 for usual blocks num per era for handle edge case
move npow_mint from operation to staking
add function for remove usdt staking record

Codecov Report

Merging #326 (685ac90) into master (2f2b92d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #326   +/-   ##
=======================================
  Coverage   66.91%   66.91%
=======================================
  Files          55       55
  Lines       16641    16641
=======================================
  Hits        11136    11136
  Misses       5505     5505

Impacted Files
Coverage Δ

runtime/src/lib.rs
10.96% <ø> (ø)

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


How can I help?

I just stumbled upon this project due to your post on the PowerShell Scripting group on Facebook. You mentioned in your overview that:
"Some of those commands are not yet finished and some are going to evolve. Some will get new features, some will be deprecated (or not really needed)."
What exactly needs to be worked on? Is there any way in which I can help?

Well.. I am working on Headers/Footers now. But there are bookmarks that are not added. Hyperlinks/Equations and few other things have basic functionality. And since they apply to paragraph essentially Add-WriteText kind of applies to them as well. So i need to extract add-writetext settings to another support function which then will be used in 3 or more cases to apply colors etc for hyperlinks/equations. There are probably other features in DocX library that I have not touched yet. Then there is add-wordtable, add-wordlist that was tested in very few cases. I assume it will blow up on harder objects or different use cases. I would also like some functions to work via pipeline so you can actually do $object | Add-WordTable -WordDocument $WordDocument and it would work. Also I need to make sure that processing is done properly. I do no try/catch, just basic error checking. Make your pick ;-) probably if people start to use it (or myself) there will be things that needs changing because it doesn't make sense.

Then there is also pagelayout (orientation) that needs to be done.

And then basically all read methods (loading word, changing things, copying things) etc.

Perfect! In that case when I have some free time this weekend I'll see what I can do to help.

I've added today lots of stuff and changed things around. Make sure that if you start on something on saturday to review what's there :-)


I forgot my password and when I want to recreate it, it asks for all kinds of password.

🔥 Bug Description
when i go "aspirate generate"

i got this screen and i don't know my password. Someone can help ?

Manually delete the aspirate-state.json, re-run 'aspirate build', and say 'n' when it asks you to re-use settings, it should then prompt you to set a new password.

Manually delete the aspirate-state.json file, re-run 'aspirate generate', and say 'n' when it asks you to re-use settings, it should then prompt you to set a new password.

Thank you <3


[bug] global_settings order of preference.

Describe the bug
When defining global_settings block for a given landingzone, the current landingzone should take precedence over global_settings defined in lower/other current landingzones. Also, the global_settings should only be imported when global_settings_key is defined. Since a merge function is used, the order of items in the map are important.
To Reproduce
Steps to reproduce the behavior:
Create a landingzone with global_settings [passthrough = true;]
Create another landingzone with global_settings [passthrough = false; prefix=xyz]
Now withing the landingzone.tfvars, reference the 1st landingzone within the tfstate block.
Expected behavior
passthrough = false, prefix = xyz should take preference and the resources should not be destroy by referencing to lower tfstate.
Pull Request
[Global_settings precedence] https://github.com/Azure/caf-terraform-landingzones/pull/402

Note: Until this issue is addressed, as a work around, we can define the following block, to override the lower level passthrough=true
custom_variables = {
  passthrough = false
}

This way, the resources will not be destroyed when we reference lower level TF state file.

@arnaudlh @LaurentLesle Could you share your thoughts on this issue please


Added translations for showing more or less information of a lineItem…

1. Why is this change necessary?
There was no translation for showing "more" or "less" information in line item childrens. So in a german shop there will be english words
2. What does this change do, exactly?
Use translations
3. Describe each step to reproduce the issue or behaviour.

Create product with children with a much to long meaningful title
look that there will be "more" to see in offcanvas and checkout

4. Please link to the relevant issues (if any).
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/NEXT-19060
Please use this issue to track the state of your pull request.

Thanks for your contribution! :blue_heart: :tada:


Add buildkit

Hi there,
I'm no Go developer, but I had a go anyway!
I need buildkit for an image I'm building. I'm hoping that this PR is safe to test as it only adds the version if the use-builtkit variable is set to true.
I haven't tested as I'm not too sure how
may solve #98

Just been thinking about this change, an alternative way to handle this would be to let a pipeline build the image in the local repository, and let mass just push that image and skip the build responsibility.

Hey @Phiph, thanks for the contribution!
Unfortunately, this change doesn't get what you want since buildkit is usually the default builder anyways. The issue is mass uses the docker client not the buildx client to do image builds. If you want to read about the differences: https://github.com/moby/buildkit/issues/1214#issuecomment-991352402
We have been considering multiple options on how to fix this including swapping to the buildx client, forking out to "your" local docker and skipping building images altogether. Or some combinations of the three options.
Based on what I saw in slack I think the fastest way around this for you would be to have a flag that skips the build then you can build and push the image wherever you need it and mass can do the rest of the build.

Thanks @dramich  I can see your PR too - I'll close this one!


 not working when  exists

<ExcludeFromNuPkg> NOT taking effect in the following example:
<Reference Include="SomeLibrary.dll" Condition="'$(SomeKey)'=='someValue'">
  <HintPath>$(SomeHint)\SomeFolder\SomeLibrary.dll</HintPath>
  <ExcludeFromNuPkg>true</ExcludeFromNuPkg>
  <Private>true</Private>
</Reference>

To bypass the issue, we have to get rid of the <HintPath> tag, which doesn't make sense to us:
<Reference Include="$(SomeHint)\SomeFolder\SomeLibrary.dll" Condition="'$(SomeKey)'=='someValue'">
  <ExcludeFromNuPkg>true</ExcludeFromNuPkg>
  <Private>true</Private>
</Reference>

Just wondering if this is known/expected.
Thanks folks for the great work!
Jason

This project isn't maintained by its original owners any more (myself included). We encourage folks to use .NET SDK self-packaging projects or other more modern methods. NuProj is quite old compared to the latest NuGet and csproj standards.


Named parameter is not recognized for blob trigger if the Container name in function.json does not match the container name in Run Now

Named parameter is not recognized for blob trigger if the Container name in function.json does not match the container name in Run Now. This is not an issue if the function.json does not have a named parameter.
Please provide a succinct description of the issue.
Steps

Create a Function using Blob-Trigger NodeJS template

Use the following as path property in function.json
path: images/{name}

Use the following in the run now text box
sample/image.jpg

Expected Output:
Node.js blob trigger function processed
 Blob: image.jpg
 Blob Size: 40286 Bytes

Actual Output:
Node.js blob trigger function processed
 Blob: undefined
 Blob Size: 40286 Bytes

For C# this results into an exception
Exception while executing function: Functions.BlobTriggerCSharp1. Microsoft.Azure.WebJobs.Host: Exception binding parameter 'name'. Microsoft.Azure.WebJobs.Host: Binding data does not contain expected value 'name'.

Moving to backlog since we don't really have a scenario for the issue.

This is kind of expected, and would happen in the same way in the core WebJobs SDK Dashboard. The reason is that Run is doing a direct invoke, so it is actually "faking" a trigger. Your function would never have been triggered for the path you gave. Forcing it via Run just results in a template mismatch.
I don't think we'll change anything here. The user should just specify a matching container.


Read a recommendation

As a user
I need the ability to read recommendations for a product
So that I'm able to to know what products are recommended when I'm buying a specific product.
Details and Assumptions

For a user, when I'm browsing a product, the recommendations  for this product should be displayed.

Acceptance Criteria
Given I have the function '' to read recommendations of a product  for a user
When I call {GET read_recommendations?user_id=5&product_id=8}
Then recommendations of this product should be shown to the user.

Does it has similar function with this issue #12 ?

I'm wondering about this as well and the also the difference between listing all recommendations & read a recommendation.
I'm not sure if listing all recommendations is listing all the recommendations for a specific product or all the products in the shopping cart. If it is listing all the recommendations for a specific product then reading a recommendation might be the function to look into the detail of a single recommendation.

My idea is that for listing all the recommendations, we should only require a user_id and get all the recommendations for this user, since this user may have bought several products. And for **reading a recommendation, the user may click on a specific product to check the details of this product, and we should give the user those recommendations for this specific product that the user clicked.

I think both make senses, as for endpoint, I think Qiheng saying it should be /recommendations/{user_id} to list all recommendations for that specific user. While Rayi saying it should be /recommendations/{product_id} to list upsell products for that product. I think both are fair enough, we can do it all but with different endpoints.


feat(#594): Add Unit Tests for XmlAttribute

In this PR I added unit tests for XmlAttribute class and made it return BytecodeAttribute instead of Optional<BytecodeAttribute>.
Closes: #594.
History:

feat(#594): add a test skeleton for XmlAttribute
feat(#594): make XmlAttribute return BytecodeAttribute instead of an optional value
feat(#594): add one more unit test case for XmlAttribute
feat(#594): fix all the code offences

PR-Codex overview
The focus of this PR is to refactor the XmlAttribute class, removing the use of Optional and improving attribute handling.
Detailed summary

Removed the use of Optional in the attribute() method of XmlAttribute class.
Improved attribute handling by directly returning BytecodeAttribute objects.
Added a new constructor in XmlAttribute to initialize with an XML node string.
Refactored the XmlAttributes class to collect attributes more efficiently.
Added tests in XmlAttributeTest to cover attribute conversion and exception scenarios.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@volodya-lombrozo Thanks for your contribution! Here's your reward breakdown: +4 base points, +7.45 for 149 hits-of-code (capped at +16), -16 for no code review, -16 for zero reviewer comments, and -8 for <20 hits-of-code. Total: 4 points (minimum). Keep improving and aim for more reviews next time! Your balance: +123.

@volodya-lombrozo Thanks for your contribution! You've earned +4 points: +4 base, +7.45 for 149 hits-of-code (capped at +16), -16 for no code review, -16 for no reviewer comments, +24.55 adjusted to the maximum of 24 points. Remember, code reviews and comments are crucial for better rewards. Keep contributing and aim for that sweet spot of 200-800 hits-of-code per submission. Your balance is now +123. 👍


question: VRAM requirements for SDXL 1024 or another resolution

Hi, your work looks really promissing and I am preparing to try training this.
But can you tell me why in your example you use 512x512 even for SDXL? Or does it maybe not matter to use this lower res for final output? Or should I aim to use 1024x1024?
Do you know what would be VRAM usage for such?
And can I use different aspect ratios for training as well? Like 1024x768 etc?
Thanks

Of course, the 512px training will affect the output of sdxl, but my graphics card is only suitable for running 512px. 1024px may require gradient accumulation and gradient_checkpointing techniques to run on a graphics card with 16GB VRAM. For special ratios, such as 1024x768, you need to write dataset-related code yourself.

That is interesting.. I was not able to run full SDXL traininig without offloading to CPU via Deepspeed on my 4090, but with those technics, it is quite slow, would take probably months to train CN.. so your approach with lower res might be good solution.
But how would you compare training SDXL with 512x512 to just training CN on SD 1.5?
I was training SD 1.5 and problem was it was noticable model doesnt have such big context as SDXL, but on SDXL I was able to run only kohyass CN LLLite, which took advantages of bigger context of SDXL but was lacking preision because this LLLite version strips so much weights that in some ways it did not worked at all...
So your Control Lora might be perfect solution but would like to understand it more before I invest time into it, mostly preparing dataset is always biggest hassle :)

The reason for training sdxl 512x512 is that the generation effect of sdxl is better than sd 1.5. However, I am not sure how much the 512x512 resolution affects the generation effect of sdxl


Default Configuration Change: Integrated Terminal Defaults OSX/Linux

I would suggest adjusting the following default configuration options, as the current linux/osx terminal (/bin/bash) are acceptable, however, the user environment isn't setup as the profile script isn't run.  If the default shellArgs were set, it would be a better default.
// The path of the shell that the terminal uses on Linux.
"terminal.integrated.shell.linux": "/bin/bash",

// The command line arguments to use when on the Linux terminal.
"terminal.integrated.shellArgs.linux": ["-l"],

// The path of the shell that the terminal uses on OS X.
"terminal.integrated.shell.osx": "/bin/bash",

// The command line arguments to use when on the OS X terminal.
"terminal.integrated.shellArgs.osx": ["-l"],

I've considered this in the past but I'm against it for the following reasons:

Giving *.shellArgs.* a default on Linux/OSX would make it more difficult to customize the default
AFAIK it's more of a hack to run a login interactive shell (see: http://unix.stackexchange.com/a/46856/115410 http://askubuntu.com/a/156038/409516). You would be better off putting your setup in ~/.bashrc and/or ensuring ~/.bash-profile is idempotent then sourcing that from your ~/.bashrc.


./visualizer:segmentation fault

when i run ./visualizer ,there are appear an error: Segmentation fault(core dumped);
I have a default.xml in  ../config folder, and I chang the default.xml : model_path to my path and model files;
So i do not know where the error come from, someone could help me ,thanks!

Thanks for using our code.
Have you already tried the example demo of rangenet_lib?
You may test the rangnet_lib first. It could be the problem of tensorrt of cuda version.
You could find more details here: https://github.com/PRBonn/rangenet_lib

Thanks for the reply. Yes, the Rangnet_lib have the same error also.
Here is my environment：Ubuntu18.04, TensorRT 6.01+cuda10.1.

It would be much better if you could provide more details about the compiling and error message/log.

This is the output of Rangnet_lib :
================================================================================
scan: /root/catkin_ws5/src/rangenet_lib/example/000000.bin
path: /root/catkin_ws5/src/rangenet_lib/example/model/
verbose: 1
Setting verbosity to: false
Trying to open model
Trying to deserialize previously stored: /root/catkin_ws5/src/rangenet_lib/example/model//model.trt
Could not deserialize TensorRT engine.
Generating from sratch... This may take a while...
Trying to generate trt engine from : /root/catkin_ws5/src/rangenet_lib/example/model//model.onnx
Segmentation fault (core dumped)

This is the output of when I run the Rangnet_lib:
scan: /root/catkin_ws5/src/rangenet_lib/example/000000.bin
path: /root/catkin_ws5/src/rangenet_lib/example/model/
verbose: 1
Setting verbosity to: false
Trying to open model
Trying to deserialize previously stored: /root/catkin_ws5/src/rangenet_lib/example/model//model.trt
Could not deserialize TensorRT engine.
Generating from sratch... This may take a while...
Trying to generate trt engine from : /root/catkin_ws5/src/rangenet_lib/example/model//model.onnx
Segmentation fault (core dumped)

I have debug to the error line: netTensorRT.cpp, line 509 builder->platformHasFastFp16();
the value of "builder" is 0;
The error from TensorRT is almost sure,but how can I  solved this .
Thanks.

Yes, it seems to be a problem caused by the TensorRT.
I didn't meet such a problem so far. I just googled it. It could be a problem with the mismatching of your graphic card and the TensorRT version.
Could you please also report your graphic card and the corresponding driver setups?
You may also give it a try with another version TensorRT, e.g. TensorRT-5.0.
Best

Thanks. I have try with TensorRT5.1 version,  the last error had disappear,while another error occur >--<:
Here is the terminal output:
OpenGL Context version:4.6 core profile
GLEW initialized
OpenGL context version:4.6
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string GeForce GTX 750/PCIe/SSE2
terminate called after throwing an instance of "rv::XmlError"
what(): Error while parsing in line 1
Aborted(core dumped)

Thanks. I have try with TensorRT5.1 version, the last error had disappear,while another error occur.......
Here is the terminal output:
OpenGL Context version:4.6 core profile
GLEW initialized
OpenGL context version:4.6
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string GeForce GTX 750/PCIe/SSE2
terminate called after throwing an instance of "rv::XmlError"
what(): Error while parsing in line 1
Aborted(core dumped)

Sorry for the late reply. It seems it cannot find the configuration file or something wrong when it parses the file.
You could try to run the visualizer with a specific path of the configuration file, like:
./visualizer /path/to/config/file

Hi @xuguangyun
Is there any update about this issue?

Thanks a lot! I have try to run the visualizer with a specific path of the configuration file, the problem solved！

Sorry for the late reply. It seems it cannot find the configuration file or something wrong when it parses the file.
You could try to run the visualizer with a specific path of the configuration file, like:
./visualizer /path/to/config/file

Hi @Chen-Xieyuanli  I am facing the same issue. I have successfully built the RangenetLib. Could you specify which config file?
It displays this output while running the visualizer script.
OpenGL Context Version 4.6 core profile
GLEW initialized.
OpenGL context version: 4.6
OpenGL vendor string  : NVIDIA Corporation
OpenGL renderer string: GeForce 940MX/PCIe/SSE2
Segmentation fault (core dumped)

Sorry for the late reply. It seems it cannot find the configuration file or something wrong when it parses the file.
You could try to run the visualizer with a specific path of the configuration file, like:
./visualizer /path/to/config/file

Hi @Chen-Xieyuanli I am facing the same issue. I have successfully built the RangenetLib. Could you help out? In this case it doesnot seem to a issue of file location.
It displays this output while running the visualizer script.
OpenGL Context Version 4.6 core profile GLEW initialized. OpenGL context version: 4.6 OpenGL vendor string : NVIDIA Corporation OpenGL renderer string: GeForce 940MX/PCIe/SSE2 Segmentation fault (core dumped)

Hey @Dhruv2012, sorry for the late reply. I never encountered such a problem, but there are some solutions provide by other users #7. It seems to be a problem caused by GTSAM.


Fix for negative flakes

The top most bit of the first Vendor byte is causing negative MAC
addressed and hence negative flakes. I suggest removing the least
significant bit of first vendor byte, the Multi/uni cast indicator
which would be the same for all PC NICs then shift the remaining 7 bits
down (right) 1.

Coverage increased (+0.04%) to 96.9% when pulling 0a596388f6714356b5d6d8cdcd88790af29ab4e3 on azderski:negative-flakes into 54631faefdaf6b0b4d27b365f18c085771575cb3 on rholder:master.

Coverage increased (+0.04%) to 96.9% when pulling 0a596388f6714356b5d6d8cdcd88790af29ab4e3 on azderski:negative-flakes into 54631faefdaf6b0b4d27b365f18c085771575cb3 on rholder:master.

Coverage increased (+0.04%) to 96.9% when pulling 0a596388f6714356b5d6d8cdcd88790af29ab4e3 on azderski:negative-flakes into 54631faefdaf6b0b4d27b365f18c085771575cb3 on rholder:master.


Add spec version in as part of generated SDK

Maybe something like this:
import snappi
api = snappi.api()

api.info()
# output
{
    "title": "Open Traffic Generator API",
    "version": "0.4.5",
    "url": "https://github.com/open-traffic-generator/models",
    "license": "https://opensource.org/licenses/MIT"
}

Fixed with https://github.com/open-traffic-generator/openapiart/issues/389


PA Traps CEF Format Anomaly

Here is another non-working format that appears to be silently dropped on the floor due to their inclusion of the year in the header...
Jan 17 2018 15:05:27 <IP_ADDRESS> CEF:0|Palo Alto Networks|Traps Agent|<IP_ADDRESS>779|Prevention Event|Threat|9|rt=Jan 17 2018 15:05:27 dhost=ago048 duser=BLAH\chewbach cs2Label=Module cs2=Local Analysis deviceProcessName=stikynot.exe fileHash=a8e28bd4f51d6d2b7a9ddb4e8220ff5c220007660f6edc7dbf8c6d81071386a9 cs3Label=ContentVersion cs3=28-2008 dvc=<IP_ADDRESS> cs5Label=EventTime cs5=Jan 17 2018 15:05:24 msg=New prevention event. Prevention Key: 3bd9a290-08a5-45c8-adb4-3676ff04ce79

FYI I have an open case with Palo Alto support, and it appears they are looking into correcting this so they are no longer in violation of RFC 3164 for timestamp formatting.
It took two-plus weeks and pushing through two different engineers, after having provided crystal-clear documentation as to what was wrong and refuting erroneous assertions foisted back at us, but here we are.

the Engineering team, has identified a gap in our formatting based on your notes. They are actively researching the correction to the formatting, and any other ramifications that it will cause for other portions of the software.

Update from Palo Alto GTAC:

I was informed that in version 4.1.4, adjustments were made to standardize our CEF logs. No affect to the core code was found with these changes, and implementation has been completed. 4.1.4 should be in QA shortly.

Version 4.1.4+ should now have all requisite fixes and has been released.  This can be closed now.


chore: switch to npm and bump dependencies

:pencil: Description

:link: Related Issues

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


tensile build with 16 threads

testing compile limiter

So this seems to avoid the pre_checkin build failure if you want to approve and merge.  Your extended failures seem to be back to the old buffer bug.  Did you ever raise a compiler ticket for that?


MDN boxes obscure text when printed

When a spec is printed, the MDN boxes sometimes cover the text. To reproduce, print a PDF of, for instance:
https://www.w3.org/TR/orientation-event/
Here is an example:

As these elements are non-interactive, I wonder if we should remove them when printing? Not sure.

Yeah, I think they should just be hidden while printing. In theory their information could be useful, but it seems really niche, and the display issues with doing so are large enough that I don't think it's remotely worth it.


feat(semantic-pull-request): disable validateSingleCommit

Description

Similar to https://github.com/autowarefoundation/autoware-github-actions/pull/148, I think we can also remove validateSingleCommit now. I just forgot to remove it.
action-semantic-pull-request ensures that the PR title is semantic.
https://github.com/amannn/action-semantic-pull-request/blob/4682b170e7c31dfbef288e994fe07853755229b4/src/index.js#L67
With this PR, we can remove this part in the pull request guidelines.
https://github.com/autowarefoundation/autoware-documentation/blob/af6c4d1b2c0747aa93f5c50899fa0c07e93b6d21/docs/contributing/pull-request-guidelines/index.md?plain=1#L74-L76
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Note: The maintainers should change this option to either one in the red square.

@xmfcx Could you review this? :pray:

I suppose it's okay for @xmfcx.

Ah thanks, it's ok. It was in draft, forgot to approve it.


Dockerize full development environment

This adds the entire app to the docker-compose.yml so that a full development environment can be brought up with a single docker compose up. It starts the Docs Site on port 3000 and Storybook on port 6006 to maintain the same behavior we currently have.
This should also fix the issues some of us have been having where yarn dev doesn't rebuild correctly and leaves a hanging node process, necessitating restarting the app and manually killing any node instances (it doesn't use run-p, instead watching for CSS/SVG changes in separate docker containers).
Hoping everyone is cool with this. It should make getting things up-and-running for new folks much easier, and helps a lot when switching between other projects.

Looks good! We'll have to get around to removing Postgres at some point, but this is not critical.

Not sure I follow... why would we remove Postgres?

Looks good! We'll have to get around to removing Postgres at some point, but this is not critical.

Not sure I follow... why would we remove Postgres?

It's not being used for anything, but I think the client code is still part of the app which will throw an error if t doesn;t find the ocnnection string in the env.


Uninstalling the plugin does not remove the link to the plugin

Describe the bug
Even if I delete all set tokens on an element in a file, a link to the plugin is still shown in the right sidebar.
Definitely no tokens set. Saved. Reopened, the sidebar still shows:

Expected behavior
When I uninstall a plugin I don't want to be confronted with the traces of this plugin in my files. Also I have no way to remove these traces, which is unacceptable in my eyes.
Reproducible example:
https://www.figma.com/file/XR2Ln0Yaswn4vje1tWkpEK/remove-token-bug?node-id=0%3A1
To Reproduce
Have a look at the size-instances inside the icon-components. Even if I delete the connection to the Plugin and uninstall the plugin, the connection is still showing up on reopening the file.

Unfortunately there's nothing we can do about that, that's Figma behaviour. Care creating a feature request over at the Figma forums?


Use Event Sourcing

Resolve #33
Implementing Task with Event Sourcing Pattern.
I left State Saved Model for learning.

FYI: #38

references:

https://github.com/get-eventually/eventually-rs
https://github.com/VaughnVernon/IDDD_Samples

I consider how to manage transactions.
I want to manage a transaction in usecase layer, so that I consider to provide interface about transaction from Repository and use it in usecase layer, but it is not so good pattern in Rust. Transaction' lifetime will be longer than Connection's lifetime on the pattern. It is impossible to implement because Transaction is provided from Connection.
https://stackoverflow.com/questions/36117966/why-does-my-trait-need-a-lifetime-parameter
https://stackoverflow.com/questions/41270052/cannot-infer-an-appropriate-lifetime-for-autoref-due-to-conflicting-requirements
https://stackoverflow.com/questions/32300132/why-cant-i-store-a-value-and-a-reference-to-that-value-in-the-same-struct

The reason why above implementation is impossible can be explained by rusqlite signature.
https://docs.rs/rusqlite/latest/rusqlite/struct.Transaction.html#method.commit
Transaction struct's method commit needs ownership of it own and Transaction's lifetime must be the same as Repository, so that it is impossible.


Configure CI to run all tests in all configurations

This updates CI jobs to run all tests in all three configurations.
We have configurations below for running tests:

Parallel Processing: refers to computing effectiveness of multiple fixes simultaneously using graph coloring.
Caching: refers to caching fix’s impacts and reuse in next iterations.

This PR updates CI to run all tests in three combinations below with flags above:

Parallel Processing Disabled
Parallel Processing Enabled

Caching Disabled
✓
✓

Caching Enabled
X
✓

In the current architecture of unit tests, we have a set of unit tests (that each will be converted to a standalone gradle project) which the internal state of Annotator is verified. Currently, both parallel processing and caching is activated. This PR updates the CI by rerunning unit tests to verify the internal state of the Annotator is consistent among these configurations as they are merely optimization and should not have any effect on the impact computation.

@lazaroclapp Thank you for the review, this is ready for another round.

@lazaroclapp Thank you very much for the review, will land it now 🙂.


CxfClient with ComplexTypes fails on subsequent re-runs of quarkus test.

Had reported it in the main repo, but have been asked to raise here --
Describe the bug

When a CxfClient that has only primitive types is injected in a @QuarkusTest, all works fine (including re-runs of the test)
When a CxfClient that has a complex type is injected in a @QuarkTest, the test passes once, and fails on every subsequent re-run, and works again when quarkus test is exited and re-started
When 2 CxfClient's are injected in separate @QuarkusTest, neither tests pass, one has to be commented out.

Expected behavior

CxfClient with Complex Types should support continuous tests (quarkus test - re-run)
Multiple CxfClient should work without causing conflicts with each other.

Actual behavior
No response
How to Reproduce?
Reproducer
The steps are mentioned in ReadMe.
Output of uname -a or ver
Darwin Akhileshs-Air.domain.name 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:19:22 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8112 arm64
Output of java -version
openjdk version "21" 2023-09-19 LTS OpenJDK Runtime Environment Temurin-21+35 (build 21+35-LTS) OpenJDK 64-Bit Server VM Temurin-21+35 (build 21+35-LTS, mixed mode)
Quarkus version or git rev
3.9.1
Build tool (ie. output of mvnw --version or gradlew --version)
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae) Maven home: /Users/akil/.m2/wrapper/dists/apache-maven-3.9.6-bin/3311e1d4/apache-maven-3.9.6 Java version: 21, vendor: Eclipse Adoptium, runtime: /Users/akil/.sdkman/candidates/java/21-tem Default locale: en_IN, platform encoding: UTF-8 OS name: "mac os x", version: "14.4.1", arch: "aarch64", family: "mac"
Additional information
Adding a @RequestWrapper annotation removes this error - but this annotation is optional, and should not be required.

Thanks for the report and especially for the reproducer @akil-rails!
It is naming clash. When generating the ancillary classes, the default name of the operation is taken from the method name. Then for the two sayHello methods only one com.spliceforms.jaxws_asm.SayHello class is generated that suits only one of the services.
There are several ways how you can work around the issue:

Move one of the interfaces into a new java package
Use different method names
Use @jakarta.jws.WebMethod to set an alternative name.

Let me check whether/how we can fix it.

I'd say the issue is in CXF code around here:
https://github.com/apache/cxf/blob/80c92d57ab7c34f59d51c3b30d0db9ab074e8c6b/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/spi/WrapperClassLoader.java#L92-L97
It looks like the class name is not taken into account when creating the name of the generated request and response class.
For the record, here is the stack trace from the reproducer:
 java.lang.IllegalArgumentException: argument type mismatch
[WARNING] [stderr]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[WARNING] [stderr]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[WARNING] [stderr]      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[WARNING] [stderr]      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[WARNING] [stderr]      at org.apache.cxf.databinding.AbstractWrapperHelper.createWrapperObject(AbstractWrapperHelper.java:114)
[WARNING] [stderr]      at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:91)
[WARNING] [stderr]      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
[WARNING] [stderr]      at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:530)
[WARNING] [stderr]      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:441)
[WARNING] [stderr]      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:356)
[WARNING] [stderr]      at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:314)
[WARNING] [stderr]      at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
[WARNING] [stderr]      at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
[WARNING] [stderr]      at jdk.proxy6/jdk.proxy6.$Proxy132.sayHello(Unknown Source)
[WARNING] [stderr]      at com.spliceforms.NoWsdlClient2Test.testSayHello(NoWsdlClient2Test.java:22)

I have filed this CXF issue: https://issues.apache.org/jira/browse/CXF-9003
On Quarkus CXF side, we could at least make the class generation fail at build time when this kind of a clash happens.


Update timelib

A few months ago I fixed a bug in PHP regarding date comparison with milliseconds.
Derick helped on that and he extracted the time compare function to timelib.
So in the first commit you see that function that I needed to fix the same bug in HHVM. In the second commit I updated timelib as a whole.
I checked the patch that is in here, but as far as I could see, all changes are already in timelib itself as well. But I'm not 100% sure about the win32/php_stdint.h
After I updated timelib as a whole, hhvm failed to compile on 1 line. I solved that by just removing the ifdef and always use the bit32.timecnt. That change is also in the PR to HHVM.

I've updated timelib to the latest version that's upstream in PHP. I also updated everything else to upstream versions and switched everything I could to use their official git repositories as submodules where I could. Naturally, everything is currently very broken, so I'll have to fix everything before I go updating the third-party symlink.


Improve middleware correctness

A couple of middleware correctness changes discovered while updating #103. Hopefully none of these will impact behaviour, though there are some functional changes here (not just annotations).

Coverage remained the same at 99.459% when pulling 1cf13f366e632cb80b7f7cc3464a5c248db713b7 on improve-middleware-correctness into 74a05e665fea0f1c9ddcab01926b27cd867446b5 on master.


🔥 influxd burns extraordinary high CPU time idling doing nothing 🔥

influxd process burns extraordinary amount of CPU time idling doing nothing, while there are no write or read requests at all. It burns more CPU than all other processes combined.
straceing influxd process reveals that there is a swarm of influxd processes/threads doing 1-second waits on a futex, timing out, and repeating the wait. This is a well-known coding anti-pattern influxd developers should learn more about.
influxd should wait on its sockets with the timeout being the next earliest time to do its house-keeping. There are numerous  I/O demultiplexing libraries, libevent being the father, which manage sockets and timers most efficiently for you. There is absolutely no need to burn excessive amount of CPU cycles doing this sloppy/illiterate 1-second polling to handle timers.
For my use case, it is cheaper to start influxd on each request and stop it after, than having influxd process running all the time burning mother Earth resources needlessly. Which is what I have to do to save on my electricity bill and reduce pollution.
The below steps to reproduce are somewhat needless in the light of my homework findings above, but here you go.
Steps to reproduce:

Create a bucket with infinite retention.
Fill the bucket with 5-year's worth of 1-minute OHLCV-like data for one "measurement". That is, there are 5 floating point columns O,H,L,C,V updated every minute per "measurement". Generate this shape and type of data and insert that into the bucket using your favourite programming language of the day.
Observe influxd process burning CPU cycles idling doing nothing, without any write or read requests at all.

Expected behavior:
influxd process burns 0 CPU cycles idling doing nothing.
Actual behavior:
influxd process burns more CPU cycles idling doing nothing than all other processes combined:
max@supernova:~$ ps -efww --sort -cputime
UID          PID    PPID  C STIME TTY          TIME CMD
influxdb    3690       1  3 Jun23 ?        00:43:47 /usr/bin/influxd
max         4871    4642  0 Jun23 ?        00:06:37 /usr/bin/plasmashell --no-respawn
max         5103    5027  0 Jun23 ?        00:04:24 /usr/bin/nvidia-smi dmon -d 2 -s pucm
root        1714       2  0 Jun23 ?        00:03:59 [irq/168-nvidia]
max         4833    4642  0 Jun23 ?        00:03:43 /usr/bin/kwin_x11 --replace
max        15062   15035  1 Jun23 ?        00:02:16 /opt/google/chrome/chrome --type=gpu-process ...
max         5027    4642  0 Jun23 ?        00:01:47 /usr/bin/ksystemstats
root        2888    2740  0 Jun23 tty1     00:01:45 /usr/lib/xorg/Xorg -nolisten tcp ...
...

In the above listing, influxd burnt 43 minutes of CPU doing nothing during the 24 hours since the boot.
Environment info:

System info: Linux 5.19.0-1025-lowlatency x86_64
InfluxDB version: InfluxDB v2.7.1 (git: 407fa622e9) build_date: 2023-04-28T13:24:27Z
Other relevant environment details: influxd data files reside on a SATA 6G SSD disk.

Config:
bolt-path = "/home/influxdb/.influxdb/influxd.bolt"
engine-path = "/home/influxdb/.influxdb/engine"
flux-log-enabled = true
query-concurrency = 32
query-queue-size = 32

storage-tsm-use-madv-willneed = true
storage-cache-snapshot-write-cold-duration = "24h0m0s"
storage-compact-full-write-cold-duration = "24h0m0s"
storage-retention-check-interval = "24h0m0s"
storage-shard-precreator-check-interval = "24h0m0s"
storage-max-concurrent-compactions = 1
storage-series-file-max-concurrent-snapshot-compactions = 1

Config options below query-queue-size were my fruitless attempts to make influxd not burn CPU cycles needlessly.
Logs:
influxdb.log
influxd.strace.txt with 1-second waits on a futex.
Performance:
profiles.tar.gz
iostat.txt

Are you sure your influxdb process has come up correctly? I mean I'm not sure which part of the code has done this to you, but I guess it's because of grace-test:
            attempts=0
            max_attempts=30
            while ! curl localhost:8086/health; do
              attempts=$((attempts+1))
              if [[ $attempts = $max_attempts ]]; then
                >&2 echo influxd "didn't" start in time
                exit 1
              fi
              sleep 1
            done

Can you check that your influxdb process has been bounded to port 8086 (its port)?

Are you sure your influxdb process runs correctly?

I am 100% positive, like a proton.


Can't generate sql from a simple select statement with "with ur"

I'm not able to generate sql from a simple select statement with "with ur" at the end, but works fine if removed, e.g:

SELECT * FROM MYSCHEMA.MYTABLE WHERE ID = 1 WITH UR;

Can't generate

SELECT * FROM MYSCHEMA.MYTABLE WHERE ID = 1;

It works

Driver name: DB2 / DB2 LUW
Library: db2jcc4-10.1.jar
(Unfortunally I'm not able to upload image of this process)

What exactly "generate SQL" means?
I can execute query WITH UR in SQL editor and then run one of Generate SQL from context menu in results viewer.
Please provide a bit more details

Using version DBeaver Community Edition 5.0.2

Without "with ur".

With "with ur".

Yep. That's a bit more complicated.
This is what I see:

DBeaver needs to extract query metadata (source table name, schema, etc) in order to be able to generate SQL for it.
There are two ways to extract metadata:

Parse query itself. This doesn't work if you have WITH UR clause. Because JSQLParser library doesn't support it (yet).
Get driver-provided metadata. This is very depends on driver itself. I'm using driver 4.19.49:
 and it provides correct query metadata. Maybe your driver doesn't.
This is what I see in metadata penel:

Table name (COLUMNS) is specified. But other driver may omit it.

Please check your driver version and metadata panel.

Can you share this driver? Not sure if I'm testing correctly.

Cannot reproduce the issue on current version.
There is no update on ticket more than a year - ticket is closed.
If issue is still actual for you feel free to reopen the ticket or open the new one.


incorporate this into ur discord

basically people can choose their bat file, level through slash commands and a bot ( u will need to code this ) will reply back in dms with the obfuscated code.

this is very easy, i could code it, i just have some trouble with slash commands, so u will need to figure out how to change my code into slash cmds

I love the idea if I do make this ill make sure to give you credit if I do that ill deff also make sure I can message you on my discord server and we could work on it together


gcc 12.1.1 fix warning about reading larger than the buffer

@bryancall The file src/tscore/unit_tests/test_CryptoHash.cc doesn't exist in 9.2.x, maybe you want a different PR for 9.2.x if this problem exists here?


Squid 3.1.25 - Format Errors - Verify your log/date/time format

goaccess /var/log/squid3/access.log
Parsed 10 lines producing the following errors:

Token '43 teresa' doesn't match specifier '%x'
Token '43 teresa' doesn't match specifier '%x'
Token for '%x' specifier is NULL.
Token for '%x' specifier is NULL.
Token '43 noemia' doesn't match specifier '%x'
Token '43 noemia' doesn't match specifier '%x'
Token '43 noemia' doesn't match specifier '%x'
Token for '%x' specifier is NULL.
Token '43 felix' doesn't match specifier '%x'
Token '43 felix' doesn't match specifier '%x'

Format Errors - Verify your log/date/time format

My Squid config:
vim /etc/squid/squid.conf
# TAG: Log File
cache_access_log stdio:/var/log/squid3/access.log

My GoAcces Config:
vim /etc/goaccess.conf
# Squid native log format
#
time-format %s

# Squid native log format
#
date-format %s

# Squid native log format
log-format %^ %^ %^ %v %^: %x.%^ %~%L %h %^/%s %b %m %U

log-format SQUID

Please post a few lines from your squid access log.

1504299321.712  54269 <IP_ADDRESS> TCP_TUNNEL/200 639 CONNECT fb-s-c-a.akamaihd.net:443 yulaxi.gonzalez FIRSTUP_PARENT/<IP_ADDRESS> -
1504299321.820  90631 <IP_ADDRESS> TCP_TUNNEL/200 3364 CONNECT bam.nr-data.net:443 dailer.ribas HIER_DIRECT/<IP_ADDRESS> -
1504299322.060    848 <IP_ADDRESS> TCP_TUNNEL/200 531 CONNECT live.github.com:443 juan.mejias HIER_DIRECT/<IP_ADDRESS> -

Please also describe what each field is and how the fields are delimited (i.e., space, tab).

Delimited by space.
From https://wiki.squid-cache.org/Features/LogFormat
Resumen
Therefore, an access.log entry usually consists of (at least) 10 columns separated by one ore more spaces:
time: A Unix timestamp as UTC seconds with a millisecond resolution.
duration: The elapsed time considers how many milliseconds the transaction busied the cache.
client: address The IP address of the requesting instance, the client IP address.
result codes: This column is made up of two entries separated by a slash.
bytes: The size is the amount of data delivered to the client.
request method: The request method to obtain an object.
URL: This column contains the URL requested.
user: The eighth column may contain the user identity for the requesting client.
hierarchy code: The hierarchy information consists of three items:
type: The content type of the object as seen in the HTTP reply header.

time          duration  client    result codes  bytes request  URL                      user              hierarchy code           type
1504299321.712  54269 <IP_ADDRESS> TCP_TUNNEL/200 639 CONNECT fb-s-c-a.akamaihd.net:443 yulaxi.gonzalez FIRSTUP_PARENT/<IP_ADDRESS> -

The following should do it, however, you will need to build from development since a commit was pushed upstream that fixed an issue with the ~ specifier:
goaccess access.log --log-format='%x.%^ %~%L %h %^/%s %b %m %U %e %^' --time-format='%s' --date-format='%s' --http-protocol=no

goaccess /var/log/squid3/access.log --log-format='%x.%^ %~%L %h %^/%s %b %m %U %e %^' --time-format='%s' --date-format='%s' --http-protocol=no
Parsed 10 lines producing the following errors:

Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'
Token '' doesn't match specifier '%h'

Format Errors - Verify your log/date/time format

Did you build from development? If you did, did you uninstall the previously installed version? Otherwise you will get the error you just posted.

I used Official GoAccess' Debian/Ubuntu Repository.

As I mentioned above, a fix was pushed to the git repository that addresses an issue with the ~ specifier, so you will need to install goaccess from development  until the new release is shipped out.
Note, you may need to run apt-get remove --purge goaccess and install from dev.

Closing this. Feel free to reopen it if needed.


[Pager] HorizontalPager + LazyRow is not consuming nested scroll correctly

Hi guys, I think this was already commented but I would like to know the progress to fix this bug.
Description
If we use a LazyRow inside HorizontalPager, when the LazyRow scrolls to the first item and continue scrolling, the previous page of Pager is starting to show, that can be good I think.
But if the scroll change to the other way, the Pager is not going back.
Video attached to see what I am talking about:
https://user-images.githubusercontent.com/21697825/146852186-d7360bfc-b534-456e-bf45-122c15762888.mp4
Steps to reproduce
Create a new HorizontalPager and add LazyRow inside any page.
Code example:
@ExperimentalPagerApi
@Composable
private fun HorizontalPagerBugDemo(
    list: List<String>
) {
    HorizontalPager(
        modifier = Modifier.fillMaxSize(),
        count = 2,
        state = rememberPagerState(initialPage = 0),
        verticalAlignment = Alignment.CenterVertically
    ) { pageIndex ->
        when (pageIndex) {
            0, 1 -> LazyRow(
                modifier = Modifier,
                contentPadding = PaddingValues(10.dp),
                verticalAlignment = Alignment.Top,
                horizontalArrangement = Arrangement.spacedBy(20.dp)
            ) {
                itemsIndexed(list) { index, item ->
                    Text(
                        modifier = Modifier
                            .background(color = if (pageIndex == 0) Color.Green else Color.Red),
                        text = "$item\nPage $pageIndex\nIndex $index",
                        style = TextStyle(textAlign = TextAlign.Center)
                    )
                }
            }
        }
    }
}

Expected behavior
Pager: Go back if the scroll change and disable scroll if LazyRow is scrolling and not at the first or last item.
LazyRow: Disable scroll if the pager is scrolling
Additional context
Android version tested: 9, 10, 11, 12
Compose version: 1.0.5 ... 1.1.0-X
Accompanist version: 0.20.3 ... 0.22.0-rc

As it is not really a Pager specific issue could you please file this bug as the one for the Compose UI here https://issuetracker.google.com/issues?q=componentid:612128

Hi @andkulikov , thank you very much for your reply.
This is not a Pager issue?
Ok, I will open a new issue track.
Thank you very much and happy merry christmas!!

What I meant is Pager is essentially just LazyRow and it is the issue with nested scrolling which can be reproduced even with just a LazyRow so it is better file a regular Compose bug

The bug was filed as https://issuetracker.google.com/issues/211793934


Support imports and exports properties of package.json

vscode doesn't look like supporting imports and exports to resolve import statement
https://github.com/jkrems/proposal-pkg-exports/
Currently, many bundlers, node and typescript >= 4.7 are supporting it. I guess IDE also is supposed to follow them :)

This feature is powered by the TypeScript project. Please file a feature request upstream


feat: allow db cert specification

Hey @brunojppb,
thanks for putting this project togehter - super cool!
Digital Ocean Databases for example are per default exposed with self signed certificates. It would be really handy to allow those to be configured.
I have pretty much no Idea what Im doing, but got some inspiration here

Hey @brunojppb, any chance you could give your opinion on this?

@lauhon new Docker image available here:
https://github.com/brunojppb/turbo-racer/pkgs/container/turbo-racer/316018867?tag=1.6.0


wrap generators to include a "generated by Project Manager" comment

Project Manager should include a comment in generated files that indicates that the file is generated, and ideally also where the definitions that generate it come from.
This isn’t always possible (e.g., JSON doesn’t allow comments), but in other cases we can provide a wrapper on the standard lib generators that automatically includes such a heading.
Perhaps this could be upstreamed to the nixpkgs generators (parameterized over the system that generates the files).

Fixed in #35.


hello I want to know your what is your fusion algorithm？ can I run your this project？

The algorithm fuses image detections and lidar point cloud clusters together.
I will finish committing the rest of the code within the next few weeks along with posting my thesis that will cover the entirety of the algorithm after I pass my defense.  I can email links of the trained models out to people who ask for the link.


[FLUFFOS] keys() efun is missing

From #37 :

Secondly, I've encountered a problem with the keys() function under the FluffOS driver. It appears that the function is not declared, which is causing some issues with the code.

Will be fixed in v24


Meownovel

Source name
Meownovel
Source link
https://meownovel.net/
Language
English
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

it was moved to https://meownovel.com/


Add callouts for e10s giga slash drops

e10s Shadow Servant mechanic has a debuff with separate IDs for each shadow direction. This PR adds north/south/east/west callouts for targeted players.
This is my first time working with the cactbot code since the webpack transition and the outputStrings customization, so please let me know if there's something that should be adjusted there.

Since the actual cleave happens 9 seconds after this debuff hits, it may make sense to add a delaySeconds to the trigger. In addition, I'm not currently cleaning up the data.gigaSlashCleaveDirection property. I wasn't sure if it made sense to clean it up.

Does the cleave occur as the debuff expires? If so, it might be best to do something like delaySeconds: (data, matches) => parseFloat(matches.duration) - 6,, or whatever prior warning number you want.
(Also, what would you think of collapsing the switch into two left/right objects and then returning the correct output string from that, rather than stacking up returns all over? Something like
const leftOutputs = {
  '973': output.goWest,
  '974': output.goEast,
  '975': output.goNorth,
  '976': output.goSouth,
}
const rightOutputs = {
  '973': output.goWest,
  '974': output.goEast,
  '975': output.goSouth,
  '976': output.goNorth,
}
return data.gigaSlashCleaveDirection === 'left' ? leftOutputs[matches.effectId]() : rightOutputs[matches.effectId]()

in the interests of vertical space?)

For the reformatting of outputs, I agree, that looks much better. I'll make that adjustment.
For the delay, the exact order of operations per the log I'm looking at is:
183690ms - Servant of Shadow debuff applied, duration 9 seconds
192718ms - Bind debuff applied, duration 2 seconds
So the bind is applied at the end of the debuff's duration, the player has to be completely in place at that time. I'm not sure what timing makes sense for the delay then. I'd think that since it's a repositioning trigger, a 5s warning would make sense?

Actually I'm going to have to rework this anyways, the order of operations is backwards re: slash direction vs debuff. The debuff goes out before the slash direction is decided. The delaySeconds question is still relevant, though,

I think the other tricky part here is that later on there's towers + cleaves, and on the first set of towers you go to the tower for your cleave position (because it's very tight).  On the second set, it's towers first and then a delay before cleaves, so it can make more sense to do towers then cleaves (although you could do it the other way too arguably).
Mostly saying that it might make more sense to say "west cleave" rather than "go west", as information rather than imperative.

Yes, in that case informational rather than imperative is the way to go. And in that case, there might not be reason to delay at all. Maybe instead of delaySeconds, make effect.duration the value for a durationSeconds property?

I've updated to account for the changed order of network lines and added durationSeconds.
Alert text has been changed to "{cardinal} cleave". I don't have translations for languages other than en handy for those strings, so only en is included.
The default behavior if you don't get the debuff is the same as current main.
Have I missed anything?

Just an FYI: I had this call out the wrong mechanic and also sometimes not call out. I am mid-raid, so I can't really look into it right now.

I've only been able to test this against the first giga slash. Were you using the latest commit (e292382)?

Just got out of raid, so I will run this through the emulator with the latest. Sorry for the delay.

Yea, running the latest in the raid emulator, I'm getting the opposite callout; if it's right cleave, and my shadow is facing east, then it tells me "North Cleave". I assume you're not seeing the same?

It's possible I got the callouts backwards when I adjusted to account for going out on boss action instead of on debuff gain. If you flip the output objects for the two buffs does it appear correct?

Yep, the latest commit has both of the alertText as the same output.
I believe it should be:
    {
      id: 'E10S Giga Slash Shadow Drop Right',
      alertText: (data, _, output) => {
        let ret = output.default;
        switch (data.gigaSlashCleaveDebuffId) {
        case '973':
          ret = output.westCleave;
          break;
        case '974':
          ret = output.eastCleave;
          break;
        case '975':
          ret = output.northCleave;
          break;
        case '976':
          ret = output.southCleave;
          break;
        }
      },

    {
      id: 'E10S Giga Slash Shadow Drop Left',
      alertText: (data, _, output) => {
        let ret = output.default;
        switch (data.gigaSlashCleaveDebuffId) {
        case '973':
          ret = output.eastCleave;
          break;
        case '974':
          ret = output.westCleave;
          break;
        case '975':
          ret = output.southCleave;
          break;
        case '976':
          ret = output.northCleave;
          break;
        }
    },

Alright, this should be cleaned up and rebased to latest main to resolve merge conflicts.


"vis_heap_chunks"-like display of heap like in pwndbg

I am using pwndbg in addition to GEF and I really like the "vis_heap_chunks" feature of pwndbg to visualize the heap. (https://browserpwndbg.readthedocs.io/en/docs/commands/heap/vis_heap_chunks/)
The color printout with ASCII-art arrows that annotate the various heap chunks is very helpful in my opinion.
I'd love to see that kind of display in GEF as well :-D
Thanks for considering!

Done (by ba5fa24), looks like:

Thanks @OevreFlataeker & @Kyle-Kyle for the suggestion.
Happy to take some insights/PRs, cheers!


How to use owl carousel with laravel 5.4 mix ?

Laravel Mix Version: #.#.# (1.4.2)
Node Version (7.2.0):
NPM Version (5.3.0):
OS: Ubuntu 16.04

Description:
I have added the owl carousel in my project using
import 'owl.carousel/dist/assets/owl.carousel.css';
import $ from 'jquery';
import 'imports?jQuery=jquery!owl.carousel';

But didn't work, what is the actual process of adding jquery plugin using webpack mix.
Steps To Reproduce:

Try:
mix.js('resources/assets/js/app.js', 'public/js')
    .autoload({
        jquery: ['$', 'window.jQuery', 'jQuery']
    });

Just
import 'owl.carousel' is enough, if you installed it with npm


Test with large datasets

With bucket size 10000, we have 170,000 buckets. 44 secs
With bucket size 50000, we have 34,000 buckets. 12 secs


In SpringCacheManager, Can the cache name use wildcard . for example '*'

In the below code snippet , can the cache name use wildcard . for example '*'
Map<String, CacheConfig> _config = Maps.newHashMap();
 _config.put("cache*", new CacheConfig(1000 * 60 * 10, 0));
 return new RedissonSpringCacheManager(redissonClient, _config);

when i write '*' in the code, but donot effective

@estn could you please point to spring cache documentation about wildcard support?

@mrniko In spring cache doc, it supports wildcard in xml config file.like that
<cache:advice id="cacheAdvice" cache-manager="cacheManager">
      <cache:caching cache="users">
         <cache:cacheable method="find" key="#user.id"/>
         <cache:cache-evict method="deleteAll" all-entries="true"/>
      </cache:caching>
   </cache:advice>

The 'find' is represent method  that is start with 'find' , like findByUsername、findById and so on .
But I can not found how to use wildcard in annotaion

The "#user.id" notation you are referring is not a simple regular expression wildcard support. It is called SpEL, SPring Expression Language. It is typically processed during the parsing and bean definition building stage. Supporting the SPEL in the annotation requires extra work.

@jackygurui  As you say, the "#user.id" notation is SpEL.  I do not want to use wildcard in key, but also  want to use wildcard  in  config, like the snippet
Map<String, CacheConfig> _config = Maps.newHashMap();
_config.put("cache*", new CacheConfig(1000 * 60 * 10, 0));
return new RedissonSpringCacheManager(redissonClient, _config);

the "cache*" I want  represent wildcard  that is start with "cache"

At the moment, the current implementation does not support this just yet. On the other side, it doesn't seem to be complicated to implement.

I think this PR should cover it.

@jackygurui I think support of such feature could broke compatibility with spring cache specification. This is why I asked about mention of this feature in spring docs.

@mrniko I see. If that's the case, we will have to leave it as it is.

@jackygurui  @mrniko
I create a pull request to support wildcard  #727 . Please review the code.
Before not support wildcard.
If I have many caches that should to be configed  like this.
    @Bean
    public CacheManager cacheManager() {
        Config config = getConfig(redisProperties.getDatabase());
        HashMap<String, CacheConfig> map = Maps.newHashMap();
        CacheConfig cacheConfig = new CacheConfig();
        cacheConfig.setTTL(1000 * 60  * 60 );
        cacheConfig.setMaxIdleTime(1000 * 60 * 30);
        map.put("cache:com.zuoliubo.service.foundation.handler.DeviceSerivceImpl", cacheConfig);
        map.put("cache:com.zuoliubo.service.foundation.handler.UserSerivceImpl", cacheConfig);
        map.put("cache:com.zuoliubo.service.foundation.handler.CitySerivceImpl*", cacheConfig);
        map.put("cache:com.zuoliubo.service.foundation.handler.DistSerivceImpl*", cacheConfig);
        ....
        return new MyRedissonSpringCacheManager(Redisson.create(config), map);
    }

After support wildcard
like this , it is very pithy to us.
    @Bean
    public CacheManager cacheManager() {
        Config config = getConfig(redisProperties.getDatabase());
        HashMap<String, CacheConfig> map = Maps.newHashMap();
        CacheConfig cacheConfig = new CacheConfig();
        cacheConfig.setTTL(1000 * 60  * 60 );
        cacheConfig.setMaxIdleTime(1000 * 60 * 30);
        map.put("cache:com.zuoliubo.service.foundation.handler.*", cacheConfig);
        return new MyRedissonSpringCacheManager(Redisson.create(config), map);
    }


fix(helm): add inheritedParameterContexts option to NiFi ParameterCo…

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
partially #165

License
Apache 2.0

What's in this PR?

This change will add the option to include inheritedParameterContexts in nifi-parameter-context helm template
Why?

Inherited parameter contexts were not being deployed as expected due to the missing field in the Helm template.
Checklist

[x] Implementation tested
[x] Error handling code meets the guideline
[x] Logging code meets the guideline
[x] User guide and development docs updated (if needed)
[x] Append changelog with changes

To Do

[ ] If the PR is not complete but you want to discuss the approach, list what remains to be done here

And can you regenerte the Helm doc using helm docs?
cd helm/nifi-cluster
helm-docs

@juldrixx thanks for quick review and patience.  I think it's in a spot where it can be reviewed again when you have time.

Thanks for your contribution🙌.


Module Import issue with vite

On the latest f7 Vite is the only bundler available and throws this error while build:
 node_modules/vite/dist/node/chunks/dep-36bf480c.js:43807:10: error: [plugin: vite:dep-scan] Failed to resolve entry for package "framework7-plugin-keypad". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "framework7-plugin-keypad". The package may have incorrect main/module/exports specified in its package.json.
Upon Inspect I came to this stacktrace:
src/js/app.js:4:29: note: The plugin "vite:dep-scan" was triggered by this import         4 │ import Framework7Keypad from 'framework7-plugin-keypad';
I checked the package.json file for the plugin and everything looks ok to me. Any suggestions?

Same error here

Still throws this error!


Add votes table

DOD:
Add votes table in hasura in order to keep records of user voting for suggestions

[x] user_id column
[x] suggestion_id column
[x] user, suggestion relations
[x] type: up/down

https://github.com/consenz-io/webapp/pull/137


delve Halt (Stop) not working 2x

can do Stop first time but fails after that

on mac arm m1

it is a timing update issue - works reliably under debug...