Bluetooth: controller: nRF5: Move HAL_RADIO_PDU_LEN_MAX into radio_nrf5

Move the define HAL_RADIO_PDU_LEN_MAX into radio_nrf5.h in
the HAL folders.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

Maybe I'm blind but what about https://github.com/zephyrproject-rtos/zephyr/blob/7162786f83f960d40bbb17716246e2dc0e0690e9/subsys/bluetooth/controller/ll_sw/nordic/lll/lll_conn.c#L343 how does this get access to HAL_RADIO_PDU_LEN_MAX if it's removed from radio_vendor_hal.h.

how does this get access to HAL_RADIO_PDU_LEN_MAX if it's removed from radio_vendor_hal.h.

Thank you for pointing out. Hmmm, its undefined. Updated the PR with a check for undefined macro.


Client failover

I have documented a client failover setup I have working with Route 53. The health endpoints just check to see if a connection is available at the minute, but we will want to make this more robust in the future.
As part of this work I needed to be able to explicitly configure the spec.hostname.hostname field on the Keycloak CR, so I have also added a commit detailing that.
Closes #446

Thank you for providing the scripts and the docs. I added one commit to make the Antora build complete by registering the module and moving the navigation file to a place where it is picked up.
If we need this module or if the content can be placed in an existing one, I leave it for @ryanemerson and @mhajas to decide.

Thanks for the additional commit @ahus1, I've combined this with my docs commit to cleanup the log.

If we need this module or if the content can be placed in an existing one, I leave it for @ryanemerson and @mhajas to decide.

My rationale for adding a new module was that the amount of resilience related content is only going to increase as we start to explore other areas, such as Aurora DB failover etc. So having a separate module would potentially make it easier for us to re-use this content for customer facing docs in the future.


Tabs are not visible on next or preview action

Hi, tnx for this great lib.
I have a problem with a tab visibility.
f.e. If you have lots of tabs and some of them are off screen, the next or prev button does not slide (show) to the current page (tab) and you have to manually scroll to it.
Kind regards

I have found a quick fix until you officially fix the bug.
Just replace the setCurrentStep() method in the TabsContainer class with this:
public void setCurrentStep(int newStepPosition) {
        int size = mStepTitles.size();
        for (int i = 0; i < size; i++) {
            StepTab childTab = (StepTab) mTabsInnerContainer.getChildAt(i);
            boolean done = i < newStepPosition;
            final boolean current = i == newStepPosition;
            childTab.updateState(done, current);

            HorizontalScrollView hv = (HorizontalScrollView) mTabsInnerContainer.getParent();
            if(current) {
                hv.smoothScrollTo(childTab.getLeft() - 20, 0);
            }
        }
    }

It works ok for me.

Thx for the feedback, we'll investigate :)

Fixed and published in v1.0.2

Tnx a lot :)


Problem on Horizontal scroll on new iPad 11 inch

Hello,
Thanks for this great calendar ! You did a great jobs.
I've only one issue, with last iOS SDK and only on new iPad 11 inch with 7 days in Horizontal (I test only on simulator).
You try to scroll to next week, it's ok. But when you trying to do it a second time, it makes a previous move instead of a next.
Very strange, thanks !

Hi,
I used iOS 12.1 and iPad 11 inch but I cannot reproduce this issue.
Could you send me a gif to show that? You can use Monosnap, it's easy and free.
Thanks,
Jeff


hypervisor installation

Hi,
I have couple of questions .
First, I'm installing hypervisor but after following commands ssh keyben t rsa ,there is no /home/VDI/.ssh . It has only /home/VDI with exampls file only.
In addition, there is no hyper_keys folder at directory /var
I wonder If you could help me. Thanks
[On dashboard server type:
su VDI
cd
ssh-keygen -t rsa
copy files from /home/VDI/.ssh to /var/hyper_keys folder]

ls -la /home/VDI
are still no .ssh folder there?

It has on command line but does not show on folder where i want to copy all files manually rather than via commands .
furthermore destination folder does not exit means /var/hyper_keys  .

You should read up more on Linux before trying to install KVM-VDI.

thanks for reply.I'm reading it thoroughly .
my question is why i can not see all files at /home directory. I know in command line that exit. secondly
there is no folder hyper_key at /var directory

mkdir -p /var/hyper_keys as stated in wiki

thanks . In following step , shall i write name of file or just hit enter .
ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/VDI/.ssh/id_rsa):

thanks . In following step , shall i write name of file or just hit enter .
ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/VDI/.ssh/id_rsa):

Hi,
I'm encountering problem of hypervisor , I'm unable to connect hypervisor connection via ssh . I'm wonder if somebody guide me in this regard. The following is output when i connect to hypervisor at my local host (hypervisor's address is localhost where dashboard is also configured ). Thanks.
root@ubuntumachine:/home/VDI/.ssh# ls
authorized_keys  id_rsa  id_rsa.pub
root@ubuntumachine:/home/VDI/.ssh# ls -l
total 12
drwxr-xr-x 2 root root 4096 Jun 23 03:07 authorized_keys
-rw------- 1 VDI  VDI  1679 Jun 23 02:27 id_rsa
-rw-r--r-- 1 VDI  VDI   399 Jun 23 02:27 id_rsa.pub
root@ubuntumachine:/home/VDI/.ssh# ssh -i /var/hyper_keys/id_rsa VDI@localhost
VDI@localhost's password:
Permission denied, please try again.
VDI@localhost's password:
Permission denied, please try again.
VDI@localhost's password:
Permission denied (publickey,password).
root@ubuntumachine:/home/VDI/.ssh#

Show me the output of:

ls -la /home/VDI/.ssh
ssh -i /var/hyper_keys/id_rsa VDI@localhost; tail /var/log/auth.log

i just saw , anyhow problem solved , solution of this problem in mentioned in other issue-ticket 118
by adding VDI ALL=(ALL:ALL) NOPASSWD:ALL at path dir /etc/sudoers.d/VDI


Implement Static/variable width based on zoom level

As a user I would like the width of hole size, casing and cement to be variable based on the zoom level as in REP.
When zoomed out I would like to have a certain minimum width. The minimum width should remain constant until a certain zoom level is reached. After that, the width should start to increase with zoom level.

Closing. Will be requested again if feature is still relevant.


[Features]: [Worldpay] Sync with Hyperswitch Reference

:memo: Feature Description

In Hyperswitch, we retrieve transaction status in two ways:

Using transaction_id which is generated by Connectors
Using our reference_id which can be passed to Connectors during payment creation

If supported, the request for retrieving Payments and Refunds should use the Hyperswitch's reference_id. This would assist in obtaining the payment/refund status in the event we failed to get it due to timeout, connection failure, etc.

:hammer: Possible Implementation

If the connector supports retrieving payments and refunds using our reference_id i.e connector_request_reference_id , we should utilize this functionality instead of exclusively relying on the connector_transaction_id.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2052
:bookmark: Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/

:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

I would like to work on this
Please assign

Hi,
Can I work on this issue now, the last assignee hasn't made the necessary changes in his pull request since January.


Problem: CI failing due to clap not available on nix rustRegistry

Solution: bump .travis.yml and upstream nixpkgs

don't merge, rebasing

Closing, due to issue: https://github.com/ethereumproject/sputnikvm/issues/17
nix's rustRegistry is not hermetically sealed.


Where are the binaries?

The fastest way to get started is to download a binary for your platform.

Where is it?
I'd like to use Travis-CI to split my monolytic repository. Do you have an example of how to do it?

I would be interested in this too

+1

Fixed now. I've uploaded binaries for Linux and MacOs.


Remove deprecated interaction contact sorting and filtering options from main API

Description of change
This removes the deprecated contact sorting options and filter from /v3/interaction.
Checklist

[x] Has a new newsfragment been created? Check changelog/README.rst for instructions
[ ] Have any relevant search models been updated?
[ ] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[ ] Has the admin site been updated (for new models, fields etc.)?
[ ] Has the README been updated (if needed)?

This is blocked by https://github.com/uktrade/data-hub-frontend/pull/1780.

This is now unblocked.


Upload global cluster state to remote store

Description
Changes for uploading global metadata to remote store.
We will store all global metadata in single file in remote store. For incremental update we will check if global metadata has changed or not, if not then we will skip uploading it and if it has changed we will upload full global metadata to remote store.
Directory structure will look like this:
base folder/
    |
    |--> index/
    |     | --> index_UUID/
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |
    |--> global-metadata/
    |       | --> meta-global-metadata__<codec_version>__<timestamp>.dat
    |
    |
    |--> manifest/
    |       | --> manifest__<term>__<version>__<timestamp>
    |       | --> manifest__<term>__<version>__<timestamp>

