Idk

Cant i ask you why this thing happend, i am aleready use the latest release 1.3.1

After few days of checking..I can only figure out one possibility.

Make sure you downloaded latest version from release section
DO NOT alter the folder structure, extract all files, and do not extract them under C:\


Book : choose a language brings us back to the summary

In the book section, when we are in a chapter and we click on a language to translate, we are   brought to the summary. We have to find our section again.
Thank you :+1:

This one is hard... But you are welcome to propose a PR ! :hurtrealbad:

This one also might have become a bit easier now we're on Hugo.

This one also might have become a bit easier now we're on Hugo.

Indeed, it has become a bit easier: https://github.com/git/git-scm.com/pull/1878 😁

Fixed via #1878


TextBox, PasswordBox, CheckBox, RadioButton & ToggleButton

I've added some base TextBox style and a new control called VerificationBox which allows instant feedback  as shown in the model images.

Both fields share an atachment called FieldExtension that currently has a CornerRadious property and a Placeholder property.
I would like to add an atachment to display a Label as shown in the model, as well as some text below.
Adding icons to the sides it's also in the To Do list. Ideally without creating new controls if they already exists in Wpf.


[CELEBORN-1636] Client supports dynamic update of Worker resources on the server

What changes were proposed in this pull request?
Currently, the ChangePartitionManager retrieves workers from the LifeCycleManager's workerSnapshot. However, during the revival process in reallocateChangePartitionRequestSlotsFromCandidates, it does not account for newly added available workers resulting from elastic contraction and expansion. This PR addresses this issue by updating the candidate workers in the ChangePartitionManager to use the available workers reported in the heartbeat from the master.
Does this PR introduce any user-facing change?
No
How was this patch tested?
UT

LGTM, merge to main(v0.6.0)


Jobs Not working

Please help: https://pastebin.com/adzsh3j5

https://github.com/Zrips/Jobs/issues/1115

This is not a duplicate of 1115. I am using MySql. Before I used sqlite an everything worked fine. Now I am using MySql over bungeecord and have this issue

Doesn't matter, the link in the linked issue contains the fixed mysql data truncation.

Okay and how am I going to use this?

https://github.com/mrfdev/Jobs/blob/main/Resources/FAQ/Jobs-jar-files.md#the-different-jobs-jar-files

Okay thanks! Should I use Discord or Github version? Which one is mostly stable

both


python3Packages.cirq: fix test failures (ZHF)

Motivation for this change
Hydra build was failing on python3[7,8]Packages.cirq. https://hydra.nixos.org/build/116363009
ZHF: #80379
Things done

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

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

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

@GrahamcOfBorg build python37Packages.cirq python38Packages.cirq

disabled a few aarch64 tests that were failing. Can see full log at ofborg #85412 attempt 1
@GrahamcOfBorg build python37Packages.cirq python38Packages.cirq


Middleware unable to construct its own libhoney client

It seems that at one point the initializer took a hash of options that could be used to construct an instance of Libhoney, but the initializer doesn't take this argument, so the fallback logic for creating a new libhoney client always fails:
https://github.com/honeycombio/faraday-honeycomb/blob/70917d213b0af57c6c2360ad19c3477b54f29130/lib/faraday/honeycomb/middleware.rb#L23-L24

This should be resolved in v1.0.0 of the beeline! Please let us know over https://github.com/honeycombio/beeline-ruby/issues if not


What is meaning of "Fully non-blocking" in Supported backends pages?

hi, i'm looking for Scala WebSocket Client which support Compression.
i think only backend that supports WebSocket Compression is  async-http-client and ok http.
by the way, i found there is "Fully non-blocking" keyword in below link.
https://sttp.softwaremill.com/en/latest/backends/summary.html

(see the blue square at the top-right corner)

Could you tell me meaning or URL that i can check or keyword which i can search for what is meaning of "Fully Non-Blocking"?
i thought okhttp/asnyc-http-client backend supports Non-Blocking I/O(Network), because they say they offer async api in their home page.

The OkHttp backends are blocking as they require that a streaming body be written synchronously via OkHttpRequestBody - so the stream is converted to an Iterable, with some blocking happening behind the scenes.
They might offer an async API, but still have a blocking implementation underneath.
AHC is fully non-blocking, except for saving responses as files, which happens synchronously (using blocking operations)

I don't know about compression & web sockets, but if you would find something out, please let us know!

thanks a lot.
for those who looking for websocket client with compression support.
akka-http : does not support yet.
okhttp, aync-http-client : supports
Java11 HttpClient : does not supports.

Thanks - maybe you could add a small section to https://sttp.softwaremill.com/en/latest/websockets.html with that information?


[Feature Request] pre-built Docker image support

Is there any plan to support pre-built docker image on dockerhub or github package?
I think It will be very helpful and become more accessible to a lot of people.

We'd be glad to support this! It's a great idea.
Won't be currently prioritizing it so if anyone is able to contribute this we'd welcome contributions. Else, will put it on the todo list.

An official lm-evaluation-harness Docker image would be great. I just found that BigScience hosts the following Docker image: https://github.com/orgs/bigcode-project/packages/container/package/evaluation-harness

+1

+1


GitEnv 2.0

GitEnv 2.0
UI

UI first vs. Code first
Save everything in JSON .gitenv.config.json
Main UI:

rows: env vars
cols: stages
https://docs.google.com/spreadsheets/d/1AjtubNn2Xq04-mDeDZr_VEL60Zto4bUdIq1e4NF2rjw/edit?usp=sharing

JS

make it still hackable via gitenv.config.js ?
Libary stacking vs Libary scope explosion

Tech Stack
https://github.com/t3-oss/create-t3-app

Here is a revised idea for the config and extension files:
// --- EnvConfig: gitenvs.config.json --- //

export type PointerOrValue =
  | {
      type: 'pointer'
      fileId: string
      stage: string
      key: string
    }
  | {
      type: 'value'
      value: string
      encrypted: boolean
    }

export type EnvVar = {
  // BASICS:
  fileId: string
  stage: string
  key: string

  // Just for DTO. All pointers resolved, funcs have been run & values are decrypted
  _value?: string
} & (
  | {
      type: 'func'
      func: {
        name: string
        params?: Record<string, PointerOrValue | PointerOrValue[]>
      }
    }
  | {
      type: 'content'
      content: PointerOrValue
    }
)

export type EnvFile = {
  fileId: string
  name: string
  path: string
  type:
    | 'dotenv'
    | 'typescript'
    // Can be used as a collection of variables. These variables can be reused in real files
    // `path` will be ignored.` TODO: Maybe we need better naming
    | 'variables'
    // Can be extended by extension file -> fileWriters
    | string
}

export type EnvStage = {
  name: string
  publicKey: string
  encryptedPrivateKey: string
}

export type EnvConfig = {
  version: 1
  envVars: EnvVar[]
  files: EnvFile[]
  stages: EnvStage[]
  // extensionsPath: string
}

// --- Extension File: gitenvs.extensions.js --- //

export type FuncContext<Params = Record<string, string | string[]>> = {
  params: Params
  currentEnvVar: EnvVar
}

export type Func<Input> = (options: {
  input: Input
  context: FuncContext
}) => Promise<string>

export type EnvFileWriter = (options: { TODO: any }) => Promise<string>

export type ExtensionFile = {
  funcs: {
    [funcName: string]: Func<any>
  }
  writers: {
    [writerName: string]: EnvFileWriter
  }
}

Some infos why the functions are designed how they are:

If you have a func you can't have a pointer or a value. But you get params that can contain multiple pointer or a value
With this configuration the following examples are possible

getIPAddr: Return the current IP address. Does not depend on params
getJWTSecretForHasura: Hasura needs the secret in a JSON with additional info. params would be:{
  "jwtSecret": [{"type": "pointer", "fileId"...}],
}

joinEnvVars: Gets a list of env files and joins them with a user defined symbol. Useful for something like: API_KEYS=[multiple_api_keys_comma_separated_that_are_used_in_other_env_vars_too]. params would be:{
  "envVarsToJoin": [{"type": "pointer", "fileId"...}],
  "separator": { "type": "value", "value": ",", "encrypted": false }
}

Nice thing about params for functions is that

it enables functions to access multiple EnvVars
we can keep track which EnvVars are used and display that in the UI. (Show an error if you want to delete an EnvVar that is pointed to somewhere else)
functions can have plain text or encrypted arguments


chore: Use homebrew podman instead of running in a container

It's looking like it's working https://github.com/gmpinder/testos/actions/runs/9037735076/job/24838169814

Did you test if this makes the build faster over a container?

Did you test if this makes the build faster over a container?

I'm running into some issues with it at the moment so I don't think it will be.

If it doesn't seem helpful, you don't have to work on it, and we can just close the PR for now.

If it doesn't seem helpful, you don't have to work on it, and we can just close the PR for now.

Yeah not too helpful especially cause it takes upwards of 3 minutes just to install podman.


SK_PQ_P0369T

Dump for support
MST2_EU_SK_PQ_P0369T.zip

Already supported in https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip
Next time post dumps in https://github.com/olli991/mib-std2-pq-zr-toolbox/issues/93


[AutoRelease] t2-communication-2022-08-13-84205(Do not merge)

https://github.com/Azure/sdk-release-request/issues/3087
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=2047
BuildTargetingString
azure-mgmt-communication
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/3087


Add kubearmor addon

Kubearmor - Cloud-native runtime security enforcement system for k8s
This PR includes kubearmor addon integration to microk8s
Kubearmor link: https://github.com/kubearmor/KubeArmor

Thanks for this PR @nyrahul and @webdevgopi
We will review it shortly. in the meantime, can you have a look at the CI linting issues? Thanks a lot!

@webdevgopi can you please rebase and get the PR in a single commit? Helps to keep the commit history clean. Thanks

Hey @nyrahul, thanks for the PR. Sure we will rebase and merge this.

Hi folks,
I apologize for making the commit history more cluttered.
The latest commit should address all the issues.

@webdevgopi, can you please check why lint and run tests are failing?

@webdevgopi @nyrahul, I have fixed the lint errors. Please make sure you fetch the last commit.

Thank you for addressing the comments @webdevgopi. The microk8s enable command is now failing with:
ubuntu@u1:~$ sudo microk8s enable kubearmor
Infer repository c for addon kubearmor
kubearmor/kubearmor-client info checking GitHub for latest tag
kubearmor/kubearmor-client info found version: 0.13.11 for v0.13.11/linux/amd64
kubearmor/kubearmor-client info installed /var/snap/microk8s/common/addons/c/addons/kubearmor/tmp/karmor
/var/snap/microk8s/common/plugins/karmor: line 10: /var/snap/microk8s/common/addons/core/addons/kubearmor/tmp/karmor: No such file or directory

