Axios Handler

The component should have a easy way to access resources, previously in Gerenciagram we develop a tool called transfer, and improve this tool, and called it 'devourer' (this is a poor joke) let's back to named it transfer again!
To Do

[x] Make transfer a NPM package and link-it
[x] Make helper file an a NPM package and link-it
[ ] Change helper import to 'cbo317110'
[ ] Import Transfer from 'transfer'
[ ] Config receive a resources params, it is a array, and generate a promise that can be used in middleware, by default, data is stored in resources.drive or something like that

Working on it!

We provide a better way to interact with remote services!

Done!


multiplication_circuit bugfix

Carry bit of the most significant column of a row need to feed add to the most significant column of the next row.

Codecov Report

Merging #1077 (9953ec4) into main (dd10c45) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1077   +/-   ##
=======================================
  Coverage   92.89%   92.89%
=======================================
  Files          81       81
  Lines        7372     7374    +2
=======================================
+ Hits         6848     6850    +2
  Misses        524      524

Impacted Files
Coverage Δ

dimod/generators/gates.py
93.93% <100.00%> (+0.12%)
:arrow_up:

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 dd10c45...9953ec4. Read the comment docs.

Can you add a test? No good deed goes unpunished.
Also needs a release note.

Can you add a test? No good deed goes unpunished.

@arcondello The problem is that the bug only manifests for problems that are too large for the exact solver and and then it is pretty hit or miss on the QPU. Not sure how to make a good test for it

My recommendation would be to generate a big one then feed some correct and incorrect solutions in and test that the energy is what you expect.

Test and note added


top floater popup has top large space on iPad and Mac OS

I have a multi-platform app (iOS 16+ and mac OS 13+), and I'm using the top floater popup type like this:
popup(item: item) { _ in
            HStack {

                VStack {
                    Text(title)
                    Text(message)
                }

                Spacer()

                Image(systemName: "check")

            }
        } customize: {
            $0
                .type(.floater())
                .position(.top)
                .animation(.spring())
                .autohideIn(3)

        }

IT behaves correctly on iPhone only, but it has unwanted large space on macOS and iPad as shown in the attached video recording (from mac os) and image (from iPad):
https://github.com/exyte/PopupView/assets/1199045/4eadba67-9304-4b3c-9721-f96b82f8d33a

I know it's related to the navigation bar and i know there is a vertical padding parameter so we can adjust the padding manually, but it's going to be cumbersome to check and calculate vertical padding on every screen in a large app, instead I suggest to a new parameter to allow for the top floater popup to appear from top of the screen regardless if there is a navigation bar or toolbar on both iOS and macOS.

I turned out that the spacing problem is because I use a .frame modifier after the .popup modifier, moving that .frame before the .popup makes. the pop up toast appears exactly at the bottom of the navigation bar which looks good.


Failed assertion: line 1047 pos 12: 'a == null || b == null || a.inherit == b.inherit': is not true.

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

The Issue was with Custom Theme Date, removed Theme Data Parameters for now and no errors of now


Skip empty lines while parsing the JMH output

In 1.0, it is reported as format error.

Fixed in 1.0.5


Add Support for Publishing Separate Apps from Separate Modules

Today, this CodePipeline tool only allows a single Serverless Application Repository application to be published from a single code repository. This issue is to add support for publishing a separate application to SAR for each module within a given code repository, given that each module has its own SAR .yaml file. Additionally beneficial would be an optional module inclusion/exclusion list to only publish a subset of the modules which might have SAR .yaml files.

+1


Customizing extract directories?

Refer to #6
Since some people might need to create a collection in paths other than publicDir, I'd like to propose changing this to something like collectionRoot (of course, also make it backward compat) and adding an option excludeDir to take in regular expression so that the "crawler" can skip undesired paths.
Please lmk if you think this would be useful and I can submit a PR.

Ah right. That sounds useful to me. A PR would be great 🙏

Just published this in v0.3.0


Minor style-tweak @ CommandOutput.vue

destructuring is your friend :)
also, I find that ternary is more readable as
conditional
  ? ifTrue
  : ifFalse;

example:
this.processCmd = options.isCustom
  ? `npm run ${ script.name }`
  : script.command;

¯\_(ツ)_/¯ :D
I have no real opinion about that.

just a thought - didn't include it here


SPK should be able to remove services and rings

As a:
SPK User
I want:
To be able to remove rings and services via spk and pipelines
So that:
I don't have to manually remove them and worry about conflicts.
Describe the solution you'd like:

[ ] As a user, if I remove a ring, then the changes are reflected in: the associated bedrock.yaml, my hld repository, and the materialized repository.

for every service in my application reppository, every service to have the removed ring… removed
p-1: delete just the ring directory for every service
p-unicorn: delete the configuration for the ring at every level it is referenced in the HLD
idea: copy all config content into memory, mapped by path, blow away existing HLD, re-generate new HLD based on bedrock.yaml, emit config content in memory to config files at path.

¡idempotent!

[ ] As a user, if I remove a service from my mono-repository, then the service should be removed from the associated bedrock.yaml, my hld repository, and the materialized repository.

same operations as just removing a ring itself.

[ ] (low pri) As a user, if I remove an external dependency (ie. Kafka, MongoDB) from my mono-repository, then:

[ ] then the external dependency should be removed from the associated bedrock.yaml, my hld repository, and the materialized repository, if and only if, it is not also being utilized by any other mono-repository linked to the same HLD and Materialized repositories.

[ ] As a user, if I wish to delete a service repository or mono-repository, how would this be reflected in the downstream (HLD, ultimately flux) repositories?

possibly low-pri

Acceptance Criteria:
If i have multiple bedrock application repositories (or even many mono-repositories) removing a shared referenced dependency from one, should not impact other repositories.
Describe alternatives you've considered:
Running spk hld reconcile locally/manually or through automation pipelines.
Additional context:
Previous work to add rings and services https://github.com/microsoft/bedrock/issues/717
Does this require updates to documentation?:
Yes!

Describe the solution you'd like:

[ ]  As a user, if I remove a ring from a service, then the changes are reflected in: the associated bedrock.yaml, my hld repository, and the materialized repository.

[ ]  As a user, if I remove a service from my mono-repository, then the service should be removed from the associated bedrock.yaml, my hld repository, and the materialized repository.

[ ]  As a user, if I remove an external dependency (ie. Kafka, MongoDB) from my mono-repository, then:

[ ]  then the external dependency should be removed from the associated bedrock.yaml, my hld repository, and the materialized repository, if and only if, it is not also being utilized by any other mono-repository linked to the same HLD and Materialized repositories.

[ ]  As a user, if I wish to delete a service repository or mono-repository, how would this be reflected in the downstream repositories?

@evanlouie @bnookala @mtarng do we have sub tasks that correspond to these?

@andrebriggs Don't believe subtasks have been written yet. I think it would probably be best to wait for @bnookala and @mtarng to return to go through more thoroughly.

@bnookala @mtarng let's create a separate task for documenting how the user would use this and start that first


feat(react): add more charts for analytics, fix some labels

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

@gabe-lyons : can you review?


Adding Indonesian language

Hello.
Looks alright to me. The Indonesian.json file name will put Indonesian as the language name though, and the rule so far was to name each file with the language name, spoken in that same language. I don't know how would "Indonesian (language)" be in Indonesian. Google says "bahasa Indonesia", but that looks kinda weird as both, a file name, and a language name.
Is there a single word to describe the Indonesian language in Indonesian?

As far as I know and I live, there is only "Bahasa Indonesia" to describe the Indonesian language in Indonesia, but you can use "Bahasa" as many people are more familiar with it, although it may confuse some people, because "Bahasa" is "Language" in English.

Eh. Let's leave it at the current name then.

Thank you for your contribution :slightly_smiling_face:


Redeclared shema names as constants instead of static readonly fields

Related to #1490

@pushist1y,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


FIX: Ensure version installed in Docker file is clean

Changes proposed in this pull request
The last build generated a bad version number in the docker file:
$ docker run --rm -it nipreps/fmriprep:22.1.0 --version
fMRIPrep v22.1.0+0.gce344b39.dirty

Building locally, it doesn't seem to have an issue, so it seems to be a CircleCI problem. I've resolved what I think was causing the dirty repository and also added a safeguard that should ensure future CI issues don't affect version determination.

Build passing. Skipping tests.


[HELP] Local registry cannot be refered to by name outside of k3d cluster

What did you do

How was the cluster created?

k3d cluster create mycluster --registry-create mycluster-registry

What did you do afterwards?

docker ps -f name=mycluster-registry
docker pull alpine:latest
docker tag alpine:latest mycluster-registry:12345/testimage:local
docker push mycluster-registry:12345/testimage:local
> Get https://mycluster-registry:12345/v2/: dial tcp: lookup mycluster-registry on <IP_ADDRESS>:53: no such host
docker tag alpine:latest localhost:12345/testimage:local
docker push localhost:12345/testimage:local
kubectl run --image localhost:12345/testimage:local testimage --command -- tail -f /dev/null
kubectl get pod
> testimage   0/1     ErrImagePull   0          2s
kubectl delete pod testimage
kubectl run --image mycluster-registry:12345/testimage:local testimage --command -- tail -f /dev/null
kubectl get pod
> testimage   1/1     Running   0          3s

What did you expect to happen
I expected to be able to tag the image with the registry name, but instead had to use localhost
Screenshots or terminal output
docker push mycluster-registry:12345/testimage:local
> Get https://mycluster-registry:12345/v2/: dial tcp: lookup mycluster-registry on <IP_ADDRESS>:53: no such host

Which OS & Architecture
Linux DaringLion 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Which version of k3d
k3d version v5.1.0
k3s version v1.21.5-k3s2 (default)

Which version of docker
docker version
Client:
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.13.8
 Git commit:        20.10.7-0ubuntu5~20.04.2
 Built:             Mon Nov  1 00:34:17 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.8
  Git commit:       20.10.7-0ubuntu5~20.04.2
  Built:            Fri Oct 22 00:45:53 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.5.5-0ubuntu3~20.04.1
  GitCommit:
 runc:
  Version:          1.0.1-0ubuntu2~20.04.1
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:

docker info
Client:
 Context:    default
 Debug Mode: false

Server:
 Containers: 15
  Running: 7
  Paused: 0
  Stopped: 8
 Images: 942
 Server Version: 20.10.7
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version:
 runc version:
 init version:
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.4.0-90-generic
 Operating System: Ubuntu 20.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 62.67GiB
 Name: DaringLion
 ID: N2MD:XACX:AT4A:ADPS:PHN6:6CUS:YR6H:VOWC:SN6M:YZT4:U6EW:X6AP
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: nwithers
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>/8
 Live Restore Enabled: false

I have same issue, thanks your report :)

Hi @nwithers-ecr , thanks for opening this issue!
This is explained in the docs over here: https://k3d.io/v5.1.0/usage/registries/#preface-referencing-local-registries
If you have any other issue with it, feel free to reopen :+1:

@iwilltry42 thanks for pointing that out. I knew I must have missed something. After updating /etc/hosts it worked correctly.


Move JSpecify tests to correct package

Somehow they ended up in the tools sub-package by accident

Pull Request Test Coverage Report for Build #816

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 91.959%

Files with Coverage Reduction
New Missed Lines
%

../nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPath.java
7
92.44%

Totals

Change from base Build #815:
-0.1%

Covered Lines:
4769

Relevant Lines:
5186

💛  - Coveralls

No idea why Coveralls thinks test coverage is reduced 😐In any case I confirmed locally that the relevant tests still run.

No idea why Coveralls thinks test coverage is reduced 😐In any case I confirmed locally that the relevant tests still run.

I think it's a change in the denominator, not the numerator, resulting from removing 1 (covered) line of code...
There really should be a way to configure Coveralls to only block if: a) overall coverage goes below some threshold like 90% or b) it decreases by at least 0.5 or 1%, rather than 0.1%...


[Java] Adding Spotless to BOM module

Describe the enhancement requested
The main issue discussing the inclusion of Spotless plugin is discussed here.
Component(s)
Java

There's no code for this one and pom.xml has already being taken care of, so this one may be closed I guess?

Yeah let's do that. Initially this was also left with pom work. But we had a separate PR for that.


move node-xmpp-component here

integration tests are disabled for now
I will re-enable them along with node-xmpp-client integration tests

Changes Unknown when pulling 000815687dff13b9b32f414cfb45328a734a1ad8 on monorepo-component into ** on master**.


Remainder operator, not modulus operator

See also https://nl.mathworks.com/matlabcentral/answers/221157-diffrence-between-rem-and-mod#comment_288807 for the differences.

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

ID: 820b2a22-568b-126c-6149-467830f6c46e
Version Independent ID: 54045e28-8f44-b985-3d18-8a65ce5b15b7
Content
Content Source
Service: unspecified

Updating references to modulus


Accept requests in lan

Currently the web server can only be accessed in the same machine, I want to support accessing from lan without netcat and other tools. Any ideas about it?

The Webservee can be used putside the lan, you just need to specify the bind address with the variable:
export BIND_ADDRESS=<IP_ADDRESS> and then start the script

Exactly, Thanks!


NavigationView

One of WinUI's most important (and most complex) components is NavigationView, which provides the base layout for most apps. NavigationView provides the base layout for most apps with either a sidebar or navigation strip.

I think that it's probably best to split this into two components, considering how different they are. Also not sure about the viability of topnav's overflow menu with traditional slots. We'll see.

How much customization will be available? Would it work for navigating pages as well?

How much customization will be available? Would it work for navigating pages as well?

I think that this will ideally just be for layout. I'll leave the navigation up to a routing library of the user's choice, since things start to get very complicated and unwieldy at that point.


Infinite monomorphizations are possible, need recursion limit

proc main() {
let x = foo$bool();
}
proc foo$T() {
foo$proc(bool)();
}

Closed by 4a39f927159c54616fa3bb1a47f4fa4182f04aef


DamageEntityEvent Checklist

[x] Throw DamageEntityEvents for all damage calls
[x] Write Armor modification function implementation for both forge and vanilla
[x] Associated DamageSources with "associated" objects in a Cause
[ ] Associated weapons for "Attack" causes
[x] Associated Entity owners with EntityDamageSources
[x] Test with Thaumcraft
[ ] Write Attack modifiers
[x] Test Absorption modifier and handling

Anything else I'm missing?

Need to fire event for non-living entities, https://forums.spongepowered.org/t/no-destroying-item-frame/10093/7?u=simon816

In my opinion, there should be DamageEntityEvent.Living and DamageEntityEvent.NonLiving, or some other distinction other than the Cause.


Spanish Patient Part 1

I rule and have completed some work on Case Manager that's ready for review!
Working through the views in #1571
This pull request makes the following changes:

Base labels & strings translated
Helper text
Dropdowns

It relates to the following issue #s:

Fixes #1571
Bumps #1382

@montanezp for review! I'd appreciate an extra level dose of skepticism on my translations here. I'm suspicious of some of Google's offers, and this is a pretty critical view! Don't hold back :muscle:
Still a bit more to come, but feel free to dig in!

@colinxfleming the only thing missing now are how to handle dropdown options added via Config.
In some cases these are untranslatable, as we'll never know what fields folks are entering. But I'm pondering if there's a way to handle obvious ones (i.e. 'Spanish' for a language option). Or am I now entering over-engineering?
Thoughts?

Much :green_heart: for calling out my bad key name habits! I'll make them clearer :)

@montanezp @colinxfleming Here are a couple shots of the Config fields. I'm thinking the easiest technical fix is to update the Config creation process to enter those values bilingually.

