报错了，求助

Error running Gradle:
ProcessException: Process "C:\Users\Administrator\Desktop\GSYGithubAppFlutter-master\android\gradlew.bat" exited abnormally:

Configure project :flutter_statusbar

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':flutter_statusbar'.

Could not resolve all artifacts for configuration ':flutter_statusbar:classpath'.
Could not find lombok-ast.jar (com.android.tools.external.lombok:lombok-ast:0.2.3).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 0s
Command: C:\Users\Administrator\Desktop\GSYGithubAppFlutter-master\android\gradlew.bat app:properties
Finished with error: Please review your Gradle project setup in the android/ folder.

看不出什么问题，看下Flutter statusbar是否正常安装

安装了，它老提示我https://jcenter.bintray.com/com/android/tools/external/lombok/lombok-ast/0.2.3/lombok-ast-0.2.3.jar这个找不到

这是错误信息

看起来是jcenter同步没同步成功

是墙的缘故吗？指导一下怎么处理~~~

在android目录下执行下 ./gradlew  build 看看

执行过程中报这个了，是我Build Tools版本太低吗？我先升级一下试试

感觉你像是请求不到jcenter


'No CUDA GPUs are available'

When i run test the train model get this
"Warning: caught exception 'No CUDA GPUs are available', memory monitor disabled
LatentDiffusion: Running in eps-prediction mode"

run !nvidia-smi to make sure you were assigned a GPU


Update paranamer dependency to fix a thread-safety issue

Paranamer fixed a thread-safety issue with the CachingParanamer (using the thread-unsafe WeakHashMap w/o synchronization) which first surfaced in v2.6.1

lgtm

BTW, I wrote a replacement for paranamer a while back that is easier to use and works with the new java8 parameter names features. https://github.com/airlift/parameternames


Create a language server implementation

Hi!
Last year I started looking into creating a similar project, but put on hold due to time commitments. Now I have more time, I started looking into creating a dbt-languageserver project, that would use the language server protocol so that multiple IDEs can use it -- this approach is used by elixir-ls, which then has a specific project for vscode niceties (which this project has some fantastic vscode specific features!).
IMHO, it would be worth while splitting out the project into two repos (or even subfolders):

Language Server
VSCode specific extension (basically this extension, minus the LSP specific code)

What are your thoughts about this?

Hi Joshua,
I looked a bit into it when first starting the extension but it's a bit of a bigger undertaking compared to directly developing against the vscode api.  However I think it's definitely the right direction. Actually I think the most interesting part would be to combine not only dbt features but also SQL related features, for example providing autocompleting columns of tables etc. Such features would really enhance the developer experience but go somewhat beyond dbt.
I would be happy to discuss this and define a roadmap together. You can find me on the dbt slack channel under the same name.

Awesome -- sorry for just dropping this random "issue" that isn't really an issue.
Yeah, there are lot of different editors and if there could be something similar to what elixir-ls is, the experience would be fantastic for those who have their favourite editors :rocket:.
I'm going to have to have a read through the code to see how things are done so far, and we would probably want to also figure out if the base extension should be written in python (which dbt is in, and easier to interface with?) or just stick with vscode-language-server typescript (which is great, then just read the manifest file which has everything in there, downside being that files need to be compiled for bigger changes).


[SPARK-47541][SQL] Collated strings in complex types supporting operations reverse, array_join, concat, map

What changes were proposed in this pull request?

Add proper support for complex types containing collated strings in operations reverse, array_join, concat, map (create). Examples:
select reverse('abc' collate utf8_binary_lcase);
select reverse(array('a' collate utf8_binary_lcase, 'b' collate utf8_binary_lcase));
select array_join(array('a' collate utf8_binary_lcase, 'b' collate utf8_binary_lcase), ', ' collate utf8_binary_lcase);
select concat('a' collate utf8_binary_lcase, 'b' collate utf8_binary_lcase);
select map('a' collate utf8_binary_lcase, 1, 'A' collate utf8_binary_lcase, 2);

Why are the changes needed?

To enable listed complex types operations support for collated strings.
Does this PR introduce any user-facing change?

Yes, results of listed complex types operations will return expected results to users.
How was this patch tested?

Added checks to collations suite.
Was this patch authored or co-authored using generative AI tooling?

No.

thanks, merging to master!

Since there are many Collated-feature patch, I made a following PR to catch this kind of failure more eagerly.

https://github.com/apache/spark/pull/46010

Anyway, thank you all for working on this feature.

I have a fix for this, will create a followup soon.


Style tags are injected at the top of head in NextJS development mode

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
style tags are injected at the top of head in NextJS development mode
Expected behavior 🤔
As with the NextJS build result, a style tag must be injected at the last of the head element.
Steps to reproduce 🕹
Steps:

Go to https://stackblitz.com/edit/github-q3dayq.
After the app builds and the rendered screen appears on the right panel, press Shift + Cmd + C to click on this screen.
In the Elements tab, move the cursor to navigate to the Head tag.
Expand the Head element to see the style tags added to the top of the head element as follows.

Context 🔦
While using the NextJS + Tailwind + MUI library, i checked a problem in the NextJS development mode where the MUI component was not properly styled due to Tailwind normalize(base).
MUI component classes that have the same priority as classes in Tailwindcss Base are not styled properly because they are affected by the Tailwindcss Base that is loaded late.

  Output from `npx @mui/envinfo` goes here.

  System:
    OS: Linux undefined
  Binaries:
    Node: 14.16.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /bin/yarn
    npm: 7.17.0 - /bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @emotion/react: latest => 11.7.1
    @emotion/styled: latest => 11.6.0
    @mui/base:  5.0.0-alpha.64
    @mui/icons-material: latest => 5.2.5
    @mui/material: latest => 5.2.8
    @mui/private-theming:  5.2.3
    @mui/styled-engine:  5.2.6
    @mui/system:  5.2.8
    @mui/types:  7.1.0
    @mui/utils:  5.2.3
    @types/react: latest => 17.0.38
    react: latest => 17.0.2
    react-dom: latest => 17.0.2
    typescript: latest => 4.5.4

When the style tag was added to the head element, I took a break point and looked at the call stack.
As the 'StyledEngineProvider' file is loaded, a cache is created, and it seems that a problem is caused by the set prepend:true.

When the createCache function is called, the hydrate function is executed internally to inject a style tag at the top of the header element.
But I'm not sure why this is only happening in NexstJS development mode. 😭

same problem here, only in development mode.

@ZouYouShun
It's a temporary measure, but try this example

https://stackblitz.com/edit/github-cs3o6u

The createCacheEmotion file was modified in the original example code.

In NextJS development mode, style tags are still injected with css above the head element, but style tags are injected again at the end of the head element by createEmotionCache.
It seems that StyledEnginProvider is always called when MUI component is first loaded in NextJS development mode ( NODE_ENV=development). 🤔

I've created this pull request for interoperability between Tailwind CSS and MUI - https://github.com/mui-org/material-ui/pull/30700
My recommendation is to remove tailwind's base and depend on the CssBaseline component, that comes from MUI, as it has better defaults for the MUI components. That way, the order is expected, you have first the MUI components, and then the Tailwind utility classes & components classes. Also, I would propose using the important: "#root" option for making sure the Tailwind utility classes always override the MUI's.
Anyway, take a look at the PR, it should be merged later today.

Hi @mnajdova
Thanks for your answer.
I saw your PR, and I have a few questions.
As a result, it seems a little different from what I thought.

Isn't this issue caused by StyledEngineProvider in NODE_ENV=development environment?

In my case, I handle all styles in the project with tailwindcss, and recently replaced some components using MUI. If I use CssBaseline provided by mui instead of tailwind's base css, my project will have a strong dependency on mui.

There seems to be a ScopedCssBaseline component to use when you want to redefine some of the styles in the MUI (to avoid a similar problem), but I wonder if the entire app should have a strong dependency on the MUI component.
Please let me know if I'm misunderstanding something.
Thank you :)

I'm not sure, but if StyledEnginedProvider is modified as shown below, it seems that the behavior I expect will work, and the comments written in the source code also make sense.
// https://github.com/mui-org/material-ui/blob/31924ee706c5886726c9d6adb222779d957a3d8c/packages/mui-styled-engine/src/StyledEngineProvider/StyledEngineProvider.js

import * as React from 'react';
import PropTypes from 'prop-types';
import { CacheProvider } from '@emotion/react';
import createCache from '@emotion/cache';

export default function StyledEngineProvider(props) {
  const { injectFirst, children } = props;
  if (injectFirst) {
    // prepend: true moves MUI styles to the top of the <head> so they're loaded first.
    // It allows developers to easily override MUI styles with other styling solutions, like CSS modules.
    const cache = createCache({ key: 'css', prepend: true });
    return <CacheProvider value={cache}>{children}</CacheProvider>;
  }
  return children;
}

StyledEngineProvider.propTypes = {
  children: PropTypes.node,
  injectFirst: PropTypes.bool,
};

@mnajdova

Hi @mnajdova
Thanks for your answer.
I saw your PR, and I have a few questions. As a result, it seems a little different from what I thought.

Isn't this issue caused by StyledEngineProvider in NODE_ENV=development environment?
In my case, I handle all styles in the project with tailwindcss, and recently replaced some components using MUI. If I use CssBaseline provided by MUI instead of tailwind's base css, my project will have a strong dependency on MUI.

There seems to be a ScopedCssBaseline component to use when you want to redefine some of the styles in the MUI (to avoid a similar problem), but I wonder if the entire app should have a strong dependency on the MUI component.
Please let me know if I'm misunderstanding something.
Thank you :)

@mnajdova

@stegano the scenario described on both the docs and the documentation is when you use the Material UI components, and Tailwind CSS for overrides or simply as a styling mechanism. In this scenario, you would always want the Tailwind CSS to be loaded after Material UI's styles, so that when you add a Tailwind class on an element, it would override the Material UI default styles for that component.
For the CssBasline, I would say you should check what works for you. You can also do a combination of both if that makes more sense. There are some conflicts with the styles Tailwind provide and what the Material UI component expect to be loaded by default, so some things may not behave correctly.

It seems that calling createCache, which happens in StyledEngineProvider.js in module scope, is not pure and has the side effect of causing emotion to hydrate immediately.
In development this module is imported since it's referenced by<EMAIL_ADDRESS>causing the style tags to be at the top but in prod the module import gets DCE (assuming StyledEngineProvider is not otherwise referenced) and causes the style tags to be left at the bottom of head.
Even allowing that additional configuration is recommended for Tailwind, it's nonideal that there is this dev vs prod difference. Perhaps this createCache call can be changed to be lazy so that it is only executed if the provider is in fact used? Then the dev and prod behavior would be the same.

