Golang functionality for SA

Golang functionality for SA

Codecov Report

Merging #65 into master will decrease coverage by 0.39%.
The diff coverage is 94.54%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   98.24%   97.84%   -0.40%
==========================================
  Files           6        6
  Lines         455      510      +55
==========================================
+ Hits          447      499      +52
- Misses          8       11       +3

Impacted Files
Coverage Δ

f8a_utils/dependency_finder.py
98.36% <94.54%> (-1.64%)
:arrow_down:

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 0740ade...7c640e2. Read the comment docs.

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Can we split this into a factory, abstract class and concrete implementations for each ecosystem?

Probably we will take this as Refactor Job. Currently i just followed what Pattern is being followed earlier.

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

We are not considering '+incompatible' string in the version.

@dgpatelgit +incompatible is handled gracefully.
In response, we have "given_version": "v1.1.5", and "version": "1.1.5" ..
given version- is same as what user Supplied
version - is cleaned up version.

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

[test]

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65

lgtm

@deepak1725 Your image is available in the registry: docker pull MISSING_REGISTRY_NAME/MISSING_IMAGE_NAME:SNAPSHOT-PR-65


update node-sass version

after upgrade node-sass version, fix  " Node Sass does not yet support your current environment " error.
windows 10 64Bit

@alexanderrudnik please check

looks good, @RezaHaidari  thank you!


DO cannot remove unreachable license in BIG-IP

I was able to use DO API to assign an unreachable license from BIG-IQ. When I attempted to revoke that license, the license was revoked in BIG-IQ, but BIG-IP still hold that license. I used to expect DO to remove BIG-IP license. Why DO did not remove that license in BIG-IP?
Here is my declaration to revoke the license:
      declaration: {
        schemaVersion: '1.5.0',
        class: 'Device',
        label: 'Basic onboarding',
        Common: {
          class: 'Tenant',
          hostname: 'xxxxxxx.f5bigip.local',
          myLicense: {
            class: 'License',
            licenseType: 'licensePool',
            bigIqHost: '10.250.11.xxx',
            bigIqUsername: 'admin',
            bigIqPassword: 'admin',
            revokeFrom: 'newman-pool',
            reachable: false,
            overwrite: true,
          },
        },
      },

The DO rpm that I install is f5-declarative-onboarding-1.7.0-3.noarch.rpm

I agree that this looks like a bug. However, I am going to remove the bug label until I can properly triage this issue. Removing the label will help me track this issue as needing follow up.

We have recently made several improvements to DO licensing, can you confirm that you are still seeing this bug with the latest version of DO?

I can confirm that this bug exists in DO v1.11.1.
{
   "id":"8ec136ef-ca50-4954-9f52-b3417321e77f",
   "selfLink":"https://localhost/mgmt/shared/declarative-onboarding/task/8ec136ef-ca50-4954-9f52-b3417321e77f",
   "result":{
      "class":"Result",
      "code":200,
      "status":"OK",
      "message":"success"
   },
   "declaration":{
      "label":"Unlicense BIG-IP from Big-IQ",
      "Common":{
         "class":"Tenant",
         "myLicense":{
            "licenseType":"licensePool",
            "bigIqHost":"x.x.x.x",
            "bigIqUsername":"xxx",
            "revokeFrom":"byol-pool",
            "reachable":false,
            "hypervisor":"aws",
            "class":"License",
            "overwrite":false,
            "unitOfMeasure":"monthly"
         }
      },
      "async":false,
      "schemaVersion":"1.11.1",
      "class":"Device",
      "$schema":"https://raw.githubusercontent.com/F5Networks/f5-declarative-onboarding/master/src/schema/latest/base.schema.json"
   }
}

The BigIP is still licensed however.
License Type                Evaluation
Licensed Date               Mar 4, 2020
License Expiration Date	    Apr 19, 2020
Active Modules
                            VEP7, App Services Bundle, 25M, 4 Instances (WVTAULO-KJNKAXQ)
                              Rate Shaping
                              SDN Services, VE
                              SSL, VE
                              ASM, VE
                              Crytpo Offload, VE, Tier 1 (25M - 200M)
                              Max Compression, VE
                              App Services Bundle, 25M, Add 4 Instances
                              AFM, VE
                              Routing Bundle, VE
                              VE, Carrier Grade NAT (AFM ONLY)
                              PSM, VE

Optional Modules

Inactive Modules

License Manager             The license for this BIG-IP was provided by BIG-IQ at <IP_ADDRESS>. Please contact your BIG-IQ administrator for license operations.

I have reviewed this issue with the Declarative Onboarding developers. Since an unlicensed device is rarely the desired end state for a device, Declarative Onboarding does not leave the device in an unlicensed state. Do you have a use case that requires leaving the device in an unlicensed state without the intent of loading a new license on the device?

Closing for inactivity. If you are still experiencing an issue, feel free to reopen this issue or create a new one.


Multiselect: bottom padding is not enough when there are two items

Describe the bug
The bottom padding on the multiselect items is not enough when there are only two items in the list.
To Reproduce
Steps to reproduce the behavior:

Go to https://www.consumerfinance.gov/administrative-adjudication-proceedings/administrative-adjudication-docket/
Open the filter
Click the category drop-down
See bottom padding is different from that in the topic multiselect.

Moved to https://github.cfpb.gov/CFGOV/platform/issues/4088 as this is a category filter issue, not a multiselect-specific issue.


How to use AISTARTER

Hey,
You can find the solution through this link: https://community.appinventor.mit.edu/t/the-aistarter-helper-does-not-appear-to-be-running/55964


brew formula

Hi, is it possible to wrap the code into a brew formula for quick installation? Thanks.

I have never created brew formulas before, but it seems that I'll need working release process at first, which is a low priority right now, since battery-cli crate is basically a PoC at the moment.
Here is a compiled 0.1.1 version for the x86_64-apple-darwin target, you may try it: battery-x86_64-apple-darwin.gz


about the RotaryEmbedding

https://github.com/vllm-project/vllm/blob/329df38f1a931215062d7b43660ceee1f83c0ab5/vllm/model_executor/layers/rotary_embedding.py#L714
when is_neox_style is False, I think the first query_rot shoud be modified by another function:
x1 = query_rot[..., ::2]
x2 = query_rot[..., 1::2]
new_query_rot = torch.stack((x1, x2), dim=-1)
and then
query_rot = new_query_rot * cos + rotate_fn(query_rot) * sin
but I am not familar with the op, add a new rotate_fn will be OK？

and I dont't know why use repeat_interleave. How to modify the kernel when I want to use the rotary_emb like this:
https://github.com/JunnYu/RoFormer_pytorch
def apply_rotary(x, sinusoidal_pos=None):
if sinusoidal_pos is None:
return x
sin, cos = sinusoidal_pos
# x.shape [batch, seq_len, 2]
x1, x2 = x[..., 0::2], x[..., 1::2]
return torch.cat([x1 * cos - x2 * sin, x1 * sin + x2 * cos], dim=-1)


Erinwolff/new templates

Added various card templates to assets
Wrote combineImagesForCombatTest function to test adding additional templates to cards with !combine text command. Image paths hard coded for testing
Added bitmap font (Planewalker) for Jimp to print onto textbox template
Updated combineImagesForCombat within bot.mjs to include textbox template & text

<3


My Forge Always Crash when using this mod

Hi, so ive been using Pojavlauncher to try this mod  and my forge is always crash when launch the game
Please help me fix this

Java Exit code: 1
I/jrelog  ( 9911): Going to free args
I/jrelog  ( 9911): Free done
Heres the crash log


Can't Parse Whitespace

I am observing an issue with parsing or trimming parts of our schema that seem to be connected to whitespace or empty lines. I am looking at having our team adjust their usage to try and mitigate this issue-- our lead Kusto engineer thinks we should replace occurrences of empty lines with whitespace to //, but in the longer term it will be important for us to have this issue mitigated within the application if possible.
Here is a link to the occurrence of the error:
https://msazure.visualstudio.com/One/_releaseProgress?_a=release-environment-logs&releaseId=6305502&environmentId=22941103
Are you able to confirm if there is a better way our team can write their functions that would eliminate this error?

I don't see how we could handle it on Delta Kusto side.  We need to be able to take a KQL script file, split it in command scripts and then parse it.
The "split it in command scripts" phase is done by looking for empty lines.  That is the same logic than Web UI is doing.
It would be nice to let the parser figure out where commands start and end but unfortunately the parser isn't strong enough for that.

I've looked into this more with my team and I see what you mean. The functions causing the issue were only able to exist because they were committed to the cluster in a very specific way--highlighting them in Kusto Explorer and using a UI button to submit them. This is certainly an edge case.
I think resolving issues like this is better driven by Kusto documentation in general. I typically use the Microsoft public documentation to investigate these issues but I often find it lacking the level of detail I need in this case. Do you have a recommendation on where else to investigate or how to provide feedback about an issue like this to the kusto developers?
I think you could close this issue, just hoping to see any suggestions you have.

