win32 arm64 Support

What would you like?
Run a web application with Workerd on a computer with Win32-Arm64 OS.
Why is this needed?
With Asus recently releasing laptops with Qualcomm CPUs, this will be more and more requested.
See The Asus Vivobook S 15.
Other
I managed to start my Web app with workerd regardless.
By adding in "win32 arm64 LE": "@cloudflare/workerd-windows-64" in Install.js as a knownPackage. I dont know what side-effects this brings.

That would be nice.  I had to do the same workaround as OP to get my dev env. running.

I was not able to connect to a pg db with workerd for windows x64, under windows arm64. I'm using prisma + hono + wrangler@3 and the request was running indefinitely without error message or timeout. Only solution found was to rollback on wrangler@2. Just for your information if somebody has the same behavior.

any updates on this ?


[Ansible-Operator] - Unable to deleted namespace when CR of an Ansible operator has a Finalizer

Bug Report

Unable to deleted namespace when CR of an Ansible operator has a Finalizer
It doesn't occur with Golang operators
It occurs always when has a finalizer and we try to delete the namespace.
The Ansible operator is able to remove the metadata of the finalizer when deleting is directly made for the CR and not the namespace. (oc delete  -f deploy/crds/cache_v1alpha1_memcached_cr.yaml)
The issue occurs because when we run oc delete project <namespace> the operator has been deleted before the CR. (the issue is with the cascade/link of the resources generated )

What did you do?

Checked it with the Memcached example: https://github.com/operator-framework/operator-sdk-samples/tree/master/ansible/memcached-operator
Added just the finalizer:

---
- version: v1alpha1
  group: cache.example.com
  kind: Memcached
  role: /opt/ansible/roles/memcached
  finalizer:
    name: finalizer.cache.example.com

Create an namespace and apply the example.

$ oc new-project memcached

$ kubectl create -f deploy/crds/cache_v1alpha1_memcached_crd.yaml
$ kubectl create -f deploy/service_account.yaml
$ kubectl create -f deploy/role.yaml
$ kubectl create -f deploy/role_binding.yaml
$ kubectl create -f deploy/operator.yaml
$ kubectl create -f deploy/crds/cache_v1alpha1_memcached_cr.yaml

Try to delete the namespace

$ oc project delete memcached

What did you expect to see?
The CR + Operator + Namespace be deleted with success.
What did you see instead? Under which circumstances?
The namespace is marked to be deleted, the operator is deleted, but the CR is not which not allows the namespace to be deleted as well and is hanging it.

Reason: The operator has been deleted before the CR then it cannot remove the finalizer metadata from it which causes the bug.

Workarround: manual deletion of the finalizer metadata from the CR which would be made by the operator if it was not deleted first.  Ansible

Additional context
Following the images to illustrate the bug.

Namespaced marked to be deleted and hanged by the CR with finalizer.

See that the operator was deleted before the CR.

See that the CR still there with the finalizer metadata which should be removed by the operator.

NOTE: Issue opened in order to make clear the scenario/bug raised in #1493

Hi @estroz,
I closed https://github.com/operator-framework/operator-sdk/issues/1503 because I think that has too many comments that will be not helpful for we are able to address this scenario.
Unfortunately, shows that my comments/descriptions there were not clear enough for @rcernich and @jmazzitelli and/or they are facing another issue which should be reported separately.
Please, could you add here in this on the respective label? Really thank you for your time and support.

@camilamacedo86, sorry for the confusion.  This issue is not the problem I was describing, but sounds like it is the issue that @jmazzitelli was having.  If you want me to create an issue for the problem I was describing, I can do that.  As I mentioned in the other issue, the problem I was describing was very difficult to track down the root cause.  Once again, sorry for the confusion.

Hi, @rcernich no problem at all
IMHO: It is better we have one issue for it issue :-) How much more clear we be able to provide the info better/easier and faster can be the fix 👍 So, please feel free to raise your scenario.

I believe this is also a problem for Helm-based operators. Custom resources created from Helm CRDs have a uninstall-helm-release finalizer. If the custom resource is namespace-scoped, deleting the namespace deletes the controller at which point the finalizer on the custom resources in the namespace cannot be handled - causing the namespace to get stuck in a terminating state

I believe it is a problem with all operators. Once the delete on the namespace is called, there is nothing that the operator could do.

HI @shawn-hurley it worked 100% in the Go operator ones. Note that the diff between both is that when it works in Go the operator pod is not removed before the CR/CRD be deleted. The problem here in POV is it. The operator.yaml has been deleted before.

/remove-lifecycle stale.


Support for continuation of aborted training

Transparently continue a training if it was aborted. Important: Start sockeye with exactly the same arguments.
Because of the asynchronous decoding for BLEU evaluation, some BLEU scores may get lost in the continuation, but this should not have a big effect on the final result.
Results are not yet 100% equal in the continuation, but are certainly in the same range. There must be still some part of the "traning state" missing, put it is surely usable, especially if dealing with long trainings.

Thanks a lot for iterating!


mpl failure when no label

Simple matplotlib drawer fails due to labels:
from qiskit.circuit.library import QuantumVolume
qv = QuantumVolume(6, 6, seed=1)
qv.draw('mpl')

AttributeError: 'Instruction' object has no attribute 'label'

Duplicate of #4439, addressed in the draft PR #4389.


Add Gartner Press Release to https://www.pulumi.com/about/#newsroom

Problem description
Press release published on Hubspot:
https://info.pulumi.com/press-release/gartner-cool-vendor-5_28_2020

@isaac-pulumi is this done?

im going to close this as its been sitting for a while and i received no response to my question. pls reopen if there's more to do here.


Ground work for content type negotiation with :baba

Resolves: #12

@iamEtornam I am moving this ticket forward. I had a sync with @rasheedmhd earlier today and we moved blocks on this type. Let's circle back to other things.


Missing .dfont

Readme.md reads:
"### Mac OS X / macOS
macOS users should use the provided .dfont files."
However .dfont file not in git.
Thank you.

README.md also says: "release tarballs contain the fonts in the following formats: PCF, PSF (for the Linux console), and .dfont for Macintosh users." :)

Can't seem to add 1.0.5 to Mojave.  @voipyanni Did you make it work?

Can't seem to add 1.0.5 to Mojave. @voipyanni Did you make it work?

I am not running Mojave yet.

Does it work on pre-Mojave version? I changed the way .dfont files are generated, that might be the issue.
Could you try if the .dfont files provided in spleen-1.0.3.tar.gz work fine?

the .dfont files from v1.0.3 work fine on Mojave for me.

Thanks for testing @sevan, I will switch back to generating .dfont files this way for the next release.

I tagged 1.1.0 today, switching back to generating one dfont file per size, as was the case in 1.0.3.

The latest versions work fine with Catalina.  So much in fact that I just got it submitted to Homebrew. 👍🏻


chore(docs.angularjs.org): allow robots in partials/ but prevent inde…

…xing

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Fix/Feature: Docs have been added/updated
[ ] Fix/Feature: Tests have been added; existing tests pass

Other information:

Yeah I changed the commit message and pushed it twice again and cancelles these jobs. The initial one is green

@narretz In such cases I wouldn’t cancel the last job as it’s then confusing during the review.

@mgol You are right, I cancelled the wrong builds - sorry


Tweepy not finding results that should be there

Hi, I tested to query search api by some ' #keyword' and the the result is empty. But when I search the same '#keyword' in the twitter website, It display many of result. Did I do some thing wrong?

I'm unable to reproduce this. Using API.search with the query "#keyword" returns the expected results:
>>> results = api.search("#keyword")
>>> len(results)
14

Can you show the relevant code?

No sorry. I mean searching '#<some keyword>' for example : '#coinmonks'the api.search return empty result but in the twitter website the results are display.

From Twitter's documentation for the standard search API:

The Twitter Search API searches against a sampling of recent Tweets published in the past 7 days.
Before digging in, it’s important to know that the standard search API is focused on relevance and not completeness. This means that some Tweets and users may be missing from search results. If you want to match for completeness you should consider the premium or enterprise search APIs.

The current most recent Tweet that matches that hashtag is from February, far outside the 7-day limit.

Oh understood. Is it only happen with some keyword because for in '#huaweimate20pro' retrieved post from 9 days ago.

You can try to add a date condition e.g. since:2018-01-01

There might be some wiggle room on the limit.
From the documentation for using the standard search API:

The Search API is not complete index of all Tweets, but instead an index of recent Tweets. The index includes between 6-9 days of Tweets.

This isn't up to Tweepy and is off-topic here. For further questions about Twitter's API, you should use the Twitter Developers Forums.
@okomarov Date operators do not affect the 7/6-9 day limit.

There might be some wiggle room on the limit.
From the documentation for using the standard search API:

The Search API is not complete index of all Tweets, but instead an index of recent Tweets. The index includes between 6-9 days of Tweets.

This isn't up to Tweepy and is off-topic here. For further questions about Twitter's API, you should use the Twitter Developers Forums.
@okomarov Date operators do not affect the 7/6-9 day limit.

Ahh okay, understood. Thank you very much.


gallery on ionicModal

Hi, i found a problem when i tried to put the gallery into an ionicModal. The problem is that gallery don't show the pictures because no can estimated the height for the parent row.

My first guess would be that it's not able to calculate element[0].offsetWidth because the element is not yet on the DOM.
But I'll give it a go and see if I can make it work on a modal

i understand. But i observed that only happens at the second time. When i open the modal just once, all going ok.

Could be that the destroy of the modal you're creating. It would them make sense for it to fail.
Do you have any test project I can play with ?

Fixed

Hi, I have the same problem as OP. The height for row and the image is 0px in the Modal. How can I fix it? Thank you very much in advance.

Can you inspect and check if the image is being loaded ? Are you trying to load the gallery inside a modal ?

Hello Pedro, thank you very much for the quick response. Yes, I am trying to load the gallery inside a modal, the images are being loaded without problems but just very tiny, I tried to change the css but nothing happens. So right now it looks like this.


There is a bug for sure in programmatic implementation of side menu.

New Issue Checklist

I have read the guidelines for contributing and I understand:

[x] My issue was not solved in the README.
[x] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[x] My issue is reproducible in the demo project.

Issue Description

lol

@parthandroid what is the bug?

