Move pyramid otel instrumentation to BaseplateConfigurator

This moves the instrumentation logic to the initialization of the BaseplateConfigurator class instead of being an import side-effect.

@chriskuehl I believe this is closer to what you were looking for in the main PR. When testing this against some ads services I ran into the case where they didn't import the  module directly and missed instrumentation because of it. Any service integrating pyramid with baseplate should use the BaseplateConfigurator class so I think this is a good landing spot.


[master] Automated Bump DC/OS UI v2.130.0

High-level description
What features does this change enable? What bugs does this change fix?
Corresponding DC/OS tickets (required)
DCOS-55845 DCOS-56963 DCOS-20182
Related tickets (optional)

DCOS-55845 DCOS-56963 DCOS-20182
Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

Please update CHANGES.md file (Add or update DC/OS UI line in Notable Changes section of newest version).
* Updated DC/OS UI to [master+v2.130.0](https://github.com/dcos/dcos-ui/releases/tag/master+v2.130.0).

You can edit CHANGES.md directly here: https://github.com/mesosphere/dcos/edit/dcos-ui/bump/2019-07-29-19-39-18/master+v2.130.0/CHANGES.md?pr=%2Fdcos%2Fdcos%2Fpull%2F5988

@mesosphere-mergebot label [Ready for Review]

@mesosphere-mergebot bump-ee


[WIP] server: fix checking disk offering access for snapshot volume

Fixes https://github.com/apache/cloudstack/issues/3783
As reported in the issue, creating volumes from pure snapshot fails with NPE. This is due to order of calls where disk offering access is checked before checking disk offering value. This PR fixes the same.

Types of changes

[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[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)

How Has This Been Tested?
In progress

@blueorangutan package

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

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-507

@shwstppr code looks good, but the bug existed IMHO because of the method being 200 lines long and thus illegible. I will let this pass to honour history but if you have time please factor out the method contents to a helper class or a set of helper methods?

Closing in favour of https://github.com/apache/cloudstack/pull/3791
@DaanHoogland will address long method refactoring changes there


added position argument so pick doesn't clear the screen every time

#94 #50
I have added the position argument to the pick module, so that a specific write-point can be provided. This means that pick won't clear the screen when running in an existing curses window
position is a dictionary with the keys y0 and x0, which correspond to the y and x locations respectively. Default position is the same as previously, now written as {"y0": 1, "x0": 1}
Forked repo here
y_, _ = screen.getyx()
answer, _ = pick(
    ['Yes', 'No'],
    f'\nIs This Path Correct? \t{path}',
    screen=screen,
    position={'y0': y_, 'x0': 0}
)

Summary by CodeRabbit

New Features

Introduced an optional position parameter to set the initial cursor position in the user interface.
Added a new example file demonstrating the selection of programming languages via a user interface.

Documentation

Updated README with a short summary of new features.

Is that something for me or you to do? If it's me, how?

You can execute git fetch && git merge in this branch, and if you are using a modern editor like VSCode, you can resolve the conflict when you open the __init__.py in it.
Otherwise, you can edit the file as normal file, and edit it by hand, to make it as what it expected to commit. After that, just running git add <the file and git commit && git push.
Last way is click the Resolve conficts button bellow. but it lacks of context, I only recomented use it unless you have confident.

You can execute git fetch && git merge in this branch

Did this, nothing happened other than the normal output like with git pull

Otherwise, you can edit the file as normal file, and edit it by hand, to make it as what it expected to commit

I went to edit the file and it looked the same as what I had committed? I didn't change anything so there's nothing to push back
Do I use GitHub's Resolve conflicts now then? Or have I done something wrong... I apologise for my inadequacy 😅

You can have a try to use the Resolve conficts button. It will append a new commit to your branch, so please be sure to check and test the code locally after use it.

done :)

Thank you for your contribution, merged!


Improve math_ops.py docs

@yashk2810 can you help re-review this. I've cleared some commits off the log from the previous pull request (referenced above). Thanks

The ubuntu cpu test was failing at tf.cumsum so I've made minor changes to the doctest to make it pass.

ubuntu sanity check was failing due to a pylint error(long line 82/80) and that has been fixed in the commit above. Is it by design that the tf_doctest.py doesn't capture these?


Using Operator Font

Description
Using any of the the (.otf) Operator Font Italic versions causes Brackets to revert to what I assume is Arial. Any of the 'standard' Operator fonts work fine (Light, Medium, Book, Bold, ect).
Without Italic

With Italic

Steps to Reproduce

Operator Mono xxx Italic
Operator Mono xxx-Italic
Operator-Mono-xxx-Italic
OperatorMonoxxxItalic
OperatorMonoxxx-Italic
Operator Mono xxx-Italic

Expected behavior: The font is applied to the Brackets Editor
Actual behavior: A 'default' font, assumed to be Arial is applied instead.
Versions
                          ./+o+-       dave@dave-laptop
                  yyyyy- -yyyyyy+      OS: Ubuntu 16.10 yakkety
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 4.8.0-46-generic
           .++ .:/++++++/-.+sss/`      Uptime: 26m
         .:++o:  /++++++++/:--:/-      Packages: 3118
        o:+o+:++.`..```.-/oo+++++/     Shell: bash 4.3.46
       .:+o:+o/.          `+sssoo+/    Resolution: 1920x1080
  .++/+:+oo+o:`             /sssooo.   DE: Gnome
 /+++//+:`oo+o               /::--:.   WM: GNOME Shell
 \+/+o+++`o++o               ++////.   WM Theme: Flat Plat
  .++.o+++oo+:`             /dddhhh.   GTK Theme: Flat-Plat-light-laptop [GTK2/3]
       .+.o+oo:.          `oddhhhh+    Icon Theme: Numix-Circle
        \+.++o+o``-````.:ohdhhhhh+     Font: SFNS Display 10
         `:o+++ `ohhhhhhhhyo++os:      CPU: Intel Core i7-6700HQ CPU @ 3.5GHz
           .o:`.syhhhhhhh/.oo++o`      GPU: GeForce GTX 980M
               /osyyyyyyo++ooo+++/     RAM: 11283MiB / 32128MiB
                   ````` +oo+++o\:
                          `oo++.

Release 1.9 experimental build 1.9.0-17312 (release 189f6d39a)
build timestamp: Tue Mar 21 2017 09:36:10 GMT+0000

So you want to see your code in italic?
I reminds me something like https://github.com/adobe/brackets/issues/12860

Well, it's not really in italic. Here's what the end result should appear as:

you need add the font name like:
OperatorMono-Book
OperatorMono-Light
OperatorMono-Medium

@sldobri That doesn't work either.

Looking around, I don't think your use case is supported by default.
You could create a new theme and apply the italic style to the classes you expect to be in italic.

@ficristo That was exactly the problem! I modified my current theme and added font-style: italic; to one of the css selectors and it's working as expected.


validators: Fix dependentSchemas when instance is not an object

Just like 'dependentRequired' and 'dependencies', 'dependentSchemas'
needs to handle instance not being an object.
Signed-off-by: Rob Herring<EMAIL_ADDRESS>

Thanks, appreciated -- we need a test for this upstream in the test suite for this -- it belongs here: https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/8891d81074300ebb5e551cbda8796e686e586c90/tests/draft2020-12/dependentSchemas.json but should also go in the 2019-09 file.
Can you submit a PR there in that repo for that which I can then merge in here?


add "overwrite" option in build_graphs_batch

Should default to true, but if false checks if given path already exists in output folder and skips to speed things up, allow finishing an interrupted graph-building

If it skips to speed things up, wouldn't models using this be relatively faster if this were to default to false instead?

hahaha yes I did say that backwards, good catch...OBO errors are a real bitch in binary, eh? 😆


LANG-1406: StringIndexOutOfBoundsException in StringUtils.replaceIgnoreCase

Removes the conversion to lower case and uses instead StringUtils.indexOfIgnoreCase or StringUtils.indexOf

Coverage decreased (-0.001%) to 95.361% when pulling 05e7ff69008bc55434739b1345179f9bf18fb941 on geratorres:LANG-1406-StrIdxOutBoundsEx into ffb8b29790cf781765fed9d1da6ec6988842ad18 on apache:master.

Coverage decreased (-0.001%) to 95.361% when pulling 05e7ff69008bc55434739b1345179f9bf18fb941 on geratorres:LANG-1406-StrIdxOutBoundsEx into ffb8b29790cf781765fed9d1da6ec6988842ad18 on apache:master.

The simplest solution I have seen for this issue!

@geratorres
Thank you for your PR.
I merged it into master.
Gary

Nice, thanks!


Create PR to blueprint repo with template correction

https://github.com/custom-components/blueprint
Check latest modification and create PR with improvements implemented in the cookiecutter template.

Translation: https://github.com/custom-components/blueprint/pull/37
import path - question before PR: https://github.com/custom-components/blueprint/issues/38


package args - please update on pub.dartlang.org

This issue was originally filed by<EMAIL_ADDRESS>
Please update package 'args' on pub.dartlang.org to reflect the change in
https://codereview.chromium.org/12328104/patch/10002/6017
Currently (<IP_ADDRESS>_r19354), 'args' is broken:
import "package:args/args.dart";
main() => new ArgParser().parse(new Options().arguments);
Results in:
Unhandled exception:
Unsupported operation: Cannot clear a non-extendable array
#0      List.clear (dart:core-patch:294:5)
#1      Parser.parse (package:args/src/parser.dart:99:15)
#2      ArgParser.parse (package:args/args.dart:310:50)
#3      main (file:///home/karl/repositories/dartkart/test/test_args.dart:6:29)

This issue has been moved to dart-lang/args#18.


[Meetup] June 2023

Task List
Preparation

[ ] Find speaker(s)
[ ] Find location
[ ] Determine date
[ ] Announce event on Meetup.com
[ ] Promote on social media

After the event

[ ] Send mail to attendees to wrap up
[ ] Shoutouts on social media
[ ] Share content (slides / video / images) if/when available
[ ] Promote next event (If available)

Context and additional details

@TomCools Red Hat could sponsor this one and find a location.  Do we want to combine with the BBQ idea?

Going to talk to Emily Jiang and Grace Jansen at JavaLand for details.
Might be a good fit for the https://github.com/BeJUG/bejug.github.io/issues/17 collab with WomenCodeBe collaboration.

Thursday (22th) or Friday (23th) of June. Thursday has our preference.

22th has been confirmed with Grace! WomenCode idea will be postponed till later this year.

Once I get the subjects from Emily and Grace, we are good to go. Location is arranged.

Waiting for slides to wrap this one up with a mail.


Return cached header fields

The current functionality of fastapi-cache is not returning the cached headers, only the cached body with the regular headers. This limitation is affecting the possible usage of this package in a ForwardAuth middleware of Traefik.
Adding this as a custom method via the @cache decorator is not available.
Can we enable returning the headers by:

adding a flag to cache and return all headers
or via a custom method (like key_builder) to return selected headers?

+1


Function startstopsource mastertimerloop 2

Rebase of #775 to fix merge issues
This is a huge engine change.
Basically put: A function keeps a list of 'what' started it. 'What' is called a 'function source' (but the name may be changed)
As long as at least one 'function source' is present in a function's list, the function will not be stopped.
As-is, this PR break qmlui build. I'll fix it before merging the PR, I just want to discuss the PR before.

Can we rename "Source" into "FunctionSource" or "ParentSource" or "Parent" ?

Yes, it could even go into it's own .h and .cpp files.

Can you add some comments that explain the meaning of the SourceType enums ? (for example, what's the difference between AutoVCWidget and ManualVCWidget ?)

Will do

What's the difference between God and Mask ?

Mask was not used and has been removed.

Or is it a single entity called Mixcoatl, the masked god ? :joy:

Maybe... can this god light things up ? :D

Can you add some comments that explain the meaning of the SourceType enums ? (for example, what's the difference between AutoVCWidget and ManualVCWidget ?)

Some comments are present too if you look at the global changes, but I'll add some.

Renamed to FunctionParent
Some comments have been added


[Improvement] [MINOR] Add .java-version into git ignore

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
git ignore file
How should we improve?
No response
Are you willing to submit PR?

[X] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[ ] No. I cannot submit a PR at this time.

.jave-version is generated by jenv. jenv is a popular Java environment management tool.

SGTM


feat: support "describeTag" configuration

Description
Add descripteTag in the lerna.json configuration to allow users to customize the tag pattern. If descripteTag is not configured, the tag pattern defaults to*@*.
However, it is not supported in lerna publish from-git, only in version, publish -- canary
Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Chore (change that has absolutely no effect on users)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks for the contribution, it seems the linting is failing, could you run the prettier:write pnpm script to fix the linting?
https://github.com/lerna-lite/lerna-lite/blob/f2c91cee5a06236b8fc229eb1aac7591d91398ef/package.json#L33-L34

@xueran
Great PR, I wasn't sure on how to name this option but I guess your option name is fine. However, we do need documentation for this though, so if you could add docs in the version readme. The other last missing piece would be to update the Lerna-Lite JSON Schema but I could do it in a separate PR if it's too much trouble. Thanks

@xueran Great PR, I wasn't sure on how to name this option but I guess your option name is fine. However, we do need documentation for this though, so if you could add docs in the version readme. The other last missing piece would be to update the Lerna-Lite JSON Schema but I could do it in a separate PR if it's too much trouble. Thanks

ok, please wait a moment

The test fail reason is Cannot find module 'yargs/yargs' from 'packages/listable/src/__tests__/listable-options.spec.ts'.
But I can run successfully locally, and I didn't change this file.

@xueran it seems that I forgot to add yargs to the dev dependencies section of that package, not sure why it was failing before but if you just add it then it should work as intended
https://github.com/lerna-lite/lerna-lite/blob/f2c91cee5a06236b8fc229eb1aac7591d91398ef/packages/listable/package.json#L35-L40
just add
"devDependencies": {
    "yargs": "^17.7.1"
}

thanks for the change, I'll do some more checks before merging tomorrow after work and a possible release by the end of the week. Thanks for the contribution

@xueran Thanks again for the contribution, the new option is now available in the new v1.17.0 release.
Cheers ☕⭐🎉 🚀


Roll Engine from b300be3df32b to ac8175fee195 (2 revisions)

https://github.com/flutter/engine/compare/b300be3df32b...ac8175fee195
2020-08-16<EMAIL_ADDRESS>Only create raster_thread_merge when explicitly requested by the embedding platform (flutter/engine#20487)
2020-08-16<EMAIL_ADDRESS>Roll Skia from 01d016186340 to a008b0fa8bbb (14 revisions) (flutter/engine#20546)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


FAQ page suggestions

In the FAQ page, one question is "Why is IPDB better than a normal database?"
The answer lists five blockchain characteristics that are added to a traditional database: 1) decentralized control, 2) immutability, 3) Sybil tolerance, 4) native assets, and 5) native asset transfer.
I would add two more: 6) public writability, and 7) public readability.

closing this, we're resurrecting this repo for the new ipdb.io


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #91.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

@conda-forge-admin, please re-render


Multiple locales in 1 aliased GraphQL query uses the bottom most locale in the query.

Link to reproduction
No response
Describe the Bug
While I can use aliases to get multiple documents, I can't get different locale data per alias.  It always only pulls locale data for the bottom most locale in the query.
Hoping to use one query for a page language switcher.
To Reproduce
text is a localized field.
{
  de: StaticPageV1(id: "6524e7d686ebc1443f5f88f4", locale: de_DE) {
    id
    title {
      text
    }
  }

  en: StaticPageV1(id: "6524e7d686ebc1443f5f88f4", locale: en_GB) {
    id
    title {
      text
    }
  }
}

Payload Version
2.4.0
Adapters and Plugins
"@payloadcms/bundler-webpack": "^1.0.5",     "@payloadcms/db-mongodb": "^1.1.0",     "@payloadcms/plugin-cloud-storage": "^1.1.1",     "@payloadcms/plugin-sentry": "^0.0.6",     "@payloadcms/richtext-slate": "^1.3.0",

Fixed in PR https://github.com/payloadcms/payload/pull/4560, will be in the next release.


DSA and IAA demos fail with "mmap: Operation not permitted"

Describe the bug
As Ubuntu hwe kernel updated from 6.5.0-35 to 6.5.0-41, DSA e2e started to fail. The failure seems to be related to a change in the kernel where (due to a security issue) access to the DSA/IAA accelerators is being denied without SYS_RAWIO capability: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=796aec4a5b5850967af0c42d4e84df2d748d570b
To Reproduce

Upgrade kernel to Ubuntu HWE >=6.5.0-41 or use new enough vanilla kernel (6.9.3 is known to fail).
Run DSA demo example.

Expected behavior
Pod Completes successfully.
System (please complete the following information):

OS version: Ubuntu 22.04
Kernel version: HWE 6.5.0-41
Device plugins version: 0.30.0, not relevant
Hardware info: SPR with DSA

Additional context
Adding:
   securityContext:
      capabilities:
        add: ["SYS_RAWIO"]

might fix it temporarily.

man capabilities lists that capability allowing following:
CAP_SYS_RAWIO
              •  Perform I/O port operations (iopl(2) and ioperm(2));
              •  access /proc/kcore;
              •  employ the FIBMAP ioctl(2) operation;
              •  open  devices  for  accessing  x86  model-specific  registers
                 (MSRs, see msr(4));
              •  update /proc/sys/vm/mmap_min_addr;
              •  create memory mappings at addresses below the value specified
                 by /proc/sys/vm/mmap_min_addr;
              •  map files in /proc/bus/pci;
              •  open /dev/mem and /dev/kmem;
              •  perform various SCSI device commands;
              •  perform certain operations on hpsa(4) and cciss(4) devices;
              •  perform a range of device-specific operations  on  other  de‐
                 vices.

Which of the listed procfs + sysfs files & dirs are mounted, and need to be mounted, inside DSA/IAA example containers?

I added the capability in my pod yaml, it can run with no issue.  So the capability is needed, I think.
https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/cmd/dsa_plugin/README.md#testing-and-demos

CAP_SYS_RAWIO
              •  perform a range of device-specific operations  on  other  devices.

Which of the listed procfs + sysfs files & dirs are mounted, and need to be mounted, inside DSA/IAA example containers?

I do not believe we need any extra host files or directories. The kernel patch is quite self-explaining: for certain devices check for sys_rawio capability. If no capability, return eperm.
Another question is how should we the dsa plugin handle this? If at all.

I do not believe we need any extra host files or directories.

I meant is there something that should be masked out of the container...

I meant is there something that should be masked out of the container...

Probably "everything" that the sys_rawio brings. DSA demo has worked without it before and the kernel side only needs the sys_rawio capability flag.

I do not believe we need any extra host files or directories.

I meant is there something that should be masked out of the container...

runtimes mask out some proc paths by default but it'd be good to cross-check these.  In general, adding add: ["SYS_RAWIO"] should be OK, IMO. We add something similar for QAT (IPC_LOCK).


allow colours in workers

there are no window or document globals in workers, so useColors throws.
there is still an opportunity to check if we are in webkit using the userAgent

I am hesitant to merge something like this in without tests.  We've already had a lot of issues with workers.  Thoughts @TooTallNate ?

Hi all! I've been having the same problem with require('debug') in web workers. I tried out @botverse's fix in chrome and firefox, and everything works as expected in web workers and normal contexts. Is there anything I can help with in getting this merged in?

I am going to merge this, but it will be a minor semver.  I will release 2.4.0 tomorrow morning with this.


Trying to install kusk with custom releaseName name does not affect the outcome

How to debug:
Run
helm install customName kubeshop/kusk-gateway \
--set-string fullnameOverride=customName --wait --create-namespace \
--namespace kusk-system --set-string analytics.enabled=false

or
kusk install --name custom
Result is:
kubectl get all -n kusk-system
deployment.apps/kusk-gateway-api                   1/1     1            1           5m44s
deployment.apps/kusk-gateway-dashboard             1/1     1            1           5m32s
deployment.apps/kusk-gateway-envoy-fleet           1/1     1            1           5m46s
deployment.apps/kusk-gateway-manager               1/1     1            1           6m8s
deployment.apps/kusk-gateway-private-envoy-fleet   1/1     1            1           5m46s

Expected result: deployments starting with "customName"

No longer relevant as the installer has been rewritten


PhpdocAlignFixer - add "property-read" and "property-write" to allowed tags

Resolves #4530

Shouldn't this target master?

Thank you @kubawerlos.


Recent version of selenium is not allowing watir to wait for visibility of the element

I used the recent version of selenium 3.142.7/3.142.6 it's not waiting for element visibility, it's immediately throwing the following error
Watir::Exception::UnknownObjectException
But when I switch back to my old version of selenium 3.142.3, it's working properly.
@p0deje @jkotests @titusfortner  Can you please look into this problem?

closing until we have something reproducible.


391 address history

Context
Address history task and page.
This includes some tricker features -

Conditional data, if I change my answer then my inputs for the hidden fields should be deleted when I save. As the function to delete orphaned data is now very long, I've bunged it into a utilities file but open to suggestions.
A fieldset, so lots of fields that it is seemingly not possible to group under one key, because Page classes are not built to accept objects, just key/value pairs.

Changes in this PR
Screenshots of UI changes

Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Are any changes required to the e2e tests?
[ ] If you've added a new route, have you added a new
auditEvent? (see server/routes/apply.ts for examples)
[ ] Are there environment variables or other infrastructure configuration which needs to be included in this release?
[ ] Are there any data migrations required. Automatic or manual?
[ ] Does this rely on changes being deployed to the CAS API?

Post merge checklist
Once we've merged it will be auto-deployed to the dev environment.
Find the build-and-deploy job in CircleCI.
Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

need to double-check the copy and error validation but otherwise this is ready
https://trello.com/c/ZuZhjVN3/391-address-before-custody-address-history-or-previous-address


Sync eng/common directory with azure-sdk-tools repository

Sync eng/common directory with azure-sdk-tools repository

Can one of the admins verify this patch?

@chidozieononiwu I'll wait for you to merge this, but let @JimSuplizio or I know when you do so that we can merge this change up into the feature/mgmt-engsys-convergence feature branch.


dev(Dockerfile): run assets:precompile

What: run assets:precompile in Dockerfile
Why: To have compiled assets ready to be served in productions environments
How:

RUN bundle exec rails assets:precompile in Dockerfile

@castrolem I'll merge this, I'm trying out things to fix the build in staging. I'll open more PR like this if needed


Issue compile code for building/installing.

Hello,
I'm having trouble installing this for the 3DS Homebrew Template. I am convinced that I have properly installed devkitPro and ctrulib as I was able to build/install the ctrulib examples with no issues. I also was able to make and add the picasso binary to a PATH directory.
Some of the typedef structs (like "FS_Archive") seem like they are from /opt/devkitPro/libctru/include/3ds/services. Those header files appear to be included in the 3ds.h but it seems that the compiler does not include/recognize them properly.
Is there anything that can be done? I'm using Ubuntu (12.04?) if that matters.
arm-none-eabi-g++ -MMD -MP -MF /home/user/3DS/citrus/build/app.d -g -Wall -Wno-strict-aliasing -O3 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/home/user/3DS/citrus/include -I/opt/devkitPro/libctru/include -I/home/user/3DS/citrus/build -DARM11 -D_3DS -DLIBKHAX_AS_LIB -fno-rtti -fno-exceptions -std=gnu++11 -c /home/user/3DS/citrus/source/citrus/app.cpp -o app.o
/home/user/3DS/citrus/source/citrus/app.cpp: In function 'bool ctr::app::init()':
/home/user/3DS/citrus/source/citrus/app.cpp:30:127: error: 'AM_InitializeExternalTitleDatabase' was not declared in this scope
         ctr::err::parse(ctr::err::SOURCE_AM_INITIALIZE_EXTERNAL_TITLE_DATABASE, (u32) AM_InitializeExternalTitleDatabase(false));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp: In function 'ctr::app::App ctr::app::ciaInfo(std::string, ctr::fs::MediaType)':
/home/user/3DS/citrus/source/citrus/app.cpp:68:5: error: 'FS_Archive' was not declared in this scope
     FS_Archive archive = (FS_Archive) {ARCHIVE_SDMC, (FS_Path) {PATH_EMPTY, 1, (u8*) ""}};
     ^
/home/user/3DS/citrus/source/citrus/app.cpp:69:85: error: 'archive' was not declared in this scope
     ctr::err::parse(ctr::err::SOURCE_FSUSER_OPEN_ARCHIVE, (u32) FSUSER_OpenArchive(&archive));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp:75:97: error: 'FS_Path' was not declared in this scope
     ctr::err::parse(ctr::err::SOURCE_FSUSER_OPEN_FILE, (u32) FSUSER_OpenFile(&handle, archive, (FS_Path) {PATH_ASCII, file.length() + 1, (const u8*) file.c_str()}, FS_OPEN_READ, 0));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp:80:5: error: 'AM_TitleEntry' was not declared in this scope
     AM_TitleEntry titleInfo;
     ^
/home/user/3DS/citrus/source/citrus/app.cpp:81:96: error: 'titleInfo' was not declared in this scope
     ctr::err::parse(ctr::err::SOURCE_AM_GET_CIA_FILE_INFO, (u32) AM_GetCiaFileInfo(mediaType, &titleInfo, handle));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp: In function 'std::vector<ctr::app::App> ctr::app::list(ctr::fs::MediaType)':
/home/user/3DS/citrus/source/citrus/app.cpp:155:5: error: 'AM_TitleEntry' was not declared in this scope
     AM_TitleEntry titleList[titleCount];
     ^
/home/user/3DS/citrus/source/citrus/app.cpp:156:107: error: 'titleList' was not declared in this scope
     ctr::err::parse(ctr::err::SOURCE_AM_LIST_TITLES, (u32) AM_ListTitles(mediaType, titleCount, titleIds, titleList));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp: In function 'ctr::app::SMDH ctr::app::smdh(ctr::app::App)':
/home/user/3DS/citrus/source/citrus/app.cpp:186:18: error: 'FS_Path' does not name a type
     static const FS_Path path = (FS_Path) {PATH_BINARY, 0x14, (u8*) filePath};
                  ^
/home/user/3DS/citrus/source/citrus/app.cpp:189:5: error: 'FS_Archive' was not declared in this scope
     FS_Archive archive = (FS_Archive) {0x2345678a, (FS_Path) {PATH_BINARY, 0x10, (u8*) archivePath}};
     ^
/home/user/3DS/citrus/source/citrus/app.cpp:192:95: error: 'archive' was not declared in this scope
     ctr::err::parse(ctr::err::SOURCE_FSUSER_OPEN_FILE, (u32) FSUSER_OpenFileDirectly(&handle, archive, path, FS_OPEN_READ, 0));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp:192:104: error: 'path' was not declared in this scope
     ctr::err::parse(ctr::err::SOURCE_FSUSER_OPEN_FILE, (u32) FSUSER_OpenFileDirectly(&handle, archive, path, FS_OPEN_READ, 0));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp:185:22: warning: unused variable 'filePath' [-Wunused-variable]
     static const u32 filePath[] = {0x00000000, 0x00000000, 0x00000002, 0x6E6F6369, 0x00000000};
                      ^
/home/user/3DS/citrus/source/citrus/app.cpp:188:9: warning: unused variable 'archivePath' [-Wunused-variable]
     u32 archivePath[] = {(u32) (app.titleId & 0xFFFFFFFF), (u32) ((app.titleId >> 32) & 0xFFFFFFFF), app.mediaType, 0x00000000};
         ^
/home/user/3DS/citrus/source/citrus/app.cpp: In function 'void ctr::app::launch(ctr::app::App)':
/home/user/3DS/citrus/source/citrus/app.cpp:327:124: error: too few arguments to function 'Result APT_PrepareToDoAppJump(Handle*, u8, u64, u8)'
     ctr::err::parse(ctr::err::SOURCE_APT_PREPARE_TO_DO_APP_JUMP, (u32) APT_PrepareToDoAppJump(0, app.titleId, app.mediaType));
                                                                                ^
In file included from /opt/devkitPro/libctru/include/3ds.h:20:0,
                 from /home/user/3DS/citrus/source/citrus/app.cpp:11:
/opt/devkitPro/libctru/include/3ds/services/apt.h:124:8: note: declared here
 Result APT_PrepareToDoAppJump(Handle* handle, u8 flags, u64 programID, u8 mediatype);
        ^
/home/user/3DS/citrus/source/citrus/app.cpp:329:102: error: invalid conversion from 'int' to 'Handle* {aka long unsigned int*}' [-fpermissive]
         ctr::err::parse(ctr::err::SOURCE_APT_DO_APP_JUMP, (u32) APT_DoAppJump(0x300, 0x20, buf0, buf1));
                                                                                ^
/home/user/3DS/citrus/source/citrus/app.cpp:329:102: error: invalid conversion from 'u8* {aka unsigned char*}' to 'u32 {aka long unsigned int}' [-fpermissive]
/home/user/3DS/citrus/source/citrus/app.cpp:329:102: error: too few arguments to function 'Result APT_DoAppJump(Handle*, u32, u32, u8*, u8*)'
In file included from /opt/devkitPro/libctru/include/3ds.h:20:0,
                 from /home/user/3DS/citrus/source/citrus/app.cpp:11:
/opt/devkitPro/libctru/include/3ds/services/apt.h:125:8: note: declared here
 Result APT_DoAppJump(Handle* handle, u32 NSbuf0Size, u32 NSbuf1Size, u8 *NSbuf0Ptr, u8 *NSbuf1Ptr);

Update your ctrulib version to the latest commit of the great-refactor branch.

Thanks! Totally glossed over the fact that it was a specific ctrulib branch-- I probably thought "great-refactor" was an adjective or something. Managed to get it built and installed after using the great-refactor branch.


chore: removes feature flag logic for flipped CTAs

Description
#30394 introduced an experiment to flip the primary and secondary CTAs in the datasource form. Experiment results invalidated the hypothesis, so this task is to clean up the code and remove the flag.
PR fixes following issue(s)
Fixes #31045
Type of change

Chore (housekeeping or task changes that don't impact user perception)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[x] Manual
[ ] JUnit
[ ] Jest
[x] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

Summary by CodeRabbit

Chores

Removed an obsolete feature flag related to button styling in data source authentication.

Refactor

Simplified button styling logic on the data source authentication page, ensuring consistent appearance.

/ok-to-test<EMAIL_ADDRESS>@tag.GenerateCRUD"

/build-deploy-preview skip-test=true

tests failing on ee: https://github.com/appsmithorg/appsmith-ee/pull/3630

tests have passed on ee pr: https://github.com/appsmithorg/appsmith-ee/pull/3630


feat: extend verification signature length

Motivation
A few power users with EVM smart contract wallets have bumped into the verification signature limit. (Currently 256 bytes). The longest one I've observed was 324 bytes.
Change Summary
Increase max length of EVM verification signatures to 512 bytes. (This should be long enough for a Safe with a threshold of 7 signers).
Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[x] PR has a changeset
[x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[ ] PR includes documentation if necessary.
[x] All commits have been signed

@horsefacts Might want to add a changeset via yarn changeset.


Make ImageLoader use background thread

This is the same change as in #4069 but as this is stale I wanted to reopen a non stale PR
Modifies ImageLoader's load function to use background threads for the image decoding work. This avoids blocking the main thread that is especially noticeable when loading many images at once.
This was modelled after the other loader implementations that also use threads.

Closes https://github.com/emilk/egui/issues/5375
[x] I have followed the instructions in the PR template

I know the workaround for wasm is not the best so if you have any ideas - feel free to tell me


Support C#

Description
Generate C# comments.

Is this something that is coming soon?  Would be a very useful addition to the tool.  Or do you know of another VSCode plugin that does this? I know there is an XML markup one out there but I don't want that format.

Can you help implement it?


feat: add tests for slack source

note, the test for slack won't run unless some env vars are defined

did you remove the playground as well?

did you remove the playground as well?

yes they were almost abandoned, I will find a better way to run a connector from a container


Use a Railtie to set Hashie.logger on rails boot

Fixes https://github.com/intridea/hashie/issues/401

This currently fails the integration spec,
so somehow the spec doesn't fire off the initializers correctly.

I think this is good to go.

Squash merged on top of https://github.com/intridea/hashie/pull/402, with the integration test. Thanks @matthewrudy for a quick turnaround. @michaelherold please check that PR out / merge.


Cannot use template with bitbag_sylius_cms_plugin_shop_media_render

Thank you for your great work
The use of Template option seems to be ignored when I want to render bitbag_sylius_cms_plugin_shop_media_render.
Maybe this is related to #149 ...
I use the dev-master version with Sylius, 1.3.5

Hello Pierre,
Currently BitBag\SyliusCmsPlugin\Twig\Extension\RenderMediaExtension does not support a template parameter. We would appreciate a PR with this, but you can also override these templates and it should do the trick: https://github.com/BitBagCommerce/SyliusCmsPlugin/tree/master/src/Resources/views/Media

I just ran into the same issue. The docs seem to state that its possible to use a custom template.
{{ render(path('bitbag_sylius_cms_plugin_shop_media_render', {'code' : 'file', 'template' : '@App/Some/Template/_path.html.twig'})) }}

this issue is outdated - the problem was resolved in #295


add error messages for 268504 and 268404

Cool😎😎

Oops, the title for the pr is incorrect, but the commit itself is fine

The commit is actualy wrong too lol

Oof, don't know how that happened, I'll be more careful next time


Enable local query node-to-client mini-protocol

Related, but probably out of date: https://github.com/input-output-hk/ouroboros-network/pull/1522

@mrBliss thanks for mentioning this; it needs to be updated, since we change the API in the mean time.


The example video not work well

I host this project with nginx, when I visit it with "hostname/?video=examples/video/congo_2048.mp4&is_stereo=true", I cannot see or move it to normal angle, it shows like below, what I am missing?

Looks like you're using the simulator. You will need DeviceMotion data
available on a real mobile device.
On Fri, Apr 22, 2016 at 3:26 AM Callmepeanut<EMAIL_ADDRESS>wrote:

I host this project with nginx, when I visit it with
"hostname/?video=examples/video/congo_2048.mp4&is_stereo=true", I cannot
see or move it to normal angle, it shows like below, what I am missing?
[image: home page]
https://camo.githubusercontent.com/b031b4c50a05bdf9452b8debd3945c0d08d4c381/687474703a2f2f75706c6f61647069652e636f6d2f6374335478
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/google/vrview/issues/7

@borismus I tried on a real device, direction works,  but the picture split into two:

I add "is_stereo=true" param, and it works well


amplify add auth: required attributes lists "middle name" twice and given name never

Describe the bug
amplify remove auth has middle name twice and given name never.  There is no way to create a cognito identity pool that requires given name.  And since cognito pools cannot be modified once created this means Amplify projects cannot use given name field at all.
As a workaround for now we're using name and family name.
To Reproduce
Steps to reproduce the behavior:
Do you want to use the default authentication and security configuration? Manual configuration
Select the authentication/authorization services that you want to use: User Sign-Up, Sign-In, connected with AWS IAM controls (Ena
bles per-user Storage features for images or other content, Analytics, and more)
Please provide a friendly name for your resource that will be used to label this category in the project: projectname
Please enter a name for your identity pool. projectname
Allow unauthenticated logins? (Provides scoped down permissions that you can control via AWS IAM) Yes
Do you want to enable 3rd party authentication providers in your identity pool? No
Please provide a name for your user pool: projectname
Warning: you will not be able to edit these selections.
How do you want users to be able to sign in when using your Cognito User Pool? Email
Multifactor authentication (MFA) user login options: OFF
Email based user registration/forgot password: Enabled (Requires per-user email entry at registration)
Please specify an email verification subject: Your verification code
Please specify an email verification message: Your verification code is {####}
Do you want to override the default password policy for this User Pool? No
Warning: you will not be able to edit these selections.
What attributes are required for signing up?
At this point it lists these attributes:
The wizard allows you to select any of these attributes: address nickname birthdate phone number email picture family name preferred username gender profile middle name zoneinfo locale updated at middle name website name
Notice how middle name appears twice.
Also, it doesn't match the order that it lists the attributes in the web console forcognito user pool attributes
Expected behavior
The wizard allows you to select any of these attributes: address nickname birthdate phone number email picture family name preferred username gender profile given name zoneinfo locale updated at middle name website name
Desktop (please complete the following information):

OS: Mac OS 10.14.4 (18E226) Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64
Browser n/a -- this is from terminal

Additional context
I think this is due to "Middle Name" being listed twice in string-maps.js and "Given Name" not being listed.

You mean amplify add auth?

Oh yes, because cognito pools are immutable, every time I run I do a remove auth followed by add auth ... but yes it's the add step that's the issue here.  If I can edit the title I'll do that.

What makes you think user pools are immutable? I think the only immutable portion of user pools is that required attributes must be writable, and cannot be made read-only after the fact. But you can add custom attributes, add app clients, change Oauth flows, etc. after the pool has been created.
I think running amplify auth configure will allow you to update your user pool, although it doesn't fix the missing "gender" claim issue.

@jkeys-ecg-nmsu I think whaat @paddlefish is referring to is that the sign in and sign up attributes for a cognito user-pool are immutable.(which is currently a service limitation).
@paddlefish I'm looking into this now. This looks like a bug,

I've been battling Amplify all week, so maybe I overstate the immutability of cognito pools.  However, I did find that trying to use amplify update auth doesn't let you do all that you can do with remove and add.  Specifically, we were trying to change the email vs username choice and the required attributes.  Those can only be changed by removing the pool and re-adding.


Verify that changes made to BCIControllerBehavior

don't go and break the existing tests.
Add testcase of TVEP to the existing behvaior type test

The title of this is odd, sorry

I confirmed that the test:
WhenRegisterBehavior_ThenBehaviorRegistered(BCIEssentials.ControllerBehaviors.TVEPControllerBehavior)
Exists and passes.  Merging.


Add documentation link

documentation

Might be worth removing the docs from the readme and just linking out to the full docs this way we just have one place to maintain and update.

would you be able to transfer those docs over to my username on read the docs so that I can publish them as i push out new releases?

would you be able to transfer those docs over to my username on read the docs so that I can publish them as i push out new releases?

Do you have an account so I can add youm

Yep, hishnash same is GitHub.

Done


Use random UUIDs for asset keys (instead of content hashes)

Fixes #221
Companion PRs:

https://github.com/SubstraFoundation/substra-chaincode/pull/128
https://github.com/SubstraFoundation/substra/pull/235
https://github.com/SubstraFoundation/substra-tests/pull/153

Background
Historically, asset keys (pkhash) have been computed by hashing the assets contents/properties:

for instance, a Traintuple's pkhash is a hash of its (AlgoKey, InModels, DataManagerKey, etc...)
an Algo's pkhash is a hash of its algo file

In other words, an asset's primary key and checksum are the same thing, stored in the pkhash field. Depending on the asset type, pkhash are calculated by either the backend or the chaincode.
This PR
This PR moves away from the pkhash model:

Each asset's primary key (key) is a globally unique UUID, aka UUID v4 or GUID, which is computed randomly. In other words, each asset has a completely random key which is independent from the asset's properties. All keys are now generated in the backend: the chaincode doesn't calculate any key, and instead honors the keys provided by the backend.
Assets hashes are renamed to checksum. They are only calculated for asset types associated with a file: Algo (algo), DataManager (opener), Datasample (data sample), Objective (description), etc. For non-file asset types (e.g. Traintuple), no checksum is calculated. Checksums are used exclusively for content integrity checks, i.e. assert hash(downloaded_file) == checksum

Effects on asset duplication
It is now possible to create duplicate assets, without triggering an error.
For instance, registering the exact same Algo twice will succeed. It will not trigger a HTTP 409 response, or an AlreadyExists exception. Two distinct assets will be created, the only difference between them being their keys.
Future work
To simplify diffs in this PR, some work has been postponed to a future PR (which should happens shortly after this PR is merged):
Rename fields
To simplify APIs and make them consistent, rename the following fields

dataset.keys => dataset.data_sample_keys
compute_plan_id => key / compute_plan_key

cc @inalgnu @Kelvin-M
/!\ WIP
As discussed with @inal, there's a functional "OK" to implement this change.
This change has multiple benefits: one of them is that it removes the restriction on duplicate assets, which will help in the case of melloddy - avoid redeploys.
For now this PR copies the value of pkhash into a new field checksum (see discussion on naming below). pkhash remains the primary key, and checksum is used for, well, checksums.
I have not yet implemented the part where pkhash = new guid(). So far basically pkhash == checksum.
Question: I'm thinking of two renamings, please let me know what you think:

pkhash -> key. Rationale: I think this change has already occurred in the CLI + once we move to GUIDs, the name pkhash becomes inaccurate
For the new field, I propose checksum: Rationale: While the code currently uses the term "hash" (I don't suggest changing that), "checksum" is basically the same thing but with an extra piece of information: "the intent is to perform an integrity check". Note that in the current state of the PR, I've named the field "checksum", but it's quite easy to rename it.

Any other general thought welcome :)

e2e tests: :heavy_check_mark:

@Kelvin-M would you mind reviewing the last 2 commits?
A bug was found in Titanic examples, these 2 commits fix the bug (and similar potential bugs) and add new tests.

@Kelvin-M would you mind reviewing the last commit?
A bug was found using the Titanic examples: the commit fixes the bug (and similar potential bugs) and add new tests.


oamlStudio.exe - System Error

Already re-downloaded oamlStudio-v1.1.1-Win.zip and re-opened multiple times yet this error still appears

Seems I forgot the archive.dll file in the zip, here you go:
archive.zip

omg it works thank you @marcelofg55, I might make tutorials for this sooner or later

Some tutorials would be awesome! If you need any help let me know :D


Update version to 1.0.2

Description
Open Questions
Testing
Relevant Links (e.g. Ticket)
TODOs

Current dependencies on/for this PR:

main

PR #160

PR #161   👈

This comment was auto-generated by Graphite.


IDs for EE tests

These changes will make the EE tests easier to write and maintain.

There were the following issues with your Pull Request

Commit: 04d73b6286f64d327ee4832cb7081f42f6fb7cae

Your subject line is longer than 50 characters

Invalid type.    Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: a0f940d48cde6f4b526954a6a921a10d3bdfcd8b

Commits must be in the following format: %{type}(%{scope}): %{description}

Your subject line is longer than 50 characters

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 4119cf7c38dc19d135011849782d8bee50df74ef

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 1a9c0607f27331824e391b6140bca2d803cbdfcb

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 6bda5a4f55ae547436892e69b5111c4c9a0bd0fe

Invalid type.  Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

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

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

@ldimaggi snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1292-fabric8-ui.int.rdu2c.fabric8.io

@ldimaggi snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1292-fabric8-ui.int.rdu2c.fabric8.io

@ldimaggi snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1292-fabric8-ui.int.rdu2c.fabric8.io

There were the following issues with your Pull Request

Commit: cde0218705d2d201581a84a791671045f000e044

Your subject line is longer than 50 characters

Invalid type.    Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 2e7094dbedb1fd8d055784097b2a3da32bdf1e8a

Commits must be in the following format: %{type}(%{scope}): %{description}

Your subject line is longer than 50 characters

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 2ea24c5257d386970afcb8a178123d0ed1b60b07

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 24b03fe0070b7a888a060c33f3e9e16880d0c535

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: fe17d5369bb62fa8dc33dbeb5c2646f23d48a5e4

Invalid type.   Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

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

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

@ldimaggi snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1292-fabric8-ui.int.rdu2c.fabric8.io

please rebase

Done!
[ldimaggi@ldimaggi fabric8-ui]$ git pull --rebase origin master
From github.com:fabric8io/fabric8-ui

branch            master     -> FETCH_HEAD
First, rewinding head to replay your work on top of it...

[ldimaggi@ldimaggi fabric8-ui]$ git push -f ldimaggi POC-EE-test
Counting objects: 183, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (139/139), done.
Writing objects: 100% (148/148), 22.26 KiB | 0 bytes/s, done.
Total 148 (delta 97), reused 0 (delta 0)
remote: Resolving deltas: 100% (97/97), completed with 31 local objects.
To git@github.com:ldimaggi/fabric8-ui.git

a46bb08...d0dadc2 POC-EE-test -> POC-EE-test (forced update)

On Thu, May 18, 2017 at 11:37 PM, Joshua Wilson<EMAIL_ADDRESS>wrote:

please rebase
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fabric8io/fabric8-ui/pull/1292#issuecomment-302600419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAnOPWG-AKm_TzkMtl71Lh9TReYBUHN6ks5r7Q5ugaJpZM4NYxs6
.

--
Len DiMaggio<EMAIL_ADDRESS>JBoss by Red Hat
314 Littleton Road
Westford, MA 01886  USA
tel:<PHONE_NUMBER>
cell:<PHONE_NUMBER>
http://www.redhat.com
http://community.jboss.org/people/ldimaggio

There were the following issues with your Pull Request

Commit: cde0218705d2d201581a84a791671045f000e044

Your subject line is longer than 50 characters

Invalid type.    Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 2e7094dbedb1fd8d055784097b2a3da32bdf1e8a

Commits must be in the following format: %{type}(%{scope}): %{description}

Your subject line is longer than 50 characters

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 2ea24c5257d386970afcb8a178123d0ed1b60b07

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: 24b03fe0070b7a888a060c33f3e9e16880d0c535

Invalid type. Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

Commit: fe17d5369bb62fa8dc33dbeb5c2646f23d48a5e4

Invalid type.   Valid types are feat, fix, docs, style, refactor, perf, test, chore, revert

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

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

@ldimaggi snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1292-fabric8-ui.int.rdu2c.fabric8.io


Dynamic product features according to tenants

depends on:

[x] https://github.com/ManageIQ/manageiq-schema/pull/291

add tenant_nodes to Add, Edit, Copy and Delete permission for service dialogs:
part of https://github.com/ManageIQ/manageiq/issues/18100

Links

https://bugzilla.redhat.com/show_bug.cgi?id=1297415
https://bugzilla.redhat.com/show_bug.cgi?id=1468795
https://github.com/ManageIQ/manageiq/issues/18100

@miq-bot assign @gtanzillo

@gtanzillo
if we would like to use bulk insert this gem looks very promising
https://github.com/zdennis/activerecord-import

@miq-bot add_label hammer/yes

@lpichler @gtanzillo This PR is marked as hammer/yes, but depends on a schema PR https://github.com/ManageIQ/manageiq-schema/pull/291, which isn't going to hammer branch. Should this be hammer/no?

@simaishi  I am sorry it was added too early, so for now hammer/no and we are waiting for answer
https://bugzilla.redhat.com/show_bug.cgi?id=1468795#c16

@miq-bot remove_label hammer/yes
will need to wait for decision ^

@miq-bot add_label blocker

@miq-bot add_label hammer/yes

Hammer backport details:
$ git log -1
commit ac5f85f3a66368b6a5ededfcb3695f178d935139
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Tue Oct 30 16:51:09 2018 -0400

    Merge pull request #18102 from lpichler/dynamic_product_features

    Dynamic product features according to tenants

    (cherry picked from commit e391dec9c57dce99d67555c329906ec2fb71e759)

    https://bugzilla.redhat.com/show_bug.cgi?id=1468795


Tabbychat error

I have run tabby chat on 1.8.9 and it won't start up says error when I click on the liteloader
I tried with just liteloader and tabbychat 2 and still no luck

1.8.9

You're on your own for this one.


WIP: Implement IAM Authentication

These changes are a WIP 😄
Summary
This proposal is to add different Vault authentication mechanisms to this plugin, as an alternative to using the Token directly
There are a number built into Vault that would be feasible: https://www.vaultproject.io/docs/auth
Implementation
The authentication portion is completed in the special_auth.rb file. Currently, configuration for IAM is only specified, however this is setup in a way that adding new authentication methods should be plug-and-play
For example, adding GitHub authentication would look like: (pseudocode)
def authenticate(options, client, context)

  auth_types = {
    'aws_iam' => method(:aws_iam_auth),
    'github'     => method(:github_auth)
  }

  auth_types[options['type']].(options['config'], client, context)

end

def github_auth(config, client, context)

    # Logic for Github authentication
    client.auth.github()

end

The client returned from these functions would be authenticated and ready to use
Configuration Changes
To implement this, the configuration would need to be altered. The token section can be omitted, with a new authentication section added:
For example, a current config may look like:
---

version: 5

hierarchy:
  - name: "Hiera-vault lookup"
    lookup_key: hiera_vault
    options:
      confine_to_keys:
        - '^vault_.*'
        - '^.*_password$'
        - '^password.*'
      ssl_verify: false
      address: https://vault.foobar.com:8200
      token: <insert-your-vault-token-here>
      default_field: value
      mounts:
        some_secret:
          - %{::trusted.certname}
          - common
        another_secret:
          - %{::trusted.certname}
          - common

Here is a similar config, using IAM authentication:
---

version: 5

hierarchy:
  - name: "Hiera-vault lookup"
    lookup_key: hiera_vault
    options:
      confine_to_keys:
        - '^vault_.*'
        - '^.*_password$'
        - '^password.*'
      ssl_verify: false
      address: https://vault.foobar.com:8200
      authentication:
        type: aws_iam
        config:
          role: vault-client-role
      default_field: value
      mounts:
        some_secret:
          - %{::trusted.certname}
          - common
        another_secret:
          - %{::trusted.certname}
          - common

The main difference is this snippet here:
authentication:
  type: iam
  config:
    iam_role: vault-client-role

This would allow any different form of authentication to be supported, even though they may require different configurations
The hiarchy of authentication methods are as follows:

VAULT_TOKEN environment variable
token specified in the configuration
authentication specified in the configuration

Each type will need to be specified in the special_auth.rb function
Next Steps
I'm opening this PR in WIP status to get the conversation going 😄
The following would still need to be worked on:

Tests
Document updates

Are any maintainers able to provide some input into a possible testing strategy for this? I have Terraform code available to create a full end-to-end test in AWS, but not sure how well that'd fit into the current testing patterns 😅
Thanks!!
Related to #66

@petems Just a friendly poke 😅  Hope all is well!
If possible, are you able to provide a bit of feedback on this? Thanks!

Hello! Yes, sorry I've been pretty busy and still mulling over accepting this or not. The work is great and I dont want it to go to waste, but...I think I'd rather keep the module as simple as possible, and rely on people using a tool like vault-agent to do auth via different methods.
I think you might even be able to have this as a separate repo and treat it like a plugin, so those who dont want to use vault-agent and want specific direct auth methods like AWS could include both modules and then have a choice... how would you feel about that?


Stacked ensemble breaks if number of allowed model families = 1

X, y = evalml.demos.load_fraud(n_rows=500)
X.drop(columns=['datetime'], inplace=True)

import woodwork as ww
X_dt = ww.DataTable(X, copy_dataframe=True)
y_dc = ww.DataColumn(y)
automl_ensembling = evalml.automl.AutoMLSearch(problem_type='binary',
                                               max_batches=6,
                                               allowed_model_families=['extra_trees'],
                                               ensembling=True)
automl_ensembling.search(X_dt, y_dc)

raises an IndexError.

@angela97lin ah, so does this not happen if you don't set allowed model families, or set it to have more than one value?

@dsherry Correct, if len(allowed_model_families) > 1, this doesn't happen; here's the stack trace:
IndexError                                Traceback (most recent call last)
<ipython-input-5-3135f91ecd76> in <module>
      8                                                max_batches=6,allowed_model_families=['extra_trees'],
      9                                                ensembling=True)
---> 10 automl_ensembling.search(X_dt, y_dc)

~/Desktop/evalml/evalml/automl/automl_search.py in search(self, X, y, data_checks, show_iteration_plot)
    480                         if current_batch_pipeline_scores and np.isnan(np.array(current_batch_pipeline_scores, dtype=float)).all():
    481                             raise AutoMLSearchException(f"All pipelines in the current AutoML batch produced a score of np.nan on the primary objective {self.objective}.")
--> 482                         current_batch_pipelines = self._automl_algorithm.next_batch()
    483                         current_batch_pipeline_scores = []
    484                     except StopIteration:

~/Desktop/evalml/evalml/automl/automl_algorithm/iterative_algorithm.py in next_batch(self)
     79             num_pipeline_classes = (len(self._first_batch_results) + 1) if self.ensembling else len(self._first_batch_results)
     80             idx = (self._batch_number - 1) % num_pipeline_classes
---> 81             pipeline_class = self._first_batch_results[idx][1]
     82             for i in range(self.pipelines_per_batch):
     83                 proposed_parameters = self._tuners[pipeline_class.name].propose()

IndexError: list index out of range

Edit: actually, this should be more dependent on the number of allowed pipelines. For the Extra Trees model family this doesn't matter since there is only one pipeline but for other model families, we should still allow even if len(allowed_model_families) == 1


Doesn't run

After following your compilation instructions, the following is output into terminal when attempting to launch the built binary.
2023-12-07 15:09:03,824 ERROR [default] Resource file tree generation error: ./bin/resources.neu is missing.
2023-12-07 15:09:03,824 ERROR [default] Unable to open ./bin/neutralino.config.json
2023-12-07 15:09:03,824 ERROR [default] Unable to load: /neutralino.config.json

I am running Arch Linux with node 16.20. There were no errors during any of the previous commands. The only thing I had to do was install webkit2gtk which was missing since I run KDE Plasma.

Still does not work for me.
./build.sh
npm error could not determine executable to run

npm error A complete log of this run can be found in: /home/alex/.npm/_logs/2024-08-23T07_40_07_351Z-debug-0.log

up to date, audited 1463 packages in 2s

224 packages are looking for funding
  run `npm fund` for details

67 vulnerabilities (53 moderate, 12 high, 2 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

><EMAIL_ADDRESS>build
> react-scripts build

Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Compiled with warnings.

[eslint]
src/App.jsx
  Line 39:26:  Expected '!==' and instead saw '!='  eqeqeq
  Line 53:28:  Expected '!==' and instead saw '!='  eqeqeq
  Line 60:28:  Expected '!==' and instead saw '!='  eqeqeq
  Line 64:67:  Expected '===' and instead saw '=='  eqeqeq

src/components/Keyboard.jsx
  Line 5:44:   Expected '===' and instead saw '=='  eqeqeq
  Line 15:66:  Expected '===' and instead saw '=='  eqeqeq
  Line 17:5:   Expected a default case              default-case
  Line 19:70:  Expected '===' and instead saw '=='  eqeqeq

src/components/Scancodes.jsx
  Line 22:43:  Expected '===' and instead saw '=='  eqeqeq

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

  53.9 kB  build/static/js/main.f6df8d89.js
  1.77 kB  build/static/js/787.29b19c1f.chunk.js
  1.28 kB  build/static/css/main.d99e2577.css

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

  npm install -g serve
  serve -s build

Find out more about deployment here:

  https://cra.link/deployment

npm error could not determine executable to run

npm error A complete log of this run can be found in: /home/alex/.npm/_logs/2024-08-23T07_40_14_252Z-debug-0.log

I had the same error as @asjur. I got it resolved by:
cd hhg-gui
npm install @neutralinojs/neu
npx cache clean --force

And then run ./build.sh again.
Credit to @sockbot and ChatGPT.

I had to install neutralino to build on OpenSuse too.

I added @chantk lines on top of the build script.


Add translation of ClockSync3 to tnt

Closes #204
A translation of the ClockSync3 spec into TNT. I try out a few ideas
here, but mostly it's meant to be a direct translation of the referenced
TLA source.
All feedback, suggestions, or ideas are welcome :)

updated syntax, dropped outdated changes and fixed the logic bug. nothing worth rereviewing since this was approved.


Got issue after reconfig docker-compose.yml like what i needed

Why i trying to reconfig docker-compose.yml file just have services: php-fpm, application, data, nginx, mysql and workspace (removed: postgres, mariadb, neo4j, redis, memcached, beanstalkd, beanstalkd-console)
Then i type  docker-compose up, i got below issues ? please explain help me, its ok?

Attaching to laradock_application_1, laradock_data_1, laradock_mysql_1, laradock_workspace_1, laradock_php-fpm_1, laradock_nginx_1
mysql_1        | Initializing database
mysql_1        | 2016-06-04T04:01:01.649470Z 0 [Warning] InnoDB: New log files created, LSN=45790
mysql_1        | 2016-06-04T04:01:02.241479Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
mysql_1        | 2016-06-04T04:01:02.549254Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: f4242203-2a08-11e6-8a2c-0242ac120002.
mysql_1        | 2016-06-04T04:01:02.648709Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
mysql_1        | 2016-06-04T04:01:02.649049Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
laradock_data_1 exited with code 0
php-fpm_1      | [04-Jun-2016 04:01:01] NOTICE: fpm is running, pid 1
laradock_application_1 exited with code 0
php-fpm_1      | [04-Jun-2016 04:01:01] NOTICE: ready to handle connections
workspace_1    | *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
workspace_1    | *** Running /etc/rc.local...
workspace_1    | *** Booting runit daemon...
workspace_1    | *** Runit started as PID 8
workspace_1    | Jun  4 04:00:59 eb4e3e51900e syslog-ng[14]: syslog-ng starting up; version='3.5.3'
mysql_1        | 2016-06-04T04:01:15.032798Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:15.032822Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:15.032848Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:15.032870Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:15.032903Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | Database initialized
mysql_1        | MySQL init process in progress...
mysql_1        | 2016-06-04T04:01:22.639948Z 0 [Note] mysqld (mysqld 5.7.12) starting as process 51 ...
mysql_1        | 2016-06-04T04:01:22.642734Z 0 [Note] InnoDB: PUNCH HOLE support available
mysql_1        | 2016-06-04T04:01:22.642751Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql_1        | 2016-06-04T04:01:22.642755Z 0 [Note] InnoDB: Uses event mutexes
mysql_1        | 2016-06-04T04:01:22.642758Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mysql_1        | 2016-06-04T04:01:22.642762Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
mysql_1        | 2016-06-04T04:01:22.642769Z 0 [Note] InnoDB: Using Linux native AIO
mysql_1        | 2016-06-04T04:01:22.642942Z 0 [Note] InnoDB: Number of pools: 1
mysql_1        | 2016-06-04T04:01:22.643017Z 0 [Note] InnoDB: Using CPU crc32 instructions
mysql_1        | 2016-06-04T04:01:22.648409Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
mysql_1        | 2016-06-04T04:01:22.654034Z 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1        | 2016-06-04T04:01:22.655509Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql_1        | 2016-06-04T04:01:22.666869Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
mysql_1        | 2016-06-04T04:01:22.723813Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1        | 2016-06-04T04:01:22.723895Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1        | 2016-06-04T04:01:22.887204Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1        | 2016-06-04T04:01:22.888228Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
mysql_1        | 2016-06-04T04:01:22.888241Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
mysql_1        | 2016-06-04T04:01:22.889097Z 0 [Note] InnoDB: 5.7.12 started; log sequence number 2523255
mysql_1        | 2016-06-04T04:01:22.889693Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1        | 2016-06-04T04:01:22.890256Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysql_1        | 2016-06-04T04:01:22.892361Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160604  4:01:22
mysql_1        | 2016-06-04T04:01:22.892717Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
mysql_1        | 2016-06-04T04:01:22.933179Z 0 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:22.933212Z 0 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:22.933224Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:22.933230Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:22.934081Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:22.938132Z 0 [Note] Event Scheduler: Loaded 0 events
mysql_1        | 2016-06-04T04:01:22.938252Z 0 [Note] mysqld: ready for connections.
mysql_1        | Version: '5.7.12'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server (GPL)
mysql_1        | Warning: Unable to load '/usr/share/zoneinfo/Factory' as time zone. Skipping it.
mysql_1        | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
mysql_1        | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
mysql_1        | Warning: Unable to load '/usr/share/zoneinfo/posix/Factory' as time zone. Skipping it.
mysql_1        | Warning: Unable to load '/usr/share/zoneinfo/right/Factory' as time zone. Skipping it.
mysql_1        | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
mysql_1        | 2016-06-04T04:01:29.116547Z 4 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:29.116560Z 4 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:29.116579Z 4 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | mysql: [Warning] Using a password on the command line interface can be insecure.
mysql_1        | mysql: [Warning] Using a password on the command line interface can be insecure.
mysql_1        | mysql: [Warning] Using a password on the command line interface can be insecure.
mysql_1        | mysql: [Warning] Using a password on the command line interface can be insecure.
mysql_1        | 2016-06-04T04:01:29.133237Z 8 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:29.133261Z 8 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:29.133368Z 8 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        |
mysql_1        | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
mysql_1        |
mysql_1        | 2016-06-04T04:01:29.134198Z 0 [Note] Giving 0 client threads a chance to die gracefully
mysql_1        | 2016-06-04T04:01:29.134211Z 0 [Note] Shutting down slave threads
mysql_1        | 2016-06-04T04:01:29.134214Z 0 [Note] Forcefully disconnecting 0 remaining clients
mysql_1        | 2016-06-04T04:01:29.134217Z 0 [Note] Event Scheduler: Purging the queue. 0 events
mysql_1        | 2016-06-04T04:01:29.134244Z 0 [Note] Binlog end
mysql_1        | 2016-06-04T04:01:29.134735Z 0 [Note] Shutting down plugin 'ngram'
mysql_1        | 2016-06-04T04:01:29.134743Z 0 [Note] Shutting down plugin 'BLACKHOLE'
mysql_1        | 2016-06-04T04:01:29.134746Z 0 [Note] Shutting down plugin 'partition'
mysql_1        | 2016-06-04T04:01:29.134749Z 0 [Note] Shutting down plugin 'ARCHIVE'
mysql_1        | 2016-06-04T04:01:29.134751Z 0 [Note] Shutting down plugin 'MEMORY'
mysql_1        | 2016-06-04T04:01:29.134756Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
mysql_1        | 2016-06-04T04:01:29.134768Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
mysql_1        | 2016-06-04T04:01:29.134785Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
mysql_1        | 2016-06-04T04:01:29.134794Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
mysql_1        | 2016-06-04T04:01:29.134802Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
mysql_1        | 2016-06-04T04:01:29.134810Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
mysql_1        | 2016-06-04T04:01:29.134819Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
mysql_1        | 2016-06-04T04:01:29.134828Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
mysql_1        | 2016-06-04T04:01:29.134837Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
mysql_1        | 2016-06-04T04:01:29.134846Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
mysql_1        | 2016-06-04T04:01:29.134854Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
mysql_1        | 2016-06-04T04:01:29.134862Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
mysql_1        | 2016-06-04T04:01:29.134870Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
mysql_1        | 2016-06-04T04:01:29.134879Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
mysql_1        | 2016-06-04T04:01:29.134887Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
mysql_1        | 2016-06-04T04:01:29.134894Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
mysql_1        | 2016-06-04T04:01:29.134901Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
mysql_1        | 2016-06-04T04:01:29.134908Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
mysql_1        | 2016-06-04T04:01:29.134916Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
mysql_1        | 2016-06-04T04:01:29.134923Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
mysql_1        | 2016-06-04T04:01:29.134940Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
mysql_1        | 2016-06-04T04:01:29.134943Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
mysql_1        | 2016-06-04T04:01:29.134945Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
mysql_1        | 2016-06-04T04:01:29.134948Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
mysql_1        | 2016-06-04T04:01:29.134955Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
mysql_1        | 2016-06-04T04:01:29.134962Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
mysql_1        | 2016-06-04T04:01:29.134970Z 0 [Note] Shutting down plugin 'INNODB_CMP'
mysql_1        | 2016-06-04T04:01:29.134977Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
mysql_1        | 2016-06-04T04:01:29.134985Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
mysql_1        | 2016-06-04T04:01:29.134992Z 0 [Note] Shutting down plugin 'INNODB_TRX'
mysql_1        | 2016-06-04T04:01:29.135000Z 0 [Note] Shutting down plugin 'InnoDB'
mysql_1        | 2016-06-04T04:01:29.135052Z 0 [Note] InnoDB: FTS optimize thread exiting.
mysql_1        | 2016-06-04T04:01:29.135258Z 0 [Note] InnoDB: Starting shutdown...
mysql_1        | 2016-06-04T04:01:29.235509Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
mysql_1        | 2016-06-04T04:01:29.235737Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 160604  4:01:29
mysql_1        | 2016-06-04T04:01:31.577887Z 0 [Note] InnoDB: Shutdown completed; log sequence number 12128666
mysql_1        | 2016-06-04T04:01:31.579429Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
mysql_1        | 2016-06-04T04:01:31.579441Z 0 [Note] Shutting down plugin 'MyISAM'
mysql_1        | 2016-06-04T04:01:31.579448Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
mysql_1        | 2016-06-04T04:01:31.579452Z 0 [Note] Shutting down plugin 'CSV'
mysql_1        | 2016-06-04T04:01:31.579455Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
mysql_1        | 2016-06-04T04:01:31.579476Z 0 [Note] Shutting down plugin 'sha256_password'
mysql_1        | 2016-06-04T04:01:31.579480Z 0 [Note] Shutting down plugin 'mysql_native_password'
mysql_1        | 2016-06-04T04:01:31.579589Z 0 [Note] Shutting down plugin 'binlog'
mysql_1        | 2016-06-04T04:01:31.579969Z 0 [Note] mysqld: Shutdown complete
mysql_1        |
mysql_1        |
mysql_1        | MySQL init process done. Ready for start up.
mysql_1        |
mysql_1        | 2016-06-04T04:01:31.879755Z 0 [Note] mysqld (mysqld 5.7.12) starting as process 1 ...
mysql_1        | 2016-06-04T04:01:31.882396Z 0 [Note] InnoDB: PUNCH HOLE support available
mysql_1        | 2016-06-04T04:01:31.882431Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
mysql_1        | 2016-06-04T04:01:31.882438Z 0 [Note] InnoDB: Uses event mutexes
mysql_1        | 2016-06-04T04:01:31.882441Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
mysql_1        | 2016-06-04T04:01:31.882446Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
mysql_1        | 2016-06-04T04:01:31.882452Z 0 [Note] InnoDB: Using Linux native AIO
mysql_1        | 2016-06-04T04:01:31.882705Z 0 [Note] InnoDB: Number of pools: 1
mysql_1        | 2016-06-04T04:01:31.882809Z 0 [Note] InnoDB: Using CPU crc32 instructions
mysql_1        | 2016-06-04T04:01:31.888370Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
mysql_1        | 2016-06-04T04:01:31.893991Z 0 [Note] InnoDB: Completed initialization of buffer pool
mysql_1        | 2016-06-04T04:01:31.895555Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
mysql_1        | 2016-06-04T04:01:31.906975Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
mysql_1        | 2016-06-04T04:01:31.975396Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
mysql_1        | 2016-06-04T04:01:31.975488Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
mysql_1        | 2016-06-04T04:01:32.172161Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
mysql_1        | 2016-06-04T04:01:32.172862Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
mysql_1        | 2016-06-04T04:01:32.172871Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
mysql_1        | 2016-06-04T04:01:32.173372Z 0 [Note] InnoDB: 5.7.12 started; log sequence number 12128666
mysql_1        | 2016-06-04T04:01:32.173906Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
mysql_1        | 2016-06-04T04:01:32.174059Z 0 [Note] Plugin 'FEDERATED' is disabled.
mysql_1        | 2016-06-04T04:01:32.175766Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
mysql_1        | 2016-06-04T04:01:32.175783Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
mysql_1        | 2016-06-04T04:01:32.175820Z 0 [Note] IPv6 is available.
mysql_1        | 2016-06-04T04:01:32.175828Z 0 [Note]   - '::' resolves to '::';
mysql_1        | 2016-06-04T04:01:32.175850Z 0 [Note] Server socket created on IP: '::'.
mysql_1        | 2016-06-04T04:01:32.177059Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160604  4:01:32
mysql_1        | 2016-06-04T04:01:32.217794Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:32.217821Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:32.219483Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
mysql_1        | 2016-06-04T04:01:32.223209Z 0 [Note] Event Scheduler: Loaded 0 events
mysql_1        | 2016-06-04T04:01:32.223321Z 0 [Note] mysqld: ready for connections.
mysql_1        | Version: '5.7.12'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

Could you try docker-compose down and then (make sure any data in the DB is safe)  docker-compose up --build --force-recreate

thank you, i tried like you reported however it still get same issue

docker-compose up -t 100
try to give it a bit long time for a try.

Just try to restart a docker


Update client ug

added screenshots for client functions and documentation

Codecov Report

Merging #178 (b26026c) into master (420ee73) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #178   +/-   ##
=========================================
  Coverage     58.39%   58.39%
  Complexity      671      671
=========================================
  Files           135      135
  Lines          2723     2723
  Branches        358      358
=========================================
  Hits           1590     1590
  Misses         1061     1061
  Partials         72       72

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

NICE!


I miss option to specify num of gpu layers as model parameter

The 2 most used parameters for gguf models are IMO: temp, and number of gpu layers for mode to use.
But  number of gpu layers is  'baked' into ollama model template file.
This means we have to  create new model, with new num of gpu layer - jut to change it.
yes I understand number of gpu layers is not something that can be changed after  model was loaded.  But still, creating new modelfile just to change gpu layer offloading parameter is overkill imo.

Thanks for the feedback @JoseConseco, as of the last few versions of Ollama you can actually specify this in the interactive mode.
ollama run llama2
>>> /set parameter num_gpu 12
Set parameter 'num_gpu' to '12'

>>>

Does that help your use-case?

awesome. It was one of the most annoying thing about ollama (having to create  custom model, to change gpu layers. )
While  /set parameter num_gpu 12 works -  model is reloaded after next prompt, after setting gpu-layes.
Will have to test if this helps, if model is to big to load into vram. I suppose in that case ollama will just error out, and I wont be able to /set parameter num_gpu 12 right? In that case user will have to create new modelfile...
Is that similar option to  set gpu-layer from the begining  -   like :  ollama run model.xyz   -gpu-layer n  ?

@JoseConseco setting it as a flag isn't an option right now, however this is a lot of work going on right now to load the optimal number of layers by default when a model is run.

We can set the value of num_gpu through the following parameters. I didn't find how to get the current value? And what indicators can be referenced for setting this value?
/set parameter num_gpu

Ultimately the goal is users shouldn't have to adjust the num_gpu setting, and Ollama should load the optimal number of layers given the available VRAM.  If there are bugs that cause us to load an incorrect number of layers, this setting can be used to workaround those bugs until we get them fixed.  The setting can be specified via CLI, API, or within the Modelfile.  I'm also planning to add another mechanism to workaround memory prediction bugs in #5922


Decorate unmarshal error with field name

Suppose a client decides to hand-write a JSON payload, but sends something unexpected. E.g., client sends string instead of a struct (read map).
The returned error indicates to the client:

internal error, 500
the payload cannot be unmarshalled.

{
    "code": "internal",
    "msg": "failed to parse request json: json: cannot unmarshal string into Go value of type map[string]json.RawMessage",
    "meta": {
        "cause": "*somepb.wrappedError"
    }
}

But, it's not possible to determine which field caused the error. For smaller payloads one could eye-ball, but this becomes much harder for larger objects.
Would it be feasible to return, within meta, the field that triggered the unmarshal error?

This might be made possible if the upstream jsonpb added support for more error context.
https://github.com/golang/protobuf/issues/256
https://github.com/golang/protobuf/issues/266
Assuming these do get added, would it be reasonable to return within meta the key that caused the error?

I think this would also be useful for server error handling. An invalid request is a user-generated error, not a server error. It should be a 400, but Twirp was designed to be used with auto-generated clients in a microservices architecture, that should never send invalid payload... so it makes sense to be a 500 (InternalError). But in the real world people is putting Twirp services in the edge, and it is not cool if an attacker can send a load of invalid requests and trigger paging alerts. Adding meta for invalid requests may be a great way to allow the error hook to ignore server errors that are caused because of invalid payload.

This sounds really useful, yes. It also sounds hard to do without those upstream protobuf changes. I think if https://github.com/golang/protobuf/issues/266 lands, we should certainly do this.

Going to swing back to this and see if this was fixed with the upstream changes in v2 as mentioned in https://github.com/golang/protobuf/pull/310


Can I split queries and mutators across different files?

I'm trying to break up my schema into Entity specific classes, where each class defines the types, queries, mutators and resolvers specific to that Entity. Is this possible?
From the example, I can see that you can split Types and their resolves into seperate Entity specific files, but not queries/mutators?

Hey, this issue belongs on graphql-tools, since Apollo server doesn't deal with generating schemas at all.

Thanks, will move it.


Separate RV prior from other host star priors

Split the 6D host star prior into 5D + 1x RV prior so we can give the users the option to override it.
See some discussion in #37.

Perhaps a kwarg override (if the user has, e.g. ground based high resolution spectroscopy they'd like to implement) for a normally distributed prior, and then a try, except KeyError -> uniform prior, to catch cases where there is no Gaia measurement? I think those would be the two cases where a user would want to override the Gaia measurement somehow.


add cleaner map

Thanks for this! Instead of merging, I am going to re-implement on stream so everyone can see how it works. I'll show your PR when I work on it.

@w3cj, To get access to the map and do fun stuff like locate() and panTo(), I couldn't cleanly get access to it. However, if you made a ref to L.Map, there is mapRef.current.state.map Which gives you access to the map element.
I tried this, if I did console.log(map.current.state.map) map is there, but if I used setMap, it still is null.
  const [map, setMap] = useState<L.Map|null>(null)
  const mapRef = useRef(null)
  useEffect(() => {
    if ('state' in mapRef['current'])
      setMap(map.current.state.map)
  }, [mapRef])

Just leaving a note on this, it looks like the library passes leafletMap as a prop to every child of the map, so that is probably the easiest way to get access to it.
https://github.com/Benjythebee/preact-leaflet-typescript/blob/master/src/Map.tsx#L107
Some pseudo code (haven't tested yet):
const MapSetter = ({ setMap, leafletMap }) => {
  useEffect(() => {
    setMap(leafletMap);
  }, [leafletMap])
  return null;
}

const Page = () => {
  const [map, setMap] = useState(null);
  return (
    <Map>
      <MapSetter setMap={setMap} />
    </Map>
  );
}


Fastify test porting

Add the files you're working on here

custom-http-server.test.js

content-type.test.js

connectionTimeout.test.js

context-config.test.js

route.6.test.js

buffer.test.js

serialize-response.test.js

async-await.test.js

https://github.com/fastify/fastify/pull/5772/files

prendo route.5.test.js

Prendo

async-dispose.test
has-route.test

decorator.test.js

delete.test.js

route.4.test

close-pipelining.test

bodyLimit.test.js

https://github.com/fastify/fastify/pull/5774

route.3.test

https://github.com/fastify/fastify/pull/5778

https://github.com/fastify/fastify/pull/5779

https://github.com/fastify/fastify/pull/5773
https://github.com/fastify/fastify/pull/5776 (🤡)
https://github.com/fastify/pre-commit/pull/79

https://github.com/fastify/fastify/pull/5780

route.2.test

https://github.com/fastify/fastify/pull/5777

server.test.js

route.1.test

case-insentitive.test.js
PR: https://github.com/fastify/fastify/pull/5782

https://github.com/fastify/fastify/pull/5784


Android formatting is completely out.

On android 9 I have this problem that I can't get rid of.
The formatting is completely off.

Sorry for my late response. As indicated on the readme, this project is currently only supported on iOS. If you have found a solution, do not hesitate to make a pull request.