Yes, by all mean submit feedback on the documentation.  There are links on each documentation page to provide feedback.  This is looked at by the doc-writer thing closely (they have internal dashboards to monitor those, it's not a once-a-year thing).

Vincent, one of my very smart team members was able to make some changes to your source and mitigate the issue. I have some notes here and will try to re-implement the changes on the newest version of Delta-Kusto as we upgrade. Would you consider also making these changes standard to future version, or explain why if it's a poor idea?
This worked for us for several months without issue using a previous release:
diff --git a/code/DeltaKustoLib/CommandModel/CommandBase.cs b/code/DeltaKustoLib/CommandModel/CommandBase.cs
index 63c7ceb..bc7ddbb 100644
--- a/code/DeltaKustoLib/CommandModel/CommandBase.cs
+++ b/code/DeltaKustoLib/CommandModel/CommandBase.cs
@@ -258,15 +258,13 @@ namespace DeltaKustoLib.CommandModel
private static IEnumerable SplitCommandScripts(string script)
{
var lines = script

           .Split('\n')

           .Select(l => l.Trim())

           //  Remove comment lines

           .Where(l => !l.StartsWith("//"));

           .Split('\n');
       var currentCommandLines = new List<string>();

       foreach (var line in lines)
       {

           if (line == string.Empty)

           string trimmedLine = line.Trim();

           if (trimmedLine.StartsWith(".alter database") || trimmedLine.StartsWith(".alter table") || trimmedLine.StartsWith(".create-or-alter") || trimmedLine.StartsWith(".create-merge"))
           {
               if (currentCommandLines.Any())
               {

@@ -274,7 +272,8 @@ namespace DeltaKustoLib.CommandModel
currentCommandLines.Clear();
}
}

           else

           if (!string.IsNullOrWhiteSpace(trimmedLine))
           {
               currentCommandLines.Add(line);
           }

diff --git a/code/DeltaKustoLib/DeltaKustoLib.csproj b/code/DeltaKustoLib/DeltaKustoLib.csproj
index 7ef30b5..d2efee9 100644
--- a/code/DeltaKustoLib/DeltaKustoLib.csproj
+++ b/code/DeltaKustoLib/DeltaKustoLib.csproj
@@ -14,7 +14,7 @@

-
+


The role of sourcery for swift-android-toolchain

It looks like to get swift-android-toolchain working in a project, you also need to use sourcery to build adjacent kotlin classes, is that correct? I see the prebuilt core classes in Kotlin in the project, but I don't see any sourcery definition that builds them. I tried searching for using sourcery with java_swift but couldn't find anything. What role does sourcery play in creating classes that can be referenced from my kotlin code?

Currently, there is no sourcery in swift-android-toolchain
It was used in this project just to generate the XCTest main.swift, but the current version of Swift supports automatic generation.
All Kotlin "headers" for Swift structures/classes/protocols were written manually.
However, we have a plan to automatization of this step in the future.

I guess this header in some files was misleading:
// Generated using JavaSwift codegen by Sourcery
// DO NOT EDIT

Unfortunately, it's not true. This file wasn't generated :(


Issues in package.json

1)Unnecessary Dependency in dependencies: dotenv is listed in dependencies, but it's usually a development or local environment dependency, so it should be moved to devDependencies.
2)Inconsistent Naming for npm-run-all2: There seems to be a typo with npm-run-all2. The correct package name is npm-run-all, so npm-run-all2 should be replaced with npm-run-all.
3)Invalid/Unused Fields: "main": "none" doesn't make sense. Typically, you would either leave it out or point it to the entry file of your application (if needed).
4)Redundant Scripts:The predevelop script and the prebuild script are running similar tasks (create:shared). This redundancy could be avoided to streamline the task running process.
5)Overloaded Use of npm-run-all: There is excessive use of npm-run-all for simple parallel and sequential task execution. Since PNPM has native task running capabilities, using pnpm run should suffice in many cases.
6)Unused scripts: Some scripts, such as playwright:install-build-tools, knip:all, etc., may be specific to development and might not need to be included in production-level code. Consider keeping only relevant scripts to avoid confusion.

I want to contribute to this assign it to me

I have sent a Pull request after making the changes.

@Ranaujjawal your PR has been closed because this issue is not triaged and opened for contribution yet.
@Riya54671 this issue appears to be an automated/AI-generated analysis of our package.json file. Just as a few examples:

dotenv is often used in production.
npm-run-all2 is not a typo - that is a legitimate fork of the original npm-run-all package.

As such, I'm going to close this issue.


Removed run_sphinx flag since we are now always on Python>=3.8

No review needed.

coverage: 36.575%. remained the same
when pulling f6bb11617218e19982007a7aa50b180bc8628cea on andy/remove-run-sphinx
into 6d7bd5900852914dfc8b70f1afa4f0113e42ee6a on master.


FCFB-48: Notifications for when bot is offline

some kind of system to provide automatic outage notifcations for when the bot is offline so teams know instead of coming into 69 pings that the bot is down.

Created a bot health app


run_colocation NMF bug

[x] I have confirmed this bug exists on the latest version of cell2location. See https://github.com/BayraktarLab/cell2location#installation
[x] I follow the instructions from the scvi-tools tutorial.

Minimal code sample (that we can run without your data, using public data)
from cell2location import run_colocation
res_dict, adata_st = run_colocation(
    adata_st,
    model_name='CoLocatedGroupsSklearnNMF',
    train_args={
      'n_fact': np.arange(11, 13), # IMPORTANT: use a wider range of the number of factors (5-30)
      'sample_name_col': 'orig.ident', # columns in adata_vis.obs that identifies sample
      'n_restarts': 3 # number of training restarts
    },
    # the hyperparameters of NMF can be also adjusted:
    model_kwargs={'alpha': 0.01, 'init': 'random', "nmf_kwd_args": {"tol": 0.000001}},
    export_args={'path': './CoLocatedComb/'}
)

### Analysis name: CoLocatedGroupsSklearnNMF_11combinations_1075locations_15factors
/data_disk/ST01/DJT/User/zhaoxm/miniconda3/envs/cell2loc/lib/python3.9/site-packages/numpy/lib/function_base.py:2897: RuntimeWarning: invalid value encountered in divide
/data_disk/ST01/DJT/User/zhaoxm/miniconda3/envs/cell2loc/lib/python3.9/site-packages/numpy/lib/function_base.py:2898: RuntimeWarning: invalid value encountered in divide
/data_disk/ST01/DJT/User/zhaoxm/miniconda3/envs/cell2loc/lib/python3.9/site-packages/numpy/lib/function_base.py:2897: RuntimeWarning: invalid value encountered in divide
/data_disk/ST01/DJT/User/zhaoxm/miniconda3/envs/cell2loc/lib/python3.9/site-packages/numpy/lib/function_base.py:2898: RuntimeWarning: invalid value encountered in divide
Some error in plotting with scanpy or `cell2location.plt.plot_factor_spatial()`
 index 0 is out of bounds for axis 0 with size 0
### Analysis name: CoLocatedGroupsSklearnNMF_12combinations_1075locations_15factors
Some error in plotting with scanpy or `cell2location.plt.plot_factor_spatial()`
 index 0 is out of bounds for axis 0 with size 0

I am encountering the same bug!

This just means that cell2location.plt.plot_factor_spatial() failed with error index 0 is out of bounds for axis 0 with size 0. This could be a package version mismatch or that for this data NMF arrived at one or many factors which have 0 value for all locations. You would be missing the corresponding spatial plots.

This just means that cell2location.plt.plot_factor_spatial() failed with error index 0 is out of bounds for axis 0 with size 0. This could be a package version mismatch or that for this data NMF arrived at one or many factors which have 0 value for all locations. You would be missing the corresponding spatial plots for 11 and 12 factors.

Thanks for the reminder!


Couldn't Work Adaptive bitrate for Protected Drm Contents  .

hi i am trying to play protected Drm Content but ABR not working .
gradle :
implementation 'com.google.android.exoplayer:exoplayer:2.6.1'
implementation 'com.google.android.exoplayer:extension-leanback:2.6.1'

code snippet below :
         TrackSelection.Factory videoTrackSelectionFactory =
            new AdaptiveTrackSelection.Factory(bandwidthMeter);
    mTrackSelector = new DefaultTrackSelector(videoTrackSelectionFactory);

    DrmSessionManager<FrameworkMediaCrypto> drmSessionManager = null;
    try {

        drmSessionManager = buildDrmSessionManagerV18("https://wv.service.expressplay.com/hms/wv/rights/?ExpressPlayToken=BAAAABSMKboAAABgby-2Wso9pmC4qz72RnjskZzidUmX7WgyUkE7aJSfg_Fh5Xc7R6YNw6Fo5GMyojEzkoYE2WhOHqYPJzu94ZyN86rBlvzs0u5S996Z6qiNfbJz6IKuLcKr2KgLNalGrIS1SN-lAAYRNqEY4VZb2LZQuk6yUfk");
    } catch (Exception e) {
    }
    @DefaultRenderersFactory.ExtensionRendererMode int extensionRendererMode = DefaultRenderersFactory.EXTENSION_RENDERER_MODE_ON;
    DefaultRenderersFactory renderersFactory = new DefaultRenderersFactory(getActivity(), drmSessionManager, extensionRendererMode);
    mPlayer = ExoPlayerFactory.newSimpleInstance(renderersFactory, new DefaultTrackSelector(videoTrackSelectionFactory));

  mPlayerAdapter = new LeanbackPlayerAdapter(getActivity(), mPlayer, UPDATE_DELAY);
    mPlaylistActionListener = new PlaylistActionListener(mPlaylist);
    mPlayerGlue = new VideoPlayerGlue(getActivity(), mPlayerAdapter, mPlaylistActionListener);
    mPlayerGlue.setHost(new VideoFragmentGlueHost(this));
    mPlayerGlue.playWhenPrepared();

@Nihar-android
What specifically is not working? Do you have a stacktrace? Did DRM playback work before using the extensions from ExoPlayer 2?
Can you provide more details?
Thank you!

@benbaxter
1 . DRM playback with adaptive is  working  perfectly on mobile and Tablet apps , but  not working in android tv apps where as am  using exoplayer 2 .
2.  It is working like buffering many times .
3. No i didn't have any stacktrace , because it didn't throw any exception . thank you .

This sample has been migrated to a new location and updates are happening there (check README for more information).
As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.
If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!


sshfs: new package at 3.7.0

Please fill out the template.
Read: https://k1ss.org/style
Read: https://k1ss.org/guidestones

Description of package
SSHFS allows you to mount a remote filesystem using SFTP and FUSE.
Installed manifest of package
(cat /var/db/kiss/installed/sshfs/manifest)
/var/db/kiss/installed/sshfs/version
/var/db/kiss/installed/sshfs/sources
/var/db/kiss/installed/sshfs/manifest
/var/db/kiss/installed/sshfs/depends
/var/db/kiss/installed/sshfs/checksums
/var/db/kiss/installed/sshfs/build
/var/db/kiss/installed/sshfs/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/sbin/mount.sshfs
/usr/sbin/mount.fuse.sshfs
/usr/sbin/
/usr/bin/sshfs
/usr/bin/
/usr/

New package

[X] Latest upstream version.
[X] I agree to maintain this package.
[X] I agree to notify @dylanaraps if I can no longer maintain this package.

The manifest shows sbin. This should be /usr/bin.

New manifest:
/var/db/kiss/installed/sshfs/version
/var/db/kiss/installed/sshfs/sources
/var/db/kiss/installed/sshfs/manifest
/var/db/kiss/installed/sshfs/depends
/var/db/kiss/installed/sshfs/checksums
/var/db/kiss/installed/sshfs/build
/var/db/kiss/installed/sshfs/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/bin/sshfs
/usr/bin/mount.sshfs
/usr/bin/mount.fuse.sshfs
/usr/bin/
/usr/

Don't merge this yet, after changing to /usr/bin it doesn't appear to be working. When I try to mount an ssh connection I get the error fusermount3: mount failed: Operation not permitted now.