Related Issues
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] GitHub issue/PR created in OpenSearch documentation repo for the required public documentation changes (#[Issue/PR number])

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks Dhwanil. Can you show the complete directory structure including index metadata to get a sense of the blob structure

This will be sample directory structure:
base folder/
    |
    |--> index/
    |     | --> index_UUID/
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |
    |--> global-metadata/
    |       | --> meta-global-metadata__<codec_version>__<timestamp>.dat
    |       | --> meta-global-metadata__<codec_version>__<timestamp>.dat
    |
    |
    |--> manifest/
    |       | --> manifest__<term>__<version>__<timestamp>
    |       | --> manifest__<term>__<version>__<timestamp>

Thanks Dhwanil. Can you show the complete directory structure including index metadata to get a sense of the blob structure

This will be sample directory structure:
base folder/
    |
    |--> index/
    |     | --> index_UUID/
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |
    |--> global-metadata/
    |       | --> meta-global-metadata__<codec_version>__<timestamp>.dat
    |       | --> meta-global-metadata__<codec_version>__<timestamp>.dat
    |
    |
    |--> manifest/
    |       | --> manifest__<term>__<version>__<timestamp>
    |       | --> manifest__<term>__<version>__<timestamp>

@dhwanilpatel what is the codec version here? The global metadata file should contain Metadata version as well.

Thanks Dhwanil. Can you show the complete directory structure including index metadata to get a sense of the blob structure

This will be sample directory structure:
base folder/
    |
    |--> index/
    |     | --> index_UUID/
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |              | --> metadata__<index_metadata_version>__<timestamp>.dat
    |
    |--> global-metadata/
    |       | --> meta-global-metadata__<codec_version>__<timestamp>.dat
    |       | --> meta-global-metadata__<codec_version>__<timestamp>.dat
    |
    |
    |--> manifest/
    |       | --> manifest__<term>__<version>__<timestamp>
    |       | --> manifest__<term>__<version>__<timestamp>

@dhwanilpatel what is the codec version here? The global metadata file should contain Metadata version as well.

I guess the codec version here is the format of the meta-global-metadata file for future extensibility. The Metadata version will be serialised into the XContent format and should be available when reading?

The Metadata version will be serialised into the XContent format and should be available when reading?

The Metadata file path should contain the version as well, timestamp is just for preventing overwrites in case of multiple uploads.

The Metadata version will be serialised into the XContent format and should be available when reading?

The Metadata file path should contain the version as well, timestamp is just for preventing overwrites in case of multiple uploads. Also why do you need a separate codec version when cluster version is already written in manifest file.

We discussed this offline and think, would be better to revisit versioning, essentially each file needs to have the file format versioned and the file format version should be surfaced to the file name to ensure we know how to parse the file if the underlying file format changes in future. Essentially having two different formats

File format version  — Applicable to manifest and other files where lets say format of the manifest file changes. To handle BWC from a pure file parsing logic
Index/Engine/Cluster metadata compatibility version — To handle BWC at the engine level or maintaining any internal state consistency specific to the internal working of OpenSearch

The Metadata version will be serialised into the XContent format and should be available when reading?

The Metadata file path should contain the version as well, timestamp is just for preventing overwrites in case of multiple uploads. Also why do you need a separate codec version when cluster version is already written in manifest file.

We discussed this offline and think, would be better to revisit versioning, essentially each file needs to have the file format versioned and the file format version should be surfaced to the file name to ensure we know how to parse the file if the underlying file format changes in future. Essentially having two different versions
1. File format version  — Applicable to manifest and other files where lets say format of the manifest file changes. To handle BWC from a pure file parsing logic

2. Index/Engine/Cluster metadata compatibility version — To handle BWC at the engine level or maintaining any internal state consistency specific to the internal working of OpenSearch

We will follow this file name formats.
base folder/
    |
    |--> index/
    |     | --> index_UUID/
    |              | --> metadata__<inverted_index_metadata_version>__<inverted_codec_version>__<timestamp>.dat
    |              | --> metadata__<inverted_index_metadata_version>__<inverted_codec_version>__<timestamp>.dat
    |
    |--> global-metadata/
    |       | --> metadata__<inverted_metadata_version>__<inverted_codec_version>__<timestamp>.dat
    |
    |
    |--> manifest/
    |       | --> manifest__<inverted_term>__<inverted_version>__<inverted_codec_version>__<timestamp>
    |       | --> manifest__<inverted_term>__<inverted_version>__<inverted_codec_version>__<timestamp>

@Bukhtawar @shwetathareja we don't have garbage collection for dangling files of index metadata and global metadata where corresponding manifest upload fails. it will only be eligible for GC when the cluster uuid changes after quorum loss recovery. Should we add a task for this?

@linuxpi yes lets create an issue


Update benchmark weights.rs files on all pallets using workflow

Is your feature request related to a problem? Please describe
After updating workflow to generate benchmark weights.rs files for all pallets and automatically commit the files to branch (see #837) we want to make sure the workflow works and take advantage of this moment to update these files.

Done!


Prisma plug-in exposing all field

Would it be possible to expose all Prisma fields on an Object automatically without exposing the one by one explicitly?

This is probably not something that would be part of Pothos core.  It could be something you could write yourself if you wanted.
There will be some utilities coming in the future (see #348) that will make building something like this your self easier.
It would be posssible to use data from the prisma client (currently prisma._dmmf, soon to be prisma._baseDmmf) to get the list if fields on a type and expose all of them.  Writing a method that takes the field builder, and returns an object with all the fields would be pretty trivial (if you just use a few anys).  This goes against some of the core principles behind pothos.
I strongly believe that your data and API should not be tied closely together, and the Pothos APIs try to reflect that by making the types and fields in your API be  defined explicitly.  A simple test for this is asking if the API would change automatically if your data source chages.  In Pothos, the goal is for this to cause a type-error rather than for it to cause a change in the schema.  You will notice things like the expose methods requiring the field name as well as the name of the column they are exposing even though they are often the same.  Pothos also requires you to explicit define the type of the fields you are exposing.  a String type in your DB could be a String in graphql, but it could also be an ID, or a custom scalar like email.  When you get into exposing things automatically you take away that control, and usually end up with a lower quality API.
I recently posted a bit about plans around making crud APIs easier to build in the Pothos discord channel:

What I will likely end up releasing will probably be a compromise between being explicit, and making it very fast/easy to set up a crud API.  It will likely consist of a set of composable utilities.  Something along the lines of methods for building input types that map to where and orderBy that can be used when defining prisma fields, relations and connections.  Helpers for defining input types for create and update would be the second layer, this would require defining which fields are included, optionally adding defaults, and probably ways to nest relations in the creates/updates.  This piece will require more configuration because there are a LOT of ways that you could define nested updates/creates.  Sometimes you want to connect to existing types, do deletes, updates or creates on a relation, sometimes you need to append or remove from a list, etc.  Sometimes relations are required, or can be left empty, etc.  create/update/delete/get/list would all be trivial to define manually once you have these input types, so the final piece would be a series of examples of how you can compose these utilities to define your own crud builders.  Eg an example of creating your own method that takes a prisma type name, and maybe a few other options, and then spits out a full crud interface for that type.  By providing building blocks and simple examples of how to stitch them together people can get an API that is as easy to use (once set up) as the nexus prisma plugin, but still lets users fully control how things work, and puts the "generation" piece into something defined by the app, not the framework so it's more opt in

Hope this helps.


Animations, left-handed support and rework

This PR contains the start of a significant rework to make the code more readable and maintainable. It also includes a first draft for animations created by the build system through an animation syntax, and support to automatically generate left-handed variants.
Edit: also, this is very work in progress

The current way of grabbing the animation frames does not seem to be safe enough. I have had a short conversation about this with the maintainer of https://github.com/svgdotjs/svg.js, but it's currently unclear how to safely grab animation frames from an orchestrated animation.
As much as I want this feature, I can't commit this knowing there could be dropped frames in animations.
So the animation feature is on pause until I either fully understand how svg.js handles animations and I found a way to use it securely, or I fully implemented my own animation system using svg.js just to manipulate the svgs accordingly. Hopefully I'll hear back from @Fuzzyma so I don't have to work myself into the svg.js codebase.

@phisch Sorry, it took a while. Turned out your code was completely fine but transformations have a lot of special handling when it comes to animations (basically the whole merging of transformations from different animations and blabla).
Long story short: The only stuff which is not applied after runner.step() are transforms because they wait for the next frame (and all other potential animations) so that they can get correctly merged. So we basically have to do the extraction  ourselves.
For your use case this code should do it:  https://codepen.io/fuzzyma/pen/mdpZJxv?editors=1111
// This is the extracted part for merging the transformations. Unfortunately its not exported
const lmultiply = (last, curr) => last.lmultiplyO(curr)
const getRunnerTransform = (runner) => runner.transforms

function mergeTransforms () {
  // Find the matrix to apply to the element and apply it
  const runners = this._transformationRunners.runners
  const netTransform = runners
    .map(getRunnerTransform)
    .reduce(lmultiply, new SVG.Matrix())

  this.transform(netTransform)

  this._transformationRunners.merge()

  if (this._transformationRunners.length() === 1) {
    this._frameId = null
  }
}

// And that's the code for getting the SVG code
const image = SVG().addTo('body');
const rect = image.rect(50,50)
const runner = new SVG.Runner(1000).rotate(360);
runner.element(rect)
for (let i = 0; i < 40; i += 1) {
  runner.step(10)
  mergeTransforms.call(rect)
  console.log(image.svg());
}

Hope it helps and resolves your issues :)

@Fuzzyma Thanks a lot for the explanation and example!
I'll play around with it as soon as I can and will continue the work on this PR. Animated disco cursors aren't dead yet :)

Just as a short follow-up:
I store all elements that are animated, and then merge their transforms after each step. The transforms seem to be applied correctly now, and there is no more need for the hacky requestAnimationFrame. This surely still is kind of a hack, but one I can live with, since it is predictable.
Thanks again for the explanation. Now it's up to me to clean my code and get this new animation system and some other features production ready.

Yes, that is the best you can get I guess. This is really just needed because the code "waits" for other non-async code to add more transformations to the same element. Since you can animate the same element with different animations and every animation can change the transform, its important to apply all transformations in the correct order. Thats why we had to make sure that all animations for a frame are finished before applying the transformation.
So: If you wouldn't have used transforms, it would have worked directly :D


issue trying to get multiple nodejs peers to sync

I was working on trying to use orbitdb to shard and serve a K nearest neighbors search engine using orbitdb as the key:value store, with the math part being handled by FAISS, and try to benchmark whether or not it is feasible with 8 million records in chunks of 4096 key-value pairs.
I have two nodes working on the local area network, and I've tried to throw the kitchen sink of different networking and peer discovery methods, but I cant seem to get the two different nodes to talk to each other on different PCs.
code
https://github.com/endomorphosis/orbitdb-benchmark/blob/master/src/orbitv3-slave-swarm.js
https://github.com/endomorphosis/orbitdb-benchmark/blob/master/src/orbitv3-master-swarm.js
node /home/devel/orbitdb-benchmark/src/orbitv3-master-swarm.js --ipAddress=<IP_ADDRESS> --port=60001 --swarmName=caselaw --chunkSize=8 --index=1
node /home/barberb/orbitdb-benchmark-1/src/orbitv3-slave-swarm.js --ipAddress=<IP_ADDRESS> --port=50001 --swarmName=caselaw --chunkSize=8 --index=1

Are the 2 pcs on the same local network?

yes

Have you tried using mdns for peer discovery? If not, try to configure it in the you Libp2p settings for Helia, E.g.
import { mdns } from '@libp2p/mdns'

export default {
  peerDiscovery: [
    mdns()
  ],
  /* other settings */
}

This should allow peers to discover one another on the local network without explicitly dialling one another.

Have you tried using mdns for peer discovery? If not, try to configure it in the you Libp2p settings for Helia, E.g.
import { mdns } from '@libp2p/mdns'

export default {
  peerDiscovery: [
    mdns()
  ],
  /* other settings */
}

This should allow peers to discover one another on the local network without explicitly dialling one another.

https://github.com/endomorphosis/orbitdb-benchmark/blob/master/src/orbitv3-master-swarm.js#L63

I've tried launching the peers in the above example and they are able to find one another. Using a simple peer:connect confirms this:
ipfs.libp2p.addEventListener("peer:connect", event => {
    console.log('connected', event.detail)
})

Can you dial master from slave explicitly?
I.e.
await ipfs.libp2p.dial(multiaddr(masterAddress))

If the problem persists, Libp2p may be better able to guide you in getting the peers to communicate.

Closing as stale. Feel free to reopen if you have more information to share.


⚠ Processors has degraded performance

In 34d09d9, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 52 ms

Resolved: Processors performance has improved in 99d1164.


-insecure

how can i make it work without using -insecure, no feature working with no parameters

What type of injection method is used in your case?

Go to your Properties in VS then go to C/C++ then Command line and in additional features put: /Zc:threadSafeInit-


Feature request: Have a more minimal saaskit option

Is your feature request related to a problem? Please describe.
It takes a bit of work to get the saaskit into a form that I can start building from. It'd be nice to have a more minimal version.
Describe the solution you'd like
I'd like a repository that has only the following:

User and auth setup
Stripe integration

And not the following:

Blogs
Graphs
Items in database

Here is my attempt: https://github.com/paudrow/saaskit-minimal
Describe alternatives you've considered
I can delete everything myself, which I've done (link above), but it is something that I have to maintain and possibly fight merge conflicts. It'd be nicer to have an officially maintained version.

Having two versions of SaaSKit would be difficult to maintain. It'd be better to have a single version that improves its modularity, making it easier to modify. That's what I've tried to do with the addition of plugins.
I'd be happy to hear ideas on how modularity, but I will close this as not planned. Either way, thank you for your suggestion 🙂


set pull request status to green if all committers have signed the CLA

Current state is: CLA assistant checks committers of a new PR and if there are no committers who hasn't signed the CLA yet it doesn't do anything on the PR (it creates nor a comment neither a status of the PR saying that everything is ok).
Should be: CLA assistant should set PR status to green also initially if there are no committers who hasn't signed the CLA. Otherwise it isn't clear whether CLA assistant is not working or all committers have signed the CLA.

already done ;)