Even allowing that additional configuration is recommended for Tailwind, it's nonideal that there is this dev vs prod difference. Perhaps this createCache call can be changed to be lazy so that it is only executed if the provider is in fact used? Then the dev and prod behavior would be the same.

Interesting, I haven't noticed this so far. @Andarist what are your thoughts on this?

In Prod I am getting this Behaviour, where i Head tag style tags are coming first instead of meta tags.


Error Code 404

Not sure what I'm doing wrong but this is the error message I get when trying to run pqa ask:
NotFoundError: litellm.NotFoundError: OpenAIException - Error code: 404 - {'error': {'message': 'The model
gpt-4o-2024-08-06 does not exist or you do not have access to it.', 'type': 'invalid_request_error', 'param': None,
'code': 'model_not_found'}}
Received Model Group=gpt-4o-2024-08-06
Available Model Group Fallbacks=None

Do you have funds added to the account associated with the OpenAI API key? If yes, I would try creating a new key and testing with it.

@taabishm2 thank you.  I'm making progress. Now looks like I'm hitting 30k TPM limit even when only 1 paper is in the folder. Relevant Papers=1 | Current Evidence=14, but the answer is blank. Is 30k TPM not enough to process such request?

Hi @thedimpop we are working on figuring out rate limits in https://github.com/Future-House/paper-qa/issues/377
Since it looks like your OpenAI key issue is resolved here, do you mind if I consolidate the TPM limit stuff on https://github.com/Future-House/paper-qa/issues/377?

This should be fixed by latest release and setting to use tier1_limits (or equiv tier)


Problem opening old profiles with new version

I get an error "Failed to determine aircraft ID (20) in your bindings file." when trying to open an F18 profile created with an old version of DCSFP.
The number changes when I try to load my two others.

Please post the F-18C profile on Discord.

Version it was written in: DCSFlightpanels_x64_4.6.8402.1
I think it would be better to use the Mosquito one I made as it uses no images, but still gives the same error.
Added as a zip
Error log extract:
2023-03-30 21:17:40.6392|Error|Failed to determine aircraft ID (45) in your bindings file.|
2023-03-30 21:17:40.6392|Error|System.Exception: Failed to determine aircraft ID (45) in your bindings file.|Failed to determine aircraft ID (45) in your bindings file.    at ClassLibraryCommon.DCSAircraft.LogErrorAndThrowException(String message)
at ClassLibraryCommon.DCSAircraft.GetAircraft(Int32 id)
at DCSFlightpanels.ProfileHandler.LoadProfile(String filename)
dcsfp_Mosquito_profile.zip

I could open your profile just fine. I think the reason is bios.lua. Because that is where all the profile IDs (numbers) are stored. Open your bios.lua and make sure you can see them there.
Also double check that you have the json path setting correct.
Uploading the bios.lua.
bios_lua.zip

You haven't by mistake installed from the old DCS-BIOS repository which isn't maintained anymore?

