Rotation doesn't update for s

Whenever a  element is rotated, it keeps its initial position for the remainder of the runtime of the program. Can't tell if this is something on my end or if transforms just haven't been finished for  elements.
Really minimal example:
open Revery;
open Revery.Core;
open Revery.UI;

let init = app => {

  let w = App.createWindow(app, "test");

  let ui = UI.create(w);

  let textHeaderStyle = Style.make(~backgroundColor=Colors.red, ~color=Colors.white, ~fontFamily="Roboto-Regular.ttf", ~fontSize=24, ~marginHorizontal=12, ());

  let smallerTextStyle = Style.make(~backgroundColor=Colors.red, ~color=Colors.white, ~fontFamily="Roboto-Regular.ttf", ~fontSize=18, ~marginVertical=24, ());

  Window.setShouldRenderCallback(w, () => true);

  Window.setRenderCallback(w, () => {
    UI.render(ui,
        <view style=(Style.make(~position=LayoutTypes.Absolute, ~bottom=50, ~top=50, ~left=50, ~right=50, ~backgroundColor=Colors.blue, ()))>
            <view style=(Style.make(~position=LayoutTypes.Absolute, ~bottom=0, ~width=10, ~height=10, ~backgroundColor=Colors.red, ())) />
            <view style=(Style.make(~width=128, ~height=64, ~transform=[RotateX(Angle.from_radians(Time.getElapsedTime()))], ())) />
            <text style=(textHeaderStyle)>"Hello World!"</text>
            <text style=(smallerTextStyle)>"Welcome to revery"</text>
            <view style=(Style.make(~width=25, ~height=25, ~backgroundColor=Colors.green, ())) />
        </view>);
  });
};

App.start(init);