I have implemented side menu using storyboards - working perfectly fine
implemented programmatically - black screen (i.e side menu not loading)
Read.me does not explain anything about it. Have read all the past issues and stack overflow answers. trying this since 3 days.
My implementation is totally correct.
Delegate file :
`  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    window = UIWindow(frame: UIScreen.main.bounds)
    window?.makeKeyAndVisible()
    window?.rootViewController = UINavigationController(rootViewController: ViewController())

    return true
}

`
ViewController file :
`class ViewController: UIViewController {
   override func viewDidLoad() {
    super.viewDidLoad()

    view.backgroundColor = .white

    navigationItem.leftBarButtonItem = UIBarButtonItem(title: "slide", style: .plain, target: self, action: #selector(open))

    let menuLeftNavigationController = UISideMenuNavigationController(rootViewController: HomeController())
    menuLeftNavigationController.leftSide = true

    SideMenuManager.menuLeftNavigationController = menuLeftNavigationController

    let menuRightNavigationController = UISideMenuNavigationController(rootViewController:  HomeController())

    SideMenuManager.menuRightNavigationController = menuRightNavigationController

    // Enable gestures. The left and/or right menus must be set up above for these to work.
    // Note that these continue to work on the Navigation Controller independent of the view controller it displays!
    SideMenuManager.menuAddPanGestureToPresent(toView: self.navigationController!.navigationBar)

    SideMenuManager.menuAddScreenEdgePanGesturesToPresent(toView: self.navigationController!.view)

    SideMenuManager.menuFadeStatusBar = false

}

func open(){
            present(SideMenuManager.menuLeftNavigationController!, animated: true, completion: nil)
        }

}
`
HomeController file
`class HomeController: UISideMenuNavigationController {
override func viewDidLoad() {
    super.viewDidLoad()

    print("home controller presented")
    view.backgroundColor = .red

    // Do any additional setup after loading the view.
}

}`

@parthandroid: UISideMenuNavigationController is a subclass of UINavigationController. From the code you provided, it looks like you are setting another UISideMenuNavigationController as the rootViewController of a UISideMenuNavigationController, which won't get you anywhere.
HomeViewController should be a subclass of UIViewController or UITableViewController. Setting the background property of a UINavigationController won't do anything.

HomeViewController was a subclass of UIViewController till 1 hour back, i just set it now as UINav..
This is not causing the issue. As i have said , storyboard implementation is working fine.

Can you send me a link to your project with this setup?

clone.zip
here.

@parthandroid as I already stated, HomeController needs to be a class of type UIViewController or UITableViewController. You are also using version 1.1.7 of SideMenu. Run pod update to get the latest, version 2.2.0. After doing both of those things, it works as expected for me.

nope! not working even after changing the type of HomeController and updating version of SideMenu.
can you send me your version of the project in which it worked?

sent the same code to my seniors too, not working for them.
How come it works for you.

clone 2.zip

Thanx a ton!!

@parthandroid I'd like to know what you were doing wrong. Please explain here for others encountering the same problem.

well, this is embarrassing, the solution that you gave i.e updating the version worked perfectly fine.
My project was not working as I updated pods in my original project but ran the project I sent you(which was not updated to 2.2.0). so yeah, a mistake on my part!


Client Allocation Request for: LeoCheung

Client Allocation Questions
Core Information

Name: LeoCheung
Website / Social Media: https://github.com/LeoZCH
Region: Greater China
DataCap Requested: 100TiB
Addresses to be Notarized: f3v7x4a2aapgx6o2r477tenoin3u5oadaeqyd7kjdsitykvf4ok7vq2utcyh34lmu5u7oybs25ff6s4dbudpma
Notary Requested: steven004

@LeoZCH Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hey @LeoZCH , thanks for your request. Can you kindly add more information / context here on:

yourself/ your organization (with links to official website/social media/news mentions etc)
Your history working on IPFS/Filecoin (notable contributions to the community, type of engagement shown over time etc)
Use case: type/source/quantity/diversity/scarcity of the data you plan to store on Filecoin
Miners you intend to allocate DataCap with allocation proportion(with redundancy/location/specific requirement of storage miners), if you are working with a service provider to store your data to Filecoin network, please name the provider.
How could people retrieve the data you store in Filecoin Network, do you have a tool/app for it?
What's your next plan for the data you plan to store in Filecoin Network? For-profit or not?
Would you be OK in posting deal transactions here?

Thanks

Please let me know if you previously got some datacap already. This will save time for both of us.

Thanks

Yourself/ your organization (with links to official website/social media/news mentions etc)

I am a Filecoin researcher and one of community member, I can offer my own github website: https://github.com/LeoZCH

Your history working on IPFS/Filecoin (notable contributions to the community, type of engagement shown over time etc)

I have ever working in a storage provider company, and I am familiar to the filecoin's seal process and economy structures. Last year, I was selected to be as a member of official security Research Fellowship(https://security.filecoin.io/bug-bounty/ fortunately. Besides, I have taken part in the slingshot competition in phase2.2, 2.4, 2.5(the Project are FileZoo and FileWarehouse)

Use case: type/source/quantity/diversity/scarcity of the data you plan to store on Filecoin.

I plan to participant in the slingshot repair project, the datasets should be some public dataset, which will be assigned by the slingshot team.

Miners you intend to allocate DataCap with allocation proportion(with redundancy/location/specific requirement of storage miners), if you are working with a service provider to store your data to Filecoin network, please name the provider.

According to the rules of repair project, every dataset will be stored 5 replicas, the storage providers will also be assigned by the slingshot team. The datacap will be used to five providers  at less to guarantee the diversity and security.

How could people retrieve the data you store in Filecoin Network, do you have a tool/app for it?
no, the providers in the repair project will be required to store the unsealed copy, and keep the data can be retrieved.

What's your next plan for the data you plan to store in Filecoin Network? For-profit or not?

For this project, clients need some cost to pay for the data storage. In the future, I will con tinue to store more public datasets to the filecoin network.

Would you be OK in posting deal transactions here?

Yes, I will post the deal transactions list，which will include “deal_id, miner_id, payload_cid, filename, file_format, size_in_bytes, date, curated_dataset”.

I would support recovery of slingshot data, but 100TiB is a big number for the first time application. I am assign 10TiB for you to start.
You can apply a new one when you are recovering the data, hopefully we can complete the verification before you use up the datacap and I will assign another one for you to continue.

Hey @LeoZCH , Your Datacap Allocation Request has been approved
Message sent to Filecoin Network

bafy2bzacecceunydrsvv724tttjf52go4xjam3nuauenk7h2hx6auifk3oqxk

Address

f3v7x4a2aapgx6o2r477tenoin3u5oadaeqyd7kjdsitykvf4ok7vq2utcyh34lmu5u7oybs25ff6s4dbudpma

Datacap Allocated

10.0TiB


Add new features, delete picture features

Add a new function, delete pictures,  can you add a new function? Just filter out the unwanted pictures and delete them, for example, delete all the pictures that are not tagged as liked. . Now it is too troublesome to delete other pictures. . All the pictures are mixed together. It takes a lot of time. Thank you author
!

This feature is valuable but not easy to implement. We need to further consider its interaction and technical implementation.
I recommend that you currently use ctrl+a to select all, then hold down ctrl and use the mouse to deselect the files you don't want to delete, and then proceed with batch deletion.


[SR2022]: 2021-12-03 December Tech Day

Body
We have a tech day coming up on December 4th for our #srobo2022 competitors. It’ll be hosted on our Discord server and is a great opportunity to get direct help and feedback from our blueshirts.
See you there!
Media
Blue background with text "Virtual Tech Day 4th December"
Category
Current Comp Cycle News

This was posted https://twitter.com/studentrobotics/status/1466710048701362180


set schemaMigration imagePullPolicy and update chart dependencies

I had the schemaMigration imagePullPolicy in the values.yaml file but apparently it never made its way into the schematool job...this fixes that
Signed-off-by: Lee Surprenant<EMAIL_ADDRESS>

Linting issue - Error:  templates/: template: ibm-fhir-server/charts/keycloak/charts/postgresql/templates/statefulset.yaml:404:20: executing "ibm-fhir-server/charts/keycloak/charts/postgresql/templates/statefulset.yaml" at <include "postgresql.readinessProbeCommand" .>: error calling include: template: ibm-fhir-server/charts/postgresql/templates/_helpers.tpl:242:275: executing "postgresql.readinessProbeCommand" at <.Values.containerPorts.postgresql>: nil pointer evaluating interface {}.postgresql

downgraded bitnami/postgresql subchart to the last one compatible with codecentric/keycloak opened https://github.com/Alvearie/alvearie-helm/issues/72 for tracking that going forward

@lmsurpre the 10.13.15 version nolonger exists its starts from the 10.14.x one


[WIP] Remove deletion of data/git_repos for EmbeddedAnsible tests

The data/git_repos directory doesn't appear to be used but it does leave local git changes when running the embedded_ansible_spec.rb
$ git status

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    data/git_repos/locks/.gitkeep

I'm very happy for this change.
This frustrated me but I hadn't tracked it down.
Do we need to clean these up in another way? Like deleting all files underneath that directory (may cause issues for local development though)

Do we need to clean these up in another way? Like deleting all files underneath that directory (may cause issues for local development though)

Yeah I thought I'd have to delete all dirs+files under this directory, but after removing this line and running this spec file I didn't see any files in this directory left over, and and I don't see anything in the embedded_ansible seed that does anything with git_repos.
If I run the full suite I do see leftover locks, so I think other specs need to clean up their own locks and this was hiding that.

Okay it looks like leftover locks are from these two spec files (not surprisingly), spec/models/git_repository_spec.rb and spec/models/manageiq/providers/embedded_ansible/automation_manager/configuration_script_source_spec.rb.

Does anything ever delete these git_repository lockfiles at runtime?

WIP until I cover the other specs that leave these lockfiles around

@Fryguy rebased and taken out of WIP, PTAL

@kbrock fyi another fix_auth sporadic failure

  1) FixAuth::AuthModel#miq_database uses random numbers for invalid
     Failure/Error: expect(ManageIQ::Password.decrypt(bad.session_secret_token)).to_not eq "newpass"

     ManageIQ::Password::PasswordError:
       cannot decrypt encrypted string
     # ./spec/tools/fix_auth/auth_model_spec.rb:118:in `block (3 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # OpenSSL::Cipher::CipherError:
     #   bad decrypt
     #   ./spec/tools/fix_auth/auth_model_spec.rb:118:in `block (3 levels) in <top (required)>'

rspec ./spec/tools/fix_auth/auth_model_spec.rb:115 # FixAuth::AuthModel#miq_database uses random numbers for invalid

https://github.com/ManageIQ/manageiq/actions/runs/11333113423/job/31516627078?pr=22960#step:8:300


[monitoring v2] when PV template is used with grafana, upgrade should default to use the PVC already created from said tempate

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
Steps to reproduce (least amount of steps as possible):

deploy longhorn for PV
Deploy monitoring v2

enable grafana storage using statefulset template

allow monitoring to install successfully
upgrade monitoring with no changes

Result:

monitoring fails to upgrade, waiting on statefulset pods to upgrade

Other details that may be helpful:

if use upgrades to use existing template, monitoring installs fine and subsequent upgrades also work. I would expect this to be the default after a user selects a template for PV, as that template should only be used for the first install. after that, the existing resource should be used.

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.5-head (93d921f)
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): linode hosted
Machine type (cloud/VM/metal) and specifications (CPU/memory): 12 vCPU (3 nodes, 4vCPU each)

Unable to reproduce in latest Monitoring chart available today. Moving back to test.


[FEATURE_REQUEST] Open link in private tab

Is your feature request related to a problem? If so, please describe.
No response
Describe the solution you'd like
I would like one of the tab options  to be able to open up a link in a private tab. There are times it is useful to be able to be singed into the same service under two different logins.
Priority
Low (Nice-to-have)
Is this something you would be keen to implement
None

I can see there is no api in the browser for doing this. I am closing the issue


[error] can not append "object" as "Blob"

environment
node - 15.7.0 (first version has blob as experimental)
form-data - ^4.0.0
problem

I tried to append form data as Blob.
I need to append as real object not object as string.
If has other way to append form data as real object I will go that way but I don't know how.

why
My api develop by Hapi framework and validate by Joi. When api get a request Hapi will use Joi validate payload first (not my code), I need to validate some key in payload as my expected object
joi exmaple
Joi.object({
  "a": Joi.object({
    "a": Joi.string(),
    "b": Joi.number().required()
  });
});

remark
JavaScript in html file can append blob
code
const { Blob } = require("buffer");
const formData = require("form-data");

const objectHere = {
  "a": 1,
  "b": 2
}
const objectAsBlob = new Blob([JSON.stringify(objectHere, null, 0)], { type: "application/json" });

formdata.append("data", objectAsBlob); // error at this line

error
> node ./index.js

Debugger attached.
Waiting for the debugger to disconnect...
C:\Users\username\poc\node_modules\delayed-stream\lib\delayed_stream.js:33
  source.on('error', function() {});
         ^

TypeError: source.on is not a function
    at Function.DelayedStream.create (C:\Users\username\poc\node_modules\delayed-stream\lib\delayed_stream.js:33:10)
    at FormData.CombinedStream.append (C:\Users\username\poc\node_modules\combined-stream\lib\combined_stream.js:45:37)
    at FormData.append (C:\Users\username\poc\node_modules\form-data\lib\form_data.js:75:3)
    at C:\Users\username\poc\index.js:48:24
    at Array.forEach (<anonymous>)
    at GenerateServerInjectionOptions (C:\Users\username\poc\index.js:44:23)
    at Object.<anonymous> (C:\Users\username\poc\index.js:67:14)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
npm ERR! code 1
npm ERR! path C:\Users\username\poc
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node ./index.js

npm ERR!      C:\Users\username\AppData\Local\npm-cache\_logs\2022-02-22T04_16_37_431Z-debug.log
Waiting for the debugger to disconnect...

in html (work)
<script>
  const xhr = new XMLHttpRequest();
  const formData = new FormData();

  const objectHere = {
    "a": 1,
    "b": 2
  }
  const objectAsBlob = new Blob([JSON.stringify(objectHere, null, 0)], { type: "application/json" });

  formData.append("data", objectAsBlob);

  xhr.open("POST", "http://localhost:8080/poc");
  xhr.send(formData); // can sent and receive
</script>

You can try this. It works!
formData.append('claimSubmission', JSON.stringify(request), { contentType: "application/json" });

You can try this. It works!
formData.append('claimSubmission', JSON.stringify(request), { contentType: "application/json" });

FormData doesn't support Blob. Try this instead. It works!
formData.append('name', JSON.stringify(request), { contentType: "application/json" });

headers: {
  "Authorization": "Bearer " + accessToken,
  ...formData.getHeaders()
}

thank you for answer, but I already try this way before like this...
const generateRequest = () => {
  // somecode

  returnOptions.headers = { ...returnOptions.headers, ...FD.getHeaders(), ...options.headers };
  returnOptions.payload = FD.getBuffer();

  return returnOptions;
}

after this function, I send formData to my api but Joi cant validation aa field like object (joi throw aa field -> "This field must be an object")
// my Joi Validation
const JoiValidation = Joi.Object({
  aa: joi.Array().items(Joi.Object({
    oa: Joi.string(),
    ob: Joi.string()
  }))
});

same the problem. I have a blob pdf file. I need to insert it into the form data. NestJS, axios.

Same problem, and according to the docs, FormData does support Blob: https://stackoverflow.com/questions/73465764/node-fetch-blobfromsync-and-blobfrom-typeerror-err-invalid-url-invalid-url

it's a nightmare with bytes \ blobs and form-data
it simply doesn't work at all

Yeah, I don't get it how it so broken. I tried grabbing the Blob's stream() and getReader() after that but still nothing.

@anhvule

formData.append('name', JSON.stringify(request), { contentType: "application/json" });

headers: {
  "Authorization": "Bearer " + accessToken,
  ...formData.getHeaders()
}

Thank you, this resolved my issue and it worked as expected!

the same problem, i solved it with formdata-node package

FormData doesn't support Blob. Try this instead. It works!
formData.append('name', JSON.stringify(request), { contentType: "application/json" });

headers: {
  "Authorization": "Bearer " + accessToken,
  ...formData.getHeaders()
}

but if i need it as blob to send it to multer , how can i do it ?


Update README.md

I think this should read "SwiftSemantics" instead of "SwiftMarkup".

Yep. Thanks, @Lutzifer!


Add Sub Directory

**Added Subdirectory for Binary Search #88 **

Please, add description about Pull request as it highlights your work more properly.