(ignore the line down the center, it's just two screenshots lined up)

@lomky apologies for hoping on this late, i know you've already merged but it also looks great from my end! Just also flagging about translating the sidebar text as well ("Patient Information," "Abortion Information," ... "Cancel Pledge") -- is that covered in a different ticket?


add auditing mechanism implementation

The meat of it is in the commit add basic auditing mechanism. This just extends the cip binary so that it can be run inside Cloud Run as an HTTP server.
In the spirit of time I am just putting this up now so that it can gather some review comments. I still need to create a test framework to test changes to this auditing mechanism. That test will involve creating images in a fake prod GCR, then mutating those images, then catching the Pub/Sub messages of those mutation events with the auditor, and making sure that we get certain logs (with the idea that particular log events will be monitored as a log-based metric in GCP stackdriver).
/hold for any discussions
/cc @justinsb @thockin @bartsmykla

This is part of https://github.com/kubernetes/k8s.io/issues/394

I've tested this with Error Reporting and it works with local testing. Here's what I've done (all with my own GCP project for testing purposes):

started a Cloud Run application of the promoter, using the new -audit flag
pushed a new image in a GCR that was being audited that was not accounted for in promoter manifests (this created an error on Stackdriver Error Reporting)
pushed a new image that was accounted for in the manifests (this GCR "transaction" was logged as verified)
deleted an image (this created an error as well, because we treat all deletions as errors)

To summarize this new feature, the "auditor" that this feature introduces works as follows:

cloning a Git repo that holds promoter manifests
accepts HTTP reqs that contain a particular "GCR transaction payload" (the HTTP request is created by Cloud Run, which in turn transforms GCR Pub/Sub messages into these HTTP reqs)
upon each request, the auditor compares it with the Git repo holding the promoter manifests (it updates the Git repo on each request)
if it passes muster, nothing happens (we log "TRANSACTION VERIFIED...")
if it does not pass muster, we report it to Stackdriver Error Reporting, and a new error gets created and an email gets sent to the GCP project owner

I am not completely sure if the email that gets sent to the GCP project owner is configurable, but that is the observed behavior I have seen.
We can go back to the original idea of creating log-based metrics and alerting on the rise of those metrics, but I find the Error Reporting UI easier to grok for our use case.
PTAL

/lgtm

I will create new PRs for the code review fixups.
/hold cancel
Regarding notifications, looks like Stackdriver Error Reporting (which is what this PR is using) page has some info about Slack integration: https://cloud.google.com/error-reporting/docs/notifications
There is also a Cloud Console mobile app...!!


Change Request: Don't set languageOptions.sourceType (for ESLint 9)

eslint-plugin-n version
17.10.2
What problem do you want to solve?
https://eslint-online-playground.netlify.app/#eNpVjjsOwjAQRK9ibZMGzKfh13ILlsKy15HBXltxQJGi3J04SUHanfd2pofc6B11KiRPMrwyXMGFFJtW2CxsE4OobK5gA5S941bqyNbVa5KjoZnFBdsm/6kdbxnhhoxM3QQasurjW/FAFpO1vMuPynrV7hrSMQRiQ6Z6Ij9Hd2xOSr9VTfKVI4+lfZERDH3vlArL2lFGuIopKdk8opwQLvIs9wibdfY3sECHkzzs5RGhUAPyAMMPStleUQ==
☝ gives

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

even though the file is using .mjs extension. After some digging I found the problem is this plugin's config which enforces languageOptions.sourceType: 'commonjs' for all files. ESLint 9 already sets the sourceType correctly based on type field in package.json and file extensions (.js/.cjs/.mjs), so there's no need for this plugin to configure this.
What do you think is the correct solution?
Don't set sourceType in language options and let ESLint handle this instead... see this playground where I removed the field from the config object and then it works fine.
https://eslint-online-playground.netlify.app/#eNpdkDFPAzEMhf9K5OWWNm1ZgCLEwo6E2GqGKHFOKYkTXXKoqLr/ziVXCdrV73vPfj5DHvSGTiokTzIcM+zBhRSHImwWdohBdDZ3sALK3nGROrJ1/TXJ0dDC4gVbJz/2jteM8ISMPLvywr2TjiEQGzLiuU0ukfnQWa/KZvgDus9mNuSp0K1besX9qHp6S8XN8S8yx3HQ9PGTqNno1I4zZNXoizggi9sM5LphLpeU/pqj5DFHnnudK4tg6PuVUiVZO8oIe9GUqi096wjhUT7ILcLqWvv3gwrt7uVuK+8QKjUhTzD9AiiihF8=
Participation

[X] I am willing to submit a pull request for this change.

Additional comments
Not sure if it's the same for ESLint 8.

I think I agree here.

Maybe its worth making the flat/mixed-esm-and-cjs config the recommended one :thinking:
playground example

Thoughts @aladdin-add and @voxpelli?
This is also possibly related to #300

Yeah, I think #300 should be the suggested default

I'm running something similar to #300 in my own projects: https://github.com/voxpelli/eslint-config/blob/9eb2261fd1e0b91bea570bd83811911cf23849f6/base-configs/node.js#L12

Just tried
import node from 'eslint-plugin-n'

const nodeRecommended = node.configs['flat/mixed-esm-and-cjs']

nodeRecommended.forEach(config => delete config.languageOptions?.sourceType)

export default [
 ...nodeRecommended,
 // more stuff
]

and that works fine for me (.js files based on type field in package.json, and .cjs/.mjs fixed to CommonJS/ESM respectively).
So I'm also for making mixed-esm-and-cjs the actual recommended config.
I'd also drop the languageOptions.sourceType config, however I'm not sure if ESLint 8 also sets that correctly already.

import node from 'eslint-plugin-n'

const nodeRecommended = node.configs['flat/mixed-esm-and-cjs']

nodeRecommended.forEach(config => delete config.languageOptions?.sourceType)

export default [
 ...nodeRecommended,
 // more stuff
]

What would be the equivalent workaround for pure ESM projects (not mixed)?

for pure esm projects (with pkg.type = "module"), just use recommneded (and it's just the same as recommended-module):
import node from 'eslint-plugin-n'

export default [
 node.configs['flat/recommended']
]

for pure esm projects (with pkg.type = "module"), just use recommneded (and it's just the same as recommended-module):
import node from 'eslint-plugin-n'

export default [
 node.configs['flat/recommended']
]

ohh so that's what the script suffix meant there... thanks!
Perhaps consider clarifying the docs a bit

sure, PRs are always welcome! 😄

sure, PRs are always welcome! 😄

Forgive me but I barely know what I'm doing here (not a JS dev to say the least).
Took me a while to even get this config working, can't say I understand the difference between your syntax, the docs syntax, and the syntax which finally worked for me:
import pluginN from 'eslint-plugin-n';

export default [
  {
    files: ['**/*.js'],
    languageOptions: {
      globals: globals.node,
      sourceType: 'module',
    },
    plugins: {
      n: pluginN,
    },
    rules: {
      ...pluginN.configs['flat/recommended'].rules,
    },
  },
];


Noticed again the dots on left side of filled textfield

This bug are solved before, but idk why it revived again. I'm planning to redesign filled textfield again to fix this issue permanently.

I pushed an commit to dev-branch. A long-time test is required for this widget.

Appear again after 13 days out


Swagger redirects to the wrong place

Going to prod-java-api.prod.amidostacks.com/api/menu/swagger/index.html redirects to http://prod-java-api.prod.amidostacks.com/swagger/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
Possibly something needs to change in the Swagger config

Swagger is still redirecting but now the UI at least shows. Fixed by #48


Add ability to read application secret from project .ENV file

We have been getting complaints about the portability of the add-in projects to other environments because we currenrtly rely on the application secret being stored locally on the same machine the add-in is running on.
By being able to add the secret to the .ENV users can port the project over to other environments

Closing this PR but keeping this branch alive until we get a better idea of what our approach should be here for handing the secret


Require vlc-bin rather than the main package.

Requiring these two vlc packages instead of the main vlc one means installing something like 185mb less on the current raspbian picroft, and they seem to provide everything necessary to use vlc through the mycroft VlcService.

Awesome! Thanks for the fix!


Cant't build on Xcode 8.3.1

Hi, Sir
i'm getting this error --> Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
Thank you.

This looks like a problem with how you're importing the framework. It looks like you're somehow trying to compile the Swift package manager files for the Linux camera code. Something with how you've added this to your application is broken.
The framework builds just fine under Xcode 8.3.


fix cwd problems in webpack

Codecov Report

Merging #558 (893e132) into main (b623d89) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 893e132 differs from pull request most recent head 3502efa. Consider uploading reports for the commit 3502efa to get more accurate results

@@           Coverage Diff           @@
##             main     #558   +/-   ##
=======================================
  Coverage   81.71%   81.71%
=======================================
  Files          31       31
  Lines         760      760
  Branches      139      139
=======================================
  Hits          621      621
  Partials      139      139

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 b623d89...3502efa. Read the comment docs.


Android 10: export and import not working

Android 10 does not allow to export / import.
Thanks Marek for reporting it.

Got it: since Android 10 access to external storage is limited.
Needed to activate: android:requestLegacyExternalStorage="true.


[BUG] Dark mode background color on iOS

The background color is white in dark mode on iOS. But on Android device, it's black.
Can I set dark mode background color as black on iOS devices?

I have view the issue https://github.com/pichillilorenzo/flutter_inappwebview/issues/695.
Would you please provide a new version?

Hi, what was your solution for this issue? It would be helpful in case I need to add a fix into the package for this.


dbt version 0.17.2 -  dbt found two macros with the name "test_unique" in the namespace "dbt"

Getting below issue:
c:\DV_Demo>dbt test
Running with dbt=0.17.2
* Deprecation Warning: dbt v0.17.0 introduces a new config format for the
dbt_project.yml file. Support for the existing version 1 format will be removed
in a future release of dbt. The following packages are currently configured with
config version 1:
 - dbt_sqlserver

For upgrading instructions, consult the documentation:
  https://docs.getdbt.com/docs/guides/migration-guide/upgrading-to-0-17-0
Encountered an error:
Compilation Error
  dbt found two macros with the name "test_unique" in the namespace "dbt". Since these macros have the same name and exist in the same namespace, dbt will be unable to decide which to call. To fix this, change the name of one of these macros:
  - macro.dbt_sqlserver.test_unique (macros\schema_tests.sql)
  - macro.dbt_sqlserver.test_unique (macros\schema_tests.sql)

Version check:
c:\DV_Demo>dbt --version
installed version: 0.17.2
   latest version: 0.17.2

Up to date!

Plugins:
  - postgres: 0.17.2
  - redshift: 0.17.2
  - snowflake: 0.17.2

Was working with 0.15.2 after --upgrade dbt getting this issue.

known issue check out. #16. we're waiting for 0.18.0 to be released

Yes as @swanderz says, 0.16 and higher are not supported.


ChartDataset type problem

Expected behaviour
Non typescript error
Actual behaviour
I am using chart.js 3.5.0 version and typescript 4.3.5. I want to generate line chart but I have problem with ChartDataset type.
Piece of code that I am using:
const data: ChartDataset[] = getMockedData().map((d) => {
        return {
            label: d.username,
            backgroundColor: d.color,
            borderColor: d.color,
            data: d.data,
            fill: false
        };
    });

Type of d.data is { date: Date, points: number}[]

And I am getting this error:

Why data property has to have type (number | ScatterDataPoint | BubbleDataPoint | null)[] and cannot be Object[] like for instance here: https://www.chartjs.org/docs/master/general/data-structures.html#object-using-custom-properties? Or maybe I am doing something wrong?
When I ignore ts everything seems to work as expected.
Sorry if there was similiar issue but I couldn't find it.
Only issue related to ChartDataset type that I found is #8698
Environment

Chart.js version: 3.5.0

To work with custom data formats you'll need to override some of the data types on ChartDataset.  https://github.com/chartjs/Chart.js/blob/master/types/index.esm.d.ts#L3470-L3473
I think you would want something like this
import { ChartDataset, ChartType } from 'chart.js';

type CustomChartData = {
  date: Date;
  points: number;
};

const data: ChartDataset<ChartType, CustomChartData>[] = ...

Yes, it works. Thank you very much.


[FR] tab and enter to go to the next cell

Add events to every cell with tab and enter button so it will move to the next cell

Tried without result use tab index and onFocus event with every cell, but seems not enough. I will try in the future again

Finally working on this one
https://user-images.githubusercontent.com/11924043/210116438-e6733271-faae-436b-9456-6644d79de552.mov

Also arrow control added =)
Commit 075ba07b ready for the next version

Thanks for adding this, it is very useful to go quickly and without a mouse.
1 - The cursors work well, but the TAB key when pressed does not change from one cell to another directly, you have to hit it twice.
2 - Would it be possible for the cell to remain active when you press enter? So you could continue editing without having to press TAB or click the mouse first.

We will iterate over this feature sure :) Its just the first version.
We just need more feedback to know what window of improvement it has

I think switch cell easily is important to a table tool.
By the way, I found a problem about use tab switch cell: the window slide speed is out of sync with cell's position


meta-overc: reorder the network device list

If more than 2 physical network interfaces were
assigned to a container, such as "eth0", "eth1"
and "eth2", and when this container stop, these
three network interfaces would return to essential
system with interfaces named changed to "eth1", "eth2"
and "dev5".
If the order of the interfaces were reverted to assinged
to container, when the container stop and reture those
interfaces to essential system the kernel would not
change those interfaces name.
Signed-off-by: fli<EMAIL_ADDRESS>

This still has review comments, and the first commit "merge pull request #1 .." isn't what we want in our pull requests. Closing this pull request so the review can continue and this can be rebased onto master.


TField issues

If a TField is active in the constructor of the window (either by being the last widget created or by explicitly activated by activate(field)) there is will some trailing irregularities (second field in the picture).

If the content exceeds the space on the screen it is scrolled to the left. When deleting characters it is not scrolled to the right again. Causing only a single character to be visible.

Thanks for reporting this.  I'll look into it.

Just noticed that (1) doesn't happen when the window is modal.
And a third point ;-)  3. When there is an initial string for the TField, the cursor is at the first character, while I personally would like it to be at the end.