No. This machine has only had Flightpanels installed.It's Open Beta if that's relevant.
-------- Original message --------From: Jerker Dahlblom @.> Date: 31/03/2023  07:19  (GMT+00:00) To: DCSFlightpanels/DCSFlightpanels @.> Cc: No1sonuk @.>, Author @.> Subject: Re: [DCSFlightpanels/DCSFlightpanels] Problem opening old profiles with new version (Issue #306)
You haven't by mistake installed from the old DCS-BIOS repository which isn't maintained anymore?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I just checked and my BIOS.lua is the same as yours.

So does your BIOS.lua contain the ID which is listed in the error message?

I found the problem.
When I updated, I didn't change the settings to point to the correct JSON folder.
All working now


Link to OPAE mailing list is broken

The link to the OPAE mailing list, in the Contributing Guidelines, is broken:
https://lists.01.org/mailman/listinfo/opae

Thank you for bringing this to our attention.  It has been fixed.


trivial: make symlinkJoin support pname+version alone

Description of changes
inspired by https://github.com/Mic92/nix-update/issues/284
should be 0 rebuilds

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Better error message if nothing is specified.

Done

Better error message if name AND pname || version is specified

This is not an error in mkDerivation

Better error message if pname but not version is specified and vice versa

Possible, but i'm not sure if i like it:
assert lib.assertMsg (args_ ? pname && args_ ? version)
  "symlinkJoin requires either a `name` OR `pname` and `version`, found: ${lib.concatStringsSep ", " (lib.filter (lib.flip builtins.elem ["name" "pname" "version"]) (lib.attrNames args_))}";
"${args_.pname}-${args_.version}"

Don't pass through the pname or version into runCommand's derivationArgs (name already omitted)

That would mean not setting finalPackage.pname and finalPackage.version, which is the current behaviour and the entire reason why you want to provide these args

+1 on the errors mention by Philip, but the removal of pname and version here is a requirement IMO

This confuses me, is there a negation missing or is there something i'm missing?

Handling this request in full is possible, but I'm not sure if I like it.

Here's my attempt, designed to be placed after in the let block.
assert lib.assertMsg (args_ ? name -> !(args ? pname || args ? version) "symlinkJoin requires either `name` or `pname` and `version`; to fix this, remove `name` or both of `pname` and `version`"
assert lib.assertMsg (args_ ? pname == args_ ? version) "symlinkJoin requires `pname` and `version` to be specified together";

This confuses me, is there a negation missing or is there something I'm missing?

No, I think I'm the source of the issue: I didn't fully understand that getting pname and especially version into the resulting derivationArgs was a key goal of this patch.

It does seem to achieve the intended hardening, but the breakage is massive and I assume the eval times will increase, especially in nixos.

Drafted until the way forward is decided. Do we (1) forge ahead and establish this new hardening convention and patch all violations, or (2) drop https://github.com/NixOS/nixpkgs/commit/42ab48f2f77149ab15ea3ec2d398f45e1ec2245c ?

Drafted until the way forward is decided. Do we (1) forge ahead and establish this new hardening convention and patch all violations, or (2) drop 42ab48f ?

Note the performance result: https://github.com/NixOS/nixpkgs/pull/344645/checks?check_run_id=30790294683
For me, given that there's any eval troubles, I'm more on the drop-and-defer-to-a-future-PR train -- a PR that means to tackle this relatively common idiom of name vs. pname/version, and that makes a stand about how it ought to be represented in nixpkgs.

I'm still on the drop-and-defer-to-a-future-PR train. 🚋

oh wow it has been two weeks. I was supposed to revert the commit but forgot

pr is stuck at "processing" after I pushed, might be the current outage https://www.githubstatus.com/incidents/myvz2tsj2dh8

I don't think the relevant commit was dropped.

Dang, I think my eyes have never processed that section of the header before. 👀 Thanks for entertaining my blindness. 😁


STITCH-2311/STITCH-2313 Swift SDK: Thread-safe local MongoClients/Swift SDK: Use AtomicKit RWLock

Add LRUCache
Store MongoClients in LRUCache based on Thread hash in CoreLocalMongoDBService singleton
Use new SyncMongoClient class to proxy calls to pooled clients throughout the sync module
Use RWLock from AtomicKit
Test

@adamchel @dkaminsky PTAL


Fix SIRUS load_paths

I've made a mistake in https://github.com/JuliaAI/MLJModels.jl/pull/524, which causes the following (https://github.com/rikhuijzer/SIRUS.jl/issues/54):
julia> RulesClassifier = @load StableRulesClassifier pkg="SIRUS" verbosity=0
SIRUS.MLJImplementation.StableForestClassifier

Note that StableForestClassifier in the output should have been StableRulesClassifier.
This PR fixes these mistakes. Apologies for the noise.

The error on Julia 1.6 seems unrelated:
loading model code: Error During Test at /home/runner/work/MLJModels.jl/MLJModels.jl/test/runtests.jl:15
  Test threw exception
  Expression: include("loading.jl")
  LoadError: Unsatisfiable requirements detected for package Statistics [10745b16]:
   Statistics [10745b16] log:
   ├─possible versions are: 0.0.0 or uninstalled
   ├─restricted to versions * by MLJModels [d491faf4], leaving only versions 0.0.0
   │ └─MLJModels [d491faf4] log:
   │   ├─possible versions are: 0.16.10 or uninstalled
   │   └─MLJModels [d491faf4] is fixed to version 0.16.10
   ├─Statistics [10745b16] is fixed to version 0.0.0
   └─found to have no compatible versions left with MLJBase [a7f614a8]
     └─MLJBase [a7f614a8] log:
       ├─possible versions are: 0.1.0-0.21.14 or uninstalled
       ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.21.14
       └─restricted by compatibility requirements with ScientificTypes [321657f4] to versions: [0.1.0-0.3.0, 0.15.0-0.18.11, 0.19.2-0.21.14] or uninstalled, leaving only versions: [0.1.0-0.3.0, 0.15.0-0.18.11, 0.19.2-0.21.14]
         └─ScientificTypes [321657f4] log:
           ├─possible versions are: 0.1.0-3.0.2 or uninstalled
           └─restricted to versions 3 by MLJModels [d491faf4], leaving only versions 3.0.0-3.0.2
             └─MLJModels [d491faf4] log: see above

Okay, I'm now convinced the fail is orthogonal to this PR. A separate PR, #527,  will address the fail.


Flattening function like in Autograd

I was reimplementing my old Autograd code in JAX, but I can't seem to find an equivalent of the "flatten" utility:
https://github.com/HIPS/autograd/tree/master/autograd/misc
Basically, given a list of the network's parameters w, I would need something like:
w_flat, unflattener = flatten(w)

where w_flat is a one-dimensional vector containing all parameters, and unflattener reverts this operation. If I understand correctly, this was used in Autograd at the beginning for the implementation of the optimizers, but it is not needed here. However, it is useful in many cases and also goes well with the idea of chainable transformations on data.

@mattjj - I'm probably missing it, is a flatten_func analog baked into JAX somewhere?  I may be missing it in the flatten_util (?) or tree_util files?

Thanks for the ping. My notification setup isn't great. When in doubt, open a new issue, since those are much more visible. It also makes things like feature requests easier to track.
We haven't added at flatten_func to JAX, but it's probably a good idea to put it in flatten_util.py and make it call ravel_pytree. I think it should look about the same as Autograd's. We could call it ravel_func or flatten_func, I don't have a strong opinion.
Want to send us a PR with that change?

Great! - will do.


Add PSA labels to e2e test namespaces

Signed-off-by: perdasilva<EMAIL_ADDRESS>Description of the change:
Enforeces baseline PSA security profile on e2e test namespaces
Motivation for the change:
Downstream CI is breaking due to enforcing restricted profile and PSA changes to workloads are not through yet.
Architectural changes:
N/A
Testing remarks:
N/A

Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Bug fixes are accompanied by regression test(s)
[ ] e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
[ ] tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
[ ] Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky and have an issue
[ ] Code is properly formatted

closing due to staleness


[BUG] Quick start commands are returning an error

Describe the bug
Testing data seems to be invalid
To Reproduce
spacy_ann create_index en_core_web_md examples/tutorial/data examples/tutorial/models
Your CPU supports instructions that this binary was not compiled to use: SSE3 SSE4.1 SSE4.2 AVX AVX2
For maximum performance, you can install NMSLIB from sources
pip install --no-binary :all: nmslib

================================= Load Model =================================
⠇ Loading model en_core_web_md✔ Done.

============================ Apply EntityEncoder ============================
⠙ Applying EntityEncoder to descriptions✔ Finished, embeddings created
⠙ Setting kb entities and aliases✔ Done adding entities and aliases to kb

============================== Create ANN Index ==============================

0%   10   20   30   40   50   60   70   80   90   100%
|----|----|----|----|----|----|----|----|----|----|
***************************************************
Traceback (most recent call last):
  File "/usr/src/automation/scripts/experimental-linker/linker/bin/spacy_ann", line 8, in <module>
    sys.exit(main())
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy_ann/cli/__init__.py", line 24, in main
    typer.run(commands[command])
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/typer/main.py", line 855, in run
    app()
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/typer/main.py", line 497, in wrapper
    return callback(**use_params)  # type: ignore
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy_ann/cli/create_index.py", line 113, in create_index
    nlp.to_disk(output_dir)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy/language.py", line 927, in to_disk
    util.to_disk(path, serializers, exclude)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy/util.py", line 681, in to_disk
    writer(path / key)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy/language.py", line 925, in <lambda>
    serializers[name] = lambda p, proc=proc: proc.to_disk(p, exclude=["vocab"])
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy_ann/ann_linker.py", line 199, in to_disk
    self.cg.to_disk(path)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy_ann/candidate_generator.py", line 347, in to_disk
    to_disk(path, serializers, {})
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy/util.py", line 681, in to_disk
    writer(path / key)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/spacy_ann/candidate_generator.py", line 336, in <lambda>
    p.with_suffix(".json"), self.short_aliases
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/srsly/_json_api.py", line 74, in write_json
    json_data = json_dumps(data, indent=indent)
  File "/usr/src/automation/scripts/experimental-linker/linker/lib/python3.6/site-packages/srsly/_json_api.py", line 26, in json_dumps
    result = ujson.dumps(data, indent=indent, escape_forward_slashes=False)
TypeError: {'NLP', 'OS', 'ML'} is not JSON serializable

Additional context
Add any other context about the problem here.

Same issue here. Seeing this with a clean virtual environment on python 3.7.9

Came across the same problem. Installing srsly==2.0.0 (instead of 1.0.5, which gets installed because of the requirements of thinc 7.4.0 and spacy 2.2.4) deals with it, but it does involve some version conflicts, so not an ideal solution.


connectivity test failed

I installed Kubernetes via kubeadmn, Newly installed. then installed Cilium with cilium install.
connectivity test failed with an error like this: connectivity test failed: timeout reached waiting for NodePort <IP_ADDRESS>:32424 (cilium-test/echo-other-node)
Test many times, always failed, and they are all such errors.
Related Information
Kubernetes Version
Client Version: v1.24.3
Kustomize Version: v4.5.4
Server Version: v1.24.3

Kernel Version
Linux 5.18.12-1.el7.elrepo.x86_64

Install Cilium
$ cilium install
ℹ  Using Cilium version 1.11.6
🔮 Auto-detected cluster name: kubernetes
🔮 Auto-detected datapath mode: tunnel
ℹ  helm template --namespace kube-system cilium cilium/cilium --version 1.11.6 --set cluster.id=0,cluster.name=kubernetes,encryption.nodeEncryption=false,kubeProxyReplacement=disabled,operator.replicas=1,serviceAccounts.cilium.name=cilium,serviceAccounts.operator.name=cilium-operator,tunnel=vxlan
ℹ  Storing helm values file in kube-system/cilium-cli-helm-values Secret
🔑 Created CA in secret cilium-ca
🔑 Generating certificates for Hubble...
🚀 Creating Service accounts...
🚀 Creating Cluster roles...
🚀 Creating ConfigMap for Cilium version 1.11.6...
🚀 Creating Agent DaemonSet...
level=warning msg="spec.template.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms[1].matchExpressions[0].key: beta.kubernetes.io/os is deprecated since v1.14; use \"kubernetes.io/os\" instead" subsys=klog
🚀 Creating Operator Deployment...
⌛ Waiting for Cilium to be installed and ready...
♻  Restarting unmanaged pods...
♻  Restarted unmanaged pod kube-system/coredns-74586cf9b6-h2bfr
♻  Restarted unmanaged pod kube-system/coredns-74586cf9b6-t5g45
✅ Cilium was successfully installed! Run 'cilium status' to view installation health

Validate the Installation
cilium version:
$ cilium version
cilium-cli: v0.11.11 compiled with go1.18.3 on linux/amd64
cilium image (default): v1.11.6
cilium image (stable): v1.11.6
cilium image (running): v1.11.6

cilium status:
$ cilium status --wait
    /¯¯\
 /¯¯\__/¯¯\    Cilium:         OK
 \__/¯¯\__/    Operator:       OK
 /¯¯\__/¯¯\    Hubble:         disabled
 \__/¯¯\__/    ClusterMesh:    disabled
    \__/

Deployment        cilium-operator    Desired: 1, Ready: 1/1, Available: 1/1
DaemonSet         cilium             Desired: 5, Ready: 5/5, Available: 5/5
Containers:       cilium             Running: 5
                  cilium-operator    Running: 1
Cluster Pods:     6/6 managed by Cilium
Image versions    cilium             quay.io/cilium/cilium:v1.11.6@sha256:f7f93c26739b6641a3fa3d76b1e1605b15989f25d06625260099e01c8243f54c: 5
                  cilium-operator    quay.io/cilium/operator-generic:v1.11.6@sha256:9f6063c7bcaede801a39315ec7c166309f6a6783e98665f6693939cf1701bc17: 1

connectivity test:
$ cilium connectivity test
ℹ  Monitor aggregation detected, will skip some flow validation steps
⌛ [kubernetes] Waiting for deployments [client client2 echo-same-node] to become ready...
⌛ [kubernetes] Waiting for deployments [echo-other-node] to become ready...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/client-7df6cfbf7b-7r6kg to appear...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/client2-547996d7d8-wvnj7 to appear...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach DNS server on cilium-test/echo-same-node-5d466d5444-p5vj4 pod...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach DNS server on cilium-test/echo-same-node-5d466d5444-p5vj4 pod...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach DNS server on cilium-test/echo-other-node-d79544ccf-7ggxl pod...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach DNS server on cilium-test/echo-other-node-d79544ccf-7ggxl pod...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach default/kubernetes service...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach default/kubernetes service...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/echo-other-node-d79544ccf-7ggxl to appear...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/echo-same-node-5d466d5444-p5vj4 to appear...
⌛ [kubernetes] Waiting for Service cilium-test/echo-other-node to become ready...
⌛ [kubernetes] Waiting for Service cilium-test/echo-same-node to become ready...
⌛ [kubernetes] Waiting for NodePort <IP_ADDRESS>:32424 (cilium-test/echo-other-node) to become ready...
connectivity test failed: timeout reached waiting for NodePort <IP_ADDRESS>:32424 (cilium-test/echo-other-node)

$ cilium connectivity test
ℹ  Monitor aggregation detected, will skip some flow validation steps
⌛ [kubernetes] Waiting for deployments [client client2 echo-same-node] to become ready...
⌛ [kubernetes] Waiting for deployments [echo-other-node] to become ready...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/client-7df6cfbf7b-7r6kg to appear...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/client2-547996d7d8-wvnj7 to appear...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach DNS server on cilium-test/echo-same-node-5d466d5444-p5vj4 pod...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach DNS server on cilium-test/echo-same-node-5d466d5444-p5vj4 pod...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach DNS server on cilium-test/echo-other-node-d79544ccf-7ggxl pod...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach DNS server on cilium-test/echo-other-node-d79544ccf-7ggxl pod...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach default/kubernetes service...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach default/kubernetes service...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/echo-other-node-d79544ccf-7ggxl to appear...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/echo-same-node-5d466d5444-p5vj4 to appear...
⌛ [kubernetes] Waiting for Service cilium-test/echo-same-node to become ready...
⌛ [kubernetes] Waiting for Service cilium-test/echo-other-node to become ready...
⌛ [kubernetes] Waiting for NodePort <IP_ADDRESS>:32424 (cilium-test/echo-other-node) to become ready...
connectivity test failed: timeout reached waiting for NodePort <IP_ADDRESS>:32424 (cilium-test/echo-other-node)

$ cilium connectivity test
ℹ  Monitor aggregation detected, will skip some flow validation steps
⌛ [kubernetes] Waiting for deployments [client client2 echo-same-node] to become ready...
⌛ [kubernetes] Waiting for deployments [echo-other-node] to become ready...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/client-7df6cfbf7b-7r6kg to appear...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/client2-547996d7d8-wvnj7 to appear...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach DNS server on cilium-test/echo-same-node-5d466d5444-p5vj4 pod...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach DNS server on cilium-test/echo-same-node-5d466d5444-p5vj4 pod...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach DNS server on cilium-test/echo-other-node-d79544ccf-7ggxl pod...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach DNS server on cilium-test/echo-other-node-d79544ccf-7ggxl pod...
⌛ [kubernetes] Waiting for pod cilium-test/client2-547996d7d8-wvnj7 to reach default/kubernetes service...
⌛ [kubernetes] Waiting for pod cilium-test/client-7df6cfbf7b-7r6kg to reach default/kubernetes service...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/echo-other-node-d79544ccf-7ggxl to appear...
⌛ [kubernetes] Waiting for CiliumEndpoint for pod cilium-test/echo-same-node-5d466d5444-p5vj4 to appear...
⌛ [kubernetes] Waiting for Service cilium-test/echo-other-node to become ready...
⌛ [kubernetes] Waiting for Service cilium-test/echo-same-node to become ready...
⌛ [kubernetes] Waiting for NodePort <IP_ADDRESS>:32424 (cilium-test/echo-other-node) to become ready...
connectivity test failed: timeout reached waiting for NodePort <IP_ADDRESS>:32424 (cilium-test/echo-other-node)

@aluopy how to reslove it ,I also encountered the same problem


Crtl + not zooming in

Hi there!
Playing with the tool some more, I noticed that Crtl + - will zoom out the texture, but Crtl + + does not zoom in on the texture. If you were to address this, might I also suggest adding Ctrl + 0 as "zoom to fit within current window space"? (This is what that shortcut does in Photoshop.)
Edit: Another small quirk I just noticed is, after opening a file, you must first click within the texture preview area before you're allowed to use the shortcut to zoom out.

Hi @Polymega !
Thanks for your feedbacks!
I guess you're not using numerical pad on your keyboard (or you don't even have one) ?  In this case yes, it is actually Ctrl+Shift++   :)
As for the Ctrl+0 - that's interesting idea, will make it happen.
And thanks for the focus bug, will fix that as well (the image rendering panel isn't the one that has keyboard focus after opening the image).

In this case yes, it is actually Ctrl+Shift++ :)

