K8SSAND-997 ⁃ Provide Cassandra's base configuration external from the image

What is missing?
This is related to #199 and part of the effort to make the root file system read-only. Cassandra's base configuration, i.e., /etc/cassandra, is baked into the image. The config build and management-api update the configuration which makes a read-only root file system problematic in the current implementation.
Let me provide some background on how things are currently implemented. The server-config-init init container generates Cassandra config files and writes them to the server-config volume. When the cassandra container starts the management-api entry point scripts copies the files from the config volume over to /etc/cassandra. /etc/cassandra resides on the root volume.
It is worth pointing out that in k8ssandra we deploy additional containers in the Cassandra pod. Some of those containers need access to /etc/cassandra. We have to go through some rather convoluted steps of copying files in init containers to make it work.
I originally described the proposed solution in https://github.com/k8ssandra/cass-operator/issues/199#issuecomment-944625944. I will summarize again here though.
cass-operator adds a ConfigMap volume which is mounted at something like /cassandra-base-config. Let's call this volume cassandra-base-config. This volume should be read-only. cass-operator creates another, EmptyDir volume for /etc/cassandra. Let's call this volume cassandra-config. It will shadow the /etc/cassandra directory that is part of the image. That's ok.
Base config files will be provided in a ConfigMap that becomes part of the cass-operator installation. There will need to be a ConfigMap for each supported Cassandra version. The operator will determine which ConfigMap to use based on the ServerVersion in the CassandraDatacenter spec.
An init container with a volume mount for /cassandra-base-config will copy the base configuration files onto the cassandra-config volume which is mounted at /etc/cassandra. This init container should run before any other init containers.
The server-config init container can mount the cassandra-config volume at /etc/cassandra and write the files directly there. The management-api entrypoint script will no longer have to copy base config files.
Why do we need it?
Not only will these changes help with making the root file system read-only, it will substantially simplify how things are done in k8ssandra 1.x. It will also make things in k8ssandra-operator a lot easier as we migrate components. Lastly, it will make the images and the base configs more maintainable.
Environment

Cass Operator version:

v1.8.0
┆Issue is synchronized with this Jira Task by Unito
┆Issue Number: K8SSAND-997
┆Priority: Medium

Closing this since I decided against the ConfigMap approach that I outlined in the description.


Xamarin.Forms <IP_ADDRESS>-pre2 Could not load type 'FFImageLoading.Forms.Droid.CachedImageRenderer'

Hi!
I upgraded Xamarin.Forms to  <IP_ADDRESS>-pre2 and the application started to crash with.
System.TypeLoadException: Could not load type 'FFImageLoading.Forms.Droid.CachedImageRenderer' from assembly 'FFImageLoading.Forms.Droid, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.

after CachedImageRenderer.Init(); I wanted to try the version  <IP_ADDRESS>-pre2 because of this bug https://forums.xamarin.com/discussion/comment/220535 that it seems its fixed in this version https://forums.xamarin.com/discussion/77854/xamarin-forms-2-3-3-pre2#latest (43530 - "[Android] Resuming app throws IllegalStateException from fragment manager" )
I just tested in android with FFImageLoading.Forms.Droid version  2.1.7
I downgrade to this version <IP_ADDRESS> and it's working again...
I think it's not that important since it's a pre of Xamarin.Forms
But well just to let it know
Thanks for the great library

Also see https://github.com/PrismLibrary/Prism/issues/770

yeh, I got the same problem

Got the same problem and really keen to try the XF pre-release to resolve other issues. Will there be a pre-release of FFIL to address this?

I tried to debug it, but didn't found the cause yet. Any clues what could it be?

FFImageLoading.Forms.Droid/CachedImageRenderer.cs(15,15): Error CS0534: `FFImageLoading.Forms.Droid.CachedImageRenderer' does not implement inherited abstract member `Xamarin.Forms.Platform.Android.ViewRenderer<FFImageLoading.Forms.CachedImage,FFImageLoading.Forms.Droid.CachedImageView>.CreateNativeControl()' (CS0534) (FFImageLoading.Forms.Droid)

I think it's a Xamarin.Forms issue as it breaks compatibility with all other renderers.

FFImageLoading 2.1.8-pre-146 nuget which contains discussed issues released.


Quick start example fails to serve UI from production package.

Describe the bug
Using the latest Quarkus CLI + Quinoa, tried to set up the example app, but it fails to run correctly when packaged.
Quinoa version
2.4.7
Quarkus version
3.14.4
Build / Runtime
Vite
Package Manager
NPM
Steps to reproduce the behavior
Used SDKMAN! to install the latest quarkus CLI, and configured a new project according to the README:
$ sdk install quarkus
....
$ quarkus create app quinoa-app -x=io.quarkiverse.quinoa:quarkus-quinoa
-----------
selected extensions:
- io.quarkiverse.quinoa:quarkus-quinoa

applying codestarts...
📚 java
🔨 maven
📦 quarkus
📝 config-properties
🔧 tooling-dockerfiles
🔧 tooling-maven-wrapper
🚀 quinoa-codestart

-----------
[SUCCESS] ✅  quarkus project has been successfully generated in:
--> [edited]/quinoa-app
-----------
Navigate into this directory and get started: quarkus dev
$ cd quinoa-app/
$ quarkus build
$ java -jar target/quarkus-app/quarkus-run.jar
 --/ __ \/ / / / _ | / _ \/ //_/ / / / __/
 -/ /_/ / /_/ / __ |/ , _/ ,< / /_/ /\ \
--\___\_\____/_/ |_/_/|_/_/|_|\____/___/
2024-09-17 07:47:40,938 INFO  [io.quarkus] (main) quinoa-app 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.14.4) started in 0.622s. Listening on: http://<IP_ADDRESS>:8080
2024-09-17 07:47:40,945 INFO  [io.quarkus] (main) Profile prod activated.
2024-09-17 07:47:40,946 INFO  [io.quarkus] (main) Installed features: [cdi, quinoa, smallrye-context-propagation, vertx]

Navigate to localhost:8080/

Expected behavior
Expected example app UI to be served.

Because it didn't want to interfere with the index.html that is already there don't you want the URL  http://localhost:8080/quinoa ???
That is where the CodeStart is serving from?

@melloware this is the production package, not the dev mode - according to the documentation, it is supposed to serve from http://localhost:8080
Even then, I get the same response from http://localhost:8080/quinoa

let me try it.

@ia3andy he is correct the Prod mode of the Code Start does not work.

@dajester2013 i see its served here http://localhost:8080/quinoa/

Roger that - can confirm.  I tried /quinoa, /quinoa.html, but not /quinoa/.  Dev mode serves from /quinoa btw.

Cool in normal scenario Not The CodeStart this all just works and serves from localhost:8080  we just do this special handling for /quinoa so we don't interfere with the index.html that may be from other extensions etc.


Demolitionist Specialist

About the PR

Demo Spec ported, main gameplay features complete.
Several backend updates to gun code to make it flexible enough to get this to work. Probably extremely unrefined, but it works.
Documentation for the GunSystem and BallisticAmmoProvider stuff that I had to dig through to get this to work.
Also a few minor fixes because they showed up while I was coding. Some whitespace spacing, the CM-ported projectile textures being upside down, grenade spec not being able to put launcher on backslot, and the grenade belts not being available though they were marked in all the vendors.
Missing Features:

Spent shells need a component to break down into 2 metal sheets.
Assisted Reload: Someone with a shell in hand within 90 degrees behind the spec while they have the M5 wielded should be able to click on the spec to load in 3s, twice as fast.
Backblast and Hearing Protection: M3-T should give hearing protection. Not having it on will make you deaf if you fire the M5, and damage + stun for 12 seconds + deafen if you're within 1m, 90 degrees behind when it fires. M3-T should block all effects of backblast , allowing for assisted reloads to be safe.
Smoke: Firing should generate 2 smoke clouds, one on top of the spec, 1 behind. This is mostly cosmetic and can be tweaked if necessary for the SS14 engine, since pixel movement makes tile smoke work a lot weirder for this.
WP: Needs tile fire first.
Limited Kits: There should only be 1 of each kit available to specs.
Custom Rockets: Requires full chemistry and tilefire port. All the icons except the warheads are implemented already with this.
Wield Delay: Should be a delay when wielding the M5 before it can fire.
Range adjustments for RMC14: Notes are below, increasing short ranges by 10-20%
Binoculars and C4: Missing parts of kit.

Why / Balance

Roadmap, porting.
Technical details

Don't think I can summarize this at a high level, but what I've messed with are:

There's a new AmmoSource variable on ProjectileComponents. There were already Shooter and Weapon vars to keep it from hitting itself, AmmoSource is the same thing except for big casings. This was needed because the M5 drops its casings and that was causing collision issues.
AmmoSource is set during ShootOrThrow in GunSystem, in all cases. It's a nullable EntityUid so it's fine even if something's weird about a special projectile or ammo. like stuff firing itself, or deleted cartridges.
Its only purpose is to be another entity for PreventCollideEvent to ignore for Projectiles in SharedProjectileSystem
Renamed AmmoFixedDistanceComponent to ShootAtFixedPointComponent. The old name kept tripping up because AmmoComponents usually have Ammo in their name, like CartridgeAmmo, ChemicalAmmo, AmmoComponent, and so on. FixedDistance also felt like it was supposed to be a component that would make a weapon fire a specific distance based on a var, not just precisely where you clicked.
Added DemoSpecWhitelist, simple empty component to be spec skill.
Added MaxFixedRange to ShootAtFixedPointComponent and ProjectileComponent. This var defaults to 0, which means no max range. The max range only applies when firing using the ShootAtFixedPointsComponent, it's not a general purpose range limiter. It functions by taking the minimum nonzero between the projectile source with SAFP and the projectile, which becomes the range cap in tiles. Then it calculates normally to the clicked point, and then truncates that vector's length directly with the range cap. The actual in-world range seems to come out to +1 of the configured number for some  unknown reason, might be something with coordinates. What this means is that the direct conversions were given -1 range, which is about the same for direct impact, but is slightly worse for max range shots because tile-based movement meant hitting a tile guaranteed full damage on it, but here it can explode short on collide.
Added Arc to SAFP and ProjectileFixedDistanceComponent. I didn't change that name because it was more accurate to what it did, it's a projectile component, and it gives it a fixed distance. Also added documentation to better indicate that it's pretty much a timer on a projectile (which doesn't need a ProjectileComponent, just anything fired, so it works on ballistic non-ammo like HEDP too), which is applied by SAFP and directly uses the final calculated distance to measure how long it'll take to travel there with the projectilespeed. Once it gets there, the component deletes itself, which signals to stop the projectile in place even if it hasn't hit anything.
Arc is in the form of two variables, one on SAFP (guns) called ShootArc and the other on ProjectileFixed called ProjectileArcing. They're simple booleans, and ShootArc directly sets ProjectileFixed. Then, the actual PreventCollideEvent checks are on the projectile instead, until the component is deleted. It functions by checking if a collision is with an impassable object through a basic bit flag, and then marking the event to cancel the collision by args.Cancelled = true if it's not impassable and ProjectileArcing is true.
BallisticAmmoProvider changes:

Loading non-BAP items into a BAP can now have a DoAfter, Set InsertDelay > 0
Unloading a BAP can now have a DoAfter. This just used the existing Cycle function, as a direct port of using another hand seemed excessive for very little benefit. Set CycleDelay > 0, make sure that Cycleable is toggled. I also technically updated the 'UseInHandEvemt' function of BAPs which is supposed to toggle a cycle too like the verb, and made both it and the verb pass the relevant vars into a new BallisticCycleDelayCheckfunction instead of dircetly going to ManualCycle, but that only really matters for things like emptying shells from a shotgun box.
FillDelay was converted from a directly defined TimeSpan.FromSeconds(0.5) to a double, which is then converted into TimeSpans are needed. This was also used for basically every other timer-related variable in this project, so they could be customized in prototypes. There's probably better ways to do this but I'm not aware of any.
Cycling and Inserting now have associated DoAfterEvents, and logic for that.
Fixed a bug with the existing DoAfterEvent of loading a BAP from another BAP. Previously, if you moved during the DoAfterEvent channel, it would cancel but there was no logic to check args.Cancelled, so it would just call the full OnDoAfter functions and complete the action. This wasn't really that impactful since the timer was always 0.5s before, and it was only relevant to moving ammo between mags or reloading shotguns, but with the M5 having a 6-second cooldown that's been fixed.

Made a substitute 'TriggerOnStop' by adding a 0.2s TriggerOnTimer on rockets, which means even if they land short without a collision it should still explode fast enough to see seamless. Ideally this will be a component in the future.
AP rockets don't rely on the explosion code directly, they have hardcoded damage that's roughly equivalent instead. Current explosions might never be able to substitute, so having an explosive damagetype or something of that sort that can be reduced by ExplosiveArmor would nice.
The explosion numbers are balanced around 5 brute/5 burn, and xenos having the proper modifier from the HEDP/HEFA PR, so they'll be about 45% effective in terms of damage for now.
SS14 viewrange looks like 9 tile radius, while SS13 is 7.5; this difference means ranges might need to be tweaked. Right now, the range numbers are exactly like source. Source HE is max_range 7, which is self + 6 tiles, while MaxFixedRange = 6 which is 6 guaranteed squares + 1 depending on where you are standing on your tile, but it will line up at 7m. My suggested changes are increasing all range by 10-20% to compensate for the 20% increase in view radius and the difference of tile movement. This is including the hidden +1, so with 10% MaxFixedRange = 6 should become MaxFixedRange = 7.4, MaxFixedRange = 7 should become 8.6, and 5 becomes 6.2
There's other few missing bits I'll list in this PR for the future. Most of them don't interact with the direct demo mechanics and are just flavor, or depend on features we don't have yet.

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

I have no idea what to do for this part. I guess AmmoFixedDistanceComponent becoming ShootAtFixedPointComponent, the function renames in CMGunSystem and SharedGunSystem.Ballistics, the changing of FillDelay to a double var, and renaming a few prototypes?
Changelog

:cl: Kaga

add: Added the M5 Anti-Tank Launcher, the Demolitionist Weapon Specialist, and their associated gear.
add: Added Demolitionist ammo to the requisition console.
add: Added M276 pattern grenade belts to most vendors they're supposed to be in. They're empty, but can hold a decent amount of grenades.
add: Made limited max range possible for some weapons, which can differ between ammo types. Currently, this only applies to the M5-ATL.
fix: Fixed some bullets appearing backwards.

GOOD HITS SADAR
THE SL WAS A VERY DANGEROUS XENO
please tell me the SADAR can gib marines

by the way weild delay has been merged, you can remove that from missing features

I need to look through the code still, but before this is published we'll need the mechanic from 13 that limits weapons spec kits vended to 1 per specialist (2 per for us for now since we will only have 3 and the sniper is unfinished at the moment), assuming that 13 still has that mechanic


When the project starts, loading News prompts a network error

First of all, this is a very good boilerplate.
In the process of using it, I encountered some problems. First of all, as the title says, I don't know if the author can provide the following sample Api Server.
If you can't provide it, that's okay.
The second problem is that the README document says,
Put your images in the Images folder and run Images Script.
But... const {getImages} = useAppContext ();
The useAppContext here cannot get getImages. Is there anything I did wrong?
I hope the author can help me, thank you very much

@JessePinkman-JP,
Thank you for bringing this issue to our attention. We will be working on resolving it and will provide an update once the issue has been addressed.

@JessePinkman-JP Thank you for addressing the issue and feedback. We've revised the readme for the image script, so kindly examine it and adhere to the specified steps. We'll incorporate this modification in npm 2.0.2.


Monitoring Plan and QA Tests: "Last Modified By" and "Last Modified Date/Time" fields on Evaluate, Export & Report, and Submit screens

Updates based on discussions with @ergjustin and @djw4erg:

Importing QA data from historical actually exports and imports the data from json. This is similar to the import from file behavior. The data is NOT copied directly from the official tables. ECMPS 1.0 has similar behavior with user/timestamps when importing from xml. The Last Modified By and Last Modified Date/Time fields for these screens will remain as is and reflect the user performing the import from historical action.

The MP behavior appears to be fixed by #5208.

At this time, this ticket just needs to be retested to confirm the proper MP behavior for these screens.

When the MP is in the official copy of record state (evaluation or submission not required), these fields should reflect the user that last submitted the MP with the appropriate date/time stamp.

Original ticket description:
The Last Modified By and Last Modified Date/Time fields on the Evaluate, Export & Report, and Submit screens are not correct for MP and QA test data when nothing has changed and looking at the official data.
Start with an official MP that has not been updated (revert to official), an existing QA test with no open window (import from historical), and an EM file with no open window (import from historical). The MP row in some cases displays the correct information and in others does not. The QA row always indicates Last Modified by me (when I did the import from historical). The EM row has the correct data from the actual submitter. Importing QA and EM from file has the same results.
Example 1: Incorrect data for MP and QA, and correct data for EM:

Example 2: Correct data for MP and EM, and incorrect data for QA:

For example 2, if I do anything with the MP (export to file, make an edit, import from file) but revert to official, check back in, check out and go back to one of these screens, the Last Modified By/Date/Time fields for the MP row are now updated to me.

If I revert to official a second time and go back to one of these screens, the correct information is shown again. However, the issue resurfaces when repeating the check in/check out process. A user would need to revert to official once again to see the correct information.