And a fourth one. The updateAction is fired on backspace, but not on delete.

Keep them coming! :)  Thanks!

This should make life a bit better.  On the issues:

The cursor was drawing outside the window.  This is now fixed in TWidget.

Changed the behavior to use as much of the viewable area as possible.

Haven't touched it yet.  You can initially get it by doing "field.onKeypress(new TKeypress(kbHome));" but I should really just put home(), end(), and setPosition() functions in the API.

Should be fixed now.

I'll keep this one open and attack 3) later on.


Added Temperature converter

closes #316
Added Temperature converter that can convert Celsius to Kelvin and Fahrenheit and vice-versa.

Hi @DhanushNehru could you please guide me on how to update the main readme, as before merging I don't have GitHub repository link for temperature converter.

Hi @selemondev, please review this PR.

Thank you @selemondev. 😄


]

Current dependencies on/for this PR:

main

PR #22   👈

This stack of pull requests is managed by Graphite.


Update Composer dependencies (2021-03-05-00-10)

Visual regression test passed!
View the visual regression test report


okr(): add support to oidc configuration for staging-testnet

As discussed with @annipi and lucio.  I'm closing this PR and I'll reopen it against the base redesign branch.


Please update README to indicate Firestore release/support level

cc/ @lukesneeringer

@danoscarmike Could you give an example of what you'd like to see from the README of a different package?

Or are you referring to the README for the entire project?

Hi @dhermes, yes, referring to the project README


How did you calculate the training accuracy?

The accuracy value appears in the training log file, but I want to know how this is calculated.
How is the accuracy calculated?
May I know the formula?
It's on the train, but why isn't it on the test?
Please let me know how accurate it is.

You can refer to https://github.com/open-mmlab/mmdetection/blob/3280d43b813eb1cc7f77f270114a33de5a92fba9/mmdet/models/roi_heads/bbox_heads/bbox_head.py#L277.
Usually, we calculate the classification accuracy of positive samples.

Feel free to reopen the issue if there is any question

Thank you,  but I had more questions, so I asked again.
SO, acc in training log file is only for classification, not segmentation?
If it also includes segmentation, please let me know the calculation formula such as 'precision=TP/(TP+FP)'.

SO, acc in training log file is only for classification, not segmentation?
yes
If it also includes segmentation, please let me know the calculation formula such as 'precision=TP/(TP+FP)'.
Would you mind giving more details, I can not get what you mean

SO, acc in training log file is only for classification, not segmentation?
yes
If it also includes segmentation, please let me know the calculation formula such as 'precision=TP/(TP+FP)'.

Would you mind giving more details, I can not get what you mean

I am sorry that my English is not good.
First, is the training accuracy only for classification, not for DETECTION or SEGMENTATION?

SO, acc in training log file is only for classification, not segmentation?
yes
If it also includes segmentation, please let me know the calculation formula such as 'precision=TP/(TP+FP)'.

Would you mind giving more details, I can not get what you mean

I am sorry that my English is not good.
First, is the training accuracy only for classification, not for DETECTION and SEGMENTATION?

Sorry for the late response, sure, it is a little difficult to define the accuracy of the training phase in Detection and Segmentation

Feel free to reopen the issue if there is any question


[requires.io] dependency update on master branch

Coverage remained the same at 75.063% when pulling c5d75f9675a31fcf0a10eb90877234172653dca4 on requires-io-master into 37ab36e75d3b6c85e9ce2cbf4a1aef545d8a9386 on master.


[CLIPPER-231] RPC container content fix

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/480/
Test PASSed.


Scrape cases by ethnicity

Scrape the "Total cases by ethnicity" table here: https://www.health.govt.nz/our-work/diseases-and-conditions/covid-19-novel-coronavirus/covid-19-current-situation/covid-19-current-cases

Won't fix - retiring project. Please feel free to fork this repo to continue development.


[bug] this loop is dangerous - can break user's preferred boot capabilities

this loop is dangerous - can break user's preferred boot capabilities:
https://github.com/AsahiLinux/asahi-installer/blob/5f0814ba90d2814081c2e9ed516675dd75ab3c6e/tools/wipe-linux.sh#L34
of note

if the user has configured bootable alternate storage media which is referenced in the iSCPreboot, and
the bootable alternate storage media is not present or powered on at the time this loop is executed, then
this loop will remove the volumes on that alternate storage media from the iSCPreboot

Most likely use cases

Apple Silicon MacPro with an internal PCIe NVME storage card
any Apple Silicon Mac[Book|Studio|Mini] with an externally attached storage device

[[ work in progress]]
Ideally, each install would drop a manifest of disk changes into its boot APFS partition, and that manifest would whitelist everything to be removed, subject to simpler sanity checks for correctness of the manifest.  Only then remove items from the iSCPreboot which have been whitelisted by the verified manifest .

would be completely moot and fixable if we adopt #295

This tool is not intended to be used by end users. We know it's dangerous and it says it right at the top.


Release version 4.0.0 (drops support for Ruby < 3.2)

It is ok to drop 3.0, but I would postpone Ruby 3.1 to after the EOL it would be better for me, unless there is a major

Ruby 3.1
status: security maintenance
release date: 2021-12-25
normal maintenance until: 2024-04-01
EOL: 2025-03-31 (expected)

https://www.ruby-lang.org/en/downloads/branches/

Thanks!

It is ok to drop 3.0, but I would postpone Ruby 3.1 to after the EOL it would be better for me

I've changed the minimum Ruby version to version 3.1.


Make time.sleep async

Related Problem
Currently, all sleep are synchronous, it'd be better to change it to async code.
Feature Description
Change all synchronous time.sleep to await asyncio.sleep.

But there are something we need to consider bro it will be a coroutine i will be good to do a seperate asynchronous branch and is being planned in upcoming updates

Sure thing 👍🏼

You can check this https://github.com/SigireddyBalasai/AsyncPywhatKit
Bye


ARTEMIS-4205 Database Primitive Manager

Using locking capabilities of the database, implement the a primitive manager to allow quorum voting to occur. This implementation has support for Oracle, MSSQL and Postgres -- with H2 being used for unit tests.
The locking features used are not locks against a tables, but instead the idea of an arbitrarily named "application" lock.  There is no SQL standard for this behavior and each database implementation is different. I have accounted for this by creating the concept of a database adapter -- i.e. adapting the primitive manager to work for the particular database. I have attempted to reduce duplication by declaring a BaseDatabaseAdapter which I think should work generally for all databases.
Additionally, I introduced the concept of a DatabaseConnectionProvider.  This was done for any users that are utilizing Artemis as an embedded feature or that otherwise need to declare their own mechanism for getting credentials.  For instance, they may very well want to utilize some encryption for storing a database password in the configuration.  The DefaultDatabaseConnectionProvider just gets url, username and password from the properties.  It is likely that this implementation is enough for most uses, but we may want to see if we can make it optional to store the password encrypted.  I am wondering if there is stuff already in existence for this kind of thing?
I tried to follow the same locking approach in the zookeeper curator implementation to keep the threading/calling equivalently safe, but review of this is welcome.
In the end it was only necessary to create a database record when storing a mutable long value.  These records are held in an ARTEMIS_LOCKS table.  A lock that doesn't use and store a long value can come and go without any lasting signature in the database signature. The default value for a lock is 0 and doesn't require a record in the database until the long value is updated.  The longs must be stored in the database for a different node to be able to acquire a lock and have the same long value present there, of course.
I would welcome logical review of my approach to maintenance and cleanup by someone more familiar with all aspects of using these locks:
I store a "LAST_ACCESS" value with each of those LONG_VALUE records.  Periodically I enumerate the records that have LAST_ACCESS over two hours ago, then grab the lock.  The assumption is this: if the maintenance system can grab the lock and it hasn't been accessed in over two hours, it is probably defunct and should be cleaned up.
I didn't know what exactly was culture regarding the database drivers.  Oracle and MSSQL drivers are both proprietary and Postgres is open source.  Ultimately in order for anyone to use this feature, they need to provide the right driver for the database they are using.  But to make the code implementation testable via unit tests, I used the open source H2 database and  wrote a little piece that extended the database to add locking functions similar to Oracle, MSSQL and Postgres.  I include instructions in the comments at the top of the DatabaseDistributedLockTest on how someone can setup to run the unit tests in Oracle, MSSQL or Postgres modes.  I am ultimately leaving this running as much of the code as possible via unit tests, but inherently to run all of it would require 3 database servers with logins.
My rationale for creating this feature is that I believe if someone is using the broker in an application environment where there is a database already present, it would be nice for them to be able to simply use that database and not have to have yet another piece of infrastructure to provide for the quorum based ha replication that Artemis supports.  And I also think that it should be possible to do this kind of thing with just 2 broker nodes without requiring a shared file system -- if someone wanted this.

closing to open a new squashed commit PR


onPageNav not showing on Safari

Environment
1.0.15
Steps to Reproduce
(Write your steps here:)

open Safari (in my case 11.1)
go to https://docusaurus.io/docs/en/site-creation.html

Expected Behavior
you should see the onPageNav on the right
Actual Behavior
there is no onPageNav on the right
Reproducible Demo
https://docusaurus.io/docs/en/site-creation.html
it works on Chrome and Firefox

I found a solution:
main.css, line 1442
it should be:
@supports ((position: -webkit-sticky) or (position: sticky))

Feel free to submit a PR ☺


fix: add a gasPrice to the example transfer