Canvas shadow BlendMode is not respected during scrolling

I have a CustomPainter that paints 2 Shadows with 2 different BlendModes. The initial render looks fine, but the moment that a scrolling action takes place, e.g., PageView swiping or Drawer swiping, the BlendMode is ignored and results in an ugly rendering artifact.
Here is a screenshot of an initial shadow render:

Here is a screenshot of the same shadow the moment that I begin to scroll a PageView:

I reproduced the above bug on an iPhone simulator, and a physical iPhone 7. The glitch looks even worse on a physical device (the above screenshots are from the simulator).
And here is a minimal repro project:
https://github.com/matthew-carroll/flutter_bug_repro_49928
I left a note in the source code of that project that explains that the problem only occurs when I paint a shadow twice. I also explain in there why I do that.
Flutter Doctor:
Flutter (Channel master, v1.13.6-pre.23, on Mac OS X 10.14.6 18G95, locale en-US)
    • Flutter version 1.13.6-pre.23 at ---
    • Framework revision 6e72facad1 (5 weeks ago), 2019-12-24 10:54:04 -0800
    • Engine revision 33813929e3
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 886615d0f9)

CC @cbracken @chinmaygarde for visibility as a possible engine rendering/compositing bug.

Hi @matthew-carroll
did you mean to add the a: triage label here?
thank you

I thought it would be good to triage this issue in case it reveals other rendering bugs. If that tag shouldn't be there, please feel free to remove it.

The shadows render differently during scrolling because at that point the SkPicture has been placed into the raster cache.
@liyuqian

Thank you @matthew-carroll for your sample app! It reveals a very fundamental problem in our raster caching mechanism: whenever a picture is raster cached instead of directly gets drawn, it risks of changing the semantics if there are multiple blending modes, or if the blending modes are non-associative. It is very similar to how saveLayer may change the semantics.
An analogy is to view the blending as an arithmetic operation like plus + or multiply *. Formula a * b + c has different semantics with a * (b + c). Raster caching and saveLayer are essentially putting brackets around some draw operations and their blending.
For this specific issue, the fix would be to give willChange: true to CustomPaint to disable the raster cache so Flutter won't change its semantics.
In  general cases, Flutter need to be more careful about applying raster caches. There might be no silver bullets so we should again give developers an option to explicitly choose the trade-off between performance and qualities/semantics, like what we did for clipBehavior. I'll create a new issue for that, and close this issue due to the simple willChange: true fix.


Invalid token with macro conditional indentation