@AkashM398 : Thanks for contributing.
Please our contribution guidelines for reference.
(https://github.com/fnplus/interview-techdev-guide/blob/master/CONTRIBUTING.md)


Hunter integration

@Knitschi I'll add some issues we need to solve before this version of GTest can be integrated into Hunter instead of old one.

We need to add gtest_force_shared_crt=YES to build arguments because playing with MT/MD flags break default linking configuration: https://github.com/hunter-packages/googletest/blob/32fa2e1010e700c17586708a74da0a50e7fa0b3b/googletest/cmake/internal_utils.cmake#L35
This can be done by adding hunter_cmake_args to GTest/hunter.cmake. See wiki.

I've tried to build current version of GTest with Visual Studio 8 2005 and I've got build errors: https://gist.github.com/ruslo/703ae20b5b2fe2a74af2 Old version https://github.com/hunter-packages/gtest/releases/tag/v1.7.0-hunter-11 works fine with this generator so we need to find workaround or version that works or make a fix. use old version

Same with MinGW: https://gist.github.com/ruslo/f98bd5cdcd9052d4823e Working version for old repository: https://github.com/hunter-packages/gtest/releases/tag/v1.7.0-hunter-6 use old version

I've made a list of patches that need to be integrated into this version (probably re-test needed too):

https://github.com/hunter-packages/gtest/commit/cfdab358137fa9d3d281e00338926b26eecceeec
https://github.com/hunter-packages/gtest/commit/1a36780ee52977bbf85acddd258e114a1f9d3b27 (see http://stackoverflow.com/a/23326594/2288008)
https://github.com/hunter-packages/gtest/commit/0fc0224d55bbb5c8c89629a9c3b2f58f4118afa7
https://github.com/hunter-packages/gtest/commit/afc42c17489621787bf9414a206a9e66e8a8f9ce
https://github.com/hunter-packages/gtest/commit/fbefbd5f6fa9aece6e571a7e8b12037a14bef140

I can do it.

and 4. are resolved with that merge. Now I will install the vs-8-2005 and MinGW toolchain to make the rest work.

Now I will install the vs-8-2005 and MinGW toolchain to make the rest work

@Knitschi great, thanks

GoogleTest does currently not compile with MinGW. I get the same build errors as in this issue google/googletest#484
I will not try to fix this myself.

I will not try to fix this myself

There is no need to do the fix if it's not trivial, we just need to find some old version that works. If there is no easy way to determine what version was working in new repository we can use release from old repository https://github.com/hunter-packages/gtest/releases/tag/v1.7.0-hunter-6

You mean by using something like this in the default.cmake file?
if(MINGW)
  hunter_config(GTest VERSION 1.7.0-hunter-6)
else()
  hunter_config(GTest VERSION 1.8.0-hunter-p1)
endif()

You mean by using something like this in the default.cmake file?

Yep. Note that this will mean that there will be no GMock support for MinGW.

Where is the correct place to document that? In the Readme.md of the new GoogleTest package?
I now tried to install vs-8-2005 on windows 7 but I get "compatibility issues" warnings from windows when CMake does its compiler tests and the compiler tests fail. I do not have an Windows XP machine left where I could try to do it.
So I will not make that work either. I think there shouldn't be too many codebases out there the still require vs-8-2005 and also use gtest.
I will now make a new release and then add the necessary changes to hunter.

Where is the correct place to document that?

wiki page: https://github.com/ruslo/hunter/wiki/pkg.gtest

So I will not make that work either

Same as MinGW then, we will use old version

I think there shouldn't be too many codebases out there the still require vs-8-2005 and also use gtest

May be I will agree with that for other packages but GTest is the first package example that user will see and try when reading Hunter README (See Tiny project with GTest): https://github.com/ruslo/hunter#first-step so it's important that everything "just work".

Ok I changed the hunter config.cmake to use the old version if MSVC80 is used. I will shortly make a pull request for hunter.

Linux error with CMake 3.4.1:
CMake Error at googletest/CMakeLists.txt:82 (target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "gtest_main".  All uses of target_link_libraries with a target
  must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * googletest/cmake/internal_utils.cmake:155 (target_link_libraries)

I read some CMake documentation and found:
You can not mix target_link_libraries() calls that use the PUBLIC/PRIVATE keyword with calls that do not use it
-> So I think I should add a keyword to the call in googletest/CMakeLists.txt:82
Should I use PRIVATE or PUBLIC?
Some from the documentation here in the section Transitive Usage Requirements I take, that I should use PUBLIC if the interface of gtest_main uses types from gtest. I should use PRIVATE if gtest is only used in the implementation of gtest_main.
I am not sure, but I think I should use PUBLIC linking because afaik gtest_main only adds a main() function and the client will use the gtest interface and not the gtest_main interface.
But also I wonder why I do not get that error when I run CMake on Windows?

re:{But also I wonder why I do not get that error when I run CMake on Windows?} may be version is different? You can create SSCCE and if error message differs for different platforms probably you can try to report an issue.

I also have 3.4.1. To create an SSCCE I would need an Linux toolchain to build the same thing. I do not have that right now. Maybe I will find the time to set one up in the next weeks.

Merged in https://github.com/ruslo/hunter/pull/306. Closing.


Support nerdfonts / devicons

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[x] Vim
[x] Neovim

OS

[x] Linux
[x] Mac OS X
[x] Windows
[x] Windows Subsystem for Linux

Shell

[ ] bash
[ ] zsh
[ ] fish

Please consider supporting https://nerdfonts.com as file icons.

fzf is a text filter.


remove MXL caps 60mg and 90mg from measure

For information, MXL caps are 24 hour release of morphine sulfate, however they are included in both the same BNF code and VMP as Zomorph, which are 12 hour release capsules and more common.  60mg and 90mg capsules are under 120mg/day if once taken once daily, and so this amendment removes MXL brand from the analysis.

@richiecroker good work. Tiny changes in markdown would be good - I'm struggling to navigate GitHub on single laptop screen or I would do it myself.
More broadly I think categorisation of once daily product and twice daily products under the same VMP has the potential to cause inadvertant errors in picking lists. I have lodged a query with the dm+d team. I'm sure this has come up before and have asked if there is a programmatic way to avoid it.


Running rules with --check-type

https://github.com/Microsoft/vscode-tslint/issues/70
@egamma  said:

I'm closing this issue, the right way to support this feature request is the tslint-language-server plugin.

For now, tslint-langauge-service does not support --type-check, so I've opened it here.

@gfx the tslint-language-service should support rules which require --type-check, it passes a program to the tslint. Do you have a test case where this doesn't work.


Itineraries must be selectable by profile on the splash page and grouped by child itinerary on the itineray page

Problem/motivation
The client reviewed the way to expose itineraries.
The first level of the itinerary will be for user profiles (aka persona): adults, youth, disabled people.
The second level will be for splitting it into several groups (e.g. for adults: rooms and objects).
This is not mandatory, e.g. the youth itinerary will have no child itinerary.
Proposed resoltion
API change

Adapt the Audio Itinerary Drupal vocabulary by introducing hierarchy
Adapt the multiplicity of the Audio - Audio Itinerary entity reference (1 - *)

UI change

Display ungrouped stops
Then display stops by group with a header for each one

Wrong commit message issue reference, this commit should apply to https://github.com/tiltfactory/belvue-audioguide/commit/c6ee8ba9b673180ca3acdf6fca03a4d8f58d63f9


Support baselines

Baselines would allow developers to introduce Ruff to their codebase incrementally by ignoring existing errors and address them as they reappear when making changes to the code.
Supported by some tools in the flake8 ecosystem:

Bandit: https://bandit.readthedocs.io/en/latest/start.html#baseline
Flakeheaven: https://wemake-python-styleguide.readthedocs.io/en/latest/pages/usage/integrations/flakeheaven.html#legacy-first-1

A very basic proposal for this in ruff:
In the CLI
ruff . --exit-zero --format baseline > .ruff_baseline
ruff . --baseline .ruff_baseline  # doesn't report any errors

In pyproject.toml
[tool.ruff]
baseline = ".ruff_baseline"

That's interesting! I've never seen this before. I think we could support it? I'd been hoping that --add-noqa would serve this purpose. What do you see as the strengths of a baseline file vis-a-vis that workflow?
One point of confusion for me w/r/t the baseline file is that if it's just storing errors + line numbers, then if you edit a file (e.g., add a function to the top of a file that has some ignored errors), doesn't the baseline get invalidated? Since all the errors are pushed to new lines?

I would recommend looking into what elm-review did, with its error suppression system. I described the system in this blog post. The baseline doesn't include the line numbers — but instead counts the number of problems per file and per rule — meaning it doesn't suffer from the problem @charliermarsh was rightfully wary of.
My experience with this system is very positive. I would definitely recommend it over adding a bunch of noqa comments everywhere, because now it becomes unclear what purposefully got a noqa and what got one because someone used --add-noqa because there were too many errors. It's also a better system than turning the rules on as "warnings" (which ruff doesn't support but IMO shouldn't) which some people tend to do when there are too many existing errors.
FYI, elm-review is a very beloved linter for the Elm language, and it supports neither noqa comments nor severity levels (warning/error), only ignored files through the configuration and this suppression/baseline system. And it's working really well.
Some more information around this in its documentation
Happy to answer any questions on the topic (and linters in general 😁)

That means it can't flag an issue being moved around, or code being rewritten but reintroducing the exact same issue it removed, right?

Correct. Though it can flag an issue if it's moved around from one file to another, just not in the same file. Also, elm-review updates the suppression files silently when it's being run (to remove the pain point of having to re-run the linter to update those files, we're trying to encourage good behavior not punish it), so if you run remove a problem, run elm-review (which updates the suppression files), reintroduce an error and finally run elm-review again, then it will actually catch the problem.
As you say, you can basically swap one error in one file for another. While it's not necessarily always true (but generally is), this is fine as long as the severity of all the problems reported by a rule are the same, because you're not making the code necessarily worse, you're keeping it as it was before. And this is the worst scenario with this system, which IMO is a pretty good tradeoff considering the pros and cons of alternative solutions.

Although what happens if a new issue is detected, does elm-review just output all the issues of the file?

Exactly, it outputs all the issues of the file for that specific rule. This is what the output looks like (focus on the orange parts in this example):

For more information on this, I opened a similar issue in ESLint very recently: https://github.com/eslint/eslint/issues/16755
Another prior art is ember-template-lint's TODO system. A few tradeoffs that they chose went for:

There is a separate file for every suppressed error, with a hash of the contents in the file name. This is great for avoiding Git conflicts (which happen more in my system with a single file)
The file contains some information about the error, including the position of the error in the file
The date of creation is in the file's contents, which allows them to "snooze" errors after a set amount of time.

Reasons why I didn't go for some of these (that system is older than what elm-review did):

Snoozing errors is IMO not a great system. Errors will show up after a set amount of time, and fail unrelated builds. If I come back to a project after6 months, I don't want to have fix all the errors that now get reported. Instead elm-review have a small reminder like "I found no errors, but there are still 12 suppressed errors to address".
Since the file contains the position, everytime the position gets changed because of unrelated changes above it, the file needs to be regenerated (and I imagine developers just do that constantly without thinking too much? I can't see that not happening)
Since the files get regenerated all the time because of the previous bullet point, the date of creation also gets changed every time. Meaning that in often changed files, you'll never get reminders for the errors in those files. Snoozing and re-creating these files with hashes are IMO features that don't work well together.
I like the conflict-less parts, but I went for a single file, because it makes it easy to have an overview of the suppressed errors (which rules are suppressed, how many errors are suppressed) without having to execute the file. Having plenty of files didn't give a good overview IMO.

This is an example of a .lint-todo folder that I could find: https://github.com/dfreeman/ember-truncate/tree/786b812d4e7993c5ba253f5af8a984ed40976291/.lint-todo
I find that neither the file structure neither the file's contents are easy to get an overview.
In comparison, this is what you get for elm-review: https://github.com/jfmengels/elm-spa-example/tree/46591cb15b55136afed1a25fe1a5563545a1b3de/review/suppressed
Here, I don't have to run any tool, know any bash-fu, or even leave GitHub to see what's happening. In this last example, I can clearly see which rules have been suppressed, and then I can look at those files to see how many suppressed errors there are.
If I review a GitHub PR, it is easy to see whether new rules are being suppressed or more errors are being suppressed, which allows me to leave a comment asking my colleague whether this was necessary, and start a conversation. We ideally want those numbers to go down, not up, so talking it out is a healthy practice IMO.
With ember-template-lint's approach, I might see 10 removed files and +/- 10 added files, and I'm going to need to dig into all of those to see whether things got better, worse or (because they're location-based and often re-generate) things stayed the same.

support both styles

I don't think that having more choices for these things is beneficial in general, as that will make it harder to maintain things, confuse the users and split the community in how you do things. And you might end up with the worst of both worlds instead of the best of both worlds.

by accepting both baseline file and baseline directory

Can you clarify what you have in mind with baseline file and baseline directory?

I'm new to ruff (loving it so far!) but have been using flakeheaven and it's predecessor flakehell for quite a while now. I really enjoy flakeheaven's baseline feature - there's some more information here. We've used it successfully on a larger code base to incrementally fix legacy issues by incorporating the diff command in that linked doc. We have a fairly large Python monolith at my day job, and when developers make changes they are prompted to fix issues in code they touched; an easy example of this is docstrings - in functions that do not have docstrings, if a developer modifies that function, flakeheaven will then identify it as needing a docstring and flag it in pre-commit or our CI.
I'm definitely not an expert in the mechanism used to generate the baseline file, but just wanted to toss in some lived experience with this functionality. I believe it is similar to what others have called out above, in that it's tied to the filename and the line numbers, so we do occasionally see instances where very old legacy code is touched and multiple "unrelated" issues then pop up. However, in general, even on a code base with some fairly large legacy files (7k lines of Django serializers), it's usually not so bad to get things fixed up. This incrementally modernizes and even fixes our existing code, which is great.

One possible implementation of baselines that would handle many of the issues herein (though it would introduce at least one of its own) would be to incorporate the baseline into the file itself with the noqa directive. If --add-noqa could include extra information in the comment containing the directive, it could be used to set a baseline. Combined with rule RUF100 and ruff's auto-fix feature, this could provide a very user-visible version of baselines directly in the code.
For example, a file that contains an existing line of:
from math import *

could get a directive such as:
from math import *  # noqa: F403 - Existing errors as of 2023-01-29 ignored by ruff.

In my view it has the following advantages:

No messing with line numbers, counting violations, etc.
The directives are very visible to the user, encouraging their fixing when touching nearby code
A baseline can follow a particular code snippet even if files are moved, etc. Splitting a thousand-line legacy file in two doesn't have to come with the work of fixing all the linting errors in half that file. (After all, a linting tool is supposed to help us, not burden us.)
With --fix and rule RUF100, directives get automatically removed when appropriate.

Of course, it also has one distinct disadvantage:

Every rule-violating line of code now has an extra node in the blame layer just for adding noqa directives.

This could be mitigated by providing an obvious separate author credit on this (commit the output of --add-noqa "as ruff", if you will). Developers would immediately recognise this and look at previous commits, and if a standard is generated tools might begin to provide similar options.

I also have a baseline implementation for mypy as a separate tool: mypy-baseline. As people already said in the thread, baseline doesn't store line numbers. In case of mypy-baseline, violations are matched to the baseline based on the file name and error message:
https://github.com/orsinium-labs/mypy-baseline/blob/master/mypy_baseline/_error.py#L60-L68
In the case of flakehell (now flakeheaven) things were a bit easier because I could use error codes (since error messages may change):
https://github.com/life4/flakehell/blob/master/flakehell/_logic/_baseline.py#L6-L11
In case of a new violation being similar to the old one (the same file and the same error code), simply the last one is reported based on assumption that the new code is more often added closer to the end of the file. It may produce false-positives in theory but my teams haven't faced it yet.
I think it was a good decision to keep baselines in a separate file. I also considered automatically adding # noqa to the code but abandoned that idea:

All # noqa (or typing: ignore in case of mypy) comments should be used in rare occasions of legit false-poisitives when a human looked at the code and said: "yep, that would be hard to work around". The baseline, on the other hand, is for the tech debt that humans haven't looked into yet but should gradually go through and get rid of. I don't think these two should be mixed.
Having the baseline in one place gives a better perspective on the work left to do. In mypy-baseline, I provide history, plot, and top-files commands that I often run and show the team to remind them that we should do progress resolving it.
Introducing a tool that just needs a single baseline file and a single config is much easier than a tool that changes something in every file.

What I regret doing in flakehell is that the baseline is a collection of obscure md5 hashes. In mypy-baseline, the baseline is human-readable and we quite often use that fact to manually read and edit it.
I hope this perspective can be of any help.

That's interesting! I've never seen this before. I think we could support it? I'd been hoping that --add-noqa would serve this purpose. What do you see as the strengths of a baseline file vis-a-vis that workflow?
One point of confusion for me w/r/t the baseline file is that if it's just storing errors + line numbers, then if you edit a file (e.g., add a function to the top of a file that has some ignored errors), doesn't the baseline get invalidated? Since all the errors are pushed to new lines?

flakeheaven stores md5 hash of the violation and it's context. If performance is a concern a cheaper hash should be fine too.
The --add-noqa wouldn't leave a way to find out if the noqa were never meant to be fixed, or were just added for initial adoption.

Hi,
I wholeheartedly support the implementation of a separate baseline file as it proves to be an immensely valuable feature. Given the context of my position as the head of the department in a company with a substantial monolithic codebase, I am actively striving to enforce robust code standards. To achieve this, I have introduced linters during the code push to the repository and have provided the team with suitable tools. However, due to the sheer size of the codebase, it is not feasible to lint the entirety of it. Therefore, my objective is to exclusively lint the new code changes—the actual differences in the codebase as it progresses forward.
Flakeheaven or flakehell do a great job doing this baseline, I wish ruff could bring something similar.

As (temporary?) solution, I just released Riff PyPi / GitHub,
Riff wraps Ruff, runs git diff, checks for modified lines, only fails if errors were found in modified lines.
Works as a CLI tool as well as a pre-commit hook, check it out :)

Darker is a very relevant tool here.
And for prior art, basedmypy and Qodana both support baseline functionality.

Here's a bit of jq that will extract the differences between two GitLab-style reports and print it out as a Markdown snippet. Disclaimer: I'm no jq expert so there are probably better ways to do this.
jq -nr --argfile ref gl-code-quality-report-baseline.json \
    --argfile new gl-code-quality-report.json '
# Get fingerprints in new report that are not in the old.
[ $ref, $new ]
| map([.[].fingerprint])
| (.[1] - .[0]) as $new_fingerprints
# Take the new report and select only the entries with a new fingerprint.
| $new
| .[] | select(.fingerprint | IN($new_fingerprints[]))
| "- \(.description) - `\(.location.path):\(.location.lines.begin)`"
'

I've added this in one of our GitLab projects while waiting for this issue to be resolved. Here's the merge request workflow.

Run ruff to create a report.
Download the baseline via the GitLab API.
Use jq to extract issues that were not present in the baseline.
Fail the pipeline if new issues were found.

You can use ondivi Pypi Github. Is a Python script filtering coding violations, identified by static analysis, only for changed lines in a Git repo. You can use it with ruff, flake8, pylint, mypy and others.
flakeheaven and flakehell are not supported because they rely on internal flake8 API, which can lead to compatibility issues as flake8 evolves. In contrast, ondivi uses only the text output of violations and the state of Git repository, making it more robust and easier to maintain.

Flakeheaven: https://wemake-python-styleguide.readthedocs.io/en/latest/pages/usage/integrations/flakeheaven.html#legacy-first-1

WPS remove this page from the docs and replace it with https://wemake-python-styleguide.readthedocs.io/en/latest/pages/usage/integrations/ondivi.html

Think this issue is only about to run ruff linting only on change lines, but not to run the formatter only on change lines, isn't it?
The mentioned solutions like ondivi or Riff doesn't help here. ondivi is only for linting, and riff --fix will apply formatting to all lines, see: https://github.com/dorschw/riff/issues/16
So i end up to wait for https://github.com/akaihola/darker/issues/521 for support "Support ruff format as a formatter" in darker.

basedpyright also supports baseline functionality https://docs.basedpyright.com/latest/benefits-over-pyright/baseline/

This is received positive feedback in terms of functionality. Is the only open question the format of the baseline data?
I was imagining this could be stored by hashing the filename with line of code and possibly error code, e.g. MD5(CONCAT(<filename>, <line of code>, <ruff error code>)).
Example:
Finding:
test_foobar.py
55 | def test_do_FooBar(api_client, authenticated_user, mock_pynamodb, mock_eventbridge_client):
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ N802

ruff . --exit-zero --format baseline > .ruff_baseline
ruff . --baseline .ruff_baseline  # doesn't report any errors

.ruff_baseline
<filename>|<md5 of line 55>|<error code>
2af918dbc4589ec4a153761e4c9af86f


installer: add support for default configurations

Add support for creating a default network config during installation.
By setting the environment variable BISDN_DEFAULT_CONFIG, the identically named example configuration shipped by the baseboxd package will be installed.
This will disable the take over of any configuration from a previous installation, to avoid configuration conflicts.
As a special keyword, 'none' is accepted as a way to prevent configuration backup without creating a default configuration.

Completely untested.
Open question: should specifying a non-existing default config result in a wiped config, or should it then restore the previous installation's one?
I for now opted for the former, since the behavior would be most similar to when setting it to an existing config.
should work this way:
$ BISDN_DEFAULT_CONFIG="foo" onie-nos-install ...


Skip the pr-defined characters in the mask on model binding.

For instance I have the input with the mask: 1 (999) 999 99 99
When the model for the imput is<PHONE_NUMBER>0 I've got the viewValue as 1 (123) 456 78 90.
The first pre-defined letter has been added + the phone number has been cutted (last 0).
Any propositions?

The default Mask definitions are { '9': /\d/, 'A': /[a-zA-Z]/, '': /[a-zA-Z0-9]/ }. This means that if you use anything other than "9", "A", or "" in your mask definition, such as the "1" in your example, it's going to be considered a placeholder character rather than part of the value. You need to provide your own mask definitions allowing for "1" as a mask symbol accepting only the numeral 1.

The default Mask definitions are { '9': /\d/, 'A': /[a-zA-Z]/, '': /[a-zA-Z0-9]/ }. This means that if you use anything other than "9", "A", or "" in your mask definition, such as the "1" in your example, it's going to be considered a hard-coded literal character rather than part of the user-entered value, causing the behavior you're seeing. You can work around this by providing your own mask definition allowing for "1" as a mask symbol accepting only the numeral 1 - this'll cause the "1" to be considered part of the input's value just like the other digits.

That's strange solution.
I may have multiple sets of mask definitions - sometimes 1 shoud act like a placeholder and sometimes not. Different countries have different codes.
And btw it leads to the next issue with the directive. When I'm trying to override the the default mask definitions the old definitions are still in game.


fix wrong import in example

This pull request fixes an import of takeEvery and takeLatest in the usage example

Please read the new release notes - https://github.com/yelouafi/redux-saga/releases/tag/v0.14.0
However in the moment of the PR it was indeed broken and confusing, so thanks for being vigilant!


Looks like you preventDefault() no matter popup opened or not

v2.0.4
Problem:
I have a modal window with vue-autosuggest
<autosuggest
        :suggestions="[{ data: hints }]"

I want to do SUBMIT action of my modal if an autosuggest is closed on 'ENTER'
I want to close modal on 'ECS' if autosuggest closed
I don't want to SUBMIT, when I choose something in autosuggest with 'ENTER'
I don't want to close modal, when I close suggestions with 'ESC'

I want vue-autosuggest to preventDefault() only when necessary.
Possible Solution:
File Autosuggest.vue
Method handleKeyStroke()
For key 13 check if the popup opened or not and do things only if isOpen()
handleKeyStroke() {
  ...
  case 13:
    if (this.isOpen()) {
      e.preventDefault();
      ...

But:
I see there is a check for "ESC" key, but I still receive an event with .defaultPrevented == true
case 27: // Escape
          if (this.isOpen) {

@Sielc thanks for your interest. Can you reproduce in a codesandbox so that I can better assist?
You can fork this one:
https://codesandbox.io/s/vueautosuggest-20-base-yij1b

https://codesandbox.io/s/vueautosuggest-20-base-fw1o1?fontsize=14

Also try to press enter when the popup is closed, you'll see

Cannot read property 'item' of null
because you fire @select with null value

defaultPrevented is almost always true

I think you can use @keydown.capture='keydown' here to accomplish what you want.

because you fire @selected with null value

Thanks for the report there, looks like I need to take another look
https://github.com/darrenjennings/vue-autosuggest/issues/149#issuecomment-550035661

use capture mode when adding the event listener
i.e. an event targeting an inner element is handled here before being handled by that element

.capture changes an order of methods, that receive an event. I'd like to keep both features.
I updated codesandbox to demonstrate, that capture workaround doesn't work.

Still a little fuzzy how it might work for you, but does putting keydown listeners on the the autosuggest itself help? Then you can can capture the events at the element level and decide what you want to do... close modal or whatever.
https://codesandbox.io/s/vueautosuggest-153-ihxkz
e.g.
<input @keydown.esc="keydown" />
<vue-autosuggest
  ...
  @keydown.esc="keydown" />


Will not complete all searches.

Having an issue where the script can never complete an entire days worth of searches. It's usually mobile, but happens with web searches as well. Even if it's run 4 times a day, it never completes them. Running 2 account, not in multi-threading.

So I upped it to 20, it only completed 18 pc searches and 12 mobile searches.


fatal: remote error: Forbidden

After trying the following command:
`git remote add google https://source.developers.google.com/p/YOUR_PROJECT_ID/r/default
replacing YOUR_PROJECT_ID with your project ID.(I do this)

Push the code into the Cloud Source Repository:

git push --all google
`
I get this error:
fatal: remote error: Forbidden

See the solution here: https://github.com/googlecodelabs/cloud-cardboard-viewer/issues/10


feat: add rust-no-panic src

Attribute macro to require a function can't ever panic.
Log: rust-no-panic src would be added.
Issue: https://github.com/deepin-community/sig-deepin-sysdev-team/issues/144

/lgtm


drift_flutter package doesn't exist

When trying to run the example, the package drift_flutter is not found. Thus, flutter pub get can't be executed.

The drift_flutter package has been added very recently to simplify the setup, I haven't released it yet (I'll do that with the next drift release, hopefully soon).
You can use the tree from an earlier commit to get a running example that doesn't depend on drift_flutter yet.

For others that struggle with the "Setup" page of the website, I'm currently using Web Archive to access the previous version, without drift_flutter 😉
https://web.archive.org/web/20240606182824/https://drift.simonbinder.eu/docs/getting-started/

Well that's embarrassing, I can't believe I forgot to publish :facepalm: I've just published drift_flutter to pub.dev.


bug: usePublicClient cannot return the correct publicClient when  specified chianId

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.0.5
Current Behavior
here is my code :
wagim config
import { mainnet, moonbeam, bsc, polygon, avalancheFuji } from 'wagmi/chains
import { configureChains, createConfig, WagmiConfig } from 'wagmi'
import { publicProvider } from 'wagmi/providers/public'

const chainsSupported= [mainnet,  avalancheFuji]

const inject = new InjectedConnector({
    chains: chainsSupported,
})

const { chains, publicClient } = configureChains(
    chainsSupported,
    [publicProvider()],
)

const config = createConfig({
    autoConnect: true,
    connectors:[inject],
    publicClient
})

my component
import { useEffect } from 'react'
import {usePublicClient } from 'wagmi'

function  MyComponet () {
    // specified ChainId here
    const publicClient = usePublicClient({chainId: 43113})

    useEffect (()=>{
        async function getChainId () {
            const id = await publicClient .getChainId()
           // print current chain id
           console.log('chainId',  id)
         }
        getChainId ()
    },[])

return
MyComponet

}

It prints out that chainId is 1 but not 43113
Expected Behavior
It prints out that chainId is 43113

They seem to be all synced up on my end at https://stackblitz.com/edit/new-wagmi-xvomgt?file=src%2FApp.tsx,src%2Fwagmi.ts. Can you fork this example and produce the issue there? Will re-open when provided!

So sorry to make you spend time on this issue, the issue may be with my code and not wagmi

Maybe I know where the problem is, if the network is switched in browser wallet like Metamask. It will return the current chainId of the wallet.


DataPlane API

Problem Statement
The purpose of this task is to define a DataPlane API which can be used to express and manage the lifecycle of Kong Gateway Deployments and Services.
Acceptance Criteria

[x] any number of DataPlane resources can be created which results in Kong Gateway Deployments and Services
[x] DataPlane resources have configuration options to tune each option of the Kong Gateway
[x] DataPlane resources can be cleanly torn down
[x] the controller(s) for DataPlane resources have integration test coverage with KTF
[x] https://github.com/Kong/gateway-operator/issues/26
[x] https://github.com/Kong/gateway-operator/issues/27
[x] https://github.com/Kong/gateway-operator/issues/30

Some of the work for this was done in the initial POC in 16ec8bc093918657fd0bbdc431b9954b0ba425f1. Marking this as resolved with all remaining work now moved into separate follow up issues.


Add state => visited on link

In LinkTest
link.should { be unvisited }
click_on link
link.should { be visited }
    // TODO  add state => visited

Don't add it there is some issue relative to this feature.

No value for the moment


AWS error

What issue do you have? Please be as thorough and explicit as possible.

I am encountering an issue where Homebridge cannot check for updates.
Receiving the error:

Failed to check registry.npmjs.org for updates and [DreamView T1] not using AWS connection as not connected to AWS.
[9/18/2023, 10:41:23 PM] [Govee] [DreamView T1] could not be updated as no connection method available, see https://shorturl.at/eCN04 for more info at file:///usr/local/lib/node_modules/homebridge-govee/lib/platform.js:1751:13.

[Govee] [LAN] client enabled and found 3 device(s).
[9/18/2023, 10:41:23 PM] [Govee] [HTTP] client enabled and found 6 device(s).
[9/18/2023, 10:41:23 PM] [Govee] [AWS] client enabled.
[9/18/2023, 10:41:23 PM] [Govee] [BLE] disabling client as not supported on mac devices.

Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?

Using Homebridge UI-X

Which version of Homebridge/HOOBS do you have?

Homebridge 1.6.1

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Node 18.16.1
NPM 9.5.1

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?

9.4.2

Which Govee devices do you have that are causing issues? Please include product models if applicable.

-H6006, H6199
Please paste any relevant logs below.

The plugin "homebridge-govee" requires Node.js version of ^16.20.2 || ^18.17.1 || ^20.5.1 which does not satisfy the current Node.js version of v18.16.1. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF

Updated to Node.js 18.17.1 seems to have resolved the issue


Wrong sequence length when process get_features

File "train_zen_cn.py", line 231, in
trainer.train(load_best_model=False)
File "SANER-master/fastNLP/core/trainer.py", line 690, in train
raise e
File "SANER-master/fastNLP/core/trainer.py", line 683, in train
self._train()
File "SANER-master/fastNLP/core/trainer.py", line 775, in _train
features = self.get_features(indices, seq_len=torch.max(batch_x.get("seq_len")).item())
File "SANER-master/fastNLP/core/trainer.py", line 725, in get_features
return torch.tensor(ret_list)
ValueError: expected sequence of length 49 at dim 1 (got 44)
I got many errors when process trainer. It seems that batch_x.get("seq_len") is different from real length.
Here is the print of data:
batch_x.get("seq_len"): tensor([43, 39, 41, 43, 37, 36, 37, 43, 31, 44, 33, 35, 25, 39, 41, 32, 37, 39,
40, 40, 44, 38, 40, 39, 38, 35, 37, 38, 37, 36, 30, 35])
indices: [541, 369, 641, 990, 485, 709, 971, 545, 17, 112, 145, 198, 267, 412, 132, 1177, 609, 487, 95, 938, 161, 355, 481, 459, 781, 219, 949, 1105, 748, 1162, 855, 931]
seq_len:  44
temp_len:  49 for indices 541

There's something wrong with the "get_features" function in trainer.py.  I adapted it to my own understanding.
if temp_len >= seq_len:
    feature_data = feature_data[:seq_len]
else:
    feature_data = feature_data + [[0] * self.context_num for _ in range(seq_len - temp_len)]

Hi, thanks for the question. We have fix the bug and you can pull the code again.


[PSM Interop] Include app net test to the PSM Interop LB suite

ref b/288578634

cc @jaychenatr @ginayeh

Test runs:

[ ] grpc/core/master/linux/grpc_xds_k8s_lb
[ ] grpc/core/master/linux/grpc_xds_k8s_lb_python

Note: at the moment cpp test_affinity fails, this is expected.


[Java] Make it run well with the netty newest version 4.1.104

Describe the enhancement requested
When I used netty arrow memory 14.0.1 and netty 4.1.104.Final in Spark, the following error occurred,
After pr: https://github.com/netty/netty/pull/13613, PoolArena no longer extends SizeClasses, but instead uses it as one of its fields, as follows:

in order to ensure that netty arrow memory 14.0.1 works well with netty 4.1.104.Final version, I suggest making similar modifications here.
1.Compilation errors are as follows:
https://github.com/panbingkun/spark/actions/runs/7237466030/job/19717162391

2.Some bugs have been fixed in netty 4.1.104.Final as follows:

4.1.104.Final release note: https://netty.io/news/2023/12/15/4-1-104-Final.html
4.1.103.Final release note: https://netty.io/news/2023/12/13/4-1-103-Final.html
4.1.101.Final release note: https://netty.io/news/2023/11/09/4-1-101-Final.html
Component(s)
Java

I will take a look on this one if you don't mind.


Flag to enable react hot loader with default set to false

What kind of change does this PR introduce?
bugfix
Did you add tests for your changes?
no, updated README file
Summary
fixes https://github.com/developit/preact-cli/issues/722
Does this PR introduce a breaking change?
no

Other information

The babel plugin is missing
https://github.com/developit/preact-cli/blob/next/packages/cli/lib/lib/babel-config.js#L30

Do you mean I should add '&& env.rhl' in that line?

probably

thx


æternity written in low case

Hi,
I hope that's the last think. I missed that in my last issue.
æternity should be written always in lower case, like æternity or æternity blockchain.
However, AE referring to the coin always upper case. (which was already fixed)

Hi, I made the changes and any suggestions/feedback/improvements are welcome.


Try connecting to controlplane if the controlplane goes offline

Describe the bug
dataplane panics if the controlplane goes offline
To Reproduce
Bring down the controlplane
Expected behavior
dataplane should keep retry connecting controlplane

Closing this on the favour https://github.com/poonai/inspektor/pull/36


App can be packaged from distribution for Linux

This is how we package the app: https://github.com/trypear/pearai-app/blob/main/CONTRIBUTING.md#packaging
and for distribution instructions: https://docs.google.com/document/d/1hZahz2UNrtZOgHZkquqNO7Jfoe0Pd0OA7Ud16ts_AKs/edit?usp=sharing (Mac so far)
we need to some extra stuff to distribute to linux users i think

gedeon tha goat

gedeon handing off to someone else. if anyone uses linux please take a look! <3

Will take a look at this again this week


Several games missing from list

City Skylines
Asphalt 9: Legends
Mindscanners

Apologies if this is not the correct place to ask about this. All these games are installed to my D: HDD, games in bold do not support installing to specific folders, and other games that also do not support this, like TES III and IV were recognised correctly.

Hi, since a fix has been done which take a look of the exe file right now on the last release, can you try it?

I'm also having trouble adding Halo Wars 2.

Yes, already reported in #92. Go check there for the solution. The PR is created and wait the review to be merged.

Same as previois, check other ticket.
PR is in review and will fix them.

Could you try the new version @burakcan, @Pinchcoder @RaraCool ?
https://github.com/BrianLima/UWPHook/releases/tag/2.13.0

@BrianLima fh4 works with the latest version

Sea of Thieves is also missing.

Check issue #92 with releasz 2.4.1b https://github.com/stevealexandre/UWPHook/releases/tag/2.14.1b

Check issue #92 with releasz 2.4.1b https://github.com/stevealexandre/UWPHook/releases/tag/2.14.1b

Sea of Thieves doesn't work with this version.

Check issue #92 with releasz 2.4.1b https://github.com/stevealexandre/UWPHook/releases/tag/2.14.1b

Sea of Thieves doesn't work with this version.

New release and tested with it. Try it : 2.15.0

Check issue #92 with releasz 2.4.1b https://github.com/stevealexandre/UWPHook/releases/tag/2.14.1b

Sea of Thieves doesn't work with this version.

New release and tested with it. Try it : 2.15.0

Nice! It works, I can add it to Steam now. Don't have the overlay but my mates can see that I'm in-game and know that I'm available to jump in and play with.

Check issue #92 with releasz 2.4.1b https://github.com/stevealexandre/UWPHook/releases/tag/2.14.1b

Sea of Thieves doesn't work with this version.

New release and tested with it. Try it : 2.15.0

Nice! It works, I can add it to Steam now. Don't have the overlay but my mates can see that I'm in-game and know that I'm available to jump in and play with.

Great.
It's the expected behavior. UWPHook act as the app running for steam and run the game for you so in reality the overlay is available on the UWPHook which is running in backgroup until your game is closed. (this is how the app can show you playing as)
Unfortunately, it's impossible to have it on your game because else, you could run your game directly from steam. (Thanks xbox gamepass implementation...)


[Ember-Migration] Create Debug page

Requirements
As we are migrating towards Emberjs we need the given section to be sync with our production, to look it exactly like production version. In this ticket we have to make the mentioned section UI as well as functionalities to match same as in production version.
In vanilla site (currently running www site in production, created with plain HTML, CSS, JS)
Debug page -  https://www.realdevsquad.com/debug
In beta site(created with EmberJS)
Doesn't exists
Important links

https://staging-www.realdevsquad.com/ (This one is made with Ember js, staging one)
https://www.realdevsquad.com/ (This one is the production site)

Additional Note

Design should be same as in prod.
Take reference from the prod site wherever needed.
It should be responsive.
Code quality should be maintained.
Use ember generate commands to generate components, templates and other files.

Questions you can have in mind

Is this should be under feature flag?
Yes, it should be under feature dev=true

What is feature flag?
It's a simple variable which we can use to turn off/on the feature. Currently we use dev=true in URL query.

Do you have to use the same code as in production site?
No, the solution is upto you how you want to approach the problem. It should be same UI wise and functionality wise, rest other implementation is on you.

In which branch ember code is in?
It's in develop-ember branch, make sure to checkout to that branch.

ETA: October 17th, 2023 (End of Day)
Milestones:

Review Ember documentation and familiarize yourself with the codebase - Deadline: October 8th, 2023
Write code for the Ember migration - Deadline: October 9th, 2023
Write code for the Ember migration, write test cases, and review Ember testing documentation - Deadline: October 13th, 2023
Write additional tests and make necessary code changes; perform sanity testing - Deadline: October 14th, 2023
Push the code for review - Deadline: October 15th, 2023
Address any comments or feedback received during the review phase - Deadline: October 16th, 2023
Finalize any remaining reviewer comments and conclude the review phase - Deadline: October 17th, 2023


Sorting "contributors" gives a 500 error

Describe the bug
When I use the "Search" (stage) and sort the column "Contributors" I get a 500 error.
What part of Nexus is affected

[x] Fusion
[ ] Delta
[ ] CLI
[ ] Documentation

To Reproduce
Steps to reproduce the behavior, e.g. for Fusion:

Go to 'Search'
Add "Contributors" to the columns
Try to sort

Expected behavior
Even if there is no data to sort, there should not be a 500 error
Screenshots

Additional context
STAGE environment

After testing some more, it appears sorting License has the same issue.

Not able to replicate in 1.7.1 branch.

The issue is caused by a lack of ES mapping for these fields. Queries which use sort without a mapping return an error.
Proposed fix:

update search config to include a mapping for these fields
update the mapping configuration on the sandbox


Action Microsoft.Sql/locations/shortTermRetentionPolicyAzureAsyncOperation/read does not exist

Hello,
I have the following code, which works with my Admin Account.

However if a try a user with limited permission i get the following error message 403
 The client '----' with object id '---' does not have authorization to perform action 'Microsoft.Sql/locations/shortTermRetentionPolicyAzureAsyncOperation/read' over scope '/subscriptions/---/resourceGroups/r---/providers/Microsoft.Sql/locations/westeurope/shortTermRetentionPolicyAzureAsyncOperation/0a84c678-f877-4f13-9241-3d4a8eb91cfb' or the scope is invalid. If access was recently granted, please refresh your credentials.
When i try to find this right to add it to my role it says it does not exist.

I only can find :"Microsoft.Sql/locations/shortTermRetentionPolicyOperationResults/read" However this does not help.
Please Advice.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'SQL:0.15643765,AppAuthentication:0.07991676,Service Bus:0.06396555'

Thank you for reaching out and we regret that you're experiencing difficulties.   Would you please provide the name and version of the Azure SDK package that you're using?

Azure.ResourceManager.Sql in Version 1.0.0

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@simader Thanks for your reply. I have tested the above action plan and it did work fine at my end. Could you please test the same and share an update ?

Yes, I can confirm that "Microsoft.Sql/locations/*/read" helps. However the error message still tells that 'Microsoft.Sql/locations/shortTermRetentionPolicyAzureAsyncOperation/read' is missing.

@simader Thanks for getting back. I did some research on this and found that there is an RBAC action   Microsoft.Sql/locations/shortTermRetentionPolicyOperationResults/read, this is deceptively similar to shortTermRetentionPolicyAzureAsyncOperation. So creating a custom role with this action should also help.


Support specifying fewer than 5 colors

This doesn't work, I'm not sure why. The color structs definitely get
changed but if you specify fewer than 5, it renders with the defaults.

@zandrmartin points out that child border is the one you tend to see most of the time. Which seems weird to me but w/e


exclude bluetooth from being detected as WIFI network

Fix detecting WLAN network by excluding Bluetooth network adapter by name

:+1:

:+1: @CharlesGarth


run test jobs multi-threaded

If possible, simulation and reconstruction jobs should run multi-threaded, to speed them up.

coatjava would need clara. References:

https://github.com/JeffersonLab/coatjava/blob/development/validation/advanced-tests/run-advanced-tests.sh
https://github.com/JeffersonLab/coatjava/blob/development/validation/advanced-tests/run-eb-tests.sh


Dialog displays multiple times in list view

I'm trying to use the datetime picker in the list view to changes the dates on each row.  However when a row is clicked the dialog is shown multiple time (for each row) and the first row it does not show at all.
Below is some example code that shows the problem.  I may just be doing it wrong. :)
import React, { Component,PropTypes } from "react";
import { AppRegistry,ScrollView,Text,View} from "react-native";
import DateTimePicker from "react-native-modal-datetime-picker";

var list=new Array();
class Example extends Component {

	state = {
		isDateTimePickerVisible: false
	}

	_showDateTimePicker = () => this.setState({ isDateTimePickerVisible: true})
	_hideDateTimePicker = () => this.setState({ isDateTimePickerVisible: false })

	_handleDatePicked = (seq, date) => {
		list[seq].time=date;
		this._hideDateTimePicker();
	}
  render() {
    if (list.length == 0) {
		for (let i=0;i<3;i++) {
			let tmp =  new Object();
			tmp.seq=i;
			tmp.time=new Date(1478546600000+(i*24*60*60*1000));
			list.push(tmp);
		}
	}
	return (<View><ScrollView>{this.renderRows()}</ScrollView></View>);
  }

  renderRows() {
    return list
      .map((data) => {
			return (
			<View key={data.seq} style={{flex: 1, flexDirection: "row", justifyContent: "space-between"}}>
				<Text>{data.time.toString()}</Text>
				<Text onPress={this._showDateTimePicker.bind(this,data.seq)}>Set Time</Text>
				<DateTimePicker
				key={data.seq}
				mode="datetime"
				date={data.time}
				isVisible={this.state.isDateTimePickerVisible}
				onConfirm={this._handleDatePicked.bind(this,data.seq)}
				onCancel={this._hideDateTimePicker}
				/>
			</View>
			)
		})
	}
}

AppRegistry.registerComponent("Example", () => Example);

Hi!
First of all, you should have only a single picker here (just put it in the render, after the rows):
return (
  <View>
    <ScrollView>
      {this.renderRows()}
      <DateTimePicker
        isVisible={this.state.isDateTimePickerVisible}
        onConfirm={this._handleDatePicked}
        onCancel={this._hideDateTimePicker}
      />
    </ScrollView>
  </View>
);

Also, any reason you're not using a listview instead of the scrollview? :)

With a single picker how can I set the default date for each row?  I will have a long list so want to be able to scroll.
Railton.

FYI, this is not really related to the component itself, it is a "react" question 👍
Anyway, your best option in my opinion is to set the DateTimePicker date dynamically before showing it.
For example you can add to the state a variable with the date being edited:
state: {
  isDateTimePickerVisible: false,
  dateBeingEdited: null
}

// In the render
<DateTimePicker
  date={this.state.dateBeingEdited}
  isVisible={this.state.isDateTimePickerVisible}
  onConfirm={this._handleDatePicked}
  onCancel={this._hideDateTimePicker}
/>

And act before showing/hiding the component:
_showDateTimePicker = (date) => this.setState({ dateBeingEdited: date, isDateTimePickerVisible: true})

_hideDateTimePicker = () => this.setState({ isDateTimePickerVisible: false })

However you should really take a look at the react-native official listview implementation, it would help you in handling better you'r list! 🍔

Thanks Matteo, that works!  I will look into the use of listview.
Railton.

Glad it worked :)

Hi This is not working.
if i click on the list item the time is still the same supplied by new Date() for all list items.  Component is not updating.
what did i miss?
Here is my code
this.state={
     initialTime : new Date()
}

_showDateTimePicker = (date) => this.setState({initialTime: date, isDateTimePickerVisible: true })

<ListItem  key={ event.id } onPress={()=>{
        	         this._showDateTimePicker(new Date(event.slot)) }>
<Text>{event.name}</Text>
</ListItem>

<DateTimePicker
	mode='time'
        date={this.state.initialTime}
	titleIOS='Time slot'
        isVisible={this.state.isDateTimePickerVisible}
       onConfirm={this._handleDatePicked}
       onCancel={this._hideDateTimePicker} />

how can we use two " time picker " in single screen?


[KYUUBI #2330] [Subtask] Hive Backend Engine - GetTypeInfo Operation

Support GetTypeInfo Operation for hive engine.
Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

thanks, merged to master
thanks, merged to master

thanks, merged to master
thanks, merged to master


Document how to get CRDB-spatial up and running

Fixes #7723.
Summary of changes:

Add a new tutorial page, 'Working with Spatial Data', with information
about how to install it, import data, run some simple spatial queries.
List some basic performance and troubleshooting info.  Make it clear
that this page refers to an early alpha release of 20.2, and things
will change.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d91935516b0d42e8a0e4e09e553d803683090990/
Edited pages:

v20.2/spatial-data.md

@awoods187 for general review
@otan and @rytaft - would be good to get your feedback and clarifications on the stuff in the 'Performance' section which is SUPER high-level / hand-wavey re: "our indexing is divide-the-space" and "perf is usually no worse than 2x PGIS".  Also, your feedback on anything else in this doc is appreciated as well, of course!

Oliver Tan<EMAIL_ADDRESS>writes:

@otan commented on this pull request.
Looking good as a guide for our first documentation! Comments below.

Thanks Oliver!

I haven't actually tried the GUI tool they recommended for importing
data, because I don't have windows. You may need to enumerate the
shp2pgsql steps again here, and start from after the point where the
data is loaded.

OK.  Updated to say "avoid the gui/shapefile stuff, just load this sql
we made for you".

Also would mention we do not support SVG.

Mentioned!

i wonder if the copyright google bit is required when using google
images.

Added "(Map data © 2020 Google)".

I'm a little hesitant to this advice - it really depends on what
you're going for.
Instead, something like
https://postgis.net/workshops/postgis-intro/geography.html#why-not-use-geography
would make more sense.

Agreed!  But I think I'm gonna punt on this for now and just delete that
line.  The goal for this PR is "minimum get-up-and-running words".  I
probably messed up by even mentioning performance here (yet).  But I
suppose the indexing stuff is pretty general-purpose, harmless advice.

I would try and somehow word "Long/Lat" as the "x,y" coordinate
representations here.

Updated to add that "the X and Y coordinates of 2-dimensional points are
actually Longitude and Latitude values."

thought it was using GiST
(https://postgis.net/workshops/postgis-intro/indexing.html), maybe GIN
works too.

At least on the Docker image I have, only GIN works; using GiST
blows up (output below).  Maybe when 20.2.0-alpha.2 is out?
> CREATE INDEX tornado_geom_idx ON tornadoes USING GIST (geom);
invalid syntax: statement ignored: at or near "gist": syntax error: unimplemented: this syntax
SQLSTATE: 0A000
DETAIL: source SQL:
CREATE INDEX tornado_geom_idx ON tornadoes USING GIST (geom)
                                                 ^
HINT: You have attempted to use a feature that is not yet implemented.

Please check the public issue tracker to check whether this problem is
already tracked. If you cannot find it there, please report the error
with details by creating a new issue.

If you would rather not post publicly, please contact us directly
using the support form.

We appreciate your feedback.
root@localhost:26257/tornadoes> select version();
select version();
                                                      version
-------------------------------------------------------------------------------------------------------------------
  CockroachDB CCL v20.2.0-alpha.1-931-gc433cb6fc3 (x86_64-unknown-linux-gnu, built 2020/07/06 18:09:04, go1.14.4)
(1 row)

I would probably support omitting this line at this point in time; we
just have nowhere near enough benchmarks.

Deleted!

OMG the GitHub handling of email replies is criminal malpractice.  Sorry about that, Oliver!  Will reply via GUI from now on.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/146878c8e7aba90a5647d18e5848cf72a1ef3895/
Edited pages:

v20.2/spatial-data.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/da22f1c71c5b4c58d5614e29c683b6207694ac51/
Edited pages:

v20.2/spatial-data.md

v20.2/spatial-data.md, line 36 at r2 (raw file):
Previously, rytaft (Rebecca Taft) wrote…
Yep! These are the only functions for which we currently have indexing support:
	st_covers
	st_coveredby
	st_contains
	st_containsproperly
	st_crosses
	st_dwithin
	st_dfullywithin
	st_equals
	st_intersects
	st_overlaps
	st_touches
	st_within

(you can also find this list here: https://github.com/cockroachdb/cockroach/blob/c78c517ad747b659bfee95de001f8a9f5b8da872/pkg/geo/geoindex/geoindex.go#L33).
I don't think we are planning to add others, so this is probably the final list. But @otan should correct me if I'm wrong.
We also have equivalent versions of all of these functions that will explicitly not use the index:
	_st_covers
	_st_coveredby
	_st_contains
	_st_containsproperly
	_st_crosses
	_st_dwithin
	_st_dfullywithin
	_st_equals
	_st_intersects
	_st_overlaps
	_st_touches
	_st_within

These underscore versions return the same result as the regular functions, but will not use a geospatial index.

correct. in addition, geography only has these:
_st_covers
_st_coveredby
_st_dwithin
_st_intersects

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/94fc0a03b9d8b7268af093a9dcbf210402304ae8/
Edited pages:

v20.2/spatial-data.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/2bea0d3ec082fb609336e828af3b16e5a71489b3/
Edited pages:

v20.2/spatial-data.md


Add reentrace lock to _run_transition

Fixes part of #82. This PR should ensure that all state_entered and state_exited signals emit in the correct order.
The example from #82 now has this order:
[576]: Transition: On Grab from x/Idle to x/Try Grabbing
[576]: exiT: Idle
[576]: Enter: Try Grabbing
[576]: Transition: To Grabbing from x/Try Grabbing to x/Grabbing Something
[576]: exiT: Try Grabbing
[576]: Enter: Grabbing Something

I noticed that most of the logic to handle a queue of events has already been written, but the bool that enables it wasn't being used. Did some quick testing to verify it fixed the out of order problem and that the examples weren't broken, and everything seems fine from what I could tell.
This PR does not fix the transitions being evaluated multiple times, so the "ignored transition for inactive state" warning may still appear.

Thanks a lot for supplying this, it helped a lot in identifying and fixing the issue. Since i did some internal reorganization, this will no longer fit the code, so I'm going to close this. Thanks again!


Get RouteData type from @remix-run/router rather than internals

Fixes #190

Oops I didn't see #187


[#2737] fix(catalog-jdbc-mysql): MySqlColumnDefaultValueConverter DATE conversion failed.

What changes were proposed in this pull request?
Fix a bug for a Date string as column default value in MySqlColumnDefaultValueConverter
Why are the changes needed?
Use date pattern for such a date type value.
Fix: #2737
Does this PR introduce any user-facing change?
No
How was this patch tested?
UT covered, which is added by charliecheng630

@shaofengshi
Please modify the PR description, some three-level headings are missing.

@shaofengshi Please modify the PR description, some three-level headings are missing.

Done; thanks for the reminding.

LGTM.
@mchades Please help to review this PR. Thanks


Clock backend

chyba działa i guess

Codecov Report

Merging #65 (305af4e) into main (0439619) will decrease coverage by 0.46%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #65      +/-   ##
==========================================
- Coverage   94.08%   93.61%   -0.47%
==========================================
  Files          32       32
  Lines        3586     3777     +191
==========================================
+ Hits         3374     3536     +162
- Misses        212      241      +29

Impacted Files
Coverage Δ

app/game_engine/game_service.py
82.72% <0.00%> (-9.14%)
:arrow_down:

app/game_engine/game.py
89.86% <0.00%> (-4.44%)
:arrow_down:

app/core/routers/game.py
93.84% <0.00%> (-1.40%)
:arrow_down:

app/game_engine/models.py
98.31% <0.00%> (-0.31%)
:arrow_down:

tests/test_game.py
100.00% <0.00%> (ø)

tests/test_lobby_api.py
100.00% <0.00%> (ø)

app/core/internal/models.py
100.00% <0.00%> (ø)

app/game_engine/requests.py
100.00% <0.00%> (ø)

tests/test_friends_module.py
100.00% <0.00%> (ø)

app/core/internal/crud.py
90.09% <0.00%> (+0.09%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Grpc client

Codecov Report

Merging #122 (ca95a2b) into master (d2f68a3) will decrease coverage by 0.20%.
The diff coverage is n/a.

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

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   43.58%   43.38%   -0.21%
==========================================
  Files          20       20
  Lines        1489     1489
==========================================
- Hits          649      646       -3
- Misses        752      755       +3
  Partials       88       88

Flag
Coverage Δ

unittests
43.38% <ø> (-0.21%)
:arrow_down:

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

Impacted Files
Coverage Δ

executor/executor.go
40.88% <0.00%> (-1.66%)
:arrow_down:

Continue to review full report at Codecov.

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


Having trouble using the example app

Hello,
I was hoping to get a bit more guidance on how to use this SDK. I am a bit new to Swift development and am still learning the tools. I cloned the repository and opened it in XCode. I am getting errors in the submodules directory with PromiseKit and secp256k1. When building the project I am getting an error message from XCode stating that secp256k1/bitcoin-core/secp256k1/include/secp256k1.h: No such file or directory. Hoping to get some guidance on how to set up this SDK :).

@ecoulson Did you find a solution to this?


feature: Deploy multiple resources patch-baseline's and maintenance window 's

Have a question? Please check out our Slack Community or visit our Slack Archive.

Describe the Feature
Feature to add multiple patch baseline
Feature to create multiple maintenance windows and task
Expected Behavior
The Expected behaviour of this would be to deploy baseline for multiple types of Os versions and have multiple maintenances windows such that one could have different patching schedules in the same account for various types of os at different schedules.
Use Case
This feature request is related to a problem where one could have multiple EC2 Instances in the same account with different OS versions (RedHat and window) and different patching schedules.
Ideal Solution
Deploy multiple resources with for_each

@choudharyac09 happy to discuss this issue further if you still need this, but what I would suggest doing here is to deploy multiple versions of the ssm-patch-manager module and configure each for the OS / windows that you need in your root module. Then you can determine the number of patch-managers that you require and we don't need to make this child module more complex since that is not a common use-case.
Please reopen if you feel there is still a direct need for this that you want to see addressed!


Update SwitchSelector to allow changing selected index from outside the component

Hello,
For my use case, I added props to modify the selected element from outside the component (after initialization).
Could you merge it to your code ?
Thanks in advance.
Laurent.

Thank you for this pull request. I will publish new version this week.


ROLI/MPE device support?

I’ve been playing around with Synth One and I’m very impressed with it, but also kind of sad that it doesn’t seem to take advantage of MPE devices like the ROLI Seaboard and Blocks - I do see pitch changing a bit and velocity sort of works (needs some tuning, I think), but rich touch info seems to be ignored.

This is being worked on, thanks to @karnlund

Any news with this issue? I was wondering if you guys are any close to get it done.

Hi Thales,
There have been some design discussions...MPE is very complex.  There hasn’t been any implementation of it yet.
818 802 4085<EMAIL_ADDRESS>
On Aug 22, 2019, at 6:17 PM, Thales Almeida<EMAIL_ADDRESS>wrote:
Any news with this issue? I was wondering if you guys are any close to get it done.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Shapenet data set input problem for shapenetpart task

The code cannot be run directly. Please provide a data set input function that is suitable for the shapenet data set.

the “generate_data_list(cfg)” ， “load_data(data_path, cfg)” functions may need modification
there is no shapenet that shapenetpart  task need

Hello, I have also encountered the same issue as you. Could you please share how you resolved it?

Thank you for your interest in our paper.
We resolve it and you can run it directly.


⚠ Adacta-fintech.com has degraded performance

In 9440be5, Adacta-fintech.com (https://www.adacta-fintech.com) experienced degraded performance:

HTTP code: 502
Response time: 737 ms

Resolved: Adacta-fintech.com performance has improved in 5fcc15a.