@webdevgopi, I saw you made a commit. Does this fix the issue noted by @ktsakalozos above? Thanks

@webdevgopi, I saw you made a commit. Does this fix the issue noted by @ktsakalozos above? Thanks

I am sorry, the addon is still failing.

Hi everyone,
The tests are failing in strict mode. I have added a skip condition in strict mode testing.

Thank you for this work @webdevgopi @nyrahul. The addon will be available with the 1.28 release (mid August) and until then you can find it in the releases on latest/edge channel.
Every addon gets its own page in our documentation linked from [1]. I have prepared a basic landing page for you. Please have a look at it and let me know if you need to change it in any way.
Many thanks!
[1] https://microk8s.io/docs/addons
[2] https://discuss.kubernetes.io/t/addon-kubearmor/24862


Upgrade doc dependencies, including sphinx-rtd-theme 0.5.0

Upgrades:

sphinx-rtd-theme 0.5.0 gives us slightly nicer display, and helps with #1499 (there's built-in styles for deeper table-of-contents sidebars: #1512).
nbsphinx 0.7.1 includes the fix for https://github.com/spatialaudio/nbsphinx/issues/452, which affected all of the plots in demos
other upgrades are just nice-to-have without particular bug fixes in mind

Rendered: https://stellargraph--1722.org.readthedocs.build/en/1722/
Notable improvements:

nicer display of function parameter docs (etc.):

before: https://stellargraph.readthedocs.io/en/v1.1.0/api.html#stellargraph.StellarGraph.edges

after: https://stellargraph--1722.org.readthedocs.build/en/1722/api.html#stellargraph.StellarGraph.edges

glossary:

before: https://stellargraph.readthedocs.io/en/v1.1.0/glossary.html

after: https://stellargraph--1722.org.readthedocs.build/en/1722/glossary.html

scrolling of images in notebooks, in Safari:

before (hover over the history plot and scroll): https://stellargraph.readthedocs.io/en/v1.1.0/demos/embeddings/deep-graph-infomax-embeddings.html#Model-Creation-and-Training
after: https://stellargraph--1722.org.readthedocs.build/en/1722/demos/embeddings/deep-graph-infomax-embeddings.html#Model-Creation-and-Training

That's a good idea! I won't add it here, though, in the interests of getting this merged now.


Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified

Windows Version
Microsoft Windows [Version 10.0.22621.3737]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
Ubuntu-22.04
Other Software
No response
Repro Steps
run wsl  in powershell
Expected Behavior
It should work fine
Actual Behavior
Failed to attach disk 'C:\Program Files\WSL\system.vhd' to WSL2: The system cannot find the file specified.
Error code: Wsl/Service/CreateInstance/CreateVm/MountVhd/HCS/ERROR_FILE_NOT_FOUND
Diagnostic Logs
No response

Rolling back to version <IP_ADDRESS> fixed the issue for me


[DPE-2569] Double check that extensions are enabled/disabled

Issue
Indico charm still failing to bootstrap consistently using the new interface.
Solution
Double check that extensions are enabled in the internal lib.

Further investigation implies that the issue is not in Postgresql extensions. Closing the PR for the time being.


gitignore: tests/ -> test/

Oooh thanks! I'd been wondering why those were showing up in git status but didn't think enough about it.


refactor: clean up public API around Array.eraseIdx

Removes the public definitions Array.eraseIdxAux and Array.eraseIdxSzAux which were implementation details.

Motivation: Array.eraseIdxAux and Array.eraseIdxSzAux were clearly not intended to remain public, but simply making them private would make it inconvenient to unfold them when writing proofs in Std.

Adds documentation comments to the public Array.eraseIdx-related definitions which remain.
Removes Array.eraseIdx' which was just Array.feraseIdx wrapped in a subtype and adds Array.size_feraseIdx to prove the subtype property as a standalone theorem.

Co-Authored-By: Daniel Windham<EMAIL_ADDRESS>

BTW porting over the lemma from my std4 PR leanprover/std4#690 was pretty easy: https://github.com/Seppel3210/std4/commit/109c3ce97e182813a166c9b55418d9a599a01bb6
So this is definitely bug free :smile:
I also think this makes the API nicer


got this error when running flutter project

Error: MissingPluginException(No implementation found for method loadModel on channel tflite)

make sure you've set your model correctly. Recheck your assets if there's misspelled or the path is correct.

ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method loadModel on channel tflite
I'm also getting the same error message while running android build. Is there any particular setting we need to do in build.gradle file of android?

ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method loadModel on channel tflite
I'm also getting the same error message while running android build. Is there any particular setting we need to do in build.gradle file of android?

hi, did you found a solution for this error?

I made some updates and created my own version, which I applied to my app.
You can find the updated version here.

Thanks, I'll check it out!
On Thu, Sep 12, 2024, 5:58 PM Suman Kunwar @.***> wrote:

I made some updates and created my own version, which I applied to my app
https://www.dwaste.live/.
You can find the updated version here
https://github.com/sumn2u/flutter_tflite.
—
Reply to this email directly, view it on GitHub
https://github.com/shaqian/flutter_tflite/issues/286#issuecomment-2346539299,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHDUGGESIPPBBMESOUZKYWDZWGTZBAVCNFSM6AAAAAA6U25JBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBWGUZTSMRZHE
.
You are receiving this because you commented.Message ID:
@.***>


s_server does not support fragmented GET request with KeyUpdate in the middle

using 1980ce45d6bdd
When OpenSSL s_server receives the HTTP GET split over two records (with KeyUpdate in between), the connection hangs. The communication from client:

ApplicationData "GET"
KeyUpdate update_requested
ApplicationData " / HTTP/1.0\r\n"

Server replies with KeyUpdate and then connection hangs
reproducer
openssl req -x509 -newkey rsa -keyout localhost.key -out localhost.crt -subj /CN=localhost -nodes -batch
openssl s_server -key localhost.key -cert localhost.crt -www 2>server.err >server.out &
openssl_pid=$!
git clone https://github.com/tomato42/tlsfuzzer
pushd tlsfuzzer
# won't be needed after https://github.com/tomato42/tlsfuzzer/pull/501 is merged
git checkout key-update-handshake
git clone https://github.com/tomato42/tlslite-ng .tlslite-ng
pushd .tlslite-ng
# won't be needed after https://github.com/tomato42/tlslite-ng/pull/341 is merged
git checkout key-update-support
popd
ln -s .tlslite-ng/tlslite tlslite
git clone https://github.com/warner/python-ecdsa .python-ecdsa
ln -s .python-ecdsa/src/ecdsa ecdsa
PYTHONPATH=. python scripts/test-tls13-keyupdate.py "app data split, conversation with KeyUpdate msg"
popd
kill $openssl_pid

OpenSSL output
Using default temp DH parameters
ACCEPT

tlsfuzzer output
Error encountered while processing node <tlsfuzzer.expect.ExpectApplicationData object at 0x7f0250faad90> (child: <tlsfuzzer.messages.AlertGenerator object at 0x7f0250faadd0>) with last message being: None
Error while processing
Traceback (most recent call last):
  File "scripts/test-tls13-keyupdate.py", line 575, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 204, in run
    "Timeout when waiting for peer message")
AssertionError: Timeout when waiting for peer message

Test with KeyUpdate msg with different msg_type or fragmented msg.
Verify that server will correctly handle updating the keys
or refuse the connection with relevant Alert msg.
version: 1

Test end
successful: 0
failed: 1
  'app data split, conversation with KeyUpdate msg'

I am filing it as separate issue, as it looks to me like it's a problem of the HTTP implementation in s_server rather than a bug in handling KeyUpdate requests

@tomato42 is this still an issue on 3.3?

Yes, exact same behaviour with the 3.3.1 tag (db2ac4f6ebd8f3)

@tomato42 ok, thank you, I'm not quite sure how to handle this.  Its clearly a bug, but I'm not sure how robust s_server is meant to be for the use case you are providing.  Are you willing to investigate the root cause and provide a PR?  If so, I'll gladly assign this to you as a community issue.  If not, I'll move it to be considered for inclusion in a future minor release, but I'm not sure how much priority it will receive during our issue scheduling.  Given that its already 5 years old, the former may be the faster path forward.

the issue is that the server is assuming that every text line is in a single ApplicationData packet; so the fix would be to implement a "read line" API on top of the regular socket
it would be useful as example code of what to do, but it's not severe

ah, ok.  Cool.  I don't suppose you have interest in submitting a PR for that, do you?

definitely not a priority :)

ok, understood :)
I'll mark this as a community issue then, and hopefully someone  will get to it


Introduce DisposableViewStateObserver

As Mosby has a DisposableIntentObserver, I thought it would be great if there is also one for the ViewStateDisposable and ViewStateBehaviorSubject.
Let me know what do you think :)

thanks!


Rewritten MacosSwitch

This PR completely revamps the MacosSwitch widget. Previously, it provided a thin wrapper around the CupertinoSwitch, and the widget therefore did not conform to proper specification.

This PR also updates MacosColor to more closely match Color.
Additionally, this PR introduces the ControlSize enum. Some native components may have "mini", "small", "regular", and "large" sizes. MacosSwitch now makes use of this new enum to size itself properly.
Closes #406 and #386.
Pre-launch Checklist

[x] I have incremented the package version as appropriate and updated CHANGELOG.md with my changes
[x] I have added/updated relevant documentation
[x] I have run "optimize/organize imports" on all changed files
[x] I have addressed all analyzer warnings as best I could

@Adrian-Samoticha would you mind reviewing this for color accuracy (and in general), please?

It appears that the knob itself has an incorrect color in dark mode. It’s supposed to have a brightness of 202:

It appears to have a brightness of 207, instead:

Additionally, you may want to take a closer look at the shadows of the switch:

The knob itself has a shadow that is much sharper/less blurry in the native version than it is in the macos_ui version, while the “container” it is located in has an inner drop shadow that is missing from the macos_ui version (inner drop shadows are difficult to recreate in Flutter, though).

Weird - I'm showing 207 for the knob color.
Any thoughts on how to achieve the correct shadow?

Apparently, the knob is transparent. I ran the numbers and got this color in dark mode:
Color.fromRGBO(255, 255, 255, 0.721)

The color of the “container” should be
Color.fromRGBO(255, 255, 255, 0.102)