I encountered an error trying to compile
vgstation13-coders/vgstation13 @ c8fe2e1e992a46300819859aad2e747702dc6ac1:
Unhandled exception. System.Exception: Invalid token DM_Preproc_ParameterStringify(code\__HELPERS\game.dm:206:2, #)
   at DMCompiler.Compiler.DMPreprocessor.DMPreprocessor.IncludeFile(String includePath, String file) in C:\[...]\OpenDream\DMCompiler\Compiler\DMPreprocessor\DMPreprocessor.cs:line 279
   at DMCompiler.Compiler.DMPreprocessor.DMPreprocessor.IncludeFile(String includePath, String file) in C:\[...]\OpenDream\DMCompiler\Compiler\DMPreprocessor\DMPreprocessor.cs:line 85
   at DMCompiler.DMCompiler.Preprocess(List`1 files) in C:\[...]\OpenDream\DMCompiler\DMCompiler.cs:line 109
   at DMCompiler.DMCompiler.Compile(DMCompilerSettings settings) in C:\[...]\OpenDream\DMCompiler\DMCompiler.cs:line 41
   at DMCompiler.Program.Main(String[] args) in C:\[...]\OpenDream\DMCompiler\Program.cs:line 12

The relevant code is:
202 #ifdef DEBUG_ROLESELECT
203 #define roleselect_debug(x) testing(x)
204 #warn DEBUG_ROLESELECT is defined!
205 #else
206 # define roleselect_debug(x)
206 #endif

It seems like it has something to do with the indentation after the # causing the define to not be recognized properly.

Until https://github.com/wixoaGit/OpenDream/pull/426 is merged you shouldn't really bother reporting preproc issues.

It's still useful to know what the current shortcomings are, and to have more things to test against a preproc refactor.


Connect-MSIntuneGraph does not support roles assigned via privileged identity management,

When assigned the Intune Administrator role via privileged identity management in Azure AD, the Connect-MSIntuneGraph script does not recognise this granted access, and instead requests that someone with administrator rights logs in.

Same issue.
I also use PIM, and cannot get in with that command. In C:\Program Files\WindowsPowerShell\Modules\IntuneWin32App\1.3.3\Public\Connect-MSIntuneGraph.ps1 there are more mandatory fields for that command than the documentation indicates (it only says to provide the TenantID). I'm guessing that's the problem.
When I try to run the command, I get this warning:
WARNING: An error occurred while attempting to retrieve or refresh access token. Error message: Cannot convert argument "builder", with value: "Microsoft.Identity.Client.PublicClientApplicationBuilder", for "WithDesktopFeatures" to type "Microsoft.Identity.Client.PublicClientApplicationBuilder": "Cannot convert the "Microsoft.Identity.Client.PublicClientApplicationBuilder" value of type "Microsoft.Identity.Client.PublicClientApplicationBuilder" to type "Microsoft.Identity.Client.PublicClientApplicationBuilder"."

That's odd because I use it daily with an account where PIM is "enabled" and roles are activated when needed. It feels more like a MSAL.PS issue than the code I've written as it relies on that module for authentication. Is this still an issue?

That's odd because I use it daily with an account where PIM is "enabled" and roles are activated when needed. It feels more like a MSAL.PS issue than the code I've written as it relies on that module for authentication. Is this still an issue?

It is, but my workaround is to run the module on a different machine that doesn't have the issue.


Fix the Command Interpreter not interpreting commands correctly.

This was seen in Language Barriers.

Fixed this!


mount: /media/sdc: WARNING: source write-protected, mounted read-only.

Just adding an issue here to document a challenge i'm facing

Please follow Alpine Linux Wiki to download & create installation media for the target platform.
Tools provided here can be used on any plaform for any install modes (diskless, data disk, system disk).

Using the dd method will result in a mount: /media/sdc: WARNING: source write-protected, mounted read-only. error. This is because the iso9660 filesystem used is read only.
You won't be able to copy headless.apkovl.tar.gz using this method.
Still looking for a workaround, trying setup-bootable

setup-bootable
This is a standalone script; it's not invoked by setup-alpine but must be run manually.
It allows to create boot media that boots the system running from RAM memory (diskless) like the installation images, but using a writable (i.e. not iso9660) filesystem. So that it can also serve to store local customizations (e.g. apkovl files and cached packages).

This should work for most people, the partitions created by this script are the wrong size for me
mkfs.vfat /dev/sdc
setup-bootable alpine-standard-3.20.3-x86.iso /dev/sdc -vu

Disk /dev/sdc: 245 MiB, 256901120 bytes, 501760 sectors
Disk model: USB DISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x20ac7dda

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdc1<PHONE_NUMBER><PHONE_NUMBER>  432871117 206.4G  7 HPFS/NTFS/exFAT
/dev/sdc2<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER> 931.5G 16 Hidden FAT16
/dev/sdc3                0          0          0     0B 6f unknown
/dev/sdc4         50200576  974536369  924335794 440.8G  0 Empty

Partition table entries are not in disk order.

Hi, for booting clients using stock .iso media, it's probably easiest (though not very elegant) to just put the headless overlay on separate media, eg. a second USB stick.

@sodface that's really nice, i didn't know alpine would search all media. I'll give that a try.
I see docs for a custom ISO - https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image_with_mkimage#Create_the_ISO
Just based on the name i would have thought it should solve the problems this project is trying to achieve

Just based on the name i would have thought it should solve the problems this project is trying to achieve

I'm not speaking for @macmpi but I think this project and custom .iso's (or other custom boot media) both have their own purposes, possibly with some overlap.
I see the method provided in this repo as just an enhancement to the stock Alpine boot media that provides headless access and functionality for doing scripted installs.
The custom .iso route could probably accomplish that also but I would think that would be more appropriate for more "major" customizations, eg. including additional packages (maybe your own) as part of the boot media. Also, a custom .iso would be architecture specific (like the stock .iso's are) whereas the headless overlay in this repo isn't.
I think there's room for both methods to exist and be useful depending on your specific needs.

Thanks @sodface : I could not have said any better. :wink:

@Kevinwochan feel free to close if you consider this issue addressed.
Thanks.


ImportError when colorama is not installed.

On branch master.
Installed using the "easy way". Using IPython 5.0.0 on MacOS X 10.11.5
This should be explicitly listed as dependency and possibly be auto-installed (distutils).

On master, colorama should no longer be necessary, but install.py will suggest you install it if you don't have it. Please check this has fixed it for you.

Can confirm that this is fixed.


The trade mark "™" is turned into � "�"

Hi,
I am not sure whether it is as designed but I feel really weird as it's not unicode �.
@{
    ViewData["Title"] = "Hello world™";
    Layout = "_Layout";
}

@ViewData["Title"]

This shows:
Hello�
The html will be:

Hello�

What I expect is that it should be "™" in the html.
Regards,
Frank

Are you sure that you specified correct value and saved view file with correct encoding? It works fine for me and here is working sample: https://dotnetfiddle.net/R3auoU for the same code as yours.

Indeed, check that you have saved the file as UTF-8 or similar. If the file is ASCII/ANSI the special character would likely show up as a missing char.

@Eilon , I think you are right. However, the VS can show the ™ instead of � even with a ANSI encoding. I think that make it hard to find out the cause. However, if you open that file in VS and save it with ANSI encoding by using a notepad, you can see it becomes �.
I guess the cause is that it assumed the file as UTF-8 encoding or similar if it can't figure out which encoding it is, e.g.: no preamble bytes offered.

Different readers of files make different assumptions about the "default" encoding to use for an unknown file. See https://en.wikipedia.org/wiki/Bush_hid_the_facts for some examples :smile:

Yes, it is. :smile:


packArray and unpackArray doc fixe

result should be marked as optional

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Thanks Sean!


Lack of dependencies

You seem to have missed three dependency packages on Windows
wgpu_window_x86_Release、wgpu_window_x86_64_Debug、wgpu_window_x86_64_Release

Ah yeah, I didn't notice the "show all 15 results" part at the end of the asset list. It did seem strange that windows wouldn't have x86_64 releases...
Anyways, I've added the x86_64 windows target to the whitelist and added all three missing dependencies to build.zig.zon.


add option for force re-download of server file

This may partially (or fully?) resolve #198
In some scenarios, it is not ideal to manually delete the server .jar file in order to force minecraft-server to download a fresh copy.  For situations when a new version of minecraft is released and there is steady incremental fixes made to the server type, there are new versions of the server created multiple times a day (e.g. the 81 builds of the paper server since 1.14 was releases).
The option added in this PR gives server operators the option to have minecraft-server automatically download a fresh, (most likely) updated copy of the server for that particular release of minecraft.

This change is now pushed to Docker Hub.


use matrix to build both opam files in CI

This is to enable checking the whole Coq development for every revision, not just the hydra-battles part.

Very nice idea!


Updated Touchable opactiy to a pressable component

Updated Touchable opactiy to a pressable component

this is cool but i'm pretty sure it will break for anyone below RN 0.63?

Yeah that's a fair point


Update druid to fix compilation for windows target

Describe the bug
Psst doesn't compile on windows because the targeted commit of the druid fork has an issue which was fixed here
https://github.com/linebender/druid/pull/2238
PS C:\Users\Jake\development\psst>cargo build
   Compiling ureq v2.4.0
   Compiling druid-shell v0.7.0 (https://github.com/jpochyla/druid?branch=psst#4cfcf6e1)
error[E0432]: unresolved import `raw_window_handle::windows::WindowsHandle`
  --> C:\Users\Jake\.cargo\git\checkouts\druid-64a54200c8cd3ebf\4cfcf6e\druid-shell\src\backend\windows\window.rs:51:25
   |
51 | use raw_window_handle::{windows::WindowsHandle, HasRawWindowHandle, RawWindowHandle};
   |                         ^^^^^^^^^-------------
   |                         |        |
   |                         |        help: a similar name exists in the module: `Win32Handle`
   |                         no `WindowsHandle` in `windows`

error[E0603]: module `windows` is private
  --> C:\Users\Jake\.cargo\git\checkouts\druid-64a54200c8cd3ebf\4cfcf6e\druid-shell\src\backend\windows\window.rs:51:25
   |
51 | use raw_window_handle::{windows::WindowsHandle, HasRawWindowHandle, RawWindowHandle};
   |                         ^^^^^^^ private module
   |
note: the module `windows` is defined here
  --> C:\Users\Jake\.cargo\registry\src\github.com-1ecc6299db9ec823\raw-window-handle-0.4.2\src\lib.rs:30:1
   |
30 | mod windows;
   | ^^^^^^^^^^^^

error[E0599]: no variant or associated item named `Windows` found for enum `RawWindowHandle` in the current scope
   --> C:\Users\Jake\.cargo\git\checkouts\druid-64a54200c8cd3ebf\4cfcf6e\druid-shell\src\backend\windows\window.rs:196:30
    |
196 |             RawWindowHandle::Windows(handle)
    |                              ^^^^^^^ variant or associated item not found in `RawWindowHandle`

error[E0599]: no variant or associated item named `Windows` found for enum `RawWindowHandle` in the current scope
   --> C:\Users\Jake\.cargo\git\checkouts\druid-64a54200c8cd3ebf\4cfcf6e\druid-shell\src\backend\windows\window.rs:199:30
    |
199 |             RawWindowHandle::Windows(WindowsHandle::empty())
    |                              ^^^^^^^ variant or associated item not found in `RawWindowHandle`

Some errors have detailed explanations: E0432, E0599, E0603.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `druid-shell` due to 4 previous errors

To Reproduce
Build Psst on Windows
Expected behavior
Building Psst on windows should succeed
Screenshots
n/a
Environment

OS: Windows
Version: 10 21H2

Looks good to close I think, fixed in upstream and submodule has been updated. Was able to build recently


Ability to add instances into scope in OpenScope instead of UseInstance

It won't require a complex logic for registry swapping, it may effectively happen while scope creation (which is usually a single threaded).

Added in the simplest form of Use method, will see if it is enough. Still wip.

Replaced with #78


changelog for Pro 3.4 and CityEngine 2024.1

thanks for the review! I addressed them and merged to develop. closing this.


Set up Python workflow and Dependabot for pip and github-actions

Thanks again @mmorel-35 ! I've merged the PR. Will take some time to fix lint and re-add lint in CI.


Release Google.Cloud.Security.PublicCA.V1 version 1.0.0-beta01

Changes in this release:
Initial release.

Created release for Google.Cloud.Security.PublicCA.V1-1.0.0-beta01


[Relax][BlockBuilder] Use PrimValue to provide tir_vars

Prior to this commit, if a TIR variable was required to compute the output of BlockBuilder.call_te, but that TIR variable could not be inferred from the shape of any tensor arguments, it would be provided in an optional tir_vars argument to R.call_tir.  In C++, this would be then be accessed as an optional
call->args[2].as<ShapeExprNode>().
This extra argument can cause unexpected bugs.  For example, the bug that was fixed in https://github.com/apache/tvm/pull/17086 was caused by RewriteDataflowReshape identifying the output buffer using prim_func->buffer_map.Get(prim_func->params.back()), which is only correct if tir_vars is empty.  Rather than fixing these issues as they come up, it would be better to make the general Relax guarantees stronger by removing the tir_vars argument altogether.
Use of extra R.shape parameter to specify additional tir_vars predates the existence of relax::PrimValue, and is no longer required.  This commit updates BlockBuilder.call_te to use additional relax.PrimValue arguments to handle symbolic values that cannot be inferred from tensor shapes, rather than tir_vars.

cc @tqchen @Hzfengsy

Rebased onto main to avoid stale CI results.


RocksDB sometimes crashes

https://github.com/bwsw/t-streams/issues/732#issuecomment-361846275
RocksDB sometimes crashes with segmentation fault. Maybe it happens when a RocksDBCompactionJob performs compaction in a same time when server writes something in RocksDB.
Using a ReentrantReadWriteLock in RocksDB wrappers can solve this problem.

https://github.com/facebook/rocksdb/issues/3355#issuecomment-360223325

Try wait until CompactionJob is closed in CompactionJob.close().


how to simulate a right-click

Maybe my question is stupid..
I tried several htm5 RDP client, it seems all of them don;t support right-click.
Is there any way to simulate a right-click ?

You mean on iOS? Normally, the gesture is a long touch (https://support-splashtoppersonal.splashtop.com/hc/en-us/articles/230005547-Introduction-to-iOS-gestures-iPad-iPhone-), but it doesn't work currently with myrtille (which overrides the default mouse/touchscreen handlers).
I can see to add a "Right Click" button (into the myrtille toolbar, on top of the screen) to simulate a right-click (on the last left clicked coordinates, for example).

Hi, thanks for reply. I mean in windows, I’m using Firefox.

From: cedrozor<EMAIL_ADDRESS>Sent: Sunday, November 12, 2017 1:28:51 AM
To: cedrozor/myrtille
Cc: ladygh; Author
Subject: Re: [cedrozor/myrtille] how to simulate a right-click (#65)
You mean on iOS? Normally, the gesture is a long touch (https://support-splashtoppersonal.splashtop.com/hc/en-us/articles/230005547-Introduction-to-iOS-gestures-iPad-iPhone-https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsupport-splashtoppersonal.splashtop.com%2Fhc%2Fen-us%2Farticles%2F230005547-Introduction-to-iOS-gestures-iPad-iPhone-&data=02|01|aushop%40outlook.com.au|1aaab7fbb4b440efedaf08d529108880|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636460073332685801&sdata=9SXZm9eLChgvT7tCOfGUJzqaTJDn7UwxAZg49%2FgDKjk%3D&reserved=0), but it doesn't work currently with myrtille (which overrides the default mouse/touchscreen handlers).
I can see to add a "Right Click" button (into the myrtille toolbar, on top of the screen) to simulate a right-click (on the last left clicked coordinates, for example).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcedrozor%2Fmyrtille%2Fissues%2F65%23issuecomment-343669023&data=02|01|aushop%40outlook.com.au|1aaab7fbb4b440efedaf08d529108880|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636460073332685801&sdata=yuwyhXJVs1OuAvo60Xd4faPhSxKBrNOvjzTAO7tGM4M%3D&reserved=0, or mute the threadhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALb63MNBpUwrH7sngG05dkJVHWTTCPiFks5s1a8jgaJpZM4Qadca&data=02|01|aushop%40outlook.com.au|1aaab7fbb4b440efedaf08d529108880|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636460073332685801&sdata=tS33g%2F41T%2FGANTqSxHEw0IYF%2FIivqXwUoyYRQbgM%2FEg%3D&reserved=0.

I just re-checked on Window 7 and 10, with the latest Firefox update, and the mouse right-click worked. Did you installed an extension or something which could block the right-click?

implemented in version 1.6.0

I will add a toggle button for a better right-click managemenent in a next release


feat: nebulagraph-AI suite

[x] ng_ai gateway
[x] ngai_graphd(to handle UDF)
[x] jupyter notebook on spark & nebula algorithm

done in c7bc0f1


fix(sks): don't try to output keycloak password when disabled

I'm wondering if there's a better way to figure out whether keycloak is enabled or not...

It would maybe be more robust to use yamldecode on the values passed to the app of apps and look at apps.keycloak.enabled

@ckaenzig I'll close this PR and remove the branch in this repo. Please open it again from your fork (/cc @vquiby )

@mcanevet The values in question are only available as a list of 3 yaml strings which are then merged by helm. It doesn't look like terraform could somehow do the same merge with the same strategy to then extract the appls.keycload.enabled value.

@ckaenzig indeed. Doesn't the datasource lookup completely fails when keycloak is disabled?

No, the datasource doesn't throw any error when the secret doesn't exist. It's data attribute is just set to null.


Add default component version for reproducible builds

Closes #209

Codecov Report
Patch coverage: 90.47% and no project coverage change.

Comparison is base (55b9384) 86.55% compared to head (7dfd495) 86.56%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #217   +/-   ##
=======================================
  Coverage   86.55%   86.56%
=======================================
  Files          50       50
  Lines        4701     4734   +33
=======================================
+ Hits         4069     4098   +29
- Misses        632      636    +4

Impacted Files
Coverage Δ

tests/widgets/test_result_runner.py
84.31% <68.42%> (-15.69%)
:arrow_down:

src/napari_imagej/__init__.py
80.00% <100.00%> (+6.31%)
:arrow_up:

tests/test_java.py
96.77% <100.00%> (+12.56%)
:arrow_up:

tests/utils.py
95.97% <100.00%> (+0.11%)
:arrow_up:

tests/widgets/test_menu.py
70.76% <100.00%> (-0.18%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Removed: Hardcoded fields in omitSelectedVariantFields.ts(#4536-move-omit-fields-to-config)

Added a config and used them instead of hard coded values.
Related Issues

closes #4536
Short Description and Why It's Useful

Screenshots of Visual Changes before/after (if There Are Any)

Which Environment This Relates To
Check your case. In case of any doubts please read about Release Cycle

[ ] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing Vue Storefront sites with this new feature

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[ ] I read and followed contribution rules

@AishwaryShrivastav please resolve conflict and change target branch to hotfix/v1.12.2

@AishwaryShrivastav please add changelog, resolve conflict and change target branch to hotfix/v1.12.2

Sure, I will

@AishwaryShrivastav and the branch is hotfix/v1.12.3 it's already next version :)

Hey @RakowskiPrzemyslaw, I have updated the branch, resolved the conflicts and added it in changelogs, please verify the Changelog.


Constrained layout?

https://github.com/scverse/plotting_api/blob/006d50962383699664c782b2428d6be33c5f63d4/src/plot.py#L11
I think using the constrained layout by default would make most sense: https://matplotlib.org/stable/users/explain/axes/constrainedlayout_guide.html
It’s made exactly for our case of “please just let me do things as declarative as possible and make it work”.
I don‘t know how well it works though.

Sounds good... I haven't heard of the constrained layout before, and was just using "tight" because it arguably works better than the default.


add id translations

Create django.po for Bahasa Indonesia translations.

Thanks, I will try to review them soon


Follow talos configuration more closely

Right now, I can't do things like this: https://github.com/buroa/k8s-gitops/blob/master/talos/talconfig.yaml#L33 which are fully supported: https://www.talos.dev/v1.3/talos-guides/network/device-selector/
This tool should allow these types of things and not fail hard.

Sorry, I really need to spend some time to improve the validation. Right now it looks messy AF T.T
Anyway, this should be fixed in the next release later today. Thanks for the bug report!


Unable to match a single \ character

Describe the bug
Unable to write melody that generates correct regex that will match a single \.
To Reproduce
test.mldy
<start>;
"\";
<end>;

melody test.mldy
Error:  --> 2:1
  |
2 | "\";
  | ^---
  |
  = expected EOI, literal, raw, not, range, quantifier_quantity, group_declaration, assertion_declaration, variable_declaration, or variable_invocation

Expected behavior
Expected melody to properly escape \.
Desktop (please complete the following information):

OS: macOS
Version: 12.4

Additional context
I tried some other methods to generate regex that matches \, but none of them worked.
"\\";

compiles fine but escapes both slashes, generating a regex that matches \\ instead of \.
I also tried using the raw syntax (none of them worked):
`\`;

`\\`;

`[\\]`;

Thanks for the report!
Will look into this

This is a bit of a tricky one, I'll take a deeper look into it but for now I'll add a <backslash> symbol to allow you to use this. Will be out in the next version

Will be fixed in 0.19.0

Note that "\\"; will be the correct syntax


Update circe-core, circe-generic to 0.14.2

Updates

io.circe:circe-core
io.circe:circe-generic

from 0.13.0 to 0.14.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequest = { frequency = "@monthly" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-major, semver-spec-minor, commit-count:1

Superseded by #319.

Superseded by #330.


fix broken pdf (Type-safe Runtime Code Generation: Accelerate to LLVM)

Sorry for the delay!  Thank you 🙂

Thank you.


Is Rust still supported?

I found this project with Google but 242b3ec68bb27b5c59479905719db79e2f18b35f seems to have removed Rust support.
Is Rust still supported?

We had a very basic proof of concent that worked, but we stopped developing it for two reasons:

Not enough human-power to focus on this part.
@llogiq started working on 'native' tool for Rust: https://github.com/llogiq/mutagen

That being said, we may get to Rust implementation eventually, but it's not on the todo-list in any foreseeable future.
I will close the issue, please do not hesitate to reopen it if you have any further questions.

Just for the record, I think there is place for multiple tools. mutagen is as of yet very limited, and though a rewrite effort is underway, there are some mutations it will never be able to introduce.

Gotcha, thanks @AlexDenisov

and though a rewrite effort is underway, there are some mutations it will never be able to introduce.

@llogiq do you mean that mull with Rust support would still be great since it would allow those mutations or that mull would have the same limitation?

mutagen is fairly limited because its mutations must not fail, whereas mull can recover from failed mutation attempts.


Additional methods + fix remove_cog

Added fetch_follow to client method to compare any 2 users relationship (from 1.2.3 missing from 2.0)
Can use ID or name
Added fetch_channel to client
You can now fetch the data for any channel without using private _http private methods using ID or name
I have a fix for remove_cog in my PR which now makes it work when called directly or through unload_module.
It worked fine if you call it directly e.g. self.remove_cog('Cogname') but when you try and unload a module it failed since it was a string and not a cog object. Adding a try: except: resolves it.
Tided up some general code

Changed my black line settings to 120, I had missed that setting on the workspace I was using.

Changes have been made


build: add testing support to the CMake build

Add support for tests to CMake to enable running the test suite on
Windows.

cmake --build ... --target test or ninja -C ... test.  I'll be adding this to the documentation in a follow up commit.


Fix for #480,

Add annotations onto expanded entities so we can obtain subtype information.
Three failing tests, UnlinkEntry but these appear to be broken in the current v5 branch anyway

Thanks!


Installation failure

Hi running command python3.6 -m pip install ledfx installation fails with:
RuntimeError: Running cythonize failed!
Running linux on a raspberry pi.

Installed cylon with pip install Cython, still fails with the same error.

Now the installation won't progress past Collecting aubio>=0.4.8 (from ledfx)

OK, after about ten minutes the installation continued. Running ledfx --open-ui and getting -bash: ledfx: command not found.

I re-installed, this time with sudo python3.6 -m pip install ledfx, seems to be working now.


Allow only specified optional dependencies to be considered as features

Addresses https://github.com/taiki-e/cargo-hack/issues/44#issuecomment-693433721

bors r+

bors r-

bors r+


Additional system specific settings for building on Mac

Since Tachyon writes a lot of short lived files to the local file system
during the unit tests if the Spotlight indexing processes are not set to
ignore the Tachyon working copy trying to run the tests can hang
perpetually as Spotlight tries to re-index the working copy.  Adding the
Tachyon directory to the Spotlight exclusions list resolves this
problem.
This also has the unpleasant side effect of thrashing your CPU and causing the fans to run constantly which is not at all desirable so this should be included in the Mac specific settings

Can one of the admins verify this patch?

Thanks!


ConcurrectModificationException while adjusting log-level in runtime

Description
During startup of our service, which is multi-threaded, we occasionally get a ConcurrentModificationException when set try to adjust the log-level.
Configuration
Version: 2.24.2
Operating system: Windows 11, Linux
JDK: JDK17, JDK21. Tested with multiple distributions.
Logs
At this line of code:
		Configurator.setLevel(msgLog.getName(), msgLogLevel);

We sometimes get this exception:
2024-12-06 10:36:53,174 ERROR [main] {} lifecycle.ApplicationMessageEvent - Application [Ibis4Test] an exception occurred while loading configuration [MainConfig]java.util.ConcurrentModificationException: null
 at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(Unknown Source) ~[?:?]
 at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) ~[?:?]
 at java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source) ~[?:?]
 at java.base/java.util.WeakHashMap$ValueSpliterator.forEachRemaining(Unknown Source) ~[?:?]
 at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?]
 at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?]
 at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) ~[?:?]
 at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) ~[?:?]
 at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?]
 at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) ~[?:?]
 at org.apache.logging.log4j.core.LoggerContext.updateLoggers(LoggerContext.java:776) ~[log4j-core-2.24.2.jar:2.24.2]
 at org.apache.logging.log4j.core.LoggerContext.updateLoggers(LoggerContext.java:766) ~[log4j-core-2.24.2.jar:2.24.2]
 at org.apache.logging.log4j.core.config.Configurator.setLevel(Configurator.java:379) ~[log4j-core-2.24.2.jar:2.24.2]
 at org.apache.logging.log4j.core.config.Configurator.setLevel(Configurator.java:414) ~[log4j-core-2.24.2.jar:2.24.2]
 at org.frankframework.core.Adapter.configure(Adapter.java:186) ~[frankframework-core-9.0.0-20241206.042346.jar:9.0.0-20241206.042346] at org.frankframework.configuration.AdapterManager.configure(AdapterManager.java:152) ~[frankframework-core-9.0.0-20241206.042346.jar:9.0.0-20241206.042346]
 at org.frankframework.lifecycle.ConfiguringLifecycleProcessor$LifecycleGroup.configure(ConfiguringLifecycleProcessor.java:84) ~[frankframework-core-9.0.0-20241206.042346.jar:9.0.0-20241206.042346] at

(Rest of stacktrace omitted since it's not relevant).
Reproduction
Unfortunately since this goes wrong due to race-conditions in a multi-threaded environment, it will be hard to make a unit-test.
I have created this patch against the current 2.x branch in the repository. The patch to InternalLoggerRegistry should fix this issue. The change to LoggerRegistry is not required but changes the code to use best practice of not adding to a collection from Stream.forEach().
Subject: [PATCH] Fix multithreading issue
---
Index: log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerRegistry.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerRegistry.java b/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerRegistry.java
--- a/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerRegistry.java	(revision df9190834372b9d5958ae80435424ad98140d358)
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/spi/LoggerRegistry.java	(date<PHONE_NUMBER>642)
@@ -28,6 +28,8 @@
 import java.util.concurrent.locks.Lock;
 import java.util.concurrent.locks.ReadWriteLock;
 import java.util.concurrent.locks.ReentrantReadWriteLock;
+import java.util.stream.Collectors;
+
 import org.apache.logging.log4j.Logger;
 import org.apache.logging.log4j.message.MessageFactory;
 import org.apache.logging.log4j.message.ParameterizedMessageFactory;
@@ -171,19 +173,19 @@
     }

     public Collection<T> getLoggers() {
-        return getLoggers(new ArrayList<>());
-    }
-
-    public Collection<T> getLoggers(final Collection<T> destination) {
-        requireNonNull(destination, "destination");
         readLock.lock();
         try {
-            loggerByMessageFactoryByName.values().stream()
+            return loggerByMessageFactoryByName.values().stream()
                     .flatMap(loggerByMessageFactory -> loggerByMessageFactory.values().stream())
-                    .forEach(destination::add);
+                    .collect(Collectors.toList());
         } finally {
             readLock.unlock();
         }
+    }
+
+    public Collection<T> getLoggers(final Collection<T> destination) {
+        requireNonNull(destination, "destination");
+        destination.addAll(getLoggers());
         return destination;
     }

Index: log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/InternalLoggerRegistry.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/InternalLoggerRegistry.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/InternalLoggerRegistry.java
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/InternalLoggerRegistry.java	(revision df9190834372b9d5958ae80435424ad98140d358)
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/InternalLoggerRegistry.java	(date<PHONE_NUMBER>631)
@@ -20,6 +20,7 @@

 import java.lang.ref.WeakReference;
 import java.util.HashMap;
+import java.util.List;
 import java.util.Map;
 import java.util.Optional;
 import java.util.WeakHashMap;
@@ -27,6 +28,7 @@
 import java.util.concurrent.locks.ReadWriteLock;
 import java.util.concurrent.locks.ReentrantReadWriteLock;
 import java.util.function.BiFunction;
+import java.util.stream.Collectors;
 import java.util.stream.Stream;
 import org.apache.logging.log4j.core.Logger;
 import org.apache.logging.log4j.message.MessageFactory;
@@ -81,12 +83,15 @@
     public Stream<Logger> getLoggers() {
         readLock.lock();
         try {
-            return loggerRefByNameByMessageFactory.values().stream()
+            // While under lock, gather all loggers and collect into a list so that we can safely stream through that list when lock is released
+            List<Logger> result = loggerRefByNameByMessageFactory.values().stream()
                     .flatMap(loggerRefByName -> loggerRefByName.values().stream())
                     .flatMap(loggerRef -> {
                         @Nullable Logger logger = loggerRef.get();
                         return logger != null ? Stream.of(logger) : Stream.empty();
-                    });
+                    })
+                    .collect(Collectors.toList());
+            return result.stream();
         } finally {
             readLock.unlock();
         }

@tnleeuw, I guess this is a duplicate of #3234, fixed by #3235. Would you mind checking, please?

@tnleeuw, I guess this is a duplicate of #3234, fixed by #3235. Would you mind checking, please?

Yes, it is a duplicate -- I just discovered that issue 🤦
I'll check your fix.

@tnleeuw, I guess this is a duplicate of #3234, fixed by #3235. Would you mind checking, please?

I don't have a reliable production (it just randomly fails in our CI) but I looked at the code changes and based on my understanding of the problem I have confidence it fixes the issue, the change is similar to my own change that is included in the issue.
I did include one other change which is not related to the bug at hand but is a "Best Practice" when it comes to using Stream.forEach(), you may wish to look at it and include it in a separate change.

@tnleeuw,

I did include one other change which is not related to the bug at hand but is a "Best Practice" when it comes to using Stream.forEach(), you may wish to look at it and include it in a separate change.

I removed the improper use of forEach() in #3235. If you don't see other problems, I will merge it and cut a release next week.


Consider unifying traditional and future-based APIs

Currently there are two parallel APIs: The original one, and the new future-based one. I think it would be ideal if we could unify those.
One problem I see is efficiency. The stream-based API requires one additional heap allocation for every event that has a name. The reason for this are lifetime issues that probably can't be resolved, at least not in safe Rust.
I think it's best for now to keep things as they are, while keeping a look at how futures develop. Feedback is very welcome!

One thought on this would be that the current stream API takes &mut on the Inotify and does not provide a way to add additional watches. I'm working on something where I want to recursively watch a directory, and thus need to add new watches on any newly created directories. One solution would be to allow mutably borrowing an inotify from the stream, or adding functions to add/remove watches directly.
Personally I would favor adding a method to clone an Inotify. It should be safe (in a Rust sense) and the underlying representation is already friendly to this. I understand this would permit certain undesirable uses (e.g., two streams on the same inotify would each get a subset of events).
I've tried a few ways of writing this involving multiple threads, etc, which have all been clumsy. Next I want to try using select along with read_events which I think should be simpler.

Thank you for your feedback, @calmofthestorm. I'm very open to improving the situation and make your use case possible, but I think allowing users to clone Inotify would be taking it too far. It would be very error-prone, for the reasons you mention. Adding more methods to EventStream would certainly be acceptable. Maybe there could be a separate API, Watches, with add and remove methods that can be accessed both through Inotify and EventStream (e.g. inotify.watches().add(...)). Maybe it could even be possible to clone a Watches and use it anywhere.
But does creating an EventStream even prevent you from using the original Inotify instance? Inotify::event_stream takes &mut self, but the resulting EventStream doesn't keep that reference. That means it should already be possible to use an Inotify and an arbitrary number of EventStreams in parallel, which seems wrong to me.
Maybe it would be better to replace Inotify::event_stream with an into_event_stream method that consumes the Inotify, and make sure EventStream has all the methods that users need.

Thanks, I missed that the mut reference is not saved by EventStream (but I agree with your concern that this is wrong).
I like into_event_stream (and ideally a way to go back as well if it's easy to implement), along with having .watches() on both Inotify and EventStream.

Fully agreed!
I've opened https://github.com/hannobraun/inotify-rs/issues/176 and https://github.com/hannobraun/inotify-rs/issues/177 to track the improvements we talked about here. Any help in implementing them is very welcome. I don't have much time to work on this crate these days, but I'm standing by to review and merge any incoming pull requests.


kt group doesn't show consumer groups for Kafka v<IP_ADDRESS>

Hey Felix :)
We'd like to use kt group to view and manipulate offsets, however the command doesn't show any of our groups on Kafka v<IP_ADDRESS>
I've tested the exact same consumer code on Kafka <IP_ADDRESS> and in that case kt group shows the consumer groups as expected.
Note that we use sarama to create the consumer and mark offsets directly using sarama.PartitionOffsetManager.MarkOffset. We're not using sarama-cluster.
Do you know any reason why kt group wouldn't show all consumer groups for Kafka versions older than <IP_ADDRESS>?

hey Nic!
the only reason (that i remember) why kt would hide an "offset" is that it comes back as the value that indicates that it wasn't marked yet (sarama.OffsetNewest, i think?). but i'm guessing your test rules that out?
did you test with different server versions vs sarama versions?
maybe the sarama consumer needs to be configured to that particular kafka server version?
should find some time in the next days to look a bit closer, but time and internet is still a bit rare at the moment.

but i'm guessing your test rules that out?
Yup, that's not the case here.

did you test with different server versions vs sarama versions?
Tested with <IP_ADDRESS> and <IP_ADDRESS>, latest Sarama

maybe the sarama consumer needs to be configured to that particular kafka server version?
I've tried that and it doesn't make a difference unfortunately.

Interestingly I just found out today that resetting the offset works for my group, even though it doesn't appear when listing groups!

hey @nmaquet !
could you post (or email me privately) the result of
$ kt group -verbose -brokers some-broker  -topic x -group y -version v<IP_ADDRESS>
$ kt group -verbose -brokers some-broker  -topic x -group y -version v<IP_ADDRESS> -reset 23
$ kt group -verbose -brokers some-broker  -topic x -group y -version v<IP_ADDRESS>

? the commands failed for me when i didn't specify v<IP_ADDRESS>, but with a specified version i got the expected results. the -verbose flag should help by printing out the sarama logs.

hey @nmaquet again :)
i think you ran into (at least?) one of these issues:

the version has a v prefix and quietly defaulted to the latest version when it didn't recognize the supplied version.
the offset for the group/topic combination that you shared wasn't set to an explicit value from what i could see, so sarama would identify it as OffsetNewest which kt in turn decided to hide from you. the reason for hiding was that you will get the -1 offset for pretty much any group/topic combination that has no explicit value.

i addressed both in #58: kt now provides feedback on supported kafka versions and doesn't hide the -1 one offsets.
could you run go get -u github.com/fgeller/kt and test again? nb: current master also has same changes to the group commands ui, -partition is -partitions now.
closing for now - please re-open if the issue isn't resolved after an update :)


Set SonarQube project ID via API

I am trying to create a new project via API and I want to set SonarQube project ID so that I can run sonarqube API import. But I do not see any API option to set project id value.
Please help in what API needs to call to set the SonarQube project ID.

This is currently not possible it seems, you may want to try and persuade @twsagarcia to add this to the api(v2).

Hi @twsagarcia, can we make an API parameter at project creation to add SonarQube project ID?

Fixed by #2683


Spacing between rows of an array too tight

The gap between rows of an array is smaller than what TeX is producing.
KaTeX

LaTeX

This might be because line 602 of buildHTML.js should be
       let gap = arstrutDepth;
instead of
       let gap = 0;

@arnog Sounds like a good find.  Could you include the LaTeX source for testing?

Here's the code:
        let gap = 0;
        if (group.value.rowGaps[r]) {
            gap = calculateSize(group.value.rowGaps[r].value, style);
            if (gap > 0) { // \@argarraycr
                gap += arstrutDepth;
                if (depth < gap) {
                    depth = gap; // \@xargarraycr
                }
                gap = 0;
            }
        }

        outrow.height = height;
        outrow.depth = depth;
        totalHeight += height;
        outrow.pos = totalHeight;
        totalHeight += depth + gap; // \@yargarraycr
        body[r] = outrow;

I'm not sure what precise behavior is supposed to be here.

Also reported in https://github.com/Khan/KaTeX/issues/531 and https://github.com/Khan/KaTeX/issues/312.

Sorry, I should have been more explicit. Here's a simpler case demonstrating the issue.
\begin{aligned}A\\B\end{aligned}
TeX:

KaTeX

The problem is specific to the aligned environment. It turns out that because of the equation number, there's an extra gap of 3pt (by default) inserted in between the lines of an aligned environment. It's called '\jot' in the LaTeX source.

Fixed in #725


Support for minisign identity

Similar to #362 and #58 , but for https://jedisct1.github.io/minisign/ identities. I have actually just discovered and started using minisign myself, and it seems to solve the signing problem quite neatly, so it may make sense to reuse its identity model.
There is also a minisign Rust crate already available (though probably will require a closer review) (or cargo-crev could just use spawn out to the minisign binary if preferred).
Mostly I just thought I'd create this issue (in addition to the other two already mentioned) so that people can express interest in specific identities separately, which may be helpful for prioritization.

Identity is a bigger problem than just signatures. Cryptography there is the boring part. Crev tries to build a web of trust.
minisign may technically be great, but I don't see what it would bring to crev in terms of user-visible features.

Not actionable right now, it seems.


TranslationsProvider changes rendering to full client side for all the page removing all html from body (very bad for seo)

If you run i18next-example nextjs application and for example check the rendered page source code at /about, you'll see that the html source code in the body tag is something like this:
...
...

...
...

Can you provide a solution or a hint at what and why is it happening?
Thanks in advance

This is interesting. Thank you for letting us know. We'll take a look at this and get back soon.

Thank you, to be honest, i'm desperate! I'm trying to implement a new project for a customer using NextJs app router but it's a continuous source of problems and even internationalization is now delivering problems. Internationalization should be  something incredibly easy since you should be able to identify the locale you are using and provide a simple map with key-values translated...but TranslationsProvider now deletes all html...

I understand, we're taking a look now. It appears our react-intl example renders correctly if you are not partial to using i18next. In the meantime, we're currently debugging the i18next example.

Quick update here:
The issue seems to stem from the async nature of creating the i18n instance in TranslationsProvider. The reason that HTML is not rendered is because of this:
  if (!instance) {
    return null;
  }

If you replace null with some HTML element, you will see that the element is rendered in the response. So the SSG is currently working, but the page just has no content on first render.
That being said, we're working on an update to the example to remove the async nature of the component. Will report back soon.

yes i discovered the problem was with the return null but if you try to return something (it would make sense to return <>{children}</>) then you have a "flickering" effect since the page is immediately rendered as server side but the "client side" labels aren't translated and defaults appears. After a while (when the useEffect in TranslationsProvider is triggered) the labels get rendered client side but at that point you see the label rewritten.
I'd like to adopt i18next but would use react-intl even if it seems that is a bit different in code structure and i didn't understand if it works both server and client side.

We have a come up with a solution.
We're still undergoing testing, but this seems to work great. We've set it up to work more like our react-intl example so that the messages loaded in the server i18next instance are passed as props to the client i18next instance. This should not only make performance better but also solves your issue.
The apparent downside of this solution is that a new i18next instance is generated per page instead of having a global client instance that is created one time like before. But this should not be an issue because now that we're loading the resources directly from props, the instance does not have to import translations. This makes instance creation quick and cheap.
I will close this issue once we officially update our example.
i18n.ts
import { Resource, createInstance, i18n } from 'i18next';
import { initReactI18next } from 'react-i18next/initReactI18next';
import resourcesToBackend from 'i18next-resources-to-backend';
import i18nConfig from '@/i18nConfig';

export default async function initTranslations(
  locale: string,
  namespaces: string[],
  i18nInstance?: i18n,
  resources?: Resource
) {
  i18nInstance = i18nInstance || createInstance();

  i18nInstance.use(initReactI18next);

  if (!resources) {
    i18nInstance.use(
      resourcesToBackend(
        (language: string, namespace: string) =>
<EMAIL_ADDRESS>      )
    );
  }

  await i18nInstance.init({
    lng: locale,
    resources,
    fallbackLng: i18nConfig.defaultLocale,
    supportedLngs: i18nConfig.locales,
    defaultNS: namespaces[0],
    fallbackNS: namespaces[0],
    ns: namespaces,
    preload: resources ? [] : i18nConfig.locales,
    debug: true
  });

  return {
    i18n: i18nInstance,
    resources: i18nInstance.services.resourceStore.data,
    t: i18nInstance.t
  };
}

TranslationsProvider.ts
'use client';

import { I18nextProvider } from 'react-i18next';
import { ReactNode } from 'react';
import initTranslations from '@/app/i18n';
import { Resource, createInstance } from 'i18next';

export default function TranslationsProvider({
  children,
  locale,
  namespaces,
  resources
}: {
  children: ReactNode;
  locale: string;
  namespaces: string[];
  resources: Resource;
}) {
  const i18n = createInstance();

  initTranslations(locale, namespaces, i18n, resources);

  return <I18nextProvider i18n={i18n}>{children}</I18nextProvider>;
}

page.tsx
import ExampleClientComponent from '@/components/ExampleClientComponent';
import styles from './page.module.css';
import LanguageChanger from '@/components/LanguageChanger';
import Link from 'next/link';
import initTranslations from '../i18n';
import TranslationsProvider from '@/components/TranslationsProvider';

const i18nNamespaces = ['home'];

async function Home({ params: { locale } }: { params: { locale: string } }) {
  const { t, resources } = await initTranslations(locale, i18nNamespaces);

  return (
    <TranslationsProvider
      namespaces={i18nNamespaces}
      locale={locale}
      resources={resources}>

{t('header')}

        <ExampleClientComponent />
        <Link href="/about">{t('page2')}</Link>
        <LanguageChanger />

    </TranslationsProvider>
  );
}

export default Home;

Thank you very much, your code works perfectly! Now i have both client and server side localizations as expected with html seo compliant!

I did try your solution in my project and I can confirm it works.

The i18next example in the repo has now been updated with the above code. Thanks everyone for the feedback!


Where does the list of countries in ISO 3166-1 come from?

Tl;dr:  From the UN M49 codes.
But what is UN M49?  A set of 3-digit codes assigned by the UN Statistics Division which uniquely identify the following:

Individual geopolitical entities.  These are coded separately if they are in some sense separate economies.  Thus Greenland is a political dependency of Denmark, but has its own code because it is not integrated into the Danish economy: for example, it's not part of the EU.  This is also why "Taiwan, Province of China" (as it is officially called in this context) has its own code.
The ISO 3166-1 standard simply maps these country codes into 2-letter codes.   However, if a country substantially changes, its M49 code may change while its 2-letter code remains the same.
When West and East Germany merged, their numeric codes were retired, while the 2-letter country code of West Germany changed its meaning to the whole of Germany, which got a new numeric code.

Regions containing two or more countries, known as the U.N. geoscheme.  These are organized in a hierarchical scheme.  For example, 001 represents all the countries in the world, and 155 represents the countries in Western Europe, which for this purpose are precisely Austria, Belgium, France, Germany, Liechtenstein, Luxembourg, Monaco, the Netherlands, and Switzerland.
Parts of the world that are not part of any country are excluded: there is no code for the Pacific Ocean, though there is a code for Polynesia, a region of ten island nations in the Pacific.

Miscellaneous things.  There is a code for the Commonwealth of Independent States, an intergovernmental organization that contains some but not all of the countries that came into existence when the Soviet Union broke up.   Similarly, there are codes for all landlocked developing countries, all island developing countries, and all least developed countries.

Just sayin'.

Not a gist question.


Modal isn't on top of everything

The current js checks if there is any other elements with class ".modal.in" and sets the z-index to be on top of this one but if there are other elements with higher z-indexes it remains on "z-index:1".
That's the function. I would remove it and leave it using a high z-index set via CSS or check all elements and setup the z-index to be on top of all of them or at set the "highest" value to something bigger.
// Make sure it's always the top zindex
    var highest = current = 0;
    $('.modal.in').not('#'+id).each(function() {
      current = parseInt($(this).css('z-index'), 10);
      if(current > highest) {
        highest = current
      }
    });
    modal.css('z-index', parseInt(highest) + 1);

Fixed in #20


Add Android support for name parameter, addressing issue #31

This addresses issue #31 so that the name parameter behaves in Android the same as it does in the iOS implemenation, and also matches the documentation.

if name parameter is specified, send the value provided.
if name is not specified, use the value of the filename parameter instead

Previously a fixed value of image is always sent.

@guyc @PhilippKrone Still not merged ?

👍


Better error message for linarith timeouts?

This causes a forest of confusing errors and two panics when I run it, see Zulip.  Maybe there's a better error message and a way of avoiding the panics?
import Mathlib.Tactic.Linarith

example (p T m l : ℕ) (hp : 2 ≤ p) (hTp : p < T ^ 2)
    (hm1 : 1 < m) (hmp: m < p) (hmT : T ≤ m) (hl: p = m * l)
    (hl1 : 1 < l) :
    T * l ≤ m * l := by
  nlinarith

It seems that it was just very slow with the old oracle for linarith based on Fourier-Motzkin elimination. Now, the default oracle uses the Simplex Algorithm. It scales better and solves the goal in a second.


You can't know coin amount until you loot it.

As you can see in the picture below, you can't know coin amount until you loot it.

This was caused by the resource hackery. Now that it's all loading up from Texts_us.tbl, this shows correctly.

This issue was moved to ApexKO/OpenKO#35


Fix PathMarkupParser

What does the pull request do?
Fixes path data that contains extra whitespaces
What is the current behavior?
Extra whitespaces are not removes
What is the updated/expected behavior with this PR?
Extra whitespaces should get removed from the path data before parsing
How was the solution implemented (if it's not obvious)?

Checklist:

[x] Added unit tests (if possible)?

LGTM, thanks @Gillibald :smile:


fix: remove dbg

One day ago, a commit addressing issue #132 introduced a debug statement that pollutes CLI output when running just dogfood

Thanks for bringing this up. I'll also configure clippy to stop this from happening again.


Inject and use existing ZooKeeper

Must be merged together with corresponding services.xml change.

I assume this should be merged at the same time as a commit to hosted setting up the ControllerCuratorDb? If so, LGTM!

Yes, you should've received another PR.


upcoming: [M3-8398] - Generate firewall dialog

Description 📝
Implements the generate firewall dialog, which guides users through the process of generating a compliant firewall from a template.
Changes  🔄

New firewall template endpoints to api-v4 package

Add RQ hook for firewall templates

New GenerateFirewallDialog component that steps users through generating a firewall from a template

Add hook useCreateFirewallFromTemplate which exposes a script to fetch firewall templates, select a label and create the new firewall
Implement dialog in FirewallLanding and Linode create flows
Unit tests

New utility replaceNewlinesWithLineBreaks to handle rendering multi-line content from LD

Unit tests

Target release date 🗓
8/19
Preview 📷
See the internal ticket.
How to test 🧪
See the internal ticket.
As an Author I have considered 🤔
Check all that apply

[x] 👀 Doing a self review
[x] ❔ Our contribution guidelines
[x] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[x] 🔐 Removing all sensitive information from the code and PR description
[x] 🚩 Using a feature flag to protect the release
[x] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[x] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

From an UI/UX standpoint, I'm not sure how I feel about putting the buttons on the left side. I feel like they should be on the right to be consistent with our patterns.

Good point. Let me follow up with UX about this


How to increase font size ?

Hi ,
I have recently started with react native, it would be really helpful we anyone can let me know how can i increase the font size of the hours displayed on the side

Please use the theme functionality:
const myTheme = {
  typography: {
    xs: {
      fontSize: 11,
    }
  }
}

<Calendar
  height={SCREEN_HEIGHT}
  event={[]}
  mode="week"
  theme={myTheme}
/>

Thank you for the quick reply :)


haskellPackages: add hoogleLocal

The docs in hoogle.nix intend for it to be in the packageset as hoogleLocal
and that also makes a lot of sense from a user perspective.
packages is not a function HaskellPackages -> [Package], but that is good,
because that way it can be used e.g. to merge package databases from other
versions of the packageset.
Another way to do it would be: make it a function
let hoogleWith = packages: callPackage ./hoogle.nix { inherit packages; };

@peti, what do you think?

I'm pretty sure we (used to) have something like this.

I'm pretty sure we used to have something like this.

It’s the same thing, exposed to be used programmatically.

Update: I changed the implementation to
let hoogleLocal = { packages ? [] }: self.callPackage ./hoogle.nix { inherit packages; };

That way it can be overwritten without overrideCabal.


Update menu and fix editor title and hint

This PR:

Fix multiple paste and copy button showing
Fix title editor not showing
Fix paste no longer works

i still experience a crash when pasting an empty clipboard as stated here https://todo.sr.ht/~eliasnaur/gio/539


show saved idea data on click

[x] save displayed ideas as objects with IdeaID
[x] show idea text
[ ] show idea categories
[ ] show idea needed skills
[x] implement up/down vote button and functionality

[ ] show idea categories
[ ] show idea needed skills
are transferred to: save and show Tags and needed skills #15
As this isn't needed for the minimal working example

closed with commit b6361eef726f567c9258ad497b725c708de28850


Ansible playbook fails to provision the instance

I have been following along with the masterclass pdf, however im stuck installing rasa x on GCP. While runnning the script I got the following error.
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/usr/local/sbin/pip", "uninstall",
 "-y", "docker-py"], "msg": "\n:stderr: *****************************************************
***************************\nPython 2 is deprecated. Upgrade to pip3 as soon as possible.\nSe
e https://cloud.google.com/python/docs/python2-sunset\n\nTo suppress this warning, create an
empty ~/.cloudshell/no-pip-warning file.\nThe command will automatically proceed in 5 seconds
 or on any key.\n****************************************************************************
****\n/usr/local/sbin/pip: line 19: /usr/bin/pip: No such file or directory\n"}

Any help would be appreciated.

Thanks for raising this issue, @Ghostvv will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

from the message above, I think you need to install python3

Python3 was installed ok but I believe the issues are with the playbook not using pip3 instead pip

which masterclass is not working?

Chapter 9, following the ebook that is currently available on the Rasa site

hey @sinistersig, which version of Rasa X are you installing?

Just tried with 0.31.5 and it worked, the version in the book is 0.23.3


Swift interface

Decouples SWIFT from VELOCIraptor compilation. I have created a common particle interface (swift_vel_part) so that there are no dependencies with SWIFT header files.
Should also fix #19.

Fixed


Help Please

Hello.
I would like to start a new Minecraft AI project using malmo,
I do not know if it is allowed to fork and change.
Please tell me.

It looks difficult, so I give up.


Retrieve CSV from URL

Greatly enjoying the IDE for gnuplot iterations, however how do I fetch data from a URL?
For example https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/01-22-2020.csv ?
I know how it works in python roughly, but not this kernel.

See how the %%shell block magic is used in the example notebook,
https://github.com/has2k1/gnuplot_kernel/blob/master/examples/gnuplot-kernel.ipynb
.
You can use wget or curl or any other command that downloads files.
On Fri., Jul. 10, 2020, 9:54 a.m. Kai Hendry<EMAIL_ADDRESS>wrote:

Greatly enjoying the IDE for gnuplot iterations, however how do I fetch
data from a URL?
For example
https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_daily_reports/01-22-2020.csv
?
I know how it works in python roughly, but not this kernel.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/has2k1/gnuplot_kernel/issues/24, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF6QNJ4LGADTSQ5MI33RJDR223LZANCNFSM4OWJRJTA
.

Be good if you could have an example where the curl stdouts into some variable that I can plot off the bat! Thanks again!

I don't think you can download into a variable. You have to download to
file then use the file in gnuplot.
On Sat., Jul. 11, 2020, 4:17 a.m. Kai Hendry<EMAIL_ADDRESS>wrote:

Be good if you could have an example where the curl stdouts into some
variable that I can plot off the bat! Thanks again!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/has2k1/gnuplot_kernel/issues/24#issuecomment-656957674,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF6QNP3G3Y2ZQBCJLAAERLR264S5ANCNFSM4OWJRJTA
.

Yes, you're right, it needs to be in a file to be used. Thank you!


VSCode always executes the "folderOpen" task after every single task

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

VS Code Version: 1.71.0
OS Version: Windows 11 22200.856

Steps to Reproduce:

The following is tested with completely clean VSCode.
Create a directory and then create .vscode directory under.
Create settings.json with content

{
    "task.allowAutomaticTasks": "on"
}

Create tasks.json with content

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "manual",
            "type": "shell",
            "command": "echo Hello",
            "problemMatcher": [],
        },
        {
            "label": "auto",
            "type": "shell",
            "command": "echo World",
            "runOptions": {
                "runOn": "folderOpen"
            }
        }
    ]
}

Close VSCode. Reopen the root directory with VSCode. Observe that the "auto" task is executed, as expected (because it's folderOpen).
Run task "manual" manually. Observe that the "auto" task is executed at the end of every time. This behavior only happens post VSCode 1.70.

I thought "folderOpen" means run the task when the folder is open, not when another task is executed?

I believe this is already fixed, can you see if you can reproduce in the Insiders build?
/label info-needed

Same issue reproduced with
VSCode Version 1.72.0-insider (Universal)
OS: Darwin arm64 21.6.0

reproduces in insider's but not in OSS

Just tried
Version: 1.72.0-insider
Commit: 0f2de31e4856886cdbf32f85488bc40f480fb38f
Date: 2022-09-07T05:17:13.628Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22000
Sandboxed: Yes

and still repro:
Executing task: echo World

Hello
 *  Terminal will be reused by tasks, press any key to close it.

World
 *  Terminal will be reused by tasks, press any key to close it.

yep as mentioned above I can reproduce

as you see here, I thought it was fixed but it hasn't been yet https://github.com/microsoft/vscode/issues/160013#issuecomment-1239973938

to verify:
to verify, open any trusted workspace and configure a task with runOptions: { runOn: openFolder}.
run a task and verify that the automatic task that you set doesn't get run

I don't know exactly which PR fixes this, but as of 5cecbf4746a7b95dedaf9fc4534b9786b9a30ace I can verify it's no longer an issue.


Handle initial values of zero or null.

I found that when values were initialized with 0 or null, the directive wasn't parsing them.  I elected to branch this repo and set my initialized value to "0" as this is a text control typically.  This at least gives me the behavior I am looking for to even show 0 as  $0.00