This should fix #55
[Closes #55]

Codecov Report

Merging #101 (adc1236) into master (e980d1c) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head adc1236 differs from pull request most recent head a9c2c07. Consider uploading reports for the commit a9c2c07 to get more accurate results

@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   38.82%   38.82%
=======================================
  Files          41       41
  Lines        1092     1092
  Branches      148      148
=======================================
  Hits          424      424
  Misses        531      531
  Partials      137      137

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 e980d1c...a9c2c07. Read the comment docs.


使用 bluebird 来覆盖原始的 Promise

rewrite promise, bluebird is more faster

//rewrite promise, bluebird is more faster
require('babel-runtime/core-js/promise').default = require('bluebird');
global.Promise = require('bluebird');


warn users if the existing content in recordedit will be gone

Before navigating away from recordedit, it should alert users and ask whether they want to continue.

I am putting this in the wishlist and close this issue for now.


Get product list only for authorised users

Please assign me this issue.

Please assign me this issue.

Okay.


Binary output probabilities counterintuitive (0.0-0.5 false, 0.5-1.0 true)

During inference\prediction, using ludwig's API, I'm seeing that the binary output probabilities is actually a rough transposition of the binary value itself, being that anything true will have a probability > 0.5, whilist anything false will be < 0.5, thus having to postprocess in my own code a "classic" confidence value that will be 0.0-1.0 in each case
if binary_output_value: # (or if raw_output_probability >= 0.5)
binary_output_probability = (raw_output_probability - 0.5) * 2
else:
binary_output_probability = (0.5 - raw_output_probability ) * 2
Is my interpretation correct? Is this by design?

The output probabilities produced by a binary classifier are the probabilities of the positive class, as the probabilties of the negative class are always 1- p(pos). Does this clarify the issue?

Oh well yes and no. If you consider p and 1-p they'll never get above 0.5
Naively I expected a result comparable to a classifier, where each possible result (true or false) had its own probability ranging from 0% to 100%.
Thanks

Oh well yes and no. If you consider p and 1-p they'll never get above 0.5
Naively I expected a result comparable to a classifier, where each possible result (true or false) had its own probability ranging from 0% to 100%.
Thanks

Probably I was not clear. There are two classes, pos and neg. the reported probability is the confidence if the classifier in pos, because being there only two classes and because probabilities sum up to one, the probability of neg is 1-p(pos). If you sum the probability of pos (p(pos)) and the probability of neg (1-p(pos)) you get p(pos)+1-p(pos)= 1.

Sorry, my bad explaining this: i expected there could have been a predicted positive output with, let's say, 40% confidence, which would translate to a predicted confidence value of 0.4 if it was a classifier. In this case what I interpret as true with 40% confidence is 0.7, because true with 0% confidence (like saying "it's probably true but I'm so uncertain about that it could be as well false" would be 0.5 in the current output.
If I'm looking for a false prediction, I can't evaluate confidence in the same way, I would always need to have an inverse logic for confidence on false values, since my 100% false would be 0.0, while 0% false would be 0.49/0.5
I understand the math and reasoning behind the current implementation, my point is that Ludwig could output a more "user-friendly" value, ready to be used. It's only an added convenience, not a real bug :)

Of course this would be a breaking change, and if this behavior was by design it has to stay like this

I understand your point about user friendliness, but consider there is a threshold parameter that you can also set for binarization, by default it's 0.5 but you can set it to different values and it influences precision and recall. So the only correct way to make it more use friendly would anyway be to return both p and 1-p as two separate column, but then the prediction could still seem weird, for instance If I set the threshold to be 0.8, I would have: p(pos)=0.7, p(neg)=0.3, prediction=False.
Anyway, will think about this, and what could be a better way to return binary probabilities ;)

Yes, I perfectly understand.
Both approaches are valid, the current one is more technical and "deep".
I suspect that having an added (this semi-hidden) output would defy the purpose of having it noob-friendly, so I don't really know what to do :)


${SOURCE.posix} has no attributes inside generator

This issue was originally created at: 2006-08-17 12:15:14.
This issue was reported by: voidwasp.
voidwasp said at 2006-08-17 12:15:14

The following file:
This SConstruct file is an attempt to reproduce a possible bug:
SpecialAttrWrapper instance has no attribute 'filebase'
def posixattr_gen(source, target, env, for_signature):
return 'echo > ${SOURCE.posix.base}'
posixattr_blder = Builder(generator = posixattr_gen)
env = Environment()
env.Append(BUILDERS = {'TextEcho' : posixattr_blder})
env.TextEcho('test.txt')
vim:ts=2 sw=2 syntax=python
Produces the output:
C:\Documents and Settings\jeb>scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Error trying to evaluate `${SOURCE.posix.base}': SpecialAttrWrapp
er instance has no attribute 'filebase'
scons: building terminated because of errors.
When I believe ${SOURCE.posix.filebase} should evaluate to the posix filepath
with only the filebase specified (filebase with '/' instead of '').

stevenknight said at 2008-06-09 11:52:50

Created an attachment (id=425)
test case

stevenknight said at 2008-06-09 11:53:24

Still a problem in latest Subversion (0.98.5).  Attached a test case script.

stevenknight said at 2008-07-01 11:29:28

Target milestone and priority per bug party triage.

gregnoel said at 2008-12-26 13:29:12

Adjust triage of issues.

stevenknight said at 2009-11-10 18:00:19

stevenknight => issues@scons

ajf58 said at 2014-07-07 14:14:49

Works for me (SCons 2.3.0 on Linux).
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
echo > test
scons: done building targets.
Suggest closing a resolved (fixed).

dirkbaechle said at 2014-07-12 04:23:08

The attached testcase fails on my system (Ubuntu 14.04 LTS, Python 2.7, SCons
2.3.3), so this needs closer investigation.
It's unclear whether the test has to be fixed (check against documentation,
whether the used interface is consistent), or it's still a bug.

stevenknight attached SpecialAttrWrapper.py at 2008-06-09 11:52:50.

test case

Took a quick look at the attached testcase, which does indeed fail. Here are the interesting lines:
    'PosixStr' : Builder(action = 'echo PosixStr > ${SOURCE.posix.base}'),
    'Win32Str' : Builder(action = 'echo Win32Str > ${SOURCE.win32.base}'),

with an error when run on a Linux system:
scons: *** [win32_gen] AttributeError `'SpecialAttrWrapper' object has no attribute 'base'' trying to evaluate `${SOURCE.win32.base}'

So questions:

Manpage does not mention the two attributes win32 and windows, so the test is using an undocumented attribute.  It is implemented, however (in the code, win32 is called deprecated in a comment)
The example uses "chained" attributes, which also are not mentioned in the manpage.  The unit test certainly tests combinations, so presumably they are allowed.
So it seems like some manpage updates are in order.
The problem can be triggered by the addition of trivial two-liners to the unit test, from which I can see that the platform we're not on does not seem to get the *base special attributes. That is:

        s = str(f.posix.base)
        assert s == 'foo/bar/baz', s
        s = str(f.windows.base)
        assert s == 'foo\\bar\\baz', s

The first will take an AttributeError if run on Windows, the second if run on Linux.
Further, if the order is swapped, they always fail. {base,file,filebase}.posix doesn't care whether run on Linux or Windows.

I think I see it now.  The methods for abspath, filebase, suffix, file, base all return a fresh SpecialAttrWrapper instance. You cannot then do a further lookup on it, because for the lookups to work it would have to be an EntryProxy instance, because that's what has the lookup table. posix and windows special attributes are a little different: if they're "native" they return self, so we're still an EntryProxy at that point. If it's not native, it returns a SpecialAttrWrapper.  Which is why nothing following one of the first set works; while if windows (win32) or posix comes first, a following attribute is possible - but only if you're on your own native platform.
The unit test has
        # And now, combinations!!!

but all of the combinations are srcpath followed by something, __get_srcpath is one of the ones that returns an EntryProxy instance, so none of them trigger the problem.

Patch to FSTests.py that can be used to show this as broken, assuming we consider combination attributes to be something that should work.
special-attr-unittest-patch.txt

not sure we should support node.attribute.attribute....

I think there's one specific case that's interesting - get the "something"path and force it to windows or linux style string. Maybe there's a different way to handle that than attribute.attribute.


Add event timestamp fields

Added "Time" and "ReceiveTime" as default select clauses (if not already added) so that SourceTimestamp and ServerTimestamp can be set. Corrected a bug in GetFieldDisplayName when trying to access a display name outside the template array.

LGTM


PMID:34674264 dma1 Ub-ligase related

decreased protein ubiquitination
descendent of
FYPO:0002498 | decreased protein modification

Added  as a child of abnormal protein ubiquitination, and  parent of
abnormal protein ubiquitination during nitrogen starvation


OVERRIDE_FIND_PACKAGE doesn't work

I think because CPM avoids calling FetchContent_MakeAvailable(?), the OVERRIDE_FIND_PACKAGE argument to FetchContent_Declare doesn't work. The redirect files don't get created.

I found this issue after looking into the same thing. @TheLartians , could this get attention?

Unfortunately I currently don't have the time to look into this, but would be very happy to review a PR that suggests a fix.

I'm running into this bug too: a dependency requires pugixml, and even though I included it via CPMAddPackage it still claims it can't find it.

Odd thing is that it worked fine a couple days ago, I have no idea what changed.


Direct messages not working

I can't send direct messages. I haven't tested anything else yet.
Error in verbose mode:
HTTP/1.1 403 Forbidden
It seems that the original repo (not the python port) was taken down due to a DMCA Claim.
Might this be a part of the reason this isn't working anymore? Maybe Facebook doesn't support this API anymore?

@SuperKaninchen this project has been unmaintained for a long time now.
I can't say if direct messages is broken as i never used/tested it.
The last time i ever tested, other parts of the API such as account profile, feeds, followers worked okay.

I tried to use that feature too, but the error I got was 404.


fix: add compat flag to zen30

Think this will close #2536

See comment in the issue. The device reports no endpoint 2 🤷🏻♂

This is not necessary


GH-2714 benchmarks to show overhead of BindingSet

GitHub issue resolved: #2714
Briefly describe the changes proposed in this PR:
Benchmarks to show overhead of BindingSet.

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] I've squashed my commits down to one or a few meaningful commits
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change
[ ] every commit has been signed off

