i get the massage "is already taken" on codewars[short description of the bug]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Provide code to reproduce the behavior or a link to Kumite.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Browser
If applicable, please provide your browser information.

OS: [e.g. macOS]
Browser [e.g. chrome, firefox, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I want to log in my account to codewars,  but I can't beacause when I enter my email I recieve ''it was taken'' massage

looks like you registered through github => don't try to login with your mail, but with github.
working?

That's a sign up form.
Sounds like #2509. Have you tried using Private/Incognito without any extension enabled?


Fix: name must not contain dots

What this PR does / why we need it
Once name contains dots, it will fail to create Pods.
Which issue(s) this PR fixes

Fixes https://github.com/InftyAI/llmaz/issues/67
Special notes for your reviewer
Does this PR introduce a user-facing change?

None

/lgtm
/approve

/kind bug

/lgtm


Specs without funds that are backed by testnet to no longer be warned

📝 Description

12 specs don't have enough funds! (Bitcoin, Dash, Qtum, ZCash, Decred, cardano, Cosmos, Crypto.org, Elrond, Ethereum, Ethereum Goerli, Tron)

bot is currently warning on coins that we are likely not going to funds (Bitcoin, Ethereum) because too expensive, yet they are backed up by Testnet. We assume here that testnet covered spec will be enough to not warn the missing funds problem.
❓ Context

Impacted projects: none
Linked resource(s): none (support #ledger-live-bot)

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Weird error in CI, may need to restart the runs

ERR_PNPM_BROKEN_LOCKFILE  The lockfile at "/actions-runner/_work/ledger-live/ledger-live/pnpm-lock.yaml" is broken: duplicated mapping key (12322:3)

https://github.com/LedgerHQ/ledger-live/pull/682#issuecomment-1188936391


Seedimage: use a ClusterIP Service and clean it up immediately when not needed.

When building an ISO, we create a Pod and a Service to expose the built
ISO when ready.
The link to the ISO is then exposed through the Elemental Operator
Deployment, that acts as an Ingress.
The Service we create to expose the Pod port is of type NodePort: this
is not needed,is just a leftover from the initial implementations, where
we usede to expose a "direct" link to the Pod.
No need to keep a NodePort service now, let's have a ClusterIP Service
type instead.
Fixes https://github.com/rancher/elemental-operator/issues/705

Is the service deleted when the pod is done?
I don't see any ownership on it. Do we clean it up manually somewhere else?

Is the service deleted when the pod is done? I don't see any ownership on it. Do we clean it up manually somewhere else?

No, the service is deleted only with the SeedImage (or we retrigger a build).
Tracking that in #704.
The NodePort type fix is so trivial (and so wrong to live it around) that should not wait (and should be backported without thinking twice IMO).


Training code in PyTorch

Hi all, thanks for all the amazing work! Do you have any plans for releasing a PyTorch version where training code has systems optimization?

Hi, thank you for the interest in our work. It's on our roadmap to do, but not in the immediate future. We would appreciate any community support in this effort!


How to remove ":" on label Select?

Hello, i want to use Select with question instead of simple sentence. Like this :
        prompt := promptui.Select{
		Label: "Do you like blue color ?",
		Items: []string{"Yes", "No"},
	}

	_, likeBlue, err := prompt.Run()
	if err != nil {
		log.Fatalln(err)
	}

	fmt.Println(likeBlue)

The problem is that it outputs :
? Do you like blue color ?:
  ▸ Yes
    No`

instead of :
? Do you like blue color ?
  ▸ Yes
    No

How can i do to overcome this? Thank you in advance :)

Sorry, i don't remarked the "?" at the beginning of label. I close the issue.


refactor(filter-stream): Refactor & optimize FilterStream

Changes:

Add FilterStream benchmark
Add debug output to FilterStream
Generate pre-processed ranges to simplify range bounds checking
Optimize _transformBlock() to only slice & dice chunks that don't adhere to the block size, also improving performance considerably by causing fewer operations on buffers
Fix _flush() to emit correctly transformed blocks
Update emitted blocks check in tests

Change-Type: minor

I have now also added comments throughout the methods, and added some missing doc blocks, to hopefully make it easier / quicker to grasp what's going on in there.


Email with name

Hello! This is really tiny validator, but it will be great to pass validation for emails with names like
Sender Name<EMAIL_ADDRESS>

Thanks for the suggestion. I think this would be better done as a wrapper around the library rather than building it in.


HttpClient and TcpClient remain after unsubscribing

If some application is offering subscribing, it finds or creates HttpClient and TcpClient after receiving the subscription.
HttpClient and TcpClient don't get deleted after receiving unsubscribe, and even receiving unsubscribe is not assured.
That might lead to constantly increasing numbers of HttpClients and TcpClients in the applications that are offering subscribing.
Idea:
De-registrations shall be communicated as broadcast.
Required changes:

A /v1/disregard-application: service shall be added to the Basic Services of the AppilcationPattern. (Maybe close to moving the existing implementation in EaTL to the ApplicationPattern.)
Receving a request at this service shall result in deleting all OperationClients of the referenced application, all the FcPorts that are pointing at these OperationClients, and finally also HttpClient and TcpClient of that application.
Addressing the /v1/deregister-application: service at RegistryOffice must result in sending a request to /v1/disregard-application: at all registered applications.
The /v1/register-application: service at the RegistryOffice must be complemented by the a string attribute for informing about the /v1/disregard-application: service at the registering application.

Another idea:
Maybe it make sense to combine all broadcast services (/v1/disregard-application:, /v1/update-client:, /v1/update-operation-client: ...) into a single broadcast service.

Issue raised based on problem statement in https://github.com/openBackhaul/RegistryOffice/issues/387

I am supporting the proposed solution (adding a /v1/disregard-application service to the ApplicationPattern), but rescheduled the issue from 2.0.n to 2.n as adding a new service means a functional enhancement, not just a bug fix.

Changed as proposed


Feature de elife

Coverage increased (+0.007%) to 99.787% when pulling 62b8092021ae741e38f2c88f06dc3818436f547b on feature-de-elife into bc5c0d4421dc2b6b3ee801f3837d4f750081677a on develop.


added os check for windows 10 cmd colour fix.

Adding onto #8 like said I said here https://github.com/mov-cli/mov-cli/pull/8#issuecomment-1127650184
This removes the sh: 1: color: not found message when running on linux.

Closing this because it's been fixed already by a maintainer.


Purpose to set pred_len=1 in KPLayer?

Thanks for your amazing work!
I don't quite understand why you set pred_len=1 in
https://github.com/thuml/Koopa/blob/main/models/Koopa.py#L92.
I am running experiments on "ETTh2_96_48".

Hello, it is just the default value. In fact, pred_len means the step (not the length) that the dynamical system advances forward.


Missing minified css/js file in 2.2.8

Themes directory (icons and flags) is missing as well

Fixed

Just did an npm install of 2.2.12 and the ./themes/default directory is coming up empty again.


kerning looks off with small heavy text in FF42 / linux

This might be something we should take a look at in general; do we want to kern small heavy text, or force letter-spacing to normal?
https://meetuphq.slack.com/files/anne/F1GF6760Z/find_reskin.png

so you know: kerning still looks off on firefox 47/ubuntu 14.04 but in the process of upgrading I accidentally changed a bunch of my other fonts for the worse so it looks better comparatively?


Update README

Add "Getting Started" guide to README

Include a comparison of how things would work with just URLSession instead of Kumo

The "Getting Started" could include examples, starting simpler, then building up in complexity. It would make it very easy to follow.


PSNativePSPathResolution is causing weirdness on Linux when trying to specify X server port number

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Run this on Linux - if you don't have Xvfb then use echoargs or something like that:
~> Xvfb :99

Expected behavior
A headless X server starts up.

Actual behavior
You get an unrecognized option error:
 Xvfb :99
Unrecognized option: /home/mctcbld/:99
use: X [:<display>] [option]

Error details
It seems that PSNativePSPathResolution is transforming :99 to <home-dir>/:99 e.g.:
05-05 08:34:45 12> Trace-Command -Name ParameterBinding -Expression { Xvfb :99 } -PSHost
DEBUG: 2022-05-05 08:35:01.4643 ParameterBinding Information: 0 : BIND NAMED native application line args [/usr/bin/Xvfb]
DEBUG: 2022-05-05 08:35:01.4644 ParameterBinding Information: 0 :     BIND argument [/home/mctcbld/:99]
DEBUG: 2022-05-05 08:35:01.4648 ParameterBinding Information: 0 : CALLING BeginProcessing
Unrecognized option: /home/mctcbld/:99
use: X [:<display>] [option]

Also note that while quoting the arg works Xvfb ':99', it DOES NOT work if you background the process Xvfb ':99' & see the visual below for a screenshot that shows that.
BTW this also repos on the latest 7.3 preview on Windows if you have PSNativePSPathResolution enabled:
05-06 11:24:27 2> echoargs :99
Arg 0 is <C:\Users\Keith\:99>

Command line:
"C:\Users\Keith\Documents\PowerShell\Modules\pscx\4.0.0\Apps\EchoArgs.exe" C:\Users\Keith\:99

### Environment data

```powershell
Name                           Value
----                           -----
PSVersion                      7.2.0
PSEdition                      Core
GitCommitId                    7.2.0
OS                             Linux 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

/cc @JamesWTruher to take a look.


NDK update to r14 added to changelog

According to https://github.com/bitrise-docker/android-ndk/pull/46#issuecomment-289620708

perfect, thank you!


time array with mixture of types decoded from non-standard calendar

Reading a set of files with 360-day calendar with open_mf_dataset(), yields a time array with a mixture of types cftime._cftime.Datetime360Day and Timestamp. The files are CMIP5 output for HadGEM2-ES. I don't think there is a way to force it to use only cftime type for all times? All times should have the same type so slicing is possible (see below).
precip = xy.open_mfdataset(dataDir+'prc_day_HadGEM2-ES_rcp85_r1i1p1_*.nc')
precip['prc'].time

outputs:
array([cftime._cftime.Datetime360Day(2005, 12, 1, 12, 0, 0, 0, -1, 331),
       cftime._cftime.Datetime360Day(2005, 12, 2, 12, 0, 0, 0, -1, 332),
       cftime._cftime.Datetime360Day(2005, 12, 3, 12, 0, 0, 0, -1, 333), ...,
       Timestamp('2099-12-28 12:00:00'), Timestamp('2099-12-29 12:00:00'),
       Timestamp('2099-12-30 12:00:00')], dtype=object)
Coordinates:
  * time     (time) object 2005-12-01 12:00:00 2005-12-02 12:00:00 ...
Attributes:
    standard_name:  time
    long_name:      time
    bounds:         time_bnds
    axis:           T

Problem description
One consistent type is needed for slicing. It would be fine if they were all type cftime.Datetime360Day, as one could then do the following:
startslice = cftime.Datetime360Day(startYear, 1, 1,0,0,0,0,-1,1)
endslice = cftime.Datetime360Day(endYear, 12, 30,23,0,0,0,-1,360)
precip.sel(time=slice(startslice,endslice))

but with the mixture of types, this returns a KeyError
Expected Output
For some reason with another set of 360-day calendar files (from HadGEM2-CC for what it's worth) it did decode for me with all one type, the time array looks as expected, and slicing as above works:
array([cftime._cftime.Datetime360Day(2005, 12, 1, 12, 0, 0, 0, -1, 331),
       cftime._cftime.Datetime360Day(2005, 12, 2, 12, 0, 0, 0, -1, 332),
       cftime._cftime.Datetime360Day(2005, 12, 3, 12, 0, 0, 0, -1, 333), ...,
       cftime._cftime.Datetime360Day(2100, 12, 28, 12, 0, 0, 0, -1, 358),
       cftime._cftime.Datetime360Day(2100, 12, 29, 12, 0, 0, 0, -1, 359),
       cftime._cftime.Datetime360Day(2100, 12, 30, 12, 0, 0, 0, -1, 360)],
      dtype=object)
Coordinates:
  * time     (time) object 2005-12-01 12:00:00 2005-12-02 12:00:00 ...
Attributes:
    standard_name:  time
    long_name:      time
    bounds:         time_bnds
    axis:           T

Output of xr.show_versions()
INSTALLED VERSIONS
commit: None
python: 2.7.15.final.0
python-bits: 64
OS: Linux
OS-release: 3.10.0-693.21.1.el7.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: None.None
xarray: 0.10.3
pandas: 0.22.0
numpy: 1.14.3
scipy: 1.1.0
netCDF4: 1.4.0
h5netcdf: 0.5.1
h5py: 2.7.1
Nio: None
zarr: None
bottleneck: 1.2.1
cyordereddict: 1.0.0
dask: 0.17.4
distributed: 1.21.8
matplotlib: 2.2.2
cartopy: 0.16.0
seaborn: 0.8.1
setuptools: 39.1.0
pip: 9.0.3
conda: 4.5.3
pytest: None
IPython: 5.6.0
sphinx: None

@thenaomig - thanks for the report. Can you confirm that all the files you are opening have the same time format (e.g. units)?
It may also be worth trying your example with the @spencerkclark's CFTimeIndex (https://github.com/pydata/xarray/pull/1252).
I think your example may work much better with the following approach:

with xr.set_options(enable_cftimeindex=True):
    precip = xy.open_mfdataset(dataDir+'prc_day_HadGEM2-ES_rcp85_r1i1p1_*.nc')

Double-checked all the files do have the same time units.
Trying with the new CFTimeIndex approach worked! Thanks @spencerkclark, and @jhamman for quick reply. Hope this gets merged into the release version soon.


Is it possible to apply function on data (in Td)?

I'd like to add link to some of the data in the table and format some dates on the fly?
Is there a way to do that or do i have to pass the array of data through a map function or something similar ?
Thank you in advance

I have a similar question here.

The current official way to do it is with a map returning a list of <Tr>s.


/mv command is not recognized.

Hello everyone,
So, yesterday I installed Multiverse-Core on my server. It worked fine, and I got to import all my worlds successfully. When I restarted my server, I tried typing in /mv in chat, but it would say Unknown command. Type /help for help. like I never installed it! When I type /plugins I can see multiverse enabled. Can someone please help me?
Thank you,
xHyperSource.

Hi, which Multiverse version? Can you try /mv in console? Perhaps you don't have permissions. While loading up, check to see what Multiverse says (does it say it failed to start up and was disabled?).

Closing ticket due to lack of information. Please open a new ticket with more valid information if this issue is still occurring in the latest versions or for a faster response, you can also receive support on the Multiverse Discord.

Jadiction Help me


DELETE not working on sectors

Gives 204, but the sector is still there after reload

Does this relate to the search index?

what is the path you use? It is not a regular CRUD delete DELETE /sector/{key}' which should give you a 405. But instead an asynchroneous sector deletion should be triggered in the assembly resource which also removes catalogue data DELETE /assembly/3/sync/{sectorKey}`

I use:
DELETE https://api-dev.col.plus/assembly/3/sync/2876

The resource assembly paths are confusing.
The sync delete I mentioned and you use are canceling a scheduled or running sync just like with imports. To delete the sector it is this:
DELETE https://api-dev.col.plus/assembly/3/sector/2876
Now that we have a single backend I am inclined to move all sector related things under /sector/{key}.
Would this not be better?
CRUD sector:
POST https://api-dev.col.plus/sector
GET https://api-dev.col.plus/sector/2876
PUT https://api-dev.col.plus/sector/2876
DELETE https://api-dev.col.plus/sector/2876
schedule syncs and cancel them
POST https://api-dev.col.plus/sector/2876/sync
DELETE https://api-dev.col.plus/sector/2876/sync
list sync metadata/get specific attempt
GET https://api-dev.col.plus/sector/2876/sync
GET https://api-dev.col.plus/sector/2876/sync/{attempt}
list sync queue/history
GET https://api-dev.col.plus/dataset/{catalogueKey}/sync

moved path discussion to #364

sector deletes are working for me.
There was a bug when deleting sector that caused the sectors themselves to remain, only deleting the taxa. Fixed in https://github.com/Sp2000/colplus-backend/commit/dd109a4374898c95ca68f7a710defb90b18d5d31

Sector deletes aren't working again:
DELETE https://api-dev.col.plus/sector/20018

204 No Content

GET https://api-dev.col.plus/sector/20018

200 OK
{
  "created": "2019-11-06T17:58:17.659205",
  "createdBy": 102,
  "modified": "2019-11-06T18:00:19.054853",
  "modifiedBy": 102,
  "key": 20018,
  "datasetKey": 3,
  "target": {
    "id": "77ee75a5-a4d0-4837-b99c-815ce0d3a2f7",
    "name": "Maxillopoda",
    "rank": "class"
  },
  "subjectDatasetKey": 2066,
  "subject": {
    "name": "Lycopodiacae",
    "rank": "family"
  },
  "mode": "attach"
}

Whatever the problem is, it's specific to sector 20018, because delete works for other sectors.


Fix announce_list type

Now in aria2 rpc response announce_list in BittorrentStatus is sequence not String directly

Thanks for your contribution! I will release this fix soon in 0.5.0.
Reference to the document: https://aria2.github.io/manual/en/html/aria2c.html#aria2.tellStatus
bittorrent > announceList

0.5.0 has been released with other improvements.


Search from member does not work properly on Elkarte 2.0

To Reproduce
Steps to reproduce the behavior:

Go to Search https://www.elkarte.net/community/index.php?action=search
Enter some text to search for and choose a member
You will get posts from other members too
I searched for "update" only in my posts, that showed 23 pages of results, I searched "update" from all members and that showed 25 pages of results.

Expected behavior
I expect to see only results from a member, not all members

hmm...
Seems to be related to the use of indexes... With no index it works just fine. I guess I messed up the search last time I touched it. :-\
Let's see if I can fix anything or just make it worse.

Okay, easier than expected for once. :D


Update s3, sdk-core, sqs to 2.17.292

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

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

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

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

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

Superseded by #554.


Implicit OAuth needs to be enabled for the application

If you follow the steps to configure postman you get following error after login:  AADSTS700051: response_type 'token' is not enabled for the application.
Probably you should mention that the application created needs to allow implicit oauth flow or link to https://docs.microsoft.com/en-us/skype-sdk/websdk/docs/troubleshooting/auth/aadauth-enableimplicitoauth
If you disagree, just close this issue.

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

ID: 378ff27b-02f8-61fa-ea35-50d627c5560e
Version Independent ID: 08b02e21-60a1-2860-a739-e9c3d0ec505e
Content: Setup a Postman environment(Developer Guide for Dynamics 365 Customer Engagement)
Content Source: ce/developer/webapi/setup-postman-environment.md
Service: crm-online
GitHub Login: @sushantsikka
Microsoft Alias: susikka

@WtfJoke thanks for raising this issue. You are right, setting oauth2AllowImplicitFlow property to true in the manifest while registering app on Azure AD is important. But this is out of scope for Postman docs, where we have provided a valid client id that users can use to generate an access token, which means they can skip the steps of registering their app on Azure AD and just get on with using Web API with Postman application.
Info about oauth2AllowImplicitFlow property is mentioned in this doc Use OAuth with Cross-Origin Resource Sharing to connect a Single Page Application to Dynamics 365.
Please comment below if you have any further query on this, else kindly close this issue.


Specifies the order of the type var of the function 'modifying'

--  The default type var order is inconvenient to use
modifying :: forall (k :: OpticKind) s (sig :: (Type -> Type) -> Type -> Type)
       (m :: Type -> Type) (is :: IxList) a b.(Is k A_Setter, Has (State s) sig m) => Optic k is s s a b -> (a -> b) -> m ()
-- example
modifying @_ @Player #damage (+ enemyAttack)

Thanks for this! This is a breaking change, but we should do it, so next version will be a major version bump.


Readme

Hi! 😄
Just wanted to leave a comment regarding

This plugin is so simple that it probably doesn't need any documentation

You are probably right, but some might want to see what it does without starring at pictures 😄 and that before installing it. The Readme is there to give a good first impression. Tell something about the plugin and who needs and why!
Keep it going, I like your plugins 😎👍🏻

@berot3 Thanks for your encouragement. I believe I already state the purpose of the plugin in the first line of readme, combining the photos and youtube video, should be enough for people to understand.


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

would this be the home page?


Backend docker build not cached

It's pulling the postgres key using HTTP so docker isn't caching that layer which adds a bit of extra time as it needs to run the apt-get install each time.

Docker doesn't care if the commands access network, the only way to force a cache invalidation is if the command string changes or an environment variable changes.

I think this is a non-issue then


Move to latest Gradle API and best practices

This is not a request but a proposal. @int128 if you would like to see this done, I will provide a PR with the changes. But since this is a larger change, I want to ask first.
Describe the feature
We are using this plugin in a project with Kotlin DSL and noticed that the plugin lacks behind in some of the latest Gradle features we would like to consistently use in our project:

Lazy configuration types for task inputs/outputs (e.g. DirectoryProvider instead of File)
TaskProvider<MyTask> instead of MyTask in API/DSL for task configuration avoidance
No Groovy specific types in public API (like Closure) to be Kotlin DSL friendly
@CompileStatic for Groovy code to be more performant at configuration times.

Why do you want the feature?
We would like to consistently use the features listed above in out build together with this plugin.
Notes:

If I do the change, I would attempt to not change the existing DSL for Groovy. E.g., even if we change from File to DirectoryProperty, you can still assign a File. You just also can assign lazy typed values  - Provider<Directory> - as well.
Still, these will be 'API changes' and you might want to increase the major version of the plugin with this change.

Let me know if there are any concerns. If you would like to see this contributed, I would give it a try in a few days.

@int128 ping?

bump on this? interested. especially wiht gradle 8.0 and whatever potentials are to be had by that

I am still interested in contributing this.

I am interested in contributing

I have started some work in https://github.com/int128/gradle-swagger-generator-plugin/pull/409 to make the plugin configuration cache compatible, which is the minimum we need to continue using it.
I would use that as the base to resolve this issue. It already moves a few things to "current best practices".


Could not resolve 'vue'

rollup.config.js
import nodeResolve from 'rollup-plugin-node-resolve'

export default {
    entry: 'src/bootstrap.js',

    plugins: [
        nodeResolve()
    ],

    dest: 'dist/app.js'
}

What I've got:
Could not resolve 'vue' from /Users/belyaev/www/vuex-tutorial/src/bootstrap.js
Error: Could not resolve 'vue' from /Users/belyaev/www/vuex-tutorial/src/bootstrap.js
    at Error (native)
    at /Users/belyaev/www/vuex-tutorial/node_modules/rollup-plugin-node-resolve/dist/rollup-plugin-node-resolve.cjs.js:78:21
    at /Users/belyaev/www/vuex-tutorial/node_modules/resolve/lib/async.js:46:14
    at process (/Users/belyaev/www/vuex-tutorial/node_modules/resolve/lib/async.js:173:43)
    at ondir (/Users/belyaev/www/vuex-tutorial/node_modules/resolve/lib/async.js:188:17)
    at load (/Users/belyaev/www/vuex-tutorial/node_modules/resolve/lib/async.js:69:43)
    at onex (/Users/belyaev/www/vuex-tutorial/node_modules/resolve/lib/async.js:92:31)
    at /Users/belyaev/www/vuex-tutorial/node_modules/resolve/lib/async.js:22:47
    at FSReqWrap.oncomplete (fs.js:82:15)
Type rollup --help for help, or visit https://github.com/rollup/rollup/wiki

Do you have vue in your dependenvies?

Weird. I can't reproduce. I got this because vue package is commonjs.
Module D:\_host\sandbox\rollup-sandbox\v\node_modules\vue\dist\vue.common.js does not export default (imported by D:\_ho
st\sandbox\rollup-sandbox\v\src\bootstrap.js)

Should be something wrong with my build. Made new one and it's working. Sorry for that.


Allow removing user from groups via user profile.

In the User groups tab of the user profile, we add a "Remove" button to the row for each group.
Adding tooltip for disabled buttons is remaining
Fixes: zulip#32487.

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

now checks can_leave_group and manage_user_group for remove button to work. Also renamed classes and variables

Looks good. Do you plan to complete the tooltip part soon in this PR itself?

Added tooltip for disabled button

Changed string and also added tooltip string for checking own user profile.

With those tweaks, this looks good to merge, thanks @pratik-pc! Some minor follow-ups noted above; I'm not sure any are worth a formal issue for, as we'll probably notice them during further work on this code path if it proves annoying.


Test Hyperledger Fabric Chaincode API

Tutorial URL: https://developers.sap.com/tutorials/blockchain-test-chaincode.html
Please specify the step you are referring to

all steps

Problem

Images are not shown/loaded. (404 error in chrome dev tools)

@thecodester - the images are appearing for me currently, can you see any issues?

@nimble-123 Can you clear cache and try again?

my bad, clearing cache did the trick :) thx for this fast support!


Rework /help command

Complete the following REQUIRED checkboxes:

[x] I have thoroughly read and understand The Odin Project Contributing Guide

[x] The title of this issue follows the Bug - location of bug: brief description of bug format, e.g. Bug - points command: Extra whitespace causes command to not be called

The following checkbox is OPTIONAL:

[ ] I would like to be assigned this issue to work on it

1. Description of the Bug:

Currently, the /help command prints out information about the points system and !leaderboard. We moved away from !leaderboard command, and the current information is given about the points system is better covered in our current subcommand /points info.
Here is a side by side comparison :

A rework of /help is in order, to be more modern and concise with all the changes we have already been doing with the bot, moving away from it giving information about the points system to something more helpful for beginners. It can even have multiple subcommands we could squash together some of the other commands into it as well.
One possibility is to put a brief descriptions and introduction to how to use/discover the slash commands on the server, and some general information about the rules, channels or links to articles about them.
This issue is open for discussion of how to proceed.
2. How To Reproduce:

Use /help command on discord.

I am looking to contribute to the bot and am willing to mock something up for an improved /help command, based on the ideas above.
Would that be ok?

@JustWaveThings I believe that your question was for maintainers, but in case it was aimed at me, then of course yes, that would be a great idea, and thank you for wanting to take this on.

Thank you @Mclilzee! This was a good call-out.
Sorry, I wasn't clear. I was looking for a maintainer's approval for a go-ahead.

Hi @JustWaveThings
This is a great idea. I've assigned it to you. We already spoke about some ideas in discord and probably you have some thoughts of your own about it. Curious to see your ideas and what you decide on!
We can discuss the changes further on the PR if/as needed.

https://discord.com/channels/505093832157691914/1154146232063770747/1155877694660161676
Crossposting this from Discord.
So initial thoughts after some poking around.
I think the help command could emulate the points command in structure. /help would bring up all the help options like /points does:

Making the help command like this would give it much more flexibility to include what the asker wants without having a large embed trying to cover all the bases.
To do this, I would emulate most of what is in points.service.js
I am going to wait for feedback though before going down this route.
I am going to cross-post this to the issue in the bot repo.
Open to thoughts/suggestions/things to watch out for, as always!

This is a great idea, it's what I initially had in mind, our commands have been growing in numbers, and we need to start using sub commands more to keep it concise without adding too many related commands into the API.
Maybe look at our current commands and see what are available, that can be potential candidate to the subcommands of help too. For example, the command /data could be a potential candidate for /help asking-questions or /help questions

Just so it doesn't get lost, I've opened a PR that's ready for some more feedback in #450.

Just want to check if there's anything still further that might need doing for this issue?

Looks like the PR has been merged, this issue should be safe to close. If however, something comes up that is related, we can just submit a new issue.


Protect hooks does not support dot notation

I can not protect my field author.password after a fastJoin and local.hooks.protect.
https://github.com/lodash/lodash/issues/3754
The problem here is that the package 'lodash.omit' does not support dot notation:
https://github.com/feathersjs/authentication-local/blob/aec93424d3181b55679919821eeeb31354f1114d/lib/hooks/protect.js#L9

The local.hooks.protect of the users service call in my fastJoin resolver does not omit the password due to the missing provider params, and if I provide them I do not pass my authentication hooks for external calls.
https://github.com/feathersjs/authentication-local/blob/aec93424d3181b55679919821eeeb31354f1114d/lib/hooks/protect.js#L26-L28

Fixed in v1.1.2


PATH for both shells

I had something in my ~/.zshrc, the eager-beaver rvm wrote something into it, but I never use zsh. This script forgot to append my .bashrc mistakenly.
Also I need to start a new shell or load the rc by hand if PATH is not exported here.

LGTM, thanks :+1:


revised deployment mode

addressing the auto deployment mode to call out device is in shared mode until it is assigned.

@simorjay : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jborsecnik : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Got error while add new metadata record

It is an  KeyError: 'id'  form form_snippets/custom_select_field in new dataset page

fixed with #316

No issues when adding new metadata records. Multiple metadata records have been added during testing.


implement chunks property

implementing chunks property for datasets and using that for recursive copy.

Codecov Report
Attention: Patch coverage is 25.00000% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 82.22%. Comparing base (96a896b) to head (fa53f2e).

Files
Patch %
Lines

lindi/LindiH5pyFile/LindiH5pyDataset.py
28.57%
5 Missing :warning:

lindi/LindiH5pyFile/LindiH5pyFile.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
- Coverage   82.44%   82.22%   -0.23%
==========================================
  Files          25       25
  Lines        1692     1699       +7
==========================================
+ Hits         1395     1397       +2
- Misses        297      302       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update newrelic-agent to 7.10.0

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

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.newrelic.agent.java", artifactId = "newrelic-agent" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.newrelic.agent.java", artifactId = "newrelic-agent" }
}]

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