Ah, I see. Yeah, I was playing with it on my laptop earlier which doesn't have a numpad. Would you think it better, for consistency's sake, that zoom in be the same key combo as zoom out (just changed from "-" to "+"... so Ctrl + +)?
If not, could you include Zoom In and Zoom Out somewhere as part of the top menu bar, with their shortcuts displayed off to the side? I mostly ask as all Adobe products use Ctrl -/+ for zoom out/in, and without the tool telling me, I'll never remember Ctrl + Shift + + to zoom in. 😅

Would you think it better, for consistency's sake, that zoom in be the same key combo as zoom out

Oh yes sure I'll make it better.  Will see if I can make it Ctrl + MouseWheel as well.

Would be nice if zoom level persisted after switching to different texture/file.

Would be nice if zoom level persisted after switching to different texture/file.

TBH - I'm on the fence about this one.  Like I can see the benefit of not resetting zoom when switching between textures inside one file, but opening different file - I expect zoom to reset  (this is the default behaviour of most of other tools/viewers).

Made improvements in commit 1c16a9c. Will build and push new release later today @Polymega @SiarMortal

Thanks, iOrange! I'll keep an eye out on the tool's next build release. Hope you had a wonderful New Year!

The new zoom handling is b-e-a-utiful. Such as pleasant experience to use! Thank you!

The new zoom handling is b-e-a-utiful. Such as pleasant experience to use! Thank you!

@Polymega thanks!  There was also a nice progress on PS2 support :)  https://github.com/iOrange/sh2tex/issues/3#issuecomment-1884101158


New branch

Hi @shiyanboxer -- can you stop opening PRs in my repo? Thanks

Hi @bchiang7, sorry I didn't know this was happening - my apologies


obscenity

$ [ ! -f Gemfile ] && ruby -e 'require "bundler/setup"; Bundler.require(:default)'
-e:1: private method `require' called for Bundler:Module (NoMethodError)

Could you also include the information from ISSUES please so we can investigate? Thank you!
On Jan 27, 2012, at 1:33 PM<EMAIL_ADDRESS>wrote:

$ [ ! -f Gemfile ] && ruby -e 'require "bundler/setup"; Bundler.require(:default)'
-e:1: private method `require' called for Bundler:Module (NoMethodError)

Reply to this email directly or view it on GitHub:
https://github.com/carlhuda/bundler/issues/1646

It should spit out "Gemfile not found" or similar message in case it's missing. That's all. Bundler version 1.0.21


ci: allow 5.x.x branch to be built

Description
Trying to get automated builds working in the version 5 branch.

:tada: This PR is included in version 5.0.3 :tada:
The release is available on:

v5.0.3
GitHub release

Your semantic-release bot :package::rocket:


automatic release created for v0.10003.4

Added

Contract tests for keys endpoints in lcdClient. @NodeGuy
Protected Gaia Lite process with a mutex to prevent locking error. @NodeGuy
catching errors on cache encryption. @faboweb
#1436 governance endpoints and vuex module @fedekunze
#1482 Added ESLint errors: no-var. @sgobotta
#1449 shortNumber to num scripts for more readable numbers. @jbibla
#1509 fail tests on console.error and console.warn and fix related bugs. Plus added a way to simply opt out of failing tests on console usage. @faboweb
#1464 Added governance transactions to tx history page @fedekunze
#1401 Display governance proposals index. @fedekunze
#1472 Added mock functionality for redelegation @fedekunze + @faboweb
#1402 Proposal creation through modal @fedekunze + @NodeGuy + @jbibla
#1501 Vote on proposals through modal @fedekunze + @jbibla
#1567 Various refactors on main, node and lcdClient. @NodeGuy
#1502 A page for each proposal. @jbibla
#1552 Deposit on proposals through modal @fedekunze
#1548 Add mocked deposit for testing @fedekunze
#1116 Elaborate a bit about the release process. @NodeGuy
#1568 Add mocked submit proposal for testing @fedekunze
#1388 Added TmConnectedNetwork to session pages @jbibla
#1564 Add support to query governance proposals on lcdClient(Mock).js @fedekunze
#1544 Added eslint-plugin-vue for cleaner vue files @jbibla
#1607 Add tally endpoint to query voting results @fedekunze
added build option for single os to electron bundle script @faboweb
#1611 added no testnet warning @faboweb
#1573 added remote error collection for several catched errors in Voyager @faboweb
#1632 added FAQ about broken symlink to networks folder @faboweb
#1198 added e2e tests for wallet and staking transactions @faboweb
#1685 added .idea to .gitignore @sabau
#1578 added e2e tests for submit governance proposals @fedekunze
#1672 added e2e tests for staking parameters tab @fedekunze
#1533 added handling of missing connection to the full node at several places. @faboweb
#1648 added governance parameters tab @fedekunze
#1550 added e2e tests for voting on governance proposals @fedekunze
#1555 added e2e tests for submitting a deposit on a governance proposal @fedekunze
#1681 Governance: Fixed voting starting date @sabau
#1690 Governance: Fixed error messages for maxLength @sabau
#1690 Feedbacks when Amount is not between valid thresholds @sabau
Added compatibility to Gaia/SDK version 0.28.0-rc2 @faboweb
#1673 Documentation and single command to run one or all tests with fallback for end to end test @sabau
#1683 Governance: block voting twice for the same option @sabau
#1774 added specs for the TmFieldSeed update method and value watcher @coreycosman
#1387 Staking: Added list of undelegation transactions @sabau
#1661 Boot: multinode available for local-testnet @sabau
#1748 display governance parameters on tab @fedekunze
#1660 Add parameters and pool to store @fedekunze
#1739 Init jsDoc into project @sabau
#1674 Add PageProfile component with shared styles for validator and proposal profiles @jbibla
#1806 CircleCI security check in dependencies with yarn audit @sabau
#1804 Moved Voyager to the web @faboweb
#1835 allow user to use different signing methods @faboweb
#1833 Prerequisites to allow continuous integration @sabau
#1338 Add Ledger Nano S support for signing transactions @fedekunze
#1869 Added PageNetwork @jbibla
#1894 Added favicons for all the browsers and devices @jbibla
#1865 Added Vuex blocks module @sabau
#1928 Added Browserstack reference to README @sabau
#1918 added message to log in when sending transactions and the user is not authenticated @fedekunze
#1866 Added blocks to network page and a page for viewing individual blocks @jbibla
Added development mode warning @faboweb

Changed

Changed minor component of version number to match testnet version.  @NodeGuy
Updated contribution guidelines. @faboweb
#1447 Removed titles from all pages. @faboweb
Updated PR template @fedekunze
#1454 Updated a bunch of words to (hopefully) be clearer. @jbibla
#1473 added "percent of vote" to validator in vuex module instead of in component @jbibla
#1497 Using an html table for table validators component @jbibla
#1496 display validator pub_key instead of operator_address on livalidator and validator profile @jbibla
made running a local node easier by reducing it to 2 commands and presetting an account. @faboweb
#1504 updates @tendermint/UI library to 0.4.3 @faboweb
#1410 removed end undelegations as not needed in the SDK anymore
#1543 updated unit tests to use describe and it instead of test @fedekunze
#1377 deleted AppFooter page @fedekunze
#1582 proposals now use time instead of block number @fedekunze
#1585 updated style in coin balances from wallet page @fedekunze
#1547 removed unused media queries @jbibla
#1547 deleted archive directory of old components @jbibla
removed unit tests from prepush hook @faboweb
#1566 putting querying errors in the store instead of showing notifications @faboweb
#1612 defined props types on components
changed err to error because abbreviations are bad @faboweb
#1609 switched to css and html to onboard developers faster @faboweb
#1594 disable decimal amount transfers @fedekunze
#1680 updated TmBalance to receive tabs an array of objects to avoid conflicting routes @fedekunze
#1638 removed account password from the state and now user has to input it on every transaction @fedekunze
#1655 Text and Textarea fields trimmed @sabau
#1686 Changed proposals from array to object @sabau
#1387 Delegation: modifiers simplified, setUnbondingDelegations takes an array as input now as the name suggest and replace the current dictionary with a new one @sabau
#1626 upgraded from raven to sentry/browser @jbibla
#1724 set tabindex attribute to -1 for readonly denom on ModalProposals. tab navgiation now skips element @enyan94
#1277 change name of VmToolBar to ToolBar, update all snapshots and import statements @coreycosman
#1432 Moved @tendermint/UI components back into the Voyager repository @faboweb
#1769 Removed hardcoded parameters values @fedekunze
#1694 Improved the README @faboweb @fedekunze
#1379 Changed some tests so they don't display errors on the console to better identify real errors @faboweb
#1792 removed mocked demo mode @fedekunze
#1720 Time format from 12 to 24h @sabau
#1802 Enable prefer-const eslint rule @sabau
#1688 Moved from every page to TmPage the connected, loading, empty data and search features @sabau
#1588 404 page updates @jbibla
#1737 Updates to validator and proposal pages @jbibla
#1846 Allow node endpoints to be set from the URL @faboweb
#1221 individual linter check on GitHub @faboweb
#1855 skip gaia build if already built that hash @sabau
#1922 removed font awesome @jbibla
#1916 redirect to session modal when user hasn't logged in @fedekunze
#1836 remove back button @fedekunze
#1948 changed PR template @fedekunze
#1946 removed proposer_address raw hex @jbibla
#1967 bundle analyzer changed from dynamic to static report @sabau

Fixed