Benchmark                        Mode  Cnt     Score     Error  Units
SortBenchmark.sortByQuery        avgt    5  2278.088 ± 254.732  ms/op
SortBenchmark.sortDirectly       avgt    5   635.099 ±  90.760  ms/op
SortBenchmark.sortGetStatements  avgt    5   660.591 ± 197.633  ms/op

Essentially using SPARQL to sort all the objects in all the statements takes ~3.5x more time than just sorting the statements yourself using getStatements and the ValueComparator.

@jeenbroekstra this was what I actually wanted to work on today! Trying to get an idea of if we could maybe make query evaluation 2-3x faster by not using hash maps in BindingSet. Those hash maps aren't great for GC either.

Question is how big of an overhead running a SPARQL query should take. I would think maybe 10-20% compared to rolling your own code for a specific scenario.

Interesting find. Note that we have several different BindingSet implementations. It should be possible to just introduce a new BindingSet implementation, and use it for comparison. If it turns out to be significantly faster, we can perhaps use it as a drop-in replacement for QueryBindingSet.

Though I wouldn't be surprised if a significant part of the overhead is just due to the fact that sparql query result ordering is inherently more complex than just ordering values directly. I mean sorting a getStatements call as you do here is just sorting statement objects by identity. SPARQL result ordering needs to dynamically look at individual elements within each result. This is partly why the code in OrderComparator is so not-straightforward.

Gets worse:
Benchmark                                         Mode  Cnt    Score     Error  Units
SparqlOverheadBenchmark.getAllStatementSparql     avgt    5  348.053 ± 124.609  ms/op
SparqlOverheadBenchmark.getAllStatementsDirectly  avgt    5   64.502 ±   1.046  ms/op

That is the just simply retrieving all statements. SPARQL ~5x slower!

You cant really tell, but I went through it. 95% og everything above where I'm hovering is spent on various aspects of BindingSet. I can also see that the use of AtomicBoolean is costing us quite a lot during SPARQL execution within AbstractCloseableIteration.

Gets worse:
Benchmark                                         Mode  Cnt    Score     Error  Units
SparqlOverheadBenchmark.getAllStatementSparql     avgt    5  348.053 ± 124.609  ms/op
SparqlOverheadBenchmark.getAllStatementsDirectly  avgt    5   64.502 ±   1.046  ms/op

That is the just simply retrieving all statements. SPARQL ~5x slower!

That includes parsing the query though, right? I believe you when you say a large part is to do with BindingSet, just saying that your benchmark as currently implemented also parses the query anew for every execution.

Parsing the query isn't taking any attributable time. Dataset is large, 55 mb turtle file, specifically to reduce the % of time spent do other things.
I honestly believe that this is all overhead due to BindingSet and the use of AtomicBoolean.
It should be easy enough to test. Just remove the use of AtomicBoolean and see if the time changes appreciatively. That's obviously not a fix, just something to demonstrate. A fix would have to behave as an AtomicBoolean but be faster.

Benchmark                                      Mode  Cnt    Score   Error  Units
SparqlOverheadBenchmark.getAllStatementSparql  avgt    5  283.903 ± 4.765  ms/op

Swapped out AtomicBoolean with a volatile variable, seeing 8-10% better performance!

Swapped out AtomicBoolean with a volatile variable, seeing 8-10% better performance!

Looks good. We only have a single write point for the boolean flag, and I see you've taken care of concurrent access there, so happy with this.
As an aside, @JervenBolleman  just got in touch via gitter to say he's also been looking at performance of QueryBindingSet. It would be good to combine your efforts :)

I would love to hear your take @JervenBolleman .
I was thinking about the following:

Before executing the query we traverse the query plan and give each unique variable an index
Then we create a binding set template with a fixed sized array so that it can always be used regardless of location in the query
When the query runs it fills bindingsets like this: bindingset.set(var.index, val)
We have a virtual binding set that wraps each one returned to the user with a shared hash map that translates the users variable name to the appropriate index

@hmottestad I like the general idea, though I'm not sure I fully understand points 3 and 4. I'd be more inclined to use the array indexing you create to initialize a new BindingSet implementation, that internally just handles mapping the insertion and lookup operations based on variable names to index-based operations. There are an awful lot of places in the various Iteration implementation that just rely on the BindingSet interface to add or replace variable bindings, so if you encapsulate this you won't have to refactor all that code.

I realize. If we had used Var with BindingSet instead of a string things would have been a lot simpler.

And again. I'm still just highlighting the problem at the moment. I don't intend to work on it and I have a lot more work to do on the ShaclSail that I need to prioritize.

I realize. If we had used Var with BindingSet instead of a string things would have been a lot simpler.

That's actually an interesting idea, maybe something to consider for 4.0?

@hmottestad it's a nice idea. I we indeed had used var objects instead of names we could do a lot more interesting optimizations.
In any case introducing a pre execution parse to figure out which variables we will bind would be very useful. I would love to chat about some ideas with someone who knows the engine better. I got into this because I kept on seeing a rehash of the map when just doing a select ?s ?p ?o where ?s ?p ?o in the query.
So my first idea was to switch map implementations depending on having a few bindings or a lot. With the SmallMap being a plain array and we just do scan inserts etc.
If we used Var then we could tricks like.
public Wrapped extends Var {
   private final Consumer<Value> inserter;
   private final Supplier<Value> retriever;
   public WrappedVar(String name, Consumer<Value> inserter){
      super(name);
   }

   @Override
   public getValue() {
     return retriever.get();
   }

   @Override
   public setValue(Value val) {
     return inserter.consume(val);
   }
}
```
and the inserter and consumer functions are constructed like this.
```java
ArrayBackedBindingSet abbs = ...;
// assume "s" is the first index.