Superseded by #202.


ms-resource apps in new user profile

After I use this script on administrator account then I log into a new user profile I get these in the start menu.

It looks like those are the leftover tiles. What happens if you restart once more? Do they stick around or do they disappear?

I've restarted twice since then. And they stick around everytime.

What version of Windows? And what edition? Is it fully updated?

v1709 Enterprise x64. Fully updated.
This issue doesn't happen on the source image. Only when I run the script after I've imaged a PC with MDT.

I haven't used MDT before, although I know what it is, but perhaps that could be it. I know of a Reddit user that uses the script with MDT and receives clean results. I wish I could help you better with the script and MDT combo...
If you'd like to ask him/her questions regarding that, contact them about their process  - /u/a60wattfish


mobile: android/arm build broken

missing symbols _rt0_arm_android_lib
https://groups.google.com/forum/#!topic/golang-nuts/OSi2lPlF4O0
/Users/mhawkins/Library/go/pkg/gomobile/android-ndk-r10d/arm/bin/toolexec /Users/mhawkins/src/go/pkg/tool/darwin_amd64/5l -o /var/folders/9s/_chc2vkd5l3d7251t9sflgk5759k1h/T/gomobile-bind-work-343039510/android/src/main/jniLibs/armeabi-v7a/libgojni.so -L $WORK -L /Users/mhawkins/Library/go/pkg/android_arm -extld=/Users/mhawkins/Library/go/pkg/gomobile/android-ndk-r10d/arm/bin/arm-linux-androideabi-gcc -shared $WORK/command-line-arguments.a
command-line-arguments
_rt0_arm_android_lib.ptr: _rt0_arm_android_lib: not defined
_rt0_arm_android_lib.ptr: undefined: _rt0_arm_android_lib
exit status 2
@crawshaw Probably related to https://go-review.googlesource.com/#/c/7692 and friends CLs?