Don't merge this yet, after changing to /usr/bin it doesn't appear to be working. When I try to mount an ssh connection I get the error fusermount3: mount failed: Operation not permitted now.

As it turns out, it was a permission issue with a file in the fuse package. Everything seems to be working now.


Allow uri("...") as a value factory in settings.gradle.dcl

@bot-gradle test RFN

The following builds have failed:

Ready for Nightly (Trigger) (Check)

Build Scan

@bot-gradle test RFN

The following builds have passed:

Ready for Nightly (Trigger) (Check)

Build Scan


how can i show map without google paly services?

google map doesnot work without play services

how can i Compatible with all the version of google play services when show map,because every it will show the google play services is not the latest

when in my app ,it says your devices does not support google play services,but in google maps app,it can show the map normal,what it cause?

try this one to update ur play services
https://play.google.com/store/apps/details?id=com.weberdo.apps.serviceinfo

why google maps app do not need google play services?because it is there own?

why google maps app do not need google play services?because it is their own?

where is the google play services in google play store,i can not find it

https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en


Problem with ad-hoc export for iOS version

I wrote an app with flutter and it is running on my iPhone in debug mode. Now i want to send it to my employer, So i've create an ad-hoc version of my app and create a "Diawi" link. After that i did check the app on my device and the app is installed on my device but not working and keep crashing after tap on the app icon.
My app icon was a round icon and i did change it to square.
Here i found when checking windows->devices :
Exception Type: EXC_BAD_ACCESS (SIGKILL - CODESIGNING)
Exception Subtype: UNKNOWN_0x32 at 0x00000001046c1c80
.
.
.
Termination Reason: Namespace CODESIGNING, Code 0x2
Triggered by Thread: 13
Is it possible that it's related to creating a bad provisioning profile?
Is there anyone faced this problem?
Any help would be appreciated.

Hi @SAAVY-ware
it's possible that the error you are describing isn't related to flutter;
could you please provide your updated  flutter doctor -v
and your flutter build --verbose ?
Thank you

Your app may be using an API that requires an entitlement it doesn't have.  A sample app that reproduces the issue may help (though of course we can't test your provisioning profile).  If you open Console and select your device, and reproduce the issue, sometimes there are interesting security logs right before the crash that say exactly what's going on.
You can also try creating a new app in Xcode without any Flutter bits and try to ad-hoc sign.  If that doesn't work, this is some signing issue that flutter probably can't do much about...

Same here. But a little different, I build a  in-house ipa by in-house cert. After tap the app icon, it crashed.
Exception Type:  EXC_BAD_ACCESS (SIGKILL - CODESIGNING)
Exception Subtype: UNKNOWN_0x32 at 0x000000010b801980
VM Region Info: 0x10b801980 is in 0x10b800000-0x10b880000;  bytes after start: 6528  bytes before end: 517759
      REGION TYPE                      START - END             [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      VM_ALLOCATE            000000010b780000-000000010b800000 [  512K] r--/rwx SM=PRV
--->  VM_ALLOCATE            000000010b800000-000000010b880000 [  512K] r-x/rwx SM=COW
      VM_ALLOCATE            000000010b880000-000000010ba80000 [ 2048K] rw-/rwx SM=PRV

Termination Reason: Namespace CODESIGNING, Code 0x2
Triggered by Thread:  28

Same with me, only AD-HOC occured

Hi @SAAVY-ware
it's possible that the error you are describing isn't related to flutter;
could you please provide your updated flutter doctor -v
and your flutter build --verbose ?
Thank you

Thank you for your response and sorry for my absence.
Not working...

Hi @SAAVY-ware @Pirensen @dabing1022
as @jmagman  pointed out...

Your app may be using an API that requires an entitlement it doesn't have. A sample app that reproduces the issue may help (though of course we can't test your provisioning profile). If you open Console and select your device, and reproduce the issue, sometimes there are interesting security logs right before the crash that say exactly what's going on.
You can also try creating a new app in Xcode without any Flutter bits and try to ad-hoc sign. If that doesn't work, this is some signing issue that flutter probably can't do much about...

can you please double check that you your  ad-hoc sign works w/o flutter?
Also would be helpful  a minimal code sample to reproduce the problem
thank you

Since DBC deprecation running debug builds of Flutter applications is only supported via flutter run or Xcode. Distributing debug builds is not supported. You need to build release build for that following the instructions in the documentation. Most notably you need to run flutter build ios (or flutter build ios --release) to configure your Xcode workspace to produce release build.

Since DBC deprecation running debug builds of Flutter applications is only supported via flutter run or Xcode. Distributing debug builds is not supported. You need to build release build for that following the instructions in the documentation. Most notably you need to run flutter build ios (or flutter build ios --release) to configure your Xcode workspace to produce release build.

OK. Thanks.

Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.

Since DBC deprecation running debug builds of Flutter applications is only supported via flutter run or Xcode. Distributing debug builds is not supported. You need to build release build for that following the instructions in the documentation. Most notably you need to run flutter build ios (or flutter build ios --release) to configure your Xcode workspace to produce release build.

This is the answer 👌🏻💐


Add documentation about stopping task into readme

After finishing the issue #6 that define how a task will be stoped, the README.MD must have the documentation about how do that.

ref #9

Solved in #9


Zebra Stripes in tables. What changed in 11 years?

2011
When users scan a row, their eyes can easily trail off and accidentally fall into an adjacent row. The user needs a visual guide to help them stay on their row as they scan. Zebra strips help guide users as they move their eyes across each row. Each alternating row is a different shade so that users won’t mistake the row they’re looking at for an adjacent row.

2022
Examples of not applying colour to alternate rows in popular product tables.

Airtable

Monday

Google Sheets

Weights & Biases

Conclusion
We probably could go deeper and find an explanation for this phenomenon, but the purpose of this publication is just to lay down a few examples of how this is used in modern times.
By the way, my proposal is very similar (conceptually) to one that Weights & Biases using currently (2022).
I hope that I did not steal it, but got to this concept myself, thru the tests and analysis.

Thank you!

@maxagin thanks, good examples and research.
Max, it's good to put it into Notion and share the link, or discussions. Not the best format for the ticket (it's not actionable).
Going back to the question that was raised specifically about the demo (and may be, not sure about the Figma) - rows should be visible on hover and have a proper (VS Code style) selection color when checkbox is set. It was not so much about "zebra", it was more about "removing everything". Monday btw is a good example of colors and behavior.
Anyways, thanks, it's helpful.

It was not so much about "zebra", it was more about "removing everything"

rows should be visible on hover

Currently, we do not have a row hover style! And my plan was not about adding the hover but handling it differently. However...

proper (VS Code style) selection colour when checkbox is set

We already have this implemented a couple of months ago.

Monday btw is a good example of colors and behavior.

They are doing it very-very aggressive. The other two (airtable, wandb) is more close to what we need I think, but I may be wrong.

We already have this implemented a couple of months ago.

yes, but from Figma it looks like it becomes less native in color

They are doing it very-very aggressive. The other two (airtable, wandb) is more close to what we need I think, but I may be wrong.

we can it do it just less aggressively, any hints, or slight change in color help. Point here- it's better to have some hints vs not having anything.

yes, but from Figma it looks like it becomes less native in color

We are not changing it. Sorry, had no time to remove it from Figma, but will do:)

we can it do it just less aggressively, any hints, or slight change in color help. Point here- it's better to have some hints vs not having anything.

The PR will be ready soon. Let's review the work before adding anything new. I think we will have a good result, if not, we will change styles. OK?

The original plan was to have this (so we can have a better focus on the cell):

Instead of this:

Same as we will do for Classic plots - having horizontal lines and showing the vertical on hover. To have a cross pattern.

Something like this but a bit more elegant and matching our VSCode style vector:
https://user-images.githubusercontent.com/98249521/182772401-feacce98-419c-488c-aaf3-a49942cb9bd7.mov


Missing Properties

This cmdlet returns various properties for the volume. most of these are either missing from the documentation or badly documented.
For example this is the description for VolumeStatus:
Whether BitLocker currently protects some, all, or none of the data on the volume.
Yet the cmdlet returns an integer. Without a way to cross reference the int to a mode/status the description doesn't do much.
Others are just outright missing all together like MetadataVersion doesn't even have a description.

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

ID: 9d45c4d3-7bab-6996-343f-e038c780a9f9
Version Independent ID: 39573aaa-9107-77be-df58-d67f4d0a11b0
Content: Get-BitLockerVolume (bitlocker)
Content Source: docset/windows/bitlocker/Get-BitLockerVolume.md
Product: w10
Technology: powershell-windows
GitHub Login: @andreabarr
Microsoft Alias: v-anbarr

@injector22 Hello,
Thank you for trying to make MicrosoftDocs a better place.
Could you show an example where the VolumeStatus is displayed as an integer?
I see it is displayed properly everywhere.
MetadataVersion is missing indeed and I believe the following link provides the necessary info GetVersion-Win32-EncryptableVolume. I will work on adding this in the article.

Thank you for the quick response. I see that you are using ConverTo-Json. Without it you will get proper output of the command:

I would assume numbers correspond to the values described here:
GetConversionStatus-Win32-EncryptableVolume


The mod seems to not find a mod, it doesn't say what it is

Describe

as you can see, cc:tweaked is installed and curios is there too, but MC says that there are mods that are not found.
Steps to reproduce
just install the mods and run the game
Multiplayer?
No
Version
1.19.2-0.7.19a (Latest 1.19)
Minecraft, Forge and maybe other related mods versions
Forge 43.1.52 Version1.19.2
Screenshots or Videos
No response
Crashlog/log
No response

This message usually tells you, that the jar should contain a mod which does not exist.
Like "The jar should contain a mod called advancedpeipherals but there isn't any"
Could you try to install the mod again? I can't reproduce this with the curseforge version nor with the dev version


Support for private git sources

Thanks for creating this awesome project!
I'm hoping to use pkger to build packages that are hosted on a private git server. Based on my understanding, the easiest way for me to do this right now would be to include my SSH key that is authorized to access the git server in my docker image. However, this is a little messy and could create security issues. It seems like forwarding the SSH agent to the docker container would be the right way to do this. What do you think?

Thanks for checking it out!
I do agree that moving the private key to the container would potentially open up more security holes than forwarding the SSH agent from the host. From the replies it looks like it works both on Linux and MacOS so seems like a viable approach to me.