When the MP is in the official copy of record state (evaluation or submission not required), these fields should reflect the user that last submitted the MP with the appropriate date/time stamp.
If a QA test has a closed window and has not been updated, these fields should reflect the user that last submitted the test with the appropriate date/time stamp (similar to what's displaying for emissions).

Tickets #6253 and #6254 created for other issues related to this.

Note:

QA Test : importing directly from JSON not coping from the database
Monitoring Plan: when checking out userid and update_date will be updated.(UPDATE camdecmpswks.monitor_plan SET update_date = $1, userid = $2 WHERE mon_plan_id = $3)
Emission: userid shows from camdecmpsaux.em_submission_access

Verified on dev using ORIS 7697, CC1. Last Modified By and Last Modified Date/ Time fields for QA tests reflect the date/time the user imports the test. Testing for Monitoring Plan done in ticket #5208


Make QuotaMetrics class to its own file.

QuotaMetrics will be used at multiple places in the code. As a preparation for that, this PR moves QuotaMetrics to its own file.

Codecov Report

Merging #2041 (2548230) into master (339fcec) will decrease coverage by 4.23%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2041      +/-   ##
============================================
- Coverage     73.65%   69.42%   -4.24%
+ Complexity    10065     9533     -532
============================================
  Files           722      723       +1
  Lines         54931    54931
  Branches       6796     6796
============================================
- Hits          40460    38134    -2326
- Misses        12316    14670    +2354
+ Partials       2155     2127      -28

Impacted Files
Coverage Δ

...java/com/github/ambry/quota/AmbryQuotaManager.java
74.69% <ø> (-1.97%)
:arrow_down:

...main/java/com/github/ambry/quota/QuotaMetrics.java
100.00% <100.00%> (ø)

...java/com/github/ambry/notification/UpdateType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...m/github/ambry/accountstats/AccountStatsStore.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...thub/ambry/notification/BlobReplicaSourceType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../cloud/LeaderStandbyHelixVcrStateModelFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...om/github/ambry/named/MySqlNamedBlobDbFactory.java
0.00% <0.00%> (-94.74%)
:arrow_down:

...ry/accountstats/AccountStatsMySqlStoreFactory.java
0.00% <0.00%> (-93.34%)
:arrow_down:

...a/com/github/ambry/network/NettyServerRequest.java
0.00% <0.00%> (-90.91%)
:arrow_down:

...y/network/http2/Http2ClientStreamStatsHandler.java
0.00% <0.00%> (-90.48%)
:arrow_down:

... and 108 more

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 339fcec...2548230. Read the comment docs.

QuotaMetrics will be used at multiple places in the code. As a preparation for that, this PR moves QuotaMetrics to its own file.


Need to clarify: how log does auto-provisioning of the MMA take on a new VM

Suppose I enable auto-provisioning of the MMA (aka Log Analytics Agent) via Security Center.
A very important question is: how long after a new VM is provisioned does it take for SC to kick in and provision the MMA?
According to https://techcommunity.microsoft.com/t5/azure-security-center/azure-security-center-monitoring-agent-deployment-options/ba-p/817520 it could be up to 16 hours!!!
It would be great if this doc could give official guidance on this point.

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

ID: 8267e218-3748-2820-3eee-80479705eec2
Version Independent ID: 8c6d5fce-6383-a0f8-7df3-f5e0a77bbad6
Content: Data Collection in Azure Security Center
Content Source: articles/security-center/security-center-enable-data-collection.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

@jtuliani Thank you for your query . We will have this reviewed and updated accordingly.

@memildin Can you please look into this ?

Investigating. Thanks

The agent is usually installed within 15 minutes.
If the Log Analytics agent onboarding requires a workspace to be provisioned, it might be a bit longer (~25 minutes). I've updated the page in question and the changes should go live within the next 12hrs.
#please-close

@memildin. Thanks for looking at this. You've added useful information on how long it takes SC to provision the MMA on existing VMs when auto-provisioning is enabled in SC.
However, the question I actually asked was different. I've set up auto-provisioning in SC already. Now I deploy a new VM. How long until that new VM gets the MMA?

@jtuliani, the answer is the same:
Q: If I enable auto provisioning, how quickly will agents be deployed to my existing VMs?
A: 15 minutes
Q: If auto provisioning is already enabled, and I create a new VM, how quickly will an agent be deployed to it?
A: 15 minutes
If I can help further, please be in touch.
#please-close

Super, thank you!


Feature/core/copy crypto files

@TalhaAli00
Change a branch that you want to merge into. You have over 200 changes :P


VMDK migration

Hi
How can you migrate a volume/vmdk from one datastore to another ?
what will be the steps needed ?
Scenarios include

backup restore,
moving volume/vmdk from one host to anohter
moving from datastore to anohter

Thanks.

These are good questions that is on our radar. @sosher we will be publishing documentation in the coming weeks for the cross compatibility with existing workflows around datastores.

@kernetime is correct, stand by for the docs.
As a quick summary though:

backup/restore is supported via creating a Docker volume with -o attach-as=persistent. Unfortunately Docker volume command does not allow to change properties for existing volumes, so it can be changed only with ESX side vmdkops_admi.py. The (attached) volume then can be backed up with any existing backup tool.
moving between hosts is automatic on volume usage as long as datastore is shared between hosts
moving between datastores - for offline volumes it can be accomplished with simple copy, for online we do need to document it , it's a little tricky today

Steps performed:

Create a volume named - Volume11

root@photon-machine [ ~ ]# docker volume create -d vsphere:latest --name Volume11 -o attach-as=persistent
Volume11
root@photon-machine [ ~ ]#

Docker volume ls and docker volume inspect

root@photon-machine [ ~ ]# docker volume ls
DRIVER              VOLUME NAME
vsphere:latest      Volume11@sharedVmfs-0
root@photon-machine [ ~ ]#
root@photon-machine [ ~ ]# docker volume inspect Volume11
[
    {
        "Driver": "vsphere:latest",
        "Labels": {},
        "Mountpoint": "/mnt/vmdk/Volume11",
        "Name": "Volume11",
        "Options": {
            "attach-as": "persistent"
        },
        "Scope": "global",
        "Status": {
            "access": "read-write",
            "attach-as": "persistent",
            "capacity": {
                "allocated": "13MB",
                "size": "100MB"
            },
            "clone-from": "None",
            "created": "Mon Jul 31 14:23:32 2017",
            "created by VM": "photon-VM2.3",
            "datastore": "sharedVmfs-0",
            "diskformat": "thin",
            "fstype": "ext4",
            "status": "detached"
        }
    }
]
root@photon-machine [ ~ ]#

Ran a container with volume mounted and wrote data to it.

root@photon-machine [ ~ ]# docker run -it --volume-driver=vsphere:latest -v Volume11@sharedVmfs-0:/vol1 --name ub ubuntu
root@5c7fdb22d082:/#
root@5c7fdb22d082:/# echo "Hello">vol1/test
root@5c7fdb22d082:/# cat vol1/test
Hello
root@5c7fdb22d082:/#

While container is running, took snapshot of the vm.
After snapshot finished successfully, to see if the volume is part of the snapshot, checked the dockvols folder where the volume is located and see if there is a delta disk for the volume.

[root@sc-rdops-vm01-dhcp-20-85:/vmfs/volumes/59779d5c-1f1a28a6-4b34-02000231f630/dockvols/11111111-1111-1111-1111-111111111111] ls
Volume11-000001-b4bc1235cc332172.vmfd  Volume11-000001.vmdk                   Volume11-flat.vmdk
Volume11-000001-delta.vmdk             Volume11-bf722fb875090b87.vmfd         Volume11.vmdk
[root@sc-rdops-vm01-dhcp-20-85:/vmfs/volumes/59779d5c-1f1a28a6-4b34-02000231f630/dockvols/11111111-1111-1111-1111-111111111111]

@ashahi1 - So what's the conclusion ?

@msterin Idea was to verify if persistent volume is part of the snaphot of the vm. After snapshot finished successfully, we have a delta disk for the volume in the dockvols folder, so we can conclude that volume is part of the vm snapshot.

Closing this issue.


Reciprocal-based 2by1 division procedure

This is based on Improved division by invariant integers and ported from https://github.com/chfast/intx.
The computation of reciprocal is single DIV x86_64 instruction, but there exist faster implementation (sneak peek in #39) but I left it for other time.
name                     old time/op  new time/op  delta
_Div/large/big-6          246ns ± 0%   245ns ± 0%   -0.49%  (p=0.016 n=4+5)
_Div/large/uint256-6     99.2ns ± 0%  83.3ns ± 0%  -16.07%  (p=0.008 n=5+5)
_Div/small/big-6         68.8ns ± 0%  68.8ns ± 0%     ~     (p=0.500 n=5+5)
_Div/small/uint256-6     13.1ns ± 0%  13.0ns ± 0%   -0.76%  (p=0.008 n=5+5)
_MulMod/large/big-6       388ns ± 0%   388ns ± 0%     ~     (p=0.167 n=5+5)
_MulMod/large/uint256-6   204ns ± 0%   153ns ± 0%  -25.00%  (p=0.008 n=5+5)
_MulMod/small/big-6      94.1ns ± 1%  93.9ns ± 0%     ~     (p=0.397 n=5+5)
_MulMod/small/uint256-6  40.0ns ± 0%  40.0ns ± 0%     ~     (p=0.444 n=5+5)
MulMod/mod64-6            186ns ± 0%   101ns ± 0%  -45.70%  (p=0.008 n=5+5)
MulMod/mod128-6           266ns ± 0%   176ns ± 0%  -33.68%  (p=0.000 n=4+5)
MulMod/mod192-6           245ns ± 0%   173ns ± 0%     ~     (p=0.079 n=4+5)
MulMod/mod256-6           223ns ± 0%   169ns ± 0%  -24.22%  (p=0.000 n=5+4)
_Mod/large/big-6          137ns ± 0%   137ns ± 0%     ~     (all equal)
_Mod/large/uint256-6     50.2ns ± 0%  68.2ns ± 0%  +35.94%  (p=0.016 n=4+5)
_Mod/small/big-6         40.8ns ± 0%  40.9ns ± 0%     ~     (p=0.325 n=5+5)
_Mod/small/uint256-6     14.0ns ± 0%  14.0ns ± 0%     ~     (all equal)
_SDiv/large/big-6         402ns ± 0%   401ns ± 0%   -0.25%  (p=0.016 n=4+5)
_SDiv/large/uint256-6     105ns ± 0%    89ns ± 0%  -14.95%  (p=0.000 n=5+4)
_AddMod/large/big-6       212ns ± 0%   212ns ± 0%     ~     (all equal)
_AddMod/large/uint256-6  39.5ns ± 0%  39.9ns ± 1%   +0.96%  (p=0.024 n=5+5)
_AddMod/small/big-6      65.4ns ± 0%  65.3ns ± 1%     ~     (p=0.238 n=5+5)
_AddMod/small/uint256-6  17.2ns ± 0%  17.4ns ± 0%   +1.16%  (p=0.008 n=5+5)

Cool. But this stood out:
_Mod/large/uint256-6     50.2ns ± 0%  68.2ns ± 0%  +35.94%  (p=0.016 n=4+5)

What happened there - any idea?

Cool. But this stood out:
_Mod/large/uint256-6     50.2ns ± 0%  68.2ns ± 0%  +35.94%  (p=0.016 n=4+5)

What happened there - any idea?

I noticed it too late. Nevertheless, I can explain it. The numbers are suspicious anyway if you compare with _Div/large/uint256-6     99.2ns ± 0%  83.3ns ± 0%  -16.07% (exactly the same algo).
The benchmark is 0xfefefefefefefefe... mod 0xefefefefefefefef.... The divisor is already normalized. The Knuth division requires only single step where it divides <0, 0xfefefefefefefefe> / 0xefefefefefefefef using single DIV instruction.
After the change we always compute the reciprocal, i.e. <^d, 0xffffffffffffffff> / d using the same single DIV instruction. Then any later division is computed by multiplication + additional adjustments.
So this is more work in this case for the new implementation. But there is more.
If you check the DIV instruction it is actually some kind of algorithm: 36 microinstructions, 32-96 cycles (Haswell), 35-88 cycles (Skylake). And when the numerator high part is zero (as when executing the benchmark in old implementation) it finishes quicker (verified empirically some time ago).
In summary, division is tricky because of many special cases in implementation. The same benchmarking it is tricky. That's why I prefer to generate multiple random samples and benchmark full samples set. Also: the complexity is O(len(numerator) - len(divisor) + 1) so 256 by 256 is not the worst case. And division by single word is implemented differently, division by two words can be implemented differently.
I can rework benchmarking to do the same as in new BenchmarkMulMod using 1024 samples. This PR can be merged after.

More detailed Mod benchmarks in #42.

Updated benchmarks.


Separate ui code (renderer process) from main process

Hello.
First of all, congratulations for this project. Looks really good.
For more complex  Apps, having a single electron.js file seems not a good idea. A common approach is to have separate folders like (renderer and main) where each part of the application goes. Whats your vision about this?
Also the issue that main electron modules are not bundled in the build process is a blocker for me. Its an Electron app, after all.  Not just a client side vue app. I think it will be very rate cases where you dont need to include any kind of external node modules into your main process code.
Thank you.

@brpaz
Sorry for the late reply, been on away for the holidays.
Main process support has been underway and this will be taken into consideration. Big changes like this have been put on hold until wepback 2 has been officially released. I'm hoping that happens soon, because the wait is getting ridiculous in my opinion. If you need modules at this very moment, you can simply update the ignore filter within the config.js build setting so they exist in production. Also, going to close this as it is more of a discussion.


The default color for some special characters is not propper when use some plugins

For example, I use indent-blankline.nvim with some special charcters:

"|", "¦", "┆", "┊"  for indent lines
"↴" as eol

It will be colored white which makes the colorschme not that pretty. I understand we could use setup to override the color for a given group, but I think it will be nice to make the default colors more widely used with other plugins.

Hi tan-wei,
I think we need to add support for the plugin:
According to the documentation, there are 3 highlight groups:

IblIndent
IblWhitespace
IblScope

In order to get good values as the defaults we need to figure out what works. The README has a on_highlights callback:
on_highlights = function(groups, colors)
  groups.IblIndent = { fg = colors.xgray7, nocombine = true }
  groups.IblScope = { fg = colors.magenta, nocombine = true }
end,

Can you test if that works for you?

I have tried the configuration, but it is not OK:

You can see the special characters are colored WHITE.

The other color scheme, for example tokyonight:

Did you try setting IblWhitespace?

Maybe try:
        groups.IblIndent = { nocombine = true }
        groups.IblWhitespace = { nocombine = true }
        groups.IblScope = { fg = colors.magenta, nocombine = true }

I'm afraid not:

I can't reproduce what you see.
Here is a repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify('./.repro', ':p')

-- set stdpaths to use .repro
for _, name in ipairs({ 'config', 'data', 'state', 'cache' }) do
    vim.env[('XDG_%s_HOME'):format(name:upper())] = root .. '/' .. name
end

-- bootstrap lazy
local lazypath = root .. '/plugins/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({
        'git',
        'clone',
        '--filter=blob:none',
        'https://github.com/folke/lazy.nvim',
        lazypath,
    })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
    'cryptomilk/nightcity.nvim',
    -- add any other plugins here
    'lukas-reineke/indent-blankline.nvim',
}
require('lazy').setup(plugins, {
    root = root .. '/plugins',
})