new WrappedVar("s", (v) -> abbs.array[0], () -> abbs.array[0]);
```
This allows for some really sweet machine code. Especially if we could make this a Java Record (trusted final field optimization).

I saw your comment on use of intern @JervenBolleman it gives around 5% faster query execution with my benchmark. We only really need to "intern" the variable names within a query, and not across queries. So we could easily just analyze the vars in the query and replace the variables names with a distinct string for that query.
As for your idea about using an array for the binding set as a stop gap measure. Sounds good. Can I recommend you count the number of vars to start off, and then decide if the query should be executed with an array backed binding set or a hash map backed one based on how many distinct vars we have. If we can guarantee that all variable names are "interned" (not with .intern, but with our own logic) then we could always use == instead of .equals! Might actually end up being seriously fast that way, with no loss of backwards compatibility.

Also. With regards to Java Records. Don’t get too happy. We are still on Java 8. Probably for a few more years I reckon. I presume most vendors will start pushing once Loom and maybe Valhalla are available. Those will push all the database providers and any networking library or performance oriented library to switch for the new features. There will probably still be lots of companies that say it’s cheaper to buy faster servers than upgrading. Those companies will probably not buy faster servers either, from my experience ;)

@hmottestad I think that would be a first step from the volcano style query interpreter to a query compiler ;) Lot's of performance to be gained there. So this might trigger a bigger change.
For the record part, multi-release jar's might be worth investigating once java-17 is out.

So I've made a test implementation of using an array. And for the one benchmark I ran about twice as fast. So that proves that it's a solution we may want to go after.
It's still a far cry from the performance of getStatements, but it's a start.

@hmottestad where next? I believe you mentioned that you wouldn't have time to work on this, but these spikes show there is a lot to be gained here. Clearly, the test implementation you did here is not ready to be merged. Is this branch supposed to be throwaway code? Or is the idea that you continue working on this? If @JervenBolleman  wants to help contribute, can you coordinate with him what the best way to organize that is?

I was hoping maybe to get Ontotext onboard and start working on this and maybe other performance aspects in Jan/Feb, once we have enough of the ShaclSail complete.
This branch started off as just benchmarks, but evolved a bit. I think I'll revert those changes and merge it in with only the benchmarks and the fix for AtomicBoolean.

Looks like @JervenBolleman is a step ahead of us already: https://github.com/eclipse/rdf4j/pull/2722

@hmottestad , @jeenbroekstra asked me to open a draft pull request so it is easier to compare the approaches.
I think I will open a issue+pull request just for the test case improvements to start with. Then I will wait for your benchmark to land, (or if already accepted) then I will open a pull request for adding the smallmap or constant map if it improves performance.


When exporting PDF file, Chinese is in disorder

Describe the bug
I found that when I export a file in PDF format, there is a garbled code in Chinese
Steps To Reproduce
Steps to reproduce the behavior:

Write Chinese page
Open authored page
Click export function and select export PDF file

Expected behavior
It should show the effect consistent with the page
Screenshots
Look at accessories
Your Configuration (please complete the following information):

I deployed the service through docker

Enclosure
Garbled file

Thanks for raising @wzhz. I believe this is essentially due to the same thing as issue #719 so I'll close this.
In short: it's tricky for us to support all font options for the default PDF rendering system in an efficient manner. BookStack does support an alternative PDF rendering system (WKHTMLtoPDF) which can be trickier to set-up (Especially in docker environments) but has much better UTF8 support & and more accurate page rendering.

感谢您提出@wzhz。我认为这本质上是与问题＃719相同的缘故，因此我将关闭它。
简而言之：对于我们而言，要有效地支持默认PDF呈现系统的所有字体选项是很棘手的。BookStack确实支持替代的PDF呈现系统（WKHTMLtoPDF），该系统设置起来比较麻烦（尤其是在docker环境中），但具有更好的UTF8支持和更准确的页面呈现。

Thank you very much for your reply

I also encountered the same problem, using English can export pdf perfectly, but using Chinese seems to be unable to render, I am using the latest version 0.31.6  Ubuntu 20.04


Error on 'thumbs' = NULL

The following line contains option('thumbs'), but being undefined (meaning null, for example on plainkit), this throws an error:
https://github.com/floriankarsten/kirby3-vipsthumbnail/blob/a1e028df4dad3b9ec475fd3983913aa531a06be2/Vipsthumbnail.php#L22
We could check for this first .. I'd be happy to provide a PR, if that's alright?
Cheers,
S1SYPHOS

Awesome. I use this on one production site without issues so if you can do PR to make this better or atleast tell me what to change so i don't have to think about it than its great!

Alright!


Add provenance generation support to engine_v2 recipes.

This requires adding provenance generation to the archive methods of builder and engine_v2 recipes.

\cc @khyati82 this is part of the SLSA L1 effort.

\cc @athomas @sortie

https://flutter-review.googlesource.com/c/recipes/+/35163

This is now complete.


Release 1.15.0-alpha.0 failed due to "Cannot insert legacy ACL for an object when uniform bucket-level access is enabled"

While releasing 1.15.0-alpha.0, the Google Cloud Build that ran after I pushed the tag failed:

Step #1: 2024/03/29 09:13:51 ERROR : cert-manager-manifests.tar.gz: Failed to copy: googleapi: Error 400: Cannot insert legacy ACL for an object when uniform bucket-level access is enabled. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access, invalid

I was able to reproduce the error message with the following command:
$ gsutil acl get gs://cert-manager-release
BadRequestException: 400 Cannot get legacy ACL for a bucket that has uniform bucket-level access. Read more at https://cloud.google.com/storage/docs/uniform-bucket-level-access

This issue may have appeared when we migrated everything... maybe. The bucket is defined as:
module "trusted-artifacts-bucket" {
  source = "./modules/gcp-bucket/"

  project_id  = module.cert-manager-tests-trusted.project_id
  location    = local.bucket_location
  bucket_name = "cert-manager-prow-artifacts"

  bucket_prevent_public_access = false
  bucket_viewers = [
    "allUsers"
  ]
  bucket_admins = [
    google_service_account.prow-gcs-publisher.member
  ]
}

I'll keep you updated here.

@maelvls I reverted the bucket permissions to ACL in the UI to make this work again.
Next week, we can figure out if we want to keep using ACL or fix the upload command instead.


Wrong number of arguments when staging up

I got a strange error when trying to stage up a merge request when already on the staging branch:
$ ninny stage_up
/Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/choice.rb:80:in `initialize': wrong number of arguments (given 3, expected 2) (ArgumentError)
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/choice.rb:54:in `new'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/choice.rb:54:in `convert_hash'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/choice.rb:43:in `from'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/choices.rb:68:in `<<'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/list.rb:168:in `block in choices'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/list.rb:168:in `each'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/list.rb:168:in `choices'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt/list.rb:179:in `call'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt.rb:223:in `invoke_select'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/tty-prompt-0.18.1/lib/tty/prompt.rb:260:in `select'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/ninny-0.1.15/lib/ninny/commands/pull_request_merge.rb:32:in `select_pull_request'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/ninny-0.1.15/lib/ninny/commands/pull_request_merge.rb:23:in `execute'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/ninny-0.1.15/lib/ninny/cli.rb:39:in `stage_up'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/command.rb:27:in `run'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/invocation.rb:127:in `invoke_command'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor.rb:392:in `dispatch'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/thor-1.1.0/lib/thor/base.rb:485:in `start'
        from /Users/emmasax/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/ninny-0.1.15/exe/ninny:15:in `<top (required)>'
        from /Users/emmasax/.rbenv/versions/3.0.0/bin/ninny:23:in `load'
        from /Users/emmasax/.rbenv/versions/3.0.0/bin/ninny:23:in `<main>'

It looks like the error is actually from TTY, but it'd be worth an investigation to see if it's something within the Ninny code.

It turns out this was a mixture of Ruby version 3.0.0, and a few changes in the Ninny code. We also needed to put in another catch.


vite v3 adds "export

Describe the bug
In vite v2, subject file ends with:
//# sourceMappingURL=e2e.ts.map

which is expected.
In vite v3, subject file ends with:
export default require_e2e();
//# sourceMappingURL=e2e.ts.map

which is not expected.
It is not clear where the require_e2e is coming from or how to get rid of it.
In practice, in the context of Cypress, this is causing an error:
The following error originated from your test code, not from Cypress.

  > Unexpected token 'export'

This happens after upgrading from 2.9.14 to 3.0.2.
Reproduction
N/A
System Info
System:
    OS: macOS 12.3.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 12.72 GB / 64.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.5.0 - ~/.nvm/versions/node/v18.5.0/bin/node
    Yarn: 3.2.1 - ~/.nvm/versions/node/v18.5.0/bin/yarn
    npm: 8.12.1 - ~/.nvm/versions/node/v18.5.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 103.0.5060.114
    Firefox: 100.0
    Safari: 15.4
  npmPackages:
    @vitejs/plugin-react: ^1.3.2 => 1.3.2
    vite: ^3.0.2 => 3.0.2

Used Package Manager
yarn
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

viteConfig.build.lib = {
  entry: filePath,
  fileName: () => {
    return filename;
  },
  formats: [
-    'es',
+    'umd',
  ],
  name: filenameWithoutExtension,
};

Turns out it was a configuration issue.


upgrading pact jvm consumer to 3.5.4 gives java.lang.IllegalAccessError

We tried upgrading the pact jvm-consumer version from 3.2.4 to 3.5.4
We are getting following error while generating pact json from consumer
java.lang.IllegalAccessError: tried to access method com.google.common.collect.Lists.cartesianProduct([Ljava/util/List;)Ljava/util/List; from class au.com.dius.pact.model.PactMerge

Another observation, we tried example ExampleJavaConsumerPactRuleTest , It executes successfully and generate pact json. However when same request is executed once again, it fails with the same error mentioned above.

Can you check your dependencies. Versions 3.5.x depend on pact-jvm-model, while versions before v3.3.x depend on pact-jvm-model_2.11. It may be that your build is still pulling in the old model library.

I had this same issue today and in the end it turned out that one of my compile dependencies had a transitive dependency for an older version of guava (version 18.0).
I'm not sure if this is the best approach but to get around it I explicitly specified that I needed version 19.0 of guava in my test compile dependencies.
Hope this helps!

That could be it. Could you provide a dependency tree?

Same here. I had to explicitly add guava 19.0 as a dependency. In my case this is because I'm using spring-cloud that uses guava 18.0. Same dependency mess I have with netty libraries. They're also part of some spring-cloud libs like eureka.

Sorry for the delayed response.
Same as @scheuchzer
My project build was putting old dependencies which was conflicting with needed dependency (i.e. guava)
I explicitly specify dependencies for guava which fix this issue for me.

I'm going to be removing guava, as well as some of the other dependencies which are causing issues.

Great! Thanks

Hi, I have this issue too, and my app needs to be depend on guava 18.0.
Would you be releasing another version that would work with guava 18.0?

The next version (3.5.8) has guava downgraded to 18. I'll release that version soon.


Toggling decimal/whole number ticks on axis

In the current setup, graphs automatically decide to show decimal ticks on charts when there is enough room.
Certain scenarios will never have decimal values so it should be possible to either toggle decimal ticks or have it automatically decide based on the provided values.

hey @driaug, thanks for the suggestion and sorry for the delayed response! I think that makes sense and we will include it in the following releases!

hey @driaug, after testing out a couple of edge cases, we found out that this behaviour of rendering decimal numbers on the y-Axis is only achieved if the maximum value of your data is equal or less than 3. Because this is a very rare case (the need for having non-decimal discrete values up to exactly 3), we decided to not implement this property for now unfortunately, as we are afraid to pollute the namespace with too many minor flags. Sorry about that :( We will try to find a more general solution in the future though!

Thank you for the reply! This is something I can work with, much appreciated that you looked into it :)


Database

Boss databasenya memang tdk ada?

ini mas
On Tue, Dec 1, 2020 at 6:44 PM ineward<EMAIL_ADDRESS>wrote:

Boss databasenya memang tdk ada?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/EnkuDavi/sisfo_akademik/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMG6SD2YFFD6AGYELJO26ODSSTJJ5ANCNFSM4UI5H6OA
.

Dimana mas?


foreground notifications not to display on first run on iOS (Same issue as Bug report #109[fixed&closed])

Bug report
CHECKLIST

[*] I have read the issue reporting guidelines

[*] I confirm this is a suspected bug or issue that will affect other users

[*] I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.

[*] I have read the documentation thoroughly and it does not help solve my issue.

[*] I have checked that no similar issues (open or closed) already exist.

Current behavior:
After you accept the permission prompt on iOS and send push notifications while the app is in the foreground, the app receives the data but doesn't display a native notification. If you then force quit the app and relaunch it and while the app is in the foreground send push notifications again they do come display as native notifications.
Similar issue to Bug report #109 and #744.
Expected behavior:
After you accept the permission prompt on iOS and send push notifications while the app is in the foreground, you should see a native notification.
Steps to reproduce:

Create a minimum app.
Accept the push notification prompt.
Keep the app in the foreground.
Using the device token send a push notification.

{
  "message": {
    "token": "eGW_...",
    "notification": {"body": "FCM Message"},
    "data": {"notification_foreground": "true" }
  }
}

Environment information

Cordova CLI version
11.0.0
Cordova platform version
<EMAIL_ADDRESS>Plugins & versions installed in project (including this plugin)
cordova-plugin-firebasex Version 14.2.1 or Version 16.0.0
Device details
iPhone 7
OS details
iOS 14.4 and 13.3
Node JS version
16.14.0
XCode version
13

Hi @yuancure @dpa99c , I am also facing the same issue.
Steps to reproduce:
Create an app.

Accept the push notification prompt.
Keep the app in the foreground.
Using the device token send a push notification with a simple payload.

{
 "to" : "eaphJPGP9kMpp5Nyhd_GM6:APA91bFp_7o_1FgcwmvfItumpboSG7DaPSrVK6n8XDj3JepxmhbJ41HTeiLTv6y90x1Ag6LI1DKIgG5Og74VT1pfZiJHKjpuer5rluwIQ9H4NxJklL_aOwDKhOrTfZuW4seKHL_6lah_",
 "notification" :{
     "body" : "your message body",
     "title": "your title for notification"
 },
  "data":{
       "notification_foreground": "true"
  }
 }

Environment information
Cordova CLI version
11.1.0
Cordova platform version
<EMAIL_ADDRESS>Plugins & versions installed in the project (including this plugin)
cordova-plugin-firebasex Version 14.2.1 or Version 16.0.0
Device details
iPad
OS details
iOS 14.4
Node JS version
14.21.3
XCode version
14
Please help to get over this issue. Your help is much appreciated.

The below PR actually fixed the foreground issue.
https://github.com/dpa99c/cordova-plugin-firebasex/pull/800
Thanks @vneenz and thanks for merging the PR @dpa99c


PROJECT TITLE

PROJECT TITLE
Acceptance Criteria
GIVEN a command-line application that accepts user input
WHEN I enter my project title
THEN this is displayed as the title of the README

Project title is in README


Fix compute plan test

Fix #42
Random failure due to random ordering of tuples with the same rank.
Thanks @jmorel for the investigation!

I always forgot about { } syntax for initializing a set!
It could be confusing as this syntax is also commonly used to initialized a dict.


ConvertToPalindrome(String) added in the Strings

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
This is a solution of the problem "Convert to Palindrome" of Strings.
Checklist

[X] I've read the contribution guidelines.
[X] I've checked the issue list before deciding what to submit.

Related Issues or Pull Requests
Fixes #751
Fill up the DCP form
If you are a part of DCP 21, fill up this form after the PR is merged.
The links provided in the form will be checked thoroughly, if someone tries fooling around, strict actions will be taken against the individual.

Add comments in the top of the file and along in the code to explain the question, space and time complexities and the logic.

I have added the comments required for that solution. @Saviour1001


(login): adapt the login interface

Codecov Report

Merging #126 (54cccc8) into release-1.0.0 (3d48690) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

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


HBASE-22932 Add rs group management methods in Admin and AsyncAdmin

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 35s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  1s
No case conflicting files found.

:blue_heart:
prototool
0m  0s
prototool was not available.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 3 new or modified test files.

_ HBASE-22514 Compile Tests _

:blue_heart:
mvndep
0m 36s
Maven dependency ordering for branch

:green_heart:
mvninstall
6m 10s
HBASE-22514 passed

:green_heart:
compile
2m 59s
HBASE-22514 passed

:green_heart:
checkstyle
3m  0s
HBASE-22514 passed

:green_heart:
shadedjars
4m 40s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
1m 46s
HBASE-22514 passed

:blue_heart:
spotbugs
1m 30s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
9m 31s
HBASE-22514 passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 16s
Maven dependency ordering for patch

:green_heart:
mvninstall
5m 16s
the patch passed

:green_heart:
compile
2m 37s
the patch passed

:green_heart:
cc
2m 37s
the patch passed

:green_heart:
javac
2m 37s
the patch passed

:broken_heart:
checkstyle
0m 34s
hbase-client: The patch generated 19 new + 162 unchanged - 0 fixed = 181 total (was 162)

:broken_heart:
checkstyle
1m 18s
hbase-server: The patch generated 31 new + 111 unchanged - 0 fixed = 142 total (was 111)

:broken_heart:
whitespace
0m  0s
The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

:green_heart:
shadedjars
4m 50s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
16m  1s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
hbaseprotoc
2m 30s
the patch passed

:broken_heart:
javadoc
0m 35s
hbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

:green_heart:
findbugs
10m 47s
the patch passed

_ Other Tests _

:green_heart:
unit
0m 41s
hbase-protocol-shaded in the patch passed.

:green_heart:
unit
1m 50s
hbase-client in the patch passed.

:broken_heart:
unit
155m 22s
hbase-server in the patch failed.

:green_heart:
unit
3m 43s
hbase-thrift in the patch passed.

:green_heart:
asflicense
2m  8s
The patch does not generate ASF License warnings.

247m 28s

Reason
Tests

Failed junit tests
hadoop.hbase.rsgroup.TestMigrateRSGroupInfo

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/601

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool

uname
Linux 0be50a693434 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-601/out/precommit/personality/provided.sh

git revision
HBASE-22514 / 728d9fe198

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/artifact/out/diff-checkstyle-hbase-client.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/artifact/out/diff-checkstyle-hbase-server.txt

whitespace
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/artifact/out/whitespace-eol.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/artifact/out/diff-javadoc-javadoc-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/testReport/

Max. process+thread count
4381 (vs. ulimit of 10000)

modules
C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 42s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  1s
No case conflicting files found.

:blue_heart:
prototool
0m  0s
prototool was not available.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 9 new or modified test files.

_ HBASE-22514 Compile Tests _

:blue_heart:
mvndep
0m 37s
Maven dependency ordering for branch

:green_heart:
mvninstall
5m 42s
HBASE-22514 passed

:green_heart:
compile
2m 46s
HBASE-22514 passed

:green_heart:
checkstyle
2m 50s
HBASE-22514 passed

:green_heart:
shadedjars
4m 35s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
1m 45s
HBASE-22514 passed

:blue_heart:
spotbugs
1m 30s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
9m 17s
HBASE-22514 passed

_ Patch Compile Tests _

:blue_heart:
mvndep
0m 14s
Maven dependency ordering for patch

:green_heart:
mvninstall
4m 52s
the patch passed

:green_heart:
compile
2m 35s
the patch passed

:green_heart:
cc
2m 35s
the patch passed

:green_heart:
javac
2m 35s
the patch passed

:broken_heart:
checkstyle
0m 36s
hbase-client: The patch generated 19 new + 162 unchanged - 0 fixed = 181 total (was 162)

:broken_heart:
checkstyle
1m 28s
hbase-server: The patch generated 35 new + 111 unchanged - 0 fixed = 146 total (was 111)

:broken_heart:
whitespace
0m  0s
The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

:green_heart:
shadedjars
5m 11s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
17m  8s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
hbaseprotoc
2m 29s
the patch passed

:broken_heart:
javadoc
0m 36s
hbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

:green_heart:
findbugs
10m 14s
the patch passed

_ Other Tests _

:green_heart:
unit
0m 42s
hbase-protocol-shaded in the patch passed.

:broken_heart:
unit
1m 35s
hbase-client in the patch failed.

:broken_heart:
unit
156m 20s
hbase-server in the patch failed.

:green_heart:
unit
3m 50s
hbase-thrift in the patch passed.

:green_heart:
asflicense
2m  8s
The patch does not generate ASF License warnings.

247m 41s

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestInterfaceAlign

hadoop.hbase.rsgroup.TestMigrateRSGroupInfo

hadoop.hbase.rsgroup.TestRSGroupsAdmin1

hadoop.hbase.rsgroup.TestRSGroupsKillRS

hadoop.hbase.rsgroup.TestRSGroupsBasics

hadoop.hbase.rsgroup.TestRSGroupsBalance

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/601

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc prototool

uname
Linux 599313bda677 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-601/out/precommit/personality/provided.sh

git revision
HBASE-22514 / 728d9fe198

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/artifact/out/diff-checkstyle-hbase-client.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/artifact/out/diff-checkstyle-hbase-server.txt

whitespace
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/artifact/out/whitespace-eol.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/artifact/out/diff-javadoc-javadoc-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/artifact/out/patch-unit-hbase-client.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/testReport/

Max. process+thread count
4608 (vs. ulimit of 10000)

modules
C: hbase-protocol-shaded hbase-client hbase-server hbase-thrift U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-601/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


[WIP] Travis/Linux builds for Mono and .NET Core

I'm working to get this repo building on Linux Travis CI, both .NET Core and Mono variants.  Adding here for visibility and CI.
I'll close immediately to prevent flooding with CI requests, then reopen once it's passing on Linux CI

@dsyme curious if you are considering implementing the contents of build.cmd with FAKE or a plain F# script? I think that would be a good idea to use that in the process of adding CI for other platforms, even if it requires some more efforts.
I remember poking at that effort to make first steps of the build for OsX and it was not too hard and very convenient (as I could step through the build script).
#1156


Update content and condition of mentee dashboard approval-state message

Purpose
The purpose of this PR is to fix #362
Goals
The text content for mentee dashboard approval-state message is outdated and the condition for rendering it can be improved.
Approach
Update the text content of the message and update the condition to render as follows:
If program?.state == "ONGOING" and mentee.state == "APPROVED", then show the success message.
If program?.state == "ONGOING" and `mentee.state != "APPROVED", show the rejected message.
Screenshots
N/A
Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Related PRs
None
Test environment
Java 8, macOS 12.3, Chrome latest.
Learning