If you find any issues with the current implementation please report back. I only tested it briefly by doing a simple ssh to a server that had my key as authorized and it worked correctly.

Thanks for adding that so quickly!
I had been using v0.3.0, but after building from master, I'm getting this:
ERROR  job failed, id=pkger-decide-linux-armv7a-1626447460, reason=invalid type: null, expected a sequence at line 1 column 4312, duration=0.6212626s

It seems like an error with docker-api-rs because a git bisect indicated that the problem started with commit 0e39655a69d20ee4537363a1c7966a8913e45c61.
I'd be happy to move that to another issue, but I can't test the SSH agent forwarding until I can find a work around.

Would you be able to rerun the job with tracing enabled a.k.a RUST_LOG=docker_api=trace and submit the message that fails to get parsed as a bug report to docker_api? If not then perhaps could you point out what method returns the invalid message?

Thanks for submitting the issue! I think it should be resolved now. Let me know how the tests go :)

Thanks for fixing that so quickly!
The SSH forwarding seems to work great! However, because git clone is being run in a non-interactive setting, the host key verification  fails (i.e. no input is given to "Are you sure you want to continue connecting (yes/no/[fingerprint])?"). It works if I add
env:
  GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=accept-new

but there might be a better way to do this. Also, git clone seems to direct its output to stderr, so the messages appear as "ERROR" in the rust log.

#60 should resolve your issues. You can now add this to your configuration:
ssh:
  forward_agent: true
  disable_key_verification: true

I also plan to add a way to upload authorized_keys to the container in #61 so that the connections can be more secure.

#60 should resolve your issues.

It works perfectly! Thanks so much.

I also plan to add a way to upload known_hosts to the container in #61 so that the connections can be more secure.

I think this is a good idea.


Prepare for publishing v2.1.0-alpha2

Prepare for publishing v2.1.0-alpha2 to fix a bug in alpha, and relax
dependency constraints.
Signed-off-by: Jiang Liu<EMAIL_ADDRESS>

can we retag 2.1.0-alpha1? since it's actually not released yet.

can we retag 2.1.0-alpha1? since it's actually not released yet.

can we retag 2.1.0-alpha1? since it's actually not released yet.

It has been published to crates.io, seems we can't publish the same version crates.io again.


Can't enable Application Logging (Blob) on an Azure Function app

I'm trying to enable application logging (level = information, storage settings = an application-logs blob container I just created) on my Azure Function app from the portal but I keep getting the following error:

Key
Value

DESCRIPTION
Failed to update web app logs settings for **************. There was an error processing your request. Please try again in a few moments.

STATUS
Error

TIME
Tuesday, February 7, 2017, 7:53:24 AM

CORRELATION IDS
40345302-5727-4f5d-9f28-7bd110a7f976

I tried first a few times without specifying storage information. When I realized I had not specified a blob container I thought it would work but it keeps failing.
It looks like this bug already happened in the past: #397

Possibly related to #688

While there are some knowns issues at runtime, it shouldn't fail in the portal at the time you try to enable it. Are you getting that consistently? Is your Web App Consumption mode, or using an App Service Plan?

I just tried in both types, and each time I was able to enable the blob logging without errors in the portal. Whether it correctly works at runtime is a separate thing tracked by that other issue, so let's focus on the enablement error here.

Yes, I'm getting this error consistently. I just tried again in the portal and here are the details of the error:
{
    "authorization": null,
    "caller": null,
    "channels": null,
    "claims": {},
    "correlationId": null,
    "description": "Failed to update web app logs settings for **************. There was an error processing your request. Please try again in a few moments.",
    "eventDataId": null,
    "eventName": null,
    "eventSource": null,
    "category": null,
    "eventTimestamp": "Tue Feb 21 2017 14:59:26 GMT+0100 (W. Europe Standard Time)",
    "id": "Failed to update web app logs settings._Tue Feb 21 2017 14:59:26 GMT+0100 (W. Europe Standard Time)",
    "level": "1",
    "operationId": null,
    "operationName": {
        "value": "Failed to update web app logs settings.",
        "localizedValue": "Failed to update web app logs settings."
    },
    "resourceGroupName": null,
    "resourceProviderName": null,
    "resourceType": null,
    "resourceId": null,
    "status": {
        "value": "Error",
        "localizedValue": "Error"
    },
    "subStatus": null,
    "submissionTimestamp": null,
    "subscriptionId": null,
    "properties": {
        "correlationIds": "f50467f7-1091-48fa-b29b-ebb4d82641c8"
    },
    "relatedEvents": []
}

I'm using a Consumption plan.
I noticed that after my failed attempts at enabling logs a new app setting appeared: DIAGNOSTICS_AZUREBLOBCONTAINERSASURL. So I deleted it and tried once again to enable blob logs but I got the same error with this correlation id: c69f1f2e-12f6-47d5-b683-96c8c3bf73a8.
I can send you a HAR file privately if this can help you.

@0xced apologies for the delay on this.
Are you still experiencing this problem? If so, could you repro and share a recent instance of the issue (the correlation id) so we can take a closer look?

I'm still getting errors. Here's a new correlation id that I got a few seconds ago:
c4eca252-b360-4dcb-a559-7a9a20fda206

Can you share your web app name, either directly or indirectly? This will help us investigate. Thanks!

Here's the UTC execution time and execitopm Id value, as explained in Sharing Your Function App name privately:
2017-03-23T21:47:16.305 Function started (Id=bf63b82b-c18c-4268-ba5f-b53c7bd5bba0)

The region of this Function App is West Europe.

Thanks, that gives us what we need to dive deeper. We'll get back to you.

The configuration for the site somehow was corrupted.  Were you switching between using and not using AzureFile at some point?   I believe we may still have bug and not reset all properties correctly.
At this state, though the AzureFile settings were set (per appSettings), site runtime is not using AzureFile.    Below was from Kudu Console (notice the SYMLINKD not using AzureFile).
D:\home>dir d:\local
 Directory of d:\local
 ...
03/24/2017  07:50 AM    <SYMLINKD>     VirtualDirectory0 [\\<IP_ADDRESS>\volume-11-default\106a568dc80dff6c613b\52d70e005e8f416eb03a0c077f3e918e\]

From management plane (when you update the application log settings), it was trying to use AzureFile secret to access non AzureFile share and got denied.    I will discuss with product team how to safely advice or migrate your content and switch to use AzureFile.    Will ping back once we have more info.

I'm sorry, I don't know what AzureFile is. 😕 I used Visual Studio Tools for Azure Functions to deploy my Function App and followed the steps in the Publishing to Azure paragraph.

Nothing to do with your deployment.   Something to do with your webapp configuration (not your fault).   Could you let us know the time we could work together to fix up your site configuration?

What channel do you want to use to discuss this issue further? Twitter DM? Something else? I'm available tomorrow from 8:30 AM (Central European Summer Time).

@suwatch - could you please follow up?

@0xced  these are steps we have to do to your site named riw**et.

Copy most recent contents from the site to AzureFile.
Switch the site to use AzureFile.

They should take less than 10 mins.    I have done the first step as of (03/04/2017 23:50 UTC).   If you made any change to your site content after that time, I will have to copy again.
If not, you can proceed to switch to use Azure File yourself.

Browse appSettings section of the site on portal.
Rename the appSettings name WEBSITE_CONTENTAZUREFILECONNECTIONSTRING to WEBSITE_CONTENTAZUREFILECONNECTIONSTRING_ (with ending underscore).
Rename the appSettings name WEBSITE_CONTENTSHARE to WEBSITE_CONTENTSHARE_ (with ending underscore).
Click save button
Verify that your functions are still working.
Rename those back (remove ending underscore) and Save.
Verify that your functions are still working.

That's it.  Now try changing the Application Log setting again.  Let us know if still failing.

I was able to enable the application logs by following the steps you provided. But now, I can't see my functions anymore! Here's a screenshot of my function app, it's empty! The left pane used to list all my functions with a refresh button at the bottom, now there is neither! This app is used in production and now I can't manage my functions in the portal anymore, this is not acceptable!

Note that my Function App was already empty before I followed your instructions to rename WEBSITE_CONTENTAZUREFILECONNECTIONSTRING and WEBSITE_CONTENTSHARE.

@0xced that is an unrelated issue, tracked by this thread, and a fix is being made now.

@davidebbo OK, thanks for pointing me in the right direction. It was unfortunate that both events (resolution of this application logging issue and the Azure portal upgrade) occurred almost at the same time, making it difficult for me to guess which one was the culprit. 😕

Ok, the fix to that issue was just deployed. Please verify, and you should then be able to proceed with the steps.

Thanks, I can see my functions now. I have enabled the application logs and I can see them grow in my chosen blob container. I'm a bit confused though, I see only Sending response: 200.0 OK logs. I thought that the application logs were the one produced with the TraceWriter object provided to the functions.
If I manually run this test function, I don't see either the info or the error log in the application logs (they are configured at the Information level):
public static void Run(string input, TraceWriter log)
{
    log.Info($"Hello from a test function with input {input}");
    log.Error("A dummy error occurred");
}

Is this expected or is there still something misconfigured somewhere?

@0xced Perhaps start a new issue with related title to help focus issue at hand.   We can close this specific one regarding unable to set application logging.

Very similar happens to me when I try to update Log setting for the app that was automatically created by Bot Service. I get:

Failed to update web app logs settings for {myapp}. There was an error processing your request. Please try again in a few moments.

Is it fixed?

I am also experiencing the issue @0xced is experiencing. I don't see the info logs in the application logs.

@SunSeaAndPalms Regarding to unable to set application log, do you sti;; have the issue?  If so, do share the time stamp and the web app name (here or indirectly).
@0xced and @ansario please open a new item (if not already) and it will help us focus on issue at hand.

@suwatch It was magically auto-fixed without any intervention from my side. The only problem I have now is that my Node's console.log doesn't appear in the log files, however as far as I understand the support team response, "it shouldn't appear and if I need logs I can debug locally".

Closing this as it appears to be resolved and there has not been any activity in the past month.

For the record: I still have no idea where to find the logs emitted through the TraceWriter. As a workaround, I’m writing my application logs to blobs with AppendTextAsync.

@0xced I can't tell whether you're being impacted by a bug or a configuration issue but the way its supposed to work is:

You should always see those logs as they happen if you have the log view open for that function:

If you have the webjobs dashboard enabled (i.e. you have an AzureWebJobsDashboard app setting) then your tracewriter logs go into dashboard storage.

You can see them in the monitor tab:

You can see them in AzureWebJobsHostLogs table in your dashboard storage account:

If you have application insights turned on, the logs will go into the traces table:

Hope that helps.

@0xced you want System.Diagnostics.Trace.TraceError("Message"); from https://stackoverflow.com/questions/35702341/asp-net-web-application-in-azure-how-to-log-errors


Also show "Available Since" for each API in tf docs

It would be useful to show the lifecycle of an API in the docs. That is, show when say, tf.data.Dataset.take was added or when a certain is removed / renamed. It could be extended to arguments of each API as well. Or to put it in one line,
Expose version control information of APIs directly on tf docs

It would really help developers keep up with rapid development of TF even better.

I'd love to work on this one. But where should we add these docs?

Discussed a bit previously, but not sure it's worth it.
Generally, the API is cumulative to maintain backward compatibility (aside from the major version jumps). We publish multiple versions on the site (and archive the rest in GitHub) so if you're stuck on an old version, you can browse that.

Yeah, looking at the older docs on Github, I realized it would be a useful
extension to use git's power to extract when an API or its attributes were
introduced or modified automatically, without any additional work from TF
developers. As you might know many other popular libraries like pandas,
sklearn and even Python itself use this approach. Many a times this
information prompted me to upgrade my libraries after I learned about their
recent additions which could heavily simplify my code. Also in the current
documentation I don't know of an easy way to search for 1.15 APIs, as the
default search works for the latest stable release only. If we add this
feature to docs, users need not worry about which version of TF they are
looking at and can actively keep up with changes made by TF's vibrant
community every day. This is just my two cents. Feel free to ignore :)
--
Nitin @ LinkedIn http://bit.ly/nitinpasumarthy
On Tue, Mar 31, 2020 at 12:38 PM Billy Lamberta<EMAIL_ADDRESS>wrote:

Discussed a bit previously, but not sure it's worth it.
Generally, the API is cumulative to maintain backward compatibility (aside
from the major version jumps). We publish multiple versions on the site
(and archive the rest in GitHub) so if you're stuck on an old version, you
can browse that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/38059#issuecomment-606831806,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFDWXFYRKSXP44NRHXVFA3RKJBB7ANCNFSM4LW7I3CA
.

The main issue is that the API surface of TensorFlow is extremely large at the moment, making documenting "Available Since" hard. While doable, we need to prioritize other work.
On the other work, modularization can help with this as every module could then start adding "available since" fields as needed.

It is possible to work out this information by diffing versions, but it's not high enough priority for us to automate. git diff --stat is your friend here.


Concert Error When Running

If I run concert without sudo I get the following error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x4c5a66]
If running concert with sudo as in the documentation I get:
sudo: concert: command not found
I have installed go and also installed and compiled concert as in the documentation.

@BraydenGirard, can you run concert this way:
$ sudo $(which concert) ?

Yes, interesting assuming it was not properly added to the path then.

We'll keep this open since it seems you found a bug.

Same here while trying to renew
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0xe442c]

goroutine 13 [running]:
panic(0x40f160, 0x10822030)
        /usr/local/opt/go/libexec/src/runtime/panic.go:464 +0x330
github.com/xenolf/lego/acme.(*Client).getChallenges.func1(0x10b139f0, 0x10b23b00, 0x10b23ac0, 0x10b3dd60, 0x16)
        /Users/harsha/mygo/src/github.com/xenolf/lego/acme/client.go:408 +0xf8
created by github.com/xenolf/lego/acme.(*Client).getChallenges
        /Users/harsha/mygo/src/github.com/xenolf/lego/acme/client.go:421 +0x12c

Project deprecated users should use certbot instead.  Closing.


Enable dry-running charts that rely on KubeVersion, similar to ApiVersions

Just like .Capabilities.ApiVersions, many charts make use of the .Capabilities.KubeVersion built-in object to determine how they're rendered.
This should also be possible to emulate.

Solved by #13


better lang tag detection

In some records like https://www.tbrc.org/xmldoc?rid=W1KG14618 there are strings with no lang tag indication that are in fact pinyin with no diacritics. They are currently tagged as bo-x-ewts but that's obviously wrong. Although we cannot detect that very accurately, the presence of an x is an indicator we could use.

We could run the ewts converter and produce a list ordered by the number of errors. The pinyin and other such strings should have high error rates. It would at least produce candidates to be looked at.
We may consider adding a Jena extension function for the ewts converter,

well... there's already a list here but... I think we have to develop automation...

I was thinking of a sheet w/ resource URI, offending string, and number of errors detected by the ewts-converter. I'm thinking that there will be a largely bimodal distribution and that strings with large numbers of errors will not be as prevalent as the occasional errors in genuine bo-x-ewts.
I think the list isn't as manageable as a sheet

Another example in https://www.tbrc.org/xmldoc?rid=W1GS61415
<w:catalogInfo encoding="extendedWylie" lang="tibetan">Biography of the famous Tibetan physician and scholar, Troru Tsenam.</w:catalogInfo>


Fix several bugs in dynamic casts

What's in this pull request?
Fix the cast optimizer to handle CF/NS bridging correctly, and fix the dynamic cast runtime to handle class + enum casts to AnyHashable correctly.
This should unblock @jrose-apple's fix for SR-2388
rdar://27942352

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

A smoke test on macOS does the following:

Builds the compiler incrementally.
Builds the standard library only for macOS. Simulator standard libraries and
device standard libraries are not built.
lldb is not built.
The test and validation-test targets are run only for macOS. The optimized
version of these tests are not run.

A smoke test on Linux does the following:

Builds the compiler incrementally.
Builds the standard library incrementally.
lldb is built incrementally.
The swift test and validation-test targets are run. The optimized version of these
tests are not run.
lldb is tested.

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test and merge.

@jckarter Would you mind reviewing this?

Pushed fix for broken regression test.
@swift-ci Please clean test Linux.
@swift-ci Please test Mac OS.

I think that probably was too clever by half.
@swift-ci Please test OS X.

Or maybe CI is just down / slow.

@swift-ci please test OS X platform

@swift-ci Please clean test Linux.

@swift-ci Please clean test Linux.

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - e41e8b8836fe79c256d2ba8608834ad4ab4579f2
Test requested by - @shahmishal

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - bac2b802e2683dabe430fd6fc636da467f54d1fb
Test requested by - @shahmishal

Test failure looks real. While building XCTest:
SIL verification failed: unchecked_ref_cast requires a heap object reference type: SILType::canRefCast(AI->getOperand()->getType(), AI->getType(), AI->getModule())

@swift-ci Please test.

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - ddf4e5c6269722dee2900aee7a2881bb056bc50a
Test requested by - @rjmccall

Linux CI busted?

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - bac2b802e2683dabe430fd6fc636da467f54d1fb
Test requested by - @rjmccall

@swift-ci Please test Linux

macOS failure is due to
21:26:36 Failing Tests (1):
21:26:36     Swift(macosx-x86_64) :: SILOptimizer/cast_folding_objc_generics.swift
21:26:36
21:26:36   Expected Passes    : 8423
21:26:36   Expected Failures  : 12
21:26:36   Unsupported Tests  : 91
21:26:36   Unexpected Failures: 1

Linux failure was due to timeout 3mins, this was config issue. I have fixed this now, please wait for new build to completed. Build

Test failure was a failure to revert a test change that had been necessary in a prior iteration of the patch.  Hazards of developing with a limited time budget.
@swift-ci Please test.

These changes LGTM.

@swift-ci Please test

This has passed a full test, but that apparently no longer satisfies the smoke test requirement.  Can we get an admin to merge this, please?

Or we can just run the smoke test :)

@swift-ci Please smoke test macOS


Add symmetric capabilities to DecryptedThing

#213

See https://github.com/dao-xyz/peerbit/pull/215#issuecomment-1925295426
Closing


Icon request: Nobara Linux

https://nobaraproject.org/
File /usr/share/icons/hicolor/scalable/apps/start-here.svg taken from my own Nobara Linux instance. Hopefully it's acceptable.

That's a pretty icon, I think before used a N with a hammer, was ugly.
Your usecase is in the terminal? LGTM.

Included in https://github.com/lukas-w/font-logos/pull/132


Missing resource for instal BEAR

The provided link in the README to VISR
only provides version 0.12.2 instead of the required 0.13.0.

Hi,
Yes, unfortunately i've had a bit of trouble getting them to release the next version -- it's available here for now https://github.com/ebu/bear/releases/download/v0.0.1-pre/visr-0.13.0-pre-5e13f020.zip
The install process is unfortunately quite involved. If you just want to evaluate this I could provide a docker container that's much easier to get started with -- would that be helpful?

Hi Tom,
thanks. Yes, I'd appreciate to give it a try with a docker first - if this shouldn't work, I can always try the classic way...;)
w

Hi, sorry for the delay. There's some instructions for this in the readme now.


Supporting cache backend

Cacheing resource request is a great feature. However, I was wondering if it would be nice to support cache backends such as Redis or MemCached.

You can implement DataSourceCache yourself and pass it when you run a Fetch.
For the moment there are no ready made integrations with Redis / Memcached or ScalaCache ... That is definitely something worth exploring in the future.

Yeah, it would be nice to have built-in support for ScalaCache.


client cannot complie

Steps:

clone this repo
yarn
yarn start

Module not found: Error: Can't resolve 'localStorage' in '.../PROJECTS/shifu.run/src/pages/disclaimer'
client (webpack 5.74.0) compiled with 1 error

This problem disappear with one more yarn start...


Sorry, I have updated the network proxy and tested and everything is fine.

@abner-chenc, thanks, but it looks like the builder is still failing in the same way: https://build.golang.org/log/2be2c8f0e5c59445b6d94dfed2420dd2e48687b7

@abner-chenc: I see there's no GOPROXY in the builder env, so there's still (real) possibility that the connection to the official gomod proxy's gonna be fragile.
If possible, you could try GOPROXY=https://goproxy.cn,direct which is a well-known proxy service (kindly provided by my previous employer and reliably accelerating downloads for years already).

@abner-chenc: I see there's no GOPROXY in the builder env, so there's still (real) possibility that the connection to the official gomod proxy's gonna be fragile.
If possible, you could try GOPROXY=https://goproxy.cn,direct which is a well-known proxy service (kindly provided by my previous employer and reliably accelerating downloads for years already).

I have configured the environment variable GOPROXY=https://goproxy.cn,direct in the buildlet service

I can confirm the proxy setting is in effect, and the dashboard indicates the problem is gone. I think the issue can be closed?