Fixed gaia binary not be found on linux and windows in development @faboweb
#1419 Restored "Amount" label to delegation modal. @NodeGuy
Fixed upstream cross compilation issue from SDK @faboweb
#1446 and #1445 Fixed sorting in validator tables. @NodeGuy
#1487 Fixed running of local testnet. @NodeGuy
#1480 Fixed "duplicate CONN" errors in E2E tests. @NodeGuy
#1480 Fixed false detection of node crash in e2e test start. @faboweb
#1451 Provide better sourcemaps to make debugging easier. @faboweb
#1409 Fixed disabled unbond and redelegation button when delegation amount was less than 1 @fedekunze
#1500 Fixed wrong optimistic updates to the atom balance after staking @faboweb @fedekunze
#1517 Fixed wrong account format used for querying selfBond @faboweb
#1503 Added e2e test for balance updates after delegation @faboweb
#1131 Display only error message on notifications @fedekunze
#1440 Fixed an error that prevented disconnecting from the RPC websocket if it wasn't defined @fedekunze
#1460 Removing release-candidate tag when publishing @faboweb
#1402 Fixed minor issues in voting and deposit @fedekunze
#1574 Fixed typo on mocked governance txs that prevented the execution of the query @fedekunze
#1575 Fixed tags on governance transactions query @fedekunze
#1590 Fixed empty error notifications caused by latest SDK update @fedekunze
#1596 Fixed error that prevented from triggering updates after submitting a new proposal @fedekunze
#1321 Fixed styling on TmModal @jbibla
#1617 Fixed multiple warnings showing on transactions page @faboweb
#1617 Fixed my validators not showing @faboweb
#1617 Fixed send buttons not clickable @faboweb
#1303 Fixed spamming of setSubscription @faboweb
#1603 Fixed inactive sidebar links @jbibla
#1614 Fixed an error that prevented a proposal to be updated optimistically after a successful deposit or vote @fedekunze
#1386 Cleaned up on-boarding @jbibla
#1640 Hide the table proposals when there are no available ones @fedekunze
#1640 Fixed an error that prevented the search bar to be displayed using Ctrl+F @fedekunze
Fixed testnet config build script @faboweb
#1677 Fixed inconsistent status colors on proposals @faboweb
#1687 Removing cached state if decrypting fails. @faboweb
#1662 Fixed wrong node version in readme @faboweb
#1642 Refactor table styles and fixed bad aligned headers @faboweb
#1677 Fixed inconsistent status colors on proposals @fedekunze
#1696 Fixed broken css variables @jbibla
#1687 Removing cached state if decrypting fails. @faboweb
#1662 Fixed wrong node version in readme @faboweb
#1641 Fixed styling of validator page (parameters on top and min-width) @faboweb
#1667 Fixed menu in PageSend + hover cursor for menu @sabau
#1676 Reduced minWidth css for ModalVote to have 2 buttons per line @sabau
#1676 Update balance in header after voting and depositing @faboweb
#1572 Fixed scroll bug when switching between tabs @jbibla
#1749 Fixed proposal tally update after voting @fedekunze
#1765 Fixed proposal deposit update after submitting a deposit @fedekunze
#1791 Fixed a problem with initializing the Voyager config dir @faboweb
#1815 Fixed getters for proposals denominator, reverted to 945803d586b83d65547cd16f4cd5994eac2957ea until interfaces are ready @sabau
#1809 Fixed optimistically updating the header on sending @faboweb
#1791 Fixed a problem with initializing the Voyager config dir @faboweb
#1754 Fixed form UX, UI and other miscellaneous styling issues @jbibla
#1707 Governance txs are now disabled if the user doesn't hold any min_deposit token @fedekunze
#1815 Fixed getters for proposals denominator, reverted to 945803d586b83d65547cd16f4cd5994eac2957ea until interfaces are ready @sabau
Fixed build process @ƒaboweb
#1818 Fixed error on validator loading showing as no validators @faboweb
Fixed error locations sucked up by Sentry @faboweb
#1815 Fixed small bug on preferences page @jbibla
#1831 Fixed websocket reconnection @faboweb
#1850 Snapshots aligned for unit tests @sabau
#1859 Fix security check in circleci @sabau
#1892 Fix TmSessionImport form validation @faboweb
Fixed signing issues related to https://github.com/cosmos/cosmos-sdk/issues/3336 @faboweb
#1896 Correctly update balances if account is empty @faboweb
Fix actionmodal validation @faboweb
#1934 Fix boot process @sabau
#961 Mock timezone and keep moment as it is @sabau
#961 Mock only the now function from Date module @sabau
Fixed yarn start @ƒaboweb
#1955 Fixed local testnet setup @faboweb
HOT FIX: unit tests failed due to merge @faboweb
HOT FIX: we fixed develop (replaced contenthash with hash) @jbibla
Bring back devMode @faboweb

nice test 🥑


shapeU

For the usage of @12345ieee we made a naive implementation of what shapeU could look like:
diff --git a/python/ModelTools.py b/python/ModelTools.py
index f829dff..e09623c 100644
--- a/python/ModelTools.py
+++ b/python/ModelTools.py
@@ -113,7 +113,10 @@ class ModelBuilder(ModelBuilderBase):
         #print groupsFor
         for cpar in self.DC.discretes: self.addDiscrete(cpar)
         for (n,nofloat,pdf,args,errline) in self.DC.systs:
-            if pdf == "lnN" or pdf.startswith("shape"):
+            if pdf == "shapeU":
+                self.doObj("%s_Pdf" % n, "RooUniform", "%s[-1,1]" % n )
+                self.out.var(n).setVal(0)
+            elif pdf == "lnN" or pdf.startswith("shape"):
                 r = "-4,4" if pdf == "shape" else "-7,7"
                 sig = 1.0;
                 for pn,pf in self.options.nuisancesToRescale:

If this looks like a reasonably non-breaking way of how this could be implemented (frequentist toys?), we can make a PR.

From the twiki, for combineHarvester:

To calculate impacts it is also necessary to checkout a different branch of the HiggsAnalysis/CombinedLimit package (this will be intergrated into the main branch soon):
cd HiggsAnalysis/CombinedLimit
git remote add impacts https://github.com/ajgilbert/HiggsAnalysis-CombinedLimit.git
git fetch impacts
git checkout -b impacts impacts/alt-commit

That branch, which is still not merged in main combine, contains commit 5012fd239bfa2f1fea1dff4fab622de627d8781d, which implements the same shapeU option.
Could @ajgilbert make a PR to get it into the main branch?

Hi, sure - I need to add a small thing to that commit first then I'll put it on a fresh branch and make a PR.


problems using pdf files hosted in azure blobstorage

I am trying to use the API with files hosted in azure blobstorage, the error it gives me is the following:
File preview error
File preview not available, please reload to try again.
regards.

Hi, issues here should address problems in the samples for this repo. For questions/issues using Embed, please use our forums: https://community.adobe.com/t5/document-services-apis/ct-p/ct-Document-Cloud-SDK?page=1&sort=latest_replies&filter=all&lang=all&tabid=discussions


Output to the file

Hi, is it possible to output report to the file?

Hi @hopole if you are in a unix environment you can try redirecting the output to a file.
license-report --only=prod --output=json > myfile.json

The same goes for windows environments.


Would like to have join feature in Class level

Similar requests

[X] I have searched and found no existing similar requests

How are you using Studio?
Legend Studio
What problems are you trying to solve?
Currently, we've added other reference classes under the main source class and used functions for filtering conditions.
But we would like to have to join instead of having them.
Describe the solution you would like to see implemented
We want to implement join in Class level as like relational db
Describe alternatives you have considered
Currently, we've added other reference classes under the main source class and used functions for filtering conditions.
Documentation, Design, Adoption, Migration Strategy
No response
Contribution

[ ] I would like to work on this feature

Hi, would be great if you could provide an example of the behavior you desire. Also, with this, I suspect the right place to have this issue would be in https://github.com/finos/legend as it involves much more than just Studio, so I'll transfer this issue there.


Resolve explicit extensions as well as implicit