@Madhawa97 The build is falling, can you check? Try running that script locally. https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported

My pleasure @anjula-sack


How can I obtain the number of nodes for each tree in XGBoost?

I wanted to get the number of nodes for each tree in XGBoost models, but I failed to find an API I could obtain it directly.  Are there already APIs that can achieve this?  If not, is there a new plan for adding an API to do this?

There's no such API. However, as a quick solution, one can always inspect the model dump or the exported JSON model.

Actually, I wanted to get the total number of nodes in the tree. You are right, we can obtain the total number of nodes according to the model dump. But I have to iterate the JSON model to calculate the total number of nodes. It should be more convenient if an API can achieve this.

You can get number of nodes from the JSON model by accessing the tree param.


fixes #1 -- increase softmax alpha on each iteration for better ident…

…ification of feasible regions

This is a minimalist fix, but passes all unit testing and also my snowball unit testing, as well as the new inequality constraint feature for snowball


Error: should be 'Tags' instead of 'Tabs'

In section 'Create a service endpoint policy', step 5 should say 'Tags' instead of 'Tabs'.

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

ID: 61666071-75cc-b306-e685-596f078cf5b6
Version Independent ID: 2da60037-63aa-6f20-3a0f-a521918ba431
Content: Create and associate service endpoint policies - Azure portal
Content Source: articles/virtual-network/virtual-network-service-endpoint-policies-portal.md
Service: virtual-network
GitHub Login: @anithaa
Microsoft Alias: anithaa

@cplemm thanks for the feedback! the word has been fixed, and it should reflect on the doc within 24 hours.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.