I’m not quite sure about the drop shadow. Perhaps BlurStyle.inner might help, but I can’t say for sure.
You see, the go-to approach for this was to add a light shadow with a negative spread radius to kind of “fake” the light in the middle of the container, but this doesn’t work very well for transparent widgets.

@Adrian-Samoticha given my general lack of bandwidth, I'm inclined to say let's merge this into dev and worry about the minor color inconsistencies later. Thoughts?

I’m still a little busy right now as well, so sure thing. We’ll worry about it when we get to worrying about the color accuracy of the other widgets as well.

I’m still a little busy right now as well, so sure thing. We’ll worry about it when we get to worrying about the color accuracy of the other widgets as well.

Cool. I'll call this ready for review, then.

Ah wait, I forgot to update the README

@Adrian-Samoticha re-requested review for updated readme


[BEAM-4231] Runner utility for coder instantiation

I also slipped in some doc comment fixes.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.

[x] Run ./gradlew build to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @tgroh

Is Jenkins down? That didn't seem to do anything.

Yeah looks like
On Fri, May 4, 2018 at 10:59 AM Ben Sidhom<EMAIL_ADDRESS>wrote:

Is Jenkins down? That didn't seem to do anything.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/5274#issuecomment-386685618, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAaPKiLpqthiR6cjxC3AS3wxHE-Gscfmks5tvJcYgaJpZM4Tx20o
.


Added CustomHighlighter class to highlighter.py

Type of changes

[ ] Bug fix
[x] New feature
[ ] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[ ] I've run the latest black with default args on new code.
[ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
New class that easily highlights words by passing a tuple of tuples as an argument.
Example:
“””
from rich.highlighter import CustomHighlighter
from rich.console import Console
highlights = (
("cat", "red"),
("dog", "blue"),
("friends", "purple")
)
highlighter = CustomHighlighter(highlights)
console = Console(highlighter=highlighter)
console.print("The cat and the dog were friends.")
“””

Closing, assumed stale.


Use mathfontdimen font feature in LuaTeX

Status
READY
Description
unicode-math sets \fontdimens to emulate either traditional TeX or XeTeX fonts. Since this functionality is  usefful n a more general context than just with unicode-math, it has been added to luaotfload directly. This changes unicode-math to make use of this new luaotfload functionality and therefore makes font loading faster, avoids caching issues, does not require to load fonts with weird scaling factors and simplifies the code.
The current code still loads the family 2/3 funts scaled by 0.9999/1.001 to avoid small changes to existing documents and keep compatibility with XeTeX.
Todo

[ ] Tests added to cover new/fixed functionality
[ ] Documentation added if necessary
[x] Code follows expl3 style guidelines

Minimal example demonstrating the new/fixed functionality
n/a (Only refactors existing functionality)

Excellent -- thanks very much for implementing this.


Don't ignore user input events

Currently timer events might interfere with the user input events. With this fix user events are not lost.

Trying to reconstruct the intention here -- I think the scenario in question is:

Timer event goes out
Player triggers input
The other end sends the update which corresponds to the timer event

The player input is ignored because "the server is busy" (there may not be an actual server, but that's what the input/update cycle represents). This is by design.
There's two problems with trying to resend the input this way:

The input may no longer be meaningful by the time it's handled. The timer update may close windows, request different input, or just change the game state so that the player doesn't want to do that command any more.
The timer update may not arrive in the next tick. It will in Quixe, where everything is running client-side, but with a RemGlk/GlkOte pair the response may be arbitrarily delayed. I think this patch would get into a hot loop (of defer_func()) until the update came back. Not fatal, but not ideal either.

Not sure what to say here. I guess it's a rare race condition. Or not rare, if a game frequently updates some timer on screen.

The input may no longer be meaningful by the time it's handled.

Won't the window or input IDs be no longer valid? In that case user would just get a warning - not a fatal error, right? Isn't that a better user experience than just ignoring the input forcing user to try again?

The timer update may not arrive in the next tick.

You mean there might be an infinite loop of us trying to send user input via defer_func while there's a constant updates from timer? For such a game without this patch it would would be unplayable, I think.

In that case user would just get a warning - not a fatal error, right?

It shouldn't be a fatal error, but I hate to make assumptions.

You mean there might be an infinite loop of us trying to send user input via defer_func while there's a constant updates from timer?

Say we send out the timer input event to a server as an RPC (an AJAX request, over a websocket, etc). Then we have to wait for a response, which will come in the form of a new glkote_update() call. It ought to come soon, but we're at the mercy of network or server lag.

I've been thinking of adding an event queue to my GlkOte, but aside from arrange events I haven't noticed there being an need for it yet. It could be different if there was a game that was doing massive amounts or calculations.

One case to consider is a rapid timer that usually does nothing. (E.g. you tick every second and watch for a clock time, or the contents of a file, or some other external input. Until the input happens, the timer event is a no-op.)
In that case, it is safe to re-post a user input with only the generation number changed. You wouldn't want to use defer_func(); you'd want to use a queue, like Dannii said. Probably limit it to a single user input at a time. So more of a single-item cache than a queue. (If the player enters multiple commands in the time it takes the server to respond to one, that's not going to end well.)
However, this might be a hard case to detect. It's great if the update object is { type: 'update', gen: N } with no other data -- then you know nothing has changed. But the spec doesn't require the update to be minimal. It might be { type: 'update', gen: N, content:[] }. Or it might redraw the status window with the same contents, for no visible change. I don't remember offhand how minimal Quixe and RemGlk are.


Remove Schema Parse Extractor Dependencies

Currently schema parse extractors have dependencies between eachother. In order to eliminate this, we've think we can:

Better define what the supported scalar types are. This will allow a single predicate to be called to see what supported scalar types there are (collection of supported types in parse package). Then we can have mappings to MsgPack types in Bind (throw if no map).

This will hopefully eliminate the deps between extractors.

This has been completed


Printer-friendly page

@jwelbs do you consider this an MVP requirement?

The answer is yes!

Tested out printing a list generated with test data and it looks good/clear to me.

@jwelbs do you think we need a print button?

Yes and I think it should say "Print List"

I have added a separate issue for this, #22
Closing this issue.


upload video to a password protected portfolio/album

Will it be possible to provide portfolio/album id while calling the function and upload the video into it? The portfolio/album is going to be password protected.

@meghana-thinkcreative  have you got any solution for this?


Providers return "null" for user

Bug report
Describe the bug
Signin with a provider redirects the user to the associated provider. Problem: because the user didn't accept to login with his provider's account, we can't get the user, and because the redirection is happening after
await client.auth.signIn({ provider: 'google' });

So the user still "null"
To Reproduce

Create a new project
Adds a provider on a click event
See the problem

Expected behavior
Do not make any redirection. The best is probably to open all redirection in another windows, and when the user signins using the provider, then after that making the redirection if needed.
System information

OS: Linux Deepin OS
Browser (if applies) Chrome
Version of supabase-js: ^1.18.1
Version of Node.js: v14.16.1

After some discuss with @phamhieu on the discord, here is the real problem: the signIn method with a provider still return an object { user, session, error }, which is wrong because it executes an redirection. Due to that redirection, we're not able to get that data.
You still have the possibility to get the data using client.auth.user() or client.auth.session() BUT during the Supabase's internal loading, both values gonna be null. To fix that, you can use
client.auth.onAuthStateChange((_, session) => {
	setUser(session.user) // Example with React's hooks, just reassign your logged user here
})

With my use-case, onAuthStateChange doesn't fire.
I believe it's because I use a popup window.  I can't let my main window redirect or reload because I need to preserve state (users can work offline, then login to save and continue working).
Consequently, I have a popup window handling Github auth, and inside the popup-window it redirects to /auth/success which displays a success screen before closing itself.  It used to also pass the session back to the main window, but that no longer works (it worked a week or two ago iirc).

moving this to the backend repo


global: centralise managing flask dependency

drop Python 2.7 support
update travis.yml

@slint did some functions signatures change in flask-iiif

Hm, yeah I changed current_iiif.cache to a cached_property instead of a staticmethod (but did a compatibility hack to allow calling it also)... I think I see what the issue is though, I'll make a fix and release flask-iiif v0.6.1. I'll bump it in this PR too so no worries :)


Is it possible to use COLBERTv2 as a retrieval Model?

Is it possible to use COLBERTv2 from fastembed library as a retrieval Model?
Because for RAG I'm getting better results with COLBERTv2 then with BAAI/bge-m3 model.

We are considering adding more retrieval methods to MemoRAG, including ColBERT, though we cannot guarantee a specific release timeline. In the meantime, you are welcome to customize MemoRAG by integrating your own implementation.


move the objects of VKITTI to a custom scene

Hi, I'm trying to insert a car which you trained on VKITTI to my own scene, but the result is a bit strange (like the following image). As you can see, the color of the car is too light. Do you have any suggestion about this? Thanks!

Yes this is a known issue of NeRF-based representation that point densities are not large enough. I would suggest using some constraints on the densities inside the obj bounding boxes to be either 1 or 0. You could also try with sdf-based representations.

Yes this is a known issue of NeRF-based representation that point densities are not large enough. I would suggest using some constraints on the densities inside the obj bounding boxes to be either 1 or 0. You could also try with sdf-based representations.

Thanks for your reply, and I will try it.

Btw, when do you plan to relaese the project of CarNeRF, since the rendered foregroud object is not good enough now and I'd like to try CarNeRF? Thanks!

Hi, I think the CarNeRF code will be available after the publish of the CarStudio project.

Hi, I think the CarNeRF code will be available after the publish of the CarStudio project.

OK, do you have a relatively specific plan, such as an approximate date? Thanks.

Hi, I think the CarNeRF code will be available after the publish of the CarStudio project.

OK, do you have a relatively specific plan, such as an approximate date? Thanks.

Please inquire the carstudio authors thx🤣


This exposes a chainguard_apko_build resource.

I played with this a bit in my dev environment and it works reasonably well:
resource "chainguard_apko_build" "build" {
  repo = chainguard_image_repo.static.id

  config = jsonencode({
    contents = {
      repositories = [
        "https://packages.wolfi.dev/os"
      ]
      keyring = [
        "https://packages.wolfi.dev/os/wolfi-signing.rsa.pub"
      ]
      packages = [
        "tzdata",
        "wolfi-baselayout",
        "ca-certificates-bundle",
      ]
    }
    accounts = {
      groups = [{
        groupname: "nonroot"
        gid: 65532
      }]
      users = [{
        username: "nonroot"
        uid: 65532
        gid: 65532
      }]
      run-as: 65532
    }
    archs: ["aarch64"]
  })
}

This endpoint is only accessible to Chainguardians.

Example of the error handling with @jonjohnsonjr jq typo demo:


Extract jnz-patch function

Signed-off-by: Dori Medini<EMAIL_ADDRESS>
Stack:

#1105
#1104
#1096 ⬅

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is

✓ Commit merged in pull request #1104


Click on an entry in a cell makes OC crash

No matter on what “link” you click in the table in the event overview: Peter Planner, Mock Series, etc. you get a blank screen and are not able to recover. You have to clear the cookies, to be able to reload the interface.

Not that anyone gets confused: #565 has nothing to do with this Issue here. I accidentally mentioned the wrong issue.

I cannot reproduce this error. When I click on a link, the corresponding filter will be set. The edit table view works too. Could you check if the error still exists?


Add failing test for #90

This is (hopefully) a failing test for #90

Thanks a lot!

Merged in and fixed. Will bump the version shortly!


Proposal Refactor Scroll To Top iOS (non-breaking)

Use case
Right now the ios feature scroll to top when statusbar tap is handled inside the Scaffold widget and it only works for the PrimaryScrollController created by it. While this works some times is causing problems #35050:

CupertinoTabBars that have a scrollview for each tab will contain the same scrollController so it will have multiple clients and therefore all tabviews will scroll to top every time.
Scaffold expands to fill the max constraints while some widgets(ios modal sheet, dialogs) would prefer to have scroll to top and not expanded.
Not implemented for CupertinoTabBar when tab on an item #62327
Nested Scaffolds #33484 #70165

Other Related issues:  #19732 #24777
Proposal
To Handle the scroll to top with Actions and Intents very similar to how ScrollInent is already implemented.
I made an example here: https://codepen.io/jamesblasco/pen/yLamaLa
The idea would be that the WidgetApp handles all the scroll to top from itself. All taps inside the ios statusbar would be handled from there and the Action would scroll the closer scrollview to the primaryFocus, similar to how the ScrollInent is handled for the keyboard arrows.
This way the "scroll to top"

won't depend on any widget (Scaffold or CupertinoPageScaffold and the missing ones)
will work for any scrollable
can be implemented for each CupertinoTabBar item.
works as default (like any ios app)
can be overridden to disable it in specific situations (eg Gmail app's drawer, Twitter app)

If this is considered I would be happy to help and create a design doc.

With this change it would also be easy to implement the behavior of the Home Keyboard key that scrolls to the top of the document.
https://en.wikipedia.org/wiki/Home_key

With this change it would also be easy to implement the behavior of the Home Keyboard key that scrolls to the top of the document.
https://en.wikipedia.org/wiki/Home_key

This looks like it has wider implications than just Cupertino.  @justinmc do you know who could take a look at this proposal and point @jamesblasco in the right direction to write the design doc or a PR?
\cc @xster

It should not, as the action would only be called when TargetPlatform is iOS, same as right now inside Scaffold.

Maybe @Piinks since you've been working on scrolling/scrollbars?
This makes sense to me at a high level.  I was aware that https://github.com/flutter/flutter/issues/35050 was a problem.

Hey there! I think this makes sense too!
The PrimaryScrollController used to be created by the Scaffold in order to support the status bar tap animation, but we recently moved it out of the Scaffold. The PrimaryScrollController is now created as one per route (https://github.com/flutter/flutter/pull/69795), this was part of how we made the ScrollIntents work with the PrimaryScrollController for keyboard scrolling. :)
Now that the controller is not in the Scaffold anymore, I think it makes sense to see if we can move the implementation of the animation out of there.

If this is considered I would be happy to help and create a design doc.

 Thank you! We use a template to create design docs, there are instructions here.

ios status bar scroll top not working in nested navigator. Is there any workaround for this?

Is this update still happening?
I have a use case where I need to maintain scroll to top in an app that has multiple 'pages' using bottom navigation and I've been pulling my hair out for a week trying to get it to work.
Holding out a candle of hope that this might be a solution..
Thank you!

Any updates or workarounds? I'm using the bottom nav bar with 5 tabs and pages with CustomScrollView in each.

Any updates or workarounds? I'm using the bottom nav bar with 5 tabs and pages with CustomScrollView in each.

Same here.  I don't think its appropriate to release an app without this core functionality, so I'm still looking for a workaround to this problem but can't find any.  If anyone does figure out something, please share!

Any updates or workarounds? I'm using the bottom nav bar with 5 tabs and pages with CustomScrollView in each.

Same here. I don't think its appropriate to release an app without this core functionality, so I'm still looking for a workaround to this problem but can't find any. If anyone does figure out something, please share!

Same thing for me. I've tried it all, somehowI can't get scroll to top to work.

Any updates? It's a core feature for iOS users.

FYI @MitchellGoodwin in case you hadn't seen this issue.


Add custom phrase from keyboard

We need to double check that the new/updated strings are updated by Crowdin when this is merged.
Description:
Adds the ability to save a phrase to a custom category from the main keyboard, rather than automatically adding it to My Sayings.  This essentially renders My Sayings obsolete, and that will be removed as part of a separate issue.  This also does not cover the empty state for this, which is a separate issue as well.
Closes #241

[ ] Acceptance Criteria satisfied
[ ] Regression Testing

I'm treating this as something of a first pass.  It has all the functionality, but I think there may be places where the logic is complex and may be able to be improved upon after a review.

Bug 1: Sept 3:
I did a fresh instsall of the app and ran it and found this:

Sept 3rd: Bug 2:

Launch the app
Tap on the Keyboard icon.
Tap on the Delete button

Expected: Nothing to happen
Actual: App crashes.
E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-2
Process: com.willowtree.vocable, PID: 17009
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.willowtree.vocable.room.CategoryWithPhrases.getPhrases()' on a null object reference
at com.willowtree.vocable.presets.PresetsRepository.getPhrasesForCategory(PresetsRepository.kt:24)
at com.willowtree.vocable.presets.PresetsRepository$getPhrasesForCategory$1.invokeSuspend(Unknown Source:12)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:740)
I/Process: Sending signal. PID: 17009 SIG: 9

Sept 3rd Bug 1:
Device: Pixel 2
Scenario:
1.) Hold the phone in Portrait View.
2.) Launch the app
3.) Add a New Category without phrases
4.) Navigate to the Home screen and select newly created category.
5.) Rotate the app
Expected:

Actual:

Question: PR Description notes Empty state is not covered in this PR, it is a separate issue.  The AC on 241 mentions Empty state to be displayed, does the AC need updating?  Is there.a ticket number for implementing empty state?

Sept 3rd Bug 2: App Crash:
Device: Pixel 2
Scenario:
1.) Launch the app
2.) Go to Settings and Create a new Custom Category
3.) Go back to the Home Screen and Select the newly created category
4.) Click on the Add Phrase button.
5.) Click on the Settings button.
6.) Navigate to the newly created custom Category
7.) Delete the category
8.) Tap on the back button.
9.) Tap on the "X" to close the Settings View.
10.) Tap on the "Comment bubble" icon to go back to the home screen
Expected: Home screen to be displayed.
Acutal: App Crashes.
E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1
Process: com.willowtree.vocable, PID: 19335
java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List com.willowtree.vocable.room.CategoryWithPhrases.getPhrases()' on a null object reference
at com.willowtree.vocable.presets.PresetsRepository.getPhrasesForCategory(PresetsRepository.kt:24)
at com.willowtree.vocable.presets.PresetsViewModel$onCategorySelected$1.invokeSuspend(PresetsViewModel.kt:40)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:740)
I/Process: Sending signal. PID: 19335 SIG: 9

Question: PR Description notes Empty state is not covered in this PR, it is a separate issue. The AC on 241 mentions Empty state to be displayed, does the AC need updating? Is there.a ticket number for implementing empty state?

Resolved: Keyboard - Add Phrase without Custom Category Empty State is implemented in commit: b836f87

Bug one pulled out into a new issue: #288


Wall placement not working on Scene-Viewer mode

Description
Is enable_vertical_placement too much experimental? I'm currently using this with some objects on an intent without the need of model-viewer, but I realized the same problems occurs if I'm opening through the AR button on a model-viewer element.
There's an example on my glitch page, but basically the following does not work:
<model-viewer
  src="https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb?1542147958948"
  ar
  ar-modes="scene-viewer"
  ar-placement="wall"
></model-viewer>

I know it's not model-viewer related, but i feel like it's the best place to ask for an issue about scene-viewer.
Live Demo

https://thirsty-befitting-trollius.glitch.me
https://glitch.com/edit/#!/thirsty-befitting-trollius

Version

model-viewer: v1.6.0

Browser Affected

[x] Chrome, version: 90.0.4430.66
[ ] Edge
[ ] Firefox
[ ] IE
[ ] Safari

OS

[x] Android
[ ] iOS
[ ] Linux
[ ] MacOS
[ ] Windows

AR

[ ] WebXR
[x] SceneViewer
[ ] QuickLook

@tpsiaki @AdrianAtGoogle FYI; this might be the same bug with finding the surface too quickly, but maybe there is something vertical-placement specific too?

I got the same issue on the same smartphone model for floor placement as well.

There's definitely an issue particular to Vertical placement in SceneViewer.
These tickets all appear to be related:
#2154 , #2255 , #2264
@AdrianAtGoogle confirms there will be a fix in 'the next release' of Google App (where SceneViewer resides, I think):
https://github.com/google/model-viewer/issues/2264#issuecomment-830242892
Not knowing when or which the next release is, I can confirm that as of May 3, I'm still seeing issues with vertical placement in SceneViewer.
The below glitch demos switching the same model from 'floor' to 'wall':
https://modelviewer-sceneviewer-arplacement.glitch.me/
Floor placement in SceneViewer, for me, is working fine 100% of the time.
Switching to Wall placement introduces a range of different results. Sometimes it works fine, as intended, and the object is placed on the wall. Sometimes SceneViewer starts and immediately crashes out. Sometimes SceneViewer hangs on the animated hand icon and Google App is non responsive. Sometimes SceneViewer throws an error and says 'Object could not be loaded'. All these outcomes happen when viewing the exact same model in the exact same space.
I'm seeing this with:

Chrome: 90.0.4430.91
Google App: <IP_ADDRESS>.arm64
Android: 11
On May 3

@AdrianAtGoogle - please may you confirm which Google app release number you think this has / will be addressed in. Much appreciated.

It seems there are a few failures mentioned across those tickets; as I understand it they are (at least):

vertical placement issue, cause unknown
early placement -> no model
early placement -> crash