Note that this is the exact same example as Bin.re, just with the  tag changed to .
(Btw thanks for this project, I've been waiting for something like this to come along for ages... would love to help out on some of the work for this library)

Hey @OhadRau ! Thanks a lot for trying it out 😄 And for providing the minimal repro - very helpful.
Just tested it, and it's indeed a bug - we weren't updating the 'ViewNode' in our scene graph when the style changes. Pushed up a fix in #74

(Btw thanks for this project, I've been waiting for something like this to come along for ages... would love to help out on some of the work for this library)

That would be great, I could definitely use help! Let me know if there is a particular aspect you're interested in or if you need any help getting going.

Awesome, thank you for the quick fix :) I was just messing around making some of the demos with open issues to get to know the library for now (I have a working wall clock @ https://github.com/OhadRau/revery/blob/master/examples/Clock.re but it's implemented super weirdly since rotations always anchor at the center). I'd be happy to try adding some features though, I might try to tackle anchor points with a PR (although idk what kind of API you'd want to have for that).


Add icons in GUI

Closes: #32

Change layout of browser to make difference between different buttons with same icon more clear
Also add the icons and use them in the code

Code base of branch was outdated


RangeError: Maximum call stack size exceeded

Note: this is the technical bug tracker, please use other platforms for getting support and starting a (non technical) discussion. See the getting help page for details.
I'm submitting a ...
[x ] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
Ran gekko CLI using a historySize of 42750
Expected result (what you hoped would happen)
gekko would run normaly
Actual result (unexpected outcome)
RangeError: Maximum call stack size exceeded
at Actor.emit (events.js:140:44)
at Actor.bound [as emit] (C:\Users\Shrike\Desktop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at Actor.GekkoEventEmitter.broadcastDeferredEmit (C:\Users\Shrike\Desktop\gekko-develop\core\emitter.js:30:8)
at Actor.bound [as broadcastDeferredEmit] (C:\Users\Shrike\Desktop\gekko-develop\node_modules\lodash\dist\lodash.js:729:21)
at _.find.producer (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:82:26)
at Function.find (C:\Users\Shrike\Desktop\gekko-develop\node_modules\lodash\dist\lodash.js:3217:15)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:80:25)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
at Gekko.flushDefferedEvents (C:\Users\Shrike\Desktop\gekko-develop\core\gekkoStream.js:89:10)
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

UP


Apply blocked content at channel level

If a signed channel matches an outpoint in the blocked list, also block the content.

Without this, we show related content / search results for blocked content. A few users have been noticing it.

pushed this change, should be live in a few minutes.


Add schedule to website

1/23
	9:00am - 11:30am Registration
	11:15am - 11:45am Opening Ceremony
	12:00pm Hacking Begins
	12:15pm Lunch (Chick Fil A)
	** 12:45pm Lightning Talk #1 Ben Diuguid

** 1:45pm Lightning Talk #2 Cassidy Williams
** 2:45pm Lightning Talk #3 Nick Tardif
** 3:00pm Scavenger Hunt
** 3:45pm Lightning Talk #4 Jake Panikulam
** 4:45pm Lightning Talk #5 ????
6:00pm Dinner (Adams Rib Co)
** 8:00pm Hackerrank Competition
1/24
12:00am Midnight Snack (Pizza)
** 3:00am Cup Stacking
** 6:00am Yoga
7:00am Breakfast (Donuts + Bagels + Coffee)
11:00am Lunch (Pub Subs)
12:00pm Hacking Ends
12:30pm-3:30pm Expo
3:45-4:30pm Closing Ceremony

[x] Added schedule section html
Now have to figure out the design


Ensure tombstones created before kubexit started are read

fixes #8
This commit changes the Watch function inside the tombstone package to also emit an initial event besides the fsnotify events. This initial event is called immediatly when Watch is called and the watcher has been setup.
This change allows kubexit to detect tombstones written before kubexit was started. This prevents possible race conditions as described by #8.
In order for this change to work, the tombstone.EventHandler type was changed. It now requires a function with 3 arguments: The graveyard, the tombstone and the operation instead of an fsnotify.Event. Reason being that the initial event is not an fsnotify.Event. The functions implementing a tombstone.EventHandler are changed accordingly.
This change on its own introduces a new bug where the tombstone is written as part of an initial event, but the child process will still start because child.Start() is being called after the watcher has been setup. To overcome this issue, the shutdown state of the child is tracked in a new flag, which is set if ShutdownNow() or ShutdownWithTimeout() is executed.

Thanks for the bug report, but I think this refactor is probably unnecessary. It's probably cleaner to just trigger the event handler with a fake create event, since the struct, type, and constants are public. https://github.com/fsnotify/fsnotify/blob/master/fsnotify.go#L16-L32
files, err := ioutil.ReadDir(graveyard)
if err != nil {
	return fmt.Errorf("failed to read graveyard dir: %v", err)
}

for _, f := range files {
	event := fsnotify.Event{
		Name:	filepath.Join(graveyard, f.Name())
		Op:		fsnotify.Create,
	}
	eventHandler(event)
}

Superseded by #10


Expectation of logical circuit over a probabilistic circuits

Assuming smooth structured logical circuit with same vtree as the probablilistic circuits.

Given Logical Formula, and a probabilistic circuit (pc, vtree)
Compile it to a logical circuit with the same vtree
Compute Expectation of logical circuit w.r.t. the pc.

For general usecase waiting on:
https://github.com/Juice-jl/LogicCircuits.jl/issues/43


Allow Commands to create-or-update an Aggegate

At the moment, the Repository only provides a load or createNew option. There is no way to detect the existence of an Aggregate. Ideally, Axon would allow for an atomic update-or-create operation. It would return the Aggregate instance, either loaded from the repository, or newly created using a given factory method. The resulting Aggregate is either inserted or updated when the unit of Work is commited.
Currently, within an Annotated Aggregate only static factory methods can be used to create new aggregate instances. However, they both share a challenge API-wise: Axon only has access to the instance created after the method completes. Furthermore, they don’t allow for create-or-update semantics.
The solution would be to provide an annotation or attribute on the existing @CommandHandler annotation to mark a handler as a factory handler. This could also indicate whether it should always create a new instance, or just ‘if-none-exists’.
This will also resolve some issues when applying multiple events in an aggregate’s constructor, or when using a Spring based AggregateFactory to inject dependencies.

Would be great to have this feature! This is a very common scenario I came along. There are two flavors of this:

create if not existing (send creation command if not present in the event store)
create if not existing or update if already existing ( send creation command if not present or send update command if present)

It would be great to combine these two: Only one command that creates an aggregate or updates it if present.

Closing as this issue has been resolved in pull request #1281.

Hi! Didn't find exact info. Will new feature work if we are using mongoEventStore instead of Repositry implementation?

The selection of the MongoEventStorageEngine should not impose any restrictions when it comes to the aggregate Repository being used. Hence, I would assume it works fine.


Snowalbedo (IPCC AR5 fig. 9.45a)

Porting diagnostic for snowalbedo from v1.1 to v2.0 (IPCC AR5 fig. 9.45a).
Branch: version2_snowalbedo

Diagnostic is already merged, simply forgot to close this issue.


added mo_gaal and so_gaal

Pull Request Test Coverage Report for Build 459

323 of 334 (96.71%)  changed or added relevant lines in 4 files are covered.
63 unchanged lines in 10 files lost coverage.
Overall coverage increased (+2.7%) to 95.307%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyod/test/test_mo_gaal.py
73
74
98.65%

pyod/test/test_so_gaal.py
69
70
98.57%

pyod/models/so_gaal.py
79
83
95.18%

pyod/models/mo_gaal.py
102
107
95.33%

Files with Coverage Reduction
New Missed Lines
%

pyod/models/ocsvm.py
1
97.67%

pyod/models/lof.py
1
97.06%

pyod/models/xgbod.py
2
98.53%

pyod/utils/utility.py
5
93.33%

pyod/models/base.py
5
96.03%

pyod/models/pca.py
6
90.16%

pyod/test/test_utility.py
7
96.3%

pyod/models/sos.py
8
85.06%

pyod/models/lscp.py
8
92.38%

pyod/models/feature_bagging.py
20
81.88%

Totals

Change from base Build 431:
2.7%

Covered Lines:
3493

Relevant Lines:
3665

💛  - Coveralls


Flappy_Bird_Game

Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
Fixes #915
#915
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

This pull is for #915 issue no plss review it


Allow Server Configuration Setup for different/multiple projects

The current setup doesn't allow for a setup for a different project. The message says Configuration already exists

The expected behaviour is considering duplication only when the Project name is the same but not other elements (such as the Site Name)

This seems to be a duplicate issue: https://github.com/onaio/zebra/issues/6859


javascript autocomplete gives random(4.)

In Javascript mode, when using autocompletion/intellisense, Math.random uses default (4.) where the period is weird. Dragging in the code from the menu gives (4) as default.
(Happens no matter which language the editor is set to.)

Issue is only on v0.
There's an extra full stop after the eg on this line: https://github.com/Microsoft/pxt/blob/v0/libs/pxt-common/pxt-core.d.ts#L297
Fix is to remove the dot.

Fixed in beta


Remove the need for the happy bubbles server

Remove the need for the happy bubbles server (let HA do it without the presence server)

stopped using Happy Bubbles in place of Meraki device tracker


Fail to run example execution

Dear developer,
I installed virify via singularity but I failed to run the example execution with the command below:
./nextflow run EBI-Metagenomics/emg-viral-pipeline -r v0.4.0 --fasta "/home/$USER/.nextflow/assets/EBI-Metagenomics/emg-vira                                                                                l-pipeline/nextflow/test/assembly.fasta" --cores 4 -profile local,singularity

Note: I just change the -profile local, docker to -profile local, singularity

Error message:
N E X T F L O W  ~  version 22.10.6
Launching `https://github.com/EBI-Metagenomics/emg-viral-pipeline` [distraught_c                                                                                uvier] DSL2 - revision: f367002f0e [v0.4.0]

Profile: local,singularity

Current User: chong
Nextflow-version: 22.10.6
Starting time: 23-01-2023 23:20 UTC
Workdir location:
  /home/chong/primal/work
Databases location:
  nextflow-autodownload-databases

Dev ViPhOG database: v3
Dev Meta database: v2

Only run annotation: false

executor >  local (11)
[e4/6fad74] process > download_pprmeta:pprmetaGet          [100%] 1 of 1 ✔
[23/ee582f] process > download_virsorter_db:virsorterGetDB [  0%] 0 of 1
[7e/2dc2ed] process > download_virfinder_db:virfinderGetDB [100%] 1 of 1 ✔
[09/8fb736] process > download_model_meta:metaGetDB        [100%] 1 of 1 ✔
[60/dfb92e] process > download_viphog_db:viphogGetDB       [  0%] 0 of 1
[7d/06e34c] process > download_ncbi_db:ncbiGetDB           [100%] 1 of 1 ✔
[b9/32d3d7] process > download_checkv_db:checkvGetDB       [  0%] 0 of 1
[19/d88800] process > preprocess:rename (1)                [100%] 1 of 1 ✔
[66/41ecc6] process > preprocess:length_filtering (1)      [100%] 1 of 1 ✔
[-        ] process > detect:virsorter                     -
[a8/c43d73] process > detect:virfinder (1)                 [100%] 1 of 1 ✔
[2c/1d1535] process > detect:pprmeta (1)                   [  0%] 0 of 1
executor >  local (11)
[e4/6fad74] process > download_pprmeta:pprmetaGet          [100%] 1 of 1 ✔
[-        ] process > download_virsorter_db:virsorterGetDB -
[7e/2dc2ed] process > download_virfinder_db:virfinderGetDB [100%] 1 of 1 ✔
[09/8fb736] process > download_model_meta:metaGetDB        [100%] 1 of 1 ✔
[-        ] process > download_viphog_db:viphogGetDB       -
[7d/06e34c] process > download_ncbi_db:ncbiGetDB           [100%] 1 of 1 ✔
[-        ] process > download_checkv_db:checkvGetDB       -
[19/d88800] process > preprocess:rename (1)                [100%] 1 of 1 ✔
[66/41ecc6] process > preprocess:length_filtering (1)      [100%] 1 of 1 ✔
[-        ] process > detect:virsorter                     -
[a8/c43d73] process > detect:virfinder (1)                 [100%] 1 of 1 ✔
[2c/1d1535] process > detect:pprmeta (1)                   [100%] 1 of 1, failed: 1 ✘
[-        ] process > detect:parse                         -
[-        ] process > postprocess:restore                  -
[-        ] process > annotate:prodigal                    -
[-        ] process > annotate:hmmscan_viphogs             -
[-        ] process > annotate:hmm_postprocessing          -
[-        ] process > annotate:ratio_evalue                -
[-        ] process > annotate:annotation                  -
[-        ] process > annotate:plot_contig_map             -
[-        ] process > annotate:assign                      -
[-        ] process > annotate:checkV                      -
[-        ] process > plot:generate_krona_table            -
[-        ] process > plot:krona                           -
[-        ] process > plot:generate_sankey_table           -
[-        ] process > plot:sankey                          -
Error executing process > 'detect:pprmeta (1)'

Caused by:
  Process `detect:pprmeta (1)` terminated with an error exit status (255)

Command executed:

  [ -d "pprmeta" ] && cp pprmeta/* .
  ./PPR_Meta assembly_renamed_filt1500bp.fasta assembly_pprmeta.csv

Command exit status:
  255

Command output:

  Using TensorFlow backend.
  Illegal instruction (core dumped)
  python predict.py model_a.h5: Illegal instruction

Command error:
  INFO:    Converting SIF file to temporary sandbox...
  WARNING: underlay of /etc/localtime required more than 50 (94) bind mounts

  Using TensorFlow backend.
  Illegal instruction (core dumped)
  python predict.py model_a.h5: Illegal instruction
  Error using dlmread (line 62)
  The file 'tmp/predict.csv' could not be opened because: No such file or directory

  Error in PPR (line 96)

  Error in PPR_Meta (line 49)

  MATLAB:dlmread:FileNotOpened
  INFO:    Cleaning up image...

Work dir:
  /home/chong/primal/work/2c/1d153586b94115460798aa673604d2

Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`

I noticed that there is no tmp folder, which showcased this error: The file 'tmp/predict.csv' could not be opened because: No such file or directory
Do you have any suggestions to tackle this issue?
Best regards,
Chong

Hey @ChongLC , thanks for using the pipeline.
Something seems wrong with PPR-Meta.
Did you look for the tmp folder in here /home/chong/primal/work/2c/1d153586b94115460798aa673604d2 ?
In this folder, you should also finde a .command.log that might have more information.
For troubleshooting, it would be interesting to see if the tool and the singularity container work on your system. The pipeline should have downloaded the singularity image to a folder singularity. And the code base to a nextflow-autodownload-databases folder. You can use the singularity image via
singularity exec <image-path>
And then navigate to the pprmeta folder in the database folder and try
./PPR_Meta --help
I can't test it ATM, so the commands might be slightly different.
Maybe it also helps to remove the pprmeta singularity image and let the pipeline pull it again.
However, I am afraid there is something else clashing with your system configuration but it's hard to tell.
Could you also try Docker?

Dear developer,
Yes, I checked from the tmp folder in /home/chong/primal/work/2c/1d153586b94115460798aa673604d2. There is only file1.fna.
I have checked the .command.log. Below is the message in the command log file:
INFO:    Converting SIF file to temporary sandbox...
WARNING: underlay of /etc/localtime required more than 50 (94) bind mounts

Using TensorFlow backend.
Illegal instruction (core dumped)
python /home/chong/primal/work/2c/1d153586b94115460798aa673604d2/predict.py /home/chong/primal/work/2c/1d153586b94115460798aa673604d2/model_a.h5: Illegal instruction
Error using dlmread (line 62)
The file '/home/chong/primal/work/2c/1d153586b94115460798aa673604d2/tmp/predict.csv' could not be opened because: No such file or directory

Error in PPR (line 96)

Error in PPR_Meta (line 49)

MATLAB:dlmread:FileNotOpened
INFO:    Cleaning up image...

Dear @hoelzer,
It is a bit hard for me to use docker on this shared machine. So, it will be great if I can find out a solution for the singularity approach.
Looking forward to hearing from you. Thank you.
Best regards,
Chong

Hey @ChongLC , okay I think then you should first try if you get PPR-Meta running in general on your system.
See:
https://github.com/zhenchengfang/PPR-Meta
Here you can also see some details how colleagues installed all the necessary dependencies for PPR-Meta in a Docker container:
https://github.com/replikation/What_the_Phage/blob/master/phage-tool-Dockerfiles/PPR-Meta/Dockerfile
You could use that to set-up an Conda environment, I think, and then try if PPR-Meta works for you or if any system dependencies are missing. If so, we might be able to also add them to the container and then you can use the pipeline.

Hi @hoelzer,
Thank you for the reply. Interestingly, I tried to install virify on another shared machine. It works perfectly and tried the first run with my own dataset.
I am not sure if should I just close this issue. I may need some time to check on the installation issue in the first machine. Please feel free to close this issue if necessary.
Best regards,
Chong

Hey @ChongLC great! Okay, I think there is some issue with the machine configuration where VIRify failed. As it will be challenging to investigate, I will close the issue. But please feel free to report/reopen if you discover anything to share.


Integrate with CI

Investigate and find out which the DfE's favoured CI provider is and integrate. It used to be Travis but I'm not sure what's recommended now. The CI should run both the lint and the specs.
Don't forget to add the green badges to the README.md!

I've made a request to the owner of the DfE Digital account, hopefully someone will respond 🤔

This is done, Travis is building successfully 👷🏻♀


Think about whether and how to add support for multiple logs within the same deployment in Terraform

(I'm talking about this in the context of GCP deployments here, but it probably applies to at least other Cloudy infras and perhaps MySQL too).
Currently, we have a terraform module for creating the services required to deploy a log built with Tessera on GCP, and then other tf modules which build on that to add instances of logs too (e.g. conformance testing).
Given that e.g. a Spanner instance costs money (since you have to spring for at least 100 PU), it would be nice to be able to bin-pack a bunch of logs together and have them share resources. Examples where this may be useful are:

a number of low-throughput logs, where each uses << 100 PU for sequencing
a time sharded log (e.g. CT) where successive shards might share the spanner instance since load will mostly shift towards subsequent shards over time, but some number of recent-ish shards may remain "open" to writes to collect stragglers.

One way to accomplish this would be to have another tf module, so we'd have:

an environment module which creates Tessera-specific resources which can be shared (so Spanner, perhaps service account, KMS, etc.) under some name e.g. prod-eu1
an instance module which creates the Tessera-specific per-log resources (e.g., Spanner DB, Bucket, Key, etc.) under some log name (e.g. argon2024) and within a specific environment (e.g. `prod-eu1).

Module (1) would be used manually as a "one-off" operation to create an env, and consumers of Tessera might then have their own terraform config which builds on (2) and deploys their binary configured to point at the appropriate log-specific resources within that env.
Arranging like this would also allow operators to safely turn-down and delete specific logs via terraform, leaving the environment and any other logs it contains untouched.

Yes


API: support batch write

openraft::raft::RaftMsg::ClientWriteRequest:
Change rpc to a Vec to contain more than one client request:

    ClientWriteRequest {
        rpc: ClientWriteRequest<D>,
        tx: RaftRespTx<ClientWriteResponse<R>, ClientWriteError>,
    },

Update API client_write() to support submitting more than one log at a time.

Considerations:

Is it legal to have zero-length Vec in a ClientWriteRequest? If it is legal, maybe it has to be dealt with: because it does actually append any log, and a reply should be sendt to tx at once.
tx is sent only when the last log in rpc is applied. Or there should be a tx for every ClientWriteRequest<D>?

/assignme

Just a note: please no Vec<T>. We need to get rid of them in all places in favor of something zero-cost, like impl IntoIterator<T> or similar, since a Vec is just an unnecessary memory allocation.
I personally dislike Vec, String and similar, since these allocations are variable-sized. This is in general causing fragmentation in the memory manager, which leads to slowdowns and sooner or later to out-of-memory errors due to excessive fragmentation. Having written a memory manager for an in-memory database (in C++), I had my share of problems in this respect :-).

@schreter
The rpc is a field of the following enum. Does It have to have another generic type argument if we use the trait IntoIterator<T> to describe the type of rpc?
pub(crate) enum RaftMsg<D: AppData, R: AppDataResponse> {
    ...
    ClientWriteRequest {
        rpc: ClientWriteRequest<D>,
        tx: RaftRespTx<ClientWriteResponse<R>, ClientWriteError>,
    },

Just a note: please no Vec<T>. We need to get rid of them in all places in favor of something zero-cost, like impl IntoIterator<T> or similar, since a Vec is just an unnecessary memory allocation.

If it is possible to use some generic type, why not just use impl Iterator<T>?

I personally dislike Vec, String and similar, since these allocations are variable-sized. This is in general causing fragmentation in the memory manager, which leads to slowdowns and sooner or later to out-of-memory errors due to excessive fragmentation. Having written a memory manager for an in-memory database (in C++), I had my share of problems in this respect :-).

:DD

Does It have to have another generic type argument if we use the trait IntoIterator to describe the type of rpc?

You are right, it is not optimal to do it now. After the refactoring of the generics to a single config type it will be much easier.


No recent (<98 days) data for Hong Kong

(1) Hong Kong seems to be defined twice: as a country and as a China sub region.
(2) Neither has fresh data:
SELECT
  date, new_confirmed, new_deceased, cumulative_confirmed, cumulative_deceased
FROM
  `bigquery-public-data.covid19_open_data.covid19_open_data`
WHERE
  country_code = "HK"
ORDER BY
  date DESC
LIMIT 100

returns only null, while
SELECT
  date, new_confirmed, new_deceased, cumulative_confirmed, cumulative_deceased
FROM
  `bigquery-public-data.covid19_open_data.covid19_open_data`
WHERE
  location_key = "CN_HK"
ORDER BY
  date DESC
LIMIT 100

returns null for any date > 2020-07-13

Thanks for reporting this, let me take a look and see what could be the issue.

We have removed the duplicate entries for HK and TW and fixed the data source. The data should now be up to date!

Thanks for the quick fix!


Add recent files list

Would be nice to have a recent files list in NeFS Edit.
Two possibilities:

Add a "Recent" item in the "File" menu.
Add a list of recent files in the open file dialog (under the NeFS file text box).

The recent file list can be stored in the application settings file (see Settings.cs and SettingsService.cs).

Added in 0.6.0


PHP Client library

Proposing the buildkite-php library to be added to the list of available clients

Thanks for taking the time to PR @bbaga! 🙏🏻 And thanks for adding the library in the first place too 😄


[Question]: How to use a different animation when swiping in the gallery

Summary
Thank you for this amazing library.
Is it possible to use a different animation when swiping between images in the Gallery component? If not, is it possible to remove it all together?

Hi and thank you 👋!
At the moment that's the only animation supported and can not be changed, however there are plans to support a basic "no animation" mode (a slider) as well as vertical mode.

Just release version 2.0.1, slider mode is now the default and you can build your own scroll animation if you have the knowledge to do so.


the resolved migration which is missing make subsequent migrations fail

Bug Description
the resolved migration which is missing make subsequent migrations fail
Minimal Reproduction
I create a migration by sqlx-cli and initialized migration
sqlx migrate add init -r

write down create schema command in migration/xxx.init.up.sql
CREATE SCHEMA rxxx;

write down create schema command in migration/xxx.init.down.sql
DROP SCHEMA rxxx CASCADE;

then I run migrations
sqlx migrate run

then I deleted migration/*.sql and retry to generate migration
sqlx migrate add init -r

then i run migrate and it pop a error
sqlx migrate run

error: migration<PHONE_NUMBER>4825 was previously applied but is missing in the resolved migrations

I found connected database has a table named _sqlx_migrations  which exist a record version equal filename time which I deleted migration sql file
I need to delete record can fix it.
I think it's not easy to find error if you don't check sqlx code. Maybe this is a bug
Info

SQLx version:  0.6.2
SQLx features enabled: ["chrono", "postgres", "runtime-tokio-rustls", "uuid"] }
Database server and version:  Postgres  15.1
Operating system: <IP_ADDRESS>-microsoft-standard-WSL2  Ubuntu
rustc --version: 1.65 stable

Can confirm it's still the case today. Thanks for the table name hint.
delete from _sqlx_migrations where 1=1;


Facebook Messenger App crash Flutter webview in Android

I have Shopify website. It uses Facebook Messenger App for customer chatting.
Later on, I build Android and iOS app using Flutter Webview.
But in Android App, Chat in Messenger option crashes app with error message while iOS App works properly with FB Messenger even in browser like Chrome.
Error message is
ERR_UNKONW_URL_SCHEME
Code
class _WebviewDemoState extends State<WebviewDemo> {
  final Completer<WebViewController> _controller = Completer<WebViewController>();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Colors.black,
        title: Text('AgapetMall'),
        actions: <Widget>[
          NavigationControls(_controller.future)
        ],
      ),
      body: Builder(
        builder: (BuildContext context) {
          return WebView(
            initialUrl: 'https://agapetmall.com',
            javascriptMode: JavascriptMode.unrestricted,
            onWebViewCreated: (WebViewController webViewController) {
              _controller.complete(webViewController);
            },
          );
        },
      ),
    );
  }
}

Screenshot

Logs
[  +27 ms] executing: [/Users/gim-yusin/Developer/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +42 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 0b8abb4724aa590dd0f429683339b1e045a1594d
[        ] executing: [/Users/gim-yusin/Developer/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +15 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.13+hotfix.8-0-g0b8abb4724
[   +7 ms] executing: [/Users/gim-yusin/Developer/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/gim-yusin/Developer/flutter/] git ls-remote --get-url origin
[   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +54 ms] executing: [/Users/gim-yusin/Developer/flutter/] git rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +16 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +17 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.15.7
[        ] executing: sw_vers -buildVersion
[  +18 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 19H2
[  +29 ms] executing: /usr/bin/xcode-select --print-path
[   +7 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +147 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +3 ms] Xcode 12.0
           Build version 12A7209
[  +59 ms] executing: /Users/gim-yusin/Library/Android/sdk/platform-tools/adb devices -l
[   +8 ms] Exit code 0 from: /Users/gim-yusin/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
[  +17 ms] executing: /Users/gim-yusin/Developer/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +59 ms] /usr/bin/xcrun simctl list --json devices
[ +127 ms] No supported devices connected.
[  +12 ms] "flutter run" took 539ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:289:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:590:11)
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:515:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#5      _rootRun (dart:async/zone.dart:1126:13)
#6      _CustomZone.run (dart:async/zone.dart:1023:19)
#7      _runZoned (dart:async/zone.dart:1518:10)
#8      runZoned (dart:async/zone.dart:1465:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#14     _rootRun (dart:async/zone.dart:1126:13)
#15     _CustomZone.run (dart:async/zone.dart:1023:19)
#16     _runZoned (dart:async/zone.dart:1518:10)
#17     runZoned (dart:async/zone.dart:1465:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
#24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
#25     _rootRun (dart:async/zone.dart:1126:13)
#26     _CustomZone.run (dart:async/zone.dart:1023:19)
#27     _runZoned (dart:async/zone.dart:1518:10)
#28     runZoned (dart:async/zone.dart:1502:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#31     _rootRun (dart:async/zone.dart:1126:13)
#32     _CustomZone.run (dart:async/zone.dart:1023:19)
#33     _runZoned (dart:async/zone.dart:1518:10)
#34     runZoned (dart:async/zone.dart:1465:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)
#39     main (file:///Users/gim-yusin/Developer/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

flutter doctor -v
[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Mac OS X 10.15.7 19H2, locale ko-PH)
    • Flutter version 1.12.13+hotfix.8 at /Users/gim-yusin/Developer/flutter
    • Framework revision 0b8abb4724 (8 months ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/gim-yusin/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-30, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    • CocoaPods version 1.9.2

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[!] Connected device
    ! No devices available

@agapetmall
You seem to be on very old version of Flutter. Please upgrade to latest Stable and use latest webview_flutter plugin, try again and see if it works.
If problem persists, please provide a minimal complete reproducible code sample that we can copy paste and run in IDE to see the issue.
Thanks.

Thank you for the suggestions! I did not notice that I was using old Flutter.
Now I upgrade to Flutter 1.20.4 and webview_flutter: ^0.3.24.
But still same problem.
Here is code I tried.
`import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
import 'dart:async';
class WebviewDemo extends StatefulWidget {
final String title;
WebviewDemo({Key key, this.title}) : super(key: key);
@override
_WebviewDemoState createState() => _WebviewDemoState();
}
class _WebviewDemoState extends State {
final Completer _controller = Completer();
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Colors.black,
title: Text('AgapetMall'),
actions: [
NavigationControls(_controller.future)
],
),
body: Builder(
builder: (BuildContext context) {
return WebView(
initialUrl: 'https://agapetmall.com',
javascriptMode: JavascriptMode.unrestricted,
onWebViewCreated: (WebViewController webViewController) {
_controller.complete(webViewController);
},
);
},
),
);
}
}
class NavigationControls extends StatelessWidget {
const NavigationControls(this._webViewControllerFuture);
final Future _webViewControllerFuture;
@override
Widget build(BuildContext context) {
return FutureBuilder(
future: _webViewControllerFuture,
builder:
(BuildContext context, AsyncSnapshot snapshot) {
final bool webViewReady =
snapshot.connectionState == ConnectionState.done;
final WebViewController controller = snapshot.data;
return Row(
children: [
IconButton(
icon: const Icon(Icons.arrow_back_ios),
onPressed: !webViewReady
? null
: () async {
if (await controller.canGoBack()) {
controller.goBack();
} else {
Scaffold.of(context).showSnackBar(const SnackBar(
content: Text('No Back History Item')));
}
},
),
IconButton(
icon: const Icon(Icons.arrow_forward_ios),
onPressed: !webViewReady
? null
: () async {
if (await controller.canGoForward()) {
controller.goForward();
} else {
Scaffold.of(context).showSnackBar(const SnackBar(
content: Text('No Forward History Item')));
}
},
),
IconButton(
icon: const Icon(Icons.refresh),
onPressed: !webViewReady
? null
: () async {
controller.reload();
},
)
],
);
},
);
}
}
`

@agapetmall
The URL doesn't seem to be a valid one, because it should either start with http or https:\\ to be redirected to, but I see something like below:

The url opens properly by the plugin, but when it encounters above invalid url, it throws the exception which is correct, because it looks for a correctly formated url which isn't the case.
Please see https://flutter.dev/community for resources.
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

the initialUrl is initialUrl: 'https://agapetmall.com',
in iOS, it works well. thats what I dont understand with Android.

and I finally decide to replace Facebook Messenger app to other Live Chat app. It works well since it just operate in the page. Thanks!

This will solve your issue- https://stackoverflow.com/questions/62451334/flutter-err-unkown-url-scheme-when-opening-facebook-messenger


Feature: nvim-dap process id picker

Have you RTFM'd?

[X] I have done proper research

Feature Request
Default require'dap.utils'.pick_process is basically unusable. In here I've some nice picker (probably telescope) for this function. Since there are already a few dap pickers, I though if there could be another one added.

Hi @JosefLitos, I agree this is something that’s needed, in fact I have created one for myself in my own config:
https://github.com/ibhagwan/nvim-lua/blob/68d04e8ecdb03ef9f4bd23c0fb30d204a2fa4bf2/lua/utils.lua#L473-L504
That said I do not wish to maintain a generic one for fzf-lua, process pickers is an endless robot hole with filters  (name, user, root, children, etc) and endless formatting preferences (just look at ps), on top of that it would have to account for cross platform and Windows.

I will look into it, thank you.


Added feature for helping user to bring required things according to weather.

@0904-mansi please, fix merge conflicts when you can. I know it is pretty too early for you now.

@0904-mansi please, fix merge conflicts when you can. I know it is pretty too early for you now.

Sorry for the inconvenience. I removed the conflicts.

LGTM. @Bhawna1203, @norachams can we have one of you test the change before it gets merged?

Just tested it. It looks good!


Multiregional compute instances reading regional gs://

Hello -
Currently, dockerflow by default, launches instances across us-* zones. If I have gs:// bucket that is regional, let's say, us-east1-b and a compute instance running on west coast is accessing this bucket. Would I incur egress charges in such case?
Thank you,
Mahesh

It follows standard GCS pricing, so VMs out of the region incur egress charges. I suggest changing to us-east*.

Good to know! Thanks, @jbingham 👍


Author is alive?

Not sure, project seems abandoned

On GitHub author is still active: https://github.com/matcornic

I forked this project to revive it. I added multi table support, intro and outro markdown/unsafe HTML among a few other notable things. The singular table is deprecated, but has backwards compatibility to not break anyone using it. See https://github.com/go-hermes/hermes
Oh, I also bumped the go version to 1.22 and implemented the use of static FS so we can break the template files out. Future implementation may include custom theming and injectable css styles. Only notable injectable is the email body width overrides.

I added custom styles support, HTML in tables and the data dictionary elements, and documented how to implement a custom theme.

Awesome


Automated cherry pick of #7451

Cherry pick of #7451 on release-5.32.
/cc  @devinbinnie

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 91dc63fe85fc2b4dfad09d1740516a51155ae12c


WIP: Containerized secret server

Depends on #94
Resolves #95
If anyone is interested in reviewing this, please see commits only added on top of the dependency.
Goals
In nutshell, I'll address the following items in this PR:

[ ] A new command habitus server to be run inside a container to serve the secret API in a specific docker network
[ ] An alternative api.Server impl which delegates actual execution of the secret API server to docker run
[ ] A flag -containerize-api-server which enables the containerized secret server(and on the other hand disables the traditional, embedded secret server)
[ ] A docker image for habitus.

Synopsis
Either of the followings:

habitus --containerize-api-server
docker run --network mynetwork cloud66/habitus:v1.x.x habitus server -foo -bar to run the secret server in the docker network named mynetwork and then habitus --network mynetwork to run a habitus build inside the network.

Random notes on design and implementation

[ ] A flag like -server-timeout=600s to instruct the secret server container to suicide after 10min would be helpful to not leave the secret server running, which introduces an extra chance of secret breach.

Can it not be achieved by running a secondary process inside of the same container instead of a separate container? That way the secret server will only be available as the local loop (<IP_ADDRESS>) and not to the outside world in any form.
My concern is from 2 aspects:

Requirement to run the side container all the time since we're delegating the old way of serving secrets to another container which is going to make running Habitus more involved.
Concerns over security when run in a shared hosting environment like CircleCI when the daemon setup is not clear to the end user and it is possible that the secret server is made available to more than just the builder.

@khash Thank you so much for review comments!
Your concerns sounds very valid to me. On the other hand, I'm sure if there's any better alternative than my suggested design.

Can it not be achieved by running a secondary process inside of the same container instead of a separate container?

I wish we could! We don't have a way to actually achieve that - docker doesn't allow us to inject an additional "sidecar" process along with its binary to the build container created implicitly via docker build.
Ideally, it would be possible if docker provided an abstraction like a set of (side)containers sharing the loopback i/f like Kubernetes pods. However, in current docker it would be best emulated with a secret server container plus a build container sharing a docker network, probably?

@mumoshu can we make this not merge into master as we want to be able to follow these rule with the branches:

Master should always be the latest release
Dev should always be releasable.

@khash Sure! Please leave this PR not merged until I finish it, if that's what you meant.
I had been quite busy for 2 weeks but hopefully I could continue the work soon.

Sure. No problem. Thanks for letting me know.


Adding support for CockroachDB to the minikube setup

Closes to #142

Hi @kami619 - this is a rather draft PR, still it worked locally for me.
To test this, add
KC_DATABASE=cockroach
KC_STORAGE=jpa

to an .env-File or use the CLI parameters of the task command and run
Keycloak should start and populate the database and start as normal. It will be a bit slower than regular PostgreSQL if should want to run a performance test.
If something is missing, feel free to create a new PR, or just leave it until I have the time to fix what you find.

I can bring up cockroach db with this setup and could see the schema being populated with the new map storage tables.

I will do some quick tests and merge it or keep it open if something big is breaking ! thanks for the quick turn around on this @ahus1


Update test migrations with new Application data

The Application data in the Wiremock repo was outdated. This was fixed in the repo (https://github.com/ministryofjustice/hmpps-community-accommodation-wiremock/pull/15) but we forgot to update the migrations

that's this command, right?
https://github.com/ministryofjustice/hmpps-community-accommodation-wiremock/blob/1a5dcbe77e227615ddb27e4d5f0f151574314e6c/README.md?plain=1#L54

That's the one!


Fuzzy tests infrastructure using AFL and argv fuzzying test

Hello @tomaszrybicki! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file tests/functional/fuzzy/test_fuzzy.py:

Line 15:5: E265 block comment should start with '# '
Line 34:80: E501 line too long (84 > 79 characters)
Line 35:80: E501 line too long (82 > 79 characters)
Line 38:80: E501 line too long (85 > 79 characters)
Line 56:80: E501 line too long (83 > 79 characters)

In the file tests/utils/installer.py:

Line 22:1: E302 expected 2 blank lines, found 0
Line 28:80: E501 line too long (86 > 79 characters)
Line 41:80: E501 line too long (88 > 79 characters)
Line 48:80: E501 line too long (80 > 79 characters)


Invalid JSON Error

Service returns Invalid JSON after adding a new identity and does not load.
Exception thrown: 'Newtonsoft.Json.JsonReaderException' in Newtonsoft.Json.dll
Invalid character after parsing property name. Expected ':' but got: M. Path 'Status.Identities[0].Services[2]', line 1, position 443.

what version does the service report? Also can you reproduce this issue? I haven't seen it yet. I'll need steps to reproduce to debug it. closing for now -reopen if you have steps to reproduce pls


fix: Wenyluo/fix

Description
Fix an issue when changing authoring region or language in setting editor, the form data not changed correspondingly.
Accurate the Error message with Luis publish.
Task Item
Closes #1757
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code refactor (non-breaking change which improve code quality, clean up, add tests, etc)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Doc update (document update)

Checklist

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have functionally tested my change

Screenshots
Please include screenshots or gifs if your PR include UX changes.

Can you help rename your PR title to a more descriptive one?


HLSL matrices fetched from ByteAddressBuffer are transposed

When I move data from being stored in a ConstantBuffer into a ByteAddressBuffer, all of the matrices are transposed.  We encountered this same issue in DXC originally, although it was eventually fixed, I believe as part of this https://github.com/microsoft/DirectXShaderCompiler/issues/3370.

Is the matrix typed field decorated with column_major?

Is the matrix typed field decorated with column_major?

No, it is row_major.  I'll try to gather more info from you once we get shader debugging sorted, it will help me understand the problem better.

Fixed by #3101.


Oculus Controller mapping update

XRTK - Mixed Reality Toolkit Change Request
Overview
Resolving mapping issue originally identified in MRTK where near touch data was not identified and the "Pressed" call was called incorrectly.
Now in the OpenVR / Generic Joystick spec, digital buttons whether as a button or axis are ratified in the Button code, single-axis only axis data is handled separately.
Target of the change:
Is this enhancement for:

Core (core framework, interfaces and definitions)
Platform (new or updated platform)

Changes:

updates GenericJoystickController to identify buttons, inc axis buttons, in button code and single-axis only axis data separately
Update Oculus touch mapping to get Trigger pressed from the actual trigger data (not near touch)

Dependancies:
SDK change required to update default profiles.

Lol, I'd put this in progress to prevent merging as there was a debate on GetAxis vs GetAxisRaw on MRTK.  But if changes are needed I'll just do another PR :S

Sorry mate

We simply need to be sure to check flags when set, especially if it's "Ready for Review" :D

I think there's github hooks to make sure those labels are there before we can merge. But not sure


Masking with Border has a weird interaction with Blending

Using masking for a border while also using blending to achieve an effect i. e. for hovering causes an "inner border" making it look unsightly.
Testcase to visualize:
public class TestCaseButtonIssue : TestCase
{
    public TestCaseButtonIssue()
    {
        Children = new Drawable[]
        {
            new Box
            {
              Colour = Color4.Gray,
              RelativeSizeAxes  = Axes.Both
            },
            new FillFlowContainer
            {
                Width = 280,
                AutoSizeAxes = Axes.Y,
                Anchor = Anchor.Centre,
                Origin = Anchor.Centre,
                Direction = FillDirection.Vertical,
                Spacing = new Vector2(0, 10),
                Children = new Drawable[]
                {
                    new IssueButton
                    {
                        RelativeSizeAxes = Axes.X,
                        Text = "no blending"
                    },
                    new IssueButton
                    {
                        Hovered = true,
                        RelativeSizeAxes = Axes.X,
                        Text = "with blending"
                    }
                }
            }
        };
    }

    private class IssueButton : Button
    {
        public bool Hovered;

        [BackgroundDependencyLoader]
        private void load()
        {
            Height = 80;
            BackgroundColour = new Color4(50, 50, 50, 255);

            Content.Masking = true;
            Content.CornerRadius = 12;
            Content.BorderThickness = 4;
            Content.BorderColour = Color4.Black;

            Add(new Container
            {
                RelativeSizeAxes = Axes.Both,
                Child = new Box
                {
                    Alpha = Hovered ? 1 : 0,
                    RelativeSizeAxes = Axes.Both,
                    Blending = BlendingMode.Additive,
                    Colour = Color4.White.Opacity(0.1f),
                }
            });
        }
    }
}

Image to visualize:

So I've taken a look into this issue, and it has something to do with the MaskingSmoothness, as having a MaskingSmoothness of 0 removes the 1 pixel where the overlaid box has an incorrect weightning when determining color. The MaskingSmoothness gets used when determining the BlendRange for the CompositeDrawNode masking info, which according to the comment is approximately the size of a pixel.
This blend range gets sent to the FS as MaskingBlendRange. Looking at the shader, the color is a blend of the border color and the inner box's color, depending on how far we are from the border.
I've tried thinking through how this could happen as a result of MaskingBlendRange being at or above 1, but I've hit a brick wall. Wondering if @Tom94 has any suggestions or insights about this phenomenon.

I think the milestone can be updated here.

We generally don't change milestones any more. I believe @smoogipoo is still quite intent on getting this one solved.


Installation process for Employee Kudos Template won't proceed beyond environment selection

After clicking the link on the AppSource page, I'm taken to the environment selection page in Power Platform Admin Center. Selecting any environment and clicking "Install" will just result in a spinner displaying over the button for 1 second, then disappearing. No error messages, nothing.

What am I doing wrong?

Interesting, we haven't run into a scenario like that before. Have you been able to install other solutions into this environment before?

In the meantime, there is an alternate way to install Kudos. You can do a manual install using the typical "Import Solution" capability in an environment. Kudos consists of two solutions - a base solution that is shared with other HR solutions and the Kudos solution. Install the Base solution first as Kudos depends on it. Here are links the solution zip files:

Base Solution Link
Kudos Solution Link

I am seeing the same problem. I try to deploy to Europe Region and the Application cannot be found (located through HAR analysis).
So either the solution is not deployed to Europe region or it is not deployed correctly

I tried to import the 2 solutions manually.
The first was fine
The Second came up with this error

We're trying to track down why that error occurs sometimes. Despite the error, the solution should still work.

I am seeing errors in the Flow Kudo App - Share Kudo with Sender, Assign to Recipient
I have checked and rechecked the setup and all looks ok
Principal with id 3d6352e7-40f1-eb11-bacb-00224883415f does not have ReadAccess right(s) for record with id 5943d0e1-8a06-ee11-8f6e-6045bd8c5f83 of entity mpa_kudo. Details: {"CallerPrincipal":{"PrincipalId":"3d6352e7-40f1-eb11-bacb-00224883415f","Type":8,"IsUserPrincipal":true},"OwnerPrincipal":{"PrincipalId":"fc6252e7-40f1-eb11-bacb-00224883415f","Type":8,"IsUserPrincipal":true},"ObjectId":"5943d0e1-8a06-ee11-8f6e-6045bd8c5f83","ObjectTypeCode":11344,"EntityName":"mpa_kudo","ObjectBusinessUnitId":"a9dc2c36-56ed-eb11-bacb-000d3abd1381","RightsToCheck":"ReadAccess","RoleAccessRights":"None","PoaAccessRights":"None","HsmAccessRights":"None","GrantedAccessRights":"None","Messages":["BasicMinimumPrivilegeDepthRequired = None","EntityUserGroupRights = None","LocalMinimumPrivilegeDepthRequiredRights = ReadAccess","SecLib::AccessCheckEx2 failed. Owner Data: roleCount=6, privilegeCount=10430, accessMode=0, MetadataCachePrivilegesCount=10432, businessUnitId=a9dc2c36-56ed-eb11-bacb-000d3abd1381; Principal Data: roleCount=2, privilegeCount=496, accessMode=0, MetadataCachePrivilegesCount=10432, businessUnitId=a9dc2c36-56ed-eb11-bacb-000d3abd1381"],"EntityOwnershipTypeMask":1,"CallerInfo":{"IsSystemUser":false,"IsSupportUser":false,"IsAdministrator":false,"IsCustomizer":false,"IsDisabled":false,"IsIntegrationUser":false,"Teams":null,"Roles":null},"ReadOnlyState":"UserAndOrgFullAccess","IsHsmEnabled":false,"HsmInfo":null,"AccessOrigin":null}

Thanks for sharing!
Did you create an Access Team called "Kudos-ReadAccessTeam"?

Also, what security roles does the user who is creating the Kudos have in this case?

Yes. I created the access team. It looks like that each time I submit a new team is created in the app. Don’t know if this is by design. The user has employee role
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: Shane @.>
Sent: Friday, June 9, 2023 8:10:23 AM
To: microsoft/Templates-for-Power-Platform @.>
Cc: laublarsen @.>; Comment @.>
Subject: Re: [microsoft/Templates-for-Power-Platform] Installation process for Employee Kudos Template won't proceed beyond environment selection (Issue #12)
Also, what security roles does the user who is creating the Kudos have in this case?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/Templates-for-Power-Platform/issues/12#issuecomment-1584028182, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BANGCF7EHCCF7ZFV5TEWI5DXKK447ANCNFSM6AAAAAAY6DFNPM.
You are receiving this because you commented.Message ID: @.***>

Does the user also have "Basic User" role?

Yes
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: Shane @.>
Sent: Friday, June 9, 2023 8:26:33 AM
To: microsoft/Templates-for-Power-Platform @.>
Cc: laublarsen @.>; Comment @.>
Subject: Re: [microsoft/Templates-for-Power-Platform] Installation process for Employee Kudos Template won't proceed beyond environment selection (Issue #12)
Does the user also have "Basic User" role?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/Templates-for-Power-Platform/issues/12#issuecomment-1584042045, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BANGCF73GBJOJUSPEAAVO7LXKK6ZTANCNFSM6AAAAAAY6DFNPM.
You are receiving this because you commented.Message ID: @.***>


Dev/design and implementation

Codecov Report

Merging #323 (566cc5d) into master (012e63e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #323   +/-   ##
=========================================
  Coverage     77.74%   77.74%
  Complexity      659      659
=========================================
  Files            98       98
  Lines          2175     2175
  Branches        180      180
=========================================
  Hits           1691     1691
  Misses          396      396
  Partials         88       88

Continue to review full report at Codecov.

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


How to setting maxwidth

hello i know nothing about lua and i want to use this menu setup but i dont know how to limit the pop up only 50,
could anyone tell me how to do it? thanks in advance
formatting = {
fields = { "kind", "abbr" },
format = function(_, vim_item)
vim_item.kind = cmp_kinds[vim_item.kind] or ""
return vim_item
end,
},

This?
https://github.com/hrsh7th/nvim-cmp/issues/980

thanks mate, i closed this


Update to Bevy 0.8

I haven't fully tested this yet, so it's not ready to be merged, but it works enough to compile.
I'll add an update when I've tested it.
Update:

[X] 2D updated
[x] 3D updated

Everything's working, ready for review/merge

Wow! Thank you!
This looks great.

0.8 is up now.


Add scheduled metric

This sends the scheduled metric to Datadog.
I've tested this on my end as well and the metric seems to be sent to Datadog

Let me know if you need me to update anything else in order to get this merge ready.  Thanks!

Let me know if you need me to update anything else in order to get this merge ready. Thanks!

Hi @dfuentes77 , and thanks for the functionality extension. It looks good and is a good metric to have. I will realign the proposed change with the latest upstream and get back to you in a day or two.

Hi @volodymyr-mykhailyk  Thanks for looking at it.  I've tried your upstream changes merged into my branch/gem and I'm noticing that the metrics are not continually updated in Datadog.  It seems it just sends metrics out on sidekiq launch but nothing afterward.  So it shows up as a point-in-time metric.  I'm not sure if this is normal for when values are 0 but I'm testing it in a dev environment that doesn't have much metrics to send.  But previous versions of your gem were fine and metrics were continually showing up in Datadog for as long as sidekiq was running.  Thanks for your help with all this.

@dfuentes77 Sorry, wasn't able to edit your PR - so took your changes and resubmitted them as a new #27 pull request.
Notable changes from your code - I removed orphan scheduled_size tag. Not sure what purpose it had. In tags, you usually post information that allows distinguishing value between different products, instances, items, etc

Closing this PR in favor of #27


Database password escaping changed between 2.0.2 and 2.0.3

Just a heads up - my database password in my docker-compose file was rendered invalid in 2.0.3 because of a change in net/url which can be found here https://github.com/golang/go/issues/23392
This resulted in an invalid userinfo error that was quite cryptic. I ended up having to percent encode a ^ to make things work properly. Figured this might help the next person who runs into this issue

Interesting.

A note has been added to the documentation about this subject: https://docs.miniflux.net/en/latest/configuration.html#database-connection-parameters


Fix typo

Unless it was deliberate because you keep getting notified when you try and eat? :p

:hamburger:?

:stew:


fix(dialog): fix nested dialog propagation problem

This PR fixes the propagation issue during close in nested dialogs
Closes #342

It is merged but i think this approach is not best solution because now i can not listen bl-dialog-close event like:
  window.addEventListener('bl-dialog-close',(e) => console.log(e));


Convolution2D with border_mode='same' incorrect

The Convolution2D layer with border_mode='same' does not give the same results as the Keras/Theano version (border_mode='valid' is ok in my test).

Can you show your keras.json file or Keras config that you used? what dim ordering have you used?

I use theano ordering.
{
"image_dim_ordering": "th",
"epsilon": 1e-07,
"floatx": "float32",
"backend": "theano"
}

Do you still have an issue?


Typeahead does not dismiss no results dialog in dismissClickHandler

Bug description: When there are no results the dialog is not able to be dismissed when clicking away
Link to minimally-working plunker that reproduces the issue: https://plnkr.co/edit/g8PPmMlTKGnlAF99qEXy?p=preview (make asynch show no results and try to click elsewhere on the page.
Angular: 1.5
UIBS: 2.0.2
Bootstrap: 3

I'm not seeing the issue here, can you please provide explicit instructions for how to reproduce (generally, a good idea)?

Going to close this as this does not appear to be an issue - the no results section being shown is not a part of the typeahead in the Plunker.
This was a bit of a lazy issue - in the future, please make sure the Plunker is minimal and that it is a clear reproduction, as we are not mind readers.

A new plunkr: https://plnkr.co/edit/g8PPmMlTKGnlAF99qEXy?p=preview
In the box marked "Locations loaded via $http"
please type in the word test, you will see a result, then click in an empty space on the page, notice how the pop up results dismiss themselves.
Now remove the word test from the input box and put the letters "zzzzzzzzzzzzzzzzz" notice the no results shows up? Now click in an empty space on the page and you will see the no results never disappears, this behavior should be standard between both pop ups.
Calling me lazy/lazy issue was a bit rude, simply stating as the previous person id that you would like me to expand upon the issue and give a more precise plunker would have been a way to properly state your dislike of the issue. Sometimes people are new to reporting issues, sometimes people are in a rush and can explain better the next day.

It shouldn't be opened then if it isn't well-thought out. Issues add a lot of noise if not well-framed, and not doing due diligence drains on project resources that can be used with verified issues/feature requests. We are all volunteers, and throughout the project, as a team, we have had to wade through over 4000 issues - that alone is a massive time sink, some of it which could have been used on difficult feature requests.
This is why we added https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#you-think-youve-found-a-bug, which is linked to at the top of creating a new issue.
Will take a look later.

@jgdovin, so your issue is that the "No Results" text doesn't disappear on focus lost?  If so, I'm not sure that this behavior is "wrong."  At the very least, to my knowledge, we haven't had anyone complain about this.
I'm not necessarily against adding an option that hides the results on no match and a focus lost...but again, no one has been clamoring for this feature...

Understand, however search results do disappear on lost focus, I know in our corporate environment the business users want consistent behavior so we have had requests to have the no results disappear on lost focus. The use case is we use the same template for the results as we do the no results, so it floats on top of other elements on the page, this is for consistent styling purposes, so if you do this, elements hiding behind the no results output are not accessible until page reload. If this could even be an option that would be great. I was able to force it to happen with the PR I submitted.


Update README.md

Must use double quotes. If publishing with single quotes it wont publish anything :(

@DarkaOnLine,
I am not sure but on Laravel official doc,
http://laravel.com/docs/5.0/packages#publishing-file-groups
it's in double quote. so it should work. But still I will check it and will correct it.
Is it not working on your machine ?

It only works with double quote. Tested on Linux and Win


Any word re. GA of elastic jobs?

Is there an estimate available for when elastic jobs will become GA?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: af7d5bb1-1cb9-b796-2abc-e0250ddbd82b
Version Independent ID: a6281493-bf6b-0449-23a1-77019959fee4
Content: Azure SQL Job automation
Content Source: articles/sql-database/sql-database-job-automation-overview.md
Service: sql-database
GitHub Login: @jovanpop-msft
Microsoft Alias: jovanpop

@mbinnix We are checking this and will get back to you.

@mbinnix Here is the response from our product team
"We are currently in the scheduling discussion for the GA of Elastic Database Jobs feature. We expect to have more clarity in the next few weeks."
We will go ahead and close this thread. Please get back to us if any other issue.

Any news on this? It's been over two years and Elastic Jobs are still in preview.

We are working through some of the high priority asks that have come in during our current public preview of Elastic Jobs. This work is expected to land in late second half of CY 2022 but will add some enhanced capabilities. GA is planned soon after that. Current public preview is and continues to be fully supported and all the issues/incidents are handled by our support and product teams. Hope this provides some clarity

Would it be possible to get some update what's going to be added? I'm really eagerly waiting for Private Endpoint support. It's a blocker for us. Others have been saying the same that not being able to block public network access is a blocker.

Years pass and no update on GA of Elastic Jobs. Private Endpoints remain unsupported. Feels like another abandoned feature 😞

Hi @mbinnix and @kimjamia! You'll be happy to know that Azure SQL Database elastic jobs are now generally available.


Add repeated-press logic to cycle popup selection

Hey!
I was hoping to contribute to Maccy.
I'd like to add an option to cycle over the clipboard option on repeated "open" shortcut stroke.
Before merge, there are probably a couple of things needed to be done, such as adding tests.
I was looking to get your thoughts before spending more time on it. Couple of questions:

Would you like to get this feature merged?
Do you use any formatter/linter? (It's my first time working with Swift/Xcode) I tried using swiftformat and most of the files changed.
Does the current logic look OK?
Any general requirements to create a PR/commit?

Thank you for the pull request!

Would you like to get this feature merged?
Does the current logic look OK?

I very much like the idea of cycle hotkey, but I believe it should be implemented as the oldest open issue in Maccy (#96) requests:

You press COMMAND+SHIFT+C (or other shortcut) to popup Maccy.
You release С but keep COMMAND+SHIFT pressed.
You press С as many times as you need. Each press navigates to the next item in history.
You release COMMAND+SHIFT which confirms the current selection and copies it.
Maccy window is now closed.

Unfortunately, I don't think it's possible to implement this using KeyboardShortcuts framework, but if you are up to investigate it and see if there is a way to trigger shortcut while keeping modifier keys pressed, it would make things much easier.

Do you use any formatter/linter? (It's my first time working with Swift/Xcode) I tried using swiftformat and most of the files changed.

I usually just use swiftlint --strict and fix all warnings.

Any general requirements to create a PR/commit?

Nope, just the code that works 😄

I see, releasing CMD + Shift doesn't confirm the selection. You have to manually press enter. Now that I have been using it for a bit, indeed that seems necessary. let me see if I can add it

I think your localDownEvent should only be triggered when COMMAND+SHIFT was kept held, right now it would be called when pressed again.

What do you mean? Pressing the key again indeed calls highlightNext, which is the objective, to cycle over the options.
To make sure CMD+SHIFT are pressed I have: event.modifierFlags.intersection(.deviceIndependentFlagsMask) == requiredModifiers.

I have extracted all of this into a separate PopupManager class, which keeps current Popup class clean.

import Foundation
import AppKit
import Cocoa
import Defaults
import KeyboardShortcuts
import Observation

// MARK: - PopupAction Protocol

/// A protocol representing an action that can be performed on a popup.
protocol PopupAction {
  /// Initializes the popup action.
  init()
}

// MARK: - PopupManager

/// Manages the current popup action, allowing it to be reset based on user preferences.
final class PopupManager {

  /// The current popup action. Read-only from outside the class.
  private(set) var action: PopupAction
  private var shouldCycle: Bool

  /// Initializes the PopupManager with the specified cycling behavior.
  init(shouldCycle: Bool = Defaults[.cyclePopUp]) {
    self.shouldCycle = shouldCycle
    self.action = PopupManager.createAction(shouldCycle: shouldCycle)
  }

  /// Resets the current action
  /// - Parameter shouldCycle: A Boolean indicating whether cycling should be enabled.
  public func reset(shouldCycle: Bool? = nil) {
    let cycleValue = shouldCycle ?? self.shouldCycle
    self.shouldCycle = cycleValue
    self.action = PopupManager.createAction(shouldCycle: cycleValue)
  }

  /// Factory method to create the appropriate `PopupAction` based on `shouldCycle`.
  /// - Parameter shouldCycle: A Boolean indicating whether cycling should be enabled.
  /// - Returns: An instance of `PopupCycle` or `PopupToggle`.
  private static func createAction(shouldCycle: Bool) -> PopupAction {
    return shouldCycle ? PopupCycle() : PopupToggle()
  }
}

// MARK: - PopupCycle

/// Represents a popup action that cycles through clipboard history items.
final class PopupCycle: PopupAction {

  // Event monitors
  private var globalDownEvent: Any?
  private var localDownEvent: Any?
  private var localUpEvent: Any?

  required init() {
    guard let popupShortcut = KeyboardShortcuts.getShortcut(for: .popup) else { return }

    let keyCode = popupShortcut.carbonKeyCode
    let modifiers = popupShortcut.modifiers

    // Event monitor when the app is not open. On keyshortcut press, open the app
    globalDownEvent = NSEvent.addGlobalMonitorForEvents(matching: [.keyDown]) { event in
      if Self.isKeyCode(event: event, keyCode: keyCode) && Self.isModifiers(event: event, modifiers: modifiers) {
        DispatchQueue.main.async {
          AppState.shared.popup.open(height: AppState.shared.popup.height)
        }
      }
    }

    // Event monitor when the app is open. On keyshortcut press, select next item
    localDownEvent = NSEvent.addLocalMonitorForEvents(matching: [.keyDown]) { event in
      if Self.isKeyCode(event: event, keyCode: keyCode) && Self.isModifiers(event: event, modifiers: modifiers) {
        DispatchQueue.main.async {
          AppState.shared.highlightNext()
        }
        return nil
      }
      return event
    }

    // Event monitor when the app is open. On keyshortcut release, close the app and restore focus.
    //  '.flagsChanged' is required for the case when the user first releases the letter, and later the modifiers
    localUpEvent = NSEvent.addLocalMonitorForEvents(matching: [.keyUp, .flagsChanged]) { event in
      if AppState.shared.popup.isOpen() && !Self.isModifiers(event: event, modifiers: modifiers) {
        DispatchQueue.main.async {
          AppState.shared.select()
        }
        return nil
      }
      return event
    }
  }

  /// Removes all event monitors.
  deinit {
    if let monitor = globalDownEvent {
      NSEvent.removeMonitor(monitor)
    }

    if let monitor = localDownEvent {
      NSEvent.removeMonitor(monitor)
    }

    if let monitor = localUpEvent {
      NSEvent.removeMonitor(monitor)
    }
  }

  private static func isKeyCode(event: NSEvent, keyCode: Int) -> Bool {
    return event.keyCode == keyCode
  }

  private static func isModifiers(event: NSEvent, modifiers: NSEvent.ModifierFlags) -> Bool {
    return event.modifierFlags.intersection(.deviceIndependentFlagsMask) == modifiers
  }
}

// MARK: - PopupToggle

/// Represents a popup action that toggles the popup's visibility.
final class PopupToggle: PopupAction {

  required init() {
    KeyboardShortcuts.onKeyDown(for: .popup) {
      DispatchQueue.main.async {
        AppState.shared.popup.toggle()
      }
    }
  }

  deinit {
    KeyboardShortcuts.disable(.popup)
  }
}

To make sure CMD+SHIFT are pressed I have: event.modifierFlags.intersection(.deviceIndependentFlagsMask) == requiredModifiers.

What I mean is that there were 2 cases when this code would be executed:

A user presses shortcut (Command+Shift+C) to open Maccy, keeps modifiers pressed and releases С key, then presses С again.
A user presses shortcut (Command+Shift+C) to open Maccy, *releases all keys, then presses shortcut again.

The behavior should be different for these two scenarios:

Each press of С should select the next item.
The shortcut press should close Maccy window.

A user presses shortcut (Command+Shift+C) to open Maccy, keeps modifiers pressed and releases С key, then presses С again.

Each press of С should select the next item.

This is what happens

A user presses shortcut (Command+Shift+C) to open Maccy, *releases all keys, then presses shortcut again.

Here, what would happen is:

A user presses shortcut (Command+Shift+C)  -> Maccy opens
releases all keys -> Maccy closes
then presses shortcut again -> maccy opens

The shortcut press should close Maccy window.

I apologize, but I am not sure I am understanding your point. which shortcut press, only the second one? Maccy shouldnt close on release?
Right now the logic is as follows:

You press COMMAND+SHIFT+C (or other shortcut) to open Maccy.
Once Maccy is open:

Releasing any modifier key, in this case, COMMAND or SHIFT, will close Maccy.
Releasing the main key, in this case С, will not do anything.
Pressing C again will select the next item in the popup.

See the video attached -
https://github.com/user-attachments/assets/f3b0bcee-c5e2-4a1c-af71-5cbc306a9bb7


Problem with retry ajax request after error

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 1.5.4

Platform and Target: all (web + native)

What you did
I have a code:
link
and
$$.ajaxSetup({
    timeout : 3000,
    error: function (xhr, status) {
          alert('Error!');
    }
})

Steps:

Click on "link"
Timeout error.
Alert "Error!";
Click on "link": nothing happens. Ajax request is not sent.

Expected Behavior
Ajax request is sent again.
Actual Behavior
Nothing. There are no errors in browser console. I need to reload the page.
Problem: https://github.com/nolimits4web/Framework7/issues/759 But my solution https://github.com/nolimits4web/Framework7/issues/759#issuecomment-165380268 not work too.
There are no problem when:
var myApp = new Framework7({
    cache : false,
});

Sorry for my English.

Sorry, my old solution is work:
$$.ajaxSetup({
    timeout : 3000,
    error: function (xhr, status) {
        setTimeout(function() {
            myApp.removeFromCache(xhr.requestUrl);
        }, 1000);
    }
})

All works;


Product variant support

We should be able to add product variants to the cart, maybe use a tag helper?

Added in RC11


fix(manager): fetch metadata from ENV

Problem Description
Because we fetch custom resource from local_state which we create by ourself, so we should fetch custom resource from kubernetes API. However, there is another manager uses support bundle kit in different api group.
Solution
We could fetch data from env which the manager will give when manager create support bundle manager. It would be easier than fetching k8s api by telling who owns this support bundle kit manager.
Test plan
This will follow https://github.com/harvester/harvester/pull/4662 test plan to test.
Related Issue
https://github.com/harvester/harvester/issues/4630

But, I'm trying to find replace https://github.com/harvester/harvester/blob/master/deploy/charts/harvester/values.yaml#L482-L486 and https://github.com/harvester/harvester/blob/6da66dc6f7bdebf43bd4932eb5128642ec397e51/pkg/controller/master/setting/support_bundle_image.go#L4 to use my own image to test. Is there any testing skill could do that?

Just memo for myself, I found another way is to build harvester locally and connect to KVM cluster. Then I could change any code I want.

@ibrokethecloud @Vicente-Cheng It would be great if you could take a look at this draft PR when you're available, thanks!

@Yu-Jack I think we can skip the standalone part. SBK is used by Harvester and Longhorn, doing this will impact Longhorn. So we can fix the issue just in our controller.

@bk201  Okay, I got your point. I didn't realize another manager uses support-bundle-kit. LH uses supportbundles.longhorn.io, but Harvester uses  supportbundles.harvesterhci.io.
If I really want to fetch custom resource from k8s API in SBK, I need to tell who owns this SBK then I could fetch SupportBundle from right api group. In this case, it would be better to fix in harvester controller by passing value.

The build seems weird, I opened #82 .


config-linux: Make linux.seccomp.syscalls OPTIONAL

Fixes #762, since the issue there has been quiet, and 1.0 may be almost upon us, so I'm nervous about leaving the issue to cook for too long ;).
This commit has gone with OPTIONAL, because a seccomp config which only sets defaultAction seems potentially valid.  But I'd be ok with the “REQUIRED with length > 0” approach to fixing #762 too.

Technically, OPTIONAL is the right value, but unless you specify the default action for seccomp to be SCMP_ACT_ALLOW the result will be an error at run time.
I would suggest an additional clarification to this fact in config-linux.md would be very helpful if marking syscall as OPTIONAL.

On Tue, Apr 25, 2017 at 01:32:26PM -0700, David Lyle wrote:

I would suggest an additional clarification to this fact…

I've added a narrower example in fa423ce → bb4519c.  How does that
look to you?

I think that's much better. I think a more general statement including your text might be more informative, something along the lines of:
"Note that depending on the value of defaultAction specified, syscalls should be non-empty. For example, if defaultAction is SCMP_ACT_KILL and syscalls is empty or unset, the kernel will kill the container process on its first syscall."
But what you have provides that inference. LGTM

On Tue, Apr 25, 2017 at 02:47:24PM -0700, David Lyle wrote:

"Note that depending on the value of defaultAction specified,
syscalls should be non-empty.

I've shifted closer to this with bb4519c → 42984e8 while still trying
to avoid an underspecified should (even lowercase).  How does that
look?

Even better. Looks great.

LGTM

LGTM

LGTM


hook fire and counter up to RPC

cc @keybase/y2ksquad

Forgot to tag review, oops

Closing because we're changing this to be notification-based


Custom close button in Ionic popup

I create a custom ionic popup for photo upload. My problem that I am not able to close that popup by using a corner close button. Please help me.
Which look like :

Here my code:
`            $scope.uploadPhoto = function () {
var confirmPopup = $ionicPopup.show({
title: 'Upload Photo' + '',
scope: $scope,
buttons: [
{
text: '',
type: 'button-positive',
onTap: function () {
$scope.takePicture();
}
},
{
text: 'Gallery',
type: 'button-positive',
onTap: function () {
$scope.galleryPicture();
}
},
]
});
$scope.closePopup = function () {
confirmPopup.close();
};
};
`
when I inspect code I found that  it remove  ng-click="closePopup() from code. I am bit of confuse why it happen.

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum (forum.ionicframework.com). There are alot of awesome devs on there that will be able to help you! Thanks for using Ionic!


Default config values to avoid warning

At least in Fail2Ban v0.9.3 it prints some warnings on reload, because of these 3 parameters not defined in fail2ban.conf. Just added them with their default values.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@pbanderas

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

@pbanderas thanks for your contribution here. I hadn't seen this PR when I started on the cleanup on #42 and created some duplicate efforts.


Don't #error during completion

A .hxml file only used for completion might not define a target. Since the values don't matter much there, we can just fall back to something that at least parses and avoid breaking completion.
Example:
https://github.com/vshaxe/vshaxe/commit/a351d286cf4b3bcb13fa143348a9c456d107374d#diff-7c45353abd7bc95c3295a8afc48a11b8R5

@Gama11 cheers


Main window has incorrect size when Windows PC returns from sleep

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

VS Code Version: 1.85.1
OS Version: 10.0.22631

Steps to Reproduce:

Have two screens with different resolution
Maximize vscode window
Let PC sleep.
When PC comes back from sleep, vscode window is incorrectly sized, matches the resolution of the second screen, even though the higher resolution screen is the primary desktop and vs was opened there.

Very minor issue, just thought of reporting it.

Just a bit of update. It seems that the small resolution screen comes up first after my PC wakes up from sleep, even though its ID assigned by windows is #3. Sometimes I see windows moving from display to display for a few seconds during the wave process.  Also, Google Chrome shows the same behavior as vscode but Edge doesn't.


updated postgres verification script

What does this PR do?
Update the bash script to verify Postgres installation in the Postgres readme.
Motivation
The existing script to verify Postgres installation does not work. The updated one does. Fun fact: I discovered this during my hiring process assignment!
Review checklist

[x] PR has a meaningful title or PR has the no-changelog label attached
[ ] Feature or bugfix has tests
[x] Git history is clean
[x] If PR impacts documentation, docs team has been notified or an issue has been opened on the documentation repo

Additional Notes
Anything else we should know when reviewing?

Yep — I wrote and tested the fix during my hiring process.


Add wyoming-piper executable

This change provides an executable that will be installed into the bin/ directory of the python environment, which is simpler to start up, because the correct python instance is already implied.

Thanks!


How to import json file?

Hello, could you explain to me how to import json file?
Already test with this, but the result still null.
import { useLoaderData } from "react-router-dom";
export async function loader() {
  const blocks = await import("../../generated/article/blocks.json")
  return { blocks }
}
export default function GeneratorPage() {
  const data = useLoaderData()
  console.log(data)
  return (

      Back

  );
}

Hi @widiu7omo, in Vite, to dynamically import a JSON file, you need to access its default property.
I have updated the example; you can review the code or clone it to try it out: https://github.com/Daydreamer-riri/vite-react-ssg/blob/main/examples/with-loader/src/pages/json.tsx
If there are still any issues, please let me know, and I will respond as soon as possible.

Thank you. It's working.


Cancun acceptance test

engine ATs for transition from shanghai to cancun

blocked on beacon root final value #5903


Suppress unchecked warnings on generated class

Hello.
I made a little addition to this library. Javac gives me unchecked warnings when compiling using auto-value-gson.
I'd like to keep my build clean (0 warnings) as possible.
Thanks.

I think this looks good, you just need to update the tests to expect the @SuppressWarnings annotation and things should be great, if you want to reopen and finish it off.


Hyundai R harness

[x]  which car is this for? 2023 Palisade HDA2 and "Kona EV 2nd Generation (2023 Korean Ver.)"
[x]  schematic - reuse EV6 Schematic - https://github.com/commaai/neo/blob/master/car_harness/EV6_Harness.sch.pdf
[x]  beta sent to tester
[x]  in shop

Now for sale on the shop. Closing


UVC G3 micro - motion sensor

Hey,
I plan to buy some G3 micro cams for home-automation. unifi-video-api is best lib for unifi i was able to find, but it still lack of basic feature for IOT/automation scenarios.
Is there a way to get information if camera detected motion?
Probably can help with implementation, but before i will buy G3 - want to know if this is even possible? NVR is exposing in any way this information?

If you wanted to use the API you would have to check the recordings and see if there are any new motion recordings and whether or not they are in-progress. You can do this with unifi-video-api but you would have to do it by polling the API (which will be a tiny bit less horrible once I'm done with #14).
As far as I know, the API does not provide you with any other way to achieve what you're after. If you'll find it does then please let me know as I'd likely be interested in supporting it in unifi-video-api.
Assuming you want to react to motion events, and you want to avoid having to ask the API for new recordings each second or so, then my suggestion would be to take advantage of UniFi Video's email notifications. This is exactly what I'm doing myself to get object detection and to filter out false positives etc.

Thanks. Yeah polling is not best idea (still better than nothig). But as you suggested i can use some mail to smth proxy. Ex. node-red-contrib-mailin-smtp
Probably will go with one G3 micro just to verify what is possible. If i find anything useful, for sure will create MR.

Forgot to mention https://github.com/yuppity/ufv-alerts. I've since worked on it a bit more for my own purposes and none of that work has made it to Github but the core idea hasn't really changed. Should get you started at least.

Oh, looks good :) For sure will check that 👍


iOS flutter.1.profile thread always causing CPU usage

In a Flutter Add2App scenario, after we've loaded a flutter view once, the flutter.1.profile thread is always doing something in the latest 1.22 release, causing 4% CPU on a iPhone SE (latest edition), whereas before the CPU would always be at 0%.
This happens when the Flutter View is present, with no animations or any redraws, and also after dismissing the FlutterViewController.

Flutter doctor:
[✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.7 19H2, locale en-US)
• Flutter version 1.22.2 at /Users/danny.valente/Library/flutter/1.22.2-stable
• Framework revision 84f3d28555 (5 weeks ago), 2020-10-15 16:26:19 -0700
• Engine revision b8752bbfff
• Dart version 2.10.2
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/danny.valente/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.7, Build version 11E801a
• CocoaPods version 1.9.3

The screenshot and reported CPU usage I'm quoting in this bug was taken from a Debug build.

Flutter on iOS now contains a sampling profiler (see https://flutter.dev/go/engine-cpu-profiling and https://github.com/flutter/engine/tree/master/shell/profiling).  It is not enabled in release mode builds of the engine.
@iskakaushik

@dannyvalentesonos
Can you provide a minimal complete reproducible code sample that shows the issue ?
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


What ports need to be open

This is great. I am trying to run this behind a firewall and I am having a hard time finding what protocol(tcp or udp) and ports need to be open for this to be able to work so peers can connect. Thanks!

The default port is 3282 on both tcp and udp. You can pass another port to the swarm if you want to specify:
var swarm = require('hypercore-archiver/swarm')
swarm(archiver, {port: 60234})

Oops, nevermind. Its hardcoded right now: https://github.com/mafintosh/hypercore-archiver/blob/master/swarm.js#L29

ok, thanks! I added a quick commit to make it behave as you described.

Released in v4.4.0


CSO is noted as CSP

https://github.com/CC-in-the-Cloud/General/blob/460307514c93f0ddb057df387f1d68b12a7df1ca/CCiTC_Guidance_For_Cloud_Evals.adoc?plain=1#L46

Correction made.


Hit area of dropdown button under horizontal blocks is smaller than before

Expected Behavior
In horizontal_playground.html, when the user taps any part of the dropdown button under the envelope blocks, the dropdown should display.
Actual Behavior
If the user taps on the white down arrow in the middle of the dropdown button under the envelope blocks, the dropdown displays. If the user taps anywhere else on the button, the dropdown does not display.
This new behavior appears to have been introduced with 6275e11, the new dragging commit. Is the smaller hit area intentional?
Steps to Reproduce

Load horizontal_playground.html.
Tap the dropdown button under either of the envelope blocks without tapping on the white down arrow. The blocks can be either in the flyout or in the workspace.

Operating System and Browser
_e.g. Mac OS 10.11.6 Chrome Version 58.0.3029.110

Nope, that's not intentional.  Thanks for noting which commit it came in on.  I'll take a look.

This issue also applies to other dropdowns such as those containing a number with numpad dropdown.

Fixed by #927


Feat(eos_cli_config_gen): Add support for qos map exp

Change Summary
add knob in eos_cli_config_gen to configure qos map exp
Related Issue(s)
N/A
Component(s) name
arista.avd.eos_cli_config_gen
Proposed changes
adding a key under qos.map for exp field
Addition to qos.schema:
type: dict
  keys:
    qos:
      map:
          exp:
            type: list
            items:
              type: str
              description: |
                Example "0 to traffic-class 0"

How to test
See molecule test
Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

@philippebureau I have fixed a couple of issues. The things with blank lines are old issues, but since we are touching the template I wanted to get it fixed here. You also had a copy/paste error for the if condition which would have been hard to catch later.


[Config. Catalog] Code sample CSS needs to be fixed

Description:
The code sample exceeds the boundaries and cuts into the right-navigation section when expanded.
Affected Page:
[1] https://apim.docs.wso2.com/en/next/Reference/ConfigCatalog/#api-m-analytics-configurations

Some code samples are still overflowing.
[1] https://apim.docs.wso2.com/en/next/Reference/ConfigCatalog/#api-m-analytics-configurations
[2] https://apim.docs.wso2.com/en/next/Reference/ConfigCatalog/#api-m-throttling-url-group-configs