Yes, it looks like cl/7692. I believe cl/8457 will eventually fix this, but there are some sticking points in that. I'll try to prepare an intermediate CL to fix the build.

(It's also a little distressing that we don't have tests for this, I'll try to get to that soon.)


qemu fails building EC2 AMI: CPU model ‘host’ requires KVM

Describe the bug
When trying to generate an EC2 AMI, qemu fails with:

qemu-system-x86_64: CPU model ‘host’ requires KVM

This has been reported by someone else in the NixOS Discourse too: https://discourse.nixos.org/t/new-constraint-between-release-19-09-and-20-03-in-package-qemu/6297
I've tried reverting https://github.com/NixOS/nixpkgs/commit/2bd296a7e9551fcc74330460d6bf47810a8f9555 and it succeeds for me, noting that's the commit that introduced the problem.
To Reproduce
Steps to reproduce the behavior:

Launch an EC2 instance
Run the following:

$ export NIXOS=/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/
$ nix-build -A amazonImage.x86_64-linux $NIXOS/release.nix

Expected behavior
Qemu would succeed in creating a disk image
Notify maintainers
cc @volth who's the author of the referenced commit. I'm not sure what the right fix is here, so would appreciate some guidance.

https://github.com/NixOS/nixpkgs/pull/83920 should fix nested virtualization

Oh cool! I missed that. I suppose this can be closed then. Thanks for the link

I faced the same issue and reverting was the only option that worked. The proposed solution in #83920 didn't work. Still getting the same error message.


Update captive-portal spec

I looked around for what Microsoft, Google, and Apple do for captive portal detection these days and wrote a test for it in measurement-kit here:
https://github.com/measurement-kit/measurement-kit/pull/1238
I'm proposing a different report format here.

I am mostly okay with these changes. What I am wondering is whether it would perhaps be possible to keep similar keys to the previous version, so to have a common parser that is able to parse either version 0.3 or version 0.4 (equal to 0.3 but with more keys).
Another aspect that I think should be emphasized is that you say you have checked what is currently being done nowadays by the vendors. Since this seems to be different from what we were doing previously, I was thinking that perhaps you should document the sources from which you did ready what they do, so they are here for the records.
I'd also like to see whether @hellais, also pinged here has further comments.

Why was this PR closed?

I think the main point of friction is whether or not we can preserve some minimal amount of backward compatibility for the test or if it's necessary to just scratch everything and re-do it from scratch.

Ah, I was going to re-open another PR here that just added citations for the methodology. I think we can keep the report format (working on that now).

Ok, never mind, some key names have to be added, so let's keep this PR open and I'll modify it.

@bassosimone is this reflecting the current state of MK (the v0.4 of the spec in this PR claims to explain MK behavior)? if so, we should merge this

I updated the section header and am merging this.


Default beta range can produce poor results for certain problems

Description
The method that chooses a beta range when none is provided in a sample call will choose a very poor range for some basic problems.
To Reproduce
It's easy to see the bad behavior with h only problems. The beta picking method always chooses 0.1 for the initial beta, so if we choose h with values smaller than this, we get quite bad results.
>>> h = {v: 0.001*np.random.choice((-1, 1)) for v in range(100)}
>>> np.mean(sampler.sample_ising(h, {}, num_reads=1000).record.energy)
0.00016000000000000015

Less damning but still important to note is the behavior with h = +/-0.5:
>>> h = {v: np.random.choice((-0.5, 0.5)) for v in range(100)}
>>> np.mean(sampler.sample_ising(h, {}, num_reads=1000).record.energy)
-23.082

Expected behavior
neal should give back reasonably low energy results without providing a beta range, especially on very easy problems.

Unfortunately, I just discovered that by passing in a beta range on a problem I had lowered the mean energy from -974.7 to -1396.0 with default parameters.
In [10]: np.mean(sampler.sample_qubo(Q).record.energy)
Out[10]: -974.7

In [11]: np.mean(sampler.sample_qubo(Q, beta_range=[0.01, 10]).record.energy)
Out[11]: -1396.0

Q is a 12x12x12 cubic lattice with Q in {-1, 1}. I think this shows there is more work to do.


Fix PlotWindow tabbed dock widget management

This PR fixes the handling of tabbed dock widget in the PlotWindow by overriding removeDockWidget and adds a small test  for it.
closes #2940

Random segfaults in the test with PySide2 apparently in gc.collect() (https://github.com/silx-kit/silx/blob/master/silx/gui/utils/testutils.py#L171).

I have restarted the job. There was a segfault in travis Python 3.5 PySide2

Oups, dup.

Actually due to calling self.plot.layout().... weird

should be fixed now.

Tested with Flint


Components that accept bind-Something can request SomethingExpression

This is needed for the forms and validation enhancements in Components for Preview 3. It extends the pattern around binding to component properties with a new optional "*Expression" parameter, e.g.:
    [Parameter] DateTime StartDate { get; set; }
    [Parameter] Action<DateTime> StartDateChanged { get; set; }
    [Parameter] Expression<Func<DateTime>> StartDateExpression { get; set; } // This is new

It's optional, so if the component doesn't declare *Expression, then there's no change to the generated code versus what we had before.
If the component does declare *Expression (where * is something our existing rules match for binding based on the presence of *Changed), then when a consumer uses the binding, e.g.:
    <MyEditor<EMAIL_ADDRESS>/>

... then it expands to be equivalent to:
    <MyEditor ... StartDateExpression="@(() => model.StartDate)" />

This makes it possible for MyEditor to read any metadata it wants about the thing you're binding to (e.g., validation annotations). What we actually use it for in the new built-in forms/validation system is uniquely identifying the bound field within the EditContext, so for example MyEditor could highlight different states based on whether that field is currently tracked as modified/invalid/etc.
Note: This is only for binding to components. There's no equivalent when binding to plain elements, since plain elements have no way of declaring that they want *Expression (and no reason why they should, since they couldn't do anything with it).

@NTaylorMullen FYI in case you are interesting. Dopeness is happening.


Embedded build(s) to create .s19 srec

Embedded builds (i.e., those creating ELF and HEX files for embedded targets) should create SREC file output, in addition to IHEX file output.
Use something like:
objcopy ref_app.elf -O srec --srec-forceS3 --srec-len=16 ref_app.s19

See also #18


Toadua search

Replaces the ID-based UI with a Toadua search bar and a multi-select list view:

Thanks so much!


Skip when a test doesn't match the value or retrieve none

Method get_tag_value_in_given_dict_by_path of BasePageObject is not working as expected. When we evaluate the path of a yaml variable in the dict parsed from a get config response and the result of the evaluation is a list of elements (like more than one subinterface or protocols) the type of the result of the evaluation is a list. The software doesn't handle properly the list and threats it as a dict causing errors that doesn't seem to show. For making the tests run as expected we have to be sure to not get a list from the evaluation of the yaml variable path in the parsed response dict. We achieve this by deleting manually the items of a list in the router (Like deleting all the subinterfaces of the interface we want to test)


[Feature Request] Folia support

Can you please add Folia support?
All that you need to do is replace the Bukkit.getScheduler calls with UniversalScheduler:
https://github.com/Anon8281/UniversalScheduler
Also add folia-supported: true to plugin.yml.

I'll see if I can add that. Sorry for not responding that quickly, don't use github issues that often haha

Hey sorry for the late response but I’ve successfully replaced all the schedule methods with ones that support folia. I don’t have the hardware to test it but it should work right now!


cursor path and statistics before target appearance

Adding an option that allows to show cursor path before target appearance and to measure cursor movement/calculate outcome parameters:

At the moment, there is the option that allows to move the cursor before target appearance (deselecting option “freeze cursor until target is displayed”). However, the cursor path of the movement before target appearance is not displayed and the statistics/outcome parameters are not calculated for this movement/time. In some cases/experiments we would like to collect the cursor path and statistics of the movement before target appearance. For example, the participants are instructed to learn a fixed sequence (e.g. a sequence of 8 targets over 200 repetitions) and we want to measure if the participants can anticipate the target location (i.e. movement to the target takes place before the target is displayed). Therefore, an option that allows to display/measure the cursor path and calculate statistics including the movement before target appearance would be great. In this case, the calculation of the statistics would be similar. However, the “reaction time to target” would be negative if the participants moves the cursor before target appearance and positive if the cursor is moved after target appearance.

(2nd priority)


please have debian package versioning follow the ami version

Instead of 0.1-SNAPSHOT, please consider using the versions used for AMI releases, which is 0.2.24 now.

Exactly what we will be doing in the next few days
On Wed, Apr 27, 2016 at 11:53 PM, Egon Willighⓐgen 0000-0001-7542-0286 <
<EMAIL_ADDRESS>wrote:

Instead of 0.1-SNAPSHOT, please consider using the versions used for AMI
releases, which is 0.2.24 now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/ContentMine/ami/issues/53

--
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069

I believe this is fixed now.


[bug] webui config version error

Using the docker-compose.yaml file of this repo to launch fre5gc cannot successfully run the webui container, and the log reports version incompatible error.
Details
# installed gtp5g kernel module
git clone https://github.com/free5gc/free5gc-compose.git && cd free5gc-compose

docker compose pull
docker compose up

And here are the errors of the log output
webui     | 2024-03-18T16:23:52.250276032Z [ERRO][WEBUI][CFG] invalid Info.Version: 1.0.2 does not validate as in(1.0.1)
webui     | 2024-03-18T16:23:52.251592308Z [ERRO][WEBUI][CFG] [-- PLEASE REFER TO SAMPLE CONFIG FILE COMMENTS --]
webui     | 2024-03-18T16:23:52.253228089Z [ERRO][WEBUI][Main] WEBUI Run error: Config validate Error

Full log output please see here.
free5gc-compose-experiment.log
After modifying the version field of config/webuicfg.yaml from 1.0.2 to 1.0.1, the error message gone and the container runs normal.
Possible Reasons
The docker-compose.yaml file  uses webui:v3.3.0, which was built from free5gc/webconsole v1.2.0 .
In https://github.com/free5gc/webconsole/blob/v1.2.0/backend/factory/config.go , the Info struct requires the config version to be 1.0.1.

type Info struct {
	Version     string `yaml:"version,omitempty" valid:"required,in(1.0.1)"`
	Description string `yaml:"description,omitempty" valid:"type(string)"`
}

but the the version of config/webuicfg.yaml  file is 1.0.2

Hi, @ruiqizhu-ricky
As the webconsole is going to support charging functionality, we have pre-updated the config, resulting in compatibility issues.
You can attempt to reset the current git HEAD to commit #d04baa5 or an earlier version.
git reset --hard d04baa5
# or try v3.3.0
git checkout v3.3.0

Regards,


[CI/CD] Add security frameworks for testing

Add security tool for testing Kubernetes deployments, helm charts and yaml files.

This issue is closed as the project is no longer maintained


#362 kmz exporter allow user to specify output directory

Javadoc comments dont start with a capital letter.  That is a nitpick, but it seems to be the case for all the docs i saw in this PR.


Error on build

I tried building the project without changing any of the source code, and I get this error in VS2015.
Error	CS0592	Attribute 'Alias' is not valid on this declaration type. It is only valid on 'property, indexer, field' declarations.
One line that causes the error:
[Alias("4n6dd")]
I get it for the following files:
...\Cmdlets\BinShred\BinShredCommand.cs	11
...\Cmdlets\ForensicTimeline\Get-ForensicTimeline.cs	16
...\Cmdlets\Utilities\Get-ForensicChildItem.cs	9
...\Cmdlets\Utilities\Get-ForensicContent.cs	12
...\Cmdlets\Utilities\Invoke-ForensicDD.cs	12
Is there some setting I need to change?

You can just remove the [Alias()] block from the code.  Doesn't really
affect anything.  I've found that the Alias block is not available in all
versions of the System.Management.Automation assembly, so I am actually
removing it from the next release anyway.
On Fri, Jan 29, 2016 at 12:31 AM, James Habben<EMAIL_ADDRESS>wrote:

I tried building the project without changing any of the source code, and
I get this error in VS2015
Error CS0592 Attribute 'Alias' is not valid on this declaration type It is
only valid on 'property, indexer, field' declarations
One line that causes the error:
[Alias("4n6dd")]
I get it for the following files:
\Cmdlets\BinShred\BinShredCommandcs 11
\Cmdlets\ForensicTimeline\Get-ForensicTimelinecs 16
\Cmdlets\Utilities\Get-ForensicChildItemcs 9
\Cmdlets\Utilities\Get-ForensicContentcs 12
\Cmdlets\Utilities\Invoke-ForensicDDcs 12
Is there some setting I need to change?
—
Reply to this email directly or view it on GitHub
https://github.com/Invoke-IR/PowerForensics/issues/133.

Your latest commit removed most of them, and that fixed the build problem.
Is there an easier way of using these built DLL's or do I have to follow the instructions on your readme every time I make a build?

Can you check to see if this is still an issue in the latest commit?


Spyder crashes on wake, Mac OSX Sierra

Description of your problem
I have installed Spyder through Anaconda Navigator. Spyder launches fine, but will crash after sleep/wake.
I'm on Mac 10.12.1 (16B2657), 2016 Macbook Pro, 16GB
Spyder 3.1.3
Python 2.7.13 64bits, Qt 5.6.2, PyQt5 5.6 on Darwin
It seems to happen every time, I close my lid then re-open after a couple of minutes.

This is a know issue. Unfortunately, we don't know how to fix it, sorry.


chore: move turborepo tests to primary workflow

Also make sure to remove the old workflow files in this PR too

Closing in favor of #2854


NAV Container goes "Unhealthy" while running ATT

Hi, I have been trying to run the automated test tool in docker container for NAV2017, NAV2018 and Business Central.  There are about 20,000 tests and I am running them via the CAL Test Tool page. The application dies after running about 6000 tests.  I have checked the docker logs and it is showing the container is unhealthy.  The last error which appears is
EntryType     : Error
Message       : There is insufficient system memory in resource pool
'internal' to run this query.
The container shows the following:
CONTAINER ID        IMAGE                                                   COMMAND                  CREAT
ED             STATUS                             PORTS                                                NAM
ES
b02c9b133196        microsoft/dynamics-nav:2018-cu4-na                      "powershell -Commandâ€¦"   2 d
ays ago          Up 2 hours (unhealthy)             80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 8080/tcp
To workaround this, I have had to stop the container and restart it then continue the test run from the point where it failed.  Is there a better way?  I have been watching my memory usage and looks like I have some room but not much.

How much memory have you given the container?
Are you running Windows 10 or Windows 2016?
How much memory on the host?

I’m using windows 10 with 12g. I pull the container with 4g.
On Jul 16, 2018, at 11:37 AM, Freddy Kristiansen <notifications<EMAIL_ADDRESS>wrote:
How much memory have you given the container?
Are you running Windows 10 or Windows 2016?
How much memory on the host?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/nav-docker/issues/235#issuecomment-405289369, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbTKpO3XLS8Ybs50xFo3MAHUOaDUEFokks5uHLMsgaJpZM4VPZdQ.

4g isn't enough for everything and I expect this to simply be because the container is running out of memory. You could start this with more memory, or you could run process isolation (only on Windows Server) which would allow the container to share the memory pool from the host without pre-allocating.


[BUG] Inconsistent display for Download YAML and Delete buttons

Describe the bug

In Hosts/Volumes/Images/SSH keys pages, the Download YAML and Delete buttons are shown by default.
In VMs/Templates/Users pages, they are displayed when an item is selected.
In Backups/Networks page, the Download YAML button is not available
To Reproduce
Check the UI

In Backups page, the Download YAML button is not available

@futuretea   The user does not need to download the backup yaml file, because the relevant content is stored in the backupcontent, so the download button is disabled in this place

validated on master-head


feat: match npm semantics exactly for installs and updates

Currently some tests are failing due to the new behaviour, I'm still working
my way through them. There's a script you can run at test/npm-compatibility/
that will test the behaviour of npm for updates/installs in a bunch of different
scenarios, and tests that make sure the behaviour of the generator is aligned.

npm install <pkg> bumps the version of <pkg> to latest, and only bumps
transitive dependencies if they're out of range.
npm update <pkg> has exactly the same behaviour as 1 in all tested cases.
npm install bumps the versions of anything that is out of range, but keeps
versions of in-range primaries and secondaries.
npm update bumps the versions of everthing to latest.

The changes to latest that I've made:

the latest and freeze generator options have both been deprecated in
favour of a ResolutionOptions object that you can optionally pass into
install/link/update.
ResolutionsOptions contains mode, latestPrimaries, latestSecondaries
and freeze fields. I had to split into the two cases for latest to make
sure that npm install <pkg> doesn't bump secondaries, but does bump
primaries.
When none of the latest/freeze resolution options are set, the default
is to take existing locks whenever they are in range.

So I've replaced all of the free/latest/mode options and replaced them with a single mode parameter that controls existing locks:

"default" bumps out of range locks, but keeps in-range locks.
"latest-primaries" bumps primary locks, same behaviour as "default" for secondaries.
"latest-all" bumps all touched locks.
"freeze" uses existing locks whenever possible, even if they are out-of-range.


fetch service worker script with proper headers

A test case would be nice to have, but who has time for that? :)