Where "early placement" means getting an AR anchor before the model is loaded (i.e. the waving hand disappears before the spinner does) - issues 2 and 3 generally only happen when sceneviewer is launched directly into AR with mode=ar_preferred or ar_only.
Issue 2 was the one that I posted about last week.  A NaN was sneaking through, causing the model to get placed with an invalid transform.  This week's release of the Google app for android should have the fix.
Issue 3 seems to only happen on certain devices, and only on android 11.  It is a crash in ARCore that has been fixed at tip and will be in the next ARCore release (which is in progress, TBD unknown).
Issue 1 I know nothing about yet, except that it isn't directly related to 2 or 3.

Thanks for the comprehensive update @AdrianAtGoogle. That's good to know.

Added a fix for issue with Vertical Placement in Scene Viewer which should be out in the next release. However, found a couple issue that might produce similar behavior not specifically vertical-placement issues though.

Added a fix for issue with Vertical Placement in Scene Viewer which should be out in the next release.

Awesome. Thanks @timmmeh. Will keep a look out for it.

Retesting with Google App v <IP_ADDRESS>.arm64.
Vertical placement is still an issue.
But, judging by the timing of things, I'm guessing that your above fix, @timmmeh, might not have been in this release but will be in the next.
I'll keep watching... 👀  👍

Ok I have another patch going in for this, as I said it looked like couple of different issues here, wasn't sure which one was the most egregious so I focused on the vertical-placement first, but it turns out both issues would cause the same error but for different reasons.

Retesting with Google app v <IP_ADDRESS>.arm64
Vertical placement looks fixed! ✅
I can now go into SceneViewer from ar_only , ar_preferred , or 3d_preferred (and then open in AR). No crashes. The model loads and can be placed in the scene.
It looks like, for vertical placement, SceneViewer is now only using the floor-placement with t-bar controls (not sure what else to call them)? The t-bar controls are super helpful for instances where walls have no detail to track to. But on detailed walls, it looks like it's not attempting to place on the vertical plane. I thought it used to, and only fall back to t-bar mode if it couldn't find enough detail in the vertical plane?
That said, once placed on a detailed wall, I can move right into it, without keeping the floor in view, and it keeps tracking to the detailed vertical plane. So that's cool.
Thanks for the fix!

Public Service Announcement: It looks like yet another bug is currently rolling out in Scene Viewer that is causing wall-placement sessions to crash at 100%. It's already been fixed, but that'll take time to roll out as well, so there's probably 1-2 weeks of broken wall placement. I'm as frustrated as you are! Again, I'd highly encourage switching to WebXR mode to avoid this and future issues.

Does anyone know if this should be resolved? I can load the wall placement object but the UI asks me to place it on the floor even though the placement is set to 'wall'

Hmm, I'm not seeing that behavior; it gives wall-specific directions for me in SceneViewer mode. Can you show a screen recording? And note your Chrome and Play Services for AR versions.

Also, if that repros, please put that info in a new issue, since it's separate from this one, which is now fixed since the rollout completed.


Using a custom font (source code pro) disables syntax highlighting of C++

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Latest Insiders
OS Version: Mac OS 12

Steps to Reproduce:

Install Source Code Pro font
Change font using GUI to "Source Code Pro"

/duplicate of #106583


Delete Warehouse Native Data Flow.png

🚀 Deployed on https://65b2e37143f2df47adf5279d--cozy-fox-0defec.netlify.app


1.7 maintenance branch must provide Java EE API based version only

https://github.com/jbossas/jboss-invocation/issues/39


Panic when rad recipe list -e env-name called

Bug information
Steps to reproduce (required)

Run rad deploy on the attached Bicep file.
Run rad recipe list -e test-env.
See the panic.

 Happening because of this line: https://github.com/radius-project/radius/blob/main/pkg/cli/cmd/recipe/list/list.go#L139. We should check if plainHTTP is not nil.

Desired behavior (required)
No panic.
Workaround (optional)
System information
rad Version (required)
RELEASE   VERSION   BICEP     COMMIT
0.28.0    v0.28.0   0.28.0    c7217b6f661a790053c1b65ff7972a0c5be33908
Operating system (required)
MacOS, Apple Chip, Sonoma 14.2
Additional context
tutorial-environment.bicep.txt
AB#10780

Not reproducible anymore. Probably a version mismatch.


Notebook travelling salesman not showing

The notebook traveling salesman is not showing anything.

Issue solved. folium package add to requirements and it solved the problem


integration_test: How to run a second test?

Description
This sounds maybe a little weird, but how do I run a second integration test? I searched for hours on the web, but didn't find any examples...
The flutter docs shows us only how to run one test:
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';

import 'package:integration_test_example/main.dart' as app;

void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  group('end-to-end test', () {
    testWidgets('tap on the floating action button; verify counter',
        (WidgetTester tester) async {
      app.main();
      await tester.pumpAndSettle();

      final Finder fab = find.byTooltip('Increment');

      await tester.tap(fab);
      await tester.pumpAndSettle();

      expect(find.text('1'), findsOneWidget);
    });
  });
}

What I already tried
I used as the code the normal flutter create project.
Calling app.main() in the first test ❌
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:integration_test_problem/main.dart';
import '../lib/main.dart' as app;

void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  testWidgets('first test', (tester) async {
    app.main(); // Here I call the main method
    await tester.pumpAndSettle();
    await tester.pump();

    expect(find.text('0'), findsOneWidget);
    expect(find.text('1'), findsNothing);
  });

  testWidgets('second test', (tester) async {
    await tester.tap(find.byIcon(Icons.add));
    await tester.pump();

    expect(find.text('0'), findsNothing);
    expect(find.text('1'), findsOneWidget);
  });
}

This throws:
I/flutter (20921): (The following exception is now available via WidgetTester.takeException:)
I/flutter (20921): ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
I/flutter (20921): The following assertion was thrown running a test:
I/flutter (20921): The finder "zero widgets with icon "IconData(U+0E047)" (ignoring offstage widgets)" (used in a call
I/flutter (20921): to "tap()") could not find any matching widgets.

Calling app.main() in every test ❌
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:integration_test_problem/main.dart';
import '../lib/main.dart' as app;

void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  testWidgets('first test', (tester) async {
    app.main(); // Here I call the main method for the first time
    await tester.pumpAndSettle();
    await tester.pump();

    expect(find.text('0'), findsOneWidget);
    expect(find.text('1'), findsNothing);
  });

  testWidgets('second test', (tester) async {
    app.main(); // Here I call the main method for the second time
    await tester.tap(find.byIcon(Icons.add));
    await tester.pump();

    expect(find.text('0'), findsNothing);
    expect(find.text('1'), findsOneWidget);
  });
}

This throws:
I/flutter (20921): (The following exception is now available via WidgetTester.takeException:)
I/flutter (20921): ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
I/flutter (20921): The following assertion was thrown running a test:
I/flutter (20921): The finder "zero widgets with icon "IconData(U+0E047)" (ignoring offstage widgets)" (used in a call
I/flutter (20921): to "tap()") could not find any matching widgets.

Calling app.main() at the beginning ❌
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:integration_test_problem/main.dart';
import '../lib/main.dart' as app;

void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();
  app.main();

  testWidgets('first test', (tester) async {
    await tester.pumpAndSettle();
    await tester.pump();

    expect(find.text('0'), findsOneWidget);
    expect(find.text('1'), findsNothing);
  });

  testWidgets('second test', (tester) async {
    await tester.tap(find.byIcon(Icons.add));
    await tester.pump();

    expect(find.text('0'), findsNothing);
    expect(find.text('1'), findsOneWidget);
  });
}

This throws:
I/flutter (21244): (The following exception is now available via WidgetTester.takeException:)
I/flutter (21244): ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
I/flutter (21244): The following TestFailure object was thrown running a test:
I/flutter (21244):   Expected: exactly one matching node in the widget tree
I/flutter (21244):   Actual: _TextFinder:<zero widgets with text "0" (ignoring offstage widgets)>
I/flutter (21244):    Which: means none were found but one was expected

Using tester.pumpWidget(MyApp()) ✅
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:integration_test_problem/main.dart';
import '../lib/main.dart' as app;

void main() {
  IntegrationTestWidgetsFlutterBinding.ensureInitialized();

  testWidgets('first test', (tester) async {
    await tester.pumpWidget(MyApp()); // using  pumpWidget
    await tester.pumpAndSettle();
    await tester.pump();

    expect(find.text('0'), findsOneWidget);
    expect(find.text('1'), findsNothing);
  });

  testWidgets('second test', (tester) async {
    await tester.pumpWidget(MyApp()); // using  pumpWidget
    await tester.tap(find.byIcon(Icons.add));
    await tester.pump();

    expect(find.text('0'), findsNothing);
    expect(find.text('1'), findsOneWidget);
  });
}

So is tester.pumpWidget() the way to go? I found no examples or docs, where pumpWidget() is used.
Flutter version
Flutter 2.2.2-0.0.pre.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f90034a85c (11 days ago) • 2021-06-20 18:20:50 +0200
Engine • revision 91c9fc8fe0
Tools • Dart 2.13.3

Thanks @nilsreichardt for the detailed report. Did you try to use all your tests inside group and then run to see if it works that way ?
If not, usually pumpWidget() calls the runApp() method which essentially renders the entire app with it and since you are calling it inside every test, it makes sure the test has all the widgets settled already before test execution.
Having said that, your finding is a good point to have for plugin's documentation.

Did you try to use all your tests inside group and then run to see if it works that way ?