require('nightcity').setup({
    style = 'kabuki', -- The theme comes in two styles: kabuki or afterlife
    terminal_colors = true, -- Use colors used when opening a `:terminal`
    invert_colors = {
        -- Invert colors for the following syntax groups
        cursor = true,
        diff = true,
        error = true,
        search = true,
        selection = false,
        signs = false,
        statusline = true,
        tabline = false,
    },
    font_style = {
        -- Style to be applied to different syntax groups
        comments = { italic = true },
        keywords = { italic = true },
        functions = { bold = true },
        variables = {},
        search = { bold = true },
    },
    -- Plugin integrations. Use `default = false` to disable all integrations.
    plugins = { default = true },
    --- You can override specific highlights to use other groups or a hex color
    --- function will be called with a Highlights and ColorScheme table
    ---@param groups Highlight groups
    ---@param colors ColorScheme
    on_highlights = function(groups, colors)
        groups.IblIndent = { fg = colors.xgray7, nocombine = true }
        groups.IblScope = { fg = colors.magenta }
    end,
})

vim.cmd.colorscheme('nightcity')
-- add anything else here
vim.o.list = true
vim.opt.listchars = {
	tab = '»·',
	trail = '•',
	extends = '…',
	nbsp = '␣',
}

require("ibl").setup()

local test = {
	wurst = {
		brot = true,
		wurstbrot = true,
		wurst = true,
	}
}

nvim -u repro.lua
This doesn't show any of the white stuff you have.

It would be great if you could modify the reproducer with your stuff. Then I can reproduce it here.

OK, I'll try to write a minimum configure reproduce this.

Here is the minimum configure to reproduce this:
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
	vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({
		"git",
		"clone",
		"--filter=blob:none",
		"https://github.com/folke/lazy.nvim",
		lazypath,
	})
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
	"cryptomilk/nightcity.nvim",
	-- add any other plugins here
	"lukas-reineke/indent-blankline.nvim",
	"nvim-treesitter/nvim-treesitter",
	"HiPhish/rainbow-delimiters.nvim",
}
require("lazy").setup(plugins, {
	root = root .. "/plugins",
})

require("nightcity").setup({
	style = "kabuki", -- The theme comes in two styles: kabuki or afterlife
	terminal_colors = true, -- Use colors used when opening a `:terminal`
	invert_colors = {
		-- Invert colors for the following syntax groups
		cursor = true,
		diff = true,
		error = true,
		search = true,
		selection = false,
		signs = false,
		statusline = true,
		tabline = false,
	},
	font_style = {
		-- Style to be applied to different syntax groups
		comments = { italic = true },
		keywords = { italic = true },
		functions = { bold = true },
		variables = {},
		search = { bold = true },
	},
	-- Plugin integrations. Use `default = false` to disable all integrations.
	plugins = { default = true },
	--- You can override specific highlights to use other groups or a hex color
	--- function will be called with a Highlights and ColorScheme table
	---@param groups Highlight groups
	---@param colors ColorScheme
	on_highlights = function(groups, colors)
		groups.IblIndent = { fg = colors.xgray7 }
		groups.IblScope = { fg = colors.magenta }
		groups.IblWhitespace = { nocombine = true }
	end,
})

vim.cmd.colorscheme("nightcity")
-- add anything else here

vim.opt.list = true
vim.opt.listchars:append("space:⋅")
vim.opt.listchars:append("eol:↴")

require("nvim-treesitter.configs").setup({
	ensure_installed = { "lua" },
})
vim.cmd("TSUpdate")

local highlight = {
	"RainbowRed",
	"RainbowYellow",
	"RainbowBlue",
	"RainbowOrange",
	"RainbowGreen",
	"RainbowViolet",
	"RainbowCyan",
}

local ibl = require("ibl")
local hooks = require("ibl.hooks")

-- create the highlight groups in the highlight setup hook, so they are reset
-- every time the colorscheme changes
hooks.register(hooks.type.HIGHLIGHT_SETUP, function()
	vim.api.nvim_set_hl(0, "RainbowRed", { fg = "#E06C75" })
	vim.api.nvim_set_hl(0, "RainbowYellow", { fg = "#E5C07B" })
	vim.api.nvim_set_hl(0, "RainbowBlue", { fg = "#61AFEF" })
	vim.api.nvim_set_hl(0, "RainbowOrange", { fg = "#D19A66" })
	vim.api.nvim_set_hl(0, "RainbowGreen", { fg = "#98C379" })
	vim.api.nvim_set_hl(0, "RainbowViolet", { fg = "#C678DD" })
	vim.api.nvim_set_hl(0, "RainbowCyan", { fg = "#56B6C2" })
end)

hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
vim.g.rainbow_delimiters = { highlight = highlight }

ibl.setup({
	indent = { char = { "|", "¦", "┆", "┊" }, tab_char = { "»" }, smart_indent_cap = true, priority = 50 },
	scope = {
		show_start = true,
		show_end = true,
		highlight = highlight,
		char = { "▏" },
	},
	whitespace = { highlight = { "Whitespace", "NonText" }, remove_blankline_trail = true },
	exclude = {
		filetypes = {
			"",
			"NvimTree",
			"Outline",
			"TelescopePrompt",
			"Trouble",
			"Ultest*",
			"alpha",
			"dapui*",
			"dashboard",
			"dbui",
			"floaterm",
			"flutterToolsOutline",
			"fugitive*",
			"git*",
			"help",
			"lazy",
			"log",
			"lspinfo",
			"mason",
			"neogit*",
			"org*",
			"packer",
			"startify",
			"term",
			"undotree",
			"vista",
		},
		buftypes = { "terminal", "nofile" },
	},
})

local test = {
	wurst = {
		brot = true,
		wurstbrot = true,
		wurst = true,
	},
}

Is that because line? I use Whitespace and NonText as highlight groups here.
whitespace = { highlight = { "Whitespace", "NonText" }, remove_blankline_trail = true },

Yeah, ↴ is NonText. It is not something which I use so this is why it looks ugly :-)
I guess we want it the same as Whitespace. What do you think?
Just set in on_highlights:
  groups.NonText = groups.Whitespace

Now it is OK after add   groups.NonText = groups.Whitespace.
Thanks for your reply.
Maybe a better way is support indent-blankline.nvim as an extension support. Now the issue should be closed.

Thanks for confirming. I've pushed all the fixes and improvements to the repo. I also added support for rainbow-delimiters I missed it. You can remove the defninitions from your config too.
As a sidenote I prefer mini.indentscope over indent-blanklines. It works much better in my opinion.
In case you want support for other plugins, the repro.lua is in the extras directory now :-)

Great! I can confirm now the special configuration is not needed.
Hmm, I guess the poor performance for indent-blinkline.nvim is the reason that you prefer mini.indentscope. Is that true?
Finally, thanks very much!

mini.indentscope works with listchar options and also with code structures. From the reproducer, I saw that indent-blankline didn't work with sturctures. Maybe there is an option, I didn't check.