Sorry， I have reconfigured the network, maybe this problem will not occur again.

@abner-chenc: seems the network is still unreliable at times? If it's acceptable you can try switching to a mirror inside China mainland such as goproxy.cn.

I'm very sorry, this error was caused by a loss of environment variable configuration on one of the builder (which happened to run these tests on). I have reconfigured the environment variables on this builder, and I think the problem should no longer occur now.


fix: Filter Bar scrolling

SUMMARY
This PR fixes bug in Filter Bar. When there was many filters added, Filter Bar scrolling did not work properly, as presented below.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:

After:

TEST PLAN
Set feature flag DASHBOARD_NATIVE_FILTERS to true.
 Try to scroll Filter Bar up and down.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

cc @rusackas @villebro @junlincc

Tested - OK!


Fixes to docker-compose

I am building a generalized relayer according to Catalyst's docs at:
https://docs.catalyst.exchange/relayer/setup/
When running docker compose up I get the following errors:

expose: takes a list of ports, not a mapping. Change this to ports
attach: isn't a valid directive in a docker-compose file as far as I know

After making these changes I can run docker compose up and start a relayer.

Hey @keefertaylor,
Make sure you are using at least docker compose v2.24.7. You can check the docs for more information (https://docs.catalyst.exchange/relayer/setup/). If you still have troubles running the relayer feel free to open an issue or post on the relayer-support channel of our Discord!


add cifar for chainermn

Source code for using chainermn with cifar.
Use data parallel.
Source code base is chainer/examples/cifar/train_cifar.py.
It confirmed the operation verification.

Hi @ai-kase ,
Thanks for your PR. My apology for the late response.
I guess the code contains a copy from aws-sagemaker-example repositoryhttps://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/chainer_cifar10/src/net.py .
The license of the SageMaker example repository is Apache license, so we need to show the license and copyright notice. We need further discussion on this.

I am glad for your response.

I guess the code contains a copy from aws-sagemaker-example repository https://github.com/awslabs/amazon-sagemaker-examples/blob/master/sagemaker-python-sdk/chainer_cifar10/src/net.py .
The license of the SageMaker example repository is Apache license, so we need to show the license and copyright notice. We need further discussion on this.

models/VGG.py code using in this PR is a same as code
https://github.com/chainer/chainer/blob/master/examples/cifar/models/VGG.py .
(I copied the above code.)
If this code is SageMaker license, as you said, I need to show the license and copyright notice.

Oh, I misunderstood it. The license issue seems OK.
I will add some review on the code, so do you mind fixing it? Thanks.

@ai-kase if you have any questions, you can talk to me on twitter @keisukefukuda casually in Japanese or English.

@keisukefukuda　thanks you so much. I will follow you by kaseko78.

pep8 check still fails:
/home/travis/build/chainer/chainer/examples/chainermn/cifar/train_cifar.py:8:1: F401 'chainer.training.triggers' imported but unused

Jenkins, test this please.

pfnci, test this please.

Jenkins CI test (for commit 6c654907a297640e5b74dbb3532b627e5557c58f, target branch master) failed with status FAILURE.

pfnci, test this please

Jenkins CI test (for commit 7893f960e3bd752724aa697e8ca55f45c4af6b07, target branch master) succeeded!

@ai-kase Again, thank you for your contribution. This PR is 99% OK to merge, but
please fix just one more thing.
The PR title will be listed in the change logs of the next release, so do you mind editing it to
Add CIFAR example to ChainerMN ?
Thanks!

@keisukefukuda I am thank you for many review and comment in this PR.

The PR title will be listed in the change logs of the next release, so do you mind editing it to
Add CIFAR example to ChainerMN ?

I will Change the title to Add CIFAR example to ChainerMN .

LGTM!


pgmq.read_with_poll consumes 100% for each invocation with short polling interval

Hello, dear maintainers,
When pgmq.read_with_poll is called with a short polling interval (5 ms) directly from the psql console or client libraries, it starts consuming 100% CPU for each connection.
To reproduce this behaviour, you can either run in psql console:
select pgmq.read_with_poll("myqueue", 10, 10, 30, 5);

Or in Python:
queue.read_with_poll("myqueue", max_poll_seconds=30, poll_interval_ms=5, qty=1)

And check top or htop output.
The version of pgmq I use is tembo/pg17-pgmq:latest.
It was reported initially in the slack channel.
Let me know if I can help with the fix.
Thanks.
Best wishes,
Sergei

Fixed in #343, thanks for the report!


Events Card: Nothing displayed when events unavailable

Issue Description
When the Events card has no active events, the card does not display a user message indicating that no events are available.

Additional Information

App version: 6.9+
Platform(s) (iOS, Android, or both?): Both

This issue is being closed due to platform migration and may be revisited at a later date.


Coverage 6.0 moved coverage.misc.NoSource to coverage.exceptions.NoSource

Looks like the latest stable version of coverage breaks the reporting from coveralls-python.
#!/bin/bash -eo pipefail
COVERALLS_REPO_TOKEN=Q58WdUuZOi89XHyDeDsGE2lxUGQ2IfqP3 coveralls
Traceback (most recent call last):
  File "/home/circleci/.local/bin/coveralls", line 5, in <module>
    from coveralls.cli import main
  File "/home/circleci/.local/lib/python3.8/site-packages/coveralls/__init__.py", line 1, in <module>
    from .api import Coveralls
  File "/home/circleci/.local/lib/python3.8/site-packages/coveralls/api.py", line 14, in <module>
    from .reporter import CoverallReporter
  File "/home/circleci/.local/lib/python3.8/site-packages/coveralls/reporter.py", line 5, in <module>
    from coverage.misc import NoSource
ImportError: cannot import name 'NoSource' from 'coverage.misc' (/home/circleci/.local/lib/python3.8/site-packages/coverage/misc.py)

Exited with code exit status 1
CircleCI received exit code 1

https://github.com/nedbat/coveragepy/commit/6a3d3aaaf2aebb816c7287263c8097844280b233#diff-8489ba0fa1175208cbaa2e586bbf94c70fe721b8ebd8f022452e431fefd64168

I took a look at reporter.py here: there are many internal elements being accessed.  It would be better to work out a public API that does what you need.

I did figure out a solution for my problem. Turns out the circleCI configuration of the github repo I was submitting a pull request to would istall the latest stable version of both coveralls and coverage python packages.
steps:
  - checkout
  - run:
      command: pip install --user tox coveralls
      name: "Install Tox & Coverage"

I changed this to let covaralls choose which version of coverage to use, and then it built successfully.
command: pip install --user tox coveralls

I suspect that there are more projects out there with similar configuration (copy-pasted?) that will be affected by this change.


Prefer default function to conditionless else

Jumping the gun here :) But adding this as a reminder once the next OPA version is out, and we'll have default functions 🤤 Once we do, I'm inclined to say we should:
Avoid
package policy

city(person) := city {
    location := person.location
    city := location.city
} else := "unknown"

Prefer
package policy

default city(_) := "unknown"

city(person) := city {
    location := person.location
    city := location.city
}

I'll definitely need to come up with a better example for the docs, but I hope the message is clear regardless 😄
@kristiansvalland @charlieegan3 @srenatus agreed?
An alternative would be to file this under the "style" category, but I do think this should be considered more than that.

I guess it does raise the question wether Regal should have a notion of OPA versions, and perhaps do something like allow the use to set their current OPA version in the config, and have any rules that depend on a version greater than that automatically ignored (but perhaps with a warning)... 🤔

How does regal know the version some rego code is supposed to run with? Btw, do we have capabilities support, so I could use regal on rego code that uses builtins that OPA doesn't know? 🤔 If we did use caps, we could introduce a "default_functions" feature, so that a caps file can be used to determined if the target OPA is able to eval default functions...

allow the user to set their current OPA version in the config

So something like:
rules:
  ...

opa:
  version: v0.52.0

No current support for capabilities, but should be fairly straightforward to add. We could even ship with a capabilities config that supported e.g. Gatekeeper, EOPA, and whatever else there is, out of the box. Having to bring that whole JSON file and edit it manually always felt somewhat "low-level" to me. We should look into some easier mechanics for Regal, like allowing capabilities to be defined in the Regal conf. I'll create an issue 👍


anytype: Added option to disable the Wayland wrapper

Description of changes
Attribute set argument enableWayland added defaulting to true, meaning no change for existing users.
This option is added to allow Anytype launcing in X11 environments. Setting the option to false circumvents Nvidia pascal card issues with EGL drivers.
May provide a fix for  #286733.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

Hey :)
The reason I added the option is because I get the following error when running the program:
libEGL warning: egl: failed to create dri2 screen. I get only a window border with my wallpaper visible in the window.
I run the Nvidia Pascal 1080 card on wayland and after some research it seemed to be a videodriver issue on old Nvida cards. Disabling the Wayland wrapper seemed to be the way to go; running in xwayland fixed my issue.