This changes nothing, identically exceptions.
But I found out, that calling app.main() calling for every test also works. I had an issue in my in ticket description of the case "Calling app.main() in every test ❌". In the second test, I didn't call tester.pumpAndSettle(). Calling app.main() twice with tester.pumpAndSettle() works ✅
But when I use these methods (pumpWidget(MyApp() and app.main()) in every test, I always lose the state of the app. This is a behavior, what is completely correct and expected. But in my case would also an option for sharing a state very helpful, like you did it with Flutter Driver. Because otherwise I need also to run the login methods for every single test. So the goal is to run a first test where I authenticate the user and after that I can start another test, but the app is the position as it ended in the first test.
In overall, I think there are missing docs about running two tests.

Generally tests should assume a clean slate, and in fact testWidgets pumps a placeholder app to clear the widget tree before running your test body. If your tests depend on each other, changing the ordering of tests / sharding may cause tests to fail which is undesirable. I'd recommend extracting out repeated logic such as the login methods into a setUp block that will be executed before every test in the related group.

@jiahaog Yes, I read up on it and realized that this is something you don't really want to do 😅

Thanks, I'll close this then 🙂


Feature request: support for remote-ftp

Hi, great package!
Would it be possible to trigger a file-upload of the compiled file when compileOnSave is true?
I'm sure I'm not the only one using remote-ftp
Keep up the good work

yea im using it too
but it compiles only for local project and you have to upload the css by yourself
please support

Closing this old old issue.
Workaround would be using the .ftpconfig watch option which uploads changed files


Web compatibility low hanging fruit

In this change:

Create webStorageExplorerLauncher so we can “Open In Storage Explorer” when in web
Remove !isWeb condition from “Open In Storage Explorer” command registrations
In other IStorageExplorerLauncher classes, switch to using openUrl from @microsoft/vscode-azext-utils, and by doing so, remove dependency on the open package, which is incompatible with web
Make loading of various icon paths web compatible
Enable using OAuth credentials for data plane operations when in web
Add !isWeb condition to command registrations for all commands which generate SAS URLs/credentials

Remaining work/high hanging fruit includes:

Send to CTI for testing, and fix undiscovered low hanging fruit (especially related to attaching/attached acounts which I have not spent any time testing)
Figure out why mounting contains/shares in vscode.dev is not working
Create web compatible upload/download code

Closing due to another preferred solution to web compatiability.


update morpheus-external-latest-r.min.js

Use the latest version (built from cmap/morpheus.js) of morpheus-external-latest-r.min.js  to replace the old version in the repo.
This fixes the error about "Cannot find the variable Slick..." when Filter is used.

Thanks for the pull request. I updated the code in the repo.


Add wallet version to key generate output

Close #380

@MuthuVega you might want to add this verification to your tests.


Add a flag for, or remove, the increment output.

Description
soca applications producing an increment generate incr.X.nc files. This results in a lot of disk space being used for files i'm not using, especially for ensemble applications. enspert/letkf for the 40 member 1 degree MOM6 generates ~30GB of these files for a single cycle
Solution

add flag to enable/disable increment output
or rip it out completely

I use these files. Flag sounds good.

See oops pr #955

@travissluka , I just played with @fabiolrdiniz 's write increment feature from  oops #955. I'll push that work tonight or tomorrow am.


SYNTHETIC DATASETS

Thanks a lot for your work! Will you release the synthetic datasets you used in the paper

Hello, the synthesized datasets consist of foreground masks and background document images. I will publish the synthesis code for watermark masks and the mask images for the seals. As for the background document images, they are partly in-house documents and will not be made public. You can collect document images without watermarks and seals from the publicly available document datasets and create your own dataset using transparency fusion (which is also our synthesis method).

Upload Already


[Bug]: Error 404 when loading the .wasm

What happened?
I have a Vite project, with the web-ifc.wasm on my public folder
And I keep having the following error:

GET http://localhost:3000/project/web-ifc.wasm 404 (Not Found)

The web-ifc.wasm is located under /public folder.

I have already tried to change the wasm path, but doesn't seem to have affected anything, the issue remains same.
    const loader = new IFCLoader();
    loader.ifcManager.setWasmPath("./web-ifc.wasm");

Many thanks for the help!!
Version
latest
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response
Anything else?
No response

Hey @lucas-vitrus!
It seems you're using web-ifc-three. That library is deprecated and is hard to find support for it as the efforts are put in openbim-components (this repository). The best I can tell you is to:

Upgrade to components in order to get the latest and more up to date project.
If you really need to stick with web-ifc-three, you can get the outdated docs from https://github.com/IFCjs/info.
Try to find help in https://people.thatopen.com (our free community); but its hard as most people have already migrated to components.

Thanks a lot! I'm closing the issue.


Tools build failed for incorrect Makefile.

Build failed for missing appending $(CPPFLAGS) to CXXFLAGS variable in toos/rpc_*/Makefile, e.g. here

@applee  fixed, thanks for reporting


How to use attributes such as breakpoints and spacebetween ?

Hello in my nuxt 2 project I used swiper with swiper options in data such as:
swiperOption: {
          slidesPerView: 3,
          spaceBetween: 30,
          pagination: {
            el: '.swiper-pagination',
            clickable: true
          },
          breakpoints: {
            1024: {
              slidesPerView: 3,
              spaceBetween: 10
            },
            768: {
              slidesPerView: 2,
              spaceBetween: 10
            },
            640: {
              slidesPerView: 1,
              spaceBetween: 10
            },
            320: {
              slidesPerView: 1,
              spaceBetween: 10
            }
          }
      }

Now I want my project to be Nuxt 3 and I use this module to make swiper work. However the things that I used before such as breakpoints and spacebetween, I can't use them anymore. Am I missing something or is there a way to use them in Nuxt 3 too ?
Like this isnt working:
<Swiper
      :modules="[SwiperAutoplay, SwiperEffectCreative, SwiperPagination, SwiperThumbs]"
      :slides-per-view="2"
      :loop="true"
      :space-between="20"
      :pagination="{
        clickable: true,
      }"
      :effect="'creative'"
      :autoplay="{
        delay: 2000,
        disableOnInteraction: true,
      }"
      :creative-effect="{
        prev: {
          shadow: false,
          translate: ['-20%', 0, -1],
        },
        next: {
          translate: ['100%', 0, 0],
        },
      }"
... rest of the code
/>

@omeersari  Can you provide a simple stackblitz reproduction? I'll take a look for you.

@cpreston321 https://stackblitz.com/edit/nuxt-starter-5l17f5?file=app.vue
here, space between works actually but couldn't breakpoints work

@omeersari https://stackblitz.com/edit/nuxt-starter-9vuchk?file=app.vue
Couple things creative effect will have to be adjusted as it affected breakpoints and here is a somewhat working verison.


Add tmux to dev container

Description
Added tmux to the devcontainer. This allows a tmux terminal window to be created. In order to save the tmux configuration setup, I also added the following to ~/.tmux.conf
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'

# Initialize
run '~/.tmux/plugins/tpm/tpm'

This allows your pane contents to appear when you stop and restart the codespaces, but the bash history isn't there. I also tried adding the following to my .bashrc to get the history:
# Append history to a file in the persistent storage volume
export HISTFILE="$HOME/.bash_history"
# Ensure unlimited history size
export HISTSIZE=-1
export HISTFILESIZE=-1

And I tried some versions of what's described here.
Documenting in case someone else wants to try getting the history piece working - I'll probably come back to this at some other point in time if not. Note that normal bash history (non-tmux) seems to work
Checklist
General
Read the full guidelines for PRs here

[ ] Added the correct label: < feature | enhancement | bug | under-development | dependencies | infrastructure | ignore-for-release | database >
[ ] Assigned to a specific person, civiform/developers, or a more specific round-robin list
[ ] Added an additional reviewer from outside your organization as FYI (if the primary reviewer is in the same organization as you)

Issue(s) this completes
https://github.com/civiform/civiform/issues/6999

Approving but I filed https://github.com/civiform/civiform/issues/7412 to think about this more


How to set precision and scale for decimal data type

I'm submitting a...

[ ] Bug report
[ ] Feature request
[X] Question

Current behavior

I can't add precision and scale options to decimal data type. (it always use decimal(10,0))
Expected behavior

It should be able to specific precision and scale when i use below config:
price: { type: 'decimal', length: '16,4' },

db-migrate version: latest
plugins with versions: latest
db-migrate driver with versions: mysql latest
Additional information:

Node version: v11
Platform: Macos

Thank you very much for a nice job! 😄

Bump

If you use this it works.
{ type: "decimal(16,4)" }

yup {} seems to work 👍
but it's generating warnings

so I'm still confused, what would be the correct way to add precision/scale to a decimal ? 🤔

this has not been carried to every driver, but is certainly something that should.
https://github.com/db-migrate/mysql/blob/d2fdff16239c455a5ef02699a0cabf1cca5d4215/index.js#L78-L81
for MySQL you could use { type: 'decimal', precision: x, scale: x }, that would need to be added to the base driver to work everywhere though.


SAM-2467 EMI questions use a JSF dataTable that needs a List

EMI questions need the List instead of a Set

Tested this locally, looks good to me. Samigo was taken off as an iframe exception on Dec 23rd, so a few issues reported against this one incorrectly.


[Feature Request] What happened to FS3 (FileSystem)?

Is your feature request related to a problem? Please describe.
We're looking into migrating from Store4 into Store 5. What happened to FS3 (FileSystem)? We were using this regularly for a persistence solution. Is this planning to be added back or was this removed for a particular reason?
Describe the solution you'd like
Documentation on migration path (if FS3 was removed, why, and suggestions on what to replace it with).
If FS3 is going to be added back in, an ETA on that.
Describe alternatives you've considered
We're looking into having to reimplement FS3 on our own, but if it's planning on being added back in, we don't want to duplicate work.
Additional context
N/A

Hey there - Adding FileSystem sounds fine to me. Looking at its dependencies it shouldn't be a huge lift. Happy to put it on our roadmap as long as @digitalbuddha doesn't have any concerns

No concerns or compat issues. Source of truth API has not changed we just need to add the module again. Pardon the mess. I'll try to get to it early next week

@aclassen We need it for Android only. Has it been added into Store 5?


[feature] Support for type arguments for convenient factory functions

Hello there! I've stumbled on a potentially useful scenario.  It's actually already operational in KCL, but lacks syntax sugar and notion of that we are working with types. The bellow code implements a factory function:
schema Foo:
    foo: str = "foo"

schema Bar:
    bar: str = "bar"

factory = lambda $type: any -> Foo | Bar {
    func = $type
    print("typeof func: ", end='')
    print(func)
    print("---------------------")
    instance = func()
}
_foo = factory(Foo)
_bar = factory(Bar)
if typeof(_foo) == "Foo":
    foo = _foo as Foo

if typeof(_bar) == "Bar":
    bar = _bar as Foo

It works...) But not for everything, for example instances of types which have required attributes can not be created following the above approach.
Ideally to have a language feature to be able to do something like bellow:
factory = lambda $type: type -> Foo | Bar {
    $type { required = "foo" }
}

Along with this, it could make sense to have func type too...
What do you think of this @Peefy , could this be a good realistic idea? Thank you!

I agree.
If we need to have factory for any schema and required attributes. We may have the following form
type {**requied_attrs}

However, KCL currently check the schema type strictly. In the next version, I believe that you can impl the type factory and I will do some minor optimzed changes for KCL and show you the example later. 😃

I've opened a PR to impl this: https://github.com/kcl-lang/kcl/pull/1269
But I have not added the type type for the arguments and used a runtime type type assert statement to verify the argument type at runtime.

Thanks a lot Peefy! Very solid :+1:


Custom directive to Upload excel

Hello I created custom directive to upload excel file this is not working  , I asked about it in stackoverflow http://stackoverflow.com/questions/34520160/angularjs-issue-with-custom-directive-to-upload-excel but I had not  answers, could you review what is wrong, thanks.

Please don't cross-post your questions.

I'm so sorry, but I still have the issue, should I open another issue? or publish my code in this post?


Setup upstream usage

[ ] SciMLBase https://github.com/SciML/SciMLBase.jl/pull/183
[ ] LinearSolve https://github.com/SciML/LinearSolve.jl/pull/141
[ ] SparseDiffTools https://github.com/JuliaDiff/SparseDiffTools.jl/pull/189
[ ] DiffEqSensitivity https://github.com/SciML/DiffEqSensitivity.jl/pull/618
[ ] DiffEqBase https://github.com/SciML/DiffEqBase.jl/pull/768
[ ] OrdinaryDiffEq https://github.com/SciML/OrdinaryDiffEq.jl/pull/1683
[ ] StochasticDiffEq https://github.com/SciML/StochasticDiffEq.jl/pull/473

sorry for busy with other stuff. lets get this done now! :)

reminder to deprecate update_coefficients! in DiffEqBase

can we close this?


"Crâmpoia", "Buta" are listed in the drop-down menu

Description:
When user writes  "Crâmpoia" and "Buta" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 2
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Buta"
Expected results
The location appears in the drop-down menu as "Sat Buta, OLT (Crâmpoia)"


NMS.KK.OBD.000 The outbound-dialer module shall create a daily file of outgoing calls

4.3.1 TargetFile Notification API
NMS shall invoke this API to notify IVR platform when a target file is ready.

I assume you didn't mean for this to be auto-closed yet. :)

Ha, I wish...
Thanks.

I'm going to close this without updating the SRS spec.  We do have an API for this, and it isn't a req. that we create the file.  It is a req. that calls are placed.  The mechanism of communication between MOTECH and the IVR are an internal detail.

Waiting to hear how/if we specify which content to play for each call. Right now the spec says:
        /*
         * #7 ContentFileName
         *
         * Content file to be played
         */

But I'm not sure how to generate this from what we have in the database. @larubbio suggested we only put the weekId (and something identifying which message of the week) instead of a filename

Fixed by #246


adwaita-qt: dark theme for Qt applications doesn’t work on NixOS 20.09

It used to work before 20.09 on nixos-unstable channel.
Here https://github.com/unclechu/nixos-config/blob/41e8bc34a12d018f645cfabcd892cab381e583c1/configuration.nix#L144-L148 I’m setting Qt theme:
  qt5 = {
    enable = true;
    platformTheme = "gnome";
    style = "adwaita-dark";
  };

If I for instance run vlc I see this error message telling me that adwaita-dark is an incorrect style value:
VLC media player <IP_ADDRESS> Vetinari (revision <IP_ADDRESS>-0-g52483f3ca2)
[0000000000649610] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QApplication: invalid style override 'adwaita-dark' passed, ignoring it.
	Available styles: Windows, Fusion

Same story for other apps like smplayer, audacious and psi-plus.

Perhaps related to https://github.com/FedoraQt/adwaita-qt/issues/140 and issues with qt https://github.com/FedoraQt/adwaita-qt/issues/140#issuecomment-684251930

I believe this is probably related to the fact that we now use Qt 5.12 on 20.09 because that has a support period lasting for the duration of the releases (while the version in unstable doesn't) I'm thinking this commit was in the qt version in unstable https://github.com/qt/qtbase/commit/7218665699e31ac8eebab17afd684d1a56d12ac3, but with the version of qt in 20.09 it doesn't have this patch. This is just a guess because all the versions mentioned in the bug reports https://bugreports.qt.io/browse/QTBUG-86362 https://bugreports.qt.io/browse/QTBUG-85469 make me think the version in 20.09 shouldn't have this issue.

cc @ttuegel ?

This sounds like the qgtk3 style plugin isn't being loaded. Could you try running with QT_DEBUG_PLUGINS=1 set in the environment?

@ttuegel Here is the log of vlc with that env var: vlc-qt-debug-plugins-log.txt

Same issue using builtin gtk3 platform theme: https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platformthemes/gtk3
This worked with Qt 5.14:
  environment.variables.QT_QPA_PLATFORMTHEME = "gtk3";
  environment.variables.QT_STYLE_OVERRIDE = "adwaita";
  services.xserver.windowManager.i3.extraPackages =
    options.services.xserver.windowManager.i3.extraPackages.default ++ [ pkgs.adwaita-qt ];

and broke with Qt 5.15:
QApplication: invalid style override 'adwaita' passed, ignoring it.
        Available styles: Windows, Fusion

Why do you need to set QT_STYLE_OVERRIDE at all? The QPA plugin (qgtk3 in this case) is supposed to use the current theme. QT_STYLE_OVERRIDE shouldn't be set to the GTK theme name anyway; that's used to force a particular built-in Qt style.

@ttuegel I personally didn’t set any QT-related variables and it did work before the update.

@ttuegel

Why do you need to set QT_STYLE_OVERRIDE at all? The QPA plugin (qgtk3 in this case) is supposed to use the current theme. QT_STYLE_OVERRIDE shouldn't be set to the GTK theme name anyway; that's used to force a particular built-in Qt style.

AFAIK both builtin qgtk3 and external qgnomeplatform don't read theme name from gtk configs. Though, qgnomeplatform is able to read theme name from dconf database. So that's why.
qt5.nix module passes gtk theme name via QT_STYLE_OVERRIDE too https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/config/qt5.nix#L99 and that worked well for Qt 5.14

By the way, here is how you fix it for Qt4 (not for Qt5):
https://github.com/unclechu/nixos-config/commit/107122278d75c2a21a1b7f519e8a384b3467f270
For instance keepassx uses Qt4.

According to this https://bugreports.qt.io/browse/QTBUG-85469 bug report it’s fixed in Qt 5.15.1 so maybe updating Qt version would be enough to fix this?

Are there any plans to update Qt version to 5.15.1 or higher soon?

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/infinite-recursion-on-nixos-rebuilt-related-to-lxqt/9551/9

Could anyone check if https://github.com/NixOS/nixpkgs/pull/101369 fixes this? (It will take quiet some time to rebuild your system on top of it).

@doronbehar It doesn’t seem it fixes anything for me:
nix-shell -E 'let pkgs=import (fetchTarball {url="https://github.com/NixOS/nixpkgs/archive/54f7498601dcfc884c42a6d29f15475e6e1a802b.tar.gz";}) {}; in pkgs.mkShell {buildInputs = [pkgs.vlc];}' --run vlc

VLC media player <IP_ADDRESS> Vetinari (revision <IP_ADDRESS>-0-g52483f3ca2)
[0000000000fba610] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
QApplication: invalid style override 'adwaita-dark' passed, ignoring it.
	Available styles: Windows, Fusion
[0000000001047380] main playlist: playlist is empty
QObject::~QObject: Timers cannot be stopped from another thread

@unclechu
vlc is still built with 5.14
I suppose these will fix the problem
diff --git a/pkgs/development/libraries/qt-5/5.15/default.nix b/pkgs/development/libraries/qt-5/5.15/default.nix
index 1a90c610a5b..0e3bc2ae5cd 100644
--- a/pkgs/development/libraries/qt-5/5.15/default.nix
+++ b/pkgs/development/libraries/qt-5/5.15/default.nix
@@ -66,6 +66,11 @@ let
         ./qtbase.patch.d/0009-qtbase-qtpluginpath.patch
         ./qtbase.patch.d/0010-qtbase-assert.patch
         ./qtbase.patch.d/0011-fix-header_module.patch
+        (fetchpatch {
+          url = "https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=patch;h=7218665699e31ac8eebab17afd684d1a56d12ac3";
+          name = "Ensure-styles-always-get-to-polish-the-application-palette";
+          sha256 = "1nwpds9rd7sfx7mw79d2vk3xynnqijn36mgvi7c8kyss1hp7g6iz";
+        })
       ];
     qtdeclarative = [ ./qtdeclarative.patch ];
     qtscript = [ ./qtscript.patch ];
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 1b04ab9e25b..f02bb999ae2 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -18799,7 +18799,13 @@ in

   adementary-theme = callPackage ../data/themes/adementary { };

-  adwaita-qt = libsForQt5.callPackage ../data/themes/adwaita-qt { };
+  adwaita-qt = symlinkJoin {
+    name = "adwaita-qt";
+    paths = [
+      (libsForQt5.callPackage ../data/themes/adwaita-qt { })
+      (libsForQt514.callPackage ../data/themes/adwaita-qt { })
+    ];
+  };

   agave = callPackage ../data/fonts/agave { };

@gnidorah Any ideas how to apply patch for a derivation made by fetchTarball?

@gnidorah Any ideas how to apply patch for a derivation made by fetchTarball?

I don't think you'd like to merge such a change to your nixpkgs fork or whatever - it will trigger rebuilds of a lot of other packages.

vlc is still built with 5.14
I suppose this should resolve issue for both Qt 5.14 and Qt 5.15 programs

That qt5.15.0 patch is worth trying, but please consider https://github.com/NixOS/nixpkgs/pull/102216 .
OTH, the adwaita-qt patch is not a proper patch IMO. adwaita-qt should be libsForQt5.adwaita and libsForQt514.adwaita etc. Then, in the nixos module it should put both adwaita builds in the system path.

@gnidorah Any ideas how to apply patch for a derivation made by fetchTarball?

I don't think you'd like to merge such a change to your nixpkgs fork or whatever - it will trigger rebuilds of a lot of other packages.

vlc is still built with 5.14
I suppose this should resolve issue for both Qt 5.14 and Qt 5.15 programs

That qt5.15.0 patch is worth trying, but please consider #102216 .

Yes, its ok to wait for  #102216 landed

OTH, the adwaita-qt patch is not a proper patch IMO. adwaita-qt should be libsForQt5.adwaita and libsForQt514.adwaita etc. Then, in the nixos module it should put both adwaita builds in the system path.

Yes, you're right. Same applies to other themes that provide lib/qt-5.*/plugins/styles/*.so like qtcurve

Proposed fix: https://github.com/NixOS/nixpkgs/pull/102594

Now in the nixos-20.09 release branch vlc, smplayer, audacious, audacity are all using dark theme now.
But only psi-plus for me is still not using dark theme. I’m not sure why but #102594 somehow fixes it.