We have imports in our codebase (https://github.com/alphagov/whitehall/blob/a141931d01022a59b6ea7898f523c68d09c3433f/app/assets/stylesheets/frontend/base.scss#L10) that explicitly specify ".scss". These imports worked under Ruby Sass, but not libsass.

Thanks  - in your case, is this exception being raised?
https://github.com/boffbowsh/sassc-rails/blob/resolve-explicit-extensions/lib/sassc/rails/importer.rb#L121

Yep, that's the error.

I don't have time to experiment until later, but i'd like to propose an alternate solution:
Instead of adding the blank extension (which basically makes that exception unreachable), could we try changing the raise (https://github.com/boffbowsh/sassc-rails/blob/resolve-explicit-extensions/lib/sassc/rails/importer.rb#L121) to this:
# fallback to libsass's default import
SassC::Importer::Import.new(path)

which should do the same thing

Updated, thanks for your suggestion.

Thanks!


Connect Frontend Authentication with Backend

The backend authentication using Node.js, Express, and JWT is already implemented. The task is to connect this backend authentication with the frontend, which is built using plain HTML, CSS, and JavaScript.
Please also add the GSSoC-EXT and Hacktoberfest tags to this issue.

Please also add the level3 labels to this issue.

can u assign me @Abhishek-TG18

I saw your issue and understand it,
can you please assign this to me?


%Response{} struct to handle deliver responses

This PR exposes the HTTP response from sending mail via the adapter.

defines a %Bamboo.Response{} struct to store the responses.  Adapters now return a response with Bamboo.Response.new_response/1.
defines a new :response key in %Email{} (can be :nil or %Response{})
merges the response from adapter.deliver/2 with the email in Mailer.deliver_now/3
leaves the :response key as :nil in the case we return {:ok, pid} from Mailer.deliver_later/3

Fixes #161

It would be really nice to see this updated and merged.

What's the status of this PR? My team is currently running a fork, and we'd love to get right with the main repo. Let me know if I can help out in any way here.

Thanks for your great work on this, and sorry for the delay! I opened #452 using parts of this as inspiration but not changing the type of what's returned from deliver_now. Let me know if you have any thoughts about it since you have great context for it!

Closing since #452 seems to be a cleaner way to achieve the same thing.


mongo:latest keeps crashing and I can't tell why

Hey, I'm trying to set this up using the docker-compose approach described here with import and export paths. I've tried it on my laptop and in a VM on a server, and in both cases I'm getting different errors. On the laptop it says that:

mongodb_1    | WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
mongodb_1    |   see https://jira.mongodb.org/browse/SERVER-54407
mongodb_1    |   see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
mongodb_1    |   see also https://github.com/docker-library/mongo/issues/485#issuecomment-891991814

On the server I get a big json printout that repeats endlessly, I can't tell what it is.
Have you guys seen these errors before or do you know what I'm doing wrong? Is there a version of mongodb I can use to at least get it working on the laptop?

The error you posted tells why -- Mongo 5.x and greater require AVX support.  Some VMs don't expose this, even though pretty much all modern processors have it.  The two solutions are to either pin to Mongo 4.4 OR enable AVX support passthrough on the VM.  I don't know why Mongo chose to compile and ship without the appropriate fallback code, and I'm not sure how we can show a better error message when this occurs.

Thanks that fixed it in both.

Closing.  Though if you know a way to have docker-compose detect this before starting contains so we can give a better warning, I'd love to know how.


Project Owner and Member should also be able to see embedded Kiali Graph in Rancher UI

Now only users who have System project access can view the Kiali Graph in Rancher UI
Project Owner and Member should also be able to see embedded Kiali Graph in Rancher UI

Close in favor of https://github.com/rancher/rancher/issues/20695


Skip runs creation via special commit messages

Add option to handle special commit messages like [ci skip] to skip runs creation

I think this should be closed thanks to https://github.com/agola-io/agola/pull/90 !

Currently implemented in #90. There's just the "issue" that it won't work when merging a PR since the commit is something like "merging pull request...". This could be considered the right behavior (and should be documented) or we should find a way to handle also such case.


Backend of the patients signup & signin page

Description
Set the Backend of the signup & signin page and connect with frontend
Screenshots
No response
Additional information
Guidelines ⚠
I will follow the Setup Guidelines
I will follow the Contributing Guidelines
I will follow the Code of Conduct

Notice ⛔
You will make PRs only to itsroy69-doctalk branch. Don't make pull request directly on main branch. After review maintainer will merge it.
Commit message / PR title--> fix: bla bla bla
Please make sure in the .css files you are making/using , the styles should be applied to Unique Class names

Completed / Doubts ? 🚀
Once you are done with the code , please tag me in #milan with the Screenshot of whatever you made so that we can review that there together.
If you have any doubts, queries please tag me in #doctalk so that we can discuss the issue there together.
Cheers 🥂

@ItsRoy69 How about providing three options doctor, patient, and donor on the Signup page? There will be three different schemas for the following options inside the user's schema.

Yes you can do these changes.. and it'll be great tbh.. thanks for giving the suggestion

Anytime. Assign it to me.

@ItsRoy69 The schema for the three options will be the same just one or two additional field will be added to each option. Like for doctor a field of degrees will be added and another field for the type of doctor they are. How about that?

Yeah then in frontend some sections will also be added...sounds good to me

@ItsRoy69  Sorry, I was a bit busy so I couldn't work on it. But I have already started. There is no donor schema. Will it be alright if I add all the fields of the user schema to the donor schema and a few additional fields like blood type and a boolean field about the type of donor they are?

Go with it

Alright I'm removing the donate page and adding the same route to the donor option having the same fields.

@ItsRoy69 In which directory did you save env file?

.env file is protected so it can't be shared like that.. so use use own .env credentials in server folder while running and also if you wanna help others then you can create a ".envexample" file and write all those env credentials halfway... So that password doesn't gets leaked as well as others can get way which credentials to put.... other contributors can get it and work on it.

I've completed backend of the signup of all three options in the same way. I haven't worked on the frontend part but I'm raising an issue for that. You assign it to me after I raise it. As soon as you give me the green light, Im gonna make a PR.

@ItsRoy69

Looks good to me.. make a PR ..

@ItsRoy69 close it.


Fix bugs that were to do with invalid dates and chronologically

invalid event dates and a minor spacing error in event

Codecov Report

Merging #164 (dfeb57d) into master (da3d56f) will decrease coverage by 0.06%.
The diff coverage is 50.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##             master     #164      +/-   ##
============================================
- Coverage     56.71%   56.65%   -0.06%
- Complexity      594      596       +2
============================================
  Files           112      112
  Lines          2338     2351      +13
  Branches        268      269       +1
============================================
+ Hits           1326     1332       +6
- Misses          954      960       +6
- Partials         58       59       +1

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...ava/seedu/address/logic/commands/EventCommand.java
100.00% <ø> (ø)

...seedu/address/logic/parser/EventCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/model/task/Date.java
61.90% <58.33%> (-8.10%)
:arrow_down:

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


feat: add support for inline ContentLink rendering in Rich Text Blocks

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


Start building the docker image with CI.

Why this is a draft?

Why this is a draft?

Because the patch was tested on my fork diamondhands-rgb/rust-rgb20#1.
I removed the 'draft' tag as I checked it to work fine.


No response is returned when no parameter is configured for the brokerStatus command.

The issue tracker is used for bug reporting purposes ONLY whereas feature request needs to follow the RIP process. To avoid unnecessary duplication, please check whether there is a previous issue before filing a new one.
It is recommended to start a discussion thread in the mailing lists in cases of discussing your deployment plan, API clarification, and other non-bug-reporting issues.
We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.
Please ensure that your bug report is clear and self-contained. Otherwise, it would take additional rounds of communication, thus more time, to understand the problem itself.
Generally, fixing an issue goes through the following steps:

Understand the issue reported;
Reproduce the unexpected behavior locally;
Perform root cause analysis to identify the underlying problem;
Create test cases to cover the identified problem;
Work out a solution to rectify the behavior and make the newly created test cases pass;
Make a pull request and go through peer review;

As a result, it would be very helpful yet challenging if you could provide an isolated project reproducing your reported issue. Anyway, please ensure your issue report is informative enough for the community to pick up. At a minimum, include the following hints:
BUG REPORT

Please describe the issue you observed:

What did you do (The steps to reproduce)?

What is expected to see?

What did you see instead?

Please tell us about your environment:

Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):

FEATURE REQUEST

Please describe the feature you are requesting.

Provide any additional detail on your proposed use case for this feature.

Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

If there are some sub-tasks involved, use -[] for each sub-task and create a corresponding issue to map to the sub-task:

sub-task1-issue-number: sub-task1 description here,
sub-task2-issue-number: sub-task2 description here,
...

Thanks for your feedback @frinda

I have created a PR([https://github.com/apache/rocketmq/pull/5817]). Please review it.

How about returning an exception message when brokerAddr and clusterName are both empty? @frinda

How about returning an exception message when brokerAddr and clusterName are both empty? @frinda

do not need to throw an exception. Add parameter verification.please view my PR

Hello @frinda ,
I notice your current solution is to check all parameters, But  don't actually need all parameters to be non-null,
e.g. brokerAddr is null and clusterName is not null also is ok
in a similar way, clusterName is null and brokerAddr is not null also is ok
So we just have to deal with the case where they're all empty

Hello @Oliverwqcwrw ,

optionGroup.setRequired(true)
This command can be used to mask non-compliance situations.

Hello @frinda ,
If brokerAddr and clusterName both are not empty, we can only query information for the specified broker, not for the cluster
As a result, the function of querying the cluster becomes invalid,This is obviously not what we want

Hello @Oliverwqcwrw ,
Please view DeleteAccessConfigSubCommand, They're in the same situation.
use optionGroup set ‘true’, intercept both null brokerAddress and null  clusterName  in the parameter verification phase. I don't think there's a problem

Hello @frinda ,
I misunderstood before, optiongroup set true not all options can't be null
Your present plan is fine :-)


Website sidebar scrolls to some other position after selection.

Bug report
Describe the bug
Sidebar scrolls to some other position after clicking on different list group item. But it does not scroll if same group item is selected.

To reproduce

Scroll sidebar down to very bottom.
Click on 'useBreakpointValue'.
Click on 'Avatar'.
Sidebar will scroll to some another position.

Expected behavior
Selected sidebar list item should not scroll to some other position. Item should stay below mouse cursor.
Screenshots

System information

OS: macOS
Browser (if applies): Safari 13.1.1

I tried to reproduce this on the latest chrome, safari and firefox and it seems to be resolved.

Closing this because the issue has been resolved.


UnknownMessage error related to good-acts submissions being removed

Mee6 is auto-removing messages sent in good-acts due to a new restriction instituted. Unfortunately, because both Mee6 and Leyline are bots, Leyline is detecting the message creation and creating a new GoodActsReactionCollector for messages that are being deleted. Develop a fix to prevent GoodActsReactionCollectors from being created & backed up to the cloud if Mee6 auto deletes them, OR find a workaround to the mee6 implementation

The solution to this is annoying to solve, and I'm fine dealing with the console spam for the time being

@elijaholmos does mee6 need to be on that channel ? aren't we having that channel only for submission ?

@kharaone  Mee6 is currently being used exclusively to limit each user's messages to 1 every 24 hours. In all honesty, it is not necessary if I were to rewrite the same functionality in the Leyline bot... this would also remove the console errors that are related to this issue


Extra logging in 3.7.0 that should be a [debug] log than [notice] and differs from 2.8.x behavior

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
3.7.0
Current Behavior
When
        - name: KONG_DB_CACHE_WARMUP_ENTITIES
          value: services,plugins,consumers,acls,certificates,jwt_secrets,oauth2_credentials

It seems specifically the acls bit does a lot of extra logging per every single consumer resource in Kong's runtime. This did not happen in notice level on Kong 2.8.x. For Kong instances with 1000s of consumers this print block takes up a lot of stdout early on in the runtime printing all these. Feels to me like the each consumer warmup acl group should be in [debug] mode, not [notice] mode which should be giving more important information.
2024-06-13T12:49:22.630547210-05:00 2024/06/13 17:49:22 [notice] 48#0: *1 [lua] warmup.lua:113: single_dao(): Preloading 'acls' into the cache..., context: init_worker_by_lua*
2024-06-13T12:49:22.651353107-05:00 2024/06/13 17:49:22 [notice] 48#0: *1 [lua] warmup.lua:148: single_dao(): warmup acl groups cache for consumer id: b57820f1-e924-4371-8238-30a5ac6ae6ad..., context: init_worker_by_lua*
2024-06-13T12:49:22.669986217-05:00 2024/06/13 17:49:22 [notice] 48#0: *1 [lua] warmup.lua:148: single_dao(): warmup acl groups cache for consumer id: b69b878a-672d-4ebf-80ad-ceaaedb7af46..., context: init_worker_by_lua*
2024-06-13T12:49:22.688435724-05:00 2024/06/13 17:49:22 [notice] 48#0: *1 [lua] warmup.lua:148: single_dao(): warmup acl groups cache for consumer id: 092798fd-5055-4b14-a699-4f915d874695..., context: init_worker_by_lua*

Expected Behavior
Not log every single consumer uuid built into Kong on cache warmup of acls in notice mode.
See line here: https://github.com/Kong/kong/blob/3.7.0/kong/cache/warmup.lua#L148
I propose Kong makes the success log of it DEBUG level, and let if an acl cache consumer warmup fails like the line below with the err statement can keep that as NOTICE as it is or even ERROR level log since unanticipated behavior.
Steps To Reproduce
Read the current/expected behavior block has all deets
Anything else?
No response

I tested my change out via this code change:
warmup.lua
local utils = require "kong.tools.utils"
local constants = require "kong.constants"
local buffer = require "string.buffer"
local acl_groups

local load_module_if_exists = require "kong.tools.module".load_module_if_exists
if load_module_if_exists("kong.plugins.acl.groups") then
  acl_groups = require "kong.plugins.acl.groups"
end

local cache_warmup = {}

local encode = buffer.encode
local tostring = tostring
local ipairs = ipairs
local math = math
local max = math.max
local floor = math.floor
local kong = kong
local type = type
local ngx = ngx
local now = ngx.now
local log = ngx.log
local NOTICE  = ngx.NOTICE
local DEBUG  = ngx.DEBUG

local NO_TTL_FLAG = require("kong.resty.mlcache").NO_TTL_FLAG

local GLOBAL_QUERY_OPTS = { workspace = ngx.null, show_ws_id = true }

function cache_warmup._mock_kong(mock_kong)
  kong = mock_kong
end

local function warmup_dns(premature, hosts, count)
  if premature then
    return
  end

  log(NOTICE, "warming up DNS entries ...")

  local start = now()

  local upstreams_dao = kong.db["upstreams"]
  local upstreams_names = {}
  if upstreams_dao then
    local page_size
    if upstreams_dao.pagination then
      page_size = upstreams_dao.pagination.max_page_size
    end

    for upstream, err in upstreams_dao:each(page_size, GLOBAL_QUERY_OPTS) do
      if err then
        log(NOTICE, "failed to iterate over upstreams: ", err)
        break
      end

      upstreams_names[upstream.name] = true
    end
  end

  for i = 1, count do
    local host = hosts[i]
    local must_warm_up = upstreams_names[host] == nil

    -- warmup DNS entry only if host is not an upstream name
    if must_warm_up then
      kong.dns.toip(host)
    end
  end

  local elapsed = floor((now() - start) * 1000)

  log(NOTICE, "finished warming up DNS entries",
                      "' into the cache (in ", tostring(elapsed), "ms)")
end

function cache_warmup.single_entity(dao, entity)
  local entity_name = dao.schema.name
  local cache_store = constants.ENTITY_CACHE_STORE[entity_name]
  local cache_key = dao:cache_key(entity)
  local cache = kong[cache_store]
  local ok, err
  if cache then
    ok, err = cache:safe_set(cache_key, entity)

  else
    cache_key = "kong_core_db_cache" .. cache_key
    local ttl = max(kong.configuration.db_cache_ttl or 3600, 0)
    local value = encode(entity)
    ok, err =  ngx.shared.kong_core_db_cache:safe_set(cache_key, value, ttl, ttl == 0 and NO_TTL_FLAG or 0)
  end

  if not ok then
    return nil, err
  end

  return true
end

function cache_warmup.single_dao(dao)
  local entity_name = dao.schema.name
  local cache_store = constants.ENTITY_CACHE_STORE[entity_name]

  log(NOTICE, "Preloading '", entity_name, "' into the ", cache_store, "...")

  local start = now()

  local hosts_array, hosts_set, host_count
  if entity_name == "services" then
    hosts_array = {}
    hosts_set = {}
    host_count = 0
  end

  local page_size
  if dao.pagination then
    page_size = dao.pagination.max_page_size
  end
  for entity, err in dao:each(page_size, GLOBAL_QUERY_OPTS) do
    if err then
      return nil, err
    end

    if entity_name == "services" then
      if utils.hostname_type(entity.host) == "name"
         and hosts_set[entity.host] == nil then
        host_count = host_count + 1
        hosts_array[host_count] = entity.host
        hosts_set[entity.host] = true
      end
    end

    local ok, err = cache_warmup.single_entity(dao, entity)
    if not ok then
      return nil, err
    end

    if entity_name == "acls" and acl_groups ~= nil then
      log(DEBUG, "warmup acl groups cache for consumer id: ", entity.consumer.id , "...")
      local _, err = acl_groups.warmup_groups_cache(entity.consumer.id)
      if err then
        log(NOTICE, "warmup acl groups cache for consumer id: ", entity.consumer.id , " err: ", err)
      end
    end
  end

  if entity_name == "services" and host_count > 0 then
    ngx.timer.at(0, warmup_dns, hosts_array, host_count)
  end

  local elapsed = floor((now() - start) * 1000)

  log(NOTICE, "finished preloading '", entity_name,
                      "' into the ", cache_store, " (in ", tostring(elapsed), "ms)")
  return true
end

-- Loads entities from the database into the cache, for rapid subsequent
-- access. This function is intended to be used during worker initialization.
function cache_warmup.execute(entities)
  if not kong.cache or not kong.core_cache then
    return true
  end

  for _, entity_name in ipairs(entities) do
    if entity_name == "routes" then
      -- do not spend shm memory by caching individual Routes entries
      -- because the routes are kept in-memory by building the router object
      kong.log.notice("the 'routes' entity is ignored in the list of ",
                      "'db_cache_warmup_entities' because Kong ",
                      "caches routes in memory separately")
      goto continue
    end

    if entity_name == "plugins" then
      -- to speed up the init, the plugins are warmed up upon initial
      -- plugin iterator build
      kong.log.notice("the 'plugins' entity is ignored in the list of ",
                      "'db_cache_warmup_entities' because Kong ",
                      "pre-warms plugins automatically")
      goto continue
    end

    local dao = kong.db[entity_name]
    if not (type(dao) == "table" and dao.schema) then
      kong.log.warn(entity_name, " is not a valid entity name, please check ",
                    "the value of 'db_cache_warmup_entities'")
      goto continue
    end

    local ok, err = cache_warmup.single_dao(dao)
    if not ok then
      if err == "no memory" then
        kong.log.warn("cache warmup has been stopped because cache ",
                      "memory is exhausted, please consider increasing ",
                      "the value of 'mem_cache_size' (currently at ",
                      kong.configuration.mem_cache_size, ")")

        return true
      end
      return nil, err
    end

    ::continue::
  end

  return true
end

return cache_warmup

And output now looks uniform with no extra acl loggings compared to other resources in notice mode. Gives just enough insight for notice mode I think, and I need to remove plugins since that already happens :P :
2024-06-13T13:27:09.278103341-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:114: single_dao(): Preloading 'services' into the core_cache..., context: init_worker_by_lua*
2024-06-13T13:27:09.306282332-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:163: single_dao(): finished preloading 'services' into the core_cache (in 29ms), context: init_worker_by_lua*
2024-06-13T13:27:09.306306978-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [kong] warmup.lua:189 the 'plugins' entity is ignored in the list of 'db_cache_warmup_entities' because Kong pre-warms plugins automatically, context: init_worker_by_lua*
2024-06-13T13:27:09.306311035-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:114: single_dao(): Preloading 'consumers' into the cache..., context: init_worker_by_lua*
2024-06-13T13:27:09.338330930-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:163: single_dao(): finished preloading 'consumers' into the cache (in 0ms), context: init_worker_by_lua*
2024-06-13T13:27:09.338361006-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:114: single_dao(): Preloading 'acls' into the cache..., context: init_worker_by_lua*
2024-06-13T13:27:09.560178812-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:163: single_dao(): finished preloading 'acls' into the cache (in 0ms), context: init_worker_by_lua*
2024-06-13T13:27:09.560194852-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:114: single_dao(): Preloading 'certificates' into the core_cache..., context: init_worker_by_lua*
2024-06-13T13:27:09.573904618-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:163: single_dao(): finished preloading 'certificates' into the core_cache (in 0ms), context: init_worker_by_lua*
2024-06-13T13:27:09.573930266-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:114: single_dao(): Preloading 'jwt_secrets' into the cache..., context: init_worker_by_lua*
2024-06-13T13:27:09.589073119-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:163: single_dao(): finished preloading 'jwt_secrets' into the cache (in 0ms), context: init_worker_by_lua*
2024-06-13T13:27:09.589116109-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:114: single_dao(): Preloading 'oauth2_credentials' into the cache..., context: init_worker_by_lua*
2024-06-13T13:27:09.605808576-05:00 2024/06/13 18:27:09 [notice] 48#0: *1 [lua] warmup.lua:163: single_dao(): finished preloading 'oauth2_credentials' into the cache (in 0ms), context: init_worker_by_lua*
2024-06-13T13:27:09.626576355-05:00 2024/06/13 18:27:09 [notice] 48#0: *1319 [lua] warmup.lua:47: warming up DNS entries ..., context: ngx.timer
2024-06-13T13:27:14.245183292-05:00 2024/06/13 18:27:14 [notice] 48#0: *1319 [lua] warmup.lua:81: finished warming up DNS entries' into the cache (in 4619ms), context: ngx.timer

Side note... I have noticed my Kong runtimes spending a lot of time doing DNS warmups. This is a dev environment with like less than 40 proxies on it... why would DNS warmups take so long? Maybe lookups that hang or not found? Any way to speed up DNS cache warmups? Maybe make kong dns lookups fail faster if it was a not found or if the reply from dns server is taking too long(better tuning timeout options maybe that let it time out at 50ms or something?).

It's introduced from #11414.
Any special considerations for this log? @oowl

Maybe make kong dns lookups fail faster if it was a not found or if the reply from dns server is taking too long(better tuning timeout options maybe that let it time out at 20ms or something?)

you could modify the timeout and attempts in /etc/resolv.conf to control the underlying network timeout.
attempts:
the total number of times of retransmitting the DNS request when receiving a DNS response times out according to the timeout setting. When trying to retransmit the query, the next nameserver according to the round-robin algorithm will be picked up. It will retry  times, cycling through the nameserver list.
That means if there is only one nameserver,and attempts equals 5,  it will retry the query to this one nameserver 5 times.
Defaults to 5 times.
timeout:
the time in second for waiting for the response for a single attempt of request transmission. note that this is ''not'' the maximal total waiting time before giving up, the maximal total waiting time can be calculated by the expression timeout x retrans.
Defaults to 2 seconds.

@chobits let me give some of those suggested tweaks a try and see how it goes.

@chobits I am going to start a separate bug report thread on DNS behavior noticed in Kong on debug mode because I am seeing some discrepancies that I think will be easily reproducible as a bug for not configuring proper overrides in the runtime.


"StateGraphsList" and related properties

Currently, WolframModel properties can only return states in the form of lists of lists of atoms. However, in special cases where the state is a of pairs, it is possible to generate a Graph object instead.
So, we should have "StateGraphsList" and similar properties for other state-returning functions that would return Graphs. They should produce a warning and return unevaluated if the state if not a list of pairs.

To weird for it to only work in special cases.


What should I do if global hook went wrong and .reg file cannot restore the previous registry

Description
I've been using Global Hook for capturing images from a game. And for some reason the game (or Renderdoc, I cannot recall) crashes and now Global Hook are injected to every app/process and there is overlay for some apps I am using like Blender, Chrome (in a word, every app that uses GPU). I've tried to run .reg file to restore the registry to its previous state, but it didn't work. And I also tried to uninstall Renderdoc, still didn't help. So I am asking what should I do under these circumstances.

This is one reason why you should only use the global hook if you know what you are doing and understand the consequences that can go wrong if RenderDoc crashes while it's active. The .reg only works if you load it immediately after RenderDoc crashes to restore the previous contents of the registry keys - otherwise it will have the already-active global hook listed in there.
To fix it manually, go to the registry keys referenced in the .reg file and reset AppInit_DLLs to an empty string, and set LoadAppInit_DLLs to 0, that should disable the global hook.


infer.js - Cannot call method 'propagate' of undefined

Tern crashes with this error:
Listening on port 49689

/usr/local/lib/node_modules/tern/lib/infer.js:905
      if (out) r.propagate(out);
                 ^
TypeError: Cannot call method 'propagate' of undefined
    at Object.Literal (/usr/local/lib/node_modules/tern/lib/infer.js:905:18)
    at infer (/usr/local/lib/node_modules/tern/lib/infer.js:1094:39)
    at inferExprVisitor.BinaryExpression (/usr/local/lib/node_modules/tern/lib/infer.js:978:9)
    at Object.BinaryExpression (/usr/local/lib/node_modules/tern/lib/infer.js:904:15)
    at infer (/usr/local/lib/node_modules/tern/lib/infer.js:1094:39)
    at Object.walk.make.Expression (/usr/local/lib/node_modules/tern/lib/infer.js:1099:7)
    at c (/usr/local/lib/node_modules/tern/node_modules/acorn/util/walk.js:60:37)
    at Object.base.ExpressionStatement (/usr/local/lib/node_modules/tern/node_modules/acorn/util/walk.js:176:5)
    at c (/usr/local/lib/node_modules/tern/node_modules/acorn/util/walk.js:60:37)
    at Object.skipThrough [as Statement] (/usr/local/lib/node_modules/tern/node_modules/acorn/util/walk.js:163:39)

That's a bit complicated. Yesterday it worked fine, today I tried working again, then this crash happened.
I am writing a plugin for etherpad-lite, the code that triggers this is here. It's not important what I type, as soon one character has been typed, tern crashes.
Hope that helps.

Pasting that code into the online demo doesn't trigger the problem. If you can reliably reproduce it, maybe add console.log(JSON.stringify(node)) to the top of literalType at line 891 in lib/infer.js, and give me the output -- your stack trace suggests that's where the problem originates, and it does look like it could return undefined when given strange input.

Sorry this took so long. I have a update on this error:
Request: {
  "files": [
    {
      "type": "full",
      "text": "var express = require('express');\nvar path = require('path');\nvar favicon = require('serve-favicon');\nvar logger = require('morgan');\nvar cookieParser = require('cookie-parser');\nvar bodyParser = require('body-parser');\n\nvar routes = require('./routes/index');\nvar users = require('./routes/users');\n\nvar app = express();\nap\n\n// view engine setup\napp.set('views', path.join(__dirname, 'views'));\napp.set('view engine', 'jade');\n\n// uncomment after placing your favicon in /public\n//app.use(favicon(__dirname + '/public/favicon.ico'));\napp.use(logger('dev'));\napp.use(bodyParser.json());\napp.use(bodyParser.urlencoded({ extended: false }));\napp.use(cookieParser());\napp.use(express.static(path.join(__dirname, 'public')));\n\napp.use('/', routes);\napp.use('/users', users);\n\n// catch 404 and forward to error handler\napp.use(function(req, res, next) {\n    var err = new Error('Not Found');\n    rr.status = 404;\n    next(err);\n});\n\n// error handlers\n\n// development error handler\n// will print stacktrace\nif (app.get('env') === 'development') {\n    app.use(function(err, req, res, next) {\n        res.status(err.status || 500);\n        res.render('error', {\n            message: err.message,\n            error: err\n        });\n    });\n}\n\n// production error handler\n// no stacktraces leaked to user\napp.use(function(err, req, res, next) {\n    res.status(err.status || 500);\n    res.render('error', {\n        message: err.message,\n        error: {}\n    });\n});\n\n\nmodule.exports = app;\n",
      "name": "app.js"
    }
  ],
  "query": {
    "end": 324,
    "file": "app.js",
    "type": "completions",
    "includeKeywords": true,
    "depths": true,
    "types": true,
    "docs": true
  }
}

/usr/local/lib/node_modules/tern/lib/infer.js:891
    console.log(JSON.stringify(node))
                               ^
Referenceerror: node is not defined
    at literalType (/usr/local/lib/node_modules/tern/lib/infer.js:891:32)

Well reinstalling tern seems to fix the problem...

I guess it has been fixed in the meantime then. Closing.


Docs-remove-cpp

Context:
All remaining C++ files are being removed and implementations of hafnian functions in pure python using numba are added
Description of the Change:
This PR

removes some C examples
removes dependencies: doxigen (breathe, inhale) and cython
updates documentation

Benefits:
Consistent documentation and removed references to C++

Not ready, please do not merge!


kivy  1.9.1 depends xsel or xclip on Linux

I have the same issue again with kivy 1.9.1 (pip install as debs are still on 1.9.0 ?)
$ apt-cache showpkg kivy
Package: kivy
Versions:
1.9.0-3~stable0+201511191651~pkg79~ubuntu14.04.1 (/var/lib/apt/lists/ppa.launchpad.net_kivy-team_kivy_ubuntu_dists_trusty_main_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/ppa.launchpad.net_kivy-team_kivy_ubuntu_dists_trusty_main_binary-amd64_Packages
                  MD5: 43155ebb4ba335d3b74af6b2e57c1d12

Here's the log from the attached example code:
$ python test_popup.py
[INFO   ] [Logger      ] Record log in /home/stas/.kivy/logs/kivy_16-02-12_6.txt
[INFO   ] [Kivy        ] v1.9.1
[INFO   ] [Python      ] v2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2]
[INFO   ] [Factory     ] 179 symbols loaded
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [App         ] Loading kv <./my.kv>
[DEBUG  ] [App         ] kv <./my.kv> not found
[DEBUG  ] [Window      ] Ignored <egl_rpi> (import error)
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] OpenGL version <3.3.0 NVIDIA 340.96>
[INFO   ] [GL          ] OpenGL vendor <NVIDIA Corporation>
[INFO   ] [GL          ] OpenGL renderer <GeForce 210/PCIe/SSE2>
[INFO   ] [GL          ] OpenGL parsed version: 3, 3
[INFO   ] [GL          ] Shading version <3.30 NVIDIA via Cg compiler>
[INFO   ] [GL          ] Texture max size <8192>
[INFO   ] [GL          ] Texture max units <32>
[DEBUG  ] [Shader      ] Fragment compiled successfully
[DEBUG  ] [Shader      ] Vertex compiled successfully
[DEBUG  ] [ImageSDL2   ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/glsl/default.png>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[DEBUG  ] [Atlas       ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/../data/images/defaulttheme.atlas>
[DEBUG  ] [Atlas       ] Need to load 1 images
[DEBUG  ] [Atlas       ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/../data/images/defaulttheme-0.png>
[DEBUG  ] [ImageSDL2   ] Load </usr/local/lib/python2.7/dist-packages/kivy/data/../data/images/defaulttheme-0.png>
[INFO   ] [Text        ] Provider: sdl2
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/tlwg> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/kacst> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/nanum> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/lao> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/droid> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/wqy> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/kacst-one> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/ttf-punjabi-fonts> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/ttf-indic-fonts-core> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/takao-gothic> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/ttf-dejavu> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/dejavu> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/ttf-khmeros-core> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/freefont> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/liberation> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/openoffice> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/padauk> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/sinhala> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/msttcorefonts> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/ubuntu-font-family> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/tibetan-machine> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/abyssinica> in path list
[DEBUG  ] [Resource    ] add </usr/share/fonts/truetype/noto> in path list
[DEBUG  ] [Resource    ] add </usr/local/share/fonts> in path list
[DEBUG  ] [Resource    ] add </usr/local/lib/python2.7/dist-packages/kivy/data/fonts> in path list
[DEBUG  ] [Cache       ] register <textinput.label> with limit=None, timeout=60.0
[DEBUG  ] [Cache       ] register <textinput.width> with limit=None, timeout=60.0
[INFO   ] [Clipboard   ] Provider: gtk3(['clipboard_dbusklipper'] ignored)
[CRITICAL] [Cutbuffer   ] Unable to find any valuable Cutbuffer provider at all!
xclip - OSError: [Errno 2] No such file or directory
  File "/usr/local/lib/python2.7/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "/usr/local/lib/python2.7/dist-packages/kivy/core/clipboard/clipboard_xclip.py", line 17, in <module>
    p = subprocess.Popen(['xclip', '-version'], stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception

xsel - OSError: [Errno 2] No such file or directory
  File "/usr/local/lib/python2.7/dist-packages/kivy/core/__init__.py", line 59, in core_select_lib
    fromlist=[modulename], level=0)
  File "/usr/local/lib/python2.7/dist-packages/kivy/core/clipboard/clipboard_xsel.py", line 15, in <module>
    p = subprocess.Popen(['xsel'], stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception

[DEBUG  ] [Base        ] Create provider from tuio,<IP_ADDRESS>:3333
[DEBUG  ] [Base        ] Create provider from mouse
[DEBUG  ] [Base        ] Create provider from probesysfs
[DEBUG  ] [ProbeSysfs  ] using probesysfs!
[INFO   ] [Base        ] Start application main loop
[DEBUG  ] [OSC         ] Start thread <<IP_ADDRESS>:3333>
[INFO   ] [OSC         ] listening for Tuio on <IP_ADDRESS>:3333
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [Base        ] Leaving application in progress...
[DEBUG  ] [OSC         ] Stop thread <<IP_ADDRESS>:3333>
[DEBUG  ] [OSC         ] Stop thread <<IP_ADDRESS>:3333> finished

test_popup.py.txt

Should be fixed now. On next update the needed packages should be installed.

I also found more problems. It may take some time...

Please close this issue, when it worked for you, thanks!

@thopiekar thanks :+1:

The newest Linux Installation documentation doesn't list this dependencies.

This issue report is about the PPA. And btw. it is set here:
https://github.com/kivy/kivy-sdk-packager/blob/master/linux/debian/daily/control#L151
https://github.com/kivy/kivy-sdk-packager/blob/master/linux/debian/stable/control#L149

@projekt01, the issue is tracked here: https://github.com/kivy/kivy/issues/4036.

Thanks a lot and sorry for confusing. The Linux doc I was referencing is:
https://github.com/kivy/kivy/blob/master/doc/sources/installation/installation-linux.rst#dependencies-with-sdl2
This happens if virtualenv is used not with the PPA