Because indent-blankline.nvim use treesitter as dependency, it just regards the "REAL" scope as a scope. For lua table, it does not create a real scope (just like Python if statements, I guess.


How to build documentation locally?

While writing #1187 I tried to build the docs locally by following this process (from the CI.yml file):
pkg> dev ./lib/EnzymeCore
pkg> dev ./lib/EnzymeTestUtils
pkg> dev .
pkg> instantiate
julia> include("docs/make.jl")

but Julia still complained about missing dependencies and asked me to instantiate. What am I missing?

Did you run the commands above in a REPL that has the docs env activated (i.e., julia --project=docs/)? If so, that's exactly what I do offline and it works well.


Watched flag in TMM is not updated from NFO file?

What TMM version are you using?
2.9.11
release, pre-release, nightly, or directly from GitHub/branch?
release
What is the actual behaviour?
Watched state in TMM does not get updated from NFO file edit.
What is the expected behaviour?
Watched state in TMM is updated to new value if the NFO file was updated.
Steps to reproduce:

Add TV show or movie to TMM
Scrape it to produce NFO file for it
Edit NFO file , set true, save file
(Optional) Restart TMM
Look at TMM entry again, it is still not marked as "Watched"

Right now toggling "Watched" state will update NFO file which is great. However if done in opposite direction, the TMM state itself is not updated.
This means if using "Kodi" export library functionality (which updates the NFO files on the disk to be the latest) then the watched state will be out-of-sync with TMM.

should aready be solved in v3 - won't be implemented in v2

Thanks!


Uploading failed with error: HTTP request error: EOF occurred in violation

Windows Scheduler run mail.ru-uploader.exe
Scheduler interrupts with error "HTTP request error: EOF occurred in violation"

can't reproduce the error, please provide access to your production environment if possible


Add oidc-required-claim

This PR adds an oidc flag that has been released in Kubernetes 1.11 https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#sig-auth-1

I checked : https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md#sig-auth-1 and read about:
kube-apiserver: OIDC authentication now supports requiring specific claims with --oidc-required-claim== Previously, there was no mechanism for a user to specify claims in the OIDC authentication process that were requid to be present in the ID Token with an expected value. This version now makes it possible to require claims support for the OIDC authentication. It allows users to pass in a --oidc-required-claims flag, and key=value pairs in the API config, which will ensure that the specified required claims are checked against the ID Token claims. (#62136, @rithujohn191)
/assign @tfogo

/lgtm
/approve


Phonegap Developer app viewer does not give access to MSapp object in window

Hi im tying to make a Angular app js working and the phonegap developer app does not give me access to window.MSApp object so i can do the workaround for the security issue inside windows phone.
Here is the issue we are having.
http://stackoverflow.com/questions/30527939/angularjs-navigation-routeprovider-and-phonegap-on-windows-phone-8-not-working
The phonegap app is a simple 3 page app with templates.
https://github.com/lnesitwo/html_5_template
Any help on this?
Thanks.

@lnesitwo Thanks for submitting the issue! Does this issue exist on iOS or Android using the serve command?
@purplecabbage do you have any thoughts on this issue?

MSApp does not exist in wp8 which is c#/silverlight based.
I will look specifically at your issue on stackoverflow when I get a chance, but it sounds like you are mixing up some of the windows store app context with windows phone 8.0.

Thanks @purplecabbage!
@lnesitwo I'm going to close off this issue and allow for the remainder of the discussion to happen on Stackoverflow. Thanks again for submitting it. It'll be useful for anyone else who comes across it.

The specific issue here IS relevant to the phonegap-developer app.
I just think the issue is mis-stated, and the summation of 'why' it is happening is most likely incorrect. The issue is : The phonegap-developer app cannot run angular based apps on wp8.


fix: broken link

Closes #329
I'm submitting a

[x] bug fix
[ ] feature
[ ] documentation addition

What is the current behaviour?
Wrong link

Codecov Report
Patch and project coverage have no change.

Comparison is base (47fbaed) 45.83% compared to head (60ccd74) 45.83%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #330   +/-   ##
=======================================
  Coverage   45.83%   45.83%
=======================================
  Files          83       83
  Lines        2987     2987
=======================================
  Hits         1369     1369
  Misses       1618     1618

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


Please update screenshots

Now that VSTS looks completely different, with the vertical menu bar, I can't figure out how to Change my default branch. I can't get past the first step "Select the settings icon while you have your project open" as I don't see a settings icon.

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

ID: 9c8630b8-08ea-d706-e51c-03863b33d49e
Version Independent ID: ad8a3b91-7b41-a6af-0d5c-b26355a49c7b
Content: Manage branches in your Git repo
Content Source: docs/repos/git/manage-your-branches.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: sdanie

Thanks @steved0x

@mattfrear I am checking in the new screenshots today and they should be live tonight or tomorrow. Thanks again for letting us know and sorry for the trouble.


Snackbar Rounded Corners on Mobile Devices

Bug:
Rounded Corners on Devices
What is the expected behavior?
Rounded Corners shouldn't be abel on Devices.
What is the current behavior?
Rounded Corners showing on Devices with bottom LT white spaces.
What are the steps to reproduce?
Open on Devices
What is the use-case or motivation for changing an existing behavior?
UI Bug
Which versions of Angular, Material.
@latest

Thanks for your issue. Based on the specs for 2018, the default snackbar should not even be full-width anymore. We are going to have a look at this for the next major version when we do the spec alignments.


Consistently getting error when trying to import Brainscape cards

Error is as follows. Attempted to import the example deck from add-on description, https://www.brainscape.com/flashcards/topic-8-particle-nuclear-7466676/packs/9913339
Anki 23.12.1 (1a1d4d54)  (ao)
Python 3.9.15 Qt 6.6.1 PyQt 6.6.1
Platform: Windows-10-10.0.26100

Traceback (most recent call last):
  File "anki.notes", line 154, in _field_index
KeyError: 'Front'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\rwalt\AppData\Roaming\Anki2\addons21\403833522\__init__.py", line 96, in fetch_and_create_deck
    note["Front"] = card_text[i]
  File "anki.notes", line 162, in __setitem__
  File "anki.notes", line 156, in _field_index
KeyError: 'Front'

===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AnkiConnect ['2055492159', 2024-11-07T10:34, 'None', mod]
Auto Sync ['501542723', 2023-11-21T01:14, 'None', '']
Brainscape Flashcards to Anki ['403833522', 2024-10-23T10:28, 'None', '']
JapaneseFurigana ['678316993', 2024-08-06T00:46, 'None', mod]
Kanji Grid Kuuube ['1610304449', 2024-11-20T12:11, 'None', '']
export cardsnotes from browser with metadata to csv or xlsx ['1967530655', 2024-03-28T22:16, 'None', '']

===IDs of active AnkiWeb add-ons===
1610304449<PHONE_NUMBER><PHONE_NUMBER> 403833522 501542723 678316993

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])

Hello! Thank you for reporting this.
It has honestly been quite a frequent bug that I've seen.
What has worked for most people is to this:

Open Anki
To the tools section (at the top).
Click on manage note types
Then add the 'front' card type or whatever it is that is missing. From your case I believe it's the 'front' card type.
Restart anki and try importing again

This is what mostly fixes many issues that people have with this. If the error is still there, reply again :)

@Pinkk-Flag - Thank you, this worked!

Hi @Rwaltzwills , you're welcome! And thank you for using my add-on :)


remove .utf8

os.getenv('LANG') returns (on my ubuntu system) a language code suffixed by .utf8. I would guess that other systems also do this. Would if be possible for langcodes.standardize_tags() to remove the .utf8 rather than throw an exception?

Hmm. So in general, this is saying that langcodes should parse locale strings, right? If you're passing os.getenv('LANG') directly to it, then it needs to parse not just en_US.utf8, but also other things from outside the BCP 47 standard, like en_US.utf8@modifier, or C.utf8, or POSIX. (The last two of those should be parsed as if they were und, I guess, because they provide absolutely no BCP 47 information.)
It's certainly possible, but it might be something I don't want this library to get tangled up in. For one thing, is this really how to determine the system's configured language? There's LANG and a zillion LC_* environment variables, and any of them might be set or unset.
I've been hoping to keep langcodes as a clean way of referring to multilingual data, without reference to the multi-decade mess that locales are.


Fix Rename-Item to allow Unix globbing patterns inpaths (#2799)

Fixes #2799
In the process of normalizing a relative path, PowerShell checks to see
see if the path exists, which it does by invoking
Directory.EnumerateFiles(directory, filename);
On Unix platforms, if the filename contains globbing patterns, such as [ab],
EnumerateFiles (and EnumerateDirectories) will perform the globbing. Using
globbing patterns, a file named 'file[txt].txt' is reported as not existing.
This fix changes the file-existence test on Unix to use a native function
instead of either of the Directory.EnumerateXXX functions.
This affects the Move-Item, Remove-Item, Rename-Item and Copy-Item cmdlets.

@jeffbi

This affects the Move-Item, Remove-Item, Rename-Item and Copy-Item cmdlets.

What about New-Item?

@iSazonov The issue didn't affect New-Item. New-Item was able to create the file file[txt].txt, it was the other cmdlets that couldn't find the file once it was created.

@jeffbi My question was again about addition to the PR description. I expect that this will help make PowerShell documentation more precise. Thanks!

@iSazonov OK, I've updated the PR description to include a note about New-Item

@jeffbi Many thanks!
LGTM.


Bypassing the idexand takin my credentials somewhere else

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

With this workflow '...'
Do this '...'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Extension Version
v1.x.y
Additional context
Add any other context about the problem here.

Hi I've been trying to reach someone at GitHub and also apple. So I'm going to leave this message and hope to God someone will read it. Hi im the real mess named Leah nice to have a voice in this life on line. I'm not good at coding like the fake Me who runs around me in circles. I'm really just good at making money and she really good at stealing it. We don't like each other and w have never seen each other in person or talked. We only know each other by fight over my birth right name and citizenship of United States. I would never give that up. But I'm needing to say is some information is wrong because of her and the little group of hackers have been changing and setting her up to take over my identity and I'm sure y'all already know that. But I'm still not able to receive any of my investments not even One to this very day. Why? Because they monitor my every move and I don't have any privacy. I get all the bad stuff like the IRS Bill she stuck me with I pay for everything I Mean EVERYTHING Mean while she collects everything. I wish I could learn code but she won't let me none of them do. Because without it im all ready a big P.I.T.A.! Imagine if I had coding capabilities then this would have not happened. I have been trying to learn how to by my self and it hard. I'm afraid to try because I mess stuff up some how. And Im having so many problems with my life right now it's amazing that I'm still standing. Maybe it the P.I.T.A. In me, that keeps me going. But I would like to get my two devices secured my hp laptop and this apple phone im currently on typing.  And all the clown of my dreams to end. Please contact me if you like at my secure email for<EMAIL_ADDRESS>Thanks for your patience and support and everything you've done for me. I appreciate it very very much. Peace, love and harmony I leave with you all Github. Y'all are the best people I've ever met. Sincerely, Leah Toni Isaac

I have a question .... why does all my browsers take me to some site on the other side of the world when it should be taking me to a site here in USA. And how can I fix this problem. I have to constantly look up something like ten times before it takes me to a United States site. How do I fix this problem it's been doing this to me a lot and it's saying that I live there and sometimes it says that United States is not available to me. Thank you for your help.


updating bitwise_right_shift_doc as an alias

Better bitwise_right_shift doc
Part of https://github.com/google/jax/issues/21461

It looks like you synced to an update main branch, then rebased on an older snapshot of the main branch. To fix, you can make sure your local main is updated, and do git rebase main.

Yes, you are correct.. I rebased it and pushed it but it seems like all the commits are still here. It'll probably be faster starting a new PR with the consolidated changes and closing this one, or I can try squashing all these commits (but I think the PR will still be in a weird state?), Any issue w/ just starting a new one?

I'd keep working on this PR – it should be an easy fix.

Here's what I'd do:
$ git remote -v  # I'm assuming this is what your git repo looks like
origin	git@github.com:pkgoogle/jax.git (fetch)
origin	git@github.com:pkgoogle/jax.git (push)
upstream	git@github.com:google/jax.git (fetch)
upstream	git@github.com:google/jax.git (push)
$ git checkout main
$ git pull upstream main
$ git checkout better_bitwise_right_shift_doc
$ git rebase main
$ git push origin better_bitwise_right_shift_doc

Make sure to run each command individually, because things change if you have uncommitted files, or if there are merge conflicts, etc.

nice... seemed to work will squash if tests pass and everything else is good/accepted.

Looks good, please squash the commits

Hey sorry - I don't get alerts about updated pushes unless you comment, so I never saw this. Would you like to re-open and merge this change?

No worries, I was cleaning up my notification pollution but I'll reopen this and the other one until they are closed.


PHOENIX-6910 Scans created during query compilation and execution aga…

…inst salted tables need to be more resilient
add test from PHOENIX-4096

FYI @kadirozde @jpisaac @tkhurana you might be interested, this is resolving the scan boundary problem for salted tables after split/merge.

Hmm.
Even with my last change, @jpisaac 's test fail.
Looking into it.

I have added @jpisaac 's test, and fixed the error it deteceted.

The current version mostly works, but my refactoring has broken query statistics.
I hope to fix that later today.

Pushed fix for salted tables.
There is still a local index regression I am chasing.

All relevant test pass now.
I think that the FailoverPhoenixConnectionIT is unrelated.
Can you take a look now @virajjasani @jpisaac @kadirozde @tkhurana ?

Hmm.
I think my changes are confusing the start and end of region/bucket flags.
Gonna review and push a fix.
If you haven't started reviewing yet, hold off for a bit.

Now it should be really ready.
The stats=enabled case wasn't tested, and was broken.

Can you review this now that hopefully both cases are working @jpisaac , @virajjasani  ?

somehow jenkins didn't trigger new build since May 25, some issues with build maybe.
just triggered a new one here

That CI run has hung.
I'm starting another.
(We have a number of unresolved flakey tests related to the HA feature)

oops, it seems some tests are taking longer and hence the build is timing out.
@stoty do you have any vm or docker setup where you think you could run mvn verify and keep it running for a bit longer? because in this case, we might be able to get better insights from local runs i think.

If a test run doesn't finish in 3-4 hours then it never will.
I've had trouble running tests on either too fast or too slow machines.
Starting a local test now.

I have attached local-verify-run.gz to the ticket.
It only fails on the known flakey permission ITs.
(It seems that we have tests that tend to fail on slow machines, and also ones that tend to fail on fast ones)

Finally build runs were successful, let me take a look tomorrow.
At high level, IIUC, ParallelScansCollector is going to keep adding scan objects and all places where we use parallel scans, we are going to use this new class. New version of intersectScan is going to include scan boundaries from salt buckets. Is this correct?

Yes, that's correct.
ParallelScansCollector just simplifies the messy logic where we had to split the lists at the next entry, and maintain the state in object variables.
I have also consolidated some of the very dispersed logic into fewer places.

surprising that end2end tests were not run https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1607/28/testReport/

I'm pretty sure that the test were run.
We're just aging them out really quick, because the Jenkins workers have very little disk space.
The final changes will trigger a new CI run.

I can see that there are also quite a few warnings.
I will address (some of) those based on the new CI run.

I took a look at the warning, they are mostly for existing issues.
I do not plan to fix those, as that would only add more noise to the patch.


Fix no-3d-support

@stevebrownlee Can someone on your team take a look at this one?
I am seeing no-3d-support on the html element which is wrong since translate3d() has been available in Firefox for a while.
I've updated feature_detect.js to address this issue.

Is Firefox the only browser that was holding this back?

@stevebrownlee It looks like it. I just did a quick check in Chrome, Safari, IE10/11 and they all had supports-3d where Firefox did not.

Then it might have been in there to continue support for IE 8 and 9... possibly?

@stevebrownlee IE8/9 do not support translate3d and they correctly have the no-3d-support class on the html element. Browsers that do support translate3d should have the supports-3d class on the html element.
The existing code checks the vendor prefixed transform properties first, then checks the non-prefixed version, which seems backwards to me.
If the browser supports the standards compliant version, it will show up in the CSS2Properties object in addition to the vendor prefixed version (MozTransform in this case). And if you're in browser that doesn't support transform at all (Old IE), it will not exist in the CSS2Properties object.
The issue comes down to assigning translate3d to the wrong style property.
It should be using the JS camel case version, not the CSS dashed version of the property name.
Here is a quick example to describe the issue:
Current behavior in master
document.documentElement.style["-moz-transform"] = "translate3d(1px, 1px, 1px)";
window.getComputedStyle( document.documentElement ).getPropertyValue("-moz-transform");

Returns none
Behavior in my branch
document.documentElement.style["transform"] = "translate3d(1px, 1px, 1px)";
window.getComputedStyle( document.documentElement ).getPropertyValue("transform");

Returns matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1)
document.documentElement.style["MozTransform"] = "translate3d(1px, 1px, 1px)";
window.getComputedStyle( document.documentElement ).getPropertyValue("-moz-transform");