Now in the nixos-20.09 release branch vlc, smplayer, audacious, audacity are all using dark theme now.
But only psi-plus for me is still not using dark theme. I’m not sure why but #102594 somehow fixes it.

psi-plus is also fixed now since NixOS 21.05 release. vlc, smplayer, audacious, and audacity, all now are using dark theme. I don’t see any application now that still have this issue. Closing this one.


Introduce BBE for OAuth2 inbound authentication

Purpose
This PR introduces a BBE for OAuth2 inbound authentication.
Additionally, this updates the description of the BBE related to JWT inbound auth.
Fixes #19765
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20447 into release-stage will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           release-stage   #20447   +/-   ##
==============================================
  Coverage          19.79%   19.79%
==============================================
  Files                 55       55
  Lines               1470     1470
  Branches             227      227
==============================================
  Hits                 291      291
  Misses              1163     1163
  Partials              16       16

Continue to review full report at Codecov.

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


Add a lonely node to upgrade-disruptive-ha

We attempt to build and use a lonely node during the disruptive HA job,
but we don't set a number of lonely nodes we require.

This is for 6 to 7.

Please don't spread usage of the term "lonely node", it's horribly cryptic and misleading.  Any references to it in the source should be replaced with something else.


pushing should stop at the top of the screen, and should not roll off the screen

There are two related issues to pushing.
As soon as panels are going to start to appear in the top visible row the game abruptly ends.
If you are manually pushing panels at the top row they will right off the screen like a run away train.

@Neweegee Can you confirm this is fixed?
I have added a QA state and the idea is that things aren't done unless someone else confirms they are done.


Add get_config method

Supports all retrive options, where 'candidate' is the Napalm candidate.
Either gets the boot config as 'startup' or output from 'show' in edit mode for 'running'
Supports sanitized only for 'running'. Outputs the 'show' in op mode.

Sorry for all teh commits, but I don't have a test environment setup here


Shutdown hook

https://github.com/anchan828/nest-redlock/blob/571d91242aea65514d45a05884c162f87987f8b4/packages/redlock/src/redlock.module.ts#L16C1-L34C3
OnModuleDestroy kills the redis clients early, which means any locked resources still running/being processed (like queue messages) will throw The operation was unable to achieve a quorum during its retry window. error.
Changing the code above to use OnApplicationShutdown hook would prevent these kind of issues.

Hi @DimTheo, Thanks for the suggestion. Your suggestion makes sense.
This was changed by this PR and a new version was released. Please try it out.
<EMAIL_ADDRESS>

If you have any problems, please create another issue.


feat(bridge-history): generate withdraw proofs by bundle

Purpose or design rationale of this PR
This PR adds generating withdraw proofs by bundle logic, and it's backward compatible.
Notes:
It keeps commit/revert batches to maintain block range of the batch, because in FinalizeBatch event, there isn't a block range.
Only updating batch's status as finalized when listening to the FinalizeBatch event (when "finalize by bundle", only each bundle's last batch will be updated as finalized), so that bridge-history-backend can track the block range to update regardless "finalize by batch" or "finalize by bundle".
This PR is compatible with both "finalize by batch" and "finalize by bundle" modes:

In "finalize by batch" mode, each batch emits a FinalizedBatch event.
In "finalize by bundle" mode, all batches in the bundle emit only one FinalizedBatch event, using the last batch's index and hash.

For withdraw proof generation:

finalize by batch: Generates proofs for each batch.
finalize by bundle: Generates proofs for the entire bundle at once.

For batch index updating:

finalize by batch: Updates the batch index for withdrawal messages in each processed batch.
finalize by bundle: Updates the batch index for all withdrawal messages in the bundle, using the index of the last batch in the bundle.

PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

[x] feat: A new feature

Deployment tag versioning
Has tag in common/version.go been updated or have you added bump-version label to this PR?

[x] Yes

Breaking change label
Does this PR have the breaking-change label?

[x] No, this PR is not a breaking change

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 53.53%. Comparing base (86aed8e) to head (d03ddbc).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1415   +/-   ##
========================================
  Coverage    53.53%   53.53%
========================================
  Files          155      155
  Lines        11655    11655
========================================
  Hits          6239     6239
  Misses        4930     4930
  Partials       486      486

Flag
Coverage Δ

bridge-history-api
72.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

change the target branch


Documentation: 404 Error when selecting "Annotations" under the Object Metadata heading towards the bottom of the Concepts page

This is a...

[x] Bug Report

Problem:
Documentation: 404 Error (dead link) when selecting "Annotations" under the Object Metadata heading towards the bottom of the Concepts page
Proposed Solution:
Update the link target to https://kubernetes.io/docs/user-guide/annotations/ from the existing https://kubernetes.io/docs/concepts/object-metadata/annotations/.
Page to Update:
https://kubernetes.io/docs/concepts/

@tedops Thanks for opening this issue.
Noting that the correct path for updating is now /docs/concepts/overview/working-with-objects/annotations/.


Panda CSS integration

For those of us who like atomic compiled styles like tailwind but don’t like crazy class names
https://panda-css.com/

@osdiab , added to 1.0 routemap. Great idea

i would like to work on it, if that's okay @aralroca

@anusikh feel free! any contribution will be very welcomed! This is the Tailwind integration package that maybe helps as reference for Panda CSS: https://github.com/brisa-build/brisa/blob/71a374d32b4a85046695bb51338cbd0cfdf9b20d/packages/brisa-tailwindcss/index.ts#L1-L26
For now the CSS integration has 3 fields:

name
transpileCSS
defaultCSS (content + applyDefaultWhenEvery)

However, it is an internal API that you can change to adapt it, what it does have to go hand in hand with Tailwind, so the integration will be applied for both.
Then, you will have to add the changes in the CLI to be able to do brisa add pandacss:
https://github.com/brisa-build/brisa/blob/71a374d32b4a85046695bb51338cbd0cfdf9b20d/packages/brisa/cli.test.ts#L1319-L1335
And this CLI is calling this file:
https://github.com/brisa-build/brisa/blob/71a374d32b4a85046695bb51338cbd0cfdf9b20d/packages/brisa/src/cli/integrations/tailwindcss/index.ts#L1-L68
Things to keep in mind:

Test everything, if you see that currently some flaky tests fail when running bun test don't worry, if that directly call bun test ./path/some.test.ts --watch and it will make it easier for you to work.
You will need to add documentation (/docs folder) and example (/examples folder).

If you have any questions, don't hesitate to ask and I'll be glad to give you a hand.

thanks for the valuable insight! i will be raising a PR shortly, may i know the target branch for the PR?
in the CONTRIBUTING.md file, it says the PR must be created against the canary branch

@anusikh It is put this way in CONTRIBUTING.md because we were going to rename the main branch to canary, now it is done, if you refresh the page, the main branch is now called canary.

is now available in 0.1.1-canary.2 prerelease. Later this week I will make the 0.1.1 release 💪🏽


Clown can break grapling hook

Be clown
Shoot grapling hook
You can no longer shoot from grapling hook

pretty confident it just needs the clumsyproof flag

It doesn't seem that I can reproduce this error. I have shot the grappling hook many times to make sure I triggered "clumsy" but I could reload and fire normally each time.


Adding OSM friendly imagery source for editing

As MapContrib is an alternative to more complex online editor like iD, would be good it propose the same accuracy when creating new POIs, by allowing the display of the most friendly high res imagery sources, that means Bing and the very recently available Digital Globe Premium and Standard Services imagery.

Do you want more choice or a way to add your own choice, or both ?
Do you have a list of imagery sources we can use in OSM ?
For example, you have IGN imagery, but only for France !!!

I did not see Mapbox satellite was already possible. But the accuracy is limited to z17.
So Bing and the very recently available Digital Globe Premium and Standard Services imagery would be the best standard options. You can see other possibilities (many over only a single country) in JOSM in its imagery menu.
The possibility to add manually a specific URL would be obviously good as well, but requires some code.

I don't know why JOSM has its own imagery management, but Potlatch and ID
get their imagery (and some open data basemaps) from this project:
http://osmlab.github.io/editor-imagery-index/
There is a json with all the metadata.
Also adding custom backgrounds (like is possible in umap) is quite
practical.

Great! Thank you for the info @joostschouppe ;)
@vinber, @severinmenard: What's the consensus? What sources do you want to integrate by default in MC?
Can you consider create a specific issue for the source addition interface?
Thank you all

@GuillaumeAmat what do you mean with "create a specific issue for the source addition interface"?
I see two possible separate issues:

allow custom backgrounds (map manager can paste the URL of a background map somewhere)
integrate a repository of background maps which are made available as background maps when the map is zoomed to the relevant area

@joostschouppe I meant that you could create an issue on the MapContrib Next repository for that feature: https://github.com/mapcontrib/mapcontrib.next/issues
And yes, I think the first one is the easiest way to fill the need ;)


Error in html writer when topologyLevel is null

Just need to check topologyLevel before running text!. Problem mainly when translating from FGDC.
See: https://github.com/adiwg/mdTranslator/blob/master/lib/adiwg/mdtranslator/writers/html/sections/html_vectorRepresentation.rb#L27
Since this seems to be an  on-going issue, I'm wondering if we shouldn't extend Builder::XmlMarkup with a textIf! method that checks for a null value before calling text!?

Example XML that fails

I reviewed all 80+ html writer modules and found a few more instances of writes not testing for nil values.  Most were required fields such as a keywordObject with no keyword, but set checks around these anyway.  The only exception is contactId.  contactId is used in creating hyperlinks within the html document thus a nil contactId is going to create problems beyond just a crashing text field.


Use JSON format from asm_differ

This PR what I'd call the bare minimum to switch from the asm_differ's HtmlFormatter to the JsonFormatter.
I'm not very familiar with JSX -- so please critique the style/conventions there.
I'll leave some comments inline on the sections that are particularly weird.

Fixed the style nits (and now yarn lint covers more formatting stuff)
Merged with Alex's PR from yesterday, #122, so now the Diff component is better abstracted/isolated.
Updated the asm_differ subrepo to pull in the recent PR, which let me clean up asm_diff_wrapper.py slightly.

Now supports the .data references (for jump tables)

and now yarn lint covers more formatting stuff

This was my change on main, correct? I don't see an eslint diff on this PR.

and now yarn lint covers more formatting stuff

This was my change on main, correct? I don't see an eslint diff on this PR.

Oh yeah - that was ambiguous. I meant to say: because of your change to main, there are now more automated warnings about formatting, therefore my code should have fewer formatting mistakes.

As per discussion in discord , I'm gonna go ahead and merge this and we can continue design discussion in #115 .