Does elasticlunr support exact match?

Just curious to know if elasticlunr.js support exact match or any workaround to mimic exact match?
By exact match I mean support for searching a term is phrase like "elasticlunrjs is great".

Sorry, there is no exact match now.
currently elasticlunr.js is just a simple index model and do not support exact match.
Maybe in future we could support exact match and more feature.


Do not perform the overlap check on user chosen pool

This PR is to restore this behavior which was inadvertently changed by recent changes
Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

Given #1130 is there, will have this fix as part of that PR.

LGTM


I need to measure latency of calls

Hi
I am writing a client via Alamofire.
    // Asynchronously make a get request to the end point.

Alamofire.request(.GET, escapedUrlPath, headers:customHeaderPayLoad).validate().responseJSON { response in
        let latency = response.timeline.latency
        print(latency)

        switch response.result {
        case .Success(let data):
            successCallback(data: data)
            self.recordLatency(latency)
        case .Failure(let error):
    }

My question is that since Alamofire caches responses by default, the first call has high latency (e.g 0.5 seconds) and subsequent calls on the same url are much faster (0.01 seconds).
I need a mechanism to only record calls when response did not come from a cache.

Wouldn't the low latency itself be an indicator that it came back from cache? I suggest you ask this on Stack Overflow, you'll likely get better ideas there.
Cheers. 🍻

@Khalian I just realized that, if you're running on the latest OSes, the URLSessionTaskMetrics contained one each response will have the information you're looking for. See our Migration Guide for more info.


HorizontalDragDetector doesn't work with HasTapableComponents

Description
I want to add horizontal swipe gesture to my app. I added HorizontalDragDetector to my game but drag is not detected. It seems it doesn't work if HasTapableComponents is there.
Example code:
https://github.com/daisy1754/flame/commit/7e3c95cf418714d6eec6d355fd8d7503f5be40e2
Is this bug or intended behaviour? https://flame-engine.org/docs/input.md says "Many of these detectors can conflict with each other" but it doesn't mention specifics nor there is no documentation on  HorizontalDragDetector mixin code.
If this is intended behaviour, it would be great if I can get

documentation around what would conflict with what
guidance on how to implement swipe detection on existing game with HasTapableComponents

Development environment
Flame version: 0.27.0
Runtime
I tested with ios simulator
Minimal reproducible code (Required for bugs)
https://github.com/daisy1754/flame/commit/7e3c95cf418714d6eec6d355fd8d7503f5be40e2

HasTapableComponents  Makes uses of "advanced" detectors, HorizontalDragDetector is a "basic" detector, when mixing advanced and basic detectors, only the advanced will work. To have drag support on your game, together with the tapable components, you will need to use MultiTouchDragDetector instead.

@erickzanardo is there a way to know which ones are advanced and which ones are basic?

Yeah, basically all the ones who has MultiTouch prefix are advanced, here you can find some better explanation: https://flame-engine.org/docs/input.md#touch-and-mouse-detectors

hm but I guess the fact that HasTapableComponents uses advanced detector is not very clear. If you want to implement basic touch functionality to your app you would use HasTapableComponents so I assume most of people use advanced detectors without knowing it

hm but I guess the fact that HasTapableComponents uses advanced detector is not very clear. If you want to implement basic touch functionality to your app you would use HasTapableComponents so I assume most of people use advanced detectors without knowing it

You are correct, this is not very clear on our docs. I have assembled a PR to fix that for v1. Thanks for bringing this to our attention.

I guess we can close this now, right @erickzanardo?


Review

Please review, @mario-er

Description of repository
Repository contains two functions for basic calculation of investment costs and replacement costs of an ESS, saved in the utils.py file. Main file calculates the costs based on predefined inputs and prints the results.
Tests are defined in test_utils.py and work as well as Github Actions as expected.
Tests

[X] License exists
[X] Create a fork and start a pull-request
[X] Pytests fails as expected
[X] Ruff linter fails as expected

Submission of second homework assignment, @danielhuppmann

@danielhuppmann I made an error in merging the pull request when I should have just let the test run. With the commits by @mario-er my code fails the two tests (it worked when I submitted it for homework 1).

Thanks for the notification @404milan, no need for you to take further action.


*: update to golang 1.22

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@mornyx many lint problems found. Pleaes help me to fix them 😢 You can push commits to this PR

When will we merge it?

It seems to be better to update to 1.21, which is consistent with PD
And we can update to 1.23 later

Replaced by #1709 , so close this PR first.


Add feature to get info of remote github(or other git) repo.

Summary 💡
Feature needs to parse .git repo (e.g https://github.com/voxelin/voxelTG.git) and return info of it. (Also can realise with github API)
Motivation 🔦
No response

@voxelin If you could give an example of what you want to see, that might help clear up misunderstandings.
e.g.
...
Last change: 5 days ago
Repo: https://github.com/foo/fork
Remotes:
         origin (https://github.com/foo/fork.git)
         upstream (https://github.com/foo/bar.git)
Commits: 123

I'm just guessing what you mean by "info of remote github(or other git) repo"
Or do you mean like these: https://github.com/o2sh/onefetch/issues/351 https://github.com/o2sh/onefetch/issues/63 https://github.com/o2sh/onefetch/issues/24
(I'm going to make a label like Blocked: Network Dependence because i'ts getting kind of hard to dig up these requests :laughing:)

Hi, I meant something like getting info of remote repo, without actually cloning it.

I think it can be done calling github API or smth

Thanks for clearing that up! We probably won't use the API.
I think this issue is a duplicate of https://github.com/o2sh/onefetch/issues/419
I'm not 100% against fetching a remote repo, but I don't know if the work is worth the reward when it's pretty easy to just clone it yourself.


Migrate to external start opensearch github action

Description
This PR uses the externalized start-opensearch action to start opensearch and install the build plugin artifact into it. This was used in security dashboards plugin as well, and decoupling this action was useful as well in case other plugins want to use it themselves. Additionally, this change allows the action to be used with or without security.
This PR deletes the workflow from the security branch and changes the plugin-install workflow to run using the external action.
Issues Resolved
None
Is this a backport? If so, please add backport PR # and/or commits #
No
Testing
Github actions passing
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[x] Commits are signed per the DCO using --signoff

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

Companion PR in the dashboards repo: https://github.com/opensearch-project/security-dashboards-plugin/pull/1783

There are several instances across many repos of Github actions hosted on forks.
Examples:

https://github.com/opensearch-project/security/blob/bd3415a63c6bf4ea513543a3c59b88b7be79563f/.github/workflows/automatic-merges.yml#L18
https://github.com/opensearch-project/job-scheduler/blob/f453c893a902923bbbc695919219ae0726136aea/.github/workflows/backport.yml#L26
https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/gradle-check.yml#L124

I think it makes sense to put these actions in a single repo. One concern I have with actions on forks is that it could produce errors if a fork gets deleted. Do you think its possible to using an existing OpenSearch repo? If not, do you think there's enough justification for creating a new repo to house actions used in repos across the ecosystem?

There are several instances across many repos of Github actions hosted on forks.
Examples:

https://github.com/opensearch-project/security/blob/bd3415a63c6bf4ea513543a3c59b88b7be79563f/.github/workflows/automatic-merges.yml#L18
https://github.com/opensearch-project/job-scheduler/blob/f453c893a902923bbbc695919219ae0726136aea/.github/workflows/backport.yml#L26
https://github.com/opensearch-project/OpenSearch/blob/main/.github/workflows/gradle-check.yml#L124

I think it makes sense to put these actions in a single repo. One concern I have with actions on forks is that it could produce errors if a fork gets deleted. Do you think its possible to using an existing OpenSearch repo? If not, do you think there's enough justification for creating a new repo to house actions used in repos across the ecosystem?

I did have this same thought, since it seems like running OpenSearch or OpenSearch Dashboards with or without plugins seems to be common throughout the org. I moved it into my own action to unblock myself for development. I think creating a shared repo may take some time, but I can start looking into the process.

Maybe we can even use: https://github.com/opensearch-project/.github/tree/main/.github. I will raise a PR contributing the work I have and see how maintainers there feel about this idea.

https://github.com/opensearch-project/.github/pull/190


Help with setup formArray with validation

Hi. There. First , thanks for the awesome library. I do like the fact the library build with pure function which angular native form is not.  I am in a POC stage of a project which use a lot of angular form array. I am trying to get my head around how to use ngrx-form library.
Requirement is:

Need be a form array.
Need be able to validate two fields in form array.

Here are code i come up so far. I am not sure whether i am on the right track.
Could someone point me to the right direction in validation part?
I got idea from https://ngrx-forms.readthedocs.io/en/master/user-guide/updating-the-state/
export interface MyFormArrayValue {
  memberNumber: string | null; // required
  amount: number | null; // required, greater than 0
}

export interface MyFormValue {
  someNumbers: MyFormArrayValue[];
}

export interface AppState {
  myForm: FormGroupState<MyFormValue>;
}

const FORM_ID = 'some globally unique string';

const initialFormState = createFormGroupState<MyFormValue>(FORM_ID, {
  someNumbers: [],
});

const initialState: AppState = {
  myForm: initialFormState,
};

const validateAndUpdateFormState = updateGroup<MyFormValue>({
  // TODO: validate form array
  });

const myFormReducer = createFormStateReducerWithUpdate<MyFormValue>(validateAndUpdateFormState);

export function appReducer(state = initialState, action: Action): AppState {
  const myForm = myFormReducer(state.myForm, action);
  if (myForm !== state.myForm) {
    state = { ...state, myForm };
  }

  switch (action.type) {
    case 'some action type':
      // modify state
      return state;

    default: {
      return state;
    }
  }
}

Read about updating-arrays and validation:
const validateAndUpdateFormState = updateGroup<MyFormValue>({
  someNumbers: updateArray({
    memberNumber: validate(required),
    amount: validate(required, greaterThan(0)),
  })
});

Everything else you pointed looks standard.

Thanks @dzonatan for prompt reply. I tried your suggestion.
I got compile error in following.
const validateAndUpdateFormState = updateGroup<MyFormValue>({
 someNumbers: updateArray({
   memberNumber: validate(required), // compile error
   amount: validate(required, greaterThan(0)),
 })
});

![image](https://user-images.githubusercontent.com/7380790/77902047-4e410400-72cc-11ea-8e1a-a75444d040fc.png)

Sorry. Missed updateGroup inside updateArray.
const validateAndUpdateFormState = updateGroup<MyFormValue>({
  someNumbers: updateArray(
    updateGroup({
      memberNumber: validate(required),
      amount: validate(required, greaterThan(0)),
    })
  ),
});

@dzonatan That works. I can keep on my POC now. Appreciated for the help.

Thanks @dzonatan for helping out.
@peterhe2000 I you encounter any more difficulties during your POC please don't hesitate to open a new issue.

@MrWolfZ Will do.


Preprocess Entity Tags

Hi @timoschick,
I have created this new PR after processing the comments from the previous PR #52. It would be great if you can have a look and let me know if it looks ready to be merged. I will close the previous PR then. Thanks!

Thanks a lot for reviewing the PR @SaulLu! 🙂 I tried to address most of the suggestions. It would be great if you can do another round of review and let me know if any other changes need to be done from my side. Otherwise, feel free to merge the PR.


Shift + ui_accept does not work with pressed signal on button

Tested versions
Godot v4.4.dev1
Godot v4.0.stable
System information
Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+)
Issue description
Shift + ui_accept (same with Ctrl, Alt) does not work with pressed signal on button when usign this code:
This code works if you switch KEY_SHIFT to KEY_A
func _on_pressed() -> void:
	if Input.is_key_pressed(KEY_SHIFT):
		print("Shift was pressed")

This works in Godot 3
Steps to reproduce
connect pressed signal to a script
see code above
grab button focus
press shift + ui_accept
nothing is printed
Minimal reproduction project (MRP)
shift-and-accept-in-pressed.zip

This is by design, the button only accepts exact event clicks:
https://github.com/godotengine/godot/blob/b6223c0df0300ba2db17b5742c349f13c33f8884/scene/gui/base_button.cpp#L63
So adding shift to it is invalid unless you add that to ui_accept
The question is if it should be strict with mouse presses, and I don't think it should, there's plenty of validity to allow modifiers for mouse clicks but not key clicks IMO

The question is if it should be strict with mouse presses, and I don't think it should, there's plenty of validity to allow modifiers for mouse clicks but not key clicks IMO

Why should you not allow a keyboard user to activate the modifier click on the button?

This is by design, the button only accepts exact event clicks:

Why does it then work with KEY_A as an example?

Why should you not allow a keyboard user to activate the modifier click on the button?

Because UI elements are usually activated with exact actions, otherwise combinations wouldn't work generally

Why does it then work with KEY_A as an example?

Because you're checking if something else is pressed, it activates the button whenever ui_accept is pressed, not only when nothing else is pressed, the Input.is_key_pressed just checks if the key is pressed right now, it doesn't check that it was part of activating the button

Why does it then work with KEY_A as an example?

Because you're checking if something else is pressed, it activates the button whenever ui_accept is pressed, not only when nothing else is pressed, the Input.is_key_pressed just checks if the key is pressed right now, it doesn't check that it was part of activating the button

I see that now, thanks!


Remove version constraint on mime-types

Clients using Ruby < 2.0 should themselves set a version restriction so they don't install mime-types >= v3.0.

cc/ @jacobat @grosser

:+1:

might as well bump the gem to ruby 2.0+ ... but either way 👍


add VPN widget

Cleaned up PR for adding Viscosity support to simple-bar.

Thanks, I'll merge this soon :)

I merged it in master. I simple added a field in settings in which you can set your Viscosity connection name. This VPN widget is disabled by default.
Let me know if I broke anything during the merge.
Thanks again!

Great, thank you! First PR achieved haha.
One small thing, which you may be able to trivially fix: the connection isn't picked up on when the VPN name includes a space. E.g. mine is "office VPN", but typing that into simple-bar doesn't work; on the other hand typing in "office" does work, even though Viscosity knows the connection under a longer name.

I'll look into it more soon, It is weird I can't tell why it is not working for now.

This should normally by fixed in my latest commit, It was due to an escaping quotes/dbquotes problem.
Thanks, that was a nice pull request! :)


Fixes and updates for windows checks - new plugin rabbit-mq-node-health.rb

For the windows wmi_metrics.rb the option was added to put the graphite prefix at the start - default mode is old mode of postfixing the metric name with the prefix.
Added new plugin for checking the health of a RabbitMQ server

@zonywhoop  When you get a moment, could you take a look at the Travis output.

Working on those issues today.
--
Ed McLain
<EMAIL_ADDRESS>
On Jan 15, 2015, at 1:43 AM, Matt Jones<EMAIL_ADDRESS>wrote:
@zonywhoop https://github.com/zonywhoop When you get a moment, could you take a look at the Travis output.
—
Reply to this email directly or view it on GitHub https://github.com/sensu/sensu-community-plugins/pull/958#issuecomment-70050210.

All changes should be complete.  Is there anything I need to do?


revised entities

mb bro, there seems to be a lot of merging issues, we should try and find an alternative way of branching after fixing the conflict errors.


Inconsistent behaviour of Pick<T, keyof T> for readonly attributes.

TypeScript Version:  2.2.1
Code
Typescript Playground
// This fails:

interface TestA {
    readonly foo: string;
}

type MutableTestA = Pick<TestA, keyof TestA>

const a: MutableTestA = {
    foo: 'bar'
}

a.foo = 'baz';

// This works:

interface TestB {
    readonly [key: string]: string;
}

type MutableTestB = Pick<TestB, keyof TestB>

const b: MutableTestB = {
    foo: 'bar'
}

b['foo'] = 'baz';

In Typescript 2.1.4 you could use Pick<> to remove the readonly modifier from all attributes of an interface T by calling Pick<T, keyof T>. From 2.1.5 this (mostly) doesn't work anymore. "Mostly" because it does still work for readonly index signatures.
Expected behavior:
I personally would prefer if there would be some way to make an object mutable analog to Readonly<>but at least the behaviour should be consistent.
Actual behavior:
The behaviour is inconsistent.

Edit:
I bisected this and it seems like 33b512548e8fcfc5cd0046eab33023a1bc7d7b0e that types propagate modifiers when using Pick<T, K> which suggests that the behaviour of the index signature example is the bug.

Seems like there is no way to reset readonly modifier which is not very convenient
const foo = {
    bar: "baz",
}
const readonlyFoo = Object.freeze(foo);
const writableFoo = { ...readonlyFoo };
writableFoo.bar = 1;
            ~~~  [ts] Cannot assign to 'bar' because it is a constant or a read-only property.

@RyanCavanaugh will you please take a look at the problem? If I understand correctly it is an issue

@r00ger your issue with spread is a different issue, please see https://github.com/Microsoft/TypeScript/issues/14058.
The fix for the issue in the OP is to make the resulting string indexer inherit readonly (as well as nationality) in a homomorphic mapped type, just like it does with named properties.

So, this is still a bug, right?  But instead of there being no way to remove modifiers (which was addressed in TS2.8), there is now no way to preserve the readonly modifier on an index signature when you map over it.  Should that be filed as a separate bug and have this one closed, or should it live on here?

@RyanCavanaugh

there is now no way to preserve the readonly modifier on an index signature when you map over it. Should that be filed as a separate bug and have this one closed, or should it live on here?

i'm facing this issue as well. should this be filed as a separate bug?


How to create binaries

I'm building an application for linux-arm64 (espressobin). But there is no binary for linux-arm64 architecture. How can we make binaries for the missing architectures?

Found the solution. By default, pkg will clone and build from the nodejs repository. My mistake was I didn't have the build tools installed on my system (make, clang, gcc, etc). After I installed those, pkg-fetch was able to build the nodejs source.
I thought the build process was hanging up because make didn't progress after few minutes. Turns out it takes quite a lot of time (around 5 hours) to compile the node js source.
To manually create a binary, clone the nodejs repository. Checkout the branch of the version you want to build. Apply the patches for that node version located in this repository. For example, I'm using branch 9.2.1 so I applied the path for this version by git apply <path_file.patch>. Proceed to build the binary by
$./configure

then
$ make

then copy the node binary to pkg-cache:
$ cp node ~/.pkg-cache/v2.5/fetched-v9.2.1-linux-arm64`

You can now proceed to build your nodejs app with pkg.

If anyone is interested this is a more detailed guide:
To install required build tools: sudo apt-get install build-essential
Than clone node:
git clone https://github.com/nodejs/node.git
Checkout to the desired version:
cd node
git checkout v8.11.3
Create the patch file inside the node dir and paste the content from the patch file (https://raw.githubusercontent.com/zeit/pkg-fetch/master/patches/node.v8.11.3.cpp.patch)
sudo nano node.v8.11.3.cpp.patch (Ctrl+Maiusc+V - Ctrl+X - Y)
git apply node.v8.11.3.cpp.patch
./configure' make` (this takes many minutes)
Finally copy the binary: cp node ~/.pkg-cache/v2.5/fetched-v8.11.3-linux-arm64

Here you can find the guide and also some prebuild nodejs for architectures not supported by pkg:
https://github.com/robertsLando/pkg-binaries


improve/fix drag-drop multiple filetypes

Mainly fixed this bug:

all dropped files were being sent to the same field.
Also added detection of exe file drops.

Very Nice :+1:
Superlazy version ;)
    loop, parse, A_GuiEvent, `n
    {
        SplitPath, A_LoopField,,, dropExt
        GuiControl,, %dropExt%File, %A_LoopField%
    }

Clever! Went ahead and added your approach.

This has been integrated indirectly with the edge branch merged in. :+1:


3.0.0-beta.4 - ImportFromJson fails when importing JSON created using the exportToJson

Describe the bug
SQLite Plugin Version: 3.0.0-beta.4.
When utilising the importFromJson method to import a JSON file that has been previously exported from the same app/database, the import fails due to the trigger construction.
To Reproduce
Steps to reproduce the behaviour:

Run an app that initialises a database
Run the exportToJson method to export the database to a file
Run the importToJson method to import the file created in 2.
The import fails with a standard error message

Expected behaviour
The import of an export created inside the app should succeed
Smartphone (please complete the following information):

Device: Android Emulator & iOS Simulator
OS: iOS 14.4, Android 11.0

Additional context
The createTableTriggers method in ImportFromJson.java & ImportFromJson.swift build the CREATE TRIGGER statement for the ON UPDATE last_modified column trigger, but the triggerTimeevent already contains the "ON" SQL command so it does not need to be appended a second time. This causes a SQL syntax error and the import fails.
Replace the "ON" with an empty space " " resolves the issue:
JAVA: Line 261 -> .append(" ON ") becomes .append(" ")
SWIFT: Line 253 stmt.append(" ON ") becomes stmt.append(" ")
I am unsure if this change has other implications during database initialisation elsewhere.

@mpat8121 I know, i have to implement all the fixes to issues from 2.9.9 to 2.9.13 into 3.0.0. I will work on this now and implement also capacitor3.0-rc. So be patient it will come.

@jepiqueau Ok. There is no rush on a fix/update as we have the import temporarily working with the change mentioned above.

@mpat8121 Many thanks for your understanding and patience. it will come i am working on.

@mpat8121 In fact it is not the importFromJson createTableTriggers which is wrong the .append(" ON ")should stay. It is the ExportToJson which is wrong in the getTriggers the timeEvent should not contains the " ON" so just before
                        jsonRow.setName(name);
                        jsonRow.setTimeevent(timeEvent);

you must include
                        if(timeEvent.toUpperCase().endsWith(" ON")) {
                            timeEvent = timeEvent.substring(0, timeEvent.length() - 3);
                        }

this is for the Android plugin

@jepiqueau That does resolve the issue when importing a new export (generated after the above fix), but anything that has been exported prior to this fix is unable to be imported. Should there be a way to import previous exports?

@mpat8121 Are you storing your successive exports? What are the reason for if i may. It seems that you are using the import/export json object in a way i never thought about it so i am interested to know. I think in previous exports to be able to use them you need to loop through and remove the  ON from the timeEvent. In fact it was a mistake to have it on the timeEvent string

@mpat8121 i will make the following changes in ImportFromJson for compatibility on top of the one done in the exportToJson
    private ArrayList<String> createTableTriggers(ArrayList<JsonTrigger> mTriggers, String tableName) {
        ArrayList<String> statements = new ArrayList<>();
        for (int j = 0; j < mTriggers.size(); j++) {
            String timeEvent = mTriggers.get(j).getTimeevent();
            if(timeEvent.toUpperCase().endsWith(" ON")) {
                timeEvent = timeEvent.substring(0, timeEvent.length() - 3);
            }

            StringBuilder sBuilder = new StringBuilder("CREATE TRIGGER IF NOT EXISTS ")
                .append(mTriggers.get(j).getName())
                .append(" ")
                .append(timeEvent)
                .append(" ON ")
                .append(tableName)
                .append(" ");
            if (mTriggers.get(j).getCondition() != null) {
                sBuilder.append(mTriggers.get(j).getCondition()).append(" ");
            }
            sBuilder.append(mTriggers.get(j).getLogic());
            String stmt = sBuilder.toString();
            statements.add(stmt);
        }
        return statements;
    }

The same modifications to the exportToJson and importToJson will be done for iOS and Electron.

@mpat8121 this is fixed in release 3.0.0-beta.5

@jepiqueau The use case is to allow a user of the app to back-up their data from the device to a file (saved to another app or onto their device) and then to be able to restore the app to that state by importing the file.
It does mean that we relinquish control of which version of both the app itself and this plugin that the data export is generated from so backward/forward compatibility is required. The app handles as much of the data transformation as possible.
That being said, the changes you have made in beta.5 have improved this significantly so I will close this issue.
As always, thanks for your efforts!

@mpat8121 Thanks for the sharing and do not hesitate if you find something else, it will help to improve the product and be a benefit for the capacitor-community developers


valid-aria-role does not allow lists of roles

This rule considers the following JSX bad:
function Foo() {
  return <div role="tabpanel row" />;
}

However, according to role mapping:

WAI-ARIA allows multiple roles to be specified as an ordered set of space-separated valid role tokens. The additional roles are fallback roles similar to the concept of specifying multiple fonts in case the first choice font type is not supported.

Got it...again, thanks for reporting. this supposed to make your life easier not harder 😃


⚠ Cioos National CKAN Sitemap has degraded performance

In 3fc991d, Cioos National CKAN Sitemap (https://catalogue.cioos.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 5771 ms

Resolved: Cioos National CKAN Sitemap performance has improved in 23b0454 after 8 minutes.


Would you release trained Waymo model??

You may refer to https://github.com/Tsinghua-MARS-Lab/M2I


Change a word to "prepare" (regarding #1022)

Why
https://github.com/fabric8-launcher/launcher-application/issues/1022
Description
Looks (to me) like a typo
Closes #...
Checklist

[ ] I followed the contribution guidelines.
[x] I created an issue and used it in the commit message.
[ ] I have built the project locally prior to submission with mvn clean install.
[x] I kept a clean commit log (no unnecessary commits, no merge commits).
[x] I am happy with my contribution.

Thanks!


Update react native scaffold to latest version

Updates react native scaffold to latest version fixing react native bug in FCL

Codecov Report

Merging #1096 (fc16815) into master (c0ab2d9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1096   +/-   ##
=======================================
  Coverage   39.50%   39.50%
=======================================
  Files          37       37
  Lines        1858     1858
=======================================
  Hits          734      734
  Misses       1039     1039
  Partials       85       85

Flag
Coverage Δ

unittests
39.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Why hasn't version been removed?

https://github.com/actions/setup-node/blob/38d90ce44d5275ad62cc48384b3d8a58c500bb5f/action.yml#L26-L29
2019 was a long time ago...

The deprecationMessage creates a lot of noice if used on many workflow jobs.
I'm happy to put up a PR to remove this if there is no ulterior reason for keeping it around. Thanks 🙏

Your workflows should really be upgraded to not mention that property. I don't think that removing the field from the action.yml will improve your log entries.
That said, I'd be happy w/ someone else making the PR (I'm also willing, but I prefer to do work when there's some sign that the repository will accept my PR, and I have no evidence of this).

Ugh yeah you are right, I forgot to remove passing the variable in a custom action. Thanks.
Exactly, if they would accept removal I'm happy to do it. TBD...

That said, this Issue was given a tag last month by someone who has committed to this repository in the past month, so maybe it's a bit more alive than when I filed the issue. Wanna make the PR?

True, yeah I can get to it in the next few weeks.

Hello everyone. The version input was removed in the v3 tag. For now I'm going to close the issue. If you have any concerns feel free to ping us.


the console dispaly is weird

Issue Type: Bug
The console interface does not display properly in big screen

VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.15063

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 x 2808)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.83GB (12.45GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

vscode-language-pack-zh-hans
MS-
1.32.4

After press enter a few times , the terminal turns  back to normal.

This looks like an issue with our old terminal backend "winpty", going forward we are focusing our efforts on the new backend "conpty" which is build by the Console team at Microsoft and should fix many issues with the terminal under Windows. You can read more about getting ConPTY here.
/duplicate https://github.com/Microsoft/vscode/issues/45693

Thanks a lot! I update Windows 10 today , and it turns back to normal.
I really love vscode,  thank you for your hard work !


line-height breaks click on even number lines

What versions are you running?

$ go list -m github.com/chromedp/chromedp
github.com/chromedp/chromedp v0.0.0-20190617065505-d55cf9043e05
$ google-chrome --version
Version 75.0.3770.100 (Official Build) (64-bit)
$ go version
go version go1.12.1 darwin/amd64

What did you do? Include clear steps.
Example above shows, that click in the middle of a block will do nothing, since 0.4 in the middle is not clickable.

    long link long link long link

What did you expect to see?
Click
What did you see instead?
No click

Possible solution is to modify MouseClickNode. Click position should be calculated from
boxes, err := dom.GetContentQuads().WithNodeID(n.NodeID).Do(ctx)
if err != nil {
	return err
}
content := boxes[0]

instead of
box, err := dom.GetBoxModel().WithNodeID(n.NodeID).Do(ctx)
if err != nil {
	return err
}
content := box.Content

It covers case with inline elements, but does not solve svg problem.

<svg width="120" height="120">

        <circle cx="30"
                cy="30"
                r="30"
                fill="#007BFF" />
        <circle cx="30"
                cy="90"
                r="30"
                fill="#007BFF" />
        <circle cx="90"
                cy="30"
                r="30"
                fill="#007BFF" />
        <circle cx="90"
                cy="90"
                r="30"
                fill="#007BFF" />

</svg>

I'm afraid it should be parsed manually in svg case. @kenshaw, @mvdan  do you have any ideas?

Have you investigated what Puppeteer does? I can't seem to find any threads about it dealing with clicking SVGs or weirdly shaped nodes. Perhaps it's not using coordinates or dimensions at all.

Ah, it does look like it uses a very similar method: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#elementhandleclickoptions

This method scrolls element into view if needed, and then uses page.mouse to click in the center of the element. If the element is detached from DOM, the method throws an error.


Block IMDS traffic access not working as expected

The provided kubernetes NetworkPolicy and calico GlobalNetworkPolicy manifests aim to block traffic to the Instance Metadata Service (IMDS) on ports 80 and 443. However, there seems to be an issue where traffic to port 80 is not being blocked as expected.
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: allow-all-egress
  namespace: kube-system
spec:
  egress:
  - {}
  podSelector: {}
  policyTypes:
  - Egress

---
apiVersion: crd.projectcalico.org/v1
kind: GlobalNetworkPolicy
metadata:
  name: deny-all-traffic-to-imds
spec:
  types:
    - Egress
  egress:
    - action: Log
      metadata: {}
      protocol: TCP
      destination:
        ports:
          - 80
          - 443
        nets:
          - <IP_ADDRESS>/32
    - action: Deny
      metadata: {}
      protocol: TCP
      destination:
        ports:
          - 80
          - 443
        nets:
          - <IP_ADDRESS>/32
  selector: all()

The security policies in place seem to be partially effective, as access to IMDS on port 443 is blocked, but there is an issue with the request on port 80 resulting in a 400 Bad Request error as shown below:
$ kubectl exec -it curl-pod -n kube-system -- curl http://<IP_ADDRESS>:80 -i
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Date: Fri, 02 Feb 2024 09:52:21 GMT
Content-Length: 89

{"error":"invalid_request","error_description":"Required metadata header not specified"}

kubectl exec -it curl-pod -n kube-system -- curl https://<IP_ADDRESS>:443 -i
curl: (28) Failed to connect to <IP_ADDRESS> port 443 after 129490 ms: Couldn't connect to server
command terminated with exit code 28

Expected Behavior
Restrict access to IMDS on both ports.
Current Behavior
Restricting IMDS traffic access exclusively to port 443
Possible Solution
N/A
Steps to Reproduce (for bugs)

Kubernetes cluster in Azure version v1.28.0
Install helm chart tigera-operator v3.26.1
Apply the provided manifests above

Context
Attempting to restrict IMDS traffic access to mitigate security risks
Your Environment

Calico version 3.26.1
Orchestrator version (e.g. kubernetes, mesos, rkt): kubernetes 1.28.0

Hi @esierra-stratio, this is you on slack, isn't it? https://calicousers.slack.com/archives/CPEPQE8CS/p1707219329533299
For the record, both policies do not have an order field and are thus both using the default value (infinity, meaning they'd come last after any other plain k8s network policy you might have, for example). As they're tied in ordering, the tie-breaker would be alphabetic ordering based on policy name, meaning the "allow" policy would be applied before the "deny".
In the thread, the solution was to to block destination <IP_ADDRESS>:2579 because of Azure DNAT behavior:
- apiVersion: crd.projectcalico.org/v1
  kind: GlobalNetworkPolicy
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"crd.projectcalico.org/v1","kind":"GlobalNetworkPolicy","metadata":{"annotations":{},"name":"deny-all-traffic-to-localhost"},"spec":{"egress":[{"action":"Deny","destination":{"nets":["<IP_ADDRESS>/32"],"ports":[2579]},"protocol":"TCP"}],"order":0,"selector":"all()","types":["Egress"]}}
    creationTimestamp: "2024-02-06T15:40:55Z"
    generation: 1
    name: deny-all-traffic-to-localhost
    resourceVersion: "124250"
    uid: d03ceb7d-4355-4b09-824b-a049398ba55d
  spec:
    egress:
    - action: Deny
      destination:
        nets:
        - <IP_ADDRESS>/32
        ports:
        - 2579
      protocol: TCP
    order: 0
    selector: all()
    types:
    - Egress