(Also for future reference, we don't use "conventional commits", please refer to our contributing guide or previous PRs for the format.)

I read the Contributing.md guide, could you please expand on what you mean my "conventional commits"? (This is my first PR related to the NixOS project) 😄

I read the Contributing.md guide, could you please expand on what you mean my "conventional commits"?

This is conventional commits. We don't use those. Our conventions are described here instead.

running in xwayland fixed my issue.

You can use NIXOS_OZONE_WL= anytype to provide the exact same effect as this PR would (with wayland support off).

Oh, well in that case I'll thank you for your time and help :)


feat: implement task 38_add display name

Add display usernames separate from unchangeable Dash identity:

save custom usernames in profile docType within Jembe DashPlatform contract
UI to modify username on Jembe under "setup profile" tab
create rules for enabling display names that are less than or equal to 20 characters and consist only of A-Z, 0-9, whitespaces and dash (-); disable save to profile docType if rule is not satisfied. Enable a display name to be erased (replaced with nothing)
display display name when one exists, display username in place of display name when one does not exist

the quick direct message window in the lower right corner shows the label twice in a conversation instead of the display name, should be an easy fix


Remove dep on traitlet

Hi!
as we discovered, the dependency on traitlet >= 5 means that actually, the comm project requires python >= 3.7 contrary to what is published (claims to support python 3.6)
I've seen that the traitlet dependency is used just in order to import this : https://github.com/ipython/traitlets/blob/main/traitlets/utils/importstring.py , which is pretty stable and easy
I suggest to just copy the method in comm package and remove the dep on traitlet all-together
what do you think ?

Or otherwise, if it's simpler, we can losen the dependency as you suggested : https://github.com/ipython/comm/pull/16

Thank you for doing this, I triggered the release it should come soon.
Concerning the removal of traitlets, we may want to consider this later indeed.


Failed to Create Instance When Port Range Needed Is Not in Range Provided

Bug Report
System Information

Operating System - Windows 11 Pro
AMP version and build date - v<IP_ADDRESS>, built 10/09/2022 16:30
Which AMP release stream you're using - Bleeding

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do?
Create an instance of Vintage Story.

What are you expecting to happen?
The system should find the first port available, whether above or below the default port. Otherwise, predefined port ranges are kind of pointless for high port games.

What is actually happening? ('Nothing' is not an acceptable answer!)
Create Instance Failed: There are no available application service ports above 42420. You can address this by adding an extra port range that covers this under Configuration -> Networking -> Application Port Ranges

Reproduction
Set a port range below 42420 and create a Vintage Story instance (available in Greelan's dev repo) at time of posting.

This looks like the intended behaviour. In this situation you could either add the required port range, or set the port allocation mode to Exclude only.

I'm misunderstanding why it would only go to higher ports. My use case is I want my specific targets to use specific port ranges. i.e. 40200:40399. If a game wants a port above this range it just fails. It shouldn't be that way. AMP should try any port within the allowed range.

The reason for that is that it kept games that used the same port ranges close together. So if you had a game that used 7777 and created multiples of it, they'd end up on 7778, 7779 even if a different game got created in-between.

This seems like a personal preference over functionality. If the game server is okay using the port, it should use it rather than AMP erroring out.

I've just run into this issue as a new AMP user. As a workaround I've added a port range of 65530:65535 so that AMP allows me to create an instance, I then reassigned the ports back into my desired range (10100:10200). It would be nice if this restriction could be disabled/removed, I find it counter-intuitive and needlessly limiting.
As suggested in one of the previous comments, I tried to use Port assignment mode "Use all except excluded", adding 0:65535 to Application port ranges, 0:10099 and 10201:65535 to Application port exclusions. I couldn't create an instance, this time failing with "There are no available AMP service ports."

This bug still exists in v2.4.7

I have a fix range of ports forwarded to the AMP container (LXC), so I don't need to adjust the port forwarding every time for a new game and every container has a fix range it can use for services which need to be accessible through IPv4.

Because of the bug, I need to adjust the ports manually after creating the instance.
It should be really easy to fix this bug..

No longer an issue as exclude is now the default behavior.

The default is to allow all ports and only pay attention to the exclusion range.

Can this be reopened? I just tried with v<IP_ADDRESS>, built 04/04/2024 18:29 and the issue is still existing.

It's really annoying to have to change the ports every time after instance creation.

I'm still confused why it's such an issue to have AMP just circle back around and see if a lower port is available. I see no reason for this not to be open and addressed. Just because the default behavior is a workaround. It's not a good one.

lol... AMP is really dump if you set it to exclude mode xD

Port 100001 is not a valid port... The highest possible port is 65535.

Just for completion. I set the excluded ports as follows

First noticed it set the port to 65536 of the new instance and then tested with a higher number to see if it just checks the limit wrong

The default is to allow all ports and only pay attention to the exclusion range.

You sure?

Hi, any update on this? It's really frustrating and I don't understand why this setup doesn't work.

It seems like AMP is checking whether the game's default port(s) are available in our defined application port range, and then mysteriously refuses to create the instance when it finds out that they aren't, even though there are plenty of other ports available.
Here's what I would expect to happen:
With "include allowed ports only" selected:

Check whether the game's default port(s) are available. If so, use them.
Try to find a slot with N contiguous available ports in the defined port ranges, starting from the lowest port. If found, use them.
(optional) If there are no contiguous port ranges available, use whatever is available.
Otherwise report an error.

This has been addressed in the coming release. AMP uses only port exclusions going forward, but will attempt to find a port above until it reaches 65535, then goes downwards counting in blocks of 10 until it finds a good range for all needed ports to keep them close to the original.


linux centos 6.5  install  sdk 2.2

Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
at System.Environment.FailFast(System.String)
at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
at System.Globalization.GlobalizationMode..cctor()
at System.Globalization.CultureData.CreateCultureWithInvariantData()
at System.Globalization.CultureData.get_Invariant()
at System.Globalization.CultureInfo..cctor()
at System.StringComparer..cctor()
at System.AppDomain.InitializeCompatibilityFlags()
at System.AppDomain.Setup(System.Object)

I know this issue have come up before, and I know the issue is documented here
Can someone explain why I get the above error when running a self-contained (cross-compiled) package on linux
dotnet publish  --self-contained --configuration Release --output ./artifacts --runtime linux-x64 -p:PublishSingleFile=true ./src/FFV-RTL.Console/FFV-RTL.Console.csproj

But when I build the same codebase (with the same sdk/runtime)
dotnet pack  --configuration Release --output ./artifacts ./src/FFV-RTL.Console/FFV-RTL.Console.csproj

my application works fine (after installation as global/local tool). BTW on windows (and mac os x, I think, have to check) both self-contained and normal CLI app builds work.
And my application uses System.Globalization so I cannot use DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true in the shell, because then a lot of parsing locale data (money, dates) doesn't work.


Prompt user before removing path, parameter, etc.

There have been several times when I have clicked the 'X' next to a path or something else when I was intending to open the item for editing. This will remove the item without any prompt.
Add a prompt to make sure the end-user wants to remove the item, since removal is lossy.

Resolved in this PR:
https://github.com/apinf/openapi-designer/pull/369


text support

Hi, 👋
I know this is dumb to open an issue for,
but will boost.gil support text manipulation, if so when ?
and thanks in advance

GIL stands for Generic Image Library, what kind of text manipulation support are you expecting from an image library? Rendering text?

GIL stands for Generic Image Library, what kind of text manipulation support are you expecting from an image library? Rendering text?

I know this might be hard and a lot to implement, but yes, yes, rendering text, loading from fonts, text color, text position etc.

I know this might be hard and a lot to implement, but yes, yes, rendering text, loading from fonts, text color, text position etc.

I would recommand to check this (old) contribution then, it might be a good start:
FreetypeGIL by Tom Brinkman - A Freetype wrapper for GIL. Renders text onto GIL views.

gil/extension/toolbox/freegil.hpp
Tom's original announcement in boost::freetype - extension for boost::gil

I would recommand to check this (old) contribution then, it might be a good start:
FreetypeGIL by Tom Brinkman - A Freetype wrapper for GIL. Renders text onto GIL views.

gil/extension/toolbox/freegil.hpp
Tom's original announcement in boost::freetype - extension for boost::gil

Okey ty I really appreciate, one thing how do I get the value  of boost::pixel didn't find any way to do it

Okey ty I really appreciate, one thing how do I get the value  of boost::pixel didn't find any way to do it

yes, rendering text, loading from fonts, text color, text position etc.

GIL is not a rendering library. You should look at https://github.com/cpp-io2d/P0267_RefImpl and http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0267r10.pdf, and plenty of other libraries out there.

how do I get the value of boost::pixel

There is no such thing as boost::pixel

yes, rendering text, loading from fonts, text color, text position etc.

GIL is not a rendering library. You should look at https://github.com/cpp-io2d/P0267_RefImpl and http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0267r10.pdf, and plenty of other libraries out there.

how do I get the value of boost::pixel

There is no such thing as boost::pixel


Fai 2563 create qdrant how to a setup guide

@teddego Update summary.md to include this change. Summary.md defines which files are shown on the doc.


[FEATURE] Please promptly update the intact taco file with a valid signature

Dear esteemed brother
The signature of the AWS DocumentDB connector file you uploaded has expired. As a result, I am currently using the command -DDisableVerifyConnectorPluginSignature=true forcefully. I believe, as much as you do, that this is not an ideal solution.
I kindly request you to promptly update the signature on the intact taco file. I implore you to save me from this situation.
@birschick-bq
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi, I'm from the connectivity team at Tableau. The signature for the DocumentDB taco is indeed invalid. Looking at the jarsigner output, it's not actually because the certs expired, but because it was signed using an algorithm that newer versions of java do not deem secure and thus reject. The taco will need to be re-signed with a stronger encryption, and then checked against jarsigner -verify --certs --verbose --strict.
jarsigner outpu:
D:\dev\monolith>jarsigner -verify --strict --verbose --certs C:\Users\pvanderknyff\Downloads\documentdbjdbc-1.4.4.taco
     558 Thu Jan 06 23:36:38 PST 2022 META-INF/MANIFEST.MF
     693 Thu Jan 06 23:36:38 PST 2022 META-INF/JAVASPEC.SF
    9005 Thu Jan 06 23:36:38 PST 2022 META-INF/JAVASPEC.RSA
       0 Thu Jan 06 23:24:36 PST 2022 META-INF/

m  ?   2809 Thu Jan 06 23:24:36 PST 2022 manifest.xml
m  ?   6325 Thu Jan 06 23:24:08 PST 2022 connection-fields.xml
m  ?    204 Thu Jan 06 23:24:08 PST 2022 connection-metadata.xml
m  ?   1311 Thu Jan 06 23:24:08 PST 2022 connectionResolver.tdr
m  ?    164 Thu Jan 06 23:24:08 PST 2022 connectionBuilder.js
m  ?   2530 Thu Jan 06 23:24:08 PST 2022 connectionProperties.js
m  ?  34538 Thu Jan 06 23:24:08 PST 2022 dialect.tdd
s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore
? = unsigned entry

Signed by "CN=Amazon.com Services LLC, O=Amazon.com Services LLC, L=Seattle, ST=Washington, C=US"
Digest algorithm: SHA1 (disabled)
Signature algorithm: SHA1withRSA (disabled), 3072-bit key
Timestamped by "CN=DigiCert Timestamp 2021, O="DigiCert, Inc.", C=US" on Thu Jan 06 23:36:38 UTC 2022
Timestamp digest algorithm: SHA-256
Timestamp signature algorithm: SHA256withRSA, 2048-bit key

WARNING: The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled by the security property:
jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize < 1024, SHA1 denyAfter 2019-01-01, include jdk.disabled.namedCurves
D:\dev\monolith>java -version
openjdk version "11.0.20" 2023-07-18 LTS
OpenJDK Runtime Environment Zulu11.66+16-SA (build 11.0.20+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.66+16-SA (build 11.0.20+8-LTS, mixed mode)

Hey thank you for reaching out to me! We are working on this and will have
the package updated soon.
Narek Gevorgyan | Technology / Product Guy
Mobile: +1<PHONE_NUMBER>
LinkedIn https://www.linkedin.com/in/narekgev/
On Tue, May 7, 2024 at 2:57 PM pvanderknyff @.***>
wrote:

Hi, I'm from the connectivity team at Tableau. The signature for the
DocumentDB taco is indeed invalid. Looking at the jarsigner output, it's
not actually because the certs expired, but because it was signed using an
algorithm that newer versions of java do not deem secure and thus reject.
The taco will need to be re-signed with a stronger encryption, and then
checked against jarsigner -verify --certs --verbose --strict.
jarsigner outpu:
D:\dev\monolith>jarsigner -verify --strict --verbose --certs
C:\Users\pvanderknyff\Downloads\documentdbjdbc-1.4.4.taco
 558 Thu Jan 06 23:36:38 PST 2022 META-INF/MANIFEST.MF
 693 Thu Jan 06 23:36:38 PST 2022 META-INF/JAVASPEC.SF
9005 Thu Jan 06 23:36:38 PST 2022 META-INF/JAVASPEC.RSA
   0 Thu Jan 06 23:24:36 PST 2022 META-INF/

m ? 2809 Thu Jan 06 23:24:36 PST 2022 manifest.xml
m ? 6325 Thu Jan 06 23:24:08 PST 2022 connection-fields.xml
m ? 204 Thu Jan 06 23:24:08 PST 2022 connection-metadata.xml
m ? 1311 Thu Jan 06 23:24:08 PST 2022 connectionResolver.tdr
m ? 164 Thu Jan 06 23:24:08 PST 2022 connectionBuilder.js
m ? 2530 Thu Jan 06 23:24:08 PST 2022 connectionProperties.js
m ? 34538 Thu Jan 06 23:24:08 PST 2022 dialect.tdd
s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore
? = unsigned entry

Signed by "CN=Amazon.com Services LLC, O=Amazon.com Services LLC,
L=Seattle, ST=Washington, C=US"
Digest algorithm: SHA1 (disabled)
Signature algorithm: SHA1withRSA (disabled), 3072-bit key
Timestamped by "CN=DigiCert Timestamp 2021, O="DigiCert, Inc.", C=US"
on Thu Jan 06 23:36:38 UTC 2022
Timestamp digest algorithm: SHA-256
Timestamp signature algorithm: SHA256withRSA, 2048-bit key

WARNING: The jar will be treated as unsigned, because it is signed with a
weak algorithm that is now disabled by the security property:
jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize <
1024, SHA1 denyAfter 2019-01-01, include jdk.disabled.namedCurves
D:\dev\monolith>java -version
openjdk version "11.0.20" 2023-07-18 LTS
OpenJDK Runtime Environment Zulu11.66+16-SA (build 11.0.20+8-LTS)
OpenJDK 64-Bit Server VM Zulu11.66+16-SA (build 11.0.20+8-LTS, mixed mode)
—
Reply to this email directly, view it on GitHub
https://github.com/aws/amazon-documentdb-jdbc-driver/issues/564#issuecomment-2099381233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATJNT37DJVM6T57FGBGGLZBFE3RAVCNFSM6AAAAABDQVTHUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGM4DCMRTGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Highlight matches of filter expression

It would be great if the filter expression evaluated had an option to replace the label html with some other html when it matched. That way it could highlight the matches.
By default the filter expression looks for contained text, so it could just write a 'matched' text to override for display purposes to my great tree element -> my great tree element

while we are at it since its angular anyway, being able to add a compiled html string etc would be awesome too, that way it would be so much easier to add more advanced tooltips or more dynamic designs.

The filter is done using the ng-repeat filters. Can you refer me to such functionality with ng-repeat?

well you show the item using the directive tree-item which could get access to the currently set filter expression -> if such an expression where set it could call a predefined callback (main directive callback attribute for a function) . the function would then be responsible to take the item and return highlighted text.

Hi @matthiasg I was able to get this working using angular-ui highlight. Unfortunately, a quick search of that library shows that it's now deprecated? Anyway, if you manage to install it here's the code I used:

where tree.filter is your search query string. The end result looks something like this:


Tried to create authentication for admin of the blog using devise. Ru…

…n into an issue while migrating migration add_device_to_admin.rb Duplicate error of the columns email, password, etc. Branch can not be merged before the issue is resolved.

If issue is resolve, add
Admin.create email<EMAIL_ADDRESS>password: 'insecure-password'
source of the admin authentication tutorial:
http://rubyjunky.com/building-admin-from-the-rails-scaffold.html


[API] System allow register user with name, more than 20 characters

Reproducable: always
Steps to reproduce:

Click 'own-security-controller' drop-down page
Click '/ownSecurity/signUp' request
Click "Try out" button
Edit request {
"email": "string",
"name": "string",
"password": "string"
}

Enter valid email
Enter name that contains more than 20 characters
Enter valid password

Click 'Execute' button

Actual result:
The user was created. The user receives response 201 {
access-control-allow-credentials: true
}

Expected result:
The user is not created. The user receives response 400.
{
"name": "name",
"message": "User name must be from 1 to 20 characters"
}
User story #385
Test case https://jira.softserve.academy/browse/GC-540

Not fixed. It is still possible to create user with username with more than 20 characters via API call.


right click seems don't work

Steps to reproduce
Tell us about your environment:

Puppeteer version:0.12.0
Platform / OS version:mac os 10.12.6
URLs (if applicable):https://plantain-00.github.io/tree-component/demo/vue/index.html

What steps will reproduce the problem?
Please include code that reproduces the issue.

a.js

const puppeteer = require("puppeteer");

(async () => {
    const browser = await puppeteer.launch();
    const page = await browser.newPage();
    await page.emulate({ viewport: { width: 1440, height: 900 }, userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" });

    await page.goto(`https://plantain-00.github.io/tree-component/demo/vue/index.html`);

    await page.click(".contextmenu .tree-anchor-0-0", { button: "right" }); // right click a node at `contextmenu` part
    await page.waitFor(1000);
    await page.screenshot({ path: `a.png`, fullPage: true });

    browser.close();
})();

2.see the generated screenshot, if right click success, the custom contextmenu should appear
What is the expected result?
the custom contextmenu should appear in the screenshot
What happens instead?
the custom contextmenu didn't appear in the screenshot, seems the right click doesn't work

Might be relevant to #1082

The fullPage screenshot is actually what is causing you problems. You have a mouseleave listener on your element to remove the context menu. Taking a fullPage screenshot scrolls the viewport to the top of the page, which causes the mouse to be in a different position on screen, which causes the mouseleave event to fire and the context menu to be hidden.
You can take a regular screenshot, or always set your height to be the size of your content instead of 900.

@JoelEinbinder I don't understand how to solve this, can you please elaborate? I'm visiting a site that I didn't create (let's take google images for example) and I want to simply right click, and return a screenshot of the viewport with context menu. Is there a way to deal with it?

@a-y-u-s-h  I dont think this has to do with screenshot.
I have a similar problem and the Context menu after right click fails sometimes.


Xuefeng develop

Program Data load

you have some lint errors to fix

I am trying to fix it. It has format issues like following picture. I have correct number of space. If i modify it  as terminal said, i will have invalid Json.

It is valid right now. What is your suggestion?

Thanks,
Xuefeng

Did you mean to delete the "promote a CIO" program?

Yes its valid, but we want more than just validation, we want to match our coding style.
To summarize the errors your getting:

[ ] add export default to the first line just like all the other js files
[ ] replace all double quotes with single quotes (watch out for one apostrophe)
[ ] remove the quotes on the variable names since they dont contain spaces quotes are not necessary
[ ] add a semi colin as the last thing. (this isn't a requirement for the language, but it is in our coding standards)

got it! Thanks!

I fixed it.Still have one more error.

Unexpected toke

I dont know why..

It looks like you have the fancy (also known as curly) single quotes (like the ones Microsoft Word uses) instead of the normal straight quote character. Did you edit the file in word? or something?
http://practicaltypography.com/straight-and-curly-quotes.html

thanks, that is right! I still have issue like this

i checked line 16, nothing special

dont know why

You should look at the end of line 15.

Thanks!


It is almost possible to embed the dashboard views in a Django admin template

Hello again!  I've got the dashboard up and running on my site and it's working great.
One thing I'd like to do, if possible, is style the dashboard views so that they look like they're part of the admin site (since on my site, they are accessible only to staff, from the Django admin).  On a lark, I tried setting my django_sql_dashboard/base.html to the following:
{% extends "admin/base_site.html" %}
{% load static %}

{% block extrahead %}
<style>{% include "django_sql_dashboard/_css.html" %}</style>
{% endblock %}

This actually came really close to working!  I'm not sure if it was intentional on your part, but django-sql-dashboard's custom CSS melds with the admin site's CSS quite nicely:

There are two problems, though:

The template isn't being passed the context of AdminSite.each_context(), so a bunch of stuff that's usually shown in the header isn't being shown.  If there were a way to pass custom context to the dashboard views, it would be awesome.

The title displays twice, I feel like there should be an easy way around this, but the only thing I can think of right now is a horrible CSS hack:
h1 ~ h1 {
  display: none;
}

Anyways, I guess that means (1) is the only real blocker for me.  Looking at django-sql-dashboard's code, I can't see any easy way of injecting extra context into the dashboard views.  One possibility I can think of might be to add optional extra_context arguments to the views, which I'd be happy to submit a PR for.  Anyways, let me know if you have any thoughts!

Having this as a documented, supported way of using the tool makes a ton of sense to me. I like the pattern of wrapping the Django SQL Dashboard view with a custom view to add extra context - an extra_context= argument sounds like it could help there.
I don't understand why the title shows twice, but we should definitely find a fix for that!
PRs welcome for this.

Hey, I just noticed that you mentioned this over in https://github.com/simonw/django-sql-dashboard/issues/127#issuecomment-858756778:

I think the way to address this would be to switch over to more of a class-based-view approach to allow people to subclass the dashboard views and implement things like their own custom permissions.

While this issue isn't directly related to that one, I think that a good solution to this one might be the same kind of thing--moving the views over to more of a class-based-view approach that would allow these sorts of things to be easily customized. Anyways, just a random thought I figured I'd log here.


Include rsync in packages

When the building finishes, don't forget to update the image on the hub side @Soap2G :
https://github.com/vre-hub/vre/blob/main/infrastructure/cluster/flux/jhub/jhub-configmap-profiles.yaml#L24