Returns matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1)
In my branch, I use transform.js to set the transform property, which results in the correct value being returned from window.getComputedStyle.

Now that's probably the best comment I've seen in months  :+1:


CI for semantic validation of example files not working

pymzqc v1.0.0rc2 needs fixing in offline validator

also work on #218


feat: add exodus wallet support

Summary
We will like to integrate Exodus wallet provider into web3modal. Thanks

To Test

Install Exodus Browser Extension
Connect to a Wallet
Select Exdous
Connect successfully

@mzndako we fixed ci on the pr's, could you please update your pr with master and resolve conflicts, we'll merge soon after and this change will take effect in next release 👍

@mzndako we fixed ci on the pr's, could you please update your pr with master and resolve conflicts, we'll merge soon after and this change will take effect in next release 👍

@IljaDaderko Sorry for the late response, just seeing this now, missed the GitHub notification on it.
Have pulled from master and resolved conflict.


Container target terminated by signal KILL

I'm running into the above error when running acbuild in my CI system (GoCD), but not when running it by hand.  I get no other meaningful information:
11:56:39.540 Adding dependency "aci.example.com/base/centos7,version=765cc162-17"
11:56:39.547 Running: [yum install -y java-1.8.0-openjdk-headless.x86_64]
11:56:40.310 meta tag not found on aci.example.com/base/centos7: expected a 200 OK got 403
11:56:40.713 Downloading aci.example.com/base/centos7:  0 B/122 MB
11:56:40.783 Downloading aci.example.com/base/centos7:  16.4 KB/122 MB
11:56:41.791 Downloading aci.example.com/base/centos7:  9.97 MB/122 MB
11:56:42.791 Downloading aci.example.com/base/centos7:  32.3 MB/122 MB
11:56:43.792 Downloading aci.example.com/base/centos7:  55.3 MB/122 MB
11:56:44.793 Downloading aci.example.com/base/centos7:  77.6 MB/122 MB
11:56:45.794 Downloading aci.example.com/base/centos7:  100 MB/122 MB
11:56:46.770 Downloading aci.example.com/base/centos7:  122 MB/122 MB
11:56:46.771
11:57:10.291 environ: [GO_PIPELINE_COUNTER=19 GO_TRIGGER_USER=anonymous GO_PIPELINE_LABEL=d7b42638-19 SHELL=/bin/bash TERM=unknown GO_PIPELINE_NAME=aci-go-server AGENT_STARTUP_ARGS=-Dcruise.console.publish.interval=10 -Xms128m -Xmx256m    -Djava.security.egd=file:/dev/./urandom USER=root SUDO_USER=go GO_JOB_NAME=build SUDO_UID=994 USERNAME=root PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin GO_TO_REVISION_GIT=d7b4263823ae075ce39a9720b9bf3f61df231c0b PWD=/var/lib/go-agent/pipelines/aci-go-server LOG_DIR=/var/log/go-agent LANG=en_US.UTF-8 XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt GO_STAGE_COUNTER=2 HOME=/root SHLVL=2 SUDO_COMMAND=/bin/sh -c ./build.sh $( jq -r .name parent_aci/manifest ),version=$( jq -r '.labels[] | select(.name == "version") | .value' parent_aci/manifest ) aci.example.com/base/go-server ${GO_PIPELINE_LABEL} GO_STAGE_NAME=build-aci GO_FROM_REVISION_GIT=d7b4263823ae075ce39a9720b9bf3f61df231c0b GO_SERVER_URL=https://<IP_ADDRESS>:8154/go/ LOGNAME=root GO_DEPENDENCY_LABEL_PARENT_ACI=765cc162-17 SUDO_GID=989 GO_DEPENDENCY_LOCATOR_PARENT_ACI=centos-aci-builder/17/upload-acis/1 GO_REVISION_GIT=d7b4263823ae075ce39a9720b9bf3f61df231c0b _=/usr/local/bin/acbuild]
11:57:10.291 running command: [systemd-nspawn -D .acbuild/target --register=no --setenv PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /usr/bin/yum install -y java-1.8.0-openjdk-headless.x86_64]
11:57:10.294 Container target terminated by signal KILL.
11:57:10.296
11:57:10.297 run: exit status 1

This is with acbuild from the current master, and with a couple of debug statements added to output the systemd-nspawn command (I removed --quiet, too) and the environment.
The host OS is CentOS 7.2 with systemd-219-19.el7.x86_64.    Any ideas how I can troubleshoot this?  Could it have something to do with not having a controlling tty?

I've seen this issue before with yum (and apt-get I think?), and I have no clue what causes it. I saw this while running acbuild in a tty, so I kind of doubt that's the issue there. I'll dig into this next time I can spare some cycles.
If I can't figure out the cause of this, https://github.com/appc/acbuild/issues/13 (if it ever gets done) might also end up shining some light on this.

Your logs are implying you're getting to the point of exec'ing systemd-nspawn in lib/run.go, so it's unlikely that this will fix it, but would you mind seeing if https://github.com/appc/acbuild/pull/171 fixes this for you?

I'm having good luck reproducing acbuild bugs by replicating people's setup. What distro is this on, and any chance you'd be willing to share your acbuild script?

#171 didn't seem to make a difference.
I'm building on stock CentOS 7.2 with updates; currently kernel 3.10.0-327.10.1.el7.x86_64 and systemd-219-19.el7_2.4.x86_64.
I'm avoiding systemd-nspawn entirely by using a shell script replacement.
This is one of my build scripts, but without my systemd-nspawn replacement, it just dies at the first acbuild run:
#!/usr/bin/env bash

## must be run as root, or "acbuild run" will fail

set -e -u -o pipefail

## sudo fucks with our PATH, via secure_path
export PATH=/usr/local/bin:$PATH

acbuild="acbuild --debug"

if [ $# -ne 3 ]; then
    echo "usage: $0 <parent aci spec> <aci name> <version>"
    exit 1
fi

parent_aci_spec="${1}"
aci_name="${2}"
aci_version="${3}"

cur_dir=${PWD}
dest_dir="${cur_dir}/work"
mkdir -p "${dest_dir}"

function cleanup() {
    EXIT=$?

    $acbuild end

    exit ${EXIT}
}

trap cleanup EXIT

$acbuild begin

rootfs=".acbuild/currentaci/rootfs"

$acbuild annotation add created "$( date --rfc-3339=ns | tr ' ' 'T' )"
$acbuild set-name "${aci_name}"

$acbuild label add version "${aci_version}"
$acbuild label add os linux
$acbuild label add arch amd64

$acbuild dependency add "${parent_aci_spec}"

cp -r src ${rootfs}/src/
$acbuild run -- /src/setup.sh

$acbuild set-exec /launch

# $acbuild environment add COLLECTD_HOST
# $acbuild environment add COLLECTD_PORT
# $acbuild environment add COLLECTD_USERNAME
# $acbuild environment add COLLECTD_PASSWORD
# $acbuild environment add LOG_COURIER_DEST
# $acbuild environment add LOG_COURIER_TAGS

rm -rfv \
    ${rootfs}/etc/localtime \
    ${rootfs}/etc/resolv.conf \
    ${rootfs}/usr/share/zoneinfo/

mkdir -p "$( dirname "${dest_dir}/${aci_name}" )"
$acbuild write "${dest_dir}/${aci_name}"

## generate XML (aieeee!) describing what we just built
## this is mainly for GoCD, so we can set properties based on this artifact
{
    echo '<?xml version="1.0" encoding="utf-8"?>'
    echo '<aci>'
    echo "    <name>${aci_name}</name>"
    echo "    <version>${aci_version}</version>"
    echo '</aci>'
} > "${dest_dir}/aci.xml"

## also, since I don't yet have a handle on how these dependencies are going to
## be chained, capture the manifest.
$acbuild cat-manifest > "${dest_dir}/manifest"

## we're probably root, anyway, but check just in case
if [ "${EUID}" -eq 0 ]; then
    ## ensure the calling user can remove the generated files
    chown -R "$( stat --format='%U:%G' . )" "${dest_dir}"
fi

I installed Centos 7.2, and am on the same versions of the kernel and systemd as you are. I made a src/setup.sh that just runs yum install -y java-1.8.0-openjdk-headless.x86_64, and ran your script with the current master of acbuild.
Still can't reproduce this, and I have no clue why systemd-nspawn isn't working out for you. Maybe this just means it's time to get around to https://github.com/appc/acbuild/issues/13 finally, so it'll be easy for you to swap out systemd-nspawn for something else.

I'm now having this same issue when using acbuild v0.4.0, it was not present in v0.3.1.
CentOS Linux release 7.2.1511 (Core)
3.10.0-327.el7.x86_64
systemd-219-19.el7.x86_64
``
Running: [/bin/sh -c (yum clean all)]
Warning: "/bin/sh" is a symlink, which systemd-nspawn version 219 might error on
Container rootfs terminated by signal KILL.
run: non-zero exit code: 1
Ending the build


Encrypted/signed cookie based session

Hi
As discussed over google group, please merge the branch in which you already implemented the encrypted/signed cookie based session to master.
Thanks a lot
Yans

Read Session section from documentation to find how you can set a custom SessionManager for your application.

I updated the SNAPSHOT on sonatype

That was fast! Thank you,
does this section in the doc still holds true?

Pippo allow you to customize Session via pippo-session module.
If you want a (custom) session manager in your application then you must inject that manager with:
application.setSesionManager(new SessionManager());

Thanks

See here the session demo application.

does this section in the doc still holds true?

I must do a review of Session section.

By the way, Pippo comes with a lot of implementations for Session (ehcache, mongodb, hazelcast, ...). See here the full list.
Thannks @barrantesgerman.

@yan5 Please test the current implementation and if it's OK for you please close it.

Hello @decebals
Thanks for the constant improvements
I was thinking if everything related to encryption should be in a new implementation of SessionDataTranscoder.
Would I like to know your opinion?, and if you agree, I could make the change

@barrantesgerman I understand what you say. The idea is not bad. We can use for implementation the wrapper/decorator (pattern) over a regular SessionDataTranscoder (it's only an idea).
I don't know if it's so valuable for other session implementation but I think that we can do it, so please propose an implementation.

@yan5 We made a little refactoring related to this subject. Please see https://github.com/decebals/pippo/pull/302


[DO NOT MERGE] demo binary search

WHAT YOU DID
Quick demo of binary search for matching PANs to BIN ranges

No longer needed


Track Registration

Is your feature request related to a problem? Please describe.
There is no way to link a user to a track currently.
Describe the solution you'd like
An Api that allows a user to register for tracks.

Won't this be redundant? We already register for Tasks.

Getting a forbidden error each time I try even as I am authenticated.

That's because you're an Admin. Only Mentees can enrol for a track


Fix: Initial Deploy for QA Testing

Issue Number
N/A
Types of changes
Includes the sentry dry run

🗒 Since certain out-of-date files from past merged PR were accidentally included into this one, I'm closing it and starting a new PR for a deploy, thank you.


icingadb role: icingadb service errors out

I am testing the roles on openSUSE/Suse using the code from the various pull requests I opened for the different roles.
I have two errors left, one of them is Icingadb not starting. Not sure if this is an error in my installation, caused by something missing or misconfigured during my adaption. Or if there is something else going on?
Thanks in advance!
Johannes
These are the variables for the icingadb role:
      icingadb_redis_password: 'redacted'
      # database
      icingadb_database_type: 'pgsql'
      icingadb_database_host: '<IP_ADDRESS>'
      icingadb_database_name: 'icingadb'
      icingadb_database_user: 'icinga2'
      icingadb_database_password: 'redacted'
      icingadb_database_import_schema: true

The actual error is:
Dec 08 06:42:23 icinga2-server systemd[1]: Starting Icinga DB...
Dec 08 06:42:23 icinga2-server icingadb[24727]: Starting Icinga DB
Dec 08 06:42:23 icinga2-server icingadb[24727]: Connecting to database at '<IP_ADDRESS>:0'
Dec 08 06:42:23 icinga2-server systemd[1]: Started Icinga DB.
Dec 08 06:42:23 icinga2-server icingadb[24727]: Connecting to Redis at '<IP_ADDRESS>:6380'
Dec 08 06:42:23 icinga2-server icingadb[24727]: Starting history sync
Dec 08 06:42:23 icinga2-server icingadb[24727]: pq: relation "history" does not exist
                                                can't perform "INSERT INTO \"history\" (\"host_id\", \"event_time\", \"environment_id\", \"object_type\", \"service_id\", \"event_type\", \">
                                                github.com/icinga/icingadb/internal.CantPerformQuery
                                                        github.com/icinga/icingadb/internal/internal.go:30
                                                github.com/icinga/icingadb/pkg/icingadb.(*DB).NamedBulkExec.func<IP_ADDRESS>
                                                        github.com/icinga/icingadb/pkg/icingadb/db.go:391
                                                github.com/icinga/icingadb/pkg/retry.WithBackoff
                                                        github.com/icinga/icingadb/pkg/retry/retry.go:49
                                                github.com/icinga/icingadb/pkg/icingadb.(*DB).NamedBulkExec.func1.1.1
                                                        github.com/icinga/icingadb/pkg/icingadb/db.go:386
                                                golang.org/x/sync/errgroup.(*Group).Go.func1
                                                        golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75
                                                runtime.goexit
                                                        runtime/asm_amd64.s:1598
                                                can't retry
                                                github.com/icinga/icingadb/pkg/retry.WithBackoff
                                                        github.com/icinga/icingadb/pkg/retry/retry.go:68
                                                github.com/icinga/icingadb/pkg/icingadb.(*DB).NamedBulkExec.func1.1.1
                                                        github.com/icinga/icingadb/pkg/icingadb/db.go:386
                                                golang.org/x/sync/errgroup.(*Group).Go.func1
                                                        golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75
                                                runtime.goexit
                                                        runtime/asm_amd64.s:1598
Dec 08 06:42:23 icinga2-server systemd[1]: icingadb.service: Main process exited, code=exited, status=1/FAILURE
Dec 08 06:42:23 icinga2-server systemd[1]: icingadb.service: Failed with result 'exit-code'.

Can you check if the schema import was successfully made, it seems that the schema doesn't exist.

Can you check if the schema import was successfully made, it seems that the schema doesn't exist.

Sorry for the late reply. How can I check that? How can I import the schema, in case it does not exist?

To check if the schema was correctly imported, you can connect to the icingadb database and there should already exist some tables. To import the schema manually, you can use this command mysql -u root -p icingadb </usr/share/icingadb/schema/mysql/schema.sql

Hmmm. I see lots of tables:
icingadb=> \dt
 public | checkcommand_customvar        | table | icinga2
 public | checkcommand_envvar           | table | icinga2
 public | environment                   | table | icinga2
 public | eventcommand_customvar        | table | icinga2
 public | eventcommand_envvar           | table | icinga2
 public | flapping_history              | table | icinga2
 public | host_customvar                | table | icinga2
 public | host_state                    | table | icinga2
 public | hostgroup_customvar           | table | icinga2
 public | hostgroup_member              | table | icinga2
 public | icingadb_instance             | table | icinga2
 public | icingadb_schema               | table | icinga2
 public | notification_customvar        | table | icinga2
 public | notification_history          | table | icinga2
 public | notification_recipient        | table | icinga2
 public | notification_user             | table | icinga2
 public | notification_usergroup        | table | icinga2
 public | notificationcommand_customvar | table | icinga2
 public | notificationcommand_envvar    | table | icinga2
 public | service_customvar             | table | icinga2
 public | service_state                 | table | icinga2
 public | servicegroup_customvar        | table | icinga2
 public | servicegroup_member           | table | icinga2
 public | sla_history_downtime          | table | icinga2
 public | sla_history_state             | table | icinga2
 public | state_history                 | table | icinga2
 public | timeperiod_customvar          | table | icinga2
 public | timeperiod_override_exclude   | table | icinga2
 public | timeperiod_override_include   | table | icinga2
 public | user_customvar                | table | icinga2
 public | user_notification_history     | table | icinga2
 public | usergroup_customvar           | table | icinga2
 public | usergroup_member              | table | icinga2

When I try to import the schema again, I get lots of "already exists" errors. There are no additional tables after that.
It looks like this is rather a problem with the package? Should I report this elsewhere?
icingadb package is version 1.1.1-1
$ zypper se -s icingadb
Loading repository data...
Reading installed packages...

S  | Name                 | Type       | Version  | Arch   | Repository
---+----------------------+------------+----------+--------+-------------------------------------
i+ | icingadb             | package    | 1.1.1-1  | x86_64 | ICINGA (stable release for openSUSE)
   | icingadb             | srcpackage | 1.1.1-1  | noarch | ICINGA (stable release for openSUSE)
i+ | icingadb-redis       | package    | 7.0.12-1 | x86_64 | ICINGA (stable release for openSUSE)
   | icingadb-redis       | srcpackage | 7.0.12-1 | noarch | ICINGA (stable release for openSUSE)
   | icingadb-redis-devel | package    | 7.0.12-1 | x86_64 | ICINGA (stable release for openSUSE)
i+ | icingadb-web         | package    | 1.1.1-1  | noarch | ICINGA (stable release for openSUSE)
v  | icingadb-web         | package    | 1.1.0-1  | noarch | ICINGA (stable release for openSUSE)
   | icingadb-web         | srcpackage | 1.1.1-1  | noarch | ICINGA (stable release for openSUSE)
   | icingadb-web         | srcpackage | 1.1.0-1  | noarch | ICINGA (stable release for openSUSE)

This definitely sounds like problems with v1.1.1, seeing as the history table got changed there:
https://icinga.com/docs/icinga-db/latest/doc/04-Upgrading/#upgrading-to-icinga-db-v111
Could you drop the database and test installing via Ansible again?

This is a fresh deployment in an ephemeral vagrant-libvirt setup, just for testing the roles and adapting them to SUSE/openSUSE, see the various pull requests adding support for SUSE/openSUSE.
So there is no old content in the database, everything is created fresh by Ansible...

Okay, I just installed icingadb-1.1.1-1 from scratch on openSUSE LEAP 15.5 and it worked:

after only inserting /usr/share/icingadb/schema/pgsql/schema.sql
after additionally inserting /usr/share/icingadb/schema/pgsql/upgrades/1.1.1.sql

Judging from this there's probably something wrong with the way you bootstrap the database, or different on SUSE compared to other distros.
If you can point me at the PR containing the part of the role adjustments who are likely to cause this misbehaviour, I can have a look over the next couple of days.

Hi, I did use the collection on SLES 15 the other day, had no problems with importing schemas to the db. I would like to close the issue cause it's not caused by the collection. And there's no response.


Improve two errors

This improves the error when you do for example pointerof(123) which can be fixed by putting 123 in a variable. That's needed because you can't just modify and operate on the raw value 123, that doesn't make sense. The value of a variable however can be modified.
And this also makes the stack overflow error slighlty more detailed to make sure there's no confusion. Even after stack overflow detection there was still some confusion about the error: #7032.

Also, it surprises me that pointerof(self) (and other pointerof(X) checks) is a parse error instead of a check done later in the processing of the parse tree.

@bew Only pointerof(self) is a parser error. self can't be a variable and it can't be used in pointerof, so its definitely an error at this stage.

Isn't it misleading that the message says

pointerof only works with variables

but pointerof(obj.@ivar) and pointerof(LibFoo.external_var) are allowed?

The error message doesn't specify what kind of variable. It could be an instance variable, a class variable or an external variable. It would be misleading if it would say "local variables".

I agree with @bcardiff . It's misleading because at the syntax level obj.@ivar and LibFoo.external_var don't look like variables, even though they point to variables.
What's wrong with the current error message?

What's wrong with the current error message?

I don't think there's something wrong with the error. I think at the syntax level obj.@ivar isn't confusing because you can clearly see that it's an instance variable. Same for LibC.variable. If you know that it's a variable, the error makes sense. The error doesn't specify what kind of variable it needs to be, it can be any variable.

People usually read "variable" as "local variable". Ask anyone "what's a variable in Ruby" and they will say "the 'x' in 'x = 1'". They will never say "oh, and variable could also mean instance or class variable".
I think, if it's not broken, we shouldn't fix it.

Okay but maybe at least turn can't take pointerof(self) into can't take address of self for consistency with the other errors then?

I vote to close this PR.

@Sija why? I'm trying to do something out of this PR.

@r00ster91 because the actual error message is imo good enough.


Unexpectedly Leaving GOMAXPROCS=128: CPU quota undefined

Hi there！
I use the vela command on our experimental physics machine, regardless of which subCommand I use. There will be the following alarms, which can be uncomfortable to use
$ vela version
maxprocs.go:47: maxprocs: Leaving GOMAXPROCS=128: CPU quota undefined
CLI Version: 1.9.11
Core Version: 0.1.0
GitRevision: git-89177805
GolangVersion: go1.19.13

I think it's related to my physical machine configuration. My machine configuration is as follows:
$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                128
On-line CPU(s) list:   0-127
....

Is there any way to solve it?

Will be fixed by this . https://github.com/kubevela/kubevela/pull/6530

thx


Fix react/no children prop eslint error

I found this one tricky to understand, here are the docs I found in case they're helpful:

eslint docs: https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-children-prop.md
https://stackoverflow.com/questions/42982416/why-shouldnt-children-be-passed-as-a-prop

As far I can tell, this error arises because the Base Props interface has a prop named "children":
interface BaseProps {
  tag?: 'a' | 'div';
  dest?: Dest;
  symbol_?: Placement<LinkSymbol>;
  symbolClassName?: string;
  symbolStyle?: CSSProperties;
  iconSymbolSize?: number; //rem
  children?: ViewElementChildren;
  className?: string;
  style?: CSSProperties;
  disabled?: boolean;
  newTab?: boolean;
  focusable?: boolean;
  onClick?(e?: MouseEvent): void;
}

BaseProps is used all over the place, as is the word "children," so I think it would be time-consuming to fix this one. When I tried changing "children" in BaseProps to a different word, I got 400 lines of TS errors.

Closing for now pending discussion in https://github.com/button-inc/digital_marketplace/issues/25


⚠ Bofrost.de has degraded performance

In 5788d35, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1201 ms

Resolved: Bofrost.de performance has improved in e401d4e.


kindly add my laravel preset package for vuetify using InertiaJS and laravel

Uses InertiaJS and Vue
Advantage : Allows You to Use Dynamic Components with vuetify on a Laravel Project
Packagist Link:
https://packagist.org/packages/codeitlikemiley/vuetified-laravel-preset
Github:
https://github.com/codeitlikemiley/vuetified-laravel-preset
Video Tutorial How to Install:
https://www.youtube.com/watch?v=85ZDW2cy5Eg&feature=youtu.be

works with latest update of laravel 6.0 :)

Create a PR please.


In Web cannot remove roads!

Dear developer, When I run on the web, I cannot clear all roads and cannot remove road, Please fix this moment!
on mobile it working but on the web not!

i will check it and i will do quick fix for it but just i want to know which version you currenlty use ?

flutter_osm_plugin 0.70.4

i'm working on fix i will try to publish hotfix on rc version soon sorry for being late

check latest version : 1.0.0-rc.1


Getting error on dedupe.canonicalize(cluster_d) call for a datetime field

I am getting an error on a dedupe.canonicalize(cluster_d) call.  It is on a datetime field in my record.  (This is not a field I am using for comparison).
Traceback (most recent call last):   File "/home/mford/apps/pycharm-5.0.4/helpers/pydev/pydevd.py", line 2411, in <module>     globals = debugger.run(setup['file'], None, None, is_module)   File "/home/mford/apps/pycharm-5.0.4/helpers/pydev/pydevd.py", line 1802, in run     launch(file, globals, locals)  # execute the script   File "/home/mford/projects/thorlo/database/mssql/thorlo.py", line 104, in <module>     canonical_rep = dedupe.canonicalize(cluster_d)   File "/home/mford/.virtualenvs/mssql/local/lib/python2.7/site-packages/dedupe/convenience.py", line 195, in canonicalize     return getCanonicalRep(record_cluster)   File "/home/mford/.virtualenvs/mssql/local/lib/python2.7/site-packages/canonicalize/centroid.py", line 56, in getCanonicalRep     canonical_rep[key] = getCentroid(key_values, comparator)   File "/home/mford/.virtualenvs/mssql/local/lib/python2.7/site-packages/canonicalize/centroid.py", line 18, in getCentroid     distance = comparator(attribute_variants[i], attribute_variants[j]) TypeError: Argument 'string1' has incorrect type (expected basestring, got datetime.datetime)
Is there something I need to do for datetime fields?  I know you can specify custom comparators but this is not a field I want to consider in my deduping/matching.
Thanks!

Relate to https://github.com/datamade/canonicalize/issues/1
Our canonicalize function is actually pretty simplistic. It can only handle strings. It can, and should be extended to handle different comparisons for different datatypes.
In the meantime, you can get around the error by casting your datetime to a string.


Create daily export of Application items

Create a daily export of MVP application items, using SPE.

This is now closed as the repository is archived.
This has already been addressed in the new repository.


[CELEBORN-1003] Correct the LICENSE and NOTICE for shaded client jars

What changes were proposed in this pull request?
Correct the LICENSE and NOTICE for the following shaded client jars

celeborn-client-flink-1.14-shaded_2.12-<version>.jar
celeborn-client-flink-1.15-shaded_2.12-<version>.jar
celeborn-client-flink-1.17-shaded_2.12-<version>.jar
celeborn-client-mr-shaded_2.12-<version>.jar
celeborn-client-spark-2-shaded_2.11-<version>.jar
celeborn-client-spark-3-shaded_2.12-<version>.jar

Why are the changes needed?
The LICENSE and NOTICE shipped in a jar should match the content of the jar, for shaded jars, it should acknowledge all the third-party classes that are bundled.
See more discussion at https://lists.apache.org/thread/8v4wy5o132rpsjync6465zztgjlf6h5p
For how to determine which third-party jars are bundled, take celeborn-client-spark-3-shaded_2.12-<version>.jar as an example, the following command performs the packaging, and we can find them out by looking at logs like Including ... in the shaded jar
build/mvn clean package -DskipTests -pl :celeborn-client-spark-3-shaded_2.12 -am -Pspark-3.3

[INFO] --- maven-shade-plugin:3.4.0:shade (default) @ celeborn-client-spark-3-shaded_2.12 ---
[INFO] Including org.apache.celeborn:celeborn-client-spark-3_2.12:jar:0.4.0-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.celeborn:celeborn-common_2.12:jar:0.4.0-SNAPSHOT in the shaded jar.
[INFO] Including org.apache.commons:commons-lang3:jar:3.12.0 in the shaded jar.
[INFO] Including io.netty:netty-all:jar:4.1.93.Final in the shaded jar.
[INFO] Including io.netty:netty-buffer:jar:4.1.93.Final in the shaded jar.
...
[INFO] Excluding org.apache.ratis:ratis-common:jar:2.5.1 from the shaded jar.
[INFO] Excluding org.apache.ratis:ratis-thirdparty-misc:jar:1.0.4 from the shaded jar.
[INFO] Excluding org.apache.ratis:ratis-proto:jar:2.5.1 from the shaded jar.
...

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Manually.

LGTM, thanks! @FMX could you also TAL?

@pjfanning I would appreciate it if you could take a look at this license issue fix

Definitely looks to be on the right track. When this is complete and merged, I can have a look at the jars.

All comments are addressed, I'm going to merge it and backport to branch-0.3, then start the next RC of 0.3.1


Add Native Notifications As Setting

https://www.npmjs.com/package/node-notifier

Dont think i like this idea anymore if somebody does comment on this and i might implement for the hell of it

notifications look horrendous on KDE and out of place, not following global settings for notifications

@hjri I'm not sure if you just hate the way my notifications look or if they specifically look different on your environment. If i use native notifications i don't get to assign buttons to the notification.


Add support for ssh2 parameter readyTimeout

Hi,
I use this package all the time at work to automate deployment of front-end files, so thanks for providing us with a modern (and TypeScript compatible ❤) scp client usable in TS code.
The problem I'm facing is the inability to provide a timeout when instantiating a new node-scp client. In my particular case, the ssh connection is utterly slow, meaning that the default of 20 seconds provided by ssh2 isn't sufficient, raising a timeout error. I've manually modified ssh2 in my /node_modules by setting the default of readyTimeout to 40 seconds, which did the trick.
Therefore, the solution to my problem (and perhaps a nice addition for other users) is adding readyTimeout to the options interface of node-scp class.
If you are busy, I'd happily help you out by adding this to the package.

Thanks for your support
readyTimeout is available in version 0.0.8, please update

Thanks a lot for the quick response and update!
Closing this issue.